// #region Imports
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Attribute } from '../../../Decorators/AttributeDecorator';
import { Component } from '../../../Decorators/ComponentDecorator';
import { Property } from '../../../Decorators/PropertyDecorator';
import { StackElement } from '../../Layouts/Stack/StackElement';
import { IconElement } from '../../Media/Icon/IconElement';
import { TextElement } from '../../Primitives/Text/TextElement';
import { StateBaseElement } from '../Abstracts/StateBaseElement';
import { emptyStateElementTemplate } from './EmptyStateElementTemplate';
import { emptyStateElementJoyStyle } from './Themes/EmptyStateElement.Joy';
import { emptyStateElementRetroStyle } from './Themes/EmptyStateElement.Retro';
import { emptyStateElementCosmopolitanStyle } from './Themes/EmptyStateElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * EmptyState - A user-friendly placeholder component for displaying when no content or data is available.
 *
 * Provides informative messaging and optional call-to-action elements when lists, searches, or data sets
 * return no results. Helps guide users with clear messaging and actionable next steps to improve
 * user experience during empty content scenarios.
 *
 * @name EmptyStateElement
 * @element mosaik-empty-state
 * @category States
 *
 * @slot - Default content area for additional empty state information
 * @slot actions - Action buttons or links for user guidance and next steps
 *
 * @csspart icon - Icon container for visual empty state representation
 * @csspart header - Header text container for primary messaging
 * @csspart content - Content text container for detailed explanation
 *
 * @cssprop --empty-state-foreground-color - Text color for empty state content
 * @cssprop --icon-foreground-color - Color for the empty state icon
 * @cssprop --empty-state-header-font-family - Font family for header text
 * @cssprop --empty-state-header-font-size - Font size for header text
 * @cssprop --empty-state-header-font-line-height - Line height for header text
 * @cssprop --empty-state-header-font-weight - Font weight for header text
 * @cssprop --empty-state-header-font-letter-spacing - Letter spacing for header text
 * @cssprop --empty-state-header-font-text-decoration - Text decoration for header text
 * @cssprop --empty-state-header-font-text-transform - Text transform for header text
 *
 * @dependency IconElement - For displaying empty state icons and visual indicators
 * @dependency TextElement - For rendering header and content text
 * @dependency StackElement - For layout management and content arrangement
 *
 * @example
 * ```html
 * <!-- No search results -->
 * <mosaik-empty-state>
 *   <mosaik-icon slot="icon" data="search-off-outline"></mosaik-icon>
 *   <mosaik-text slot="header">No results found</mosaik-text>
 *   <mosaik-text slot="content">Try adjusting your search terms or filters</mosaik-text>
 *   <div slot="actions">
 *     <mosaik-button onclick="clearSearch()">Clear Search</mosaik-button>
 *   </div>
 * </mosaik-empty-state>
 *
 * <!-- Empty inbox -->
 * <mosaik-empty-state>
 *   <mosaik-icon slot="icon" data="email-outline"></mosaik-icon>
 *   <mosaik-text slot="header">Inbox Zero!</mosaik-text>
 *   <mosaik-text slot="content">You're all caught up. Great work!</mosaik-text>
 * </mosaik-empty-state>
 *
 * <!-- Empty shopping cart -->
 * <mosaik-empty-state>
 *   <mosaik-icon slot="icon" data="cart-outline"></mosaik-icon>
 *   <mosaik-text slot="header">Your cart is empty</mosaik-text>
 *   <mosaik-text slot="content">Discover great products and add them to your cart</mosaik-text>
 *   <div slot="actions">
 *     <mosaik-button appearance="primary" onclick="browseProducts()">
 *       Browse Products
 *     </mosaik-button>
 *   </div>
 * </mosaik-empty-state>
 *
 * <!-- First-time user experience -->
 * <mosaik-empty-state>
 *   <mosaik-icon slot="icon" data="star-outline"></mosaik-icon>
 *   <mosaik-text slot="header">Welcome to the app!</mosaik-text>
 *   <mosaik-text slot="content">Get started by creating your first project</mosaik-text>
 *   <div slot="actions">
 *     <mosaik-button appearance="primary">Create Project</mosaik-button>
 *     <mosaik-button appearance="soft">Take Tour</mosaik-button>
 *   </div>
 * </mosaik-empty-state>
 * ```
 *
 * @public
 */
let EmptyStateElement = class EmptyStateElement extends Themeable(StateBaseElement) {
    // #region Fields
    _header;
    _icon;
    // #endregion
    // #region Ctor
    /**
     * Constructs a new instance of the `EmptyStateElement` class.
     *
     * @public
     */
    constructor() {
        super();
        this._icon = '';
        this._header = '';
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
    */
    static get is() {
        return 'mosaik-empty-state';
    }
    /**
     * Gets or sets the icon property of the state.
     *
     * @public
     */
    get icon() {
        return this._icon;
    }
    set icon(value) {
        if (this._icon !== value) {
            this._icon = value;
        }
    }
    /**
     * Gets or sets the header property of the state.
     *
     * @public
     * @attr
     */
    get header() {
        return this._header;
    }
    set header(value) {
        if (this._header !== value) {
            this._header = value;
        }
    }
};
__decorate([
    Property({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], EmptyStateElement.prototype, "icon", null);
__decorate([
    Attribute({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], EmptyStateElement.prototype, "header", null);
EmptyStateElement = __decorate([
    Component({
        selector: 'mosaik-empty-state',
        template: emptyStateElementTemplate,
        themes: {
            joy: emptyStateElementJoyStyle,
            retro: emptyStateElementRetroStyle,
            cosmopolitan: emptyStateElementCosmopolitanStyle
        },
        imports: [
            IconElement,
            TextElement,
            StackElement
        ]
    }),
    __metadata("design:paramtypes", [])
], EmptyStateElement);
export { EmptyStateElement };
//# sourceMappingURL=EmptyStateElement.js.map