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: "13.3.10", ngImport: i0, type: FormChildContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ FormChildContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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: [""], components: [{ type: i1.UxDynContainerComponent, selector: "ux-dyn-container", inputs: ["formConfig", "frameId", "parent", "parentData"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", 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", styles: [""] }]
        }], 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: "13.3.10", ngImport: i0, type: UxDynFormChildContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ UxDynFormChildContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: UxDynFormChildContainerComponentModule, declarations: [FormChildContainerComponent], imports: [CommonModule,
        UxDynContainerComponentModule], exports: [FormChildContainerComponent] });
/** @nocollapse */ UxDynFormChildContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: UxDynFormChildContainerComponentModule, imports: [[
            CommonModule,
            UxDynContainerComponentModule,
        ]] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: UxDynFormChildContainerComponentModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [
                        CommonModule,
                        UxDynContainerComponentModule,
                    ],
                    exports: [FormChildContainerComponent],
                    declarations: [FormChildContainerComponent],
                }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9ybS1jaGlsZC1jb250YWluZXIvZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9ybS1jaGlsZC1jb250YWluZXIvZm9ybS1jaGlsZC1jb250YWluZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQU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