// #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 { Themeable } from '../../../../Controls/Behaviors/Themeable';
import { Slottable } from '../../../Behaviors/Slottable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { StackElement } from '../../Layouts/Stack/StackElement';
import { cardActionsElementTemplate } from './CardActionsElementTemplate';
import { cardActionsElementCosmopolitanStyle } from './Themes/CardActionsElement.Cosmopolitan';
import { cardActionsElementJoyStyle } from './Themes/CardActionsElement.Joy';
import { cardActionsElementMemphisStyle } from './Themes/CardActionsElement.Memphis';
// #endregion
/**
 * CardActions - A component that represents the actions area of a card.
 *
 * @description This component is used to display action buttons related to the content of a card, providing users with options for interaction such as submitting forms, navigating, or triggering actions.
 *
 * @name CardActions
 * @element mosaik-card-actions
 * @category UI Components
 *
 * @slot prefix - The slot for placing content that appears before the action buttons.
 * @slot - The default slot for placing the main action buttons.
 * @slot suffix - The slot for placing content that appears after the action buttons.
 *
 * @cssprop {String} --card-actions-padding-top - The padding-top property for the card actions area.
 * @cssprop {String} --card-actions-padding-right - The padding-right property for the card actions area.
 * @cssprop {String} --card-actions-padding-bottom - The padding-bottom property for the card actions area.
 * @cssprop {String} --card-actions-padding-left - The padding-left property for the card actions area.
 * @cssprop {String} --card-actions-gap - The gap property between action elements in the card actions area.
 *
 * @dependency {StackElement} - The Stack element used to arrange action buttons within the card actions area.
 *
 * @example
 * ```html
 * <mosaik-card-actions>
 *   <div slot="prefix">Optional Info</div>
 *   <mosaik-button>Save</mosaik-button>
 *   <mosaik-button>Cancel</mosaik-button>
 *   <div slot="suffix">More Options</div>
 * </mosaik-card-actions>
 * ```
 *
 * @public
 */
let CardActionsElement = class CardActionsElement extends Themeable(Slottable(CustomElement)) {
    // #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-card-actions';
    }
};
CardActionsElement = __decorate([
    Component({
        selector: 'mosaik-card-actions',
        template: cardActionsElementTemplate,
        themes: {
            joy: cardActionsElementJoyStyle,
            memphis: cardActionsElementMemphisStyle,
            cosmopolitan: cardActionsElementCosmopolitanStyle
        },
        host: {
            slot: 'actions'
        },
        imports: [
            StackElement
        ]
    }),
    __metadata("design:paramtypes", [])
], CardActionsElement);
export { CardActionsElement };
//# sourceMappingURL=CardActionsElement.js.map