// #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 { Appearanceable } from '../../../Behaviors/Appearanceable';
import { Attribute } from '../../../Decorators/AttributeDecorator';
import { Component } from '../../../Decorators/ComponentDecorator';
import { TextAlignment } from '../../../Types/TextAlignment';
import { CustomElement } from '../../Abstracts/CustomElement';
import { DividerElement } from '../Divider/DividerElement';
import { TextElement } from '../Text/TextElement';
import { jumbotronElementTemplate } from './JumbotronElementTemplate';
import { jumbotronElementJoyStyle } from './Themes/JumbotronElement.Joy';
import { jumbotronElementMemphisStyle } from './Themes/JumbotronElement.Memphis';
import { jumbotronElementCosmopolitanStyle } from './Themes/JumbotronElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
import { JumbotronHeaderElement } from './JumbotronHeaderElement';
import { JumbotronSubHeaderElement } from './JumbotronSubHeaderElement';
import { TextFormattable } from '../../../Behaviors/TextFormattable';
/**
 * Jumbotron - A large container used to display important content, often in a visually striking manner.
 *
 * @element mosaik-jumbotron
 *
 * @slot header - The slot for placing the main header content.
 * @slot subHeader - The slot for placing sub-header content.
 * @slot hint - The slot for placing additional hint or description content.
 * @slot actions - The slot for placing action buttons or links.
 *
 * @public
 */
let JumbotronElement = class JumbotronElement extends Themeable(Appearanceable(TextFormattable(CustomElement))) {
    // #region Fields
    _header;
    _subHeader;
    _hint;
    _alignment;
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
        this._header = '';
        this._subHeader = '';
        this._hint = '';
        this._alignment = TextAlignment.Left;
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-jumbotron';
    }
    /**
     * Gets or sets the `header` property.
     *
     * @public
     * @attr
     */
    get header() {
        return this._header;
    }
    set header(value) {
        if (this._header !== value) {
            this._header = value;
            this.requestUpdate('header');
        }
    }
    /**
     * Gets or sets the `subHeader` property.
     *
     * @public
     * @attr
     */
    get subHeader() {
        return this._subHeader;
    }
    set subHeader(value) {
        if (this._subHeader !== value) {
            this._subHeader = value;
            this.requestUpdate('subHeader');
        }
    }
    /**
     * Gets or sets the `hint` property.
     *
     * @public
     * @attr
     */
    get hint() {
        return this._hint;
    }
    set hint(value) {
        if (this._hint !== value) {
            this._hint = value;
            this.requestUpdate('hint');
        }
    }
    /**
     * Gets or sets the `alignment` property.
     *
     * @public
     * @attr
     */
    get alignment() {
        return this._alignment;
    }
    set alignment(value) {
        if (this._alignment !== value) {
            this._alignment = value;
            this.requestUpdate('alignment');
        }
    }
};
__decorate([
    Attribute({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], JumbotronElement.prototype, "header", null);
__decorate([
    Attribute({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], JumbotronElement.prototype, "subHeader", null);
__decorate([
    Attribute({ type: String }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], JumbotronElement.prototype, "hint", null);
__decorate([
    Attribute({ type: TextAlignment }),
    __metadata("design:type", String),
    __metadata("design:paramtypes", [String])
], JumbotronElement.prototype, "alignment", null);
JumbotronElement = __decorate([
    Component({
        selector: 'mosaik-jumbotron',
        template: jumbotronElementTemplate,
        themes: {
            joy: jumbotronElementJoyStyle,
            memphis: jumbotronElementMemphisStyle,
            cosmopolitan: jumbotronElementCosmopolitanStyle
        },
        imports: [
            TextElement,
            DividerElement,
            JumbotronHeaderElement,
            JumbotronSubHeaderElement
        ]
    }),
    __metadata("design:paramtypes", [])
], JumbotronElement);
export { JumbotronElement };
//# sourceMappingURL=JumbotronElement.js.map