"use strict";(globalThis["webpackChunkbaggisowtfaresystem"]=globalThis["webpackChunkbaggisowtfaresystem"]||[]).push([[607],{5607:(e,t,a)=>{a.r(t),a.d(t,{default:()=>b});var s=a(1347),n=a(4187),l=a(455),o=a(588);const r={class:"row q-gutter-lg q-mt-md"},i={__name:"RoleDepartmentPermissionGateway",setup(e){const t=(0,l.rd)(),{canUpdate:a}=(0,o.J)(),i=a("user");function c(){t.push({name:"role-dept-permissions-list"})}function d(){t.push({name:"role-dept-permissions-editor",query:{mode:"new"}})}return(e,t)=>{const a=(0,s.g2)("q-btn"),l=(0,s.g2)("q-page");return(0,n.R1)(i)?((0,s.uX)(),(0,s.Wv)(l,{key:0,class:"perm-gateway flex flex-center column"},{default:(0,s.k6)(()=>[t[0]||(t[0]=(0,s.Lk)("div",{class:"text-h5 text-primary q-mb-xl"}," Rol + Departman Yetkileri ",-1)),(0,s.Lk)("div",r,[(0,s.bF)(a,{color:"secondary",icon:"folder_open",label:"MEVCUT YETKİLERİ GÖSTER",onClick:c}),(0,s.bF)(a,{color:"primary",icon:"add_circle",label:"YETKİ EKLE / GÜNCELLE",onClick:d})])]),_:1})):((0,s.uX)(),(0,s.Wv)(l,{key:1,class:"q-pa-md flex flex-center"},{default:(0,s.k6)(()=>[...t[1]||(t[1]=[(0,s.Lk)("div",{class:"text-negative text-subtitle1"}," Bu modüle erişim yetkiniz yok. ",-1)])]),_:1}))}}};var c=a(2968),d=a(5013),m=a(2677),u=a(272),p=a.n(u);const k=(0,c.A)(i,[["__scopeId","data-v-57a9abef"]]),b=k;p()(i,"components",{QPage:d.A,QBtn:m.A})}}]);