// #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 - The default slot for placing the main action buttons.
 * @slot prefix - The slot for placing content that appears before the action buttons.
 * @slot suffix - The slot for placing content that appears after the action buttons.
 *
 * @cssprop {String} --card-actions-font-family - The actions font family CSS custom property.
 * @cssprop {String} --card-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
 * @cssprop {String} --card-actions-font-line-height - The actions font line height CSS custom property.
 * @cssprop {String} --card-actions-font-size - The actions font size CSS custom property.
 * @cssprop {String} --card-actions-font-text-decoration - The actions font text decoration CSS custom property.
 * @cssprop {String} --card-actions-font-text-transform - The actions font text transform CSS custom property.
 * @cssprop {String} --card-actions-font-weight - The actions font weight CSS custom property.
 * @cssprop {String} --card-actions-gap - The gap property between action elements in 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-padding-right - The padding-right property for the card actions area.
 * @cssprop {String} --card-actions-padding-top - The padding-top property for the card actions area.
 * @cssprop {String} --card-actions-shadow - The actions shadow CSS custom property.
 * @cssprop {String} --card-actions-shadow-blur - The actions shadow blur CSS custom property.
 * @cssprop {String} --card-actions-shadow-color - The actions shadow color CSS custom property.
 * @cssprop {String} --card-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
 * @cssprop {String} --card-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
 * @cssprop {String} --card-actions-shadow-spread - The actions shadow spread CSS custom property.
 * @cssprop {String} --card-actions-transition-duration - The actions transition duration CSS custom property.
 * @cssprop {String} --card-actions-transition-mode - The actions transition mode CSS custom property.
 * @cssprop {String} --card-actions-transition-property - The actions transition property CSS custom property.
 * @cssprop {String} --card-actions-translate - The actions translate CSS custom property.
 *
 * @dependency mosaik-stack - The Stack element.
 *
 * @example
 * Basic usage with action buttons:
 * ```html
 * <mosaik-card-actions>
 *   <mosaik-button label="Save" variant="primary"></mosaik-button>
 *   <mosaik-button label="Cancel"></mosaik-button>
 * </mosaik-card-actions>
 * ```
 *
 * @example
 * With prefix and suffix content:
 * ```html
 * <mosaik-card-actions>
 *   <mosaik-text slot="prefix" text="Optional Info"></mosaik-text>
 *   <mosaik-button label="Save" variant="primary"></mosaik-button>
 *   <mosaik-button slot="suffix" label="More Options" appearance="plain"></mosaik-button>
 * </mosaik-card-actions>
 * ```
 *
 * @public
 */
let CardActionsElement = class CardActionsElement 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-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