import { h, Host } from "@stencil/core";
export class PnProfileModalCustomernumber {
    constructor() {
        this.url = null;
        this.customernumber = null;
        this.selected = false;
    }
    hostElement;
    urlSelected;
    onCustomerNumberClick() {
        this.selected = true;
        this.urlSelected.emit(this.url);
    }
    render() {
        return (h(Host, { key: '4a4afc42fa28df38d32383f21a5c31fadf142b8d' }, h("button", { key: 'a85111c17b58ce65b509107dfc3b42614d5002e1', class: "pn-profile-modal-customernumber-button", onClick: this.onCustomerNumberClick.bind(this) }, h("slot", { key: '1435a3dc7dc509dc89e949742a8eabe2a66472e6' }))));
    }
    static get is() { return "pn-profile-modal-customernumber"; }
    static get originalStyleUrls() {
        return {
            "$": ["pn-profile-modal-customernumber.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["pn-profile-modal-customernumber.css"]
        };
    }
    static get properties() {
        return {
            "url": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "url",
                "reflect": true,
                "defaultValue": "null"
            },
            "customernumber": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "customernumber",
                "reflect": true,
                "defaultValue": "null"
            },
            "selected": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "selected",
                "reflect": true,
                "defaultValue": "false"
            }
        };
    }
    static get events() {
        return [{
                "method": "urlSelected",
                "name": "urlSelected",
                "bubbles": true,
                "cancelable": true,
                "composed": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "complexType": {
                    "original": "any",
                    "resolved": "any",
                    "references": {}
                }
            }];
    }
    static get elementRef() { return "hostElement"; }
}
//# sourceMappingURL=pn-profile-modal-customernumber.js.map
