// #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 { StateElement } from '../Abstracts/StateElement';
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
/**
 * Empty State - A UI component used to display a message or indication when there is no content or data.
 *
 * @description
 * The Empty State component is designed to provide users with information or guidance when there is no content
 * or data available. This component often includes a message, icon, and sometimes suggestions or actions
 * to help users understand what to do next. It helps in creating a more user-friendly experience by guiding users
 * in scenarios where content is absent.
 *
 * @name Empty State
 * @element mosaik-empty-state
 * @category States
 *
 * @slot - The default slot for placing additional content or elements related to the empty state.
 * @slot actions - The actions slot for placing actionable elements such as buttons or links for user interaction.
 *
 * @csspart icon - The icon part of the empty state component.
 * @csspart header - The header part of the empty state component.
 * @csspart content - The content part of the empty state component.
 *
 * @cssprop {String} --empty-state-foreground-color - The foreground color for the empty state content.
 * @cssprop {String} --icon-foreground-color - The foreground color for the icon.
 * @cssprop {String} --empty-state-header-font-family - The font family for the header text.
 * @cssprop {String} --empty-state-header-font-size - The font size for the header text.
 * @cssprop {String} --empty-state-header-font-line-height - The line height for the header text.
 * @cssprop {String} --empty-state-header-font-weight - The font weight for the header text.
 * @cssprop {String} --empty-state-header-font-letter-spacing - The letter spacing for the header text.
 * @cssprop {String} --empty-state-header-font-text-decoration - The text decoration for the header text.
 * @cssprop {String} --empty-state-header-font-text-transform - The text transform for the header text.
 *
 * @dependency {IconElement} mosaik-icon - The Icon component, used for displaying the icon.
 * @dependency {TextElement} mosaik-text - The Text component, used for displaying the header and content text.
 * @dependency {StackElement} mosaik-stack - The Stack component, used for layout management of the icon, header, and content.
 *
 * @example
 * ```html
 * <mosaik-empty-state>
 *   <mosaik-icon slot="icon" name="empty"></mosaik-icon>
 *   <mosaik-text slot="header">No Data Available</mosaik-text>
 *   <mosaik-text slot="content">Please check back later or try a different search.</mosaik-text>
 * </mosaik-empty-state>
 * ```
 *
 * @public
 */
let EmptyStateElement = class EmptyStateElement extends Themeable(StateElement) {
    // #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