// #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 { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { dismissElementTemplate } from './DismissElementTemplate';
import { Variantable } from '../../../Behaviors/Variantable';
import { Appearanceable } from '../../../Behaviors/Appearanceable';
import { Sizeable } from '../../../Behaviors/Sizeable';
import { Disableable } from '../../../Behaviors/Disableable';
import { Focusable } from '../../../Behaviors/Focusable';
import { ButtonElement } from '../../Buttons/Button/ButtonElement';
import { dismissElementJoyStyle } from './Themes/DismissElement.Joy';
import { dismissElementMemphisStyle } from './Themes/DismissElement.Memphis';
import { dismissElementCosmopolitanStyle } from './Themes/DismissElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * The `{@link DismissElement}` element.
 *
 * @public
 */
let DismissElement = class DismissElement extends Themeable(Variantable(Appearanceable(Sizeable(Disableable(Focusable(CustomElement)))))) {
    // #region Fields
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #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-dismiss';
    }
    // #endregion
    // #region Methods
    close() {
        if (this.disabled) {
            return;
        }
    }
};
DismissElement = __decorate([
    Component({
        selector: 'mosaik-dismiss',
        template: dismissElementTemplate,
        themes: {
            joy: dismissElementJoyStyle,
            memphis: dismissElementMemphisStyle,
            cosmopolitan: dismissElementCosmopolitanStyle
        },
        imports: [
            ButtonElement
        ]
    }),
    __metadata("design:paramtypes", [])
], DismissElement);
export { DismissElement };
//# sourceMappingURL=DismissElement.js.map