Merge branch 'main' of github.com:pure-admin/vue-pure-admin into gitee

This commit is contained in:
xiaoxian521 2023-06-04 12:47:03 +08:00
parent 55129577c7
commit 0e09b8c809
437 changed files with 1435 additions and 1269 deletions

View File

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

15
dist/index.html vendored
View File

@ -7,16 +7,7 @@
<meta name="renderer" content="webkit" /> <meta name="renderer" content="webkit" />
<meta name="viewport" <meta name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" /> 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.5/index.min.css" rel="stylesheet"> <title>vue-pure-admin</title>
<script src="https://cdn.bootcdn.net/ajax/libs/vue/3.3.4/vue.global.prod.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vue-router/4.2.1/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.1/index.iife.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/pinia/2.1.3/pinia.iife.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/element-plus/2.3.5/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>
<link rel="icon" href="/vue-pure-admin/favicon.ico" /> <link rel="icon" href="/vue-pure-admin/favicon.ico" />
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
@ -30,8 +21,8 @@
<script> <script>
window.process = {}; window.process = {};
</script> </script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-fa5d6b3f.js"></script> <script type="module" crossorigin src="/vue-pure-admin/static/js/index-3eff57df.js"></script>
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-f006dd2b.css"> <link rel="stylesheet" href="/vue-pure-admin/static/css/index-65339ac4.css">
<link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-default.css" id="theme-link-tag"> <link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-default.css" id="theme-link-tag">
</head> </head>

View File

@ -1,5 +1,5 @@
{ {
"Version": "4.2.0", "Version": "4.3.0",
"Title": "PureAdmin", "Title": "PureAdmin",
"FixedHeader": true, "FixedHeader": true,
"HiddenSideBar": false, "HiddenSideBar": false,

1
dist/static/css/index-65339ac4.css 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

1
dist/static/js/403-66166185.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/404-3eaaefb4.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/js/500-31c1d3e2.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 +0,0 @@
import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-402eb711.js";import"./app-713d5fa9.js";import"./index-fa5d6b3f.js";export{o as default};

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

@ -0,0 +1 @@
import{_ as o}from"./Bar.vue_vue_type_script_setup_true_lang-7a5a4220.js";import"./app-4e091245.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{u as c}from"./app-713d5fa9.js";import{F as n,Q as l,am as e,w as f}from"./index-fa5d6b3f.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 _};

View File

@ -0,0 +1 @@
import{u as c}from"./app-4e091245.js";import{d as n,a6 as l,y as f,r as p,az as d,bz as e,A as h,e as m,j as u,aB as b}from"./index-3eff57df.js";const _=n({__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(()=>c().getSidebarStatus,()=>{b(600).then(()=>s())}),(i,y)=>(m(),u("div",{ref_key:"barChartRef",ref:t,style:{width:"100%",height:"35vh"}},null,512))}});export{_};

File diff suppressed because one or more lines are too long

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

@ -0,0 +1 @@
import{e as t,j as i,h as o,d as M,y as f,b as s,f as n,w as a,ao as g,c as l,u as d,ab as r,g as u,E as m,_ as I}from"./index-3eff57df.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 j(e,c){return t(),i("svg",S,N)}const O={render:j},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=M({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:c}){const v=e,V=h=>{c("manage-product",h)},x=h=>{c("delete-item",h)},w=f(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),$=f(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(h,_)=>{const C=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($.value)},[e.product.type===1?(t(),l(d(O),{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(C,{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]=b=>V(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=b=>x(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};

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

@ -0,0 +1 @@
import{_ as o}from"./DialogForm.vue_vue_type_script_setup_true_lang-4c892eca.js";import"./message-06c300cd.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./DialogForm.vue_vue_type_script_setup_true_lang-6d11c564.js";import"./message-6f31e976.js";import"./index-fa5d6b3f.js";export{o as default};

View File

