import * as i0 from '@angular/core';
import { Directive, TemplateRef, Component, ContentChild, Input, NgModule } from '@angular/core';
import { ActiveList } from '@uiloos/core';

class ActiveListDirective {
    constructor() { }
}
ActiveListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ActiveListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
ActiveListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: ActiveListDirective, selector: "[uiloosActiveList]", ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ActiveListDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[uiloosActiveList]',
                }]
        }], ctorParameters: function () { return []; } });

/**
 * A component which wraps the ActiveList from @uiloos/core.
 *
 * @alias uiloos-active-list
 */
class ActiveListComponent {
    ngOnInit() {
        this.activeList = new ActiveList(this.config);
        ;
    }
}
ActiveListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ActiveListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ActiveListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ActiveListComponent, selector: "uiloos-active-list", inputs: { config: "config" }, queries: [{ propertyName: "uiloosActiveList", first: true, predicate: ActiveListDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: `
    <ng-container
      *ngTemplateOutlet="
        uiloosActiveList;
        context: { $implicit: activeList }
      "
    ></ng-container>
  `, isInline: true });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ActiveListComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'uiloos-active-list',
                    template: `
    <ng-container
      *ngTemplateOutlet="
        uiloosActiveList;
        context: { $implicit: activeList }
      "
    ></ng-container>
  `,
                }]
        }], propDecorators: { uiloosActiveList: [{
                type: ContentChild,
                args: [ActiveListDirective, { read: TemplateRef }]
            }], config: [{
                type: Input
            }] } });

/**
 * An Angular module that includes all uiloos Angular bindings.
 */
class UiloosModule {
}
UiloosModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: UiloosModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
UiloosModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: UiloosModule, declarations: [ActiveListComponent], exports: [ActiveListComponent] });
UiloosModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: UiloosModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: UiloosModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [
                        ActiveListComponent,
                    ],
                    imports: [],
                    exports: [
                        ActiveListComponent,
                    ]
                }]
        }] });

/*
 * Public API Surface of @uiloos/angular
 */

/**
 * Generated bundle index. Do not edit.
 */

export { ActiveListComponent, UiloosModule };
//# sourceMappingURL=uiloos-angular.mjs.map
