"use strict";(globalThis["webpackChunkbaggisowtfaresystem"]=globalThis["webpackChunkbaggisowtfaresystem"]||[]).push([[784],{1784:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var s=a(1347),l=a(4187),r=a(455),c=a(588);const n={class:"gateway-container"},i={class:"gateway-actions row q-col-gutter-lg q-mt-lg"},u={__name:"UserGateway",setup(e){const{canRead:t,canWrite:a}=(0,c.J)(),u=t("user"),o=a("user"),d=(0,r.rd)();function k(){o.value&&d.push({path:"/app/users/new",query:{mode:"new"}})}function g(){u.value&&d.push({name:"user-list"})}return(e,t)=>{const a=(0,s.g2)("q-icon"),r=(0,s.g2)("q-card-section"),c=(0,s.g2)("q-card"),d=(0,s.g2)("q-page");return(0,l.R1)(u)?((0,s.uX)(),(0,s.Wv)(d,{key:0,class:"user-gateway-page flex flex-center"},{default:(0,s.k6)(()=>[(0,s.Lk)("div",n,[t[4]||(t[4]=(0,s.Lk)("div",{class:"gateway-header"},[(0,s.Lk)("div",{class:"text-h5"},"Kullanıcı Yönetim Merkezi"),(0,s.Lk)("div",{class:"text-subtitle2 text-grey-7"}," Kullanıcı oluşturma ve yetkilendirme işlemleri ")],-1)),(0,s.Lk)("div",i,[(0,l.R1)(o)?((0,s.uX)(),(0,s.Wv)(c,{key:0,class:"gateway-card cursor-pointer",flat:"",bordered:"",onClick:k},{default:(0,s.k6)(()=>[(0,s.bF)(r,{class:"text-center"},{default:(0,s.k6)(()=>[(0,s.bF)(a,{name:"person_add",size:"48px",color:"primary"}),t[0]||(t[0]=(0,s.Lk)("div",{class:"text-h6 q-mt-sm"},"Yeni Kullanıcı",-1)),t[1]||(t[1]=(0,s.Lk)("div",{class:"text-caption text-grey-7 q-mt-xs"}," Sisteme yeni kullanıcı ekle ",-1))]),_:1})]),_:1})):(0,s.Q3)("",!0),(0,l.R1)(u)?((0,s.uX)(),(0,s.Wv)(c,{key:1,class:"gateway-card cursor-pointer",flat:"",bordered:"",onClick:g},{default:(0,s.k6)(()=>[(0,s.bF)(r,{class:"text-center"},{default:(0,s.k6)(()=>[(0,s.bF)(a,{name:"groups",size:"48px",color:"primary"}),t[2]||(t[2]=(0,s.Lk)("div",{class:"text-h6 q-mt-sm"},"Mevcut Kullanıcılar",-1)),t[3]||(t[3]=(0,s.Lk)("div",{class:"text-caption text-grey-7 q-mt-xs"}," Kullanıcıları görüntüle ve düzenle ",-1))]),_:1})]),_:1})):(0,s.Q3)("",!0)])])]),_:1})):((0,s.uX)(),(0,s.Wv)(d,{key:1,class:"q-pa-md flex flex-center"},{default:(0,s.k6)(()=>[...t[5]||(t[5]=[(0,s.Lk)("div",{class:"text-negative text-subtitle1"}," Bu module erisim yetkiniz yok. ",-1)])]),_:1}))}}};var o=a(2968),d=a(5013),k=a(3341),g=a(222),m=a(3933),p=a(272),v=a.n(p);const y=(0,o.A)(u,[["__scopeId","data-v-7b115e06"]]),x=y;v()(u,"components",{QPage:d.A,QCard:k.A,QCardSection:g.A,QIcon:m.A})}}]);