-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-AAPIZVW2.js
1 lines (1 loc) · 20.2 KB
/
chunk-AAPIZVW2.js
1
import{$ as T,$b as le,$d as $,Ca as y,Da as f,Ea as g,Ed as ae,F as m,Fa as N,Fc as B,G as c,Ga as C,Ha as I,Ia as re,Ka as b,La as F,Lb as A,Lc as W,Ma as v,Mb as D,Nb as j,Oa as E,Ob as q,Od as U,Pb as k,T as n,U as M,Ua as P,Va as J,Xd as K,Yd as Z,Zb as ee,_ as S,_b as Q,a as _,ad as Y,b as ie,bb as ne,ea as te,ec as X,fc as L,gd as G,ha as a,kb as O,md as z,na as r,oa as l,oc as R,od as H,pa as u,qe as x,se as pe,ta as V,ua as h,y as w,zd as se}from"./chunk-TZ5FQAUY.js";var he=["generatorForm"],Ce=["jsonImportForm"],be=["formFieldModal"],Fe=["importJsonModal"],ve=["viewJsonModal"],_e=["valueForms"],we=["gridSystemForm"],Me=["booleansForm"],Se=()=>({standalone:!0});function Te(p,Ae){p&1&&(r(0,"div",36),u(1,"po-icon",37),C(2),l()),p&2&&(n(2),re(" Formato inv\xE1lido, informe no seguinte padr\xE3o: ",'{"property": "value"}',". "))}var de=(()=>{class p{poNotification;generatorForm;jsonImportForm;formFieldModal;importJsonModal;viewJsonModal;valueForms;gridSystemForm;booleansForm;dynamicForm;field={};fields=[];fieldsJson="";jsonImport="";fieldId;quickField={};editFieldId;valueFields;value=JSON.stringify({});model={};displayMessageError=!1;columns=[{label:"Property",property:"property"},{label:"Type",property:"type"},{label:"Format",property:"format"},{label:"Label",property:"label"},{label:"Visible",property:"visible"}];actions=[{label:"Editar",action:this.onEditField.bind(this)},{label:"Excluir",type:"danger",separator:!0,action:this.removeField.bind(this)}];columnsFields=[{property:"gridColumns",type:"number",label:"Grid",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridSmColumns",type:"number",label:"Sm",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridMdColumns",type:"number",label:"Md",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridLgColumns",type:"number",label:"Lg",gridXlColumns:2,gridMdColumns:6,gridSmColumns:6},{property:"gridXlColumns",type:"number",label:"Xl",gridXlColumns:2,gridMdColumns:6,gridSmColumns:6}];booleansFields=[{property:"tag",type:"boolean",gridColumns:6,gridMdColumns:3,booleanFalse:"No",booleanTrue:"Yes"},{property:"visible",type:"boolean",gridColumns:6,gridMdColumns:3,booleanFalse:"No",booleanTrue:"Yes"}];defaultFields=[{property:"property",required:!0,gridColumns:6},{property:"type",options:["Boolean","Currency","Date","DateTime","Number","String","Time"],gridColumns:6},{property:"label",gridXlColumns:4},{property:"divider",gridXlColumns:4},{property:"format",gridMdColumns:6,gridXlColumns:4}];importJsonModalAction={label:"Importar",action:this.importJson.bind(this)};primaryAction={label:"Adicionar",action:()=>{this.addField(this.field),this.formFieldModal.close()}};secondaryAction={label:"Cancelar",action:()=>{this.resetForm(),this.formFieldModal.close()}};addValueAction={label:"Adicionar",action:()=>{this.model=Object.assign({},this.value),this.valueForms.close()}};cancelValueAction={label:"Cancelar",action:()=>{this.valueForms.close()}};pageActions=[{label:"Importar JSON",icon:"ICON_UPLOAD",action:()=>this.importJsonModal.open()},{label:"Visualizar JSON",disabled:()=>!this.fields.length,action:()=>this.viewJsonModal.open()},{label:"Dynamic Form",url:"/tools/dynamic-form"}];constructor(i){this.poNotification=i}openValueForm(){this.valueFields=this.fields.map(i=>({property:i.property,gridColumns:6})),this.valueForms.open()}onChangeValueField(){if(!this.value){this.model={};return}try{this.model=JSON.parse(this.value),this.displayMessageError=!1}catch{this.model={},this.displayMessageError=!0}if(!Array.isArray(this.model)&&Object.keys(this.model).length){for(let i in this.model)this.model.hasOwnProperty(i)&&!this.fields.find(o=>o.property===i)&&this.fields.push({property:i});this.fields=[...this.fields]}}addField(i){this.cleanField(i);let o=Object.assign({},i),e=this.editFieldId||this.editFieldId===0;if(this.fields.find(d=>d.property===o.property)&&!e){this.poNotification.warning({message:`Property ${o.property} j\xE1 existe na lista`,orientation:W.Bottom});return}e?this.fields.splice(this.editFieldId,1,o):this.fields.push(o),this.addPropertyInValue(o.property),this.fields=[...this.fields],this.resetForm()}addPropertyInValue(i){let o;try{o=JSON.parse(this.value)}catch{o={}}let e=ie(_({},o),{[i]:o[i]||""});this.value=JSON.stringify(e)}advancedFields(){this.quickField.property?this.field=_({},this.quickField):this.resetForm(),this.formFieldModal.open()}copyToClipboard(){let i=document.querySelector("#fieldsJson");window.getSelection&&(window.getSelection().selectAllChildren(i),document.execCommand("copy"),this.poNotification.success("JSON copied to clipboard."))}removeAll(){this.value=JSON.stringify({}),this.fields=[]}getForm(i){this.dynamicForm=i,this.dynamicForm.statusChanges.subscribe(o=>{this.primaryAction.disabled=o==="INVALID"})}cleanField(i){Object.keys(i).forEach(o=>{i[o]===null&&delete i[o]})}removeField(i){this.fields=this.fields.filter(o=>o.property!==i.property)}importJson(){try{let i=JSON.parse(this.jsonImport);this.fields=i,this.convertFieldsToValues(this.fields),this.jsonImport="",this.importJsonModal.close()}catch(i){this.poNotification.error("Invalid JSON"),console.error(i)}}convertFieldsToValues(i){let o={};Array.isArray(i)&&(i.forEach(e=>{o[e.property]=""}),this.value=JSON.stringify(o))}onEditField(i){let o=Object.assign({},i);this.editFieldId=this.fields.findIndex(e=>e.property===o.property),this.field=o,this.formFieldModal.open()}resetForm(){this.generatorForm.reset(),this.dynamicForm.reset(),this.gridSystemForm&&this.gridSystemForm.form.reset(),this.booleansForm&&this.booleansForm.form.reset(),this.editFieldId=void 0}static \u0275fac=function(o){return new(o||p)(M(Y))};static \u0275cmp=S({type:p,selectors:[["app-tools-dynamic-view"]],viewQuery:function(o,e){if(o&1&&(y(he,5),y(Ce,5),y(be,5),y(Fe,5),y(ve,5),y(_e,5),y(we,5),y(Me,5)),o&2){let t;f(t=g())&&(e.generatorForm=t.first),f(t=g())&&(e.jsonImportForm=t.first),f(t=g())&&(e.formFieldModal=t.first),f(t=g())&&(e.importJsonModal=t.first),f(t=g())&&(e.viewJsonModal=t.first),f(t=g())&&(e.valueForms=t.first),f(t=g())&&(e.gridSystemForm=t.first),f(t=g())&&(e.booleansForm=t.first)}},standalone:!1,decls:47,vars:29,consts:[["generatorForm","ngForm"],["importJsonModal",""],["jsonImportForm","ngForm"],["viewJsonModal",""],["formFieldModal",""],["defaultDynamicForm",""],["booleansForm",""],["gridSystemForm",""],["p-title","Dynamic View",1,"app-portal","app-portal-home",3,"p-actions"],[1,"po-m-2"],["p-label","Configura\xE7\xE3o","p-active",""],["autocomplete","off",3,"ngSubmit"],[1,"po-row"],["p-label","Novo campo",1,"po-md-12"],["name","property","p-label","Property","p-clean","","p-required","",1,"po-sm-8","po-md-6",3,"ngModelChange","ngModel"],["type","submit",1,"po-button","po-button-primary","po-sm-4","po-md-2","po-mt-4","po-mb-1",3,"disabled"],["p-icon","ICON_PARAMETERS","p-label","Campos avan\xE7ados",1,"po-m-1",3,"p-click"],["p-label","Campos cadastrados"],["p-height","350",1,"po-sm-12","po-lg-7"],[3,"p-height","p-hide-table-search","p-sort","p-actions","p-columns","p-items"],["p-height","350",1,"po-sm-12","po-lg-5","po-mt-lg-0","po-mt-xl-0","po-mt-sm-1","po-mt-md-1"],["name","value","p-label","Valores","p-help",'Ex.: {"property": "value"}',"p-rows","10",3,"ngModelChange","p-change","ngModel"],["class","msg-danger",4,"ngIf"],["p-label","Visualiza\xE7\xE3o",3,"p-disabled"],[3,"p-fields","p-value"],["p-title","JSON",3,"p-primary-action"],["p-height","300","p-theme","vs-dark",3,"ngModelChange","ngModelOptions","ngModel"],["p-title","JSON"],["p-icon","ICON_COPY","p-label","Copy",1,"po-sm-4","po-pr-0","po-pl-0","po-mb-1",3,"p-click"],[1,"tools-jumbotron"],["id","fieldsJson"],["p-title","Propriedades","p-hide-close","",3,"p-primary-action","p-secondary-action"],[3,"p-form","p-fields","p-value"],[1,"po-p-1"],["p-label","Booleanos"],["p-label","Grid System"],[1,"msg-danger"],["p-icon","ICON_INFO"]],template:function(o,e){if(o&1){let t=V();r(0,"po-page-default",8)(1,"div",9)(2,"po-tabs")(3,"po-tab",10)(4,"form",11,0),h("ngSubmit",function(){return m(t),c(e.addField(e.quickField))}),r(6,"div",12),u(7,"po-divider",13),r(8,"po-input",14),v("ngModelChange",function(s){return m(t),F(e.quickField.property,s)||(e.quickField.property=s),c(s)}),l(),r(9,"button",15),C(10," Adicionar "),l()(),r(11,"div",12)(12,"po-button",16),h("p-click",function(){return m(t),c(e.advancedFields())}),l()()(),u(13,"po-divider",17),r(14,"div",12)(15,"po-widget",18),u(16,"po-table",19),l(),r(17,"po-widget",20)(18,"po-textarea",21),v("ngModelChange",function(s){return m(t),F(e.value,s)||(e.value=s),c(s)}),h("p-change",function(){return m(t),c(e.onChangeValueField())}),l(),te(19,Te,3,1,"div",22),l()()(),r(20,"po-tab",23),u(21,"po-dynamic-view",24),l()()()(),r(22,"po-modal",25,1)(24,"form",null,2)(26,"po-code-editor",26),v("ngModelChange",function(s){return m(t),F(e.jsonImport,s)||(e.jsonImport=s),c(s)}),l()()(),r(27,"po-modal",27,3)(29,"div",12)(30,"po-button",28),h("p-click",function(){return m(t),c(e.copyToClipboard())}),l()(),r(31,"div",29)(32,"pre",30),C(33),P(34,"json"),l()()(),r(35,"po-modal",31,4)(37,"po-dynamic-form",32,5),h("p-form",function(s){return m(t),c(e.getForm(s))}),l(),r(39,"div",33)(40,"po-accordion",33)(41,"po-accordion-item",34),u(42,"po-dynamic-form",24,6),l(),r(44,"po-accordion-item",35),u(45,"po-dynamic-form",24,7),l()()()()}if(o&2){let t=N(5);a("p-actions",e.pageActions),n(8),b("ngModel",e.quickField.property),n(),a("disabled",t.invalid),n(7),a("p-height",290)("p-hide-table-search",!1)("p-sort",!0)("p-actions",e.actions)("p-columns",e.columns)("p-items",e.fields),n(2),b("ngModel",e.value),n(),a("ngIf",e.displayMessageError),n(),a("p-disabled",!e.fields.length),n(),a("p-fields",e.fields)("p-value",e.model),n(),a("p-primary-action",e.importJsonModalAction),n(4),a("ngModelOptions",E(28,Se)),b("ngModel",e.jsonImport),n(7),I(J(34,26,e.fields)),n(2),a("p-primary-action",e.primaryAction)("p-secondary-action",e.secondaryAction),n(2),a("p-fields",e.defaultFields)("p-value",e.field),n(5),a("p-fields",e.booleansFields)("p-value",e.field),n(3),a("p-fields",e.columnsFields)("p-value",e.field)}},dependencies:[ne,k,A,D,q,j,L,X,R,Q,H,ae,z,se,le,B,U,G,K,Z,$,x,O],styles:[".tools-jumbotron[_ngcontent-%COMP%]{max-height:calc(100vh - 270px);overflow-y:auto}.tools-jumbotron[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{background-color:#060402c7;color:#f7f6f5}.msg-danger[_ngcontent-%COMP%]{color:#c64840}"]})}return p})();var Ve=["generatorForm"],Ne=["jsonImportForm"],Ie=["formFieldModal"],Ee=["importJsonModal"],Pe=["viewJsonModal"],Je=()=>({standalone:!0}),me=(()=>{class p{poNotification;generatorForm;jsonImportForm;formFieldModal;importJsonModal;viewJsonModal;dynamicForm;gridSystemForm;validationForm;field={};fields=[];fieldsJson="";jsonImport="";quickField={};editFieldId;columns=[{property:"property"},{property:"type"},{property:"label"},{property:"help"},{property:"required"},{property:"disabled"},{property:"visible"}];actions=[{label:"Editar",action:this.onEditField.bind(this)},{label:"Excluir",separator:!0,type:"danger",action:this.removeField.bind(this)}];validationFields=[{property:"mask",gridColumns:6},{property:"pattern",gridColumns:6},{property:"minLength",type:"number",label:"MinLength",gridColumns:6},{property:"maxLength",type:"number",label:"MaxLength",gridColumns:6},{property:"maxValue",label:"MaxValue",gridSmColumns:6,gridXlColumns:4},{property:"minValue",label:"MinValue",gridSmColumns:6,gridXlColumns:4},{property:"required",type:"boolean",gridColumns:4,booleanFalse:"No",booleanTrue:"Yes"}];columnsFields=[{property:"gridColumns",type:"number",label:"Grid",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridSmColumns",type:"number",label:"Sm",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridMdColumns",type:"number",label:"Md",gridXlColumns:2,gridMdColumns:4,gridSmColumns:6},{property:"gridLgColumns",type:"number",label:"Lg",gridXlColumns:2,gridMdColumns:6,gridSmColumns:6},{property:"gridXlColumns",type:"number",label:"Xl",gridXlColumns:2,gridMdColumns:6,gridSmColumns:6}];booleanFields=[{property:"optionsMulti",label:"OptionsMulti",type:"boolean",gridColumns:3,gridSmColumns:12,booleanFalse:"No",booleanTrue:"Yes"},{property:"visible",type:"boolean",gridColumns:3,gridSmColumns:12,booleanFalse:"No",booleanTrue:"Yes"},{property:"disabled",type:"boolean",gridColumns:3,gridSmColumns:12,booleanFalse:"No",booleanTrue:"Yes"},{property:"secret",type:"boolean",gridColumns:3,gridSmColumns:12,booleanFalse:"No",booleanTrue:"Yes"},{property:"booleanTrue",label:"BooleanTrue",gridColumns:6},{property:"booleanFalse",label:"BooleanFalse",gridColumns:6}];serviceFields=[{property:"searchService",help:"https://po-sample-api.onrender.com/v1/heroes",label:"SearchService",gridColumns:12,gridLgColumns:6,gridXlColumns:6},{property:"optionsService",help:"https://po-sample-api.onrender.com/v1/heroes",label:"OptionsService",gridColumns:12,gridLgColumns:6,gridXlColumns:6}];defaultFields=[{property:"property",required:!0,gridColumns:5},{property:"type",options:["Boolean","Currency","Date","DateTime","Number","String","Time"],gridColumns:5},{property:"rows",gridColumns:2},{property:"label",help:"Hero",gridXlColumns:4},{property:"help",help:"Select your hero",gridXlColumns:4},{property:"divider",help:"Heroes",gridXlColumns:4},{property:"columns",help:'[{ "property": "name", "label": "Name" }]',gridLgColumns:6,gridXlColumns:6},{property:"options",help:'["Option 1", "Option 2"]',gridColumns:12,gridLgColumns:6,gridXlColumns:6}];importJsonModalAction={label:"Importar",action:this.importJson.bind(this)};primaryAction={label:"Adicionar",action:()=>{this.addField(this.field),this.formFieldModal.close()}};secondaryAction={label:"Cancelar",action:()=>{this.resetForm(),this.formFieldModal.close()}};pageActions=[{label:"Importar JSON",icon:"ICON_UPLOAD",action:()=>this.importJsonModal.open()},{label:"Visualizar JSON",disabled:()=>!this.fields.length,action:()=>this.viewJsonModal.open()},{label:"Dynamic View",url:"/tools/dynamic-view"}];constructor(i){this.poNotification=i}addField(i){let o=this.cleanField(i),e=this.editFieldId||this.editFieldId===0,t=this.fields.find(d=>d.property===o.property);if(o.columns=o.columns?this.convertToArray(o.columns):void 0,o.options=o.options?this.convertToArray(o.options):void 0,t&&!e){this.poNotification.warning({message:`Property ${o.property} j\xE1 existe na lista`,orientation:W.Bottom});return}e?this.fields.splice(this.editFieldId,1,o):this.fields.push(o),this.fields=[...this.fields],this.resetForm()}advancedFields(){this.quickField.property?this.field=_({},this.quickField):this.resetForm(),this.formFieldModal.open()}copyToClipboard(){let i=document.querySelector("#fieldsJson");window.getSelection&&(window.getSelection().selectAllChildren(i),document.execCommand("copy"),this.poNotification.success("JSON copied to clipboard."))}removeAll(){this.fields=[]}getForm(i){this.dynamicForm=i,this.dynamicForm.statusChanges.subscribe(o=>{this.primaryAction.disabled=o==="INVALID"})}cleanField(i){let o=_({},i);return Object.keys(o).forEach(e=>{o[e]===null&&delete o[e]}),o}convertToArray(i){let o=[];if(Array.isArray(i))return i;try{o=JSON.parse(i)}catch{o=[],this.poNotification.error('Property "Options" typed wrong')}return o}removeField(i){this.fields=this.fields.filter(o=>o.property!==i.property)}importJson(){try{let i=JSON.parse(this.jsonImport);this.fields=i,this.jsonImport="",this.importJsonModal.close()}catch(i){this.poNotification.error("Invalid JSON"),console.error(i)}}onEditField(i){let o=Array.isArray(i.options)?JSON.stringify(i.options):void 0,e=Array.isArray(i.columns)?JSON.stringify(i.columns):void 0,t=Object.assign({},i,{options:o,columns:e});this.editFieldId=this.fields.findIndex(d=>d.property===t.property),this.field=t,this.formFieldModal.open()}resetForm(){this.field={},this.generatorForm.reset(),this.dynamicForm.reset(),this.editFieldId=void 0}static \u0275fac=function(o){return new(o||p)(M(Y))};static \u0275cmp=S({type:p,selectors:[["app-tools-dynamic-form"]],viewQuery:function(o,e){if(o&1&&(y(Ve,5),y(Ne,5),y(Ie,5),y(Ee,5),y(Pe,5)),o&2){let t;f(t=g())&&(e.generatorForm=t.first),f(t=g())&&(e.jsonImportForm=t.first),f(t=g())&&(e.formFieldModal=t.first),f(t=g())&&(e.importJsonModal=t.first),f(t=g())&&(e.viewJsonModal=t.first)}},standalone:!1,decls:45,vars:30,consts:[["generatorForm","ngForm"],["importJsonModal",""],["jsonImportForm","ngForm"],["viewJsonModal",""],["formFieldModal",""],["p-title","Dynamic Form",1,"app-portal","app-portal-home",3,"p-actions"],[1,"po-m-2"],["p-label","Configura\xE7\xE3o","p-active",""],["autocomplete","off",3,"ngSubmit"],[1,"po-row"],["p-label","Novo campo",1,"po-md-12"],["name","property","p-label","Property","p-clean","","p-required","",1,"po-sm-8","po-md-6",3,"ngModelChange","ngModel"],["type","submit",1,"po-button","po-button-primary","po-sm-4","po-md-2","po-mt-4","po-mb-1",3,"disabled"],["p-icon","ICON_PARAMETERS","p-label","Campos avan\xE7ados",1,"po-m-1",3,"p-click"],["p-label","Campos cadastrados"],[1,"po-p-1"],[3,"p-height","p-hide-table-search","p-sort","p-actions","p-columns","p-items"],["p-label","Visualiza\xE7\xE3o",3,"p-disabled"],[3,"p-fields"],["p-title","JSON",3,"p-primary-action"],["p-height","300","p-theme","vs-dark",3,"ngModelChange","ngModelOptions","ngModel"],["p-title","JSON"],["p-icon","ICON_COPY","p-label","Copy",1,"po-sm-4","po-pr-0","po-pl-0","po-mb-1",3,"p-click"],[1,"tools-jumbotron"],["id","fieldsJson"],["p-size","lg","p-title","Propriedades","p-hide-close","",3,"p-primary-action","p-secondary-action"],[3,"p-form","p-fields","p-value"],["p-label","Servi\xE7os"],[3,"p-fields","p-value"],["p-label","Valida\xE7\xF5es"],["p-label","Booleanos"],["p-label","Grid System"]],template:function(o,e){if(o&1){let t=V();r(0,"po-page-default",5)(1,"div",6)(2,"po-tabs")(3,"po-tab",7)(4,"form",8,0),h("ngSubmit",function(){return m(t),c(e.addField(e.quickField))}),r(6,"div",9),u(7,"po-divider",10),r(8,"po-input",11),v("ngModelChange",function(s){return m(t),F(e.quickField.property,s)||(e.quickField.property=s),c(s)}),l(),r(9,"button",12),C(10," Adicionar "),l()(),r(11,"div",9)(12,"po-button",13),h("p-click",function(){return m(t),c(e.advancedFields())}),l()()(),u(13,"po-divider",14),r(14,"div",15)(15,"po-widget"),u(16,"po-table",16),l()()(),r(17,"po-tab",17),u(18,"po-dynamic-form",18),l()()()(),r(19,"po-modal",19,1)(21,"form",null,2)(23,"po-code-editor",20),v("ngModelChange",function(s){return m(t),F(e.jsonImport,s)||(e.jsonImport=s),c(s)}),l()()(),r(24,"po-modal",21,3)(26,"div",9)(27,"po-button",22),h("p-click",function(){return m(t),c(e.copyToClipboard())}),l()(),r(28,"div",23)(29,"pre",24),C(30),P(31,"json"),l()()(),r(32,"po-modal",25,4)(34,"po-dynamic-form",26),h("p-form",function(s){return m(t),c(e.getForm(s))}),l(),r(35,"div",15)(36,"po-accordion")(37,"po-accordion-item",27),u(38,"po-dynamic-form",28),l(),r(39,"po-accordion-item",29)(40,"po-dynamic-form",26),h("p-form",function(s){return m(t),c(e.validationForm=s)}),l()(),r(41,"po-accordion-item",30),u(42,"po-dynamic-form",28),l(),r(43,"po-accordion-item",31)(44,"po-dynamic-form",26),h("p-form",function(s){return m(t),c(e.gridSystemForm=s)}),l()()()()()}if(o&2){let t=N(5);a("p-actions",e.pageActions),n(8),b("ngModel",e.quickField.property),n(),a("disabled",t.invalid),n(7),a("p-height",250)("p-hide-table-search",!1)("p-sort",!0)("p-actions",e.actions)("p-columns",e.columns)("p-items",e.fields),n(),a("p-disabled",!e.fields.length),n(),a("p-fields",e.fields),n(),a("p-primary-action",e.importJsonModalAction),n(4),a("ngModelOptions",E(29,Je)),b("ngModel",e.jsonImport),n(7),I(J(31,27,e.fields)),n(2),a("p-primary-action",e.primaryAction)("p-secondary-action",e.secondaryAction),n(2),a("p-fields",e.defaultFields)("p-value",e.field),n(4),a("p-fields",e.serviceFields)("p-value",e.field),n(2),a("p-fields",e.validationFields)("p-value",e.field),n(2),a("p-fields",e.booleanFields)("p-value",e.field),n(2),a("p-fields",e.columnsFields)("p-value",e.field)}},dependencies:[k,A,D,q,j,L,X,R,Q,H,z,B,U,G,K,Z,$,x,O],styles:[".tools-jumbotron[_ngcontent-%COMP%]{max-height:calc(100vh - 270px);overflow-y:auto}.tools-jumbotron[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{background-color:#060402c7;color:#f7f6f5}"]})}return p})();var Oe=[{path:"",pathMatch:"full",redirectTo:"dynamic-form"},{path:"dynamic-form",component:me},{path:"dynamic-view",component:de}],ce=(()=>{class p{static \u0275fac=function(o){return new(o||p)};static \u0275mod=T({type:p});static \u0275inj=w({imports:[ee.forChild(Oe),ee]})}return p})();var Ze=(()=>{class p{static \u0275fac=function(o){return new(o||p)};static \u0275mod=T({type:p});static \u0275inj=w({imports:[pe,ce]})}return p})();export{Ze as ToolsModule};