angular-dynamic-forms-lite
Version:
Efficient dynamic and customizable Angular 7+ forms.
2 lines • 21.7 kB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("angular-dynamic-forms-lite",["exports","@angular/core","@angular/forms","rxjs/operators"],e):e((t=t||self)["angular-dynamic-forms-lite"]={},t.ng.core,t.ng.forms,t.rxjs.operators)}(this,function(t,e,n,r){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}var p=function(){function t(t){this.viewContainerRef=t}return t.prototype.getViewRef=function(t){return this.viewContainerRef.get(t)},t.prototype.getViewRefs=function(){for(var t=[],e=0;e<this.getSize();e++)t.push(this.viewContainerRef.get(e));return t},t.prototype.containsViewRef=function(t){return-1!==this.viewContainerRef.indexOf(t)},t.prototype.getSize=function(){return this.viewContainerRef.length},t.prototype.clearView=function(){this.viewContainerRef.clear()},t.decorators=[{type:e.Directive,args:[{selector:"[form-root], form-root"}]}],t.ctorParameters=function(){return[{type:e.ViewContainerRef}]},t}();var l=new e.InjectionToken("metadata"),f=new e.InjectionToken("form control"),d=new e.InjectionToken("dynamic controller"),h=new e.InjectionToken("form field name"),y=function(){function t(t,e){this._parentInjector=t,this._additionalTokens=e}return t.prototype.get=function(t,e,n){var r=this._additionalTokens.get(t);return void 0!==r?r:this._parentInjector.get(t,e,n)},t}();var g="DEFAULT",m={GROUP:"GROUP",ARRAY:"ARRAY",SINGLE:"SINGLE",HIDDEN:"HIDDEN"};var v=new e.InjectionToken("default form components"),C=function(){function t(t,e){void 0===t&&(t=m.SINGLE),void 0===e&&(e=g),this.type=t,this.subType=e}return t.of=function(e,n){return new t(e,n)},t.toSubType=function(e){return e instanceof t?e:t.of(e)},t}();var F=function(){function t(t,e,n,r,o){this.factories=t,this.componentFactoryResolver=e,this.injector=n,this.formBuilder=r,this.settings=o}return t.prototype.create=function(t){return this.getFactory(t.setting).create(t)},t.prototype.render=function(t,e){return this.getFactory(e.setting).render(t,e)},t.prototype.updateChildren=function(t){return this.getFactory(t.setting).updateChildren(t)},t.prototype.resolveComponent=function(t,e,n,r){var o;try{o=this.componentFactoryResolver.resolveComponentFactory(e.component)}catch(t){throw console.error("Cannot resolve component factory for "+e.name+". "+(e.component?"":"Component is undefined.")),t}var i=new WeakMap;i.set(l,e.metadata||{}),i.set(f,t),i.set(d,r),i.set(h,e.name);var a=new y(this.injector,i),s=o.create(a);return r.componentRef=s,this.patchAsyncChangeDetection(t,s.changeDetectorRef),{initialValue:n,formControl:t,setting:e,settings:this.settings,componentRef:s,children:[]}},t.prototype.patchAsyncChangeDetection=function(t,e){t.statusChanges.pipe(r.bufferCount(2,1),r.map(function(t){return c(t,1)[0]}),r.filter(function(t){return"PENDING"===t})).subscribe(function(){return e.markForCheck()})},t.prototype.getFactory=function(t){var e=C.toSubType(t.type).type,n=this.factories[e];if(!n)throw new Error("Field factory "+e+" does not exist.");return new n(this,this.formBuilder)},t}();var b=function(){function t(){}return Object.defineProperty(t.prototype,"componentRef",{set:function(t){this._componentRef=t},enumerable:!0,configurable:!0}),t}();var R=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.formGroup=e,i.fieldFactory=n,i.setting=r,i.settings=o,i}return i(e,t),e.prototype.onInit=function(t){},e.prototype.destory=function(){},e}(b);var w=function(){function t(t,e){this.parentFieldFactory=t,this.formBuilder=e}return t.prototype.create=function(t){var e=t.setting,n=t.settings,r=c(this.createChildContexts(t),2),o=r[0],i=r[1],s=new R(o,this.parentFieldFactory,e,n),u=a({},this.parentFieldFactory.resolveComponent(o,e,t.initialValue,s),{children:i});if(!u.componentRef.instance.formRoot)throw new Error("Group component "+e.name+" is not a group component. It is missing the 'formRoot' directive.");return s.onInit(u),u},t.prototype.render=function(t,e){var n=this,r=t.viewContainerRef.insert(e.componentRef.hostView);return r.detectChanges(),Object.entries(e.children).forEach(function(t){var r=c(t,2),o=(r[0],r[1]),i=e.componentRef.instance;n.parentFieldFactory.render(i.formRoot,o)}),r},t.prototype.updateChildren=function(t){var e=Object.entries(t.formControl.controls);Object.entries(t.children).forEach(function(n){var r=c(n,2),o=(r[0],r[1]),i=e.find(function(t){return o.formControl===t[1]});i&&t.formControl.setControl(i[0],i[1])})},t.prototype.createChildContexts=function(t){var e=this,n=t.setting,r=t.settings;if(t.formControl){var o=Object.entries(t.formControl.controls),i={};return o.forEach(function(t){var n=c(t,2),o=n[0],a=n[1];i[o]=e.parentFieldFactory.create({formControl:a,setting:e.getSetting(o,r),settings:r})}),[t.formControl,i]}var a=t.initialValue;if("object"!=typeof a)throw new Error("Value of group "+n.name+" is not an object");var s={},u={};return Object.entries(a).forEach(function(t){var n=c(t,2),o=n[0],i=n[1];s[o]=e.parentFieldFactory.create({initialValue:i,setting:e.getSetting(o,r),settings:r}),u[o]=s[o].formControl}),[this.formBuilder.group(u),s]},t.prototype.getSetting=function(t,e){var n=e.get(t);if(!n)throw new Error("Form field '"+t+"' has no assigned form field setting.");return n},t}();var S=function(){function t(t,e){this.parentFieldFactory=t,this.arrayRoot=e}return t.prototype.render=function(t,e){this.renderChildren(this.arrayRoot,this.getChildrenToRender(t.children,e))},t.prototype.renderChildren=function(t,e){var n=this;t.clearView(),e.forEach(function(e){if(e.componentRef.hostView.destroyed){var r=n.parentFieldFactory.create(e);n.parentFieldFactory.render(t,r)}else n.parentFieldFactory.render(t,e)})},t.prototype.getChildrenToRender=function(t,e){return t.slice(e.pageIndex*e.pageSize,(e.pageIndex+1)*e.pageSize)},t}();var I=function(t){function e(e){var n=t.call(this)||this;return n.parentFieldFactory=e,n.subscriptions=[],n}return i(e,t),e.prototype.onInit=function(t){var e=this;this.arrayContext=t,this.renderer=new S(this.parentFieldFactory,this.arrayRoot),this.paginator.updateTotalSize(this.children.length),this.subscriptions.push(this.paginator.onPageEvent().subscribe(function(t){return e.renderPage(t)}))},Object.defineProperty(e.prototype,"paginator",{get:function(){return this.setting.renderStrategy.paginator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.arrayContext.children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formArray",{get:function(){return this.arrayContext.formControl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"setting",{get:function(){return this.arrayContext.setting},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"settings",{get:function(){return this.arrayContext.settings},enumerable:!0,configurable:!0}),e.prototype.push=function(t){var e=this.parentFieldFactory.create({setting:this.setting.childSetting,settings:this.settings,initialValue:t});this.children.push(e),this.parentFieldFactory.updateChildren(this.arrayContext),this.paginator.updateTotalSize(this.children.length),this.renderPage()},e.prototype.removeAt=function(t){return!(t>=this.children.length||t<0)&&(this.children.splice(t,1),this.parentFieldFactory.updateChildren(this.arrayContext),this.paginator.updateTotalSize(this.children.length),this.renderPage(),!0)},e.prototype.destory=function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})},e.prototype.renderPage=function(t){return void 0===t&&(t=this.paginator.currentPage),this.renderer.render(this.arrayContext,t)},Object.defineProperty(e.prototype,"arrayRoot",{get:function(){return this._componentRef.instance.formRoot},enumerable:!0,configurable:!0}),e}(b);var x=function(){function t(t,e){this.parentFieldFactory=t,this.formBuilder=e}return t.prototype.create=function(t){var e=t.setting;if(!e.childSetting)throw new Error("Array "+t.setting.name+" needs 'childSetting' as part of its setting.");var n=c(this.createChildContexts(t),2),r=n[0],o=n[1],i=new I(this.parentFieldFactory),s=a({},this.parentFieldFactory.resolveComponent(r,e,t.initialValue,i),{children:o});if(!s.componentRef.instance.formRoot)throw new Error("Array component "+e.name+" is not an array component. It is missing the 'formRoot' directive.");return i.onInit(s),s},t.prototype.updateChildren=function(t){var e=u(t.formControl.controls);t.children.forEach(function(n,r){-1===t.formControl.controls.indexOf(n.formControl)?t.formControl.insert(r,n.formControl):e.splice(e.indexOf(n.formControl),1)}),e.forEach(function(e){return t.formControl.removeAt(t.formControl.controls.indexOf(e))})},t.prototype.render=function(t,e){var n=t.viewContainerRef.insert(e.componentRef.hostView);n.detectChanges();var r=e.componentRef.instance,o=e.setting.renderStrategy.paginator,i={pageIndex:o.pageIndex,pageSize:o.pageSize};return new S(this.parentFieldFactory,r.formRoot).render(e,i),n},t.prototype.createChildContexts=function(t){var e=this;if(t.formControl){var n=t.formControl.controls.map(function(n){return e.parentFieldFactory.create({formControl:n,setting:t.setting.childSetting,settings:t.settings})});return[t.formControl,n]}var r=t.initialValue?t.initialValue:[];if(!Array.isArray(r))throw new Error("Value of "+t.setting.name+" is not an array.");var o=r.map(function(n){return e.parentFieldFactory.create({initialValue:n,setting:t.setting.childSetting,settings:t.settings})});return[this.formBuilder.array(o.map(function(t){return t.formControl})),o]},t}();var P=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.formControl=e,i.fieldFactory=n,i.setting=r,i.settings=o,i}return i(e,t),e.prototype.onInit=function(t){},e.prototype.destory=function(){},e}(b);var j=function(){function t(t,e){this.parentFieldFactory=t,this.formBuilder=e}return t.prototype.create=function(t){var e=t.initialValue,n=t.formControl,r=t.setting,o=t.settings;n||((n=this.formBuilder.control(e)).setValidators(r.validators?r.validators:[]),n.setAsyncValidators(r.asyncValidators?r.asyncValidators:[]));var i=new P(n,this.parentFieldFactory,r,o);return this.parentFieldFactory.resolveComponent(n,r,e,i)},t.prototype.render=function(t,e){var n=t.viewContainerRef.insert(e.componentRef.hostView);return n.detectChanges(),n},t.prototype.updateChildren=function(t){},t}();var O="__ROOT__";function E(t,e,n){if(!t)throw new Error("No default form components available, but you used a DynamicFormType as an component identifier for "+e+". Did you add the module using DynamicFormsLiteModule.withDefaultComponents()?");var r=C.toSubType(n),o=t.get(r.type)[r.subType];if(!o)throw new Error("No default form component for type "+r.subType+" ("+r.type+") available.");return o}var D=function(){function t(t){this._pageSize=t,this._pageIndex=0,this.totalSize=0,this.pageEvents=new e.EventEmitter}return t.prototype.updateTotalSize=function(t){this.totalSize=t;var e=this.maxPageIndex;e<this._pageIndex&&(this._pageIndex=e,this.pageEvents.next(this.currentPage))},Object.defineProperty(t.prototype,"pageIndex",{get:function(){return this._pageIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxPageIndex",{get:function(){return 0===this.totalSize?0:Math.ceil(this.totalSize/this._pageSize)-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentPage",{get:function(){return{pageIndex:this._pageIndex,pageSize:this._pageSize}},enumerable:!0,configurable:!0}),t.prototype.hasNextPage=function(){return(this._pageIndex+1)*this._pageSize<this.totalSize},t.prototype.hasPreviousPage=function(){return 0!==this._pageIndex},t.prototype.nextPage=function(){return!!this.hasNextPage()&&(this._pageIndex++,this.pageEvents.next({pageIndex:this.pageIndex,pageSize:this.pageSize}),!0)},t.prototype.previousPage=function(){return!!this.hasPreviousPage()&&(this._pageIndex--,this.pageEvents.next({pageIndex:this.pageIndex,pageSize:this.pageSize}),!0)},t.prototype.onPageEvent=function(){return this.pageEvents},t}();var _=function(){function t(t){this.options=t,this._paginator=new D(t.pageSize)}return t.withFullRender=function(){return new t({pageSize:1/0})},t.withPartialRender=function(e){return new t({pageSize:e})},Object.defineProperty(t.prototype,"paginator",{get:function(){return this._paginator},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSize",{get:function(){return this.options.pageSize},enumerable:!0,configurable:!0}),t}();var A=function(t){var e=c(t,1)[0];throw new Error("Unssuported form field for "+e.name)},V=function(t){var e=c(t,2),n=e[0],r=e[1];return"function"!=typeof r?{match:!1}:(n.component=r,{match:!0,value:[[n.name,n]]})},T=function(t,e){var n=c(t,3),r=n[0],o=n[1],i=n[2];return o in m||o instanceof C?(o===m.HIDDEN||o instanceof C&&o.type===m.HIDDEN||(r.component=e(r,i)),r.type=o,{match:!0,value:[[r.name,r]]}):{match:!1}},z=function(t,e,n){var r=c(t,3),o=r[0],i=r[1],a=r[2];if(!Array.isArray(i))return{match:!1};o.type=m.ARRAY,o.component=e(o,a),o.renderStrategy=o.renderStrategy||_.withFullRender();var s=c(n(i)),p=c(s[0],2)[1],l=s.slice(1);return o.childSetting=p,{match:!0,value:u([[o.name,o]],l)}},N=function(t,e,n){var r=c(t,3),o=r[0],i=r[1],a=r[2];if("object"!=typeof i)return{match:!1};var s=Object.entries(i).reduce(function(t,e){var r=c(e,2),o=r[0],i=r[1],a=c(n(i));return u(t,[[o,c(a[0],2)[1]]],a.slice(1))},[]);return o.name?(o.type=m.GROUP,o.component=e(o,a),{match:!0,value:u([[o.name,o]],s)}):{match:!0,value:s}},M=function(){function t(t){this.defaultFormComponents=t,this.resolvers=[T,V,z,N,A]}return t.prototype.resolve=function(t){return new Map(this.resolveSettings([null,t]))},t.prototype.resolveSettings=function(t){var e=this,n=c(t,3),r=n[0],o=n[1],i=n[2],a=this.createPartialSetting(r);return this.resolvers.reduce(function(t,n){return t.match?t:n([a,o,i],e.componentResolver.bind(e),e.resolveSettings.bind(e))},{match:!1,value:[]}).value},t.prototype.createPartialSetting=function(t){var e={};return"string"==typeof t?e.name=t:e=t||{},e},t.prototype.componentResolver=function(t,e){return e||E(this.defaultFormComponents,t.name,t.type)},t}();var L=function(t){return{match:Array.isArray(t),value:[]}},G=function(t,e){return"object"!=typeof t||t instanceof C?{match:!1}:{match:!0,value:Object.entries(t).reduce(function(t,n){var r,o=c(n,2),i=o[0],s=o[1];return a({},t,((r={})[i]=e(s),r))},{})}},B=function(){function t(){this.resolvers=[L,G]}return t.prototype.resolve=function(t){return this.resolveInlineOptions([null,t])},t.prototype.resolveInlineOptions=function(t){var e=this,n=c(t,2)[1];return this.resolvers.reduce(function(t,r){return t.match?t:r(n,e.resolveInlineOptions.bind(e))},{match:!1,value:null}).value||null},t}();var k=function(){function t(t){this.inlineSettingsResolver=new M(t),this.inlineModelResolver=new B}return t.prototype.resolveSettings=function(t){return this.inlineSettingsResolver.resolve(t)},t.prototype.resolveModel=function(t){return this.inlineModelResolver.resolve(t)},t}();var U=function(){function t(t,e){this.parentFieldFactory=t,this.formBuilder=e}return t.prototype.create=function(t){var e=t.initialValue,n=t.formControl,r=t.setting,o=t.settings;return n||((n=this.formBuilder.control(e)).setValidators(r.validators?r.validators:[]),n.setAsyncValidators(r.asyncValidators?r.asyncValidators:[])),{initialValue:e,formControl:n,setting:r,settings:o,componentRef:null,children:[]}},t.prototype.render=function(){return null},t.prototype.updateChildren=function(){},t}();var Y=function(){function t(t,e,n){this.componentFactoryResolver=t,this.injector=e,this.defaultFormComponents=n}return t.prototype.create=function(t,e,n){void 0===n&&(n=this.createRootSetting());var r=function(t,e,n){var r,o;if(e.has(O)){var i=e.get(O);throw new Error("Illegal form field id "+i.name+" detected for "+i.name)}var u=new Map;u.set(O,{name:O,component:t.component,type:m.GROUP,metadata:t.metadata}),e.forEach(function(t,e){return u.set(e,a({},t,{type:t.type?t.type:m.SINGLE}))});try{for(var p=s(u),l=p.next();!l.done;l=p.next()){var f=c(l.value,2)[1];f.type=C.toSubType(f.type),f.component||f.type.type===m.HIDDEN||(f.component=E(n,f.name,f.type))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}return u}(n,e,this.defaultFormComponents);return this.createParentFieldFactory(r).create({initialValue:t,setting:r.get(O),settings:r})},t.prototype.createInline=function(t,e){void 0===e&&(e=this.createRootSetting());var n=new k(this.defaultFormComponents),r=n.resolveSettings(t),o=n.resolveModel(t);return this.create(o,r,e)},t.prototype.render=function(t,e){this.createParentFieldFactory(e.settings).render(t,e)},t.prototype.createRootSetting=function(){return{component:E(this.defaultFormComponents,"root",m.GROUP),metadata:null}},t.prototype.createParentFieldFactory=function(t){var e;return new F(((e={})[m.GROUP]=w,e[m.ARRAY]=x,e[m.SINGLE]=j,e[m.HIDDEN]=U,e),this.componentFactoryResolver,this.injector,new n.FormBuilder,t)},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.ComponentFactoryResolver},{type:e.Injector},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[v]}]}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(e.ComponentFactoryResolver),e.ɵɵinject(e.INJECTOR),e.ɵɵinject(v,8))},token:t,providedIn:"root"}),t}();var H=function(){function t(t){this.name=t}return t.decorators=[{type:e.Component,args:[{selector:"dynamic-form-array-default",template:'\n <div class="array-default">\n <label>\n <h3>{{ name }}</h3>\n </label>\n <form-root></form-root>\n </div>\n ',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:["\n .array-default {\n border: 1px solid grey;\n padding: 5px;\n }\n "]}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[h]}]}]},t.propDecorators={formRoot:[{type:e.ViewChild,args:[p,{static:!0}]}]},t}();var q=function(){function t(t){this.name=t}return t.decorators=[{type:e.Component,args:[{selector:"dynamic-form-group-default",template:'\n <div class="group-default">\n <label>\n <h3>{{ name }}</h3>\n </label>\n <form-root></form-root>\n </div>\n ',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:["\n .group-default {\n border: 1px solid grey;\n padding: 5px;\n }\n "]}]}],t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Optional},{type:e.Inject,args:[h]}]}]},t.propDecorators={formRoot:[{type:e.ViewChild,args:[p,{static:!0}]}]},t}();var J,W,K,Q=function(){function t(t,e){this.formControl=t,this.name=e}return t.decorators=[{type:e.Component,args:[{selector:"dynamic-form-string-default",template:'\n <div>\n <label>{{ name }}: </label>\n <input type="text" [formControl]="formControl" />\n </div>\n ',changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[f]}]},{type:String,decorators:[{type:e.Inject,args:[h]}]}]},t}();var X=new Map;X.set(m.SINGLE,((J={})[g]=Q,J)),X.set(m.GROUP,((W={})[g]=q,W)),X.set(m.ARRAY,((K={})[g]=H,K));var Z=function(){function t(){}return t.withDefaultComponents=function(e){return void 0===e&&(e=new Map),[{ngModule:t,providers:[{provide:v,useValue:t.mergeDefaultComponents(e)}]},$]},t.mergeDefaultComponents=function(t){var e,n,r=new Map(X);try{for(var o=s(t),i=o.next();!i.done;i=o.next()){var u=c(i.value,2),p=u[0],l=u[1];r.set(p,a({},r.get(p),l||{}))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.decorators=[{type:e.NgModule,args:[{declarations:[p],providers:[Y],imports:[n.ReactiveFormsModule],exports:[p]}]}],t}(),$=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[Q,H,q],entryComponents:[Q,H,q],imports:[Z,n.ReactiveFormsModule]}]}],t}();t.ArrayComponent=H,t.ArrayRenderStrategy=_,t.DEFAULT_SUB_TYPE=g,t.DynamicArrayController=I,t.DynamicFormType=m,t.DynamicFormsLiteComponentsModule=$,t.DynamicFormsLiteModule=Z,t.DynamicFormsLiteService=Y,t.DynamicGroupController=R,t.DynamicSingleController=P,t.FIELD_DYNAMIC_CONTROLLER=d,t.FIELD_FORM_CONTROL=f,t.FIELD_METADATA=l,t.FIELD_NAME=h,t.FormRootDirective=p,t.GroupComponent=q,t.Paginator=D,t.SingleInputComponent=Q,t.SubType=C,t.ɵa=b,t.ɵb=v,t.ɵc=F,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=angular-dynamic-forms-lite.umd.min.js.map