chore: update

This commit is contained in:
xiaoxian521 2023-05-11 20:53:36 +08:00
parent ff9d0da464
commit 21f658489c
406 changed files with 1054 additions and 988 deletions

View File

@ -5,7 +5,7 @@ VITE_PUBLIC_PATH = /vue-pure-admin/
VITE_ROUTER_HISTORY = "hash"
# 是否在打包时使用cdn替换本地库 替换 true 不替换 false
VITE_CDN = true
VITE_CDN = false
# 是否启用gzip压缩或brotli压缩分两种情况删除原始文件和不删除原始文件
# 压缩时不删除原始文件的配置gzip、brotli、both同时开启 gzip 与 brotli 压缩、none不开启压缩默认

13
dist/index.html vendored
View File

@ -8,21 +8,12 @@
name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<title>vue-pure-admin</title><link href="https://cdn.bootcdn.net/ajax/libs/element-plus/2.3.4/index.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/vue/3.3.1/vue.global.prod.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vue-router/4.1.6/vue-router.global.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vue-i18n/9.2.2/vue-i18n.runtime.global.prod.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vue-demi/0.14.0/index.iife.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/pinia/2.0.36/pinia.iife.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/element-plus/2.3.4/index.full.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.4.0/axios.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/dayjs/1.11.7/dayjs.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.4.2/echarts.min.js"></script>
<title>vue-pure-admin</title>
<link rel="icon" href="/vue-pure-admin/favicon.ico" />
<script>
window.process = {};
</script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-c61a73ff.js"></script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-0dd8d5e4.js"></script>
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-e82088e9.css">
<link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-default.css" id="theme-link-tag">
</head>

File diff suppressed because one or more lines are too long

1
dist/static/js/403-aace6d52.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/js/404-4055428e.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/static/js/500-68cbae6c.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-b4e121e4.js";import"./app-7adcc40f.js";import"./index-c61a73ff.js";export{o as default};

