2 lines
579 KiB
JavaScript
2 lines
579 KiB
JavaScript
|
var u6=Object.defineProperty;var v6=(a,o,e)=>o in a?u6(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e;var N=(a,o,e)=>(v6(a,typeof o!="symbol"?o+"":o,e),e);import{u as r,q as q3,d as g,b as p,o as v,c as A,U as h,L as _,a as m,K as M,aR as p6,P as F3,Q as B,af as l3,s as _6,r as V3,I as x3,S as e3,a0 as c3,M as G3,V as U3,O as Y3,W as y6,H as z6,ak as b6,al as A6,h as g6,T as W,a9 as i3,j as D,w as W3,R as F,bl as w6,bk as M6,n as f6,i as V6,as as x6}from"./@vue.18505fe0.js";import{E as Z3,u as H6,a as L6,i as E6,b as C6,c as B6,d as T6,e as R6,f as O6,g as X3,h as I6,j as D6,k as s3,l as U,m as n3,n as P6,o as S6,p as $3,q as K3,r as J3,s as k6,t as j6,v as N6,w as q6,x as F6,y as G6,z as U6,A as Y6}from"./element-plus.a63a26dd.js";import{u as W6,l as Z6,m as Q3,n as X6,p as $6,e as K6}from"./@vueuse.fbc6a400.js";import{l as T}from"./lodash.2473fc51.js";import{b as a6,d as r3}from"./axios.932d3f8a.js";import{u as H3,a as L3,c as J6,b as Q6,R as A3}from"./vue-router.101084e3.js";import{d as v3,c as a1}from"./pinia.a969beab.js";import{l as o1}from"./css-color-function.9f6a56f3.js";import{H as o6}from"./@element-plus.edbd5a83.js";import{N as q}from"./nprogress.fcc9be76.js";import{u as e1}from"./vue-clipboard3.9e751565.js";import{u as l1,a as c1,b as i1,c as t1,d as s1,e as n1,f as r1,g as h1,h as m1,j as d1,k as u1,l as v1,m as p1,n as _1,o as y1,p as z1,q as b1,r as A1,s as g1,v as w1,w as M1,x as f1,y as V1,z as x1,A as H1}from"./echarts.5016c48c.js";import{a as L1}from"./highlight.js.31cd7941.js";import{o as E1}from"./@highlightjs.b0c09b66.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./dayjs.4884cfc2.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./color.d1bc3784.js";import"./clone.83700f2e.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./clipboard.dda64e67.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))c(i);new MutationObserver(i=>{for(const t of i)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&c(s)}).observe(document,{childList:!0,subtree:!0});function e(i){const t={};return i.integrity&&(t.integrity=i.integrity),i.referrerpolicy&&(t.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?t.credentials="include":i.crossorigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function c(i){if(i.ep)return;i.ep=!0;const t=e(i);fetch(i.href,t)}})();const Y={terminal:1,title:"\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF",version:"1.5.0",baseUrl:"https://test-multi-store.lihaink.cn/",urlPrefix:"admin",timeout:10*1e3};var e6=(a=>(a.JSON="application/json;charset=UTF-8",a.FORM_DATA="multipart/form-data;charset=UTF-8",a))(e6||{}),a3=(a=>(a.GET="GET",a.POST="POST",a))(a3||{}),Q=(a=>(a[a.SUCCESS=1]="SUCCESS",a[a.FAIL=0]="FAIL",a[a.LOGIN_FAILURE=-1]="LOGIN_FAILURE",a[a.OPEN_NEW_PAGE=2]="OPEN_NEW_PAGE",a))(Q||{});const J=new Map,T3=class{static createInstance(){var o;return(o=this.instance)!=null?o:this.instance=new T3}add(o){const e=o.url;this.remove(e),o.cancelToken=new a6.CancelToken(c=>{J.has(e)||J.set(e,c)})}remove(o){if(J.has(o)){const e=J.get(o);e&&e(o),J.delete(o)}}};let h3=T3;N(h3,"instance");const O3=h3.createInstance();class C1{constructor(o){N(this,"axiosInstance");N(this,"config");N(this,"options");this.config=o,this.options=o.requestOptions,this.axiosInstance=a6.create(o),this.setupInterceptors()}getAxiosInstance(){return this.axiosInstance}setupInterceptors(){if(!this.config.axiosHooks)return;const{requestInterceptorsHook:o,requestInterceptorsCatchHook:e,responseInterceptorsHook:c,responseInterceptorsCatchHook:i}=this.config.axiosHooks;this.axiosInstance.interceptors.request.use(t=>(this.addCancelToken(t),T.expor
|