1import{_ as b}from"./Ir-lrjAB.js";import{_ as g}from"./oSSTUR4l.js";import f from"./DAJKfrvL.js";import h from"./D7A5UWfr.js";import{f as y,j as x,D as a,o,c as s,a as n,n as l,k as r,t as v,d as i}from"./2UXwwY6n.js";import{a as w,b as k,r as z}from"./aVUuonGn.js";import{r as _}from"./Ccukgh50.js";import{_ as U}from"./DlAUqK2U.js";import"./CGHgxjYR.js";import"./CL4sCkM8.js";import"./DvB-R4Ht.js";import"./CNSRS5EI.js";import"./qVJ10Yns.js";import"./PHdjsO3h.js";import"./Bhm1p-tx.js";import"./DXzwrqZ9.js";import"./Dq4Cx-s2.js";import"./tci7oTU1.js";import"./D5ANPVXJ.js";import"./CJIZ2_8x.js";import"./L_xMviyg.js";import"./CzDVoBjq.js";import"./CgcZJmzG.js";import"./ByI3L3s4.js";import"./CTckYd85.js";import"./D_09kkG7.js";import"./DgrmYdoz.js";import"./CVBGUwd6.js";const $=y({name:"settingsOverview",components:{CheckIcon:z,MagnifyingGlassIcon:_,AdjustmentsHorizontalIcon:k,XMarkIcon:w,nutzerUebersicht:b,berufeUebersicht:g,textTemplatesUebersicht:f,blogCategoryUebersicht:h},setup(){return{auth:x()}},data(){return{tab:""}},mounted(){this.can("users")?this.tab="Nutzerverwaltung":this.can("job-ad")?this.tab="Stellenanzeigen":this.can("blog")&&(this.tab="Blog")},methods:{can(e){return!!this.auth.authAreas?.includes(e)}}}),C={class:"p-4 my-8 max-w-screen-2xl mx-auto flex flex-col gap-4"},B={class:"flex gap-3 items-center col-span-full"},S={class:"flex flex-col gap-3 sm:col-span-2 xl:col-span-3 mt-8 pb-40"},N={class:"text-xl font-semibold text-gray-600"},j={key:0,class:"bg-white rounded-lg p-6"},I={key:1},T={key:2,class:"bg-white rounded-lg p-6"},V={key:3,class:"text-sm text-gray-500"};function A(e,t,D,M,E,F){const p=a("nutzerUebersicht"),c=a("berufeUebersicht"),d=a("textTemplatesUebersicht"),u=a("blogCategoryUebersicht");return o(),s("div",C,[t[3]||(t[3]=n("div",{class:"flex flex-col sm:flex-row items-center sm:justify-between gap-5 mb-3 flex-wrap col-span-full"},[n("h2",{class:"text-2xl font-bold"},"Systemeinstellungen")],-1)),n("div",B,[e.can("users")?(o(),s("button",{key:0,onClick:t[0]||(t[0]=m=>e.tab="Nutzerverwaltung"),class:l([e.tab==="Nutzerverwaltung"?"bg-white text-gray-600":"text-gray-500","font-semibold rounded-md text-sm py-2 px-4 duration-300 hover:opacity-50"])}," Nutzerverwaltung ",2)):r("",!0),e.can("job-ad")?(o(),s("button",{key:1,onClick:t[1]||(t[1]=m=>e.tab="Stellenanzeigen"),class:l([e.tab==="Stellenanzeigen"?"bg-white text-gray-600":"text-gray-500","font-semibold rounded-md text-sm py-2 px-4 duration-300 hover:opacity-50"])}," Stellenanzeigen ",2)):r("",!0),e.can("blog")?(o(),s("button",{key:2,onClick:t[2]||(t[2]=m=>e.tab="Blog"),class:l([e.tab==="Blog"?"bg-white text-gray-600":"text-gray-500","font-semibold rounded-md text-sm py-2 px-4 duration-300 hover:opacity-50"])}," Blog ",2)):r("",!0)]),n("div",S,[n("h3",N,v(e.tab),1),e.tab==="Nutzerverwaltung"&&e.can("users")?(o(),s("section",j,[i(p)])):r("",!0),e.tab==="Stellenanzeigen"&&e.can("job-ad")?(o(),s("section",I,[i(c,{class:"bg-white rounded-lg p-6"}),i(d,{class:"bg-white rounded-lg p-6 mt-10"})])):r("",!0),e.tab==="Blog"&&e.can("blog")?(o(),s("section",T,[i(u)])):r("",!0),e.tab?r("",!0):(o(),s("p",V,"Für die Systemeinstellungen fehlt dir die Berechtigung."))])])}const be=U($,[["render",A]]);export{be as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.