import { Component, Inject, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UxListItemComponentModule, UxListItemsComponentModule, } from '@eui/components';
import { DYNAMIC_COMPONENT_CONFIG } from '@eui/core';
import { BaseDynComponent } from '../../../core/base-dyn/base-dyn.component';
import * as i0 from "@angular/core";
import * as i1 from "@eui/components";
import * as i2 from "@angular/common";
function AListItemsComponent_ux_list_item_1_uxListItemSubLabel_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "uxListItemSubLabel");
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const item_r1 = i0.ɵɵnextContext().$implicit;
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", item_r1.subLabel, " ");
} }
function AListItemsComponent_ux_list_item_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "ux-list-item", 2);
    i0.ɵɵtemplate(1, AListItemsComponent_ux_list_item_1_uxListItemSubLabel_1_Template, 2, 1, "uxListItemSubLabel", 3);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const item_r1 = ctx.$implicit;
    i0.ɵɵproperty("label", item_r1.label)("isSmall", item_r1.small)("isLarge", item_r1.large)("isHoverable", item_r1.hoverable);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", item_r1.subLabel);
} }
export class AListItemsComponent extends BaseDynComponent {
    constructor(config) {
        super(config);
        this.inputs = this.context.inputs;
    }
    ngOnInit() {
    }
    ngOnDestroy() {
    }
}
/** @nocollapse */ AListItemsComponent.ɵfac = function AListItemsComponent_Factory(t) { return new (t || AListItemsComponent)(i0.ɵɵdirectiveInject(DYNAMIC_COMPONENT_CONFIG)); };
/** @nocollapse */ AListItemsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AListItemsComponent, selectors: [["ux-dyn-a-list-items"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [[3, "isAccessible", "titleLabel"], [3, "label", "isSmall", "isLarge", "isHoverable", 4, "ngFor", "ngForOf"], [3, "label", "isSmall", "isLarge", "isHoverable"], [4, "ngIf"]], template: function AListItemsComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵelementStart(0, "ux-list-items", 0);
        i0.ɵɵtemplate(1, AListItemsComponent_ux_list_item_1_Template, 2, 5, "ux-list-item", 1);
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        i0.ɵɵproperty("isAccessible", true)("titleLabel", ctx.inputs.titleLabel);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngForOf", ctx.inputs.items);
    } }, directives: [i1.UxListItemsComponent, i2.NgForOf, i1.UxListItemComponent, i2.NgIf, i1.UxListItemSubLabelTagDirective], encapsulation: 2 });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(AListItemsComponent, [{
        type: Component,
        args: [{
                selector: 'ux-dyn-a-list-items',
                templateUrl: './a-list-items.component.html',
            }]
    }], function () { return [{ type: undefined, decorators: [{
                type: Inject,
                args: [DYNAMIC_COMPONENT_CONFIG]
            }] }]; }, null); })();
export class UxDynAListItemsComponentModule {
}
/** @nocollapse */ UxDynAListItemsComponentModule.ɵmod = i0.ɵɵdefineNgModule({ type: UxDynAListItemsComponentModule });
/** @nocollapse */ UxDynAListItemsComponentModule.ɵinj = i0.ɵɵdefineInjector({ factory: function UxDynAListItemsComponentModule_Factory(t) { return new (t || UxDynAListItemsComponentModule)(); }, imports: [[
            CommonModule,
            UxListItemComponentModule,
            UxListItemsComponentModule,
        ]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UxDynAListItemsComponentModule, { declarations: [AListItemsComponent], imports: [CommonModule,
        UxListItemComponentModule,
        UxListItemsComponentModule], exports: [AListItemsComponent] }); })();
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(UxDynAListItemsComponentModule, [{
        type: NgModule,
        args: [{
                imports: [
                    CommonModule,
                    UxListItemComponentModule,
                    UxListItemsComponentModule,
                ],
                exports: [AListItemsComponent],
                declarations: [AListItemsComponent],
            }]
    }], null, null); })();
//# sourceMappingURL=data:application/json;base64, 