import{a as d}from"./chunk-ABXDWOZI.js";import"./chunk-4NGHU5PZ.js";import"./chunk-NWOU67BD.js";import"./chunk-TBSUMTHM.js";import"./chunk-CKJJI5MU.js";import"./chunk-TAT3HGQ4.js";import"./chunk-4SWKWV3M.js";import"./chunk-DY645AKB.js";import"./chunk-5I5ZFUTL.js";import"./chunk-QN66BDDM.js";import"./chunk-JBNKEIUX.js";import"./chunk-5SW267PH.js";import"./chunk-PU7DBJLZ.js";import"./chunk-3DDBG3AR.js";import"./chunk-5MLUVH77.js";import"./chunk-SMMBZMNL.js";import"./chunk-S5GA3KRV.js";import"./chunk-EFONMPAR.js";import"./chunk-YQXLYYOT.js";import"./chunk-6RITFGP2.js";import"./chunk-HGXDKXJP.js";import"./chunk-WQUXAKOL.js";import"./chunk-LYNKRDJC.js";import"./chunk-SKY4LXUD.js";import"./chunk-BZT47AWD.js";import"./chunk-5WQBRAHK.js";import"./chunk-4FTRQKHH.js";import"./chunk-BYXBJQAS.js";import"./chunk-TTWRMELT.js";import"./chunk-EMJ4QQUL.js";import"./chunk-QPCAJSKO.js";import"./chunk-QV67LFVX.js";import"./chunk-4O3FVBGX.js";import"./chunk-TGWIHQDX.js";import"./chunk-Q5KZV54I.js";import"./chunk-YHVRQUSB.js";import"./chunk-N7PBPSN6.js";import"./chunk-3Z7PXZF3.js";import"./chunk-43BLBOSI.js";import"./chunk-IWSLIKCG.js";import"./chunk-2DXJE6G7.js";import"./chunk-7RP244JU.js";import"./chunk-LHGSJXTX.js";import"./chunk-ZKNPBXGB.js";import{b as n}from"./chunk-S3ADKFO2.js";import"./chunk-I5MYHHJE.js";import{Fb as r,Ib as l,gb as i,lb as a}from"./chunk-CKLXM6EG.js";import"./chunk-TSRGIXR5.js";var c=class s{constructor(o){this.translate=o}translationPrefix="customFields";Field;ngOnInit(){this.Field=[{type:"dateWithOptions",title:"date_range",controlName:"date",fromControlName:"from",toControlName:"to",showQuickButtons:!0,class:"col-6",parentClass:"col-8"},{type:"select",title:"status",class:"col-4",options:[{name:this.translate.instant("yes"),id:1},{name:this.translate.instant("no"),id:0}],controlName:"status"}]}Menu=[{label:"show",action:"show",routerLink:"/settings/custom-fields/show-custom-field"},{label:"edit",action:"edit",routerLink:"settings/custom-fields/edit-custom-field"},{label:"delete",action:"delete",permission:"delete custom-field"}];floorsHeaders=["id","name","created_at","updated_at","visible"];static \u0275fac=function(t){return new(t||s)(i(n))};static \u0275cmp=a({type:s,selectors:[["app-custom-fields-list"]],decls:1,vars:12,consts:[["classesForTable","designOne","routeAfterSuccess","/settings/custom-fields","routeOfButton2","add-custom-field","iconOfBtn2","fa-solid fa-plus","url","procurement/custom-field/index","titleOfPage","custom-fields","deleteRowUrl","procurement/custom-field/delete","titleOfButton2","add",3,"showCheckboxes","ShowModal","showSearch","showIconBtn2","headers","translationPrefixx","showMenubar","Menu","showBreadcrumb","showFilter","filterKeyData","filterSearchField"]],template:function(t,e){t&1&&l(0,"app-page-body",0),t&2&&r("showCheckboxes",!0)("ShowModal",!1)("showSearch",!0)("showIconBtn2",!0)("headers",e.floorsHeaders)("translationPrefixx",e.translationPrefix)("showMenubar",!0)("Menu",e.Menu)("showBreadcrumb",!0)("showFilter",!0)("filterKeyData",e.floorsHeaders)("filterSearchField",e.Field)},dependencies:[d],encapsulation:2})};export{c as CustomFieldsList};