1
dist/static/js/Bar-e89b7a26.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-41902aae.js";import"./app-9580cee8.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -0,0 +1 @@
import{u as n}from"./app-9580cee8.js";import{d as c,an as l,x as f,r as p,ao as d,bq as e,y as h,f as m,k as u,aq as b}from"./index-0dd8d5e4.js";const _=c({__name:"Bar",setup(g){const{isDark:a}=l(),r=f(()=>a.value?"dark":"light"),t=p(null),{setOptions:o,resize:s}=d(t,{theme:r});return o({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["watchers","fork","star"]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["2021","2022","2023"],triggerEvent:!0}],yAxis:[{type:"value",triggerEvent:!0}],series:[{name:"watchers",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#e6a23c"},{offset:1,color:"#eebe77"}])},data:[200,320,800]},{name:"fork",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#f56c6c"},{offset:1,color:"#f89898"}])},data:[1600,2460,4500]},{name:"star",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#409EFF"},{offset:1,color:"#53a7ff"}])},data:[1450,3620,7500]}],addTooltip:!0},{name:"click",callback:i=>{}}),h(()=>n().getSidebarStatus,()=>{b(600).then(()=>s())}),(i,y)=>(m(),u("div",{ref_key:"barChartRef",ref:t,style:{width:"100%",height:"35vh"}},null,512))}});export{_};

View File

@ -1 +0,0 @@
import{u as c}from"./app-7adcc40f.js";import{B as n,Z as l,ai as e,D as f}from"./index-c61a73ff.js";const m=Vue.defineComponent({__name:"Bar",setup(p){const{isDark:r}=n(),a=Vue.computed(()=>r.value?"dark":"light"),t=Vue.ref(null),{setOptions:o,resize:i}=l(t,{theme:a});return o({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["watchers","fork","star"]},xAxis:[{type:"category",axisTick:{alignWithLabel:!0},axisLabel:{interval:0},data:["2021","2022","2023"],triggerEvent:!0}],yAxis:[{type:"value",triggerEvent:!0}],series:[{name:"watchers",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#e6a23c"},{offset:1,color:"#eebe77"}])},data:[200,320,800]},{name:"fork",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#f56c6c"},{offset:1,color:"#f89898"}])},data:[1600,2460,4500]},{name:"star",type:"bar",barWidth:"15%",itemStyle:{color:new e(0,0,0,1,[{offset:0,color:"#409EFF"},{offset:1,color:"#53a7ff"}])},data:[1450,3620,7500]}],addTooltip:!0},{name:"click",callback:s=>{}}),Vue.watch(()=>c().getSidebarStatus,()=>{f(600).then(()=>i())}),(s,u)=>(Vue.openBlock(),Vue.createElementBlock("div",{ref_key:"barChartRef",ref:t,style:{width:"100%",height:"35vh"}},null,512))}});export{m as _};

1
dist/static/js/Card-514d8668.js vendored Normal file
View File

@ -0,0 +1 @@
import{f as t,k as i,i as o,d as b,x as f,c as s,g as n,w as a,ab as g,e as l,u as d,ae as r,h as u,C as m,_ as I}from"./index-0dd8d5e4.js";import{d as B}from"./more-2-fill-a666858a.js";const S={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"},A=o("path",{fill:"currentColor",d:"M8 1a2.5 2.5 0 0 0-2.5 2.5V5h-2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2V3.5A2.5 2.5 0 0 0 8 1zm1.5 5v2h1V6H12v8H4V6h1.5v2h1V6h3zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0V5z"},null,-1),N=[A];function O(e,c){return t(),i("svg",S,N)}const j={render:O},D={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},E=o("path",{fill:"currentColor",d:"M2.5 12a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-11zm0-1h11V4h-11v7zM15 13H1v1h14v-1z"},null,-1),L=[E];function R(e,c){return t(),i("svg",D,L)}const T={render:R},q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"},F=o("path",{fill:"currentColor",d:"M2.52 6.37a5.5 5.5 0 0 1 10.98.13v4c0 .05 0 .1-.02.15A4.5 4.5 0 0 1 9 14.7H8v-1h1a3.5 3.5 0 0 0 3.4-2.7h-1.9a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5h1.93a4.5 4.5 0 0 0-8.86 0H5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5v-4c0-.04 0-.09.02-.13zM12.5 7H11v3h1.5V7zm-9 0v3H5V7H3.5z"},null,-1),G=[F];function J(e,c){return t(),i("svg",q,G)}const K={render:J},P={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"},Q=o("path",{fill:"currentColor",d:"M10 3H6V1.5H5V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-2V1.5h-1V3zM5 5h1V4h4v1h1V4h2v2H3V4h2v1zM3 7h10v6H3V7z"},null,-1),U=[Q];function W(e,c){return t(),i("svg",P,U)}const X={render:W},Y={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"},Z=o("path",{fill:"currentColor",d:"M8 10.5c1.24 0 2.42.31 3.5.88v1.12h1v-1.14a.94.94 0 0 0-.49-.84 8.48 8.48 0 0 0-8.02 0 .94.94 0 0 0-.49.84v1.14h1v-1.12A7.47 7.47 0 0 1 8 10.5zM10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zm-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"},null,-1),ee=o("path",{fill:"currentColor",d:"M2.5 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11zm11 1v11h-11v-11h11z"},null,-1),te=[Z,ee];function oe(e,c){return t(),i("svg",Y,te)}const ce={render:oe},ne={class:"list-card-item_detail bg-bg_color"},ae={class:"list-card-item_detail--operation"},se={class:"list-card-item_detail--name text-text_color_primary"},de={class:"list-card-item_detail--desc text-text_color_regular"},ie=b({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:c}){const v=e,x=h=>{c("manage-product",h)},V=h=>{c("delete-item",h)},w=f(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),C=f(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(h,_)=>{const $=s("el-tag"),y=s("IconifyIconOffline"),p=s("el-dropdown-item"),z=s("el-dropdown-menu"),k=s("el-dropdown"),H=s("el-row");return t(),i("div",{class:g(w.value)},[o("div",ne,[n(H,{justify:"space-between"},{default:a(()=>[o("div",{class:g(C.value)},[e.product.type===1?(t(),l(d(j),{key:0})):r("",!0),e.product.type===2?(t(),l(d(X),{key:1})):r("",!0),e.product.type===3?(t(),l(d(K),{key:2})):r("",!0),e.product.type===4?(t(),l(d(ce),{key:3})):r("",!0),e.product.type===5?(t(),l(d(T),{key:4})):r("",!0)],2),o("div",ae,[n($,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:a(()=>[u(m(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),n(k,{trigger:"click",disabled:!e.product.isSetup},{dropdown:a(()=>[n(z,{disabled:!e.product.isSetup},{default:a(()=>[n(p,{onClick:_[0]||(_[0]=M=>x(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=M=>V(e.product))},{default:a(()=>[u(" 删除 ")]),_:1})]),_:1},8,["disabled"])]),default:a(()=>[n(y,{icon:d(B),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),o("p",se,m(e.product.name),1),o("p",de,m(e.product.description),1)])],2)}}});const he=I(ie,[["__scopeId","data-v-aa9a6877"]]);export{he as default};

File diff suppressed because one or more lines are too long

1
dist/static/js/DialogForm-8ed6f873.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./DialogForm.vue_vue_type_script_setup_true_lang-27dd14b2.js";import"./message-ac5811da.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./DialogForm.vue_vue_type_script_setup_true_lang-239ec3a6.js";import"./message-9ae1daa3.js";import"./index-c61a73ff.js";export{o as default};

View File

@ -1 +0,0 @@
import{m as h}from"./message-9ae1daa3.js";const F=Vue.defineComponent({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(c,{emit:v}){const r=c,f=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],V=Vue.ref(),a=Vue.ref(!1),o=Vue.ref(r.data),d=Vue.ref(""),_=async l=>{l&&await l.validate(e=>{e&&(h("提交成功",{type:"success"}),a.value=!1,s(l))})},s=l=>{l&&l.resetFields()},p=()=>{a.value=!1,s(V.value)};Vue.watch(()=>a.value,l=>{v("update:visible",l)}),Vue.watch(()=>r.visible,l=>{a.value=l}),Vue.watch(()=>r.data,l=>{o.value=l});const b={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(l,e)=>{const n=Vue.resolveComponent("el-input"),u=Vue.resolveComponent("el-form-item"),i=Vue.resolveComponent("el-radio"),x=Vue.resolveComponent("el-radio-group"),C=Vue.resolveComponent("el-option"),w=Vue.resolveComponent("el-select"),N=Vue.resolveComponent("el-form"),m=Vue.resolveComponent("el-button"),y=Vue.resolveComponent("el-dialog");return Vue.openBlock(),Vue.createBlock(y,{modelValue:a.value,"onUpdate:modelValue":e[6]||(e[6]=t=>a.value=t),title:"新建产品",width:680,draggable:"","before-close":p},{footer:Vue.withCtx(()=>[Vue.createVNode(m,{onClick:p},{default:Vue.withCtx(()=>[Vue.createTextVNode("取消")]),_:1}),Vue.createVNode(m,{type:"primary",onClick:e[5]||(e[5]=t=>_(V.value))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 确定 ")]),_:1})]),default:Vue.withCtx(()=>[Vue.createVNode(N,{ref_key:"ruleFormRef",ref:V,model:o.value,rules:b,"label-width":"100px"},{default:Vue.withCtx(()=>[Vue.createVNode(u,{label:"产品名称",prop:"name"},{default:Vue.withCtx(()=>[Vue.createVNode(n,{modelValue:o.value.name,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value.name=t),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"产品状态",prop:"status"},{default:Vue.withCtx(()=>[Vue.createVNode(x,{modelValue:o.value.status,"onUpdate:modelValue":e[1]||(e[1]=t=>o.value.status=t)},{default:Vue.withCtx(()=>[Vue.createVNode(i,{label:"0"},{default:Vue.withCtx(()=>[Vue.createTextVNode("已停用")]),_:1}),Vue.createVNode(i,{label:"1"},{default:Vue.withCtx(()=>[Vue.createTextVNode("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"产品描述",prop:"description"},{default:Vue.withCtx(()=>[Vue.createVNode(n,{modelValue:o.value.description,"onUpdate:modelValue":e[2]||(e[2]=t=>o.value.description=t),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"产品类型",prop:"type"},{default:Vue.withCtx(()=>[Vue.createVNode(w,{modelValue:o.value.type,"onUpdate:modelValue":e[3]||(e[3]=t=>o.value.type=t),clearable:"",style:{width:"480px"}},{default:Vue.withCtx(()=>[(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(f,(t,g)=>Vue.createVNode(C,{key:g,value:t.value,label:t.label},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(t.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"备注",prop:"mark"},{default:Vue.withCtx(()=>[Vue.createVNode(n,{modelValue:d.value,"onUpdate:modelValue":e[4]||(e[4]=t=>d.value=t),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{F as _};

View File

@ -0,0 +1 @@
import{m as T}from"./message-ac5811da.js";import{d as L,r as p,y as _,c as n,e as R,w as t,f as g,g as a,h as d,k as j,l as q,C as I,F as M}from"./index-0dd8d5e4.js";const z=L({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(x,{emit:w}){const m=x,k=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],i=p(),s=p(!1),u=p(m.data),v=p(""),C=async o=>{o&&await o.validate(e=>{e&&(T("提交成功",{type:"success"}),s.value=!1,c(o))})},c=o=>{o&&o.resetFields()},b=()=>{s.value=!1,c(i.value)};_(()=>s.value,o=>{w("update:visible",o)}),_(()=>m.visible,o=>{s.value=o}),_(()=>m.data,o=>{u.value=o});const F={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const f=n("el-input"),r=n("el-form-item"),V=n("el-radio"),U=n("el-radio-group"),B=n("el-option"),D=n("el-select"),N=n("el-form"),y=n("el-button"),O=n("el-dialog");return g(),R(O,{modelValue:s.value,"onUpdate:modelValue":e[6]||(e[6]=l=>s.value=l),title:"新建产品",width:680,draggable:"","before-close":b},{footer:t(()=>[a(y,{onClick:b},{default:t(()=>[d("取消")]),_:1}),a(y,{type:"primary",onClick:e[5]||(e[5]=l=>C(i.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:i,model:u.value,rules:F,"label-width":"100px"},{default:t(()=>[a(r,{label:"产品名称",prop:"name"},{default:t(()=>[a(f,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品状态",prop:"status"},{default:t(()=>[a(U,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:t(()=>[a(V,{label:"0"},{default:t(()=>[d("已停用")]),_:1}),a(V,{label:"1"},{default:t(()=>[d("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"产品描述",prop:"description"},{default:t(()=>[a(f,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),a(r,{label:"产品类型",prop:"type"},{default:t(()=>[a(D,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:t(()=>[(g(),j(M,null,q(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(I(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"备注",prop:"mark"},{default:t(()=>[a(f,{modelValue:v.value,"onUpdate:modelValue":e[4]||(e[4]=l=>v.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{z as _};

View File

@ -1 +0,0 @@
import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-5f576015.js";import"./columns-d84895c5.js";import"./index-771e958b.js";import"./office-building-cc7a1721.js";import"./iphone-89710f1a.js";import"./user-3-fill-99d174b6.js";export{o as default};

1
dist/static/js/Github-9cae51b2.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-465cd287.js";import"./columns-534bdbdc.js";import"./index-24d2e7bb.js";import"./index-0dd8d5e4.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";export{o as default};

View File

@ -0,0 +1 @@
import{useColumns as r}from"./columns-534bdbdc.js";import{d as u,c as t,f as a,k as i,l as p,g as _,F as d}from"./index-0dd8d5e4.js";const g=u({__name:"Github",setup(f){const{columnsA:o,columnsB:c,columnsC:e}=r(),s=[{columns:o,column:3},{columns:c,column:2},{columns:e,column:1}];return(k,C)=>{const l=t("PureDescriptions");return a(),i(d,null,p(s,(n,m)=>_(l,{key:m,columns:n.columns,column:n.column,direction:"vertical",border:""},null,8,["columns","column"])),64)}}});export{g as _};

View File

@ -1 +0,0 @@
import{useColumns as m}from"./columns-d84895c5.js";const _=Vue.defineComponent({__name:"Github",setup(r){const{columnsA:e,columnsB:o,columnsC:u}=m(),c=[{columns:e,column:3},{columns:o,column:2},{columns:u,column:1}];return(t,i)=>{const l=Vue.resolveComponent("PureDescriptions");return Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(c,(n,s)=>Vue.createVNode(l,{key:s,columns:n.columns,column:n.column,direction:"vertical",border:""},null,8,["columns","column"])),64)}}});export{_};

View File

@ -1 +0,0 @@
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-13252cba.js";import"./app-7adcc40f.js";import"./index-c61a73ff.js";export{o as default};

1
dist/static/js/Line-3d037804.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-c9d17410.js";import"./app-9580cee8.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -1 +0,0 @@
import{u as m}from"./app-7adcc40f.js";import{B as p,Z as u,r as f,D as d}from"./index-c61a73ff.js";const g=Vue.defineComponent({__name:"Line",setup(h){const{isDark:l}=p(),n=Vue.computed(()=>l.value?"dark":"default"),r=Vue.ref(null),{setOptions:s,getInstance:i,resize:c}=u(r,{theme:n}),o=(()=>{const e=[];for(let a=1;a<31;a++)e.push(`${a}`);return e})();s({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["fork","star"]},calculable:!0,xAxis:[{triggerEvent:!0,type:"category",splitLine:{show:!1},axisTick:{show:!1},data:o}],yAxis:[{triggerEvent:!0,type:"value",splitLine:{show:!1},axisLine:{show:!0}}],dataZoom:[{type:"slider",show:!1,realtime:!0,startValue:0,endValue:24}],series:[{name:"fork",type:"line",symbolSize:10,symbol:"circle",color:"#f56c6c",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[509,917,2455,2610,2719,3033,3044,3085,2708,2809,2117,2e3,1455,1210,719,733,944,2285,2208,3372,3936,3693,2962,2810,3519,2455,2610,2719,2484,2078]},{name:"star",type:"line",symbolSize:10,symbol:"circle",color:"#53a7ff",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[2136,3693,2962,3810,3519,3484,3915,3823,3455,4310,4019,3433,3544,3885,4208,3372,3484,3915,3748,3675,4009,4433,3544,3285,4208,3372,3484,3915,3823,4265,4298]}],addTooltip:!0},{name:"click",callback:e=>{}},{name:"contextmenu",callback:e=>{}},{type:"zrender",name:"click",callback:e=>{}});let t=1;return f(()=>{t==o.length-24&&(t=0),i().dispatchAction({type:"dataZoom",startValue:t,endValue:t+24}),t++},2e3),Vue.watch(()=>m().getSidebarStatus,()=>{d(600).then(()=>c())}),(e,a)=>(Vue.openBlock(),Vue.createElementBlock("div",{ref_key:"lineChartRef",ref:r,style:{width:"100%",height:"35vh"}},null,512))}});export{g as _};

View File

@ -0,0 +1 @@
import{u as m}from"./app-9580cee8.js";import{d as p,an as u,x as f,r as d,ao as h,ap as y,y as k,f as x,k as g,aq as b}from"./index-0dd8d5e4.js";const S=p({__name:"Line",setup(_){const{isDark:o}=u(),l=f(()=>o.value?"dark":"default"),r=d(null),{setOptions:n,getInstance:i,resize:c}=h(r,{theme:l}),s=(()=>{const e=[];for(let t=1;t<31;t++)e.push(`${t}`);return e})();n({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["fork","star"]},calculable:!0,xAxis:[{triggerEvent:!0,type:"category",splitLine:{show:!1},axisTick:{show:!1},data:s}],yAxis:[{triggerEvent:!0,type:"value",splitLine:{show:!1},axisLine:{show:!0}}],dataZoom:[{type:"slider",show:!1,realtime:!0,startValue:0,endValue:24}],series:[{name:"fork",type:"line",symbolSize:10,symbol:"circle",color:"#f56c6c",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[509,917,2455,2610,2719,3033,3044,3085,2708,2809,2117,2e3,1455,1210,719,733,944,2285,2208,3372,3936,3693,2962,2810,3519,2455,2610,2719,2484,2078]},{name:"star",type:"line",symbolSize:10,symbol:"circle",color:"#53a7ff",markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[2136,3693,2962,3810,3519,3484,3915,3823,3455,4310,4019,3433,3544,3885,4208,3372,3484,3915,3748,3675,4009,4433,3544,3285,4208,3372,3484,3915,3823,4265,4298]}],addTooltip:!0},{name:"click",callback:e=>{}},{name:"contextmenu",callback:e=>{}},{type:"zrender",name:"click",callback:e=>{}});let a=1;return y(()=>{a==s.length-24&&(a=0),i().dispatchAction({type:"dataZoom",startValue:a,endValue:a+24}),a++},2e3),k(()=>m().getSidebarStatus,()=>{b(600).then(()=>c())}),(e,t)=>(x(),g("div",{ref_key:"lineChartRef",ref:r,style:{width:"100%",height:"35vh"}},null,512))}});export{S as _};

View File

@ -1 +0,0 @@
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-ee222e50.js";import"./app-7adcc40f.js";import"./index-c61a73ff.js";export{o as default};

1
dist/static/js/Pie-c23b2db7.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-2dbb1c8a.js";import"./app-9580cee8.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -0,0 +1 @@
import{u as n}from"./app-9580cee8.js";import{d as o,an as i,x as l,r as p,ao as m,y as u,f,k as h,aq as k}from"./index-0dd8d5e4.js";const y=o({__name:"Pie",setup(d){const{isDark:t}=i(),r=l(()=>t.value?"dark":"light"),e=p(null),{setOptions:s,resize:c}=m(e,{theme:r});return s({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"Github信息",type:"pie",top:"20%",radius:"80%",center:["40%","50%"],color:["#e6a23c","#f56c6c","#53a7ff"],data:[{value:400,name:"watchers"},{value:1600,name:"forks"},{value:7200,name:"star"}]}]},{name:"click",callback:a=>{}},{type:"zrender",name:"click",callback:a=>{}}),u(()=>n().getSidebarStatus,()=>{k(600).then(()=>c())}),(a,_)=>(f(),h("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{y as _};

View File

@ -1 +0,0 @@
import{u as o}from"./app-7adcc40f.js";import{B as i,Z as s,D as l}from"./index-c61a73ff.js";const f=Vue.defineComponent({__name:"Pie",setup(u){const{isDark:r}=i(),a=Vue.computed(()=>r.value?"dark":"light"),e=Vue.ref(null),{setOptions:c,resize:n}=s(e,{theme:a});return c({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"Github信息",type:"pie",top:"20%",radius:"80%",center:["40%","50%"],color:["#e6a23c","#f56c6c","#53a7ff"],data:[{value:400,name:"watchers"},{value:1600,name:"forks"},{value:7200,name:"star"}]}]},{name:"click",callback:t=>{}},{type:"zrender",name:"click",callback:t=>{}}),Vue.watch(()=>o().getSidebarStatus,()=>{l(600).then(()=>n())}),(t,p)=>(Vue.openBlock(),Vue.createElementBlock("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{f as _};

View File

@ -1 +0,0 @@
const e=Vue;export{e as _};

View File

@ -1 +1 @@
const h={width:24,height:24,body:'<path fill="currentColor" d="M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2h4Zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Z"/>'},t=h;export{t as A};
const h={width:24,height:24,body:'<path fill="currentColor" d="M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2h4Zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Z"/>'};export{h as d};

View File

@ -1 +0,0 @@
import{s as a,w as i,x as o,L as r,y as u}from"./index-c61a73ff.js";const d=Pinia.defineStore({id:"pure-app",state:()=>{var e,t;return{sidebar:{opened:((e=a().getItem(`${i()}layout`))==null?void 0:e.sidebarStatus)??o().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:((t=a().getItem(`${i()}layout`))==null?void 0:t.layout)??o().Layout,device:r()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,t){const s=a().getItem(`${i()}layout`);e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,s.sidebarStatus=!0):!e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,s.sidebarStatus=!1):!e&&!t&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,s.sidebarStatus=this.sidebar.opened),a().setItem(`${i()}layout`,s)},async toggleSideBar(e,t){await this.TOGGLE_SIDEBAR(e,t)},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function l(){return d(u)}export{l as u};

1
dist/static/js/app-9580cee8.js vendored Normal file
View File

@ -0,0 +1 @@
import{ar as r,as as s,at as i,au as o,a4 as u,av as d}from"./index-0dd8d5e4.js";const n=r({id:"pure-app",state:()=>{var e,t;return{sidebar:{opened:((e=s().getItem(`${i()}layout`))==null?void 0:e.sidebarStatus)??o().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:((t=s().getItem(`${i()}layout`))==null?void 0:t.layout)??o().Layout,device:u()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,t){const a=s().getItem(`${i()}layout`);e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,a.sidebarStatus=!0):!e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,a.sidebarStatus=!1):!e&&!t&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,a.sidebarStatus=this.sidebar.opened),s().setItem(`${i()}layout`,a)},async toggleSideBar(e,t){await this.TOGGLE_SIDEBAR(e,t)},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function p(){return n(d)}export{p as u};

View File

@ -0,0 +1 @@
const l={width:24,height:24,body:'<path fill="currentColor" d="m13.171 12l-4.95-4.95l1.415-1.413L16 12l-6.364 6.364l-1.414-1.415l4.95-4.95Z"/>'};export{l as d};

View File

@ -1 +0,0 @@
const t={width:24,height:24,body:'<path fill="currentColor" d="m13.171 12l-4.95-4.95l1.415-1.413L16 12l-6.364 6.364l-1.414-1.415l4.95-4.95Z"/>'},l=t;export{l as A};

File diff suppressed because one or more lines are too long

1
dist/static/js/barcode-7cfa344e.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/js/base-d29aa544.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-fc0b0c63.js";import"./data-7bb4b374.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-ae528376.js";import"./data-5ec60fc2.js";import"./index-c61a73ff.js";export{o as default};

View File

@ -1 +0,0 @@
import{t as o}from"./data-5ec60fc2.js";const l=Vue.defineComponent({__name:"base",setup(t){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(n,p)=>{const a=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(a,{data:Vue.unref(o),columns:e},null,8,["data"])}}});export{l as _};

View File

@ -0,0 +1 @@
import{t as o}from"./data-7bb4b374.js";import{d as t,c as n,f as r,e as p,u as s}from"./index-0dd8d5e4.js";const b=t({__name:"base",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=n("pure-table");return r(),p(a,{data:s(o),columns:e},null,8,["data"])}}});export{b as _};

1
dist/static/js/basic-09712a8c.js vendored Normal file
View File

@ -0,0 +1 @@
import{C as _,a as m,b as d,c as l,d as i,e as D}from"./index.esm-04a1a156.js";import{d as h,_ as b,c,j as F,f as p,k as r,m as B,g as e,w as t,h as u,p as w,q as E,i as x}from"./index-0dd8d5e4.js";const I=h({name:"ExampleSimple",components:{[_.name]:_,[m.name]:m,[d.name]:d,[l.name]:l,[i.name]:i},directives:{contextmenu:D}});const C=o=>(w("data-v-17318510"),o=o(),E(),o),S=C(()=>x("h1",null,"基本使用",-1)),A={class:"wrapper"},$=C(()=>x("code",null,"右键点击此区域",-1)),k=[$];function G(o,N,V,g,y,j){const n=c("v-contextmenu-item"),a=c("v-contextmenu-divider"),s=c("v-contextmenu-submenu"),v=c("v-contextmenu"),f=F("contextmenu");return p(),r("div",null,[S,B((p(),r("div",A,k)),[[f,void 0,"contextmenu"]]),e(v,{ref:"contextmenu"},{default:t(()=>[e(n,null,{default:t(()=>[u("GitHub")]),_:1}),e(n,null,{default:t(()=>[u("GitLab")]),_:1}),e(a),e(s,{title:"蔬菜菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("土豆")]),_:1}),e(s,{title:"青菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("小油菜")]),_:1}),e(n,null,{default:t(()=>[u("空心菜")]),_:1})]),_:1}),e(n,null,{default:t(()=>[u("黄瓜")]),_:1})]),_:1}),e(n,{disabled:""},{default:t(()=>[u("菠萝蜜")]),_:1}),e(a),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const L=b(I,[["render",G],["__scopeId","data-v-17318510"]]);export{L as default};

View File

@ -1 +0,0 @@
import{C as n,a as c,b as V,c as a,d,e as l}from"./index.esm-ba027bbc.js";import{_ as m}from"./index-c61a73ff.js";const s=Vue.defineComponent({name:"ExampleSimple",components:{[n.name]:n,[c.name]:c,[V.name]:V,[a.name]:a,[d.name]:d},directives:{contextmenu:l}});const _=t=>(Vue.pushScopeId("data-v-17318510"),t=t(),Vue.popScopeId(),t),x=_(()=>Vue.createElementVNode("h1",null,"基本使用",-1)),C={class:"wrapper"},p=_(()=>Vue.createElementVNode("code",null,"右键点击此区域",-1)),v=[p];function N(t,f,h,w,D,b){const e=Vue.resolveComponent("v-contextmenu-item"),u=Vue.resolveComponent("v-contextmenu-divider"),o=Vue.resolveComponent("v-contextmenu-submenu"),r=Vue.resolveComponent("v-contextmenu"),i=Vue.resolveDirective("contextmenu");return Vue.openBlock(),Vue.createElementBlock("div",null,[x,Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",C,v)),[[i,void 0,"contextmenu"]]),Vue.createVNode(r,{ref:"contextmenu"},{default:Vue.withCtx(()=>[Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("GitHub")]),_:1}),Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("GitLab")]),_:1}),Vue.createVNode(u),Vue.createVNode(o,{title:"蔬菜菜"},{default:Vue.withCtx(()=>[Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("土豆")]),_:1}),Vue.createVNode(o,{title:"青菜"},{default:Vue.withCtx(()=>[Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("小油菜")]),_:1}),Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("空心菜")]),_:1})]),_:1}),Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("黄瓜")]),_:1})]),_:1}),Vue.createVNode(e,{disabled:""},{default:Vue.withCtx(()=>[Vue.createTextVNode("菠萝蜜")]),_:1}),Vue.createVNode(u),Vue.createVNode(e,null,{default:Vue.withCtx(()=>[Vue.createTextVNode("哈密瓜")]),_:1})]),_:1},512)])}const E=m(s,[["render",N],["__scopeId","data-v-17318510"]]);export{E as default};

View File

@ -1 +1 @@
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-0ee9f7f0.js";import"./data-5ec60fc2.js";import"./index-c61a73ff.js";export{o as default};
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-61cc9adb.js";import"./data-7bb4b374.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -1 +0,0 @@
import{t as a}from"./data-5ec60fc2.js";const l=Vue.defineComponent({__name:"border",setup(r){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(t,n)=>{const o=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(o,{data:Vue.unref(a),columns:e,border:""},null,8,["data"])}}});export{l as _};

View File

@ -0,0 +1 @@
import{t as o}from"./data-7bb4b374.js";import{d as r,c as t,f as n,e as p,u as s}from"./index-0dd8d5e4.js";const u=r({__name:"border",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=t("pure-table");return n(),p(a,{data:s(o),columns:e,border:""},null,8,["data"])}}});export{u as _};

File diff suppressed because one or more lines are too long

1
dist/static/js/cascader-c5c3f147.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
const t={width:1024,height:1024,body:'<path fill="currentColor" d="M406.656 706.944L195.84 496.256a32 32 0 1 0-45.248 45.248l256 256l512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"/>'},a=t;export{a as C};
const t={width:1024,height:1024,body:'<path fill="currentColor" d="M406.656 706.944L195.84 496.256a32 32 0 1 0-45.248 45.248l256 256l512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"/>'};export{t as d};

View File

@ -1 +0,0 @@
import{S as c}from"./sortable.esm-679e0872.js";import{J as s}from"./index-c61a73ff.js";import{a as m}from"./data-8e10e21a.js";function v(){const o=Vue.ref(s(m,!0)),e=Vue.ref([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),t=Vue.ref([{label:"ID",prop:r=>e.value[r].prop},{label:"日期",prop:r=>e.value[r].prop},{label:"姓名",prop:r=>e.value[r].prop}]),l=r=>{r.preventDefault(),Vue.nextTick(()=>{const p=document.querySelector(".el-table__header-wrapper tr");c.create(p,{animation:300,delay:0,onEnd:({newIndex:n,oldIndex:a})=>{const u=e.value[a];e.value.splice(a,1),e.value.splice(n,0,u)}})})};return Vue.onMounted(()=>{Vue.nextTick(()=>{l(event)})}),{columns:t,dataList:o,columnsDrag:e}}export{v as useColumns};

View File

@ -1 +0,0 @@
import{S as c}from"./sortable.esm-679e0872.js";import{J as s}from"./index-c61a73ff.js";import{a as u}from"./data-8e10e21a.js";function b(){const e=Vue.ref(s(u,!0)),t=o=>{o.preventDefault(),Vue.nextTick(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:a,oldIndex:n})=>{const l=e.value.splice(n,1)[0];e.value.splice(a,0,l)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>t(r)},null),Vue.createVNode("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{b as useColumns};

1
dist/static/js/columns-2721478e.js vendored Normal file
View File

@ -0,0 +1 @@
import{S as c}from"./sortable.esm-679e0872.js";import{r as p,J as i,g as a,c as u,n as d}from"./index-0dd8d5e4.js";import{a as m}from"./data-4845d266.js";function D(){const e=p(i(m,!0)),n=o=>{o.preventDefault(),d(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:l})=>{const s=e.value.splice(l,1)[0];e.value.splice(t,0,s)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>a("div",{class:"flex items-center"},[a(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),a("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{D as useColumns};

1
dist/static/js/columns-39bf1e5b.js vendored Normal file
View File

@ -0,0 +1 @@
import{m as s}from"./message-ac5811da.js";import{t as c}from"./data-7bb4b374.js";import{g as l,c as n,F as r,h as a}from"./index-0dd8d5e4.js";function f(){const o=[{label:"日期",prop:"date",cellRenderer:({row:e})=>l("div",{style:"display: flex; align-items: center"},[l(n("iconify-icon-online"),{icon:"ep:timer"},null),l("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>l(n("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>l(r,null,[l("div",null,[a("name: "),e.name]),l("div",null,[a("address: "),e.address])]),reference:()=>l(n("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>l(r,null,[l(n("el-button"),{size:"small",onClick:()=>i(e+1,t)},{default:()=>[a("Edit")]}),l(n("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[a("Delete")]})])}],i=(e,t)=>{s(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{s(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:c}}export{f as useColumns};

1
dist/static/js/columns-3d7dbff3.js vendored Normal file
View File

@ -0,0 +1 @@
import{m as u}from"./message-ac5811da.js";import{b as r}from"./data-4845d266.js";import{r as p,a7 as i}from"./index-0dd8d5e4.js";function b(t){const a=p(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=i({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"#f5f7fa":""}}function s(e){a.value=e.name,t.value.blur(),u(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{b as useColumns};

View File

@ -1 +0,0 @@
import{m as l}from"./message-9ae1daa3.js";import{t as r}from"./data-5ec60fc2.js";import"./index-c61a73ff.js";function s(){const o=[{label:"日期",prop:"date",cellRenderer:({row:e})=>Vue.createVNode("div",{style:"display: flex; align-items: center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"ep:timer"},null),Vue.createVNode("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>Vue.createVNode(Vue.resolveComponent("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode("div",null,[Vue.createTextVNode("name: "),e.name]),Vue.createVNode("div",null,[Vue.createTextVNode("address: "),e.address])]),reference:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>a(e+1,t)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,t)},{default:()=>[Vue.createTextVNode("Delete")]})])}],a=(e,t)=>{l(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},n=(e,t)=>{l(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:r}}export{s as useColumns};

1
dist/static/js/columns-4858870b.js vendored Normal file
View File

@ -0,0 +1 @@
import{d as r}from"./arrow-right-s-line-2977cc7e.js";import{g as l,c as e,h as o}from"./index-0dd8d5e4.js";const i={width:24,height:24,body:'<path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586Z"/>'};function u(){return{columns:[{cellRenderer:()=>l("span",{class:"flex items-center -mt-6"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户已被冻结")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即解冻"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])},{cellRenderer:()=>l("span",{class:"flex items-center -mt-8"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户还不具备申请资格")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即升级"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])}]}}export{u as useColumns};

View File

@ -1 +0,0 @@
import{P as d}from"./print-a6e42845.js";import{b}from"./data-8e10e21a.js";import{J as c}from"./index-c61a73ff.js";function m(e){const a=Vue.ref(c(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{d(e.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:a,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{m as useColumns};

1
dist/static/js/columns-534bdbdc.js vendored Normal file
View File

@ -0,0 +1 @@
import{T as o}from"./index-24d2e7bb.js";import{d as i}from"./office-building-cc7a1721.js";import{d as c}from"./iphone-bcaa848c.js";import{d as u}from"./user-3-fill-70ba8c19.js";import{g as e,c as l,h as n}from"./index-0dd8d5e4.js";const r={width:1024,height:1024,body:'<path fill="currentColor" d="M192 128v768h640V128H192zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h192v64H320v-64zm0 384h384v64H320v-64z"/>'},s={width:1024,height:1024,body:'<path fill="currentColor" d="M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"/><path fill="currentColor" d="M512 512a96 96 0 1 0 0-192a96 96 0 0 0 0 192zm0 64a160 160 0 1 1 0-320a160 160 0 0 1 0 320z"/>'},d={width:1024,height:1024,body:'<path fill="currentColor" d="M192 128v768h640V128H192zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32z"/><path fill="currentColor" d="M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"/>'};function C(){const a=[{type:"",label:"善良"},{type:"success",label:"好学"},{type:"info",label:"幽默"},{type:"danger",label:"旅游"},{type:"warning",label:"追剧"}];return{columnsA:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:u},null)]}),n("用户名")]),value:"乐于分享的程序员小铭"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:c},null)]}),n("手机号")]),value:"123456789"},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:s},null)]}),n("居住地")]),value:"中国"}],columnsB:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:r},null)]}),n("标签")]),cellRenderer:()=>a.map(t=>e(l("el-tag"),{class:"mr-[10px]",type:t.type,size:"small",effect:"dark"},{default:()=>[t.label]}))},{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:i},null)]}),n("联系地址")]),value:"中华人民共和国"}],columnsC:[{labelRenderer:()=>e("div",{class:"flex items-center"},[e(l("el-icon"),null,{default:()=>[e(l("iconify-icon-offline"),{icon:d},null)]}),n("个性签名")]),cellRenderer:()=>e(o,{className:"github",values:["办法总比困难多"],cursor:!1,speed:100},null)}]}}export{C as useColumns};

View File

@ -1 +0,0 @@
function s(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}function n(){const{pkg:e,lastBuildTime:t}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.5","@logicflow/extension":"^1.2.5","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.1.0","@pureadmin/utils":"^1.8.9","@vueuse/core":"^10.1.2","@vueuse/motion":"2.0.0-beta.12","@wangeditor/editor":"^5.1.21","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.7",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.4","element-resize-detector":"^1.2.4","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.0.36",qrcode:"^1.5.3",qs:"^6.11.1","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.3.0",typeit:"^8.7.1","v-contextmenu":"3.0.0",vue:"^3.3.1","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.1.6","vue-types":"^5.0.2","vue-virtual-scroller":"2.0.0-beta.7","vue3-danmaku":"1.4.0-beta.1",vuedraggable:"^4.1.0",xgplayer:"^3.0.2",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.3","@commitlint/config-conventional":"^17.6.3","@iconify-icons/ep":"^1.2.11","@iconify-icons/ri":"^1.2.7","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.10.0","@pureadmin/theme":"^3.0.0","@types/element-resize-detector":"1.1.3","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.15.12","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","@vitejs/plugin-vue":"^4.2.2","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.40.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.12.0",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.23","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.7","pretty-quick":"3.1.1",rimraf:"^5.0.0","rollup-plugin-visualizer":"^5.9.0",sass:"^1.62.1","sass-loader":"^13.2.2",stylelint:"^15.6.1","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.0.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^11.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.0",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.17.1",typescript:"^5.0.4",vite:"^4.3.5","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"^2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.2.1","vue-tsc":"^1.6.4"},name:"vue-pure-admin",version:"4.0.0"},lastBuildTime:"2023-05-11 20:36:29"},{version:r}=e;return{columns:[{label:"版本",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},s(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},s(t)?t:{default:()=>[t]})},{label:"文档地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("文档地址")])])},{label:"预览地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("预览地址")])])},{label:"Github",cellRenderer:()=>Vue.createVNode("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("Github")])])},{label:"QQ交流群",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc/pages/support/#qq-%E4%BA%A4%E6%B5%81%E7%BE%A4",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("点击加群")])])}]}}export{n as useColumns};

1
dist/static/js/columns-58fb2122.js vendored Normal file
View File

@ -0,0 +1 @@
import{P as d}from"./print-a6e42845.js";import{b}from"./data-4845d266.js";import{r as c,J as i}from"./index-0dd8d5e4.js";function g(a){const e=c(i(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{d(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:e,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns};

View File

@ -1 +0,0 @@
import{b as m}from"./data-8e10e21a.js";import{m as h}from"./message-9ae1daa3.js";import{J as d,D as b}from"./index-c61a73ff.js";import{d as g}from"./edit-pen-37b5ced2.js";import{C}from"./check-f53d8364.js";function y(){const a=Vue.ref({}),t=Vue.ref({}),o=Vue.ref(-1),r=Vue.ref(d(m,!0)),s=Vue.computed(()=>u=>{var e;return(e=a.value[u])==null?void 0:e.value}),l=Vue.computed(()=>u=>{var e;return(e=t.value[u])==null?void 0:e.editing}),n=Vue.computed(()=>(u,e=!1)=>["cursor-pointer","ml-2","transition","delay-100",e?["hover:scale-110","hover:text-red-500"]:l.value(u)&&["scale-150","text-red-500"]]),c=[{label:"ID可编辑",prop:"id",cellRenderer:({row:u,index:e})=>Vue.createVNode("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=e,onMouseleave:()=>i(e)},[Vue.withDirectives(Vue.createVNode("p",null,[u.id]),[[Vue.vShow,!l.value(e)]]),Vue.createVNode(Vue.Transition,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:s.value(e),onInput:f=>V(f,e)},null),[[Vue.vShow,l.value(e)]])]}),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:C,class:n.value(e),onClick:()=>p(e)},null),[[Vue.vShow,l.value(e)]]),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:g,class:n.value(e,!0),onClick:()=>v(u,e)},null),[[Vue.vShow,o.value===e&&!l.value(e)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function v({id:u},e){a.value[e]=Object.assign({},a.value[e],{value:u}),t.value[e]=Object.assign({},t.value[e],{editing:!0})}function i(u){var e;(e=a.value[u])!=null&&e.value?o.value=u:o.value=-1}function V(u,e){a.value[e].value=u}function p(u){r.value[u].id=a.value[u].value,h(`您编辑了第 ${u+1} 行,编辑后数据为:${JSON.stringify(r.value[u])}`,{type:"success"}),t.value[u]=Object.assign({},t.value[u],{editing:!1}),b().then(()=>a.value[u].value=null)}return{columns:c,dataList:r}}export{y as useColumns};

1
dist/static/js/columns-5f812485.js vendored Normal file
View File

@ -0,0 +1 @@
import{u as t,w as m}from"./xlsx-e927f539.js";import{a as u}from"./data-4845d266.js";import{r as i,J as f}from"./index-0dd8d5e4.js";import{m as b}from"./message-ac5811da.js";function _(){const r=i(f(u,!0)),o=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:o,dataList:r,exportExcel:()=>{const s=r.value.map(e=>{const n=[];return o.forEach(c=>{n.push(e[c.prop])}),n}),a=[];o.forEach(e=>{a.push(e.label)}),s.unshift(a);const l=t.aoa_to_sheet(s),p=t.book_new();t.book_append_sheet(p,l,"数据报表"),m(p,"pure-admin-table.xlsx"),b("导出成功",{type:"success"})}}}export{_ as useColumns};

1
dist/static/js/columns-75cd3c72.js vendored Normal file
View File

@ -0,0 +1 @@
import{m as o}from"./message-ac5811da.js";import{t as m}from"./data-7bb4b374.js";import{r as d,x as i,g as t,c as s,h as r,F as p}from"./index-0dd8d5e4.js";function C(){const a=d(""),n=i(()=>m.filter(e=>!a.value||e.name.toLowerCase().includes(a.value.toLowerCase()))),u=(e,l)=>{o(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},c=(e,l)=>{o(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>t(p,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,l)},{default:()=>[r("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>c(e+1,l)},{default:()=>[r("Delete")]})])}],filterTableData:n}}export{C as useColumns};

1
dist/static/js/columns-7628a2c7.js vendored Normal file
View File

@ -0,0 +1 @@
import{b as o}from"./data-4845d266.js";import{r as u,a7 as i}from"./index-0dd8d5e4.js";function h(r,l){const n=u([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=i({pageSize:10,currentPage:1,layout:"prev, pager, next",total:o.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:o,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=l.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=l.value.getTableRef();a(o.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{h as useColumns};

1
dist/static/js/columns-7cd72d5c.js vendored Normal file
View File

@ -0,0 +1 @@
import{r as i,J as n,an as c,x as p,ao as u}from"./index-0dd8d5e4.js";import{a as f}from"./data-4845d266.js";import{m as h}from"./message-ac5811da.js";import{t as d}from"./index-95b65695.js";function D(){const a=i(n(f,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=c(),r=p(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:o}=u(d(`PieChartRef${e}`),{theme:r});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:m}})=>{h(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:a}}export{D as useColumns};

View File

@ -1,10 +0,0 @@
import{t as g}from"./data-8e10e21a.js";import{D as r,J as p}from"./index-c61a73ff.js";function V(){const l=Vue.ref([]),a=Vue.ref(!0),t=Vue.ref("nohide"),u=Vue.ref("default"),s=Vue.ref(!1),o=Vue.ref("right"),f=[{label:"日期",prop:"date",hide:()=>t.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>t.value==="hideName"},{label:"地址",prop:"address",hide:()=>t.value==="hideAddress"}],n=Vue.reactive({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),i=Vue.reactive({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
<path class="path" d="
M 30 15
L 28 17
M 25.61 25.61
A 15 15, 0, 0, 1, 15 30
A 15 15, 0, 1, 1, 27.99 7.5
L 15 15
" style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
`});function c(e){n.small=e}function h(e){}function d(e){i.text=`正在加载第${e}...`,a.value=!0,r(600).then(()=>{a.value=!1})}return Vue.watchEffect(()=>{n.align=o.value}),Vue.onMounted(()=>{r(600).then(()=>{const e=[];Array.from({length:6}).forEach(()=>{e.push(p(g,!0))}),l.value=e.flat(1/0),n.total=l.value.length,a.value=!1})}),{loading:a,columns:f,dataList:l,hideVal:t,tableSize:u,pagination:n,loadingConfig:i,paginationAlign:o,paginationSmall:s,onChange:c,onSizeChange:h,onCurrentChange:d}}export{V as useColumns};

View File

@ -1 +0,0 @@
import{J as i,B as c,Z as n}from"./index-c61a73ff.js";import{a as p}from"./data-8e10e21a.js";import{m as u}from"./message-9ae1daa3.js";import{t as f}from"./index-f1e7ee6d.js";function v(){const e=Vue.ref(i(p,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:r}=c(),s=Vue.computed(()=>r.value?"dark":"light");return e.value.forEach((h,a)=>{const{setOptions:o}=n(f(`PieChartRef${a}`),{theme:s});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:m}})=>{u(`您点击了第 ${a+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:e}}export{v as useColumns};

1
dist/static/js/columns-9df0a0b6.js vendored Normal file
View File

@ -0,0 +1 @@
import{S as m}from"./sortable.esm-679e0872.js";import{r as o,J as i,a as b,n as l}from"./index-0dd8d5e4.js";import{a as v}from"./data-4845d266.js";function S(){const t=o(i(v,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),l(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{l(()=>{n(event)})}),{columns:p,dataList:t,columnsDrag:e}}export{S as useColumns};

View File

@ -1 +0,0 @@
import{b as l}from"./data-8e10e21a.js";import"./index-c61a73ff.js";function d(r,o){const n=Vue.ref([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=Vue.reactive({pageSize:10,currentPage:1,layout:"prev, pager, next",total:l.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:l,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=o.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=o.value.getTableRef();a(l.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{d as useColumns};

1
dist/static/js/columns-ba8e4348.js vendored Normal file
View File

@ -0,0 +1 @@
import{g as e,c as n,h as s,aH as o}from"./index-0dd8d5e4.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function p(){const{pkg:t,lastBuildTime:i}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.5","@logicflow/extension":"^1.2.5","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.1.0","@pureadmin/utils":"^1.8.9","@vueuse/core":"^10.1.2","@vueuse/motion":"2.0.0-beta.12","@wangeditor/editor":"^5.1.21","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.4.0","china-area-data":"^5.0.1",cropperjs:"^1.5.13",dayjs:"^1.11.7",echarts:"^5.4.2","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.3.4","element-resize-detector":"^1.2.4","intro.js":"^7.0.1","js-cookie":"^3.0.5",jsbarcode:"^3.11.5","md-editor-v3":"2.7.2",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.0.36",qrcode:"^1.5.3",qs:"^6.11.1","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.3.0",typeit:"^8.7.1","v-contextmenu":"3.0.0",vue:"^3.3.1","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.1.6","vue-types":"^5.0.2","vue-virtual-scroller":"2.0.0-beta.7","vue3-danmaku":"1.4.0-beta.1",vuedraggable:"^4.1.0",xgplayer:"^3.0.2",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^17.6.3","@commitlint/config-conventional":"^17.6.3","@iconify-icons/ep":"^1.2.11","@iconify-icons/ri":"^1.2.7","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^0.10.0","@pureadmin/theme":"^3.0.0","@types/element-resize-detector":"1.1.3","@types/intro.js":"^5.1.1","@types/js-cookie":"^3.0.3","@types/mockjs":"^1.0.7","@types/node":"^18.15.12","@types/nprogress":"0.2.0","@types/qrcode":"^1.5.0","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.1","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","@vitejs/plugin-vue":"^4.2.2","@vitejs/plugin-vue-jsx":"^3.0.1","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.14",cloc:"^2.11.0",cssnano:"^6.0.1",eslint:"^8.40.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.12.0",husky:"^8.0.3","lint-staged":"^13.2.2",picocolors:"^1.0.0",postcss:"^8.4.23","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.8.7","pretty-quick":"3.1.1",rimraf:"^5.0.0","rollup-plugin-visualizer":"^5.9.0",sass:"^1.62.1","sass-loader":"^13.2.2",stylelint:"^15.6.1","stylelint-config-html":"^1.1.0","stylelint-config-recess-order":"^4.0.0","stylelint-config-recommended":"^12.0.0","stylelint-config-recommended-scss":"^11.0.0","stylelint-config-recommended-vue":"^1.4.0","stylelint-config-standard":"^33.0.0","stylelint-config-standard-scss":"^9.0.0","stylelint-order":"^6.0.3","stylelint-prettier":"^3.0.0","stylelint-scss":"^5.0.0",svgo:"^3.0.2",tailwindcss:"^3.3.2",terser:"^5.17.1",typescript:"^5.0.4",vite:"^4.3.5","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"^2.9.6","vite-plugin-remove-console":"^2.1.1","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.2.1","vue-tsc":"^1.6.4"},name:"vue-pure-admin",version:"4.0.0"},lastBuildTime:"2023-05-11 20:52:38"},{version:r}=t;return{columns:[{label:"版本",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>e(n("el-tag"),{size:"small"},l(i)?i:{default:()=>[i]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[s("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[s("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[s("Github")])])},{label:"QQ交流群",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc/pages/support/#qq-%E4%BA%A4%E6%B5%81%E7%BE%A4",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[s("点击加群")])])}]}}export{p as useColumns};

10
dist/static/js/columns-bbf3abe3.js vendored Normal file
View File

@ -0,0 +1,10 @@
import{t as m}from"./data-4845d266.js";import{r as e,a7 as r,aO as v,a as b,aq as u,J as C}from"./index-0dd8d5e4.js";function S(){const o=e([]),t=e(!0),n=e("nohide"),f=e("default"),h=e(!1),s=e("right"),c=[{label:"日期",prop:"date",hide:()=>n.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>n.value==="hideName"},{label:"地址",prop:"address",hide:()=>n.value==="hideAddress"}],l=r({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),i=r({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
<path class="path" d="
M 30 15
L 28 17
M 25.61 25.61
A 15 15, 0, 0, 1, 15 30
A 15 15, 0, 1, 1, 27.99 7.5
L 15 15
" style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
`});function d(a){l.small=a}function g(a){}function p(a){i.text=`正在加载第${a}...`,t.value=!0,u(600).then(()=>{t.value=!1})}return v(()=>{l.align=s.value}),b(()=>{u(600).then(()=>{const a=[];Array.from({length:6}).forEach(()=>{a.push(C(m,!0))}),o.value=a.flat(1/0),l.total=o.value.length,t.value=!1})}),{loading:t,columns:c,dataList:o,hideVal:n,tableSize:f,pagination:l,loadingConfig:i,paginationAlign:s,paginationSmall:h,onChange:d,onSizeChange:g,onCurrentChange:p}}export{S as useColumns};

1
dist/static/js/columns-c20796e3.js vendored Normal file
View File

@ -0,0 +1 @@
import{b as r}from"./data-4845d266.js";import{r as s,J as l,a as p,aq as n,o as i}from"./index-0dd8d5e4.js";function u(a){const e=s(l(r,!0)),o=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:t}=i(a.value.getTableDoms().tableWrapper);t("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:o,dataList:e}}export{u as useColumns};

View File

@ -1 +0,0 @@
import{m as a}from"./message-9ae1daa3.js";import{t as u}from"./data-5ec60fc2.js";import"./index-c61a73ff.js";function i(){const t=Vue.ref(""),o=Vue.computed(()=>u.filter(e=>!t.value||e.name.toLowerCase().includes(t.value.toLowerCase()))),r=(e,l)=>{a(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},n=(e,l)=>{a(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>r(e+1,l)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,l)},{default:()=>[Vue.createTextVNode("Delete")]})])}],filterTableData:o}}export{i as useColumns};

View File

@ -1 +0,0 @@
import{m as s}from"./message-9ae1daa3.js";import{b as r}from"./data-8e10e21a.js";import"./index-c61a73ff.js";function m(a){const t=Vue.ref(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=Vue.reactive({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===t.value?"#f5f7fa":""}}function u(e){t.value=e.name,a.value.blur(),s(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:t,tableDataEdit:r,rowStyle:l,onRowClick:u}}export{m as useColumns};

View File

@ -1 +0,0 @@
import{T as l}from"./index-771e958b.js";import{d as t}from"./office-building-cc7a1721.js";import{I as n}from"./iphone-89710f1a.js";import{U as u}from"./user-3-fill-99d174b6.js";const r={width:1024,height:1024,body:'<path fill="currentColor" d="M192 128v768h640V128H192zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h192v64H320v-64zm0 384h384v64H320v-64z"/>'},a={width:1024,height:1024,body:'<path fill="currentColor" d="M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"/><path fill="currentColor" d="M512 512a96 96 0 1 0 0-192a96 96 0 0 0 0 192zm0 64a160 160 0 1 1 0-320a160 160 0 0 1 0 320z"/>'},c={width:1024,height:1024,body:'<path fill="currentColor" d="M192 128v768h640V128H192zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32z"/><path fill="currentColor" d="M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"/>'};function v(){const o=[{type:"",label:"善良"},{type:"success",label:"好学"},{type:"info",label:"幽默"},{type:"danger",label:"旅游"},{type:"warning",label:"追剧"}];return{columnsA:[{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:u},null)]}),Vue.createTextVNode("用户名")]),value:"乐于分享的程序员小铭"},{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:n},null)]}),Vue.createTextVNode("手机号")]),value:"123456789"},{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:a},null)]}),Vue.createTextVNode("居住地")]),value:"中国"}],columnsB:[{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:r},null)]}),Vue.createTextVNode("标签")]),cellRenderer:()=>o.map(e=>Vue.createVNode(Vue.resolveComponent("el-tag"),{class:"mr-[10px]",type:e.type,size:"small",effect:"dark"},{default:()=>[e.label]}))},{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:t},null)]}),Vue.createTextVNode("联系地址")]),value:"中华人民共和国"}],columnsC:[{labelRenderer:()=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("el-icon"),null,{default:()=>[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:c},null)]}),Vue.createTextVNode("个性签名")]),cellRenderer:()=>Vue.createVNode(l,{className:"github",values:["办法总比困难多"],cursor:!1,speed:100},null)}]}}export{v as useColumns};

File diff suppressed because one or more lines are too long

1
dist/static/js/columns-df5d4455.js vendored Normal file
View File

@ -0,0 +1 @@
import{r as n,J as y,x as i,g as t,m as r,ac as c,b9 as D,c as f,aq as I}from"./index-0dd8d5e4.js";import{b as M}from"./data-4845d266.js";import{m as O}from"./message-ac5811da.js";import{d as S}from"./edit-pen-37b5ced2.js";import{d as V}from"./check-3815600c.js";function E(){const l=n({}),u=n({}),s=n(-1),v=n(y(M,!0)),p=i(()=>e=>{var a;return(a=l.value[e])==null?void 0:a.value}),o=i(()=>e=>{var a;return(a=u.value[e])==null?void 0:a.editing}),m=i(()=>(e,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:o.value(e)&&["scale-150","text-red-500"]]),b=[{label:"ID可编辑",prop:"id",cellRenderer:({row:e,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>s.value=a,onMouseleave:()=>d(a)},[r(t("p",null,[e.id]),[[c,!o.value(a)]]),t(D,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:p.value(a),onInput:_=>h(_,a)},null),[[c,o.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:V,class:m.value(a),onClick:()=>C(a)},null),[[c,o.value(a)]]),r(t(f("iconify-icon-offline"),{icon:S,class:m.value(a,!0),onClick:()=>g(e,a)},null),[[c,s.value===a&&!o.value(a)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function g({id:e},a){l.value[a]=Object.assign({},l.value[a],{value:e}),u.value[a]=Object.assign({},u.value[a],{editing:!0})}function d(e){var a;(a=l.value[e])!=null&&a.value?s.value=e:s.value=-1}function h(e,a){l.value[a].value=e}function C(e){v.value[e].id=l.value[e].value,O(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),I().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{E as useColumns};

View File

@ -1 +0,0 @@
import{u as t,w as u}from"./xlsx-e927f539.js";import{a as m}from"./data-8e10e21a.js";import{J as i}from"./index-c61a73ff.js";import{m as f}from"./message-9ae1daa3.js";function w(){const r=Vue.ref(i(m,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:r,exportExcel:()=>{const s=r.value.map(o=>{const n=[];return e.forEach(c=>{n.push(o[c.prop])}),n}),a=[];e.forEach(o=>{a.push(o.label)}),s.unshift(a);const l=t.aoa_to_sheet(s),p=t.book_new();t.book_append_sheet(p,l,"数据报表"),u(p,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns};

188
dist/static/js/columns-f5c5c5b8.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{b as r}from"./data-8e10e21a.js";import{J as l,D as p,o as s}from"./index-c61a73ff.js";function i(e){const o=Vue.ref(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return Vue.onMounted(()=>{p().then(()=>{const{setWatermark:a}=s(e.value.getTableDoms().tableWrapper);a("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:t,dataList:o}}export{i as useColumns};

View File

@ -1 +0,0 @@
import{A as e}from"./arrow-right-s-line-bcf0e8c6.js";const o={width:24,height:24,body:'<path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586Z"/>'};function u(){return{columns:[{cellRenderer:()=>Vue.createVNode("span",{class:"flex items-center -mt-6"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:o,color:"#F56C6C",width:"18px",height:"18px"},null),Vue.createVNode("span",{class:"ml-1 mr-4"},[Vue.createTextVNode("您的账户已被冻结")]),Vue.createVNode("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[Vue.createTextVNode("立即解冻"),Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:e,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])},{cellRenderer:()=>Vue.createVNode("span",{class:"flex items-center -mt-8"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:o,color:"#F56C6C",width:"18px",height:"18px"},null),Vue.createVNode("span",{class:"ml-1 mr-4"},[Vue.createTextVNode("您的账户还不具备申请资格")]),Vue.createVNode("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[Vue.createTextVNode("立即升级"),Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:e,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])}]}}export{u as useColumns};

View File

@ -0,0 +1 @@
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-e3c9b231.js";import"./data-7bb4b374.js";import"./index-0dd8d5e4.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-ea44b08c.js";import"./data-5ec60fc2.js";import"./index-c61a73ff.js";export{o as default};

View File

@ -0,0 +1 @@
import{t as a}from"./data-7bb4b374.js";import{d as n,c as r,f as p,e as s,u as c}from"./index-0dd8d5e4.js";const i=n({__name:"customIndex",setup(l){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,m)=>{const o=r("pure-table");return p(),s(o,{data:c(a),columns:t},null,8,["data"])}}});export{i as _};

View File

@ -1 +0,0 @@
import{t as o}from"./data-5ec60fc2.js";const u=Vue.defineComponent({__name:"customIndex",setup(a){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,p)=>{const n=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(n,{data:Vue.unref(o),columns:t},null,8,["data"])}}});export{u as _};

View File

@ -1,91 +0,0 @@
import{a9 as x,ad as U,a8 as W,u as q,x as T,ae as H,t as L,af as J,a4 as K,a5 as A,ag as X}from"./index-c61a73ff.js";import{u as Y}from"./app-7adcc40f.js";import{u as $}from"./epTheme-d89c26ff.js";function Z(){const{$storage:t,$config:e}=x(),o=()=>{U().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=W),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},VueI18n.useI18n().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=Vue.computed(()=>t==null?void 0:t.layout.layout),a=Vue.computed(()=>t.layout);return{layout:n,layoutTheme:a,initStorage:o}}const S="当前路由配置不正确,请检查配置";function ee(){var w;const t=Y(),e=VueRouter.useRouter().options.routes,{wholeMenus:o}=Pinia.storeToRefs(q()),n=((w=T())==null?void 0:w.TooltipEffect)??"light",a=Vue.computed(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),s=Vue.computed(()=>{var u;return(u=H())==null?void 0:u.username}),d=Vue.computed(()=>(u,c)=>({background:u===c?$().epThemeColor:"",color:u===c?"#f4f4f5":"#000"})),m=Vue.computed(()=>(u,c)=>u===c?"":"dark:hover:!text-primary"),f=Vue.computed(()=>s.value?{marginRight:"10px"}:""),b=Vue.computed(()=>!t.getSidebarStatus),v=Vue.computed(()=>t.getDevice),{$storage:l,$config:r}=x(),i=Vue.computed(()=>{var u;return(u=l==null?void 0:l.layout)==null?void 0:u.layout}),y=Vue.computed(()=>r.Title);function C(u){const c=T().Title;c?document.title=`${L(u.title)} | ${c}`:document.title=L(u.title)}function P(){H().logOut()}function R(){J.push(K().path)}function D(){A.emit("openPanel")}function j(){t.toggleSideBar()}function O(u){u==null||u.handleResize()}function F(u){var p;if(!u.children)return console.error(S);const c=/^http(s?):\/\//,h=(p=u.children[0])==null?void 0:p.path;return c.test(h)?u.path+"/"+h:h}function G(u,c){if(o.value.length===0||Q(u))return;let h="";const p=u.lastIndexOf("/");p>0&&(h=u.slice(0,p));function M(B,V){return V?V.map(g=>{g.path===B?g.redirect?M(g.redirect,g.children):A.emit("changLayoutRoute",{indexPath:B,parentPath:h}):g.children&&M(B,g.children)}):console.error(S)}M(u,c)}function Q(u){return X.includes(u)}return{title:y,device:v,layout:i,logout:P,routers:e,$storage:l,backTopMenu:R,onPanel:D,getDivStyle:a,changeTitle:C,toggleSideBar:j,menuSelect:G,handleResize:O,resolvePath:F,isCollapse:b,pureApp:t,username:s,avatarsStyle:f,tooltipEffect:n,getDropdownItemStyle:d,getDropdownItemClass:m}}function Me(t){const{$storage:e,changeTitle:o,handleResize:n}=ee(),{locale:a,t:s}=VueI18n.useI18n(),d=VueRouter.useRoute();function m(){e.locale={locale:"zh"},a.value="zh",t&&n(t.value)}function f(){e.locale={locale:"en"},a.value="en",t&&n(t.value)}return Vue.watch(()=>a.value,()=>{o(d.meta)}),{t:s,route:d,locale:a,translationCh:m,translationEn:f}}const te={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"},ne=Vue.createElementVNode("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1),oe=[ne];function ue(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",te,oe)}const Be={render:ue},k={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"/Users/zhangyi/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.0.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #001529 !default;
$menuHover: #4091f7 !default;
$subMenuBg: #0f0303 !default;
$subMenuActiveBg: #4091f7 !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #002140 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #4091f7 !default;
`},{scopeName:"layout-theme-light",varsContent:`
$subMenuActiveText: #409eff !default;
$menuBg: #fff !default;
$menuHover: #e0ebf6 !default;
$subMenuBg: #fff !default;
$subMenuActiveBg: #e0ebf6 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #fff !default;
$menuTitleHover: #000 !default;
$menuActiveBefore: #4091f7 !default;
`},{scopeName:"layout-theme-dusk",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #2a0608 !default;
$menuHover: #e13c39 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #e13c39 !default;
$menuText: rgb(254 254 254 / 65.1%) !default;
$sidebarLogo: #42090c !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #e13c39 !default;
`},{scopeName:"layout-theme-volcano",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #2b0e05 !default;
$menuHover: #e85f33 !default;
$subMenuBg: #0f0603 !default;
$subMenuActiveBg: #e85f33 !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #441708 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #e85f33 !default;
`},{scopeName:"layout-theme-yellow",varsContent:`
$subMenuActiveText: #d25f00 !default;
$menuBg: #2b2503 !default;
$menuHover: #f6da4d !default;
$subMenuBg: #0f0603 !default;
$subMenuActiveBg: #f6da4d !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #443b05 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #f6da4d !default;
`},{scopeName:"layout-theme-mingQing",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #032121 !default;
$menuHover: #59bfc1 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #59bfc1 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #053434 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #59bfc1 !default;
`},{scopeName:"layout-theme-auroraGreen",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #0b1e15 !default;
$menuHover: #60ac80 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #60ac80 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #112f21 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #60ac80 !default;
`},{scopeName:"layout-theme-pink",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #28081a !default;
$menuHover: #d84493 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #d84493 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #3f0d29 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #d84493 !default;
`},{scopeName:"layout-theme-saucePurple",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #130824 !default;
$menuHover: #693ac9 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #693ac9 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #1f0c38 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #693ac9 !default;
`}]},ae="/vue-pure-admin/",le="assets";function N(t){let e=t.replace("#","").match(/../g);for(let o=0;o<3;o++)e[o]=parseInt(e[o],16);return e}function I(t,e,o){let n=[t.toString(16),e.toString(16),o.toString(16)];for(let a=0;a<3;a++)n[a].length==1&&(n[a]=`0${n[a]}`);return`#${n.join("")}`}function re(t,e){let o=N(t);for(let n=0;n<3;n++)o[n]=Math.floor(o[n]*(1-e));return I(o[0],o[1],o[2])}function se(t,e){let o=N(t);for(let n=0;n<3;n++)o[n]=Math.floor((255-o[n])*e+o[n]);return I(o[0],o[1],o[2])}function _(t){return`(^${t}\\s+|\\s+${t}\\s+|\\s+${t}$|^${t}$)`}function E({scopeName:t,multipleScopeVars:e}){const o=Array.isArray(e)&&e.length?e:k.multipleScopeVars;let n=document.documentElement.className;new RegExp(_(t)).test(n)||(o.forEach(a=>{n=n.replace(new RegExp(_(a.scopeName),"g"),` ${t} `)}),document.documentElement.className=n.replace(/(^\s+|\s+$)/g,""))}function z({id:t,href:e}){const o=document.createElement("link");return o.rel="stylesheet",o.href=e,o.id=t,o}function ce(t){const e={scopeName:"theme-default",customLinkHref:s=>s,...t},o=e.themeLinkTagId||k.themeLinkTagId;let n=document.getElementById(o);const a=e.customLinkHref(`${ae.replace(/\/$/,"")}${`/${le}/${e.scopeName}.css`.replace(/\/+(?=\/)/g,"")}`);if(n){n.id=`${o}_old`;const s=z({id:o,href:a});n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),s.onload=()=>{setTimeout(()=>{n.parentNode.removeChild(n),n=null},60),E(e)};return}n=z({id:o,href:a}),E(e),document[(e.themeLinkTagInjectTo||k.themeLinkTagInjectTo||"").replace("-prepend","")].appendChild(n)}function ke(){var v;const{layoutTheme:t,layout:e}=Z(),o=Vue.ref([{color:"#1b2a47",themeColor:"default"},{color:"#ffffff",themeColor:"light"},{color:"#f5222d",themeColor:"dusk"},{color:"#fa541c",themeColor:"volcano"},{color:"#fadb14",themeColor:"yellow"},{color:"#13c2c2",themeColor:"mingQing"},{color:"#52c41a",themeColor:"auroraGreen"},{color:"#eb2f96",themeColor:"pink"},{color:"#722ed1",themeColor:"saucePurple"}]),{$storage:n}=x(),a=Vue.ref((v=n==null?void 0:n.layout)==null?void 0:v.darkMode),s=document.documentElement;function d(l=T().Theme??"default"){var r,i;if(t.value.theme=l,ce({scopeName:`layout-theme-${l}`}),n.layout={layout:e.value,theme:l,darkMode:a.value,sidebarStatus:(r=n.layout)==null?void 0:r.sidebarStatus,epThemeColor:(i=n.layout)==null?void 0:i.epThemeColor},l==="default"||l==="light")f(T().EpThemeColor);else{const y=o.value.find(C=>C.themeColor===l);f(y.color)}}function m(l,r,i){document.documentElement.style.setProperty(`--el-color-primary-${l}-${r}`,a.value?re(i,r/10):se(i,r/10))}const f=l=>{$().setEpThemeColor(l),document.documentElement.style.setProperty("--el-color-primary",l);for(let r=1;r<=2;r++)m("dark",r,l);for(let r=1;r<=9;r++)m("light",r,l)};function b(){$().epTheme==="light"&&a.value?d("default"):d($().epTheme),a.value?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return{body:s,dataTheme:a,layoutTheme:t,themeColors:o,dataThemeChange:b,setEpThemeColor:f,setLayoutThemeColor:d}}const de={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},fe=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),ie=Vue.createElementVNode("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"},null,-1),me=[fe,ie];function he(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",de,me)}const xe={render:he},ge={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},pe=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),ve=Vue.createElementVNode("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"},null,-1),$e=[pe,ve];function Te(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",ge,$e)}const we={render:Te};export{Me as a,ke as b,we as c,xe as d,Z as e,Be as g,ce as t,ee as u};

91
dist/static/js/dark-8da7fda0.js vendored Normal file
View File

@ -0,0 +1,91 @@
import{bd as H,x as d,bi as K,bc as X,Y as G,a$ as ee,bj as te,D as ne,au as y,bk as z,G as E,bl as oe,b7 as ae,b8 as I,bm as ue,aZ as le,y as re,f as L,k as A,i as b,r as N}from"./index-0dd8d5e4.js";import{u as se}from"./app-9580cee8.js";import{u as T}from"./epTheme-ec99570c.js";function fe(){const{$storage:t,$config:e}=H(),o=()=>{K().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=X),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},G().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=d(()=>t==null?void 0:t.layout.layout),u=d(()=>t.layout);return{layout:n,layoutTheme:u,initStorage:o}}const P="当前路由配置不正确,请检查配置";function de(){var S;const t=se(),e=ee().options.routes,{wholeMenus:o}=te(ne()),n=((S=y())==null?void 0:S.TooltipEffect)??"light",u=d(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),s=d(()=>{var a;return(a=z())==null?void 0:a.username}),c=d(()=>(a,f)=>({background:a===f?T().epThemeColor:"",color:a===f?"#f4f4f5":"#000"})),h=d(()=>(a,f)=>a===f?"":"dark:hover:!text-primary"),i=d(()=>s.value?{marginRight:"10px"}:""),C=d(()=>!t.getSidebarStatus),$=d(()=>t.getDevice),{$storage:l,$config:r}=H(),m=d(()=>{var a;return(a=l==null?void 0:l.layout)==null?void 0:a.layout}),M=d(()=>r.Title);function B(a){const f=y().Title;f?document.title=`${E(a.title)} | ${f}`:document.title=E(a.title)}function F(){z().logOut()}function Q(){oe.push(ae().path)}function U(){I.emit("openPanel")}function W(){t.toggleSideBar()}function Y(a){a==null||a.handleResize()}function Z(a){var v;if(!a.children)return console.error(P);const f=/^http(s?):\/\//,g=(v=a.children[0])==null?void 0:v.path;return f.test(g)?a.path+"/"+g:g}function q(a,f){if(o.value.length===0||J(a))return;let g="";const v=a.lastIndexOf("/");v>0&&(g=a.slice(0,v));function k(x,_){return _?_.map(p=>{p.path===x?p.redirect?k(p.redirect,p.children):I.emit("changLayoutRoute",{indexPath:x,parentPath:g}):p.children&&k(x,p.children)}):console.error(P)}k(a,f)}function J(a){return ue.includes(a)}return{title:M,device:$,layout:m,logout:F,routers:e,$storage:l,backTopMenu:Q,onPanel:U,getDivStyle:u,changeTitle:B,toggleSideBar:W,menuSelect:q,handleResize:Y,resolvePath:Z,isCollapse:C,pureApp:t,username:s,avatarsStyle:i,tooltipEffect:n,getDropdownItemStyle:c,getDropdownItemClass:h}}function ze(t){const{$storage:e,changeTitle:o,handleResize:n}=de(),{locale:u,t:s}=G(),c=le();function h(){e.locale={locale:"zh"},u.value="zh",t&&n(t.value)}function i(){e.locale={locale:"en"},u.value="en",t&&n(t.value)}return re(()=>u.value,()=>{o(c.meta)}),{t:s,route:c,locale:u,translationCh:h,translationEn:i}}const ce={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"},ie=b("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1),me=[ie];function he(t,e){return L(),A("svg",ce,me)}const Ee={render:he},w={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"/Users/zhangyi/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.0.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #001529 !default;
$menuHover: #4091f7 !default;
$subMenuBg: #0f0303 !default;
$subMenuActiveBg: #4091f7 !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #002140 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #4091f7 !default;
`},{scopeName:"layout-theme-light",varsContent:`
$subMenuActiveText: #409eff !default;
$menuBg: #fff !default;
$menuHover: #e0ebf6 !default;
$subMenuBg: #fff !default;
$subMenuActiveBg: #e0ebf6 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #fff !default;
$menuTitleHover: #000 !default;
$menuActiveBefore: #4091f7 !default;
`},{scopeName:"layout-theme-dusk",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #2a0608 !default;
$menuHover: #e13c39 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #e13c39 !default;
$menuText: rgb(254 254 254 / 65.1%) !default;
$sidebarLogo: #42090c !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #e13c39 !default;
`},{scopeName:"layout-theme-volcano",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #2b0e05 !default;
$menuHover: #e85f33 !default;
$subMenuBg: #0f0603 !default;
$subMenuActiveBg: #e85f33 !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #441708 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #e85f33 !default;
`},{scopeName:"layout-theme-yellow",varsContent:`
$subMenuActiveText: #d25f00 !default;
$menuBg: #2b2503 !default;
$menuHover: #f6da4d !default;
$subMenuBg: #0f0603 !default;
$subMenuActiveBg: #f6da4d !default;
$menuText: rgb(254 254 254 / 65%) !default;
$sidebarLogo: #443b05 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #f6da4d !default;
`},{scopeName:"layout-theme-mingQing",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #032121 !default;
$menuHover: #59bfc1 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #59bfc1 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #053434 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #59bfc1 !default;
`},{scopeName:"layout-theme-auroraGreen",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #0b1e15 !default;
$menuHover: #60ac80 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #60ac80 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #112f21 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #60ac80 !default;
`},{scopeName:"layout-theme-pink",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #28081a !default;
$menuHover: #d84493 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #d84493 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #3f0d29 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #d84493 !default;
`},{scopeName:"layout-theme-saucePurple",varsContent:`
$subMenuActiveText: #fff !default;
$menuBg: #130824 !default;
$menuHover: #693ac9 !default;
$subMenuBg: #000 !default;
$subMenuActiveBg: #693ac9 !default;
$menuText: #7a80b4 !default;
$sidebarLogo: #1f0c38 !default;
$menuTitleHover: #fff !default;
$menuActiveBefore: #693ac9 !default;
`}]},ge="/vue-pure-admin/",pe="assets";function O(t){let e=t.replace("#","").match(/../g);for(let o=0;o<3;o++)e[o]=parseInt(e[o],16);return e}function V(t,e,o){let n=[t.toString(16),e.toString(16),o.toString(16)];for(let u=0;u<3;u++)n[u].length==1&&(n[u]=`0${n[u]}`);return`#${n.join("")}`}function ve(t,e){let o=O(t);for(let n=0;n<3;n++)o[n]=Math.floor(o[n]*(1-e));return V(o[0],o[1],o[2])}function be(t,e){let o=O(t);for(let n=0;n<3;n++)o[n]=Math.floor((255-o[n])*e+o[n]);return V(o[0],o[1],o[2])}function D(t){return`(^${t}\\s+|\\s+${t}\\s+|\\s+${t}$|^${t}$)`}function R({scopeName:t,multipleScopeVars:e}){const o=Array.isArray(e)&&e.length?e:w.multipleScopeVars;let n=document.documentElement.className;new RegExp(D(t)).test(n)||(o.forEach(u=>{n=n.replace(new RegExp(D(u.scopeName),"g"),` ${t} `)}),document.documentElement.className=n.replace(/(^\s+|\s+$)/g,""))}function j({id:t,href:e}){const o=document.createElement("link");return o.rel="stylesheet",o.href=e,o.id=t,o}function $e(t){const e={scopeName:"theme-default",customLinkHref:s=>s,...t},o=e.themeLinkTagId||w.themeLinkTagId;let n=document.getElementById(o);const u=e.customLinkHref(`${ge.replace(/\/$/,"")}${`/${pe}/${e.scopeName}.css`.replace(/\/+(?=\/)/g,"")}`);if(n){n.id=`${o}_old`;const s=j({id:o,href:u});n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),s.onload=()=>{setTimeout(()=>{n.parentNode.removeChild(n),n=null},60),R(e)};return}n=j({id:o,href:u}),R(e),document[(e.themeLinkTagInjectTo||w.themeLinkTagInjectTo||"").replace("-prepend","")].appendChild(n)}function Ie(){var $;const{layoutTheme:t,layout:e}=fe(),o=N([{color:"#1b2a47",themeColor:"default"},{color:"#ffffff",themeColor:"light"},{color:"#f5222d",themeColor:"dusk"},{color:"#fa541c",themeColor:"volcano"},{color:"#fadb14",themeColor:"yellow"},{color:"#13c2c2",themeColor:"mingQing"},{color:"#52c41a",themeColor:"auroraGreen"},{color:"#eb2f96",themeColor:"pink"},{color:"#722ed1",themeColor:"saucePurple"}]),{$storage:n}=H(),u=N(($=n==null?void 0:n.layout)==null?void 0:$.darkMode),s=document.documentElement;function c(l=y().Theme??"default"){var r,m;if(t.value.theme=l,$e({scopeName:`layout-theme-${l}`}),n.layout={layout:e.value,theme:l,darkMode:u.value,sidebarStatus:(r=n.layout)==null?void 0:r.sidebarStatus,epThemeColor:(m=n.layout)==null?void 0:m.epThemeColor},l==="default"||l==="light")i(y().EpThemeColor);else{const M=o.value.find(B=>B.themeColor===l);i(M.color)}}function h(l,r,m){document.documentElement.style.setProperty(`--el-color-primary-${l}-${r}`,u.value?ve(m,r/10):be(m,r/10))}const i=l=>{T().setEpThemeColor(l),document.documentElement.style.setProperty("--el-color-primary",l);for(let r=1;r<=2;r++)h("dark",r,l);for(let r=1;r<=9;r++)h("light",r,l)};function C(){T().epTheme==="light"&&u.value?c("default"):c(T().epTheme),u.value?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return{body:s,dataTheme:u,layoutTheme:t,themeColors:o,dataThemeChange:C,setEpThemeColor:i,setLayoutThemeColor:c}}const Te={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},ye=b("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),Ce=b("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"},null,-1),Me=[ye,Ce];function Be(t,e){return L(),A("svg",Te,Me)}const Ne={render:Be},ke={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},xe=b("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),we=b("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"},null,-1),He=[xe,we];function Le(t,e){return L(),A("svg",ke,He)}const Pe={render:Le};export{ze as a,Ie as b,Pe as c,Ne as d,fe as e,Ee as g,$e as t,de as u};

1
dist/static/js/data-4845d266.js vendored Normal file
View File

@ -0,0 +1 @@
import{bo as r,J as t}from"./index-0dd8d5e4.js";const s=r(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${r(new Date).format("YYYY-MM")}-${a+1}`})});const n=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e)));export{n as a,m as b,o as t};

View File

@ -1 +1 @@
import{J as t}from"./index-c61a73ff.js";const a=dayjs(new Date).format("YYYY-MM-DD"),e=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=t(e,!0),r=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),o=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),S=i.map((s,n)=>Object.assign(s,{date:`${dayjs(new Date).format("YYYY-MM")}-${n+1}`})),d=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{r as a,S as b,d as c,o as d,e as t};
import{bo as t,J as e}from"./index-0dd8d5e4.js";const a=t(new Date).format("YYYY-MM-DD"),c=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=e(c,!0),o=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),S=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),d=i.map((s,n)=>Object.assign(s,{date:`${t(new Date).format("YYYY-MM")}-${n+1}`})),m=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{o as a,d as b,m as c,S as d,c as t};

View File

@ -1 +0,0 @@
import{J as t}from"./index-c61a73ff.js";const s=dayjs(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`})});const d=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e))),n=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e)));export{d as a,n as b,o as t};

1
dist/static/js/debounce-27797450.js vendored Normal file
View File

@ -0,0 +1 @@
import{m}from"./message-ac5811da.js";import{d as h,c as d,k as f,g as t,w as e,f as p,u as c,h as a,i as o,N as _,S as k}from"./index-0dd8d5e4.js";const C=o("div",null,"防抖debounce",-1),b=o("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),v=o("div",null,"节流throttle",-1),w=o("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),D=h({name:"Debounce",__name:"debounce",setup(x){const n=()=>m("恭喜你,这是一条成功消息",{type:"success"}),i=_(n,1e3,!0),r=_(n,1e3),u=k(n);return(N,B)=>{const s=d("el-button"),l=d("el-card");return p(),f("div",null,[t(l,{class:"mb-5",shadow:"never"},{header:e(()=>[C]),default:e(()=>[b,t(s,{onClick:c(i)},{default:e(()=>[a(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),t(s,{onClick:c(r)},{default:e(()=>[a(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),t(l,{shadow:"never"},{header:e(()=>[v]),default:e(()=>[w,t(s,{onClick:c(u)},{default:e(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{D as default};

View File

@ -1 +0,0 @@
import{m as d}from"./message-9ae1daa3.js";import{E as n,S as l}from"./index-c61a73ff.js";const V=Vue.createElementVNode("div",null,"防抖debounce",-1),r=Vue.createElementVNode("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),s=Vue.createElementVNode("div",null,"节流throttle",-1),i=Vue.createElementVNode("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),p=Vue.defineComponent({name:"Debounce",__name:"debounce",setup(_){const e=()=>d("恭喜你,这是一条成功消息",{type:"success"}),c=n(e,1e3,!0),u=n(e,1e3),a=l(e);return(m,h)=>{const t=Vue.resolveComponent("el-button"),o=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createVNode(o,{class:"mb-5",shadow:"never"},{header:Vue.withCtx(()=>[V]),default:Vue.withCtx(()=>[r,Vue.createVNode(t,{onClick:Vue.unref(c)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),Vue.createVNode(t,{onClick:Vue.unref(u)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),Vue.createVNode(o,{shadow:"never"},{header:Vue.withCtx(()=>[s]),default:Vue.withCtx(()=>[i,Vue.createVNode(t,{onClick:Vue.unref(a)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{p as default};

1
dist/static/js/download-82053b96.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
const a={width:1024,height:1024,body:'<path fill="currentColor" d="M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"/><path fill="currentColor" d="m469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"/>'},l=a;export{l as E};
const a={width:1024,height:1024,body:'<path fill="currentColor" d="M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"/><path fill="currentColor" d="m469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"/>'};export{a as d};

View File

@ -1 +0,0 @@
import{s as o,w as r,x as m,y as h}from"./index-c61a73ff.js";const s=Pinia.defineStore({id:"pure-epTheme",state:()=>{var e,t;return{epThemeColor:((e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)??m().EpThemeColor,epTheme:((t=o().getItem(`${r()}layout`))==null?void 0:t.theme)??m().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":e.epTheme==="yellow"?"#d25f00":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function l(){return s(h)}export{l as u};

1
dist/static/js/epTheme-ec99570c.js vendored Normal file
View File

@ -0,0 +1 @@
import{ar as s,as as o,at as r,au as m,av as h}from"./index-0dd8d5e4.js";const p=s({id:"pure-epTheme",state:()=>{var e,t;return{epThemeColor:((e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)??m().EpThemeColor,epTheme:((t=o().getItem(`${r()}layout`))==null?void 0:t.theme)??m().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":e.epTheme==="yellow"?"#d25f00":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function l(){return p(h)}export{l as u};

View File

@ -1 +0,0 @@
import{u as s,w as p}from"./xlsx-e927f539.js";const h={class:"font-medium"},x={class:"h-[25rem] mt-3"},w=Vue.defineComponent({name:"Excel",__name:"execl",setup(f){const V=(o=10,t="column-",n)=>Array.from({length:o}).map((r,e)=>({...n,key:`${t}${e}`,dataKey:`${t}${e}`,title:`Column ${e}`,width:150})),d=(o,t=200,n="row-")=>Array.from({length:t}).map((r,e)=>o.reduce((a,u,l)=>(a[u.dataKey]=`Row ${e} - Col ${l}`,a),{id:`${n}${e}`,parentId:null})),c=V(10),_=d(c,1e3),i=()=>{const o=_.map(e=>{const a=[];return c.forEach(u=>{a.push(e[u.dataKey])}),a}),t=[];c.forEach(e=>{t.push(e.title)}),o.unshift(t);const n=s.aoa_to_sheet(o),r=s.book_new();s.book_append_sheet(r,n,"数据报表"),p(r,"tableV2.xlsx")};return(o,t)=>{const n=Vue.resolveComponent("el-link"),r=Vue.resolveComponent("el-button"),e=Vue.resolveComponent("el-table-v2"),a=Vue.resolveComponent("el-auto-resizer"),u=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(u,{shadow:"never"},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",h,[Vue.createTextVNode(" 导出Execl "),Vue.createVNode(n,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" github地址 ")]),_:1}),Vue.createTextVNode(" ")])]),default:Vue.withCtx(()=>[Vue.createVNode(r,{type:"primary",onClick:i},{default:Vue.withCtx(()=>[Vue.createTextVNode("导出Excel")]),_:1}),Vue.createElementVNode("div",x,[Vue.createVNode(a,null,{default:Vue.withCtx(({height:l,width:m})=>[Vue.createVNode(e,{columns:Vue.unref(c),data:Vue.unref(_),width:m,height:l,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{w as default};

1
dist/static/js/execl-48f63f3f.js vendored Normal file
View File

@ -0,0 +1 @@
import{u as d,w as y}from"./xlsx-e927f539.js";import{d as $,c,e as g,w as l,f as C,i as h,h as i,g as u,u as f}from"./index-0dd8d5e4.js";const v={class:"font-medium"},E={class:"h-[25rem] mt-3"},z=$({name:"Excel",__name:"execl",setup(B){const k=(o=10,t="column-",a)=>Array.from({length:o}).map((s,e)=>({...a,key:`${t}${e}`,dataKey:`${t}${e}`,title:`Column ${e}`,width:150})),x=(o,t=200,a="row-")=>Array.from({length:t}).map((s,e)=>o.reduce((n,r,m)=>(n[r.dataKey]=`Row ${e} - Col ${m}`,n),{id:`${a}${e}`,parentId:null})),_=k(10),p=x(_,1e3),b=()=>{const o=p.map(e=>{const n=[];return _.forEach(r=>{n.push(e[r.dataKey])}),n}),t=[];_.forEach(e=>{t.push(e.title)}),o.unshift(t);const a=d.aoa_to_sheet(o),s=d.book_new();d.book_append_sheet(s,a,"数据报表"),y(s,"tableV2.xlsx")};return(o,t)=>{const a=c("el-link"),s=c("el-button"),e=c("el-table-v2"),n=c("el-auto-resizer"),r=c("el-card");return C(),g(r,{shadow:"never"},{header:l(()=>[h("div",v,[i(" 导出Execl "),u(a,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:l(()=>[i(" github地址 ")]),_:1}),i(" ")])]),default:l(()=>[u(s,{type:"primary",onClick:b},{default:l(()=>[i("导出Excel")]),_:1}),h("div",E,[u(n,null,{default:l(({height:m,width:w})=>[u(e,{columns:f(_),data:f(p),width:w,height:m,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{z as default};

Some files were not shown because too many files have changed in this diff Show More