// #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 { Fitable } from '../../../Behaviors/Fitable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { LayoutElement } from '../Abstracts/LayoutElement';
import { absoluteElementJoyStyle } from './Themes/AbsoluteElement.Joy';
import { absoluteElementTemplate } from './AbsoluteElementTemplate';
import { Themeable } from '../../../Behaviors/Themeable';
import { absoluteElementRetroStyle } from './Themes/AbsoluteElement.Retro';
import { absoluteElementCosmopolitanStyle } from './Themes/AbsoluteElement.Cosmopolitan';
// #endregion
/**
 * Absolute - A layout container for absolute positioning of child elements with precise coordinate control.
 *
 * @description
 * The Absolute layout component provides a container where child elements can be positioned using absolute
 * coordinates relative to the container boundaries. It establishes a positioning context for child elements
 * that use absolute positioning, allowing for precise pixel-level placement and layering control. This
 * component is essential for complex layouts requiring exact positioning, overlays, tooltips, custom UI
 * arrangements, and scenarios where CSS positioning alone is insufficient. The container maintains its
 * own coordinate system and provides a stable reference point for absolutely positioned children.
 * Perfect for dashboard layouts, image annotations, drag-and-drop interfaces, and custom positioning scenarios.
 *
 * @name Absolute
 * @element mosaik-absolute
 * @category Layouts
 *
 * @slot - The default slot for placing absolutely positioned child elements.
 *
 * @example
 * ```html
 * <mosaik-absolute style="height: 400px; position: relative;">
 *   <mosaik-absolute-item x="50" y="100">
 *     <div>Positioned at (50, 100)</div>
 *   </mosaik-absolute-item>
 *   <mosaik-absolute-item x="200" y="50">
 *     <div>Positioned at (200, 50)</div>
 *   </mosaik-absolute-item>
 * </mosaik-absolute>
 * ```
 *
 * @public
 */
let AbsoluteElement = class AbsoluteElement extends Themeable(Fitable(LayoutElement)) {
    // #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
     * @override
     * @readonly
     */
    static get is() {
        return 'mosaik-absolute';
    }
};
AbsoluteElement = __decorate([
    Component({
        selector: 'mosaik-absolute',
        template: absoluteElementTemplate,
        themes: {
            joy: absoluteElementJoyStyle,
            retro: absoluteElementRetroStyle,
            cosmopolitan: absoluteElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], AbsoluteElement);
export { AbsoluteElement };
//# sourceMappingURL=AbsoluteElement.js.map