// #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 { ColorSwatchElement } from './ColorSwatchElement';
import { colorSwatchGroupElementTemplate } from './ColorSwatchGroupElementTemplate';
import { COLOR_SWATCH_GROUP_INHERITANCE_CONTEXT } from './ColorSwatchGroupInheritanceContext';
import { colorSwatchGroupElementCosmopolitanStyle } from './Themes/ColorSwatchGroupElement.Cosmopolitan';
import { colorSwatchGroupElementJoyStyle } from './Themes/ColorSwatchGroupElement.Joy';
import { colorSwatchGroupElementMemphisStyle } from './Themes/ColorSwatchGroupElement.Memphis';
// #endregion
/**
 * Color Swatch Group - A grouping of color swatches.
 *
 * @element mosaik-color-swatch-group
 *
 * @slot - The default slot.
 *
 * @public
 */
let ColorSwatchGroupElement = class ColorSwatchGroupElement extends Themeable(Disableable(Sizeable(Variantable(Appearanceable(CustomElement))))) {
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
        addInheritanceProviderController(this, {
            context: COLOR_SWATCH_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-color-swatch-group';
    }
};
ColorSwatchGroupElement = __decorate([
    Component({
        selector: 'mosaik-color-swatch-group',
        template: colorSwatchGroupElementTemplate,
        themes: {
            joy: colorSwatchGroupElementJoyStyle,
            memphis: colorSwatchGroupElementMemphisStyle,
            cosmopolitan: colorSwatchGroupElementCosmopolitanStyle
        },
        imports: [ColorSwatchElement]
    }),
    __metadata("design:paramtypes", [])
], ColorSwatchGroupElement);
export { ColorSwatchGroupElement };
//# sourceMappingURL=ColorSwatchGroupElement.js.map