import{a as d}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-2SWLXQPF.js";import"./chunk-LXYD2H4H.js";import"./chunk-IEDTWYT7.js";import"./chunk-TMA5MVRB.js";import"./chunk-IU6KW22E.js";import{a as f}from"./chunk-NLZ5S4LR.js";import{a as m,b as p}from"./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"./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{Eb as c,Fb as l,Pb as s,Y as o,gb as a,tb as r}from"./chunk-56X5LYJH.js";import"./chunk-TSRGIXR5.js";var u=class n{facilityService=o(f);switcherFactory=o(p);switcherState;floorsHeaders=["id","name","country","currency","logo"];columnIcons=[];actions=[{type:"button",label:"update",action:"update",routerLink:"/home/facility/update/",permission:"update facility"},{type:"button",label:"show",action:"show",routerLink:"/home/facility/show/",permission:"view facility"},{type:"button",label:"delete",action:"delete",permission:"delete facility"}];ngOnInit(){this.switcherFactory.create(m.facilitySwitcher)}columns=["name","manager","employees","budget","active"];applDeleteToSwitcher(i){this.switcherState.removeItem(i.deletedItemId)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=a({type:n,selectors:[["app-facilities"]],decls:1,vars:5,consts:[["url","facilities","translationPrefixx","facilities","titleOfPage","facilities_list","deleteRowUrl","facilities","fileNameTranslated","facilities","routeOfButton","/home/facility/add","titleOfButton","add_facility",3,"actionDeleteRes","headers","tableAction","columnIcons","ShowButton","ShowModal"]],template:function(e,t){e&1&&(c(0,"app-page-body",0),s("actionDeleteRes",function(h){return t.applDeleteToSwitcher(h)}),l()),e&2&&r("headers",t.floorsHeaders)("tableAction",t.actions)("columnIcons",t.columnIcons)("ShowButton",!0)("ShowModal",!1)},dependencies:[d],encapsulation:2})};export{u as FacilitiesComponent};
