// #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 { Slottable } from '../../../Behaviors/Slottable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { StackElement } from '../../Layouts/Stack/StackElement';
import { dialogActionsElementTemplate } from './DialogActionsElementTemplate';
import { dialogActionsElementJoyStyle } from './Themes/DialogActionsElement.Joy';
import { dialogActionsElementMemphisStyle } from './Themes/DialogActionsElement.Memphis';
import { dialogActionsElementCosmopolitanStyle } from './Themes/DialogActionsElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * DialogActions - Container for action buttons within a dialog.
 *
 * @description
 * Hosts the action buttons (e.g. Cancel, Confirm) that appear at the bottom of a dialog.
 * Place this element in the `actions` slot of `mosaik-dialog`.
 *
 * @name DialogActions
 * @element mosaik-dialog-actions
 * @category Overlays
 *
 * @slot - The default content slot for action buttons.
 * @slot prefix - The prefix slot.
 * @slot suffix - The suffix slot.
 *
 * @csspart innerStack - The innerStack part.
 *
 * @cssprop {String} --dialog-actions-font-family - The actions font family CSS custom property.
 * @cssprop {String} --dialog-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
 * @cssprop {String} --dialog-actions-font-line-height - The actions font line height CSS custom property.
 * @cssprop {String} --dialog-actions-font-size - The actions font size CSS custom property.
 * @cssprop {String} --dialog-actions-font-text-decoration - The actions font text decoration CSS custom property.
 * @cssprop {String} --dialog-actions-font-text-transform - The actions font text transform CSS custom property.
 * @cssprop {String} --dialog-actions-font-weight - The actions font weight CSS custom property.
 * @cssprop {String} --dialog-actions-gap - The actions gap CSS custom property.
 * @cssprop {String} --dialog-actions-padding-bottom - The actions padding bottom CSS custom property.
 * @cssprop {String} --dialog-actions-padding-left - The actions padding left CSS custom property.
 * @cssprop {String} --dialog-actions-padding-right - The actions padding right CSS custom property.
 * @cssprop {String} --dialog-actions-padding-top - The actions padding top CSS custom property.
 * @cssprop {String} --dialog-actions-shadow - The actions shadow CSS custom property.
 * @cssprop {String} --dialog-actions-shadow-blur - The actions shadow blur CSS custom property.
 * @cssprop {String} --dialog-actions-shadow-color - The actions shadow color CSS custom property.
 * @cssprop {String} --dialog-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
 * @cssprop {String} --dialog-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
 * @cssprop {String} --dialog-actions-shadow-spread - The actions shadow spread CSS custom property.
 * @cssprop {String} --dialog-actions-transition-duration - The actions transition duration CSS custom property.
 * @cssprop {String} --dialog-actions-transition-mode - The actions transition mode CSS custom property.
 * @cssprop {String} --dialog-actions-transition-property - The actions transition property CSS custom property.
 * @cssprop {String} --dialog-actions-translate - The actions translate CSS custom property.
 *
 * @dependency mosaik-stack - The Stack element.
 *
 * @example
 * Dialog actions with two buttons:
 * ```html
 * <mosaik-dialog-actions slot="actions">
 *   <mosaik-button><span slot="label">Cancel</span></mosaik-button>
 *   <mosaik-button variant="primary"><span slot="label">Confirm</span></mosaik-button>
 * </mosaik-dialog-actions>
 * ```
 *
 * @public
 */
let DialogActionsElement = class DialogActionsElement extends Themeable(Slottable(CustomElement)) {
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     * The `is` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-dialog-actions';
    }
};
DialogActionsElement = __decorate([
    Component({
        selector: 'mosaik-dialog-actions',
        template: dialogActionsElementTemplate,
        themes: {
            joy: dialogActionsElementJoyStyle,
            memphis: dialogActionsElementMemphisStyle,
            cosmopolitan: dialogActionsElementCosmopolitanStyle
        },
        host: {
            slot: 'actions'
        },
        imports: [
            StackElement
        ]
    }),
    __metadata("design:paramtypes", [])
], DialogActionsElement);
export { DialogActionsElement };
//# sourceMappingURL=DialogActionsElement.js.map