import { Component, h, Prop } from "@stencil/core";
import "smoothly";
export class IntergiroCheckout {
  constructor() {
    this.processing = false;
  }
  render() {
    return (h("payfunc-checkout", { apiKey: this.apiKey, order: this.order, processing: this.processing, items: this.items, currency: this.currency, number: this.number, customer: this.customer, client: this.client, features: this.features, cosmetic: this.cosmetic }));
  }
  static get is() { return "intergiro-checkout"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() { return {
    "$": ["style.css"]
  }; }
  static get styleUrls() { return {
    "$": ["style.css"]
  }; }
  static get properties() { return {
    "apiKey": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "api-key",
      "reflect": false
    },
    "cosmetic": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "| string\n\t\t| {\n\t\t\t\theader?: { background?: string; color?: string }\n\t\t\t\ttext?: { background?: string; color?: string }\n\t\t\t\tsubmit?: { background?: string; color?: string }\n\t\t\t\tborder?: { color: string }\n\t\t\t\tfontFamily?: string\n\t\t\t\tdangerColor?: string\n\t\t  }",
        "resolved": "string | undefined | { header?: { background?: string | undefined; color?: string | undefined; } | undefined; text?: { background?: string | undefined; color?: string | undefined; } | undefined; submit?: { background?: string | undefined; color?: string | undefined; } | undefined; border?: { color: string; } | undefined; fontFamily?: string | undefined; dangerColor?: string | undefined; }",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "cosmetic",
      "reflect": false
    },
    "order": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string | Order | Omit<Order, \"payment\">",
        "resolved": "Order | string | undefined | { number?: string | undefined; created: string; id: string; client?: string | undefined; customer?: string | Contact | undefined; items: number | Item | Item[]; currency: Currency; subscription?: string | undefined; event?: Event[] | undefined; status?: Status[] | StatusList | undefined; theme?: string | undefined; meta?: any; callback?: string | undefined; language?: Language | undefined; category?: \"purchase\" | \"withdrawal\" | undefined; }",
        "references": {
          "Order": {
            "location": "import",
            "path": "./model"
          },
          "Omit": {
            "location": "global"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "order",
      "reflect": false
    },
    "processing": {
      "type": "boolean",
      "mutable": true,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "processing",
      "reflect": true,
      "defaultValue": "false"
    },
    "items": {
      "type": "any",
      "mutable": false,
      "complexType": {
        "original": "string | number | Item | Item[]",
        "resolved": "Item & { status?: Status[] | undefined; } | Item[] | number | string | undefined",
        "references": {
          "Item": {
            "location": "import",
            "path": "./model"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "items",
      "reflect": false
    },
    "currency": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Currency",
        "resolved": "Currency | undefined",
        "references": {
          "Currency": {
            "location": "import",
            "path": "isoly"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "currency",
      "reflect": false
    },
    "number": {
      "type": "string",
      "mutable": true,
      "complexType": {
        "original": "string",
        "resolved": "string | undefined",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "number",
      "reflect": false
    },
    "customer": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string | Partial<Customer>",
        "resolved": "string | undefined | { id?: string | undefined; number?: string | undefined; contact?: Contact | undefined; method?: Card[] | undefined; link?: Link[] | undefined; status?: Status | undefined; subscription?: Subscription[] | undefined; balance?: Item[] | undefined; total?: number | undefined; due?: string | undefined; currency?: Currency | undefined; limit?: number | { hard?: number | undefined; soft?: number | undefined; margin?: number | undefined; } | undefined; schedule?: Frequency | Schedule | undefined; }",
        "references": {
          "Partial": {
            "location": "global"
          },
          "Customer": {
            "location": "import",
            "path": "./model"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "customer",
      "reflect": false
    },
    "client": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Identifier",
        "resolved": "string | undefined",
        "references": {
          "Identifier": {
            "location": "import",
            "path": "authly"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "client",
      "reflect": false
    },
    "features": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string | undefined",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "features",
      "reflect": false
    }
  }; }
}
