import { h, } from "@stencil/core";
export class IfxTab {
    el;
    /** Visible title text displayed in the tab header. */
    header;
    /** Disables the tab when true. */
    disabled;
    /** Icon displayed in the tab header. */
    icon = '';
    /** Position of the Icon relative to the header text. */
    iconPosition = 'left';
    /** Subline under the header, only for advanced variant. */
    subline;
    /** Text of the Advanced-Tab-Label */
    label;
    /** Number of the Advanced-Tab-Number */
    number = 0;
    /** Makes the tab header stick to the top of its scrolling oontainer */
    positionSticky = false;
    /** Emitted when tab header triggers a change (selection or property updates). */
    tabHeaderChange;
    componentWillUpdate() {
        this.tabHeaderChange.emit(this.header);
    }
    render() {
        return h("slot", { key: 'c8c8fa6fcf242731096e2c52e8b920c1c698bd51' });
    }
    static get is() { return "ifx-tab"; }
    static get originalStyleUrls() {
        return {
            "$": ["tab.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["tab.css"]
        };
    }
    static get properties() {
        return {
            "header": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Visible title text displayed in the tab header."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "header"
            },
            "disabled": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Disables the tab when true."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "disabled"
            },
            "icon": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Icon displayed in the tab header."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "icon",
                "defaultValue": "''"
            },
            "iconPosition": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'left' | 'right'",
                    "resolved": "\"left\" | \"right\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Position of the Icon relative to the header text."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "icon-position",
                "defaultValue": "'left'"
            },
            "subline": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Subline under the header, only for advanced variant."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "subline"
            },
            "label": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Text of the Advanced-Tab-Label"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "label"
            },
            "number": {
                "type": "number",
                "mutable": false,
                "complexType": {
                    "original": "number",
                    "resolved": "number",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Number of the Advanced-Tab-Number"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "number",
                "defaultValue": "0"
            },
            "positionSticky": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Makes the tab header stick to the top of its scrolling oontainer"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "position-sticky",
                "defaultValue": "false"
            }
        };
    }
    static get events() {
        return [{
                "method": "tabHeaderChange",
                "name": "tabHeaderChange",
                "bubbles": true,
                "cancelable": true,
                "composed": true,
                "docs": {
                    "tags": [],
                    "text": "Emitted when tab header triggers a change (selection or property updates)."
                },
                "complexType": {
                    "original": "any",
                    "resolved": "any",
                    "references": {}
                }
            }];
    }
    static get elementRef() { return "el"; }
}
