// #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 { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { epgChannelElementTemplate } from './EpgChannelElementTemplate';
import { epgChannelElementJoyStyle } from './Themes/EpgChannelElement.Joy';
import { TextElement } from '../../../Components/Primitives/Text/TextElement';
import { Disableable } from '../../../Behaviors/Disableable';
import { Valueable } from '../../../Behaviors/Valueable';
import { Variantable } from '../../../Behaviors/Variantable';
import { Appearanceable } from '../../../Behaviors/Appearanceable';
import { Labelable } from '../../../Behaviors/Labelable';
import { Localeable } from '../../../Behaviors/Localeable';
// #endregion
/**
 * The `{@link EpgChannelElement}` element.
 *
 * @public
 */
let EpgChannelElement = class EpgChannelElement extends Localeable(Valueable(Variantable(Appearanceable(Disableable(Labelable(CustomElement)))))) {
    // #region Fields
    // @QuerySlotAll(EpgProgramElement.is)
    // private readonly _items!: Array<EpgProgramElement>;
    // #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
     * @readonly
     */
    static get is() {
        return 'mosaik-epg-channel';
    }
    /**
     * Gets the `displayText` property.
     *
     * @public
     * @readonly
     * @hidden
     */
    get displayText() {
        return this.textContent?.trim() ?? '';
    }
};
EpgChannelElement = __decorate([
    Component({
        selector: 'mosaik-epg-channel',
        template: epgChannelElementTemplate,
        styles: epgChannelElementJoyStyle,
        host: {
            role: 'group',
            slot: 'channels'
        },
        imports: [
            TextElement
        ]
    }),
    __metadata("design:paramtypes", [])
], EpgChannelElement);
export { EpgChannelElement };
//# sourceMappingURL=EpgChannelElement.js.map