// #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 { Dimensionable } from '../../../Behaviors/Dimensionable';
import { Themeable } from '../../../Behaviors/Themeable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { placeholderElementTemplate } from './PlaceholderElementTemplate';
import { placeholderElementCosmopolitanStyle } from './themes/PlaceholderElement.Cosmopolitan';
import { placeholderElementJoyStyle } from './themes/PlaceholderElement.Joy';
import { placeholderElementMemphisStyle } from './themes/PlaceholderElement.Memphis';
// #endregion
/**
 * Placeholder - A dimensional container for empty states, drag targets, and layout reservations.
 *
 * @description
 * The Placeholder component creates a styled container that represents empty content areas or reserved
 * layout space. It's commonly used for drag-and-drop drop zones, empty state displays, image upload
 * areas, and maintaining layout structure before content loads. The component supports custom dimensions
 * and provides visual cues through dashed borders and semi-transparent backgrounds to indicate
 * interactive or placeholder regions.
 *
 * @name Placeholder
 * @element mosaik-placeholder
 * @category Primitives
 *
 * @slot - The default content slot for placeholder content (text, icons, or instructions)
 *
 * @cssprop {String} --placeholder-background-color - Background color of the placeholder area
 * @cssprop {String} --placeholder-border-color - Border color of the placeholder outline
 * @cssprop {String} --placeholder-border-radius - Corner rounding radius
 * @cssprop {String} --placeholder-border-style - Border line style (typically dashed)
 * @cssprop {String} --placeholder-border-width - Border thickness
 * @cssprop {String} --placeholder-font-family - Font family for placeholder text
 * @cssprop {String} --placeholder-font-size - Font size for placeholder text
 * @cssprop {String} --placeholder-font-weight - Font weight for placeholder text
 * @cssprop {String} --placeholder-font-line-height - Line height for placeholder text
 * @cssprop {String} --placeholder-font-letter-spacing - Letter spacing for placeholder text
 * @cssprop {String} --placeholder-font-text-decoration - Text decoration style
 * @cssprop {String} --placeholder-font-text-transform - Text transformation style
 * @cssprop {String} --placeholder-gap - Spacing between placeholder content elements
 * @cssprop {String} --placeholder-padding-top - Top padding inside the placeholder
 * @cssprop {String} --placeholder-padding-right - Right padding inside the placeholder
 * @cssprop {String} --placeholder-padding-bottom - Bottom padding inside the placeholder
 * @cssprop {String} --placeholder-padding-left - Left padding inside the placeholder
 * @cssprop {String} --placeholder-transition-duration - Duration of visual transitions
 * @cssprop {String} --placeholder-transition-mode - Timing function for transitions
 * @cssprop {String} --placeholder-transition-property - CSS properties to transition
 * @cssprop {String} --placeholder-translate - Transform translation value
 *
 * @example
 * Basic placeholder with dimensions:
 * ```html
 * <mosaik-placeholder width="300px" height="200px"></mosaik-placeholder>
 * ```
 *
 * @example
 * Image upload placeholder:
 * ```html
 * <mosaik-placeholder width="400px" height="300px">
 *   <mosaik-icon data="upload-icon"></mosaik-icon>
 *   <p>Drag image here or click to upload</p>
 * </mosaik-placeholder>
 * ```
 *
 * @example
 * Drag-and-drop target:
 * ```html
 * <mosaik-placeholder id="dropZone" width="100%" height="150px">
 *   <p>Drop files here</p>
 * </mosaik-placeholder>
 * <script>
 *   const dropZone = document.querySelector('#dropZone');
 *   dropZone.addEventListener('dragover', (e) => {
 *     e.preventDefault();
 *     dropZone.style.borderStyle = 'solid';
 *   });
 *   dropZone.addEventListener('drop', (e) => {
 *     e.preventDefault();
 *     // Handle file drop
 *   });
 * </script>
 * ```
 *
 * @example
 * Empty state indicator:
 * ```html
 * <mosaik-placeholder width="100%" height="200px">
 *   <mosaik-icon data="inbox-icon"></mosaik-icon>
 *   <p>No messages yet</p>
 * </mosaik-placeholder>
 * ```
 *
 * @public
 */
let PlaceholderElement = class PlaceholderElement extends Themeable(Dimensionable(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-placeholder';
    }
};
PlaceholderElement = __decorate([
    Component({
        selector: 'mosaik-placeholder',
        template: placeholderElementTemplate,
        themes: {
            joy: placeholderElementJoyStyle,
            memphis: placeholderElementMemphisStyle,
            cosmopolitan: placeholderElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], PlaceholderElement);
export { PlaceholderElement };
//# sourceMappingURL=PlaceholderElement.js.map