import{a as l}from"./chunk-K3526JGK.js";import"./chunk-POEUDRE2.js";import"./chunk-3EED4T3B.js";import"./chunk-3AEGLQN3.js";import"./chunk-CVDKI2WT.js";import"./chunk-3NMADI5P.js";import"./chunk-AYRHJYMC.js";import"./chunk-ZRZJCY6I.js";import"./chunk-JRIQ2XQF.js";import"./chunk-POWTZQEB.js";import"./chunk-AZNUVYH2.js";import"./chunk-4SQIPONB.js";import"./chunk-OMYRNWA7.js";import"./chunk-DQZNL7BK.js";import"./chunk-BAEZMG5T.js";import"./chunk-C72E7DYO.js";import"./chunk-WIPHIZE3.js";import"./chunk-LXYD2H4H.js";import"./chunk-IEDTWYT7.js";import"./chunk-TMA5MVRB.js";import"./chunk-IU6KW22E.js";import"./chunk-NLZ5S4LR.js";import"./chunk-4N5DMUBB.js";import"./chunk-VRBUVT76.js";import"./chunk-JKGTJ7SW.js";import"./chunk-7L7QKXDE.js";import"./chunk-VUFRXBL5.js";import"./chunk-AG5UR6GS.js";import"./chunk-XXT62TCF.js";import"./chunk-YUC4NXDM.js";import"./chunk-6P3ZDNP3.js";import"./chunk-VP22RGQG.js";import"./chunk-3FDFNYAA.js";import"./chunk-3HDMTDNY.js";import"./chunk-YR6PJKN6.js";import"./chunk-HVO2LBIZ.js";import"./chunk-JU53QNJX.js";import"./chunk-EMJJQSXR.js";import"./chunk-2G4GCCRX.js";import"./chunk-KAJE4RE3.js";import"./chunk-H6QVTBMZ.js";import"./chunk-XNR6WIGX.js";import"./chunk-5KOP4ULD.js";import"./chunk-F2X3VGZZ.js";import{d as i}from"./chunk-RYV2RH4B.js";import"./chunk-CV2ZWZQE.js";import"./chunk-R2UR7BVM.js";import"./chunk-HKLJ6VPZ.js";import"./chunk-MQ46LYK7.js";import"./chunk-PQ5Q7HJL.js";import"./chunk-72CHOCZD.js";import{Gb as s,gb as o,tb as a}from"./chunk-56X5LYJH.js";import"./chunk-TSRGIXR5.js";var r=class n{ngOnInit(){this.initializeActions()}customerTitle="addClient";headers=["id","name","phone"];fields=[{type:"input",title:"name",controlName:"name",inputType:"text",validators:[i.required]},{type:"input",title:"phone",controlName:"phone",inputType:"text",validators:[i.required]}];actions=[];initializeActions(){this.actions=[{type:"modal",label:"show",action:"show",fieldsModal:this.fields,modalHeader:"show_client"}]}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=o({type:n,selectors:[["app-clients"]],decls:1,vars:5,consts:[["url","customers/list","apiUrl","customers","translationPrefixx","clients","titleOfPage","clients","titleOfbutton","add_client","fileNameTranslated","shared","submitModalBtnTitle","add_client",3,"ShowButton","ShowModal","fieldsModal","headers","tableAction"]],template:function(e,t){e&1&&s(0,"app-page-body",0),e&2&&a("ShowButton",!1)("ShowModal",!0)("fieldsModal",t.fields)("headers",t.headers)("tableAction",t.actions)},dependencies:[l],encapsulation:2})};export{r as ClientsComponent};
