// #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 { Disableable } from '../../../Behaviors/Disableable';
import { Focusable } from '../../../Behaviors/Focusable';
import { Valueable } from '../../../Behaviors/Valueable';
import { Variantable } from '../../../Behaviors/Variantable';
import { Attribute } from '../../../Decorators/AttributeDecorator';
import { Component } from '../../../Decorators/ComponentDecorator';
import { FocusRingElement } from '../../Primitives/FocusRing/FocusRingElement';
import { RangeBaseElement } from '../Abstracts/RangeBaseElement';
import { slider2ThumbElementTemplate } from './Slider2ThumbElementTemplate';
import { slider2ThumbElementJoyStyle } from './Themes/Slider2ThumbElement.Joy';
import { slider2ThumbElementRetroStyle } from './Themes/Slider2ThumbElement.Retro';
import { slider2ThumbElementCosmopolitanStyle } from './Themes/Slider2ThumbElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * The `{@link Slider2ThumbElement}` element.
 *
 * @public
 */
let Slider2ThumbElement = class Slider2ThumbElement extends Themeable(Disableable(Valueable(Focusable(Variantable(RangeBaseElement))))) {
    // #region Fields
    _step;
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
        this._step = 1;
    }
    // #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-slider2-thumb';
    }
    /**
     * Gets or sets the `step` property.
     *
     * @public
     * @attr
     */
    get step() {
        return this._step;
    }
    set step(value) {
        if (this._step !== value) {
            this._step = value;
            this.requestUpdate('step');
        }
    }
};
__decorate([
    Attribute({ type: Number }),
    __metadata("design:type", Number),
    __metadata("design:paramtypes", [Number])
], Slider2ThumbElement.prototype, "step", null);
Slider2ThumbElement = __decorate([
    Component({
        selector: 'mosaik-slider2-thumb',
        template: slider2ThumbElementTemplate,
        themes: {
            joy: slider2ThumbElementJoyStyle,
            retro: slider2ThumbElementRetroStyle,
            cosmopolitan: slider2ThumbElementCosmopolitanStyle
        },
        host: {
            slot: 'thumb'
        },
        imports: [
            FocusRingElement
        ]
    }),
    __metadata("design:paramtypes", [])
], Slider2ThumbElement);
export { Slider2ThumbElement };
//# sourceMappingURL=Slider2ThumbElement.js.map