chore: update

This commit is contained in:
xiaoxian521 2023-06-27 17:57:56 +08:00
parent 71a7d3ce1f
commit 16ff8b60c1
519 changed files with 310 additions and 310 deletions

4
dist/index.html vendored
View File

@ -21,8 +21,8 @@
<script>
window.process = {};
</script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-7675bdf8.js"></script>
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-5b24574c.css">
<script type="module" crossorigin src="/vue-pure-admin/static/js/index.js"></script>
<link rel="stylesheet" href="/vue-pure-admin/static/css/index.css">
<link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-default.css" id="theme-link-tag">
</head>

View File

@ -1 +0,0 @@
@font-face{font-family:iconfont;src:url(/vue-pure-admin/static/woff2/iconfont-0b0da26f.woff2?t=1647939915215) format("woff2"),url(/vue-pure-admin/static/woff/iconfont-e9e53e17.woff?t=1647939915215) format("woff"),url(/vue-pure-admin/static/ttf/iconfont-bd65f678.ttf?t=1647939915215) format("truetype")}.iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:16px;font-style:normal}.icon-tuozhuai1:before{content:""}.icon-tuozhuai1-copy:before{content:""}.splitter-pane-resizer{background:#000;background-clip:padding;background-clip:padding-box;box-sizing:border-box;opacity:.2;position:absolute;z-index:1}.splitter-pane-resizer.horizontal{background:#e5e6eb;cursor:row-resize;height:6px;width:100%}.splitter-pane-resizer.horizontal:before{color:#000;content:"";font-family:iconfont;font-size:13px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.splitter-pane-resizer.vertical{background:#e5e6eb;cursor:col-resize;height:100%;width:6px}.splitter-pane-resizer.vertical:before{color:#000;content:"";font-family:iconfont;font-size:13px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.clearfix:after{clear:both;content:" ";display:block;font-size:0;height:0;visibility:hidden}.vue-splitter-container{height:100%;position:relative}.vue-splitter-container-mask{height:100%;left:0;position:absolute;top:0;width:100%;z-index:9999}.splitter-pane.vertical.splitter-paneL{height:100%;left:0;padding-right:3px;position:absolute}.splitter-pane.vertical.splitter-paneR{height:100%;padding-left:3px;position:absolute;right:0}.splitter-pane.horizontal.splitter-paneL{position:absolute;top:0;width:100%}.splitter-pane.horizontal.splitter-paneR{bottom:0;padding-top:3px;position:absolute;width:100%}.split-pane[data-v-62ddaddc]{border:1px solid #e5e6eb;color:#fff;font-size:50px;height:70vh;text-align:center;width:70vw}.split-pane .dv-a[data-v-62ddaddc],.split-pane .dv-b[data-v-62ddaddc],.split-pane .dv-c[data-v-62ddaddc]{color:#1e90ffcc;height:100%;line-height:70vh;width:100%}.split-pane .dv-b[data-v-62ddaddc],.split-pane .dv-c[data-v-62ddaddc]{line-height:250px}.split-pane .dv-b[data-v-62ddaddc]{color:#000c}.split-pane .dv-c[data-v-62ddaddc]{color:#ce272dcc}

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/css/index20.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/css/index9.css vendored Normal file
View File

@ -0,0 +1 @@
@font-face{font-family:iconfont;src:url(/vue-pure-admin/static/woff2/iconfont2.woff2?t=1647939915215) format("woff2"),url(/vue-pure-admin/static/woff/iconfont2.woff?t=1647939915215) format("woff"),url(/vue-pure-admin/static/ttf/iconfont2.ttf?t=1647939915215) format("truetype")}.iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:16px;font-style:normal}.icon-tuozhuai1:before{content:""}.icon-tuozhuai1-copy:before{content:""}.splitter-pane-resizer{background:#000;background-clip:padding;background-clip:padding-box;box-sizing:border-box;opacity:.2;position:absolute;z-index:1}.splitter-pane-resizer.horizontal{background:#e5e6eb;cursor:row-resize;height:6px;width:100%}.splitter-pane-resizer.horizontal:before{color:#000;content:"";font-family:iconfont;font-size:13px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.splitter-pane-resizer.vertical{background:#e5e6eb;cursor:col-resize;height:100%;width:6px}.splitter-pane-resizer.vertical:before{color:#000;content:"";font-family:iconfont;font-size:13px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.clearfix:after{clear:both;content:" ";display:block;font-size:0;height:0;visibility:hidden}.vue-splitter-container{height:100%;position:relative}.vue-splitter-container-mask{height:100%;left:0;position:absolute;top:0;width:100%;z-index:9999}.splitter-pane.vertical.splitter-paneL{height:100%;left:0;padding-right:3px;position:absolute}.splitter-pane.vertical.splitter-paneR{height:100%;padding-left:3px;position:absolute;right:0}.splitter-pane.horizontal.splitter-paneL{position:absolute;top:0;width:100%}.splitter-pane.horizontal.splitter-paneR{bottom:0;padding-top:3px;position:absolute;width:100%}.split-pane[data-v-62ddaddc]{border:1px solid #e5e6eb;color:#fff;font-size:50px;height:70vh;text-align:center;width:70vw}.split-pane .dv-a[data-v-62ddaddc],.split-pane .dv-b[data-v-62ddaddc],.split-pane .dv-c[data-v-62ddaddc]{color:#1e90ffcc;height:100%;line-height:70vh;width:100%}.split-pane .dv-b[data-v-62ddaddc],.split-pane .dv-c[data-v-62ddaddc]{line-height:250px}.split-pane .dv-b[data-v-62ddaddc]{color:#000c}.split-pane .dv-c[data-v-62ddaddc]{color:#ce272dcc}

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

File diff suppressed because one or more lines are too long

1
dist/static/js/403.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/404.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/500.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-220949b7.js";import"./app-45cd0642.js";import"./index-7675bdf8.js";export{o as default};

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

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

View File

@ -1 +0,0 @@
import{u as c}from"./app-45cd0642.js";import{d as n,a9 as l,D as f,r as p,aE as d,bF as e,E as h,o as m,i as u,ay as b}from"./index-7675bdf8.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{_};

View File

@ -0,0 +1 @@
import{u as c}from"./app.js";import{d as n,a9 as l,D as f,r as p,aE as d,bF as e,E as h,o as m,i as u,ay as b}from"./index.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{_};

View File

@ -1 +0,0 @@
import{o as t,i,e as o,d as b,D as f,a as s,h as n,w as a,aq as g,c as l,u as d,j as r,f as u,t as m,_ as I}from"./index-7675bdf8.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 D={render:j},O={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},q=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),E=[q];function L(e,c){return t(),i("svg",O,E)}const R={render:L},T={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",T,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,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(D),{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(R),{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]=M=>V(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=M=>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/Card.js vendored Normal file
View File

@ -0,0 +1 @@
import{o as t,i,e as o,d as b,D as f,a as s,h as n,w as a,aq as g,c as l,u as d,j as r,f as u,t as m,_ as I}from"./index.js";import{d as B}from"./more-2-fill.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 D={render:j},O={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},q=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),E=[q];function L(e,c){return t(),i("svg",O,E)}const R={render:L},T={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",T,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,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(D),{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(R),{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]=M=>V(e.product))},{default:a(()=>[u(" 管理 ")]),_:1}),n(p,{onClick:_[1]||(_[1]=M=>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};

View File

@ -1 +0,0 @@
import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang-779afc53.js";import"./index-7675bdf8.js";export{m as default};

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

@ -0,0 +1 @@
import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang.js";import"./index.js";export{m as default};

View File

@ -1 +0,0 @@
import{d as T,r as p,E as f,a as n,c as q,w as t,o as g,h as a,f as d,i as L,q as R,t as j,F as E,m as I}from"./index-7675bdf8.js";const P=T({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(x,{emit:w}){const i=x,k=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],m=p(),s=p(!1),u=p(i.data),v=p(""),F=async o=>{o&&await o.validate(e=>{e&&(I("提交成功",{type:"success"}),s.value=!1,c(o))})},c=o=>{o&&o.resetFields()},b=()=>{s.value=!1,c(m.value)};f(()=>s.value,o=>{w("update:visible",o)}),f(()=>i.visible,o=>{s.value=o}),f(()=>i.data,o=>{u.value=o});const C={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const _=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(),q(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=>F(m.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:m,model:u.value,rules:C,"label-width":"100px"},{default:t(()=>[a(r,{label:"产品名称",prop:"name"},{default:t(()=>[a(_,{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(_,{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(),L(E,null,R(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(j(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"备注",prop:"mark"},{default:t(()=>[a(_,{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

@ -0,0 +1 @@
import{d as T,r as p,E as f,a as n,c as q,w as t,o as g,h as a,f as d,i as L,q as R,t as j,F as E,m as I}from"./index.js";const P=T({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(x,{emit:w}){const i=x,k=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],m=p(),s=p(!1),u=p(i.data),v=p(""),F=async o=>{o&&await o.validate(e=>{e&&(I("提交成功",{type:"success"}),s.value=!1,c(o))})},c=o=>{o&&o.resetFields()},b=()=>{s.value=!1,c(m.value)};f(()=>s.value,o=>{w("update:visible",o)}),f(()=>i.visible,o=>{s.value=o}),f(()=>i.data,o=>{u.value=o});const C={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const _=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(),q(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=>F(m.value))},{default:t(()=>[d(" 确定 ")]),_:1})]),default:t(()=>[a(N,{ref_key:"ruleFormRef",ref:m,model:u.value,rules:C,"label-width":"100px"},{default:t(()=>[a(r,{label:"产品名称",prop:"name"},{default:t(()=>[a(_,{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(_,{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(),L(E,null,R(k,(l,S)=>a(B,{key:S,value:l.value,label:l.label},{default:t(()=>[d(j(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"备注",prop:"mark"},{default:t(()=>[a(_,{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{_ as o}from"./Github.vue_vue_type_script_setup_true_lang-534f80de.js";import"./columns-ff3eb8f0.js";import"./index-f6f8d9d7.js";import"./index-7675bdf8.js";import"./office-building-cc7a1721.js";import"./iphone-bcaa848c.js";import"./user-3-fill-70ba8c19.js";export{o as default};

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

@ -0,0 +1 @@
import{_ as o}from"./Github.vue_vue_type_script_setup_true_lang.js";import"./columns17.js";import"./index60.js";import"./index.js";import"./office-building.js";import"./iphone.js";import"./user-3-fill.js";export{o as default};

View File

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

View File

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

View File

@ -1 +0,0 @@
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-0bbcd9ec.js";import"./app-45cd0642.js";import"./index-7675bdf8.js";export{o as default};

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

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

View File

@ -1 +0,0 @@
import{u as m}from"./app-45cd0642.js";import{d as p,a9 as u,D as d,r as f,aE as h,aF as y,E as k,o as g,i as x,ay as b}from"./index-7675bdf8.js";const E=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{E as _};

View File

@ -0,0 +1 @@
import{u as m}from"./app.js";import{d as p,a9 as u,D as d,r as f,aE as h,aF as y,E as k,o as g,i as x,ay as b}from"./index.js";const E=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{E as _};

View File

@ -1 +0,0 @@
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-b16585e5.js";import"./app-45cd0642.js";import"./index-7675bdf8.js";export{o as default};

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

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

View File

@ -1 +0,0 @@
import{u as n}from"./app-45cd0642.js";import{d as o,a9 as i,D as l,r as p,aE as m,E as u,o as h,i as f,ay as d}from"./index-7675bdf8.js";const y=o({__name:"Pie",setup(k){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,()=>{d(600).then(()=>c())}),(a,_)=>(h(),f("div",{ref_key:"pieChartRef",ref:e,style:{width:"100%",height:"35vh"}},null,512))}});export{y as _};

View File

@ -0,0 +1 @@
import{u as n}from"./app.js";import{d as o,a9 as i,D as l,r as p,aE as m,E as u,o as h,i as f,ay as d}from"./index.js";const y=o({__name:"Pie",setup(k){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,()=>{d(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 @@
import{aG as r,aH as s,aI as i,aJ as o,am as u,aK as d}from"./index-7675bdf8.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};

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

@ -0,0 +1 @@
import{aG as r,aH as s,aI as i,aJ as o,am as u,aK as d}from"./index.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{o as t,i as o,e}from"./index-7675bdf8.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 l(h,r){return t(),o("svg",a,s)}const i={render:l};export{i as b};

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

@ -0,0 +1 @@
import{o as t,i as o,e}from"./index.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 l(h,r){return t(),o("svg",a,s)}const i={render:l};export{i as b};

File diff suppressed because one or more lines are too long

1
dist/static/js/barcode.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-5c962573.js";import"./index.esm-c358bf9c.js";import"./index-7675bdf8.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-1be40401.js";import"./data-d2c0f1f4.js";import"./index-7675bdf8.js";export{o as default};

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

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang.js";import"./index.esm2.js";import"./index.js";export{o as default};

View File

@ -1 +0,0 @@
import{t as o}from"./data-d2c0f1f4.js";import{d as t,a as n,o as r,c as p,u as s}from"./index-7675bdf8.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{T as c,E as f}from"./index.esm-c358bf9c.js";import{d as m,b3 as p,r as v,k as _,l as h,o as C,i as b,h as a,u as n}from"./index-7675bdf8.js";const g={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 h(()=>{const e=o.value;e!=null&&e.destroy()}),(e,l)=>(C(),b("div",g,[a(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),a(n(f),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[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

@ -0,0 +1 @@
import{T as c,E as f}from"./index.esm2.js";import{d as m,b3 as p,r as v,k as _,l as h,o as C,i as b,h as a,u as n}from"./index.js";const g={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 h(()=>{const e=o.value;e!=null&&e.destroy()}),(e,l)=>(C(),b("div",g,[a(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),a(n(f),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[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

@ -0,0 +1 @@
import{t as o}from"./data.js";import{d as t,a as n,o as r,c as p,u as s}from"./index.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/base2.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang2.js";import"./data.js";import"./index.js";export{o as default};

View File

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

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