// #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 { Appearanceable } from '../../../Behaviors/Appearanceable';
import { Disableable } from '../../../Behaviors/Disableable';
import { Sizeable } from '../../../Behaviors/Sizeable';
import { Themeable } from '../../../Behaviors/Themeable';
import { Variantable } from '../../../Behaviors/Variantable';
import { addInheritanceProviderController } from '../../../Controllers/InheritanceProviderController';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { dotGroupElementCosmopolitanStyle } from '../Dot/Themes/DotGroupElement.Cosmopolitan';
import { dotGroupElementJoyStyle } from '../Dot/Themes/DotGroupElement.Joy';
import { dotGroupElementMemphisStyle } from '../Dot/Themes/DotGroupElement.Memphis';
import { DotElement } from './DotElement';
import { dotGroupElementTemplate } from './DotGroupElementTemplate';
import { DOT_GROUP_INHERITANCE_CONTEXT } from './DotGroupInheritanceContext';
// #endregion
/**
 * Dot Group - A grouping of dots for status indicators or visual representations.
 *
 * @description
 * The DotGroup component provides a container for multiple Dot elements, automatically
 * managing their layout, spacing, and shared properties like size. Ideal for creating
 * status indicator groups, progress visualizations, or rating displays.
 *
 * @element mosaik-dot-group
 * @category Primitives
 *
 * @slot - Default slot for Dot elements
 *
 * @example
 * ```html
 * <!-- Status indicator group -->
 * <mosaik-dot-group size="medium">
 *   <mosaik-dot variant="success" fill="full"></mosaik-dot>
 *   <mosaik-dot variant="warning" fill="half"></mosaik-dot>
 *   <mosaik-dot variant="error" fill="none"></mosaik-dot>
 * </mosaik-dot-group>
 *
 * <!-- Rating display -->
 * <mosaik-dot-group size="large">
 *   <mosaik-dot variant="primary" fill="full"></mosaik-dot>
 *   <mosaik-dot variant="primary" fill="full"></mosaik-dot>
 *   <mosaik-dot variant="primary" fill="full"></mosaik-dot>
 *   <mosaik-dot variant="primary" fill="half"></mosaik-dot>
 *   <mosaik-dot variant="primary" fill="none"></mosaik-dot>
 * </mosaik-dot-group>
 * ```
 *
 * @public
 */
let DotGroupElement = class DotGroupElement extends Themeable(Disableable(Sizeable(Variantable(Appearanceable(CustomElement))))) {
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
        addInheritanceProviderController(this, {
            context: DOT_GROUP_INHERITANCE_CONTEXT,
            values: () => ({
                size: this.size
            })
        });
    }
    // #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-dot-group';
    }
};
DotGroupElement = __decorate([
    Component({
        selector: 'mosaik-dot-group',
        template: dotGroupElementTemplate,
        themes: {
            joy: dotGroupElementJoyStyle,
            memphis: dotGroupElementMemphisStyle,
            cosmopolitan: dotGroupElementCosmopolitanStyle
        },
        imports: [DotElement]
    }),
    __metadata("design:paramtypes", [])
], DotGroupElement);
export { DotGroupElement };
//# sourceMappingURL=DotGroupElement.js.map