// #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 { CustomElement } from '../../Abstracts/CustomElement';
import { TextElement } from '../../Primitives/Text/TextElement';
import { expanderSubHeaderElementTemplate } from './ExpanderSubHeaderElementTemplate';
import { expanderSubHeaderElementJoyStyle } from './Themes/ExpanderSubHeaderElement.Joy';
import { expanderSubHeaderElementRetroStyle } from './Themes/ExpanderSubHeaderElement.Retro';
import { expanderSubHeaderElementCosmopolitanStyle } from './Themes/ExpanderSubHeaderElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * Expander Sub Header - A component that represents a sub-header within an expander element.
 *
 * @name ExpanderSubHeader
 * @element mosaik-expander-sub-header
 * @category UI Components
 *
 * @description This element is used as a sub-header within an expander component, allowing for additional contextual information or styling.
 *
 * @example
 * ```html
 * <mosaik-expander-sub-header>
 *   <div slot="subHeader">Sub Header Content</div>
 * </mosaik-expander-sub-header>
 * ```
 *
 * @slot subHeader - The slot for placing sub-header content.
 *
 * @cssprop {unknown} --expander-sub-header-font-family - The font-family property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-size - The font-size property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-line-height - The line-height property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-weight - The font-weight property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-letter-spacing - The letter-spacing property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-text-decoration - The text-decoration property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-font-text-transform - The text-transform property for the sub-header text.
 * @cssprop {unknown} --expander-sub-header-background-color - The background-color property for the sub-header.
 * @cssprop {unknown} --expander-sub-header-border-color - The border-color property for the sub-header.
 * @cssprop {unknown} --expander-sub-header-foreground-color - The foreground-color property for the sub-header.
 *
 * @dependency {TextElement} - The Text element.
 *
 * @public
 */
let ExpanderSubHeaderElement = class ExpanderSubHeaderElement extends Themeable(CustomElement) {
    // #region Fields
    _text;
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
        this._text = '';
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
    */
    static get is() {
        return 'mosaik-expander-sub-header';
    }
    /**
     * Gets or sets the `text` property.
     *
     * @public
     * @attr
     */
    get text() {
        return this._text;
    }
    set text(value) {
        if (this._text !== value) {
            this._text = value;
            this.requestUpdate('text');
        }
    }
};
__decorate([
    Attribute({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], ExpanderSubHeaderElement.prototype, "text", null);
ExpanderSubHeaderElement = __decorate([
    Component({
        selector: 'mosaik-expander-sub-header',
        themes: {
            joy: expanderSubHeaderElementJoyStyle,
            retro: expanderSubHeaderElementRetroStyle,
            cosmopolitan: expanderSubHeaderElementCosmopolitanStyle
        },
        template: expanderSubHeaderElementTemplate,
        imports: [
            TextElement
        ]
    }),
    __metadata("design:paramtypes", [])
], ExpanderSubHeaderElement);
export { ExpanderSubHeaderElement };
//# sourceMappingURL=ExpanderSubHeaderElement.js.map