PageSourceSearch

https://berlin-vue-ts-eight.vercel.app/assets/Sidebar-BMKpIowc.js

js berlin-vue-ts-eight.vercel.app collected 2026-10-03 06:12:33 UTC 2,736 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SidebarLogo-BbtqfK2Z.js","assets/icon-sprite-DK1pCdpH.js","assets/Body-CsBE1ytq.js","assets/index-UP5OjuBp.js","assets/index-CgplAIkr.css","assets/getImages-DmeZorkm.js","assets/NavMenu-CHOIg2zA.js"])))=>i.map(i=>d[i]);
2import{b as I,s as h,c as i,K as V,o as z,e as M,f as w,g as y,h as c,i as r,j as e,k as o,l as k,n as f,B as N,t as O,r as j,F,P as W,p as $,_ as L}from"./index-UP5OjuBp.js";import{u as K,a as U}from"./Body-CsBE1ytq.js";import{g as q}from"./getImages-DmeZorkm.js";const G={class:"sidebar-main"},H={id:"sidebar-menu"},J={class:"back-btn"},Q=["src"],se=I({__name:"Sidebar",emits:["click"],setup(X,{emit:Y}){const A=k(()=>L(()=>import("./SidebarLogo-BbtqfK2Z.js"),__vite__mapDeps([0,1,2,3,4,5]))),R=k(()=>L(()=>import("./NavMenu-CHOIg2zA.js"),__vite__mapDeps([6,3,4,2]))),x=K(),{menuState:m,uiState:l}=h(x),C=U(),{layoutState:p}=h(C),_=i({}),t=i(l.value.hideRightArrow),n=i(l.value.hideLeftArrow),a=i(l.value.margin),u=i(!1);let d;const S=i(null),T=V({get(){return p.value.layouts.settings.sidebarSetting},set(){return _.value=p.value.layouts.settings.sidebarSetting,_}});z(()=>{d=window.setTimeout(()=>{S.value&&(l.value.menuWidth>window.innerWidth?(t.value=!1,l.value.hideLeftArrowRTL=!1):(t.value=!1,l.value.hideLeftArrowRTL=!0))},500),a.value===0&&(t.value=!1)}),M(()=>{d&&clearTimeout(d)});function B(){u.value==!1&&(u.value=!u.value),a.value>=-3e3&&(a.value=a.value-500,n.value=!1,t.value=!1),a.value==-3500&&(t.value=!0)}function E(){a.value<=-500&&(a.value=a.value+500,n.value=!1,t.value=!1),a.value==0&&(n.value=!0)}return(Z,s)=>{var b;const g=w("vue-feather"),P=w("router-link");return c(),y("div",null,[r(o(A)),e("nav",G,[e("li",{class:f(["left-arrow",n.value?"disabled":n.value]),onClick:s[0]||(s[0]=v=>E())},[r(g,{type:"arrow-left"})],2),e("div",H,[e("ul",{class:"sidebar-links custom custom-scrollbar d-flex flex-column",id:"simple-bar",style:N([(b=T.value)!=null&&b.includes("horizontal-wrapper")?{"margin-left":a.value+"px"}:{}])},[e("li",J,[r(P,{to:o(j).Dashboards.Default},{default:O(()=>[e("img",{class:"img-fluid",src:o(q)("logo/logo-icon.png"),alt:"images"},null,8,Q)]),_:1},8,["to"]),s[2]||(s[2]=e("div",{class:"mobile-back text-end"},[e("span",null,"Back"),e("i",{class:"fa fa-angle-right ps-2","aria-hidden":"true"})],-1))]),e("li",{class:f(["pin-title sidebar-main-title",o(m).pinedArray.length?"show":""])},[...s[3]||(s[3]=[e("div",null,[e("h6",null,"Pinned")],-1)])],2),(c(!0),y(F,null,W(o(m).data,(v,D)=>(c(),$(o(R),{key:D,"menu-item":v},null,8,["menu-item"]))),128))],4)]),e("li",{class:f(["right-arrow",t.value?"disabled":t.value]),onClick:s[1]||(s[1]=v=>B())},[r(g,{type:"arrow-right"})],2)])])}}});export{se 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.