// #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 { carouselItemElementMemphisStyle } from './Themes/CarouselItemElement.Memphis';
import { carouselItemElementCosmopolitanStyle } from './Themes/CarouselItemElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * CarouselItem - An individual content slide within a carousel navigation component.
 *
 * Represents a single content item that can be displayed within a carousel layout.
 * Contains content such as images, cards, text, or any other elements that need
 * to be presented in the carousel's sliding presentation format.
 *
 * @name CarouselItemElement
 * @element mosaik-carousel-item
 * @category Selectors
 *
 * @slot - Default content area for the carousel item's content
 *
 * @csspart container - Main container for the carousel item content
 * @csspart content - Content wrapper within the carousel item
 *
 * @cssprop --carousel-item-padding - Internal padding for carousel item content
 * @cssprop --carousel-item-background - Background color for the carousel item
 * @cssprop --carousel-item-border-radius - Border radius for carousel item styling
 *
 * @dependency CarouselElement - Parent carousel component that manages navigation and display
 *
 * @example
 * ```html
 * <!-- Image carousel item -->
 * <mosaik-carousel-item>
 *   <img src="hero-banner.jpg" alt="Featured product" />
 *   <div class="overlay">
 *     <h2>New Collection</h2>
 *     <mosaik-button appearance="primary">Shop Now</mosaik-button>
 *   </div>
 * </mosaik-carousel-item>
 *
 * <!-- Card carousel item -->
 * <mosaik-carousel-item>
 *   <mosaik-card appearance="elevated">
 *     <mosaik-avatar slot="header" src="user.jpg"></mosaik-avatar>
 *     <mosaik-text slot="header">John Smith</mosaik-text>
 *     <mosaik-text>"This product changed everything for our team!"</mosaik-text>
 *     <mosaik-rating slot="footer" value="5" readonly></mosaik-rating>
 *   </mosaik-card>
 * </mosaik-carousel-item>
 *
 * <!-- Feature carousel item -->
 * <mosaik-carousel-item>
 *   <div class="feature-content">
 *     <mosaik-icon data="chart-line" size="large"></mosaik-icon>
 *     <mosaik-text variant="headline">Analytics Dashboard</mosaik-text>
 *     <mosaik-text>Track your performance with detailed insights</mosaik-text>
 *   </div>
 * </mosaik-carousel-item>
 * ```
 *
 * @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,
            memphis: carouselItemElementMemphisStyle,
            cosmopolitan: carouselItemElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], CarouselItemElement);
export { CarouselItemElement };
//# sourceMappingURL=CarouselItemElement.js.map