/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { h, Host } from "@stencil/core";
/**
 * A notification banner that displays a message and an action button.
 */
export class SceneTreeNotificationBanner {
    render() {
        return (h(Host, { key: 'faf3e2e84a60db63b158747e649f43900b1f0930' }, h("div", { key: '9180eb1f7472d5a5d0742117dee5b75734ac3232', class: "notification-banner" }, h("div", { key: '02171b4cc5f7e5ef924eb96e4ba0403f3fd59f4e', class: "notification-banner-info" }, h("vertex-viewer-icon", { key: 'caa522489ce767d52c07d7007802c8fb40457f6d', class: "icon", name: "info", size: "sm" }), h("p", { key: '0836efb7b9f56f926315ba232fe1b4d8fa52aefe' }, this.message)), this.actionLabel != null && (h("div", { key: 'c5ae434c28810c205ab5806a0689cbaa371c0933', class: "notification-banner-actions" }, h("button", { key: 'd3fcbe8eb211ac453701c7fd179becfc03f8b1c2', class: "notification-banner-button", onClick: () => this.action.emit() }, this.actionLabel))))));
    }
    static get is() { return "vertex-scene-tree-notification-banner"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["scene-tree-notification-banner.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["scene-tree-notification-banner.css"]
        };
    }
    static get properties() {
        return {
            "message": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string | undefined",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "The message to display in the banner."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "message"
            },
            "actionLabel": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string | undefined",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "The label of the action button."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "action-label"
            }
        };
    }
    static get events() {
        return [{
                "method": "action",
                "name": "action",
                "bubbles": true,
                "cancelable": true,
                "composed": true,
                "docs": {
                    "tags": [],
                    "text": "An event that is emitted when the action button is clicked."
                },
                "complexType": {
                    "original": "void",
                    "resolved": "void",
                    "references": {}
                }
            }];
    }
}
//# sourceMappingURL=scene-tree-notification-banner.js.map
