PageSourceSearch

https://brik.id/_nuxt/desktop.adfeacb5.js

js brik.id collected 2026-10-08 12:08:18 UTC 3,653 bytes, 1 lines download raw bytes

1import{_ as v}from"./BText.98e0af33.js";import{_ as y}from"./Navigation.11a4ff71.js";import{V as w,_ as C,a as N,b as R,c as M,d as B}from"./BAlert.4c530142.js";import{_ as L}from"./brik-mix.924f0a7e.js";import{_ as S,k as $,o as u,a as i,w as t,b as o,e as n,d as l,c as E,t as D,n as T,V as z,f,$ as A,p as K,h as U}from"./entry.8caca9db.js";import{V as Y,a as q}from"./VCard.0bff31d4.js";import{V as p}from"./VBtn.b870324c.js";import{V as F}from"./VDialog.6be3fb98.js";import{V as G}from"./VMain.ba10a01d.js";import"./group.2cdc14d0.js";import"./VDefaultsProvider.9c2bb8ee.js";import"./layout.8ec5c668.js";import"./ssrBoot.74019366.js";import"./VTabs.e0427fe1.js";import"./createSimpleFunctional.24e8d9e4.js";import"./VAvatar.5e7c6354.js";import"./VImg.a63e6fbd.js";import"./index.c048e374.js";import"./forwardRefs.e2994a01.js";import"./dialog-transition.33e3c46d.js";const H={computed:{customer(){var e;return(e=this.$stores.main)==null?void 0:e.customer},loading(){var e;return!((e=this.customer)!=null&&e.id)},navRender(){let e=!0;const s=["customerId-projects-projectId-orders-new","customerId-projects-projectId-orders-new-products","customerId-projects-projectId-orders-new-products-productInternalId","customerId-projects-projectId-orders-orderId","customerId-projects-create","customerId-projects-projectId-schedules-new","signin","signup","customerId-pin","customerId-projects-projectId-schedules-scheduleId","customerId-projects-projectId-schedules-scheduleId-do-doId"],a=this.$route.name;return console.log(a,"routeName"),s.forEach(c=>{a===c&&(e=!1)}),this.$route.name==="customerId"&&(e=!1),e},headerRender(){let e=!0;const s=["customerId-pin","signin","signup","customerId-pin"],a=this.$route.name;return s.forEach(c=>{a.includes(c)&&(e=!1)}),e}},data(){return{showLogoutModal:!1}},methods:{logout(){localStorage.removeItem("token"),this.$router.push("/"),this.showLogoutModal=!1}}},h=e=>(K("data-v-19409008"),e=e(),U(),e),J={style:{padding:"1rem"}},O={style:{display:"flex","justify-content":"flex-end",padding:"1rem"}},P={key:0,class:"page-header bg-primary"},Q={class:"bs-container"},W=h(()=>n("img",{class:"b-icon",src:L},null,-1)),X=h(()=>n("span",{style:{"margin-left":"5px"}},"Keluar",-1)),Z={class:"bs-container"};function ee(e,s,a,c,m,d){const I=v,g=y,_=$("portal-target"),V=C,k=N,x=R,j=M,b=B;return u(),i(w,null,{default:t(()=>[o(F,{modelValue:m.showLogoutModal,"onUpdate:modelValue":s[1]||(s[1]=r=>m.showLogoutModal=r),"max-width":"300"},{default:t(()=>[n("div",J,[o(Y,null,{default:t(()=>[o(q,null,{default:t(()=>[l(" Yakin ingin keluar? ")]),_:1}),n("div",O,[o(p,{style:{color:"red"},onClick:s[0]||(s[0]=r=>m.showLogoutModal=!1)},{default:t(()=>[l("Batal")]),_:1}),o(p,{color:"primary",onClick:d.logout},{default:t(()=>[l("Iya")]),_:1},8,["onClick"])])]),_:1})])]),_:1},8,["modelValue"]),d.headerRender?(u(),E("div",P,[n("div",Q,[o(I,{class:T("desktop-customer-name"),loading:d.loading},{default:t(()=>{var r;return[l(D((r=d.customer)==null?void 0:r.displayName),1)]}),_:1},8,["loading"]),W,o(p,{color:"primary",onClick:s[2]||(s[2]=r=>m.showLogoutModal=!0)},{default:t(()=>[o(z,{left:""},{default:t(()=>[l("mdi-logout")]),_:1}),X]),_:1})])])):f("",!0),d.navRender?(u(),i(g,{key:1})):f("",!0),o(V,null,{default:t(()=>[o(_,{name:"header"})]),_:1}),o(G,{class:"desktop-bg"},{default:t(()=>[o(k,null,{default:t(()=>[o(_,{name:"top"})]),_:1}),n("div",Z,[A(e.$slots,"default",{},void 0,!0)]),o(x,null,{default:t(()=>[o(_,{name:"bottom"})]),_:1})]),_:3}),o(j,null,{default:t(()=>[o(_,{name:"footer"})]),_:1}),o(b,{class:"alert-desktop"})]),_:3})}const xe=S(H,[["render",ee],["__scopeId","data-v-19409008"]]);export{xe 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.