import { Component, Input, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UxDynContainerComponentModule } from '../../../ux-dyn-container/ux-dyn-container.component';
import * as i0 from "@angular/core";
import * as i1 from "../../../ux-dyn-container/ux-dyn-container.component";
export class FormChildContainerComponent {
    constructor() {
    }
    ngOnInit() {
        if (!Array.isArray(this.config)) {
            this.config = [this.config];
        }
    }
}
/** @nocollapse */ FormChildContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormChildContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ FormChildContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: FormChildContainerComponent, selector: "ux-dyn-form-child-container", inputs: { config: "config", frameId: "frameId", parent: "parent", parentData: "parentData" }, ngImport: i0, template: "<ux-dyn-container [formConfig]=\"config\" [frameId]=\"frameId\" [parent]=\"parent\" [parentData]=\"parentData\">\n</ux-dyn-container>\n", styles: [""], dependencies: [{ kind: "component", type: i1.UxDynContainerComponent, selector: "ux-dyn-container", inputs: ["formConfig", "frameId", "parent", "parentData"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FormChildContainerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ux-dyn-form-child-container', template: "<ux-dyn-container [formConfig]=\"config\" [frameId]=\"frameId\" [parent]=\"parent\" [parentData]=\"parentData\">\n</ux-dyn-container>\n" }]
        }], ctorParameters: function () { return []; }, propDecorators: { config: [{
                type: Input
            }], frameId: [{
                type: Input
            }], parent: [{
                type: Input
            }], parentData: [{
                type: Input
            }] } });
export class UxDynFormChildContainerComponentModule {
}
/** @nocollapse */ UxDynFormChildContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynFormChildContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ UxDynFormChildContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: UxDynFormChildContainerComponentModule, declarations: [FormChildContainerComponent], imports: [CommonModule,
        UxDynContainerComponentModule], exports: [FormChildContainerComponent] });
/** @nocollapse */ UxDynFormChildContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynFormChildContainerComponentModule, imports: [CommonModule,
        UxDynContainerComponentModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynFormChildContainerComponentModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [
                        CommonModule,
                        UxDynContainerComponentModule,
                    ],
                    exports: [FormChildContainerComponent],
                    declarations: [FormChildContainerComponent],
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9ybS1jaGlsZC1jb250YWluZXIvZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9ybS1jaGlsZC1jb250YWluZXIvZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsNkJ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