Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 03:19:19 +08:00
v3-admin-vite/assets/index-OVVamE5g.js

2 lines
40 KiB
JavaScript
Raw Permalink Normal View History

import{g as dt,S as Xe,D as se,s as Be,a as ft,u as Z,L as le,b as Ke,c as ke,d as Ie,i as he,e as pt,r as mt,f as _e,h as Ne}from"./index-DVW30Bkn.js";import{av as _t,V as vt,r as N,w as Ge,c as P,t as B,v as L,A as E,L as _,C as $,G as F,ac as G,D as k,T as Je,ax as ht,u as n,H as ge,x as v,K,ai as ee,ay as xe,az as Se,J as U,R as ve,F as X,I as Y,h as de,e as ye,aA as gt,aB as Ye,a1 as Ze,f as Qe,U as et,g as yt,S as tt,s as bt,al as me,aC as ie,y as be,ab as wt,aD as kt,n as xt,E as Ce,M as $e}from"./vue-YISEtOLz.js";import{u as St}from"./useWatermark-CS9E0QYX.js";/* empty css *//* empty css *//* empty css */import{_ as Ct}from"./index.vue_vue_type_script_setup_true_lang-F809u7yk.js";/* empty css */import"./el-tooltip-l0sNRNKZ.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as $t,f as Et,h as Tt,i as fe,j as Mt,k as Lt,l as nt,n as Vt,o as It,p as At,q as Rt,r as ot,s as Dt,t as pe,u as Pt,E as we,v as Ft,w as Ee,x as st,y as at,z as rt,A as Bt,B as Nt,C as zt,D as Wt,F as Ut,G as qt,H as Ot,I as Ht,J as jt,K as Xt,L as Kt,M as Gt,N as Jt,O as Yt,P as Zt,g as Qt,Q as en,R as tn,S as nn,T as on,U as sn,V as an}from"./element-BtlHndxu.js";import{_ as z}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./vxe-aCtyydk-.js";function rn(p){p?Be(ft):Be(Xe)}const ce=_t("app",()=>{const p=vt({opened:dt()!==Xe,withoutAnimation:!1}),a=N(se.Desktop);return Ge(()=>p.opened,e=>{rn(e)}),{device:a,sidebar:p,toggleSidebar:e=>{p.opened=!p.opened,p.withoutAnimation=e},closeSidebar:e=>{p.opened=!1,p.withoutAnimation=e},toggleDevice:e=>{a.value=e}}}),lt=ce(),ln=P(()=>lt.device===se.Mobile),cn=P(()=>lt.device===se.Desktop);function ue(){return{isMobile:ln,isDesktop:cn}}const Te=Z(),un=P(()=>Te.layoutMode===le.Left),dn=P(()=>Te.layoutMode===le.Top),fn=P(()=>Te.layoutMode===le.LeftTop);function pn(p){Te.layoutMode=p}function ae(){return{isLeft:un,isTop:dn,isLeftTop:fn,setLayoutMode:pn}}const mn={class:"app-main"},_n={class:"app-scrollbar"},vn=B({__name:"index",setup(p){const a=Ke(),m=Z();return(f,c)=>{const e=G("router-view"),t=$t;return v(),L("section",mn,[E("div",_n,[_(e,null,{default:k(({Component:o,route:s})=>[_(Je,{name:"el-fade-in",mode:"out-in"},{default:k(()=>[(v(),$(ht,{include:n(a).cachedViews},[(v(),$(ge(o),{key:s.path,class:"app-container-grow"}))],1032,["include"]))]),_:2},1024)]),_:1}),n(m).showFooter?(v(),$(n(Cn),{key:0})):F("",!0)]),_(t),_(t,{target:".app-scrollbar"})])}}}),Ae=z(vn,[["__scopeId","data-v-131b72d1"]]);var J={},ze;function hn(){if(ze)return J;ze=1,Object.defineProperty(J,"__esModule",{value:!0}),J.TokenData=void 0,J.parse=h,J.compile=x,J.match=w,J.pathToRegexp=V,J.stringify=O;const p="/",a=d=>d,m=/^[$_\p{ID_Start}]$/u,f=/^[$\u200c\u200d\p{ID_Continue}]$/u,c="https://git.new/pathToRegexpError",e={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function t(d){return d.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function o(d){return d.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*s(d){const l=[...d];let i=0;function C(){let S="";if(m.test(l[++i]))for(S+=l[i];f.test(l[++i]);)S+=l[i];else if(l[i]==='"'){let g=i;for(;i<l.length;){if(l[++i]==='"'){i++,g=0;break}l[i]==="\\"?S+=l[++i]:S+=l[i]}if(g)throw new TypeError(`Unterminated quote at ${g}: ${c}`)}if(!S)throw new TypeError(`Missing parameter name at ${i}: ${c}`);return S}for(;i<l.length;){const S=l[i],g=e[S];if(g)yield{type:g,index:i++,value:S};else if(S==="\\")yield{type:"ESCAPED",index:i++,value:l[i++]};else if(S===":"){const M=C();yield{type:"PARAM",index:i,value:M}}else if(S==="*"){const M=C();yield{type:"WILDCARD",index:i,value:M}}else yield{type:"CHAR",index:i,value:l[i++]}}return{type:"END",index:i,value:""}}class u{constructor(l){this.tokens=l}peek(){if(!this._peek){const l=this.tokens.next();this._peek=l.value}return this._peek}tryConsume(l){const i=this.peek();if(i.type===l)return this._peek=void 0,i.value}consume(l){const i=this.tryConsume