const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ChiffrageParametres-j_2d0EDc.js","assets/primevue-CfIk0_DY.js","assets/vue-core-Di3IuVqe.js","assets/cjs-helpers-psZwOBky.js","assets/primevue-BU6TPP52.css","assets/usePagerDetail-BeqYPv-1.js","assets/index-BxIwIJfy.js","assets/vue-cal-DKMVGERa.js","assets/vue-cal-XQZN_nJT.css","assets/moment-BeHQNF8T.js","assets/index-CQOoCaGF.css","assets/DataGrid-CoMfrBJA.js","assets/useAgGridConfig-Dp3DkgaV.js","assets/DataGrid-BaIVe-mO.css","assets/InfoBulle-R_p1ZfIR.js","assets/InfoBulle-CwnvsqW1.css","assets/ChiffrageProfils-L-eVup5x.js","assets/NumeroChip-QCXXOqUM.js","assets/NumeroChip-_yMpGZo8.css","assets/ChiffrageTenues-DDmqyCMf.js","assets/ChiffrageMateriels-DvxOQtGA.js","assets/ChiffrageBaseProfilsNet-N3Cbp-R-.js","assets/ChiffrageBaseConsommables-C_GtJ28_.js","assets/ChiffrageBaseProduits-D4U2YUtQ.js","assets/ChiffrageBaseMaterielsNet-BBfx83bO.js","assets/ChiffrageBaseOutillage-5uiJT0W1.js","assets/ChiffrageBaseLogistique-CLM8j_g2.js"])))=>i.map(i=>d[i]);
import{_ as t}from"./primevue-CfIk0_DY.js";import{o as n,ad as s,j as u,H as c,b as d,c as P,v as E,E as b}from"./vue-core-Di3IuVqe.js";import{_ as v,u as f,h as e,b as y,s as i,S as g}from"./index-BxIwIJfy.js";import{H as k}from"./HubParametres-D-qBzawB.js";import"./cjs-helpers-psZwOBky.js";import"./vue-cal-DKMVGERa.js";import"./moment-BeHQNF8T.js";const A={class:"prest-host"},D={__name:"ParametresPrestations",setup(I){const{showWarn:_,showError:l}=f(),r=b({lecture:!1,ajout:!1}),m=async()=>{try{const o=(await y.post(`${i.lienApi}/verifierDroit/${i.state.dbCommun6}`,{id_utilisateur:i.userId,id_page:331,mail:i.state.userCloud.mail},{headers:{"Content-Type":"application/json"}})).data;o&&Object.keys(o).length>0&&(r.lecture=o.lecture,r.ajout=o.ajout),r.lecture||(_("Vous n'avez pas le droit, veuillez consulter l'administrateur"),g("ParametresPrestations"))}catch(a){l("Une erreur est survenue : "+(a.response?.data?.message||a.message))}};n(async()=>{await m()});const p=[{label:e("Gardiennage"),flat:!0,sections:[{key:"param",label:e("Paramètres"),comp:s(()=>t(()=>import("./ChiffrageParametres-j_2d0EDc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])))},{key:"profils",label:e("Profils"),comp:s(()=>t(()=>import("./ChiffrageProfils-L-eVup5x.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18,14,15])))},{key:"tenues",label:e("Tenues"),comp:s(()=>t(()=>import("./ChiffrageTenues-DDmqyCMf.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18,14,15])))},{key:"materiels",label:e("Matériels"),comp:s(()=>t(()=>import("./ChiffrageMateriels-DvxOQtGA.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18,14,15])))}]},{label:e("Nettoyage"),flat:!0,sections:[{key:"profilsNet",label:e("Profils"),comp:s(()=>t(()=>import("./ChiffrageBaseProfilsNet-N3Cbp-R-.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))},{key:"consommables",label:e("Consommables"),comp:s(()=>t(()=>import("./ChiffrageBaseConsommables-C_GtJ28_.js"),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))},{key:"produits",label:e("Produits"),comp:s(()=>t(()=>import("./ChiffrageBaseProduits-D4U2YUtQ.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))},{key:"materielsNet",label:e("Matériels"),comp:s(()=>t(()=>import("./ChiffrageBaseMaterielsNet-BBfx83bO.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))},{key:"outillage",label:e("Outillage"),comp:s(()=>t(()=>import("./ChiffrageBaseOutillage-5uiJT0W1.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))},{key:"logistique",label:e("Mat. Logistique"),comp:s(()=>t(()=>import("./ChiffrageBaseLogistique-CLM8j_g2.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,17,18])))}]}];return(a,o)=>u((d(),P("div",A,[E(k,{groupes:p,"hub-id":"ParametresPrestations"})],512)),[[c,r.lecture]])}},w=v(D,[["__scopeId","data-v-9d8a7eb2"]]);export{w as default};
