// #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 { DomServiceLocator } from '../../../../Dom/Dom';
import { Component } from '../../../Decorators/ComponentDecorator';
import { SelectorItemElement } from '../Abstracts/Selector/SelectorItemElement';
import { CarouselElement } from './CarouselElement';
import { carouselItemElementTemplate } from './CarouselItemElementTemplate';
import { carouselItemElementJoyStyle } from './Themes/CarouselItemElement.Joy';
import { carouselItemElementRetroStyle } from './Themes/CarouselItemElement.Retro';
import { carouselItemElementCosmopolitanStyle } from './Themes/CarouselItemElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * The `{@link CarouselItemElement}` element.
 *
 * @public
 */
let CarouselItemElement = class CarouselItemElement extends Themeable(SelectorItemElement) {
    // #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-carousel-item';
    }
    /**
     * Get the item parent.
     *
     * @protected
     * @readonly
     */
    get parent() {
        return DomServiceLocator.current.findAncestor(this, CarouselElement.is, { strict: true });
    }
};
CarouselItemElement = __decorate([
    Component({
        selector: 'mosaik-carousel-item',
        template: carouselItemElementTemplate,
        themes: {
            joy: carouselItemElementJoyStyle,
            retro: carouselItemElementRetroStyle,
            cosmopolitan: carouselItemElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], CarouselItemElement);
export { CarouselItemElement };
//# sourceMappingURL=CarouselItemElement.js.map