@ -0,0 +1 @@
import{m as T}from"./message-06c300cd.js";import{d as j,r as p,A as _,b as n,c as L,w as t,e as g,f as a,g as d,j as R,k as q,E as A,F as E}from"./index-3eff57df.js";const P=j({__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(""),F=async o=>{o&&await o.validate(e=>{e&&(T("提交成功",{type:"success"}),s.value=!1,b(o))})},b=o=>{o&&o.resetFields()},c=()=>{s.value=!1,b(i.value)};_(()=>s.value,o=>{w("update:visible",o)}),_(()=>m.visible,o=>{s.value=o}),_(()=>m.data,o=>{u.value=o});const C={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(),L(O,{modelValue:s.value,"onUpdate:modelValue":e[6]||(e[6]=l=>s.value=l),title:"新建产品",width:680,draggable:"","before-close":c},{footer:t(()=>[a(y,{onClick:c},{default:t(()=>[d("取消")]),_:1}),a(y,{type:"primary",onClick:e[5]||(e[5]=l=>F(i.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:i,model:u.value,rules:C,"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(),R(E,null,q(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(A(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{P as _};

View File

@ -1 +0,0 @@
import{m as h}from"./message-6f31e976.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

@ -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-5a8c16c1.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-3bbc6858.js";import"./columns-951eefbe.js";import"./index-271b661b.js";import"./index-3eff57df.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-951eefbe.js";import{d as u,b as t,e as a,j as i,k as p,f as _,F as d}from"./index-3eff57df.js";const h=u({__name:"Github",setup(f){const{columnsA:o,columnsB:e,columnsC:s}=r(),c=[{columns:o,column:3},{columns:e,column:2},{columns:s,column:1}];return(k,C)=>{const l=t("PureDescriptions");return a(),i(d,null,p(c,(n,m)=>_(l,{key:m,columns:n.columns,column:n.column,direction:"vertical",border:""},null,8,["columns","column"])),64)}}});export{h 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{_};

1
dist/static/js/Line-187da733.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-de860c9a.js";import"./app-4e091245.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-4eee4c12.js";import"./app-713d5fa9.js";import"./index-fa5d6b3f.js";export{o as default};

View File

@ -1 +0,0 @@
import{u as m}from"./app-713d5fa9.js";import{F as p,Q as u,s as f,w as d}from"./index-fa5d6b3f.js";const g=Vue.defineComponent({__name:"Line",setup(h){const{isDark:s}=p(),l=Vue.computed(()=>s.value?"dark":"default"),r=Vue.ref(null),{setOptions:n,getInstance:i,resize:c}=u(r,{theme:l}),o=(()=>{const e=[];for(let a=1;a<31;a++)e.push(`${a}`);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: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-4e091245.js";import{d as p,a6 as u,y as d,r as f,az as h,aA as y,A as k,e as g,j as x,aB as b}from"./index-3eff57df.js";const A=p({__name:"Line",setup(_){const{isDark:o}=u(),l=d(()=>o.value?"dark":"default"),r=f(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)=>(g(),x("div",{ref_key:"lineChartRef",ref:r,style:{width:"100%",height:"35vh"}},null,512))}});export{A as _};

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

@ -0,0 +1 @@
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-713b9525.js";import"./app-4e091245.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-457d686f.js";import"./app-713d5fa9.js";import"./index-fa5d6b3f.js";export{o as default};

View File

@ -1 +0,0 @@
import{u as o}from"./app-713d5fa9.js";import{F as s,Q as i,w as l}from"./index-fa5d6b3f.js";const f=Vue.defineComponent({__name:"Pie",setup(u){const{isDark:a}=s(),r=Vue.computed(()=>a.value?"dark":"light"),e=Vue.ref(null),{setOptions:c,resize:n}=i(e,{theme:r});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

@ -0,0 +1 @@
import{u as n}from"./app-4e091245.js";import{d as o,a6 as i,y as l,r as p,az as m,A as u,e as h,j as f,aB as k}from"./index-3eff57df.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,_)=>(h(),f("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{y 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};

1
dist/static/js/app-4e091245.js vendored Normal file
View File

@ -0,0 +1 @@
import{aC as r,aD as s,aE as i,aF as o,ak as u,aG as d}from"./index-3eff57df.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

@ -1 +0,0 @@
import{x as a,y as i,A as o,R as r,D as u}from"./index-fa5d6b3f.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};

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};

View File

@ -1 +0,0 @@
const e={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},t=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),n=Vue.createElementVNode("path",{d:"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zm6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42.137 42.137 0 0 0 4.227-.454A33.913 33.913 0 0 0 12 4.09a33.913 33.913 0 0 0-6.649 12.387c1.395.222 2.805.374 4.227.454zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"},null,-1),o=[t,n];function c(a,l){return Vue.openBlock(),Vue.createElementBlock("svg",e,o)}const s={render:c};export{s as b};

1
dist/static/js/back_top-f2d7bfb8.js vendored Normal file
View File

@ -0,0 +1 @@
import{e as t,j as o,h as e}from"./index-3eff57df.js";const a={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},c=e("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),n=e("path",{d:"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zm6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42.137 42.137 0 0 0 4.227-.454A33.913 33.913 0 0 0 12 4.09a33.913 33.913 0 0 0-6.649 12.387c1.395.222 2.805.374 4.227.454zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"},null,-1),s=[c,n];function h(l,r){return t(),o("svg",a,s)}const _={render:h};export{_ as b};

1
dist/static/js/barcode-87bb7ff9.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

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

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-c25fae84.js";import"./index.esm-49123f9e.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-edadd1d0.js";import"./data-91deb383.js";import"./index-fa5d6b3f.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as m}from"./base.vue_vue_type_script_setup_true_lang-c462fdcc.js";import"./index.esm-6e095cf4.js";export{m as default};

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

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-f8e2cab6.js";import"./data-c7cd4042.js";import"./index-3eff57df.js";export{o as default};

View File

@ -0,0 +1 @@
import{T as c,E as f}from"./index.esm-49123f9e.js";import{d as m,aW as p,r as v,o as _,a as C,e as g,j as h,f as l,u as n}from"./index-3eff57df.js";const b={class:"wangeditor"},r="default",E=m({name:"BaseEditor",__name:"base",setup(x){const o=p(),t=v("<p>你好</p>");_(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return C(()=>{const e=o.value;e!=null&&e.destroy()}),(e,a)=>(g(),h("div",b,[l(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),l(n(f),{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=i=>t.value=i),defaultConfig:d,mode:r,style:{height:"500px","overflow-y":"hidden"},onOnCreated:u},null,8,["modelValue"])]))}});export{E as _};

View File

@ -1 +0,0 @@
import{T as s,E as i}from"./index.esm-6e095cf4.js";const c={class:"wangeditor"},n="default",m=Vue.defineComponent({name:"BaseEditor",__name:"base",setup(f){const o=Vue.shallowRef(),t=Vue.ref("<p>你好</p>");Vue.onMounted(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const u={excludeKeys:"fullScreen"},r={placeholder:"请输入内容..."},a=e=>{o.value=e};return Vue.onBeforeUnmount(()=>{const e=o.value;e!=null&&e.destroy()}),(e,l)=>(Vue.openBlock(),Vue.createElementBlock("div",c,[Vue.createVNode(Vue.unref(s),{editor:o.value,defaultConfig:u,mode:n,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),Vue.createVNode(Vue.unref(i),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),defaultConfig:r,mode:n,style:{height:"500px","overflow-y":"hidden"},onOnCreated:a},null,8,["modelValue"])]))}});export{m as _};

View File

@ -1 +0,0 @@
import{t as o}from"./data-91deb383.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-c7cd4042.js";import{d as t,b as n,e as r,c as p,u as s}from"./index-3eff57df.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 _};

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-fa5d6b3f.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};

1
dist/static/js/basic-b5d9be25.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-d6228a0c.js";import{d as h,_ as b,b as a,i as F,e as p,j as r,m as B,f as e,w as t,g as u,p as w,q as E,h as x}from"./index-3eff57df.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)),G=[$];function N(o,V,g,k,y,j){const n=a("v-contextmenu-item"),c=a("v-contextmenu-divider"),s=a("v-contextmenu-submenu"),v=a("v-contextmenu"),f=F("contextmenu");return p(),r("div",null,[S,B((p(),r("div",A,G)),[[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(c),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(c),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const L=b(I,[["render",N],["__scopeId","data-v-17318510"]]);export{L as default};

View File

@ -1 +1 @@
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-a6781784.js";import"./data-91deb383.js";import"./index-fa5d6b3f.js";export{o as default}; import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-e458ad6a.js";import"./data-c7cd4042.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{t as a}from"./data-91deb383.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-c7cd4042.js";import{d as r,b as t,e as n,c as p,u as s}from"./index-3eff57df.js";const d=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{d as _};

File diff suppressed because one or more lines are too long

1
dist/static/js/cascader-d41f0bc4.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};

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

@ -0,0 +1 @@
import{S as m}from"./sortable.esm-e674cde8.js";import{r as o,K as i,o as b,n as l}from"./index-3eff57df.js";import{a as v}from"./data-3f5d9da4.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{S as c}from"./sortable.esm-e674cde8.js";import{K as s}from"./index-fa5d6b3f.js";import{a as u}from"./data-5870e2fd.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};

View File

@ -1 +0,0 @@
import{m as s}from"./message-6f31e976.js";import{b as r}from"./data-5870e2fd.js";import"./index-fa5d6b3f.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};

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

@ -0,0 +1 @@
import{r as c,K as i,a6 as n,y as p,az as u,av as f}from"./index-3eff57df.js";import{a as h}from"./data-3f5d9da4.js";import{m as d}from"./message-06c300cd.js";function w(){const a=c(i(h,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=n(),r=p(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:o}=u(f(`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}})=>{d(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:a}}export{w as useColumns};

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

@ -0,0 +1 @@
import{d as r}from"./arrow-right-s-line-2977cc7e.js";import{f as l,b as e,g as o}from"./index-3eff57df.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};

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

@ -0,0 +1 @@
import{m as u}from"./message-06c300cd.js";import{b as r}from"./data-3f5d9da4.js";import{r as p,ag as i}from"./index-3eff57df.js";function g(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{g as useColumns};

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

@ -0,0 +1 @@
import{m as o}from"./message-06c300cd.js";import{t as m}from"./data-c7cd4042.js";import{r as d,y as i,f as t,b as s,g as r,F as p}from"./index-3eff57df.js";function y(){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{y as useColumns};

View File

@ -1 +0,0 @@
import{P as d}from"./print-a6e42845.js";import{b}from"./data-5870e2fd.js";import{K as c}from"./index-fa5d6b3f.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-37e88182.js vendored Normal file
View File

@ -0,0 +1 @@
import{S as c}from"./sortable.esm-e674cde8.js";import{r as p,K as i,f as a,b as u,n as d}from"./index-3eff57df.js";import{a as m}from"./data-3f5d9da4.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};

View File

@ -1 +0,0 @@
function i(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.7","@logicflow/extension":"^1.2.7","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.2.0","@pureadmin/utils":"^1.9.2","@vueuse/core":"^10.1.2","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@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.5","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.1.3",qrcode:"^1.5.3",qs:"^6.11.1","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.3.2",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.1","vue-types":"^5.0.3","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",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.7","@typescript-eslint/parser":"^5.59.7","@vitejs/plugin-vue":"^4.2.3","@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.41.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.14.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.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.0",sass:"^1.62.1","sass-loader":"^13.3.0",stylelint:"^15.6.2","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.6",typescript:"^5.0.4",vite:"^4.3.9","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.3.0","vue-tsc":"^1.6.5"},name:"vue-pure-admin",version:"4.2.0"},lastBuildTime:"2023-05-29 11:35:03"},{version:r}=e;return{columns:[{label:"版本",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(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:"精简版",cellRenderer:()=>Vue.createVNode("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("精简版")])])}]}}export{n as useColumns};

View File

@ -1 +0,0 @@
import{b as l}from"./data-5870e2fd.js";import"./index-fa5d6b3f.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};

View File

@ -1 +0,0 @@
import{m as l}from"./message-6f31e976.js";import{t as r}from"./data-91deb383.js";import"./index-fa5d6b3f.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};

View File

@ -1,10 +0,0 @@
import{t as g}from"./data-5870e2fd.js";import{w as r,K as p}from"./index-fa5d6b3f.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{u as t,w as u}from"./xlsx-f5126985.js";import{a as m}from"./data-5870e2fd.js";import{K as i}from"./index-fa5d6b3f.js";import{m as f}from"./message-6f31e976.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};

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

@ -0,0 +1 @@
import{f as e,b as n,g as i,aR as o}from"./index-3eff57df.js";function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function u(){const{pkg:t,lastBuildTime:s}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.7","@logicflow/core":"^1.2.7","@logicflow/extension":"^1.2.7","@pureadmin/descriptions":"^1.1.1","@pureadmin/table":"^2.2.0","@pureadmin/utils":"^1.9.2","@vueuse/core":"^10.1.2","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@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.5","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.1.3",qrcode:"^1.5.3",qs:"^6.11.1","responsive-storage":"^2.2.0",sortablejs:"^1.15.0",swiper:"^9.3.2",typeit:"^8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.2.2","version-rocket":"^1.6.2",vue:"^3.3.4","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.4","vue-pdf-embed":"^1.1.6","vue-router":"^4.2.1","vue-types":"^5.0.3","vue-virtual-scroller":"2.0.0-beta.7","vue-waterfall-plugin-next":"^2.2.1","vue3-danmaku":"^1.4.0",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.7","@typescript-eslint/parser":"^5.59.7","@vitejs/plugin-vue":"^4.2.3","@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.41.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-vue":"^9.14.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.8","pretty-quick":"^3.1.3",rimraf:"^5.0.1","rollup-plugin-visualizer":"^5.9.0",sass:"^1.62.1","sass-loader":"^13.3.0",stylelint:"^15.6.2","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.6",typescript:"^5.0.4",vite:"^4.3.9","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.3.0","vue-tsc":"^1.6.5"},name:"vue-pure-admin",version:"4.3.0"},lastBuildTime:"2023-06-04 12:45: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(s)?s:{default:()=>[s]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("Github")])])},{label:"精简版",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("精简版")])])}]}}export{u as useColumns};

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

@ -0,0 +1 @@
import{b as o}from"./data-3f5d9da4.js";import{r as u,ag as i}from"./index-3eff57df.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};

View File

@ -1 +0,0 @@
import{S as c}from"./sortable.esm-e674cde8.js";import{K as s}from"./index-fa5d6b3f.js";import{a as m}from"./data-5870e2fd.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};

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

@ -0,0 +1 @@
import{u as t,w as m}from"./xlsx-f5126985.js";import{a as u}from"./data-3f5d9da4.js";import{r as i,K as f}from"./index-3eff57df.js";import{m as b}from"./message-06c300cd.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-778d84ef.js vendored Normal file
View File

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

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

@ -0,0 +1 @@
import{P as d}from"./print-a6e42845.js";import{b}from"./data-3f5d9da4.js";import{r as c,K as i}from"./index-3eff57df.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};

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

@ -0,0 +1 @@
import{T as o}from"./index-271b661b.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{f as e,b as l,g as n}from"./index-3eff57df.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"/>'},f={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:f},null)]}),n("个性签名")]),cellRenderer:()=>e(o,{className:"github",values:["办法总比困难多"],cursor:!1,speed:100},null)}]}}export{C as useColumns};

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

@ -0,0 +1,10 @@
import{t as C}from"./data-3f5d9da4.js";import{r as a,ag as u,aX as S,o as x,aB as c,K as A}from"./index-3eff57df.js";function z(){const o=a([]),t=a(!0),s=a("no"),n=a("nohide"),f=a("default"),h=a(!1),i=a("right"),d=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>s.value==="no"},{label:"日期",prop:"date",hide:()=>n.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>n.value==="hideName"},{label:"地址",prop:"address",hide:()=>n.value==="hideAddress"}],l=u({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),r=u({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 g(e){l.small=e}function p(e){}function v(e){r.text=`正在加载第${e}...`,t.value=!0,c(600).then(()=>{t.value=!1})}return S(()=>{l.align=i.value}),x(()=>{c(600).then(()=>{const e=[];Array.from({length:6}).forEach(()=>{e.push(A(C,!0))}),e.flat(1/0).forEach((m,b)=>{o.value.push({id:b,...m})}),l.total=o.value.length,t.value=!1})}),{loading:t,columns:d,dataList:o,select:s,hideVal:n,tableSize:f,pagination:l,loadingConfig:r,paginationAlign:i,paginationSmall:h,onChange:g,onSizeChange:p,onCurrentChange:v}}export{z as useColumns};

View File

@ -1 +0,0 @@
import{b as m}from"./data-5870e2fd.js";import{m as h}from"./message-6f31e976.js";import{K as d,w as b}from"./index-fa5d6b3f.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};

View File

@ -1 +0,0 @@
import{m as a}from"./message-6f31e976.js";import{t as u}from"./data-91deb383.js";import"./index-fa5d6b3f.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};

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

@ -0,0 +1 @@
import{r as n,K as _,y as i,f as t,m as r,ap as c,bf as I,b as f,aB as M}from"./index-3eff57df.js";import{b as O}from"./data-3f5d9da4.js";import{m as S}from"./message-06c300cd.js";import{d as V}from"./edit-pen-37b5ced2.js";import{d as j}from"./check-3815600c.js";function K(){const l=n({}),u=n({}),s=n(-1),v=n(_(O,!0)),m=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}),p=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(I,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:m.value(a),onInput:C=>h(C,a)},null),[[c,o.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:j,class:p.value(a),onClick:()=>y(a)},null),[[c,o.value(a)]]),r(t(f("iconify-icon-offline"),{icon:V,class:p.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 y(e){v.value[e].id=l.value[e].value,S(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),M().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{K as useColumns};

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

@ -0,0 +1 @@
import{m as s}from"./message-06c300cd.js";import{t as m}from"./data-c7cd4042.js";import{f as l,b as n,F as r,g as a}from"./index-3eff57df.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:m}}export{f 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};

View File

@ -1 +0,0 @@
import{K as c,F as i,Q as n,o as p}from"./index-fa5d6b3f.js";import{a as u}from"./data-5870e2fd.js";import{m as f}from"./message-6f31e976.js";function k(){const e=Vue.ref(c(u,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=i(),r=Vue.computed(()=>s.value?"dark":"light");return e.value.forEach((h,a)=>{const{setOptions:o}=n(p(`PieChartRef${a}`),{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}})=>{f(`您点击了第 ${a+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:e}}export{k as useColumns};

File diff suppressed because one or more lines are too long

View File

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

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

File diff suppressed because one or more lines are too long

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

@ -1 +0,0 @@
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-eb667c3a.js";import"./data-91deb383.js";import"./index-fa5d6b3f.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-fb8c3901.js";import"./data-c7cd4042.js";import"./index-3eff57df.js";export{o as default};

View File

@ -1 +0,0 @@
import{t as o}from"./data-91deb383.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

@ -0,0 +1 @@
import{t as a}from"./data-c7cd4042.js";import{d as n,b as r,e as p,c as s,u as c}from"./index-3eff57df.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 _};

File diff suppressed because one or more lines are too long

91
dist/static/js/dark-b7a13581.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/js/data-3f5d9da4.js vendored Normal file
View File

@ -0,0 +1 @@
import{bx as r,K as t}from"./index-3eff57df.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 +0,0 @@
import{K as t}from"./index-fa5d6b3f.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};

View File

@ -1 +1 @@
import{K as t}from"./index-fa5d6b3f.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{bx as t,K as e}from"./index-3eff57df.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};

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