diff --git a/index.html b/index.html index 05ca0f6b8f..4b51ed7abb 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ - + diff --git a/static/js/403-Bqk49JPx.js b/static/js/403-CEBOLY3D.js similarity index 99% rename from static/js/403-Bqk49JPx.js rename to static/js/403-CEBOLY3D.js index cfcce2d611..200f8ed67a 100644 --- a/static/js/403-Bqk49JPx.js +++ b/static/js/403-CEBOLY3D.js @@ -1 +1 @@ -import{f as a,k as p,aN as o,d as m,i as F,u as c,g as r,B as h,h as e,b as n,w as f,e as M,ae as B,A as k}from"./index-AFhnwzwZ.js";const v={width:"251",height:"294"};function y(i,s){return a(),p("svg",v,s[0]||(s[0]=[o('',1)]))}const A={render:y},u={class:"flex justify-center items-center h-[640px]"},C={class:"ml-12"},D={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},g=m({name:"403",__name:"403",setup(i){const s=B();return(_,t)=>{const d=M("el-button"),l=k("motion");return a(),p("div",u,[F(c(A)),r("div",C,[h((a(),p("p",D,t[1]||(t[1]=[e(" 403 ")]))),[[l]]),h((a(),p("p",E,t[2]||(t[2]=[e(" 抱歉,你无权访问该页面 ")]))),[[l]]),h((a(),n(d,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=x=>c(s).push("/"))},{default:f(()=>t[3]||(t[3]=[e(" 返回首页 ")])),_:1})),[[l]])])])}}});export{g as default}; +import{f as a,k as p,aN as o,d as m,i as F,u as c,g as r,B as h,h as e,b as n,w as f,e as M,ae as B,A as k}from"./index-DqH6biyS.js";const v={width:"251",height:"294"};function y(i,s){return a(),p("svg",v,s[0]||(s[0]=[o('',1)]))}const A={render:y},u={class:"flex justify-center items-center h-[640px]"},C={class:"ml-12"},D={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},g=m({name:"403",__name:"403",setup(i){const s=B();return(_,t)=>{const d=M("el-button"),l=k("motion");return a(),p("div",u,[F(c(A)),r("div",C,[h((a(),p("p",D,t[1]||(t[1]=[e(" 403 ")]))),[[l]]),h((a(),p("p",E,t[2]||(t[2]=[e(" 抱歉,你无权访问该页面 ")]))),[[l]]),h((a(),n(d,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=x=>c(s).push("/"))},{default:f(()=>t[3]||(t[3]=[e(" 返回首页 ")])),_:1})),[[l]])])])}}});export{g as default}; diff --git a/static/js/404-DX8ueleH.js b/static/js/404-qHu2bR-X.js similarity index 99% rename from static/js/404-DX8ueleH.js rename to static/js/404-qHu2bR-X.js index df3b91737a..fbd102d8e8 100644 --- a/static/js/404-DX8ueleH.js +++ b/static/js/404-qHu2bR-X.js @@ -1 +1 @@ -import{f as a,k as h,aN as o,d as m,i as r,u as c,g as F,B as l,h as e,b as n,w as f,e as M,ae as v,A as B}from"./index-AFhnwzwZ.js";const D={width:"252",height:"294"};function k(i,s){return a(),h("svg",D,s[0]||(s[0]=[o('',1)]))}const C={render:k},y={class:"flex justify-center items-center h-[640px]"},u={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},z={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=m({name:"404",__name:"404",setup(i){const s=v();return(A,t)=>{const d=M("el-button"),p=B("motion");return a(),h("div",y,[r(c(C)),F("div",u,[l((a(),h("p",E,t[1]||(t[1]=[e(" 404 ")]))),[[p]]),l((a(),h("p",z,t[2]||(t[2]=[e(" 抱歉,你访问的页面不存在 ")]))),[[p]]),l((a(),n(d,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=_=>c(s).push("/"))},{default:f(()=>t[3]||(t[3]=[e(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; +import{f as a,k as h,aN as o,d as m,i as r,u as c,g as F,B as l,h as e,b as n,w as f,e as M,ae as v,A as B}from"./index-DqH6biyS.js";const D={width:"252",height:"294"};function k(i,s){return a(),h("svg",D,s[0]||(s[0]=[o('',1)]))}const C={render:k},y={class:"flex justify-center items-center h-[640px]"},u={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},z={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=m({name:"404",__name:"404",setup(i){const s=v();return(A,t)=>{const d=M("el-button"),p=B("motion");return a(),h("div",y,[r(c(C)),F("div",u,[l((a(),h("p",E,t[1]||(t[1]=[e(" 404 ")]))),[[p]]),l((a(),h("p",z,t[2]||(t[2]=[e(" 抱歉,你访问的页面不存在 ")]))),[[p]]),l((a(),n(d,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=_=>c(s).push("/"))},{default:f(()=>t[3]||(t[3]=[e(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; diff --git a/static/js/500-QlK6gT4G.js b/static/js/500-BKcgy8qk.js similarity index 99% rename from static/js/500-QlK6gT4G.js rename to static/js/500-BKcgy8qk.js index 64d99024f8..f645c480d2 100644 --- a/static/js/500-QlK6gT4G.js +++ b/static/js/500-BKcgy8qk.js @@ -1 +1 @@ -import{f as t,k as h,aN as m,d as o,i as r,u as e,g as F,B as l,h as c,b as n,w as f,e as M,ae as k,A as B}from"./index-AFhnwzwZ.js";const v={width:"254",height:"294"};function u(d,s){return t(),h("svg",v,s[0]||(s[0]=[m('',1)]))}const C={render:u},D={class:"flex justify-center items-center h-[640px]"},A={class:"ml-12"},y={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=o({name:"500",__name:"500",setup(d){const s=k();return(_,a)=>{const i=M("el-button"),p=B("motion");return t(),h("div",D,[r(e(C)),F("div",A,[l((t(),h("p",y,a[1]||(a[1]=[c(" 500 ")]))),[[p]]),l((t(),h("p",E,a[2]||(a[2]=[c(" 抱歉,服务器出错了 ")]))),[[p]]),l((t(),n(i,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:a[0]||(a[0]=x=>e(s).push("/"))},{default:f(()=>a[3]||(a[3]=[c(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; +import{f as t,k as h,aN as m,d as o,i as r,u as e,g as F,B as l,h as c,b as n,w as f,e as M,ae as k,A as B}from"./index-DqH6biyS.js";const v={width:"254",height:"294"};function u(d,s){return t(),h("svg",v,s[0]||(s[0]=[m('',1)]))}const C={render:u},D={class:"flex justify-center items-center h-[640px]"},A={class:"ml-12"},y={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=o({name:"500",__name:"500",setup(d){const s=k();return(_,a)=>{const i=M("el-button"),p=B("motion");return t(),h("div",D,[r(e(C)),F("div",A,[l((t(),h("p",y,a[1]||(a[1]=[c(" 500 ")]))),[[p]]),l((t(),h("p",E,a[2]||(a[2]=[c(" 抱歉,服务器出错了 ")]))),[[p]]),l((t(),n(i,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:a[0]||(a[0]=x=>e(s).push("/"))},{default:f(()=>a[3]||(a[3]=[c(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; diff --git a/static/js/AccountManagement-Bwm925hX.js b/static/js/AccountManagement-DJvVwQr-.js similarity index 95% rename from static/js/AccountManagement-Bwm925hX.js rename to static/js/AccountManagement-DJvVwQr-.js index d69ef3e80e..f4dc3381ab 100644 --- a/static/js/AccountManagement-Bwm925hX.js +++ b/static/js/AccountManagement-DJvVwQr-.js @@ -1 +1 @@ -import{d as v,a as b,e as s,f as n,k as a,g as t,F as g,l as k,t as o,i as l,w as i,h as r,v as y,u as C,X as w,J as h,_ as A}from"./index-AFhnwzwZ.js";const B={class:"flex items-center"},M={class:"flex-1"},N=v({name:"AccountManagement",__name:"AccountManagement",setup(V){const u=b([{title:"账户密码",illustrate:"当前密码强度:强",button:"修改"},{title:"密保手机",illustrate:"已经绑定手机:158****6789",button:"修改"},{title:"密保问题",illustrate:"未设置密保问题,密保问题可有效保护账户安全",button:"修改"},{title:"备用邮箱",illustrate:"已绑定邮箱:pure***@163.com",button:"修改"}]);function _(m){h("请根据具体业务自行实现",{type:"success"})}return(m,c)=>{const d=s("el-text"),p=s("el-button"),f=s("el-divider");return n(),a("div",{class:y(["min-w-[180px]",C(w)()?"max-w-[100%]":"max-w-[70%]"])},[c[0]||(c[0]=t("h3",{class:"my-8"},"账户管理",-1)),(n(!0),a(g,null,k(u.value,(e,x)=>(n(),a("div",{key:x},[t("div",B,[t("div",M,[t("p",null,o(e.title),1),l(d,{class:"mx-1",type:"info"},{default:i(()=>[r(o(e.illustrate),1)]),_:2},1024)]),l(p,{type:"primary",text:"",onClick:F=>_()},{default:i(()=>[r(o(e.button),1)]),_:2},1032,["onClick"])]),l(f)]))),128))],2)}}}),D=A(N,[["__scopeId","data-v-c4b71ab0"]]);export{D as default}; +import{d as v,a as b,e as s,f as n,k as a,g as t,F as g,l as k,t as o,i as l,w as i,h as r,v as y,u as C,X as w,J as h,_ as A}from"./index-DqH6biyS.js";const B={class:"flex items-center"},M={class:"flex-1"},N=v({name:"AccountManagement",__name:"AccountManagement",setup(V){const u=b([{title:"账户密码",illustrate:"当前密码强度:强",button:"修改"},{title:"密保手机",illustrate:"已经绑定手机:158****6789",button:"修改"},{title:"密保问题",illustrate:"未设置密保问题,密保问题可有效保护账户安全",button:"修改"},{title:"备用邮箱",illustrate:"已绑定邮箱:pure***@163.com",button:"修改"}]);function _(m){h("请根据具体业务自行实现",{type:"success"})}return(m,c)=>{const d=s("el-text"),p=s("el-button"),f=s("el-divider");return n(),a("div",{class:y(["min-w-[180px]",C(w)()?"max-w-[100%]":"max-w-[70%]"])},[c[0]||(c[0]=t("h3",{class:"my-8"},"账户管理",-1)),(n(!0),a(g,null,k(u.value,(e,x)=>(n(),a("div",{key:x},[t("div",B,[t("div",M,[t("p",null,o(e.title),1),l(d,{class:"mx-1",type:"info"},{default:i(()=>[r(o(e.illustrate),1)]),_:2},1024)]),l(p,{type:"primary",text:"",onClick:F=>_()},{default:i(()=>[r(o(e.button),1)]),_:2},1032,["onClick"])]),l(f)]))),128))],2)}}}),D=A(N,[["__scopeId","data-v-c4b71ab0"]]);export{D as default}; diff --git a/static/js/ChartBar-0k5WpS75.js b/static/js/ChartBar-CEVK98Tr.js similarity index 50% rename from static/js/ChartBar-0k5WpS75.js rename to static/js/ChartBar-CEVK98Tr.js index a72365a0b7..6e9bf9d26c 100644 --- a/static/js/ChartBar-0k5WpS75.js +++ b/static/js/ChartBar-CEVK98Tr.js @@ -1 +1 @@ -import{_ as m}from"./ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js b/static/js/ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js similarity index 95% rename from static/js/ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js rename to static/js/ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js index 4c601f7756..59668f64e3 100644 --- a/static/js/ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js +++ b/static/js/ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js @@ -1 +1 @@ -var l=(i,a,t)=>new Promise((s,r)=>{var n=e=>{try{o(t.next(e))}catch(c){r(c)}},p=e=>{try{o(t.throw(e))}catch(c){r(c)}},o=e=>e.done?s(e.value):Promise.resolve(e.value).then(n,p);o((t=t.apply(i,a)).next())});import{d,at as f,p as y,a as m,au as u,n as h,y as x,f as b,k as g}from"./index-AFhnwzwZ.js";const S=d({__name:"ChartBar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=y(()=>t.value?"dark":"light"),r=m(),{setOptions:n}=u(r,{theme:s});return h(()=>a,()=>l(this,null,function*(){yield x(),n({container:".bar-card",color:["#41b6ff","#e85f33"],tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{top:"20px",left:"50px",right:0},legend:{data:["需求人数","提问数量"],textStyle:{color:"#606266",fontSize:"0.875rem"},bottom:0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisLabel:{fontSize:"0.875rem"},axisPointer:{type:"shadow"}}],yAxis:[{type:"value",axisLabel:{fontSize:"0.875rem"},splitLine:{show:!1}}],series:[{name:"需求人数",type:"bar",barWidth:10,itemStyle:{color:"#41b6ff",borderRadius:[10,10,0,0]},data:a.requireData},{name:"提问数量",type:"bar",barWidth:10,itemStyle:{color:"#e86033ce",borderRadius:[10,10,0,0]},data:a.questionData}]})}),{deep:!0,immediate:!0}),(p,o)=>(b(),g("div",{ref_key:"chartRef",ref:r,style:{width:"100%",height:"365px"}},null,512))}});export{S as _}; +var l=(i,a,t)=>new Promise((s,r)=>{var n=e=>{try{o(t.next(e))}catch(c){r(c)}},p=e=>{try{o(t.throw(e))}catch(c){r(c)}},o=e=>e.done?s(e.value):Promise.resolve(e.value).then(n,p);o((t=t.apply(i,a)).next())});import{d,at as f,p as y,a as m,au as u,n as h,y as x,f as b,k as g}from"./index-DqH6biyS.js";const S=d({__name:"ChartBar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=y(()=>t.value?"dark":"light"),r=m(),{setOptions:n}=u(r,{theme:s});return h(()=>a,()=>l(this,null,function*(){yield x(),n({container:".bar-card",color:["#41b6ff","#e85f33"],tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{top:"20px",left:"50px",right:0},legend:{data:["需求人数","提问数量"],textStyle:{color:"#606266",fontSize:"0.875rem"},bottom:0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisLabel:{fontSize:"0.875rem"},axisPointer:{type:"shadow"}}],yAxis:[{type:"value",axisLabel:{fontSize:"0.875rem"},splitLine:{show:!1}}],series:[{name:"需求人数",type:"bar",barWidth:10,itemStyle:{color:"#41b6ff",borderRadius:[10,10,0,0]},data:a.requireData},{name:"提问数量",type:"bar",barWidth:10,itemStyle:{color:"#e86033ce",borderRadius:[10,10,0,0]},data:a.questionData}]})}),{deep:!0,immediate:!0}),(p,o)=>(b(),g("div",{ref_key:"chartRef",ref:r,style:{width:"100%",height:"365px"}},null,512))}});export{S as _}; diff --git a/static/js/ChartLine-D4xtBZno.js b/static/js/ChartLine-D3OHvydx.js similarity index 50% rename from static/js/ChartLine-D4xtBZno.js rename to static/js/ChartLine-D3OHvydx.js index 098d36d8d6..e2986706fe 100644 --- a/static/js/ChartLine-D4xtBZno.js +++ b/static/js/ChartLine-D3OHvydx.js @@ -1 +1 @@ -import{_ as m}from"./ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js b/static/js/ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js similarity index 90% rename from static/js/ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js rename to static/js/ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js index bfb2d810ed..9ad8d978ac 100644 --- a/static/js/ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js +++ b/static/js/ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js @@ -1 +1 @@ -import{d as n,at as l,p as c,a as i,au as p,f as d,k as f}from"./index-AFhnwzwZ.js";const m=n({__name:"ChartLine",props:{data:{type:Array,default:()=>[]},color:{type:String,default:"#41b6ff"}},setup(o){const e=o,{isDark:a}=l(),s=c(()=>a.value?"dark":"light"),t=i(),{setOptions:r}=p(t,{theme:s,renderer:"svg"});return r({container:".line-card",xAxis:{type:"category",show:!1,data:e.data},grid:{top:"15px",bottom:0,left:0,right:0},yAxis:{show:!1,type:"value"},series:[{data:e.data,type:"line",symbol:"none",smooth:!0,color:e.color,lineStyle:{shadowOffsetY:3,shadowBlur:7,shadowColor:e.color}}]}),(h,u)=>(d(),f("div",{ref_key:"chartRef",ref:t,style:{width:"100%",height:"60px"}},null,512))}});export{m as _}; +import{d as n,at as l,p as c,a as i,au as p,f as d,k as f}from"./index-DqH6biyS.js";const m=n({__name:"ChartLine",props:{data:{type:Array,default:()=>[]},color:{type:String,default:"#41b6ff"}},setup(o){const e=o,{isDark:a}=l(),s=c(()=>a.value?"dark":"light"),t=i(),{setOptions:r}=p(t,{theme:s,renderer:"svg"});return r({container:".line-card",xAxis:{type:"category",show:!1,data:e.data},grid:{top:"15px",bottom:0,left:0,right:0},yAxis:{show:!1,type:"value"},series:[{data:e.data,type:"line",symbol:"none",smooth:!0,color:e.color,lineStyle:{shadowOffsetY:3,shadowBlur:7,shadowColor:e.color}}]}),(h,u)=>(d(),f("div",{ref_key:"chartRef",ref:t,style:{width:"100%",height:"60px"}},null,512))}});export{m as _}; diff --git a/static/js/ChartRound-DClOenZF.js b/static/js/ChartRound-Bd4PVLwz.js similarity index 51% rename from static/js/ChartRound-DClOenZF.js rename to static/js/ChartRound-Bd4PVLwz.js index 45703ce1b3..613139ec3d 100644 --- a/static/js/ChartRound-DClOenZF.js +++ b/static/js/ChartRound-Bd4PVLwz.js @@ -1 +1 @@ -import{_ as m}from"./ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js b/static/js/ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js similarity index 92% rename from static/js/ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js rename to static/js/ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js index de72dc8608..84214411dd 100644 --- a/static/js/ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js +++ b/static/js/ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js @@ -1 +1 @@ -import{d as o,at as r,p as n,a as i,au as l,f as c,k as d}from"./index-AFhnwzwZ.js";const x=o({__name:"ChartRound",setup(f){const{isDark:t}=r(),a=n(()=>t.value?"dark":"light"),e=i(),{setOptions:s}=l(e,{theme:a,renderer:"svg"});return s({container:".line-card",title:{text:"100%",left:"47%",top:"30%",textAlign:"center",textStyle:{fontSize:"16",fontWeight:600}},polar:{radius:["100%","90%"],center:["50%","50%"]},angleAxis:{max:100,show:!1},radiusAxis:{type:"category",show:!0,axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},series:[{type:"bar",roundCap:!0,barWidth:2,showBackground:!0,backgroundStyle:{color:"#dfe7ef"},data:[100],coordinateSystem:"polar",color:"#7846e5",itemStyle:{shadowBlur:2,shadowColor:"#7846e5",shadowOffsetX:0,shadowOffsetY:0}}]}),(h,p)=>(c(),d("div",{ref_key:"chartRef",ref:e,style:{width:"100%",height:"60px"}},null,512))}});export{x as _}; +import{d as o,at as r,p as n,a as i,au as l,f as c,k as d}from"./index-DqH6biyS.js";const x=o({__name:"ChartRound",setup(f){const{isDark:t}=r(),a=n(()=>t.value?"dark":"light"),e=i(),{setOptions:s}=l(e,{theme:a,renderer:"svg"});return s({container:".line-card",title:{text:"100%",left:"47%",top:"30%",textAlign:"center",textStyle:{fontSize:"16",fontWeight:600}},polar:{radius:["100%","90%"],center:["50%","50%"]},angleAxis:{max:100,show:!1},radiusAxis:{type:"category",show:!0,axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1}},series:[{type:"bar",roundCap:!0,barWidth:2,showBackground:!0,backgroundStyle:{color:"#dfe7ef"},data:[100],coordinateSystem:"polar",color:"#7846e5",itemStyle:{shadowBlur:2,shadowColor:"#7846e5",shadowOffsetX:0,shadowOffsetY:0}}]}),(h,p)=>(c(),d("div",{ref_key:"chartRef",ref:e,style:{width:"100%",height:"60px"}},null,512))}});export{x as _}; diff --git a/static/js/EditorBase-CT536XJv.js b/static/js/EditorBase-CT536XJv.js new file mode 100644 index 0000000000..573fa46071 --- /dev/null +++ b/static/js/EditorBase-CT536XJv.js @@ -0,0 +1 @@ +import{_ as o}from"./EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js";import"./index.esm--zOXc_VX.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/EditorBase-CdumWmQG.js b/static/js/EditorBase-CdumWmQG.js deleted file mode 100644 index 736c677645..0000000000 --- a/static/js/EditorBase-CdumWmQG.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js";import"./index.esm-CPkU7_3x.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js b/static/js/EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js similarity index 84% rename from static/js/EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js rename to static/js/EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js index e08727da3d..92cb0663b0 100644 --- a/static/js/EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js +++ b/static/js/EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js @@ -1 +1 @@ -import{T as c,E as f}from"./index.esm-CPkU7_3x.js";import{d as m,M as p,a as v,m as _,z as C,f as g,k as h,i as l,u as n}from"./index-AFhnwzwZ.js";const x={class:"wangeditor"},r="default",b=m({name:"BaseEditor",__name:"EditorBase",setup(y){const o=p(),t=v("

你好

");_(()=>{setTimeout(()=>{t.value="

我是模拟的异步数据

"},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",x,[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{b as _}; +import{T as c,E as f}from"./index.esm--zOXc_VX.js";import{d as m,M as p,a as v,m as _,z as C,f as g,k as h,i as l,u as n}from"./index-DqH6biyS.js";const x={class:"wangeditor"},r="default",b=m({name:"BaseEditor",__name:"EditorBase",setup(y){const o=p(),t=v("

你好

");_(()=>{setTimeout(()=>{t.value="

我是模拟的异步数据

"},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",x,[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{b as _}; diff --git a/static/js/EditorMulti-0GRet5Ja.js b/static/js/EditorMulti-0GRet5Ja.js deleted file mode 100644 index a4825d13e6..0000000000 --- a/static/js/EditorMulti-0GRet5Ja.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js";import"./index-BSGz-TY2.js";import"./index-AFhnwzwZ.js";import"./index.esm-CPkU7_3x.js";export{o as default}; diff --git a/static/js/EditorMulti-CpGLZWXu.js b/static/js/EditorMulti-CpGLZWXu.js new file mode 100644 index 0000000000..1ade5c0397 --- /dev/null +++ b/static/js/EditorMulti-CpGLZWXu.js @@ -0,0 +1 @@ +import{_ as o}from"./EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js";import"./index-DZtY49CB.js";import"./index-DqH6biyS.js";import"./index.esm--zOXc_VX.js";export{o as default}; diff --git a/static/js/EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js b/static/js/EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js similarity index 84% rename from static/js/EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js rename to static/js/EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js index 95f2725efc..0042dec5bc 100644 --- a/static/js/EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js +++ b/static/js/EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js @@ -1 +1 @@ -import{R as h}from"./index-BSGz-TY2.js";import{T as C,E as g}from"./index.esm-CPkU7_3x.js";import{d as R,a as w,M as y,z as E,e as V,f as l,b as u,w as d,k as b,l as k,u as r,g as x,i,F as B}from"./index-AFhnwzwZ.js";const L={class:"wangeditor"},c="default",O=R({name:"MultiEditor",__name:"EditorMulti",setup(M){const f=[{value:"

测试一

"},{value:"

测试二

"},{value:"

测试三

"},{value:"

测试四

"}],o=w([]);f.forEach(e=>{o.value.push({value:e.value,editorRef:y()})});const p={excludeKeys:"fullScreen"},m={placeholder:"请输入内容..."},v=(e,n)=>{o.value[n].editorRef=e};return E(()=>o.value.map(e=>{e.editorRef!=null&&e.editorRef.destroy()})),(e,n)=>{const _=V("el-row");return l(),u(_,{gutter:30,justify:"space-around"},{default:d(()=>[(l(!0),b(B,null,k(o.value,(t,s)=>(l(),u(r(h),{key:s,value:11},{default:d(()=>[x("div",L,[i(r(C),{editor:t.editorRef,defaultConfig:p,mode:c,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),i(r(g),{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a,defaultConfig:m,mode:c,style:{height:"300px","overflow-y":"hidden"},onOnCreated:a=>v(a,s)},null,8,["modelValue","onUpdate:modelValue","onOnCreated"])])]),_:2},1024))),128))]),_:1})}}});export{O as _}; +import{R as h}from"./index-DZtY49CB.js";import{T as C,E as g}from"./index.esm--zOXc_VX.js";import{d as R,a as w,M as y,z as E,e as V,f as l,b as u,w as d,k as b,l as k,u as r,g as x,i,F as B}from"./index-DqH6biyS.js";const L={class:"wangeditor"},c="default",O=R({name:"MultiEditor",__name:"EditorMulti",setup(M){const f=[{value:"

测试一

"},{value:"

测试二

"},{value:"

测试三

"},{value:"

测试四

"}],o=w([]);f.forEach(e=>{o.value.push({value:e.value,editorRef:y()})});const p={excludeKeys:"fullScreen"},m={placeholder:"请输入内容..."},v=(e,n)=>{o.value[n].editorRef=e};return E(()=>o.value.map(e=>{e.editorRef!=null&&e.editorRef.destroy()})),(e,n)=>{const _=V("el-row");return l(),u(_,{gutter:30,justify:"space-around"},{default:d(()=>[(l(!0),b(B,null,k(o.value,(t,s)=>(l(),u(r(h),{key:s,value:11},{default:d(()=>[x("div",L,[i(r(C),{editor:t.editorRef,defaultConfig:p,mode:c,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),i(r(g),{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a,defaultConfig:m,mode:c,style:{height:"300px","overflow-y":"hidden"},onOnCreated:a=>v(a,s)},null,8,["modelValue","onUpdate:modelValue","onOnCreated"])])]),_:2},1024))),128))]),_:1})}}});export{O as _}; diff --git a/static/js/EditorUpload-C5nJPFyO.js b/static/js/EditorUpload-C5nJPFyO.js new file mode 100644 index 0000000000..7403d42654 --- /dev/null +++ b/static/js/EditorUpload-C5nJPFyO.js @@ -0,0 +1 @@ +import{_ as o}from"./EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js";import"./index.esm--zOXc_VX.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/EditorUpload-CHQEA3s7.js b/static/js/EditorUpload-CHQEA3s7.js deleted file mode 100644 index 0bfa2bd286..0000000000 --- a/static/js/EditorUpload-CHQEA3s7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js";import"./index.esm-CPkU7_3x.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js b/static/js/EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js similarity index 80% rename from static/js/EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js rename to static/js/EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js index d1fa0091ce..9cd4c63d52 100644 --- a/static/js/EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js +++ b/static/js/EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js @@ -1 +1 @@ -import{T as f,E as m}from"./index.esm-CPkU7_3x.js";import{d as c,M as p,a as g,z as _,f as v,k as C,i as n,u as r}from"./index-AFhnwzwZ.js";const h={class:"wangeditor"},d="default",U=c({name:"picUpload",__name:"EditorUpload",setup(y){const a=p(),t=g("

仅提供代码参考,暂不可上传图片,可根据实际业务改写

"),s={excludeKeys:"fullScreen"},l={placeholder:"请输入内容...",MENU_CONF:{}};l.MENU_CONF.uploadImage={server:"",fieldName:"file",allowedFileTypes:["image/png","image/jpg","image/jpeg"],customInsert(e,o){e.data.url&&setTimeout(()=>{o(e.data.url)},2e3)}};const i=e=>{a.value=e};return _(()=>{const e=a.value;e!=null&&e.destroy()}),(e,o)=>(v(),C("div",h,[n(r(f),{editor:a.value,defaultConfig:s,mode:d,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),n(r(m),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=u=>t.value=u),defaultConfig:l,mode:d,style:{height:"500px","overflow-y":"hidden"},onOnCreated:i},null,8,["modelValue"])]))}});export{U as _}; +import{T as f,E as m}from"./index.esm--zOXc_VX.js";import{d as c,M as p,a as g,z as _,f as v,k as C,i as n,u as r}from"./index-DqH6biyS.js";const h={class:"wangeditor"},d="default",U=c({name:"picUpload",__name:"EditorUpload",setup(y){const a=p(),t=g("

仅提供代码参考,暂不可上传图片,可根据实际业务改写

"),s={excludeKeys:"fullScreen"},l={placeholder:"请输入内容...",MENU_CONF:{}};l.MENU_CONF.uploadImage={server:"",fieldName:"file",allowedFileTypes:["image/png","image/jpg","image/jpeg"],customInsert(e,o){e.data.url&&setTimeout(()=>{o(e.data.url)},2e3)}};const i=e=>{a.value=e};return _(()=>{const e=a.value;e!=null&&e.destroy()}),(e,o)=>(v(),C("div",h,[n(r(f),{editor:a.value,defaultConfig:s,mode:d,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),n(r(m),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=u=>t.value=u),defaultConfig:l,mode:d,style:{height:"500px","overflow-y":"hidden"},onOnCreated:i},null,8,["modelValue"])]))}});export{U as _}; diff --git a/static/js/ListCard-C_5XlKYR.js b/static/js/ListCard-C--d7u8w.js similarity index 96% rename from static/js/ListCard-C_5XlKYR.js rename to static/js/ListCard-C--d7u8w.js index 4b41daf601..1c65065600 100644 --- a/static/js/ListCard-C_5XlKYR.js +++ b/static/js/ListCard-C--d7u8w.js @@ -1 +1 @@ -import{f as o,k as r,g as n,d as I,p as g,e as i,i as l,w as c,v as w,b as s,u as d,j as u,h as p,t as h,_ as B}from"./index-AFhnwzwZ.js";import{d as S}from"./more-2-fill-iTOisMwj.js";const A={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"};function N(e,t){return o(),r("svg",A,t[0]||(t[0]=[n("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 1m1.5 5v2h1V6H12v8H4V6h1.5v2h1V6zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0z"},null,-1)]))}const j={render:N},L={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"};function O(e,t){return o(),r("svg",L,t[0]||(t[0]=[n("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 1zm0-1h11V4h-11zM15 13H1v1h14z"},null,-1)]))}const D={render:O},E={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"};function R(e,t){return o(),r("svg",E,t[0]||(t[0]=[n("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-.13M12.5 7H11v3h1.5zm-9 0v3H5V7z"},null,-1)]))}const T={render:R},q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"};function F(e,t){return o(),r("svg",q,t[0]||(t[0]=[n("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-1zM5 5h1V4h4v1h1V4h2v2H3V4h2zM3 7h10v6H3z"},null,-1)]))}const G={render:F},J={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"};function K(e,t){return o(),r("svg",J,t[0]||(t[0]=[n("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.5 7.5 0 0 1 8 10.5M10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},null,-1),n("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-1zm11 1v11h-11v-11z"},null,-1)]))}const P={render:K},Q={class:"list-card-item_detail bg-bg_color"},U={class:"list-card-item_detail--operation"},W={class:"list-card-item_detail--name text-text_color_primary"},X={class:"list-card-item_detail--desc text-text_color_regular"},Y=I({name:"ReCard",__name:"ListCard",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:t}){const v=e,f=t,x=m=>{f("manage-product",m)},C=m=>{f("delete-item",m)},V=g(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),y=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(m,a)=>{const k=i("el-tag"),z=i("IconifyIconOffline"),_=i("el-dropdown-item"),H=i("el-dropdown-menu"),M=i("el-dropdown"),b=i("el-row");return o(),r("div",{class:w(V.value)},[n("div",Q,[l(b,{justify:"space-between"},{default:c(()=>[n("div",{class:w(y.value)},[e.product.type===1?(o(),s(d(j),{key:0})):u("",!0),e.product.type===2?(o(),s(d(G),{key:1})):u("",!0),e.product.type===3?(o(),s(d(T),{key:2})):u("",!0),e.product.type===4?(o(),s(d(P),{key:3})):u("",!0),e.product.type===5?(o(),s(d(D),{key:4})):u("",!0)],2),n("div",U,[l(k,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:c(()=>[p(h(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),l(M,{trigger:"click",disabled:!e.product.isSetup},{dropdown:c(()=>[l(H,{disabled:!e.product.isSetup},{default:c(()=>[l(_,{onClick:a[0]||(a[0]=$=>x(e.product))},{default:c(()=>a[2]||(a[2]=[p(" 管理 ")])),_:1}),l(_,{onClick:a[1]||(a[1]=$=>C(e.product))},{default:c(()=>a[3]||(a[3]=[p(" 删除 ")])),_:1})]),_:1},8,["disabled"])]),default:c(()=>[l(z,{icon:d(S),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),n("p",W,h(e.product.name),1),n("p",X,h(e.product.description),1)])],2)}}}),te=B(Y,[["__scopeId","data-v-00983da7"]]);export{te as default}; +import{f as o,k as r,g as n,d as I,p as g,e as i,i as l,w as c,v as w,b as s,u as d,j as u,h as p,t as h,_ as B}from"./index-DqH6biyS.js";import{d as S}from"./more-2-fill-iTOisMwj.js";const A={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"};function N(e,t){return o(),r("svg",A,t[0]||(t[0]=[n("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 1m1.5 5v2h1V6H12v8H4V6h1.5v2h1V6zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0z"},null,-1)]))}const j={render:N},L={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"};function O(e,t){return o(),r("svg",L,t[0]||(t[0]=[n("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 1zm0-1h11V4h-11zM15 13H1v1h14z"},null,-1)]))}const D={render:O},E={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"};function R(e,t){return o(),r("svg",E,t[0]||(t[0]=[n("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-.13M12.5 7H11v3h1.5zm-9 0v3H5V7z"},null,-1)]))}const T={render:R},q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"};function F(e,t){return o(),r("svg",q,t[0]||(t[0]=[n("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-1zM5 5h1V4h4v1h1V4h2v2H3V4h2zM3 7h10v6H3z"},null,-1)]))}const G={render:F},J={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"};function K(e,t){return o(),r("svg",J,t[0]||(t[0]=[n("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.5 7.5 0 0 1 8 10.5M10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},null,-1),n("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-1zm11 1v11h-11v-11z"},null,-1)]))}const P={render:K},Q={class:"list-card-item_detail bg-bg_color"},U={class:"list-card-item_detail--operation"},W={class:"list-card-item_detail--name text-text_color_primary"},X={class:"list-card-item_detail--desc text-text_color_regular"},Y=I({name:"ReCard",__name:"ListCard",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:t}){const v=e,f=t,x=m=>{f("manage-product",m)},C=m=>{f("delete-item",m)},V=g(()=>["list-card-item",{"list-card-item__disabled":!v.product.isSetup}]),y=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(m,a)=>{const k=i("el-tag"),z=i("IconifyIconOffline"),_=i("el-dropdown-item"),H=i("el-dropdown-menu"),M=i("el-dropdown"),b=i("el-row");return o(),r("div",{class:w(V.value)},[n("div",Q,[l(b,{justify:"space-between"},{default:c(()=>[n("div",{class:w(y.value)},[e.product.type===1?(o(),s(d(j),{key:0})):u("",!0),e.product.type===2?(o(),s(d(G),{key:1})):u("",!0),e.product.type===3?(o(),s(d(T),{key:2})):u("",!0),e.product.type===4?(o(),s(d(P),{key:3})):u("",!0),e.product.type===5?(o(),s(d(D),{key:4})):u("",!0)],2),n("div",U,[l(k,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:c(()=>[p(h(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),l(M,{trigger:"click",disabled:!e.product.isSetup},{dropdown:c(()=>[l(H,{disabled:!e.product.isSetup},{default:c(()=>[l(_,{onClick:a[0]||(a[0]=$=>x(e.product))},{default:c(()=>a[2]||(a[2]=[p(" 管理 ")])),_:1}),l(_,{onClick:a[1]||(a[1]=$=>C(e.product))},{default:c(()=>a[3]||(a[3]=[p(" 删除 ")])),_:1})]),_:1},8,["disabled"])]),default:c(()=>[l(z,{icon:d(S),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),n("p",W,h(e.product.name),1),n("p",X,h(e.product.description),1)])],2)}}}),te=B(Y,[["__scopeId","data-v-00983da7"]]);export{te as default}; diff --git a/static/js/ListDialogForm-CJV5_35a.js b/static/js/ListDialogForm-DKEDYC5Q.js similarity index 52% rename from static/js/ListDialogForm-CJV5_35a.js rename to static/js/ListDialogForm-DKEDYC5Q.js index b464f6ce11..f1d5ccfac0 100644 --- a/static/js/ListDialogForm-CJV5_35a.js +++ b/static/js/ListDialogForm-DKEDYC5Q.js @@ -1 +1 @@ -import{_ as m}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js b/static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js similarity index 97% rename from static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js rename to static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js index 18f187eaf7..2a452ce3ac 100644 --- a/static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js +++ b/static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js @@ -1 +1 @@ -var F=(V,y,r)=>new Promise((f,p)=>{var d=n=>{try{i(r.next(n))}catch(m){p(m)}},u=n=>{try{i(r.throw(n))}catch(m){p(m)}},i=n=>n.done?f(n.value):Promise.resolve(n.value).then(d,u);i((r=r.apply(V,y)).next())});import{d as R,a as b,n as g,b as j,w as a,e as s,f as C,i as t,h as _,k as q,l as I,t as J,F as M,J as P}from"./index-AFhnwzwZ.js";const A=R({__name:"ListDialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(V,{emit:y}){const r=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],f=V,p=b(),d=b(!1),u=b(f.data),i=b(""),n=o=>F(this,null,function*(){o&&(yield o.validate(e=>{e&&(P("提交成功",{type:"success"}),d.value=!1,m(o))}))}),m=o=>{o&&o.resetFields()},x=()=>{d.value=!1,m(p.value)},U=y;g(()=>d.value,o=>{U("update:visible",o)}),g(()=>f.visible,o=>{d.value=o}),g(()=>f.data,o=>{u.value=o});const B={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const c=s("el-input"),v=s("el-form-item"),w=s("el-radio"),D=s("el-radio-group"),L=s("el-option"),N=s("el-select"),O=s("el-form"),k=s("el-button"),S=s("el-dialog");return C(),j(S,{modelValue:d.value,"onUpdate:modelValue":e[6]||(e[6]=l=>d.value=l),title:"新建产品",width:680,draggable:"","before-close":x},{footer:a(()=>[t(k,{onClick:x},{default:a(()=>e[9]||(e[9]=[_("取消")])),_:1}),t(k,{type:"primary",onClick:e[5]||(e[5]=l=>n(p.value))},{default:a(()=>e[10]||(e[10]=[_(" 确定 ")])),_:1})]),default:a(()=>[t(O,{ref_key:"ruleFormRef",ref:p,model:u.value,rules:B,"label-width":"100px"},{default:a(()=>[t(v,{label:"产品名称",prop:"name"},{default:a(()=>[t(c,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),t(v,{label:"产品状态",prop:"status"},{default:a(()=>[t(D,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:a(()=>[t(w,{value:"0"},{default:a(()=>e[7]||(e[7]=[_("已停用")])),_:1}),t(w,{value:"1"},{default:a(()=>e[8]||(e[8]=[_("已启用")])),_:1})]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"产品描述",prop:"description"},{default:a(()=>[t(c,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),t(v,{label:"产品类型",prop:"type"},{default:a(()=>[t(N,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:a(()=>[(C(),q(M,null,I(r,(l,T)=>t(L,{key:T,value:l.value,label:l.label},{default:a(()=>[_(J(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"备注",prop:"mark"},{default:a(()=>[t(c,{modelValue:i.value,"onUpdate:modelValue":e[4]||(e[4]=l=>i.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{A as _}; +var F=(V,y,r)=>new Promise((f,p)=>{var d=n=>{try{i(r.next(n))}catch(m){p(m)}},u=n=>{try{i(r.throw(n))}catch(m){p(m)}},i=n=>n.done?f(n.value):Promise.resolve(n.value).then(d,u);i((r=r.apply(V,y)).next())});import{d as R,a as b,n as g,b as j,w as a,e as s,f as C,i as t,h as _,k as q,l as I,t as J,F as M,J as P}from"./index-DqH6biyS.js";const A=R({__name:"ListDialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(V,{emit:y}){const r=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],f=V,p=b(),d=b(!1),u=b(f.data),i=b(""),n=o=>F(this,null,function*(){o&&(yield o.validate(e=>{e&&(P("提交成功",{type:"success"}),d.value=!1,m(o))}))}),m=o=>{o&&o.resetFields()},x=()=>{d.value=!1,m(p.value)},U=y;g(()=>d.value,o=>{U("update:visible",o)}),g(()=>f.visible,o=>{d.value=o}),g(()=>f.data,o=>{u.value=o});const B={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const c=s("el-input"),v=s("el-form-item"),w=s("el-radio"),D=s("el-radio-group"),L=s("el-option"),N=s("el-select"),O=s("el-form"),k=s("el-button"),S=s("el-dialog");return C(),j(S,{modelValue:d.value,"onUpdate:modelValue":e[6]||(e[6]=l=>d.value=l),title:"新建产品",width:680,draggable:"","before-close":x},{footer:a(()=>[t(k,{onClick:x},{default:a(()=>e[9]||(e[9]=[_("取消")])),_:1}),t(k,{type:"primary",onClick:e[5]||(e[5]=l=>n(p.value))},{default:a(()=>e[10]||(e[10]=[_(" 确定 ")])),_:1})]),default:a(()=>[t(O,{ref_key:"ruleFormRef",ref:p,model:u.value,rules:B,"label-width":"100px"},{default:a(()=>[t(v,{label:"产品名称",prop:"name"},{default:a(()=>[t(c,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),t(v,{label:"产品状态",prop:"status"},{default:a(()=>[t(D,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:a(()=>[t(w,{value:"0"},{default:a(()=>e[7]||(e[7]=[_("已停用")])),_:1}),t(w,{value:"1"},{default:a(()=>e[8]||(e[8]=[_("已启用")])),_:1})]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"产品描述",prop:"description"},{default:a(()=>[t(c,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),t(v,{label:"产品类型",prop:"type"},{default:a(()=>[t(N,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:a(()=>[(C(),q(M,null,I(r,(l,T)=>t(L,{key:T,value:l.value,label:l.label},{default:a(()=>[_(J(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"备注",prop:"mark"},{default:a(()=>[t(c,{modelValue:i.value,"onUpdate:modelValue":e[4]||(e[4]=l=>i.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{A as _}; diff --git a/static/js/LoginPhone-BmPrDqaZ.js b/static/js/LoginPhone-BmPrDqaZ.js deleted file mode 100644 index 54fe141b3f..0000000000 --- a/static/js/LoginPhone-BmPrDqaZ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js";import"./motion-BWs4EVp0.js";import"./index-AFhnwzwZ.js";import"./verifyCode-BiQTeHGY.js";import"./hooks-CaC3u4N2.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginPhone-DGF7XC5M.js b/static/js/LoginPhone-DGF7XC5M.js new file mode 100644 index 0000000000..05d98e6851 --- /dev/null +++ b/static/js/LoginPhone-DGF7XC5M.js @@ -0,0 +1 @@ +import{_ as o}from"./LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js";import"./motion-CswUmNV1.js";import"./index-DqH6biyS.js";import"./verifyCode-bgLMaVwT.js";import"./hooks-BoDRUKFd.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js b/static/js/LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js similarity index 91% rename from static/js/LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js rename to static/js/LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js index 463ba4a10b..d6b5ef80c6 100644 --- a/static/js/LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js +++ b/static/js/LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js @@ -1 +1 @@ -var x=(h,s,n)=>new Promise((r,u)=>{var g=t=>{try{d(n.next(t))}catch(i){u(i)}},p=t=>{try{d(n.throw(t))}catch(i){u(i)}},d=t=>t.done?r(t.value):Promise.resolve(t.value).then(g,p);d((n=n.apply(h,s)).next())});import{M as c}from"./motion-BWs4EVp0.js";import{d as B,R as S,a as b,r as F,e as _,f as I,b as L,w as l,i as o,u as e,g as N,h as v,t as C,J as T,aa as U,fF as z,g0 as P}from"./index-AFhnwzwZ.js";import{u as V,p as $}from"./verifyCode-BiQTeHGY.js";import{u as w}from"./hooks-CaC3u4N2.js";import{d as D}from"./iphone-CgGaW-_Y.js";const E={class:"w-full flex justify-between"},q=B({__name:"LoginPhone",setup(h){const{t:s}=S(),n=b(!1),r=F({phone:"",verifyCode:""}),u=b(),{isDisabled:g,text:p}=V(),d=i=>x(this,null,function*(){n.value=!0,i&&(yield i.validate(a=>{a?setTimeout(()=>{T(U(z("login.pureLoginSuccess")),{type:"success"}),n.value=!1},2e3):n.value=!1}))});function t(){V().end(),P().SET_CURRENTPAGE(0)}return(i,a)=>{const k=_("el-input"),m=_("el-form-item"),y=_("el-button"),R=_("el-form");return I(),L(R,{ref_key:"ruleFormRef",ref:u,model:r,rules:e($),size:"large"},{default:l(()=>[o(e(c),null,{default:l(()=>[o(m,{prop:"phone"},{default:l(()=>[o(k,{modelValue:r.phone,"onUpdate:modelValue":a[0]||(a[0]=f=>r.phone=f),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(w)(e(D))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(c),{delay:100},{default:l(()=>[o(m,{prop:"verifyCode"},{default:l(()=>[N("div",E,[o(k,{modelValue:r.verifyCode,"onUpdate:modelValue":a[1]||(a[1]=f=>r.verifyCode=f),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(w)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),o(y,{disabled:e(g),class:"ml-2",onClick:a[2]||(a[2]=f=>e(V)().start(u.value,"phone"))},{default:l(()=>[v(C(e(p).length>0?e(p)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),o(e(c),{delay:150},{default:l(()=>[o(m,null,{default:l(()=>[o(y,{class:"w-full",size:"default",type:"primary",loading:n.value,onClick:a[3]||(a[3]=f=>d(u.value))},{default:l(()=>[v(C(e(s)("login.pureLogin")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(c),{delay:200},{default:l(()=>[o(m,null,{default:l(()=>[o(y,{class:"w-full",size:"default",onClick:t},{default:l(()=>[v(C(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; +var x=(h,s,n)=>new Promise((r,u)=>{var g=t=>{try{d(n.next(t))}catch(i){u(i)}},p=t=>{try{d(n.throw(t))}catch(i){u(i)}},d=t=>t.done?r(t.value):Promise.resolve(t.value).then(g,p);d((n=n.apply(h,s)).next())});import{M as c}from"./motion-CswUmNV1.js";import{d as B,R as S,a as b,r as F,e as _,f as I,b as L,w as l,i as o,u as e,g as N,h as v,t as C,J as T,aa as U,fF as z,g0 as P}from"./index-DqH6biyS.js";import{u as V,p as $}from"./verifyCode-bgLMaVwT.js";import{u as w}from"./hooks-BoDRUKFd.js";import{d as D}from"./iphone-CgGaW-_Y.js";const E={class:"w-full flex justify-between"},q=B({__name:"LoginPhone",setup(h){const{t:s}=S(),n=b(!1),r=F({phone:"",verifyCode:""}),u=b(),{isDisabled:g,text:p}=V(),d=i=>x(this,null,function*(){n.value=!0,i&&(yield i.validate(a=>{a?setTimeout(()=>{T(U(z("login.pureLoginSuccess")),{type:"success"}),n.value=!1},2e3):n.value=!1}))});function t(){V().end(),P().SET_CURRENTPAGE(0)}return(i,a)=>{const k=_("el-input"),m=_("el-form-item"),y=_("el-button"),R=_("el-form");return I(),L(R,{ref_key:"ruleFormRef",ref:u,model:r,rules:e($),size:"large"},{default:l(()=>[o(e(c),null,{default:l(()=>[o(m,{prop:"phone"},{default:l(()=>[o(k,{modelValue:r.phone,"onUpdate:modelValue":a[0]||(a[0]=f=>r.phone=f),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(w)(e(D))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(c),{delay:100},{default:l(()=>[o(m,{prop:"verifyCode"},{default:l(()=>[N("div",E,[o(k,{modelValue:r.verifyCode,"onUpdate:modelValue":a[1]||(a[1]=f=>r.verifyCode=f),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(w)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),o(y,{disabled:e(g),class:"ml-2",onClick:a[2]||(a[2]=f=>e(V)().start(u.value,"phone"))},{default:l(()=>[v(C(e(p).length>0?e(p)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),o(e(c),{delay:150},{default:l(()=>[o(m,null,{default:l(()=>[o(y,{class:"w-full",size:"default",type:"primary",loading:n.value,onClick:a[3]||(a[3]=f=>d(u.value))},{default:l(()=>[v(C(e(s)("login.pureLogin")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(c),{delay:200},{default:l(()=>[o(m,null,{default:l(()=>[o(y,{class:"w-full",size:"default",onClick:t},{default:l(()=>[v(C(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; diff --git a/static/js/LoginQrCode-lQ3nm2bg.js b/static/js/LoginQrCode-DkSLofHI.js similarity index 50% rename from static/js/LoginQrCode-lQ3nm2bg.js rename to static/js/LoginQrCode-DkSLofHI.js index e339201d7d..148512d523 100644 --- a/static/js/LoginQrCode-lQ3nm2bg.js +++ b/static/js/LoginQrCode-DkSLofHI.js @@ -1 +1 @@ -import{_ as o}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js";import"./motion-BWs4EVp0.js";import"./index-AFhnwzwZ.js";import"./index-rRKx_4l4.js";import"./propTypes-D_I3dZnw.js";import"./refresh-right-Du3ZsAuC.js";export{o as default}; +import{_ as o}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js";import"./motion-CswUmNV1.js";import"./index-DqH6biyS.js";import"./index-Dgb_lRhs.js";import"./propTypes-D_I3dZnw.js";import"./refresh-right-Du3ZsAuC.js";export{o as default}; diff --git a/static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js b/static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js similarity index 75% rename from static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js rename to static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js index b11c78f3bf..a41bfe3cbf 100644 --- a/static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js +++ b/static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js @@ -1 +1 @@ -import{M as a}from"./motion-BWs4EVp0.js";import{R as _}from"./index-rRKx_4l4.js";import{d as c,R as d,e as l,f as p,k as m,i as t,w as o,u as e,g as f,t as r,g0 as g,h as x,F as k}from"./index-AFhnwzwZ.js";const C={class:"text-gray-500 text-xs"},N=c({__name:"LoginQrCode",setup(R){const{t:s}=d();return(T,n)=>{const i=l("el-divider"),u=l("el-button");return p(),m(k,null,[t(e(a),{class:"-mt-2 -mb-2"},{default:o(()=>[t(e(_),{text:e(s)("login.pureTest")},null,8,["text"])]),_:1}),t(e(a),{delay:100},{default:o(()=>[t(i,null,{default:o(()=>[f("p",C,r(e(s)("login.pureTip")),1)]),_:1})]),_:1}),t(e(a),{delay:150},{default:o(()=>[t(u,{class:"w-full mt-4",onClick:n[0]||(n[0]=v=>e(g)().SET_CURRENTPAGE(0))},{default:o(()=>[x(r(e(s)("login.pureBack")),1)]),_:1})]),_:1})],64)}}});export{N as _}; +import{M as a}from"./motion-CswUmNV1.js";import{R as _}from"./index-Dgb_lRhs.js";import{d as c,R as d,e as l,f as p,k as m,i as t,w as o,u as e,g as f,t as r,g0 as g,h as x,F as k}from"./index-DqH6biyS.js";const C={class:"text-gray-500 text-xs"},N=c({__name:"LoginQrCode",setup(R){const{t:s}=d();return(T,n)=>{const i=l("el-divider"),u=l("el-button");return p(),m(k,null,[t(e(a),{class:"-mt-2 -mb-2"},{default:o(()=>[t(e(_),{text:e(s)("login.pureTest")},null,8,["text"])]),_:1}),t(e(a),{delay:100},{default:o(()=>[t(i,null,{default:o(()=>[f("p",C,r(e(s)("login.pureTip")),1)]),_:1})]),_:1}),t(e(a),{delay:150},{default:o(()=>[t(u,{class:"w-full mt-4",onClick:n[0]||(n[0]=v=>e(g)().SET_CURRENTPAGE(0))},{default:o(()=>[x(r(e(s)("login.pureBack")),1)]),_:1})]),_:1})],64)}}});export{N as _}; diff --git a/static/js/LoginRegist-CPkZf5Qr.js b/static/js/LoginRegist-CPkZf5Qr.js deleted file mode 100644 index 9730694da4..0000000000 --- a/static/js/LoginRegist-CPkZf5Qr.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js";import"./motion-BWs4EVp0.js";import"./index-AFhnwzwZ.js";import"./verifyCode-BiQTeHGY.js";import"./hooks-CaC3u4N2.js";import"./lock-fill-BZPnsoM7.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginRegist-uCwwpuNT.js b/static/js/LoginRegist-uCwwpuNT.js new file mode 100644 index 0000000000..e5c76fb916 --- /dev/null +++ b/static/js/LoginRegist-uCwwpuNT.js @@ -0,0 +1 @@ +import{_ as o}from"./LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js";import"./motion-CswUmNV1.js";import"./index-DqH6biyS.js";import"./verifyCode-bgLMaVwT.js";import"./hooks-BoDRUKFd.js";import"./lock-fill-BZPnsoM7.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js b/static/js/LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js similarity index 95% rename from static/js/LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js rename to static/js/LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js index 055e5078b2..6d6551f4f8 100644 --- a/static/js/LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js +++ b/static/js/LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js @@ -1 +1 @@ -var U=(P,s,d)=>new Promise((f,r)=>{var c=n=>{try{m(d.next(n))}catch(g){r(g)}},C=n=>{try{m(d.throw(n))}catch(g){r(g)}},m=n=>n.done?f(n.value):Promise.resolve(n.value).then(c,C);m((d=d.apply(P,s)).next())});import{M as p}from"./motion-BWs4EVp0.js";import{d as E,R as F,a as R,r as I,e as _,f as N,b as z,w as o,i as l,u as e,aa as y,fF as w,g as M,h as v,t as V,J as S,g0 as A}from"./index-AFhnwzwZ.js";import{u as k,a as G}from"./verifyCode-BiQTeHGY.js";import{u as x}from"./hooks-CaC3u4N2.js";import{d as B}from"./lock-fill-BZPnsoM7.js";import{d as H}from"./iphone-CgGaW-_Y.js";const W={width:24,height:24,body:''},Z={class:"w-full flex justify-between"},X=E({__name:"LoginRegist",setup(P){const{t:s}=F(),d=R(!1),f=R(!1),r=I({username:"",phone:"",verifyCode:"",password:"",repeatPassword:""}),c=R(),{isDisabled:C,text:m}=k(),n=[{validator:(h,a,u)=>{a===""?u(new Error(y(w("login.purePassWordSureReg")))):r.password!==a?u(new Error(y(w("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],g=h=>U(this,null,function*(){f.value=!0,h&&(yield h.validate(a=>{a?d.value?setTimeout(()=>{S(y(w("login.pureRegisterSuccess")),{type:"success"}),f.value=!1},2e3):(f.value=!1,S(y(w("login.pureTickPrivacy")),{type:"warning"})):f.value=!1}))});function T(){k().end(),A().SET_CURRENTPAGE(0)}return(h,a)=>{const u=_("el-input"),i=_("el-form-item"),b=_("el-button"),$=_("el-checkbox"),D=_("el-form");return N(),z(D,{ref_key:"ruleFormRef",ref:c,model:r,rules:e(G),size:"large"},{default:o(()=>[l(e(p),null,{default:o(()=>[l(i,{rules:[{required:!0,message:e(y)(e(w)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:o(()=>[l(u,{modelValue:r.username,"onUpdate:modelValue":a[0]||(a[0]=t=>r.username=t),clearable:"",placeholder:e(s)("login.pureUsername"),"prefix-icon":e(x)(e(W))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),l(e(p),{delay:100},{default:o(()=>[l(i,{prop:"phone"},{default:o(()=>[l(u,{modelValue:r.phone,"onUpdate:modelValue":a[1]||(a[1]=t=>r.phone=t),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(x)(e(H))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:150},{default:o(()=>[l(i,{prop:"verifyCode"},{default:o(()=>[M("div",Z,[l(u,{modelValue:r.verifyCode,"onUpdate:modelValue":a[2]||(a[2]=t=>r.verifyCode=t),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(x)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),l(b,{disabled:e(C),class:"ml-2",onClick:a[3]||(a[3]=t=>e(k)().start(c.value,"phone"))},{default:o(()=>[v(V(e(m).length>0?e(m)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),l(e(p),{delay:200},{default:o(()=>[l(i,{prop:"password"},{default:o(()=>[l(u,{modelValue:r.password,"onUpdate:modelValue":a[4]||(a[4]=t=>r.password=t),clearable:"","show-password":"",placeholder:e(s)("login.purePassword"),"prefix-icon":e(x)(e(B))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:250},{default:o(()=>[l(i,{rules:n,prop:"repeatPassword"},{default:o(()=>[l(u,{modelValue:r.repeatPassword,"onUpdate:modelValue":a[5]||(a[5]=t=>r.repeatPassword=t),clearable:"","show-password":"",placeholder:e(s)("login.pureSure"),"prefix-icon":e(x)(e(B))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:300},{default:o(()=>[l(i,null,{default:o(()=>[l($,{modelValue:d.value,"onUpdate:modelValue":a[6]||(a[6]=t=>d.value=t)},{default:o(()=>[v(V(e(s)("login.pureReadAccept")),1)]),_:1},8,["modelValue"]),l(b,{link:"",type:"primary"},{default:o(()=>[v(V(e(s)("login.purePrivacyPolicy")),1)]),_:1})]),_:1})]),_:1}),l(e(p),{delay:350},{default:o(()=>[l(i,null,{default:o(()=>[l(b,{class:"w-full",size:"default",type:"primary",loading:f.value,onClick:a[7]||(a[7]=t=>g(c.value))},{default:o(()=>[v(V(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),l(e(p),{delay:400},{default:o(()=>[l(i,null,{default:o(()=>[l(b,{class:"w-full",size:"default",onClick:T},{default:o(()=>[v(V(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{X as _,W as d}; +var U=(P,s,d)=>new Promise((f,r)=>{var c=n=>{try{m(d.next(n))}catch(g){r(g)}},C=n=>{try{m(d.throw(n))}catch(g){r(g)}},m=n=>n.done?f(n.value):Promise.resolve(n.value).then(c,C);m((d=d.apply(P,s)).next())});import{M as p}from"./motion-CswUmNV1.js";import{d as E,R as F,a as R,r as I,e as _,f as N,b as z,w as o,i as l,u as e,aa as y,fF as w,g as M,h as v,t as V,J as S,g0 as A}from"./index-DqH6biyS.js";import{u as k,a as G}from"./verifyCode-bgLMaVwT.js";import{u as x}from"./hooks-BoDRUKFd.js";import{d as B}from"./lock-fill-BZPnsoM7.js";import{d as H}from"./iphone-CgGaW-_Y.js";const W={width:24,height:24,body:''},Z={class:"w-full flex justify-between"},X=E({__name:"LoginRegist",setup(P){const{t:s}=F(),d=R(!1),f=R(!1),r=I({username:"",phone:"",verifyCode:"",password:"",repeatPassword:""}),c=R(),{isDisabled:C,text:m}=k(),n=[{validator:(h,a,u)=>{a===""?u(new Error(y(w("login.purePassWordSureReg")))):r.password!==a?u(new Error(y(w("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],g=h=>U(this,null,function*(){f.value=!0,h&&(yield h.validate(a=>{a?d.value?setTimeout(()=>{S(y(w("login.pureRegisterSuccess")),{type:"success"}),f.value=!1},2e3):(f.value=!1,S(y(w("login.pureTickPrivacy")),{type:"warning"})):f.value=!1}))});function T(){k().end(),A().SET_CURRENTPAGE(0)}return(h,a)=>{const u=_("el-input"),i=_("el-form-item"),b=_("el-button"),$=_("el-checkbox"),D=_("el-form");return N(),z(D,{ref_key:"ruleFormRef",ref:c,model:r,rules:e(G),size:"large"},{default:o(()=>[l(e(p),null,{default:o(()=>[l(i,{rules:[{required:!0,message:e(y)(e(w)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:o(()=>[l(u,{modelValue:r.username,"onUpdate:modelValue":a[0]||(a[0]=t=>r.username=t),clearable:"",placeholder:e(s)("login.pureUsername"),"prefix-icon":e(x)(e(W))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),l(e(p),{delay:100},{default:o(()=>[l(i,{prop:"phone"},{default:o(()=>[l(u,{modelValue:r.phone,"onUpdate:modelValue":a[1]||(a[1]=t=>r.phone=t),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(x)(e(H))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:150},{default:o(()=>[l(i,{prop:"verifyCode"},{default:o(()=>[M("div",Z,[l(u,{modelValue:r.verifyCode,"onUpdate:modelValue":a[2]||(a[2]=t=>r.verifyCode=t),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(x)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),l(b,{disabled:e(C),class:"ml-2",onClick:a[3]||(a[3]=t=>e(k)().start(c.value,"phone"))},{default:o(()=>[v(V(e(m).length>0?e(m)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),l(e(p),{delay:200},{default:o(()=>[l(i,{prop:"password"},{default:o(()=>[l(u,{modelValue:r.password,"onUpdate:modelValue":a[4]||(a[4]=t=>r.password=t),clearable:"","show-password":"",placeholder:e(s)("login.purePassword"),"prefix-icon":e(x)(e(B))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:250},{default:o(()=>[l(i,{rules:n,prop:"repeatPassword"},{default:o(()=>[l(u,{modelValue:r.repeatPassword,"onUpdate:modelValue":a[5]||(a[5]=t=>r.repeatPassword=t),clearable:"","show-password":"",placeholder:e(s)("login.pureSure"),"prefix-icon":e(x)(e(B))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:300},{default:o(()=>[l(i,null,{default:o(()=>[l($,{modelValue:d.value,"onUpdate:modelValue":a[6]||(a[6]=t=>d.value=t)},{default:o(()=>[v(V(e(s)("login.pureReadAccept")),1)]),_:1},8,["modelValue"]),l(b,{link:"",type:"primary"},{default:o(()=>[v(V(e(s)("login.purePrivacyPolicy")),1)]),_:1})]),_:1})]),_:1}),l(e(p),{delay:350},{default:o(()=>[l(i,null,{default:o(()=>[l(b,{class:"w-full",size:"default",type:"primary",loading:f.value,onClick:a[7]||(a[7]=t=>g(c.value))},{default:o(()=>[v(V(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),l(e(p),{delay:400},{default:o(()=>[l(i,null,{default:o(()=>[l(b,{class:"w-full",size:"default",onClick:T},{default:o(()=>[v(V(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{X as _,W as d}; diff --git a/static/js/LoginUpdate-CBzzysdh.js b/static/js/LoginUpdate-CBzzysdh.js deleted file mode 100644 index b542c34a33..0000000000 --- a/static/js/LoginUpdate-CBzzysdh.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js";import"./motion-BWs4EVp0.js";import"./index-AFhnwzwZ.js";import"./verifyCode-BiQTeHGY.js";import"./hooks-CaC3u4N2.js";import"./lock-fill-BZPnsoM7.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginUpdate-Ciln_Ad_.js b/static/js/LoginUpdate-Ciln_Ad_.js new file mode 100644 index 0000000000..fb1b265327 --- /dev/null +++ b/static/js/LoginUpdate-Ciln_Ad_.js @@ -0,0 +1 @@ +import{_ as o}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js";import"./motion-CswUmNV1.js";import"./index-DqH6biyS.js";import"./verifyCode-bgLMaVwT.js";import"./hooks-BoDRUKFd.js";import"./lock-fill-BZPnsoM7.js";import"./iphone-CgGaW-_Y.js";export{o as default}; diff --git a/static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js b/static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js similarity index 94% rename from static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js rename to static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js index de975d937e..b3bd1fc69d 100644 --- a/static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js +++ b/static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js @@ -1 +1 @@ -var U=(b,s,t)=>new Promise((r,i)=>{var V=n=>{try{m(t.next(n))}catch(c){i(c)}},_=n=>{try{m(t.throw(n))}catch(c){i(c)}},m=n=>n.done?r(n.value):Promise.resolve(n.value).then(V,_);m((t=t.apply(b,s)).next())});import{M as f}from"./motion-BWs4EVp0.js";import{d as D,R as E,a as k,r as F,e as w,f as I,b as N,w as a,i as o,u as e,g as T,h as x,t as C,aa as h,fF as P,J as $,g0 as z}from"./index-AFhnwzwZ.js";import{u as R,a as W}from"./verifyCode-BiQTeHGY.js";import{u as y}from"./hooks-CaC3u4N2.js";import{d as S}from"./lock-fill-BZPnsoM7.js";import{d as G}from"./iphone-CgGaW-_Y.js";const M={class:"w-full flex justify-between"},O=D({__name:"LoginUpdate",setup(b){const{t:s}=E(),t=k(!1),r=F({phone:"",verifyCode:"",password:"",repeatPassword:""}),i=k(),{isDisabled:V,text:_}=R(),m=[{validator:(g,l,u)=>{l===""?u(new Error(h(P("login.purePassWordSureReg")))):r.password!==l?u(new Error(h(P("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],n=g=>U(this,null,function*(){t.value=!0,g&&(yield g.validate(l=>{l?setTimeout(()=>{$(h(P("login.purePassWordUpdateReg")),{type:"success"}),t.value=!1},2e3):t.value=!1}))});function c(){R().end(),z().SET_CURRENTPAGE(0)}return(g,l)=>{const u=w("el-input"),p=w("el-form-item"),v=w("el-button"),B=w("el-form");return I(),N(B,{ref_key:"ruleFormRef",ref:i,model:r,rules:e(W),size:"large"},{default:a(()=>[o(e(f),null,{default:a(()=>[o(p,{prop:"phone"},{default:a(()=>[o(u,{modelValue:r.phone,"onUpdate:modelValue":l[0]||(l[0]=d=>r.phone=d),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(y)(e(G))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:100},{default:a(()=>[o(p,{prop:"verifyCode"},{default:a(()=>[T("div",M,[o(u,{modelValue:r.verifyCode,"onUpdate:modelValue":l[1]||(l[1]=d=>r.verifyCode=d),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(y)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),o(v,{disabled:e(V),class:"ml-2",onClick:l[2]||(l[2]=d=>e(R)().start(i.value,"phone"))},{default:a(()=>[x(C(e(_).length>0?e(_)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),o(e(f),{delay:150},{default:a(()=>[o(p,{prop:"password"},{default:a(()=>[o(u,{modelValue:r.password,"onUpdate:modelValue":l[3]||(l[3]=d=>r.password=d),clearable:"","show-password":"",placeholder:e(s)("login.purePassword"),"prefix-icon":e(y)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:200},{default:a(()=>[o(p,{rules:m,prop:"repeatPassword"},{default:a(()=>[o(u,{modelValue:r.repeatPassword,"onUpdate:modelValue":l[4]||(l[4]=d=>r.repeatPassword=d),clearable:"","show-password":"",placeholder:e(s)("login.pureSure"),"prefix-icon":e(y)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:250},{default:a(()=>[o(p,null,{default:a(()=>[o(v,{class:"w-full",size:"default",type:"primary",loading:t.value,onClick:l[5]||(l[5]=d=>n(i.value))},{default:a(()=>[x(C(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(f),{delay:300},{default:a(()=>[o(p,null,{default:a(()=>[o(v,{class:"w-full",size:"default",onClick:c},{default:a(()=>[x(C(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{O as _}; +var U=(b,s,t)=>new Promise((r,i)=>{var V=n=>{try{m(t.next(n))}catch(c){i(c)}},_=n=>{try{m(t.throw(n))}catch(c){i(c)}},m=n=>n.done?r(n.value):Promise.resolve(n.value).then(V,_);m((t=t.apply(b,s)).next())});import{M as f}from"./motion-CswUmNV1.js";import{d as D,R as E,a as k,r as F,e as w,f as I,b as N,w as a,i as o,u as e,g as T,h as x,t as C,aa as h,fF as P,J as $,g0 as z}from"./index-DqH6biyS.js";import{u as R,a as W}from"./verifyCode-bgLMaVwT.js";import{u as y}from"./hooks-BoDRUKFd.js";import{d as S}from"./lock-fill-BZPnsoM7.js";import{d as G}from"./iphone-CgGaW-_Y.js";const M={class:"w-full flex justify-between"},O=D({__name:"LoginUpdate",setup(b){const{t:s}=E(),t=k(!1),r=F({phone:"",verifyCode:"",password:"",repeatPassword:""}),i=k(),{isDisabled:V,text:_}=R(),m=[{validator:(g,l,u)=>{l===""?u(new Error(h(P("login.purePassWordSureReg")))):r.password!==l?u(new Error(h(P("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],n=g=>U(this,null,function*(){t.value=!0,g&&(yield g.validate(l=>{l?setTimeout(()=>{$(h(P("login.purePassWordUpdateReg")),{type:"success"}),t.value=!1},2e3):t.value=!1}))});function c(){R().end(),z().SET_CURRENTPAGE(0)}return(g,l)=>{const u=w("el-input"),p=w("el-form-item"),v=w("el-button"),B=w("el-form");return I(),N(B,{ref_key:"ruleFormRef",ref:i,model:r,rules:e(W),size:"large"},{default:a(()=>[o(e(f),null,{default:a(()=>[o(p,{prop:"phone"},{default:a(()=>[o(u,{modelValue:r.phone,"onUpdate:modelValue":l[0]||(l[0]=d=>r.phone=d),clearable:"",placeholder:e(s)("login.purePhone"),"prefix-icon":e(y)(e(G))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:100},{default:a(()=>[o(p,{prop:"verifyCode"},{default:a(()=>[T("div",M,[o(u,{modelValue:r.verifyCode,"onUpdate:modelValue":l[1]||(l[1]=d=>r.verifyCode=d),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(y)("ri:shield-keyhole-line")},null,8,["modelValue","placeholder","prefix-icon"]),o(v,{disabled:e(V),class:"ml-2",onClick:l[2]||(l[2]=d=>e(R)().start(i.value,"phone"))},{default:a(()=>[x(C(e(_).length>0?e(_)+e(s)("login.pureInfo"):e(s)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),o(e(f),{delay:150},{default:a(()=>[o(p,{prop:"password"},{default:a(()=>[o(u,{modelValue:r.password,"onUpdate:modelValue":l[3]||(l[3]=d=>r.password=d),clearable:"","show-password":"",placeholder:e(s)("login.purePassword"),"prefix-icon":e(y)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:200},{default:a(()=>[o(p,{rules:m,prop:"repeatPassword"},{default:a(()=>[o(u,{modelValue:r.repeatPassword,"onUpdate:modelValue":l[4]||(l[4]=d=>r.repeatPassword=d),clearable:"","show-password":"",placeholder:e(s)("login.pureSure"),"prefix-icon":e(y)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:250},{default:a(()=>[o(p,null,{default:a(()=>[o(v,{class:"w-full",size:"default",type:"primary",loading:t.value,onClick:l[5]||(l[5]=d=>n(i.value))},{default:a(()=>[x(C(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(f),{delay:300},{default:a(()=>[o(p,null,{default:a(()=>[o(v,{class:"w-full",size:"default",onClick:c},{default:a(()=>[x(C(e(s)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{O as _}; diff --git a/static/js/Preferences-yKRq6FQr.js b/static/js/Preferences-rKooaX3X.js similarity index 95% rename from static/js/Preferences-yKRq6FQr.js rename to static/js/Preferences-rKooaX3X.js index fd02d366bb..1510a5eca4 100644 --- a/static/js/Preferences-yKRq6FQr.js +++ b/static/js/Preferences-rKooaX3X.js @@ -1 +1 @@ -import{d as h,a as x,e as l,f as n,k as o,g as t,F as v,l as k,t as r,i as c,w,h as g,v as C,u as V,X as y,J as B,_ as N}from"./index-AFhnwzwZ.js";const P={class:"flex items-center"},F={class:"flex-1"},U={class:"wp-4"},z=h({name:"Preferences",__name:"Preferences",setup(D){const i=x([{title:"账户密码",illustrate:"其他用户的消息将以站内信的形式通知",checked:!0},{title:"系统消息",illustrate:"系统消息将以站内信的形式通知",checked:!0},{title:"待办任务",illustrate:"待办任务将以站内信的形式通知",checked:!0}]);function d(_,s){B(`${s.title}设置成功`,{type:"success"})}return(_,s)=>{const u=l("el-text"),p=l("el-switch"),m=l("el-divider");return n(),o("div",{class:C(["min-w-[180px]",V(y)()?"max-w-[100%]":"max-w-[70%]"])},[s[0]||(s[0]=t("h3",{class:"my-8"},"偏好设置",-1)),(n(!0),o(v,null,k(i.value,(e,f)=>(n(),o("div",{key:f},[t("div",P,[t("div",F,[t("p",null,r(e.title),1),t("p",U,[c(u,{class:"mx-1",type:"info"},{default:w(()=>[g(r(e.illustrate),1)]),_:2},1024)])]),c(p,{modelValue:e.checked,"onUpdate:modelValue":a=>e.checked=a,"inline-prompt":"","active-text":"是","inactive-text":"否",onChange:a=>d(a,e)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),c(m)]))),128))],2)}}}),I=N(z,[["__scopeId","data-v-429391e8"]]);export{I as default}; +import{d as h,a as x,e as l,f as n,k as o,g as t,F as v,l as k,t as r,i as c,w,h as g,v as C,u as V,X as y,J as B,_ as N}from"./index-DqH6biyS.js";const P={class:"flex items-center"},F={class:"flex-1"},U={class:"wp-4"},z=h({name:"Preferences",__name:"Preferences",setup(D){const i=x([{title:"账户密码",illustrate:"其他用户的消息将以站内信的形式通知",checked:!0},{title:"系统消息",illustrate:"系统消息将以站内信的形式通知",checked:!0},{title:"待办任务",illustrate:"待办任务将以站内信的形式通知",checked:!0}]);function d(_,s){B(`${s.title}设置成功`,{type:"success"})}return(_,s)=>{const u=l("el-text"),p=l("el-switch"),m=l("el-divider");return n(),o("div",{class:C(["min-w-[180px]",V(y)()?"max-w-[100%]":"max-w-[70%]"])},[s[0]||(s[0]=t("h3",{class:"my-8"},"偏好设置",-1)),(n(!0),o(v,null,k(i.value,(e,f)=>(n(),o("div",{key:f},[t("div",P,[t("div",F,[t("p",null,r(e.title),1),t("p",U,[c(u,{class:"mx-1",type:"info"},{default:w(()=>[g(r(e.illustrate),1)]),_:2},1024)])]),c(p,{modelValue:e.checked,"onUpdate:modelValue":a=>e.checked=a,"inline-prompt":"","active-text":"是","inactive-text":"否",onChange:a=>d(a,e)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),c(m)]))),128))],2)}}}),I=N(z,[["__scopeId","data-v-429391e8"]]);export{I as default}; diff --git a/static/js/Profile-CGv81EmN.js b/static/js/Profile-CGv81EmN.js deleted file mode 100644 index 9bbccec8ec..0000000000 --- a/static/js/Profile-CGv81EmN.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js";import"./mock-Kl59S0Qr.js";import"./index-AFhnwzwZ.js";import"./index-B5M9mQxp.js";import"./index-B9RHPT66.js";import"./upload-line-ClmDKJCy.js";export{o as default}; diff --git a/static/js/Profile-Cl0Cjac9.js b/static/js/Profile-Cl0Cjac9.js new file mode 100644 index 0000000000..35a2c9da15 --- /dev/null +++ b/static/js/Profile-Cl0Cjac9.js @@ -0,0 +1 @@ +import{_ as o}from"./Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js";import"./mock-DMcMJ3Ay.js";import"./index-DqH6biyS.js";import"./index-Dt5do88n.js";import"./index-BCC60M31.js";import"./upload-line-ClmDKJCy.js";export{o as default}; diff --git a/static/js/Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js b/static/js/Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js similarity index 95% rename from static/js/Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js rename to static/js/Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js index 781e99f655..b8a8fb5835 100644 --- a/static/js/Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js +++ b/static/js/Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js @@ -1 +1 @@ -var h=(U,g,u)=>new Promise((w,p)=>{var d=s=>{try{o(u.next(s))}catch(c){p(c)}},b=s=>{try{o(u.throw(s))}catch(c){p(c)}},o=s=>s.done?w(s.value):Promise.resolve(s.value).then(d,b);o((u=u.apply(U,g)).next())});import{f as A}from"./mock-Kl59S0Qr.js";import{d as D,a as f,r as F,gf as E,e as r,f as M,k as $,g as R,i as l,w as t,u as y,h as I,X as L,v as j,aI as J,J as k}from"./index-AFhnwzwZ.js";import{R as T}from"./index-B5M9mQxp.js";import{d as X}from"./upload-line-ClmDKJCy.js";const G={class:"dialog-footer"},Z=D({name:"Profile",__name:"Profile",setup(U){const g=f(""),u=f(),w=f(),p=f(),d=f(!1),b=f(),o=F({avatar:"",nickname:"",email:"",phone:"",description:""}),s=F({nickname:[{required:!0,message:"昵称必填",trigger:"blur"}]});function c(a,e){const m=[{value:"@qq.com"},{value:"@126.com"},{value:"@163.com"}];let V=[],i=[];m.map(v=>i.push({value:a.split("@")[0]+v.value})),V=a?i.filter(v=>v.value.toLowerCase().indexOf(a.toLowerCase())===0):i,e(V)}const O=a=>{const e=new FileReader;e.onload=m=>{g.value=m.target.result,d.value=!0},e.readAsDataURL(a.raw)},C=()=>{w.value.hidePopover(),p.value.clearFiles(),d.value=!1},B=({blob:a})=>u.value=a,P=()=>{const a=J({files:new File([u.value],"avatar")});A(a).then(({success:e,data:m})=>{e?(k("更新头像成功",{type:"success"}),C()):k("更新头像失败")}).catch(e=>{k(`提交异常 ${e}`,{type:"error"})})},S=a=>h(this,null,function*(){yield a.validate((e,m)=>{e&&k("更新信息成功",{type:"success"})})});return E().then(a=>{Object.assign(o,a.data)}),(a,e)=>{const m=r("el-avatar"),V=r("IconifyIconOffline"),i=r("el-button"),v=r("el-upload"),_=r("el-form-item"),x=r("el-input"),q=r("el-autocomplete"),z=r("el-form"),N=r("el-dialog");return M(),$("div",{class:j(["min-w-[180px]",y(L)()?"max-w-[100%]":"max-w-[70%]"])},[e[10]||(e[10]=R("h3",{class:"my-8"},"个人信息",-1)),l(z,{ref_key:"userInfoFormRef",ref:b,"label-position":"top",rules:s,model:o},{default:t(()=>[l(_,{label:"头像"},{default:t(()=>[l(m,{size:80,src:o.avatar},null,8,["src"]),l(v,{ref_key:"uploadRef",ref:p,accept:"image/*",action:"#",limit:1,"auto-upload":!1,"show-file-list":!1,"on-change":O},{default:t(()=>[l(i,{plain:"",class:"ml-4"},{default:t(()=>[l(V,{icon:y(X)},null,8,["icon"]),e[6]||(e[6]=R("span",{class:"ml-2"},"更新头像",-1))]),_:1})]),_:1},512)]),_:1}),l(_,{label:"昵称",prop:"nickname"},{default:t(()=>[l(x,{modelValue:o.nickname,"onUpdate:modelValue":e[0]||(e[0]=n=>o.nickname=n),placeholder:"请输入昵称"},null,8,["modelValue"])]),_:1}),l(_,{label:"邮箱",prop:"email"},{default:t(()=>[l(q,{modelValue:o.email,"onUpdate:modelValue":e[1]||(e[1]=n=>o.email=n),"fetch-suggestions":c,"trigger-on-focus":!1,placeholder:"请输入邮箱",clearable:"",class:"w-full"},null,8,["modelValue"])]),_:1}),l(_,{label:"联系电话"},{default:t(()=>[l(x,{modelValue:o.phone,"onUpdate:modelValue":e[2]||(e[2]=n=>o.phone=n),placeholder:"请输入联系电话",clearable:""},null,8,["modelValue"])]),_:1}),l(_,{label:"简介"},{default:t(()=>[l(x,{modelValue:o.description,"onUpdate:modelValue":e[3]||(e[3]=n=>o.description=n),placeholder:"请输入简介",type:"textarea",autosize:{minRows:6,maxRows:8},maxlength:"56","show-word-limit":""},null,8,["modelValue"])]),_:1}),l(i,{type:"primary",onClick:e[4]||(e[4]=n=>S(b.value))},{default:t(()=>e[7]||(e[7]=[I(" 更新信息 ")])),_:1})]),_:1},8,["rules","model"]),l(N,{modelValue:d.value,"onUpdate:modelValue":e[5]||(e[5]=n=>d.value=n),width:"40%",title:"编辑头像","destroy-on-close":"",closeOnClickModal:!1,"before-close":C,fullscreen:y(L)()},{footer:t(()=>[R("div",G,[l(i,{bg:"",text:"",onClick:C},{default:t(()=>e[8]||(e[8]=[I("取消")])),_:1}),l(i,{bg:"",text:"",type:"primary",onClick:P},{default:t(()=>e[9]||(e[9]=[I(" 确定 ")])),_:1})])]),default:t(()=>[l(y(T),{ref_key:"cropRef",ref:w,imgSrc:g.value,onCropper:B},null,8,["imgSrc"])]),_:1},8,["modelValue","fullscreen"])],2)}}});export{Z as _}; +var h=(U,g,u)=>new Promise((w,p)=>{var d=s=>{try{o(u.next(s))}catch(c){p(c)}},b=s=>{try{o(u.throw(s))}catch(c){p(c)}},o=s=>s.done?w(s.value):Promise.resolve(s.value).then(d,b);o((u=u.apply(U,g)).next())});import{f as A}from"./mock-DMcMJ3Ay.js";import{d as D,a as f,r as F,gf as E,e as r,f as M,k as $,g as R,i as l,w as t,u as y,h as I,X as L,v as j,aI as J,J as k}from"./index-DqH6biyS.js";import{R as T}from"./index-Dt5do88n.js";import{d as X}from"./upload-line-ClmDKJCy.js";const G={class:"dialog-footer"},Z=D({name:"Profile",__name:"Profile",setup(U){const g=f(""),u=f(),w=f(),p=f(),d=f(!1),b=f(),o=F({avatar:"",nickname:"",email:"",phone:"",description:""}),s=F({nickname:[{required:!0,message:"昵称必填",trigger:"blur"}]});function c(a,e){const m=[{value:"@qq.com"},{value:"@126.com"},{value:"@163.com"}];let V=[],i=[];m.map(v=>i.push({value:a.split("@")[0]+v.value})),V=a?i.filter(v=>v.value.toLowerCase().indexOf(a.toLowerCase())===0):i,e(V)}const O=a=>{const e=new FileReader;e.onload=m=>{g.value=m.target.result,d.value=!0},e.readAsDataURL(a.raw)},C=()=>{w.value.hidePopover(),p.value.clearFiles(),d.value=!1},B=({blob:a})=>u.value=a,P=()=>{const a=J({files:new File([u.value],"avatar")});A(a).then(({success:e,data:m})=>{e?(k("更新头像成功",{type:"success"}),C()):k("更新头像失败")}).catch(e=>{k(`提交异常 ${e}`,{type:"error"})})},S=a=>h(this,null,function*(){yield a.validate((e,m)=>{e&&k("更新信息成功",{type:"success"})})});return E().then(a=>{Object.assign(o,a.data)}),(a,e)=>{const m=r("el-avatar"),V=r("IconifyIconOffline"),i=r("el-button"),v=r("el-upload"),_=r("el-form-item"),x=r("el-input"),q=r("el-autocomplete"),z=r("el-form"),N=r("el-dialog");return M(),$("div",{class:j(["min-w-[180px]",y(L)()?"max-w-[100%]":"max-w-[70%]"])},[e[10]||(e[10]=R("h3",{class:"my-8"},"个人信息",-1)),l(z,{ref_key:"userInfoFormRef",ref:b,"label-position":"top",rules:s,model:o},{default:t(()=>[l(_,{label:"头像"},{default:t(()=>[l(m,{size:80,src:o.avatar},null,8,["src"]),l(v,{ref_key:"uploadRef",ref:p,accept:"image/*",action:"#",limit:1,"auto-upload":!1,"show-file-list":!1,"on-change":O},{default:t(()=>[l(i,{plain:"",class:"ml-4"},{default:t(()=>[l(V,{icon:y(X)},null,8,["icon"]),e[6]||(e[6]=R("span",{class:"ml-2"},"更新头像",-1))]),_:1})]),_:1},512)]),_:1}),l(_,{label:"昵称",prop:"nickname"},{default:t(()=>[l(x,{modelValue:o.nickname,"onUpdate:modelValue":e[0]||(e[0]=n=>o.nickname=n),placeholder:"请输入昵称"},null,8,["modelValue"])]),_:1}),l(_,{label:"邮箱",prop:"email"},{default:t(()=>[l(q,{modelValue:o.email,"onUpdate:modelValue":e[1]||(e[1]=n=>o.email=n),"fetch-suggestions":c,"trigger-on-focus":!1,placeholder:"请输入邮箱",clearable:"",class:"w-full"},null,8,["modelValue"])]),_:1}),l(_,{label:"联系电话"},{default:t(()=>[l(x,{modelValue:o.phone,"onUpdate:modelValue":e[2]||(e[2]=n=>o.phone=n),placeholder:"请输入联系电话",clearable:""},null,8,["modelValue"])]),_:1}),l(_,{label:"简介"},{default:t(()=>[l(x,{modelValue:o.description,"onUpdate:modelValue":e[3]||(e[3]=n=>o.description=n),placeholder:"请输入简介",type:"textarea",autosize:{minRows:6,maxRows:8},maxlength:"56","show-word-limit":""},null,8,["modelValue"])]),_:1}),l(i,{type:"primary",onClick:e[4]||(e[4]=n=>S(b.value))},{default:t(()=>e[7]||(e[7]=[I(" 更新信息 ")])),_:1})]),_:1},8,["rules","model"]),l(N,{modelValue:d.value,"onUpdate:modelValue":e[5]||(e[5]=n=>d.value=n),width:"40%",title:"编辑头像","destroy-on-close":"",closeOnClickModal:!1,"before-close":C,fullscreen:y(L)()},{footer:t(()=>[R("div",G,[l(i,{bg:"",text:"",onClick:C},{default:t(()=>e[8]||(e[8]=[I("取消")])),_:1}),l(i,{bg:"",text:"",type:"primary",onClick:P},{default:t(()=>e[9]||(e[9]=[I(" 确定 ")])),_:1})])]),default:t(()=>[l(y(T),{ref_key:"cropRef",ref:w,imgSrc:g.value,onCropper:B},null,8,["imgSrc"])]),_:1},8,["modelValue","fullscreen"])],2)}}});export{Z as _}; diff --git a/static/js/SecurityLog-CdlX45q7.js b/static/js/SecurityLog-C-O1R22k.js similarity index 51% rename from static/js/SecurityLog-CdlX45q7.js rename to static/js/SecurityLog-C-O1R22k.js index 6d0624ae75..8c67834d10 100644 --- a/static/js/SecurityLog-CdlX45q7.js +++ b/static/js/SecurityLog-C-O1R22k.js @@ -1 +1 @@ -import{_ as m}from"./SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js b/static/js/SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js similarity index 95% rename from static/js/SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js rename to static/js/SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js index 7735a819c0..d72dcbb1f4 100644 --- a/static/js/SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js +++ b/static/js/SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js @@ -1 +1 @@ -var m=(p,r,t)=>new Promise((o,s)=>{var i=e=>{try{n(t.next(e))}catch(l){s(l)}},a=e=>{try{n(t.throw(e))}catch(l){s(l)}},n=e=>e.done?o(e.value):Promise.resolve(e.value).then(i,a);n((t=t.apply(p,r)).next())});import{d as c,a as u,r as d,m as g,e as b,f,k as v,g as y,i as _,v as h,u as w,X as x,aX as S,gg as W}from"./index-AFhnwzwZ.js";const L=c({name:"SecurityLog",__name:"SecurityLog",setup(p){const r=u(!0),t=u([]),o=d({total:0,pageSize:10,currentPage:1,background:!0,layout:"prev, pager, next"}),s=[{label:"详情",prop:"summary",minWidth:140},{label:"IP 地址",prop:"ip",minWidth:100},{label:"地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"时间",prop:"operatingTime",minWidth:180,formatter:({operatingTime:a})=>S(a).format("YYYY-MM-DD HH:mm:ss")}];function i(){return m(this,null,function*(){r.value=!0;const{data:a}=yield W();t.value=a.list,o.total=a.total,o.pageSize=a.pageSize,o.currentPage=a.currentPage,setTimeout(()=>{r.value=!1},200)})}return g(()=>{i()}),(a,n)=>{const e=b("pure-table");return f(),v("div",{class:h(["min-w-[180px]",w(x)()?"max-w-[100%]":"max-w-[70%]"])},[n[0]||(n[0]=y("h3",{class:"my-8"},"安全日志",-1)),_(e,{"row-key":"id","table-layout":"auto",loading:r.value,data:t.value,columns:s,pagination:o},null,8,["loading","data","pagination"])],2)}}});export{L as _}; +var m=(p,r,t)=>new Promise((o,s)=>{var i=e=>{try{n(t.next(e))}catch(l){s(l)}},a=e=>{try{n(t.throw(e))}catch(l){s(l)}},n=e=>e.done?o(e.value):Promise.resolve(e.value).then(i,a);n((t=t.apply(p,r)).next())});import{d as c,a as u,r as d,m as g,e as b,f,k as v,g as y,i as _,v as h,u as w,X as x,aX as S,gg as W}from"./index-DqH6biyS.js";const L=c({name:"SecurityLog",__name:"SecurityLog",setup(p){const r=u(!0),t=u([]),o=d({total:0,pageSize:10,currentPage:1,background:!0,layout:"prev, pager, next"}),s=[{label:"详情",prop:"summary",minWidth:140},{label:"IP 地址",prop:"ip",minWidth:100},{label:"地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"时间",prop:"operatingTime",minWidth:180,formatter:({operatingTime:a})=>S(a).format("YYYY-MM-DD HH:mm:ss")}];function i(){return m(this,null,function*(){r.value=!0;const{data:a}=yield W();t.value=a.list,o.total=a.total,o.pageSize=a.pageSize,o.currentPage=a.currentPage,setTimeout(()=>{r.value=!1},200)})}return g(()=>{i()}),(a,n)=>{const e=b("pure-table");return f(),v("div",{class:h(["min-w-[180px]",w(x)()?"max-w-[100%]":"max-w-[70%]"])},[n[0]||(n[0]=y("h3",{class:"my-8"},"安全日志",-1)),_(e,{"row-key":"id","table-layout":"auto",loading:r.value,data:t.value,columns:s,pagination:o},null,8,["loading","data","pagination"])],2)}}});export{L as _}; diff --git a/static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js b/static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js similarity index 97% rename from static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js rename to static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js index 365ee36887..589ccbaa04 100644 --- a/static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js +++ b/static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js @@ -1 +1 @@ -import{d as c,R as s,e as h,f as r,k as d,i as v,u as a}from"./index-AFhnwzwZ.js";const g={width:24,height:24,body:''},b={width:24,height:24,body:''},k={width:24,height:24,body:''},p={width:24,height:24,body:''},m={width:24,height:24,body:''},f=["title"],_=c({__name:"SidebarTopCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(Z,{emit:o}){const{t}=s(),l=o,i=()=>{l("toggleClick")};return(e,u)=>{const n=h("IconifyIconOffline");return r(),d("div",{class:"px-3 mr-1 navbar-bg-hover",title:e.isActive?a(t)("buttons.pureClickCollapse"):a(t)("buttons.pureClickExpand"),onClick:i},[v(n,{icon:e.isActive?a(p):a(m),class:"inline-block align-middle hover:text-primary dark:hover:!text-white"},null,8,["icon"])],8,f)}}});export{_,b as a,k as b,p as c,g as d}; +import{d as c,R as s,e as h,f as r,k as d,i as v,u as a}from"./index-DqH6biyS.js";const g={width:24,height:24,body:''},b={width:24,height:24,body:''},k={width:24,height:24,body:''},p={width:24,height:24,body:''},m={width:24,height:24,body:''},f=["title"],_=c({__name:"SidebarTopCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(Z,{emit:o}){const{t}=s(),l=o,i=()=>{l("toggleClick")};return(e,u)=>{const n=h("IconifyIconOffline");return r(),d("div",{class:"px-3 mr-1 navbar-bg-hover",title:e.isActive?a(t)("buttons.pureClickCollapse"):a(t)("buttons.pureClickExpand"),onClick:i},[v(n,{icon:e.isActive?a(p):a(m),class:"inline-block align-middle hover:text-primary dark:hover:!text-white"},null,8,["icon"])],8,f)}}});export{_,b as a,k as b,p as c,g as d}; diff --git a/static/js/animatecss-Xc9tuEGJ.js b/static/js/animatecss-BGKYo2U4.js similarity index 87% rename from static/js/animatecss-Xc9tuEGJ.js rename to static/js/animatecss-BGKYo2U4.js index 73d935cd4d..518e8bf4a7 100644 --- a/static/js/animatecss-Xc9tuEGJ.js +++ b/static/js/animatecss-BGKYo2U4.js @@ -1 +1 @@ -import{R as d}from"./index-XjHH2uHF.js";import{d as p,a as u,n as c,b as f,w as a,e as l,f as _,g as r,i as t,h as n,u as v}from"./index-AFhnwzwZ.js";const x={class:"card-header"},w={class:"font-medium"},g=p({name:"AnimateCss",__name:"animatecss",setup(b){const s=u("");return c(s,()=>{}),(h,e)=>{const o=l("el-link"),m=l("el-card");return _(),f(m,{shadow:"never"},{header:a(()=>[r("div",x,[r("span",w,[t(o,{href:"https://animate.style/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:a(()=>e[1]||(e[1]=[n(" animate.css ")])),_:1}),e[2]||(e[2]=n(" 选择器 "))])]),t(o,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/animatecss.vue",target:"_blank"},{default:a(()=>e[3]||(e[3]=[n(" 代码位置 src/views/components/animatecss.vue ")])),_:1})]),default:a(()=>[t(v(d),{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=i=>s.value=i),class:"!w-[200px]"},null,8,["modelValue"])]),_:1})}}});export{g as default}; +import{R as d}from"./index-DtSzCQP4.js";import{d as p,a as u,n as c,b as f,w as a,e as l,f as _,g as r,i as t,h as n,u as v}from"./index-DqH6biyS.js";const x={class:"card-header"},w={class:"font-medium"},g=p({name:"AnimateCss",__name:"animatecss",setup(b){const s=u("");return c(s,()=>{}),(h,e)=>{const o=l("el-link"),m=l("el-card");return _(),f(m,{shadow:"never"},{header:a(()=>[r("div",x,[r("span",w,[t(o,{href:"https://animate.style/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:a(()=>e[1]||(e[1]=[n(" animate.css ")])),_:1}),e[2]||(e[2]=n(" 选择器 "))])]),t(o,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/animatecss.vue",target:"_blank"},{default:a(()=>e[3]||(e[3]=[n(" 代码位置 src/views/components/animatecss.vue ")])),_:1})]),default:a(()=>[t(v(d),{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=i=>s.value=i),class:"!w-[200px]"},null,8,["modelValue"])]),_:1})}}});export{g as default}; diff --git a/static/js/animationEdge-Bsm6EJWI.js b/static/js/animationEdge-CBc3d34U.js similarity index 95% rename from static/js/animationEdge-Bsm6EJWI.js rename to static/js/animationEdge-CBc3d34U.js index 693170d584..01be36a203 100644 --- a/static/js/animationEdge-Bsm6EJWI.js +++ b/static/js/animationEdge-CBc3d34U.js @@ -1 +1 @@ -var B=Object.defineProperty,R=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var N=(n,e,t)=>e in n?B(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,P=(n,e)=>{for(var t in e||(e={}))D.call(e,t)&&N(n,t,e[t]);if(_)for(var t of _(e))$.call(e,t)&&N(n,t,e[t]);return n},k=(n,e)=>R(n,V(e));var E=(n,e,t)=>new Promise((v,u)=>{var c=s=>{try{i(t.next(s))}catch(d){u(d)}},o=s=>{try{i(t.throw(s))}catch(d){u(d)}},i=s=>s.done?v(s.value):Promise.resolve(s.value).then(c,o);i((t=t.apply(n,e)).next())});import{d as I,a as g,P as p,p as X,n as h,k as Y,i as j,s as S,u as C,b as z,w as M,j as O,F as G,g5 as H,g6 as J,y as K,f as L,g as y,h as Q,_ as U}from"./index-AFhnwzwZ.js";import{P as q,u as W,d as Z,g as ee,e as te,f as ae}from"./vue-flow-core-BWd71HaQ.js";const ne=I({__name:"animationEdge",props:{id:{type:String,required:!0},source:{type:String,required:!0},target:{type:String,required:!0},sourceX:{type:Number,required:!0},sourceY:{type:Number,required:!0},targetX:{type:Number,required:!0},targetY:{type:Number,required:!0},sourcePosition:{type:String,default:q.Right},targetPosition:{type:String,default:q.Left}},setup(n){const e=n,{findEdge:t}=W(),v=Z([e.target,e.source]),u=g(0),c=g(),o=g({x:0,y:0}),i=g(0),s=p(()=>v.value[0].data),d=p(()=>v.value[1].data),A=p(()=>d.value.isFinished),F=p(()=>s.value.isCancelled),l=g(!1),T=p(()=>s.value.hasError?"#f87171":s.value.isFinished?"#42B983":s.value.isCancelled||s.value.isSkipped?"#fbbf24":s.value.isRunning||l.value?"#2563eb":"#6b7280"),w=X(()=>ee(e));h(F,r=>{r&&x()}),h(l,r=>{const a=t(e.id);a&&(a.data=k(P({},a.data),{isAnimating:r}))}),h(u,r=>{var f;const a=(f=c.value)==null?void 0:f.pathEl;if(!a||r===0||!l.value)return;const m=a.getTotalLength();if(i.value!==m){b();return}o.value=a.getPointAtLength(r)}),h(A,r=>{r&&b()});function b(){return E(this,null,function*(){var f;const r=(f=c.value)==null?void 0:f.pathEl;if(!r)return;const a=r.getTotalLength(),m=u.value||0;o.value=r.getPointAtLength(m),l.value=!0,i.value!==a&&(i.value=a),yield H(u,m,a,{transition:J.easeInOutCubic,duration:Math.max(1500,a/2),abort:()=>!l.value}),x()})}function x(){K(()=>{u.value=0,i.value=0,o.value={x:0,y:0},l.value=!1})}return(r,a)=>(L(),Y(G,null,[j(C(te),{id:n.id,ref_key:"edgeRef",ref:c,path:w.value[0],style:S({stroke:T.value})},null,8,["id","path","style"]),l.value?(L(),z(C(ae),{key:0},{default:M(()=>[y("div",{style:S({transform:`translate(-50%, -50%) translate(${o.value.x}px,${o.value.y}px)`}),class:"nodrag nopan animated-edge-label"},a[0]||(a[0]=[y("span",{class:"truck"},[y("span",{class:"box"},"📦"),Q(" 🚚 ")],-1)]),4)]),_:1})):O("",!0)],64))}}),ue=U(ne,[["__scopeId","data-v-2aba1cee"]]);export{ue as default}; +var B=Object.defineProperty,R=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var N=(n,e,t)=>e in n?B(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,P=(n,e)=>{for(var t in e||(e={}))D.call(e,t)&&N(n,t,e[t]);if(_)for(var t of _(e))$.call(e,t)&&N(n,t,e[t]);return n},k=(n,e)=>R(n,V(e));var E=(n,e,t)=>new Promise((v,u)=>{var c=s=>{try{i(t.next(s))}catch(d){u(d)}},o=s=>{try{i(t.throw(s))}catch(d){u(d)}},i=s=>s.done?v(s.value):Promise.resolve(s.value).then(c,o);i((t=t.apply(n,e)).next())});import{d as I,a as g,P as p,p as X,n as h,k as Y,i as j,s as S,u as C,b as z,w as M,j as O,F as G,g5 as H,g6 as J,y as K,f as L,g as y,h as Q,_ as U}from"./index-DqH6biyS.js";import{P as q,u as W,d as Z,g as ee,e as te,f as ae}from"./vue-flow-core-DtD1IO7M.js";const ne=I({__name:"animationEdge",props:{id:{type:String,required:!0},source:{type:String,required:!0},target:{type:String,required:!0},sourceX:{type:Number,required:!0},sourceY:{type:Number,required:!0},targetX:{type:Number,required:!0},targetY:{type:Number,required:!0},sourcePosition:{type:String,default:q.Right},targetPosition:{type:String,default:q.Left}},setup(n){const e=n,{findEdge:t}=W(),v=Z([e.target,e.source]),u=g(0),c=g(),o=g({x:0,y:0}),i=g(0),s=p(()=>v.value[0].data),d=p(()=>v.value[1].data),A=p(()=>d.value.isFinished),F=p(()=>s.value.isCancelled),l=g(!1),T=p(()=>s.value.hasError?"#f87171":s.value.isFinished?"#42B983":s.value.isCancelled||s.value.isSkipped?"#fbbf24":s.value.isRunning||l.value?"#2563eb":"#6b7280"),w=X(()=>ee(e));h(F,r=>{r&&x()}),h(l,r=>{const a=t(e.id);a&&(a.data=k(P({},a.data),{isAnimating:r}))}),h(u,r=>{var f;const a=(f=c.value)==null?void 0:f.pathEl;if(!a||r===0||!l.value)return;const m=a.getTotalLength();if(i.value!==m){b();return}o.value=a.getPointAtLength(r)}),h(A,r=>{r&&b()});function b(){return E(this,null,function*(){var f;const r=(f=c.value)==null?void 0:f.pathEl;if(!r)return;const a=r.getTotalLength(),m=u.value||0;o.value=r.getPointAtLength(m),l.value=!0,i.value!==a&&(i.value=a),yield H(u,m,a,{transition:J.easeInOutCubic,duration:Math.max(1500,a/2),abort:()=>!l.value}),x()})}function x(){K(()=>{u.value=0,i.value=0,o.value={x:0,y:0},l.value=!1})}return(r,a)=>(L(),Y(G,null,[j(C(te),{id:n.id,ref_key:"edgeRef",ref:c,path:w.value[0],style:S({stroke:T.value})},null,8,["id","path","style"]),l.value?(L(),z(C(ae),{key:0},{default:M(()=>[y("div",{style:S({transform:`translate(-50%, -50%) translate(${o.value.x}px,${o.value.y}px)`}),class:"nodrag nopan animated-edge-label"},a[0]||(a[0]=[y("span",{class:"truck"},[y("span",{class:"box"},"📦"),Q(" 🚚 ")],-1)]),4)]),_:1})):O("",!0)],64))}}),ue=U(ne,[["__scopeId","data-v-2aba1cee"]]);export{ue as default}; diff --git a/static/js/app-Cp1TpsuP.js b/static/js/app-6x4i1wLO.js similarity index 95% rename from static/js/app-Cp1TpsuP.js rename to static/js/app-6x4i1wLO.js index cd006eb9f4..243c538458 100644 --- a/static/js/app-Cp1TpsuP.js +++ b/static/js/app-6x4i1wLO.js @@ -1 +1 @@ -var p=(e,i,t)=>new Promise((a,n)=>{var l=s=>{try{d(t.next(s))}catch(u){n(u)}},S=s=>{try{d(t.throw(s))}catch(u){n(u)}},d=s=>s.done?a(s.value):Promise.resolve(s.value).then(l,S);d((t=t.apply(e,i)).next())});import{av as b,aw as c,ax as o,ay as r,az as h,X as g}from"./index-AFhnwzwZ.js";const m=c({id:"pure-app",state:()=>{var e,i,t,a;return{sidebar:{opened:(i=(e=o().getItem(`${r()}layout`))==null?void 0:e.sidebarStatus)!=null?i:h().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:(a=(t=o().getItem(`${r()}layout`))==null?void 0:t.layout)!=null?a:h().Layout,device:g()?"mobile":"desktop",viewportSize:{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight},sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device},getViewportWidth(e){return e.viewportSize.width},getViewportHeight(e){return e.viewportSize.height}},actions:{TOGGLE_SIDEBAR(e,i){const t=o().getItem(`${r()}layout`);e&&i?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,t.sidebarStatus=!0):!e&&i?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,t.sidebarStatus=!1):!e&&!i&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,t.sidebarStatus=this.sidebar.opened),o().setItem(`${r()}layout`,t)},toggleSideBar(e,i){return p(this,null,function*(){yield this.TOGGLE_SIDEBAR(e,i)})},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setViewportSize(e){this.viewportSize=e},setSortSwap(e){this.sortSwap=e}}});function y(){return m(b)}export{y as u}; +var p=(e,i,t)=>new Promise((a,n)=>{var l=s=>{try{d(t.next(s))}catch(u){n(u)}},S=s=>{try{d(t.throw(s))}catch(u){n(u)}},d=s=>s.done?a(s.value):Promise.resolve(s.value).then(l,S);d((t=t.apply(e,i)).next())});import{av as b,aw as c,ax as o,ay as r,az as h,X as g}from"./index-DqH6biyS.js";const m=c({id:"pure-app",state:()=>{var e,i,t,a;return{sidebar:{opened:(i=(e=o().getItem(`${r()}layout`))==null?void 0:e.sidebarStatus)!=null?i:h().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:(a=(t=o().getItem(`${r()}layout`))==null?void 0:t.layout)!=null?a:h().Layout,device:g()?"mobile":"desktop",viewportSize:{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight},sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device},getViewportWidth(e){return e.viewportSize.width},getViewportHeight(e){return e.viewportSize.height}},actions:{TOGGLE_SIDEBAR(e,i){const t=o().getItem(`${r()}layout`);e&&i?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,t.sidebarStatus=!0):!e&&i?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,t.sidebarStatus=!1):!e&&!i&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,t.sidebarStatus=this.sidebar.opened),o().setItem(`${r()}layout`,t)},toggleSideBar(e,i){return p(this,null,function*(){yield this.TOGGLE_SIDEBAR(e,i)})},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setViewportSize(e){this.viewportSize=e},setSortSwap(e){this.sortSwap=e}}});function y(){return m(b)}export{y as u}; diff --git a/static/js/back_top-B_m2U_ZU.js b/static/js/back_top-B_nkv46y.js similarity index 90% rename from static/js/back_top-B_m2U_ZU.js rename to static/js/back_top-B_nkv46y.js index c8dd465d01..f90f639eaf 100644 --- a/static/js/back_top-B_m2U_ZU.js +++ b/static/js/back_top-B_nkv46y.js @@ -1 +1 @@ -import{f as t,k as n,g as e}from"./index-AFhnwzwZ.js";const o={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function l(r,a){return t(),n("svg",o,a[0]||(a[0]=[e("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),e("path",{d:"M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 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 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const c={render:l};export{c as B}; +import{f as t,k as n,g as e}from"./index-DqH6biyS.js";const o={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function l(r,a){return t(),n("svg",o,a[0]||(a[0]=[e("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),e("path",{d:"M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 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 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const c={render:l};export{c as B}; diff --git a/static/js/barcode-ChcnN7cJ.js b/static/js/barcode-ydv2t1dY.js similarity index 99% rename from static/js/barcode-ChcnN7cJ.js rename to static/js/barcode-ydv2t1dY.js index 094f5fc7ad..80f438ae9a 100644 --- a/static/js/barcode-ChcnN7cJ.js +++ b/static/js/barcode-ydv2t1dY.js @@ -1 +1 @@ -var Nt=Object.defineProperty,Ct=Object.defineProperties;var Gt=Object.getOwnPropertyDescriptors;var Ve=Object.getOwnPropertySymbols;var Ft=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;var qe=(t,e,r)=>e in t?Nt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Je=(t,e)=>{for(var r in e||(e={}))Ft.call(e,r)&&qe(t,r,e[r]);if(Ve)for(var r of Ve(e))Ht.call(e,r)&&qe(t,r,e[r]);return t},Qe=(t,e)=>Ct(t,Gt(e));import{S as zt,d as dt,a as Xt,m as Ut,b as Vt,U as qt,f as de,V as Jt,k as We,i as b,w as m,e as z,g as Qt,h as X,F as Wt,l as Yt,u as Zt}from"./index-AFhnwzwZ.js";var se={},Q={},l={};Object.defineProperty(l,"__esModule",{value:!0});function Kt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var en=function t(e,r){Kt(this,t),this.data=e,this.text=r.text||e,this.options=r};l.default=en;Object.defineProperty(Q,"__esModule",{value:!0});Q.CODE39=void 0;var tn=function(){function t(e,r){for(var n=0;n=200){u=n.shift()-105;var d=h.SWAP[u];d!==void 0?o=e.next(n,a+1,d):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var g=e.getBar(u),Lt=u*a;return{result:g+o.result,checksum:Lt+o.checksum}}}]),e}(On.default);M.default=$n;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var O=f,pt=function(e){return e.match(new RegExp("^"+O.A_CHARS+"*"))[0].length},gt=function(e){return e.match(new RegExp("^"+O.B_CHARS+"*"))[0].length},Ot=function(e){return e.match(new RegExp("^"+O.C_CHARS+"*"))[0]};function ge(t,e){var r=e?O.A_CHARS:O.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+Et(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ge(t.substring(a.length),!e)}function Et(t){var e=Ot(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=pt(t)>=gt(t);return e+String.fromCharCode(n?206:205)+ge(t,n)}pe.default=function(t){var e=void 0,r=Ot(t).length;if(r>=2)e=O.C_START_CHAR+Et(t);else{var n=pt(t)>gt(t);e=(n?O.A_START_CHAR:O.B_START_CHAR)+ge(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return"Ë"+i})};Object.defineProperty(ye,"__esModule",{value:!0});var xn=M,Sn=bt(xn),Rn=pe,An=bt(Rn);function bt(t){return t&&t.__esModule?t:{default:t}}function Pn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Mn=function(t){Tn(e,t);function e(r,n){if(Pn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,An.default)(r),n));else var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ue(a)}return e}(Sn.default);ye.default=Mn;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});var kn=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return hr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,et.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,et.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:R.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:R.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:R.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[R.SIDE_BIN,this.leftEncode(),R.MIDDLE_BIN,this.rightEncode(),R.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(sr.default);Y.default=Or;Object.defineProperty(me,"__esModule",{value:!0});var Er=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return aa(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==he(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,A.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,A.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,A.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,A.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(ua.default);function he(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}C.default=da;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var ha=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ha(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=ba[parseInt(a)][parseInt(n)];return(0,va.default)(this.middleDigits,i)}}]),e}(ya.default);function rt(t,e){for(var r=parseInt(t[t.length-1]),n=Ea[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(eo.default);K.pharmacode=io;var ee={};Object.defineProperty(ee,"__esModule",{value:!0});ee.codabar=void 0;var oo=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Tt(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Ho(t,e,r){var n;if(r)n=r;else if(typeof document!="undefined")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}_.getMaximumHeightOfEncodings=Fo;_.getEncodingHeight=Pt;_.getBarcodePadding=Tt;_.calculateEncodingAttributes=Co;_.getTotalWidthOfEncodings=Go;Object.defineProperty(Le,"__esModule",{value:!0});var zo=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Le.default=Jo;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var Qo=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(d-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(d-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(J,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",J),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(J,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(J,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();Ne.default=eu;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var tu=function(){function t(e,r){for(var n=0;n{const n=Qe(Je({},e.options),{format:e.type});Bu(r.value,e.text,n)}),(n,a)=>(de(),Vt(qt(t.tag),{ref_key:"wrapEl",ref:r},null,512))}}),Lu=Jt(ju),Nu={class:"font-medium"},Fu=dt({name:"BarCode",__name:"barcode",setup(t){const e=[{text:"CODE128",type:"CODE128",options:{}},{text:"CODE39",type:"CODE39",options:{lineColor:"#990000"}},{text:"123456",type:"pharmacode",options:{background:"#eee",width:5}}];return(r,n)=>{const a=z("el-link"),i=z("el-card"),o=z("el-col"),u=z("el-row");return de(),We("div",null,[b(i,{shadow:"never"},{header:m(()=>[Qt("div",Nu,[n[1]||(n[1]=X(" 条形码(基于 ")),b(a,{href:"https://lindell.me/JsBarcode/",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:m(()=>n[0]||(n[0]=[X(" JsBarcode ")])),_:1}),n[2]||(n[2]=X(" 生成) "))]),b(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/barcode.vue",target:"_blank"},{default:m(()=>n[3]||(n[3]=[X(" 代码位置 src/views/able/barcode.vue ")])),_:1})]),default:m(()=>[b(u,{gutter:12},{default:m(()=>[(de(),We(Wt,null,Yt(e,(d,g)=>b(o,{key:g,xs:24,sm:24,md:12,lg:8,xl:8},{default:m(()=>[b(i,{shadow:"hover",class:"flex justify-center"},{default:m(()=>[b(Zt(Lu),{text:d.text,type:d.type,options:d.options},null,8,["text","type","options"])]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1})])}}});export{Fu as default}; +var Nt=Object.defineProperty,Ct=Object.defineProperties;var Gt=Object.getOwnPropertyDescriptors;var Ve=Object.getOwnPropertySymbols;var Ft=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;var qe=(t,e,r)=>e in t?Nt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Je=(t,e)=>{for(var r in e||(e={}))Ft.call(e,r)&&qe(t,r,e[r]);if(Ve)for(var r of Ve(e))Ht.call(e,r)&&qe(t,r,e[r]);return t},Qe=(t,e)=>Ct(t,Gt(e));import{S as zt,d as dt,a as Xt,m as Ut,b as Vt,U as qt,f as de,V as Jt,k as We,i as b,w as m,e as z,g as Qt,h as X,F as Wt,l as Yt,u as Zt}from"./index-DqH6biyS.js";var se={},Q={},l={};Object.defineProperty(l,"__esModule",{value:!0});function Kt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var en=function t(e,r){Kt(this,t),this.data=e,this.text=r.text||e,this.options=r};l.default=en;Object.defineProperty(Q,"__esModule",{value:!0});Q.CODE39=void 0;var tn=function(){function t(e,r){for(var n=0;n=200){u=n.shift()-105;var d=h.SWAP[u];d!==void 0?o=e.next(n,a+1,d):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var g=e.getBar(u),Lt=u*a;return{result:g+o.result,checksum:Lt+o.checksum}}}]),e}(On.default);M.default=$n;var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var O=f,pt=function(e){return e.match(new RegExp("^"+O.A_CHARS+"*"))[0].length},gt=function(e){return e.match(new RegExp("^"+O.B_CHARS+"*"))[0].length},Ot=function(e){return e.match(new RegExp("^"+O.C_CHARS+"*"))[0]};function ge(t,e){var r=e?O.A_CHARS:O.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+"Ì"+Et(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ge(t.substring(a.length),!e)}function Et(t){var e=Ot(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=pt(t)>=gt(t);return e+String.fromCharCode(n?206:205)+ge(t,n)}pe.default=function(t){var e=void 0,r=Ot(t).length;if(r>=2)e=O.C_START_CHAR+Et(t);else{var n=pt(t)>gt(t);e=(n?O.A_START_CHAR:O.B_START_CHAR)+ge(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return"Ë"+i})};Object.defineProperty(ye,"__esModule",{value:!0});var xn=M,Sn=bt(xn),Rn=pe,An=bt(Rn);function bt(t){return t&&t.__esModule?t:{default:t}}function Pn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Mn=function(t){Tn(e,t);function e(r,n){if(Pn(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,An.default)(r),n));else var a=ue(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ue(a)}return e}(Sn.default);ye.default=Mn;var Oe={};Object.defineProperty(Oe,"__esModule",{value:!0});var kn=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return hr(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,et.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,et.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:R.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:R.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:R.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[R.SIDE_BIN,this.leftEncode(),R.MIDDLE_BIN,this.rightEncode(),R.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(sr.default);Y.default=Or;Object.defineProperty(me,"__esModule",{value:!0});var Er=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return aa(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==he(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,A.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,A.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,A.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,A.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,A.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(ua.default);function he(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}C.default=da;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});var ha=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return ha(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=ba[parseInt(a)][parseInt(n)];return(0,va.default)(this.middleDigits,i)}}]),e}(ya.default);function rt(t,e){for(var r=parseInt(t[t.length-1]),n=Ea[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(eo.default);K.pharmacode=io;var ee={};Object.defineProperty(ee,"__esModule",{value:!0});ee.codabar=void 0;var oo=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Tt(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Ho(t,e,r){var n;if(r)n=r;else if(typeof document!="undefined")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}_.getMaximumHeightOfEncodings=Fo;_.getEncodingHeight=Pt;_.getBarcodePadding=Tt;_.calculateEncodingAttributes=Co;_.getTotalWidthOfEncodings=Go;Object.defineProperty(Le,"__esModule",{value:!0});var zo=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Le.default=Jo;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0});var Qo=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(d-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(d-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(J,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",J),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(J,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(J,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();Ne.default=eu;var Ce={};Object.defineProperty(Ce,"__esModule",{value:!0});var tu=function(){function t(e,r){for(var n=0;n{const n=Qe(Je({},e.options),{format:e.type});Bu(r.value,e.text,n)}),(n,a)=>(de(),Vt(qt(t.tag),{ref_key:"wrapEl",ref:r},null,512))}}),Lu=Jt(ju),Nu={class:"font-medium"},Fu=dt({name:"BarCode",__name:"barcode",setup(t){const e=[{text:"CODE128",type:"CODE128",options:{}},{text:"CODE39",type:"CODE39",options:{lineColor:"#990000"}},{text:"123456",type:"pharmacode",options:{background:"#eee",width:5}}];return(r,n)=>{const a=z("el-link"),i=z("el-card"),o=z("el-col"),u=z("el-row");return de(),We("div",null,[b(i,{shadow:"never"},{header:m(()=>[Qt("div",Nu,[n[1]||(n[1]=X(" 条形码(基于 ")),b(a,{href:"https://lindell.me/JsBarcode/",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:m(()=>n[0]||(n[0]=[X(" JsBarcode ")])),_:1}),n[2]||(n[2]=X(" 生成) "))]),b(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/barcode.vue",target:"_blank"},{default:m(()=>n[3]||(n[3]=[X(" 代码位置 src/views/able/barcode.vue ")])),_:1})]),default:m(()=>[b(u,{gutter:12},{default:m(()=>[(de(),We(Wt,null,Yt(e,(d,g)=>b(o,{key:g,xs:24,sm:24,md:12,lg:8,xl:8},{default:m(()=>[b(i,{shadow:"hover",class:"flex justify-center"},{default:m(()=>[b(Zt(Lu),{text:d.text,type:d.type,options:d.options},null,8,["text","type","options"])]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1})])}}});export{Fu as default}; diff --git a/static/js/base-B-_9GtrP.js b/static/js/base-B-_9GtrP.js deleted file mode 100644 index 9bb0f693ec..0000000000 --- a/static/js/base-B-_9GtrP.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js";import"./_plugin-vue_export-helper-C_DISmKY.js";import"./plus-form-kZ-6J13C.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/base-C5EgVQI3.js b/static/js/base-C5EgVQI3.js new file mode 100644 index 0000000000..cade79e9f9 --- /dev/null +++ b/static/js/base-C5EgVQI3.js @@ -0,0 +1 @@ +import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js";import"./_plugin-vue_export-helper-C_DISmKY.js";import"./plus-form-Cy3_segO.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/base-WujxiGfu.js b/static/js/base-WujxiGfu.js new file mode 100644 index 0000000000..f7732da4f6 --- /dev/null +++ b/static/js/base-WujxiGfu.js @@ -0,0 +1 @@ +import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/base-eqOh4Qnt.js b/static/js/base-eqOh4Qnt.js deleted file mode 100644 index e6f7a247f3..0000000000 --- a/static/js/base-eqOh4Qnt.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js b/static/js/base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js similarity index 92% rename from static/js/base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js rename to static/js/base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js index a2581aec10..e44ce149dc 100644 --- a/static/js/base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js +++ b/static/js/base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js @@ -1 +1 @@ -import"./_plugin-vue_export-helper-C_DISmKY.js";import{P as i}from"./plus-form-kZ-6J13C.js";import{d as m,a as d,f as c,b,u as v}from"./index-AFhnwzwZ.js";const T=m({__name:"base",setup(h){const a=d({status:"1",name:"",rate:4,progress:100,switch:!0,time:new Date().toString(),endTime:[]}),o={name:[{required:!0,message:"请输入名称"}]},t=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"我是名称"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"执行进度",width:200,prop:"progress"},{label:"评分",width:200,prop:"rate",valueType:"rate"},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],r=(e,l)=>{},p=e=>{},s=e=>{},n=()=>{};return(e,l)=>(c(),b(v(i),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),class:"w-[450px] m-auto",columns:t,rules:o,"label-position":"right",onChange:r,onSubmit:p,onSubmitError:s,onReset:n},null,8,["modelValue"]))}});export{T as _}; +import"./_plugin-vue_export-helper-C_DISmKY.js";import{P as i}from"./plus-form-Cy3_segO.js";import{d as m,a as d,f as c,b,u as v}from"./index-DqH6biyS.js";const T=m({__name:"base",setup(h){const a=d({status:"1",name:"",rate:4,progress:100,switch:!0,time:new Date().toString(),endTime:[]}),o={name:[{required:!0,message:"请输入名称"}]},t=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"我是名称"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"执行进度",width:200,prop:"progress"},{label:"评分",width:200,prop:"rate",valueType:"rate"},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],r=(e,l)=>{},p=e=>{},s=e=>{},n=()=>{};return(e,l)=>(c(),b(v(i),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),class:"w-[450px] m-auto",columns:t,rules:o,"label-position":"right",onChange:r,onSubmit:p,onSubmitError:s,onReset:n},null,8,["modelValue"]))}});export{T as _}; diff --git a/static/js/base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js b/static/js/base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js similarity index 63% rename from static/js/base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js rename to static/js/base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js index d80d453cf5..cdb29389a1 100644 --- a/static/js/base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js +++ b/static/js/base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js @@ -1 +1 @@ -import{t as o}from"./data-Ym5jS6hg.js";import{d as t,e as n,f as r,b as p,u as s}from"./index-AFhnwzwZ.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 _}; +import{t as o}from"./data-B0U4WEbi.js";import{d as t,e as n,f as r,b as p,u as s}from"./index-DqH6biyS.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 _}; diff --git a/static/js/basic-ChpwFBaJ.js b/static/js/basic-bI2BOlqM.js similarity index 90% rename from static/js/basic-ChpwFBaJ.js rename to static/js/basic-bI2BOlqM.js index 0c0ecda607..5e8a2a0c18 100644 --- a/static/js/basic-ChpwFBaJ.js +++ b/static/js/basic-bI2BOlqM.js @@ -1 +1 @@ -import{C as i,a as d,b as a,c as r,d as C,e as D}from"./index.esm-O8y2Za45.js";import{d as c,_ as b,e as s,A as B,f as x,k as p,g as f,B as F,i as t,w as n,h as o}from"./index-AFhnwzwZ.js";const A=c({name:"ExampleSimple",components:{[i.name]:i,[d.name]:d,[a.name]:a,[r.name]:r,[C.name]:C},directives:{contextmenu:D}}),E={class:"wrapper"};function w($,e,k,G,N,V){const u=s("v-contextmenu-item"),m=s("v-contextmenu-divider"),l=s("v-contextmenu-submenu"),v=s("v-contextmenu"),_=B("contextmenu");return x(),p("div",null,[e[9]||(e[9]=f("p",{class:"mb-2"},"基础用法",-1)),F((x(),p("div",E,e[0]||(e[0]=[f("code",null,"右键点击此区域",-1)]))),[[_,void 0,"contextmenu"]]),t(v,{ref:"contextmenu"},{default:n(()=>[t(u,null,{default:n(()=>e[1]||(e[1]=[o("GitHub")])),_:1}),t(u,null,{default:n(()=>e[2]||(e[2]=[o("GitLab")])),_:1}),t(m),t(l,{title:"蔬菜菜"},{default:n(()=>[t(u,null,{default:n(()=>e[3]||(e[3]=[o("土豆")])),_:1}),t(l,{title:"青菜"},{default:n(()=>[t(u,null,{default:n(()=>e[4]||(e[4]=[o("小油菜")])),_:1}),t(u,null,{default:n(()=>e[5]||(e[5]=[o("空心菜")])),_:1})]),_:1}),t(u,null,{default:n(()=>e[6]||(e[6]=[o("黄瓜")])),_:1})]),_:1}),t(u,{disabled:""},{default:n(()=>e[7]||(e[7]=[o("菠萝蜜")])),_:1}),t(m),t(u,null,{default:n(()=>e[8]||(e[8]=[o("哈密瓜")])),_:1})]),_:1},512)])}const g=b(A,[["render",w],["__scopeId","data-v-ef510e49"]]);export{g as default}; +import{C as i,a as d,b as a,c as r,d as C,e as D}from"./index.esm-Bkk3eerN.js";import{d as c,_ as b,e as s,A as B,f as x,k as p,g as f,B as F,i as t,w as n,h as o}from"./index-DqH6biyS.js";const A=c({name:"ExampleSimple",components:{[i.name]:i,[d.name]:d,[a.name]:a,[r.name]:r,[C.name]:C},directives:{contextmenu:D}}),E={class:"wrapper"};function w($,e,k,G,N,V){const u=s("v-contextmenu-item"),m=s("v-contextmenu-divider"),l=s("v-contextmenu-submenu"),v=s("v-contextmenu"),_=B("contextmenu");return x(),p("div",null,[e[9]||(e[9]=f("p",{class:"mb-2"},"基础用法",-1)),F((x(),p("div",E,e[0]||(e[0]=[f("code",null,"右键点击此区域",-1)]))),[[_,void 0,"contextmenu"]]),t(v,{ref:"contextmenu"},{default:n(()=>[t(u,null,{default:n(()=>e[1]||(e[1]=[o("GitHub")])),_:1}),t(u,null,{default:n(()=>e[2]||(e[2]=[o("GitLab")])),_:1}),t(m),t(l,{title:"蔬菜菜"},{default:n(()=>[t(u,null,{default:n(()=>e[3]||(e[3]=[o("土豆")])),_:1}),t(l,{title:"青菜"},{default:n(()=>[t(u,null,{default:n(()=>e[4]||(e[4]=[o("小油菜")])),_:1}),t(u,null,{default:n(()=>e[5]||(e[5]=[o("空心菜")])),_:1})]),_:1}),t(u,null,{default:n(()=>e[6]||(e[6]=[o("黄瓜")])),_:1})]),_:1}),t(u,{disabled:""},{default:n(()=>e[7]||(e[7]=[o("菠萝蜜")])),_:1}),t(m),t(u,null,{default:n(()=>e[8]||(e[8]=[o("哈密瓜")])),_:1})]),_:1},512)])}const g=b(A,[["render",w],["__scopeId","data-v-ef510e49"]]);export{g as default}; diff --git a/static/js/border-LqbbQBJH.js b/static/js/border-DUE8HD_H.js similarity index 58% rename from static/js/border-LqbbQBJH.js rename to static/js/border-DUE8HD_H.js index f609fc60e6..b410874866 100644 --- a/static/js/border-LqbbQBJH.js +++ b/static/js/border-DUE8HD_H.js @@ -1 +1 @@ -import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; +import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-BubGyNWv.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js b/static/js/border.vue_vue_type_script_setup_true_lang-BubGyNWv.js similarity index 64% rename from static/js/border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js rename to static/js/border.vue_vue_type_script_setup_true_lang-BubGyNWv.js index 1e0998a10f..8f02f9e7e0 100644 --- a/static/js/border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js +++ b/static/js/border.vue_vue_type_script_setup_true_lang-BubGyNWv.js @@ -1 +1 @@ -import{t as o}from"./data-Ym5jS6hg.js";import{d as r,e as t,f as n,b as p,u as s}from"./index-AFhnwzwZ.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 _}; +import{t as o}from"./data-B0U4WEbi.js";import{d as r,e as t,f as n,b as p,u as s}from"./index-DqH6biyS.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 _}; diff --git a/static/js/button-Cu7QUYEA.js b/static/js/button-BjJ23hpw.js similarity index 93% rename from static/js/button-Cu7QUYEA.js rename to static/js/button-BjJ23hpw.js index da04388e44..001c2577bd 100644 --- a/static/js/button-Cu7QUYEA.js +++ b/static/js/button-BjJ23hpw.js @@ -1 +1 @@ -import{d as l,a as m,b as u,w as t,e as n,f as c,g as a,i,h as d}from"./index-AFhnwzwZ.js";const p={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},f=["src"],h=l({name:"ButtonPage",__name:"button",setup(v){const{VITE_PUBLIC_PATH:s}=p,o=m(`${s}html/button.html`);return(E,e)=>{const r=n("el-link"),_=n("el-card");return c(),u(_,{shadow:"never"},{header:t(()=>[e[1]||(e[1]=a("div",{class:"card-header"},[a("span",{class:"font-medium"},"通过 iframe 引入按钮页面")],-1)),i(r,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/button.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[d(" 代码位置 src/views/components/button.vue ")])),_:1})]),default:t(()=>[a("iframe",{src:o.value,frameborder:"0",class:"iframe w-full h-[60vh]"},null,8,f)]),_:1})}}});export{h as default}; +import{d as l,a as m,b as u,w as t,e as n,f as c,g as a,i,h as d}from"./index-DqH6biyS.js";const p={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},f=["src"],h=l({name:"ButtonPage",__name:"button",setup(v){const{VITE_PUBLIC_PATH:s}=p,o=m(`${s}html/button.html`);return(E,e)=>{const r=n("el-link"),_=n("el-card");return c(),u(_,{shadow:"never"},{header:t(()=>[e[1]||(e[1]=a("div",{class:"card-header"},[a("span",{class:"font-medium"},"通过 iframe 引入按钮页面")],-1)),i(r,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/button.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[d(" 代码位置 src/views/components/button.vue ")])),_:1})]),default:t(()=>[a("iframe",{src:o.value,frameborder:"0",class:"iframe w-full h-[60vh]"},null,8,f)]),_:1})}}});export{h as default}; diff --git a/static/js/cascader-tM9VTW_g.js b/static/js/cascader-x3QK8kzL.js similarity index 99% rename from static/js/cascader-tM9VTW_g.js rename to static/js/cascader-x3QK8kzL.js index 70ad346343..2047b42889 100644 --- a/static/js/cascader-tM9VTW_g.js +++ b/static/js/cascader-x3QK8kzL.js @@ -1 +1 @@ -import{S as N,ad as j,d as U,a as y,b as B,w as h,e as x,f as L,g as o,i as m,h as b,u as t,t as u}from"./index-AFhnwzwZ.js";const P={86:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区"},11e4:{110100:"市辖区"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"市辖区"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130101:"市辖区",130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130201:"市辖区",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130301:"市辖区",130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130401:"市辖区",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130501:"市辖区",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130601:"市辖区",130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130701:"市辖区",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130801:"市辖区",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130901:"市辖区",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131001:"市辖区",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131101:"市辖区",131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140101:"市辖区",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140201:"市辖区",140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140301:"市辖区",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140401:"市辖区",140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140501:"市辖区",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140601:"市辖区",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140701:"市辖区",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140801:"市辖区",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140901:"市辖区",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141001:"市辖区",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141101:"市辖区",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150101:"市辖区",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150171:"呼和浩特金海工业园区",150172:"呼和浩特经济技术开发区"},150200:{150201:"市辖区",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150301:"市辖区",150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150401:"市辖区",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150501:"市辖区",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150601:"市辖区",150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150701:"市辖区",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150801:"市辖区",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150901:"市辖区",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善经济开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210101:"市辖区",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210201:"市辖区",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210301:"市辖区",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210401:"市辖区",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210501:"市辖区",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210601:"市辖区",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210701:"市辖区",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210801:"市辖区",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210901:"市辖区",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211001:"市辖区",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211101:"市辖区",211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211201:"市辖区",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211301:"市辖区",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211401:"市辖区",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220101:"市辖区",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市"},220200:{220201:"市辖区",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220301:"市辖区",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市"},220400:{220401:"市辖区",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220501:"市辖区",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220601:"市辖区",220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220701:"市辖区",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220801:"市辖区",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230101:"市辖区",230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230201:"市辖区",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230301:"市辖区",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230401:"市辖区",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230501:"市辖区",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230601:"市辖区",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230701:"市辖区",230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230801:"市辖区",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230901:"市辖区",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231001:"市辖区",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231101:"市辖区",231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231201:"市辖区",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"市辖区"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320101:"市辖区",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320201:"市辖区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320301:"市辖区",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320401:"市辖区",320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320501:"市辖区",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320601:"市辖区",320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320684:"海门市",320685:"海安市"},320700:{320701:"市辖区",320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320801:"市辖区",320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320901:"市辖区",320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321001:"市辖区",321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321101:"市辖区",321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321201:"市辖区",321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321301:"市辖区",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330101:"市辖区",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330201:"市辖区",330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330301:"市辖区",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330401:"市辖区",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330501:"市辖区",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330601:"市辖区",330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330701:"市辖区",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330801:"市辖区",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330901:"市辖区",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331001:"市辖区",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331101:"市辖区",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340101:"市辖区",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340201:"市辖区",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县",340271:"芜湖经济技术开发区",340272:"安徽芜湖长江大桥经济开发区"},340300:{340301:"市辖区",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340401:"市辖区",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340501:"市辖区",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340601:"市辖区",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340701:"市辖区",340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340801:"市辖区",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341001:"市辖区",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341101:"市辖区",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"苏滁现代产业园",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341201:"市辖区",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341301:"市辖区",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341501:"市辖区",341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341601:"市辖区",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341701:"市辖区",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341801:"市辖区",341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350101:"市辖区",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350201:"市辖区",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350301:"市辖区",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350401:"市辖区",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350501:"市辖区",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350601:"市辖区",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市"},350700:{350701:"市辖区",350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350801:"市辖区",350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350901:"市辖区",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360101:"市辖区",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360201:"市辖区",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360301:"市辖区",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360401:"市辖区",360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360501:"市辖区",360502:"渝水区",360521:"分宜县"},360600:{360601:"市辖区",360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360701:"市辖区",360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市"},360800:{360801:"市辖区",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360901:"市辖区",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361001:"市辖区",361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361101:"市辖区",361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370101:"市辖区",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370201:"市辖区",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370301:"市辖区",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370401:"市辖区",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370501:"市辖区",370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370601:"市辖区",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370701:"市辖区",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370801:"市辖区",370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370901:"市辖区",370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371001:"市辖区",371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371101:"市辖区",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371301:"市辖区",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区",371372:"临沂经济技术开发区",371373:"临沂临港经济开发区"},371400:{371401:"市辖区",371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371501:"市辖区",371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371601:"市辖区",371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371701:"市辖区",371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市",419e3:"省直辖县级行政区划"},410100:{410101:"市辖区",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410201:"市辖区",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410301:"市辖区",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区",410381:"偃师市"},410400:{410401:"市辖区",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410501:"市辖区",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410601:"市辖区",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410701:"市辖区",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410801:"市辖区",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410901:"市辖区",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411001:"市辖区",411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411101:"市辖区",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411201:"市辖区",411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411301:"市辖区",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411401:"市辖区",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411501:"市辖区",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411601:"市辖区",411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411701:"市辖区",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},419e3:{419001:"济源市"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州",429e3:"省直辖县级行政区划"},420100:{420101:"市辖区",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420201:"市辖区",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420301:"市辖区",420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420501:"市辖区",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420601:"市辖区",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420701:"市辖区",420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420801:"市辖区",420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420901:"市辖区",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421001:"市辖区",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市"},421100:{421101:"市辖区",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421201:"市辖区",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421301:"市辖区",421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},429e3:{429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430101:"市辖区",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430201:"市辖区",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430301:"市辖区",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430401:"市辖区",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430501:"市辖区",430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430601:"市辖区",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430701:"市辖区",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430801:"市辖区",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430901:"市辖区",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431001:"市辖区",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431101:"市辖区",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431172:"永州市金洞管理区",431173:"永州市回龙圩管理区"},431200:{431201:"市辖区",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431301:"市辖区",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433173:"湖南永顺经济开发区"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440101:"市辖区",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440201:"市辖区",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440301:"市辖区",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440401:"市辖区",440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440501:"市辖区",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440601:"市辖区",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440701:"市辖区",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440801:"市辖区",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440901:"市辖区",440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441201:"市辖区",441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441301:"市辖区",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441401:"市辖区",441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441501:"市辖区",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441601:"市辖区",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441701:"市辖区",441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441801:"市辖区",441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900110:"常平镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园"},442e3:{442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000100:"小榄镇",442000101:"黄圃镇",442000102:"民众镇",442000103:"东凤镇",442000104:"东升镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000110:"横栏镇",442000111:"南头镇",442000112:"阜沙镇",442000113:"南朗镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇"},445100:{445101:"市辖区",445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445201:"市辖区",445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445301:"市辖区",445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450101:"市辖区",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"},450200:{450201:"市辖区",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450301:"市辖区",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450401:"市辖区",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450501:"市辖区",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450601:"市辖区",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450701:"市辖区",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450801:"市辖区",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450901:"市辖区",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451001:"市辖区",451002:"右江区",451003:"田阳区",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市"},451100:{451101:"市辖区",451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451201:"市辖区",451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451301:"市辖区",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451401:"市辖区",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市",469e3:"省直辖县级行政区划"},460100:{460101:"市辖区",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460201:"市辖区",460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{460400100:"那大镇",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区",460400500:"华南热作学院"},469e3:{469001:"五指山市",469002:"琼海市",469005:"文昌市",469006:"万宁市",469007:"东方市",469021:"定安县",469022:"屯昌县",469023:"澄迈县",469024:"临高县",469025:"白沙黎族自治县",469026:"昌江黎族自治县",469027:"乐东黎族自治县",469028:"陵水黎族自治县",469029:"保亭黎族苗族自治县",469030:"琼中黎族苗族自治县"},5e5:{500100:"市辖区",500200:"县"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},500200:{500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510101:"市辖区",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510301:"市辖区",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510401:"市辖区",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510501:"市辖区",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510601:"市辖区",510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510701:"市辖区",510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510801:"市辖区",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510901:"市辖区",510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511001:"市辖区",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511101:"市辖区",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511301:"市辖区",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511401:"市辖区",511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511501:"市辖区",511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511601:"市辖区",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511701:"市辖区",511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511801:"市辖区",511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511901:"市辖区",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512001:"市辖区",512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520101:"市辖区",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州市"},520300:{520301:"市辖区",520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520401:"市辖区",520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520501:"市辖区",520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"},520600:{520601:"市辖区",520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530101:"市辖区",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530301:"市辖区",530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530401:"市辖区",530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"},530500:{530501:"市辖区",530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530601:"市辖区",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530701:"市辖区",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530801:"市辖区",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530901:"市辖区",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540101:"市辖区",540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540501:"市辖区",540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610101:"市辖区",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610201:"市辖区",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610301:"市辖区",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610401:"市辖区",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610501:"市辖区",610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610601:"市辖区",610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610701:"市辖区",610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610801:"市辖区",610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610901:"市辖区",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"},611e3:{611001:"市辖区",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620101:"市辖区",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{620201:"市辖区"},620300:{620301:"市辖区",620302:"金川区",620321:"永昌县"},620400:{620401:"市辖区",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620501:"市辖区",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620601:"市辖区",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620701:"市辖区",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620801:"市辖区",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620901:"市辖区",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621001:"市辖区",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621101:"市辖区",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621201:"市辖区",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630101:"市辖区",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640101:"市辖区",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640201:"市辖区",640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640301:"市辖区",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640401:"市辖区",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640501:"市辖区",640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区",659e3:"自治区直辖县级行政区划"},650100:{650101:"市辖区",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650201:"市辖区",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},659e3:{659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",659006:"铁门关市"},71e4:{710100:"台北市",710200:"高雄市",710300:"基隆市",710400:"台中市",710500:"台南市",710600:"新竹市",710700:"嘉义市"},710100:{710101:"内湖区",710102:"南港区",710103:"中正区",710104:"松山区",710105:"信义区",710106:"大安区",710107:"中山区",710108:"文山区",710109:"大同区",710110:"万华区",710111:"士林区",710112:"北投区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区"},710300:{710301:"仁爱区",710302:"信义区",710303:"中正区",710304:"暖暖区",710305:"安乐区",710307:"七堵区"},710400:{710301:"中区",710302:"东区",710303:"南区",710304:"西区",710305:"北区",710306:"北屯区",710307:"西屯区",710308:"南屯区"},710500:{710501:"中西区",710502:"东区",710503:"南区",710504:"北区",710505:"安平区",710506:"安南区"},710600:{710601:"东区",710602:"北区",710603:"香山区"},710700:{710701:"东区",710702:"西区"},81e4:{810001:"中西區",810002:"灣仔區",810003:"東區",810004:"南區",810005:"油尖旺區",810006:"深水埗區",810007:"九龍城區",810008:"黃大仙區",810009:"觀塘區",810010:"荃灣區",810011:"屯門區",810012:"元朗區",810013:"北區",810014:"大埔區",810015:"西貢區",810016:"沙田區",810017:"葵青區",810018:"離島區"},82e4:{820001:"花地瑪堂區",820002:"花王堂區",820003:"望德堂區",820004:"大堂區",820005:"風順堂區",820006:"嘉模堂區",820007:"路氹填海區",820008:"聖方濟各堂區"}};var S=P;const D=N(S),s={},p={},w=D[86],g=[];let O=[];const f="全部";s[""]=f;Object.keys(w).forEach(d=>{const e=w[d];g.push({value:d,label:e}),s[d]=e,p[e]={code:d},p[e][f]={code:""}});g.forEach(d=>{var i;const e=d.value,a=d.label,l=[],c=(i=D[e])!=null?i:{};Object.keys(c).forEach(v=>{l.push({value:v,label:c[v]}),s[v]=c[v],p[a][c[v]]={code:v},p[a][c[v]][f]={code:""}}),l.length&&(d.children=l)});O=j(g);g.forEach(d=>{const e=d.children,a=d.label;e&&e.forEach(l=>{var C;const c=l.value,i=l.label,v=[],n=(C=D[c])!=null?C:{};Object.keys(n).forEach(r=>{v.push({value:r,label:n[r]}),s[r]=n[r],p[a][i][n[r]]={code:r}}),v.length&&(l.children=v)})});const k=j(O);k.unshift({value:"",label:f});k.forEach(d=>{const e=d.children;e!=null&&e.length&&(e.unshift({value:"",label:f}),e.forEach(a=>{const l=a.children;l!=null&&l.length&&l.unshift({value:"",label:f})}))});const $=j(g);$.unshift({value:"",label:f});$.forEach(d=>{const e=d.children;e!=null&&e.length&&(e.unshift({value:"",label:f}),e.forEach(a=>{const l=a.children;l!=null&&l.length&&l.unshift({value:"",label:f})}))});function E(d,e,a){let l="";if(d&&p[d]){const c=p[d];if(l=c.code,e&&c[e]){const i=c[e];l=`${l}${e===f?"":", "}${i.code}`,a&&i[a]&&(l=`${l}${a===f?"":", "}${i[a].code}`)}}return l}const q={class:"flex flex-col items-center justify-center"},F={class:"text-[var(--el-color-primary)]"},G={class:"leading-10"},R={class:"flex flex-col items-center justify-center mt-3"},X={class:"text-[var(--el-color-primary)]"},z={class:"leading-10"},H={class:"flex flex-col items-center justify-center mt-3"},J={class:"text-[var(--el-color-primary)]"},K={class:"leading-10"},M={class:"flex flex-col items-center justify-center mt-3"},Q={class:"text-[var(--el-color-primary)]"},W={class:"leading-10"},Z=U({name:"Cascader",__name:"cascader",setup(d){const e=y(["110000","110100"]),a=y(["120000","120100","120101"]),l=y(["130000",""]),c=y(["120000","120100",""]),i=v=>{};return(v,n)=>{const C=x("el-link"),r=x("el-cascader"),V=x("el-col"),T=x("el-row"),A=x("el-card");return L(),B(A,{shadow:"never"},{header:h(()=>[n[5]||(n[5]=o("p",{class:"font-medium"},"区域级联选择器",-1)),m(C,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/cascader.vue",target:"_blank"},{default:h(()=>n[4]||(n[4]=[b(" 代码位置 src/views/components/cascader.vue ")])),_:1})]),default:h(()=>[m(T,{gutter:24},{default:h(()=>[m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",q,[o("span",F,[n[6]||(n[6]=b(" 1. 二级联动(不带“全部”选项) ")),m(r,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=_=>e.value=_),options:t(O),onChange:i},null,8,["modelValue","options"])]),o("div",G,[o("div",null,"绑定值:"+u(e.value),1),o("div",null," 区域码转汉字: "+u(t(s)[e.value[0]])+", "+u(t(s)[e.value[1]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[e.value[0]],t(s)[e.value[1]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",R,[o("span",X,[n[7]||(n[7]=b(" 2. 二级联动(带有“全部”选项) ")),m(r,{modelValue:l.value,"onUpdate:modelValue":n[1]||(n[1]=_=>l.value=_),options:t(k),onChange:i},null,8,["modelValue","options"])]),o("div",z,[o("div",null,"绑定值:"+u(l.value),1),o("div",null," 区域码转汉字: "+u(t(s)[l.value[0]])+", "+u(t(s)[l.value[1]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[l.value[0]],t(s)[l.value[1]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",H,[o("span",J,[n[8]||(n[8]=b(" 3. 三级联动(不带“全部”选项) ")),m(r,{modelValue:a.value,"onUpdate:modelValue":n[2]||(n[2]=_=>a.value=_),options:t(g),onChange:i},null,8,["modelValue","options"])]),o("div",K,[o("div",null,"绑定值:"+u(a.value),1),o("div",null," 区域码转汉字: "+u(t(s)[a.value[0]])+", "+u(t(s)[a.value[1]])+", "+u(t(s)[a.value[2]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[a.value[0]],t(s)[a.value[1]],t(s)[a.value[2]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",M,[o("span",Q,[n[9]||(n[9]=b(' 4. 三级联动(带"全部选项") ')),m(r,{modelValue:c.value,"onUpdate:modelValue":n[3]||(n[3]=_=>c.value=_),options:t($),onChange:i},null,8,["modelValue","options"])]),o("div",W,[o("div",null,"绑定值:"+u(c.value),1),o("div",null," 区域码转汉字: "+u(t(s)[c.value[0]])+", "+u(t(s)[c.value[1]])+", "+u(t(s)[c.value[2]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[c.value[0]],t(s)[c.value[1]],t(s)[c.value[2]])),1)])])]),_:1})]),_:1})]),_:1})}}});export{Z as default}; +import{S as N,ad as j,d as U,a as y,b as B,w as h,e as x,f as L,g as o,i as m,h as b,u as t,t as u}from"./index-DqH6biyS.js";const P={86:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区"},11e4:{110100:"市辖区"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"市辖区"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130101:"市辖区",130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130201:"市辖区",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130301:"市辖区",130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130401:"市辖区",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130501:"市辖区",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130601:"市辖区",130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130701:"市辖区",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130801:"市辖区",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130901:"市辖区",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131001:"市辖区",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131101:"市辖区",131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140101:"市辖区",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140201:"市辖区",140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140301:"市辖区",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140401:"市辖区",140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140501:"市辖区",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140601:"市辖区",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140701:"市辖区",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140801:"市辖区",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140901:"市辖区",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141001:"市辖区",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141101:"市辖区",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150101:"市辖区",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150171:"呼和浩特金海工业园区",150172:"呼和浩特经济技术开发区"},150200:{150201:"市辖区",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150301:"市辖区",150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150401:"市辖区",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150501:"市辖区",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150601:"市辖区",150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150701:"市辖区",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150801:"市辖区",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150901:"市辖区",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善经济开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210101:"市辖区",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210201:"市辖区",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210301:"市辖区",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210401:"市辖区",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210501:"市辖区",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210601:"市辖区",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210701:"市辖区",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210801:"市辖区",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210901:"市辖区",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211001:"市辖区",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211101:"市辖区",211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211201:"市辖区",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211301:"市辖区",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211401:"市辖区",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220101:"市辖区",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市"},220200:{220201:"市辖区",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220301:"市辖区",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市"},220400:{220401:"市辖区",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220501:"市辖区",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220601:"市辖区",220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220701:"市辖区",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220801:"市辖区",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230101:"市辖区",230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230201:"市辖区",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230301:"市辖区",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230401:"市辖区",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230501:"市辖区",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230601:"市辖区",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230701:"市辖区",230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230801:"市辖区",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230901:"市辖区",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231001:"市辖区",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231101:"市辖区",231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231201:"市辖区",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"市辖区"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320101:"市辖区",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320201:"市辖区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320301:"市辖区",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320401:"市辖区",320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320501:"市辖区",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320601:"市辖区",320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320684:"海门市",320685:"海安市"},320700:{320701:"市辖区",320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320801:"市辖区",320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320901:"市辖区",320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321001:"市辖区",321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321101:"市辖区",321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321201:"市辖区",321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321301:"市辖区",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330101:"市辖区",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330201:"市辖区",330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330301:"市辖区",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330401:"市辖区",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330501:"市辖区",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330601:"市辖区",330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330701:"市辖区",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330801:"市辖区",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330901:"市辖区",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331001:"市辖区",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331101:"市辖区",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340101:"市辖区",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340201:"市辖区",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县",340271:"芜湖经济技术开发区",340272:"安徽芜湖长江大桥经济开发区"},340300:{340301:"市辖区",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340401:"市辖区",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340501:"市辖区",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340601:"市辖区",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340701:"市辖区",340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340801:"市辖区",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341001:"市辖区",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341101:"市辖区",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"苏滁现代产业园",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341201:"市辖区",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341301:"市辖区",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341501:"市辖区",341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341601:"市辖区",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341701:"市辖区",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341801:"市辖区",341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350101:"市辖区",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350201:"市辖区",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350301:"市辖区",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350401:"市辖区",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350501:"市辖区",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350601:"市辖区",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市"},350700:{350701:"市辖区",350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350801:"市辖区",350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350901:"市辖区",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360101:"市辖区",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360201:"市辖区",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360301:"市辖区",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360401:"市辖区",360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360501:"市辖区",360502:"渝水区",360521:"分宜县"},360600:{360601:"市辖区",360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360701:"市辖区",360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市"},360800:{360801:"市辖区",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360901:"市辖区",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361001:"市辖区",361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361101:"市辖区",361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370101:"市辖区",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370201:"市辖区",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370301:"市辖区",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370401:"市辖区",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370501:"市辖区",370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370601:"市辖区",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370701:"市辖区",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370801:"市辖区",370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370901:"市辖区",370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371001:"市辖区",371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371101:"市辖区",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371301:"市辖区",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区",371372:"临沂经济技术开发区",371373:"临沂临港经济开发区"},371400:{371401:"市辖区",371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371501:"市辖区",371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371601:"市辖区",371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371701:"市辖区",371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市",419e3:"省直辖县级行政区划"},410100:{410101:"市辖区",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410201:"市辖区",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410301:"市辖区",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区",410381:"偃师市"},410400:{410401:"市辖区",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410501:"市辖区",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410601:"市辖区",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410701:"市辖区",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410801:"市辖区",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410901:"市辖区",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411001:"市辖区",411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411101:"市辖区",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411201:"市辖区",411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411301:"市辖区",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411401:"市辖区",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411501:"市辖区",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411601:"市辖区",411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411701:"市辖区",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},419e3:{419001:"济源市"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州",429e3:"省直辖县级行政区划"},420100:{420101:"市辖区",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420201:"市辖区",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420301:"市辖区",420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420501:"市辖区",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420601:"市辖区",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420701:"市辖区",420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420801:"市辖区",420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420901:"市辖区",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421001:"市辖区",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市"},421100:{421101:"市辖区",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421201:"市辖区",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421301:"市辖区",421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},429e3:{429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430101:"市辖区",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430201:"市辖区",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430301:"市辖区",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430401:"市辖区",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430501:"市辖区",430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430601:"市辖区",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430701:"市辖区",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430801:"市辖区",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430901:"市辖区",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431001:"市辖区",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431101:"市辖区",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431172:"永州市金洞管理区",431173:"永州市回龙圩管理区"},431200:{431201:"市辖区",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431301:"市辖区",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433173:"湖南永顺经济开发区"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440101:"市辖区",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440201:"市辖区",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440301:"市辖区",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440401:"市辖区",440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440501:"市辖区",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440601:"市辖区",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440701:"市辖区",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440801:"市辖区",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440901:"市辖区",440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441201:"市辖区",441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441301:"市辖区",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441401:"市辖区",441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441501:"市辖区",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441601:"市辖区",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441701:"市辖区",441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441801:"市辖区",441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900110:"常平镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园"},442e3:{442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000100:"小榄镇",442000101:"黄圃镇",442000102:"民众镇",442000103:"东凤镇",442000104:"东升镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000110:"横栏镇",442000111:"南头镇",442000112:"阜沙镇",442000113:"南朗镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇"},445100:{445101:"市辖区",445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445201:"市辖区",445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445301:"市辖区",445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450101:"市辖区",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"},450200:{450201:"市辖区",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450301:"市辖区",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450401:"市辖区",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450501:"市辖区",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450601:"市辖区",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450701:"市辖区",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450801:"市辖区",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450901:"市辖区",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451001:"市辖区",451002:"右江区",451003:"田阳区",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市"},451100:{451101:"市辖区",451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451201:"市辖区",451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451301:"市辖区",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451401:"市辖区",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市",469e3:"省直辖县级行政区划"},460100:{460101:"市辖区",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460201:"市辖区",460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{460400100:"那大镇",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区",460400500:"华南热作学院"},469e3:{469001:"五指山市",469002:"琼海市",469005:"文昌市",469006:"万宁市",469007:"东方市",469021:"定安县",469022:"屯昌县",469023:"澄迈县",469024:"临高县",469025:"白沙黎族自治县",469026:"昌江黎族自治县",469027:"乐东黎族自治县",469028:"陵水黎族自治县",469029:"保亭黎族苗族自治县",469030:"琼中黎族苗族自治县"},5e5:{500100:"市辖区",500200:"县"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},500200:{500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510101:"市辖区",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510301:"市辖区",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510401:"市辖区",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510501:"市辖区",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510601:"市辖区",510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510701:"市辖区",510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510801:"市辖区",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510901:"市辖区",510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511001:"市辖区",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511101:"市辖区",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511301:"市辖区",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511401:"市辖区",511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511501:"市辖区",511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511601:"市辖区",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511701:"市辖区",511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511801:"市辖区",511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511901:"市辖区",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512001:"市辖区",512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520101:"市辖区",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州市"},520300:{520301:"市辖区",520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520401:"市辖区",520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520501:"市辖区",520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"},520600:{520601:"市辖区",520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530101:"市辖区",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530301:"市辖区",530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530401:"市辖区",530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"},530500:{530501:"市辖区",530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530601:"市辖区",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530701:"市辖区",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530801:"市辖区",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530901:"市辖区",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540101:"市辖区",540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540501:"市辖区",540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610101:"市辖区",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610201:"市辖区",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610301:"市辖区",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610401:"市辖区",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610501:"市辖区",610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610601:"市辖区",610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610701:"市辖区",610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610801:"市辖区",610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610901:"市辖区",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"},611e3:{611001:"市辖区",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620101:"市辖区",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{620201:"市辖区"},620300:{620301:"市辖区",620302:"金川区",620321:"永昌县"},620400:{620401:"市辖区",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620501:"市辖区",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620601:"市辖区",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620701:"市辖区",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620801:"市辖区",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620901:"市辖区",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621001:"市辖区",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621101:"市辖区",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621201:"市辖区",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630101:"市辖区",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640101:"市辖区",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640201:"市辖区",640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640301:"市辖区",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640401:"市辖区",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640501:"市辖区",640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区",659e3:"自治区直辖县级行政区划"},650100:{650101:"市辖区",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650201:"市辖区",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},659e3:{659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",659006:"铁门关市"},71e4:{710100:"台北市",710200:"高雄市",710300:"基隆市",710400:"台中市",710500:"台南市",710600:"新竹市",710700:"嘉义市"},710100:{710101:"内湖区",710102:"南港区",710103:"中正区",710104:"松山区",710105:"信义区",710106:"大安区",710107:"中山区",710108:"文山区",710109:"大同区",710110:"万华区",710111:"士林区",710112:"北投区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区"},710300:{710301:"仁爱区",710302:"信义区",710303:"中正区",710304:"暖暖区",710305:"安乐区",710307:"七堵区"},710400:{710301:"中区",710302:"东区",710303:"南区",710304:"西区",710305:"北区",710306:"北屯区",710307:"西屯区",710308:"南屯区"},710500:{710501:"中西区",710502:"东区",710503:"南区",710504:"北区",710505:"安平区",710506:"安南区"},710600:{710601:"东区",710602:"北区",710603:"香山区"},710700:{710701:"东区",710702:"西区"},81e4:{810001:"中西區",810002:"灣仔區",810003:"東區",810004:"南區",810005:"油尖旺區",810006:"深水埗區",810007:"九龍城區",810008:"黃大仙區",810009:"觀塘區",810010:"荃灣區",810011:"屯門區",810012:"元朗區",810013:"北區",810014:"大埔區",810015:"西貢區",810016:"沙田區",810017:"葵青區",810018:"離島區"},82e4:{820001:"花地瑪堂區",820002:"花王堂區",820003:"望德堂區",820004:"大堂區",820005:"風順堂區",820006:"嘉模堂區",820007:"路氹填海區",820008:"聖方濟各堂區"}};var S=P;const D=N(S),s={},p={},w=D[86],g=[];let O=[];const f="全部";s[""]=f;Object.keys(w).forEach(d=>{const e=w[d];g.push({value:d,label:e}),s[d]=e,p[e]={code:d},p[e][f]={code:""}});g.forEach(d=>{var i;const e=d.value,a=d.label,l=[],c=(i=D[e])!=null?i:{};Object.keys(c).forEach(v=>{l.push({value:v,label:c[v]}),s[v]=c[v],p[a][c[v]]={code:v},p[a][c[v]][f]={code:""}}),l.length&&(d.children=l)});O=j(g);g.forEach(d=>{const e=d.children,a=d.label;e&&e.forEach(l=>{var C;const c=l.value,i=l.label,v=[],n=(C=D[c])!=null?C:{};Object.keys(n).forEach(r=>{v.push({value:r,label:n[r]}),s[r]=n[r],p[a][i][n[r]]={code:r}}),v.length&&(l.children=v)})});const k=j(O);k.unshift({value:"",label:f});k.forEach(d=>{const e=d.children;e!=null&&e.length&&(e.unshift({value:"",label:f}),e.forEach(a=>{const l=a.children;l!=null&&l.length&&l.unshift({value:"",label:f})}))});const $=j(g);$.unshift({value:"",label:f});$.forEach(d=>{const e=d.children;e!=null&&e.length&&(e.unshift({value:"",label:f}),e.forEach(a=>{const l=a.children;l!=null&&l.length&&l.unshift({value:"",label:f})}))});function E(d,e,a){let l="";if(d&&p[d]){const c=p[d];if(l=c.code,e&&c[e]){const i=c[e];l=`${l}${e===f?"":", "}${i.code}`,a&&i[a]&&(l=`${l}${a===f?"":", "}${i[a].code}`)}}return l}const q={class:"flex flex-col items-center justify-center"},F={class:"text-[var(--el-color-primary)]"},G={class:"leading-10"},R={class:"flex flex-col items-center justify-center mt-3"},X={class:"text-[var(--el-color-primary)]"},z={class:"leading-10"},H={class:"flex flex-col items-center justify-center mt-3"},J={class:"text-[var(--el-color-primary)]"},K={class:"leading-10"},M={class:"flex flex-col items-center justify-center mt-3"},Q={class:"text-[var(--el-color-primary)]"},W={class:"leading-10"},Z=U({name:"Cascader",__name:"cascader",setup(d){const e=y(["110000","110100"]),a=y(["120000","120100","120101"]),l=y(["130000",""]),c=y(["120000","120100",""]),i=v=>{};return(v,n)=>{const C=x("el-link"),r=x("el-cascader"),V=x("el-col"),T=x("el-row"),A=x("el-card");return L(),B(A,{shadow:"never"},{header:h(()=>[n[5]||(n[5]=o("p",{class:"font-medium"},"区域级联选择器",-1)),m(C,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/cascader.vue",target:"_blank"},{default:h(()=>n[4]||(n[4]=[b(" 代码位置 src/views/components/cascader.vue ")])),_:1})]),default:h(()=>[m(T,{gutter:24},{default:h(()=>[m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",q,[o("span",F,[n[6]||(n[6]=b(" 1. 二级联动(不带“全部”选项) ")),m(r,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=_=>e.value=_),options:t(O),onChange:i},null,8,["modelValue","options"])]),o("div",G,[o("div",null,"绑定值:"+u(e.value),1),o("div",null," 区域码转汉字: "+u(t(s)[e.value[0]])+", "+u(t(s)[e.value[1]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[e.value[0]],t(s)[e.value[1]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",R,[o("span",X,[n[7]||(n[7]=b(" 2. 二级联动(带有“全部”选项) ")),m(r,{modelValue:l.value,"onUpdate:modelValue":n[1]||(n[1]=_=>l.value=_),options:t(k),onChange:i},null,8,["modelValue","options"])]),o("div",z,[o("div",null,"绑定值:"+u(l.value),1),o("div",null," 区域码转汉字: "+u(t(s)[l.value[0]])+", "+u(t(s)[l.value[1]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[l.value[0]],t(s)[l.value[1]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",H,[o("span",J,[n[8]||(n[8]=b(" 3. 三级联动(不带“全部”选项) ")),m(r,{modelValue:a.value,"onUpdate:modelValue":n[2]||(n[2]=_=>a.value=_),options:t(g),onChange:i},null,8,["modelValue","options"])]),o("div",K,[o("div",null,"绑定值:"+u(a.value),1),o("div",null," 区域码转汉字: "+u(t(s)[a.value[0]])+", "+u(t(s)[a.value[1]])+", "+u(t(s)[a.value[2]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[a.value[0]],t(s)[a.value[1]],t(s)[a.value[2]])),1)])])]),_:1}),m(V,{xl:12,lg:12,md:24,sm:24,xs:24},{default:h(()=>[o("div",M,[o("span",Q,[n[9]||(n[9]=b(' 4. 三级联动(带"全部选项") ')),m(r,{modelValue:c.value,"onUpdate:modelValue":n[3]||(n[3]=_=>c.value=_),options:t($),onChange:i},null,8,["modelValue","options"])]),o("div",W,[o("div",null,"绑定值:"+u(c.value),1),o("div",null," 区域码转汉字: "+u(t(s)[c.value[0]])+", "+u(t(s)[c.value[1]])+", "+u(t(s)[c.value[2]]),1),o("div",null," 汉字转区域码: "+u(t(E)(t(s)[c.value[0]],t(s)[c.value[1]],t(s)[c.value[2]])),1)])])]),_:1})]),_:1})]),_:1})}}});export{Z as default}; diff --git a/static/js/check-button-XlJN5YhP.js b/static/js/check-button-DaLd9Dyq.js similarity index 99% rename from static/js/check-button-XlJN5YhP.js rename to static/js/check-button-DaLd9Dyq.js index 21b950d1a2..1b61a73d25 100644 --- a/static/js/check-button-XlJN5YhP.js +++ b/static/js/check-button-DaLd9Dyq.js @@ -1 +1 @@ -var h=Object.defineProperty,ee=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var q=(r,u,a)=>u in r?h(r,u,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[u]=a,j=(r,u)=>{for(var a in u||(u={}))se.call(u,a)&&q(r,a,u[a]);if(L)for(var a of L(u))ae.call(u,a)&&q(r,a,u[a]);return r},I=(r,u)=>ee(r,le(u));import{d as oe,a as n,n as te,b as T,w as s,e as i,f as w,g as d,i as l,h as t,k as A,l as H,v as O,t as S,F as K,u as de,ao as ue,J as ne,_ as ie}from"./index-AFhnwzwZ.js";const re={class:"card-header"},me={class:"flex"},ve={class:"flex"},pe={class:"flex"},be={class:"flex"},ce={class:"flex"},fe={class:"flex"},ke={class:"mb-2 mt-4"},ge=oe({name:"CheckButton",__name:"check-button",setup(r){const u=n(20),a=n("default"),v=n(),z=n(!0),$=n("wait"),N=n("complete"),F=n("progress"),M=n(["apple","tomato"]),D=n(["cucumber","onion","blueberry"]),E=n(["tomato","watermelon","strawberry"]),x=n([{title:"等待中",checked:!1},{title:"进行中",checked:!0},{title:"已完成",checked:!1}]),C=n({});function P(p,e){if(a.value==="disabled")return;C.value[e]=Object.assign(I(j({},p),{checked:!p.checked})),x.value.map(V=>V.checked=!1),x.value[e].checked=C.value[e].checked;const{title:m,checked:c}=C.value[e];ne(c?`已选中${m}`:`取消选中${m}`,{type:"success"})}const y=n([{title:"苹果",checked:!0},{title:"西红柿",checked:!0},{title:"香蕉",checked:!1}]),J=n({});function Q(p,e){a.value!=="disabled"&&(J.value[e]=Object.assign(I(j({},p),{checked:!p.checked})),y.value[e].checked=J.value[e].checked)}function R(){a.value!=="disabled"&&(z.value=!z.value)}return te(a,p=>p==="disabled"?v.value="default":v.value=a.value),(p,e)=>{const m=i("el-radio"),c=i("el-radio-group"),V=i("el-space"),W=i("el-link"),f=i("el-radio-button"),b=i("el-divider"),k=i("IconifyIconOnline"),g=i("el-checkbox-button"),B=i("el-checkbox-group"),U=i("el-checkbox"),X=i("el-slider"),G=i("el-check-tag"),Y=i("el-card");return w(),T(Y,{shadow:"never"},{header:s(()=>[d("div",re,[l(V,{wrap:"",size:40},{default:s(()=>[e[12]||(e[12]=d("span",{style:{"font-size":"16px","font-weight":"800"}}," 可选按钮 ",-1)),l(c,{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=o=>a.value=o)},{default:s(()=>[l(m,{value:"large"},{default:s(()=>e[8]||(e[8]=[t("大尺寸")])),_:1}),l(m,{value:"default"},{default:s(()=>e[9]||(e[9]=[t("默认尺寸")])),_:1}),l(m,{value:"small"},{default:s(()=>e[10]||(e[10]=[t("小尺寸")])),_:1}),l(m,{value:"disabled"},{default:s(()=>e[11]||(e[11]=[t("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),l(W,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/check-button.vue",target:"_blank"},{default:s(()=>e[13]||(e[13]=[t(" 代码位置 src/views/components/check-button.vue ")])),_:1})]),default:s(()=>[e[33]||(e[33]=d("p",{class:"mb-2"},"单选(紧凑风格的按钮样式)",-1)),l(c,{modelValue:$.value,"onUpdate:modelValue":e[1]||(e[1]=o=>$.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(f,{value:"wait"},{default:s(()=>e[14]||(e[14]=[t("等待中")])),_:1}),l(f,{value:"progress"},{default:s(()=>e[15]||(e[15]=[t("进行中")])),_:1}),l(f,{value:"complete"},{default:s(()=>e[16]||(e[16]=[t("已完成")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[34]||(e[34]=d("p",{class:"mb-2"},"单选(带有边框)",-1)),l(c,{modelValue:N.value,"onUpdate:modelValue":e[2]||(e[2]=o=>N.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(m,{value:"wait",border:""},{default:s(()=>e[17]||(e[17]=[t("等待中")])),_:1}),l(m,{value:"progress",border:""},{default:s(()=>e[18]||(e[18]=[t("进行中")])),_:1}),l(m,{value:"complete",border:""},{default:s(()=>e[19]||(e[19]=[t("已完成")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[35]||(e[35]=d("p",{class:"mb-2"},"单选(自定义内容)",-1)),l(c,{modelValue:F.value,"onUpdate:modelValue":e[3]||(e[3]=o=>F.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(f,{value:"wait"},{default:s(()=>[d("span",me,[l(k,{icon:"ri:progress-8-fill",class:"mr-1"}),e[20]||(e[20]=t(" 等待中 "))])]),_:1}),l(f,{value:"progress"},{default:s(()=>[d("span",ve,[l(k,{icon:"ri:progress-6-line",class:"mr-1"}),e[21]||(e[21]=t(" 进行中 "))])]),_:1}),l(f,{value:"complete"},{default:s(()=>[d("span",pe,[l(k,{icon:"ri:progress-8-line",class:"mr-1"}),e[22]||(e[22]=t(" 已完成 "))])]),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[36]||(e[36]=d("p",{class:"mb-2"},"多选(紧凑风格的按钮样式)",-1)),l(B,{modelValue:M.value,"onUpdate:modelValue":e[4]||(e[4]=o=>M.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(g,{value:"apple"},{default:s(()=>e[23]||(e[23]=[t("苹果")])),_:1}),l(g,{value:"tomato"},{default:s(()=>e[24]||(e[24]=[t("西红柿")])),_:1}),l(g,{value:"banana"},{default:s(()=>e[25]||(e[25]=[t("香蕉")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[37]||(e[37]=d("p",{class:"mb-2"},"多选(带有边框)",-1)),l(B,{modelValue:D.value,"onUpdate:modelValue":e[5]||(e[5]=o=>D.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(U,{value:"cucumber",border:""},{default:s(()=>e[26]||(e[26]=[t("黄瓜")])),_:1}),l(U,{value:"onion",border:""},{default:s(()=>e[27]||(e[27]=[t("洋葱")])),_:1}),l(U,{value:"blueberry",border:""},{default:s(()=>e[28]||(e[28]=[t("蓝莓")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[38]||(e[38]=d("p",{class:"mb-2"},"多选(来点不一样的体验)",-1)),l(B,{modelValue:E.value,"onUpdate:modelValue":e[6]||(e[6]=o=>E.value=o),class:"pure-checkbox",size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(g,{value:"tomato"},{default:s(()=>[d("span",be,[l(k,{icon:"streamline-emojis:tomato",class:"mr-1"}),e[29]||(e[29]=t(" 番茄 "))])]),_:1}),l(g,{value:"watermelon"},{default:s(()=>[d("span",ce,[l(k,{icon:"streamline-emojis:watermelon-1",class:"mr-1"}),e[30]||(e[30]=t(" 西瓜 "))])]),_:1}),l(g,{value:"strawberry"},{default:s(()=>[d("span",fe,[l(k,{icon:"streamline-emojis:strawberry-1",class:"mr-1"}),e[31]||(e[31]=t(" 草莓 "))])]),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[39]||(e[39]=d("p",null,"可控制间距的按钮样式",-1)),l(X,{modelValue:u.value,"onUpdate:modelValue":e[7]||(e[7]=o=>u.value=o),class:"mb-2 !w-[300px]","show-tooltip":!1,disabled:a.value==="disabled"},null,8,["modelValue","disabled"]),e[40]||(e[40]=d("p",{class:"mb-2"},"单选",-1)),l(V,{wrap:"",size:u.value},{default:s(()=>[(w(!0),A(K,null,H(x.value,(o,_)=>(w(),T(G,{key:_,class:O(["select-none",a.value==="disabled"&&"tag-disabled",o.checked&&"is-active"]),checked:o.checked,onChange:Z=>P(o,_)},{default:s(()=>[t(S(o.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1},8,["size"]),d("p",ke," 多选 "+S(de(ue)(y.value.filter(o=>o.checked),"title")),1),l(V,{wrap:"",size:u.value},{default:s(()=>[(w(!0),A(K,null,H(y.value,(o,_)=>(w(),T(G,{key:_,class:O(["select-none",a.value==="disabled"&&"tag-disabled",o.checked&&"is-active"]),checked:o.checked,onChange:Z=>Q(o,_)},{default:s(()=>[t(S(o.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1},8,["size"]),l(b),e[41]||(e[41]=d("p",{class:"mb-2"},"单个可选按钮",-1)),l(G,{class:O(["select-none",a.value==="disabled"&&"tag-disabled",z.value&&"is-active"]),checked:z.value,onChange:R},{default:s(()=>e[32]||(e[32]=[t(" 一个人也要努力 😊 ")])),_:1},8,["class","checked"])]),_:1})}}}),we=ie(ge,[["__scopeId","data-v-ba42e1d6"]]);export{we as default}; +var h=Object.defineProperty,ee=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var q=(r,u,a)=>u in r?h(r,u,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[u]=a,j=(r,u)=>{for(var a in u||(u={}))se.call(u,a)&&q(r,a,u[a]);if(L)for(var a of L(u))ae.call(u,a)&&q(r,a,u[a]);return r},I=(r,u)=>ee(r,le(u));import{d as oe,a as n,n as te,b as T,w as s,e as i,f as w,g as d,i as l,h as t,k as A,l as H,v as O,t as S,F as K,u as de,ao as ue,J as ne,_ as ie}from"./index-DqH6biyS.js";const re={class:"card-header"},me={class:"flex"},ve={class:"flex"},pe={class:"flex"},be={class:"flex"},ce={class:"flex"},fe={class:"flex"},ke={class:"mb-2 mt-4"},ge=oe({name:"CheckButton",__name:"check-button",setup(r){const u=n(20),a=n("default"),v=n(),z=n(!0),$=n("wait"),N=n("complete"),F=n("progress"),M=n(["apple","tomato"]),D=n(["cucumber","onion","blueberry"]),E=n(["tomato","watermelon","strawberry"]),x=n([{title:"等待中",checked:!1},{title:"进行中",checked:!0},{title:"已完成",checked:!1}]),C=n({});function P(p,e){if(a.value==="disabled")return;C.value[e]=Object.assign(I(j({},p),{checked:!p.checked})),x.value.map(V=>V.checked=!1),x.value[e].checked=C.value[e].checked;const{title:m,checked:c}=C.value[e];ne(c?`已选中${m}`:`取消选中${m}`,{type:"success"})}const y=n([{title:"苹果",checked:!0},{title:"西红柿",checked:!0},{title:"香蕉",checked:!1}]),J=n({});function Q(p,e){a.value!=="disabled"&&(J.value[e]=Object.assign(I(j({},p),{checked:!p.checked})),y.value[e].checked=J.value[e].checked)}function R(){a.value!=="disabled"&&(z.value=!z.value)}return te(a,p=>p==="disabled"?v.value="default":v.value=a.value),(p,e)=>{const m=i("el-radio"),c=i("el-radio-group"),V=i("el-space"),W=i("el-link"),f=i("el-radio-button"),b=i("el-divider"),k=i("IconifyIconOnline"),g=i("el-checkbox-button"),B=i("el-checkbox-group"),U=i("el-checkbox"),X=i("el-slider"),G=i("el-check-tag"),Y=i("el-card");return w(),T(Y,{shadow:"never"},{header:s(()=>[d("div",re,[l(V,{wrap:"",size:40},{default:s(()=>[e[12]||(e[12]=d("span",{style:{"font-size":"16px","font-weight":"800"}}," 可选按钮 ",-1)),l(c,{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=o=>a.value=o)},{default:s(()=>[l(m,{value:"large"},{default:s(()=>e[8]||(e[8]=[t("大尺寸")])),_:1}),l(m,{value:"default"},{default:s(()=>e[9]||(e[9]=[t("默认尺寸")])),_:1}),l(m,{value:"small"},{default:s(()=>e[10]||(e[10]=[t("小尺寸")])),_:1}),l(m,{value:"disabled"},{default:s(()=>e[11]||(e[11]=[t("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),l(W,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/check-button.vue",target:"_blank"},{default:s(()=>e[13]||(e[13]=[t(" 代码位置 src/views/components/check-button.vue ")])),_:1})]),default:s(()=>[e[33]||(e[33]=d("p",{class:"mb-2"},"单选(紧凑风格的按钮样式)",-1)),l(c,{modelValue:$.value,"onUpdate:modelValue":e[1]||(e[1]=o=>$.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(f,{value:"wait"},{default:s(()=>e[14]||(e[14]=[t("等待中")])),_:1}),l(f,{value:"progress"},{default:s(()=>e[15]||(e[15]=[t("进行中")])),_:1}),l(f,{value:"complete"},{default:s(()=>e[16]||(e[16]=[t("已完成")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[34]||(e[34]=d("p",{class:"mb-2"},"单选(带有边框)",-1)),l(c,{modelValue:N.value,"onUpdate:modelValue":e[2]||(e[2]=o=>N.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(m,{value:"wait",border:""},{default:s(()=>e[17]||(e[17]=[t("等待中")])),_:1}),l(m,{value:"progress",border:""},{default:s(()=>e[18]||(e[18]=[t("进行中")])),_:1}),l(m,{value:"complete",border:""},{default:s(()=>e[19]||(e[19]=[t("已完成")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[35]||(e[35]=d("p",{class:"mb-2"},"单选(自定义内容)",-1)),l(c,{modelValue:F.value,"onUpdate:modelValue":e[3]||(e[3]=o=>F.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(f,{value:"wait"},{default:s(()=>[d("span",me,[l(k,{icon:"ri:progress-8-fill",class:"mr-1"}),e[20]||(e[20]=t(" 等待中 "))])]),_:1}),l(f,{value:"progress"},{default:s(()=>[d("span",ve,[l(k,{icon:"ri:progress-6-line",class:"mr-1"}),e[21]||(e[21]=t(" 进行中 "))])]),_:1}),l(f,{value:"complete"},{default:s(()=>[d("span",pe,[l(k,{icon:"ri:progress-8-line",class:"mr-1"}),e[22]||(e[22]=t(" 已完成 "))])]),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[36]||(e[36]=d("p",{class:"mb-2"},"多选(紧凑风格的按钮样式)",-1)),l(B,{modelValue:M.value,"onUpdate:modelValue":e[4]||(e[4]=o=>M.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(g,{value:"apple"},{default:s(()=>e[23]||(e[23]=[t("苹果")])),_:1}),l(g,{value:"tomato"},{default:s(()=>e[24]||(e[24]=[t("西红柿")])),_:1}),l(g,{value:"banana"},{default:s(()=>e[25]||(e[25]=[t("香蕉")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[37]||(e[37]=d("p",{class:"mb-2"},"多选(带有边框)",-1)),l(B,{modelValue:D.value,"onUpdate:modelValue":e[5]||(e[5]=o=>D.value=o),size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(U,{value:"cucumber",border:""},{default:s(()=>e[26]||(e[26]=[t("黄瓜")])),_:1}),l(U,{value:"onion",border:""},{default:s(()=>e[27]||(e[27]=[t("洋葱")])),_:1}),l(U,{value:"blueberry",border:""},{default:s(()=>e[28]||(e[28]=[t("蓝莓")])),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[38]||(e[38]=d("p",{class:"mb-2"},"多选(来点不一样的体验)",-1)),l(B,{modelValue:E.value,"onUpdate:modelValue":e[6]||(e[6]=o=>E.value=o),class:"pure-checkbox",size:v.value,disabled:a.value==="disabled"},{default:s(()=>[l(g,{value:"tomato"},{default:s(()=>[d("span",be,[l(k,{icon:"streamline-emojis:tomato",class:"mr-1"}),e[29]||(e[29]=t(" 番茄 "))])]),_:1}),l(g,{value:"watermelon"},{default:s(()=>[d("span",ce,[l(k,{icon:"streamline-emojis:watermelon-1",class:"mr-1"}),e[30]||(e[30]=t(" 西瓜 "))])]),_:1}),l(g,{value:"strawberry"},{default:s(()=>[d("span",fe,[l(k,{icon:"streamline-emojis:strawberry-1",class:"mr-1"}),e[31]||(e[31]=t(" 草莓 "))])]),_:1})]),_:1},8,["modelValue","size","disabled"]),l(b),e[39]||(e[39]=d("p",null,"可控制间距的按钮样式",-1)),l(X,{modelValue:u.value,"onUpdate:modelValue":e[7]||(e[7]=o=>u.value=o),class:"mb-2 !w-[300px]","show-tooltip":!1,disabled:a.value==="disabled"},null,8,["modelValue","disabled"]),e[40]||(e[40]=d("p",{class:"mb-2"},"单选",-1)),l(V,{wrap:"",size:u.value},{default:s(()=>[(w(!0),A(K,null,H(x.value,(o,_)=>(w(),T(G,{key:_,class:O(["select-none",a.value==="disabled"&&"tag-disabled",o.checked&&"is-active"]),checked:o.checked,onChange:Z=>P(o,_)},{default:s(()=>[t(S(o.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1},8,["size"]),d("p",ke," 多选 "+S(de(ue)(y.value.filter(o=>o.checked),"title")),1),l(V,{wrap:"",size:u.value},{default:s(()=>[(w(!0),A(K,null,H(y.value,(o,_)=>(w(),T(G,{key:_,class:O(["select-none",a.value==="disabled"&&"tag-disabled",o.checked&&"is-active"]),checked:o.checked,onChange:Z=>Q(o,_)},{default:s(()=>[t(S(o.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1},8,["size"]),l(b),e[41]||(e[41]=d("p",{class:"mb-2"},"单个可选按钮",-1)),l(G,{class:O(["select-none",a.value==="disabled"&&"tag-disabled",z.value&&"is-active"]),checked:z.value,onChange:R},{default:s(()=>e[32]||(e[32]=[t(" 一个人也要努力 😊 ")])),_:1},8,["class","checked"])]),_:1})}}}),we=ie(ge,[["__scopeId","data-v-ba42e1d6"]]);export{we as default}; diff --git a/static/js/check-card-DIV3kA2O.js b/static/js/check-card-C4WEypSk.js similarity index 99% rename from static/js/check-card-DIV3kA2O.js rename to static/js/check-card-C4WEypSk.js index a94378a11a..c4f58d034b 100644 --- a/static/js/check-card-DIV3kA2O.js +++ b/static/js/check-card-C4WEypSk.js @@ -1 +1 @@ -import{i as B,a as A,_ as N}from"./_plugin-vue_export-helper-C_DISmKY.js";import{d as F,r as U,N as G,f as o,k as g,g as b,u as m,b as $,U as L,Q as u,a3 as f,aq as M,j as p,F as S,h as y,t as j,q as Q,v as T,l as H,ar as I,w as d,as as h,a as E,n as J,e as z,A as K,i as k,B as O}from"./index-AFhnwzwZ.js";const R={class:"plus-check-card__avatar-wrapper"},W={class:"plus-check-card__right-content"},X={key:0,class:"plus-check-card__title"},Y={class:"plus-check-card__title-left"},Z={key:1,class:"plus-check-card__description"};var _=F({name:"PlusCheckCard",__name:"index",props:{modelValue:{type:Boolean,default:!1},size:{default:"default"},avatar:{type:[String,Function],default:void 0},avatarProps:{default:()=>({})},title:{type:[String,Function],default:void 0},description:{type:[String,Function],default:void 0},disabled:{type:Boolean,default:!1},extra:{type:Function,default:void 0}},emits:["update:modelValue","change","extra"],setup(w,{emit:v}){const n={large:"plus-check-card--large",default:"plus-check-card--default",small:"plus-check-card--small"},r=w,l=v,c=U({checked:!1});G(()=>{c.checked=r.modelValue});const C=()=>r.size?n[r.size]:"plus-check-card--default",t=()=>{r.disabled||(c.checked=!c.checked,l("update:modelValue",c.checked),l("change",c.checked))},a=()=>{r.disabled||l("extra")};return(e,s)=>(o(),g("div",{class:T(["plus-check-card",[C(),c.checked?"plus-check-card--checked":"",e.disabled?"plus-check-card--disabled":""]]),onClick:t},[b("div",R,[m(B)(e.avatar)?(o(),$(L(e.avatar),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.avatar?u(e.$slots,"avatar",{key:1,avatar:e.avatar,title:e.title,description:e.description}):m(A)(e.avatar)?(o(),$(m(M),f({key:2,src:e.avatar},e.avatarProps),null,16,["src"])):p("v-if",!0)]),b("div",W,[e.title||e.$slots.title?(o(),g("div",X,[b("div",Y,[m(B)(e.title)?(o(),$(L(e.title),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.title?u(e.$slots,"title",{key:1,title:e.title,avatar:e.avatar,description:e.description}):(o(),g(S,{key:2},[y(j(e.title),1)],64))]),b("div",{class:"plus-check-card__title-right",onClick:Q(a,["stop"])},[m(B)(e.extra)?(o(),$(L(e.extra),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.extra?u(e.$slots,"extra",{key:1,title:e.title,avatar:e.avatar,description:e.description}):p("v-if",!0)])])):p("v-if",!0),e.description||e.$slots.description?(o(),g("div",Z,[m(B)(e.description)?(o(),$(L(e.description),{key:0,title:e.title,avatar:e.avatar,description:e.description},null,8,["title","avatar","description"])):e.$slots.description?u(e.$slots,"description",{key:1,title:e.title,description:e.description,avatar:e.avatar}):(o(),g(S,{key:2},[y(j(e.description),1)],64))])):p("v-if",!0)])],2))}}),x=N(_,[["__file","index.vue"]]);const ee=x,ae={class:"plus-check-card-group"};var te=F({name:"PlusCheckCardGroup",__name:"index",props:{modelValue:{default:()=>[]},options:{default:()=>[]},size:{default:void 0},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},emits:["update:modelValue","change","extra"],setup(w,{emit:v}){const n=w,r=v,l=U({checkList:[],checked:""});G(()=>{n.multiple?l.checkList=n.modelValue:l.checked=n.modelValue});const c=a=>n.multiple?l.checkList.includes(a):l.checked===a,C=(a,e)=>{if(n.multiple)a?l.checkList.push(e):l.checkList=l.checkList.filter(s=>s!==e),r("update:modelValue",l.checkList),r("change",l.checkList);else{const s=a?e:"";r("update:modelValue",s),r("change",s)}},t=a=>{n.disabled||r("extra",a)};return(a,e)=>(o(),g("div",ae,[(o(!0),g(S,null,H(a.options,(s,P)=>(o(),$(m(ee),f({key:s.value||P,size:a.size,disabled:a.disabled},s,{"model-value":c(s.value),onChange:i=>C(i,s.value),onExtra:i=>t(s)}),I({_:2},[a.$slots["avatar-"+s.value]||a.$slots.avatar?{name:"avatar",fn:d(i=>[a.$slots["avatar-"+s.value]?u(a.$slots,"avatar-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.avatar?u(a.$slots,"avatar",h(f({key:1},i))):p("v-if",!0)]),key:"0"}:void 0,a.$slots["title-"+s.value]||a.$slots.title?{name:"title",fn:d(i=>[a.$slots["title-"+s.value]?u(a.$slots,"title-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.title?u(a.$slots,"title",h(f({key:1},i))):p("v-if",!0)]),key:"1"}:void 0,a.$slots["description-"+s.value]||a.$slots.description?{name:"description",fn:d(i=>[a.$slots["description-"+s.value]?u(a.$slots,"description-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.description?u(a.$slots,"description",h(f({key:1},i))):p("v-if",!0)]),key:"2"}:void 0,a.$slots["extra-"+s.value]||a.$slots.extra?{name:"extra",fn:d(i=>[a.$slots["extra-"+s.value]?u(a.$slots,"extra-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.extra?u(a.$slots,"extra",h(f({key:1},i))):p("v-if",!0)]),key:"3"}:void 0]),1040,["size","disabled","model-value","onChange","onExtra"]))),128))]))}}),se=N(te,[["__file","index.vue"]]);const D=se,le={class:"card-header"},re=F({name:"CheckCard",__name:"check-card",setup(w){const v=E("default"),n=E(),r=E("0"),l=E([]),c=[{title:"标题一",value:"0",description:"坚持梦想,成就不凡的自己",avatar:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"},{title:"标题二",value:"1",description:"每一次努力,都是成长的契机",avatar:"https://fuss10.elemecdn.com/1/34/19aa98b1fcb2781c4fba33d850549jpeg.jpeg"}];return J(v,C=>C==="disabled"?n.value="default":n.value=v.value),(C,t)=>{const a=z("el-link"),e=z("el-radio"),s=z("el-radio-group"),P=z("el-space"),i=z("el-card"),q=K("tippy");return o(),$(i,{shadow:"never"},{header:d(()=>[b("div",le,[k(P,{wrap:"",size:40},{default:d(()=>[O((o(),$(a,{href:"https://plus-pro-components.com/components/check-card-group.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:d(()=>t[3]||(t[3]=[y(" 多选卡片组 ")])),_:1})),[[q,{content:"点击查看详细文档"}]]),k(s,{modelValue:v.value,"onUpdate:modelValue":t[0]||(t[0]=V=>v.value=V)},{default:d(()=>[k(e,{value:"large"},{default:d(()=>t[4]||(t[4]=[y("大尺寸")])),_:1}),k(e,{value:"default"},{default:d(()=>t[5]||(t[5]=[y("默认尺寸")])),_:1}),k(e,{value:"small"},{default:d(()=>t[6]||(t[6]=[y("小尺寸")])),_:1}),k(e,{value:"disabled"},{default:d(()=>t[7]||(t[7]=[y("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),k(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/check-card.vue",target:"_blank"},{default:d(()=>t[8]||(t[8]=[y(" 代码位置 src/views/components/check-card.vue ")])),_:1})]),default:d(()=>[t[9]||(t[9]=b("p",{class:"mb-2 mt-4"},"单选",-1)),k(m(D),{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=V=>r.value=V),options:c,size:n.value,disabled:v.value==="disabled"},null,8,["modelValue","size","disabled"]),t[10]||(t[10]=b("p",{class:"mb-2 mt-4"},"多选",-1)),k(m(D),{modelValue:l.value,"onUpdate:modelValue":t[2]||(t[2]=V=>l.value=V),options:c,size:n.value,disabled:v.value==="disabled",multiple:""},null,8,["modelValue","size","disabled"])]),_:1})}}});export{re as default}; +import{i as B,a as A,_ as N}from"./_plugin-vue_export-helper-C_DISmKY.js";import{d as F,r as U,N as G,f as o,k as g,g as b,u as m,b as $,U as L,Q as u,a3 as f,aq as M,j as p,F as S,h as y,t as j,q as Q,v as T,l as H,ar as I,w as d,as as h,a as E,n as J,e as z,A as K,i as k,B as O}from"./index-DqH6biyS.js";const R={class:"plus-check-card__avatar-wrapper"},W={class:"plus-check-card__right-content"},X={key:0,class:"plus-check-card__title"},Y={class:"plus-check-card__title-left"},Z={key:1,class:"plus-check-card__description"};var _=F({name:"PlusCheckCard",__name:"index",props:{modelValue:{type:Boolean,default:!1},size:{default:"default"},avatar:{type:[String,Function],default:void 0},avatarProps:{default:()=>({})},title:{type:[String,Function],default:void 0},description:{type:[String,Function],default:void 0},disabled:{type:Boolean,default:!1},extra:{type:Function,default:void 0}},emits:["update:modelValue","change","extra"],setup(w,{emit:v}){const n={large:"plus-check-card--large",default:"plus-check-card--default",small:"plus-check-card--small"},r=w,l=v,c=U({checked:!1});G(()=>{c.checked=r.modelValue});const C=()=>r.size?n[r.size]:"plus-check-card--default",t=()=>{r.disabled||(c.checked=!c.checked,l("update:modelValue",c.checked),l("change",c.checked))},a=()=>{r.disabled||l("extra")};return(e,s)=>(o(),g("div",{class:T(["plus-check-card",[C(),c.checked?"plus-check-card--checked":"",e.disabled?"plus-check-card--disabled":""]]),onClick:t},[b("div",R,[m(B)(e.avatar)?(o(),$(L(e.avatar),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.avatar?u(e.$slots,"avatar",{key:1,avatar:e.avatar,title:e.title,description:e.description}):m(A)(e.avatar)?(o(),$(m(M),f({key:2,src:e.avatar},e.avatarProps),null,16,["src"])):p("v-if",!0)]),b("div",W,[e.title||e.$slots.title?(o(),g("div",X,[b("div",Y,[m(B)(e.title)?(o(),$(L(e.title),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.title?u(e.$slots,"title",{key:1,title:e.title,avatar:e.avatar,description:e.description}):(o(),g(S,{key:2},[y(j(e.title),1)],64))]),b("div",{class:"plus-check-card__title-right",onClick:Q(a,["stop"])},[m(B)(e.extra)?(o(),$(L(e.extra),{key:0,avatar:e.avatar,title:e.title,description:e.description},null,8,["avatar","title","description"])):e.$slots.extra?u(e.$slots,"extra",{key:1,title:e.title,avatar:e.avatar,description:e.description}):p("v-if",!0)])])):p("v-if",!0),e.description||e.$slots.description?(o(),g("div",Z,[m(B)(e.description)?(o(),$(L(e.description),{key:0,title:e.title,avatar:e.avatar,description:e.description},null,8,["title","avatar","description"])):e.$slots.description?u(e.$slots,"description",{key:1,title:e.title,description:e.description,avatar:e.avatar}):(o(),g(S,{key:2},[y(j(e.description),1)],64))])):p("v-if",!0)])],2))}}),x=N(_,[["__file","index.vue"]]);const ee=x,ae={class:"plus-check-card-group"};var te=F({name:"PlusCheckCardGroup",__name:"index",props:{modelValue:{default:()=>[]},options:{default:()=>[]},size:{default:void 0},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},emits:["update:modelValue","change","extra"],setup(w,{emit:v}){const n=w,r=v,l=U({checkList:[],checked:""});G(()=>{n.multiple?l.checkList=n.modelValue:l.checked=n.modelValue});const c=a=>n.multiple?l.checkList.includes(a):l.checked===a,C=(a,e)=>{if(n.multiple)a?l.checkList.push(e):l.checkList=l.checkList.filter(s=>s!==e),r("update:modelValue",l.checkList),r("change",l.checkList);else{const s=a?e:"";r("update:modelValue",s),r("change",s)}},t=a=>{n.disabled||r("extra",a)};return(a,e)=>(o(),g("div",ae,[(o(!0),g(S,null,H(a.options,(s,P)=>(o(),$(m(ee),f({key:s.value||P,size:a.size,disabled:a.disabled},s,{"model-value":c(s.value),onChange:i=>C(i,s.value),onExtra:i=>t(s)}),I({_:2},[a.$slots["avatar-"+s.value]||a.$slots.avatar?{name:"avatar",fn:d(i=>[a.$slots["avatar-"+s.value]?u(a.$slots,"avatar-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.avatar?u(a.$slots,"avatar",h(f({key:1},i))):p("v-if",!0)]),key:"0"}:void 0,a.$slots["title-"+s.value]||a.$slots.title?{name:"title",fn:d(i=>[a.$slots["title-"+s.value]?u(a.$slots,"title-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.title?u(a.$slots,"title",h(f({key:1},i))):p("v-if",!0)]),key:"1"}:void 0,a.$slots["description-"+s.value]||a.$slots.description?{name:"description",fn:d(i=>[a.$slots["description-"+s.value]?u(a.$slots,"description-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.description?u(a.$slots,"description",h(f({key:1},i))):p("v-if",!0)]),key:"2"}:void 0,a.$slots["extra-"+s.value]||a.$slots.extra?{name:"extra",fn:d(i=>[a.$slots["extra-"+s.value]?u(a.$slots,"extra-"+s.value,h(f({key:0},i))):p("v-if",!0),a.$slots.extra?u(a.$slots,"extra",h(f({key:1},i))):p("v-if",!0)]),key:"3"}:void 0]),1040,["size","disabled","model-value","onChange","onExtra"]))),128))]))}}),se=N(te,[["__file","index.vue"]]);const D=se,le={class:"card-header"},re=F({name:"CheckCard",__name:"check-card",setup(w){const v=E("default"),n=E(),r=E("0"),l=E([]),c=[{title:"标题一",value:"0",description:"坚持梦想,成就不凡的自己",avatar:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"},{title:"标题二",value:"1",description:"每一次努力,都是成长的契机",avatar:"https://fuss10.elemecdn.com/1/34/19aa98b1fcb2781c4fba33d850549jpeg.jpeg"}];return J(v,C=>C==="disabled"?n.value="default":n.value=v.value),(C,t)=>{const a=z("el-link"),e=z("el-radio"),s=z("el-radio-group"),P=z("el-space"),i=z("el-card"),q=K("tippy");return o(),$(i,{shadow:"never"},{header:d(()=>[b("div",le,[k(P,{wrap:"",size:40},{default:d(()=>[O((o(),$(a,{href:"https://plus-pro-components.com/components/check-card-group.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:d(()=>t[3]||(t[3]=[y(" 多选卡片组 ")])),_:1})),[[q,{content:"点击查看详细文档"}]]),k(s,{modelValue:v.value,"onUpdate:modelValue":t[0]||(t[0]=V=>v.value=V)},{default:d(()=>[k(e,{value:"large"},{default:d(()=>t[4]||(t[4]=[y("大尺寸")])),_:1}),k(e,{value:"default"},{default:d(()=>t[5]||(t[5]=[y("默认尺寸")])),_:1}),k(e,{value:"small"},{default:d(()=>t[6]||(t[6]=[y("小尺寸")])),_:1}),k(e,{value:"disabled"},{default:d(()=>t[7]||(t[7]=[y("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),k(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/check-card.vue",target:"_blank"},{default:d(()=>t[8]||(t[8]=[y(" 代码位置 src/views/components/check-card.vue ")])),_:1})]),default:d(()=>[t[9]||(t[9]=b("p",{class:"mb-2 mt-4"},"单选",-1)),k(m(D),{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=V=>r.value=V),options:c,size:n.value,disabled:v.value==="disabled"},null,8,["modelValue","size","disabled"]),t[10]||(t[10]=b("p",{class:"mb-2 mt-4"},"多选",-1)),k(m(D),{modelValue:l.value,"onUpdate:modelValue":t[2]||(t[2]=V=>l.value=V),options:c,size:n.value,disabled:v.value==="disabled",multiple:""},null,8,["modelValue","size","disabled"])]),_:1})}}});export{re as default}; diff --git a/static/js/collapse-BIaolCul.js b/static/js/collapse-DYh2XMRr.js similarity index 97% rename from static/js/collapse-BIaolCul.js rename to static/js/collapse-DYh2XMRr.js index 073cbf062d..c9f30bbee3 100644 --- a/static/js/collapse-BIaolCul.js +++ b/static/js/collapse-DYh2XMRr.js @@ -1 +1 @@ -import{f as t,k as n,g as r}from"./index-AFhnwzwZ.js";const a={width:"32",height:"32",fill:"currentColor","aria-hidden":"true","data-icon":"holder",viewBox:"64 64 896 896"};function l(o,e){return t(),n("svg",a,e[0]||(e[0]=[r("path",{d:"M300 276.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97m0 284a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 228a56 56 0 1 0 112 0 56 56 0 0 0-112 0m0 284a56 56 0 1 0 112 0 56 56 0 0 0-112 0M300 844.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 796a56 56 0 1 0 112 0 56 56 0 0 0-112 0"},null,-1)]))}const x={render:l},i={width:"32",height:"32",viewBox:"0 0 24 24"};function s(o,e){return t(),n("svg",i,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M22 4V2H2v2h9v14.17l-5.5-5.5-1.42 1.41L12 22l7.92-7.92-1.42-1.41-5.5 5.5V4z"},null,-1)]))}const p={render:s},d={width:"32",height:"32",viewBox:"0 0 24 24"};function h(o,e){return t(),n("svg",d,e[0]||(e[0]=[r("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"},null,-1)]))}const w={render:h},c={width:"32",height:"32",viewBox:"0 0 24 24"};function u(o,e){return t(),n("svg",c,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M3.34 17a10 10 0 0 1-.978-2.326 3 3 0 0 0 .002-5.347A10 10 0 0 1 4.865 4.99a3 3 0 0 0 4.631-2.674 10 10 0 0 1 5.007.002 3 3 0 0 0 4.632 2.672A10 10 0 0 1 20.66 7c.433.749.757 1.53.978 2.326a3 3 0 0 0-.002 5.347 10 10 0 0 1-2.501 4.337 3 3 0 0 0-4.631 2.674 10 10 0 0 1-5.007-.002 3 3 0 0 0-4.632-2.672A10 10 0 0 1 3.34 17m5.66.196a5 5 0 0 1 2.25 2.77q.75.071 1.499.001A5 5 0 0 1 15 17.197a5 5 0 0 1 3.525-.565q.435-.614.748-1.298A5 5 0 0 1 18 12c0-1.26.47-2.437 1.273-3.334a8 8 0 0 0-.75-1.298A5 5 0 0 1 15 6.804a5 5 0 0 1-2.25-2.77q-.75-.071-1.499-.001A5 5 0 0 1 9 6.803a5 5 0 0 1-3.525.565 8 8 0 0 0-.748 1.298A5 5 0 0 1 6 12a5 5 0 0 1-1.273 3.334 8 8 0 0 0 .75 1.298A5 5 0 0 1 9 17.196M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const M={render:u},v={width:"32",height:"32",viewBox:"0 0 24 24"};function f(o,e){return t(),n("svg",v,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M13.79 10.21a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42l-2.5-2.5a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21l-2.5 2.5a1 1 0 0 0 1.42 1.42l.79-.8v5.18l-.79-.8a1 1 0 0 0-1.42 1.42l2.5 2.5a1 1 0 0 0 .33.21.94.94 0 0 0 .76 0 1 1 0 0 0 .33-.21l2.5-2.5a1 1 0 0 0-1.42-1.42l-.79.8V9.41ZM7 4h10a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2m10 16H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2"},null,-1)]))}const m={render:f};export{m as C,x as D,p as E,w as R,M as S}; +import{f as t,k as n,g as r}from"./index-DqH6biyS.js";const a={width:"32",height:"32",fill:"currentColor","aria-hidden":"true","data-icon":"holder",viewBox:"64 64 896 896"};function l(o,e){return t(),n("svg",a,e[0]||(e[0]=[r("path",{d:"M300 276.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97m0 284a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 228a56 56 0 1 0 112 0 56 56 0 0 0-112 0m0 284a56 56 0 1 0 112 0 56 56 0 0 0-112 0M300 844.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 796a56 56 0 1 0 112 0 56 56 0 0 0-112 0"},null,-1)]))}const x={render:l},i={width:"32",height:"32",viewBox:"0 0 24 24"};function s(o,e){return t(),n("svg",i,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M22 4V2H2v2h9v14.17l-5.5-5.5-1.42 1.41L12 22l7.92-7.92-1.42-1.41-5.5 5.5V4z"},null,-1)]))}const p={render:s},d={width:"32",height:"32",viewBox:"0 0 24 24"};function h(o,e){return t(),n("svg",d,e[0]||(e[0]=[r("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"},null,-1)]))}const w={render:h},c={width:"32",height:"32",viewBox:"0 0 24 24"};function u(o,e){return t(),n("svg",c,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M3.34 17a10 10 0 0 1-.978-2.326 3 3 0 0 0 .002-5.347A10 10 0 0 1 4.865 4.99a3 3 0 0 0 4.631-2.674 10 10 0 0 1 5.007.002 3 3 0 0 0 4.632 2.672A10 10 0 0 1 20.66 7c.433.749.757 1.53.978 2.326a3 3 0 0 0-.002 5.347 10 10 0 0 1-2.501 4.337 3 3 0 0 0-4.631 2.674 10 10 0 0 1-5.007-.002 3 3 0 0 0-4.632-2.672A10 10 0 0 1 3.34 17m5.66.196a5 5 0 0 1 2.25 2.77q.75.071 1.499.001A5 5 0 0 1 15 17.197a5 5 0 0 1 3.525-.565q.435-.614.748-1.298A5 5 0 0 1 18 12c0-1.26.47-2.437 1.273-3.334a8 8 0 0 0-.75-1.298A5 5 0 0 1 15 6.804a5 5 0 0 1-2.25-2.77q-.75-.071-1.499-.001A5 5 0 0 1 9 6.803a5 5 0 0 1-3.525.565 8 8 0 0 0-.748 1.298A5 5 0 0 1 6 12a5 5 0 0 1-1.273 3.334 8 8 0 0 0 .75 1.298A5 5 0 0 1 9 17.196M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const M={render:u},v={width:"32",height:"32",viewBox:"0 0 24 24"};function f(o,e){return t(),n("svg",v,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M13.79 10.21a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42l-2.5-2.5a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21l-2.5 2.5a1 1 0 0 0 1.42 1.42l.79-.8v5.18l-.79-.8a1 1 0 0 0-1.42 1.42l2.5 2.5a1 1 0 0 0 .33.21.94.94 0 0 0 .76 0 1 1 0 0 0 .33-.21l2.5-2.5a1 1 0 0 0-1.42-1.42l-.79.8V9.41ZM7 4h10a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2m10 16H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2"},null,-1)]))}const m={render:f};export{m as C,x as D,p as E,w as R,M as S}; diff --git a/static/js/collapse-Bp7rqNmh.js b/static/js/collapse-DuDhsmTC.js similarity index 97% rename from static/js/collapse-Bp7rqNmh.js rename to static/js/collapse-DuDhsmTC.js index 4b40d7ac7c..1808811c78 100644 --- a/static/js/collapse-Bp7rqNmh.js +++ b/static/js/collapse-DuDhsmTC.js @@ -1 +1 @@ -import{d as B,a as u,b as f,w as l,e as n,A as I,f as c,g as _,i as o,B as O,h as t}from"./index-AFhnwzwZ.js";const D={class:"card-header"},j=B({name:"Collapse",__name:"collapse",setup(R){const i=u(),v=u(),a=u(["1","2","3","4","5"]),d=u(!0);function b(){d.value?a.value=[]:i.value==="accordion"?a.value=["5"]:a.value=["1","2","3","4","5"],d.value=!d.value}const g=w=>{};return(w,e)=>{const r=n("el-link"),V=n("el-space"),m=n("el-radio"),k=n("el-radio-group"),C=n("el-button"),s=n("el-collapse-item"),x=n("IconifyIconOnline"),y=n("el-collapse"),N=n("el-card"),z=I("tippy");return c(),f(N,{shadow:"never"},{header:l(()=>[_("div",D,[o(V,{wrap:"",size:40},{default:l(()=>[O((c(),f(r,{href:"https://element-plus.org/zh-CN/component/collapse.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:l(()=>e[2]||(e[2]=[t(" 折叠面板 ")])),_:1})),[[z,{content:"点击查看详细文档"}]])]),_:1})]),o(r,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/collapse.vue",target:"_blank"},{default:l(()=>e[3]||(e[3]=[t(" 代码位置 src/views/components/collapse.vue ")])),_:1})]),default:l(()=>[e[13]||(e[13]=_("p",{class:"mb-2"},"基础用法",-1)),o(k,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=p=>i.value=p),class:"mb-3"},{default:l(()=>[o(m,{value:""},{default:l(()=>e[4]||(e[4]=[t("可同时展开多个面板")])),_:1}),o(m,{value:"accordion"},{default:l(()=>e[5]||(e[5]=[t("每次只能展开一个面板")])),_:1})]),_:1},8,["modelValue"]),o(C,{size:"small",text:"",bg:"",class:"ml-8 mb-1",onClick:b},{default:l(()=>e[6]||(e[6]=[t(" 外部触发打开、关闭 ")])),_:1}),o(y,{ref_key:"collapseRef",ref:v,modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=p=>a.value=p),class:"w-[360px]",accordion:i.value==="accordion",onChange:g},{default:l(()=>[o(s,{title:"周一",name:"1"},{default:l(()=>e[7]||(e[7]=[t(" 周一启航,新的篇章 ")])),_:1}),o(s,{title:"周二",name:"2"},{default:l(()=>e[8]||(e[8]=[t(" 周二律动,携手共进 ")])),_:1}),o(s,{title:"周三",name:"3"},{default:l(()=>e[9]||(e[9]=[t(" 周三昂扬,激情不减 ")])),_:1}),o(s,{title:"周四",name:"4"},{default:l(()=>e[10]||(e[10]=[t(" 周四精进,事半功倍 ")])),_:1}),o(s,{name:"5"},{title:l(()=>[e[11]||(e[11]=t(" 周五 ")),o(x,{icon:"streamline-emojis:beaming-face-with-smiling-eyes",class:"ml-1",width:"30"})]),default:l(()=>[e[12]||(e[12]=t(" 周五喜悦,收尾归档 "))]),_:1})]),_:1},8,["modelValue","accordion"])]),_:1})}}});export{j as default}; +import{d as B,a as u,b as f,w as l,e as n,A as I,f as c,g as _,i as o,B as O,h as t}from"./index-DqH6biyS.js";const D={class:"card-header"},j=B({name:"Collapse",__name:"collapse",setup(R){const i=u(),v=u(),a=u(["1","2","3","4","5"]),d=u(!0);function b(){d.value?a.value=[]:i.value==="accordion"?a.value=["5"]:a.value=["1","2","3","4","5"],d.value=!d.value}const g=w=>{};return(w,e)=>{const r=n("el-link"),V=n("el-space"),m=n("el-radio"),k=n("el-radio-group"),C=n("el-button"),s=n("el-collapse-item"),x=n("IconifyIconOnline"),y=n("el-collapse"),N=n("el-card"),z=I("tippy");return c(),f(N,{shadow:"never"},{header:l(()=>[_("div",D,[o(V,{wrap:"",size:40},{default:l(()=>[O((c(),f(r,{href:"https://element-plus.org/zh-CN/component/collapse.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:l(()=>e[2]||(e[2]=[t(" 折叠面板 ")])),_:1})),[[z,{content:"点击查看详细文档"}]])]),_:1})]),o(r,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/collapse.vue",target:"_blank"},{default:l(()=>e[3]||(e[3]=[t(" 代码位置 src/views/components/collapse.vue ")])),_:1})]),default:l(()=>[e[13]||(e[13]=_("p",{class:"mb-2"},"基础用法",-1)),o(k,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=p=>i.value=p),class:"mb-3"},{default:l(()=>[o(m,{value:""},{default:l(()=>e[4]||(e[4]=[t("可同时展开多个面板")])),_:1}),o(m,{value:"accordion"},{default:l(()=>e[5]||(e[5]=[t("每次只能展开一个面板")])),_:1})]),_:1},8,["modelValue"]),o(C,{size:"small",text:"",bg:"",class:"ml-8 mb-1",onClick:b},{default:l(()=>e[6]||(e[6]=[t(" 外部触发打开、关闭 ")])),_:1}),o(y,{ref_key:"collapseRef",ref:v,modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=p=>a.value=p),class:"w-[360px]",accordion:i.value==="accordion",onChange:g},{default:l(()=>[o(s,{title:"周一",name:"1"},{default:l(()=>e[7]||(e[7]=[t(" 周一启航,新的篇章 ")])),_:1}),o(s,{title:"周二",name:"2"},{default:l(()=>e[8]||(e[8]=[t(" 周二律动,携手共进 ")])),_:1}),o(s,{title:"周三",name:"3"},{default:l(()=>e[9]||(e[9]=[t(" 周三昂扬,激情不减 ")])),_:1}),o(s,{title:"周四",name:"4"},{default:l(()=>e[10]||(e[10]=[t(" 周四精进,事半功倍 ")])),_:1}),o(s,{name:"5"},{title:l(()=>[e[11]||(e[11]=t(" 周五 ")),o(x,{icon:"streamline-emojis:beaming-face-with-smiling-eyes",class:"ml-1",width:"30"})]),default:l(()=>[e[12]||(e[12]=t(" 周五喜悦,收尾归档 "))]),_:1})]),_:1},8,["modelValue","accordion"])]),_:1})}}});export{j as default}; diff --git a/static/js/color-picker-CQREo1rB.js b/static/js/color-picker-7IPesrMH.js similarity index 97% rename from static/js/color-picker-CQREo1rB.js rename to static/js/color-picker-7IPesrMH.js index 54cfe468fc..d9ac6bc8a4 100644 --- a/static/js/color-picker-CQREo1rB.js +++ b/static/js/color-picker-7IPesrMH.js @@ -1 +1 @@ -import{d as N,a as s,n as D,b as w,w as l,e as a,A as P,f as V,g as f,i as o,B as U,h as n,t as R}from"./index-AFhnwzwZ.js";const S={class:"card-header"},T=N({name:"ColorPicker",__name:"color-picker",setup(A){const t=s("default"),d=s(),i=s(!1),p=s(),v=s("rgba(255, 69, 0, 0.68)"),m=s("hsla(209, 100%, 56%, 0.73)"),c=s(["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","hsv(51, 100, 98)","hsva(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)","#c7158577"]);D(t,_=>_==="disabled"?d.value="default":d.value=t.value);function z(){i.value?p.value.hide():p.value.show(),i.value=!i.value}return(_,e)=>{const b=a("el-link"),u=a("el-radio"),C=a("el-radio-group"),k=a("el-space"),g=a("el-color-picker"),h=a("el-divider"),y=a("el-button"),x=a("el-card"),B=P("tippy");return V(),w(x,{shadow:"never"},{header:l(()=>[f("div",S,[o(k,{wrap:"",size:40},{default:l(()=>[U((V(),w(b,{href:"https://element-plus.org/zh-CN/component/color-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:l(()=>e[3]||(e[3]=[n(" 颜色选择器 ")])),_:1})),[[B,{content:"点击查看详细文档"}]]),o(C,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=r=>t.value=r)},{default:l(()=>[o(u,{value:"large"},{default:l(()=>e[4]||(e[4]=[n("大尺寸")])),_:1}),o(u,{value:"default"},{default:l(()=>e[5]||(e[5]=[n("默认尺寸")])),_:1}),o(u,{value:"small"},{default:l(()=>e[6]||(e[6]=[n("小尺寸")])),_:1}),o(u,{value:"disabled"},{default:l(()=>e[7]||(e[7]=[n("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),o(b,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/color-picker.vue",target:"_blank"},{default:l(()=>e[8]||(e[8]=[n(" 代码位置 src/views/components/color-picker.vue ")])),_:1})]),default:l(()=>[e[9]||(e[9]=f("p",{class:"mb-2"},"不同尺寸、选择透明度、预定义颜色",-1)),o(g,{modelValue:v.value,"onUpdate:modelValue":e[1]||(e[1]=r=>v.value=r),"show-alpha":"",predefine:c.value,size:d.value,disabled:t.value==="disabled"},null,8,["modelValue","predefine","size","disabled"]),o(h),e[10]||(e[10]=f("p",{class:"mb-2"},"外部触发器",-1)),o(k,{wrap:""},{default:l(()=>[o(g,{ref_key:"colorPickerRef",ref:p,modelValue:m.value,"onUpdate:modelValue":e[2]||(e[2]=r=>m.value=r),"show-alpha":"",predefine:c.value,size:d.value,disabled:t.value==="disabled"},null,8,["modelValue","predefine","size","disabled"]),o(y,{size:d.value,disabled:t.value==="disabled",onClick:z},{default:l(()=>[n(R(i.value?"关闭":"打开"),1)]),_:1},8,["size","disabled"])]),_:1})]),_:1})}}});export{T as default}; +import{d as N,a as s,n as D,b as w,w as l,e as a,A as P,f as V,g as f,i as o,B as U,h as n,t as R}from"./index-DqH6biyS.js";const S={class:"card-header"},T=N({name:"ColorPicker",__name:"color-picker",setup(A){const t=s("default"),d=s(),i=s(!1),p=s(),v=s("rgba(255, 69, 0, 0.68)"),m=s("hsla(209, 100%, 56%, 0.73)"),c=s(["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","hsv(51, 100, 98)","hsva(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)","#c7158577"]);D(t,_=>_==="disabled"?d.value="default":d.value=t.value);function z(){i.value?p.value.hide():p.value.show(),i.value=!i.value}return(_,e)=>{const b=a("el-link"),u=a("el-radio"),C=a("el-radio-group"),k=a("el-space"),g=a("el-color-picker"),h=a("el-divider"),y=a("el-button"),x=a("el-card"),B=P("tippy");return V(),w(x,{shadow:"never"},{header:l(()=>[f("div",S,[o(k,{wrap:"",size:40},{default:l(()=>[U((V(),w(b,{href:"https://element-plus.org/zh-CN/component/color-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:l(()=>e[3]||(e[3]=[n(" 颜色选择器 ")])),_:1})),[[B,{content:"点击查看详细文档"}]]),o(C,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=r=>t.value=r)},{default:l(()=>[o(u,{value:"large"},{default:l(()=>e[4]||(e[4]=[n("大尺寸")])),_:1}),o(u,{value:"default"},{default:l(()=>e[5]||(e[5]=[n("默认尺寸")])),_:1}),o(u,{value:"small"},{default:l(()=>e[6]||(e[6]=[n("小尺寸")])),_:1}),o(u,{value:"disabled"},{default:l(()=>e[7]||(e[7]=[n("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),o(b,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/color-picker.vue",target:"_blank"},{default:l(()=>e[8]||(e[8]=[n(" 代码位置 src/views/components/color-picker.vue ")])),_:1})]),default:l(()=>[e[9]||(e[9]=f("p",{class:"mb-2"},"不同尺寸、选择透明度、预定义颜色",-1)),o(g,{modelValue:v.value,"onUpdate:modelValue":e[1]||(e[1]=r=>v.value=r),"show-alpha":"",predefine:c.value,size:d.value,disabled:t.value==="disabled"},null,8,["modelValue","predefine","size","disabled"]),o(h),e[10]||(e[10]=f("p",{class:"mb-2"},"外部触发器",-1)),o(k,{wrap:""},{default:l(()=>[o(g,{ref_key:"colorPickerRef",ref:p,modelValue:m.value,"onUpdate:modelValue":e[2]||(e[2]=r=>m.value=r),"show-alpha":"",predefine:c.value,size:d.value,disabled:t.value==="disabled"},null,8,["modelValue","predefine","size","disabled"]),o(y,{size:d.value,disabled:t.value==="disabled",onClick:z},{default:l(()=>[n(R(i.value?"关闭":"打开"),1)]),_:1},8,["size","disabled"])]),_:1})]),_:1})}}});export{T as default}; diff --git a/static/js/columns-N5PCbs1O.js b/static/js/columns-B-FkQK58.js similarity index 99% rename from static/js/columns-N5PCbs1O.js rename to static/js/columns-B-FkQK58.js index ea23a84d52..aa949d0d06 100644 --- a/static/js/columns-N5PCbs1O.js +++ b/static/js/columns-B-FkQK58.js @@ -1 +1 @@ -import{aX as r,ad as f,f as h,k as p,g as m,a as s,r as b,m as g,i as l,h as v,e as L,aP as w}from"./index-AFhnwzwZ.js";function o(a,e){return Math.floor(Math.random()*(e-a+1))+a}const M={width:24,height:24,body:''},y={width:24,height:24,body:''},Z={width:24,height:24,body:''},C={width:24,height:24,body:''},H=["周日","周一","周二","周三","周四","周五","周六"],q=[{icon:M,bgColor:"#effaff",color:"#41b6ff",duration:2200,name:"需求人数",value:36e3,percent:"+88%",data:[2101,5288,4239,4962,6752,5208,7450]},{icon:y,bgColor:"#fff5f4",color:"#e85f33",duration:1600,name:"提问数量",value:16580,percent:"+70%",data:[2216,1148,1255,788,4821,1973,4379]},{icon:Z,bgColor:"#eff8f4",color:"#26ce83",duration:1500,name:"解决数量",value:16499,percent:"+99%",data:[861,1002,3195,1715,3666,2415,3645]},{icon:C,bgColor:"#f6f4fe",color:"#7846e5",duration:100,name:"用户满意度",value:100,percent:"+100%",data:[100]}],$=[{requireData:[2101,5288,4239,4962,6752,5208,7450],questionData:[2216,1148,1255,1788,4821,1973,4379]},{requireData:[2101,3280,4400,4962,5752,6889,7600],questionData:[2116,3148,3255,3788,4821,4970,5390]}],j=[{week:"周一",percentage:85,duration:110,color:"#41b6ff"},{week:"周二",percentage:86,duration:105,color:"#41b6ff"},{week:"周三",percentage:88,duration:100,color:"#41b6ff"},{week:"周四",percentage:89,duration:95,color:"#41b6ff"},{week:"周五",percentage:94,duration:90,color:"#26ce83"},{week:"周六",percentage:96,duration:85,color:"#26ce83"},{week:"周日",percentage:100,duration:80,color:"#26ce83"}].reverse(),i=Array.from({length:30}).map((a,e)=>({id:e+1,requiredNumber:o(13500,19999),questionNumber:o(12600,16999),resolveNumber:o(13500,17999),satisfaction:o(95,100),date:r().subtract(e,"day").format("YYYY-MM-DD")})),B=f(i).slice(0,14).map((a,e)=>Object.assign(a,{date:`${r().subtract(e,"day").format("YYYY-MM-DD")} ${H[r().subtract(e,"day").day()]}`})),D={width:24,height:24,body:''},V={width:24,height:24,body:''},k={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",class:"empty-icon",viewBox:"0 0 1024 1024"};function x(a,e){return h(),p("svg",k,e[0]||(e[0]=[m("path",{d:"M855.6 427.2H168.5c-12.7 0-24.4 6.9-30.6 18L4.4 684.7C1.5 689.9 0 695.8 0 701.8v287.1c0 19.4 15.7 35.1 35.1 35.1H989c19.4 0 35.1-15.7 35.1-35.1V701.8c0-6-1.5-11.8-4.4-17.1L886.2 445.2c-6.2-11.1-17.9-18-30.6-18M673.4 695.6c-16.5 0-30.8 11.5-34.3 27.7-12.7 58.5-64.8 102.3-127.2 102.3s-114.5-43.8-127.2-102.3c-3.5-16.1-17.8-27.7-34.3-27.7H119c-26.4 0-43.3-28-31.1-51.4l81.7-155.8c6.1-11.6 18-18.8 31.1-18.8h622.4c13 0 25 7.2 31.1 18.8l81.7 155.8c12.2 23.4-4.7 51.4-31.1 51.4zm146.5-486.1c-1-1.8-2.1-3.7-3.2-5.5-9.8-16.6-31.1-22.2-47.8-12.6L648.5 261c-17 9.8-22.7 31.6-12.6 48.4.9 1.4 1.7 2.9 2.5 4.4 9.5 17 31.2 22.8 48 13L807 257.3c16.7-9.7 22.4-31 12.9-47.8m-444.5 51.6L255 191.6c-16.7-9.6-38-4-47.8 12.6-1.1 1.8-2.1 3.6-3.2 5.5-9.5 16.8-3.8 38.1 12.9 47.8L337.3 327c16.9 9.7 38.6 4 48-13.1.8-1.5 1.7-2.9 2.5-4.4 10.2-16.8 4.5-38.6-12.4-48.4M512 239.3h2.5c19.5.3 35.5-15.5 35.5-35.1v-139c0-19.3-15.6-34.9-34.8-35.1h-6.4C489.6 30.3 474 46 474 65.2v139c0 19.5 15.9 35.4 35.5 35.1z"},null,-1)]))}const N={render:x};function Y(){const a=s([]),e=s(!0),u=[{sortable:!0,label:"序号",prop:"id"},{sortable:!0,label:"需求人数",prop:"requiredNumber",filterMultiple:!1,filterClassName:"pure-table-filter",filters:[{text:"≥16000",value:"more"},{text:"<16000",value:"less"}],filterMethod:(t,{requiredNumber:c})=>t==="more"?c>=16e3:c<16e3},{sortable:!0,label:"提问数量",prop:"questionNumber"},{sortable:!0,label:"解决数量",prop:"resolveNumber"},{sortable:!0,label:"用户满意度",minWidth:100,prop:"satisfaction",cellRenderer:({row:t})=>l("div",{class:"flex justify-center w-full"},[l("span",{class:"flex items-center w-[60px]"},[l("span",{class:"ml-auto mr-2"},[t.satisfaction,v("%")]),l(L("iconifyIconOffline"),{icon:t.satisfaction>98?V:D,color:"#e85f33"},null)])])},{sortable:!0,label:"统计日期",prop:"date"},{label:"操作",fixed:"right",slot:"operation"}],n=b({pageSize:10,currentPage:1,layout:"prev, pager, next",total:0,align:"center"});function d(t){e.value=!0,w(300).then(()=>{e.value=!1})}return g(()=>{a.value=i,n.total=a.value.length,e.value=!1}),{Empty:N,loading:e,columns:u,dataList:a,pagination:n,onCurrentChange:d}}const z=Object.freeze(Object.defineProperty({__proto__:null,useColumns:Y},Symbol.toStringTag,{value:"Module"}));export{z as a,$ as b,q as c,B as l,j as p,Y as u}; +import{aX as r,ad as f,f as h,k as p,g as m,a as s,r as b,m as g,i as l,h as v,e as L,aP as w}from"./index-DqH6biyS.js";function o(a,e){return Math.floor(Math.random()*(e-a+1))+a}const M={width:24,height:24,body:''},y={width:24,height:24,body:''},Z={width:24,height:24,body:''},C={width:24,height:24,body:''},H=["周日","周一","周二","周三","周四","周五","周六"],q=[{icon:M,bgColor:"#effaff",color:"#41b6ff",duration:2200,name:"需求人数",value:36e3,percent:"+88%",data:[2101,5288,4239,4962,6752,5208,7450]},{icon:y,bgColor:"#fff5f4",color:"#e85f33",duration:1600,name:"提问数量",value:16580,percent:"+70%",data:[2216,1148,1255,788,4821,1973,4379]},{icon:Z,bgColor:"#eff8f4",color:"#26ce83",duration:1500,name:"解决数量",value:16499,percent:"+99%",data:[861,1002,3195,1715,3666,2415,3645]},{icon:C,bgColor:"#f6f4fe",color:"#7846e5",duration:100,name:"用户满意度",value:100,percent:"+100%",data:[100]}],$=[{requireData:[2101,5288,4239,4962,6752,5208,7450],questionData:[2216,1148,1255,1788,4821,1973,4379]},{requireData:[2101,3280,4400,4962,5752,6889,7600],questionData:[2116,3148,3255,3788,4821,4970,5390]}],j=[{week:"周一",percentage:85,duration:110,color:"#41b6ff"},{week:"周二",percentage:86,duration:105,color:"#41b6ff"},{week:"周三",percentage:88,duration:100,color:"#41b6ff"},{week:"周四",percentage:89,duration:95,color:"#41b6ff"},{week:"周五",percentage:94,duration:90,color:"#26ce83"},{week:"周六",percentage:96,duration:85,color:"#26ce83"},{week:"周日",percentage:100,duration:80,color:"#26ce83"}].reverse(),i=Array.from({length:30}).map((a,e)=>({id:e+1,requiredNumber:o(13500,19999),questionNumber:o(12600,16999),resolveNumber:o(13500,17999),satisfaction:o(95,100),date:r().subtract(e,"day").format("YYYY-MM-DD")})),B=f(i).slice(0,14).map((a,e)=>Object.assign(a,{date:`${r().subtract(e,"day").format("YYYY-MM-DD")} ${H[r().subtract(e,"day").day()]}`})),D={width:24,height:24,body:''},V={width:24,height:24,body:''},k={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",class:"empty-icon",viewBox:"0 0 1024 1024"};function x(a,e){return h(),p("svg",k,e[0]||(e[0]=[m("path",{d:"M855.6 427.2H168.5c-12.7 0-24.4 6.9-30.6 18L4.4 684.7C1.5 689.9 0 695.8 0 701.8v287.1c0 19.4 15.7 35.1 35.1 35.1H989c19.4 0 35.1-15.7 35.1-35.1V701.8c0-6-1.5-11.8-4.4-17.1L886.2 445.2c-6.2-11.1-17.9-18-30.6-18M673.4 695.6c-16.5 0-30.8 11.5-34.3 27.7-12.7 58.5-64.8 102.3-127.2 102.3s-114.5-43.8-127.2-102.3c-3.5-16.1-17.8-27.7-34.3-27.7H119c-26.4 0-43.3-28-31.1-51.4l81.7-155.8c6.1-11.6 18-18.8 31.1-18.8h622.4c13 0 25 7.2 31.1 18.8l81.7 155.8c12.2 23.4-4.7 51.4-31.1 51.4zm146.5-486.1c-1-1.8-2.1-3.7-3.2-5.5-9.8-16.6-31.1-22.2-47.8-12.6L648.5 261c-17 9.8-22.7 31.6-12.6 48.4.9 1.4 1.7 2.9 2.5 4.4 9.5 17 31.2 22.8 48 13L807 257.3c16.7-9.7 22.4-31 12.9-47.8m-444.5 51.6L255 191.6c-16.7-9.6-38-4-47.8 12.6-1.1 1.8-2.1 3.6-3.2 5.5-9.5 16.8-3.8 38.1 12.9 47.8L337.3 327c16.9 9.7 38.6 4 48-13.1.8-1.5 1.7-2.9 2.5-4.4 10.2-16.8 4.5-38.6-12.4-48.4M512 239.3h2.5c19.5.3 35.5-15.5 35.5-35.1v-139c0-19.3-15.6-34.9-34.8-35.1h-6.4C489.6 30.3 474 46 474 65.2v139c0 19.5 15.9 35.4 35.5 35.1z"},null,-1)]))}const N={render:x};function Y(){const a=s([]),e=s(!0),u=[{sortable:!0,label:"序号",prop:"id"},{sortable:!0,label:"需求人数",prop:"requiredNumber",filterMultiple:!1,filterClassName:"pure-table-filter",filters:[{text:"≥16000",value:"more"},{text:"<16000",value:"less"}],filterMethod:(t,{requiredNumber:c})=>t==="more"?c>=16e3:c<16e3},{sortable:!0,label:"提问数量",prop:"questionNumber"},{sortable:!0,label:"解决数量",prop:"resolveNumber"},{sortable:!0,label:"用户满意度",minWidth:100,prop:"satisfaction",cellRenderer:({row:t})=>l("div",{class:"flex justify-center w-full"},[l("span",{class:"flex items-center w-[60px]"},[l("span",{class:"ml-auto mr-2"},[t.satisfaction,v("%")]),l(L("iconifyIconOffline"),{icon:t.satisfaction>98?V:D,color:"#e85f33"},null)])])},{sortable:!0,label:"统计日期",prop:"date"},{label:"操作",fixed:"right",slot:"operation"}],n=b({pageSize:10,currentPage:1,layout:"prev, pager, next",total:0,align:"center"});function d(t){e.value=!0,w(300).then(()=>{e.value=!1})}return g(()=>{a.value=i,n.total=a.value.length,e.value=!1}),{Empty:N,loading:e,columns:u,dataList:a,pagination:n,onCurrentChange:d}}const z=Object.freeze(Object.defineProperty({__proto__:null,useColumns:Y},Symbol.toStringTag,{value:"Module"}));export{z as a,$ as b,q as c,B as l,j as p,Y as u}; diff --git a/static/js/columns-BVO3RVsJ.js b/static/js/columns-BR0-Komp.js similarity index 81% rename from static/js/columns-BVO3RVsJ.js rename to static/js/columns-BR0-Komp.js index df8a818093..bba6d4d02a 100644 --- a/static/js/columns-BVO3RVsJ.js +++ b/static/js/columns-BR0-Komp.js @@ -1 +1 @@ -import{a as i,r as u,J as c}from"./index-AFhnwzwZ.js";import{b as r}from"./data-BCF1-ihA.js";function g(t){const a=i(""),l=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date",minWidth:120},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=u({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,size:"small"});function n({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"var(--el-fill-color-light)":""}}function s(e){a.value=e.name,t.value.blur(),c(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:l,pagination:o,selectValue:a,tableDataEdit:r,rowStyle:n,onRowClick:s}}export{g as useColumns}; +import{a as i,r as u,J as c}from"./index-DqH6biyS.js";import{b as r}from"./data-BAnvZeM5.js";function g(t){const a=i(""),l=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date",minWidth:120},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=u({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,size:"small"});function n({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"var(--el-fill-color-light)":""}}function s(e){a.value=e.name,t.value.blur(),c(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:l,pagination:o,selectValue:a,tableDataEdit:r,rowStyle:n,onRowClick:s}}export{g as useColumns}; diff --git a/static/js/columns-DK0OQsND.js b/static/js/columns-BWE-vVXR.js similarity index 96% rename from static/js/columns-DK0OQsND.js rename to static/js/columns-BWE-vVXR.js index d7c2938e2f..c5614d6aea 100644 --- a/static/js/columns-DK0OQsND.js +++ b/static/js/columns-BWE-vVXR.js @@ -1 +1 @@ -var M=Object.defineProperty,y=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var v=(n,e,o)=>e in n?M(n,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[e]=o,m=(n,e)=>{for(var o in e||(e={}))k.call(e,o)&&v(n,o,e[o]);if(c)for(var o of c(e))D.call(e,o)&&v(n,o,e[o]);return n},f=(n,e)=>y(n,V(e));import{a as u,p,i as t,F as E,e as r,B as F,a0 as S}from"./index-AFhnwzwZ.js";import{a as j}from"./data-Dd4sCrbk.js";import{d as B}from"./edit-pen-Ci7W0xNM.js";import{d as I}from"./check-CIQVCvCT.js";function $(){const n=u({}),e=u(-1),o=u(j),s=p(()=>l=>{var a;return(a=n.value[l])==null?void 0:a.editing}),i=p(()=>(l,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(l)&&["scale-150","text-red-500"]]),d=[{label:"姓名(可修改)",prop:"name",cellRenderer:({row:l,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>e.value=a,onMouseleave:()=>g(a)},[s.value(a)?t(E,null,[t(r("el-input"),{modelValue:l.name,"onUpdate:modelValue":C=>l.name=C},null),t(r("iconify-icon-offline"),{icon:I,class:i.value(a),onClick:()=>h(a)},null)]):t("p",null,[l.name]),F(t(r("iconify-icon-offline"),{icon:B,class:i.value(a,!0),onClick:()=>b(l,a)},null),[[S,e.value===a&&!s.value(a)]])])},{label:"地址",prop:"address"}];function g(l){s.value[l]?e.value=l:e.value=-1}function b(l,a){n.value[a]=Object.assign(f(m({},l),{editing:!0}))}function h(l){n.value[l].editing=!1}return{columns:d,dataList:o}}export{$ as useColumns}; +var M=Object.defineProperty,y=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var v=(n,e,o)=>e in n?M(n,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[e]=o,m=(n,e)=>{for(var o in e||(e={}))k.call(e,o)&&v(n,o,e[o]);if(c)for(var o of c(e))D.call(e,o)&&v(n,o,e[o]);return n},f=(n,e)=>y(n,V(e));import{a as u,p,i as t,F as E,e as r,B as F,a0 as S}from"./index-DqH6biyS.js";import{a as j}from"./data-Dd4sCrbk.js";import{d as B}from"./edit-pen-Ci7W0xNM.js";import{d as I}from"./check-CIQVCvCT.js";function $(){const n=u({}),e=u(-1),o=u(j),s=p(()=>l=>{var a;return(a=n.value[l])==null?void 0:a.editing}),i=p(()=>(l,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(l)&&["scale-150","text-red-500"]]),d=[{label:"姓名(可修改)",prop:"name",cellRenderer:({row:l,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>e.value=a,onMouseleave:()=>g(a)},[s.value(a)?t(E,null,[t(r("el-input"),{modelValue:l.name,"onUpdate:modelValue":C=>l.name=C},null),t(r("iconify-icon-offline"),{icon:I,class:i.value(a),onClick:()=>h(a)},null)]):t("p",null,[l.name]),F(t(r("iconify-icon-offline"),{icon:B,class:i.value(a,!0),onClick:()=>b(l,a)},null),[[S,e.value===a&&!s.value(a)]])])},{label:"地址",prop:"address"}];function g(l){s.value[l]?e.value=l:e.value=-1}function b(l,a){n.value[a]=Object.assign(f(m({},l),{editing:!0}))}function h(l){n.value[l].editing=!1}return{columns:d,dataList:o}}export{$ as useColumns}; diff --git a/static/js/columns-D6eQDAkz.js b/static/js/columns-BvShHYbm.js similarity index 74% rename from static/js/columns-D6eQDAkz.js rename to static/js/columns-BvShHYbm.js index 36aae979d6..5bc7b365bd 100644 --- a/static/js/columns-D6eQDAkz.js +++ b/static/js/columns-BvShHYbm.js @@ -1 +1 @@ -import{b as r}from"./data-BCF1-ihA.js";import{a as s,a6 as l,m as p,aP as n,x as b}from"./index-AFhnwzwZ.js";function u(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=b(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:240,height:90})})}),{columns:t,dataList:e}}export{u as useColumns}; +import{b as r}from"./data-BAnvZeM5.js";import{a as s,a6 as l,m as p,aP as n,x as b}from"./index-DqH6biyS.js";function u(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=b(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:240,height:90})})}),{columns:t,dataList:e}}export{u as useColumns}; diff --git a/static/js/columns-Bq1kzona.js b/static/js/columns-ByNo9D3g.js similarity index 85% rename from static/js/columns-Bq1kzona.js rename to static/js/columns-ByNo9D3g.js index c293b54b9e..1708f06239 100644 --- a/static/js/columns-Bq1kzona.js +++ b/static/js/columns-ByNo9D3g.js @@ -1 +1 @@ -var d=Object.defineProperty;var r=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var t=(e,a,o)=>a in e?d(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,n=(e,a)=>{for(var o in a||(a={}))u.call(a,o)&&t(e,o,a[o]);if(r)for(var o of r(a))m.call(a,o)&&t(e,o,a[o]);return e};import{t as b}from"./data-BCF1-ihA.js";import{a as l,m as h,a6 as c}from"./index-AFhnwzwZ.js";function v(){const e=l([]),a=l([{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}]);function o(){a.value=[{label:"日期"+Math.round(Math.random()*99),prop:"date"},{label:Math.round(Math.random()*99)+"姓名",prop:"name"},{label:"地址",prop:"address"}]}return h(()=>{c(b,!0).forEach((p,s)=>{e.value.push(n({id:s},p))})}),{columns:a,dataList:e,onChange:o}}export{v as useColumns}; +var d=Object.defineProperty;var r=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var t=(e,a,o)=>a in e?d(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,n=(e,a)=>{for(var o in a||(a={}))u.call(a,o)&&t(e,o,a[o]);if(r)for(var o of r(a))m.call(a,o)&&t(e,o,a[o]);return e};import{t as b}from"./data-BAnvZeM5.js";import{a as l,m as h,a6 as c}from"./index-DqH6biyS.js";function v(){const e=l([]),a=l([{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}]);function o(){a.value=[{label:"日期"+Math.round(Math.random()*99),prop:"date"},{label:Math.round(Math.random()*99)+"姓名",prop:"name"},{label:"地址",prop:"address"}]}return h(()=>{c(b,!0).forEach((p,s)=>{e.value.push(n({id:s},p))})}),{columns:a,dataList:e,onChange:o}}export{v as useColumns}; diff --git a/static/js/columns-W6b6dVhJ.js b/static/js/columns-CgHMBxUf.js similarity index 88% rename from static/js/columns-W6b6dVhJ.js rename to static/js/columns-CgHMBxUf.js index 1254314988..57cbbf5abc 100644 --- a/static/js/columns-W6b6dVhJ.js +++ b/static/js/columns-CgHMBxUf.js @@ -1 +1 @@ -import{i as l,e as n,F as s,h as a,J as r}from"./index-AFhnwzwZ.js";import{t as c}from"./data-Ym5jS6hg.js";function u(){const i=[{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(s,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(s,null,[l(n("el-button"),{size:"small",onClick:()=>o(e+1,t)},{default:()=>[a("Edit")]}),l(n("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[a("Delete")]})])}],o=(e,t)=>{r(`您修改了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:i,tableData:c}}export{u as useColumns}; +import{i as l,e as n,F as s,h as a,J as r}from"./index-DqH6biyS.js";import{t as c}from"./data-B0U4WEbi.js";function u(){const i=[{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(s,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(s,null,[l(n("el-button"),{size:"small",onClick:()=>o(e+1,t)},{default:()=>[a("Edit")]}),l(n("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[a("Delete")]})])}],o=(e,t)=>{r(`您修改了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:i,tableData:c}}export{u as useColumns}; diff --git a/static/js/columns-Bt7TvYLZ.js b/static/js/columns-CrHQyfdd.js similarity index 95% rename from static/js/columns-Bt7TvYLZ.js rename to static/js/columns-CrHQyfdd.js index dd080d5a26..9810f45ddb 100644 --- a/static/js/columns-Bt7TvYLZ.js +++ b/static/js/columns-CrHQyfdd.js @@ -1 +1 @@ -import{d as i}from"./arrow-right-s-line-CxPb13eK.js";import{i as l,e,h as o}from"./index-AFhnwzwZ.js";const r={width:24,height:24,body:''};function t(){return{columns:[{cellRenderer:()=>l("div",{class:"w-full"},[l("div",{class:"flex items-center"},[l(e("iconify-icon-offline"),{icon:r,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:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])]),l("br",null,null),l("div",{class:"flex items-center"},[l(e("iconify-icon-offline"),{icon:r,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:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])])}]}}export{t as useColumns}; +import{d as i}from"./arrow-right-s-line-CxPb13eK.js";import{i as l,e,h as o}from"./index-DqH6biyS.js";const r={width:24,height:24,body:''};function t(){return{columns:[{cellRenderer:()=>l("div",{class:"w-full"},[l("div",{class:"flex items-center"},[l(e("iconify-icon-offline"),{icon:r,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:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])]),l("br",null,null),l("div",{class:"flex items-center"},[l(e("iconify-icon-offline"),{icon:r,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:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])])}]}}export{t as useColumns}; diff --git a/static/js/columns-CivT3P5a.js b/static/js/columns-D6cChJAy.js similarity index 92% rename from static/js/columns-CivT3P5a.js rename to static/js/columns-D6cChJAy.js index b9301b1890..539d4d9788 100644 --- a/static/js/columns-CivT3P5a.js +++ b/static/js/columns-D6cChJAy.js @@ -1,4 +1,4 @@ -var x=Object.defineProperty;var u=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var c=(t,e,a)=>e in t?x(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))A.call(e,a)&&c(t,a,e[a]);if(u)for(var a of u(e))S.call(e,a)&&c(t,a,e[a]);return t};import{t as w}from"./data-BCF1-ihA.js";import{a as l,r as f,N as y,m as L,aP as d,a6 as k}from"./index-AFhnwzwZ.js";function N(){const t=l([]),e=l(!0),a=l("no"),o=l("nohide"),g=l("default"),s=l("right"),p=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>a.value==="no"},{label:"日期",prop:"date",hide:()=>o.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>o.value==="hideName"},{label:"地址",prop:"address",hide:()=>o.value==="hideAddress"}],i=f({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,size:"default"}),r=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` +var x=Object.defineProperty;var u=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var c=(t,e,a)=>e in t?x(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))A.call(e,a)&&c(t,a,e[a]);if(u)for(var a of u(e))S.call(e,a)&&c(t,a,e[a]);return t};import{t as w}from"./data-BAnvZeM5.js";import{a as l,r as f,N as y,m as L,aP as d,a6 as k}from"./index-DqH6biyS.js";function N(){const t=l([]),e=l(!0),a=l("no"),o=l("nohide"),g=l("default"),s=l("right"),p=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>a.value==="no"},{label:"日期",prop:"date",hide:()=>o.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>o.value==="hideName"},{label:"地址",prop:"address",hide:()=>o.value==="hideAddress"}],i=f({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,size:"default"}),r=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` {o.preventDefault(),d(()=>{const a=document.querySelector(".el-table__body-wrapper tbody");c.create(a,{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})=>r("div",{class:"flex items-center"},[r(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:a=>n(a)},null),r("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{y as useColumns}; +import{S as c}from"./sortable.esm-Br3T5NCo.js";import{a as i,a6 as p,i as r,e as u,y as d}from"./index-DqH6biyS.js";import{a as m}from"./data-BAnvZeM5.js";function y(){const e=i(p(m,!0)),n=o=>{o.preventDefault(),d(()=>{const a=document.querySelector(".el-table__body-wrapper tbody");c.create(a,{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})=>r("div",{class:"flex items-center"},[r(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:a=>n(a)},null),r("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{y as useColumns}; diff --git a/static/js/columns-4XfjhWdI.js b/static/js/columns-DPyYTQWT.js similarity index 86% rename from static/js/columns-4XfjhWdI.js rename to static/js/columns-DPyYTQWT.js index 28b5180db1..7a66f62f86 100644 --- a/static/js/columns-4XfjhWdI.js +++ b/static/js/columns-DPyYTQWT.js @@ -1,4 +1,4 @@ -var v=Object.defineProperty;var s=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var l=(e,t,a)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))b.call(t,a)&&l(e,a,t[a]);if(s)for(var a of s(t))C.call(t,a)&&l(e,a,t[a]);return e};import{t as x}from"./data-BCF1-ihA.js";import{a as u,r as f,m as z,aP as p,a6 as L}from"./index-AFhnwzwZ.js";function A(){const e=u([]),t=u(!0),a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=f({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,size:"default"}),r=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` +var v=Object.defineProperty;var s=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var l=(e,t,a)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))b.call(t,a)&&l(e,a,t[a]);if(s)for(var a of s(t))C.call(t,a)&&l(e,a,t[a]);return e};import{t as x}from"./data-BAnvZeM5.js";import{a as u,r as f,m as z,aP as p,a6 as L}from"./index-DqH6biyS.js";function A(){const e=u([]),t=u(!0),a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=f({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,size:"default"}),r=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:` {var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-input"),{modelValue:l.name,"onUpdate:modelValue":i=>l.name=i},null):t("p",null,[l.name])])}},{label:"性别",prop:"sex",cellRenderer:({row:l,index:o})=>{var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-switch"),{modelValue:l.sex,"onUpdate:modelValue":i=>l.sex=i,"inline-prompt":!0,"active-value":0,"inactive-value":1,"active-text":"男","inactive-text":"女"},null):t("p",null,[l.sex===0?"男":"女"])])}},{label:"爱好",prop:"hobby",cellRenderer:({row:l,index:o})=>{var i;let n;return t(p,null,[(i=e.value[o])!=null&&i.editable?t(d("el-select"),{modelValue:l.hobby,"onUpdate:modelValue":r=>l.hobby=r,clearable:!0,placeholder:"请选择爱好"},k(n=v.map(r=>t(d("el-option"),{key:r.value,label:r.label,value:r.value},null)))?n:{default:()=>[n]}):t(d("el-tag"),{type:"primary"},{default:()=>{var r;return[(r=v.filter(Y=>Y.value==l.hobby)[0])==null?void 0:r.label]}})])}},{label:"日期",prop:"date",cellRenderer:({row:l,index:o})=>{var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-date-picker"),{modelValue:l.date,"onUpdate:modelValue":i=>l.date=i,type:"date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",placeholder:"请选择日期"},null):t("p",null,[l.date])])},minWidth:110},{label:"操作",fixed:"right",slot:"operation"}];function y(l,o){e.value[o]=Object.assign(m(s({},l),{editable:!0}))}function V(l){e.value[l].editable=!1}function h(l){e.value[l].editable=!1,a.value[l]=R(e.value[l],"editable")}return{editMap:e,columns:u,dataList:a,onEdit:y,onSave:V,onCancel:h}}export{B as useColumns}; +var g=Object.defineProperty,x=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var b=(e,a,u)=>a in e?g(e,a,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[a]=u,s=(e,a)=>{for(var u in a||(a={}))F.call(a,u)&&b(e,u,a[u]);if(c)for(var u of c(a))M.call(a,u)&&b(e,u,a[u]);return e},m=(e,a)=>x(e,D(a));import{t as j,o as v}from"./data-Dd4sCrbk.js";import{a as f,a6 as E,i as t,e as d,F as p,g4 as R,aF as U}from"./index-DqH6biyS.js";function k(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!U(e)}function B(){const e=f({}),a=f(E(j,!0)),u=[{label:"姓名",prop:"name",cellRenderer:({row:l,index:o})=>{var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-input"),{modelValue:l.name,"onUpdate:modelValue":i=>l.name=i},null):t("p",null,[l.name])])}},{label:"性别",prop:"sex",cellRenderer:({row:l,index:o})=>{var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-switch"),{modelValue:l.sex,"onUpdate:modelValue":i=>l.sex=i,"inline-prompt":!0,"active-value":0,"inactive-value":1,"active-text":"男","inactive-text":"女"},null):t("p",null,[l.sex===0?"男":"女"])])}},{label:"爱好",prop:"hobby",cellRenderer:({row:l,index:o})=>{var i;let n;return t(p,null,[(i=e.value[o])!=null&&i.editable?t(d("el-select"),{modelValue:l.hobby,"onUpdate:modelValue":r=>l.hobby=r,clearable:!0,placeholder:"请选择爱好"},k(n=v.map(r=>t(d("el-option"),{key:r.value,label:r.label,value:r.value},null)))?n:{default:()=>[n]}):t(d("el-tag"),{type:"primary"},{default:()=>{var r;return[(r=v.filter(Y=>Y.value==l.hobby)[0])==null?void 0:r.label]}})])}},{label:"日期",prop:"date",cellRenderer:({row:l,index:o})=>{var n;return t(p,null,[(n=e.value[o])!=null&&n.editable?t(d("el-date-picker"),{modelValue:l.date,"onUpdate:modelValue":i=>l.date=i,type:"date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",placeholder:"请选择日期"},null):t("p",null,[l.date])])},minWidth:110},{label:"操作",fixed:"right",slot:"operation"}];function y(l,o){e.value[o]=Object.assign(m(s({},l),{editable:!0}))}function V(l){e.value[l].editable=!1}function h(l){e.value[l].editable=!1,a.value[l]=R(e.value[l],"editable")}return{editMap:e,columns:u,dataList:a,onEdit:y,onSave:V,onCancel:h}}export{B as useColumns}; diff --git a/static/js/columns-DfnzjBq4.js b/static/js/columns-Dh4byXvk.js similarity index 85% rename from static/js/columns-DfnzjBq4.js rename to static/js/columns-Dh4byXvk.js index b44b2089f4..aa6d813a0f 100644 --- a/static/js/columns-DfnzjBq4.js +++ b/static/js/columns-Dh4byXvk.js @@ -1 +1 @@ -import{a as n}from"./data-BCF1-ihA.js";import{a as i,a6 as m,at as p,p as u,au as h,bg as f,J as d}from"./index-AFhnwzwZ.js";function v(){const a=i(m(n,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=p(),o=u(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:r}=h(f(`PieChartRef${e}`),{theme:o});r({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:c}})=>{d(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${c}`,{type:"success"})}})}),{columns:t,dataList:a}}export{v as useColumns}; +import{a as n}from"./data-BAnvZeM5.js";import{a as i,a6 as m,at as p,p as u,au as h,bg as f,J as d}from"./index-DqH6biyS.js";function v(){const a=i(m(n,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=p(),o=u(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:r}=h(f(`PieChartRef${e}`),{theme:o});r({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:c}})=>{d(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${c}`,{type:"success"})}})}),{columns:t,dataList:a}}export{v as useColumns}; diff --git a/static/js/columns-D5XW7oQh.js b/static/js/columns-DjJFz-0d.js similarity index 92% rename from static/js/columns-D5XW7oQh.js rename to static/js/columns-DjJFz-0d.js index eb3812e199..66ef65e304 100644 --- a/static/js/columns-D5XW7oQh.js +++ b/static/js/columns-DjJFz-0d.js @@ -1 +1 @@ -var d=(v,p,o)=>new Promise((e,i)=>{var n=t=>{try{u(o.next(t))}catch(c){i(c)}},r=t=>{try{u(o.throw(t))}catch(c){i(c)}},u=t=>t.done?e(t.value):Promise.resolve(t.value).then(n,r);u((o=o.apply(v,p)).next())});import{a as f,ad as w,r as b,n as C,y as E,aZ as h,J as R}from"./index-AFhnwzwZ.js";import{b as V}from"./data-BCF1-ihA.js";function J(v,p,o){const e=f(V),i=w(e.value),n=f([1,3,4]),r=b({sexValue:"",searchDate:""}),u=[{value:0,label:"男"},{value:1,label:"女"}],t=[{type:"selection",reserveSelection:!0,align:"left"},{label:"ID",prop:"id",width:50},{label:"姓名",prop:"name"},{label:"性别",prop:"sex"},{label:"地址",prop:"address"},{label:"日期",prop:"date",minWidth:120}],c=b({pageSize:5,currentPage:1,layout:"prev, pager, next",total:e.value.length,background:!0,size:"small"}),m=a=>{const l=[];a.forEach(s=>{l.push({label:s.name,id:s.id})}),n.value=l},x=()=>{if(e.value=i,!h(r.sexValue)){let a=u.map(l=>l.value===Number(r.sexValue)&&l.label).filter(Boolean)[0];e.value=e.value.filter(l=>l.sex===a)}h(r.searchDate)||(e.value=e.value.filter(a=>a.date===r.searchDate)),c.total=e.value.length},S=()=>{p.value.resetFields(),g(),e.value=i,c.total=e.value.length},D=({id:a})=>{var s;const{toggleRowSelection:l}=o.value.getTableRef();l((s=e.value.filter(T=>T.id==a))==null?void 0:s[0],!1)},g=()=>{const{clearSelection:a}=o.value.getTableRef();a()},y=()=>{v.value.blur(),R(`当前选中的数据为:${JSON.stringify(n.value)}`,{type:"success"})};return C(n,()=>d(this,null,function*(){yield E();const{toggleRowSelection:a}=o.value.getTableRef();n.value.forEach(l=>{e.value.forEach(s=>{s.id===l&&a(s)})})}),{immediate:!0}),{searchForm:r,sexOptions:u,columns:t,pagination:c,selectValue:n,tableData:e,onSure:y,onClear:g,onReset:S,onSearch:x,removeTag:D,handleSelectionChange:m}}export{J as useColumns}; +var d=(v,p,o)=>new Promise((e,i)=>{var n=t=>{try{u(o.next(t))}catch(c){i(c)}},r=t=>{try{u(o.throw(t))}catch(c){i(c)}},u=t=>t.done?e(t.value):Promise.resolve(t.value).then(n,r);u((o=o.apply(v,p)).next())});import{a as f,ad as w,r as b,n as C,y as E,aZ as h,J as R}from"./index-DqH6biyS.js";import{b as V}from"./data-BAnvZeM5.js";function J(v,p,o){const e=f(V),i=w(e.value),n=f([1,3,4]),r=b({sexValue:"",searchDate:""}),u=[{value:0,label:"男"},{value:1,label:"女"}],t=[{type:"selection",reserveSelection:!0,align:"left"},{label:"ID",prop:"id",width:50},{label:"姓名",prop:"name"},{label:"性别",prop:"sex"},{label:"地址",prop:"address"},{label:"日期",prop:"date",minWidth:120}],c=b({pageSize:5,currentPage:1,layout:"prev, pager, next",total:e.value.length,background:!0,size:"small"}),m=a=>{const l=[];a.forEach(s=>{l.push({label:s.name,id:s.id})}),n.value=l},x=()=>{if(e.value=i,!h(r.sexValue)){let a=u.map(l=>l.value===Number(r.sexValue)&&l.label).filter(Boolean)[0];e.value=e.value.filter(l=>l.sex===a)}h(r.searchDate)||(e.value=e.value.filter(a=>a.date===r.searchDate)),c.total=e.value.length},S=()=>{p.value.resetFields(),g(),e.value=i,c.total=e.value.length},D=({id:a})=>{var s;const{toggleRowSelection:l}=o.value.getTableRef();l((s=e.value.filter(T=>T.id==a))==null?void 0:s[0],!1)},g=()=>{const{clearSelection:a}=o.value.getTableRef();a()},y=()=>{v.value.blur(),R(`当前选中的数据为:${JSON.stringify(n.value)}`,{type:"success"})};return C(n,()=>d(this,null,function*(){yield E();const{toggleRowSelection:a}=o.value.getTableRef();n.value.forEach(l=>{e.value.forEach(s=>{s.id===l&&a(s)})})}),{immediate:!0}),{searchForm:r,sexOptions:u,columns:t,pagination:c,selectValue:n,tableData:e,onSure:y,onClear:g,onReset:S,onSearch:x,removeTag:D,handleSelectionChange:m}}export{J as useColumns}; diff --git a/static/js/columns-mmW5Qp--.js b/static/js/columns-Djzxeu8D.js similarity index 97% rename from static/js/columns-mmW5Qp--.js rename to static/js/columns-Djzxeu8D.js index 479dd695fd..9618b85a77 100644 --- a/static/js/columns-mmW5Qp--.js +++ b/static/js/columns-Djzxeu8D.js @@ -1 +1 @@ -import{i as e,e as i,h as r,aF as o}from"./index-AFhnwzwZ.js";var p={pkg:{name:"vue-pure-admin",version:"5.8.0",engines:{node:"^18.18.0 || ^20.9.0 || >=21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-10-19 01:37:47"};function a(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function d(){const{pkg:t,lastBuildTime:n}=p,{version:s,engines:l}=t;return{columns:[{label:"当前版本",minWidth:100,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},a(s)?s:{default:()=>[s]})},{label:"最后编译时间",minWidth:120,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},a(n)?n:{default:()=>[n]})},{label:"推荐 node 版本",minWidth:140,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},{default:()=>[l.node]})},{label:"推荐 pnpm 版本",minWidth:140,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},{default:()=>[l.pnpm]})},{label:"完整版代码地址",minWidth:140,className:"pure-version",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("完整版代码链接")])])},{label:"精简版代码地址",minWidth:140,className:"pure-version",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("精简版代码链接")])])},{label:"文档地址",minWidth:100,className:"pure-version",cellRenderer:()=>e("a",{href:"https://pure-admin.github.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("文档链接")])])},{label:"预览地址",minWidth:100,className:"pure-version",cellRenderer:()=>e("a",{href:"https://pure-admin.github.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("预览链接")])])}]}}export{d as useColumns}; +import{i as e,e as i,h as r,aF as o}from"./index-DqH6biyS.js";var p={pkg:{name:"vue-pure-admin",version:"5.8.0",engines:{node:"^18.18.0 || ^20.9.0 || >=21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-11-24 05:59:58"};function a(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function d(){const{pkg:t,lastBuildTime:n}=p,{version:s,engines:l}=t;return{columns:[{label:"当前版本",minWidth:100,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},a(s)?s:{default:()=>[s]})},{label:"最后编译时间",minWidth:120,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},a(n)?n:{default:()=>[n]})},{label:"推荐 node 版本",minWidth:140,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},{default:()=>[l.node]})},{label:"推荐 pnpm 版本",minWidth:140,cellRenderer:()=>e(i("el-tag"),{size:"large",class:"!text-base"},{default:()=>[l.pnpm]})},{label:"完整版代码地址",minWidth:140,className:"pure-version",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("完整版代码链接")])])},{label:"精简版代码地址",minWidth:140,className:"pure-version",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("精简版代码链接")])])},{label:"文档地址",minWidth:100,className:"pure-version",cellRenderer:()=>e("a",{href:"https://pure-admin.github.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("文档链接")])])},{label:"预览地址",minWidth:100,className:"pure-version",cellRenderer:()=>e("a",{href:"https://pure-admin.github.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[r("预览链接")])])}]}}export{d as useColumns}; diff --git a/static/js/columns-N69ho3Xb.js b/static/js/columns-Du5B4AnY.js similarity index 99% rename from static/js/columns-N69ho3Xb.js rename to static/js/columns-Du5B4AnY.js index 9bfe5f7c8e..dc8b003cfd 100644 --- a/static/js/columns-N69ho3Xb.js +++ b/static/js/columns-Du5B4AnY.js @@ -1,4 +1,4 @@ -var ie=Object.defineProperty;var j=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var D=(e,a,n)=>a in e?ie(e,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[a]=n,q=(e,a)=>{for(var n in a||(a={}))_e.call(a,n)&&D(e,n,a[n]);if(j)for(var n of j(a))oe.call(a,n)&&D(e,n,a[n]);return e};var z=(e,a,n)=>new Promise((s,u)=>{var y=t=>{try{m(n.next(t))}catch(b){u(b)}},_=t=>{try{m(n.throw(t))}catch(b){u(b)}},m=t=>t.done?s(t.value):Promise.resolve(t.value).then(y,_);m((n=n.apply(e,a)).next())});import{a as ue}from"./data-BCF1-ihA.js";import{d as se,a as f,p as I,n as K,y as O,o as re,f as l,b as P,k as c,F as L,l as V,a3 as J,g2 as U,q as G,B as w,a0 as C,v as W,U as Q,j as p,g as M,t as F,s as E,T as le,i as de,g3 as me,a6 as ce,J as ve}from"./index-AFhnwzwZ.js";const X=function(e){let a=Array.isArray(e)?[]:{};if(e&&typeof e=="object")for(let n in e)e.hasOwnProperty(n)&&(e[n]&&typeof e[n]=="object"?a[n]=X(e[n]):a[n]=e[n]);return a};var g=se({name:"MouseMenu",props:{appendToBody:{type:Boolean,default:!0},menuWidth:{type:Number,default:200},menuList:{type:Array,required:!0},menuHiddenFn:{type:Function},hasIcon:{type:Boolean,default:!1},iconType:{type:String,default:"font-icon"},menuWrapperCss:Object,menuItemCss:Object,el:{type:Object,required:!0},params:{type:[String,Number,Array,Object]},useLongPressInMobile:Boolean,longPressDuration:Number,longPressPreventDefault:[Function,Boolean],injectCloseListener:{type:Boolean,default:!0},customClass:String,disabled:{type:Function}},emits:["open","close"],expose:["show","close","showMenu"],setup(e,{emit:a}){const n=f(0),s=f(0),u=f(!1),y=f(0),_=f(0),m=f(!1),t=f(null),b=f([]),B=I(()=>e.menuList.some(o=>o.children&&o.children.length>0)),T=f(10),k=f();K(m,o=>z(this,null,function*(){var r,d;if(o){yield O();let v=k.value;e.menuWrapperCss&&Object.keys(e.menuWrapperCss).map(h=>{v.style.setProperty(`--menu-${h}`,e.menuWrapperCss&&e.menuWrapperCss[h])}),e.menuItemCss&&Object.keys(e.menuItemCss).map(h=>{v.style.setProperty(`--menu-item-${h}`,e.menuItemCss&&e.menuItemCss[h])});let i=(d=(r=e.menuItemCss)==null?void 0:r.arrowSize)==null?void 0:d.match(/\d+/);i?T.value=~~i[0]||10:T.value=10,v.style.setProperty("--menu-item-arrowRealSize",T.value/2+"px"),a("open",e.params,t.value,e.el)}else a("close",e.params,t.value,e.el)}));const Y=(o,r)=>{o.disabled||o.fn&&typeof o.fn=="function"&&o.fn(e.params,t.value,e.el,r)===!1||(m.value=!1)},Z=(o,r)=>{if(!o.disabled){if(o.fn&&typeof o.fn=="function"&&!o.disabled){if(o.fn(e.params,t.value,e.el,r)===!1)return;u.value=!1}m.value=!1}},ee=(o,r)=>z(this,null,function*(){if(r.children&&!r.disabled){u.value=!0,yield O();const d=o.currentTarget;if(!d)return;const{offsetWidth:v}=d,i=d.querySelector(".__menu__sub__wrapper");if(!i)return;const{offsetWidth:h,offsetHeight:S}=i,{innerWidth:ae,innerHeight:A}=window,{top:R,left:H}=d.getBoundingClientRect();H+v+h>ae-5?n.value=H-h+5:n.value=H+v,R+S>A-5?s.value=A-S:s.value=R+5}}),N=(o,r,d,v)=>o.map(i=>(i.children&&(i.children=N(i.children,r,d,v)),i.label&&typeof i.label=="function"&&(i.label=i.label(v,r,d)),i.tips&&typeof i.tips=="function"&&(i.tips=i.tips(v,r,d)),i.icon&&typeof i.icon=="function"&&(i.icon=i.icon(v,r,d)),i.hidden&&typeof i.hidden=="function"&&(i.hidden=i.hidden(v,r,d)),i.disabled&&typeof i.disabled=="function"&&(i.disabled=i.disabled(v,r,d)),i)),ne=(o=0,r=0)=>z(this,null,function*(){if(t.value=document.elementFromPoint(o-1,r-1),e.menuHiddenFn?m.value=!e.menuHiddenFn(e.params,t.value,e.el):m.value=!0,!m.value)return;b.value=X(e.menuList),b.value=N(b.value,t.value,e.el,e.params),yield O();const{innerWidth:d,innerHeight:v}=window,h=k.value.offsetHeight,S=e.menuWidth||200;_.value=o+S+1>d?d-S-5:o+1,y.value=r+h+1>v?v-h-5:r+1}),te=()=>{m.value=!1},x=I(()=>e.useLongPressInMobile&&"ontouchstart"in window?"touchstart":"mousedown"),$=o=>{k.value&&!k.value.contains(o.currentTarget)&&(m.value=!1,document.oncontextmenu=null)};return K(()=>e.injectCloseListener,o=>{o?document.addEventListener(x.value,$):document.removeEventListener(x.value,$)},{immediate:!0}),re(()=>{document.removeEventListener(x.value,$)}),{subLeft:n,subTop:s,hoverFlag:u,menuTop:y,menuLeft:_,showMenu:m,clickDomEl:t,calcMenuList:b,arrowSize:T,hasSubMenu:B,MenuWrapper:k,handleMenuItemClick:Y,handleSubMenuItemClick:Z,handleMenuMouseEnter:ee,show:ne,close:te,clickEventKey:x}}});const be=["onMouseenter"],he={key:0,class:"__menu__item-icon"},pe=["innerHTML"],fe={class:"__menu__item-label"},ye={class:"__menu__item-tips"},ge={class:"__menu__item-arrow-after"},we={key:0,class:"__menu__item-icon"},Ce=["innerHTML"],ke={class:"__menu__sub__item-label"},Se={class:"__menu__sub__item-tips"};function Me(e,a,n,s,u,y){return l(),P(le,{to:"body",disabled:!e.appendToBody},[e.showMenu?(l(),c("div",{key:0,ref:"MenuWrapper",class:W(["__menu__wrapper",e.customClass]),style:E({width:`${e.menuWidth}px`,top:`${e.menuTop}px`,left:`${e.menuLeft}px`})},[(l(!0),c(L,null,V(e.calcMenuList,(_,m)=>(l(),c(L,null,[!_.hidden&&!_.line?(l(),c("div",J({key:m,class:["__menu__item",_.disabled&&"disabled",_.customClass]},{[U(e.clickEventKey)]:G(t=>e.handleMenuItemClick(_,t),["stop"])},{onMouseenter:t=>e.handleMenuMouseEnter(t,_)}),[e.hasIcon?(l(),c("div",he,[e.iconType==="font-icon"?w((l(),c("i",{key:0,class:W(_.icon)},null,2)),[[C,_.icon]]):e.iconType==="svg-icon"?w((l(),c("div",{key:1,class:"__menu__item-icon-svg",innerHTML:_.icon},null,8,pe)),[[C,_.icon]]):e.iconType==="vnode-icon"?(l(),P(Q(_.icon),{key:2})):p("v-if",!0)])):p("v-if",!0),M("span",fe,F(_.label),1),M("span",ye,F(_.tips||""),1),e.hasSubMenu?(l(),c("span",{key:1,class:W(["__menu__item-arrow",{show:e.hasSubMenu&&_.children}]),style:E({width:e.arrowSize+"px",height:e.arrowSize+"px"})},[w(M("span",ge,null,512),[[C,e.hasSubMenu&&_.children]])],6)):p("v-if",!0),_.children&&_.children.length>0?w((l(),c("div",{key:2,class:"__menu__sub__wrapper",style:E({width:`${e.menuWidth}px`,top:`${e.subTop}px`,left:`${e.subLeft}px`})},[(l(!0),c(L,null,V(_.children,(t,b)=>(l(),c(L,null,[!t.hidden&&!t.line?(l(),c("div",J({key:b,class:["__menu__sub__item",t.disabled&&"disabled",t.customClass]},{[U(e.clickEventKey)]:G(B=>e.handleSubMenuItemClick(t,B),["stop"])}),[e.hasIcon?(l(),c("div",we,[e.iconType==="font-icon"?w((l(),c("i",{key:0,class:W(t.icon)},null,2)),[[C,t.icon]]):e.iconType==="svg-icon"?w((l(),c("div",{key:1,class:"__menu__item-icon-svg",innerHTML:t.icon},null,8,Ce)),[[C,t.icon]]):e.iconType==="vnode-icon"?(l(),P(Q(t.icon),{key:2})):p("v-if",!0)])):p("v-if",!0),M("span",ke,F(t.label),1),M("span",Se,F(t.tips||""),1)],16)):p("v-if",!0),t.line?(l(),c("div",{key:b,class:"__menu__line"})):p("v-if",!0)],64))),256))],4)),[[C,e.hoverFlag]]):p("v-if",!0)],16,be)):p("v-if",!0),!_.hidden&&_.line?(l(),c("div",{key:m,class:"__menu__line"})):p("v-if",!0)],64))),256))],6)):p("v-if",!0)],8,["disabled"])}function Te(e,a){a===void 0&&(a={});var n=a.insertAt;if(typeof document!="undefined"){var s=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.type="text/css",n==="top"&&s.firstChild?s.insertBefore(u,s.firstChild):s.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e))}}var xe=`.__menu__mask[data-v-3d21bc0a] { +var ie=Object.defineProperty;var j=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var D=(e,a,n)=>a in e?ie(e,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[a]=n,q=(e,a)=>{for(var n in a||(a={}))_e.call(a,n)&&D(e,n,a[n]);if(j)for(var n of j(a))oe.call(a,n)&&D(e,n,a[n]);return e};var z=(e,a,n)=>new Promise((s,u)=>{var y=t=>{try{m(n.next(t))}catch(b){u(b)}},_=t=>{try{m(n.throw(t))}catch(b){u(b)}},m=t=>t.done?s(t.value):Promise.resolve(t.value).then(y,_);m((n=n.apply(e,a)).next())});import{a as ue}from"./data-BAnvZeM5.js";import{d as se,a as f,p as I,n as K,y as O,o as re,f as l,b as P,k as c,F as L,l as V,a3 as J,g2 as U,q as G,B as w,a0 as C,v as W,U as Q,j as p,g as M,t as F,s as E,T as le,i as de,g3 as me,a6 as ce,J as ve}from"./index-DqH6biyS.js";const X=function(e){let a=Array.isArray(e)?[]:{};if(e&&typeof e=="object")for(let n in e)e.hasOwnProperty(n)&&(e[n]&&typeof e[n]=="object"?a[n]=X(e[n]):a[n]=e[n]);return a};var g=se({name:"MouseMenu",props:{appendToBody:{type:Boolean,default:!0},menuWidth:{type:Number,default:200},menuList:{type:Array,required:!0},menuHiddenFn:{type:Function},hasIcon:{type:Boolean,default:!1},iconType:{type:String,default:"font-icon"},menuWrapperCss:Object,menuItemCss:Object,el:{type:Object,required:!0},params:{type:[String,Number,Array,Object]},useLongPressInMobile:Boolean,longPressDuration:Number,longPressPreventDefault:[Function,Boolean],injectCloseListener:{type:Boolean,default:!0},customClass:String,disabled:{type:Function}},emits:["open","close"],expose:["show","close","showMenu"],setup(e,{emit:a}){const n=f(0),s=f(0),u=f(!1),y=f(0),_=f(0),m=f(!1),t=f(null),b=f([]),B=I(()=>e.menuList.some(o=>o.children&&o.children.length>0)),T=f(10),k=f();K(m,o=>z(this,null,function*(){var r,d;if(o){yield O();let v=k.value;e.menuWrapperCss&&Object.keys(e.menuWrapperCss).map(h=>{v.style.setProperty(`--menu-${h}`,e.menuWrapperCss&&e.menuWrapperCss[h])}),e.menuItemCss&&Object.keys(e.menuItemCss).map(h=>{v.style.setProperty(`--menu-item-${h}`,e.menuItemCss&&e.menuItemCss[h])});let i=(d=(r=e.menuItemCss)==null?void 0:r.arrowSize)==null?void 0:d.match(/\d+/);i?T.value=~~i[0]||10:T.value=10,v.style.setProperty("--menu-item-arrowRealSize",T.value/2+"px"),a("open",e.params,t.value,e.el)}else a("close",e.params,t.value,e.el)}));const Y=(o,r)=>{o.disabled||o.fn&&typeof o.fn=="function"&&o.fn(e.params,t.value,e.el,r)===!1||(m.value=!1)},Z=(o,r)=>{if(!o.disabled){if(o.fn&&typeof o.fn=="function"&&!o.disabled){if(o.fn(e.params,t.value,e.el,r)===!1)return;u.value=!1}m.value=!1}},ee=(o,r)=>z(this,null,function*(){if(r.children&&!r.disabled){u.value=!0,yield O();const d=o.currentTarget;if(!d)return;const{offsetWidth:v}=d,i=d.querySelector(".__menu__sub__wrapper");if(!i)return;const{offsetWidth:h,offsetHeight:S}=i,{innerWidth:ae,innerHeight:A}=window,{top:R,left:H}=d.getBoundingClientRect();H+v+h>ae-5?n.value=H-h+5:n.value=H+v,R+S>A-5?s.value=A-S:s.value=R+5}}),N=(o,r,d,v)=>o.map(i=>(i.children&&(i.children=N(i.children,r,d,v)),i.label&&typeof i.label=="function"&&(i.label=i.label(v,r,d)),i.tips&&typeof i.tips=="function"&&(i.tips=i.tips(v,r,d)),i.icon&&typeof i.icon=="function"&&(i.icon=i.icon(v,r,d)),i.hidden&&typeof i.hidden=="function"&&(i.hidden=i.hidden(v,r,d)),i.disabled&&typeof i.disabled=="function"&&(i.disabled=i.disabled(v,r,d)),i)),ne=(o=0,r=0)=>z(this,null,function*(){if(t.value=document.elementFromPoint(o-1,r-1),e.menuHiddenFn?m.value=!e.menuHiddenFn(e.params,t.value,e.el):m.value=!0,!m.value)return;b.value=X(e.menuList),b.value=N(b.value,t.value,e.el,e.params),yield O();const{innerWidth:d,innerHeight:v}=window,h=k.value.offsetHeight,S=e.menuWidth||200;_.value=o+S+1>d?d-S-5:o+1,y.value=r+h+1>v?v-h-5:r+1}),te=()=>{m.value=!1},x=I(()=>e.useLongPressInMobile&&"ontouchstart"in window?"touchstart":"mousedown"),$=o=>{k.value&&!k.value.contains(o.currentTarget)&&(m.value=!1,document.oncontextmenu=null)};return K(()=>e.injectCloseListener,o=>{o?document.addEventListener(x.value,$):document.removeEventListener(x.value,$)},{immediate:!0}),re(()=>{document.removeEventListener(x.value,$)}),{subLeft:n,subTop:s,hoverFlag:u,menuTop:y,menuLeft:_,showMenu:m,clickDomEl:t,calcMenuList:b,arrowSize:T,hasSubMenu:B,MenuWrapper:k,handleMenuItemClick:Y,handleSubMenuItemClick:Z,handleMenuMouseEnter:ee,show:ne,close:te,clickEventKey:x}}});const be=["onMouseenter"],he={key:0,class:"__menu__item-icon"},pe=["innerHTML"],fe={class:"__menu__item-label"},ye={class:"__menu__item-tips"},ge={class:"__menu__item-arrow-after"},we={key:0,class:"__menu__item-icon"},Ce=["innerHTML"],ke={class:"__menu__sub__item-label"},Se={class:"__menu__sub__item-tips"};function Me(e,a,n,s,u,y){return l(),P(le,{to:"body",disabled:!e.appendToBody},[e.showMenu?(l(),c("div",{key:0,ref:"MenuWrapper",class:W(["__menu__wrapper",e.customClass]),style:E({width:`${e.menuWidth}px`,top:`${e.menuTop}px`,left:`${e.menuLeft}px`})},[(l(!0),c(L,null,V(e.calcMenuList,(_,m)=>(l(),c(L,null,[!_.hidden&&!_.line?(l(),c("div",J({key:m,class:["__menu__item",_.disabled&&"disabled",_.customClass]},{[U(e.clickEventKey)]:G(t=>e.handleMenuItemClick(_,t),["stop"])},{onMouseenter:t=>e.handleMenuMouseEnter(t,_)}),[e.hasIcon?(l(),c("div",he,[e.iconType==="font-icon"?w((l(),c("i",{key:0,class:W(_.icon)},null,2)),[[C,_.icon]]):e.iconType==="svg-icon"?w((l(),c("div",{key:1,class:"__menu__item-icon-svg",innerHTML:_.icon},null,8,pe)),[[C,_.icon]]):e.iconType==="vnode-icon"?(l(),P(Q(_.icon),{key:2})):p("v-if",!0)])):p("v-if",!0),M("span",fe,F(_.label),1),M("span",ye,F(_.tips||""),1),e.hasSubMenu?(l(),c("span",{key:1,class:W(["__menu__item-arrow",{show:e.hasSubMenu&&_.children}]),style:E({width:e.arrowSize+"px",height:e.arrowSize+"px"})},[w(M("span",ge,null,512),[[C,e.hasSubMenu&&_.children]])],6)):p("v-if",!0),_.children&&_.children.length>0?w((l(),c("div",{key:2,class:"__menu__sub__wrapper",style:E({width:`${e.menuWidth}px`,top:`${e.subTop}px`,left:`${e.subLeft}px`})},[(l(!0),c(L,null,V(_.children,(t,b)=>(l(),c(L,null,[!t.hidden&&!t.line?(l(),c("div",J({key:b,class:["__menu__sub__item",t.disabled&&"disabled",t.customClass]},{[U(e.clickEventKey)]:G(B=>e.handleSubMenuItemClick(t,B),["stop"])}),[e.hasIcon?(l(),c("div",we,[e.iconType==="font-icon"?w((l(),c("i",{key:0,class:W(t.icon)},null,2)),[[C,t.icon]]):e.iconType==="svg-icon"?w((l(),c("div",{key:1,class:"__menu__item-icon-svg",innerHTML:t.icon},null,8,Ce)),[[C,t.icon]]):e.iconType==="vnode-icon"?(l(),P(Q(t.icon),{key:2})):p("v-if",!0)])):p("v-if",!0),M("span",ke,F(t.label),1),M("span",Se,F(t.tips||""),1)],16)):p("v-if",!0),t.line?(l(),c("div",{key:b,class:"__menu__line"})):p("v-if",!0)],64))),256))],4)),[[C,e.hoverFlag]]):p("v-if",!0)],16,be)):p("v-if",!0),!_.hidden&&_.line?(l(),c("div",{key:m,class:"__menu__line"})):p("v-if",!0)],64))),256))],6)):p("v-if",!0)],8,["disabled"])}function Te(e,a){a===void 0&&(a={});var n=a.insertAt;if(typeof document!="undefined"){var s=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.type="text/css",n==="top"&&s.firstChild?s.insertBefore(u,s.firstChild):s.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e))}}var xe=`.__menu__mask[data-v-3d21bc0a] { position: fixed; top: 0; left: 0; diff --git a/static/js/columns-DZzMsn5t.js b/static/js/columns-Dvo-0eGO.js similarity index 82% rename from static/js/columns-DZzMsn5t.js rename to static/js/columns-Dvo-0eGO.js index 3044de23e6..7ed2ec1d88 100644 --- a/static/js/columns-DZzMsn5t.js +++ b/static/js/columns-Dvo-0eGO.js @@ -1 +1 @@ -import{S as m}from"./sortable.esm-Br3T5NCo.js";import{a as o,a6 as i,m as b,y as l}from"./index-AFhnwzwZ.js";import{a as v}from"./data-BCF1-ihA.js";function y(){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{y as useColumns}; +import{S as m}from"./sortable.esm-Br3T5NCo.js";import{a as o,a6 as i,m as b,y as l}from"./index-DqH6biyS.js";import{a as v}from"./data-BAnvZeM5.js";function y(){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{y as useColumns}; diff --git a/static/js/columns-WW1tqWmb.js b/static/js/columns-FB2NJ8pL.js similarity index 78% rename from static/js/columns-WW1tqWmb.js rename to static/js/columns-FB2NJ8pL.js index 7cd5b3f72a..c617c264f5 100644 --- a/static/js/columns-WW1tqWmb.js +++ b/static/js/columns-FB2NJ8pL.js @@ -1 +1 @@ -import{u as t,w as u}from"./xlsx-DaVhO591.js";import{a as i}from"./data-BCF1-ihA.js";import{a as m,a6 as b,J as f}from"./index-AFhnwzwZ.js";function w(){const a=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:a,exportExcel:()=>{const s=a.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),s.unshift(r);const l=t.aoa_to_sheet(s),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns}; +import{u as t,w as u}from"./xlsx-DaVhO591.js";import{a as i}from"./data-BAnvZeM5.js";import{a as m,a6 as b,J as f}from"./index-DqH6biyS.js";function w(){const a=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:a,exportExcel:()=>{const s=a.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),s.unshift(r);const l=t.aoa_to_sheet(s),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns}; diff --git a/static/js/columns-B8xO-q65.js b/static/js/columns-pDchs0BE.js similarity index 93% rename from static/js/columns-B8xO-q65.js rename to static/js/columns-pDchs0BE.js index b9d1ee303f..3fa5652fa8 100644 --- a/static/js/columns-B8xO-q65.js +++ b/static/js/columns-pDchs0BE.js @@ -1 +1 @@ -import{a as c,p as i,i as t,e as s,h as o,F as m,J as r}from"./index-AFhnwzwZ.js";import{t as p}from"./data-Ym5jS6hg.js";function g(){const l=c(""),n=i(()=>p.filter(e=>!l.value||e.name.toLowerCase().includes(l.value.toLowerCase()))),u=(e,a)=>{r(`您修改了第 ${e} 行,数据为:${JSON.stringify(a)}`,{type:"success"})},d=(e,a)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(a)}`)};return{columns:[{prop:"date",headerSlot:"nameHeader"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:l.value,"onUpdate:modelValue":e=>l.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:a})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,a)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,a)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{g as useColumns}; +import{a as c,p as i,i as t,e as s,h as o,F as m,J as r}from"./index-DqH6biyS.js";import{t as p}from"./data-B0U4WEbi.js";function g(){const l=c(""),n=i(()=>p.filter(e=>!l.value||e.name.toLowerCase().includes(l.value.toLowerCase()))),u=(e,a)=>{r(`您修改了第 ${e} 行,数据为:${JSON.stringify(a)}`,{type:"success"})},d=(e,a)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(a)}`)};return{columns:[{prop:"date",headerSlot:"nameHeader"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:l.value,"onUpdate:modelValue":e=>l.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:a})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,a)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,a)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{g as useColumns}; diff --git a/static/js/columns-BncLCxvV.js b/static/js/columns-z1tHx2lb.js similarity index 82% rename from static/js/columns-BncLCxvV.js rename to static/js/columns-z1tHx2lb.js index 1e9310e9a1..ea473b9257 100644 --- a/static/js/columns-BncLCxvV.js +++ b/static/js/columns-z1tHx2lb.js @@ -1 +1 @@ -import{P as d}from"./print-B-zH8tbv.js";import{b}from"./data-BCF1-ihA.js";import{a as c,a6 as i}from"./index-AFhnwzwZ.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}; +import{P as d}from"./print-B-zH8tbv.js";import{b}from"./data-BAnvZeM5.js";import{a as c,a6 as i}from"./index-DqH6biyS.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}; diff --git a/static/js/columns-DtrYk2Vx.js b/static/js/columns-z4dZqzYq.js similarity index 95% rename from static/js/columns-DtrYk2Vx.js rename to static/js/columns-z4dZqzYq.js index 3544542027..0e55473389 100644 --- a/static/js/columns-DtrYk2Vx.js +++ b/static/js/columns-z4dZqzYq.js @@ -1 +1 @@ -import{o as i}from"./data-Dd4sCrbk.js";import{a as p,i as o,e as n,aF as c}from"./index-AFhnwzwZ.js";function s(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!c(t)}function f(){const t=p([]),u=[{label:"姓名",prop:"name",cellRenderer:({row:e})=>o(n("el-input"),{modelValue:e.name,"onUpdate:modelValue":l=>e.name=l},null)},{label:"性别",prop:"sex",cellRenderer:({row:e})=>o(n("el-switch"),{modelValue:e.sex,"onUpdate:modelValue":l=>e.sex=l,"inline-prompt":!0,"active-value":0,"inactive-value":1,"active-text":"男","inactive-text":"女"},null)},{label:"爱好",prop:"hobby",cellRenderer:({row:e})=>{let l;return o(n("el-select"),{modelValue:e.hobby,"onUpdate:modelValue":a=>e.hobby=a,clearable:!0,placeholder:"请选择爱好"},s(l=i.map(a=>o(n("el-option"),{key:a.value,label:a.label,value:a.value},null)))?l:{default:()=>[l]})}},{label:"日期",prop:"date",cellRenderer:({row:e})=>o(n("el-date-picker"),{modelValue:e.date,"onUpdate:modelValue":l=>e.date=l,type:"date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",placeholder:"请选择日期"},null),minWidth:110},{label:"操作",fixed:"right",width:90,slot:"operation"}];function r(){t.value.push({id:t.value.length+1,name:"",sex:0,hobby:"",date:""})}function d(e){const l=t.value.indexOf(e);l!==-1&&t.value.splice(l,1)}return{columns:u,dataList:t,onAdd:r,onDel:d}}export{f as useColumns}; +import{o as i}from"./data-Dd4sCrbk.js";import{a as p,i as o,e as n,aF as c}from"./index-DqH6biyS.js";function s(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!c(t)}function f(){const t=p([]),u=[{label:"姓名",prop:"name",cellRenderer:({row:e})=>o(n("el-input"),{modelValue:e.name,"onUpdate:modelValue":l=>e.name=l},null)},{label:"性别",prop:"sex",cellRenderer:({row:e})=>o(n("el-switch"),{modelValue:e.sex,"onUpdate:modelValue":l=>e.sex=l,"inline-prompt":!0,"active-value":0,"inactive-value":1,"active-text":"男","inactive-text":"女"},null)},{label:"爱好",prop:"hobby",cellRenderer:({row:e})=>{let l;return o(n("el-select"),{modelValue:e.hobby,"onUpdate:modelValue":a=>e.hobby=a,clearable:!0,placeholder:"请选择爱好"},s(l=i.map(a=>o(n("el-option"),{key:a.value,label:a.label,value:a.value},null)))?l:{default:()=>[l]})}},{label:"日期",prop:"date",cellRenderer:({row:e})=>o(n("el-date-picker"),{modelValue:e.date,"onUpdate:modelValue":l=>e.date=l,type:"date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",placeholder:"请选择日期"},null),minWidth:110},{label:"操作",fixed:"right",width:90,slot:"operation"}];function r(){t.value.push({id:t.value.length+1,name:"",sex:0,hobby:"",date:""})}function d(e){const l=t.value.indexOf(e);l!==-1&&t.value.splice(l,1)}return{columns:u,dataList:t,onAdd:r,onDel:d}}export{f as useColumns}; diff --git a/static/js/count-to-D_H49llH.js b/static/js/count-to-lA2fZpve.js similarity index 86% rename from static/js/count-to-D_H49llH.js rename to static/js/count-to-lA2fZpve.js index cbf74b0f98..5f30df1ca3 100644 --- a/static/js/count-to-D_H49llH.js +++ b/static/js/count-to-lA2fZpve.js @@ -1 +1 @@ -import{R as c,a as i}from"./index-CzqPEx3Y.js";import{d as p,b as _,w as n,e as s,f as r,g as o,i as a,h as f,u as l,k as b,l as k,F as v}from"./index-AFhnwzwZ.js";import"./propTypes-D_I3dZnw.js";const C={class:"card-header"},h={class:"flex"},F=p({name:"CountTo",__name:"count-to",setup(w){return(V,e)=>{const u=s("el-link"),d=s("el-card");return r(),_(d,{shadow:"never"},{header:n(()=>[o("div",C,[e[1]||(e[1]=o("p",{class:"font-medium"},"数字动画",-1)),a(u,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/count-to.vue",target:"_blank"},{default:n(()=>e[0]||(e[0]=[f(" 代码位置 src/views/components/count-to.vue ")])),_:1})])]),default:n(()=>[a(l(c),{prefix:"$",duration:1e3,color:"#409EFF",fontSize:"2em",startVal:1,endVal:1e3}),e[2]||(e[2]=o("br",null,null,-1)),o("ul",h,[(r(),b(v,null,k([1,6,6,6],(m,t)=>a(l(i),{key:t,i:m,blur:t,delay:t+1},null,8,["i","blur","delay"])),64))])]),_:1})}}});export{F as default}; +import{R as c,a as i}from"./index-zeZagYtQ.js";import{d as p,b as _,w as n,e as s,f as r,g as o,i as a,h as f,u as l,k as b,l as k,F as v}from"./index-DqH6biyS.js";import"./propTypes-D_I3dZnw.js";const C={class:"card-header"},h={class:"flex"},F=p({name:"CountTo",__name:"count-to",setup(w){return(V,e)=>{const u=s("el-link"),d=s("el-card");return r(),_(d,{shadow:"never"},{header:n(()=>[o("div",C,[e[1]||(e[1]=o("p",{class:"font-medium"},"数字动画",-1)),a(u,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/count-to.vue",target:"_blank"},{default:n(()=>e[0]||(e[0]=[f(" 代码位置 src/views/components/count-to.vue ")])),_:1})])]),default:n(()=>[a(l(c),{prefix:"$",duration:1e3,color:"#409EFF",fontSize:"2em",startVal:1,endVal:1e3}),e[2]||(e[2]=o("br",null,null,-1)),o("ul",h,[(r(),b(v,null,k([1,6,6,6],(m,t)=>a(l(i),{key:t,i:m,blur:t,delay:t+1},null,8,["i","blur","delay"])),64))])]),_:1})}}});export{F as default}; diff --git a/static/js/customIndex-CQR72Os_.js b/static/js/customIndex-CQR72Os_.js new file mode 100644 index 0000000000..62789347bd --- /dev/null +++ b/static/js/customIndex-CQR72Os_.js @@ -0,0 +1 @@ +import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/customIndex-C_nzc73A.js b/static/js/customIndex-C_nzc73A.js deleted file mode 100644 index cb67b8d73e..0000000000 --- a/static/js/customIndex-C_nzc73A.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js b/static/js/customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js similarity index 67% rename from static/js/customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js rename to static/js/customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js index d4efcb8f98..44f5cbe094 100644 --- a/static/js/customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js +++ b/static/js/customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js @@ -1 +1 @@ -import{t as a}from"./data-Ym5jS6hg.js";import{d as n,e as r,f as p,b as s,u as l}from"./index-AFhnwzwZ.js";const i=n({__name:"customIndex",setup(c){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:l(a),columns:t},null,8,["data"])}}});export{i as _}; +import{t as a}from"./data-B0U4WEbi.js";import{d as n,e as r,f as p,b as s,u as l}from"./index-DqH6biyS.js";const i=n({__name:"customIndex",setup(c){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:l(a),columns:t},null,8,["data"])}}});export{i as _}; diff --git a/static/js/dark-DZCoNMpI.js b/static/js/dark-j9TwCegr.js similarity index 96% rename from static/js/dark-DZCoNMpI.js rename to static/js/dark-j9TwCegr.js index 3fe33a275a..5353d175fc 100644 --- a/static/js/dark-DZCoNMpI.js +++ b/static/js/dark-j9TwCegr.js @@ -1 +1 @@ -import{ae as Y,f_ as G,f$ as K,a7 as O,az as T,p as a,aZ as x,g0 as l,fT as q,fG as J,fP as Q,aa as y,fY as C,fL as W,g1 as X,R as tt,ac as et,n as nt,Y as ot,f as w,k as z,g as i}from"./index-AFhnwzwZ.js";import{e as $}from"./mitt-E5P-NQ8u.js";import{u as at}from"./user-DNtD0Fqa.js";import{u as rt}from"./app-Cp1TpsuP.js";import{u as st}from"./epTheme-rJf1qnVw.js";const Mt={width:24,height:24,body:''},lt="The current routing configuration is incorrect, please check the configuration";function it(){var M,S;const o=rt(),n=Y().options.routes,{isFullscreen:p,toggle:u}=G(),{wholeMenus:r}=K(O()),m=(S=(M=T())==null?void 0:M.TooltipEffect)!=null?S:"light",c=a(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),v=a(()=>{var t,e;return x((t=l())==null?void 0:t.avatar)?at:(e=l())==null?void 0:e.avatar}),h=a(()=>{var t,e,s;return x((t=l())==null?void 0:t.nickname)?(e=l())==null?void 0:e.username:(s=l())==null?void 0:s.nickname}),g=a(()=>(t,e)=>({background:t===e?st().epThemeColor:"",color:t===e?"#f4f4f5":"#000"})),d=a(()=>(t,e)=>t===e?"":"dark:hover:!text-primary"),H=a(()=>h.value?{marginRight:"10px"}:""),B=a(()=>!o.getSidebarStatus),b=a(()=>o.getDevice),{$storage:f,$config:A}=q(),I=a(()=>{var t;return(t=f==null?void 0:f.layout)==null?void 0:t.layout}),R=a(()=>A.Title);function L(t){const e=T().Title;e?document.title=`${y(t.title)} | ${e}`:document.title=y(t.title)}function _(){l().logOut()}function E(){var t;C.push((t=W())==null?void 0:t.path)}function P(){$.emit("openPanel")}function Z(){C.push({name:"AccountSettings"})}function D(){o.toggleSideBar()}function F(t){t==null||t.handleResize()}function V(t){var k;if(!t.children)return console.error(lt);const e=/^http(s?):\/\//,s=(k=t.children[0])==null?void 0:k.path;return e.test(s)?t.path+"/"+s:s}function j(t){r.value.length===0||N(t)||$.emit("changLayoutRoute",t)}function N(t){return X.includes(t)}function U(){return new URL("/vue-pure-admin/logo.svg",import.meta.url).href}return{title:R,device:b,layout:I,logout:_,routers:n,$storage:f,isFullscreen:p,Fullscreen:J,ExitFullscreen:Q,toggle:u,backTopMenu:E,onPanel:P,getDivStyle:c,changeTitle:L,toggleSideBar:D,menuSelect:j,handleResize:F,resolvePath:V,getLogo:U,isCollapse:B,pureApp:o,username:h,userAvatar:v,avatarsStyle:H,tooltipEffect:m,toAccountSettings:Z,getDropdownItemStyle:g,getDropdownItemClass:d}}function St(o){const{$storage:n,changeTitle:p,handleResize:u}=it(),{locale:r,t:m}=tt(),c=et();function v(){n.locale={locale:"zh"},r.value="zh",o&&u(o.value)}function h(){n.locale={locale:"en"},r.value="en",o&&u(o.value)}return nt(()=>r.value,()=>{p(c.meta)}),ot(()=>{var g,d;r.value=(d=(g=n.locale)==null?void 0:g.locale)!=null?d:"zh"}),{t:m,route:c,locale:r,translationCh:v,translationEn:h}}const ut={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"};function ct(o,n){return w(),z("svg",ut,n[0]||(n[0]=[i("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1)]))}const kt={render:ct},ht={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function gt(o,n){return w(),z("svg",ht,n[0]||(n[0]=[i("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),i("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z"},null,-1)]))}const Tt={render:gt},dt={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function ft(o,n){return w(),z("svg",dt,n[0]||(n[0]=[i("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),i("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981"},null,-1)]))}const xt={render:ft};export{St as a,Tt as b,xt as c,Mt as d,kt as g,it as u}; +import{ae as Y,f_ as G,f$ as K,a7 as O,az as T,p as a,aZ as x,g0 as l,fT as q,fG as J,fP as Q,aa as y,fY as C,fL as W,g1 as X,R as tt,ac as et,n as nt,Y as ot,f as w,k as z,g as i}from"./index-DqH6biyS.js";import{e as $}from"./mitt-E5P-NQ8u.js";import{u as at}from"./user-DNtD0Fqa.js";import{u as rt}from"./app-6x4i1wLO.js";import{u as st}from"./epTheme-tM--YJJd.js";const Mt={width:24,height:24,body:''},lt="The current routing configuration is incorrect, please check the configuration";function it(){var M,S;const o=rt(),n=Y().options.routes,{isFullscreen:p,toggle:u}=G(),{wholeMenus:r}=K(O()),m=(S=(M=T())==null?void 0:M.TooltipEffect)!=null?S:"light",c=a(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),v=a(()=>{var t,e;return x((t=l())==null?void 0:t.avatar)?at:(e=l())==null?void 0:e.avatar}),h=a(()=>{var t,e,s;return x((t=l())==null?void 0:t.nickname)?(e=l())==null?void 0:e.username:(s=l())==null?void 0:s.nickname}),g=a(()=>(t,e)=>({background:t===e?st().epThemeColor:"",color:t===e?"#f4f4f5":"#000"})),d=a(()=>(t,e)=>t===e?"":"dark:hover:!text-primary"),H=a(()=>h.value?{marginRight:"10px"}:""),B=a(()=>!o.getSidebarStatus),b=a(()=>o.getDevice),{$storage:f,$config:A}=q(),I=a(()=>{var t;return(t=f==null?void 0:f.layout)==null?void 0:t.layout}),R=a(()=>A.Title);function L(t){const e=T().Title;e?document.title=`${y(t.title)} | ${e}`:document.title=y(t.title)}function _(){l().logOut()}function E(){var t;C.push((t=W())==null?void 0:t.path)}function P(){$.emit("openPanel")}function Z(){C.push({name:"AccountSettings"})}function D(){o.toggleSideBar()}function F(t){t==null||t.handleResize()}function V(t){var k;if(!t.children)return console.error(lt);const e=/^http(s?):\/\//,s=(k=t.children[0])==null?void 0:k.path;return e.test(s)?t.path+"/"+s:s}function j(t){r.value.length===0||N(t)||$.emit("changLayoutRoute",t)}function N(t){return X.includes(t)}function U(){return new URL("/vue-pure-admin/logo.svg",import.meta.url).href}return{title:R,device:b,layout:I,logout:_,routers:n,$storage:f,isFullscreen:p,Fullscreen:J,ExitFullscreen:Q,toggle:u,backTopMenu:E,onPanel:P,getDivStyle:c,changeTitle:L,toggleSideBar:D,menuSelect:j,handleResize:F,resolvePath:V,getLogo:U,isCollapse:B,pureApp:o,username:h,userAvatar:v,avatarsStyle:H,tooltipEffect:m,toAccountSettings:Z,getDropdownItemStyle:g,getDropdownItemClass:d}}function St(o){const{$storage:n,changeTitle:p,handleResize:u}=it(),{locale:r,t:m}=tt(),c=et();function v(){n.locale={locale:"zh"},r.value="zh",o&&u(o.value)}function h(){n.locale={locale:"en"},r.value="en",o&&u(o.value)}return nt(()=>r.value,()=>{p(c.meta)}),ot(()=>{var g,d;r.value=(d=(g=n.locale)==null?void 0:g.locale)!=null?d:"zh"}),{t:m,route:c,locale:r,translationCh:v,translationEn:h}}const ut={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"};function ct(o,n){return w(),z("svg",ut,n[0]||(n[0]=[i("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1)]))}const kt={render:ct},ht={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function gt(o,n){return w(),z("svg",ht,n[0]||(n[0]=[i("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),i("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z"},null,-1)]))}const Tt={render:gt},dt={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function ft(o,n){return w(),z("svg",dt,n[0]||(n[0]=[i("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),i("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981"},null,-1)]))}const xt={render:ft};export{St as a,Tt as b,xt as c,Mt as d,kt as g,it as u}; diff --git a/static/js/data-Ym5jS6hg.js b/static/js/data-B0U4WEbi.js similarity index 98% rename from static/js/data-Ym5jS6hg.js rename to static/js/data-B0U4WEbi.js index 9672e13de0..eb41b9f974 100644 --- a/static/js/data-Ym5jS6hg.js +++ b/static/js/data-B0U4WEbi.js @@ -1 +1 @@ -import{aX as t,a6 as e}from"./index-AFhnwzwZ.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}; +import{aX as t,a6 as e}from"./index-DqH6biyS.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}; diff --git a/static/js/data-BCF1-ihA.js b/static/js/data-BAnvZeM5.js similarity index 95% rename from static/js/data-BCF1-ihA.js rename to static/js/data-BAnvZeM5.js index 5d70fe4863..1ce2e06e48 100644 --- a/static/js/data-BCF1-ihA.js +++ b/static/js/data-BAnvZeM5.js @@ -1 +1 @@ -import{aX as r,a6 as t}from"./index-AFhnwzwZ.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"},{date:s,name:"Mike1",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike2",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(e,{id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`}))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign(e,{id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`,address:"China",sex:a%2===0?"男":"女"})));export{n as a,m as b,o as t}; +import{aX as r,a6 as t}from"./index-DqH6biyS.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"},{date:s,name:"Mike1",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike2",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(e,{id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`}))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign(e,{id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`,address:"China",sex:a%2===0?"男":"女"})));export{n as a,m as b,o as t}; diff --git a/static/js/date-picker-BDC0bdag.js b/static/js/date-picker-BRTOdTA9.js similarity index 97% rename from static/js/date-picker-BDC0bdag.js rename to static/js/date-picker-BRTOdTA9.js index c9aa98815a..b636b201bb 100644 --- a/static/js/date-picker-BDC0bdag.js +++ b/static/js/date-picker-BRTOdTA9.js @@ -1 +1 @@ -import{u as E}from"./hooks-CaC3u4N2.js";import{d as H,a as o,n as R,b as U,w as s,e as m,A as _,f as w,g as n,i as t,B as $,h as i,t as C,u as q,k as G,j as J,v as K,_ as L}from"./index-AFhnwzwZ.js";const O={class:"card-header"},Q={class:"ml-2"},W={class:"text"},X={key:0,class:"holiday"},Z=H({name:"DatePicker",__name:"date-picker",setup(h){const d=o("default"),u=o(),V=o(""),B=[{text:"今天",value:new Date},{text:"昨天",value:()=>{const a=new Date;return a.setTime(a.getTime()-3600*1e3*24),a}},{text:"一周前",value:()=>{const a=new Date;return a.setTime(a.getTime()-3600*1e3*24*7),a}}],N=a=>a.getTime()>Date.now(),D=o(""),x=o(""),z=o(""),Y=o(""),g=o(""),j=[{text:"上周",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),[e,a]}},{text:"上个月",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*30),[e,a]}},{text:"三个月前",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*90),[e,a]}}],k=o(""),F=[{text:"本月",value:[new Date,new Date]},{text:"今年",value:()=>{const a=new Date;return[new Date(new Date().getFullYear(),0),a]}},{text:"六个月前",value:()=>{const a=new Date,e=new Date;return e.setMonth(e.getMonth()-6),[e,a]}}],v=o(""),b=o(""),y=o(""),c=o("2023-10-30"),I=["2023-10-22","2023-10-23","2023-10-24","2023-10-25","2023-10-26","2023-10-27","2023-10-28","2023-10-29","2023-10-30","2023-10-31"],P=({dayjs:a})=>I.includes(a.format("YYYY-MM-DD"));return R(d,a=>a==="disabled"?u.value="default":u.value=d.value),(a,e)=>{const M=m("el-link"),p=m("el-radio"),T=m("el-radio-group"),f=m("el-space"),r=m("el-date-picker"),S=m("el-card"),A=_("tippy");return w(),U(S,{shadow:"never"},{header:s(()=>[n("div",O,[t(f,{wrap:"",size:40},{default:s(()=>[$((w(),U(M,{href:"https://element-plus.org/zh-CN/component/date-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:s(()=>e[13]||(e[13]=[i(" 日期选择器 ")])),_:1})),[[A,{content:"点击查看详细文档"}]]),t(T,{modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=l=>d.value=l)},{default:s(()=>[t(p,{value:"large"},{default:s(()=>e[14]||(e[14]=[i("大尺寸")])),_:1}),t(p,{value:"default"},{default:s(()=>e[15]||(e[15]=[i("默认尺寸")])),_:1}),t(p,{value:"small"},{default:s(()=>e[16]||(e[16]=[i("小尺寸")])),_:1}),t(p,{value:"disabled"},{default:s(()=>e[17]||(e[17]=[i("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),t(M,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/date-picker.vue",target:"_blank"},{default:s(()=>e[18]||(e[18]=[i(" 代码位置 src/views/components/date-picker.vue ")])),_:1})]),default:s(()=>[e[22]||(e[22]=n("p",{class:"mb-2"},"选择某一天",-1)),t(r,{modelValue:V.value,"onUpdate:modelValue":e[1]||(e[1]=l=>V.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择","disabled-date":N,shortcuts:B,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[23]||(e[23]=n("p",{class:"mb-2 mt-4"},"选择周、月、年或多个日期",-1)),t(f,{wrap:""},{default:s(()=>[t(r,{modelValue:D.value,"onUpdate:modelValue":e[2]||(e[2]=l=>D.value=l),type:"week",class:"!w-[160px]",format:"YYYY年第ww周",placeholder:"选择某年中的某周",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:x.value,"onUpdate:modelValue":e[3]||(e[3]=l=>x.value=l),type:"month",class:"!w-[160px]",placeholder:"选择某月",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:z.value,"onUpdate:modelValue":e[4]||(e[4]=l=>z.value=l),type:"year",class:"!w-[160px]",placeholder:"选择某年",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:Y.value,"onUpdate:modelValue":e[5]||(e[5]=l=>Y.value=l),type:"dates",class:"!w-[160px]",placeholder:"选择多个日期",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"])]),_:1}),e[24]||(e[24]=n("p",{class:"mb-2 mt-4"},"选择一段时间",-1)),t(r,{modelValue:g.value,"onUpdate:modelValue":e[6]||(e[6]=l=>g.value=l),type:"daterange",class:"!w-[240px]","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",shortcuts:j,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[25]||(e[25]=n("p",{class:"mb-2 mt-4"},"选择月份范围",-1)),t(r,{modelValue:k.value,"onUpdate:modelValue":e[7]||(e[7]=l=>k.value=l),type:"monthrange","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份",shortcuts:F,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[26]||(e[26]=n("p",{class:"mb-2 mt-4"},"日期格式",-1)),t(T,{modelValue:b.value,"onUpdate:modelValue":e[8]||(e[8]=l=>b.value=l),class:"mb-2",disabled:d.value==="disabled",onChange:e[9]||(e[9]=l=>v.value="")},{default:s(()=>[t(p,{value:""},{default:s(()=>e[19]||(e[19]=[i("Date")])),_:1}),t(p,{value:"YYYY-MM-DD"},{default:s(()=>e[20]||(e[20]=[i("年月日")])),_:1}),t(p,{value:"x"},{default:s(()=>e[21]||(e[21]=[i("时间戳")])),_:1})]),_:1},8,["modelValue","disabled"]),e[27]||(e[27]=n("br",null,null,-1)),t(f,{wrap:""},{default:s(()=>[t(r,{modelValue:v.value,"onUpdate:modelValue":e[10]||(e[10]=l=>v.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择日期",format:"YYYY/MM/DD","value-format":b.value,size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","value-format","size","disabled"]),n("span",Q,C(v.value),1)]),_:1}),e[28]||(e[28]=n("p",{class:"mb-2 mt-4"},"自定义前缀",-1)),t(r,{modelValue:y.value,"onUpdate:modelValue":e[11]||(e[11]=l=>y.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择日期","prefix-icon":q(E)("twemoji:spiral-calendar"),size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","prefix-icon","size","disabled"]),e[29]||(e[29]=n("p",{class:"mb-2 mt-4"},"自定义内容",-1)),t(r,{modelValue:c.value,"onUpdate:modelValue":e[12]||(e[12]=l=>c.value=l),type:"date",placeholder:"请选择日期",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",size:u.value,disabled:d.value==="disabled"},{default:s(l=>[n("div",{class:K(["cell",{current:l.isCurrent}])},[n("span",W,C(l.text),1),P(l)?(w(),G("span",X)):J("",!0)],2)]),_:1},8,["modelValue","size","disabled"])]),_:1})}}}),ae=L(Z,[["__scopeId","data-v-63feb663"]]);export{ae as default}; +import{u as E}from"./hooks-BoDRUKFd.js";import{d as H,a as o,n as R,b as U,w as s,e as m,A as _,f as w,g as n,i as t,B as $,h as i,t as C,u as q,k as G,j as J,v as K,_ as L}from"./index-DqH6biyS.js";const O={class:"card-header"},Q={class:"ml-2"},W={class:"text"},X={key:0,class:"holiday"},Z=H({name:"DatePicker",__name:"date-picker",setup(h){const d=o("default"),u=o(),V=o(""),B=[{text:"今天",value:new Date},{text:"昨天",value:()=>{const a=new Date;return a.setTime(a.getTime()-3600*1e3*24),a}},{text:"一周前",value:()=>{const a=new Date;return a.setTime(a.getTime()-3600*1e3*24*7),a}}],N=a=>a.getTime()>Date.now(),D=o(""),x=o(""),z=o(""),Y=o(""),g=o(""),j=[{text:"上周",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),[e,a]}},{text:"上个月",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*30),[e,a]}},{text:"三个月前",value:()=>{const a=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*90),[e,a]}}],k=o(""),F=[{text:"本月",value:[new Date,new Date]},{text:"今年",value:()=>{const a=new Date;return[new Date(new Date().getFullYear(),0),a]}},{text:"六个月前",value:()=>{const a=new Date,e=new Date;return e.setMonth(e.getMonth()-6),[e,a]}}],v=o(""),b=o(""),y=o(""),c=o("2023-10-30"),I=["2023-10-22","2023-10-23","2023-10-24","2023-10-25","2023-10-26","2023-10-27","2023-10-28","2023-10-29","2023-10-30","2023-10-31"],P=({dayjs:a})=>I.includes(a.format("YYYY-MM-DD"));return R(d,a=>a==="disabled"?u.value="default":u.value=d.value),(a,e)=>{const M=m("el-link"),p=m("el-radio"),T=m("el-radio-group"),f=m("el-space"),r=m("el-date-picker"),S=m("el-card"),A=_("tippy");return w(),U(S,{shadow:"never"},{header:s(()=>[n("div",O,[t(f,{wrap:"",size:40},{default:s(()=>[$((w(),U(M,{href:"https://element-plus.org/zh-CN/component/date-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:s(()=>e[13]||(e[13]=[i(" 日期选择器 ")])),_:1})),[[A,{content:"点击查看详细文档"}]]),t(T,{modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=l=>d.value=l)},{default:s(()=>[t(p,{value:"large"},{default:s(()=>e[14]||(e[14]=[i("大尺寸")])),_:1}),t(p,{value:"default"},{default:s(()=>e[15]||(e[15]=[i("默认尺寸")])),_:1}),t(p,{value:"small"},{default:s(()=>e[16]||(e[16]=[i("小尺寸")])),_:1}),t(p,{value:"disabled"},{default:s(()=>e[17]||(e[17]=[i("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),t(M,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/date-picker.vue",target:"_blank"},{default:s(()=>e[18]||(e[18]=[i(" 代码位置 src/views/components/date-picker.vue ")])),_:1})]),default:s(()=>[e[22]||(e[22]=n("p",{class:"mb-2"},"选择某一天",-1)),t(r,{modelValue:V.value,"onUpdate:modelValue":e[1]||(e[1]=l=>V.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择","disabled-date":N,shortcuts:B,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[23]||(e[23]=n("p",{class:"mb-2 mt-4"},"选择周、月、年或多个日期",-1)),t(f,{wrap:""},{default:s(()=>[t(r,{modelValue:D.value,"onUpdate:modelValue":e[2]||(e[2]=l=>D.value=l),type:"week",class:"!w-[160px]",format:"YYYY年第ww周",placeholder:"选择某年中的某周",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:x.value,"onUpdate:modelValue":e[3]||(e[3]=l=>x.value=l),type:"month",class:"!w-[160px]",placeholder:"选择某月",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:z.value,"onUpdate:modelValue":e[4]||(e[4]=l=>z.value=l),type:"year",class:"!w-[160px]",placeholder:"选择某年",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),t(r,{modelValue:Y.value,"onUpdate:modelValue":e[5]||(e[5]=l=>Y.value=l),type:"dates",class:"!w-[160px]",placeholder:"选择多个日期",size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"])]),_:1}),e[24]||(e[24]=n("p",{class:"mb-2 mt-4"},"选择一段时间",-1)),t(r,{modelValue:g.value,"onUpdate:modelValue":e[6]||(e[6]=l=>g.value=l),type:"daterange",class:"!w-[240px]","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",shortcuts:j,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[25]||(e[25]=n("p",{class:"mb-2 mt-4"},"选择月份范围",-1)),t(r,{modelValue:k.value,"onUpdate:modelValue":e[7]||(e[7]=l=>k.value=l),type:"monthrange","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份",shortcuts:F,"popper-options":{placement:"bottom-start"},size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","size","disabled"]),e[26]||(e[26]=n("p",{class:"mb-2 mt-4"},"日期格式",-1)),t(T,{modelValue:b.value,"onUpdate:modelValue":e[8]||(e[8]=l=>b.value=l),class:"mb-2",disabled:d.value==="disabled",onChange:e[9]||(e[9]=l=>v.value="")},{default:s(()=>[t(p,{value:""},{default:s(()=>e[19]||(e[19]=[i("Date")])),_:1}),t(p,{value:"YYYY-MM-DD"},{default:s(()=>e[20]||(e[20]=[i("年月日")])),_:1}),t(p,{value:"x"},{default:s(()=>e[21]||(e[21]=[i("时间戳")])),_:1})]),_:1},8,["modelValue","disabled"]),e[27]||(e[27]=n("br",null,null,-1)),t(f,{wrap:""},{default:s(()=>[t(r,{modelValue:v.value,"onUpdate:modelValue":e[10]||(e[10]=l=>v.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择日期",format:"YYYY/MM/DD","value-format":b.value,size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","value-format","size","disabled"]),n("span",Q,C(v.value),1)]),_:1}),e[28]||(e[28]=n("p",{class:"mb-2 mt-4"},"自定义前缀",-1)),t(r,{modelValue:y.value,"onUpdate:modelValue":e[11]||(e[11]=l=>y.value=l),type:"date",class:"!w-[160px]",placeholder:"请选择日期","prefix-icon":q(E)("twemoji:spiral-calendar"),size:u.value,disabled:d.value==="disabled"},null,8,["modelValue","prefix-icon","size","disabled"]),e[29]||(e[29]=n("p",{class:"mb-2 mt-4"},"自定义内容",-1)),t(r,{modelValue:c.value,"onUpdate:modelValue":e[12]||(e[12]=l=>c.value=l),type:"date",placeholder:"请选择日期",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",size:u.value,disabled:d.value==="disabled"},{default:s(l=>[n("div",{class:K(["cell",{current:l.isCurrent}])},[n("span",W,C(l.text),1),P(l)?(w(),G("span",X)):J("",!0)],2)]),_:1},8,["modelValue","size","disabled"])]),_:1})}}}),ae=L(Z,[["__scopeId","data-v-63feb663"]]);export{ae as default}; diff --git a/static/js/datetime-picker-7Xgh0GeS.js b/static/js/datetime-picker-BEDxUgIT.js similarity index 97% rename from static/js/datetime-picker-7Xgh0GeS.js rename to static/js/datetime-picker-BEDxUgIT.js index 2e85328acb..75cb5bcd16 100644 --- a/static/js/datetime-picker-7Xgh0GeS.js +++ b/static/js/datetime-picker-BEDxUgIT.js @@ -1 +1 @@ -var $=Object.defineProperty,j=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var U=(u,t,a)=>t in u?$(u,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):u[t]=a,B=(u,t)=>{for(var a in t||(t={}))E.call(t,a)&&U(u,a,t[a]);if(Y)for(var a of Y(t))I.call(t,a)&&U(u,a,t[a]);return u},M=(u,t)=>j(u,A(t));import{d as L,a as n,n as q,b as _,w as d,e as m,A as G,f as k,g as p,i as o,B as J,h as i,t as N,k as K,l as Q,v as W,F as X,_ as Z}from"./index-AFhnwzwZ.js";const ee={class:"card-header"},te={class:"ml-2"},le=L({name:"DateTimePicker",__name:"datetime-picker",setup(u){const t=n("default"),a=n(),D=n(""),P=[{text:"今天",value:new Date},{text:"昨天",value:()=>{const l=new Date;return l.setTime(l.getTime()-3600*1e3*24),l}},{text:"一周前",value:()=>{const l=new Date;return l.setTime(l.getTime()-3600*1e3*24*7),l}}],c=n(""),b=n(""),z=n(""),F=[{text:"上周",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),[e,l]}},{text:"上个月",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*30),[e,l]}},{text:"三个月前",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*90),[e,l]}}],T=n(""),g=n(),x=n("auto"),h=n([{title:"auto",checked:!1},{title:"auto-start",checked:!1},{title:"auto-end",checked:!1},{title:"top",checked:!1},{title:"top-start",checked:!1},{title:"top-end",checked:!1},{title:"bottom",checked:!1},{title:"bottom-start",checked:!1},{title:"bottom-end",checked:!1},{title:"right",checked:!1},{title:"right-start",checked:!1},{title:"right-end",checked:!1},{title:"left",checked:!1},{title:"left-start",checked:!1},{title:"left-end",checked:!1}]),w=n({});function H(l,e){t.value!=="disabled"&&(x.value=l.title,w.value[e]=Object.assign(M(B({},l),{checked:!l.checked})),h.value.map(v=>v.checked=!1),h.value[e].checked=w.value[e].checked,w.value[e].checked?g.value.handleOpen():g.value.handleClose())}return q(t,l=>l==="disabled"?a.value="default":a.value=t.value),(l,e)=>{const v=m("el-link"),r=m("el-radio"),y=m("el-radio-group"),V=m("el-space"),f=m("el-date-picker"),O=m("el-check-tag"),R=m("el-card"),S=G("tippy");return k(),_(R,{shadow:"never",style:{height:"100vh"}},{header:d(()=>[p("div",ee,[o(V,{wrap:"",size:40},{default:d(()=>[J((k(),_(v,{href:"https://element-plus.org/zh-CN/component/datetime-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:d(()=>e[7]||(e[7]=[i(" 日期时间选择器 ")])),_:1})),[[S,{content:"点击查看详细文档"}]]),o(y,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=s=>t.value=s)},{default:d(()=>[o(r,{value:"large"},{default:d(()=>e[8]||(e[8]=[i("大尺寸")])),_:1}),o(r,{value:"default"},{default:d(()=>e[9]||(e[9]=[i("默认尺寸")])),_:1}),o(r,{value:"small"},{default:d(()=>e[10]||(e[10]=[i("小尺寸")])),_:1}),o(r,{value:"disabled"},{default:d(()=>e[11]||(e[11]=[i("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),o(v,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/datetime-picker.vue",target:"_blank"},{default:d(()=>e[12]||(e[12]=[i(" 代码位置 src/views/components/datetime-picker.vue ")])),_:1})]),default:d(()=>[e[16]||(e[16]=p("p",{class:"mb-2"},"日期和时间点",-1)),o(f,{modelValue:D.value,"onUpdate:modelValue":e[1]||(e[1]=s=>D.value=s),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间",shortcuts:P,size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","size","disabled"]),e[17]||(e[17]=p("p",{class:"mb-2 mt-4"},"日期时间格式",-1)),o(y,{modelValue:b.value,"onUpdate:modelValue":e[2]||(e[2]=s=>b.value=s),class:"mb-2",disabled:t.value==="disabled",onChange:e[3]||(e[3]=s=>c.value="")},{default:d(()=>[o(r,{value:""},{default:d(()=>e[13]||(e[13]=[i("Date")])),_:1}),o(r,{value:"YYYY-MM-DD HH:mm:ss"},{default:d(()=>e[14]||(e[14]=[i("年月日 时分秒")])),_:1}),o(r,{value:"x"},{default:d(()=>e[15]||(e[15]=[i("时间戳")])),_:1})]),_:1},8,["modelValue","disabled"]),e[18]||(e[18]=p("br",null,null,-1)),o(V,{wrap:""},{default:d(()=>[o(f,{modelValue:c.value,"onUpdate:modelValue":e[4]||(e[4]=s=>c.value=s),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间",format:"YYYY/MM/DD hh:mm:ss","value-format":b.value,size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","value-format","size","disabled"]),p("span",te,N(c.value),1)]),_:1}),e[19]||(e[19]=p("p",{class:"mb-2 mt-4"},"日期和时间范围",-1)),o(f,{modelValue:z.value,"onUpdate:modelValue":e[5]||(e[5]=s=>z.value=s),type:"datetimerange",shortcuts:F,"range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间","popper-options":{placement:"bottom-start"},size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","size","disabled"]),e[20]||(e[20]=p("p",{class:"mb-2 mt-4"}," 弹出面板位置可控(如果弹出位置不足以完整展示面板会自动调整位置) ",-1)),o(V,{wrap:"",class:"w-[400px]"},{default:d(()=>[(k(!0),K(X,null,Q(h.value,(s,C)=>(k(),_(O,{key:C,class:W(["select-none",t.value==="disabled"&&"tag-disabled",s.checked&&"is-active"]),checked:s.checked,onChange:ae=>H(s,C)},{default:d(()=>[i(N(s.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1}),o(f,{ref_key:"datePickerRef",ref:g,modelValue:T.value,"onUpdate:modelValue":e[6]||(e[6]=s=>T.value=s),type:"datetime",class:"ml-[15%]",placeholder:"请选择日期时间","popper-options":{placement:x.value},size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","popper-options","size","disabled"])]),_:1})}}}),oe=Z(le,[["__scopeId","data-v-39a2b8f2"]]);export{oe as default}; +var $=Object.defineProperty,j=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var U=(u,t,a)=>t in u?$(u,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):u[t]=a,B=(u,t)=>{for(var a in t||(t={}))E.call(t,a)&&U(u,a,t[a]);if(Y)for(var a of Y(t))I.call(t,a)&&U(u,a,t[a]);return u},M=(u,t)=>j(u,A(t));import{d as L,a as n,n as q,b as _,w as d,e as m,A as G,f as k,g as p,i as o,B as J,h as i,t as N,k as K,l as Q,v as W,F as X,_ as Z}from"./index-DqH6biyS.js";const ee={class:"card-header"},te={class:"ml-2"},le=L({name:"DateTimePicker",__name:"datetime-picker",setup(u){const t=n("default"),a=n(),D=n(""),P=[{text:"今天",value:new Date},{text:"昨天",value:()=>{const l=new Date;return l.setTime(l.getTime()-3600*1e3*24),l}},{text:"一周前",value:()=>{const l=new Date;return l.setTime(l.getTime()-3600*1e3*24*7),l}}],c=n(""),b=n(""),z=n(""),F=[{text:"上周",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*7),[e,l]}},{text:"上个月",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*30),[e,l]}},{text:"三个月前",value:()=>{const l=new Date,e=new Date;return e.setTime(e.getTime()-3600*1e3*24*90),[e,l]}}],T=n(""),g=n(),x=n("auto"),h=n([{title:"auto",checked:!1},{title:"auto-start",checked:!1},{title:"auto-end",checked:!1},{title:"top",checked:!1},{title:"top-start",checked:!1},{title:"top-end",checked:!1},{title:"bottom",checked:!1},{title:"bottom-start",checked:!1},{title:"bottom-end",checked:!1},{title:"right",checked:!1},{title:"right-start",checked:!1},{title:"right-end",checked:!1},{title:"left",checked:!1},{title:"left-start",checked:!1},{title:"left-end",checked:!1}]),w=n({});function H(l,e){t.value!=="disabled"&&(x.value=l.title,w.value[e]=Object.assign(M(B({},l),{checked:!l.checked})),h.value.map(v=>v.checked=!1),h.value[e].checked=w.value[e].checked,w.value[e].checked?g.value.handleOpen():g.value.handleClose())}return q(t,l=>l==="disabled"?a.value="default":a.value=t.value),(l,e)=>{const v=m("el-link"),r=m("el-radio"),y=m("el-radio-group"),V=m("el-space"),f=m("el-date-picker"),O=m("el-check-tag"),R=m("el-card"),S=G("tippy");return k(),_(R,{shadow:"never",style:{height:"100vh"}},{header:d(()=>[p("div",ee,[o(V,{wrap:"",size:40},{default:d(()=>[J((k(),_(v,{href:"https://element-plus.org/zh-CN/component/datetime-picker.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:d(()=>e[7]||(e[7]=[i(" 日期时间选择器 ")])),_:1})),[[S,{content:"点击查看详细文档"}]]),o(y,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=s=>t.value=s)},{default:d(()=>[o(r,{value:"large"},{default:d(()=>e[8]||(e[8]=[i("大尺寸")])),_:1}),o(r,{value:"default"},{default:d(()=>e[9]||(e[9]=[i("默认尺寸")])),_:1}),o(r,{value:"small"},{default:d(()=>e[10]||(e[10]=[i("小尺寸")])),_:1}),o(r,{value:"disabled"},{default:d(()=>e[11]||(e[11]=[i("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),o(v,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/datetime-picker.vue",target:"_blank"},{default:d(()=>e[12]||(e[12]=[i(" 代码位置 src/views/components/datetime-picker.vue ")])),_:1})]),default:d(()=>[e[16]||(e[16]=p("p",{class:"mb-2"},"日期和时间点",-1)),o(f,{modelValue:D.value,"onUpdate:modelValue":e[1]||(e[1]=s=>D.value=s),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间",shortcuts:P,size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","size","disabled"]),e[17]||(e[17]=p("p",{class:"mb-2 mt-4"},"日期时间格式",-1)),o(y,{modelValue:b.value,"onUpdate:modelValue":e[2]||(e[2]=s=>b.value=s),class:"mb-2",disabled:t.value==="disabled",onChange:e[3]||(e[3]=s=>c.value="")},{default:d(()=>[o(r,{value:""},{default:d(()=>e[13]||(e[13]=[i("Date")])),_:1}),o(r,{value:"YYYY-MM-DD HH:mm:ss"},{default:d(()=>e[14]||(e[14]=[i("年月日 时分秒")])),_:1}),o(r,{value:"x"},{default:d(()=>e[15]||(e[15]=[i("时间戳")])),_:1})]),_:1},8,["modelValue","disabled"]),e[18]||(e[18]=p("br",null,null,-1)),o(V,{wrap:""},{default:d(()=>[o(f,{modelValue:c.value,"onUpdate:modelValue":e[4]||(e[4]=s=>c.value=s),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间",format:"YYYY/MM/DD hh:mm:ss","value-format":b.value,size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","value-format","size","disabled"]),p("span",te,N(c.value),1)]),_:1}),e[19]||(e[19]=p("p",{class:"mb-2 mt-4"},"日期和时间范围",-1)),o(f,{modelValue:z.value,"onUpdate:modelValue":e[5]||(e[5]=s=>z.value=s),type:"datetimerange",shortcuts:F,"range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间","popper-options":{placement:"bottom-start"},size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","size","disabled"]),e[20]||(e[20]=p("p",{class:"mb-2 mt-4"}," 弹出面板位置可控(如果弹出位置不足以完整展示面板会自动调整位置) ",-1)),o(V,{wrap:"",class:"w-[400px]"},{default:d(()=>[(k(!0),K(X,null,Q(h.value,(s,C)=>(k(),_(O,{key:C,class:W(["select-none",t.value==="disabled"&&"tag-disabled",s.checked&&"is-active"]),checked:s.checked,onChange:ae=>H(s,C)},{default:d(()=>[i(N(s.title),1)]),_:2},1032,["class","checked","onChange"]))),128))]),_:1}),o(f,{ref_key:"datePickerRef",ref:g,modelValue:T.value,"onUpdate:modelValue":e[6]||(e[6]=s=>T.value=s),type:"datetime",class:"ml-[15%]",placeholder:"请选择日期时间","popper-options":{placement:x.value},size:a.value,disabled:t.value==="disabled"},null,8,["modelValue","popper-options","size","disabled"])]),_:1})}}}),oe=Z(le,[["__scopeId","data-v-39a2b8f2"]]);export{oe as default}; diff --git a/static/js/debounce-DRUMx91w.js b/static/js/debounce-OJlUUJ2j.js similarity index 96% rename from static/js/debounce-DRUMx91w.js rename to static/js/debounce-OJlUUJ2j.js index a1843a985c..49b18b85a0 100644 --- a/static/js/debounce-DRUMx91w.js +++ b/static/js/debounce-OJlUUJ2j.js @@ -1 +1 @@ -import{d as f,k,i as t,w as n,e as d,f as v,g as o,h as s,u,W as i,I as C,J as _}from"./index-AFhnwzwZ.js";const B=f({name:"Debounce",__name:"debounce",setup(w){const l=()=>_("恭喜你,这是一条成功消息",{type:"success"}),m=i(l,1e3,!0),b=i(l,1e3),c=C(l);return(g,e)=>{const p=d("el-link"),a=d("el-button"),r=d("el-card");return v(),k("div",null,[t(r,{class:"mb-5",shadow:"never"},{header:n(()=>[e[1]||(e[1]=o("p",{class:"font-medium"},"防抖:debounce",-1)),t(p,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/debounce.vue",target:"_blank"},{default:n(()=>e[0]||(e[0]=[s(" 代码位置 src/views/able/debounce.vue ")])),_:1})]),default:n(()=>[e[4]||(e[4]=o("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1)),t(a,{onClick:u(m)},{default:n(()=>e[2]||(e[2]=[s(" 连续点击我,只会执行第一次点击事件,立即执行 ")])),_:1},8,["onClick"]),t(a,{onClick:u(b)},{default:n(()=>e[3]||(e[3]=[s(" 连续点击我,只会执行最后一次点击事件,延后执行 ")])),_:1},8,["onClick"])]),_:1}),t(r,{shadow:"never"},{header:n(()=>e[5]||(e[5]=[o("div",{class:"font-medium"},"节流:throttle",-1)])),default:n(()=>[e[7]||(e[7]=o("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1)),t(a,{onClick:u(c)},{default:n(()=>e[6]||(e[6]=[s(" 连续点击我,每一秒只会执行一次点击事件 ")])),_:1},8,["onClick"])]),_:1})])}}});export{B as default}; +import{d as f,k,i as t,w as n,e as d,f as v,g as o,h as s,u,W as i,I as C,J as _}from"./index-DqH6biyS.js";const B=f({name:"Debounce",__name:"debounce",setup(w){const l=()=>_("恭喜你,这是一条成功消息",{type:"success"}),m=i(l,1e3,!0),b=i(l,1e3),c=C(l);return(g,e)=>{const p=d("el-link"),a=d("el-button"),r=d("el-card");return v(),k("div",null,[t(r,{class:"mb-5",shadow:"never"},{header:n(()=>[e[1]||(e[1]=o("p",{class:"font-medium"},"防抖:debounce",-1)),t(p,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/debounce.vue",target:"_blank"},{default:n(()=>e[0]||(e[0]=[s(" 代码位置 src/views/able/debounce.vue ")])),_:1})]),default:n(()=>[e[4]||(e[4]=o("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1)),t(a,{onClick:u(m)},{default:n(()=>e[2]||(e[2]=[s(" 连续点击我,只会执行第一次点击事件,立即执行 ")])),_:1},8,["onClick"]),t(a,{onClick:u(b)},{default:n(()=>e[3]||(e[3]=[s(" 连续点击我,只会执行最后一次点击事件,延后执行 ")])),_:1},8,["onClick"])]),_:1}),t(r,{shadow:"never"},{header:n(()=>e[5]||(e[5]=[o("div",{class:"font-medium"},"节流:throttle",-1)])),default:n(()=>[e[7]||(e[7]=o("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1)),t(a,{onClick:u(c)},{default:n(()=>e[6]||(e[6]=[s(" 连续点击我,每一秒只会执行一次点击事件 ")])),_:1},8,["onClick"])]),_:1})])}}});export{B as default}; diff --git a/static/js/detail-Asp0aJQV.js b/static/js/detail-Asp0aJQV.js new file mode 100644 index 0000000000..fae4c07e4c --- /dev/null +++ b/static/js/detail-Asp0aJQV.js @@ -0,0 +1 @@ +import{_ as o}from"./detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js";import"./vue-json-pretty-ONrekcxr.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/detail-kqJ7foUD.js b/static/js/detail-kqJ7foUD.js deleted file mode 100644 index 97961c2e0d..0000000000 --- a/static/js/detail-kqJ7foUD.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js";import"./vue-json-pretty-DYIyI-em.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js b/static/js/detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js similarity index 91% rename from static/js/detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js rename to static/js/detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js index 822d9588f3..3189012d8e 100644 --- a/static/js/detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js +++ b/static/js/detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js @@ -1 +1 @@ -import{S as f}from"./vue-json-pretty-DYIyI-em.js";import{d as y,a as B,e as l,f as r,k as d,i as e,w as o,F as h,l as k,b as q,u as x}from"./index-AFhnwzwZ.js";const I=y({__name:"detail",props:{data:{type:Array,default:()=>[]}},setup(s){const a=s,p=[{label:"IP 地址",prop:"ip"},{label:"地点",prop:"address"},{label:"操作系统",prop:"system"},{label:"浏览器类型",prop:"browser"},{label:"所属模块",prop:"module"},{label:"请求时间",prop:"requestTime"},{label:"请求方法",prop:"method"},{label:"请求耗时",prop:"takesTime"},{label:"请求接口",prop:"url",copy:!0},{label:"TraceId",prop:"traceId",copy:!0}],c=B([{title:"响应头",name:"responseHeaders",data:a.data[0].responseHeaders},{title:"响应体",name:"responseBody",data:a.data[0].responseBody},{title:"请求头",name:"requestHeaders",data:a.data[0].requestHeaders},{title:"请求体",name:"requestBody",data:a.data[0].requestBody}]);return(v,H)=>{const u=l("PureDescriptions"),n=l("el-scrollbar"),m=l("el-tab-pane"),b=l("el-tabs");return r(),d("div",null,[e(n,null,{default:o(()=>[e(u,{border:"",data:s.data,columns:p,column:5},null,8,["data"])]),_:1}),e(b,{modelValue:"responseBody",type:"border-card",class:"mt-4"},{default:o(()=>[(r(!0),d(h,null,k(c.value,(t,_)=>(r(),q(m,{key:_,name:t.name,label:t.title},{default:o(()=>[e(n,{"max-height":"calc(100vh - 240px)"},{default:o(()=>[e(x(f),{data:t.data,"onUpdate:data":i=>t.data=i},null,8,["data","onUpdate:data"])]),_:2},1024)]),_:2},1032,["name","label"]))),128))]),_:1})])}}});export{I as _}; +import{S as f}from"./vue-json-pretty-ONrekcxr.js";import{d as y,a as B,e as l,f as r,k as d,i as e,w as o,F as h,l as k,b as q,u as x}from"./index-DqH6biyS.js";const I=y({__name:"detail",props:{data:{type:Array,default:()=>[]}},setup(s){const a=s,p=[{label:"IP 地址",prop:"ip"},{label:"地点",prop:"address"},{label:"操作系统",prop:"system"},{label:"浏览器类型",prop:"browser"},{label:"所属模块",prop:"module"},{label:"请求时间",prop:"requestTime"},{label:"请求方法",prop:"method"},{label:"请求耗时",prop:"takesTime"},{label:"请求接口",prop:"url",copy:!0},{label:"TraceId",prop:"traceId",copy:!0}],c=B([{title:"响应头",name:"responseHeaders",data:a.data[0].responseHeaders},{title:"响应体",name:"responseBody",data:a.data[0].responseBody},{title:"请求头",name:"requestHeaders",data:a.data[0].requestHeaders},{title:"请求体",name:"requestBody",data:a.data[0].requestBody}]);return(v,H)=>{const u=l("PureDescriptions"),n=l("el-scrollbar"),m=l("el-tab-pane"),b=l("el-tabs");return r(),d("div",null,[e(n,null,{default:o(()=>[e(u,{border:"",data:s.data,columns:p,column:5},null,8,["data"])]),_:1}),e(b,{modelValue:"responseBody",type:"border-card",class:"mt-4"},{default:o(()=>[(r(!0),d(h,null,k(c.value,(t,_)=>(r(),q(m,{key:_,name:t.name,label:t.title},{default:o(()=>[e(n,{"max-height":"calc(100vh - 240px)"},{default:o(()=>[e(x(f),{data:t.data,"onUpdate:data":i=>t.data=i},null,8,["data","onUpdate:data"])]),_:2},1024)]),_:2},1032,["name","label"]))),128))]),_:1})])}}});export{I as _}; diff --git a/static/js/dialog-CMu208yW.js b/static/js/dialog-CMu208yW.js new file mode 100644 index 0000000000..d547dbbd6c --- /dev/null +++ b/static/js/dialog-CMu208yW.js @@ -0,0 +1 @@ +import{_ as o}from"./dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js";import"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import"./plus-form-Cy3_segO.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/dialog-FoeeENk5.js b/static/js/dialog-FoeeENk5.js deleted file mode 100644 index e8a62a19bc..0000000000 --- a/static/js/dialog-FoeeENk5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js";import"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import"./plus-form-kZ-6J13C.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js b/static/js/dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js similarity index 98% rename from static/js/dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js rename to static/js/dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js index e7b81d2abc..ac18f97645 100644 --- a/static/js/dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js +++ b/static/js/dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js @@ -1 +1 @@ -var N=(g,b,s)=>new Promise((d,n)=>{var f=a=>{try{m(s.next(a))}catch(l){n(l)}},o=a=>{try{m(s.throw(a))}catch(l){n(l)}},m=a=>a.done?d(a.value):Promise.resolve(a.value).then(f,o);m((s=s.apply(g,b)).next())});import{_ as z,b as q}from"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import{u as O,f as C,P as G,g as H,a as J,b as K}from"./plus-form-kZ-6J13C.js";import{d as D,p as R,a as T,N as X,f as _,b as x,ar as B,w as t,Q as p,g as L,s as Z,i as w,u,dl as A,h as E,t as I,a3 as F,dm as ee,aY as le,n as U,as as y,bn as V,l as S,dn as j,e as ae,k as oe}from"./index-AFhnwzwZ.js";const te={class:"plus-dialog-body"};var se=D({name:"PlusDialog",inheritAttrs:!1,__name:"index",props:{modelValue:{type:Boolean,default:!1},confirmText:{default:""},cancelText:{default:""},confirmLoading:{type:Boolean,default:!1},hasFooter:{type:Boolean,default:!0},footerAlign:{default:"right"},top:{default:"15vh"},width:{default:"460px"},title:{default:""}},emits:["update:modelValue","cancel","confirm"],setup(g,{emit:b}){const s=g,d=b,n=R(()=>({justifyContent:s.footerAlign==="left"?"flex-start":s.footerAlign==="center"?"center":"flex-end"})),f=T(!1),{t:o}=O();X(()=>{f.value=s.modelValue});const m=()=>{d("confirm")},a=()=>{d("update:modelValue",!1),d("cancel")};return(l,h)=>(_(),x(u(ee),F({modelValue:f.value,"onUpdate:modelValue":h[0]||(h[0]=$=>f.value=$),top:l.top,width:l.width,title:l.title||u(o)("plus.dialog.title"),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":!1,"before-close":a,class:"plus-dialog"},l.$attrs),B({default:t(()=>[L("div",te,[p(l.$slots,"default")])]),_:2},[l.$slots.header?{name:"header",fn:t(()=>[p(l.$slots,"header")]),key:"0"}:void 0,l.hasFooter?{name:"footer",fn:t(()=>[L("div",{class:"plus-dialog-footer",style:Z(n.value)},[p(l.$slots,"footer",{},()=>[w(u(A),{onClick:a},{default:t(()=>[E(I(l.cancelText||u(o)("plus.dialog.cancelText")),1)]),_:1}),w(u(A),{type:"primary",loading:l.confirmLoading,onClick:m},{default:t(()=>[E(I(l.confirmText||u(o)("plus.dialog.confirmText")),1)]),_:1},8,["loading"])])],4)]),key:"1"}:void 0]),1040,["modelValue","top","width","title"]))}}),ne=z(se,[["__file","index.vue"]]);const re=ne;var ie=D({name:"PlusDialogForm",__name:"index",props:{modelValue:{default:()=>({})},visible:{type:Boolean,default:!1},dialog:{default:()=>({})},form:{default:()=>({})},hasErrorTip:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","confirm","change","cancel","confirmError"],setup(g,{expose:b,emit:s}){const d=g,n=s,{t:f}=O(),o=T(),m=R(()=>{var e;return(e=o.value)==null?void 0:e.formInstance}),a=T({}),l=T(!1),h=le(),$=C(h,H()),M=C(h,J()),Q=C(h,K());U(()=>d.visible,e=>{l.value=e},{immediate:!0}),U(()=>d.modelValue,e=>{a.value=e},{immediate:!0});const W=(e,c)=>{n("update:modelValue",e),n("change",e,c)},k=()=>N(this,null,function*(){var e,c,r;try{(yield(e=m.value)==null?void 0:e.validate())&&n("confirm",a.value)}catch(i){if(d.hasErrorTip){j.closeAll();const v=q(i)&&Object.values(i),Y=v?(r=(c=v[0])==null?void 0:c[0])==null?void 0:r.message:void 0;j.warning(Y||f("plus.form.errorTip"))}n("confirmError",i)}}),P=()=>{l.value=!1,n("update:visible",l.value),n("cancel")};return b({handleConfirm:k,handleCancel:P,formInstance:m}),(e,c)=>(_(),x(u(re),F({modelValue:l.value,"onUpdate:modelValue":c[1]||(c[1]=r=>l.value=r),width:"800px",top:"10vh",title:u(f)("plus.dialogForm.title")},e.dialog,{onCancel:P,onConfirm:k}),B({default:t(()=>[w(u(G),F({ref_key:"formInstance",ref:o,modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=r=>a.value=r),"has-footer":!1,"footer-align":"right"},e.form,{onChange:W}),B({_:2},[e.$slots["form-footer"]?{name:"footer",fn:t(r=>[p(e.$slots,"form-footer",y(V(r)))]),key:"0"}:void 0,e.$slots["form-group-header"]?{name:"group-header",fn:t(r=>[p(e.$slots,"form-group-header",y(V(r)))]),key:"1"}:void 0,S(u($),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),S(u(M),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),S(u(Q),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),e.$slots["tooltip-icon"]?{name:"tooltip-icon",fn:t(()=>[p(e.$slots,"tooltip-icon")]),key:"2"}:void 0]),1040,["modelValue"])]),_:2},[e.$slots["dialog-header"]?{name:"header",fn:t(()=>[p(e.$slots,"dialog-header")]),key:"0"}:void 0,e.$slots["dialog-footer"]?{name:"footer",fn:t(()=>[p(e.$slots,"dialog-footer",y(V({handleConfirm:k,handleCancel:P})))]),key:"1"}:void 0]),1040,["modelValue","title"]))}}),ue=z(ie,[["__file","index.vue"]]);const de=ue,be=D({__name:"dialog",setup(g){const b=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"名称最多显示6个字符"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"城市",prop:"city",valueType:"cascader",options:[{value:"0",label:"陕西",children:[{value:"0-0",label:"西安",children:[{value:"0-0-0",label:"新城区"},{value:"0-0-1",label:"高新区"},{value:"0-0-2",label:"灞桥区"}]}]},{value:"1",label:"山西",children:[{value:"1-0",label:"太原",children:[{value:"1-0-0",label:"小店区"},{value:"1-0-1",label:"古交市"},{value:"1-0-2",label:"万柏林区"}]}]}]},{label:"地区",prop:"place",tooltip:"请精确到门牌号",fieldProps:{placeholder:"请精确到门牌号"}},{label:"要求",prop:"demand",valueType:"checkbox",options:[{label:"四六级",value:"0"},{label:"计算机二级证书",value:"1"},{label:"普通话证书",value:"2"}]},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],s=T(!1),d=T({}),n=()=>{s.value=!0};return(f,o)=>{const m=ae("el-button");return _(),oe("div",null,[w(m,{onClick:n},{default:t(()=>o[2]||(o[2]=[E("打开弹窗表单")])),_:1}),w(u(de),{visible:s.value,"onUpdate:visible":o[0]||(o[0]=a=>s.value=a),modelValue:d.value,"onUpdate:modelValue":o[1]||(o[1]=a=>d.value=a),form:{columns:b}},null,8,["visible","modelValue","form"])])}}});export{be as _}; +var N=(g,b,s)=>new Promise((d,n)=>{var f=a=>{try{m(s.next(a))}catch(l){n(l)}},o=a=>{try{m(s.throw(a))}catch(l){n(l)}},m=a=>a.done?d(a.value):Promise.resolve(a.value).then(f,o);m((s=s.apply(g,b)).next())});import{_ as z,b as q}from"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import{u as O,f as C,P as G,g as H,a as J,b as K}from"./plus-form-Cy3_segO.js";import{d as D,p as R,a as T,N as X,f as _,b as x,ar as B,w as t,Q as p,g as L,s as Z,i as w,u,dl as A,h as E,t as I,a3 as F,dm as ee,aY as le,n as U,as as y,bn as V,l as S,dn as j,e as ae,k as oe}from"./index-DqH6biyS.js";const te={class:"plus-dialog-body"};var se=D({name:"PlusDialog",inheritAttrs:!1,__name:"index",props:{modelValue:{type:Boolean,default:!1},confirmText:{default:""},cancelText:{default:""},confirmLoading:{type:Boolean,default:!1},hasFooter:{type:Boolean,default:!0},footerAlign:{default:"right"},top:{default:"15vh"},width:{default:"460px"},title:{default:""}},emits:["update:modelValue","cancel","confirm"],setup(g,{emit:b}){const s=g,d=b,n=R(()=>({justifyContent:s.footerAlign==="left"?"flex-start":s.footerAlign==="center"?"center":"flex-end"})),f=T(!1),{t:o}=O();X(()=>{f.value=s.modelValue});const m=()=>{d("confirm")},a=()=>{d("update:modelValue",!1),d("cancel")};return(l,h)=>(_(),x(u(ee),F({modelValue:f.value,"onUpdate:modelValue":h[0]||(h[0]=$=>f.value=$),top:l.top,width:l.width,title:l.title||u(o)("plus.dialog.title"),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":!1,"before-close":a,class:"plus-dialog"},l.$attrs),B({default:t(()=>[L("div",te,[p(l.$slots,"default")])]),_:2},[l.$slots.header?{name:"header",fn:t(()=>[p(l.$slots,"header")]),key:"0"}:void 0,l.hasFooter?{name:"footer",fn:t(()=>[L("div",{class:"plus-dialog-footer",style:Z(n.value)},[p(l.$slots,"footer",{},()=>[w(u(A),{onClick:a},{default:t(()=>[E(I(l.cancelText||u(o)("plus.dialog.cancelText")),1)]),_:1}),w(u(A),{type:"primary",loading:l.confirmLoading,onClick:m},{default:t(()=>[E(I(l.confirmText||u(o)("plus.dialog.confirmText")),1)]),_:1},8,["loading"])])],4)]),key:"1"}:void 0]),1040,["modelValue","top","width","title"]))}}),ne=z(se,[["__file","index.vue"]]);const re=ne;var ie=D({name:"PlusDialogForm",__name:"index",props:{modelValue:{default:()=>({})},visible:{type:Boolean,default:!1},dialog:{default:()=>({})},form:{default:()=>({})},hasErrorTip:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","confirm","change","cancel","confirmError"],setup(g,{expose:b,emit:s}){const d=g,n=s,{t:f}=O(),o=T(),m=R(()=>{var e;return(e=o.value)==null?void 0:e.formInstance}),a=T({}),l=T(!1),h=le(),$=C(h,H()),M=C(h,J()),Q=C(h,K());U(()=>d.visible,e=>{l.value=e},{immediate:!0}),U(()=>d.modelValue,e=>{a.value=e},{immediate:!0});const W=(e,c)=>{n("update:modelValue",e),n("change",e,c)},k=()=>N(this,null,function*(){var e,c,r;try{(yield(e=m.value)==null?void 0:e.validate())&&n("confirm",a.value)}catch(i){if(d.hasErrorTip){j.closeAll();const v=q(i)&&Object.values(i),Y=v?(r=(c=v[0])==null?void 0:c[0])==null?void 0:r.message:void 0;j.warning(Y||f("plus.form.errorTip"))}n("confirmError",i)}}),P=()=>{l.value=!1,n("update:visible",l.value),n("cancel")};return b({handleConfirm:k,handleCancel:P,formInstance:m}),(e,c)=>(_(),x(u(re),F({modelValue:l.value,"onUpdate:modelValue":c[1]||(c[1]=r=>l.value=r),width:"800px",top:"10vh",title:u(f)("plus.dialogForm.title")},e.dialog,{onCancel:P,onConfirm:k}),B({default:t(()=>[w(u(G),F({ref_key:"formInstance",ref:o,modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=r=>a.value=r),"has-footer":!1,"footer-align":"right"},e.form,{onChange:W}),B({_:2},[e.$slots["form-footer"]?{name:"footer",fn:t(r=>[p(e.$slots,"form-footer",y(V(r)))]),key:"0"}:void 0,e.$slots["form-group-header"]?{name:"group-header",fn:t(r=>[p(e.$slots,"form-group-header",y(V(r)))]),key:"1"}:void 0,S(u($),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),S(u(M),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),S(u(Q),(r,i)=>({name:i,fn:t(v=>[p(e.$slots,i,y(V(v)))])})),e.$slots["tooltip-icon"]?{name:"tooltip-icon",fn:t(()=>[p(e.$slots,"tooltip-icon")]),key:"2"}:void 0]),1040,["modelValue"])]),_:2},[e.$slots["dialog-header"]?{name:"header",fn:t(()=>[p(e.$slots,"dialog-header")]),key:"0"}:void 0,e.$slots["dialog-footer"]?{name:"footer",fn:t(()=>[p(e.$slots,"dialog-footer",y(V({handleConfirm:k,handleCancel:P})))]),key:"1"}:void 0]),1040,["modelValue","title"]))}}),ue=z(ie,[["__file","index.vue"]]);const de=ue,be=D({__name:"dialog",setup(g){const b=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"名称最多显示6个字符"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"城市",prop:"city",valueType:"cascader",options:[{value:"0",label:"陕西",children:[{value:"0-0",label:"西安",children:[{value:"0-0-0",label:"新城区"},{value:"0-0-1",label:"高新区"},{value:"0-0-2",label:"灞桥区"}]}]},{value:"1",label:"山西",children:[{value:"1-0",label:"太原",children:[{value:"1-0-0",label:"小店区"},{value:"1-0-1",label:"古交市"},{value:"1-0-2",label:"万柏林区"}]}]}]},{label:"地区",prop:"place",tooltip:"请精确到门牌号",fieldProps:{placeholder:"请精确到门牌号"}},{label:"要求",prop:"demand",valueType:"checkbox",options:[{label:"四六级",value:"0"},{label:"计算机二级证书",value:"1"},{label:"普通话证书",value:"2"}]},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],s=T(!1),d=T({}),n=()=>{s.value=!0};return(f,o)=>{const m=ae("el-button");return _(),oe("div",null,[w(m,{onClick:n},{default:t(()=>o[2]||(o[2]=[E("打开弹窗表单")])),_:1}),w(u(de),{visible:s.value,"onUpdate:visible":o[0]||(o[0]=a=>s.value=a),modelValue:d.value,"onUpdate:modelValue":o[1]||(o[1]=a=>d.value=a),form:{columns:b}},null,8,["visible","modelValue","form"])])}}});export{be as _}; diff --git a/static/js/directives-pQlzCI3f.js b/static/js/directives-BMXUr4UF.js similarity index 96% rename from static/js/directives-pQlzCI3f.js rename to static/js/directives-BMXUr4UF.js index 23a187a454..2f425561c5 100644 --- a/static/js/directives-pQlzCI3f.js +++ b/static/js/directives-BMXUr4UF.js @@ -1 +1 @@ -import{d as K,a as o,b as p,w as s,e as i,A as U,f as v,g as u,i as t,h as l,B as a,k as M,t as B,j as O,J as f}from"./index-AFhnwzwZ.js";const P={class:"card-header"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"mb-2"},Y={class:"mb-2"},Z={class:"text-sky-500"},le=K({name:"Directives",__name:"directives",setup(h){const x=o(""),_=o(""),g=o(""),w=o(""),k=o(""),y=o("copy"),I=o("可复制的文本"),d=o(!1),c=o(""),C=o(0);function z(){f(x.value)}function N(){f(_.value)}function L({name:V,sex:e}){f(`${V}${e}${g.value}`)}function S(){f(w.value)}function j({name:V,sex:e}){f(`${V}${e}${k.value}`)}function A(){d.value=!0}function E(){d.value=!0}function J(){C.value+=1,d.value=!0,c.value=`持续回调${C.value}次`}function R(){d.value=!1,c.value="",C.value=0}return(V,e)=>{const q=i("el-link"),r=i("el-input"),$=i("el-divider"),b=i("el-button"),D=i("el-tag"),G=i("el-space"),H=i("el-card"),m=U("optimize"),F=U("copy"),T=U("longpress");return v(),p(H,{shadow:"never"},{header:s(()=>[u("div",P,[e[7]||(e[7]=u("p",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令",-1)),t(q,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/directives.vue",target:"_blank"},{default:s(()=>e[6]||(e[6]=[l(" 代码位置 src/views/able/directives.vue ")])),_:1})])]),default:s(()=>[u("div",Q,[e[8]||(e[8]=l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) ")),a(t(r,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=n=>x.value=n),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[m,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",W,[e[9]||(e[9]=l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) ")),a(t(r,{modelValue:_.value,"onUpdate:modelValue":e[1]||(e[1]=n=>_.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:N,timeout:400}]])]),u("div",null,[e[10]||(e[10]=l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) ")),a(t(r,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=n=>g.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:L,timeout:400,params:{name:"小明",sex:"男"}}]])]),t($),u("div",X,[e[11]||(e[11]=l(" 节流指令(连续输入,每一秒只会执行一次事件) ")),a(t(r,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=n=>w.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:S,timeout:1e3},"throttle"]])]),u("div",null,[e[12]||(e[12]=l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) ")),a(t(r,{modelValue:k.value,"onUpdate:modelValue":e[4]||(e[4]=n=>k.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:j,params:{name:"小明",sex:"男"}},"throttle"]])]),t($),u("div",Y,[e[13]||(e[13]=l(" 文本复制指令(双击输入框内容即可复制) ")),a(t(r,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=n=>y.value=n),class:"!w-[200px]"},null,8,["modelValue"]),[[F,y.value]])]),u("div",null,[e[14]||(e[14]=l(" 文本复制指令(自定义触发事件,单击复制) ")),a((v(),M("span",Z,[l(B(I.value),1)])),[[F,I.value,"click"]])]),t($),t(G,{wrap:""},{default:s(()=>[e[19]||(e[19]=l(" 长按指令 ")),a((v(),p(b,null,{default:s(()=>e[15]||(e[15]=[l("长按(默认500ms)")])),_:1})),[[T,A]]),a((v(),p(b,null,{default:s(()=>e[16]||(e[16]=[l(" 自定义长按时长(1000ms) ")])),_:1})),[[T,E,"1000"]]),a((v(),p(b,null,{default:s(()=>e[17]||(e[17]=[l(" 2秒后每200ms持续回调 ")])),_:1})),[[T,J,"2000:200"]]),t(b,{onClick:R},{default:s(()=>e[18]||(e[18]=[l(" 重置状态 ")])),_:1}),t(D,{type:d.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(B(d.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),c.value?(v(),p(D,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(B(c.value),1)]),_:1})):O("",!0)]),_:1})]),_:1})}}});export{le as default}; +import{d as K,a as o,b as p,w as s,e as i,A as U,f as v,g as u,i as t,h as l,B as a,k as M,t as B,j as O,J as f}from"./index-DqH6biyS.js";const P={class:"card-header"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"mb-2"},Y={class:"mb-2"},Z={class:"text-sky-500"},le=K({name:"Directives",__name:"directives",setup(h){const x=o(""),_=o(""),g=o(""),w=o(""),k=o(""),y=o("copy"),I=o("可复制的文本"),d=o(!1),c=o(""),C=o(0);function z(){f(x.value)}function N(){f(_.value)}function L({name:V,sex:e}){f(`${V}${e}${g.value}`)}function S(){f(w.value)}function j({name:V,sex:e}){f(`${V}${e}${k.value}`)}function A(){d.value=!0}function E(){d.value=!0}function J(){C.value+=1,d.value=!0,c.value=`持续回调${C.value}次`}function R(){d.value=!1,c.value="",C.value=0}return(V,e)=>{const q=i("el-link"),r=i("el-input"),$=i("el-divider"),b=i("el-button"),D=i("el-tag"),G=i("el-space"),H=i("el-card"),m=U("optimize"),F=U("copy"),T=U("longpress");return v(),p(H,{shadow:"never"},{header:s(()=>[u("div",P,[e[7]||(e[7]=u("p",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令",-1)),t(q,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/directives.vue",target:"_blank"},{default:s(()=>e[6]||(e[6]=[l(" 代码位置 src/views/able/directives.vue ")])),_:1})])]),default:s(()=>[u("div",Q,[e[8]||(e[8]=l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) ")),a(t(r,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=n=>x.value=n),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[m,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",W,[e[9]||(e[9]=l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) ")),a(t(r,{modelValue:_.value,"onUpdate:modelValue":e[1]||(e[1]=n=>_.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:N,timeout:400}]])]),u("div",null,[e[10]||(e[10]=l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) ")),a(t(r,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=n=>g.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:L,timeout:400,params:{name:"小明",sex:"男"}}]])]),t($),u("div",X,[e[11]||(e[11]=l(" 节流指令(连续输入,每一秒只会执行一次事件) ")),a(t(r,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=n=>w.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:S,timeout:1e3},"throttle"]])]),u("div",null,[e[12]||(e[12]=l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) ")),a(t(r,{modelValue:k.value,"onUpdate:modelValue":e[4]||(e[4]=n=>k.value=n),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:j,params:{name:"小明",sex:"男"}},"throttle"]])]),t($),u("div",Y,[e[13]||(e[13]=l(" 文本复制指令(双击输入框内容即可复制) ")),a(t(r,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=n=>y.value=n),class:"!w-[200px]"},null,8,["modelValue"]),[[F,y.value]])]),u("div",null,[e[14]||(e[14]=l(" 文本复制指令(自定义触发事件,单击复制) ")),a((v(),M("span",Z,[l(B(I.value),1)])),[[F,I.value,"click"]])]),t($),t(G,{wrap:""},{default:s(()=>[e[19]||(e[19]=l(" 长按指令 ")),a((v(),p(b,null,{default:s(()=>e[15]||(e[15]=[l("长按(默认500ms)")])),_:1})),[[T,A]]),a((v(),p(b,null,{default:s(()=>e[16]||(e[16]=[l(" 自定义长按时长(1000ms) ")])),_:1})),[[T,E,"1000"]]),a((v(),p(b,null,{default:s(()=>e[17]||(e[17]=[l(" 2秒后每200ms持续回调 ")])),_:1})),[[T,J,"2000:200"]]),t(b,{onClick:R},{default:s(()=>e[18]||(e[18]=[l(" 重置状态 ")])),_:1}),t(D,{type:d.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(B(d.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),c.value?(v(),p(D,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(B(c.value),1)]),_:1})):O("",!0)]),_:1})]),_:1})}}});export{le as default}; diff --git a/static/js/download-Cuew4mgA.js b/static/js/download-KCRd0w4h.js similarity index 98% rename from static/js/download-Cuew4mgA.js rename to static/js/download-KCRd0w4h.js index dcdf8cd6ac..c6cf8bd29f 100644 --- a/static/js/download-Cuew4mgA.js +++ b/static/js/download-KCRd0w4h.js @@ -1 +1 @@ -import{d as L,b as d,w as t,e as n,f as w,g as u,i,h as o,u as s,C as b,D as m,E as q,G as x,H as g}from"./index-AFhnwzwZ.js";const H={class:"flex flex-wrap"},C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAAAwCAYAAABexZu4AAAAAXNSR0IArs4c6QAAC5pJREFUeF7tnQ9wFNUdx7+/vQQsiOb2orHyp0JuQ/1TpFVbS+2I7RS1aqdlKu2oU2WqQvbQFmtrO7QFpp22U0ZhgNuQInXa6rTFKo5oi3XGPzNqiwIWBDTZS2Boi8aQDQxYId7tr/M2CZNc7u69vdtLLrI7k2GG/b3fe+/3Pvu737597/cIRVw1ydaZEWAmE13MwEwCojj5R+PA/B4IxwA6RuD3uPff3UzYRhneU/X++7s7vn/xe0VUHRYJLTDEAqRqk5qV+2q0senbANwKYKZquVxyBHQy0eNw+XEnYfy9FF0jWbZmjT1bVv/hu4wXZDK57st0V42pbjm04Ly3i9FdzjKnr7bPqiJcWKiOYm2ST6cSxHqyZRkocivA5wVvAH7NMRs+raR34+4xNR1jZ1VrJ7Z1Ji46plSmTEJRy36eACnEbgZX+R00Vd2OaSiNX5lMkFOtbtksq4+BF7pN4yqZnOr9gkbQ19uT8AEeAHCjqkLfckRvOI3xGYXKCa+kRehegL8A4CN9sq8A2qOOWb/Kd50BFFAFLYR4qLGHDWLdap0P0G8DGO+CKgi0rsuMN+YTija1XU/sbs6rhPmPTqLhpnK3M1t/CHFui1eMJ44lW29jooeGAwwm3NLdaDySq67aDZ0T3BOH3wJwbqG2cET7fPeC+peGo739dYQQVzDEsWTbZUzuq8MFhEvpqYcbz9+fqz49aX8bhAcV2rLBMY3bFeQCEwkhrlCI61bsHN8zftyLBFwS2GgXVrTHMY2L8onoVmszQHcqtKWwnnX2BewiKdNDGhLOQmOvTE7cDyGuUIhjVurHDP6ZyiAGJFPQg+pW6jGA58rrYscxG2L55HpfDPG8TI+fl7AQ4gqEONrcdialM6+DaKpssIfcJ7wFF7tAfICAA3DpgKtpaWL3HCLUMXMdiOoYqBs0LcW43UkYG/LVF2tKLWLmNdL2SF7uQoilFgxMYERf7HTL/i6Alb56w+5ykLbFMY1/+innQaW5s92eMasOL556OF/ZM9fan9I0vELA2IL6JQ9DCLGf0SlNduQg3sgR/VDbDoALztcO6p6GC1Xjx1LMEk3avyTCDwvoeMYxjWsK1RFCXMoI+Cs7YhDH1rXNZdd9TLW5THRFd2P8ZVX5UuV6vxhqS7P1EOORyJjI9969Y1pHCHGpVg6m/IhBHG1K/ZyYl6h0g4AlXabxCxXZIGX0ZOoaBl8JwuXE2A7CVsc0HlWpI/TEKlYKRmbEINYt+xkAc2TdYGB7t2lcKpOrtPshxMM3IiMD8VLW9LqUWEzTvyYhb48ZtKDbjP9m+EwSTE0hxMHYUUVLMRDrydQsIDOHNS1GzLUgisHlQwy0E1O7y2gvtIiKate1Xeq67msKDTzomMZEBbnARHx8/p6XK7Q4e317XbonczFAM0C8opSG9aRx9rG7jc5+HZU4TxxN2kkQLijUTw042mUaX5HZQvRPJkPsvugkpi8bKKcKcSRSfZObPrGASbuZgLisLoB2gTObsusT5Uh1ao2AzSqdlzdGXSLfC90QDewu7+9cbfP+j3Km56cswAXE3+nqNeaXzP4QUokQqwAkeqiyhFNFV67VaKrlVJax5hmNIV9nSU/aD4CwWDrQA0CRygYkUAzEymV8trEUiH1WBYpgqcogZ8OoAlAlQOzXHtnyDKS6TcPo/3+KJu3fEeFbMsVM2g3djfVPyeSCvK8M5IAHTLmMz4YWC7HPanyJn6oQ9xnpUcc05nnhRKzJ3syM62XW0zTtskML67cVkvMAKvJiihzMfmlUBjKE2LP6qeKJT3pgjW7tWhj/PelN9itgfFbGXkTTGjoX1tv55JSBK1DREM+S5yNHoZhYb7KXglH0w5SveaEnHmqZYmNiGWs+7j/nmMYXSbdSLQA3yApWE9V1NMbfDSHutYDqi53MrqXcP8XDiV7TMV0rZicOAci7jLHfyHoap6XuNk5UPMSq3tsnPaEnDt4TE/A6AzuI+aWMS97GCNJwtWStzOCGMO4XEEt3p4pSThqnYRRALNqaa7u76nrifGxnT7aHnhgoIZz4mwb6ySEzvj2vU7TsbjGUCr5mJ+lWa5eYLpYJZ0/2Z8tXSkycqx8j+cVOZtdS7o/acEJhuja6ru3L5LpPq9iHopZtq3wxyUQQP7LAaKv0cCKEWD7sI/2xAwoQi17oVuurAF0m65EIJ8SC9s/IBDMuLjmyyNgRQuzzxY6wDK7rK8kJk3blh/pjhzLE9p8AfEPGpoD4rwCulQnK9p+F4URuC8rslquUarz9YQ4nej2xfT+Ae2RsUixpP8yEm2WCYLrXScSF0rxXvvxhKi9V3stjVlom5QdD8mSPZEwcQpwDF3VPrLRljqJW62oC3SWHuPhMO8ozICHE3jCEnriXxpjV8lWGtknGJil7O6DVMY3pMoW57ocQ+8uMGULcS5GebJ8DyogNGwUvqrVSl7jggmsi+jUU89PYF9uozUWHnjj0xANw1ZP210GQbkHz3pp1y/6vLN+ZkGOG1Z0wErInI/t+6IlDTzyICeWYuG0+4EqTWvZBrJYuihmdFMFsv1v1Q4hDiIuCONn6HRBJU/d6EEct+xYC/qDoYQvmPQtj4sEWKCYEC2Pi/hc7tbRqHsQ1a/d+TNOqc2amzAWl3yTJoSeuLE9M5E7qapwuQsi8l8qYFb12QjGciFn2DgY+KXOuJ78kRS17LQHK8a7ogKZpa7oW1j8uq0TFIEJHueaJo02pz4mVUrJ2QpIOa2B5VW85zJ5Y7FofL+unSptUxqycEOtrW78EjVTOczl6EmJ9tX0BqrDV/8ZKeo3ALQzaT8StYPdthhZlUBTgKBhTiGDKDFtOiGut9ukuMiJZt+wSCVkulwn1hWAVd2aHbqX2qZ2rQiscM/6DfP3Um+yrwdgis0MpEFf/7/iKQidoKe/9BHYO+qYfs+xfMXCfrPHlul8uTzyhuaW2OqOd3G4vaf/LGvBrYtrbmYinvHNLTmCys8j4R+V7YrUFM14/2F2uRaqeihw99qY77owJGUqLQ4XEAyyS6EiXIXgqchwgo+LB++x4kEBPZjL8Z1Sl94tE67GmFpESYiKY5jNooRJnTM2DII6u2j2Fxpy2FeBzlBQELFQuiEUzfRg3d6+y4rhKDCdE3gnVX70ghq5EiINoAth1rxuyusrnTEUgDelXUmaIN5Z0CtRogFh2SE+go1WyJw6iNe2OadTnXCIYs+wEA2uDqMWPjnJCHLVSdxK42U97BsmOBoi9ROnubhAmFd1PHwUrwBMvdkxjVd51rjHL/hEDw5r9spwQn/Hgv/WqnuNvqHyZzDmOowBiL2xqsheDvbMHy36NJMQMeqLbjH9NdLLwYYyWfaOXHUhhS3/JFmPe5CQaBp3Pobw4SXHeMdpk30yMh4tq6yiBuC/+Ly10GmggRgcIdbls5h9iehrg64qy/+BCe6BhXv+XY6UdB97T7eKeMv1MPZZJ474jdw/d+hQ0xN4AJ+05IIiE4v5ytI0iiAMC+TjAawESx8GJh2LI5R9izBNHVzBhCRgfLxLmQQBLPfHASsTB09URnktEwltKcxlLGriFiZ+PUOS5QlmF+hazi4Ma8x7G6K3nICRUE26LdkXXvPkJqqoSJ6beBHEojsqVBXHMsp9k4AZZUdkG21zlVXXL9sr1JYsUefamyNo54P4eAM8yIg91m9N2eZlFP8i8kxPiHAvCCs4CVWOyc4fxHxHaRXqO30HgbwKketj9QbC7Xqsa25x9MLuSJ87ugAB6rOZewRSZxuBpBExjwlkERAUj3p/3M8QdAL3DQAeBO5h4ezrjPnt00fldPoxaNtGalftqImN7ZgPa5Sz6AHh9AZAB0AJGi0gsThG84HfRU9kaXYRiXYSFvXPAE8E8EUTnEjCRAbHTvb03D3Bmnwt64nCi4V9FVFF0EW+5JTDL+5UXfy4me/+e5EfbC3L/kuHjzx0xZ4ht/EOu/wNFbO2YhmAeMQAAAABJRU5ErkJggg==",h=L({name:"Download",__name:"download",setup(M){function E(){x.get("https://xiaoxian521.github.io/hyperlink/img/pure.png",{responseType:"blob"}).then(({data:A})=>{g(A,"test-data.png")})}return(A,e)=>{const l=n("el-link"),a=n("el-button"),p=n("el-card");return w(),d(p,{shadow:"never"},{header:t(()=>[e[4]||(e[4]=u("p",{class:"font-medium"},"文件下载功能",-1)),i(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/download.vue",target:"_blank"},{default:t(()=>e[3]||(e[3]=[o(" 代码位置 src/views/able/download.vue ")])),_:1})]),default:t(()=>[u("div",H,[i(a,{onClick:e[0]||(e[0]=r=>s(b)("https://xiaoxian521.github.io/hyperlink/img/pure.png","test-url.png"))},{default:t(()=>e[5]||(e[5]=[o(" 下载在线图片 ")])),_:1}),i(a,{onClick:e[1]||(e[1]=r=>s(m)(C,"test-base64.png"))},{default:t(()=>e[6]||(e[6]=[o(" 基于 base64 下载图片 ")])),_:1}),i(a,{onClick:e[2]||(e[2]=r=>s(q)("https://github.com/xiaoxian521/xiaoxian521/archive/refs/heads/main.zip","xiaoxian521.zip"))},{default:t(()=>e[7]||(e[7]=[o(" 根据文件地址下载文件 ")])),_:1}),i(a,{onClick:E},{default:t(()=>e[8]||(e[8]=[o(" 根据后台接口文件流下载 ")])),_:1})])]),_:1})}}});export{h as default}; +import{d as L,b as d,w as t,e as n,f as w,g as u,i,h as o,u as s,C as b,D as m,E as q,G as x,H as g}from"./index-DqH6biyS.js";const H={class:"flex flex-wrap"},C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAAAwCAYAAABexZu4AAAAAXNSR0IArs4c6QAAC5pJREFUeF7tnQ9wFNUdx7+/vQQsiOb2orHyp0JuQ/1TpFVbS+2I7RS1aqdlKu2oU2WqQvbQFmtrO7QFpp22U0ZhgNuQInXa6rTFKo5oi3XGPzNqiwIWBDTZS2Boi8aQDQxYId7tr/M2CZNc7u69vdtLLrI7k2GG/b3fe+/3Pvu737597/cIRVw1ydaZEWAmE13MwEwCojj5R+PA/B4IxwA6RuD3uPff3UzYRhneU/X++7s7vn/xe0VUHRYJLTDEAqRqk5qV+2q0senbANwKYKZquVxyBHQy0eNw+XEnYfy9FF0jWbZmjT1bVv/hu4wXZDK57st0V42pbjm04Ly3i9FdzjKnr7bPqiJcWKiOYm2ST6cSxHqyZRkocivA5wVvAH7NMRs+raR34+4xNR1jZ1VrJ7Z1Ji46plSmTEJRy36eACnEbgZX+R00Vd2OaSiNX5lMkFOtbtksq4+BF7pN4yqZnOr9gkbQ19uT8AEeAHCjqkLfckRvOI3xGYXKCa+kRehegL8A4CN9sq8A2qOOWb/Kd50BFFAFLYR4qLGHDWLdap0P0G8DGO+CKgi0rsuMN+YTija1XU/sbs6rhPmPTqLhpnK3M1t/CHFui1eMJ44lW29jooeGAwwm3NLdaDySq67aDZ0T3BOH3wJwbqG2cET7fPeC+peGo739dYQQVzDEsWTbZUzuq8MFhEvpqYcbz9+fqz49aX8bhAcV2rLBMY3bFeQCEwkhrlCI61bsHN8zftyLBFwS2GgXVrTHMY2L8onoVmszQHcqtKWwnnX2BewiKdNDGhLOQmOvTE7cDyGuUIhjVurHDP6ZyiAGJFPQg+pW6jGA58rrYscxG2L55HpfDPG8TI+fl7AQ4gqEONrcdialM6+DaKpssIfcJ7wFF7tAfICAA3DpgKtpaWL3HCLUMXMdiOoYqBs0LcW43UkYG/LVF2tKLWLmNdL2SF7uQoilFgxMYERf7HTL/i6Alb56w+5ykLbFMY1/+innQaW5s92eMasOL556OF/ZM9fan9I0vELA2IL6JQ9DCLGf0SlNduQg3sgR/VDbDoALztcO6p6GC1Xjx1LMEk3avyTCDwvoeMYxjWsK1RFCXMoI+Cs7YhDH1rXNZdd9TLW5THRFd2P8ZVX5UuV6vxhqS7P1EOORyJjI9969Y1pHCHGpVg6m/IhBHG1K/ZyYl6h0g4AlXabxCxXZIGX0ZOoaBl8JwuXE2A7CVsc0HlWpI/TEKlYKRmbEINYt+xkAc2TdYGB7t2lcKpOrtPshxMM3IiMD8VLW9LqUWEzTvyYhb48ZtKDbjP9m+EwSTE0hxMHYUUVLMRDrydQsIDOHNS1GzLUgisHlQwy0E1O7y2gvtIiKate1Xeq67msKDTzomMZEBbnARHx8/p6XK7Q4e317XbonczFAM0C8opSG9aRx9rG7jc5+HZU4TxxN2kkQLijUTw042mUaX5HZQvRPJkPsvugkpi8bKKcKcSRSfZObPrGASbuZgLisLoB2gTObsusT5Uh1ao2AzSqdlzdGXSLfC90QDewu7+9cbfP+j3Km56cswAXE3+nqNeaXzP4QUokQqwAkeqiyhFNFV67VaKrlVJax5hmNIV9nSU/aD4CwWDrQA0CRygYkUAzEymV8trEUiH1WBYpgqcogZ8OoAlAlQOzXHtnyDKS6TcPo/3+KJu3fEeFbMsVM2g3djfVPyeSCvK8M5IAHTLmMz4YWC7HPanyJn6oQ9xnpUcc05nnhRKzJ3syM62XW0zTtskML67cVkvMAKvJiihzMfmlUBjKE2LP6qeKJT3pgjW7tWhj/PelN9itgfFbGXkTTGjoX1tv55JSBK1DREM+S5yNHoZhYb7KXglH0w5SveaEnHmqZYmNiGWs+7j/nmMYXSbdSLQA3yApWE9V1NMbfDSHutYDqi53MrqXcP8XDiV7TMV0rZicOAci7jLHfyHoap6XuNk5UPMSq3tsnPaEnDt4TE/A6AzuI+aWMS97GCNJwtWStzOCGMO4XEEt3p4pSThqnYRRALNqaa7u76nrifGxnT7aHnhgoIZz4mwb6ySEzvj2vU7TsbjGUCr5mJ+lWa5eYLpYJZ0/2Z8tXSkycqx8j+cVOZtdS7o/acEJhuja6ru3L5LpPq9iHopZtq3wxyUQQP7LAaKv0cCKEWD7sI/2xAwoQi17oVuurAF0m65EIJ8SC9s/IBDMuLjmyyNgRQuzzxY6wDK7rK8kJk3blh/pjhzLE9p8AfEPGpoD4rwCulQnK9p+F4URuC8rslquUarz9YQ4nej2xfT+Ae2RsUixpP8yEm2WCYLrXScSF0rxXvvxhKi9V3stjVlom5QdD8mSPZEwcQpwDF3VPrLRljqJW62oC3SWHuPhMO8ozICHE3jCEnriXxpjV8lWGtknGJil7O6DVMY3pMoW57ocQ+8uMGULcS5GebJ8DyogNGwUvqrVSl7jggmsi+jUU89PYF9uozUWHnjj0xANw1ZP210GQbkHz3pp1y/6vLN+ZkGOG1Z0wErInI/t+6IlDTzyICeWYuG0+4EqTWvZBrJYuihmdFMFsv1v1Q4hDiIuCONn6HRBJU/d6EEct+xYC/qDoYQvmPQtj4sEWKCYEC2Pi/hc7tbRqHsQ1a/d+TNOqc2amzAWl3yTJoSeuLE9M5E7qapwuQsi8l8qYFb12QjGciFn2DgY+KXOuJ78kRS17LQHK8a7ogKZpa7oW1j8uq0TFIEJHueaJo02pz4mVUrJ2QpIOa2B5VW85zJ5Y7FofL+unSptUxqycEOtrW78EjVTOczl6EmJ9tX0BqrDV/8ZKeo3ALQzaT8StYPdthhZlUBTgKBhTiGDKDFtOiGut9ukuMiJZt+wSCVkulwn1hWAVd2aHbqX2qZ2rQiscM/6DfP3Um+yrwdgis0MpEFf/7/iKQidoKe/9BHYO+qYfs+xfMXCfrPHlul8uTzyhuaW2OqOd3G4vaf/LGvBrYtrbmYinvHNLTmCys8j4R+V7YrUFM14/2F2uRaqeihw99qY77owJGUqLQ4XEAyyS6EiXIXgqchwgo+LB++x4kEBPZjL8Z1Sl94tE67GmFpESYiKY5jNooRJnTM2DII6u2j2Fxpy2FeBzlBQELFQuiEUzfRg3d6+y4rhKDCdE3gnVX70ghq5EiINoAth1rxuyusrnTEUgDelXUmaIN5Z0CtRogFh2SE+go1WyJw6iNe2OadTnXCIYs+wEA2uDqMWPjnJCHLVSdxK42U97BsmOBoi9ROnubhAmFd1PHwUrwBMvdkxjVd51rjHL/hEDw5r9spwQn/Hgv/WqnuNvqHyZzDmOowBiL2xqsheDvbMHy36NJMQMeqLbjH9NdLLwYYyWfaOXHUhhS3/JFmPe5CQaBp3Pobw4SXHeMdpk30yMh4tq6yiBuC/+Ly10GmggRgcIdbls5h9iehrg64qy/+BCe6BhXv+XY6UdB97T7eKeMv1MPZZJ474jdw/d+hQ0xN4AJ+05IIiE4v5ytI0iiAMC+TjAawESx8GJh2LI5R9izBNHVzBhCRgfLxLmQQBLPfHASsTB09URnktEwltKcxlLGriFiZ+PUOS5QlmF+hazi4Ma8x7G6K3nICRUE26LdkXXvPkJqqoSJ6beBHEojsqVBXHMsp9k4AZZUdkG21zlVXXL9sr1JYsUefamyNo54P4eAM8yIg91m9N2eZlFP8i8kxPiHAvCCs4CVWOyc4fxHxHaRXqO30HgbwKketj9QbC7Xqsa25x9MLuSJ87ugAB6rOZewRSZxuBpBExjwlkERAUj3p/3M8QdAL3DQAeBO5h4ezrjPnt00fldPoxaNtGalftqImN7ZgPa5Sz6AHh9AZAB0AJGi0gsThG84HfRU9kaXYRiXYSFvXPAE8E8EUTnEjCRAbHTvb03D3Bmnwt64nCi4V9FVFF0EW+5JTDL+5UXfy4me/+e5EfbC3L/kuHjzx0xZ4ht/EOu/wNFbO2YhmAeMQAAAABJRU5ErkJggg==",h=L({name:"Download",__name:"download",setup(M){function E(){x.get("https://xiaoxian521.github.io/hyperlink/img/pure.png",{responseType:"blob"}).then(({data:A})=>{g(A,"test-data.png")})}return(A,e)=>{const l=n("el-link"),a=n("el-button"),p=n("el-card");return w(),d(p,{shadow:"never"},{header:t(()=>[e[4]||(e[4]=u("p",{class:"font-medium"},"文件下载功能",-1)),i(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/download.vue",target:"_blank"},{default:t(()=>e[3]||(e[3]=[o(" 代码位置 src/views/able/download.vue ")])),_:1})]),default:t(()=>[u("div",H,[i(a,{onClick:e[0]||(e[0]=r=>s(b)("https://xiaoxian521.github.io/hyperlink/img/pure.png","test-url.png"))},{default:t(()=>e[5]||(e[5]=[o(" 下载在线图片 ")])),_:1}),i(a,{onClick:e[1]||(e[1]=r=>s(m)(C,"test-base64.png"))},{default:t(()=>e[6]||(e[6]=[o(" 基于 base64 下载图片 ")])),_:1}),i(a,{onClick:e[2]||(e[2]=r=>s(q)("https://github.com/xiaoxian521/xiaoxian521/archive/refs/heads/main.zip","xiaoxian521.zip"))},{default:t(()=>e[7]||(e[7]=[o(" 根据文件地址下载文件 ")])),_:1}),i(a,{onClick:E},{default:t(()=>e[8]||(e[8]=[o(" 根据后台接口文件流下载 ")])),_:1})])]),_:1})}}});export{h as default}; diff --git a/static/js/draggable-BufJXA4z.js b/static/js/draggable-BLR7jlvm.js similarity index 99% rename from static/js/draggable-BufJXA4z.js rename to static/js/draggable-BLR7jlvm.js index 8e3327e1ac..da4c0b4715 100644 --- a/static/js/draggable-BufJXA4z.js +++ b/static/js/draggable-BLR7jlvm.js @@ -1,4 +1,4 @@ -var cn=Object.defineProperty,fn=Object.defineProperties;var hn=Object.getOwnPropertyDescriptors;var yt=Object.getOwnPropertySymbols;var pn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var _t=(t,e,n)=>e in t?cn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,K=(t,e)=>{for(var n in e||(e={}))pn.call(e,n)&&_t(t,n,e[n]);if(yt)for(var n of yt(e))mn.call(e,n)&&_t(t,n,e[n]);return t},Ee=(t,e)=>fn(t,hn(e));import{S as Et,a as gn}from"./sortable.esm-Br3T5NCo.js";import{e as De,K as vn,d as Yt,L as Dt,y as Vt,a as Ze,m as bn,b as wn,w as I,f as Qe,g as M,h as Je,i as V,u as St,v as yn,t as ke,k as Ct,l as _n,F as En,_ as Dn}from"./index-AFhnwzwZ.js";import{u as xt}from"./app-Cp1TpsuP.js";/**! +var cn=Object.defineProperty,fn=Object.defineProperties;var hn=Object.getOwnPropertyDescriptors;var yt=Object.getOwnPropertySymbols;var pn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var _t=(t,e,n)=>e in t?cn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,K=(t,e)=>{for(var n in e||(e={}))pn.call(e,n)&&_t(t,n,e[n]);if(yt)for(var n of yt(e))mn.call(e,n)&&_t(t,n,e[n]);return t},Ee=(t,e)=>fn(t,hn(e));import{S as Et,a as gn}from"./sortable.esm-Br3T5NCo.js";import{e as De,K as vn,d as Yt,L as Dt,y as Vt,a as Ze,m as bn,b as wn,w as I,f as Qe,g as M,h as Je,i as V,u as St,v as yn,t as ke,k as Ct,l as _n,F as En,_ as Dn}from"./index-DqH6biyS.js";import{u as xt}from"./app-6x4i1wLO.js";/**! * Sortable 1.14.0 * @author RubaXa * @author owenm diff --git a/static/js/drawer-ChIxO17M.js b/static/js/drawer-ChIxO17M.js new file mode 100644 index 0000000000..672496f4ff --- /dev/null +++ b/static/js/drawer-ChIxO17M.js @@ -0,0 +1 @@ +import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js";import"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import"./plus-form-Cy3_segO.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/drawer-drbuq3ka.js b/static/js/drawer-drbuq3ka.js deleted file mode 100644 index f80b73b793..0000000000 --- a/static/js/drawer-drbuq3ka.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js";import"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import"./plus-form-kZ-6J13C.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js b/static/js/drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js similarity index 97% rename from static/js/drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js rename to static/js/drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js index 111cb9f4de..f263a9f089 100644 --- a/static/js/drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js +++ b/static/js/drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js @@ -1 +1 @@ -var S=(g,h,n)=>new Promise((d,r)=>{var v=l=>{try{p(n.next(l))}catch(m){r(m)}},s=l=>{try{p(n.throw(l))}catch(m){r(m)}},p=l=>l.done?d(l.value):Promise.resolve(l.value).then(v,s);p((n=n.apply(g,h)).next())});import{b as M,_ as Q}from"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import{u as W,f as $,P as Y,g as q,a as G,b as H}from"./plus-form-kZ-6J13C.js";import{d as D,a as b,p as J,aY as K,n as B,f as x,b as X,ar as E,w as o,Q as c,g as Z,as as T,bn as V,i as y,u as t,dl as I,h as C,t as z,a3 as L,l as _,dp as ee,dn as N,e as le,k as ae}from"./index-AFhnwzwZ.js";const oe={class:"plus-drawer-form__footer"};var re=D({name:"PlusDrawerForm",__name:"index",props:{modelValue:{default:()=>({})},visible:{type:Boolean,default:!1},drawer:{default:()=>({})},size:{default:"540px"},form:{default:()=>({})},hasFooter:{type:Boolean,default:!0},cancelText:{default:""},confirmText:{default:""},confirmLoading:{type:Boolean,default:!1},hasErrorTip:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","confirm","change","cancel","confirmError"],setup(g,{expose:h,emit:n}){const d=g,r=n,{t:v}=W(),s=b(null),p=J(()=>{var e;return(e=s.value)==null?void 0:e.formInstance}),l=b(),m=b({}),w=b(!1),k=K(),U=$(k,q()),O=$(k,G()),R=$(k,H());B(()=>d.visible,e=>{w.value=e},{immediate:!0}),B(()=>d.modelValue,e=>{m.value=e},{immediate:!0});const j=(e,i)=>{r("update:modelValue",e),r("change",e,i)},F=()=>S(this,null,function*(){var e,i,u;try{(yield(e=p.value)==null?void 0:e.validate())&&r("confirm",m.value)}catch(a){if(d.hasErrorTip){N.closeAll();const f=M(a)&&Object.values(a),A=f?(u=(i=f[0])==null?void 0:i[0])==null?void 0:u.message:void 0;N.warning(A||v("plus.form.errorTip"))}r("confirmError",a)}}),P=()=>{w.value=!1,r("update:visible",w.value),r("cancel")};return h({drawerInstance:l,formInstance:p}),(e,i)=>(x(),X(t(ee),L({ref_key:"drawerInstance",ref:l,modelValue:w.value,"onUpdate:modelValue":i[1]||(i[1]=u=>w.value=u),class:"plus-drawer-form",size:e.size||"540px",title:t(v)("plus.drawerForm.title"),"close-on-click-modal":!1,"close-on-press-escape":!1},e.$attrs,{onClose:P}),E({default:o(()=>[y(t(Y),L({ref_key:"formInstance",ref:s,modelValue:m.value,"onUpdate:modelValue":i[0]||(i[0]=u=>m.value=u),"has-footer":!1},e.form,{onChange:j}),E({_:2},[e.$slots["form-footer"]?{name:"footer",fn:o(()=>[c(e.$slots,"form-footer")]),key:"0"}:void 0,e.$slots["form-group-header"]?{name:"group-header",fn:o(()=>[c(e.$slots,"form-group-header")]),key:"1"}:void 0,_(t(U),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),_(t(O),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),_(t(R),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),e.$slots["tooltip-icon"]?{name:"tooltip-icon",fn:o(()=>[c(e.$slots,"tooltip-icon")]),key:"2"}:void 0]),1040,["modelValue"])]),_:2},[e.$slots["drawer-header"]?{name:"header",fn:o(()=>[c(e.$slots,"drawer-header")]),key:"0"}:void 0,e.hasFooter?{name:"footer",fn:o(()=>[Z("div",oe,[c(e.$slots,"drawer-footer",T(V({handleConfirm:F,handleCancel:P})),()=>[y(t(I),{onClick:P},{default:o(()=>[C(z(e.cancelText||t(v)("plus.drawerForm.cancelText")),1)]),_:1}),y(t(I),{type:"primary",loading:e.confirmLoading,onClick:F},{default:o(()=>[C(z(e.confirmText||t(v)("plus.drawerForm.confirmText")),1)]),_:1},8,["loading"])])])]),key:"1"}:void 0]),1040,["modelValue","size","title"]))}}),se=Q(re,[["__file","index.vue"]]);const te=se,me=D({__name:"drawer",setup(g){const h=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"名称最多显示6个字符"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"城市",prop:"city",valueType:"cascader",options:[{value:"0",label:"陕西",children:[{value:"0-0",label:"西安",children:[{value:"0-0-0",label:"新城区"},{value:"0-0-1",label:"高新区"},{value:"0-0-2",label:"灞桥区"}]}]},{value:"1",label:"山西",children:[{value:"1-0",label:"太原",children:[{value:"1-0-0",label:"小店区"},{value:"1-0-1",label:"古交市"},{value:"1-0-2",label:"万柏林区"}]}]}]},{label:"地区",prop:"place",tooltip:"请精确到门牌号",fieldProps:{placeholder:"请精确到门牌号"}},{label:"要求",prop:"demand",valueType:"checkbox",options:[{label:"四六级",value:"0"},{label:"计算机二级证书",value:"1"},{label:"普通话证书",value:"2"}]},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],n=b(!1),d=b({}),r=()=>{n.value=!0};return(v,s)=>{const p=le("el-button");return x(),ae("div",null,[y(p,{onClick:r},{default:o(()=>s[2]||(s[2]=[C("打开抽屉表单")])),_:1}),y(t(te),{visible:n.value,"onUpdate:visible":s[0]||(s[0]=l=>n.value=l),modelValue:d.value,"onUpdate:modelValue":s[1]||(s[1]=l=>d.value=l),form:{columns:h}},null,8,["visible","modelValue","form"])])}}});export{me as _}; +var S=(g,h,n)=>new Promise((d,r)=>{var v=l=>{try{p(n.next(l))}catch(m){r(m)}},s=l=>{try{p(n.throw(l))}catch(m){r(m)}},p=l=>l.done?d(l.value):Promise.resolve(l.value).then(v,s);p((n=n.apply(g,h)).next())});import{b as M,_ as Q}from"./_plugin-vue_export-helper-C_DISmKY.js";/* empty css */import{u as W,f as $,P as Y,g as q,a as G,b as H}from"./plus-form-Cy3_segO.js";import{d as D,a as b,p as J,aY as K,n as B,f as x,b as X,ar as E,w as o,Q as c,g as Z,as as T,bn as V,i as y,u as t,dl as I,h as C,t as z,a3 as L,l as _,dp as ee,dn as N,e as le,k as ae}from"./index-DqH6biyS.js";const oe={class:"plus-drawer-form__footer"};var re=D({name:"PlusDrawerForm",__name:"index",props:{modelValue:{default:()=>({})},visible:{type:Boolean,default:!1},drawer:{default:()=>({})},size:{default:"540px"},form:{default:()=>({})},hasFooter:{type:Boolean,default:!0},cancelText:{default:""},confirmText:{default:""},confirmLoading:{type:Boolean,default:!1},hasErrorTip:{type:Boolean,default:!0}},emits:["update:modelValue","update:visible","confirm","change","cancel","confirmError"],setup(g,{expose:h,emit:n}){const d=g,r=n,{t:v}=W(),s=b(null),p=J(()=>{var e;return(e=s.value)==null?void 0:e.formInstance}),l=b(),m=b({}),w=b(!1),k=K(),U=$(k,q()),O=$(k,G()),R=$(k,H());B(()=>d.visible,e=>{w.value=e},{immediate:!0}),B(()=>d.modelValue,e=>{m.value=e},{immediate:!0});const j=(e,i)=>{r("update:modelValue",e),r("change",e,i)},F=()=>S(this,null,function*(){var e,i,u;try{(yield(e=p.value)==null?void 0:e.validate())&&r("confirm",m.value)}catch(a){if(d.hasErrorTip){N.closeAll();const f=M(a)&&Object.values(a),A=f?(u=(i=f[0])==null?void 0:i[0])==null?void 0:u.message:void 0;N.warning(A||v("plus.form.errorTip"))}r("confirmError",a)}}),P=()=>{w.value=!1,r("update:visible",w.value),r("cancel")};return h({drawerInstance:l,formInstance:p}),(e,i)=>(x(),X(t(ee),L({ref_key:"drawerInstance",ref:l,modelValue:w.value,"onUpdate:modelValue":i[1]||(i[1]=u=>w.value=u),class:"plus-drawer-form",size:e.size||"540px",title:t(v)("plus.drawerForm.title"),"close-on-click-modal":!1,"close-on-press-escape":!1},e.$attrs,{onClose:P}),E({default:o(()=>[y(t(Y),L({ref_key:"formInstance",ref:s,modelValue:m.value,"onUpdate:modelValue":i[0]||(i[0]=u=>m.value=u),"has-footer":!1},e.form,{onChange:j}),E({_:2},[e.$slots["form-footer"]?{name:"footer",fn:o(()=>[c(e.$slots,"form-footer")]),key:"0"}:void 0,e.$slots["form-group-header"]?{name:"group-header",fn:o(()=>[c(e.$slots,"form-group-header")]),key:"1"}:void 0,_(t(U),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),_(t(O),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),_(t(R),(u,a)=>({name:a,fn:o(f=>[c(e.$slots,a,T(V(f)))])})),e.$slots["tooltip-icon"]?{name:"tooltip-icon",fn:o(()=>[c(e.$slots,"tooltip-icon")]),key:"2"}:void 0]),1040,["modelValue"])]),_:2},[e.$slots["drawer-header"]?{name:"header",fn:o(()=>[c(e.$slots,"drawer-header")]),key:"0"}:void 0,e.hasFooter?{name:"footer",fn:o(()=>[Z("div",oe,[c(e.$slots,"drawer-footer",T(V({handleConfirm:F,handleCancel:P})),()=>[y(t(I),{onClick:P},{default:o(()=>[C(z(e.cancelText||t(v)("plus.drawerForm.cancelText")),1)]),_:1}),y(t(I),{type:"primary",loading:e.confirmLoading,onClick:F},{default:o(()=>[C(z(e.confirmText||t(v)("plus.drawerForm.confirmText")),1)]),_:1},8,["loading"])])])]),key:"1"}:void 0]),1040,["modelValue","size","title"]))}}),se=Q(re,[["__file","index.vue"]]);const te=se,me=D({__name:"drawer",setup(g){const h=[{label:"名称",width:120,prop:"name",valueType:"copy",tooltip:"名称最多显示6个字符"},{label:"状态",width:120,prop:"status",valueType:"select",options:[{label:"未解决",value:"0",color:"red"},{label:"已解决",value:"1",color:"blue"},{label:"解决中",value:"2",color:"yellow"},{label:"失败",value:"3",color:"red"}]},{label:"是否显示",width:100,prop:"switch",valueType:"switch"},{label:"时间",prop:"time",valueType:"date-picker"},{label:"数量",prop:"number",valueType:"input-number",fieldProps:{precision:2,step:2}},{label:"城市",prop:"city",valueType:"cascader",options:[{value:"0",label:"陕西",children:[{value:"0-0",label:"西安",children:[{value:"0-0-0",label:"新城区"},{value:"0-0-1",label:"高新区"},{value:"0-0-2",label:"灞桥区"}]}]},{value:"1",label:"山西",children:[{value:"1-0",label:"太原",children:[{value:"1-0-0",label:"小店区"},{value:"1-0-1",label:"古交市"},{value:"1-0-2",label:"万柏林区"}]}]}]},{label:"地区",prop:"place",tooltip:"请精确到门牌号",fieldProps:{placeholder:"请精确到门牌号"}},{label:"要求",prop:"demand",valueType:"checkbox",options:[{label:"四六级",value:"0"},{label:"计算机二级证书",value:"1"},{label:"普通话证书",value:"2"}]},{label:"梦想",prop:"gift",valueType:"radio",options:[{label:"诗",value:"0"},{label:"远方",value:"1"},{label:"美食",value:"2"}]},{label:"到期时间",prop:"endTime",valueType:"date-picker",fieldProps:{type:"datetimerange",startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"}},{label:"说明",prop:"desc",valueType:"textarea",fieldProps:{maxlength:10,showWordLimit:!0,autosize:{minRows:2,maxRows:4}}}],n=b(!1),d=b({}),r=()=>{n.value=!0};return(v,s)=>{const p=le("el-button");return x(),ae("div",null,[y(p,{onClick:r},{default:o(()=>s[2]||(s[2]=[C("打开抽屉表单")])),_:1}),y(t(te),{visible:n.value,"onUpdate:visible":s[0]||(s[0]=l=>n.value=l),modelValue:d.value,"onUpdate:modelValue":s[1]||(s[1]=l=>d.value=l),form:{columns:h}},null,8,["visible","modelValue","form"])])}}});export{me as _}; diff --git a/static/js/edit-DrDRbIlR.js b/static/js/edit-BO0V0Szo.js similarity index 79% rename from static/js/edit-DrDRbIlR.js rename to static/js/edit-BO0V0Szo.js index 043e0ca672..486262dd44 100644 --- a/static/js/edit-DrDRbIlR.js +++ b/static/js/edit-BO0V0Szo.js @@ -1,2 +1,2 @@ -import{list as g}from"./list-BQH5nk9p.js";import{d as h,a as x,b as l,w as t,e as a,A as w,f as o,g as d,h as n,i as r,k as _,l as C,B,t as T,U as D,j as N,u as V,F as z,_ as E}from"./index-AFhnwzwZ.js";import"./index-BAq3q9Qe.js";import"./columns-DtrYk2Vx.js";import"./data-Dd4sCrbk.js";import"./hooks-CaC3u4N2.js";import"./plus-C98eNXam.js";import"./delete-Ce0TSdK5.js";import"./index.vue_vue_type_script_setup_true_lang-Bq4tmEcf.js";import"./columns-oRfGlFDG.js";import"./index.vue_vue_type_script_setup_true_lang-B0q0buFC.js";import"./columns-DK0OQsND.js";import"./edit-pen-Ci7W0xNM.js";import"./check-CIQVCvCT.js";const F={class:"card-header"},S={class:"font-medium"},$=h({name:"PureTableEdit",__name:"edit",setup(j){const i=x(0);function u({index:p}){i.value=p}return(p,e)=>{const m=a("el-link"),b=a("el-alert"),f=a("el-tab-pane"),k=a("el-tabs"),v=a("el-card"),y=w("tippy");return o(),l(v,{shadow:"never"},{header:t(()=>[d("div",F,[d("span",S,[e[1]||(e[1]=n(" 可编辑用法全部采用 TSX 语法,充分发挥 ")),r(m,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[n(" @pureadmin/table ")])),_:1}),e[2]||(e[2]=n(" 的灵活性,维护整体表格只需操作 columns 配置即可 "))])]),r(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/edit",target:"_blank"},{default:t(()=>e[3]||(e[3]=[n(" 代码位置 src/views/table/edit ")])),_:1})]),default:t(()=>[r(b,{title:`可编辑用法中所有表格都设置了 row-key ,它是唯一值的字段,比如id。作用:1. 用来优化 Table +import{list as g}from"./list-VPZJ20Sx.js";import{d as h,a as x,b as l,w as t,e as a,A as w,f as o,g as d,h as n,i as r,k as _,l as C,B,t as T,U as D,j as N,u as V,F as z,_ as E}from"./index-DqH6biyS.js";import"./index-B44tj9fy.js";import"./columns-z4dZqzYq.js";import"./data-Dd4sCrbk.js";import"./hooks-BoDRUKFd.js";import"./plus-C98eNXam.js";import"./delete-Ce0TSdK5.js";import"./index.vue_vue_type_script_setup_true_lang-DfmTAWWm.js";import"./columns-DTyfIJ71.js";import"./index.vue_vue_type_script_setup_true_lang-BYnDJUy8.js";import"./columns-BWE-vVXR.js";import"./edit-pen-Ci7W0xNM.js";import"./check-CIQVCvCT.js";const F={class:"card-header"},S={class:"font-medium"},$=h({name:"PureTableEdit",__name:"edit",setup(j){const i=x(0);function u({index:p}){i.value=p}return(p,e)=>{const m=a("el-link"),b=a("el-alert"),f=a("el-tab-pane"),k=a("el-tabs"),v=a("el-card"),y=w("tippy");return o(),l(v,{shadow:"never"},{header:t(()=>[d("div",F,[d("span",S,[e[1]||(e[1]=n(" 可编辑用法全部采用 TSX 语法,充分发挥 ")),r(m,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[n(" @pureadmin/table ")])),_:1}),e[2]||(e[2]=n(" 的灵活性,维护整体表格只需操作 columns 配置即可 "))])]),r(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/edit",target:"_blank"},{default:t(()=>e[3]||(e[3]=[n(" 代码位置 src/views/table/edit ")])),_:1})]),default:t(()=>[r(b,{title:`可编辑用法中所有表格都设置了 row-key ,它是唯一值的字段,比如id。作用:1. 用来优化 Table 的渲染,尤其当字段在深层结构中;2. 防止拖拽后表格组件内部混乱(拖拽必须设置)`,type:"info",closable:!1}),r(k,{onTabClick:u},{default:t(()=>[(o(!0),_(z,null,C(V(g),(s,c)=>(o(),l(f,{key:s.key,lazy:!0},{label:t(()=>[B((o(),_("span",null,[n(T(s.title),1)])),[[y,{maxWidth:"none",content:`(第 ${c+1} 个示例)${s.content}`}]])]),default:t(()=>[i.value==c?(o(),l(D(s.component),{key:0})):N("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}}),Q=E($,[["__scopeId","data-v-5a17230c"]]);export{Q as default}; diff --git a/static/js/el-button-DzbHFNBD.js b/static/js/el-button-DkSyg_LT.js similarity index 97% rename from static/js/el-button-DzbHFNBD.js rename to static/js/el-button-DkSyg_LT.js index 736a78f052..1b2c217531 100644 --- a/static/js/el-button-DzbHFNBD.js +++ b/static/js/el-button-DkSyg_LT.js @@ -1,4 +1,4 @@ -import{d as N,at as L,a as g,n as S,b as k,w as a,e as p,A,f as c,g as o,i as l,B as I,h as d,k as P,l as F,u as v,ar as M,t as b,F as R,_ as U}from"./index-AFhnwzwZ.js";import{u as w}from"./hooks-CaC3u4N2.js";const j={class:"card-header"},E=N({name:"PureButton",__name:"el-button",setup(T){const{isDark:y}=L(),t=g("default"),s=g(),n=g("default"),B=[{type:"",text:"Default",icon:"ep:search"},{type:"primary",text:"Primary",icon:"ep:edit"},{type:"success",text:"Success",icon:"ep:check"},{type:"info",text:"Info",icon:"ep:message"},{type:"warning",text:"Warning",icon:"ep:star"},{type:"danger",text:"Danger",icon:"ep:delete"}];return S(t,x=>x==="disabled"?s.value="default":s.value=t.value),(x,e)=>{const _=p("el-link"),i=p("el-radio"),z=p("el-radio-group"),m=p("el-space"),u=p("el-button",!0),f=p("el-divider"),V=p("el-card"),D=A("tippy");return c(),k(V,{shadow:"never"},{header:a(()=>[o("div",j,[l(m,{wrap:"",size:40},{default:a(()=>[I((c(),k(_,{href:"https://element-plus.org/zh-CN/component/button.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:a(()=>e[2]||(e[2]=[d(" Button 按钮 ")])),_:1})),[[D,{content:"点击查看详细文档"}]]),l(z,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=r=>t.value=r)},{default:a(()=>[l(i,{value:"large"},{default:a(()=>e[3]||(e[3]=[d("大尺寸")])),_:1}),l(i,{value:"default"},{default:a(()=>e[4]||(e[4]=[d("默认尺寸")])),_:1}),l(i,{value:"small"},{default:a(()=>e[5]||(e[5]=[d("小尺寸")])),_:1}),l(i,{value:"disabled"},{default:a(()=>e[6]||(e[6]=[d("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),l(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/el-button.vue",target:"_blank"},{default:a(()=>e[7]||(e[7]=[d(" 代码位置 src/views/components/el-button.vue ")])),_:1})]),default:a(()=>[e[14]||(e[14]=o("p",{class:"mb-2"},"基础按钮",-1)),l(z,{modelValue:n.value,"onUpdate:modelValue":e[1]||(e[1]=r=>n.value=r),class:"mb-3"},{default:a(()=>[l(i,{label:"default",value:"default"}),l(i,{label:"plain",value:"plain"}),l(i,{label:"round",value:"round"}),l(i,{label:"circle",value:"circle"}),l(i,{label:"link",value:"link"}),l(i,{label:"text",value:"text"}),l(i,{label:"text-bg",value:"text-bg"})]),_:1},8,["modelValue"]),e[15]||(e[15]=o("br",null,null,-1)),l(m,{wrap:""},{default:a(()=>[(c(),P(R,null,F(B,(r,C)=>l(u,{key:C,type:r.type,size:s.value,disabled:t.value==="disabled",plain:n.value==="plain",round:n.value==="round",circle:n.value==="circle",link:n.value==="link",text:n.value==="text"||n.value==="text-bg",bg:n.value==="text-bg",icon:v(w)(r.icon)},M({_:2},[n.value!=="circle"?{name:"default",fn:a(()=>[o("p",null,b(r.text),1)]),key:"0"}:void 0]),1032,["type","size","disabled","plain","round","circle","link","text","bg","icon"])),64))]),_:1}),l(f),e[16]||(e[16]=o("p",{class:"mb-4"},"加载状态按钮",-1)),l(u,{text:"",bg:"",type:"primary",size:s.value,disabled:t.value==="disabled",loading:t.value!=="disabled"},{default:a(()=>[d(b(t.value==="disabled"?"停止加载":"加载中"),1)]),_:1},8,["size","disabled","loading"]),l(u,{type:"primary",plain:"",size:s.value,disabled:t.value==="disabled","loading-icon":v(w)("ep:eleme"),loading:t.value!=="disabled"},{default:a(()=>[d(b(t.value==="disabled"?"停止加载":"加载中"),1)]),_:1},8,["size","disabled","loading-icon","loading"]),l(u,{type:"primary",size:s.value,disabled:t.value==="disabled",loading:t.value!=="disabled"},{loading:a(()=>e[8]||(e[8]=[o("div",{class:"custom-loading"},[o("svg",{class:"circular",viewBox:"-10, -10, 50, 50"},[o("path",{class:"path",d:` +import{d as N,at as L,a as g,n as S,b as k,w as a,e as p,A,f as c,g as o,i as l,B as I,h as d,k as P,l as F,u as v,ar as M,t as b,F as R,_ as U}from"./index-DqH6biyS.js";import{u as w}from"./hooks-BoDRUKFd.js";const j={class:"card-header"},E=N({name:"PureButton",__name:"el-button",setup(T){const{isDark:y}=L(),t=g("default"),s=g(),n=g("default"),B=[{type:"",text:"Default",icon:"ep:search"},{type:"primary",text:"Primary",icon:"ep:edit"},{type:"success",text:"Success",icon:"ep:check"},{type:"info",text:"Info",icon:"ep:message"},{type:"warning",text:"Warning",icon:"ep:star"},{type:"danger",text:"Danger",icon:"ep:delete"}];return S(t,x=>x==="disabled"?s.value="default":s.value=t.value),(x,e)=>{const _=p("el-link"),i=p("el-radio"),z=p("el-radio-group"),m=p("el-space"),u=p("el-button",!0),f=p("el-divider"),V=p("el-card"),D=A("tippy");return c(),k(V,{shadow:"never"},{header:a(()=>[o("div",j,[l(m,{wrap:"",size:40},{default:a(()=>[I((c(),k(_,{href:"https://element-plus.org/zh-CN/component/button.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:a(()=>e[2]||(e[2]=[d(" Button 按钮 ")])),_:1})),[[D,{content:"点击查看详细文档"}]]),l(z,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=r=>t.value=r)},{default:a(()=>[l(i,{value:"large"},{default:a(()=>e[3]||(e[3]=[d("大尺寸")])),_:1}),l(i,{value:"default"},{default:a(()=>e[4]||(e[4]=[d("默认尺寸")])),_:1}),l(i,{value:"small"},{default:a(()=>e[5]||(e[5]=[d("小尺寸")])),_:1}),l(i,{value:"disabled"},{default:a(()=>e[6]||(e[6]=[d("禁用")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),l(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/el-button.vue",target:"_blank"},{default:a(()=>e[7]||(e[7]=[d(" 代码位置 src/views/components/el-button.vue ")])),_:1})]),default:a(()=>[e[14]||(e[14]=o("p",{class:"mb-2"},"基础按钮",-1)),l(z,{modelValue:n.value,"onUpdate:modelValue":e[1]||(e[1]=r=>n.value=r),class:"mb-3"},{default:a(()=>[l(i,{label:"default",value:"default"}),l(i,{label:"plain",value:"plain"}),l(i,{label:"round",value:"round"}),l(i,{label:"circle",value:"circle"}),l(i,{label:"link",value:"link"}),l(i,{label:"text",value:"text"}),l(i,{label:"text-bg",value:"text-bg"})]),_:1},8,["modelValue"]),e[15]||(e[15]=o("br",null,null,-1)),l(m,{wrap:""},{default:a(()=>[(c(),P(R,null,F(B,(r,C)=>l(u,{key:C,type:r.type,size:s.value,disabled:t.value==="disabled",plain:n.value==="plain",round:n.value==="round",circle:n.value==="circle",link:n.value==="link",text:n.value==="text"||n.value==="text-bg",bg:n.value==="text-bg",icon:v(w)(r.icon)},M({_:2},[n.value!=="circle"?{name:"default",fn:a(()=>[o("p",null,b(r.text),1)]),key:"0"}:void 0]),1032,["type","size","disabled","plain","round","circle","link","text","bg","icon"])),64))]),_:1}),l(f),e[16]||(e[16]=o("p",{class:"mb-4"},"加载状态按钮",-1)),l(u,{text:"",bg:"",type:"primary",size:s.value,disabled:t.value==="disabled",loading:t.value!=="disabled"},{default:a(()=>[d(b(t.value==="disabled"?"停止加载":"加载中"),1)]),_:1},8,["size","disabled","loading"]),l(u,{type:"primary",plain:"",size:s.value,disabled:t.value==="disabled","loading-icon":v(w)("ep:eleme"),loading:t.value!=="disabled"},{default:a(()=>[d(b(t.value==="disabled"?"停止加载":"加载中"),1)]),_:1},8,["size","disabled","loading-icon","loading"]),l(u,{type:"primary",size:s.value,disabled:t.value==="disabled",loading:t.value!=="disabled"},{loading:a(()=>e[8]||(e[8]=[o("div",{class:"custom-loading"},[o("svg",{class:"circular",viewBox:"-10, -10, 50, 50"},[o("path",{class:"path",d:` M 30 15 L 28 17 M 25.61 25.61 diff --git a/static/js/epTheme-rJf1qnVw.js b/static/js/epTheme-tM--YJJd.js similarity index 80% rename from static/js/epTheme-rJf1qnVw.js rename to static/js/epTheme-tM--YJJd.js index 13822ddca7..071da8ea65 100644 --- a/static/js/epTheme-rJf1qnVw.js +++ b/static/js/epTheme-tM--YJJd.js @@ -1 +1 @@ -import{av as a,aw as p,ax as o,ay as r,az as h}from"./index-AFhnwzwZ.js";const T=p({id:"pure-epTheme",state:()=>{var e,t,m,s;return{epThemeColor:(t=(e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)!=null?t:h().EpThemeColor,epTheme:(s=(m=o().getItem(`${r()}layout`))==null?void 0:m.theme)!=null?s:h().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function i(){return T(a)}export{i as u}; +import{av as a,aw as p,ax as o,ay as r,az as h}from"./index-DqH6biyS.js";const T=p({id:"pure-epTheme",state:()=>{var e,t,m,s;return{epThemeColor:(t=(e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)!=null?t:h().EpThemeColor,epTheme:(s=(m=o().getItem(`${r()}layout`))==null?void 0:m.theme)!=null?s:h().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function i(){return T(a)}export{i as u}; diff --git a/static/js/excel-Gj9dYvk6.js b/static/js/excel-CiD4ZMqP.js similarity index 96% rename from static/js/excel-Gj9dYvk6.js rename to static/js/excel-CiD4ZMqP.js index dfe25027a8..bc256a7486 100644 --- a/static/js/excel-Gj9dYvk6.js +++ b/static/js/excel-CiD4ZMqP.js @@ -1 +1 @@ -var E=Object.defineProperty,B=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var k=(s,e,o)=>e in s?E(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,w=(s,e)=>{for(var o in e||(e={}))V.call(e,o)&&k(s,o,e[o]);if(x)for(var o of x(e))z.call(e,o)&&k(s,o,e[o]);return s},v=(s,e)=>B(s,S(e));import{u as h,w as K}from"./xlsx-DaVhO591.js";import{d as N,b as A,w as u,e as _,f as j,g as y,i as m,h as f,u as g}from"./index-AFhnwzwZ.js";const F={class:"font-medium"},J={class:"h-[25rem] mt-3"},q=N({name:"Excel",__name:"excel",setup(s){const e=(r=10,t="column-",n)=>Array.from({length:r}).map((c,a)=>v(w({},n),{key:`${t}${a}`,dataKey:`${t}${a}`,title:`Column ${a}`,width:150})),o=(r,t=200,n="row-")=>Array.from({length:t}).map((c,a)=>r.reduce((l,i,p)=>(l[i.dataKey]=`Row ${a} - Col ${p}`,l),{id:`${n}${a}`,parentId:null})),d=e(10),b=o(d,1e3),$=()=>{const r=b.map(a=>{const l=[];return d.forEach(i=>{l.push(a[i.dataKey])}),l}),t=[];d.forEach(a=>{t.push(a.title)}),r.unshift(t);const n=h.aoa_to_sheet(r),c=h.book_new();h.book_append_sheet(c,n,"数据报表"),K(c,"tableV2.xlsx")};return(r,t)=>{const n=_("el-link"),c=_("el-button"),a=_("el-table-v2"),l=_("el-auto-resizer"),i=_("el-card");return j(),A(i,{shadow:"never"},{header:u(()=>[y("div",F,[m(n,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:u(()=>t[0]||(t[0]=[f(" 导出Excel ")])),_:1})]),m(n,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/excel.vue",target:"_blank"},{default:u(()=>t[1]||(t[1]=[f(" 代码位置 src/views/able/excel.vue ")])),_:1})]),default:u(()=>[m(c,{type:"primary",onClick:$},{default:u(()=>t[2]||(t[2]=[f("导出Excel")])),_:1}),y("div",J,[m(l,null,{default:u(({height:p,width:C})=>[m(a,{columns:g(d),data:g(b),width:C,height:p,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{q as default}; +var E=Object.defineProperty,B=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var k=(s,e,o)=>e in s?E(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,w=(s,e)=>{for(var o in e||(e={}))V.call(e,o)&&k(s,o,e[o]);if(x)for(var o of x(e))z.call(e,o)&&k(s,o,e[o]);return s},v=(s,e)=>B(s,S(e));import{u as h,w as K}from"./xlsx-DaVhO591.js";import{d as N,b as A,w as u,e as _,f as j,g as y,i as m,h as f,u as g}from"./index-DqH6biyS.js";const F={class:"font-medium"},J={class:"h-[25rem] mt-3"},q=N({name:"Excel",__name:"excel",setup(s){const e=(r=10,t="column-",n)=>Array.from({length:r}).map((c,a)=>v(w({},n),{key:`${t}${a}`,dataKey:`${t}${a}`,title:`Column ${a}`,width:150})),o=(r,t=200,n="row-")=>Array.from({length:t}).map((c,a)=>r.reduce((l,i,p)=>(l[i.dataKey]=`Row ${a} - Col ${p}`,l),{id:`${n}${a}`,parentId:null})),d=e(10),b=o(d,1e3),$=()=>{const r=b.map(a=>{const l=[];return d.forEach(i=>{l.push(a[i.dataKey])}),l}),t=[];d.forEach(a=>{t.push(a.title)}),r.unshift(t);const n=h.aoa_to_sheet(r),c=h.book_new();h.book_append_sheet(c,n,"数据报表"),K(c,"tableV2.xlsx")};return(r,t)=>{const n=_("el-link"),c=_("el-button"),a=_("el-table-v2"),l=_("el-auto-resizer"),i=_("el-card");return j(),A(i,{shadow:"never"},{header:u(()=>[y("div",F,[m(n,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:u(()=>t[0]||(t[0]=[f(" 导出Excel ")])),_:1})]),m(n,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/excel.vue",target:"_blank"},{default:u(()=>t[1]||(t[1]=[f(" 代码位置 src/views/able/excel.vue ")])),_:1})]),default:u(()=>[m(c,{type:"primary",onClick:$},{default:u(()=>t[2]||(t[2]=[f("导出Excel")])),_:1}),y("div",J,[m(l,null,{default:u(({height:p,width:C})=>[m(a,{columns:g(d),data:g(b),width:C,height:p,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{q as default}; diff --git a/static/js/expand-CYI-bVjg.js b/static/js/expand-gnxJLXYZ.js similarity index 58% rename from static/js/expand-CYI-bVjg.js rename to static/js/expand-gnxJLXYZ.js index cd16f1e62c..481f821445 100644 --- a/static/js/expand-CYI-bVjg.js +++ b/static/js/expand-gnxJLXYZ.js @@ -1 +1 @@ -import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; +import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js b/static/js/expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js similarity index 89% rename from static/js/expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js rename to static/js/expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js index f7052408ef..bd87bee4a8 100644 --- a/static/js/expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js +++ b/static/js/expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js @@ -1 +1 @@ -import{c as b}from"./data-Ym5jS6hg.js";import{d as _,a as r,e as i,f,k as v,h as m,i as l,w as x,g as t,t as s,u as V}from"./index-AFhnwzwZ.js";const y={class:"m-4"},h={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},z=_({__name:"expand",setup(k){const o=r(!1),d=r(!1),u=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],c=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(S,e)=>{const n=i("el-switch"),p=i("pure-table");return f(),v("div",null,[e[3]||(e[3]=m(" switch parent border: ")),l(n,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=a=>o.value=a)},null,8,["modelValue"]),e[4]||(e[4]=m(" switch child border: ")),l(n,{modelValue:d.value,"onUpdate:modelValue":e[1]||(e[1]=a=>d.value=a)},null,8,["modelValue"]),l(p,{data:V(b),columns:u,border:o.value},{expand:x(({row:a})=>[t("div",y,[t("p",h,"State: "+s(a.state),1),t("p",C,"City: "+s(a.city),1),t("p",B,"Address: "+s(a.address),1),t("p",N,"Zip: "+s(a.zip),1),e[2]||(e[2]=t("h3",null,"Family",-1)),l(p,{data:a.family,columns:c,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{z as _}; +import{c as b}from"./data-B0U4WEbi.js";import{d as _,a as r,e as i,f,k as v,h as m,i as l,w as x,g as t,t as s,u as V}from"./index-DqH6biyS.js";const y={class:"m-4"},h={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},z=_({__name:"expand",setup(k){const o=r(!1),d=r(!1),u=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],c=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(S,e)=>{const n=i("el-switch"),p=i("pure-table");return f(),v("div",null,[e[3]||(e[3]=m(" switch parent border: ")),l(n,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=a=>o.value=a)},null,8,["modelValue"]),e[4]||(e[4]=m(" switch child border: ")),l(n,{modelValue:d.value,"onUpdate:modelValue":e[1]||(e[1]=a=>d.value=a)},null,8,["modelValue"]),l(p,{data:V(b),columns:u,border:o.value},{expand:x(({row:a})=>[t("div",y,[t("p",h,"State: "+s(a.state),1),t("p",C,"City: "+s(a.city),1),t("p",B,"Address: "+s(a.address),1),t("p",N,"Zip: "+s(a.zip),1),e[2]||(e[2]=t("h3",null,"Family",-1)),l(p,{data:a.family,columns:c,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{z as _}; diff --git a/static/js/fail-CwkBMC7T.js b/static/js/fail-btWwJM1S.js similarity index 88% rename from static/js/fail-CwkBMC7T.js rename to static/js/fail-btWwJM1S.js index fd811cb904..59b6cfd674 100644 --- a/static/js/fail-CwkBMC7T.js +++ b/static/js/fail-btWwJM1S.js @@ -1 +1 @@ -import{useColumns as p}from"./columns-Bt7TvYLZ.js";import{d as _,b as d,w as t,e as s,f,g as n,i as o,h as a,u as b,_ as v}from"./index-AFhnwzwZ.js";import"./arrow-right-s-line-CxPb13eK.js";const k=_({name:"Fail",__name:"fail",setup(w){const{columns:r}=p();return(x,e)=>{const l=s("el-link"),u=s("el-button"),i=s("el-result"),c=s("PureDescriptions"),m=s("el-card");return f(),d(m,{shadow:"never"},{header:t(()=>[e[1]||(e[1]=n("div",{class:"card-header"},[n("span",{class:"font-medium"},"失败页")],-1)),o(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/result/fail.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[a(" 代码位置 src/views/result/fail.vue ")])),_:1})]),default:t(()=>[o(i,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:t(()=>[o(u,{type:"primary"},{default:t(()=>e[2]||(e[2]=[a("返回修改")])),_:1})]),_:1}),o(c,{columns:b(r),title:"您提交的内容有如下错误:",class:"p-6 w-[90%] m-auto bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}}),B=v(k,[["__scopeId","data-v-ef28b526"]]);export{B as default}; +import{useColumns as p}from"./columns-CrHQyfdd.js";import{d as _,b as d,w as t,e as s,f,g as n,i as o,h as a,u as b,_ as v}from"./index-DqH6biyS.js";import"./arrow-right-s-line-CxPb13eK.js";const k=_({name:"Fail",__name:"fail",setup(w){const{columns:r}=p();return(x,e)=>{const l=s("el-link"),u=s("el-button"),i=s("el-result"),c=s("PureDescriptions"),m=s("el-card");return f(),d(m,{shadow:"never"},{header:t(()=>[e[1]||(e[1]=n("div",{class:"card-header"},[n("span",{class:"font-medium"},"失败页")],-1)),o(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/result/fail.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[a(" 代码位置 src/views/result/fail.vue ")])),_:1})]),default:t(()=>[o(i,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:t(()=>[o(u,{type:"primary"},{default:t(()=>e[2]||(e[2]=[a("返回修改")])),_:1})]),_:1}),o(c,{columns:b(r),title:"您提交的内容有如下错误:",class:"p-6 w-[90%] m-auto bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}}),B=v(k,[["__scopeId","data-v-ef28b526"]]);export{B as default}; diff --git a/static/js/filters-B1OOUy2i.js b/static/js/filters-BhimNzKN.js similarity index 50% rename from static/js/filters-B1OOUy2i.js rename to static/js/filters-BhimNzKN.js index 9b66ecae7f..1159ffdf64 100644 --- a/static/js/filters-B1OOUy2i.js +++ b/static/js/filters-BhimNzKN.js @@ -1 +1 @@ -import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js b/static/js/filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js similarity index 95% rename from static/js/filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js rename to static/js/filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js index 226258ec65..a7fd67c0d3 100644 --- a/static/js/filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js +++ b/static/js/filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js @@ -1 +1 @@ -import{d as g,a as _,e as s,f as b,k as v,i as o,w as l,h as n,t as x}from"./index-AFhnwzwZ.js";const N=g({__name:"filters",setup(y){const d=_(),f=t=>{const{clearFilter:e}=d.value.getTableRef();e(t)},c=()=>{f(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(t,e,a)=>{const r=a.property;return e[r]===t}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(t,e)=>e.tag===t,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(t,e)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:c},{default:l(()=>e[0]||(e[0]=[n("reset date filter")])),_:1}),o(a,{onClick:f},{default:l(()=>e[1]||(e[1]=[n("reset all filters")])),_:1}),o(u,{ref_key:"tableRef",ref:d,"row-key":"date",data:p,columns:m},{tag:l(({row:i})=>[o(r,{type:i.tag==="Home"?null:"success","disable-transitions":""},{default:l(()=>[n(x(i.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _}; +import{d as g,a as _,e as s,f as b,k as v,i as o,w as l,h as n,t as x}from"./index-DqH6biyS.js";const N=g({__name:"filters",setup(y){const d=_(),f=t=>{const{clearFilter:e}=d.value.getTableRef();e(t)},c=()=>{f(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(t,e,a)=>{const r=a.property;return e[r]===t}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(t,e)=>e.tag===t,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(t,e)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:c},{default:l(()=>e[0]||(e[0]=[n("reset date filter")])),_:1}),o(a,{onClick:f},{default:l(()=>e[1]||(e[1]=[n("reset all filters")])),_:1}),o(u,{ref_key:"tableRef",ref:d,"row-key":"date",data:p,columns:m},{tag:l(({row:i})=>[o(r,{type:i.tag==="Home"?null:"success","disable-transitions":""},{default:l(()=>[n(x(i.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _}; diff --git a/static/js/fixColumn-Q0eGY8g5.js b/static/js/fixColumn-Q0eGY8g5.js new file mode 100644 index 0000000000..0e506c395d --- /dev/null +++ b/static/js/fixColumn-Q0eGY8g5.js @@ -0,0 +1 @@ +import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/fixColumn-ZnACjYta.js b/static/js/fixColumn-ZnACjYta.js deleted file mode 100644 index 9e1bb1ada2..0000000000 --- a/static/js/fixColumn-ZnACjYta.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js b/static/js/fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js similarity index 86% rename from static/js/fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js rename to static/js/fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js index a5e6033a24..75084b8f09 100644 --- a/static/js/fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js +++ b/static/js/fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js @@ -1 +1 @@ -import{a as t}from"./data-Ym5jS6hg.js";import{d as m,e as n,f as u,b as c,w as l,i as r,h as p,u as o}from"./index-AFhnwzwZ.js";const C=m({__name:"fixColumn",props:{height:{default:null}},setup(b){const s=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function f(a){}return(a,e)=>{const i=n("el-button"),d=n("pure-table");return u(),c(d,{data:a.height?o(t).concat(o(t)).concat(o(t)):o(t),columns:s,height:a.height},{operation:l(({row:h})=>[r(i,{link:"",type:"primary",size:"small",onClick:_=>void 0},{default:l(()=>e[0]||(e[0]=[p(" Detail ")])),_:2},1032,["onClick"]),r(i,{link:"",type:"primary",size:"small"},{default:l(()=>e[1]||(e[1]=[p("Edit")])),_:1})]),_:1},8,["data","height"])}}});export{C as _}; +import{a as t}from"./data-B0U4WEbi.js";import{d as m,e as n,f as u,b as c,w as l,i as r,h as p,u as o}from"./index-DqH6biyS.js";const C=m({__name:"fixColumn",props:{height:{default:null}},setup(b){const s=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function f(a){}return(a,e)=>{const i=n("el-button"),d=n("pure-table");return u(),c(d,{data:a.height?o(t).concat(o(t)).concat(o(t)):o(t),columns:s,height:a.height},{operation:l(({row:h})=>[r(i,{link:"",type:"primary",size:"small",onClick:_=>void 0},{default:l(()=>e[0]||(e[0]=[p(" Detail ")])),_:2},1032,["onClick"]),r(i,{link:"",type:"primary",size:"small"},{default:l(()=>e[1]||(e[1]=[p("Edit")])),_:1})]),_:1},8,["data","height"])}}});export{C as _}; diff --git a/static/js/fixHeader-BjiMgOIO.js b/static/js/fixHeader-BjiMgOIO.js new file mode 100644 index 0000000000..645330cf8d --- /dev/null +++ b/static/js/fixHeader-BjiMgOIO.js @@ -0,0 +1 @@ +import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/fixHeader-J0tNo_tS.js b/static/js/fixHeader-J0tNo_tS.js deleted file mode 100644 index 47b6f7b7ca..0000000000 --- a/static/js/fixHeader-J0tNo_tS.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js b/static/js/fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js similarity index 67% rename from static/js/fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js rename to static/js/fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js index 2f9ad80434..46e02be294 100644 --- a/static/js/fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js +++ b/static/js/fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js @@ -1 +1 @@ -import{t as e}from"./data-Ym5jS6hg.js";import{d as n,e as r,f as p,b as s,u as a}from"./index-AFhnwzwZ.js";const d=n({__name:"fixHeader",setup(c){const o=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(l,_)=>{const t=r("pure-table");return p(),s(t,{data:a(e).concat(a(e)).concat(a(e)),columns:o,height:"360"},null,8,["data"])}}});export{d as _}; +import{t as e}from"./data-B0U4WEbi.js";import{d as n,e as r,f as p,b as s,u as a}from"./index-DqH6biyS.js";const d=n({__name:"fixHeader",setup(c){const o=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(l,_)=>{const t=r("pure-table");return p(),s(t,{data:a(e).concat(a(e)).concat(a(e)),columns:o,height:"360"},null,8,["data"])}}});export{d as _}; diff --git a/static/js/fluidHeight-BZ-EVC11.js b/static/js/fluidHeight-BZ-EVC11.js new file mode 100644 index 0000000000..e1078a6a8b --- /dev/null +++ b/static/js/fluidHeight-BZ-EVC11.js @@ -0,0 +1 @@ +import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js";import"./index-DqH6biyS.js";import"./data-B0U4WEbi.js";export{o as default}; diff --git a/static/js/fluidHeight-Ckft2G5r.js b/static/js/fluidHeight-Ckft2G5r.js deleted file mode 100644 index 969e48c8bd..0000000000 --- a/static/js/fluidHeight-Ckft2G5r.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js";import"./index-AFhnwzwZ.js";import"./data-Ym5jS6hg.js";export{o as default}; diff --git a/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js b/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js similarity index 89% rename from static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js rename to static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js index fc1e4838e0..a320765b75 100644 --- a/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js +++ b/static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js @@ -1 +1 @@ -import{d as f,a as w,e as i,f as _,k as b,i as o,w as s,q as h,h as r,aX as v}from"./index-AFhnwzwZ.js";import{a as C}from"./data-Ym5jS6hg.js";const y=f({__name:"fluidHeight",setup(k){const d=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],t=new Date,a=w(C),p=l=>{a.value.splice(l,1)},m=()=>{t.setDate(t.getDate()+1),a.value.push({date:v(t).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(l,e)=>{const n=i("el-button"),c=i("pure-table");return _(),b("div",null,[o(c,{data:a.value,columns:d,maxHeight:"500"},{operation:s(({$index:u})=>[o(n,{link:"",type:"primary",size:"small",onClick:h(x=>p(u),["prevent"])},{default:s(()=>e[0]||(e[0]=[r(" Remove ")])),_:2},1032,["onClick"])]),_:1},8,["data"]),o(n,{class:"mt-4",style:{width:"100%"},onClick:m},{default:s(()=>e[1]||(e[1]=[r(" Add Item ")])),_:1})])}}});export{y as _}; +import{d as f,a as w,e as i,f as _,k as b,i as o,w as s,q as h,h as r,aX as v}from"./index-DqH6biyS.js";import{a as C}from"./data-B0U4WEbi.js";const y=f({__name:"fluidHeight",setup(k){const d=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],t=new Date,a=w(C),p=l=>{a.value.splice(l,1)},m=()=>{t.setDate(t.getDate()+1),a.value.push({date:v(t).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(l,e)=>{const n=i("el-button"),c=i("pure-table");return _(),b("div",null,[o(c,{data:a.value,columns:d,maxHeight:"500"},{operation:s(({$index:u})=>[o(n,{link:"",type:"primary",size:"small",onClick:h(x=>p(u),["prevent"])},{default:s(()=>e[0]||(e[0]=[r(" Remove ")])),_:2},1032,["onClick"])]),_:1},8,["data"]),o(n,{class:"mt-4",style:{width:"100%"},onClick:m},{default:s(()=>e[1]||(e[1]=[r(" Add Item ")])),_:1})])}}});export{y as _}; diff --git a/static/js/form-9NQoJMYe.js b/static/js/form-9NQoJMYe.js deleted file mode 100644 index 4d6b6037a3..0000000000 --- a/static/js/form-9NQoJMYe.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js";import"./index-AFhnwzwZ.js";import"./index-BSGz-TY2.js";import"./index-u0vKWnyJ.js";import"./hooks-CaC3u4N2.js";import"./index-XjHH2uHF.js";export{o as default}; diff --git a/static/js/form-BOlKdv64.js b/static/js/form-BOlKdv64.js deleted file mode 100644 index 717bc26406..0000000000 --- a/static/js/form-BOlKdv64.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js";import"./mock-Kl59S0Qr.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/form-BRuSyItc.js b/static/js/form-BRuSyItc.js deleted file mode 100644 index 0d683b00db..0000000000 --- a/static/js/form-BRuSyItc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js";import"./index-AFhnwzwZ.js";export{m as default}; diff --git a/static/js/form-BShU2orT.js b/static/js/form-BShU2orT.js new file mode 100644 index 0000000000..3c1ff33d5b --- /dev/null +++ b/static/js/form-BShU2orT.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/form-Bb99bg-g.js b/static/js/form-Bb99bg-g.js new file mode 100644 index 0000000000..816e9855e8 --- /dev/null +++ b/static/js/form-Bb99bg-g.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DagxPpTx.js";import"./mock-DMcMJ3Ay.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/form-CXi5YpoE.js b/static/js/form-CXi5YpoE.js deleted file mode 100644 index 8029cdad2f..0000000000 --- a/static/js/form-CXi5YpoE.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js";import"./index-AFhnwzwZ.js";export{m as default}; diff --git a/static/js/form-D0kUWXiv.js b/static/js/form-D0kUWXiv.js new file mode 100644 index 0000000000..88d74f3bb1 --- /dev/null +++ b/static/js/form-D0kUWXiv.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js";import"./index-DqH6biyS.js";import"./index-DZtY49CB.js";import"./index-CAi4pX1c.js";import"./hooks-BoDRUKFd.js";import"./index-DtSzCQP4.js";export{o as default}; diff --git a/static/js/form-DL5ZxoGs.js b/static/js/form-DL5ZxoGs.js deleted file mode 100644 index 8e7e69a0c0..0000000000 --- a/static/js/form-DL5ZxoGs.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DcswILmb.js";import"./index-AFhnwzwZ.js";export{m as default}; diff --git a/static/js/form-D_LKnimC.js b/static/js/form-D_LKnimC.js new file mode 100644 index 0000000000..f725843c80 --- /dev/null +++ b/static/js/form-D_LKnimC.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/form-DgMx8ZRc.js b/static/js/form-DgMx8ZRc.js deleted file mode 100644 index b1e9f40d1f..0000000000 --- a/static/js/form-DgMx8ZRc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-24sqXQI_.js";import"./index-BSGz-TY2.js";import"./index-AFhnwzwZ.js";import"./hooks-DZOKHTKM.js";export{o as default}; diff --git a/static/js/form-Dhpu2FGq.js b/static/js/form-Dhpu2FGq.js new file mode 100644 index 0000000000..fa0d9fd32c --- /dev/null +++ b/static/js/form-Dhpu2FGq.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js";import"./index-DZtY49CB.js";import"./index-DqH6biyS.js";import"./hooks-CT5JiEcI.js";export{o as default}; diff --git a/static/js/form-MKfzIl9-.js b/static/js/form-MKfzIl9-.js new file mode 100644 index 0000000000..a92772b4cd --- /dev/null +++ b/static/js/form-MKfzIl9-.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-24sqXQI_.js b/static/js/form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js similarity index 94% rename from static/js/form.vue_vue_type_script_setup_true_lang-24sqXQI_.js rename to static/js/form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js index 22a7a6f702..7b01ae71d2 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-24sqXQI_.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js @@ -1 +1 @@ -import{R as s}from"./index-BSGz-TY2.js";import{r as k,ge as I,gl as R,d as C,a as v,e as d,f as c,b as B,w as l,i as e,u,g as S,t as V,k as D,j as E,s as F}from"./index-AFhnwzwZ.js";import{u as N}from"./hooks-DZOKHTKM.js";const O=k({name:[{required:!0,message:"部门名称为必填项",trigger:"blur"}],phone:[{validator:(i,m,r)=>{m===""||I(m)?r():r(new Error("请输入正确的手机号码格式"))},trigger:"blur"}],email:[{validator:(i,m,r)=>{m===""||R(m)?r():r(new Error("请输入正确的邮箱格式"))},trigger:"blur"}]}),P={key:0},J=C({__name:"form",props:{formInline:{default:()=>({higherDeptOptions:[],parentId:0,name:"",principal:"",phone:"",email:"",sort:0,status:1,remark:""})}},setup(i,{expose:m}){const r=i,f=v(),{switchStyle:b}=N(),a=v(r.formInline);function g(){return f.value}return m({getRef:g}),(j,o)=>{const x=d("el-cascader"),n=d("el-form-item"),p=d("el-input"),w=d("el-input-number"),h=d("el-switch"),y=d("el-row"),U=d("el-form");return c(),B(U,{ref_key:"ruleFormRef",ref:f,model:a.value,rules:u(O),"label-width":"82px"},{default:l(()=>[e(y,{gutter:30},{default:l(()=>[e(u(s),null,{default:l(()=>[e(n,{label:"上级部门"},{default:l(()=>[e(x,{modelValue:a.value.parentId,"onUpdate:modelValue":o[0]||(o[0]=t=>a.value.parentId=t),class:"w-full",options:a.value.higherDeptOptions,props:{value:"id",label:"name",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级部门"},{default:l(({node:t,data:_})=>[S("span",null,V(_.name),1),t.isLeaf?E("",!0):(c(),D("span",P," ("+V(_.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门名称",prop:"name"},{default:l(()=>[e(p,{modelValue:a.value.name,"onUpdate:modelValue":o[1]||(o[1]=t=>a.value.name=t),clearable:"",placeholder:"请输入部门名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门负责人"},{default:l(()=>[e(p,{modelValue:a.value.principal,"onUpdate:modelValue":o[2]||(o[2]=t=>a.value.principal=t),clearable:"",placeholder:"请输入部门负责人"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"手机号",prop:"phone"},{default:l(()=>[e(p,{modelValue:a.value.phone,"onUpdate:modelValue":o[3]||(o[3]=t=>a.value.phone=t),clearable:"",placeholder:"请输入手机号"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"邮箱",prop:"email"},{default:l(()=>[e(p,{modelValue:a.value.email,"onUpdate:modelValue":o[4]||(o[4]=t=>a.value.email=t),clearable:"",placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"排序"},{default:l(()=>[e(w,{modelValue:a.value.sort,"onUpdate:modelValue":o[5]||(o[5]=t=>a.value.sort=t),class:"!w-full",min:0,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门状态"},{default:l(()=>[e(h,{modelValue:a.value.status,"onUpdate:modelValue":o[6]||(o[6]=t=>a.value.status=t),"inline-prompt":"","active-value":1,"inactive-value":0,"active-text":"启用","inactive-text":"停用",style:F(u(b))},null,8,["modelValue","style"])]),_:1})]),_:1}),e(u(s),null,{default:l(()=>[e(n,{label:"备注"},{default:l(()=>[e(p,{modelValue:a.value.remark,"onUpdate:modelValue":o[7]||(o[7]=t=>a.value.remark=t),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{J as _}; +import{R as s}from"./index-DZtY49CB.js";import{r as k,ge as I,gl as R,d as C,a as v,e as d,f as c,b as B,w as l,i as e,u,g as S,t as V,k as D,j as E,s as F}from"./index-DqH6biyS.js";import{u as N}from"./hooks-CT5JiEcI.js";const O=k({name:[{required:!0,message:"部门名称为必填项",trigger:"blur"}],phone:[{validator:(i,m,r)=>{m===""||I(m)?r():r(new Error("请输入正确的手机号码格式"))},trigger:"blur"}],email:[{validator:(i,m,r)=>{m===""||R(m)?r():r(new Error("请输入正确的邮箱格式"))},trigger:"blur"}]}),P={key:0},J=C({__name:"form",props:{formInline:{default:()=>({higherDeptOptions:[],parentId:0,name:"",principal:"",phone:"",email:"",sort:0,status:1,remark:""})}},setup(i,{expose:m}){const r=i,f=v(),{switchStyle:b}=N(),a=v(r.formInline);function g(){return f.value}return m({getRef:g}),(j,o)=>{const x=d("el-cascader"),n=d("el-form-item"),p=d("el-input"),w=d("el-input-number"),h=d("el-switch"),y=d("el-row"),U=d("el-form");return c(),B(U,{ref_key:"ruleFormRef",ref:f,model:a.value,rules:u(O),"label-width":"82px"},{default:l(()=>[e(y,{gutter:30},{default:l(()=>[e(u(s),null,{default:l(()=>[e(n,{label:"上级部门"},{default:l(()=>[e(x,{modelValue:a.value.parentId,"onUpdate:modelValue":o[0]||(o[0]=t=>a.value.parentId=t),class:"w-full",options:a.value.higherDeptOptions,props:{value:"id",label:"name",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级部门"},{default:l(({node:t,data:_})=>[S("span",null,V(_.name),1),t.isLeaf?E("",!0):(c(),D("span",P," ("+V(_.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门名称",prop:"name"},{default:l(()=>[e(p,{modelValue:a.value.name,"onUpdate:modelValue":o[1]||(o[1]=t=>a.value.name=t),clearable:"",placeholder:"请输入部门名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门负责人"},{default:l(()=>[e(p,{modelValue:a.value.principal,"onUpdate:modelValue":o[2]||(o[2]=t=>a.value.principal=t),clearable:"",placeholder:"请输入部门负责人"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"手机号",prop:"phone"},{default:l(()=>[e(p,{modelValue:a.value.phone,"onUpdate:modelValue":o[3]||(o[3]=t=>a.value.phone=t),clearable:"",placeholder:"请输入手机号"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"邮箱",prop:"email"},{default:l(()=>[e(p,{modelValue:a.value.email,"onUpdate:modelValue":o[4]||(o[4]=t=>a.value.email=t),clearable:"",placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"排序"},{default:l(()=>[e(w,{modelValue:a.value.sort,"onUpdate:modelValue":o[5]||(o[5]=t=>a.value.sort=t),class:"!w-full",min:0,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),e(u(s),{value:12,xs:24,sm:24},{default:l(()=>[e(n,{label:"部门状态"},{default:l(()=>[e(h,{modelValue:a.value.status,"onUpdate:modelValue":o[6]||(o[6]=t=>a.value.status=t),"inline-prompt":"","active-value":1,"inactive-value":0,"active-text":"启用","inactive-text":"停用",style:F(u(b))},null,8,["modelValue","style"])]),_:1})]),_:1}),e(u(s),null,{default:l(()=>[e(n,{label:"备注"},{default:l(()=>[e(p,{modelValue:a.value.remark,"onUpdate:modelValue":o[7]||(o[7]=t=>a.value.remark=t),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{J as _}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js b/static/js/form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js similarity index 97% rename from static/js/form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js rename to static/js/form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js index d9d4c88b24..337928d976 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js @@ -1 +1 @@ -import{r as R,d as L,a as T,e as i,f as v,b as f,w as a,i as l,u as t,g as O,t as _,aa as S,k as P,j as V,B as s,a0 as r,aJ as A}from"./index-AFhnwzwZ.js";import{R as d}from"./index-BSGz-TY2.js";import{R as p}from"./index-u0vKWnyJ.js";import{R as x}from"./index-XjHH2uHF.js";const B=R({title:[{required:!0,message:"菜单名称为必填项",trigger:"blur"}],name:[{required:!0,message:"路由名称为必填项",trigger:"blur"}],path:[{required:!0,message:"路由路径为必填项",trigger:"blur"}],auths:[{required:!0,message:"权限标识为必填项",trigger:"blur"}]}),q=[{label:"菜单",value:0},{label:"iframe",value:1},{label:"外链",value:2},{label:"按钮",value:3}],F=[{label:"显示",tip:"会在菜单中显示",value:!0},{label:"隐藏",tip:"不会在菜单中显示",value:!1}],N=[{label:"固定",tip:"当前菜单名称固定显示在标签页且不可关闭",value:!0},{label:"不固定",tip:"当前菜单名称不固定显示在标签页且可关闭",value:!1}],D=[{label:"缓存",tip:"会保存该页面的整体状态,刷新后会清空状态",value:!0},{label:"不缓存",tip:"不会保存该页面的整体状态",value:!1}],M=[{label:"允许",tip:"当前菜单名称或自定义信息允许添加到标签页",value:!1},{label:"禁止",tip:"当前菜单名称或自定义信息禁止添加到标签页",value:!0}],j=[{label:"显示",tip:"会显示父级菜单",value:!0},{label:"隐藏",tip:"不会显示父级菜单",value:!1}],E=[{label:"开启",tip:"有首次加载动画",value:!0},{label:"关闭",tip:"无首次加载动画",value:!1}],J={key:0},W=L({__name:"form",props:{formInline:{default:()=>({menuType:0,higherMenuOptions:[],parentId:0,title:"",name:"",path:"",component:"",rank:99,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1})}},setup(y,{expose:k}){const w=y,b=T(),e=T(w.formInline);function h(){return b.value}return k({getRef:h}),(z,o)=>{const n=i("el-form-item"),U=i("el-cascader"),m=i("el-input"),c=i("el-input-number"),C=i("el-row"),I=i("el-form");return v(),f(I,{ref_key:"ruleFormRef",ref:b,model:e.value,rules:t(B),"label-width":"82px"},{default:a(()=>[l(C,{gutter:30},{default:a(()=>[l(t(d),null,{default:a(()=>[l(n,{label:"菜单类型"},{default:a(()=>[l(t(p),{modelValue:e.value.menuType,"onUpdate:modelValue":o[0]||(o[0]=u=>e.value.menuType=u),options:t(q)},null,8,["modelValue","options"])]),_:1})]),_:1}),l(t(d),null,{default:a(()=>[l(n,{label:"上级菜单"},{default:a(()=>[l(U,{modelValue:e.value.parentId,"onUpdate:modelValue":o[1]||(o[1]=u=>e.value.parentId=u),class:"w-full",options:e.value.higherMenuOptions,props:{value:"id",label:"title",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级菜单"},{default:a(({node:u,data:g})=>[O("span",null,_(t(S)(g.title)),1),u.isLeaf?V("",!0):(v(),P("span",J," ("+_(g.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单名称",prop:"title"},{default:a(()=>[l(m,{modelValue:e.value.title,"onUpdate:modelValue":o[2]||(o[2]=u=>e.value.title=u),clearable:"",placeholder:"请输入菜单名称"},null,8,["modelValue"])]),_:1})]),_:1}),e.value.menuType!==3?(v(),f(t(d),{key:0,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由名称",prop:"name"},{default:a(()=>[l(m,{modelValue:e.value.name,"onUpdate:modelValue":o[3]||(o[3]=u=>e.value.name=u),clearable:"",placeholder:"请输入路由名称"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),e.value.menuType!==3?(v(),f(t(d),{key:1,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由路径",prop:"path"},{default:a(()=>[l(m,{modelValue:e.value.path,"onUpdate:modelValue":o[4]||(o[4]=u=>e.value.path=u),clearable:"",placeholder:"请输入路由路径"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"组件路径"},{default:a(()=>[l(m,{modelValue:e.value.component,"onUpdate:modelValue":o[5]||(o[5]=u=>e.value.component=u),clearable:"",placeholder:"请输入组件路径"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单排序"},{default:a(()=>[l(c,{modelValue:e.value.rank,"onUpdate:modelValue":o[6]||(o[6]=u=>e.value.rank=u),class:"!w-full",min:1,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由重定向"},{default:a(()=>[l(m,{modelValue:e.value.redirect,"onUpdate:modelValue":o[7]||(o[7]=u=>e.value.redirect=u),clearable:"",placeholder:"请输入默认跳转地址"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单图标"},{default:a(()=>[l(t(A),{modelValue:e.value.icon,"onUpdate:modelValue":o[8]||(o[8]=u=>e.value.icon=u),class:"w-full"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"右侧图标"},{default:a(()=>[l(m,{modelValue:e.value.extraIcon,"onUpdate:modelValue":o[9]||(o[9]=u=>e.value.extraIcon=u),clearable:"",placeholder:"菜单名称右侧的额外图标"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"进场动画"},{default:a(()=>[l(t(x),{modelValue:e.value.enterTransition,"onUpdate:modelValue":o[10]||(o[10]=u=>e.value.enterTransition=u),placeholder:"请选择页面进场加载动画"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"离场动画"},{default:a(()=>[l(t(x),{modelValue:e.value.leaveTransition,"onUpdate:modelValue":o[11]||(o[11]=u=>e.value.leaveTransition=u),placeholder:"请选择页面离场加载动画"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单激活"},{default:a(()=>[l(m,{modelValue:e.value.activePath,"onUpdate:modelValue":o[12]||(o[12]=u=>e.value.activePath=u),clearable:"",placeholder:"请输入需要激活的菜单"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),e.value.menuType===3?(v(),f(t(d),{key:2,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"权限标识",prop:"auths"},{default:a(()=>[l(m,{modelValue:e.value.auths,"onUpdate:modelValue":o[13]||(o[13]=u=>e.value.auths=u),clearable:"",placeholder:"请输入权限标识"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"链接地址"},{default:a(()=>[l(m,{modelValue:e.value.frameSrc,"onUpdate:modelValue":o[14]||(o[14]=u=>e.value.frameSrc=u),clearable:"",placeholder:"请输入 iframe 链接地址"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===1]]),e.value.menuType===1?(v(),f(t(d),{key:3,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"加载动画"},{default:a(()=>[l(t(p),{modelValue:e.value.frameLoading?0:1,options:t(E),onChange:o[15]||(o[15]=({option:{value:u}})=>{e.value.frameLoading=u})},null,8,["modelValue","options"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单"},{default:a(()=>[l(t(p),{modelValue:e.value.showLink?0:1,options:t(F),onChange:o[16]||(o[16]=({option:{value:u}})=>{e.value.showLink=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"父级菜单"},{default:a(()=>[l(t(p),{modelValue:e.value.showParent?0:1,options:t(j),onChange:o[17]||(o[17]=({option:{value:u}})=>{e.value.showParent=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"缓存页面"},{default:a(()=>[l(t(p),{modelValue:e.value.keepAlive?0:1,options:t(D),onChange:o[18]||(o[18]=({option:{value:u}})=>{e.value.keepAlive=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"标签页"},{default:a(()=>[l(t(p),{modelValue:e.value.hiddenTag?1:0,options:t(M),onChange:o[19]||(o[19]=({option:{value:u}})=>{e.value.hiddenTag=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"固定标签页"},{default:a(()=>[l(t(p),{modelValue:e.value.fixedTag?0:1,options:t(N),onChange:o[20]||(o[20]=({option:{value:u}})=>{e.value.fixedTag=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]])]),_:1})]),_:1},8,["model","rules"])}}});export{W as _}; +import{r as R,d as L,a as T,e as i,f as v,b as f,w as a,i as l,u as t,g as O,t as _,aa as S,k as P,j as V,B as s,a0 as r,aJ as A}from"./index-DqH6biyS.js";import{R as d}from"./index-DZtY49CB.js";import{R as p}from"./index-CAi4pX1c.js";import{R as x}from"./index-DtSzCQP4.js";const B=R({title:[{required:!0,message:"菜单名称为必填项",trigger:"blur"}],name:[{required:!0,message:"路由名称为必填项",trigger:"blur"}],path:[{required:!0,message:"路由路径为必填项",trigger:"blur"}],auths:[{required:!0,message:"权限标识为必填项",trigger:"blur"}]}),q=[{label:"菜单",value:0},{label:"iframe",value:1},{label:"外链",value:2},{label:"按钮",value:3}],F=[{label:"显示",tip:"会在菜单中显示",value:!0},{label:"隐藏",tip:"不会在菜单中显示",value:!1}],N=[{label:"固定",tip:"当前菜单名称固定显示在标签页且不可关闭",value:!0},{label:"不固定",tip:"当前菜单名称不固定显示在标签页且可关闭",value:!1}],D=[{label:"缓存",tip:"会保存该页面的整体状态,刷新后会清空状态",value:!0},{label:"不缓存",tip:"不会保存该页面的整体状态",value:!1}],M=[{label:"允许",tip:"当前菜单名称或自定义信息允许添加到标签页",value:!1},{label:"禁止",tip:"当前菜单名称或自定义信息禁止添加到标签页",value:!0}],j=[{label:"显示",tip:"会显示父级菜单",value:!0},{label:"隐藏",tip:"不会显示父级菜单",value:!1}],E=[{label:"开启",tip:"有首次加载动画",value:!0},{label:"关闭",tip:"无首次加载动画",value:!1}],J={key:0},W=L({__name:"form",props:{formInline:{default:()=>({menuType:0,higherMenuOptions:[],parentId:0,title:"",name:"",path:"",component:"",rank:99,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1})}},setup(y,{expose:k}){const w=y,b=T(),e=T(w.formInline);function h(){return b.value}return k({getRef:h}),(z,o)=>{const n=i("el-form-item"),U=i("el-cascader"),m=i("el-input"),c=i("el-input-number"),C=i("el-row"),I=i("el-form");return v(),f(I,{ref_key:"ruleFormRef",ref:b,model:e.value,rules:t(B),"label-width":"82px"},{default:a(()=>[l(C,{gutter:30},{default:a(()=>[l(t(d),null,{default:a(()=>[l(n,{label:"菜单类型"},{default:a(()=>[l(t(p),{modelValue:e.value.menuType,"onUpdate:modelValue":o[0]||(o[0]=u=>e.value.menuType=u),options:t(q)},null,8,["modelValue","options"])]),_:1})]),_:1}),l(t(d),null,{default:a(()=>[l(n,{label:"上级菜单"},{default:a(()=>[l(U,{modelValue:e.value.parentId,"onUpdate:modelValue":o[1]||(o[1]=u=>e.value.parentId=u),class:"w-full",options:e.value.higherMenuOptions,props:{value:"id",label:"title",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级菜单"},{default:a(({node:u,data:g})=>[O("span",null,_(t(S)(g.title)),1),u.isLeaf?V("",!0):(v(),P("span",J," ("+_(g.children.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1})]),_:1}),l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单名称",prop:"title"},{default:a(()=>[l(m,{modelValue:e.value.title,"onUpdate:modelValue":o[2]||(o[2]=u=>e.value.title=u),clearable:"",placeholder:"请输入菜单名称"},null,8,["modelValue"])]),_:1})]),_:1}),e.value.menuType!==3?(v(),f(t(d),{key:0,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由名称",prop:"name"},{default:a(()=>[l(m,{modelValue:e.value.name,"onUpdate:modelValue":o[3]||(o[3]=u=>e.value.name=u),clearable:"",placeholder:"请输入路由名称"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),e.value.menuType!==3?(v(),f(t(d),{key:1,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由路径",prop:"path"},{default:a(()=>[l(m,{modelValue:e.value.path,"onUpdate:modelValue":o[4]||(o[4]=u=>e.value.path=u),clearable:"",placeholder:"请输入路由路径"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"组件路径"},{default:a(()=>[l(m,{modelValue:e.value.component,"onUpdate:modelValue":o[5]||(o[5]=u=>e.value.component=u),clearable:"",placeholder:"请输入组件路径"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单排序"},{default:a(()=>[l(c,{modelValue:e.value.rank,"onUpdate:modelValue":o[6]||(o[6]=u=>e.value.rank=u),class:"!w-full",min:1,max:9999,"controls-position":"right"},null,8,["modelValue"])]),_:1})]),_:1}),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"路由重定向"},{default:a(()=>[l(m,{modelValue:e.value.redirect,"onUpdate:modelValue":o[7]||(o[7]=u=>e.value.redirect=u),clearable:"",placeholder:"请输入默认跳转地址"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单图标"},{default:a(()=>[l(t(A),{modelValue:e.value.icon,"onUpdate:modelValue":o[8]||(o[8]=u=>e.value.icon=u),class:"w-full"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"右侧图标"},{default:a(()=>[l(m,{modelValue:e.value.extraIcon,"onUpdate:modelValue":o[9]||(o[9]=u=>e.value.extraIcon=u),clearable:"",placeholder:"菜单名称右侧的额外图标"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"进场动画"},{default:a(()=>[l(t(x),{modelValue:e.value.enterTransition,"onUpdate:modelValue":o[10]||(o[10]=u=>e.value.enterTransition=u),placeholder:"请选择页面进场加载动画"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"离场动画"},{default:a(()=>[l(t(x),{modelValue:e.value.leaveTransition,"onUpdate:modelValue":o[11]||(o[11]=u=>e.value.leaveTransition=u),placeholder:"请选择页面离场加载动画"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单激活"},{default:a(()=>[l(m,{modelValue:e.value.activePath,"onUpdate:modelValue":o[12]||(o[12]=u=>e.value.activePath=u),clearable:"",placeholder:"请输入需要激活的菜单"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===0]]),e.value.menuType===3?(v(),f(t(d),{key:2,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"权限标识",prop:"auths"},{default:a(()=>[l(m,{modelValue:e.value.auths,"onUpdate:modelValue":o[13]||(o[13]=u=>e.value.auths=u),clearable:"",placeholder:"请输入权限标识"},null,8,["modelValue"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"链接地址"},{default:a(()=>[l(m,{modelValue:e.value.frameSrc,"onUpdate:modelValue":o[14]||(o[14]=u=>e.value.frameSrc=u),clearable:"",placeholder:"请输入 iframe 链接地址"},null,8,["modelValue"])]),_:1})]),_:1},512),[[r,e.value.menuType===1]]),e.value.menuType===1?(v(),f(t(d),{key:3,value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"加载动画"},{default:a(()=>[l(t(p),{modelValue:e.value.frameLoading?0:1,options:t(E),onChange:o[15]||(o[15]=({option:{value:u}})=>{e.value.frameLoading=u})},null,8,["modelValue","options"])]),_:1})]),_:1})):V("",!0),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"菜单"},{default:a(()=>[l(t(p),{modelValue:e.value.showLink?0:1,options:t(F),onChange:o[16]||(o[16]=({option:{value:u}})=>{e.value.showLink=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"父级菜单"},{default:a(()=>[l(t(p),{modelValue:e.value.showParent?0:1,options:t(j),onChange:o[17]||(o[17]=({option:{value:u}})=>{e.value.showParent=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType!==3]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"缓存页面"},{default:a(()=>[l(t(p),{modelValue:e.value.keepAlive?0:1,options:t(D),onChange:o[18]||(o[18]=({option:{value:u}})=>{e.value.keepAlive=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"标签页"},{default:a(()=>[l(t(p),{modelValue:e.value.hiddenTag?1:0,options:t(M),onChange:o[19]||(o[19]=({option:{value:u}})=>{e.value.hiddenTag=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]]),s(l(t(d),{value:12,xs:24,sm:24},{default:a(()=>[l(n,{label:"固定标签页"},{default:a(()=>[l(t(p),{modelValue:e.value.fixedTag?0:1,options:t(N),onChange:o[20]||(o[20]=({option:{value:u}})=>{e.value.fixedTag=u})},null,8,["modelValue","options"])]),_:1})]),_:1},512),[[r,e.value.menuType<2]])]),_:1})]),_:1},8,["model","rules"])}}});export{W as _}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js b/static/js/form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js similarity index 85% rename from static/js/form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js rename to static/js/form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js index 8c547254ac..7d00d8ce59 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js @@ -1 +1 @@ -import{d,a as c,e as o,f,b as i,w as a,i as e}from"./index-AFhnwzwZ.js";const w=d({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=c(m.formInline);return(V,n)=>{const u=o("el-input"),r=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(r,{label:"姓名"},{default:a(()=>[e(u,{modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=s=>l.value.user=s),class:"!w-[220px]",placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(r,{label:"城市"},{default:a(()=>[e(p,{modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=s=>l.value.region=s),class:"!w-[220px]",placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; +import{d,a as c,e as o,f,b as i,w as a,i as e}from"./index-DqH6biyS.js";const w=d({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=c(m.formInline);return(V,n)=>{const u=o("el-input"),r=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(r,{label:"姓名"},{default:a(()=>[e(u,{modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=s=>l.value.user=s),class:"!w-[220px]",placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(r,{label:"城市"},{default:a(()=>[e(p,{modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=s=>l.value.region=s),class:"!w-[220px]",placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-DcswILmb.js b/static/js/form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js similarity index 85% rename from static/js/form.vue_vue_type_script_setup_true_lang-DcswILmb.js rename to static/js/form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js index 8c547254ac..7d00d8ce59 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-DcswILmb.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js @@ -1 +1 @@ -import{d,a as c,e as o,f,b as i,w as a,i as e}from"./index-AFhnwzwZ.js";const w=d({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=c(m.formInline);return(V,n)=>{const u=o("el-input"),r=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(r,{label:"姓名"},{default:a(()=>[e(u,{modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=s=>l.value.user=s),class:"!w-[220px]",placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(r,{label:"城市"},{default:a(()=>[e(p,{modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=s=>l.value.region=s),class:"!w-[220px]",placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; +import{d,a as c,e as o,f,b as i,w as a,i as e}from"./index-DqH6biyS.js";const w=d({__name:"form",props:{formInline:{default:()=>({user:"",region:""})}},setup(m){const l=c(m.formInline);return(V,n)=>{const u=o("el-input"),r=o("el-form-item"),t=o("el-option"),p=o("el-select"),_=o("el-form");return f(),i(_,{model:l.value},{default:a(()=>[e(r,{label:"姓名"},{default:a(()=>[e(u,{modelValue:l.value.user,"onUpdate:modelValue":n[0]||(n[0]=s=>l.value.user=s),class:"!w-[220px]",placeholder:"请输入姓名"},null,8,["modelValue"])]),_:1}),e(r,{label:"城市"},{default:a(()=>[e(p,{modelValue:l.value.region,"onUpdate:modelValue":n[1]||(n[1]=s=>l.value.region=s),class:"!w-[220px]",placeholder:"请选择城市"},{default:a(()=>[e(t,{label:"上海",value:"上海"}),e(t,{label:"浙江",value:"浙江"}),e(t,{label:"深圳",value:"深圳"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{w as _}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js b/static/js/form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js similarity index 95% rename from static/js/form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js rename to static/js/form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js index 4b1e83fda0..e797e68fdd 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js @@ -1 +1 @@ -import{r as _,d as v,a as d,e as u,f as V,b,w as a,i as o,u as g}from"./index-AFhnwzwZ.js";const k=_({name:[{required:!0,message:"角色名称为必填项",trigger:"blur"}],code:[{required:!0,message:"角色标识为必填项",trigger:"blur"}]}),R=v({__name:"form",props:{formInline:{default:()=>({name:"",code:"",remark:""})}},setup(s,{expose:p}){const f=s,m=d(),e=d(f.formInline);function c(){return m.value}return p({getRef:c}),(x,l)=>{const n=u("el-input"),t=u("el-form-item"),i=u("el-form");return V(),b(i,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:g(k),"label-width":"82px"},{default:a(()=>[o(t,{label:"角色名称",prop:"name"},{default:a(()=>[o(n,{modelValue:e.value.name,"onUpdate:modelValue":l[0]||(l[0]=r=>e.value.name=r),clearable:"",placeholder:"请输入角色名称"},null,8,["modelValue"])]),_:1}),o(t,{label:"角色标识",prop:"code"},{default:a(()=>[o(n,{modelValue:e.value.code,"onUpdate:modelValue":l[1]||(l[1]=r=>e.value.code=r),clearable:"",placeholder:"请输入角色标识"},null,8,["modelValue"])]),_:1}),o(t,{label:"备注"},{default:a(()=>[o(n,{modelValue:e.value.remark,"onUpdate:modelValue":l[2]||(l[2]=r=>e.value.remark=r),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; +import{r as _,d as v,a as d,e as u,f as V,b,w as a,i as o,u as g}from"./index-DqH6biyS.js";const k=_({name:[{required:!0,message:"角色名称为必填项",trigger:"blur"}],code:[{required:!0,message:"角色标识为必填项",trigger:"blur"}]}),R=v({__name:"form",props:{formInline:{default:()=>({name:"",code:"",remark:""})}},setup(s,{expose:p}){const f=s,m=d(),e=d(f.formInline);function c(){return m.value}return p({getRef:c}),(x,l)=>{const n=u("el-input"),t=u("el-form-item"),i=u("el-form");return V(),b(i,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:g(k),"label-width":"82px"},{default:a(()=>[o(t,{label:"角色名称",prop:"name"},{default:a(()=>[o(n,{modelValue:e.value.name,"onUpdate:modelValue":l[0]||(l[0]=r=>e.value.name=r),clearable:"",placeholder:"请输入角色名称"},null,8,["modelValue"])]),_:1}),o(t,{label:"角色标识",prop:"code"},{default:a(()=>[o(n,{modelValue:e.value.code,"onUpdate:modelValue":l[1]||(l[1]=r=>e.value.code=r),clearable:"",placeholder:"请输入角色标识"},null,8,["modelValue"])]),_:1}),o(t,{label:"备注"},{default:a(()=>[o(n,{modelValue:e.value.remark,"onUpdate:modelValue":l[2]||(l[2]=r=>e.value.remark=r),placeholder:"请输入备注信息",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/static/js/form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js b/static/js/form.vue_vue_type_script_setup_true_lang-DagxPpTx.js similarity index 93% rename from static/js/form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js rename to static/js/form.vue_vue_type_script_setup_true_lang-DagxPpTx.js index 7fb4bce76a..3367f0e7b0 100644 --- a/static/js/form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js +++ b/static/js/form.vue_vue_type_script_setup_true_lang-DagxPpTx.js @@ -1 +1 @@ -import{f as w}from"./mock-Kl59S0Qr.js";import{d as g,a as _,r as k,e as r,f as V,b as C,w as a,i as t,g as L,u as I,h as m,aI as h,J as u}from"./index-AFhnwzwZ.js";const F={width:24,height:24,body:''},H={class:"el-upload__text"},D=g({__name:"form",setup(R){const i=_(),c=_(),o=k({fileList:[],date:""}),v=s=>{s&&s.validate(e=>{if(e){const f=h({files:o.fileList.map(l=>({raw:l.raw})),date:o.date});w(f).then(({success:l})=>{l?u("提交成功",{type:"success"}):u("提交失败")}).catch(l=>{u(`提交异常 ${l}`,{type:"error"})})}else return!1})},b=s=>{s&&s.resetFields()};return(s,e)=>{const f=r("IconifyIconOffline"),l=r("el-upload"),d=r("el-form-item"),x=r("el-date-picker"),p=r("el-button"),y=r("el-form");return V(),C(y,{ref_key:"formRef",ref:i,model:o,"label-width":"82px"},{default:a(()=>[t(d,{label:"附件",prop:"fileList",rules:[{required:!0,message:"附件不能为空"}]},{default:a(()=>[t(l,{ref_key:"uploadRef",ref:c,"file-list":o.fileList,"onUpdate:fileList":e[0]||(e[0]=n=>o.fileList=n),drag:"",multiple:"",action:"#",class:"!w-[200px]","auto-upload":!1},{default:a(()=>[L("div",H,[t(f,{icon:I(F),width:"26",class:"m-auto mb-2"},null,8,["icon"]),e[4]||(e[4]=m(" 可点击或拖拽上传 "))])]),_:1},8,["file-list"])]),_:1}),t(d,{label:"日期",prop:"date",rules:[{required:!0,message:"日期不能为空"}]},{default:a(()=>[t(x,{modelValue:o.date,"onUpdate:modelValue":e[1]||(e[1]=n=>o.date=n),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue"])]),_:1}),t(d,null,{default:a(()=>[t(p,{type:"primary",text:"",bg:"",onClick:e[2]||(e[2]=n=>v(i.value))},{default:a(()=>e[5]||(e[5]=[m(" 提交 ")])),_:1}),t(p,{text:"",bg:"",onClick:e[3]||(e[3]=n=>b(i.value))},{default:a(()=>e[6]||(e[6]=[m("重置")])),_:1})]),_:1})]),_:1},8,["model"])}}});export{D as _}; +import{f as w}from"./mock-DMcMJ3Ay.js";import{d as g,a as _,r as k,e as r,f as V,b as C,w as a,i as t,g as L,u as I,h as m,aI as h,J as u}from"./index-DqH6biyS.js";const F={width:24,height:24,body:''},H={class:"el-upload__text"},D=g({__name:"form",setup(R){const i=_(),c=_(),o=k({fileList:[],date:""}),v=s=>{s&&s.validate(e=>{if(e){const f=h({files:o.fileList.map(l=>({raw:l.raw})),date:o.date});w(f).then(({success:l})=>{l?u("提交成功",{type:"success"}):u("提交失败")}).catch(l=>{u(`提交异常 ${l}`,{type:"error"})})}else return!1})},b=s=>{s&&s.resetFields()};return(s,e)=>{const f=r("IconifyIconOffline"),l=r("el-upload"),d=r("el-form-item"),x=r("el-date-picker"),p=r("el-button"),y=r("el-form");return V(),C(y,{ref_key:"formRef",ref:i,model:o,"label-width":"82px"},{default:a(()=>[t(d,{label:"附件",prop:"fileList",rules:[{required:!0,message:"附件不能为空"}]},{default:a(()=>[t(l,{ref_key:"uploadRef",ref:c,"file-list":o.fileList,"onUpdate:fileList":e[0]||(e[0]=n=>o.fileList=n),drag:"",multiple:"",action:"#",class:"!w-[200px]","auto-upload":!1},{default:a(()=>[L("div",H,[t(f,{icon:I(F),width:"26",class:"m-auto mb-2"},null,8,["icon"]),e[4]||(e[4]=m(" 可点击或拖拽上传 "))])]),_:1},8,["file-list"])]),_:1}),t(d,{label:"日期",prop:"date",rules:[{required:!0,message:"日期不能为空"}]},{default:a(()=>[t(x,{modelValue:o.date,"onUpdate:modelValue":e[1]||(e[1]=n=>o.date=n),type:"datetime",class:"!w-[200px]",placeholder:"请选择日期时间","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue"])]),_:1}),t(d,null,{default:a(()=>[t(p,{type:"primary",text:"",bg:"",onClick:e[2]||(e[2]=n=>v(i.value))},{default:a(()=>e[5]||(e[5]=[m(" 提交 ")])),_:1}),t(p,{text:"",bg:"",onClick:e[3]||(e[3]=n=>b(i.value))},{default:a(()=>e[6]||(e[6]=[m("重置")])),_:1})]),_:1})]),_:1},8,["model"])}}});export{D as _}; diff --git a/static/js/formPrimitive-CmmN6i4n.js b/static/js/formPrimitive-CXS4BHOR.js similarity index 52% rename from static/js/formPrimitive-CmmN6i4n.js rename to static/js/formPrimitive-CXS4BHOR.js index 909348091d..85d616d250 100644 --- a/static/js/formPrimitive-CmmN6i4n.js +++ b/static/js/formPrimitive-CXS4BHOR.js @@ -1 +1 @@ -import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/formPrimitive-DU3nkcrF.js b/static/js/formPrimitive-OpV8hymT.js similarity index 52% rename from static/js/formPrimitive-DU3nkcrF.js rename to static/js/formPrimitive-OpV8hymT.js index c2b4a04484..dcf1758fd1 100644 --- a/static/js/formPrimitive-DU3nkcrF.js +++ b/static/js/formPrimitive-OpV8hymT.js @@ -1 +1 @@ -import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js";import"./index-AFhnwzwZ.js";export{m as default}; +import{_ as m}from"./formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js b/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js similarity index 85% rename from static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js rename to static/js/formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js index 259ae7fd77..d3011fcd43 100644 --- a/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js +++ b/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js @@ -1 +1 @@ -import{d as l,aG as p,e as m,f as r,b as u,u as d,aH as i}from"./index-AFhnwzwZ.js";const v=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(t,{emit:o}){const e=p(t,"data",o);return(_,a)=>{const s=m("el-input");return r(),u(s,{modelValue:d(e),"onUpdate:modelValue":a[0]||(a[0]=n=>i(e)?e.value=n:null),class:"!w-[220px]",placeholder:"请输入内容"},null,8,["modelValue"])}}});export{v as _}; +import{d as l,aG as p,e as m,f as r,b as u,u as d,aH as i}from"./index-DqH6biyS.js";const v=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(t,{emit:o}){const e=p(t,"data",o);return(_,a)=>{const s=m("el-input");return r(),u(s,{modelValue:d(e),"onUpdate:modelValue":a[0]||(a[0]=n=>i(e)?e.value=n:null),class:"!w-[220px]",placeholder:"请输入内容"},null,8,["modelValue"])}}});export{v as _}; diff --git a/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js b/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js similarity index 85% rename from static/js/formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js rename to static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js index 259ae7fd77..d3011fcd43 100644 --- a/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js +++ b/static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js @@ -1 +1 @@ -import{d as l,aG as p,e as m,f as r,b as u,u as d,aH as i}from"./index-AFhnwzwZ.js";const v=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(t,{emit:o}){const e=p(t,"data",o);return(_,a)=>{const s=m("el-input");return r(),u(s,{modelValue:d(e),"onUpdate:modelValue":a[0]||(a[0]=n=>i(e)?e.value=n:null),class:"!w-[220px]",placeholder:"请输入内容"},null,8,["modelValue"])}}});export{v as _}; +import{d as l,aG as p,e as m,f as r,b as u,u as d,aH as i}from"./index-DqH6biyS.js";const v=l({__name:"formPrimitive",props:{data:{default:()=>""}},emits:["update:data"],setup(t,{emit:o}){const e=p(t,"data",o);return(_,a)=>{const s=m("el-input");return r(),u(s,{modelValue:d(e),"onUpdate:modelValue":a[0]||(a[0]=n=>i(e)?e.value=n:null),class:"!w-[220px]",placeholder:"请输入内容"},null,8,["modelValue"])}}});export{v as _}; diff --git a/static/js/frame-CpGMGK3l.js b/static/js/frame-BpDq38R9.js similarity index 94% rename from static/js/frame-CpGMGK3l.js rename to static/js/frame-BpDq38R9.js index 59e4a883fc..cc0f2aec08 100644 --- a/static/js/frame-CpGMGK3l.js +++ b/static/js/frame-BpDq38R9.js @@ -1 +1 @@ -import{d as g,R as x,a as l,ac as I,u as n,n as R,m as k,A as B,B as L,f as S,k as y,g as E,y as P,_ as w}from"./index-AFhnwzwZ.js";const D=["element-loading-text"],A=["src"],C=g({name:"LayFrame",__name:"frame",props:{frameInfo:{}},setup(v){var m,u,d;const o=v,{t:p}=x(),f=l(!0),t=I(),r=l(""),i=l(null);(m=n(t.meta))!=null&&m.frameSrc&&(r.value=(u=n(t.meta))==null?void 0:u.frameSrc),((d=n(t.meta))==null?void 0:d.frameLoading)===!1&&c();function c(){f.value=!1}function h(){P(()=>{const e=n(i);if(!e)return;const a=e;a.attachEvent?a.attachEvent("onload",()=>{c()}):e.onload=()=>{c()}})}return R(()=>t.fullPath,e=>{var a,s,_;t.name==="Redirect"&&e.includes((a=o.frameInfo)==null?void 0:a.fullPath)&&(r.value=e,f.value=!0),((s=o.frameInfo)==null?void 0:s.fullPath)===e&&(r.value=(_=o.frameInfo)==null?void 0:_.frameSrc)}),k(()=>{h()}),(e,a)=>{const s=B("loading");return L((S(),y("div",{class:"frame","element-loading-text":n(p)("status.pureLoad")},[E("iframe",{ref_key:"frameRef",ref:i,src:r.value,class:"frame-iframe"},null,8,A)],8,D)),[[s,f.value]])}}}),M=w(C,[["__scopeId","data-v-5296aa19"]]);export{M as default}; +import{d as g,R as x,a as l,ac as I,u as n,n as R,m as k,A as B,B as L,f as S,k as y,g as E,y as P,_ as w}from"./index-DqH6biyS.js";const D=["element-loading-text"],A=["src"],C=g({name:"LayFrame",__name:"frame",props:{frameInfo:{}},setup(v){var m,u,d;const o=v,{t:p}=x(),f=l(!0),t=I(),r=l(""),i=l(null);(m=n(t.meta))!=null&&m.frameSrc&&(r.value=(u=n(t.meta))==null?void 0:u.frameSrc),((d=n(t.meta))==null?void 0:d.frameLoading)===!1&&c();function c(){f.value=!1}function h(){P(()=>{const e=n(i);if(!e)return;const a=e;a.attachEvent?a.attachEvent("onload",()=>{c()}):e.onload=()=>{c()}})}return R(()=>t.fullPath,e=>{var a,s,_;t.name==="Redirect"&&e.includes((a=o.frameInfo)==null?void 0:a.fullPath)&&(r.value=e,f.value=!0),((s=o.frameInfo)==null?void 0:s.fullPath)===e&&(r.value=(_=o.frameInfo)==null?void 0:_.frameSrc)}),k(()=>{h()}),(e,a)=>{const s=B("loading");return L((S(),y("div",{class:"frame","element-loading-text":n(p)("status.pureLoad")},[E("iframe",{ref_key:"frameRef",ref:i,src:r.value,class:"frame-iframe"},null,8,A)],8,D)),[[s,f.value]])}}}),M=w(C,[["__scopeId","data-v-5296aa19"]]);export{M as default}; diff --git a/static/js/groupHeader-Cuw_FDBW.js b/static/js/groupHeader-Cuw_FDBW.js new file mode 100644 index 0000000000..ba05fc25bc --- /dev/null +++ b/static/js/groupHeader-Cuw_FDBW.js @@ -0,0 +1 @@ +import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/groupHeader-KkwMdTg1.js b/static/js/groupHeader-KkwMdTg1.js deleted file mode 100644 index 8133a58445..0000000000 --- a/static/js/groupHeader-KkwMdTg1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js b/static/js/groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js similarity index 73% rename from static/js/groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js rename to static/js/groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js index 2421913d35..5efac3df64 100644 --- a/static/js/groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js +++ b/static/js/groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js @@ -1 +1 @@ -import{a as o}from"./data-Ym5jS6hg.js";import{d as r,e as l,f as t,b as p,u as n}from"./index-AFhnwzwZ.js";const u=r({__name:"groupHeader",setup(s){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(c,d)=>{const a=l("pure-table");return t(),p(a,{data:n(o),columns:e,alignWhole:"center"},null,8,["data"])}}});export{u as _}; +import{a as o}from"./data-B0U4WEbi.js";import{d as r,e as l,f as t,b as p,u as n}from"./index-DqH6biyS.js";const u=r({__name:"groupHeader",setup(s){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(c,d)=>{const a=l("pure-table");return t(),p(a,{data:n(o),columns:e,alignWhole:"center"},null,8,["data"])}}});export{u as _}; diff --git a/static/js/high-9cT5I8aF.js b/static/js/high-BojFCUXg.js similarity index 54% rename from static/js/high-9cT5I8aF.js rename to static/js/high-BojFCUXg.js index 4201d88cc5..e84378f16d 100644 --- a/static/js/high-9cT5I8aF.js +++ b/static/js/high-BojFCUXg.js @@ -1,2 +1,2 @@ -import{list as g}from"./list-h8CB_H-q.js";import{d as y,a as x,b as s,w as e,e as o,A as w,f as r,g as d,h as a,i as n,k as _,l as C,B,t as T,U as D,j as N,u as V,F as z,_ as F}from"./index-AFhnwzwZ.js";import"./index.vue_vue_type_script_setup_true_lang-DY3i7yp4.js";import"./columns-4XfjhWdI.js";import"./data-BCF1-ihA.js";import"./index.vue_vue_type_script_setup_true_lang-CZos11Ig.js";import"./columns-CivT3P5a.js";import"./index.vue_vue_type_script_setup_true_lang-DdDOZHtg.js";import"./columns-Bq1kzona.js";import"./index.vue_vue_type_script_setup_true_lang-CHOr-SQF.js";import"./columns-D_FG28Q-.js";import"./sortable.esm-Br3T5NCo.js";import"./index.vue_vue_type_script_setup_true_lang-uqitQCPz.js";import"./columns-DZzMsn5t.js";import"./index.vue_vue_type_script_setup_true_lang-BNbMfzQc.js";import"./columns-N69ho3Xb.js";import"./index.vue_vue_type_script_setup_true_lang-SWR9yajI.js";import"./columns-WW1tqWmb.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-BdaofWVl.js";import"./columns-D6eQDAkz.js";import"./index.vue_vue_type_script_setup_true_lang-ldfwpCAC.js";import"./columns-BncLCxvV.js";import"./print-B-zH8tbv.js";import"./index.vue_vue_type_script_setup_true_lang-CL6ssXl7.js";import"./columns-DfnzjBq4.js";import"./index.vue_vue_type_script_setup_true_lang-B2xVCSk0.js";import"./index.vue_vue_type_script_setup_true_lang-Dt0BOUOw.js";import"./columns-BVO3RVsJ.js";import"./index.vue_vue_type_script_setup_true_lang-DQoQb7YO.js";import"./columns-D5XW7oQh.js";const S={class:"card-header"},$={class:"font-medium"},j=y({name:"PureTableHigh",__name:"high",setup(A){const p=x(0);function u({index:l}){p.value=l}return(l,t)=>{const m=o("el-link"),b=o("el-alert"),f=o("el-tab-pane"),h=o("el-tabs"),k=o("el-card"),v=w("tippy");return r(),s(k,{shadow:"never"},{header:e(()=>[d("div",S,[d("span",$,[t[1]||(t[1]=a(" 高级用法全部采用 TSX 语法,充分发挥 ")),n(m,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>t[0]||(t[0]=[a(" @pureadmin/table ")])),_:1}),t[2]||(t[2]=a(" 的灵活性,维护整体表格只需操作 columns 配置即可 "))])]),n(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/high",target:"_blank"},{default:e(()=>t[3]||(t[3]=[a(" 代码位置 src/views/table/high ")])),_:1})]),default:e(()=>[n(b,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id。作用:1. 用来优化 Table +import{list as g}from"./list-XaEhGcdh.js";import{d as y,a as x,b as s,w as e,e as o,A as w,f as r,g as d,h as a,i as n,k as _,l as C,B,t as T,U as D,j as N,u as V,F as z,_ as F}from"./index-DqH6biyS.js";import"./index.vue_vue_type_script_setup_true_lang-DoHhAYPD.js";import"./columns-DPyYTQWT.js";import"./data-BAnvZeM5.js";import"./index.vue_vue_type_script_setup_true_lang-D4hqcQBq.js";import"./columns-D6cChJAy.js";import"./index.vue_vue_type_script_setup_true_lang-D0NINnTP.js";import"./columns-ByNo9D3g.js";import"./index.vue_vue_type_script_setup_true_lang-DX1t3q06.js";import"./columns-D9x1xpmu.js";import"./sortable.esm-Br3T5NCo.js";import"./index.vue_vue_type_script_setup_true_lang-B_2nF_ws.js";import"./columns-Dvo-0eGO.js";import"./index.vue_vue_type_script_setup_true_lang-CGnGD0Ts.js";import"./columns-Du5B4AnY.js";import"./index.vue_vue_type_script_setup_true_lang-BbPegNS9.js";import"./columns-FB2NJ8pL.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-2k-n-FXG.js";import"./columns-BvShHYbm.js";import"./index.vue_vue_type_script_setup_true_lang-CuypgY0_.js";import"./columns-z1tHx2lb.js";import"./print-B-zH8tbv.js";import"./index.vue_vue_type_script_setup_true_lang-CVXfCMb3.js";import"./columns-Dh4byXvk.js";import"./index.vue_vue_type_script_setup_true_lang-BNRtHyLB.js";import"./index.vue_vue_type_script_setup_true_lang-CYghlETT.js";import"./columns-BR0-Komp.js";import"./index.vue_vue_type_script_setup_true_lang-ChiTuvXl.js";import"./columns-DjJFz-0d.js";const S={class:"card-header"},$={class:"font-medium"},j=y({name:"PureTableHigh",__name:"high",setup(A){const p=x(0);function u({index:l}){p.value=l}return(l,t)=>{const m=o("el-link"),b=o("el-alert"),f=o("el-tab-pane"),h=o("el-tabs"),k=o("el-card"),v=w("tippy");return r(),s(k,{shadow:"never"},{header:e(()=>[d("div",S,[d("span",$,[t[1]||(t[1]=a(" 高级用法全部采用 TSX 语法,充分发挥 ")),n(m,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:e(()=>t[0]||(t[0]=[a(" @pureadmin/table ")])),_:1}),t[2]||(t[2]=a(" 的灵活性,维护整体表格只需操作 columns 配置即可 "))])]),n(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/high",target:"_blank"},{default:e(()=>t[3]||(t[3]=[a(" 代码位置 src/views/table/high ")])),_:1})]),default:e(()=>[n(b,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id。作用:1. 用来优化 Table 的渲染,尤其当字段在深层结构中;2. 防止拖拽后表格组件内部混乱(拖拽必须设置)`,type:"info",closable:!1}),n(h,{onTabClick:u},{default:e(()=>[(r(!0),_(z,null,C(V(g),(i,c)=>(r(),s(f,{key:i.key,lazy:!0},{label:e(()=>[B((r(),_("span",null,[a(T(i.title),1)])),[[v,{maxWidth:"none",content:`(第 ${c+1} 个示例)${i.content}`}]])]),default:e(()=>[p.value==c?(r(),s(D(i.component),{key:0})):N("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}}),_t=F(j,[["__scopeId","data-v-9c6a6a6d"]]);export{_t as default}; diff --git a/static/js/hook-Dpo6x_Lp.js b/static/js/hook-3sUn2oql.js similarity index 94% rename from static/js/hook-Dpo6x_Lp.js rename to static/js/hook-3sUn2oql.js index 7c6a2d022c..08b9481a60 100644 --- a/static/js/hook-Dpo6x_Lp.js +++ b/static/js/hook-3sUn2oql.js @@ -1 +1 @@ -var d=(o,c,a)=>new Promise((s,n)=>{var p=t=>{try{i(a.next(t))}catch(r){n(r)}},l=t=>{try{i(a.throw(t))}catch(r){n(r)}},i=t=>t.done?s(t.value):Promise.resolve(t.value).then(p,l);i((a=a.apply(o,c)).next())});import{r as g,a as m,m as z,i as C,e as T,aX as P,J as f,ao as R,bo as Y}from"./index-AFhnwzwZ.js";import{a as w}from"./system-ByM4snMa.js";import{u as D}from"./hooks-DZOKHTKM.js";function x(o){const c=g({module:"",status:"",operatingTime:""}),a=m([]),s=m(!0),n=m(0),{tagStyle:p}=D(),l=g({total:0,pageSize:10,currentPage:1,background:!0}),i=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"序号",prop:"id",minWidth:90},{label:"操作人员",prop:"username",minWidth:100},{label:"所属模块",prop:"module",minWidth:140},{label:"操作概要",prop:"summary",minWidth:140},{label:"操作 IP",prop:"ip",minWidth:100},{label:"操作地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"操作状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:y})=>C(T("el-tag"),{size:y.size,style:p.value(e.status)},{default:()=>[e.status===1?"成功":"失败"]})},{label:"操作时间",prop:"operatingTime",minWidth:180,formatter:({operatingTime:e})=>P(e).format("YYYY-MM-DD HH:mm:ss")}];function t(e){}function r(e){}function h(e){n.value=e.length,o.value.setAdaptive()}function b(){n.value=0,o.value.getTableRef().clearSelection()}function v(){const e=o.value.getTableRef().getSelectionRows();f(`已删除序号为 ${R(e,"id")} 的数据`,{type:"success"}),o.value.getTableRef().clearSelection(),u()}function S(){f("已删除所有日志数据",{type:"success"}),u()}function u(){return d(this,null,function*(){s.value=!0;const{data:e}=yield w(Y(c));a.value=e.list,l.total=e.total,l.pageSize=e.pageSize,l.currentPage=e.currentPage,setTimeout(()=>{s.value=!1},500)})}const W=e=>{e&&(e.resetFields(),u())};return z(()=>{u()}),{form:c,loading:s,columns:i,dataList:a,pagination:l,selectedNum:n,onSearch:u,clearAll:S,resetForm:W,onbatchDel:v,handleSizeChange:t,onSelectionCancel:b,handleCurrentChange:r,handleSelectionChange:h}}export{x as useRole}; +var d=(o,c,a)=>new Promise((s,n)=>{var p=t=>{try{i(a.next(t))}catch(r){n(r)}},l=t=>{try{i(a.throw(t))}catch(r){n(r)}},i=t=>t.done?s(t.value):Promise.resolve(t.value).then(p,l);i((a=a.apply(o,c)).next())});import{r as g,a as m,m as z,i as C,e as T,aX as P,J as f,ao as R,bo as Y}from"./index-DqH6biyS.js";import{a as w}from"./system-Q00uAIzG.js";import{u as D}from"./hooks-CT5JiEcI.js";function x(o){const c=g({module:"",status:"",operatingTime:""}),a=m([]),s=m(!0),n=m(0),{tagStyle:p}=D(),l=g({total:0,pageSize:10,currentPage:1,background:!0}),i=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"序号",prop:"id",minWidth:90},{label:"操作人员",prop:"username",minWidth:100},{label:"所属模块",prop:"module",minWidth:140},{label:"操作概要",prop:"summary",minWidth:140},{label:"操作 IP",prop:"ip",minWidth:100},{label:"操作地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"操作状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:y})=>C(T("el-tag"),{size:y.size,style:p.value(e.status)},{default:()=>[e.status===1?"成功":"失败"]})},{label:"操作时间",prop:"operatingTime",minWidth:180,formatter:({operatingTime:e})=>P(e).format("YYYY-MM-DD HH:mm:ss")}];function t(e){}function r(e){}function h(e){n.value=e.length,o.value.setAdaptive()}function b(){n.value=0,o.value.getTableRef().clearSelection()}function v(){const e=o.value.getTableRef().getSelectionRows();f(`已删除序号为 ${R(e,"id")} 的数据`,{type:"success"}),o.value.getTableRef().clearSelection(),u()}function S(){f("已删除所有日志数据",{type:"success"}),u()}function u(){return d(this,null,function*(){s.value=!0;const{data:e}=yield w(Y(c));a.value=e.list,l.total=e.total,l.pageSize=e.pageSize,l.currentPage=e.currentPage,setTimeout(()=>{s.value=!1},500)})}const W=e=>{e&&(e.resetFields(),u())};return z(()=>{u()}),{form:c,loading:s,columns:i,dataList:a,pagination:l,selectedNum:n,onSearch:u,clearAll:S,resetForm:W,onbatchDel:v,handleSizeChange:t,onSelectionCancel:b,handleCurrentChange:r,handleSelectionChange:h}}export{x as useRole}; diff --git a/static/js/hook-DuIhbc6O.js b/static/js/hook-BL8N91Xt.js similarity index 93% rename from static/js/hook-DuIhbc6O.js rename to static/js/hook-BL8N91Xt.js index 25a510434c..f9874cb69b 100644 --- a/static/js/hook-DuIhbc6O.js +++ b/static/js/hook-BL8N91Xt.js @@ -1 +1 @@ -var h=(l,f,s)=>new Promise((g,i)=>{var c=n=>{try{o(s.next(n))}catch(r){i(r)}},v=n=>{try{o(s.throw(n))}catch(r){i(r)}},o=n=>n.done?g(n.value):Promise.resolve(n.value).then(c,v);o((s=s.apply(l,f)).next())});import{r as D,a as t,m as N,ao as Q,gm as q,n as $,aa as x,i as G,e as Z,aX as w,fv as ee,J as y,bo as ae,af as te,X as ne,L as se}from"./index-AFhnwzwZ.js";import{_ as le}from"./form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js";import{u as oe}from"./hooks-DZOKHTKM.js";import{h as ue,i as ie,j as ce}from"./system-ByM4snMa.js";function ve(l){const f=D({name:"",code:"",status:""}),s=t(),g=t(),i=t([]),c=t([]),v=t([]),o=t(!1),n=t(!0),r=t(!1),I=t(),d=t({}),b=t(!1),S=t(!1),{switchStyle:T}=oe(),z={value:"id",label:"title",children:"children"},p=D({total:0,pageSize:10,currentPage:1,background:!0}),F=[{label:"角色编号",prop:"id"},{label:"角色名称",prop:"name"},{label:"角色标识",prop:"code"},{label:"状态",cellRenderer:e=>{var a;return G(Z("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(a=d.value[e.index])==null?void 0:a.loading,modelValue:e.row.status,"onUpdate:modelValue":u=>e.row.status=u,"active-value":1,"inactive-value":0,"active-text":"已启用","inactive-text":"已停用","inline-prompt":!0,style:T.value,onChange:()=>L(e)},null)},minWidth:90},{label:"备注",prop:"remark",minWidth:160},{label:"创建时间",prop:"createTime",minWidth:160,formatter:({createTime:e})=>w(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:210,slot:"operation"}];function L({row:e,index:a}){ee.confirm(`确认要${e.status===0?"停用":"启用"}${e.name}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{d.value[a]=Object.assign({},d.value[a],{loading:!0}),setTimeout(()=>{d.value[a]=Object.assign({},d.value[a],{loading:!1}),y(`已${e.status===0?"停用":"启用"}${e.name}`,{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function R(e){y(`您删除了角色名称为${e.name}的这条数据`,{type:"success"}),m()}function K(e){}function P(e){}function j(e){}function m(){return h(this,null,function*(){n.value=!0;const{data:e}=yield ie(ae(f));i.value=e.list,p.total=e.total,p.pageSize=e.pageSize,p.currentPage=e.currentPage,setTimeout(()=>{n.value=!1},500)})}const H=e=>{e&&(e.resetFields(),m())};function V(e="新增",a){var u,C,k;te({title:`${e}角色`,props:{formInline:{name:(u=a==null?void 0:a.name)!=null?u:"",code:(C=a==null?void 0:a.code)!=null?C:"",remark:(k=a==null?void 0:a.remark)!=null?k:""}},width:"40%",draggable:!0,fullscreen:ne(),fullscreenIcon:!0,closeOnClickModal:!1,contentRenderer:()=>se(le,{ref:g,formInline:null}),beforeSure:(_,{options:A})=>{const U=g.value.getRef(),X=A.props.formInline;function M(){y(`您${e}了角色名称为${X.name}的这条数据`,{type:"success"}),_(),m()}U.validate(J=>{J&&M()})}})}function Y(e){return h(this,null,function*(){const{id:a}=e;if(a){s.value=e,o.value=!0;const{data:u}=yield ce({id:a});l.value.setCheckedKeys(u)}else s.value=null,o.value=!1})}function B({row:{id:e}}){var a;return{cursor:"pointer",background:e===((a=s.value)==null?void 0:a.id)?"var(--el-fill-color-light)":""}}function E(){const{id:e,name:a}=s.value;y(`角色名称为${a}的菜单权限修改成功`,{type:"success"})}const O=e=>{l.value.filter(e)},W=(e,a)=>x(a.title).includes(e);return N(()=>h(this,null,function*(){m();const{data:e}=yield ue();c.value=Q(e,"id"),v.value=q(e)})),$(b,e=>{e?l.value.setExpandedKeys(c.value):l.value.setExpandedKeys([])}),$(S,e=>{e?l.value.setCheckedKeys(c.value):l.value.setCheckedKeys([])}),{form:f,isShow:o,curRow:s,loading:n,columns:F,rowStyle:B,dataList:i,treeData:v,treeProps:z,isLinkage:r,pagination:p,isExpandAll:b,isSelectAll:S,treeSearchValue:I,onSearch:m,resetForm:H,openDialog:V,handleMenu:Y,handleSave:E,handleDelete:R,filterMethod:W,transformI18n:x,onQueryChanged:O,handleSizeChange:K,handleCurrentChange:P,handleSelectionChange:j}}export{ve as useRole}; +var h=(l,f,s)=>new Promise((g,i)=>{var c=n=>{try{o(s.next(n))}catch(r){i(r)}},v=n=>{try{o(s.throw(n))}catch(r){i(r)}},o=n=>n.done?g(n.value):Promise.resolve(n.value).then(c,v);o((s=s.apply(l,f)).next())});import{r as D,a as t,m as N,ao as Q,gm as q,n as $,aa as x,i as G,e as Z,aX as w,fv as ee,J as y,bo as ae,af as te,X as ne,L as se}from"./index-DqH6biyS.js";import{_ as le}from"./form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js";import{u as oe}from"./hooks-CT5JiEcI.js";import{h as ue,i as ie,j as ce}from"./system-Q00uAIzG.js";function ve(l){const f=D({name:"",code:"",status:""}),s=t(),g=t(),i=t([]),c=t([]),v=t([]),o=t(!1),n=t(!0),r=t(!1),I=t(),d=t({}),b=t(!1),S=t(!1),{switchStyle:T}=oe(),z={value:"id",label:"title",children:"children"},p=D({total:0,pageSize:10,currentPage:1,background:!0}),F=[{label:"角色编号",prop:"id"},{label:"角色名称",prop:"name"},{label:"角色标识",prop:"code"},{label:"状态",cellRenderer:e=>{var a;return G(Z("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(a=d.value[e.index])==null?void 0:a.loading,modelValue:e.row.status,"onUpdate:modelValue":u=>e.row.status=u,"active-value":1,"inactive-value":0,"active-text":"已启用","inactive-text":"已停用","inline-prompt":!0,style:T.value,onChange:()=>L(e)},null)},minWidth:90},{label:"备注",prop:"remark",minWidth:160},{label:"创建时间",prop:"createTime",minWidth:160,formatter:({createTime:e})=>w(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:210,slot:"operation"}];function L({row:e,index:a}){ee.confirm(`确认要${e.status===0?"停用":"启用"}${e.name}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{d.value[a]=Object.assign({},d.value[a],{loading:!0}),setTimeout(()=>{d.value[a]=Object.assign({},d.value[a],{loading:!1}),y(`已${e.status===0?"停用":"启用"}${e.name}`,{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function R(e){y(`您删除了角色名称为${e.name}的这条数据`,{type:"success"}),m()}function K(e){}function P(e){}function j(e){}function m(){return h(this,null,function*(){n.value=!0;const{data:e}=yield ie(ae(f));i.value=e.list,p.total=e.total,p.pageSize=e.pageSize,p.currentPage=e.currentPage,setTimeout(()=>{n.value=!1},500)})}const H=e=>{e&&(e.resetFields(),m())};function V(e="新增",a){var u,C,k;te({title:`${e}角色`,props:{formInline:{name:(u=a==null?void 0:a.name)!=null?u:"",code:(C=a==null?void 0:a.code)!=null?C:"",remark:(k=a==null?void 0:a.remark)!=null?k:""}},width:"40%",draggable:!0,fullscreen:ne(),fullscreenIcon:!0,closeOnClickModal:!1,contentRenderer:()=>se(le,{ref:g,formInline:null}),beforeSure:(_,{options:A})=>{const U=g.value.getRef(),X=A.props.formInline;function M(){y(`您${e}了角色名称为${X.name}的这条数据`,{type:"success"}),_(),m()}U.validate(J=>{J&&M()})}})}function Y(e){return h(this,null,function*(){const{id:a}=e;if(a){s.value=e,o.value=!0;const{data:u}=yield ce({id:a});l.value.setCheckedKeys(u)}else s.value=null,o.value=!1})}function B({row:{id:e}}){var a;return{cursor:"pointer",background:e===((a=s.value)==null?void 0:a.id)?"var(--el-fill-color-light)":""}}function E(){const{id:e,name:a}=s.value;y(`角色名称为${a}的菜单权限修改成功`,{type:"success"})}const O=e=>{l.value.filter(e)},W=(e,a)=>x(a.title).includes(e);return N(()=>h(this,null,function*(){m();const{data:e}=yield ue();c.value=Q(e,"id"),v.value=q(e)})),$(b,e=>{e?l.value.setExpandedKeys(c.value):l.value.setExpandedKeys([])}),$(S,e=>{e?l.value.setCheckedKeys(c.value):l.value.setCheckedKeys([])}),{form:f,isShow:o,curRow:s,loading:n,columns:F,rowStyle:B,dataList:i,treeData:v,treeProps:z,isLinkage:r,pagination:p,isExpandAll:b,isSelectAll:S,treeSearchValue:I,onSearch:m,resetForm:H,openDialog:V,handleMenu:Y,handleSave:E,handleDelete:R,filterMethod:W,transformI18n:x,onQueryChanged:O,handleSizeChange:K,handleCurrentChange:P,handleSelectionChange:j}}export{ve as useRole}; diff --git a/static/js/hook-CLM_CVdg.js b/static/js/hook-BsG9z_pb.js similarity index 98% rename from static/js/hook-CLM_CVdg.js rename to static/js/hook-BsG9z_pb.js index a1ca82d3e0..f77f84f9b6 100644 --- a/static/js/hook-CLM_CVdg.js +++ b/static/js/hook-BsG9z_pb.js @@ -1,2 +1,2 @@ -var Xe=Object.defineProperty,Ke=Object.defineProperties;var Je=Object.getOwnPropertyDescriptors;var de=Object.getOwnPropertySymbols;var Qe=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable;var N=Math.pow,fe=(r,e,t)=>e in r?Xe(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,I=(r,e)=>{for(var t in e||(e={}))Qe.call(e,t)&&fe(r,t,e[t]);if(de)for(var t of de(e))et.call(e,t)&&fe(r,t,e[t]);return r},j=(r,e)=>Ke(r,Je(e));var V=(r,e,t)=>new Promise((s,n)=>{var a=o=>{try{c(t.next(o))}catch(u){n(u)}},i=o=>{try{c(t.throw(o))}catch(u){n(u)}},c=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,i);c((t=t.apply(r,e)).next())});import{r as K,a as D,p as tt,n as st,aZ as nt,m as rt,gm as ge,X as z,i as R,e as J,go as at,aX as it,fv as ot,J as $,ao as ct,bo as lt,af as Z,L as Q,eH as ut,ds as ht,e4 as dt,eU as ft,F as gt}from"./index-AFhnwzwZ.js";import{_ as pt}from"./role.vue_vue_type_script_setup_true_lang-C7tReUW6.js";import{_ as mt}from"./index.vue_vue_type_script_setup_true_lang-43Fb-9Dj.js";import{u as ee}from"./user-DNtD0Fqa.js";import{u as bt}from"./hooks-DZOKHTKM.js";import{R as yt}from"./index-B5M9mQxp.js";import{e as Mt,k as vt,l as xt,m as kt}from"./system-ByM4snMa.js";import"./index-BSGz-TY2.js";import"./index-B9RHPT66.js";const ne=(r,e)=>r.push.apply(r,e),U=r=>r.sort((e,t)=>e.i-t.i||e.j-t.j),pe=r=>{const e={};let t=1;return r.forEach(s=>{e[s]=t,t+=1}),e};var St={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const me=2050,be=1e3,Dt=St,Et=10,Tt=1e4,Se=10,De=50,Ee=20,Te=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,At=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,It=/^[A-Z\xbf-\xdf]+$/,Ae=/^[^a-z\xdf-\xff]+$/,Rt=/^[a-z\xdf-\xff]+$/,Ct=/^[^A-Z\xbf-\xdf]+$/,wt=/[a-z\xdf-\xff]/,Pt=/[A-Z\xbf-\xdf]/,Lt=/[^A-Za-z\xbf-\xdf]/gi,jt=/^\d+$/,ae=new Date().getFullYear(),Ot={recentYear:/19\d\d|200\d|201\d|202\d/g},Ie=[" ",",",";",":","|","/","\\","_",".","-"],_t=Ie.length;class Nt{match({password:e}){const t=[...this.getMatchesWithoutSeparator(e),...this.getMatchesWithSeparator(e)],s=this.filterNoise(t);return U(s)}getMatchesWithSeparator(e){const t=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let n=0;n<=Math.abs(e.length-6);n+=1)for(let a=n+5;a<=n+9&&!(a>=e.length);a+=1){const i=e.slice(n,+a+1||9e9),c=s.exec(i);if(c!=null){const o=this.mapIntegersToDayMonthYear([parseInt(c[1],10),parseInt(c[3],10),parseInt(c[4],10)]);o!=null&&t.push({pattern:"date",token:i,i:n,j:a,separator:c[2],year:o.year,month:o.month,day:o.day})}}return t}getMatchesWithoutSeparator(e){const t=[],s=/^\d{4,8}$/,n=a=>Math.abs(a.year-ae);for(let a=0;a<=Math.abs(e.length-4);a+=1)for(let i=a+3;i<=a+7&&!(i>=e.length);i+=1){const c=e.slice(a,+i+1||9e9);if(s.exec(c)){const o=[],u=c.length;if(Dt[u].forEach(([p,b])=>{const y=this.mapIntegersToDayMonthYear([parseInt(c.slice(0,p),10),parseInt(c.slice(p,b),10),parseInt(c.slice(b),10)]);y!=null&&o.push(y)}),o.length>0){let p=o[0],b=n(o[0]);o.slice(1).forEach(y=>{const g=n(y);g{let s=!1;const n=e.length;for(let a=0;a=t.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(e){if(e[1]>31||e[1]<=0)return null;let t=0,s=0,n=0;for(let a=0,i=e.length;a99&&cme)return null;c>31&&(s+=1),c>12&&(t+=1),c<=0&&(n+=1)}return s>=2||t===3||n>=2?null:this.getDayMonth(e)}getDayMonth(e){const t=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]],s=t.length;for(let n=0;n=1&&a<=31&&i>=1&&i<=12)return{day:a,month:i}}return null}twoToFourDigitYear(e){return e>99?e:e>50?e+1900:e+2e3}}const P=new Uint32Array(65536),Ut=(r,e)=>{const t=r.length,s=e.length,n=1<{const t=e.length,s=r.length,n=[],a=[],i=Math.ceil(t/32),c=Math.ceil(s/32);for(let g=0;g>>m&1,A=n[m/32|0]>>>m&1,G=k|g,H=((k|A)&M)+M^M|k|A;let L=g|~(H|M),_=M&H;L>>>31^S&&(a[m/32|0]^=1<>>31^A&&(n[m/32|0]^=1<>>g&1,v=n[g/32|0]>>>g&1,m=M|u,k=((M|v)&d)+d^d|M|v;let S=u|~(k|d),A=d&k;y+=S>>>s-1&1,y-=A>>>s-1&1,S>>>31^T&&(a[g/32|0]^=1<>>31^v&&(n[g/32|0]^=1<{if(r.length{const s=r.length<=e.length,n=r.length<=t;return s||n?Math.ceil(r.length/4):t},$t=(r,e,t)=>{let s=0;const n=Object.keys(e).find(a=>{const i=zt(r,a,t);if(Math.abs(r.length-a.length)>i)return!1;const c=Ft(r,a),o=c<=i;return o&&(s=c),o});return n?{levenshteinDistance:s,levenshteinDistanceEntry:n}:{}};var ye={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},te={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class Y{constructor(e=[]){this.parents=e,this.children=new Map}addSub(e,...t){const s=e.charAt(0);this.children.has(s)||this.children.set(s,new Y([...this.parents,s]));let n=this.children.get(s);for(let a=1;a(Object.entries(r).forEach(([t,s])=>{s.forEach(n=>{e.addSub(n,t)})}),e);class Yt{constructor(){this.matchers={},this.l33tTable=ye,this.trieNodeRoot=Me(ye,new Y),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=te,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(e={}){e.l33tTable&&(this.l33tTable=e.l33tTable,this.trieNodeRoot=Me(e.l33tTable,new Y)),e.dictionary&&(this.dictionary=e.dictionary,this.setRankedDictionaries()),e.translations&&this.setTranslations(e.translations),e.graphs&&(this.graphs=e.graphs),e.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=e.useLevenshteinDistance),e.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=e.levenshteinThreshold),e.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=e.l33tMaxSubstitutions),e.maxLength!==void 0&&(this.maxLength=e.maxLength)}setTranslations(e){if(this.checkCustomTranslations(e))this.translations=e;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(e){let t=!0;return Object.keys(te).forEach(s=>{if(s in e){const n=s;Object.keys(te[n]).forEach(a=>{a in e[n]||(t=!1)})}else t=!1}),t}setRankedDictionaries(){const e={},t={};Object.keys(this.dictionary).forEach(s=>{e[s]=pe(this.dictionary[s]),t[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=e,this.rankedDictionariesMaxWordSize=t}getRankedDictionariesMaxWordSize(e){const t=e.map(s=>typeof s!="string"?s.toString().length:s.length);return t.length===0?0:t.reduce((s,n)=>Math.max(s,n),-1/0)}buildSanitizedRankedDictionary(e){const t=[];return e.forEach(s=>{const n=typeof s;(n==="string"||n==="number"||n==="boolean")&&t.push(s.toString().toLowerCase())}),pe(t)}extendUserInputsDictionary(e){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const t=[...this.dictionary.userInputs,...e];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(t),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(t)}addMatcher(e,t){this.matchers[e]?console.info(`Matcher ${e} already exists`):this.matchers[e]=t}}const f=new Yt;class Gt{constructor(e){this.defaultMatch=e}match({password:e}){const t=e.split("").reverse().join("");return this.defaultMatch({password:t}).map(s=>j(I({},s),{token:s.token.split("").reverse().join(""),reversed:!0,i:e.length-1-s.j,j:e.length-1-s.i}))}}class Ht{constructor({substr:e,limit:t,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=e,this.limit=t,this.trieRoot=s}getAllPossibleSubsAtIndex(e){const t=[];let s=this.trieRoot;for(let n=e;n=this.limit)return;if(s===this.substr.length){e===t&&this.finalPasswords.push({password:this.buffer.join(""),changes:a});return}const o=[...this.getAllPossibleSubsAtIndex(s)];let u=!1;for(let d=s+o.length-1;d>=s;d-=1){const p=o[d-s];if(p.isTerminal()){if(i===p.parents.join("")&&c>=3)continue;u=!0;const b=p.subs;for(const y of b){this.buffer.push(y);const g=a.concat({i:n,letter:y,substitution:p.parents.join("")});if(this.helper({onlyFullSub:e,isFullSub:t,index:d+1,subIndex:n+y.length,changes:g,lastSubLetter:p.parents.join(""),consecutiveSubCount:i===p.parents.join("")?c+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!e||!u){const d=this.substr.charAt(s);this.buffer.push(d),this.helper({onlyFullSub:e,isFullSub:t&&!u,index:s+1,subIndex:n+1,changes:a,lastSubLetter:i,consecutiveSubCount:c}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const Bt=(r,e,t)=>new Ht({substr:r,limit:e,trieRoot:t}).getAll(),qt=(r,e,t)=>{const n=r.changes.filter(u=>u.iu-d.letter.length+d.substitution.length,e),a=r.changes.filter(u=>u.i>=e&&u.i<=t),i=a.reduce((u,d)=>u-d.letter.length+d.substitution.length,t-e+n),c=[],o=[];return a.forEach(u=>{c.findIndex(p=>p.letter===u.letter&&p.substitution===u.substitution)<0&&(c.push({letter:u.letter,substitution:u.substitution}),o.push(`${u.substitution} -> ${u.letter}`))}),{i:n,j:i,subs:c,subDisplay:o.join(", ")}};class Vt{constructor(e){this.defaultMatch=e}isAlreadyIncluded(e,t){return e.some(s=>Object.entries(s).every(([n,a])=>n==="subs"||a===t[n]))}match({password:e}){const t=[],s=Bt(e,f.l33tMaxSubstitutions,f.trieNodeRoot);let n=!1,a=!0;return s.forEach(i=>{if(n)return;const c=this.defaultMatch({password:i.password,useLevenshtein:a});a=!1,c.forEach(o=>{n||(n=o.i===0&&o.j===e.length-1);const u=qt(i,o.i,o.j),d=e.slice(u.i,+u.j+1||9e9),p=I(j(I({},o),{l33t:!0,token:d}),u),b=this.isAlreadyIncluded(t,p);d.toLowerCase()!==o.matchedWord&&!b&&t.push(p)})}),t.filter(i=>i.token.length>1)}}class Zt{constructor(){this.l33t=new Vt(this.defaultMatch),this.reverse=new Gt(this.defaultMatch)}match({password:e}){const t=[...this.defaultMatch({password:e}),...this.reverse.match({password:e}),...this.l33t.match({password:e})];return U(t)}defaultMatch({password:e,useLevenshtein:t=!0}){const s=[],n=e.length,a=e.toLowerCase();return Object.keys(f.rankedDictionaries).forEach(i=>{const c=f.rankedDictionaries[i],o=f.rankedDictionariesMaxWordSize[i],u=Math.min(o,n);for(let d=0;d{const a=t[n];a.lastIndex=0;let i;for(;i=a.exec(e);)if(i){const c=i[0];s.push({pattern:"regex",token:c,i:i.index,j:i.index+i[0].length-1,regexName:n,regexMatch:i})}}),U(s)}}var O={nCk(r,e){let t=r;if(e>t)return 0;if(e===0)return 1;let s=1;for(let n=1;n<=e;n+=1)s*=t,s/=n,t-=1;return s},log10(r){return r===0?0:Math.log(r)/Math.log(10)},log2(r){return Math.log(r)/Math.log(2)},factorial(r){let e=1;for(let t=2;t<=r;t+=1)e*=t;return e}},Kt=({token:r})=>{let e=N(Et,r.length);e===Number.POSITIVE_INFINITY&&(e=Number.MAX_VALUE);let t;return r.length===1?t=Se+1:t=De+1,Math.max(e,t)},Jt=({year:r,separator:e})=>{let s=Math.max(Math.abs(r-ae),Ee)*365;return e&&(s*=4),s};const Qt=r=>{const e=r.split(""),t=e.filter(i=>i.match(Pt)).length,s=e.filter(i=>i.match(wt)).length;let n=0;const a=Math.min(t,s);for(let i=1;i<=a;i+=1)n+=O.nCk(t+s,i);return n};var es=r=>{const e=r.replace(Lt,"");if(e.match(Ct)||e.toLowerCase()===e)return 1;const t=[Te,At,Ae],s=t.length;for(let n=0;n{let t=0,s=r.indexOf(e);for(;s>=0;)t+=1,s=r.indexOf(e,s+e.length);return t},ts=({sub:r,token:e})=>{const t=e.toLowerCase(),s=ve(t,r.substitution),n=ve(t,r.letter);return{subbedCount:s,unsubbedCount:n}};var ss=({l33t:r,subs:e,token:t})=>{if(!r)return 1;let s=1;return e.forEach(n=>{const{subbedCount:a,unsubbedCount:i}=ts({sub:n,token:t});if(a===0||i===0)s*=2;else{const c=Math.min(i,a);let o=0;for(let u=1;u<=c;u+=1)o+=O.nCk(i+a,u);s*=o}}),s},ns=({rank:r,reversed:e,l33t:t,subs:s,token:n,dictionaryName:a})=>{const i=r,c=es(n),o=ss({l33t:t,subs:s,token:n}),u=e&&2||1;let d;return a==="diceware"?d=N(6,5)/2:d=i*c*o*u,{baseGuesses:i,uppercaseVariations:c,l33tVariations:o,calculation:d}},rs=({regexName:r,regexMatch:e,token:t})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(r in s)return N(s[r],t.length);switch(r){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-ae),Ee)}return 0},as=({baseGuesses:r,repeatCount:e})=>r*e,is=({token:r,ascending:e})=>{const t=r.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(t)?s=4:t.match(/\d/)?s=10:s=26,e||(s*=2),s*r.length};const os=r=>{let e=0;return Object.keys(r).forEach(t=>{const s=r[t];e+=s.filter(n=>!!n).length}),e/=Object.entries(r).length,e},cs=({token:r,graph:e,turns:t})=>{const s=Object.keys(f.graphs[e]).length,n=os(f.graphs[e]);let a=0;const i=r.length;for(let c=2;c<=i;c+=1){const o=Math.min(t,c-1);for(let u=1;u<=o;u+=1)a+=O.nCk(c-1,u-1)*s*N(n,u)}return a};var ls=({graph:r,token:e,shiftedCount:t,turns:s})=>{let n=cs({token:e,graph:r,turns:s});if(t){const a=e.length-t;if(t===0||a===0)n*=2;else{let i=0;for(let c=1;c<=Math.min(t,a);c+=1)i+=O.nCk(t+a,c);n*=i}}return Math.round(n)},us=()=>_t;const hs=(r,e)=>{let t=1;return r.token.lengthxe[r]?xe[r](e):f.matchers[r]&&"scoring"in f.matchers[r]?f.matchers[r].scoring(e):0;var fs=(r,e)=>{const t={};if("guesses"in r&&r.guesses!=null)return r;const s=hs(r,e),n=ds(r.pattern,r);let a=0;typeof n=="number"?a=n:r.pattern==="dictionary"&&(a=n.calculation,t.baseGuesses=n.baseGuesses,t.uppercaseVariations=n.uppercaseVariations,t.l33tVariations=n.l33tVariations);const i=Math.max(a,s);return j(I(I({},r),t),{guesses:i,guessesLog10:O.log10(i)})};const E={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(r,e){const t=[];for(let s=0;s1&&(n*=this.optimal.pi[s.i-1][e-1]);let a=O.factorial(e)*n;this.excludeAdditive||(a+=N(Tt,e-1));let i=!1;Object.keys(this.optimal.g[t]).forEach(c=>{const o=this.optimal.g[t][c];parseInt(c,10)<=e&&o<=a&&(i=!0)}),i||(this.optimal.g[t][e]=a,this.optimal.m[t][e]=s,this.optimal.pi[t][e]=n)},bruteforceUpdate(r){let e=this.makeBruteforceMatch(0,r);this.update(e,1);for(let t=1;t<=r;t+=1){e=this.makeBruteforceMatch(t,r);const s=this.optimal.m[t-1];Object.keys(s).forEach(n=>{s[n].pattern!=="bruteforce"&&this.update(e,parseInt(n,10)+1)})}},unwind(r){const e=[];let t=r-1,s=0,n=1/0;const a=this.optimal.g[t];for(a&&Object.keys(a).forEach(i=>{const c=a[i];c=0;){const i=this.optimal.m[t][s];e.unshift(i),t=i.i-1,s-=1}return e}};var re={mostGuessableMatchSequence(r,e,t=!1){E.password=r,E.excludeAdditive=t;const s=r.length;let n=E.fillArray(s,"array");e.forEach(o=>{n[o.j].push(o)}),n=n.map(o=>o.sort((u,d)=>u.i-d.i)),E.optimal={m:E.fillArray(s,"object"),pi:E.fillArray(s,"object"),g:E.fillArray(s,"object")};for(let o=0;o{u.i>0?Object.keys(E.optimal.m[u.i-1]).forEach(d=>{E.update(u,parseInt(d,10)+1)}):E.update(u,1)}),E.bruteforceUpdate(o);const a=E.unwind(s),i=a.length,c=this.getGuesses(r,i);return{password:r,guesses:c,guessesLog10:O.log10(c),sequence:a}},getGuesses(r,e){const t=r.length;let s=0;return r.length===0?s=1:s=E.optimal.g[t-1][e],s}};class gs{match({password:e,omniMatch:t}){const s=[];let n=0;for(;ni instanceof Promise)?Promise.all(s):s}normalizeMatch(e,t,s,n){const a={pattern:"repeat",i:s.index,j:t,token:s[0],baseToken:e,baseGuesses:0,repeatCount:s[0].length/e.length};return n instanceof Promise?n.then(i=>j(I({},a),{baseGuesses:i})):j(I({},a),{baseGuesses:n})}getGreedyMatch(e,t){const s=/(.+)\1+/g;return s.lastIndex=t,s.exec(e)}getLazyMatch(e,t){const s=/(.+?)\1+/g;return s.lastIndex=t,s.exec(e)}setMatchToken(e,t){const s=/^(.+?)\1+$/;let n,a="";if(t&&e[0].length>t[0].length){n=e;const i=s.exec(n[0]);i&&(a=i[1])}else n=t,n&&(a=n[1]);return{match:n,baseToken:a}}getBaseGuesses(e,t){const s=t.match(e);return s instanceof Promise?s.then(a=>re.mostGuessableMatchSequence(e,a).guesses):re.mostGuessableMatchSequence(e,s).guesses}}class ps{constructor(){this.MAX_DELTA=5}match({password:e}){const t=[];if(e.length===1)return[];let s=0,n=null;const a=e.length;for(let i=1;i1||Math.abs(s)===1){const i=Math.abs(s);if(i>0&&i<=this.MAX_DELTA){const c=n.slice(e,+t+1||9e9),{sequenceName:o,sequenceSpace:u}=this.getSequence(c);return a.push({pattern:"sequence",i:e,j:t,token:n.slice(e,+t+1||9e9),sequenceName:o,sequenceSpace:u,ascending:s>0})}}return null}getSequence(e){let t="unicode",s=26;return Rt.test(e)?(t="lower",s=26):It.test(e)?(t="upper",s=26):jt.test(e)&&(t="digits",s=10),{sequenceName:t,sequenceSpace:s}}}class ms{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:e}){const t=[];return Object.keys(f.graphs).forEach(s=>{const n=f.graphs[s];ne(t,this.helper(e,n,s))}),U(t)}checkIfShifted(e,t,s){return!e.includes("keypad")&&this.SHIFTED_RX.test(t.charAt(s))?1:0}helper(e,t,s){let n;const a=[];let i=0;const c=e.length;for(;i2&&a.push({pattern:"spatial",i,j:o-1,token:e.slice(i,o),graph:s,turns:d,shiftedCount:n}),i=o;break}}}return a}}const bs=new RegExp(`[${Ie.join("")}]`);class X{static getMostUsedSeparatorChar(e){const t=[...e.split("").filter(n=>bs.test(n)).reduce((n,a)=>{const i=n.get(a);return i?n.set(a,i+1):n.set(a,1),n},new Map).entries()].sort(([n,a],[i,c])=>c-a);if(!t.length)return;const s=t[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(e){return new RegExp(`([^${e} +var Xe=Object.defineProperty,Ke=Object.defineProperties;var Je=Object.getOwnPropertyDescriptors;var de=Object.getOwnPropertySymbols;var Qe=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable;var N=Math.pow,fe=(r,e,t)=>e in r?Xe(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,I=(r,e)=>{for(var t in e||(e={}))Qe.call(e,t)&&fe(r,t,e[t]);if(de)for(var t of de(e))et.call(e,t)&&fe(r,t,e[t]);return r},j=(r,e)=>Ke(r,Je(e));var V=(r,e,t)=>new Promise((s,n)=>{var a=o=>{try{c(t.next(o))}catch(u){n(u)}},i=o=>{try{c(t.throw(o))}catch(u){n(u)}},c=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,i);c((t=t.apply(r,e)).next())});import{r as K,a as D,p as tt,n as st,aZ as nt,m as rt,gm as ge,X as z,i as R,e as J,go as at,aX as it,fv as ot,J as $,ao as ct,bo as lt,af as Z,L as Q,eH as ut,ds as ht,e4 as dt,eU as ft,F as gt}from"./index-DqH6biyS.js";import{_ as pt}from"./role.vue_vue_type_script_setup_true_lang-D7BpvWcb.js";import{_ as mt}from"./index.vue_vue_type_script_setup_true_lang-Beaol_5o.js";import{u as ee}from"./user-DNtD0Fqa.js";import{u as bt}from"./hooks-CT5JiEcI.js";import{R as yt}from"./index-Dt5do88n.js";import{e as Mt,k as vt,l as xt,m as kt}from"./system-Q00uAIzG.js";import"./index-DZtY49CB.js";import"./index-BCC60M31.js";const ne=(r,e)=>r.push.apply(r,e),U=r=>r.sort((e,t)=>e.i-t.i||e.j-t.j),pe=r=>{const e={};let t=1;return r.forEach(s=>{e[s]=t,t+=1}),e};var St={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const me=2050,be=1e3,Dt=St,Et=10,Tt=1e4,Se=10,De=50,Ee=20,Te=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,At=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,It=/^[A-Z\xbf-\xdf]+$/,Ae=/^[^a-z\xdf-\xff]+$/,Rt=/^[a-z\xdf-\xff]+$/,Ct=/^[^A-Z\xbf-\xdf]+$/,wt=/[a-z\xdf-\xff]/,Pt=/[A-Z\xbf-\xdf]/,Lt=/[^A-Za-z\xbf-\xdf]/gi,jt=/^\d+$/,ae=new Date().getFullYear(),Ot={recentYear:/19\d\d|200\d|201\d|202\d/g},Ie=[" ",",",";",":","|","/","\\","_",".","-"],_t=Ie.length;class Nt{match({password:e}){const t=[...this.getMatchesWithoutSeparator(e),...this.getMatchesWithSeparator(e)],s=this.filterNoise(t);return U(s)}getMatchesWithSeparator(e){const t=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let n=0;n<=Math.abs(e.length-6);n+=1)for(let a=n+5;a<=n+9&&!(a>=e.length);a+=1){const i=e.slice(n,+a+1||9e9),c=s.exec(i);if(c!=null){const o=this.mapIntegersToDayMonthYear([parseInt(c[1],10),parseInt(c[3],10),parseInt(c[4],10)]);o!=null&&t.push({pattern:"date",token:i,i:n,j:a,separator:c[2],year:o.year,month:o.month,day:o.day})}}return t}getMatchesWithoutSeparator(e){const t=[],s=/^\d{4,8}$/,n=a=>Math.abs(a.year-ae);for(let a=0;a<=Math.abs(e.length-4);a+=1)for(let i=a+3;i<=a+7&&!(i>=e.length);i+=1){const c=e.slice(a,+i+1||9e9);if(s.exec(c)){const o=[],u=c.length;if(Dt[u].forEach(([p,b])=>{const y=this.mapIntegersToDayMonthYear([parseInt(c.slice(0,p),10),parseInt(c.slice(p,b),10),parseInt(c.slice(b),10)]);y!=null&&o.push(y)}),o.length>0){let p=o[0],b=n(o[0]);o.slice(1).forEach(y=>{const g=n(y);g{let s=!1;const n=e.length;for(let a=0;a=t.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(e){if(e[1]>31||e[1]<=0)return null;let t=0,s=0,n=0;for(let a=0,i=e.length;a99&&cme)return null;c>31&&(s+=1),c>12&&(t+=1),c<=0&&(n+=1)}return s>=2||t===3||n>=2?null:this.getDayMonth(e)}getDayMonth(e){const t=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]],s=t.length;for(let n=0;n=1&&a<=31&&i>=1&&i<=12)return{day:a,month:i}}return null}twoToFourDigitYear(e){return e>99?e:e>50?e+1900:e+2e3}}const P=new Uint32Array(65536),Ut=(r,e)=>{const t=r.length,s=e.length,n=1<{const t=e.length,s=r.length,n=[],a=[],i=Math.ceil(t/32),c=Math.ceil(s/32);for(let g=0;g>>m&1,A=n[m/32|0]>>>m&1,G=k|g,H=((k|A)&M)+M^M|k|A;let L=g|~(H|M),_=M&H;L>>>31^S&&(a[m/32|0]^=1<>>31^A&&(n[m/32|0]^=1<>>g&1,v=n[g/32|0]>>>g&1,m=M|u,k=((M|v)&d)+d^d|M|v;let S=u|~(k|d),A=d&k;y+=S>>>s-1&1,y-=A>>>s-1&1,S>>>31^T&&(a[g/32|0]^=1<>>31^v&&(n[g/32|0]^=1<{if(r.length{const s=r.length<=e.length,n=r.length<=t;return s||n?Math.ceil(r.length/4):t},$t=(r,e,t)=>{let s=0;const n=Object.keys(e).find(a=>{const i=zt(r,a,t);if(Math.abs(r.length-a.length)>i)return!1;const c=Ft(r,a),o=c<=i;return o&&(s=c),o});return n?{levenshteinDistance:s,levenshteinDistanceEntry:n}:{}};var ye={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},te={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class Y{constructor(e=[]){this.parents=e,this.children=new Map}addSub(e,...t){const s=e.charAt(0);this.children.has(s)||this.children.set(s,new Y([...this.parents,s]));let n=this.children.get(s);for(let a=1;a(Object.entries(r).forEach(([t,s])=>{s.forEach(n=>{e.addSub(n,t)})}),e);class Yt{constructor(){this.matchers={},this.l33tTable=ye,this.trieNodeRoot=Me(ye,new Y),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=te,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(e={}){e.l33tTable&&(this.l33tTable=e.l33tTable,this.trieNodeRoot=Me(e.l33tTable,new Y)),e.dictionary&&(this.dictionary=e.dictionary,this.setRankedDictionaries()),e.translations&&this.setTranslations(e.translations),e.graphs&&(this.graphs=e.graphs),e.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=e.useLevenshteinDistance),e.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=e.levenshteinThreshold),e.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=e.l33tMaxSubstitutions),e.maxLength!==void 0&&(this.maxLength=e.maxLength)}setTranslations(e){if(this.checkCustomTranslations(e))this.translations=e;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(e){let t=!0;return Object.keys(te).forEach(s=>{if(s in e){const n=s;Object.keys(te[n]).forEach(a=>{a in e[n]||(t=!1)})}else t=!1}),t}setRankedDictionaries(){const e={},t={};Object.keys(this.dictionary).forEach(s=>{e[s]=pe(this.dictionary[s]),t[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=e,this.rankedDictionariesMaxWordSize=t}getRankedDictionariesMaxWordSize(e){const t=e.map(s=>typeof s!="string"?s.toString().length:s.length);return t.length===0?0:t.reduce((s,n)=>Math.max(s,n),-1/0)}buildSanitizedRankedDictionary(e){const t=[];return e.forEach(s=>{const n=typeof s;(n==="string"||n==="number"||n==="boolean")&&t.push(s.toString().toLowerCase())}),pe(t)}extendUserInputsDictionary(e){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const t=[...this.dictionary.userInputs,...e];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(t),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(t)}addMatcher(e,t){this.matchers[e]?console.info(`Matcher ${e} already exists`):this.matchers[e]=t}}const f=new Yt;class Gt{constructor(e){this.defaultMatch=e}match({password:e}){const t=e.split("").reverse().join("");return this.defaultMatch({password:t}).map(s=>j(I({},s),{token:s.token.split("").reverse().join(""),reversed:!0,i:e.length-1-s.j,j:e.length-1-s.i}))}}class Ht{constructor({substr:e,limit:t,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=e,this.limit=t,this.trieRoot=s}getAllPossibleSubsAtIndex(e){const t=[];let s=this.trieRoot;for(let n=e;n=this.limit)return;if(s===this.substr.length){e===t&&this.finalPasswords.push({password:this.buffer.join(""),changes:a});return}const o=[...this.getAllPossibleSubsAtIndex(s)];let u=!1;for(let d=s+o.length-1;d>=s;d-=1){const p=o[d-s];if(p.isTerminal()){if(i===p.parents.join("")&&c>=3)continue;u=!0;const b=p.subs;for(const y of b){this.buffer.push(y);const g=a.concat({i:n,letter:y,substitution:p.parents.join("")});if(this.helper({onlyFullSub:e,isFullSub:t,index:d+1,subIndex:n+y.length,changes:g,lastSubLetter:p.parents.join(""),consecutiveSubCount:i===p.parents.join("")?c+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!e||!u){const d=this.substr.charAt(s);this.buffer.push(d),this.helper({onlyFullSub:e,isFullSub:t&&!u,index:s+1,subIndex:n+1,changes:a,lastSubLetter:i,consecutiveSubCount:c}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const Bt=(r,e,t)=>new Ht({substr:r,limit:e,trieRoot:t}).getAll(),qt=(r,e,t)=>{const n=r.changes.filter(u=>u.iu-d.letter.length+d.substitution.length,e),a=r.changes.filter(u=>u.i>=e&&u.i<=t),i=a.reduce((u,d)=>u-d.letter.length+d.substitution.length,t-e+n),c=[],o=[];return a.forEach(u=>{c.findIndex(p=>p.letter===u.letter&&p.substitution===u.substitution)<0&&(c.push({letter:u.letter,substitution:u.substitution}),o.push(`${u.substitution} -> ${u.letter}`))}),{i:n,j:i,subs:c,subDisplay:o.join(", ")}};class Vt{constructor(e){this.defaultMatch=e}isAlreadyIncluded(e,t){return e.some(s=>Object.entries(s).every(([n,a])=>n==="subs"||a===t[n]))}match({password:e}){const t=[],s=Bt(e,f.l33tMaxSubstitutions,f.trieNodeRoot);let n=!1,a=!0;return s.forEach(i=>{if(n)return;const c=this.defaultMatch({password:i.password,useLevenshtein:a});a=!1,c.forEach(o=>{n||(n=o.i===0&&o.j===e.length-1);const u=qt(i,o.i,o.j),d=e.slice(u.i,+u.j+1||9e9),p=I(j(I({},o),{l33t:!0,token:d}),u),b=this.isAlreadyIncluded(t,p);d.toLowerCase()!==o.matchedWord&&!b&&t.push(p)})}),t.filter(i=>i.token.length>1)}}class Zt{constructor(){this.l33t=new Vt(this.defaultMatch),this.reverse=new Gt(this.defaultMatch)}match({password:e}){const t=[...this.defaultMatch({password:e}),...this.reverse.match({password:e}),...this.l33t.match({password:e})];return U(t)}defaultMatch({password:e,useLevenshtein:t=!0}){const s=[],n=e.length,a=e.toLowerCase();return Object.keys(f.rankedDictionaries).forEach(i=>{const c=f.rankedDictionaries[i],o=f.rankedDictionariesMaxWordSize[i],u=Math.min(o,n);for(let d=0;d{const a=t[n];a.lastIndex=0;let i;for(;i=a.exec(e);)if(i){const c=i[0];s.push({pattern:"regex",token:c,i:i.index,j:i.index+i[0].length-1,regexName:n,regexMatch:i})}}),U(s)}}var O={nCk(r,e){let t=r;if(e>t)return 0;if(e===0)return 1;let s=1;for(let n=1;n<=e;n+=1)s*=t,s/=n,t-=1;return s},log10(r){return r===0?0:Math.log(r)/Math.log(10)},log2(r){return Math.log(r)/Math.log(2)},factorial(r){let e=1;for(let t=2;t<=r;t+=1)e*=t;return e}},Kt=({token:r})=>{let e=N(Et,r.length);e===Number.POSITIVE_INFINITY&&(e=Number.MAX_VALUE);let t;return r.length===1?t=Se+1:t=De+1,Math.max(e,t)},Jt=({year:r,separator:e})=>{let s=Math.max(Math.abs(r-ae),Ee)*365;return e&&(s*=4),s};const Qt=r=>{const e=r.split(""),t=e.filter(i=>i.match(Pt)).length,s=e.filter(i=>i.match(wt)).length;let n=0;const a=Math.min(t,s);for(let i=1;i<=a;i+=1)n+=O.nCk(t+s,i);return n};var es=r=>{const e=r.replace(Lt,"");if(e.match(Ct)||e.toLowerCase()===e)return 1;const t=[Te,At,Ae],s=t.length;for(let n=0;n{let t=0,s=r.indexOf(e);for(;s>=0;)t+=1,s=r.indexOf(e,s+e.length);return t},ts=({sub:r,token:e})=>{const t=e.toLowerCase(),s=ve(t,r.substitution),n=ve(t,r.letter);return{subbedCount:s,unsubbedCount:n}};var ss=({l33t:r,subs:e,token:t})=>{if(!r)return 1;let s=1;return e.forEach(n=>{const{subbedCount:a,unsubbedCount:i}=ts({sub:n,token:t});if(a===0||i===0)s*=2;else{const c=Math.min(i,a);let o=0;for(let u=1;u<=c;u+=1)o+=O.nCk(i+a,u);s*=o}}),s},ns=({rank:r,reversed:e,l33t:t,subs:s,token:n,dictionaryName:a})=>{const i=r,c=es(n),o=ss({l33t:t,subs:s,token:n}),u=e&&2||1;let d;return a==="diceware"?d=N(6,5)/2:d=i*c*o*u,{baseGuesses:i,uppercaseVariations:c,l33tVariations:o,calculation:d}},rs=({regexName:r,regexMatch:e,token:t})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(r in s)return N(s[r],t.length);switch(r){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-ae),Ee)}return 0},as=({baseGuesses:r,repeatCount:e})=>r*e,is=({token:r,ascending:e})=>{const t=r.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(t)?s=4:t.match(/\d/)?s=10:s=26,e||(s*=2),s*r.length};const os=r=>{let e=0;return Object.keys(r).forEach(t=>{const s=r[t];e+=s.filter(n=>!!n).length}),e/=Object.entries(r).length,e},cs=({token:r,graph:e,turns:t})=>{const s=Object.keys(f.graphs[e]).length,n=os(f.graphs[e]);let a=0;const i=r.length;for(let c=2;c<=i;c+=1){const o=Math.min(t,c-1);for(let u=1;u<=o;u+=1)a+=O.nCk(c-1,u-1)*s*N(n,u)}return a};var ls=({graph:r,token:e,shiftedCount:t,turns:s})=>{let n=cs({token:e,graph:r,turns:s});if(t){const a=e.length-t;if(t===0||a===0)n*=2;else{let i=0;for(let c=1;c<=Math.min(t,a);c+=1)i+=O.nCk(t+a,c);n*=i}}return Math.round(n)},us=()=>_t;const hs=(r,e)=>{let t=1;return r.token.lengthxe[r]?xe[r](e):f.matchers[r]&&"scoring"in f.matchers[r]?f.matchers[r].scoring(e):0;var fs=(r,e)=>{const t={};if("guesses"in r&&r.guesses!=null)return r;const s=hs(r,e),n=ds(r.pattern,r);let a=0;typeof n=="number"?a=n:r.pattern==="dictionary"&&(a=n.calculation,t.baseGuesses=n.baseGuesses,t.uppercaseVariations=n.uppercaseVariations,t.l33tVariations=n.l33tVariations);const i=Math.max(a,s);return j(I(I({},r),t),{guesses:i,guessesLog10:O.log10(i)})};const E={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(r,e){const t=[];for(let s=0;s1&&(n*=this.optimal.pi[s.i-1][e-1]);let a=O.factorial(e)*n;this.excludeAdditive||(a+=N(Tt,e-1));let i=!1;Object.keys(this.optimal.g[t]).forEach(c=>{const o=this.optimal.g[t][c];parseInt(c,10)<=e&&o<=a&&(i=!0)}),i||(this.optimal.g[t][e]=a,this.optimal.m[t][e]=s,this.optimal.pi[t][e]=n)},bruteforceUpdate(r){let e=this.makeBruteforceMatch(0,r);this.update(e,1);for(let t=1;t<=r;t+=1){e=this.makeBruteforceMatch(t,r);const s=this.optimal.m[t-1];Object.keys(s).forEach(n=>{s[n].pattern!=="bruteforce"&&this.update(e,parseInt(n,10)+1)})}},unwind(r){const e=[];let t=r-1,s=0,n=1/0;const a=this.optimal.g[t];for(a&&Object.keys(a).forEach(i=>{const c=a[i];c=0;){const i=this.optimal.m[t][s];e.unshift(i),t=i.i-1,s-=1}return e}};var re={mostGuessableMatchSequence(r,e,t=!1){E.password=r,E.excludeAdditive=t;const s=r.length;let n=E.fillArray(s,"array");e.forEach(o=>{n[o.j].push(o)}),n=n.map(o=>o.sort((u,d)=>u.i-d.i)),E.optimal={m:E.fillArray(s,"object"),pi:E.fillArray(s,"object"),g:E.fillArray(s,"object")};for(let o=0;o{u.i>0?Object.keys(E.optimal.m[u.i-1]).forEach(d=>{E.update(u,parseInt(d,10)+1)}):E.update(u,1)}),E.bruteforceUpdate(o);const a=E.unwind(s),i=a.length,c=this.getGuesses(r,i);return{password:r,guesses:c,guessesLog10:O.log10(c),sequence:a}},getGuesses(r,e){const t=r.length;let s=0;return r.length===0?s=1:s=E.optimal.g[t-1][e],s}};class gs{match({password:e,omniMatch:t}){const s=[];let n=0;for(;ni instanceof Promise)?Promise.all(s):s}normalizeMatch(e,t,s,n){const a={pattern:"repeat",i:s.index,j:t,token:s[0],baseToken:e,baseGuesses:0,repeatCount:s[0].length/e.length};return n instanceof Promise?n.then(i=>j(I({},a),{baseGuesses:i})):j(I({},a),{baseGuesses:n})}getGreedyMatch(e,t){const s=/(.+)\1+/g;return s.lastIndex=t,s.exec(e)}getLazyMatch(e,t){const s=/(.+?)\1+/g;return s.lastIndex=t,s.exec(e)}setMatchToken(e,t){const s=/^(.+?)\1+$/;let n,a="";if(t&&e[0].length>t[0].length){n=e;const i=s.exec(n[0]);i&&(a=i[1])}else n=t,n&&(a=n[1]);return{match:n,baseToken:a}}getBaseGuesses(e,t){const s=t.match(e);return s instanceof Promise?s.then(a=>re.mostGuessableMatchSequence(e,a).guesses):re.mostGuessableMatchSequence(e,s).guesses}}class ps{constructor(){this.MAX_DELTA=5}match({password:e}){const t=[];if(e.length===1)return[];let s=0,n=null;const a=e.length;for(let i=1;i1||Math.abs(s)===1){const i=Math.abs(s);if(i>0&&i<=this.MAX_DELTA){const c=n.slice(e,+t+1||9e9),{sequenceName:o,sequenceSpace:u}=this.getSequence(c);return a.push({pattern:"sequence",i:e,j:t,token:n.slice(e,+t+1||9e9),sequenceName:o,sequenceSpace:u,ascending:s>0})}}return null}getSequence(e){let t="unicode",s=26;return Rt.test(e)?(t="lower",s=26):It.test(e)?(t="upper",s=26):jt.test(e)&&(t="digits",s=10),{sequenceName:t,sequenceSpace:s}}}class ms{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:e}){const t=[];return Object.keys(f.graphs).forEach(s=>{const n=f.graphs[s];ne(t,this.helper(e,n,s))}),U(t)}checkIfShifted(e,t,s){return!e.includes("keypad")&&this.SHIFTED_RX.test(t.charAt(s))?1:0}helper(e,t,s){let n;const a=[];let i=0;const c=e.length;for(;i2&&a.push({pattern:"spatial",i,j:o-1,token:e.slice(i,o),graph:s,turns:d,shiftedCount:n}),i=o;break}}}return a}}const bs=new RegExp(`[${Ie.join("")}]`);class X{static getMostUsedSeparatorChar(e){const t=[...e.split("").filter(n=>bs.test(n)).reduce((n,a)=>{const i=n.get(a);return i?n.set(a,i+1):n.set(a,1),n},new Map).entries()].sort(([n,a],[i,c])=>c-a);if(!t.length)return;const s=t[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(e){return new RegExp(`([^${e} ])(${e})(?!${e})`,"g")}match({password:e}){const t=[];if(e.length===0)return t;const s=X.getMostUsedSeparatorChar(e);if(s===void 0)return t;const n=X.getSeparatorRegex(s);for(const a of e.matchAll(n)){if(a.index===void 0)continue;const i=a.index+1;t.push({pattern:"separator",token:s,i,j:i})}return t}}class ys{constructor(){this.matchers={date:Nt,dictionary:Zt,regex:Xt,repeat:gs,sequence:ps,spatial:ms,separator:X}}match(e){const t=[],s=[];return[...Object.keys(this.matchers),...Object.keys(f.matchers)].forEach(a=>{if(!this.matchers[a]&&!f.matchers[a])return;const i=this.matchers[a]?this.matchers[a]:f.matchers[a].Matching,o=new i().match({password:e,omniMatch:this});o instanceof Promise?(o.then(u=>{ne(t,u)}),s.push(o)):ne(t,o)}),s.length>0?new Promise((a,i)=>{Promise.all(s).then(()=>{a(U(t))}).catch(c=>{i(c)})}):U(t)}}const Re=1,Ce=Re*60,we=Ce*60,Pe=we*24,Le=Pe*31,je=Le*12,Ms=je*100,se={second:Re,minute:Ce,hour:we,day:Pe,month:Le,year:je,century:Ms};class vs{translate(e,t){let s=e;t!==void 0&&t!==1&&(s+="s");const{timeEstimation:n}=f.translations;return n[s].replace("{base}",`${t}`)}estimateAttackTimes(e){const t={onlineThrottling100PerHour:e/.027777777777777776,onlineNoThrottling10PerSecond:e/10,offlineSlowHashing1e4PerSecond:e/1e4,offlineFastHashing1e10PerSecond:e/1e10},s={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(t).forEach(n=>{const a=t[n];s[n]=this.displayTime(a)}),{crackTimesSeconds:t,crackTimesDisplay:s,score:this.guessesToScore(e)}}guessesToScore(e){return e<1005?0:e<1000005?1:e<100000005?2:e<1e10+5?3:4}displayTime(e){let t="centuries",s;const n=Object.keys(se),a=n.findIndex(i=>e-1&&(t=n[a-1],a!==0?s=Math.round(e/se[t]):t="ltSecond"),this.translate(t,s)}}var xs=()=>null,ks=()=>({warning:f.translations.warnings.dates,suggestions:[f.translations.suggestions.dates]});const Ss=(r,e)=>{let t=null;return e&&!r.l33t&&!r.reversed?r.rank<=10?t=f.translations.warnings.topTen:r.rank<=100?t=f.translations.warnings.topHundred:t=f.translations.warnings.common:r.guessesLog10<=4&&(t=f.translations.warnings.similarToCommon),t},Ds=(r,e)=>{let t=null;return e&&(t=f.translations.warnings.wordByItself),t},Es=(r,e)=>e?f.translations.warnings.namesByThemselves:f.translations.warnings.commonNames,Ts=(r,e)=>{let t=null;const s=r.dictionaryName,n=s==="lastnames"||s.toLowerCase().includes("firstnames");return s==="passwords"?t=Ss(r,e):s.includes("wikipedia")?t=Ds(r,e):n?t=Es(r,e):s==="userInputs"&&(t=f.translations.warnings.userInputs),t};var As=(r,e)=>{const t=Ts(r,e),s=[],n=r.token;return n.match(Te)?s.push(f.translations.suggestions.capitalization):n.match(Ae)&&n.toLowerCase()!==n&&s.push(f.translations.suggestions.allUppercase),r.reversed&&r.token.length>=4&&s.push(f.translations.suggestions.reverseWords),r.l33t&&s.push(f.translations.suggestions.l33t),{warning:t,suggestions:s}},Is=r=>r.regexName==="recentYear"?{warning:f.translations.warnings.recentYears,suggestions:[f.translations.suggestions.recentYears,f.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},Rs=r=>{let e=f.translations.warnings.extendedRepeat;return r.baseToken.length===1&&(e=f.translations.warnings.simpleRepeat),{warning:e,suggestions:[f.translations.suggestions.repeated]}},Cs=()=>({warning:f.translations.warnings.sequences,suggestions:[f.translations.suggestions.sequences]}),ws=r=>{let e=f.translations.warnings.keyPattern;return r.turns===1&&(e=f.translations.warnings.straightRow),{warning:e,suggestions:[f.translations.suggestions.longerKeyboardPattern]}},Ps=()=>null;const ke={warning:null,suggestions:[]};class Ls{constructor(){this.matchers={bruteforce:xs,date:ks,dictionary:As,regex:Is,repeat:Rs,sequence:Cs,spatial:ws,separator:Ps},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(f.translations.suggestions.useWords,f.translations.suggestions.noNeed)}getFeedback(e,t){if(t.length===0)return this.defaultFeedback;if(e>2)return ke;const s=f.translations.suggestions.anotherWord,n=this.getLongestMatch(t);let a=this.getMatchFeedback(n,t.length===1);return a!=null?a.suggestions.unshift(s):a={warning:null,suggestions:[s]},a}getLongestMatch(e){let t=e[0];return e.slice(1).forEach(n=>{n.token.length>t.token.length&&(t=n)}),t}getMatchFeedback(e,t){return this.matchers[e.pattern]?this.matchers[e.pattern](e,t):f.matchers[e.pattern]&&"feedback"in f.matchers[e.pattern]?f.matchers[e.pattern].feedback(e,t):ke}}const Oe=()=>new Date().getTime(),js=(r,e,t)=>{const s=new Ls,n=new vs,a=re.mostGuessableMatchSequence(e,r),i=Oe()-t,c=n.estimateAttackTimes(a.guesses);return j(I(I({calcTime:i},a),c),{feedback:s.getFeedback(c.score,a.sequence)})},Os=(r,e)=>new ys().match(r),_s=(r,e)=>{const t=Oe(),s=Os(r);if(s instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return js(s,r,t)};function qs(r,e){const t=K({deptId:"",username:"",phone:"",status:""}),s=D(),n=D(),a=D([]),i=D(!0),c=D(),o=D({}),{switchStyle:u}=bt(),d=D(),p=D([]),b=D(!0),y=D(0),g=K({total:0,pageSize:10,currentPage:1,background:!0}),M=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"用户编号",prop:"id",width:90},{label:"用户头像",prop:"avatar",cellRenderer:({row:l})=>R(J("el-image"),{fit:"cover","preview-teleported":!0,src:l.avatar||ee,"preview-src-list":Array.of(l.avatar||ee),class:"w-[24px] h-[24px] rounded-full align-middle"},null),width:90},{label:"用户名称",prop:"username",minWidth:130},{label:"用户昵称",prop:"nickname",minWidth:130},{label:"性别",prop:"sex",minWidth:90,cellRenderer:({row:l,props:h})=>R(J("el-tag"),{size:h.size,type:l.sex===1?"danger":null,effect:"plain"},{default:()=>[l.sex===1?"女":"男"]})},{label:"部门",prop:"dept.name",minWidth:90},{label:"手机号码",prop:"phone",minWidth:90,formatter:({phone:l})=>at(l,{start:3,end:6})},{label:"状态",prop:"status",minWidth:90,cellRenderer:l=>{var h;return R(J("el-switch"),{size:l.props.size==="small"?"small":"default",loading:(h=o.value[l.index])==null?void 0:h.loading,modelValue:l.row.status,"onUpdate:modelValue":x=>l.row.status=x,"active-value":1,"inactive-value":0,"active-text":"已启用","inactive-text":"已停用","inline-prompt":!0,style:u.value,onChange:()=>A(l)},null)}},{label:"创建时间",minWidth:90,prop:"createTime",formatter:({createTime:l})=>it(l).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],T=tt(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]),v=K({newPwd:""}),m=[{color:"#e74242",text:"非常弱"},{color:"#EFBD47",text:"弱"},{color:"#ffa500",text:"一般"},{color:"#1bbf1b",text:"强"},{color:"#008000",text:"非常强"}],k=D(),S=D([]);function A({row:l,index:h}){ot.confirm(`确认要${l.status===0?"停用":"启用"}${l.username}用户吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{o.value[h]=Object.assign({},o.value[h],{loading:!0}),setTimeout(()=>{o.value[h]=Object.assign({},o.value[h],{loading:!1}),$("已成功修改用户状态",{type:"success"})},300)}).catch(()=>{l.status===0?l.status=1:l.status=0})}function G(l){}function H(l){$(`您删除了用户编号为${l.id}的这条数据`,{type:"success"}),w()}function L(l){}function _(l){}function _e(l){y.value=l.length,r.value.setAdaptive()}function Ne(){y.value=0,r.value.getTableRef().clearSelection()}function Ue(){const l=r.value.getTableRef().getSelectionRows();$(`已删除用户编号为 ${ct(l,"id")} 的数据`,{type:"success"}),r.value.getTableRef().clearSelection(),w()}function w(){return V(this,null,function*(){i.value=!0;const{data:l}=yield xt(lt(t));a.value=l.list,g.total=l.total,g.pageSize=l.pageSize,g.currentPage=l.currentPage,setTimeout(()=>{i.value=!1},500)})}const We=l=>{l&&(l.resetFields(),t.deptId="",e.value.onTreeReset(),w())};function Fe({id:l,selected:h}){t.deptId=h?l:"",w()}function ie(l){if(!l||!l.length)return;const h=[];for(let x=0;xQ(mt,{ref:s,formInline:null}),beforeSure:(He,{options:Be})=>{const qe=s.value.getRef(),Ve=Be.props.formInline;function he(){$(`您${l}了用户名称为${Ve.username}的这条数据`,{type:"success"}),He(),w()}qe.validate(Ze=>{Ze&&he()})}})}const oe=D();function $e(l){Z({title:"裁剪、上传头像",width:"40%",closeOnClickModal:!1,fullscreen:z(),contentRenderer:()=>Q(yt,{ref:oe,imgSrc:l.avatar||ee,onCropper:h=>c.value=h}),beforeSure:h=>{h(),w()},closeCallBack:()=>oe.value.hidePopover()})}st(v,({newPwd:l})=>k.value=nt(l)?-1:_s(l).score);function Ye(l){Z({title:`重置 ${l.username} 用户的密码`,width:"30%",draggable:!0,closeOnClickModal:!1,fullscreen:z(),contentRenderer:()=>R(gt,null,[R(ut,{ref:n,model:v},{default:()=>[R(ht,{prop:"newPwd",rules:[{required:!0,message:"请输入新密码",trigger:"blur"}]},{default:()=>[R(dt,{clearable:!0,"show-password":!0,type:"password",modelValue:v.newPwd,"onUpdate:modelValue":h=>v.newPwd=h,placeholder:"请输入新密码"},null)]})]}),R("div",{class:"mt-4 flex"},[m.map(({color:h,text:x},C)=>R("div",{class:"w-[19vw]",style:{marginLeft:C!==0?"4px":0}},[R(ft,{striped:!0,"striped-flow":!0,duration:k.value===C?6:0,percentage:k.value>=C?100:0,color:h,"stroke-width":10,"show-text":!1},null),R("p",{class:"text-center",style:{color:k.value===C?h:""}},[x])]))])]),closeCallBack:()=>v.newPwd="",beforeSure:h=>{n.value.validate(x=>{x&&($(`已成功重置 ${l.username} 用户的密码`,{type:"success"}),h(),w())})}})}function Ge(l){return V(this,null,function*(){var x,C,W,F;const h=(x=(yield kt({userId:l.id})).data)!=null?x:[];Z({title:`分配 ${l.username} 用户的角色`,props:{formInline:{username:(C=l==null?void 0:l.username)!=null?C:"",nickname:(W=l==null?void 0:l.nickname)!=null?W:"",roleOptions:(F=S.value)!=null?F:[],ids:h}},width:"400px",draggable:!0,fullscreen:z(),fullscreenIcon:!0,closeOnClickModal:!1,contentRenderer:()=>Q(pt),beforeSure:(B,{options:q})=>{q.props.formInline,B()}})})}return rt(()=>V(this,null,function*(){b.value=!0,w();const{data:l}=yield Mt();d.value=ge(l),p.value=ge(l),b.value=!1,S.value=(yield vt()).data})),{form:t,loading:i,columns:M,dataList:a,treeData:p,treeLoading:b,selectedNum:y,pagination:g,buttonClass:T,deviceDetection:z,onSearch:w,resetForm:We,onbatchDel:Ue,openDialog:ze,onTreeSelect:Fe,handleUpdate:G,handleDelete:H,handleUpload:$e,handleReset:Ye,handleRole:Ge,handleSizeChange:L,onSelectionCancel:Ne,handleCurrentChange:_,handleSelectionChange:_e}}export{qs as useUser}; diff --git a/static/js/hook-BTIlemgc.js b/static/js/hook-CBcnYByc.js similarity index 93% rename from static/js/hook-BTIlemgc.js rename to static/js/hook-CBcnYByc.js index 00e91b59ba..0f15d2cde8 100644 --- a/static/js/hook-BTIlemgc.js +++ b/static/js/hook-CBcnYByc.js @@ -1 +1 @@ -var g=(i,u,n)=>new Promise((l,o)=>{var p=t=>{try{a(n.next(t))}catch(s){o(s)}},m=t=>{try{a(n.throw(t))}catch(s){o(s)}},a=t=>t.done?l(t.value):Promise.resolve(t.value).then(p,m);a((n=n.apply(i,u)).next())});import{r as v,a as h,gh as k,m as x,i as f,h as b,B as A,A as F,e as S,aX as L,J as d,ao as M,af as P,bo as Y}from"./index-AFhnwzwZ.js";import{_ as Z}from"./detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js";import{b as I,c as N}from"./system-ByM4snMa.js";import"./vue-json-pretty-DYIyI-em.js";const V={width:24,height:24,body:''};function j(i){const u=v({module:"",requestTime:""}),n=h([]),l=h(!0),o=h(0),{copied:p,update:m}=k(),a=v({total:0,pageSize:10,currentPage:1,background:!0}),t=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"ID",prop:"id",minWidth:90},{label:"所属模块",prop:"module",minWidth:100},{headerRenderer:()=>f("span",{class:"flex-c"},[b("请求接口"),A(f(S("iconifyIconOffline"),{icon:V,class:"ml-1 cursor-help"},null),[[F("tippy"),{content:"双击下面请求接口进行拷贝"}]])]),prop:"url",minWidth:140},{label:"请求方法",prop:"method",minWidth:140},{label:"IP 地址",prop:"ip",minWidth:100},{label:"地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"请求耗时",prop:"takesTime",minWidth:100,cellRenderer:({row:e,props:c})=>f(S("el-tag"),{size:c.size,type:e.takesTime<1e3?"success":"warning",effect:"plain"},{default:()=>[e.takesTime,b(" ms")]})},{label:"请求时间",prop:"requestTime",minWidth:180,formatter:({requestTime:e})=>L(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",slot:"operation"}];function s(e){}function y(e){}function C(e){o.value=e.length,i.value.setAdaptive()}function D(){o.value=0,i.value.getTableRef().clearSelection()}function T({url:e},{property:c}){c==="url"&&(m(e),p.value?d(`${e} 已拷贝`,{type:"success"}):d("拷贝失败",{type:"warning"}))}function W(){const e=i.value.getTableRef().getSelectionRows();d(`已删除序号为 ${M(e,"id")} 的数据`,{type:"success"}),i.value.getTableRef().clearSelection(),r()}function w(){d("已删除所有日志数据",{type:"success"}),r()}function R(e){I({id:e.id}).then(c=>{P({title:"系统日志详情",fullscreen:!0,hideFooter:!0,contentRenderer:()=>Z,props:{data:[c]}})})}function r(){return g(this,null,function*(){l.value=!0;const{data:e}=yield N(Y(u));n.value=e.list,a.total=e.total,a.pageSize=e.pageSize,a.currentPage=e.currentPage,setTimeout(()=>{l.value=!1},500)})}const z=e=>{e&&(e.resetFields(),r())};return x(()=>{r()}),{form:u,loading:l,columns:t,dataList:n,pagination:a,selectedNum:o,onSearch:r,onDetail:R,clearAll:w,resetForm:z,onbatchDel:W,handleSizeChange:s,onSelectionCancel:D,handleCellDblclick:T,handleCurrentChange:y,handleSelectionChange:C}}export{j as useRole}; +var g=(i,u,n)=>new Promise((l,o)=>{var p=t=>{try{a(n.next(t))}catch(s){o(s)}},m=t=>{try{a(n.throw(t))}catch(s){o(s)}},a=t=>t.done?l(t.value):Promise.resolve(t.value).then(p,m);a((n=n.apply(i,u)).next())});import{r as v,a as h,gh as k,m as x,i as f,h as b,B as A,A as F,e as S,aX as L,J as d,ao as M,af as P,bo as Y}from"./index-DqH6biyS.js";import{_ as Z}from"./detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js";import{b as I,c as N}from"./system-Q00uAIzG.js";import"./vue-json-pretty-ONrekcxr.js";const V={width:24,height:24,body:''};function j(i){const u=v({module:"",requestTime:""}),n=h([]),l=h(!0),o=h(0),{copied:p,update:m}=k(),a=v({total:0,pageSize:10,currentPage:1,background:!0}),t=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"ID",prop:"id",minWidth:90},{label:"所属模块",prop:"module",minWidth:100},{headerRenderer:()=>f("span",{class:"flex-c"},[b("请求接口"),A(f(S("iconifyIconOffline"),{icon:V,class:"ml-1 cursor-help"},null),[[F("tippy"),{content:"双击下面请求接口进行拷贝"}]])]),prop:"url",minWidth:140},{label:"请求方法",prop:"method",minWidth:140},{label:"IP 地址",prop:"ip",minWidth:100},{label:"地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"请求耗时",prop:"takesTime",minWidth:100,cellRenderer:({row:e,props:c})=>f(S("el-tag"),{size:c.size,type:e.takesTime<1e3?"success":"warning",effect:"plain"},{default:()=>[e.takesTime,b(" ms")]})},{label:"请求时间",prop:"requestTime",minWidth:180,formatter:({requestTime:e})=>L(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",slot:"operation"}];function s(e){}function y(e){}function C(e){o.value=e.length,i.value.setAdaptive()}function D(){o.value=0,i.value.getTableRef().clearSelection()}function T({url:e},{property:c}){c==="url"&&(m(e),p.value?d(`${e} 已拷贝`,{type:"success"}):d("拷贝失败",{type:"warning"}))}function W(){const e=i.value.getTableRef().getSelectionRows();d(`已删除序号为 ${M(e,"id")} 的数据`,{type:"success"}),i.value.getTableRef().clearSelection(),r()}function w(){d("已删除所有日志数据",{type:"success"}),r()}function R(e){I({id:e.id}).then(c=>{P({title:"系统日志详情",fullscreen:!0,hideFooter:!0,contentRenderer:()=>Z,props:{data:[c]}})})}function r(){return g(this,null,function*(){l.value=!0;const{data:e}=yield N(Y(u));n.value=e.list,a.total=e.total,a.pageSize=e.pageSize,a.currentPage=e.currentPage,setTimeout(()=>{l.value=!1},500)})}const z=e=>{e&&(e.resetFields(),r())};return x(()=>{r()}),{form:u,loading:l,columns:t,dataList:n,pagination:a,selectedNum:o,onSearch:r,onDetail:R,clearAll:w,resetForm:z,onbatchDel:W,handleSizeChange:s,onSelectionCancel:D,handleCellDblclick:T,handleCurrentChange:y,handleSelectionChange:C}}export{j as useRole}; diff --git a/static/js/hook-Bh8LQbUl.js b/static/js/hook-CoPdYjap.js similarity index 93% rename from static/js/hook-Bh8LQbUl.js rename to static/js/hook-CoPdYjap.js index 48e671f1d6..848ec5f6d9 100644 --- a/static/js/hook-Bh8LQbUl.js +++ b/static/js/hook-CoPdYjap.js @@ -1 +1 @@ -var d=(n,u,a)=>new Promise((s,o)=>{var p=t=>{try{i(a.next(t))}catch(r){o(r)}},l=t=>{try{i(a.throw(t))}catch(r){o(r)}},i=t=>t.done?s(t.value):Promise.resolve(t.value).then(p,l);i((a=a.apply(n,u)).next())});import{r as g,a as m,m as z,i as C,e as T,aX as P,J as f,ao as L,bo as R}from"./index-AFhnwzwZ.js";import{g as Y}from"./system-ByM4snMa.js";import{u as w}from"./hooks-DZOKHTKM.js";function x(n){const u=g({username:"",status:"",loginTime:""}),a=m([]),s=m(!0),o=m(0),{tagStyle:p}=w(),l=g({total:0,pageSize:10,currentPage:1,background:!0}),i=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"序号",prop:"id",minWidth:90},{label:"用户名",prop:"username",minWidth:100},{label:"登录 IP",prop:"ip",minWidth:140},{label:"登录地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"登录状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:y})=>C(T("el-tag"),{size:y.size,style:p.value(e.status)},{default:()=>[e.status===1?"成功":"失败"]})},{label:"登录行为",prop:"behavior",minWidth:100},{label:"登录时间",prop:"loginTime",minWidth:180,formatter:({loginTime:e})=>P(e).format("YYYY-MM-DD HH:mm:ss")}];function t(e){}function r(e){}function h(e){o.value=e.length,n.value.setAdaptive()}function v(){o.value=0,n.value.getTableRef().clearSelection()}function b(){const e=n.value.getTableRef().getSelectionRows();f(`已删除序号为 ${L(e,"id")} 的数据`,{type:"success"}),n.value.getTableRef().clearSelection(),c()}function S(){f("已删除所有日志数据",{type:"success"}),c()}function c(){return d(this,null,function*(){s.value=!0;const{data:e}=yield Y(R(u));a.value=e.list,l.total=e.total,l.pageSize=e.pageSize,l.currentPage=e.currentPage,setTimeout(()=>{s.value=!1},500)})}const W=e=>{e&&(e.resetFields(),c())};return z(()=>{c()}),{form:u,loading:s,columns:i,dataList:a,pagination:l,selectedNum:o,onSearch:c,clearAll:S,resetForm:W,onbatchDel:b,handleSizeChange:t,onSelectionCancel:v,handleCurrentChange:r,handleSelectionChange:h}}export{x as useRole}; +var d=(n,u,a)=>new Promise((s,o)=>{var p=t=>{try{i(a.next(t))}catch(r){o(r)}},l=t=>{try{i(a.throw(t))}catch(r){o(r)}},i=t=>t.done?s(t.value):Promise.resolve(t.value).then(p,l);i((a=a.apply(n,u)).next())});import{r as g,a as m,m as z,i as C,e as T,aX as P,J as f,ao as L,bo as R}from"./index-DqH6biyS.js";import{g as Y}from"./system-Q00uAIzG.js";import{u as w}from"./hooks-CT5JiEcI.js";function x(n){const u=g({username:"",status:"",loginTime:""}),a=m([]),s=m(!0),o=m(0),{tagStyle:p}=w(),l=g({total:0,pageSize:10,currentPage:1,background:!0}),i=[{label:"勾选列",type:"selection",fixed:"left",reserveSelection:!0},{label:"序号",prop:"id",minWidth:90},{label:"用户名",prop:"username",minWidth:100},{label:"登录 IP",prop:"ip",minWidth:140},{label:"登录地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"登录状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:y})=>C(T("el-tag"),{size:y.size,style:p.value(e.status)},{default:()=>[e.status===1?"成功":"失败"]})},{label:"登录行为",prop:"behavior",minWidth:100},{label:"登录时间",prop:"loginTime",minWidth:180,formatter:({loginTime:e})=>P(e).format("YYYY-MM-DD HH:mm:ss")}];function t(e){}function r(e){}function h(e){o.value=e.length,n.value.setAdaptive()}function v(){o.value=0,n.value.getTableRef().clearSelection()}function b(){const e=n.value.getTableRef().getSelectionRows();f(`已删除序号为 ${L(e,"id")} 的数据`,{type:"success"}),n.value.getTableRef().clearSelection(),c()}function S(){f("已删除所有日志数据",{type:"success"}),c()}function c(){return d(this,null,function*(){s.value=!0;const{data:e}=yield Y(R(u));a.value=e.list,l.total=e.total,l.pageSize=e.pageSize,l.currentPage=e.currentPage,setTimeout(()=>{s.value=!1},500)})}const W=e=>{e&&(e.resetFields(),c())};return z(()=>{c()}),{form:u,loading:s,columns:i,dataList:a,pagination:l,selectedNum:o,onSearch:c,clearAll:S,resetForm:W,onbatchDel:b,handleSizeChange:t,onSelectionCancel:v,handleCurrentChange:r,handleSelectionChange:h}}export{x as useRole}; diff --git a/static/js/hook-Ch_JvkHg.js b/static/js/hook-DUP9kbD9.js similarity index 91% rename from static/js/hook-Ch_JvkHg.js rename to static/js/hook-DUP9kbD9.js index 4e0fb37766..f3f90229ff 100644 --- a/static/js/hook-Ch_JvkHg.js +++ b/static/js/hook-DUP9kbD9.js @@ -1 +1 @@ -var A=(i,m,l)=>new Promise((c,u)=>{var h=a=>{try{f(l.next(a))}catch(s){u(s)}},g=a=>{try{f(l.throw(a))}catch(s){u(s)}},f=a=>a.done?c(a.value):Promise.resolve(a.value).then(h,g);f((l=l.apply(i,m)).next())});import{_ as Q}from"./form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js";import{r as U,a as T,m as W,i as d,L as N,aa as p,F as Y,e as E,aZ as V,gm as w,af as ee,ad as ne,X as te,J as H,aF as ae}from"./index-AFhnwzwZ.js";import{f as ie}from"./system-ByM4snMa.js";import{u as le}from"./hooks-CaC3u4N2.js";import"./index-BSGz-TY2.js";import"./index-u0vKWnyJ.js";import"./index-XjHH2uHF.js";function se(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!ae(i)}function Te(){const i=U({title:""}),m=T(),l=T([]),c=T(!0),u=(n,e=!1)=>{switch(n){case 0:return e?"菜单":"primary";case 1:return e?"iframe":"warning";case 2:return e?"外链":"danger";case 3:return e?"按钮":"info"}},h=[{label:"菜单名称",prop:"title",align:"left",cellRenderer:({row:n})=>d(Y,null,[d("span",{class:"inline-block mr-1"},[N(le(n.icon),{style:{paddingTop:"1px"}})]),d("span",null,[p(n.title)])])},{label:"菜单类型",prop:"menuType",width:100,cellRenderer:({row:n,props:e})=>{let t;return d(E("el-tag"),{size:e.size,type:u(n.menuType),effect:"plain"},se(t=u(n.menuType,!0))?t:{default:()=>[t]})}},{label:"路由路径",prop:"path"},{label:"组件路径",prop:"component",formatter:({path:n,component:e})=>V(e)?n:e},{label:"权限标识",prop:"auths"},{label:"排序",prop:"rank",width:100},{label:"隐藏",prop:"showLink",formatter:({showLink:n})=>n?"否":"是",width:100},{label:"操作",fixed:"right",width:210,slot:"operation"}];function g(n){}function f(n){n&&(n.resetFields(),a())}function a(){return A(this,null,function*(){c.value=!0;const{data:n}=yield ie();let e=n;V(i.title)||(e=e.filter(t=>p(t.title).includes(i.title))),l.value=w(e),setTimeout(()=>{c.value=!1},500)})}function s(n){if(!n||!n.length)return;const e=[];for(let t=0;tN(Q,{ref:m,formInline:null}),beforeSure:(Z,{options:q})=>{const B=m.value.getRef(),G=q.props.formInline;function z(){H(`您${n}了菜单名称为${p(G.title)}的这条数据`,{type:"success"}),Z(),a()}B.validate(K=>{K&&z()})}})}function X(n){H(`您删除了菜单名称为${p(n.title)}的这条数据`,{type:"success"}),a()}return W(()=>{a()}),{form:i,loading:c,columns:h,dataList:l,onSearch:a,resetForm:f,openDialog:J,handleDelete:X,handleSelectionChange:g}}export{Te as useMenu}; +var A=(i,m,l)=>new Promise((c,u)=>{var h=a=>{try{f(l.next(a))}catch(s){u(s)}},g=a=>{try{f(l.throw(a))}catch(s){u(s)}},f=a=>a.done?c(a.value):Promise.resolve(a.value).then(h,g);f((l=l.apply(i,m)).next())});import{_ as Q}from"./form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js";import{r as U,a as T,m as W,i as d,L as N,aa as p,F as Y,e as E,aZ as V,gm as w,af as ee,ad as ne,X as te,J as H,aF as ae}from"./index-DqH6biyS.js";import{f as ie}from"./system-Q00uAIzG.js";import{u as le}from"./hooks-BoDRUKFd.js";import"./index-DZtY49CB.js";import"./index-CAi4pX1c.js";import"./index-DtSzCQP4.js";function se(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!ae(i)}function Te(){const i=U({title:""}),m=T(),l=T([]),c=T(!0),u=(n,e=!1)=>{switch(n){case 0:return e?"菜单":"primary";case 1:return e?"iframe":"warning";case 2:return e?"外链":"danger";case 3:return e?"按钮":"info"}},h=[{label:"菜单名称",prop:"title",align:"left",cellRenderer:({row:n})=>d(Y,null,[d("span",{class:"inline-block mr-1"},[N(le(n.icon),{style:{paddingTop:"1px"}})]),d("span",null,[p(n.title)])])},{label:"菜单类型",prop:"menuType",width:100,cellRenderer:({row:n,props:e})=>{let t;return d(E("el-tag"),{size:e.size,type:u(n.menuType),effect:"plain"},se(t=u(n.menuType,!0))?t:{default:()=>[t]})}},{label:"路由路径",prop:"path"},{label:"组件路径",prop:"component",formatter:({path:n,component:e})=>V(e)?n:e},{label:"权限标识",prop:"auths"},{label:"排序",prop:"rank",width:100},{label:"隐藏",prop:"showLink",formatter:({showLink:n})=>n?"否":"是",width:100},{label:"操作",fixed:"right",width:210,slot:"operation"}];function g(n){}function f(n){n&&(n.resetFields(),a())}function a(){return A(this,null,function*(){c.value=!0;const{data:n}=yield ie();let e=n;V(i.title)||(e=e.filter(t=>p(t.title).includes(i.title))),l.value=w(e),setTimeout(()=>{c.value=!1},500)})}function s(n){if(!n||!n.length)return;const e=[];for(let t=0;tN(Q,{ref:m,formInline:null}),beforeSure:(Z,{options:q})=>{const B=m.value.getRef(),G=q.props.formInline;function z(){H(`您${n}了菜单名称为${p(G.title)}的这条数据`,{type:"success"}),Z(),a()}B.validate(K=>{K&&z()})}})}function X(n){H(`您删除了菜单名称为${p(n.title)}的这条数据`,{type:"success"}),a()}return W(()=>{a()}),{form:i,loading:c,columns:h,dataList:l,onSearch:a,resetForm:f,openDialog:J,handleDelete:X,handleSelectionChange:g}}export{Te as useMenu}; diff --git a/static/js/hook-Bk3wY7nR.js b/static/js/hook-LUmTCl-r.js similarity index 90% rename from static/js/hook-Bk3wY7nR.js rename to static/js/hook-LUmTCl-r.js index 79d4c48f1a..d3771bf641 100644 --- a/static/js/hook-Bk3wY7nR.js +++ b/static/js/hook-LUmTCl-r.js @@ -1 +1 @@ -var k=(l,f,s)=>new Promise((u,c)=>{var p=t=>{try{m(s.next(t))}catch(i){c(i)}},r=t=>{try{m(s.throw(t))}catch(i){c(i)}},m=t=>t.done?u(t.value):Promise.resolve(t.value).then(p,r);m((s=s.apply(l,f)).next())});import{r as F,a as o,m as O,i as _,e as j,aX as x,aZ as R,gm as z,af as X,ad as J,X as N,L as P,J as C}from"./index-AFhnwzwZ.js";import{_ as V}from"./form.vue_vue_type_script_setup_true_lang-24sqXQI_.js";import{e as Z}from"./system-ByM4snMa.js";import{u as q}from"./hooks-DZOKHTKM.js";import"./index-BSGz-TY2.js";function E(){const l=F({name:"",status:null}),f=o(),s=o([]),u=o(!0),{tagStyle:c}=q(),p=[{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:a,props:e})=>_(j("el-tag"),{size:e.size,style:c.value(a.status)},{default:()=>[a.status===1?"启用":"停用"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:a})=>x(a).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:320},{label:"操作",fixed:"right",width:210,slot:"operation"}];function r(a){}function m(a){a&&(a.resetFields(),t())}function t(){return k(this,null,function*(){u.value=!0;const{data:a}=yield Z();let e=a;R(l.name)||(e=e.filter(n=>n.name.includes(l.name))),R(l.status)||(e=e.filter(n=>n.status===l.status)),s.value=z(e),setTimeout(()=>{u.value=!1},500)})}function i(a){if(!a||!a.length)return;const e=[];for(let n=0;nP(V,{ref:f,formInline:null}),beforeSure:(S,{options:T})=>{const W=f.value.getRef(),Y=T.props.formInline;function I(){C(`您${a}了部门名称为${Y.name}的这条数据`,{type:"success"}),S(),t()}W.validate($=>{$&&I()})}})}function M(a){C(`您删除了部门名称为${a.name}的这条数据`,{type:"success"}),t()}return O(()=>{t()}),{form:l,loading:u,columns:p,dataList:s,onSearch:t,resetForm:m,openDialog:H,handleDelete:M,handleSelectionChange:r}}export{E as useDept}; +var k=(l,f,s)=>new Promise((u,c)=>{var p=t=>{try{m(s.next(t))}catch(i){c(i)}},r=t=>{try{m(s.throw(t))}catch(i){c(i)}},m=t=>t.done?u(t.value):Promise.resolve(t.value).then(p,r);m((s=s.apply(l,f)).next())});import{r as F,a as o,m as O,i as _,e as j,aX as x,aZ as R,gm as z,af as X,ad as J,X as N,L as P,J as C}from"./index-DqH6biyS.js";import{_ as V}from"./form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js";import{e as Z}from"./system-Q00uAIzG.js";import{u as q}from"./hooks-CT5JiEcI.js";import"./index-DZtY49CB.js";function E(){const l=F({name:"",status:null}),f=o(),s=o([]),u=o(!0),{tagStyle:c}=q(),p=[{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:a,props:e})=>_(j("el-tag"),{size:e.size,style:c.value(a.status)},{default:()=>[a.status===1?"启用":"停用"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:a})=>x(a).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:320},{label:"操作",fixed:"right",width:210,slot:"operation"}];function r(a){}function m(a){a&&(a.resetFields(),t())}function t(){return k(this,null,function*(){u.value=!0;const{data:a}=yield Z();let e=a;R(l.name)||(e=e.filter(n=>n.name.includes(l.name))),R(l.status)||(e=e.filter(n=>n.status===l.status)),s.value=z(e),setTimeout(()=>{u.value=!1},500)})}function i(a){if(!a||!a.length)return;const e=[];for(let n=0;nP(V,{ref:f,formInline:null}),beforeSure:(S,{options:T})=>{const W=f.value.getRef(),Y=T.props.formInline;function I(){C(`您${a}了部门名称为${Y.name}的这条数据`,{type:"success"}),S(),t()}W.validate($=>{$&&I()})}})}function M(a){C(`您删除了部门名称为${a.name}的这条数据`,{type:"success"}),t()}return O(()=>{t()}),{form:l,loading:u,columns:p,dataList:s,onSearch:t,resetForm:m,openDialog:H,handleDelete:M,handleSelectionChange:r}}export{E as useDept}; diff --git a/static/js/hook-Dzvnqk76.js b/static/js/hook-vIEwZE0X.js similarity index 95% rename from static/js/hook-Dzvnqk76.js rename to static/js/hook-vIEwZE0X.js index 96a6e797e9..3433b65662 100644 --- a/static/js/hook-Dzvnqk76.js +++ b/static/js/hook-vIEwZE0X.js @@ -1 +1 @@ -var c=(r,s,t)=>new Promise((o,l)=>{var u=a=>{try{i(t.next(a))}catch(n){l(n)}},m=a=>{try{i(t.throw(a))}catch(n){l(n)}},i=a=>a.done?o(a.value):Promise.resolve(a.value).then(u,m);i((t=t.apply(r,s)).next())});import{r as p,a as d,m as f,aX as h,J as b,bo as v}from"./index-AFhnwzwZ.js";import{d as W}from"./system-ByM4snMa.js";function C(){const r=p({username:""}),s=d([]),t=d(!0),o=p({total:0,pageSize:10,currentPage:1,background:!0}),l=[{label:"序号",prop:"id",minWidth:60},{label:"用户名",prop:"username",minWidth:100},{label:"登录 IP",prop:"ip",minWidth:140},{label:"登录地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"登录时间",prop:"loginTime",minWidth:180,formatter:({loginTime:e})=>h(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",slot:"operation"}];function u(e){}function m(e){}function i(e){}function a(e){b(`${e.username}已被强制下线`,{type:"success"}),n()}function n(){return c(this,null,function*(){t.value=!0;const{data:e}=yield W(v(r));s.value=e.list,o.total=e.total,o.pageSize=e.pageSize,o.currentPage=e.currentPage,setTimeout(()=>{t.value=!1},500)})}const g=e=>{e&&(e.resetFields(),n())};return f(()=>{n()}),{form:r,loading:t,columns:l,dataList:s,pagination:o,onSearch:n,resetForm:g,handleOffline:a,handleSizeChange:u,handleCurrentChange:m,handleSelectionChange:i}}export{C as useRole}; +var c=(r,s,t)=>new Promise((o,l)=>{var u=a=>{try{i(t.next(a))}catch(n){l(n)}},m=a=>{try{i(t.throw(a))}catch(n){l(n)}},i=a=>a.done?o(a.value):Promise.resolve(a.value).then(u,m);i((t=t.apply(r,s)).next())});import{r as p,a as d,m as f,aX as h,J as b,bo as v}from"./index-DqH6biyS.js";import{d as W}from"./system-Q00uAIzG.js";function C(){const r=p({username:""}),s=d([]),t=d(!0),o=p({total:0,pageSize:10,currentPage:1,background:!0}),l=[{label:"序号",prop:"id",minWidth:60},{label:"用户名",prop:"username",minWidth:100},{label:"登录 IP",prop:"ip",minWidth:140},{label:"登录地点",prop:"address",minWidth:140},{label:"操作系统",prop:"system",minWidth:100},{label:"浏览器类型",prop:"browser",minWidth:100},{label:"登录时间",prop:"loginTime",minWidth:180,formatter:({loginTime:e})=>h(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",slot:"operation"}];function u(e){}function m(e){}function i(e){}function a(e){b(`${e.username}已被强制下线`,{type:"success"}),n()}function n(){return c(this,null,function*(){t.value=!0;const{data:e}=yield W(v(r));s.value=e.list,o.total=e.total,o.pageSize=e.pageSize,o.currentPage=e.currentPage,setTimeout(()=>{t.value=!1},500)})}const g=e=>{e&&(e.resetFields(),n())};return f(()=>{n()}),{form:r,loading:t,columns:l,dataList:s,pagination:o,onSearch:n,resetForm:g,handleOffline:a,handleSizeChange:u,handleCurrentChange:m,handleSelectionChange:i}}export{C as useRole}; diff --git a/static/js/hooks-CCVbvWD9.js b/static/js/hooks-BhaKDZih.js similarity index 82% rename from static/js/hooks-CCVbvWD9.js rename to static/js/hooks-BhaKDZih.js index 5645bd6d83..bfd229f8c9 100644 --- a/static/js/hooks-CCVbvWD9.js +++ b/static/js/hooks-BhaKDZih.js @@ -1 +1 @@ -import{ac as l,ae as f,gr as h,aA as c,fH as n}from"./index-AFhnwzwZ.js";function y(){const a=l(),i=f(),s=h(a.params)?a.query:a.params;function o(t,u){Object.keys(t).forEach(e=>{c(t[e])||(t[e]=t[e].toString())}),u==="query"?(n().handleTags("push",{path:"/tabs/query-detail",name:"TabQueryDetail",query:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`},dynamicLevel:3}}),i.push({name:"TabQueryDetail",query:t})):u==="params"&&(n().handleTags("push",{path:"/tabs/params-detail/:id",name:"TabParamsDetail",params:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`}}}),i.push({name:"TabParamsDetail",params:t}))}return{toDetail:o,initToDetail:t=>{s&&o(s,t)},getParameter:s,router:i}}export{y as u}; +import{ac as l,ae as f,gr as h,aA as c,fH as n}from"./index-DqH6biyS.js";function y(){const a=l(),i=f(),s=h(a.params)?a.query:a.params;function o(t,u){Object.keys(t).forEach(e=>{c(t[e])||(t[e]=t[e].toString())}),u==="query"?(n().handleTags("push",{path:"/tabs/query-detail",name:"TabQueryDetail",query:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`},dynamicLevel:3}}),i.push({name:"TabQueryDetail",query:t})):u==="params"&&(n().handleTags("push",{path:"/tabs/params-detail/:id",name:"TabParamsDetail",params:t,meta:{title:{zh:`No.${t.id} - 详情信息`,en:`No.${t.id} - DetailInfo`}}}),i.push({name:"TabParamsDetail",params:t}))}return{toDetail:o,initToDetail:t=>{s&&o(s,t)},getParameter:s,router:i}}export{y as u}; diff --git a/static/js/hooks-CaC3u4N2.js b/static/js/hooks-BoDRUKFd.js similarity index 93% rename from static/js/hooks-CaC3u4N2.js rename to static/js/hooks-BoDRUKFd.js index d50211c802..6b0be805e0 100644 --- a/static/js/hooks-CaC3u4N2.js +++ b/static/js/hooks-BoDRUKFd.js @@ -1 +1 @@ -var i=Object.defineProperty;var u=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var c=(e,n,f)=>n in e?i(e,n,{enumerable:!0,configurable:!0,writable:!0,value:f}):e[n]=f,t=(e,n)=>{for(var f in n||(n={}))a.call(n,f)&&c(e,f,n[f]);if(u)for(var f of u(n))m.call(n,f)&&c(e,f,n[f]);return e};import{d as s,L as o,aC as p,aD as l,aE as y}from"./index-AFhnwzwZ.js";function g(e,n){const f=/^IF-/;if(f.test(e)){const r=e.split(f)[1],I=r.slice(0,r.indexOf(" ")==-1?r.length:r.indexOf(" ")),d=r.slice(r.indexOf(" ")+1,r.length);return s({name:"FontIcon",render(){return o(p,t({icon:I,iconType:d},n))}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?n?o(e,t({},n)):e:typeof e=="object"?s({name:"OfflineIcon",render(){return o(l,t({icon:e},n))}}):s({name:"Icon",render(){const r=e&&e.includes(":")?y:l;return o(r,t({icon:e},n))}})}export{g as u}; +var i=Object.defineProperty;var u=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var c=(e,n,f)=>n in e?i(e,n,{enumerable:!0,configurable:!0,writable:!0,value:f}):e[n]=f,t=(e,n)=>{for(var f in n||(n={}))a.call(n,f)&&c(e,f,n[f]);if(u)for(var f of u(n))m.call(n,f)&&c(e,f,n[f]);return e};import{d as s,L as o,aC as p,aD as l,aE as y}from"./index-DqH6biyS.js";function g(e,n){const f=/^IF-/;if(f.test(e)){const r=e.split(f)[1],I=r.slice(0,r.indexOf(" ")==-1?r.length:r.indexOf(" ")),d=r.slice(r.indexOf(" ")+1,r.length);return s({name:"FontIcon",render(){return o(p,t({icon:I,iconType:d},n))}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?n?o(e,t({},n)):e:typeof e=="object"?s({name:"OfflineIcon",render(){return o(l,t({icon:e},n))}}):s({name:"Icon",render(){const r=e&&e.includes(":")?y:l;return o(r,t({icon:e},n))}})}export{g as u}; diff --git a/static/js/hooks-DZOKHTKM.js b/static/js/hooks-CT5JiEcI.js similarity index 88% rename from static/js/hooks-DZOKHTKM.js rename to static/js/hooks-CT5JiEcI.js index a76241e88a..9cd3951a32 100644 --- a/static/js/hooks-DZOKHTKM.js +++ b/static/js/hooks-CT5JiEcI.js @@ -1 +1 @@ -import{at as a,p as o}from"./index-AFhnwzwZ.js";function f(){const{isDark:e}=a(),t=o(()=>({"--el-switch-on-color":"#6abe39","--el-switch-off-color":"#e84749"})),l=o(()=>r=>r===1?{"--el-tag-text-color":e.value?"#6abe39":"#389e0d","--el-tag-bg-color":e.value?"#172412":"#f6ffed","--el-tag-border-color":e.value?"#274a17":"#b7eb8f"}:{"--el-tag-text-color":e.value?"#e84749":"#cf1322","--el-tag-bg-color":e.value?"#2b1316":"#fff1f0","--el-tag-border-color":e.value?"#58191c":"#ffa39e"});return{isDark:e,switchStyle:t,tagStyle:l}}export{f as u}; +import{at as a,p as o}from"./index-DqH6biyS.js";function f(){const{isDark:e}=a(),t=o(()=>({"--el-switch-on-color":"#6abe39","--el-switch-off-color":"#e84749"})),l=o(()=>r=>r===1?{"--el-tag-text-color":e.value?"#6abe39":"#389e0d","--el-tag-bg-color":e.value?"#172412":"#f6ffed","--el-tag-border-color":e.value?"#274a17":"#b7eb8f"}:{"--el-tag-text-color":e.value?"#e84749":"#cf1322","--el-tag-bg-color":e.value?"#2b1316":"#fff1f0","--el-tag-border-color":e.value?"#58191c":"#ffa39e"});return{isDark:e,switchStyle:t,tagStyle:l}}export{f as u}; diff --git a/static/js/horizontal-BmHUgCul.js b/static/js/horizontal-D8lO_Mmt.js similarity index 91% rename from static/js/horizontal-BmHUgCul.js rename to static/js/horizontal-D8lO_Mmt.js index 03bdbdd18e..de1c9b9f64 100644 --- a/static/js/horizontal-BmHUgCul.js +++ b/static/js/horizontal-D8lO_Mmt.js @@ -1 +1 @@ -import{s as v,a as x}from"./vue-virtual-scroller.esm-Df78MieR.js";import{d as w,a as d,p as y,e as m,f as g,k as z,g as i,h as I,i as o,w as p,u,s as V,t as C,_ as k}from"./index-AFhnwzwZ.js";const b={class:"dynamic-scroller-demo"},B={class:"flex-ac mb-4 shadow-2xl"},N={class:"text-center"},S=w({__name:"horizontal",setup($){const l=d([]),a=d("");for(let e=0;e<800;e++)l.value.push({id:e});const _=y(()=>{if(!a.value)return l.value;const e=a.value;return l.value.filter(t=>t.id==e)});return(e,t)=>{const f=m("el-input"),h=m("IconifyIconOnline");return g(),z("div",b,[i("div",B,[t[1]||(t[1]=I(" 水平模式 horizontal ")),o(f,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=s=>a.value=s),class:"mr-2 !w-[1/1.5]",clearable:"",placeholder:"Filter...",style:{width:"300px"}},null,8,["modelValue"])]),o(u(x),{items:_.value,"min-item-size":54,direction:"horizontal",class:"scroller"},{default:p(({item:s,index:n,active:c})=>{var r;return[o(u(v),{item:s,active:c,"size-dependencies":[s.id],"data-index":n,"data-active":c,title:`Click to change message ${n}`,style:V({width:`${Math.max(130,Math.round(((r=s.id)==null?void 0:r.length)/20*20))}px`}),class:"message"},{default:p(()=>[i("div",null,[o(h,{icon:"openmoji:beaming-face-with-smiling-eyes",width:"40"}),i("p",N,C(s.id),1)])]),_:2},1032,["item","active","size-dependencies","data-index","data-active","title","style"])]}),_:1},8,["items"])])}}}),j=k(S,[["__scopeId","data-v-d46e8f01"]]);export{j as default}; +import{s as v,a as x}from"./vue-virtual-scroller.esm-BzqO9TbG.js";import{d as w,a as d,p as y,e as m,f as g,k as z,g as i,h as I,i as o,w as p,u,s as V,t as C,_ as k}from"./index-DqH6biyS.js";const b={class:"dynamic-scroller-demo"},B={class:"flex-ac mb-4 shadow-2xl"},N={class:"text-center"},S=w({__name:"horizontal",setup($){const l=d([]),a=d("");for(let e=0;e<800;e++)l.value.push({id:e});const _=y(()=>{if(!a.value)return l.value;const e=a.value;return l.value.filter(t=>t.id==e)});return(e,t)=>{const f=m("el-input"),h=m("IconifyIconOnline");return g(),z("div",b,[i("div",B,[t[1]||(t[1]=I(" 水平模式 horizontal ")),o(f,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=s=>a.value=s),class:"mr-2 !w-[1/1.5]",clearable:"",placeholder:"Filter...",style:{width:"300px"}},null,8,["modelValue"])]),o(u(x),{items:_.value,"min-item-size":54,direction:"horizontal",class:"scroller"},{default:p(({item:s,index:n,active:c})=>{var r;return[o(u(v),{item:s,active:c,"size-dependencies":[s.id],"data-index":n,"data-active":c,title:`Click to change message ${n}`,style:V({width:`${Math.max(130,Math.round(((r=s.id)==null?void 0:r.length)/20*20))}px`}),class:"message"},{default:p(()=>[i("div",null,[o(h,{icon:"openmoji:beaming-face-with-smiling-eyes",width:"40"}),i("p",N,C(s.id),1)])]),_:2},1032,["item","active","size-dependencies","data-index","data-active","title","style"])]}),_:1},8,["items"])])}}}),j=k(S,[["__scopeId","data-v-d46e8f01"]]);export{j as default}; diff --git a/static/js/icon-BE15Ious.js b/static/js/icon-BE15Ious.js deleted file mode 100644 index e6e0bd8bac..0000000000 --- a/static/js/icon-BE15Ious.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js";import"./index-AFhnwzwZ.js";export{m as default}; diff --git a/static/js/icon-CPzAth-j.js b/static/js/icon-CPzAth-j.js new file mode 100644 index 0000000000..1eb498b2bb --- /dev/null +++ b/static/js/icon-CPzAth-j.js @@ -0,0 +1 @@ +import{_ as m}from"./icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js";import"./index-DqH6biyS.js";export{m as default}; diff --git a/static/js/icon-select-BudFo4du.js b/static/js/icon-select-CJekISoV.js similarity index 91% rename from static/js/icon-select-BudFo4du.js rename to static/js/icon-select-CJekISoV.js index 0116b2e028..389994437a 100644 --- a/static/js/icon-select-BudFo4du.js +++ b/static/js/icon-select-CJekISoV.js @@ -1 +1 @@ -import{d,a as m,b as u,w as a,e as n,f as i,g as s,i as t,h as p,u as f,aJ as _}from"./index-AFhnwzwZ.js";const b=d({name:"IconSelect",__name:"icon-select",setup(v){const o=m("ep:add-location");return(w,e)=>{const l=n("el-link"),c=n("el-card");return i(),u(c,{shadow:"never"},{header:a(()=>[e[2]||(e[2]=s("div",{class:"card-header"},[s("span",{class:"font-medium"},"图标选择器")],-1)),t(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/icon-select.vue",target:"_blank"},{default:a(()=>e[1]||(e[1]=[p(" 代码位置 src/views/components/icon-select.vue ")])),_:1})]),default:a(()=>[t(f(_),{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=r=>o.value=r),class:"w-[200px]"},null,8,["modelValue"])]),_:1})}}});export{b as default}; +import{d,a as m,b as u,w as a,e as n,f as i,g as s,i as t,h as p,u as f,aJ as _}from"./index-DqH6biyS.js";const b=d({name:"IconSelect",__name:"icon-select",setup(v){const o=m("ep:add-location");return(w,e)=>{const l=n("el-link"),c=n("el-card");return i(),u(c,{shadow:"never"},{header:a(()=>[e[2]||(e[2]=s("div",{class:"card-header"},[s("span",{class:"font-medium"},"图标选择器")],-1)),t(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/icon-select.vue",target:"_blank"},{default:a(()=>e[1]||(e[1]=[p(" 代码位置 src/views/components/icon-select.vue ")])),_:1})]),default:a(()=>[t(f(_),{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=r=>o.value=r),class:"w-[200px]"},null,8,["modelValue"])]),_:1})}}});export{b as default}; diff --git a/static/js/icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js b/static/js/icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js similarity index 96% rename from static/js/icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js rename to static/js/icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js index ede00cc82d..b504020bac 100644 --- a/static/js/icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js +++ b/static/js/icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js @@ -1 +1 @@ -import{d as n,f as r,k as l,g as e,j as s}from"./index-AFhnwzwZ.js";const i={key:0,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},h={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24"},w={key:2,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},d={key:3,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},u={key:4,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24"},a=n({__name:"icon",props:{name:{type:String,required:!0}},setup(o){return(g,t)=>o.name==="play"?(r(),l("svg",i,t[0]||(t[0]=[e("path",{d:"M8 5v14l11-7z",fill:"currentColor"},null,-1)]))):o.name==="stop"?(r(),l("svg",h,t[1]||(t[1]=[e("path",{fill:"currentColor",d:"M8 16h8V8H8zm4 6q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22"},null,-1)]))):o.name==="horizontal"?(r(),l("svg",w,t[2]||(t[2]=[e("path",{d:"M2,12 L22,12",stroke:"currentColor","stroke-width":"2"},null,-1),e("path",{d:"M7,7 L2,12 L7,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1),e("path",{d:"M17,7 L22,12 L17,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1)]))):o.name==="vertical"?(r(),l("svg",d,t[3]||(t[3]=[e("path",{d:"M12,2 L12,22",stroke:"currentColor","stroke-width":"2"},null,-1),e("path",{d:"M7,7 L12,2 L17,7",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1),e("path",{d:"M7,17 L12,22 L17,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1)]))):o.name==="shuffle"?(r(),l("svg",u,t[4]||(t[4]=[e("path",{fill:"currentColor",d:"M14 20v-2h2.6l-3.175-3.175L14.85 13.4L18 16.55V14h2v6zm-8.6 0L4 18.6L16.6 6H14V4h6v6h-2V7.4zm3.775-9.425L4 5.4L5.4 4l5.175 5.175z"},null,-1)]))):s("",!0)}});export{a as _}; +import{d as n,f as r,k as l,g as e,j as s}from"./index-DqH6biyS.js";const i={key:0,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},h={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24"},w={key:2,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},d={key:3,viewBox:"0 0 24 24",height:"24",xmlns:"http://www.w3.org/2000/svg"},u={key:4,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24"},a=n({__name:"icon",props:{name:{type:String,required:!0}},setup(o){return(g,t)=>o.name==="play"?(r(),l("svg",i,t[0]||(t[0]=[e("path",{d:"M8 5v14l11-7z",fill:"currentColor"},null,-1)]))):o.name==="stop"?(r(),l("svg",h,t[1]||(t[1]=[e("path",{fill:"currentColor",d:"M8 16h8V8H8zm4 6q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22"},null,-1)]))):o.name==="horizontal"?(r(),l("svg",w,t[2]||(t[2]=[e("path",{d:"M2,12 L22,12",stroke:"currentColor","stroke-width":"2"},null,-1),e("path",{d:"M7,7 L2,12 L7,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1),e("path",{d:"M17,7 L22,12 L17,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1)]))):o.name==="vertical"?(r(),l("svg",d,t[3]||(t[3]=[e("path",{d:"M12,2 L12,22",stroke:"currentColor","stroke-width":"2"},null,-1),e("path",{d:"M7,7 L12,2 L17,7",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1),e("path",{d:"M7,17 L12,22 L17,17",stroke:"currentColor","stroke-width":"2",fill:"none"},null,-1)]))):o.name==="shuffle"?(r(),l("svg",u,t[4]||(t[4]=[e("path",{fill:"currentColor",d:"M14 20v-2h2.6l-3.175-3.175L14.85 13.4L18 16.55V14h2v6zm-8.6 0L4 18.6L16.6 6H14V4h6v6h-2V7.4zm3.775-9.425L4 5.4L5.4 4l5.175 5.175z"},null,-1)]))):s("",!0)}});export{a as _}; diff --git a/static/js/imgPreview-BPwUE2u3.js b/static/js/imgPreview-BPwUE2u3.js deleted file mode 100644 index fce5d36e1a..0000000000 --- a/static/js/imgPreview-BPwUE2u3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js";import"./data-Ym5jS6hg.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/imgPreview-BeFZ7Gue.js b/static/js/imgPreview-BeFZ7Gue.js new file mode 100644 index 0000000000..0e86e01932 --- /dev/null +++ b/static/js/imgPreview-BeFZ7Gue.js @@ -0,0 +1 @@ +import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js";import"./data-B0U4WEbi.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js b/static/js/imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js similarity index 85% rename from static/js/imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js rename to static/js/imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js index 6aea3bb12a..af28f75bfa 100644 --- a/static/js/imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js +++ b/static/js/imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js @@ -1 +1 @@ -import{d as a}from"./data-Ym5jS6hg.js";import{d as c,e as o,f as u,b as _,w as t,g as i,i as g,u as r}from"./index-AFhnwzwZ.js";const x=c({__name:"imgPreview",setup(v){const s=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(b,e)=>{const l=o("el-image"),p=o("pure-table");return u(),_(p,{data:r(a),columns:s},{video:t(()=>e[0]||(e[0]=[i("video",{width:"180",height:"180",controls:""},[i("source",{src:"https://pure-admin.github.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1)])),image:t(({row:n,index:m})=>[g(l,{"preview-teleported":"",loading:"lazy",src:n.image,"preview-src-list":r(a).map(d=>d.image),"initial-index":m,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{x as _}; +import{d as a}from"./data-B0U4WEbi.js";import{d as c,e as o,f as u,b as _,w as t,g as i,i as g,u as r}from"./index-DqH6biyS.js";const x=c({__name:"imgPreview",setup(v){const s=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(b,e)=>{const l=o("el-image"),p=o("pure-table");return u(),_(p,{data:r(a),columns:s},{video:t(()=>e[0]||(e[0]=[i("video",{width:"180",height:"180",controls:""},[i("source",{src:"https://pure-admin.github.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1)])),image:t(({row:n,index:m})=>[g(l,{"preview-teleported":"",loading:"lazy",src:n.image,"preview-src-list":r(a).map(d=>d.image),"initial-index":m,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{x as _}; diff --git a/static/js/index-0uauXpYW.js b/static/js/index-0uauXpYW.js new file mode 100644 index 0000000000..0f18fbd53f --- /dev/null +++ b/static/js/index-0uauXpYW.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-2k-n-FXG.js";import"./columns-BvShHYbm.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-DIcqFo_G.js b/static/js/index-4X8uUmkC.js similarity index 99% rename from static/js/index-DIcqFo_G.js rename to static/js/index-4X8uUmkC.js index efdfc71427..8505024c61 100644 --- a/static/js/index-DIcqFo_G.js +++ b/static/js/index-4X8uUmkC.js @@ -1,4 +1,4 @@ -var Ze=Object.defineProperty,Je=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var Be=Object.getOwnPropertySymbols;var tt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable;var Ce=(e,o,a)=>o in e?Ze(e,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[o]=a,X=(e,o)=>{for(var a in o||(o={}))tt.call(o,a)&&Ce(e,a,o[a]);if(Be)for(var a of Be(o))at.call(o,a)&&Ce(e,a,o[a]);return e},K=(e,o)=>Je(e,et(o));var Me=(e,o,a)=>new Promise((i,f)=>{var s=n=>{try{r(a.next(n))}catch(t){f(t)}},l=n=>{try{r(a.throw(n))}catch(t){f(t)}},r=n=>n.done?i(n.value):Promise.resolve(n.value).then(s,l);r((a=a.apply(e,o)).next())});import{d as U,b3 as ne,aY as rt,p as W,a as L,b6 as ue,f as O,k as Y,g as $,b as P,w as R,Q as G,s as H,j as F,v as we,u as B,i as xe,h as ie,t as N,F as Z,l as ae,K as nt,a3 as it,q as ot,ba as de,n as ce,y as Ge,dU as lt,T as st,aX as re,m as Ie,b8 as ut,b9 as dt,Z as ct}from"./index-AFhnwzwZ.js";var J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ft={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a="day";return function(i,f,s){var l=function(t){return t.add(4-t.isoWeekday(),a)},r=f.prototype;r.isoWeekYear=function(){return l(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),a);var u,d,g,p,x=l(this),m=(u=this.isoWeekYear(),d=this.$u,g=(d?s.utc:s)().year(u).startOf("year"),p=4-g.isoWeekday(),g.isoWeekday()>4&&(p+=7),g.add(p,a));return x.diff(m,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var n=r.startOf;r.startOf=function(t,u){var d=this.$utils(),g=!!d.u(u)||u;return d.p(t)==="isoweek"?g?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(t,u)}}})})(ft);var gt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i){i.prototype.isSameOrBefore=function(f,s){return this.isSame(f,s)||this.isBefore(f,s)}}})})(gt);var ht={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i){i.prototype.isSameOrAfter=function(f,s){return this.isSame(f,s)||this.isAfter(f,s)}}})})(ht);var mt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i,f){i.prototype.isBetween=function(s,l,r,n){var t=f(s),u=f(l),d=(n=n||"()")[0]==="(",g=n[1]===")";return(d?this.isAfter(t,r):!this.isBefore(t,r))&&(g?this.isBefore(u,r):!this.isAfter(u,r))||(d?this.isBefore(t,r):!this.isAfter(t,r))&&(g?this.isAfter(u,r):!this.isBefore(u,r))}}})})(mt);var pt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a="week",i="year";return function(f,s,l){var r=s.prototype;r.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),"day");var t=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=l(this).startOf(i).add(1,i).date(t),d=l(this).endOf(a);if(u.isBefore(d))return 1}var g=l(this).startOf(i).date(t).startOf(a).subtract(1,"millisecond"),p=this.diff(g,a,!0);return p<0?l(this).startOf("week").week():Math.ceil(p)},r.weeks=function(n){return n===void 0&&(n=null),this.week(n)}}})})(pt);var bt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i,f){var s=i.prototype,l=s.format;f.en.ordinal=function(r){var n=["th","st","nd","rd"],t=r%100;return"["+r+(n[(t-20)%10]||n[t]||n[0])+"]"},s.format=function(r){var n=this,t=this.$locale();if(!this.isValid())return l.bind(this)(r);var u=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(g){switch(g){case"Q":return Math.ceil((n.$M+1)/3);case"Do":return t.ordinal(n.$D);case"gggg":return n.weekYear();case"GGGG":return n.isoWeekYear();case"wo":return t.ordinal(n.week(),"W");case"w":case"ww":return u.s(n.week(),g==="w"?1:2,"0");case"W":case"WW":return u.s(n.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return u.s(String(n.$H===0?24:n.$H),g==="k"?1:2,"0");case"X":return Math.floor(n.$d.getTime()/1e3);case"x":return n.$d.getTime();case"z":return"["+n.offsetName()+"]";case"zzz":return"["+n.offsetName("long")+"]";default:return g}});return l.bind(this)(d)}}})})(bt);var vt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,f=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,r={},n=function(m){return(m=+m)+(m>68?1900:2e3)},t=function(m){return function(b){this[m]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var D=b.match(/([+-]|\d\d)/g),h=60*D[1]+(+D[2]||0);return h===0?0:D[0]==="+"?-h:h}(m)}],d=function(m){var b=r[m];return b&&(b.indexOf?b:b.s.concat(b.f))},g=function(m,b){var D,h=r.meridiem;if(h){for(var y=1;y<=24;y+=1)if(m.indexOf(h(y,0,b))>-1){D=y>12;break}}else D=m===(b?"pm":"PM");return D},p={A:[l,function(m){this.afternoon=g(m,!1)}],a:[l,function(m){this.afternoon=g(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[f,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[s,t("seconds")],ss:[s,t("seconds")],m:[s,t("minutes")],mm:[s,t("minutes")],H:[s,t("hours")],h:[s,t("hours")],HH:[s,t("hours")],hh:[s,t("hours")],D:[s,t("day")],DD:[f,t("day")],Do:[l,function(m){var b=r.ordinal,D=m.match(/\d+/);if(this.day=D[0],b)for(var h=1;h<=31;h+=1)b(h).replace(/\[|\]/g,"")===m&&(this.day=h)}],M:[s,t("month")],MM:[f,t("month")],MMM:[l,function(m){var b=d("months"),D=(d("monthsShort")||b.map(function(h){return h.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[l,function(m){var b=d("months").indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,t("year")],YY:[f,function(m){this.year=n(m)}],YYYY:[/\d{4}/,t("year")],Z:u,ZZ:u};function x(m){var b,D;b=m,D=r&&r.formats;for(var h=(m=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,T,E){var S=E&&E.toUpperCase();return T||D[E]||a[E]||D[S].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(_,I,j){return I||j.slice(1)})})).match(i),y=h.length,k=0;k-1)return new Date((ee==="X"?1e3:1)*q);var A=x(ee)(q),te=A.year,le=A.month,Pe=A.day,Qe=A.hours,Ve=A.minutes,Xe=A.seconds,Ke=A.milliseconds,De=A.zone,ge=new Date,he=Pe||(te||le?1:ge.getDate()),me=te||ge.getFullYear(),se=0;te&&!le||(se=le>0?le-1:ge.getMonth());var pe=Qe||0,be=Ve||0,ve=Xe||0,ye=Ke||0;return De?new Date(Date.UTC(me,se,he,pe,be,ve,ye+60*De.offset*1e3)):V?new Date(Date.UTC(me,se,he,pe,be,ve,ye)):new Date(me,se,he,pe,be,ve,ye)}catch(ra){return new Date("")}}(c,C,w),this.init(),S&&S!==!0&&(this.$L=this.locale(S).$L),E&&c!=this.format(C)&&(this.$d=new Date("")),r={}}else if(C instanceof Array)for(var _=C.length,I=1;I<=_;I+=1){v[1]=C[I-1];var j=D.apply(this,v);if(j.isValid()){this.$d=j.$d,this.$L=j.$L,this.init();break}I===_&&(this.$d=new Date(""))}else y.call(this,k)}}})})(vt);const We=Symbol("CHART_ROWS_KEY"),ze=Symbol("CONFIG_KEY"),je=Symbol("EMIT_BAR_EVENT_KEY"),Ae=Symbol("BAR_CONTAINER_KEY");function z(){const e=de(ze);if(!e)throw Error("Failed to inject config!");return e}const Re="YYYY-MM-DD HH:mm";function oe(e=z()){const{chartStart:o,chartEnd:a,barStart:i,barEnd:f,dateFormat:s}=e,l=W(()=>n(o.value)),r=W(()=>n(a.value)),n=(t,u)=>{let d;if(u!==void 0&&typeof t!="string"&&!(t instanceof Date)&&(d=u==="start"?t[i.value]:t[f.value]),typeof t=="string")d=t;else if(t instanceof Date)return re(t);const g=s.value||Re;return re(d,g,!0)};return{chartStartDayjs:l,chartEndDayjs:r,toDayjs:n,format:(t,u)=>u===!1?t instanceof Date?t:re(t).toDate():(typeof t=="string"||t instanceof Date?n(t):t).format(u)}}function Fe(){const{precision:e}=z(),{chartStartDayjs:o,chartEndDayjs:a}=oe(),i=W(()=>{switch(e==null?void 0:e.value){case"hour":return"day";case"day":return"month";case"date":case"week":return"month";case"month":return"year";default:throw new Error("Precision prop incorrect. Must be one of the following: 'hour', 'day', 'date', 'week', 'month'")}}),f=W(()=>{switch(e.value){case"date":return"day";case"week":return"isoWeek";default:return e.value}}),s={hour:"HH",date:"DD.MMM",day:"DD.MMM",week:"WW",month:"MMMM YYYY",year:"YYYY"};return{timeaxisUnits:W(()=>{const l=[],r=[],n=a.value.diff(o.value,"minutes",!0),t=i.value,u=f.value;let d=o.value,g=o.value;for(;g.isSameOrBefore(a.value);){const p=g.endOf(u),x=p.isAfter(a.value)?a.value.diff(g,"minutes",!0)/n*100:p.diff(g,"minutes",!0)/n*100;r.push({label:g.format(s[e==null?void 0:e.value]),value:String(g),date:g.toDate(),width:String(x)+"%"}),g=p.add(1,u==="isoWeek"?"week":u).startOf(u)}for(;d.isSameOrBefore(a.value);){const p=d.endOf(t),x=p.isAfter(a.value)?a.value.diff(d,"minutes",!0)/n*100:p.diff(d,"minutes",!0)/n*100;l.push({label:d.format(s[t]),value:String(d),date:d.toDate(),width:String(x)+"%"}),d=p.add(1,t).startOf(t)}return{upperUnits:l,lowerUnits:r}})}}const yt={class:"g-grid-container"},wt=U({__name:"GGanttGrid",props:{highlightedUnits:{}},setup(e){const{colors:o}=z(),{timeaxisUnits:a}=Fe();return(i,f)=>(O(),Y("div",yt,[(O(!0),Y(Z,null,ae(B(a).lowerUnits,({label:s,value:l,width:r})=>{var n;return O(),Y("div",{key:s,class:"g-grid-line",style:H({width:r,background:(n=i.highlightedUnits)!=null&&n.includes(Number(l))?B(o).hoverHighlight:void 0})},null,4)}),128))]))}});function ke(){const e=de(We);if(!e)throw Error("Failed to inject getChartRows!");return e}const xt={class:"g-label-column-rows"},kt=U({__name:"GGanttLabelColumn",setup(e){const{font:o,colors:a,labelColumnTitle:i,rowHeight:f}=z(),s=ke();return(l,r)=>(O(),Y("div",{class:"g-label-column",style:H({fontFamily:B(o),color:B(a).text})},[G(l.$slots,"label-column-title",{},()=>[$("div",{class:"g-label-column-header",style:H({background:B(a).primary})},N(B(i)),5)]),$("div",xt,[(O(!0),Y(Z,null,ae(B(s)(),({label:n},t)=>(O(),Y("div",{key:`${n}_${t}`,class:"g-label-column-row",style:H({background:t%2===0?B(a).ternary:B(a).quartenary,height:`${B(f)}px`})},[G(l.$slots,"label-column-row",{label:n},()=>[$("span",null,N(n),1)])],4))),128))])],4))}}),Dt={class:"g-timeaxis"},Bt={class:"g-timeunits-container"},Ct={class:"g-timeunits-container"},Mt=U({__name:"GGanttTimeaxis",setup(e){const{precision:o,colors:a}=z(),{timeaxisUnits:i}=Fe();return(f,s)=>(O(),Y("div",Dt,[$("div",Bt,[(O(!0),Y(Z,null,ae(B(i).upperUnits,({label:l,value:r,date:n,width:t},u)=>(O(),Y("div",{key:l,class:"g-upper-timeunit",style:H({background:u%2===0?B(a).primary:B(a).secondary,color:B(a).text,width:t})},[G(f.$slots,"upper-timeunit",{label:l,value:r,date:n},()=>[ie(N(l),1)])],4))),128))]),$("div",Ct,[(O(!0),Y(Z,null,ae(B(i).lowerUnits,({label:l,value:r,date:n,width:t},u)=>(O(),Y("div",{key:l,class:"g-timeunit",style:H({background:u%2===0?B(a).ternary:B(a).quartenary,color:B(a).text,flexDirection:B(o)==="hour"?"column":"row",alignItems:B(o)==="hour"?"":"center",width:t})},[G(f.$slots,"timeunit",{label:l,value:r,date:n},()=>[ie(N(l),1)]),B(o)==="hour"?(O(),Y("div",{key:0,class:"g-timeaxis-hour-pin",style:H({background:B(a).text})},null,4)):F("",!0)],4))),128))])]))}}),Ot="cadetblue",Tt=U({__name:"GGanttBarTooltip",props:{bar:{},modelValue:{type:Boolean}},setup(e){const o=e,a={hour:"HH:mm",day:"DD. MMM HH:mm",date:"DD. MMMM YYYY",month:"DD. MMMM YYYY",week:"DD. MMMM YYYY (WW)"},{bar:i}=ne(o),{precision:f,font:s,barStart:l,barEnd:r,rowHeight:n}=z(),t=L("0px"),u=L("0px");ce(()=>o.bar,()=>Me(this,null,function*(){var b;yield Ge();const D=((b=i==null?void 0:i.value)==null?void 0:b.ganttBarConfig.id)||"";if(!D)return;const h=document.getElementById(D),{top:y,left:k}=(h==null?void 0:h.getBoundingClientRect())||{top:0,left:0},c=Math.max(k,10);t.value=`${y+n.value-10}px`,u.value=`${c}px`}),{deep:!0,immediate:!0});const d=W(()=>{var b,D;return((D=(b=i==null?void 0:i.value)==null?void 0:b.ganttBarConfig.style)==null?void 0:D.background)||Ot}),{toDayjs:g}=oe(),p=W(()=>{var b;return(b=i.value)==null?void 0:b[l.value]}),x=W(()=>{var b;return(b=i.value)==null?void 0:b[r.value]}),m=W(()=>{if(!(i!=null&&i.value))return"";const b=a[f.value],D=g(p.value).format(b),h=g(x.value).format(b);return`${D} – ${h}`});return(b,D)=>(O(),P(st,{to:"body"},[xe(lt,{name:"g-fade",mode:"out-in"},{default:R(()=>[b.modelValue?(O(),Y("div",{key:0,class:"g-gantt-tooltip",style:H({top:t.value,left:u.value,fontFamily:B(s)})},[$("div",{class:"g-gantt-tooltip-color-dot",style:H({background:d.value})},null,4),G(b.$slots,"default",{bar:B(i),barStart:p.value,barEnd:x.value},()=>[ie(N(m.value),1)])],4)):F("",!0)]),_:3})]))}});function fe(e=z()){const{dateFormat:o,chartSize:a}=e,{chartStartDayjs:i,chartEndDayjs:f,toDayjs:s,format:l}=oe(e),r=W(()=>f.value.diff(i.value,"minutes"));return{mapTimeToPosition:n=>{const t=a.width.value||0,u=s(n).diff(i.value,"minutes",!0);return Math.ceil(u/r.value*t)},mapPositionToTime:n=>{const t=a.width.value||0,u=n/t*r.value;return l(i.value.add(u,"minutes"),o.value)}}}const Et=U({__name:"GGanttCurrentTime",setup(e){const{mapTimeToPosition:o}=fe(),a=L(re()),{colors:i,dateFormat:f,currentTimeLabel:s}=z(),l=W(()=>{const r=f.value||"YYYY-MM-DD HH:mm";return o(re(a.value,r).format(r))});return(r,n)=>(O(),Y("div",{class:"g-grid-current-time",style:H({left:`${l.value}px`})},[$("div",{class:"g-grid-current-time-marker",style:H({border:`1px dashed ${B(i).markerCurrentTime}`})},null,4),$("span",{class:"g-grid-current-time-text",style:H({color:B(i).markerCurrentTime})},[G(r.$slots,"current-time-label",{},()=>[ie(N(B(s)),1)])],4)],4))}});var Oe;const Ne=typeof window<"u";Ne&&((Oe=window==null?void 0:window.navigator)!=null&&Oe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Yt(e){return typeof e=="function"?e():B(e)}function St(e){return e}function _t(e){return ut()?(dt(e),!0):!1}function Lt(e,o=!0){ct()?Ie(e):o?e():Ge(e)}function Ue(e){var o;const a=Yt(e);return(o=a==null?void 0:a.$el)!=null?o:a}const $t=Ne?window:void 0;function Ht(e,o=!1){const a=L(),i=()=>a.value=!!e();return i(),Lt(i,o),a}const Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ee="__vueuse_ssr_handlers__";Te[Ee]=Te[Ee]||{};var Ye=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Wt=(e,o)=>{var a={};for(var i in e)Gt.call(e,i)&&o.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Ye)for(var i of Ye(e))o.indexOf(i)<0&&It.call(e,i)&&(a[i]=e[i]);return a};function zt(e,o,a={}){const i=a,{window:f=$t}=i,s=Wt(i,["window"]);let l;const r=Ht(()=>f&&"ResizeObserver"in f),n=()=>{l&&(l.disconnect(),l=void 0)},t=ce(()=>Ue(e),d=>{n(),r.value&&f&&d&&(l=new ResizeObserver(o),l.observe(d,s))},{immediate:!0,flush:"post"}),u=()=>{n(),t()};return _t(u),{isSupported:r,stop:u}}function jt(e,o={width:0,height:0},a={}){const i=L(o.width),f=L(o.height);return zt(e,([s])=>{i.value=s.contentRect.width,f.value=s.contentRect.height},a),ce(()=>Ue(e),s=>{i.value=s?o.width:0,f.value=s?o.height:0}),{width:i,height:f}}var Se;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Se||(Se={}));var At=Object.defineProperty,_e=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Le=(e,o,a)=>o in e?At(e,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[o]=a,Nt=(e,o)=>{for(var a in o||(o={}))Rt.call(o,a)&&Le(e,a,o[a]);if(_e)for(var a of _e(o))Ft.call(o,a)&&Le(e,a,o[a]);return e};const Ut={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Nt({linear:St},Ut);const $e={default:{primary:"#eeeeee",secondary:"#E0E0E0",ternary:"#F5F5F5",quartenary:"#ededed",hoverHighlight:"rgba(204, 216, 219, 0.5)",markerCurrentTime:"#000",text:"#404040",background:"white"},creamy:{primary:"#ffe8d9",secondary:"#fcdcc5",ternary:"#fff6f0",quartenary:"#f7ece6",hoverHighlight:"rgba(230, 221, 202, 0.5)",markerCurrentTime:"#000",text:"#542d05",background:"white"},crimson:{primary:"#a82039",secondary:"#c41238",ternary:"#db4f56",quartenary:"#ce5f64",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},dark:{primary:"#404040",secondary:"#303030",ternary:"#353535",quartenary:"#383838",hoverHighlight:"rgba(159, 160, 161, 0.5)",markerCurrentTime:"#fff",text:"white",background:"#525252",toast:"#1f1f1f"},flare:{primary:"#e08a38",secondary:"#e67912",ternary:"#5e5145",quartenary:"#665648",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},fuchsia:{primary:"#de1d5a",secondary:"#b50b41",ternary:"#ff7da6",quartenary:"#f2799f",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},grove:{primary:"#3d9960",secondary:"#288542",ternary:"#72b585",quartenary:"#65a577",hoverHighlight:"rgba(160, 219, 171, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},"material-blue":{primary:"#0D47A1",secondary:"#1565C0",ternary:"#42a5f5",quartenary:"#409fed",hoverHighlight:"rgba(110, 165, 196, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},sky:{primary:"#b5e3ff",secondary:"#a1d6f7",ternary:"#d6f7ff",quartenary:"#d0edf4",hoverHighlight:"rgba(193, 202, 214, 0.5)",markerCurrentTime:"#000",text:"#022c47",background:"white"},slumber:{primary:"#2a2f42",secondary:"#2f3447",ternary:"#35394d",quartenary:"#2c3044",hoverHighlight:"rgba(179, 162, 127, 0.5)",markerCurrentTime:"#fff",text:"#ffe0b3",background:"#38383b",toast:"#1f1f1f"},vue:{primary:"#258a5d",secondary:"#41B883",ternary:"#35495E",quartenary:"#2a3d51",hoverHighlight:"rgba(160, 219, 171, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"}},qt={class:"g-gantt-rows-container"},Pt=U({__name:"GGanttChart",props:{chartStart:{},chartEnd:{},precision:{default:"day"},barStart:{},barEnd:{},currentTime:{type:Boolean},currentTimeLabel:{default:""},dateFormat:{type:[String,Boolean],default:Re},width:{default:"100%"},hideTimeaxis:{type:Boolean,default:!1},colorScheme:{default:"default"},grid:{type:Boolean,default:!1},pushOnOverlap:{type:Boolean,default:!1},noOverlap:{type:Boolean,default:!1},rowHeight:{default:40},highlightedUnits:{default:()=>[]},font:{default:"inherit"},labelColumnTitle:{default:""},labelColumnWidth:{default:"150px"}},emits:["click-bar","mousedown-bar","mouseup-bar","dblclick-bar","mouseenter-bar","mouseleave-bar","dragstart-bar","drag-bar","dragend-bar","contextmenu-bar"],setup(e,{emit:o}){const a=e,{width:i,font:f,colorScheme:s}=ne(a),l=rt(),r=W(()=>typeof s.value!="string"?s.value:$e[s.value]||$e.default),n=()=>{var h;const y=(h=l.default)==null?void 0:h.call(l),k=[];return y&&y.forEach(c=>{var w;if((w=c.props)!=null&&w.bars){const{label:v,bars:C}=c.props;k.push({label:v,bars:C})}else Array.isArray(c.children)&&c.children.forEach(v=>{var C;const M=v;if((C=M==null?void 0:M.props)!=null&&C.bars){const{label:T,bars:E}=M.props;k.push({label:T,bars:E})}})}),k},t=L(!1),u=L(!1),d=L(void 0);let g;const p=h=>{g&&clearTimeout(g),g=setTimeout(()=>{t.value=!0},800),d.value=h},x=()=>{clearTimeout(g),t.value=!1},m=(h,y,k,c)=>{switch(h.type){case"click":o("click-bar",{bar:y,e:h,datetime:k});break;case"mousedown":o("mousedown-bar",{bar:y,e:h,datetime:k});break;case"mouseup":o("mouseup-bar",{bar:y,e:h,datetime:k});break;case"dblclick":o("dblclick-bar",{bar:y,e:h,datetime:k});break;case"mouseenter":p(y),o("mouseenter-bar",{bar:y,e:h});break;case"mouseleave":x(),o("mouseleave-bar",{bar:y,e:h});break;case"dragstart":u.value=!0,o("dragstart-bar",{bar:y,e:h});break;case"drag":o("drag-bar",{bar:y,e:h});break;case"dragend":u.value=!1,o("dragend-bar",{bar:y,e:h,movedBars:c});break;case"contextmenu":o("contextmenu-bar",{bar:y,e:h,datetime:k});break}},b=L(null),D=jt(b);return ue(We,n),ue(ze,K(X({},ne(a)),{colors:r,chartSize:D})),ue(je,m),(h,y)=>(O(),Y("div",null,[$("div",{class:we([{"labels-in-column":!!h.labelColumnTitle}])},[h.labelColumnTitle?(O(),P(kt,{key:0,style:H({width:h.labelColumnWidth})},{"label-column-title":R(()=>[G(h.$slots,"label-column-title")]),"label-column-row":R(({label:k})=>[G(h.$slots,"label-column-row",{label:k})]),_:3},8,["style"])):F("",!0),$("div",{ref_key:"ganttChart",ref:b,class:we(["g-gantt-chart",{"with-column":h.labelColumnTitle}]),style:H({width:B(i),background:r.value.background,fontFamily:B(f)})},[h.hideTimeaxis?F("",!0):(O(),P(Mt,{key:0},{"upper-timeunit":R(({label:k,value:c,date:w})=>[G(h.$slots,"upper-timeunit",{label:k,value:c,date:w})]),timeunit:R(({label:k,value:c,date:w})=>[G(h.$slots,"timeunit",{label:k,value:c,date:w})]),_:3})),h.grid?(O(),P(wt,{key:1,"highlighted-units":h.highlightedUnits},null,8,["highlighted-units"])):F("",!0),h.currentTime?(O(),P(Et,{key:2},{"current-time-label":R(()=>[G(h.$slots,"current-time-label")]),_:3})):F("",!0),$("div",qt,[G(h.$slots,"default")])],6)],2),xe(Tt,{"model-value":t.value||u.value,bar:d.value},{default:R(()=>[G(h.$slots,"bar-tooltip",{bar:d.value})]),_:3},8,["model-value","bar"])]))}});function He(e,o=()=>null,a=()=>null,i=z()){const{barStart:f,barEnd:s,pushOnOverlap:l}=i,r=L(!1);let n=0,t;const{mapPositionToTime:u}=fe(i),{toDayjs:d}=oe(i),g=y=>{const k=document.getElementById(e.ganttBarConfig.id);if(k){switch(n=y.clientX-(k.getBoundingClientRect().left||0),y.target.className){case"g-gantt-bar-handle-left":document.body.style.cursor="ew-resize",t=m;break;case"g-gantt-bar-handle-right":document.body.style.cursor="ew-resize",t=b;break;default:t=x}r.value=!0,window.addEventListener("mousemove",t),window.addEventListener("mouseup",h)}},p=()=>{var y;const k=document.getElementById(e.ganttBarConfig.id),c=(y=k==null?void 0:k.closest(".g-gantt-row-bars-container"))==null?void 0:y.getBoundingClientRect();return{barElement:k,barContainer:c}},x=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=k.getBoundingClientRect().width,v=y.clientX-c.left-n,C=v+w;D(v,C)||(e[f.value]=u(v),e[s.value]=u(C),o(y,e))},m=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=y.clientX-c.left,v=u(w);d(v).isSameOrAfter(d(e,"end"))||(e[f.value]=v,o(y,e))},b=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=y.clientX-c.left,v=u(w);d(v).isSameOrBefore(d(e,"start"))||(e[s.value]=v,o(y,e))},D=(y,k)=>{if(!l.value)return!1;const c=e.ganttBarConfig.dragLimitLeft,w=e.ganttBarConfig.dragLimitRight;return y&&c!=null&&yw},h=y=>{r.value=!1,document.body.style.cursor="",window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",h),a(y,e)};return{isDragging:r,initDrag:g}}function qe(){const e=de(je);if(!e)throw Error("Failed to inject emitBarEvent!");return e}function Qt(){const e=z(),o=ke(),a=qe(),{pushOnOverlap:i,barStart:f,barEnd:s,noOverlap:l,dateFormat:r}=e,n=new Map,{toDayjs:t,format:u}=oe(),d=(c,w)=>{const{initDrag:v}=He(c,p,h,e);a(K(X({},w),{type:"dragstart"}),c),v(w),y(c)},g=(c,w)=>{const v=c.ganttBarConfig.bundle;v!=null&&(o().forEach(C=>{C.bars.forEach(M=>{if(M.ganttBarConfig.bundle===v){const T=M===c?h:()=>null,{initDrag:E}=He(M,p,T,e);E(w),y(M)}})}),a(K(X({},w),{type:"dragstart"}),c))},p=(c,w)=>{a(K(X({},c),{type:"drag"}),w),x(w)},x=c=>{if(!(i!=null&&i.value))return;let w=c,{overlapBar:v,overlapType:C}=m(w);for(;v;){y(v);const M=t(w[f.value]),T=t(w[s.value]),E=t(v[f.value]),S=t(v[s.value]);let _;switch(C){case"left":_=S.diff(M,"minutes",!0),v[s.value]=u(w[f.value],r.value),v[f.value]=u(E.subtract(_,"minutes"),r.value);break;case"right":_=T.diff(E,"minutes",!0),v[f.value]=u(T,r.value),v[s.value]=u(S.add(_,"minutes"),r.value);break;default:console.warn("Vue-Ganttastic: One bar is inside of the other one! This should never occur while push-on-overlap is active!");return}v&&(C==="left"||C==="right")&&b(v,_,C),w=v,{overlapBar:v,overlapType:C}=m(v)}},m=c=>{var w,v;let C,M,T;const E=(v=(w=o().find(I=>I.bars.includes(c)))==null?void 0:w.bars)!=null?v:[],S=t(c[f.value]),_=t(c[s.value]);return{overlapBar:E.find(I=>{if(I===c)return!1;const j=t(I[f.value]),q=t(I[s.value]);return C=S.isBetween(j,q),M=_.isBetween(j,q),T=j.isBetween(S,_)||q.isBetween(S,_),C||M||T}),overlapType:C?"left":M?"right":T?"between":null}},b=(c,w,v)=>{y(c),c.ganttBarConfig.bundle&&o().forEach(C=>{C.bars.forEach(M=>{M.ganttBarConfig.bundle===c.ganttBarConfig.bundle&&M!==c&&(y(M),D(M,w,v))})})},D=(c,w,v)=>{switch(v){case"left":c[f.value]=u(t(c,"start").subtract(w,"minutes"),r.value),c[s.value]=u(t(c,"end").subtract(w,"minutes"),r.value);break;case"right":c[f.value]=u(t(c,"start").add(w,"minutes"),r.value),c[s.value]=u(t(c,"end").add(w,"minutes"),r.value)}x(c)},h=(c,w)=>{k();const v=K(X({},c),{type:"dragend"});a(v,w,void 0,new Map(n)),n.clear()},y=c=>{if(!n.has(c)){const w=c[f.value],v=c[s.value];n.set(c,{oldStart:w,oldEnd:v})}},k=()=>{if(i.value||!l.value)return;let c=!1;n.forEach((w,v)=>{const{overlapBar:C}=m(v);C!=null&&(c=!0)}),c&&n.forEach(({oldStart:w,oldEnd:v},C)=>{C[f.value]=w,C[s.value]=v})};return{initDragOfBar:d,initDragOfBundle:g}}function Vt(){const{pushOnOverlap:e}=z(),o=ke(),a=l=>{const r=[];return l!=null&&o().forEach(n=>{n.bars.forEach(t=>{t.ganttBarConfig.bundle===l&&r.push(t)})}),r},i=l=>{if(!(!e.value||l.ganttBarConfig.pushOnOverlap===!1)){for(const r of["left","right"]){const n=r,{gapDistanceSoFar:t,bundleBarsAndGapDist:u}=f(l,0,n);let d=t;const g=u;if(!g)continue;for(let x=0;xD!==m).forEach(D=>{const h=f(D,b,n),y=h.gapDistanceSoFar,k=h.bundleBarsAndGapDist;y!=null&&(!d||y{g.find(w=>w.bar===c.bar)||g.push(c)})})}const p=document.getElementById(l.ganttBarConfig.id);d!=null&&n==="left"?l.ganttBarConfig.dragLimitLeft=p.offsetLeft-d:d!=null&&n==="right"&&(l.ganttBarConfig.dragLimitRight=p.offsetLeft+p.offsetWidth+d)}a(l.ganttBarConfig.bundle).forEach(r=>{r.ganttBarConfig.dragLimitLeft=l.ganttBarConfig.dragLimitLeft,r.ganttBarConfig.dragLimitRight=l.ganttBarConfig.dragLimitRight})}},f=(l,r=0,n)=>{const t=l.ganttBarConfig.bundle?[{bar:l,gapDistance:r}]:[];let u=l,d=s(u,n);if(n==="left")for(;d;){const g=document.getElementById(u.ganttBarConfig.id),p=document.getElementById(d.ganttBarConfig.id),x=p.offsetLeft+p.offsetWidth;if(r+=g.offsetLeft-x,d.ganttBarConfig.immobile)return{gapDistanceSoFar:r,bundleBarsAndGapDist:t};d.ganttBarConfig.bundle&&t.push({bar:d,gapDistance:r}),u=d,d=s(d,"left")}if(n==="right")for(;d;){const g=document.getElementById(u.ganttBarConfig.id),p=document.getElementById(d.ganttBarConfig.id),x=g.offsetLeft+g.offsetWidth;if(r+=p.offsetLeft-x,d.ganttBarConfig.immobile)return{gapDistanceSoFar:r,bundleBarsAndGapDist:t};d.ganttBarConfig.bundle&&t.push({bar:d,gapDistance:r}),u=d,d=s(d,"right")}return{gapDistanceSoFar:null,bundleBarsAndGapDist:t}},s=(l,r)=>{var n,t;const u=document.getElementById(l.ganttBarConfig.id),d=(t=(n=o().find(p=>p.bars.includes(l)))==null?void 0:n.bars)!=null?t:[];let g=[];return r==="left"?g=d.filter(p=>{const x=document.getElementById(p.ganttBarConfig.id);return x&&x.offsetLeft{const x=document.getElementById(p.ganttBarConfig.id);return x&&x.offsetLeft>u.offsetLeft&&p.ganttBarConfig.pushOnOverlap!==!1}),g.length>0?g.reduce((p,x)=>{const m=document.getElementById(p.ganttBarConfig.id),b=document.getElementById(x.ganttBarConfig.id),D=Math.abs(m.offsetLeft-u.offsetLeft),h=Math.abs(b.offsetLeft-u.offsetLeft);return Ds.value.ganttBarConfig);function p(M){g.value.bundle!=null?t(s.value,M):n(s.value,M),d.value=!0}const x=()=>{u(s.value),!g.value.immobile&&(window.addEventListener("mousemove",p,{once:!0}),window.addEventListener("mouseup",()=>{window.removeEventListener("mousemove",p),d.value=!1},{once:!0}))},m=de(Ae),b=M=>{var T;M.preventDefault(),M.type==="mousedown"&&x();const E=(T=m==null?void 0:m.value)==null?void 0:T.getBoundingClientRect();if(!E)return;const S=r(M.clientX-E.left);a(M,s.value,S)},{barStart:D,barEnd:h,width:y,chartStart:k,chartEnd:c,chartSize:w}=i,v=L(0),C=L(0);return Ie(()=>{ce([s,y,k,c,w.width],()=>{v.value=l(s.value[D.value]),C.value=l(s.value[h.value])},{deep:!0,immediate:!0})}),(M,T)=>(O(),Y("div",{id:g.value.id,class:we(["g-gantt-bar",g.value.class||""]),style:H(K(X({},g.value.style),{position:"absolute",top:`${B(f)*.1}px`,left:`${v.value}px`,width:`${C.value-v.value}px`,height:`${B(f)*.8}px`,zIndex:d.value?3:2})),onMousedown:b,onClick:b,onDblclick:b,onMouseenter:b,onMouseleave:b,onContextmenu:b},[$("div",Kt,[G(M.$slots,"default",{bar:B(s)},()=>[$("div",null,N(g.value.label||""),1),g.value.html?(O(),Y("div",{key:0,innerHTML:g.value.html},null,8,Zt)):F("",!0)])]),g.value.hasHandles?(O(),Y(Z,{key:0},[Jt,ea],64)):F("",!0)],46,Xt))}}),aa=U({__name:"GGanttRow",props:{label:{},bars:{},highlightOnHover:{type:Boolean}},emits:["drop"],setup(e,{emit:o}){const a=e,{rowHeight:i,colors:f,labelColumnTitle:s}=z(),{highlightOnHover:l}=ne(a),r=L(!1),n=W(()=>({height:`${i.value}px`,background:l!=null&&l.value&&r.value?f.value.hoverHighlight:null})),{mapPositionToTime:t}=fe(),u=L(null);ue(Ae,u);const d=p=>{var x;const m=(x=u.value)==null?void 0:x.getBoundingClientRect();if(!m){console.error("Vue-Ganttastic: failed to find bar container element for row.");return}const b=p.clientX-m.left,D=t(b);o("drop",{e:p,datetime:D})},g=p=>!p||/^\s*$/.test(p);return(p,x)=>(O(),Y("div",{class:"g-gantt-row",style:H(n.value),onDragover:x[0]||(x[0]=ot(m=>r.value=!0,["prevent"])),onDragleave:x[1]||(x[1]=m=>r.value=!1),onDrop:x[2]||(x[2]=m=>d(m)),onMouseover:x[3]||(x[3]=m=>r.value=!0),onMouseleave:x[4]||(x[4]=m=>r.value=!1)},[!g(p.label)&&!B(s)?(O(),Y("div",{key:0,class:"g-gantt-row-label",style:H({background:B(f).primary,color:B(f).text})},[G(p.$slots,"label",{},()=>[ie(N(p.label),1)])],4)):F("",!0),$("div",it({ref_key:"barContainer",ref:u,class:"g-gantt-row-bars-container"},p.$attrs),[xe(nt,{name:"bar-transition",tag:"div"},{default:R(()=>[(O(!0),Y(Z,null,ae(p.bars,m=>(O(),P(ta,{key:m.ganttBarConfig.id,bar:m},{default:R(()=>[G(p.$slots,"bar-label",{bar:m})]),_:2},1032,["bar"]))),128))]),_:3})],16)],36))}});function Q(e,o="top"){if(!e||typeof document>"u")return;const a=document.head,i=document.createElement("style");o==="top"&&a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i),i.appendChild(document.createTextNode(e))}Q(` +var Ze=Object.defineProperty,Je=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var Be=Object.getOwnPropertySymbols;var tt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable;var Ce=(e,o,a)=>o in e?Ze(e,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[o]=a,X=(e,o)=>{for(var a in o||(o={}))tt.call(o,a)&&Ce(e,a,o[a]);if(Be)for(var a of Be(o))at.call(o,a)&&Ce(e,a,o[a]);return e},K=(e,o)=>Je(e,et(o));var Me=(e,o,a)=>new Promise((i,f)=>{var s=n=>{try{r(a.next(n))}catch(t){f(t)}},l=n=>{try{r(a.throw(n))}catch(t){f(t)}},r=n=>n.done?i(n.value):Promise.resolve(n.value).then(s,l);r((a=a.apply(e,o)).next())});import{d as U,b3 as ne,aY as rt,p as W,a as L,b6 as ue,f as O,k as Y,g as $,b as P,w as R,Q as G,s as H,j as F,v as we,u as B,i as xe,h as ie,t as N,F as Z,l as ae,K as nt,a3 as it,q as ot,ba as de,n as ce,y as Ge,dU as lt,T as st,aX as re,m as Ie,b8 as ut,b9 as dt,Z as ct}from"./index-DqH6biyS.js";var J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ft={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a="day";return function(i,f,s){var l=function(t){return t.add(4-t.isoWeekday(),a)},r=f.prototype;r.isoWeekYear=function(){return l(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),a);var u,d,g,p,x=l(this),m=(u=this.isoWeekYear(),d=this.$u,g=(d?s.utc:s)().year(u).startOf("year"),p=4-g.isoWeekday(),g.isoWeekday()>4&&(p+=7),g.add(p,a));return x.diff(m,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var n=r.startOf;r.startOf=function(t,u){var d=this.$utils(),g=!!d.u(u)||u;return d.p(t)==="isoweek"?g?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(t,u)}}})})(ft);var gt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i){i.prototype.isSameOrBefore=function(f,s){return this.isSame(f,s)||this.isBefore(f,s)}}})})(gt);var ht={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i){i.prototype.isSameOrAfter=function(f,s){return this.isSame(f,s)||this.isAfter(f,s)}}})})(ht);var mt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i,f){i.prototype.isBetween=function(s,l,r,n){var t=f(s),u=f(l),d=(n=n||"()")[0]==="(",g=n[1]===")";return(d?this.isAfter(t,r):!this.isBefore(t,r))&&(g?this.isBefore(u,r):!this.isAfter(u,r))||(d?this.isBefore(t,r):!this.isAfter(t,r))&&(g?this.isAfter(u,r):!this.isBefore(u,r))}}})})(mt);var pt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a="week",i="year";return function(f,s,l){var r=s.prototype;r.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),"day");var t=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=l(this).startOf(i).add(1,i).date(t),d=l(this).endOf(a);if(u.isBefore(d))return 1}var g=l(this).startOf(i).date(t).startOf(a).subtract(1,"millisecond"),p=this.diff(g,a,!0);return p<0?l(this).startOf("week").week():Math.ceil(p)},r.weeks=function(n){return n===void 0&&(n=null),this.week(n)}}})})(pt);var bt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){return function(a,i,f){var s=i.prototype,l=s.format;f.en.ordinal=function(r){var n=["th","st","nd","rd"],t=r%100;return"["+r+(n[(t-20)%10]||n[t]||n[0])+"]"},s.format=function(r){var n=this,t=this.$locale();if(!this.isValid())return l.bind(this)(r);var u=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(g){switch(g){case"Q":return Math.ceil((n.$M+1)/3);case"Do":return t.ordinal(n.$D);case"gggg":return n.weekYear();case"GGGG":return n.isoWeekYear();case"wo":return t.ordinal(n.week(),"W");case"w":case"ww":return u.s(n.week(),g==="w"?1:2,"0");case"W":case"WW":return u.s(n.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return u.s(String(n.$H===0?24:n.$H),g==="k"?1:2,"0");case"X":return Math.floor(n.$d.getTime()/1e3);case"x":return n.$d.getTime();case"z":return"["+n.offsetName()+"]";case"zzz":return"["+n.offsetName("long")+"]";default:return g}});return l.bind(this)(d)}}})})(bt);var vt={exports:{}};(function(e,o){(function(a,i){e.exports=i()})(J,function(){var a={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,f=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,r={},n=function(m){return(m=+m)+(m>68?1900:2e3)},t=function(m){return function(b){this[m]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var D=b.match(/([+-]|\d\d)/g),h=60*D[1]+(+D[2]||0);return h===0?0:D[0]==="+"?-h:h}(m)}],d=function(m){var b=r[m];return b&&(b.indexOf?b:b.s.concat(b.f))},g=function(m,b){var D,h=r.meridiem;if(h){for(var y=1;y<=24;y+=1)if(m.indexOf(h(y,0,b))>-1){D=y>12;break}}else D=m===(b?"pm":"PM");return D},p={A:[l,function(m){this.afternoon=g(m,!1)}],a:[l,function(m){this.afternoon=g(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[f,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[s,t("seconds")],ss:[s,t("seconds")],m:[s,t("minutes")],mm:[s,t("minutes")],H:[s,t("hours")],h:[s,t("hours")],HH:[s,t("hours")],hh:[s,t("hours")],D:[s,t("day")],DD:[f,t("day")],Do:[l,function(m){var b=r.ordinal,D=m.match(/\d+/);if(this.day=D[0],b)for(var h=1;h<=31;h+=1)b(h).replace(/\[|\]/g,"")===m&&(this.day=h)}],M:[s,t("month")],MM:[f,t("month")],MMM:[l,function(m){var b=d("months"),D=(d("monthsShort")||b.map(function(h){return h.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[l,function(m){var b=d("months").indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,t("year")],YY:[f,function(m){this.year=n(m)}],YYYY:[/\d{4}/,t("year")],Z:u,ZZ:u};function x(m){var b,D;b=m,D=r&&r.formats;for(var h=(m=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,T,E){var S=E&&E.toUpperCase();return T||D[E]||a[E]||D[S].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(_,I,j){return I||j.slice(1)})})).match(i),y=h.length,k=0;k-1)return new Date((ee==="X"?1e3:1)*q);var A=x(ee)(q),te=A.year,le=A.month,Pe=A.day,Qe=A.hours,Ve=A.minutes,Xe=A.seconds,Ke=A.milliseconds,De=A.zone,ge=new Date,he=Pe||(te||le?1:ge.getDate()),me=te||ge.getFullYear(),se=0;te&&!le||(se=le>0?le-1:ge.getMonth());var pe=Qe||0,be=Ve||0,ve=Xe||0,ye=Ke||0;return De?new Date(Date.UTC(me,se,he,pe,be,ve,ye+60*De.offset*1e3)):V?new Date(Date.UTC(me,se,he,pe,be,ve,ye)):new Date(me,se,he,pe,be,ve,ye)}catch(ra){return new Date("")}}(c,C,w),this.init(),S&&S!==!0&&(this.$L=this.locale(S).$L),E&&c!=this.format(C)&&(this.$d=new Date("")),r={}}else if(C instanceof Array)for(var _=C.length,I=1;I<=_;I+=1){v[1]=C[I-1];var j=D.apply(this,v);if(j.isValid()){this.$d=j.$d,this.$L=j.$L,this.init();break}I===_&&(this.$d=new Date(""))}else y.call(this,k)}}})})(vt);const We=Symbol("CHART_ROWS_KEY"),ze=Symbol("CONFIG_KEY"),je=Symbol("EMIT_BAR_EVENT_KEY"),Ae=Symbol("BAR_CONTAINER_KEY");function z(){const e=de(ze);if(!e)throw Error("Failed to inject config!");return e}const Re="YYYY-MM-DD HH:mm";function oe(e=z()){const{chartStart:o,chartEnd:a,barStart:i,barEnd:f,dateFormat:s}=e,l=W(()=>n(o.value)),r=W(()=>n(a.value)),n=(t,u)=>{let d;if(u!==void 0&&typeof t!="string"&&!(t instanceof Date)&&(d=u==="start"?t[i.value]:t[f.value]),typeof t=="string")d=t;else if(t instanceof Date)return re(t);const g=s.value||Re;return re(d,g,!0)};return{chartStartDayjs:l,chartEndDayjs:r,toDayjs:n,format:(t,u)=>u===!1?t instanceof Date?t:re(t).toDate():(typeof t=="string"||t instanceof Date?n(t):t).format(u)}}function Fe(){const{precision:e}=z(),{chartStartDayjs:o,chartEndDayjs:a}=oe(),i=W(()=>{switch(e==null?void 0:e.value){case"hour":return"day";case"day":return"month";case"date":case"week":return"month";case"month":return"year";default:throw new Error("Precision prop incorrect. Must be one of the following: 'hour', 'day', 'date', 'week', 'month'")}}),f=W(()=>{switch(e.value){case"date":return"day";case"week":return"isoWeek";default:return e.value}}),s={hour:"HH",date:"DD.MMM",day:"DD.MMM",week:"WW",month:"MMMM YYYY",year:"YYYY"};return{timeaxisUnits:W(()=>{const l=[],r=[],n=a.value.diff(o.value,"minutes",!0),t=i.value,u=f.value;let d=o.value,g=o.value;for(;g.isSameOrBefore(a.value);){const p=g.endOf(u),x=p.isAfter(a.value)?a.value.diff(g,"minutes",!0)/n*100:p.diff(g,"minutes",!0)/n*100;r.push({label:g.format(s[e==null?void 0:e.value]),value:String(g),date:g.toDate(),width:String(x)+"%"}),g=p.add(1,u==="isoWeek"?"week":u).startOf(u)}for(;d.isSameOrBefore(a.value);){const p=d.endOf(t),x=p.isAfter(a.value)?a.value.diff(d,"minutes",!0)/n*100:p.diff(d,"minutes",!0)/n*100;l.push({label:d.format(s[t]),value:String(d),date:d.toDate(),width:String(x)+"%"}),d=p.add(1,t).startOf(t)}return{upperUnits:l,lowerUnits:r}})}}const yt={class:"g-grid-container"},wt=U({__name:"GGanttGrid",props:{highlightedUnits:{}},setup(e){const{colors:o}=z(),{timeaxisUnits:a}=Fe();return(i,f)=>(O(),Y("div",yt,[(O(!0),Y(Z,null,ae(B(a).lowerUnits,({label:s,value:l,width:r})=>{var n;return O(),Y("div",{key:s,class:"g-grid-line",style:H({width:r,background:(n=i.highlightedUnits)!=null&&n.includes(Number(l))?B(o).hoverHighlight:void 0})},null,4)}),128))]))}});function ke(){const e=de(We);if(!e)throw Error("Failed to inject getChartRows!");return e}const xt={class:"g-label-column-rows"},kt=U({__name:"GGanttLabelColumn",setup(e){const{font:o,colors:a,labelColumnTitle:i,rowHeight:f}=z(),s=ke();return(l,r)=>(O(),Y("div",{class:"g-label-column",style:H({fontFamily:B(o),color:B(a).text})},[G(l.$slots,"label-column-title",{},()=>[$("div",{class:"g-label-column-header",style:H({background:B(a).primary})},N(B(i)),5)]),$("div",xt,[(O(!0),Y(Z,null,ae(B(s)(),({label:n},t)=>(O(),Y("div",{key:`${n}_${t}`,class:"g-label-column-row",style:H({background:t%2===0?B(a).ternary:B(a).quartenary,height:`${B(f)}px`})},[G(l.$slots,"label-column-row",{label:n},()=>[$("span",null,N(n),1)])],4))),128))])],4))}}),Dt={class:"g-timeaxis"},Bt={class:"g-timeunits-container"},Ct={class:"g-timeunits-container"},Mt=U({__name:"GGanttTimeaxis",setup(e){const{precision:o,colors:a}=z(),{timeaxisUnits:i}=Fe();return(f,s)=>(O(),Y("div",Dt,[$("div",Bt,[(O(!0),Y(Z,null,ae(B(i).upperUnits,({label:l,value:r,date:n,width:t},u)=>(O(),Y("div",{key:l,class:"g-upper-timeunit",style:H({background:u%2===0?B(a).primary:B(a).secondary,color:B(a).text,width:t})},[G(f.$slots,"upper-timeunit",{label:l,value:r,date:n},()=>[ie(N(l),1)])],4))),128))]),$("div",Ct,[(O(!0),Y(Z,null,ae(B(i).lowerUnits,({label:l,value:r,date:n,width:t},u)=>(O(),Y("div",{key:l,class:"g-timeunit",style:H({background:u%2===0?B(a).ternary:B(a).quartenary,color:B(a).text,flexDirection:B(o)==="hour"?"column":"row",alignItems:B(o)==="hour"?"":"center",width:t})},[G(f.$slots,"timeunit",{label:l,value:r,date:n},()=>[ie(N(l),1)]),B(o)==="hour"?(O(),Y("div",{key:0,class:"g-timeaxis-hour-pin",style:H({background:B(a).text})},null,4)):F("",!0)],4))),128))])]))}}),Ot="cadetblue",Tt=U({__name:"GGanttBarTooltip",props:{bar:{},modelValue:{type:Boolean}},setup(e){const o=e,a={hour:"HH:mm",day:"DD. MMM HH:mm",date:"DD. MMMM YYYY",month:"DD. MMMM YYYY",week:"DD. MMMM YYYY (WW)"},{bar:i}=ne(o),{precision:f,font:s,barStart:l,barEnd:r,rowHeight:n}=z(),t=L("0px"),u=L("0px");ce(()=>o.bar,()=>Me(this,null,function*(){var b;yield Ge();const D=((b=i==null?void 0:i.value)==null?void 0:b.ganttBarConfig.id)||"";if(!D)return;const h=document.getElementById(D),{top:y,left:k}=(h==null?void 0:h.getBoundingClientRect())||{top:0,left:0},c=Math.max(k,10);t.value=`${y+n.value-10}px`,u.value=`${c}px`}),{deep:!0,immediate:!0});const d=W(()=>{var b,D;return((D=(b=i==null?void 0:i.value)==null?void 0:b.ganttBarConfig.style)==null?void 0:D.background)||Ot}),{toDayjs:g}=oe(),p=W(()=>{var b;return(b=i.value)==null?void 0:b[l.value]}),x=W(()=>{var b;return(b=i.value)==null?void 0:b[r.value]}),m=W(()=>{if(!(i!=null&&i.value))return"";const b=a[f.value],D=g(p.value).format(b),h=g(x.value).format(b);return`${D} – ${h}`});return(b,D)=>(O(),P(st,{to:"body"},[xe(lt,{name:"g-fade",mode:"out-in"},{default:R(()=>[b.modelValue?(O(),Y("div",{key:0,class:"g-gantt-tooltip",style:H({top:t.value,left:u.value,fontFamily:B(s)})},[$("div",{class:"g-gantt-tooltip-color-dot",style:H({background:d.value})},null,4),G(b.$slots,"default",{bar:B(i),barStart:p.value,barEnd:x.value},()=>[ie(N(m.value),1)])],4)):F("",!0)]),_:3})]))}});function fe(e=z()){const{dateFormat:o,chartSize:a}=e,{chartStartDayjs:i,chartEndDayjs:f,toDayjs:s,format:l}=oe(e),r=W(()=>f.value.diff(i.value,"minutes"));return{mapTimeToPosition:n=>{const t=a.width.value||0,u=s(n).diff(i.value,"minutes",!0);return Math.ceil(u/r.value*t)},mapPositionToTime:n=>{const t=a.width.value||0,u=n/t*r.value;return l(i.value.add(u,"minutes"),o.value)}}}const Et=U({__name:"GGanttCurrentTime",setup(e){const{mapTimeToPosition:o}=fe(),a=L(re()),{colors:i,dateFormat:f,currentTimeLabel:s}=z(),l=W(()=>{const r=f.value||"YYYY-MM-DD HH:mm";return o(re(a.value,r).format(r))});return(r,n)=>(O(),Y("div",{class:"g-grid-current-time",style:H({left:`${l.value}px`})},[$("div",{class:"g-grid-current-time-marker",style:H({border:`1px dashed ${B(i).markerCurrentTime}`})},null,4),$("span",{class:"g-grid-current-time-text",style:H({color:B(i).markerCurrentTime})},[G(r.$slots,"current-time-label",{},()=>[ie(N(B(s)),1)])],4)],4))}});var Oe;const Ne=typeof window<"u";Ne&&((Oe=window==null?void 0:window.navigator)!=null&&Oe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Yt(e){return typeof e=="function"?e():B(e)}function St(e){return e}function _t(e){return ut()?(dt(e),!0):!1}function Lt(e,o=!0){ct()?Ie(e):o?e():Ge(e)}function Ue(e){var o;const a=Yt(e);return(o=a==null?void 0:a.$el)!=null?o:a}const $t=Ne?window:void 0;function Ht(e,o=!1){const a=L(),i=()=>a.value=!!e();return i(),Lt(i,o),a}const Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ee="__vueuse_ssr_handlers__";Te[Ee]=Te[Ee]||{};var Ye=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Wt=(e,o)=>{var a={};for(var i in e)Gt.call(e,i)&&o.indexOf(i)<0&&(a[i]=e[i]);if(e!=null&&Ye)for(var i of Ye(e))o.indexOf(i)<0&&It.call(e,i)&&(a[i]=e[i]);return a};function zt(e,o,a={}){const i=a,{window:f=$t}=i,s=Wt(i,["window"]);let l;const r=Ht(()=>f&&"ResizeObserver"in f),n=()=>{l&&(l.disconnect(),l=void 0)},t=ce(()=>Ue(e),d=>{n(),r.value&&f&&d&&(l=new ResizeObserver(o),l.observe(d,s))},{immediate:!0,flush:"post"}),u=()=>{n(),t()};return _t(u),{isSupported:r,stop:u}}function jt(e,o={width:0,height:0},a={}){const i=L(o.width),f=L(o.height);return zt(e,([s])=>{i.value=s.contentRect.width,f.value=s.contentRect.height},a),ce(()=>Ue(e),s=>{i.value=s?o.width:0,f.value=s?o.height:0}),{width:i,height:f}}var Se;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Se||(Se={}));var At=Object.defineProperty,_e=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Le=(e,o,a)=>o in e?At(e,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[o]=a,Nt=(e,o)=>{for(var a in o||(o={}))Rt.call(o,a)&&Le(e,a,o[a]);if(_e)for(var a of _e(o))Ft.call(o,a)&&Le(e,a,o[a]);return e};const Ut={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Nt({linear:St},Ut);const $e={default:{primary:"#eeeeee",secondary:"#E0E0E0",ternary:"#F5F5F5",quartenary:"#ededed",hoverHighlight:"rgba(204, 216, 219, 0.5)",markerCurrentTime:"#000",text:"#404040",background:"white"},creamy:{primary:"#ffe8d9",secondary:"#fcdcc5",ternary:"#fff6f0",quartenary:"#f7ece6",hoverHighlight:"rgba(230, 221, 202, 0.5)",markerCurrentTime:"#000",text:"#542d05",background:"white"},crimson:{primary:"#a82039",secondary:"#c41238",ternary:"#db4f56",quartenary:"#ce5f64",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},dark:{primary:"#404040",secondary:"#303030",ternary:"#353535",quartenary:"#383838",hoverHighlight:"rgba(159, 160, 161, 0.5)",markerCurrentTime:"#fff",text:"white",background:"#525252",toast:"#1f1f1f"},flare:{primary:"#e08a38",secondary:"#e67912",ternary:"#5e5145",quartenary:"#665648",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},fuchsia:{primary:"#de1d5a",secondary:"#b50b41",ternary:"#ff7da6",quartenary:"#f2799f",hoverHighlight:"rgba(196, 141, 141, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},grove:{primary:"#3d9960",secondary:"#288542",ternary:"#72b585",quartenary:"#65a577",hoverHighlight:"rgba(160, 219, 171, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},"material-blue":{primary:"#0D47A1",secondary:"#1565C0",ternary:"#42a5f5",quartenary:"#409fed",hoverHighlight:"rgba(110, 165, 196, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"},sky:{primary:"#b5e3ff",secondary:"#a1d6f7",ternary:"#d6f7ff",quartenary:"#d0edf4",hoverHighlight:"rgba(193, 202, 214, 0.5)",markerCurrentTime:"#000",text:"#022c47",background:"white"},slumber:{primary:"#2a2f42",secondary:"#2f3447",ternary:"#35394d",quartenary:"#2c3044",hoverHighlight:"rgba(179, 162, 127, 0.5)",markerCurrentTime:"#fff",text:"#ffe0b3",background:"#38383b",toast:"#1f1f1f"},vue:{primary:"#258a5d",secondary:"#41B883",ternary:"#35495E",quartenary:"#2a3d51",hoverHighlight:"rgba(160, 219, 171, 0.5)",markerCurrentTime:"#000",text:"white",background:"white"}},qt={class:"g-gantt-rows-container"},Pt=U({__name:"GGanttChart",props:{chartStart:{},chartEnd:{},precision:{default:"day"},barStart:{},barEnd:{},currentTime:{type:Boolean},currentTimeLabel:{default:""},dateFormat:{type:[String,Boolean],default:Re},width:{default:"100%"},hideTimeaxis:{type:Boolean,default:!1},colorScheme:{default:"default"},grid:{type:Boolean,default:!1},pushOnOverlap:{type:Boolean,default:!1},noOverlap:{type:Boolean,default:!1},rowHeight:{default:40},highlightedUnits:{default:()=>[]},font:{default:"inherit"},labelColumnTitle:{default:""},labelColumnWidth:{default:"150px"}},emits:["click-bar","mousedown-bar","mouseup-bar","dblclick-bar","mouseenter-bar","mouseleave-bar","dragstart-bar","drag-bar","dragend-bar","contextmenu-bar"],setup(e,{emit:o}){const a=e,{width:i,font:f,colorScheme:s}=ne(a),l=rt(),r=W(()=>typeof s.value!="string"?s.value:$e[s.value]||$e.default),n=()=>{var h;const y=(h=l.default)==null?void 0:h.call(l),k=[];return y&&y.forEach(c=>{var w;if((w=c.props)!=null&&w.bars){const{label:v,bars:C}=c.props;k.push({label:v,bars:C})}else Array.isArray(c.children)&&c.children.forEach(v=>{var C;const M=v;if((C=M==null?void 0:M.props)!=null&&C.bars){const{label:T,bars:E}=M.props;k.push({label:T,bars:E})}})}),k},t=L(!1),u=L(!1),d=L(void 0);let g;const p=h=>{g&&clearTimeout(g),g=setTimeout(()=>{t.value=!0},800),d.value=h},x=()=>{clearTimeout(g),t.value=!1},m=(h,y,k,c)=>{switch(h.type){case"click":o("click-bar",{bar:y,e:h,datetime:k});break;case"mousedown":o("mousedown-bar",{bar:y,e:h,datetime:k});break;case"mouseup":o("mouseup-bar",{bar:y,e:h,datetime:k});break;case"dblclick":o("dblclick-bar",{bar:y,e:h,datetime:k});break;case"mouseenter":p(y),o("mouseenter-bar",{bar:y,e:h});break;case"mouseleave":x(),o("mouseleave-bar",{bar:y,e:h});break;case"dragstart":u.value=!0,o("dragstart-bar",{bar:y,e:h});break;case"drag":o("drag-bar",{bar:y,e:h});break;case"dragend":u.value=!1,o("dragend-bar",{bar:y,e:h,movedBars:c});break;case"contextmenu":o("contextmenu-bar",{bar:y,e:h,datetime:k});break}},b=L(null),D=jt(b);return ue(We,n),ue(ze,K(X({},ne(a)),{colors:r,chartSize:D})),ue(je,m),(h,y)=>(O(),Y("div",null,[$("div",{class:we([{"labels-in-column":!!h.labelColumnTitle}])},[h.labelColumnTitle?(O(),P(kt,{key:0,style:H({width:h.labelColumnWidth})},{"label-column-title":R(()=>[G(h.$slots,"label-column-title")]),"label-column-row":R(({label:k})=>[G(h.$slots,"label-column-row",{label:k})]),_:3},8,["style"])):F("",!0),$("div",{ref_key:"ganttChart",ref:b,class:we(["g-gantt-chart",{"with-column":h.labelColumnTitle}]),style:H({width:B(i),background:r.value.background,fontFamily:B(f)})},[h.hideTimeaxis?F("",!0):(O(),P(Mt,{key:0},{"upper-timeunit":R(({label:k,value:c,date:w})=>[G(h.$slots,"upper-timeunit",{label:k,value:c,date:w})]),timeunit:R(({label:k,value:c,date:w})=>[G(h.$slots,"timeunit",{label:k,value:c,date:w})]),_:3})),h.grid?(O(),P(wt,{key:1,"highlighted-units":h.highlightedUnits},null,8,["highlighted-units"])):F("",!0),h.currentTime?(O(),P(Et,{key:2},{"current-time-label":R(()=>[G(h.$slots,"current-time-label")]),_:3})):F("",!0),$("div",qt,[G(h.$slots,"default")])],6)],2),xe(Tt,{"model-value":t.value||u.value,bar:d.value},{default:R(()=>[G(h.$slots,"bar-tooltip",{bar:d.value})]),_:3},8,["model-value","bar"])]))}});function He(e,o=()=>null,a=()=>null,i=z()){const{barStart:f,barEnd:s,pushOnOverlap:l}=i,r=L(!1);let n=0,t;const{mapPositionToTime:u}=fe(i),{toDayjs:d}=oe(i),g=y=>{const k=document.getElementById(e.ganttBarConfig.id);if(k){switch(n=y.clientX-(k.getBoundingClientRect().left||0),y.target.className){case"g-gantt-bar-handle-left":document.body.style.cursor="ew-resize",t=m;break;case"g-gantt-bar-handle-right":document.body.style.cursor="ew-resize",t=b;break;default:t=x}r.value=!0,window.addEventListener("mousemove",t),window.addEventListener("mouseup",h)}},p=()=>{var y;const k=document.getElementById(e.ganttBarConfig.id),c=(y=k==null?void 0:k.closest(".g-gantt-row-bars-container"))==null?void 0:y.getBoundingClientRect();return{barElement:k,barContainer:c}},x=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=k.getBoundingClientRect().width,v=y.clientX-c.left-n,C=v+w;D(v,C)||(e[f.value]=u(v),e[s.value]=u(C),o(y,e))},m=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=y.clientX-c.left,v=u(w);d(v).isSameOrAfter(d(e,"end"))||(e[f.value]=v,o(y,e))},b=y=>{const{barElement:k,barContainer:c}=p();if(!k||!c)return;const w=y.clientX-c.left,v=u(w);d(v).isSameOrBefore(d(e,"start"))||(e[s.value]=v,o(y,e))},D=(y,k)=>{if(!l.value)return!1;const c=e.ganttBarConfig.dragLimitLeft,w=e.ganttBarConfig.dragLimitRight;return y&&c!=null&&yw},h=y=>{r.value=!1,document.body.style.cursor="",window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",h),a(y,e)};return{isDragging:r,initDrag:g}}function qe(){const e=de(je);if(!e)throw Error("Failed to inject emitBarEvent!");return e}function Qt(){const e=z(),o=ke(),a=qe(),{pushOnOverlap:i,barStart:f,barEnd:s,noOverlap:l,dateFormat:r}=e,n=new Map,{toDayjs:t,format:u}=oe(),d=(c,w)=>{const{initDrag:v}=He(c,p,h,e);a(K(X({},w),{type:"dragstart"}),c),v(w),y(c)},g=(c,w)=>{const v=c.ganttBarConfig.bundle;v!=null&&(o().forEach(C=>{C.bars.forEach(M=>{if(M.ganttBarConfig.bundle===v){const T=M===c?h:()=>null,{initDrag:E}=He(M,p,T,e);E(w),y(M)}})}),a(K(X({},w),{type:"dragstart"}),c))},p=(c,w)=>{a(K(X({},c),{type:"drag"}),w),x(w)},x=c=>{if(!(i!=null&&i.value))return;let w=c,{overlapBar:v,overlapType:C}=m(w);for(;v;){y(v);const M=t(w[f.value]),T=t(w[s.value]),E=t(v[f.value]),S=t(v[s.value]);let _;switch(C){case"left":_=S.diff(M,"minutes",!0),v[s.value]=u(w[f.value],r.value),v[f.value]=u(E.subtract(_,"minutes"),r.value);break;case"right":_=T.diff(E,"minutes",!0),v[f.value]=u(T,r.value),v[s.value]=u(S.add(_,"minutes"),r.value);break;default:console.warn("Vue-Ganttastic: One bar is inside of the other one! This should never occur while push-on-overlap is active!");return}v&&(C==="left"||C==="right")&&b(v,_,C),w=v,{overlapBar:v,overlapType:C}=m(v)}},m=c=>{var w,v;let C,M,T;const E=(v=(w=o().find(I=>I.bars.includes(c)))==null?void 0:w.bars)!=null?v:[],S=t(c[f.value]),_=t(c[s.value]);return{overlapBar:E.find(I=>{if(I===c)return!1;const j=t(I[f.value]),q=t(I[s.value]);return C=S.isBetween(j,q),M=_.isBetween(j,q),T=j.isBetween(S,_)||q.isBetween(S,_),C||M||T}),overlapType:C?"left":M?"right":T?"between":null}},b=(c,w,v)=>{y(c),c.ganttBarConfig.bundle&&o().forEach(C=>{C.bars.forEach(M=>{M.ganttBarConfig.bundle===c.ganttBarConfig.bundle&&M!==c&&(y(M),D(M,w,v))})})},D=(c,w,v)=>{switch(v){case"left":c[f.value]=u(t(c,"start").subtract(w,"minutes"),r.value),c[s.value]=u(t(c,"end").subtract(w,"minutes"),r.value);break;case"right":c[f.value]=u(t(c,"start").add(w,"minutes"),r.value),c[s.value]=u(t(c,"end").add(w,"minutes"),r.value)}x(c)},h=(c,w)=>{k();const v=K(X({},c),{type:"dragend"});a(v,w,void 0,new Map(n)),n.clear()},y=c=>{if(!n.has(c)){const w=c[f.value],v=c[s.value];n.set(c,{oldStart:w,oldEnd:v})}},k=()=>{if(i.value||!l.value)return;let c=!1;n.forEach((w,v)=>{const{overlapBar:C}=m(v);C!=null&&(c=!0)}),c&&n.forEach(({oldStart:w,oldEnd:v},C)=>{C[f.value]=w,C[s.value]=v})};return{initDragOfBar:d,initDragOfBundle:g}}function Vt(){const{pushOnOverlap:e}=z(),o=ke(),a=l=>{const r=[];return l!=null&&o().forEach(n=>{n.bars.forEach(t=>{t.ganttBarConfig.bundle===l&&r.push(t)})}),r},i=l=>{if(!(!e.value||l.ganttBarConfig.pushOnOverlap===!1)){for(const r of["left","right"]){const n=r,{gapDistanceSoFar:t,bundleBarsAndGapDist:u}=f(l,0,n);let d=t;const g=u;if(!g)continue;for(let x=0;xD!==m).forEach(D=>{const h=f(D,b,n),y=h.gapDistanceSoFar,k=h.bundleBarsAndGapDist;y!=null&&(!d||y{g.find(w=>w.bar===c.bar)||g.push(c)})})}const p=document.getElementById(l.ganttBarConfig.id);d!=null&&n==="left"?l.ganttBarConfig.dragLimitLeft=p.offsetLeft-d:d!=null&&n==="right"&&(l.ganttBarConfig.dragLimitRight=p.offsetLeft+p.offsetWidth+d)}a(l.ganttBarConfig.bundle).forEach(r=>{r.ganttBarConfig.dragLimitLeft=l.ganttBarConfig.dragLimitLeft,r.ganttBarConfig.dragLimitRight=l.ganttBarConfig.dragLimitRight})}},f=(l,r=0,n)=>{const t=l.ganttBarConfig.bundle?[{bar:l,gapDistance:r}]:[];let u=l,d=s(u,n);if(n==="left")for(;d;){const g=document.getElementById(u.ganttBarConfig.id),p=document.getElementById(d.ganttBarConfig.id),x=p.offsetLeft+p.offsetWidth;if(r+=g.offsetLeft-x,d.ganttBarConfig.immobile)return{gapDistanceSoFar:r,bundleBarsAndGapDist:t};d.ganttBarConfig.bundle&&t.push({bar:d,gapDistance:r}),u=d,d=s(d,"left")}if(n==="right")for(;d;){const g=document.getElementById(u.ganttBarConfig.id),p=document.getElementById(d.ganttBarConfig.id),x=g.offsetLeft+g.offsetWidth;if(r+=p.offsetLeft-x,d.ganttBarConfig.immobile)return{gapDistanceSoFar:r,bundleBarsAndGapDist:t};d.ganttBarConfig.bundle&&t.push({bar:d,gapDistance:r}),u=d,d=s(d,"right")}return{gapDistanceSoFar:null,bundleBarsAndGapDist:t}},s=(l,r)=>{var n,t;const u=document.getElementById(l.ganttBarConfig.id),d=(t=(n=o().find(p=>p.bars.includes(l)))==null?void 0:n.bars)!=null?t:[];let g=[];return r==="left"?g=d.filter(p=>{const x=document.getElementById(p.ganttBarConfig.id);return x&&x.offsetLeft{const x=document.getElementById(p.ganttBarConfig.id);return x&&x.offsetLeft>u.offsetLeft&&p.ganttBarConfig.pushOnOverlap!==!1}),g.length>0?g.reduce((p,x)=>{const m=document.getElementById(p.ganttBarConfig.id),b=document.getElementById(x.ganttBarConfig.id),D=Math.abs(m.offsetLeft-u.offsetLeft),h=Math.abs(b.offsetLeft-u.offsetLeft);return Ds.value.ganttBarConfig);function p(M){g.value.bundle!=null?t(s.value,M):n(s.value,M),d.value=!0}const x=()=>{u(s.value),!g.value.immobile&&(window.addEventListener("mousemove",p,{once:!0}),window.addEventListener("mouseup",()=>{window.removeEventListener("mousemove",p),d.value=!1},{once:!0}))},m=de(Ae),b=M=>{var T;M.preventDefault(),M.type==="mousedown"&&x();const E=(T=m==null?void 0:m.value)==null?void 0:T.getBoundingClientRect();if(!E)return;const S=r(M.clientX-E.left);a(M,s.value,S)},{barStart:D,barEnd:h,width:y,chartStart:k,chartEnd:c,chartSize:w}=i,v=L(0),C=L(0);return Ie(()=>{ce([s,y,k,c,w.width],()=>{v.value=l(s.value[D.value]),C.value=l(s.value[h.value])},{deep:!0,immediate:!0})}),(M,T)=>(O(),Y("div",{id:g.value.id,class:we(["g-gantt-bar",g.value.class||""]),style:H(K(X({},g.value.style),{position:"absolute",top:`${B(f)*.1}px`,left:`${v.value}px`,width:`${C.value-v.value}px`,height:`${B(f)*.8}px`,zIndex:d.value?3:2})),onMousedown:b,onClick:b,onDblclick:b,onMouseenter:b,onMouseleave:b,onContextmenu:b},[$("div",Kt,[G(M.$slots,"default",{bar:B(s)},()=>[$("div",null,N(g.value.label||""),1),g.value.html?(O(),Y("div",{key:0,innerHTML:g.value.html},null,8,Zt)):F("",!0)])]),g.value.hasHandles?(O(),Y(Z,{key:0},[Jt,ea],64)):F("",!0)],46,Xt))}}),aa=U({__name:"GGanttRow",props:{label:{},bars:{},highlightOnHover:{type:Boolean}},emits:["drop"],setup(e,{emit:o}){const a=e,{rowHeight:i,colors:f,labelColumnTitle:s}=z(),{highlightOnHover:l}=ne(a),r=L(!1),n=W(()=>({height:`${i.value}px`,background:l!=null&&l.value&&r.value?f.value.hoverHighlight:null})),{mapPositionToTime:t}=fe(),u=L(null);ue(Ae,u);const d=p=>{var x;const m=(x=u.value)==null?void 0:x.getBoundingClientRect();if(!m){console.error("Vue-Ganttastic: failed to find bar container element for row.");return}const b=p.clientX-m.left,D=t(b);o("drop",{e:p,datetime:D})},g=p=>!p||/^\s*$/.test(p);return(p,x)=>(O(),Y("div",{class:"g-gantt-row",style:H(n.value),onDragover:x[0]||(x[0]=ot(m=>r.value=!0,["prevent"])),onDragleave:x[1]||(x[1]=m=>r.value=!1),onDrop:x[2]||(x[2]=m=>d(m)),onMouseover:x[3]||(x[3]=m=>r.value=!0),onMouseleave:x[4]||(x[4]=m=>r.value=!1)},[!g(p.label)&&!B(s)?(O(),Y("div",{key:0,class:"g-gantt-row-label",style:H({background:B(f).primary,color:B(f).text})},[G(p.$slots,"label",{},()=>[ie(N(p.label),1)])],4)):F("",!0),$("div",it({ref_key:"barContainer",ref:u,class:"g-gantt-row-bars-container"},p.$attrs),[xe(nt,{name:"bar-transition",tag:"div"},{default:R(()=>[(O(!0),Y(Z,null,ae(p.bars,m=>(O(),P(ta,{key:m.ganttBarConfig.id,bar:m},{default:R(()=>[G(p.$slots,"bar-label",{bar:m})]),_:2},1032,["bar"]))),128))]),_:3})],16)],36))}});function Q(e,o="top"){if(!e||typeof document>"u")return;const a=document.head,i=document.createElement("style");o==="top"&&a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i),i.appendChild(document.createTextNode(e))}Q(` .g-gantt-chart { position: relative; display: flex; diff --git a/static/js/index-B-6lN4AZ.js b/static/js/index-B-6lN4AZ.js deleted file mode 100644 index a9e98bf96d..0000000000 --- a/static/js/index-B-6lN4AZ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CZos11Ig.js";import"./columns-CivT3P5a.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-7dCevZAN.js b/static/js/index-B2w5IFmw.js similarity index 99% rename from static/js/index-7dCevZAN.js rename to static/js/index-B2w5IFmw.js index ebe7c16dc3..bfe26b2dea 100644 --- a/static/js/index-7dCevZAN.js +++ b/static/js/index-B2w5IFmw.js @@ -1 +1 @@ -var Ae=Object.defineProperty,Le=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var te=t=>{throw TypeError(t)};var U=(t,e,s)=>e in t?Ae(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,M=(t,e)=>{for(var s in e||(e={}))De.call(e,s)&&U(t,s,e[s]);if(ee)for(var s of ee(e))qe.call(e,s)&&U(t,s,e[s]);return t},se=(t,e)=>Le(t,ve(e));var y=(t,e,s)=>U(t,typeof e!="symbol"?e+"":e,s),ie=(t,e,s)=>e.has(t)||te("Cannot "+s);var c=(t,e,s)=>(ie(t,e,"read from private field"),s?s.call(t):e.get(t)),V=(t,e,s)=>e.has(t)?te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var o=(t,e,s)=>(ie(t,e,"access private method"),s);var p=(t,e,s)=>new Promise((r,n)=>{var u=h=>{try{l(s.next(h))}catch(f){n(f)}},a=h=>{try{l(s.throw(h))}catch(f){n(f)}},l=h=>h.done?r(h.value):Promise.resolve(h.value).then(u,a);l((s=s.apply(t,e)).next())});import{d as ke,a as xe,m as Me,i as re}from"./index-AFhnwzwZ.js";const de=t=>Array.isArray(t),ce=t=>de(t)?t:[t];let Re=function(t){let e=function(d){return ce(d).forEach(b=>{var x;return m.set(Symbol((x=b.char)==null?void 0:x.innerText),n(M({},b)))}),this},s=()=>h().filter(d=>d.typeable),r=function(d,b){let x=[...m.keys()];m.set(x[d],n(b))},n=d=>(d.shouldPauseCursor=function(){return!!(this.typeable||this.cursorable||this.deletable)},d),u=function(){m.forEach(d=>delete d.done)},a=function(){m=new Map,e(t)},l=()=>m,h=()=>Array.from(m.values()),f=d=>m.delete(d),q=(d=!1)=>d?h():h().filter(b=>!b.done),k=(d,b=!1)=>b?m.delete(d):m.get(d).done=!0,m=new Map;return e(t),{add:e,set:r,wipe:a,done:k,reset:u,destroy:f,getItems:q,getQueue:l,getTypeable:s}};const fe="data-typeit-id",P="ti-cursor",$e="END",Fe={started:!1,completed:!1,frozen:!1,destroyed:!1},C={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map(t=>({opacity:t})),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},He=`[${fe}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`,$=t=>document.createElement(t),K=t=>document.createTextNode(t),pe=(t,e="")=>{let s=$("style");s.id=e,s.appendChild(K(t)),document.head.appendChild(s)},ne=t=>(de(t)||(t=[t/2,t/2]),t),oe=(t,e)=>Math.abs(Math.random()*(t+e-(t-e))+(t-e));let ue=t=>t/2;function Qe(t){let{speed:e,deleteSpeed:s,lifeLike:r}=t;return s=s!==null?s:e/3,r?[oe(e,ue(e)),oe(s,ue(s))]:[e,s]}const me=t=>Array.from(t);let Y=t=>([...t.childNodes].forEach(e=>{if(e.nodeValue){[...e.nodeValue].forEach(s=>{e.parentNode.insertBefore(K(s),e)}),e.remove();return}Y(e)}),t);const ye=t=>{let e=document.implementation.createHTMLDocument();return e.body.innerHTML=t,Y(e.body)};function be(t,e=!1,s=!1){let r=t.querySelector(`.${P}`),n=document.createTreeWalker(t,NodeFilter.SHOW_ALL,{acceptNode:l=>{var h,f;if(r&&s){if((h=l.classList)!=null&&h.contains(P))return NodeFilter.FILTER_ACCEPT;if(r.contains(l))return NodeFilter.FILTER_REJECT}return(f=l.classList)!=null&&f.contains(P)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),u,a=[];for(;u=n.nextNode();)u.originalParent||(u.originalParent=u.parentNode),a.push(u);return e?a.reverse():a}function Be(t){return be(ye(t))}function _e(t,e=!0){return e?Be(t):me(t).map(K)}const ze=({index:t,newIndex:e,queueItems:s,cleanUp:r})=>{for(let n=t+1;nNumber.isInteger(t),ae=({queueItems:t,selector:e,cursorPosition:s,to:r})=>{if(ge(e))return e*-1;let n=new RegExp($e,"i").test(r),u=e?[...t].reverse().findIndex(({char:l})=>{let h=l.parentElement,f=h.matches(e);return n&&f?!0:f&&h.firstChild.isSameNode(l)}):-1;u<0&&(u=n?0:t.length-1);let a=n?0:1;return u-s+a},Ue=t=>(t.forEach(clearTimeout),[]),R=(t,e)=>new Array(e).fill(t);let B=t=>new Promise(e=>{requestAnimationFrame(()=>p(void 0,null,function*(){e(yield t())}))}),Te=t=>t==null?void 0:t.getAnimations().find(e=>e.id===t.dataset.tiAnimationId),we=({cursor:t,frames:e,options:s})=>{let r=t.animate(e,s);return r.pause(),r.id=t.dataset.tiAnimationId,B(()=>{B(()=>{r.play()})}),r},Ve=({cursor:t,options:e,cursorOptions:s})=>{if(!t||!s)return;let r=Te(t),n;r&&(e.delay=r.effect.getComputedTiming().delay,n=r.currentTime,r.cancel());let u=we({cursor:t,frames:s.animation.frames,options:e});return n&&(u.currentTime=n),u},le=t=>{var e;return(e=t.func)==null?void 0:e.call(null)},je=u=>p(void 0,[u],function*({index:t,queueItems:e,wait:s,cursor:r,cursorOptions:n}){let a=e[t][1],l=[],h=t,f=a,q=()=>f&&!f.delay,k=a.shouldPauseCursor()&&n.autoPause;for(;q();)l.push(f),q()&&h++,f=e[h]?e[h][1]:null;if(l.length)return yield B(()=>p(void 0,null,function*(){for(let b of l)yield le(b)})),h-1;let m=Te(r),d;return m&&(d=se(M({},m.effect.getComputedTiming()),{delay:k?n.autoPauseDelay:0})),yield s(()=>p(void 0,null,function*(){m&&k&&m.cancel(),yield B(()=>{le(a)})}),a.delay),yield Ve({cursor:r,options:d,cursorOptions:n}),t});const Oe=(t,e)=>{new IntersectionObserver((r,n)=>{r.forEach(u=>{u.isIntersecting&&(e(),n.unobserve(t))})},{threshold:1}).observe(t)},We=()=>Math.random().toString().substring(2,9),_=t=>"value"in t;let Je=t=>_(t)?me(t.value):be(t,!0).filter(e=>!(e.childNodes.length>0)),S=t=>typeof t=="function"?t():t,Z=(t,e=document,s=!1)=>e[`querySelector${s?"All":""}`](t),Xe=t=>/body/i.test(t==null?void 0:t.tagName),Ge=(t,e)=>{if(_(t)){t.value=`${t.value}${e.textContent}`;return}e.innerHTML="";let s=Xe(e.originalParent)?t:e.originalParent||t;s.insertBefore(e,Z("."+P,s)||null)};const Ke=t=>/<(.+)>(.*?)<\/(.+)>/.test(t.outerHTML),E=(t,e)=>Object.assign({},t,e);let Ye=t=>{var e,s,r;if(typeof t=="object"){let n={},{frames:u,options:a}=C.cursor.animation;return n.animation=t.animation||{},n.animation.frames=((e=t.animation)==null?void 0:e.frames)||u,n.animation.options=E(a,((s=t.animation)==null?void 0:s.options)||{}),n.autoPause=(r=t.autoPause)!=null?r:C.cursor.autoPause,n.autoPauseDelay=t.autoPauseDelay||C.cursor.autoPauseDelay,n}return t===!0?C.cursor:t};const Ze=(t,e)=>{if(!t)return;let s=t.parentNode;(s.childNodes.length>1||s.isSameNode(e)?t:s).remove()},et=(t,e,s)=>{let r=e[s-1],n=Z(`.${P}`,t);t=(r==null?void 0:r.parentNode)||t,t.insertBefore(n,r||null)};function tt(t){return typeof t=="string"?Z(t):t}let st={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"},it=(t,e)=>{let r=`${`[${fe}='${t}']`} .${P}`,n=getComputedStyle(e),u=Object.entries(st).reduce((a,[l,h])=>`${a} ${l}: var(--ti-cursor-${l}, ${h||n[l]});`,"");pe(`${r} { display: inline-block; width: 0; ${u} }`,t)};function rt(t){return t.replace(//g,"").trim().split(//)}let nt=(t,e,s)=>Math.min(Math.max(e+t,0),s.length),ot=(t,e,s)=>new Promise(r=>{let n=()=>p(void 0,null,function*(){yield t(),r()});s.push(setTimeout(n,e||0))});var i,Pe,I,j,Se,O,W,J,F,g,Ce,N,A,Ee,z,Ie,Ne,X,H,L,Q,w,v,D,G,T,he;let ut=(he=class{constructor(e,s={}){V(this,i);y(this,"element");y(this,"timeouts");y(this,"cursorPosition");y(this,"predictedCursorPosition");y(this,"statuses",{started:!1,completed:!1,frozen:!1,destroyed:!1});y(this,"opts");y(this,"id");y(this,"queue");y(this,"cursor");y(this,"unfreeze",()=>{});y(this,"is",function(e){return this.statuses[e]});V(this,z,e=>{var s;this.opts.cursor=Ye((s=e.cursor)!=null?s:C.cursor),this.opts.strings=o(this,i,Ie).call(this,ce(this.opts.strings)),this.opts=E(this.opts,{html:!c(this,i,D)&&this.opts.html,nextStringDelay:ne(this.opts.nextStringDelay),loopDelay:ne(this.opts.loopDelay)})});this.opts=E(C,s),this.element=tt(e),this.timeouts=[],this.cursorPosition=0,this.unfreeze=()=>{},this.predictedCursorPosition=null,this.statuses=E({},Fe),this.id=We(),this.queue=Re([{delay:this.opts.startDelay}]),c(this,z).call(this,s),this.cursor=o(this,i,Ne).call(this),this.element.dataset.typeitId=this.id,pe(He),this.opts.strings.length&&o(this,i,Ee).call(this)}go(){return this.statuses.started?this:(o(this,i,J).call(this),this.opts.waitUntilVisible?(Oe(this.element,o(this,i,I).bind(this)),this):(o(this,i,I).call(this),this))}destroy(e=!0){this.timeouts=Ue(this.timeouts),S(e)&&this.cursor&&o(this,i,Q).call(this,this.cursor),this.statuses.destroyed=!0}reset(e){!this.is("destroyed")&&this.destroy(),e?(this.queue.wipe(),e(this)):this.queue.reset(),this.cursorPosition=0;for(let s in this.statuses)this.statuses[s]=!1;return this.element[o(this,i,F).call(this)?"value":"innerHTML"]="",this}type(e,s={}){e=S(e);let{instant:r}=s,n=o(this,i,N).call(this,s),a=_e(e,this.opts.html).map(h=>({func:()=>o(this,i,H).call(this,h),char:h,delay:r||Ke(h)?0:o(this,i,w).call(this),typeable:h.nodeType===Node.TEXT_NODE})),l=[n[0],{func:()=>p(this,null,function*(){return yield this.opts.beforeString(e,this)})},...a,{func:()=>p(this,null,function*(){return yield this.opts.afterString(e,this)})},n[1]];return o(this,i,g).call(this,l,s)}break(e={}){return o(this,i,g).call(this,{func:()=>o(this,i,H).call(this,$("BR")),typeable:!0},e)}move(e,s={}){e=S(e);let r=o(this,i,N).call(this,s),{instant:n,to:u}=s,a=ae({queueItems:this.queue.getTypeable(),selector:e===null?"":e,to:u,cursorPosition:c(this,i,v)}),l=a<0?-1:1;return this.predictedCursorPosition=c(this,i,v)+a,o(this,i,g).call(this,[r[0],...R({func:()=>o(this,i,j).call(this,l),delay:n?0:o(this,i,w).call(this),cursorable:!0},Math.abs(a)),r[1]],s)}exec(e,s={}){let r=o(this,i,N).call(this,s);return o(this,i,g).call(this,[r[0],{func:()=>e(this)},r[1]],s)}options(e,s={}){return e=S(e),o(this,i,A).call(this,e),o(this,i,g).call(this,{},s)}pause(e,s={}){return o(this,i,g).call(this,{delay:S(e)},s)}delete(e=null,s={}){e=S(e);let r=o(this,i,N).call(this,s),n=e,{instant:u,to:a}=s,l=this.queue.getTypeable(),h=n===null?l.length:ge(n)?n:ae({queueItems:l,selector:n,cursorPosition:c(this,i,v),to:a});return o(this,i,g).call(this,[r[0],...R({func:o(this,i,L).bind(this),delay:u?0:o(this,i,w).call(this,1),deletable:!0},h),r[1]],s)}freeze(){this.statuses.frozen=!0}flush(e=()=>{}){return o(this,i,J).call(this),o(this,i,I).call(this,!1).then(e),this}getQueue(){return this.queue}getOptions(){return this.opts}updateOptions(e){return o(this,i,A).call(this,e)}getElement(){return this.element}empty(e={}){return o(this,i,g).call(this,{func:o(this,i,Pe).bind(this)},e)}},i=new WeakSet,Pe=function(){return p(this,null,function*(){if(o(this,i,F).call(this)){this.element.value="";return}c(this,i,T).forEach(o(this,i,Q).bind(this))})},I=function(e=!0){return p(this,null,function*(){this.statuses.started=!0;let s=r=>{this.queue.done(r,!e)};try{let r=[...this.queue.getQueue()];for(let u=0;up(this,null,function*(){yield o(this,i,Se).call(this,n[0]),o(this,i,I).call(this)}),n[1])}catch(r){}return this})},j=function(e){return p(this,null,function*(){this.cursorPosition=nt(e,this.cursorPosition,c(this,i,T)),et(this.element,c(this,i,T),this.cursorPosition)})},Se=function(e){return p(this,null,function*(){let s=c(this,i,v);s&&(yield o(this,i,j).call(this,{value:s}));let r=c(this,i,T).map(n=>[Symbol(),{func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1),deletable:!0,shouldPauseCursor:()=>!0}]);for(let n=0;n{this.unfreeze=()=>{this.statuses.frozen=!1,n()}})),r||(yield this.opts.beforeStep(this)),yield ot(e,s,this.timeouts),r||(yield this.opts.afterStep(this))})},J=function(){return p(this,null,function*(){if(!o(this,i,F).call(this)&&this.cursor&&this.element.appendChild(this.cursor),c(this,i,G)){it(this.id,this.element),this.cursor.dataset.tiAnimationId=this.id;let{animation:e}=this.opts.cursor,{frames:s,options:r}=e;we({frames:s,cursor:this.cursor,options:M({duration:this.opts.cursorSpeed},r)})}})},F=function(){return _(this.element)},g=function(e,s){return this.queue.add(e),o(this,i,Ce).call(this,s),this},Ce=function(e={}){let s=e.delay;s&&this.queue.add({delay:s})},N=function(e={}){return[{func:()=>o(this,i,A).call(this,e)},{func:()=>o(this,i,A).call(this,this.opts)}]},A=function(e){return p(this,null,function*(){this.opts=E(this.opts,e)})},Ee=function(){let e=this.opts.strings.filter(s=>!!s);e.forEach((s,r)=>{if(this.type(s),r+1===e.length)return;let n=this.opts.breakLines?[{func:()=>o(this,i,H).call(this,$("BR")),typeable:!0}]:R({func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1)},this.queue.getTypeable().length);o(this,i,X).call(this,n)})},z=new WeakMap,Ie=function(e){let s=this.element.innerHTML;return s?(this.element.innerHTML="",this.opts.startDelete?(this.element.innerHTML=s,Y(this.element),o(this,i,X).call(this,R({func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1),deletable:!0},c(this,i,T).length)),e):rt(s).concat(e)):e},Ne=function(){if(c(this,i,D))return null;let e=$("span");return e.className=P,c(this,i,G)?(e.innerHTML=ye(this.opts.cursorChar).innerHTML,e):(e.style.visibility="hidden",e)},X=function(e){let s=this.opts.nextStringDelay;this.queue.add([{delay:s[0]},...e,{delay:s[1]}])},H=function(e){Ge(this.element,e)},L=function(){c(this,i,T).length&&(c(this,i,D)?this.element.value=this.element.value.slice(0,-1):o(this,i,Q).call(this,c(this,i,T)[this.cursorPosition]))},Q=function(e){Ze(e,this.element)},w=function(e=0){return Qe(this.opts)[e]},v=function(){var e;return(e=this.predictedCursorPosition)!=null?e:this.cursorPosition},D=function(){return _(this.element)},G=function(){return!!this.opts.cursor&&!c(this,i,D)},T=function(){return Je(this.element)},he);const at=ke({name:"TypeIt",props:{options:{type:Object,default:()=>({})}},setup(t,{slots:e,expose:s}){function r(a){throw new TypeError(a)}function n(){return navigator.language}const u=xe(null);return Me(()=>{const a=u.value.querySelector(".type-it");if(!a){const h=n()==="zh-CN"?"请确保有且只有一个具有class属性为 'type-it' 的元素":"Please make sure that there is only one element with a Class attribute with 'type-it'";r(h)}const l=new ut(a,t.options).go();s({typeIt:l})}),()=>{var a,l;return re("div",{ref:u},[(l=(a=e.default)==null?void 0:a.call(e))!=null?l:re("span",{class:"type-it"},null)])}}}),ct=at;export{ct as T}; +var Ae=Object.defineProperty,Le=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var te=t=>{throw TypeError(t)};var U=(t,e,s)=>e in t?Ae(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,M=(t,e)=>{for(var s in e||(e={}))De.call(e,s)&&U(t,s,e[s]);if(ee)for(var s of ee(e))qe.call(e,s)&&U(t,s,e[s]);return t},se=(t,e)=>Le(t,ve(e));var y=(t,e,s)=>U(t,typeof e!="symbol"?e+"":e,s),ie=(t,e,s)=>e.has(t)||te("Cannot "+s);var c=(t,e,s)=>(ie(t,e,"read from private field"),s?s.call(t):e.get(t)),V=(t,e,s)=>e.has(t)?te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var o=(t,e,s)=>(ie(t,e,"access private method"),s);var p=(t,e,s)=>new Promise((r,n)=>{var u=h=>{try{l(s.next(h))}catch(f){n(f)}},a=h=>{try{l(s.throw(h))}catch(f){n(f)}},l=h=>h.done?r(h.value):Promise.resolve(h.value).then(u,a);l((s=s.apply(t,e)).next())});import{d as ke,a as xe,m as Me,i as re}from"./index-DqH6biyS.js";const de=t=>Array.isArray(t),ce=t=>de(t)?t:[t];let Re=function(t){let e=function(d){return ce(d).forEach(b=>{var x;return m.set(Symbol((x=b.char)==null?void 0:x.innerText),n(M({},b)))}),this},s=()=>h().filter(d=>d.typeable),r=function(d,b){let x=[...m.keys()];m.set(x[d],n(b))},n=d=>(d.shouldPauseCursor=function(){return!!(this.typeable||this.cursorable||this.deletable)},d),u=function(){m.forEach(d=>delete d.done)},a=function(){m=new Map,e(t)},l=()=>m,h=()=>Array.from(m.values()),f=d=>m.delete(d),q=(d=!1)=>d?h():h().filter(b=>!b.done),k=(d,b=!1)=>b?m.delete(d):m.get(d).done=!0,m=new Map;return e(t),{add:e,set:r,wipe:a,done:k,reset:u,destroy:f,getItems:q,getQueue:l,getTypeable:s}};const fe="data-typeit-id",P="ti-cursor",$e="END",Fe={started:!1,completed:!1,frozen:!1,destroyed:!1},C={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map(t=>({opacity:t})),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},He=`[${fe}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`,$=t=>document.createElement(t),K=t=>document.createTextNode(t),pe=(t,e="")=>{let s=$("style");s.id=e,s.appendChild(K(t)),document.head.appendChild(s)},ne=t=>(de(t)||(t=[t/2,t/2]),t),oe=(t,e)=>Math.abs(Math.random()*(t+e-(t-e))+(t-e));let ue=t=>t/2;function Qe(t){let{speed:e,deleteSpeed:s,lifeLike:r}=t;return s=s!==null?s:e/3,r?[oe(e,ue(e)),oe(s,ue(s))]:[e,s]}const me=t=>Array.from(t);let Y=t=>([...t.childNodes].forEach(e=>{if(e.nodeValue){[...e.nodeValue].forEach(s=>{e.parentNode.insertBefore(K(s),e)}),e.remove();return}Y(e)}),t);const ye=t=>{let e=document.implementation.createHTMLDocument();return e.body.innerHTML=t,Y(e.body)};function be(t,e=!1,s=!1){let r=t.querySelector(`.${P}`),n=document.createTreeWalker(t,NodeFilter.SHOW_ALL,{acceptNode:l=>{var h,f;if(r&&s){if((h=l.classList)!=null&&h.contains(P))return NodeFilter.FILTER_ACCEPT;if(r.contains(l))return NodeFilter.FILTER_REJECT}return(f=l.classList)!=null&&f.contains(P)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),u,a=[];for(;u=n.nextNode();)u.originalParent||(u.originalParent=u.parentNode),a.push(u);return e?a.reverse():a}function Be(t){return be(ye(t))}function _e(t,e=!0){return e?Be(t):me(t).map(K)}const ze=({index:t,newIndex:e,queueItems:s,cleanUp:r})=>{for(let n=t+1;nNumber.isInteger(t),ae=({queueItems:t,selector:e,cursorPosition:s,to:r})=>{if(ge(e))return e*-1;let n=new RegExp($e,"i").test(r),u=e?[...t].reverse().findIndex(({char:l})=>{let h=l.parentElement,f=h.matches(e);return n&&f?!0:f&&h.firstChild.isSameNode(l)}):-1;u<0&&(u=n?0:t.length-1);let a=n?0:1;return u-s+a},Ue=t=>(t.forEach(clearTimeout),[]),R=(t,e)=>new Array(e).fill(t);let B=t=>new Promise(e=>{requestAnimationFrame(()=>p(void 0,null,function*(){e(yield t())}))}),Te=t=>t==null?void 0:t.getAnimations().find(e=>e.id===t.dataset.tiAnimationId),we=({cursor:t,frames:e,options:s})=>{let r=t.animate(e,s);return r.pause(),r.id=t.dataset.tiAnimationId,B(()=>{B(()=>{r.play()})}),r},Ve=({cursor:t,options:e,cursorOptions:s})=>{if(!t||!s)return;let r=Te(t),n;r&&(e.delay=r.effect.getComputedTiming().delay,n=r.currentTime,r.cancel());let u=we({cursor:t,frames:s.animation.frames,options:e});return n&&(u.currentTime=n),u},le=t=>{var e;return(e=t.func)==null?void 0:e.call(null)},je=u=>p(void 0,[u],function*({index:t,queueItems:e,wait:s,cursor:r,cursorOptions:n}){let a=e[t][1],l=[],h=t,f=a,q=()=>f&&!f.delay,k=a.shouldPauseCursor()&&n.autoPause;for(;q();)l.push(f),q()&&h++,f=e[h]?e[h][1]:null;if(l.length)return yield B(()=>p(void 0,null,function*(){for(let b of l)yield le(b)})),h-1;let m=Te(r),d;return m&&(d=se(M({},m.effect.getComputedTiming()),{delay:k?n.autoPauseDelay:0})),yield s(()=>p(void 0,null,function*(){m&&k&&m.cancel(),yield B(()=>{le(a)})}),a.delay),yield Ve({cursor:r,options:d,cursorOptions:n}),t});const Oe=(t,e)=>{new IntersectionObserver((r,n)=>{r.forEach(u=>{u.isIntersecting&&(e(),n.unobserve(t))})},{threshold:1}).observe(t)},We=()=>Math.random().toString().substring(2,9),_=t=>"value"in t;let Je=t=>_(t)?me(t.value):be(t,!0).filter(e=>!(e.childNodes.length>0)),S=t=>typeof t=="function"?t():t,Z=(t,e=document,s=!1)=>e[`querySelector${s?"All":""}`](t),Xe=t=>/body/i.test(t==null?void 0:t.tagName),Ge=(t,e)=>{if(_(t)){t.value=`${t.value}${e.textContent}`;return}e.innerHTML="";let s=Xe(e.originalParent)?t:e.originalParent||t;s.insertBefore(e,Z("."+P,s)||null)};const Ke=t=>/<(.+)>(.*?)<\/(.+)>/.test(t.outerHTML),E=(t,e)=>Object.assign({},t,e);let Ye=t=>{var e,s,r;if(typeof t=="object"){let n={},{frames:u,options:a}=C.cursor.animation;return n.animation=t.animation||{},n.animation.frames=((e=t.animation)==null?void 0:e.frames)||u,n.animation.options=E(a,((s=t.animation)==null?void 0:s.options)||{}),n.autoPause=(r=t.autoPause)!=null?r:C.cursor.autoPause,n.autoPauseDelay=t.autoPauseDelay||C.cursor.autoPauseDelay,n}return t===!0?C.cursor:t};const Ze=(t,e)=>{if(!t)return;let s=t.parentNode;(s.childNodes.length>1||s.isSameNode(e)?t:s).remove()},et=(t,e,s)=>{let r=e[s-1],n=Z(`.${P}`,t);t=(r==null?void 0:r.parentNode)||t,t.insertBefore(n,r||null)};function tt(t){return typeof t=="string"?Z(t):t}let st={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"},it=(t,e)=>{let r=`${`[${fe}='${t}']`} .${P}`,n=getComputedStyle(e),u=Object.entries(st).reduce((a,[l,h])=>`${a} ${l}: var(--ti-cursor-${l}, ${h||n[l]});`,"");pe(`${r} { display: inline-block; width: 0; ${u} }`,t)};function rt(t){return t.replace(//g,"").trim().split(//)}let nt=(t,e,s)=>Math.min(Math.max(e+t,0),s.length),ot=(t,e,s)=>new Promise(r=>{let n=()=>p(void 0,null,function*(){yield t(),r()});s.push(setTimeout(n,e||0))});var i,Pe,I,j,Se,O,W,J,F,g,Ce,N,A,Ee,z,Ie,Ne,X,H,L,Q,w,v,D,G,T,he;let ut=(he=class{constructor(e,s={}){V(this,i);y(this,"element");y(this,"timeouts");y(this,"cursorPosition");y(this,"predictedCursorPosition");y(this,"statuses",{started:!1,completed:!1,frozen:!1,destroyed:!1});y(this,"opts");y(this,"id");y(this,"queue");y(this,"cursor");y(this,"unfreeze",()=>{});y(this,"is",function(e){return this.statuses[e]});V(this,z,e=>{var s;this.opts.cursor=Ye((s=e.cursor)!=null?s:C.cursor),this.opts.strings=o(this,i,Ie).call(this,ce(this.opts.strings)),this.opts=E(this.opts,{html:!c(this,i,D)&&this.opts.html,nextStringDelay:ne(this.opts.nextStringDelay),loopDelay:ne(this.opts.loopDelay)})});this.opts=E(C,s),this.element=tt(e),this.timeouts=[],this.cursorPosition=0,this.unfreeze=()=>{},this.predictedCursorPosition=null,this.statuses=E({},Fe),this.id=We(),this.queue=Re([{delay:this.opts.startDelay}]),c(this,z).call(this,s),this.cursor=o(this,i,Ne).call(this),this.element.dataset.typeitId=this.id,pe(He),this.opts.strings.length&&o(this,i,Ee).call(this)}go(){return this.statuses.started?this:(o(this,i,J).call(this),this.opts.waitUntilVisible?(Oe(this.element,o(this,i,I).bind(this)),this):(o(this,i,I).call(this),this))}destroy(e=!0){this.timeouts=Ue(this.timeouts),S(e)&&this.cursor&&o(this,i,Q).call(this,this.cursor),this.statuses.destroyed=!0}reset(e){!this.is("destroyed")&&this.destroy(),e?(this.queue.wipe(),e(this)):this.queue.reset(),this.cursorPosition=0;for(let s in this.statuses)this.statuses[s]=!1;return this.element[o(this,i,F).call(this)?"value":"innerHTML"]="",this}type(e,s={}){e=S(e);let{instant:r}=s,n=o(this,i,N).call(this,s),a=_e(e,this.opts.html).map(h=>({func:()=>o(this,i,H).call(this,h),char:h,delay:r||Ke(h)?0:o(this,i,w).call(this),typeable:h.nodeType===Node.TEXT_NODE})),l=[n[0],{func:()=>p(this,null,function*(){return yield this.opts.beforeString(e,this)})},...a,{func:()=>p(this,null,function*(){return yield this.opts.afterString(e,this)})},n[1]];return o(this,i,g).call(this,l,s)}break(e={}){return o(this,i,g).call(this,{func:()=>o(this,i,H).call(this,$("BR")),typeable:!0},e)}move(e,s={}){e=S(e);let r=o(this,i,N).call(this,s),{instant:n,to:u}=s,a=ae({queueItems:this.queue.getTypeable(),selector:e===null?"":e,to:u,cursorPosition:c(this,i,v)}),l=a<0?-1:1;return this.predictedCursorPosition=c(this,i,v)+a,o(this,i,g).call(this,[r[0],...R({func:()=>o(this,i,j).call(this,l),delay:n?0:o(this,i,w).call(this),cursorable:!0},Math.abs(a)),r[1]],s)}exec(e,s={}){let r=o(this,i,N).call(this,s);return o(this,i,g).call(this,[r[0],{func:()=>e(this)},r[1]],s)}options(e,s={}){return e=S(e),o(this,i,A).call(this,e),o(this,i,g).call(this,{},s)}pause(e,s={}){return o(this,i,g).call(this,{delay:S(e)},s)}delete(e=null,s={}){e=S(e);let r=o(this,i,N).call(this,s),n=e,{instant:u,to:a}=s,l=this.queue.getTypeable(),h=n===null?l.length:ge(n)?n:ae({queueItems:l,selector:n,cursorPosition:c(this,i,v),to:a});return o(this,i,g).call(this,[r[0],...R({func:o(this,i,L).bind(this),delay:u?0:o(this,i,w).call(this,1),deletable:!0},h),r[1]],s)}freeze(){this.statuses.frozen=!0}flush(e=()=>{}){return o(this,i,J).call(this),o(this,i,I).call(this,!1).then(e),this}getQueue(){return this.queue}getOptions(){return this.opts}updateOptions(e){return o(this,i,A).call(this,e)}getElement(){return this.element}empty(e={}){return o(this,i,g).call(this,{func:o(this,i,Pe).bind(this)},e)}},i=new WeakSet,Pe=function(){return p(this,null,function*(){if(o(this,i,F).call(this)){this.element.value="";return}c(this,i,T).forEach(o(this,i,Q).bind(this))})},I=function(e=!0){return p(this,null,function*(){this.statuses.started=!0;let s=r=>{this.queue.done(r,!e)};try{let r=[...this.queue.getQueue()];for(let u=0;up(this,null,function*(){yield o(this,i,Se).call(this,n[0]),o(this,i,I).call(this)}),n[1])}catch(r){}return this})},j=function(e){return p(this,null,function*(){this.cursorPosition=nt(e,this.cursorPosition,c(this,i,T)),et(this.element,c(this,i,T),this.cursorPosition)})},Se=function(e){return p(this,null,function*(){let s=c(this,i,v);s&&(yield o(this,i,j).call(this,{value:s}));let r=c(this,i,T).map(n=>[Symbol(),{func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1),deletable:!0,shouldPauseCursor:()=>!0}]);for(let n=0;n{this.unfreeze=()=>{this.statuses.frozen=!1,n()}})),r||(yield this.opts.beforeStep(this)),yield ot(e,s,this.timeouts),r||(yield this.opts.afterStep(this))})},J=function(){return p(this,null,function*(){if(!o(this,i,F).call(this)&&this.cursor&&this.element.appendChild(this.cursor),c(this,i,G)){it(this.id,this.element),this.cursor.dataset.tiAnimationId=this.id;let{animation:e}=this.opts.cursor,{frames:s,options:r}=e;we({frames:s,cursor:this.cursor,options:M({duration:this.opts.cursorSpeed},r)})}})},F=function(){return _(this.element)},g=function(e,s){return this.queue.add(e),o(this,i,Ce).call(this,s),this},Ce=function(e={}){let s=e.delay;s&&this.queue.add({delay:s})},N=function(e={}){return[{func:()=>o(this,i,A).call(this,e)},{func:()=>o(this,i,A).call(this,this.opts)}]},A=function(e){return p(this,null,function*(){this.opts=E(this.opts,e)})},Ee=function(){let e=this.opts.strings.filter(s=>!!s);e.forEach((s,r)=>{if(this.type(s),r+1===e.length)return;let n=this.opts.breakLines?[{func:()=>o(this,i,H).call(this,$("BR")),typeable:!0}]:R({func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1)},this.queue.getTypeable().length);o(this,i,X).call(this,n)})},z=new WeakMap,Ie=function(e){let s=this.element.innerHTML;return s?(this.element.innerHTML="",this.opts.startDelete?(this.element.innerHTML=s,Y(this.element),o(this,i,X).call(this,R({func:o(this,i,L).bind(this),delay:o(this,i,w).call(this,1),deletable:!0},c(this,i,T).length)),e):rt(s).concat(e)):e},Ne=function(){if(c(this,i,D))return null;let e=$("span");return e.className=P,c(this,i,G)?(e.innerHTML=ye(this.opts.cursorChar).innerHTML,e):(e.style.visibility="hidden",e)},X=function(e){let s=this.opts.nextStringDelay;this.queue.add([{delay:s[0]},...e,{delay:s[1]}])},H=function(e){Ge(this.element,e)},L=function(){c(this,i,T).length&&(c(this,i,D)?this.element.value=this.element.value.slice(0,-1):o(this,i,Q).call(this,c(this,i,T)[this.cursorPosition]))},Q=function(e){Ze(e,this.element)},w=function(e=0){return Qe(this.opts)[e]},v=function(){var e;return(e=this.predictedCursorPosition)!=null?e:this.cursorPosition},D=function(){return _(this.element)},G=function(){return!!this.opts.cursor&&!c(this,i,D)},T=function(){return Je(this.element)},he);const at=ke({name:"TypeIt",props:{options:{type:Object,default:()=>({})}},setup(t,{slots:e,expose:s}){function r(a){throw new TypeError(a)}function n(){return navigator.language}const u=xe(null);return Me(()=>{const a=u.value.querySelector(".type-it");if(!a){const h=n()==="zh-CN"?"请确保有且只有一个具有class属性为 'type-it' 的元素":"Please make sure that there is only one element with a Class attribute with 'type-it'";r(h)}const l=new ut(a,t.options).go();s({typeIt:l})}),()=>{var a,l;return re("div",{ref:u},[(l=(a=e.default)==null?void 0:a.call(e))!=null?l:re("span",{class:"type-it"},null)])}}}),ct=at;export{ct as T}; diff --git a/static/js/index-BAq3q9Qe.js b/static/js/index-B44tj9fy.js similarity index 92% rename from static/js/index-BAq3q9Qe.js rename to static/js/index-B44tj9fy.js index 4db19dd03e..080667fa23 100644 --- a/static/js/index-BAq3q9Qe.js +++ b/static/js/index-B44tj9fy.js @@ -1 +1 @@ -import{useColumns as g}from"./columns-DtrYk2Vx.js";import{f as m,k as p,g as s,d as x,e as n,i as o,w as t,t as w,u as e,h as y,_ as k}from"./index-AFhnwzwZ.js";import{u as i}from"./hooks-CaC3u4N2.js";import{d as C}from"./plus-C98eNXam.js";import{d as b}from"./delete-Ce0TSdK5.js";import"./data-Dd4sCrbk.js";const L={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",class:"empty-icon",viewBox:"0 0 1024 1024"};function B(d,c){return m(),p("svg",L,c[0]||(c[0]=[s("path",{d:"M855.6 427.2H168.5c-12.7 0-24.4 6.9-30.6 18L4.4 684.7C1.5 689.9 0 695.8 0 701.8v287.1c0 19.4 15.7 35.1 35.1 35.1H989c19.4 0 35.1-15.7 35.1-35.1V701.8c0-6-1.5-11.8-4.4-17.1L886.2 445.2c-6.2-11.1-17.9-18-30.6-18M673.4 695.6c-16.5 0-30.8 11.5-34.3 27.7-12.7 58.5-64.8 102.3-127.2 102.3s-114.5-43.8-127.2-102.3c-3.5-16.1-17.8-27.7-34.3-27.7H119c-26.4 0-43.3-28-31.1-51.4l81.7-155.8c6.1-11.6 18-18.8 31.1-18.8h622.4c13 0 25 7.2 31.1 18.8l81.7 155.8c12.2 23.4-4.7 51.4-31.1 51.4zm146.5-486.1c-1-1.8-2.1-3.7-3.2-5.5-9.8-16.6-31.1-22.2-47.8-12.6L648.5 261c-17 9.8-22.7 31.6-12.6 48.4.9 1.4 1.7 2.9 2.5 4.4 9.5 17 31.2 22.8 48 13L807 257.3c16.7-9.7 22.4-31 12.9-47.8m-444.5 51.6L255 191.6c-16.7-9.6-38-4-47.8 12.6-1.1 1.8-2.1 3.6-3.2 5.5-9.5 16.8-3.8 38.1 12.9 47.8L337.3 327c16.9 9.7 38.6 4 48-13.1.8-1.5 1.7-2.9 2.5-4.4 10.2-16.8 4.5-38.6-12.4-48.4M512 239.3h2.5c19.5.3 35.5-15.5 35.5-35.1v-139c0-19.3-15.6-34.9-34.8-35.1h-6.4C489.6 30.3 474 46 474 65.2v139c0 19.5 15.9 35.4 35.5 35.1z"},null,-1)]))}const V={render:B},D={class:"flex"},H={class:"w-[400px]"},M=x({__name:"index",setup(d){const{columns:c,dataList:l,onAdd:_,onDel:u}=g();return(N,a)=>{const f=n("el-scrollbar"),r=n("el-button"),h=n("pure-table");return m(),p("div",D,[o(f,{height:"540px"},{default:t(()=>[s("code",null,[s("pre",H," "+w(e(l)),1)])]),_:1}),o(h,{"row-key":"id","align-whole":"center","header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},data:e(l),columns:e(c)},{empty:t(()=>[o(e(V),{fill:"var(--el-svg-monochrome-grey)",class:"m-auto"})]),append:t(()=>[o(r,{plain:"",class:"w-full my-2",icon:e(i)(e(C)),onClick:e(_)},{default:t(()=>a[0]||(a[0]=[y(" 添加一行数据 ")])),_:1},8,["icon","onClick"])]),operation:t(({row:v})=>[o(r,{class:"reset-margin",link:"",type:"primary",icon:e(i)(e(b)),onClick:$=>e(u)(v)},null,8,["icon","onClick"])]),_:1},8,["data","columns"])])}}}),T=k(M,[["__scopeId","data-v-103a7622"]]);export{T as default}; +import{useColumns as g}from"./columns-z4dZqzYq.js";import{f as m,k as p,g as s,d as x,e as n,i as o,w as t,t as w,u as e,h as y,_ as k}from"./index-DqH6biyS.js";import{u as i}from"./hooks-BoDRUKFd.js";import{d as C}from"./plus-C98eNXam.js";import{d as b}from"./delete-Ce0TSdK5.js";import"./data-Dd4sCrbk.js";const L={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",class:"empty-icon",viewBox:"0 0 1024 1024"};function B(d,c){return m(),p("svg",L,c[0]||(c[0]=[s("path",{d:"M855.6 427.2H168.5c-12.7 0-24.4 6.9-30.6 18L4.4 684.7C1.5 689.9 0 695.8 0 701.8v287.1c0 19.4 15.7 35.1 35.1 35.1H989c19.4 0 35.1-15.7 35.1-35.1V701.8c0-6-1.5-11.8-4.4-17.1L886.2 445.2c-6.2-11.1-17.9-18-30.6-18M673.4 695.6c-16.5 0-30.8 11.5-34.3 27.7-12.7 58.5-64.8 102.3-127.2 102.3s-114.5-43.8-127.2-102.3c-3.5-16.1-17.8-27.7-34.3-27.7H119c-26.4 0-43.3-28-31.1-51.4l81.7-155.8c6.1-11.6 18-18.8 31.1-18.8h622.4c13 0 25 7.2 31.1 18.8l81.7 155.8c12.2 23.4-4.7 51.4-31.1 51.4zm146.5-486.1c-1-1.8-2.1-3.7-3.2-5.5-9.8-16.6-31.1-22.2-47.8-12.6L648.5 261c-17 9.8-22.7 31.6-12.6 48.4.9 1.4 1.7 2.9 2.5 4.4 9.5 17 31.2 22.8 48 13L807 257.3c16.7-9.7 22.4-31 12.9-47.8m-444.5 51.6L255 191.6c-16.7-9.6-38-4-47.8 12.6-1.1 1.8-2.1 3.6-3.2 5.5-9.5 16.8-3.8 38.1 12.9 47.8L337.3 327c16.9 9.7 38.6 4 48-13.1.8-1.5 1.7-2.9 2.5-4.4 10.2-16.8 4.5-38.6-12.4-48.4M512 239.3h2.5c19.5.3 35.5-15.5 35.5-35.1v-139c0-19.3-15.6-34.9-34.8-35.1h-6.4C489.6 30.3 474 46 474 65.2v139c0 19.5 15.9 35.4 35.5 35.1z"},null,-1)]))}const V={render:B},D={class:"flex"},H={class:"w-[400px]"},M=x({__name:"index",setup(d){const{columns:c,dataList:l,onAdd:_,onDel:u}=g();return(N,a)=>{const f=n("el-scrollbar"),r=n("el-button"),h=n("pure-table");return m(),p("div",D,[o(f,{height:"540px"},{default:t(()=>[s("code",null,[s("pre",H," "+w(e(l)),1)])]),_:1}),o(h,{"row-key":"id","align-whole":"center","header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},data:e(l),columns:e(c)},{empty:t(()=>[o(e(V),{fill:"var(--el-svg-monochrome-grey)",class:"m-auto"})]),append:t(()=>[o(r,{plain:"",class:"w-full my-2",icon:e(i)(e(C)),onClick:e(_)},{default:t(()=>a[0]||(a[0]=[y(" 添加一行数据 ")])),_:1},8,["icon","onClick"])]),operation:t(({row:v})=>[o(r,{class:"reset-margin",link:"",type:"primary",icon:e(i)(e(b)),onClick:$=>e(u)(v)},null,8,["icon","onClick"])]),_:1},8,["data","columns"])])}}}),T=k(M,[["__scopeId","data-v-103a7622"]]);export{T as default}; diff --git a/static/js/index-B6KuR2Vp.js b/static/js/index-B6KuR2Vp.js deleted file mode 100644 index 99c8b7cf17..0000000000 --- a/static/js/index-B6KuR2Vp.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DY3i7yp4.js";import"./columns-4XfjhWdI.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-0fxmVDxO.js b/static/js/index-B7bsA-lN.js similarity index 86% rename from static/js/index-0fxmVDxO.js rename to static/js/index-B7bsA-lN.js index 257a5c0dbb..0c8022c3b5 100644 --- a/static/js/index-0fxmVDxO.js +++ b/static/js/index-B7bsA-lN.js @@ -1 +1 @@ -import{R as p}from"./index-BSGz-TY2.js";import{d as V,at as q,a as B,k as _,i as s,w as o,e as c,A as I,f as n,F as x,l as b,B as f,b as r,g as a,t as y,s as N,u as t,aH as z,v as S,be as $,bf as F,_ as W}from"./index-AFhnwzwZ.js";import H from"./index-BF5jemmp.js";import{R as O}from"./index-CzqPEx3Y.js";import{u as T}from"./index-DI5uoZkq.js";import{_ as A}from"./ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js";import{_ as E}from"./ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js";import{_ as L}from"./ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js";import{R as U}from"./index-u0vKWnyJ.js";import{c as G,b as v,p as J,l as K}from"./columns-N5PCbs1O.js";import"./hooks-CaC3u4N2.js";import"./propTypes-D_I3dZnw.js";const M={class:"flex justify-between"},P={class:"text-md font-medium"},Q={class:"flex justify-between items-start mt-3"},X={class:"w-1/2"},Y={class:"font-medium text-green-500"},Z={class:"flex justify-between"},ee={class:"flex justify-between items-start mt-3"},te={class:"text-nowrap ml-2 text-text_color_regular text-sm"},ae={class:"text-text_color_regular text-sm"},se=V({name:"Welcome",__name:"index",setup(oe){const{isDark:w}=q();let d=B(1);const g=[{label:"上周"},{label:"本周"}];return(ne,l)=>{const k=c("IconifyIconOffline"),m=c("el-card"),h=c("el-progress"),D=c("el-timeline-item"),j=c("el-timeline"),C=c("el-scrollbar"),R=c("el-row"),u=I("motion");return n(),_("div",null,[s(R,{gutter:24,justify:"space-around"},{default:o(()=>[(n(!0),_(x,null,b(t(G),(e,i)=>f((n(),r(t(p),{key:i,class:"mb-[18px]",value:6,md:12,sm:12,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80*(i+1)}}},{default:o(()=>[s(m,{class:"line-card",shadow:"never"},{default:o(()=>[a("div",M,[a("span",P,y(e.name),1),a("div",{class:"w-8 h-8 flex justify-center items-center rounded-md",style:N({backgroundColor:t(w)?"transparent":e.bgColor})},[s(k,{icon:e.icon,color:e.color,width:"18"},null,8,["icon","color"])],4)]),a("div",Q,[a("div",X,[s(t(O),{duration:e.duration,fontSize:"1.6em",startVal:100,endVal:e.value},null,8,["duration","endVal"]),a("p",Y,y(e.percent),1)]),e.data.length>1?(n(),r(t(E),{key:0,class:"!w-1/2",color:e.color,data:e.data},null,8,["color","data"])):(n(),r(t(L),{key:1,class:"!w-1/2"}))])]),_:2},1024)]),_:2},1032,["enter"])),[[u]])),128)),f((n(),r(t(p),{class:"mb-[18px]",value:18,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:o(()=>[s(m,{class:"bar-card",shadow:"never"},{default:o(()=>[a("div",Z,[l[1]||(l[1]=a("span",{class:"text-md font-medium"},"分析概览",-1)),s(t(U),{modelValue:t(d),"onUpdate:modelValue":l[0]||(l[0]=e=>z(d)?d.value=e:d=e),options:g},null,8,["modelValue"])]),a("div",ee,[s(t(A),{requireData:t(v)[t(d)].requireData,questionData:t(v)[t(d)].questionData},null,8,["requireData","questionData"])])]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:6,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:480}}},{default:o(()=>[s(m,{shadow:"never"},{default:o(()=>[l[2]||(l[2]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"解决概率")],-1)),(n(!0),_(x,null,b(t(J),(e,i)=>(n(),_("div",{key:i,class:S(["flex","justify-between","items-start",i===0?"mt-8":"mt-[2.15rem]"])},[s(h,{"text-inside":!0,percentage:e.percentage,"stroke-width":21,color:e.color,striped:"","striped-flow":"",duration:e.duration},null,8,["percentage","color","duration"]),a("span",te,y(e.week),1)],2))),128))]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:18,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:560}}},{default:o(()=>[s(m,{shadow:"never",class:"h-[580px]"},{default:o(()=>[l[3]||(l[3]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"数据统计")],-1)),s(H,{class:"mt-3"})]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:6,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:640}}},{default:o(()=>[s(m,{shadow:"never"},{default:o(()=>[l[4]||(l[4]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"最新动态")],-1)),s(C,{"max-height":"504",class:"mt-3"},{default:o(()=>[s(j,null,{default:o(()=>[(n(!0),_(x,null,b(t(K),(e,i)=>(n(),r(D,{key:i,center:"",placement:"top",icon:$(t(T)({background:t(F)({randomizeHue:!0})})),timestamp:e.date},{default:o(()=>[a("p",ae,y(`新增 ${e.requiredNumber} 条问题,${e.resolveNumber} 条已解决`),1)]),_:2},1032,["icon","timestamp"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})),[[u]])]),_:1})])}}}),be=W(se,[["__scopeId","data-v-db6e0d52"]]);export{be as default}; +import{R as p}from"./index-DZtY49CB.js";import{d as V,at as q,a as B,k as _,i as s,w as o,e as c,A as I,f as n,F as x,l as b,B as f,b as r,g as a,t as y,s as N,u as t,aH as z,v as S,be as $,bf as F,_ as W}from"./index-DqH6biyS.js";import H from"./index-Dms5VVRE.js";import{R as O}from"./index-zeZagYtQ.js";import{u as T}from"./index-Md1Qe70c.js";import{_ as A}from"./ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js";import{_ as E}from"./ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js";import{_ as L}from"./ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js";import{R as U}from"./index-CAi4pX1c.js";import{c as G,b as v,p as J,l as K}from"./columns-B-FkQK58.js";import"./hooks-BoDRUKFd.js";import"./propTypes-D_I3dZnw.js";const M={class:"flex justify-between"},P={class:"text-md font-medium"},Q={class:"flex justify-between items-start mt-3"},X={class:"w-1/2"},Y={class:"font-medium text-green-500"},Z={class:"flex justify-between"},ee={class:"flex justify-between items-start mt-3"},te={class:"text-nowrap ml-2 text-text_color_regular text-sm"},ae={class:"text-text_color_regular text-sm"},se=V({name:"Welcome",__name:"index",setup(oe){const{isDark:w}=q();let d=B(1);const g=[{label:"上周"},{label:"本周"}];return(ne,l)=>{const k=c("IconifyIconOffline"),m=c("el-card"),h=c("el-progress"),D=c("el-timeline-item"),j=c("el-timeline"),C=c("el-scrollbar"),R=c("el-row"),u=I("motion");return n(),_("div",null,[s(R,{gutter:24,justify:"space-around"},{default:o(()=>[(n(!0),_(x,null,b(t(G),(e,i)=>f((n(),r(t(p),{key:i,class:"mb-[18px]",value:6,md:12,sm:12,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80*(i+1)}}},{default:o(()=>[s(m,{class:"line-card",shadow:"never"},{default:o(()=>[a("div",M,[a("span",P,y(e.name),1),a("div",{class:"w-8 h-8 flex justify-center items-center rounded-md",style:N({backgroundColor:t(w)?"transparent":e.bgColor})},[s(k,{icon:e.icon,color:e.color,width:"18"},null,8,["icon","color"])],4)]),a("div",Q,[a("div",X,[s(t(O),{duration:e.duration,fontSize:"1.6em",startVal:100,endVal:e.value},null,8,["duration","endVal"]),a("p",Y,y(e.percent),1)]),e.data.length>1?(n(),r(t(E),{key:0,class:"!w-1/2",color:e.color,data:e.data},null,8,["color","data"])):(n(),r(t(L),{key:1,class:"!w-1/2"}))])]),_:2},1024)]),_:2},1032,["enter"])),[[u]])),128)),f((n(),r(t(p),{class:"mb-[18px]",value:18,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:400}}},{default:o(()=>[s(m,{class:"bar-card",shadow:"never"},{default:o(()=>[a("div",Z,[l[1]||(l[1]=a("span",{class:"text-md font-medium"},"分析概览",-1)),s(t(U),{modelValue:t(d),"onUpdate:modelValue":l[0]||(l[0]=e=>z(d)?d.value=e:d=e),options:g},null,8,["modelValue"])]),a("div",ee,[s(t(A),{requireData:t(v)[t(d)].requireData,questionData:t(v)[t(d)].questionData},null,8,["requireData","questionData"])])]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:6,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:480}}},{default:o(()=>[s(m,{shadow:"never"},{default:o(()=>[l[2]||(l[2]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"解决概率")],-1)),(n(!0),_(x,null,b(t(J),(e,i)=>(n(),_("div",{key:i,class:S(["flex","justify-between","items-start",i===0?"mt-8":"mt-[2.15rem]"])},[s(h,{"text-inside":!0,percentage:e.percentage,"stroke-width":21,color:e.color,striped:"","striped-flow":"",duration:e.duration},null,8,["percentage","color","duration"]),a("span",te,y(e.week),1)],2))),128))]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:18,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:560}}},{default:o(()=>[s(m,{shadow:"never",class:"h-[580px]"},{default:o(()=>[l[3]||(l[3]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"数据统计")],-1)),s(H,{class:"mt-3"})]),_:1})]),_:1})),[[u]]),f((n(),r(t(p),{class:"mb-[18px]",value:6,xs:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:640}}},{default:o(()=>[s(m,{shadow:"never"},{default:o(()=>[l[4]||(l[4]=a("div",{class:"flex justify-between"},[a("span",{class:"text-md font-medium"},"最新动态")],-1)),s(C,{"max-height":"504",class:"mt-3"},{default:o(()=>[s(j,null,{default:o(()=>[(n(!0),_(x,null,b(t(K),(e,i)=>(n(),r(D,{key:i,center:"",placement:"top",icon:$(t(T)({background:t(F)({randomizeHue:!0})})),timestamp:e.date},{default:o(()=>[a("p",ae,y(`新增 ${e.requiredNumber} 条问题,${e.resolveNumber} 条已解决`),1)]),_:2},1032,["icon","timestamp"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})),[[u]])]),_:1})])}}}),be=W(se,[["__scopeId","data-v-db6e0d52"]]);export{be as default}; diff --git a/static/js/index-BHqehRKF.js b/static/js/index-B7g2O0Fv.js similarity index 89% rename from static/js/index-BHqehRKF.js rename to static/js/index-B7g2O0Fv.js index f6857b7579..3d830e709f 100644 --- a/static/js/index-BHqehRKF.js +++ b/static/js/index-B7g2O0Fv.js @@ -1 +1 @@ -var O=Object.defineProperty,T=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var C=(t,o,n)=>o in t?O(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,h=(t,o)=>{for(var n in o||(o={}))N.call(o,n)&&C(t,n,o[n]);if(g)for(var n of g(o))U.call(o,n)&&C(t,n,o[n]);return t},v=(t,o)=>T(t,I(o));import{useRole as E}from"./hook-Dzvnqk76.js";import{d as F,P as M}from"./refresh-lSteXGJu.js";import{u as p}from"./hooks-CaC3u4N2.js";import{d as Z,a as j,e as s,f as q,k as A,i as l,w as r,u as e,h as d,_ as D}from"./index-AFhnwzwZ.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const G={width:24,height:24,body:''},H={class:"main"},J=Z({name:"OnlineUser",__name:"index",setup(t){const o=j(),{form:n,loading:c,columns:b,dataList:x,pagination:k,onSearch:u,resetForm:y,handleOffline:w,handleSizeChange:S,handleCurrentChange:V,handleSelectionChange:P}=E();return(K,a)=>{const R=s("el-input"),f=s("el-form-item"),m=s("el-button"),B=s("el-form"),L=s("el-popconfirm"),$=s("pure-table");return q(),A("div",H,[l(B,{ref_key:"formRef",ref:o,inline:!0,model:e(n),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:r(()=>[l(f,{label:"用户名",prop:"username"},{default:r(()=>[l(R,{modelValue:e(n).username,"onUpdate:modelValue":a[0]||(a[0]=i=>e(n).username=i),placeholder:"请输入用户名",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(f,null,{default:r(()=>[l(m,{type:"primary",icon:e(p)("ri:search-line"),loading:e(c),onClick:e(u)},{default:r(()=>a[2]||(a[2]=[d(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),l(m,{icon:e(p)(e(F)),onClick:a[1]||(a[1]=i=>e(y)(o.value))},{default:r(()=>a[3]||(a[3]=[d(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),l(e(M),{title:"在线用户(仅演示,操作后不生效)",columns:e(b),onRefresh:e(u)},{default:r(({size:i,dynamicColumns:z})=>[l($,{"align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(c),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:z,pagination:v(h({},e(k)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(P),onPageSizeChange:e(S),onPageCurrentChange:e(V)},{operation:r(({row:_})=>[l(L,{title:`是否强制下线${_.username}`,onConfirm:Q=>e(w)(_)},{reference:r(()=>[l(m,{class:"reset-margin",link:"",type:"primary",size:i,icon:e(p)(e(G))},{default:r(()=>a[4]||(a[4]=[d(" 强退 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),re=D(J,[["__scopeId","data-v-d74597b8"]]);export{re as default}; +var O=Object.defineProperty,T=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var C=(t,o,n)=>o in t?O(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,h=(t,o)=>{for(var n in o||(o={}))N.call(o,n)&&C(t,n,o[n]);if(g)for(var n of g(o))U.call(o,n)&&C(t,n,o[n]);return t},v=(t,o)=>T(t,I(o));import{useRole as E}from"./hook-vIEwZE0X.js";import{d as F,P as M}from"./refresh-DeEyTuf-.js";import{u as p}from"./hooks-BoDRUKFd.js";import{d as Z,a as j,e as s,f as q,k as A,i as l,w as r,u as e,h as d,_ as D}from"./index-DqH6biyS.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const G={width:24,height:24,body:''},H={class:"main"},J=Z({name:"OnlineUser",__name:"index",setup(t){const o=j(),{form:n,loading:c,columns:b,dataList:x,pagination:k,onSearch:u,resetForm:y,handleOffline:w,handleSizeChange:S,handleCurrentChange:V,handleSelectionChange:P}=E();return(K,a)=>{const R=s("el-input"),f=s("el-form-item"),m=s("el-button"),B=s("el-form"),L=s("el-popconfirm"),$=s("pure-table");return q(),A("div",H,[l(B,{ref_key:"formRef",ref:o,inline:!0,model:e(n),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:r(()=>[l(f,{label:"用户名",prop:"username"},{default:r(()=>[l(R,{modelValue:e(n).username,"onUpdate:modelValue":a[0]||(a[0]=i=>e(n).username=i),placeholder:"请输入用户名",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(f,null,{default:r(()=>[l(m,{type:"primary",icon:e(p)("ri:search-line"),loading:e(c),onClick:e(u)},{default:r(()=>a[2]||(a[2]=[d(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),l(m,{icon:e(p)(e(F)),onClick:a[1]||(a[1]=i=>e(y)(o.value))},{default:r(()=>a[3]||(a[3]=[d(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),l(e(M),{title:"在线用户(仅演示,操作后不生效)",columns:e(b),onRefresh:e(u)},{default:r(({size:i,dynamicColumns:z})=>[l($,{"align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(c),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:z,pagination:v(h({},e(k)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(P),onPageSizeChange:e(S),onPageCurrentChange:e(V)},{operation:r(({row:_})=>[l(L,{title:`是否强制下线${_.username}`,onConfirm:Q=>e(w)(_)},{reference:r(()=>[l(m,{class:"reset-margin",link:"",type:"primary",size:i,icon:e(p)(e(G))},{default:r(()=>a[4]||(a[4]=[d(" 强退 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),re=D(J,[["__scopeId","data-v-d74597b8"]]);export{re as default}; diff --git a/static/js/index-BAbgAHvI.js b/static/js/index-BAbgAHvI.js new file mode 100644 index 0000000000..e2dbb3ecc2 --- /dev/null +++ b/static/js/index-BAbgAHvI.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DX1t3q06.js";import"./columns-D9x1xpmu.js";import"./sortable.esm-Br3T5NCo.js";import"./index-DqH6biyS.js";import"./data-BAnvZeM5.js";export{o as default}; diff --git a/static/js/index-B9RHPT66.js b/static/js/index-BCC60M31.js similarity index 99% rename from static/js/index-B9RHPT66.js rename to static/js/index-BCC60M31.js index 0dae2aa983..a7c79e6f4b 100644 --- a/static/js/index-B9RHPT66.js +++ b/static/js/index-BCC60M31.js @@ -1,4 +1,4 @@ -var Se=Object.defineProperty,Ae=Object.defineProperties;var Le=Object.getOwnPropertyDescriptors;var Ut=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable;var jt=(a,t,i)=>t in a?Se(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ht=(a,t)=>{for(var i in t||(t={}))_e.call(t,i)&&jt(a,i,t[i]);if(Ut)for(var i of Ut(t))Be.call(t,i)&&jt(a,i,t[i]);return a},Gt=(a,t)=>Ae(a,Le(t));var qt=(a,t,i)=>new Promise((e,o)=>{var r=u=>{try{s(i.next(u))}catch(l){o(l)}},n=u=>{try{s(i.throw(u))}catch(l){o(l)}},s=u=>u.done?e(u.value):Promise.resolve(u.value).then(r,n);s((i=i.apply(a,t)).next())});import{f as W,k as V,g as z,aN as Ie,d as Ft,a as F,p as mt,m as ke,o as He,aO as ze,u as Pe,aP as Xe,i as _,B as H,W as Ye,aQ as We,aR as Ve,aS as $e,aT as Ue,aU as je,A,D as Ge,a0 as qe,aV as Fe,V as Qe}from"./index-AFhnwzwZ.js";/*! +var Se=Object.defineProperty,Ae=Object.defineProperties;var Le=Object.getOwnPropertyDescriptors;var Ut=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable;var jt=(a,t,i)=>t in a?Se(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ht=(a,t)=>{for(var i in t||(t={}))_e.call(t,i)&&jt(a,i,t[i]);if(Ut)for(var i of Ut(t))Be.call(t,i)&&jt(a,i,t[i]);return a},Gt=(a,t)=>Ae(a,Le(t));var qt=(a,t,i)=>new Promise((e,o)=>{var r=u=>{try{s(i.next(u))}catch(l){o(l)}},n=u=>{try{s(i.throw(u))}catch(l){o(l)}},s=u=>u.done?e(u.value):Promise.resolve(u.value).then(r,n);s((i=i.apply(a,t)).next())});import{f as W,k as V,g as z,aN as Ie,d as Ft,a as F,p as mt,m as ke,o as He,aO as ze,u as Pe,aP as Xe,i as _,B as H,W as Ye,aQ as We,aR as Ve,aS as $e,aT as Ue,aU as je,A,D as Ge,a0 as qe,aV as Fe,V as Qe}from"./index-DqH6biyS.js";/*! * Cropper.js v1.6.2 * https://fengyuanchen.github.io/cropperjs * diff --git a/static/js/index-CLuZ42WN.js b/static/js/index-BCqTdNcB.js similarity index 95% rename from static/js/index-CLuZ42WN.js rename to static/js/index-BCqTdNcB.js index 9ff624af32..6569accede 100644 --- a/static/js/index-CLuZ42WN.js +++ b/static/js/index-BCqTdNcB.js @@ -1 +1 @@ -import{P as V}from"./print-B-zH8tbv.js";import{_ as B}from"./pieChart.vue_vue_type_script_setup_true_lang-rVvXOa18.js";import{d as C,a as L,b as m,w as l,e as a,A as P,f as r,g as o,i as t,k as S,l as D,F as G,h as b,B as _,_ as h}from"./index-AFhnwzwZ.js";const E={class:"card-header"},z=C({name:"Print",__name:"index",setup(F){const d=L("1"),f=[{value:"1",el:".el-table",label:"Table"},{value:"2",el:".echart",label:"Echart"},{value:"3",el:".img",label:"Image"}];function g(){var e;const s=(e=f.filter(c=>c.value===d.value)[0])==null?void 0:e.el;V(s).toPrint}const v=({rowIndex:s})=>s===1?"warning-row":s===3?"success-row":"",x=[{date:"2016-05-03",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-02",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-04",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-01",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"}];return(s,e)=>{const c=a("el-option"),y=a("el-select"),w=a("el-button"),k=a("el-link"),i=a("el-table-column"),N=a("el-table"),p=a("el-col"),T=a("el-row"),A=a("el-card"),u=P("motion");return r(),m(A,{shadow:"never"},{header:l(()=>[o("div",E,[e[2]||(e[2]=o("span",{class:"font-medium"},"打印功能(报表、图表、图片)",-1)),t(y,{modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=n=>d.value=n),class:"!w-[100px] mr-2",placeholder:"Select",size:"small"},{default:l(()=>[(r(),S(G,null,D(f,n=>t(c,{key:n.value,label:n.label,value:n.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),t(w,{size:"small",type:"primary",onClick:g},{default:l(()=>e[1]||(e[1]=[b(" 打印 ")])),_:1})]),t(k,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/print",target:"_blank"},{default:l(()=>e[3]||(e[3]=[b(" 代码位置 src/views/able/print ")])),_:1})]),default:l(()=>[t(T,{gutter:24},{default:l(()=>[_((r(),m(p,{xs:24,sm:24,md:24,lg:24,xl:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>[e[4]||(e[4]=o("p",{class:"font-medium text-lg text-center"},"Table",-1)),t(N,{border:"",data:x,"row-class-name":v,class:"el-table w-full mt-[10px]"},{default:l(()=>[t(i,{prop:"date",label:"Date"}),t(i,{prop:"name",label:"Name"}),t(i,{prop:"age",label:"age"}),t(i,{prop:"address",label:"Address"})]),_:1})]),_:1})),[[u]]),_((r(),m(p,{xs:11,sm:11,md:11,lg:11,xl:11,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>[e[5]||(e[5]=o("p",{class:"font-medium text-lg text-center"},"Echart",-1)),t(B,{class:"echart mt-[10px]"})]),_:1})),[[u]]),_((r(),m(p,{xs:11,sm:11,md:11,lg:11,xl:11,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>e[6]||(e[6]=[o("p",{class:"font-medium text-lg text-center"},"Image",-1),o("img",{src:"https://pure-admin-utils.netlify.app/logo.png",alt:"avatars",class:"img mt-[10px] m-auto"},null,-1)])),_:1})),[[u]])]),_:1})]),_:1})}}}),$=h(z,[["__scopeId","data-v-65651f02"]]);export{$ as default}; +import{P as V}from"./print-B-zH8tbv.js";import{_ as B}from"./pieChart.vue_vue_type_script_setup_true_lang-BaeSYoEm.js";import{d as C,a as L,b as m,w as l,e as a,A as P,f as r,g as o,i as t,k as S,l as D,F as G,h as b,B as _,_ as h}from"./index-DqH6biyS.js";const E={class:"card-header"},z=C({name:"Print",__name:"index",setup(F){const d=L("1"),f=[{value:"1",el:".el-table",label:"Table"},{value:"2",el:".echart",label:"Echart"},{value:"3",el:".img",label:"Image"}];function g(){var e;const s=(e=f.filter(c=>c.value===d.value)[0])==null?void 0:e.el;V(s).toPrint}const v=({rowIndex:s})=>s===1?"warning-row":s===3?"success-row":"",x=[{date:"2016-05-03",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-02",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-04",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"},{date:"2016-05-01",name:"Tom",age:18,address:"No. 189, Grove St, Los Angeles"}];return(s,e)=>{const c=a("el-option"),y=a("el-select"),w=a("el-button"),k=a("el-link"),i=a("el-table-column"),N=a("el-table"),p=a("el-col"),T=a("el-row"),A=a("el-card"),u=P("motion");return r(),m(A,{shadow:"never"},{header:l(()=>[o("div",E,[e[2]||(e[2]=o("span",{class:"font-medium"},"打印功能(报表、图表、图片)",-1)),t(y,{modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=n=>d.value=n),class:"!w-[100px] mr-2",placeholder:"Select",size:"small"},{default:l(()=>[(r(),S(G,null,D(f,n=>t(c,{key:n.value,label:n.label,value:n.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),t(w,{size:"small",type:"primary",onClick:g},{default:l(()=>e[1]||(e[1]=[b(" 打印 ")])),_:1})]),t(k,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/print",target:"_blank"},{default:l(()=>e[3]||(e[3]=[b(" 代码位置 src/views/able/print ")])),_:1})]),default:l(()=>[t(T,{gutter:24},{default:l(()=>[_((r(),m(p,{xs:24,sm:24,md:24,lg:24,xl:24,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>[e[4]||(e[4]=o("p",{class:"font-medium text-lg text-center"},"Table",-1)),t(N,{border:"",data:x,"row-class-name":v,class:"el-table w-full mt-[10px]"},{default:l(()=>[t(i,{prop:"date",label:"Date"}),t(i,{prop:"name",label:"Name"}),t(i,{prop:"age",label:"age"}),t(i,{prop:"address",label:"Address"})]),_:1})]),_:1})),[[u]]),_((r(),m(p,{xs:11,sm:11,md:11,lg:11,xl:11,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>[e[5]||(e[5]=o("p",{class:"font-medium text-lg text-center"},"Echart",-1)),t(B,{class:"echart mt-[10px]"})]),_:1})),[[u]]),_((r(),m(p,{xs:11,sm:11,md:11,lg:11,xl:11,initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:l(()=>e[6]||(e[6]=[o("p",{class:"font-medium text-lg text-center"},"Image",-1),o("img",{src:"https://pure-admin-utils.netlify.app/logo.png",alt:"avatars",class:"img mt-[10px] m-auto"},null,-1)])),_:1})),[[u]])]),_:1})]),_:1})}}}),$=h(z,[["__scopeId","data-v-65651f02"]]);export{$ as default}; diff --git a/static/js/index-BD09Q0hb.js b/static/js/index-BD09Q0hb.js new file mode 100644 index 0000000000..ab81b3366b --- /dev/null +++ b/static/js/index-BD09Q0hb.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-B_2nF_ws.js";import"./columns-Dvo-0eGO.js";import"./sortable.esm-Br3T5NCo.js";import"./index-DqH6biyS.js";import"./data-BAnvZeM5.js";export{o as default}; diff --git a/static/js/index-BE_FhVpN.js b/static/js/index-BE_FhVpN.js new file mode 100644 index 0000000000..7631b5aa82 --- /dev/null +++ b/static/js/index-BE_FhVpN.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DfmTAWWm.js";import"./columns-DTyfIJ71.js";import"./data-Dd4sCrbk.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-D-oBL2dD.js b/static/js/index-BIntu8lU.js similarity index 97% rename from static/js/index-D-oBL2dD.js rename to static/js/index-BIntu8lU.js index bd4859ba93..3c2287d5ca 100644 --- a/static/js/index-D-oBL2dD.js +++ b/static/js/index-BIntu8lU.js @@ -1 +1 @@ -import{d as w,e as r,A as g,f as d,k,g as a,t as x,u as p,gi as B,i as n,w as t,h as s,gj as f,b as o,j as v,B as _}from"./index-AFhnwzwZ.js";const A={class:"mb-2"},V=w({name:"PermissionButtonRouter",__name:"index",setup(c){return(C,e)=>{const y=r("el-link"),i=r("el-button"),l=r("Auth"),m=r("el-space"),u=r("el-card"),b=g("auth");return d(),k("div",null,[a("p",A,"当前拥有的code列表:"+x(p(B)()),1),n(u,{shadow:"never",class:"mb-2"},{header:t(()=>[e[1]||(e[1]=a("div",{class:"card-header"},"组件方式判断权限",-1)),n(y,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/permission/button/index.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[s(" 代码位置 src/views/permission/button/index.vue ")])),_:1})]),default:t(()=>[n(m,{wrap:""},{default:t(()=>[n(l,{value:"permission:btn:add"},{default:t(()=>[n(i,{plain:"",type:"warning"},{default:t(()=>e[2]||(e[2]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})]),_:1}),n(l,{value:["permission:btn:edit"]},{default:t(()=>[n(i,{plain:"",type:"primary"},{default:t(()=>e[3]||(e[3]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})]),_:1}),n(l,{value:["permission:btn:add","permission:btn:edit","permission:btn:delete"]},{default:t(()=>[n(i,{plain:"",type:"danger"},{default:t(()=>e[4]||(e[4]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})]),_:1})]),_:1})]),_:1}),n(u,{shadow:"never",class:"mb-2"},{header:t(()=>e[5]||(e[5]=[a("div",{class:"card-header"},"函数方式判断权限",-1)])),default:t(()=>[n(m,{wrap:""},{default:t(()=>[p(f)("permission:btn:add")?(d(),o(i,{key:0,plain:"",type:"warning"},{default:t(()=>e[6]||(e[6]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})):v("",!0),p(f)(["permission:btn:edit"])?(d(),o(i,{key:1,plain:"",type:"primary"},{default:t(()=>e[7]||(e[7]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})):v("",!0),p(f)(["permission:btn:add","permission:btn:edit","permission:btn:delete"])?(d(),o(i,{key:2,plain:"",type:"danger"},{default:t(()=>e[8]||(e[8]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})):v("",!0)]),_:1})]),_:1}),n(u,{shadow:"never"},{header:t(()=>e[9]||(e[9]=[a("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1)])),default:t(()=>[n(m,{wrap:""},{default:t(()=>[_((d(),o(i,{plain:"",type:"warning"},{default:t(()=>e[10]||(e[10]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})),[[b,"permission:btn:add"]]),_((d(),o(i,{plain:"",type:"primary"},{default:t(()=>e[11]||(e[11]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})),[[b,["permission:btn:edit"]]]),_((d(),o(i,{plain:"",type:"danger"},{default:t(()=>e[12]||(e[12]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})),[[b,["permission:btn:add","permission:btn:edit","permission:btn:delete"]]])]),_:1})]),_:1})])}}});export{V as default}; +import{d as w,e as r,A as g,f as d,k,g as a,t as x,u as p,gi as B,i as n,w as t,h as s,gj as f,b as o,j as v,B as _}from"./index-DqH6biyS.js";const A={class:"mb-2"},V=w({name:"PermissionButtonRouter",__name:"index",setup(c){return(C,e)=>{const y=r("el-link"),i=r("el-button"),l=r("Auth"),m=r("el-space"),u=r("el-card"),b=g("auth");return d(),k("div",null,[a("p",A,"当前拥有的code列表:"+x(p(B)()),1),n(u,{shadow:"never",class:"mb-2"},{header:t(()=>[e[1]||(e[1]=a("div",{class:"card-header"},"组件方式判断权限",-1)),n(y,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/permission/button/index.vue",target:"_blank"},{default:t(()=>e[0]||(e[0]=[s(" 代码位置 src/views/permission/button/index.vue ")])),_:1})]),default:t(()=>[n(m,{wrap:""},{default:t(()=>[n(l,{value:"permission:btn:add"},{default:t(()=>[n(i,{plain:"",type:"warning"},{default:t(()=>e[2]||(e[2]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})]),_:1}),n(l,{value:["permission:btn:edit"]},{default:t(()=>[n(i,{plain:"",type:"primary"},{default:t(()=>e[3]||(e[3]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})]),_:1}),n(l,{value:["permission:btn:add","permission:btn:edit","permission:btn:delete"]},{default:t(()=>[n(i,{plain:"",type:"danger"},{default:t(()=>e[4]||(e[4]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})]),_:1})]),_:1})]),_:1}),n(u,{shadow:"never",class:"mb-2"},{header:t(()=>e[5]||(e[5]=[a("div",{class:"card-header"},"函数方式判断权限",-1)])),default:t(()=>[n(m,{wrap:""},{default:t(()=>[p(f)("permission:btn:add")?(d(),o(i,{key:0,plain:"",type:"warning"},{default:t(()=>e[6]||(e[6]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})):v("",!0),p(f)(["permission:btn:edit"])?(d(),o(i,{key:1,plain:"",type:"primary"},{default:t(()=>e[7]||(e[7]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})):v("",!0),p(f)(["permission:btn:add","permission:btn:edit","permission:btn:delete"])?(d(),o(i,{key:2,plain:"",type:"danger"},{default:t(()=>e[8]||(e[8]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})):v("",!0)]),_:1})]),_:1}),n(u,{shadow:"never"},{header:t(()=>e[9]||(e[9]=[a("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1)])),default:t(()=>[n(m,{wrap:""},{default:t(()=>[_((d(),o(i,{plain:"",type:"warning"},{default:t(()=>e[10]||(e[10]=[s(" 拥有code:'permission:btn:add' 权限可见 ")])),_:1})),[[b,"permission:btn:add"]]),_((d(),o(i,{plain:"",type:"primary"},{default:t(()=>e[11]||(e[11]=[s(" 拥有code:['permission:btn:edit'] 权限可见 ")])),_:1})),[[b,["permission:btn:edit"]]]),_((d(),o(i,{plain:"",type:"danger"},{default:t(()=>e[12]||(e[12]=[s(" 拥有code:['permission:btn:add', 'permission:btn:edit', 'permission:btn:delete'] 权限可见 ")])),_:1})),[[b,["permission:btn:add","permission:btn:edit","permission:btn:delete"]]])]),_:1})]),_:1})])}}});export{V as default}; diff --git a/static/js/index-BWpd2JVO.js b/static/js/index-BM6vP2IY.js similarity index 99% rename from static/js/index-BWpd2JVO.js rename to static/js/index-BM6vP2IY.js index 5bc3137732..c6262e2c4e 100644 --- a/static/js/index-BWpd2JVO.js +++ b/static/js/index-BM6vP2IY.js @@ -1,4 +1,4 @@ -import{d as Ot,a as Rt,b as Mt,w as P,e as D,f as mt,g as bt,i as V,h as ot,k as Dt,l as Vt,F as Ft}from"./index-AFhnwzwZ.js";/*! +import{d as Ot,a as Rt,b as Mt,w as P,e as D,f as mt,g as bt,i as V,h as ot,k as Dt,l as Vt,F as Ft}from"./index-DqH6biyS.js";/*! * Intro.js v7.2.0 * https://introjs.com * diff --git a/static/js/index-DMJ85jnn.js b/static/js/index-BMnmlGIy.js similarity index 85% rename from static/js/index-DMJ85jnn.js rename to static/js/index-BMnmlGIy.js index 2cb7f2a19c..aaf67b6619 100644 --- a/static/js/index-DMJ85jnn.js +++ b/static/js/index-BMnmlGIy.js @@ -1 +1 @@ -import{useDept as P}from"./hook-Bk3wY7nR.js";import{d as U,P as z}from"./refresh-lSteXGJu.js";import{u as i}from"./hooks-CaC3u4N2.js";import{d as A}from"./delete-Ce0TSdK5.js";import{d as E}from"./edit-pen-Ci7W0xNM.js";import{d as y}from"./add-circle-line-DOJqVT3s.js";import{d as L,a as C,e as a,f as O,k as h,i as t,w as l,u as e,h as s,_ as j}from"./index-AFhnwzwZ.js";import"./form.vue_vue_type_script_setup_true_lang-24sqXQI_.js";import"./index-BSGz-TY2.js";import"./hooks-DZOKHTKM.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const q={class:"main"},G=L({name:"SystemDept",__name:"index",setup(H){const c=C(),d=C(),{form:m,loading:_,columns:x,dataList:R,onSearch:b,resetForm:$,openDialog:f,handleDelete:V,handleSelectionChange:w}=P();function S(){d.value.setAdaptive()}return(J,o)=>{var g;const B=a("el-input"),u=a("el-form-item"),v=a("el-option"),D=a("el-select"),r=a("el-button"),T=a("el-form"),I=a("el-popconfirm"),F=a("pure-table");return O(),h("div",q,[t(T,{ref_key:"formRef",ref:c,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[t(u,{label:"部门名称:",prop:"name"},{default:l(()=>[t(B,{modelValue:e(m).name,"onUpdate:modelValue":o[0]||(o[0]=n=>e(m).name=n),placeholder:"请输入部门名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),t(u,{label:"状态:",prop:"status"},{default:l(()=>[t(D,{modelValue:e(m).status,"onUpdate:modelValue":o[1]||(o[1]=n=>e(m).status=n),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:l(()=>[t(v,{label:"启用",value:1}),t(v,{label:"停用",value:0})]),_:1},8,["modelValue"])]),_:1}),t(u,null,{default:l(()=>[t(r,{type:"primary",icon:e(i)("ri:search-line"),loading:e(_),onClick:e(b)},{default:l(()=>o[4]||(o[4]=[s(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(r,{icon:e(i)(e(U)),onClick:o[2]||(o[2]=n=>e($)(c.value))},{default:l(()=>o[5]||(o[5]=[s(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(z),{title:"部门管理(仅演示,操作后不生效)",columns:e(x),tableRef:(g=d.value)==null?void 0:g.getTableRef(),onRefresh:e(b),onFullscreen:S},{buttons:l(()=>[t(r,{type:"primary",icon:e(i)(e(y)),onClick:o[3]||(o[3]=n=>e(f)())},{default:l(()=>o[6]||(o[6]=[s(" 新增部门 ")])),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:N})=>[t(F,{ref_key:"tableRef",ref:d,adaptive:"",adaptiveConfig:{offsetBottom:45},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(_),size:n,data:e(R),columns:N,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(w)},{operation:l(({row:p})=>[t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(E)),onClick:k=>e(f)("修改",p)},{default:l(()=>o[7]||(o[7]=[s(" 修改 ")])),_:2},1032,["size","icon","onClick"]),t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(y)),onClick:k=>e(f)("新增",{parentId:p.id})},{default:l(()=>o[8]||(o[8]=[s(" 新增 ")])),_:2},1032,["size","icon","onClick"]),t(I,{title:`是否确认删除部门名称为${p.name}的这条数据`,onConfirm:k=>e(V)(p)},{reference:l(()=>[t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(A))},{default:l(()=>o[9]||(o[9]=[s(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}}),ie=j(G,[["__scopeId","data-v-a781441c"]]);export{ie as default}; +import{useDept as P}from"./hook-LUmTCl-r.js";import{d as U,P as z}from"./refresh-DeEyTuf-.js";import{u as i}from"./hooks-BoDRUKFd.js";import{d as A}from"./delete-Ce0TSdK5.js";import{d as E}from"./edit-pen-Ci7W0xNM.js";import{d as y}from"./add-circle-line-DOJqVT3s.js";import{d as L,a as C,e as a,f as O,k as h,i as t,w as l,u as e,h as s,_ as j}from"./index-DqH6biyS.js";import"./form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js";import"./index-DZtY49CB.js";import"./hooks-CT5JiEcI.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const q={class:"main"},G=L({name:"SystemDept",__name:"index",setup(H){const c=C(),d=C(),{form:m,loading:_,columns:x,dataList:R,onSearch:b,resetForm:$,openDialog:f,handleDelete:V,handleSelectionChange:w}=P();function S(){d.value.setAdaptive()}return(J,o)=>{var g;const B=a("el-input"),u=a("el-form-item"),v=a("el-option"),D=a("el-select"),r=a("el-button"),T=a("el-form"),I=a("el-popconfirm"),F=a("pure-table");return O(),h("div",q,[t(T,{ref_key:"formRef",ref:c,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[t(u,{label:"部门名称:",prop:"name"},{default:l(()=>[t(B,{modelValue:e(m).name,"onUpdate:modelValue":o[0]||(o[0]=n=>e(m).name=n),placeholder:"请输入部门名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),t(u,{label:"状态:",prop:"status"},{default:l(()=>[t(D,{modelValue:e(m).status,"onUpdate:modelValue":o[1]||(o[1]=n=>e(m).status=n),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:l(()=>[t(v,{label:"启用",value:1}),t(v,{label:"停用",value:0})]),_:1},8,["modelValue"])]),_:1}),t(u,null,{default:l(()=>[t(r,{type:"primary",icon:e(i)("ri:search-line"),loading:e(_),onClick:e(b)},{default:l(()=>o[4]||(o[4]=[s(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(r,{icon:e(i)(e(U)),onClick:o[2]||(o[2]=n=>e($)(c.value))},{default:l(()=>o[5]||(o[5]=[s(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(z),{title:"部门管理(仅演示,操作后不生效)",columns:e(x),tableRef:(g=d.value)==null?void 0:g.getTableRef(),onRefresh:e(b),onFullscreen:S},{buttons:l(()=>[t(r,{type:"primary",icon:e(i)(e(y)),onClick:o[3]||(o[3]=n=>e(f)())},{default:l(()=>o[6]||(o[6]=[s(" 新增部门 ")])),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:N})=>[t(F,{ref_key:"tableRef",ref:d,adaptive:"",adaptiveConfig:{offsetBottom:45},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(_),size:n,data:e(R),columns:N,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(w)},{operation:l(({row:p})=>[t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(E)),onClick:k=>e(f)("修改",p)},{default:l(()=>o[7]||(o[7]=[s(" 修改 ")])),_:2},1032,["size","icon","onClick"]),t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(y)),onClick:k=>e(f)("新增",{parentId:p.id})},{default:l(()=>o[8]||(o[8]=[s(" 新增 ")])),_:2},1032,["size","icon","onClick"]),t(I,{title:`是否确认删除部门名称为${p.name}的这条数据`,onConfirm:k=>e(V)(p)},{reference:l(()=>[t(r,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(i)(e(A))},{default:l(()=>o[9]||(o[9]=[s(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}}),ie=j(G,[["__scopeId","data-v-a781441c"]]);export{ie as default}; diff --git a/static/js/index-BNinRoAM.js b/static/js/index-BNinRoAM.js new file mode 100644 index 0000000000..87459dea81 --- /dev/null +++ b/static/js/index-BNinRoAM.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CGnGD0Ts.js";import"./columns-Du5B4AnY.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-BOKpa1YJ.js b/static/js/index-BOKpa1YJ.js deleted file mode 100644 index f9012dfb45..0000000000 --- a/static/js/index-BOKpa1YJ.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BNbMfzQc.js";import"./columns-N69ho3Xb.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-BTCtAhSj.js b/static/js/index-BTCtAhSj.js deleted file mode 100644 index c258a6adb1..0000000000 --- a/static/js/index-BTCtAhSj.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-Q9Gd_OeO.js";import"./columns-B8xO-q65.js";import"./index-AFhnwzwZ.js";import"./data-Ym5jS6hg.js";export{o as default}; diff --git a/static/js/index-DCGfcDpT.js b/static/js/index-BTthmtX0.js similarity index 97% rename from static/js/index-DCGfcDpT.js rename to static/js/index-BTthmtX0.js index c4cf58d5aa..8517d1f771 100644 --- a/static/js/index-DCGfcDpT.js +++ b/static/js/index-BTthmtX0.js @@ -1 +1 @@ -import{d as ou,a,ad as f,b as iu,w as t,e as d,ae as ru,f as du,g as k,h as n,i as e,u as D,af as i,W as su,ag as R,F as b,L as v,J as s,ah as m,ai as au}from"./index-AFhnwzwZ.js";import{_ as fu}from"./formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js";import{_ as E}from"./form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js";const Cu={class:"card-header"},Fu={class:"font-medium"},ku=ou({name:"DialogPage",__name:"index",setup(Bu){const g=ru();function w(){i({title:"基础用法",contentRenderer:()=>e("p",null,[n("弹框内容-基础用法")])})}function $(){i({title:"可拖拽",draggable:!0,contentRenderer:()=>v("p","弹框内容-可拖拽")})}function x(){i({title:"全屏",fullscreen:!0,contentRenderer:()=>e("p",null,"弹框内容-全屏")})}function y(){i({title:"全屏按钮和全屏事件",fullscreenIcon:!0,fullscreenCallBack:({options:o,index:u})=>s(o.fullscreen?"全屏":"非全屏"),contentRenderer:()=>e("p",null,[n("弹框内容-全屏按钮和全屏事件")])})}function I(){i({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[n("弹框内容-无背景遮罩层")])})}function P(){i({title:"自定义弹出位置",top:"60vh",style:{marginRight:"20px"},contentRenderer:()=>e("p",null,[n("弹框内容-自定义弹出位置")])})}const S=su(()=>i({title:"延时2秒打开弹框",openDelay:1400,contentRenderer:()=>e("p",null,[n("弹框内容-延时2秒打开弹框")])}),600);function O(){i({title:"延时2秒关闭弹框",closeDelay:2e3,contentRenderer:()=>e("p",null,[n("弹框内容-延时2秒关闭弹框")])})}function T(){i({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[n("弹框内容-不显示右上角关闭按钮图标")])})}function N(){i({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[n("弹框内容-禁止通过键盘ESC关闭")])})}function z(){i({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[n("弹框内容-禁止通过点击modal关闭")])})}function L(){i({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[n("弹框内容-隐藏底部取消、确定按钮")])})}function H(){i({title:"自定义头部",showClose:!1,headerRenderer:({close:o,titleId:u,titleClass:r})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:u,class:r},[n("自定义头部")]),e(d("el-button"),{type:"danger",onClick:o},{default:()=>[n("关闭")]})]),contentRenderer:()=>e("p",null,[n("弹框内容-自定义头部")])})}function M(){i({title:"自定义底部",footerRenderer:({options:o,index:u})=>e(d("el-button"),{onClick:()=>m(o,u)},{default:()=>[o.title,n("-"),u]}),contentRenderer:()=>e("p",null,[n("弹框内容-自定义底部")])})}function V(){i({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}},{label:"按钮2",text:!0,bg:!0,btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}},{label:"按钮3",size:"large",type:"warning",btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}}],contentRenderer:()=>e("p",null,[n("弹框内容-自定义底部按钮")])})}function U(){i({title:"打开后的回调",open:({options:o,index:u})=>s({options:o,index:u}),contentRenderer:()=>e("p",null,[n("弹框内容-打开后的回调")])})}function W(){i({title:"关闭后的回调",closeCallBack:({options:o,index:u,args:r})=>{let l="";(r==null?void 0:r.command)==="cancel"?l="您点击了取消按钮":(r==null?void 0:r.command)==="sure"?l="您点击了确定按钮":l="您点击了右上角关闭按钮或空白页或按下了esc键",s(l)},contentRenderer:()=>e("p",null,[n("弹框内容-关闭后的回调")])})}function j(){i({title:"嵌套的弹框",contentRenderer:({index:o})=>e(d("el-button"),{onClick:()=>i({title:`第${o+1}个子弹框`,width:"40%",contentRenderer:({index:u})=>e(d("el-button"),{onClick:()=>i({title:`第${u+1}个子弹框`,width:"30%",contentRenderer:()=>e(b,null,[e(d("el-button"),{round:!0,onClick:()=>au()},{default:()=>[n("哎呦,你干嘛,赶快关闭所有弹框")]})])})},{default:()=>[n("点击打开第"),u+1,n("个子弹框")]})})},{default:()=>[n("点击打开第"),o+1,n("个子弹框")]})})}function J(){const o=a(1);i({title:`第${o.value}页`,contentRenderer:()=>e(b,null,[e(d("el-button"),{disabled:!(o.value>1),onClick:()=>{o.value-=1,R(`第${o.value}页`)}},{default:()=>[n("上一页")]}),e(d("el-button"),{onClick:()=>{o.value+=1,R(`第${o.value}页`)}},{default:()=>[n("下一页")]})])})}function _(){i({width:"30%",title:"Popconfirm确认框示例",popconfirm:{title:"是否确认修改当前数据"},contentRenderer:()=>e("p",null,[n("点击右下方确定按钮看看效果吧")])})}function q(){i({width:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>E,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:o,args:u})=>{const{formInline:r}=o.props,l=`姓名:${r.user} 城市:${r.region}`;(u==null?void 0:u.command)==="cancel"?s(`您点击了取消按钮,当前表单数据为 ${l}`):(u==null?void 0:u.command)==="sure"?s(`您点击了确定按钮,当前表单数据为 ${l}`):s(`您点击了右上角关闭按钮或空白页或按下了esc键,当前表单数据为 ${l}`)}})}const C=a({user:"菜虚鲲",region:"浙江"}),G=f(C.value);function K(){i({width:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>v(E,{formInline:C.value}),closeCallBack:()=>{s(`当前表单数据为 姓名:${C.value.user} 城市:${C.value.region}`),C.value=f(G)}})}const F=a({user:"菜虚鲲",region:"浙江"}),Q=f(F.value);function X(){i({width:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(E,{formInline:F.value}),closeCallBack:()=>{s(`当前表单数据为 姓名:${F.value.user} 城市:${F.value.region}`),F.value=f(Q)}})}const B=a({user:"菜虚鲲",region:"浙江"}),Y=f(B.value);function Z(){i({width:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(E,{formInline:B.value},null),closeCallBack:()=>{s(`当前表单数据为 姓名:${B.value.user} 城市:${B.value.region}`),B.value=f(Y)}})}const c=a("Hello World"),h=a(c.value);function uu(){i({width:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>v(fu,{data:c.value,"onUpdate:data":o=>c.value=o}),closeCallBack:()=>{s(`当前表单内容:${c.value}`),c.value=h.value}})}function eu(){i({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部取消按钮的回调(会暂停弹框的关闭)")]),beforeCancel:(o,{options:u,index:r})=>{}})}function nu(){i({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、修改弹框内容后调用接口)")]),beforeSure:(o,{options:u,index:r})=>{}})}function lu(){i({sureBtnLoading:!0,title:"点击底部确定按钮可开启按钮动画",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部确定按钮可开启按钮动画")]),beforeSure:(o,{closeLoading:u})=>{setTimeout(()=>o(),800)}})}return(o,u)=>{const r=d("el-link"),l=d("el-button"),p=d("el-space"),A=d("el-divider"),tu=d("el-card");return du(),iu(tu,{shadow:"never"},{header:t(()=>[k("div",Cu,[k("span",Fu,[u[2]||(u[2]=n(" 二次封装 Element Plus 的 ")),e(r,{href:"https://element-plus.org/zh-CN/component/dialog.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>u[1]||(u[1]=[n(" Dialog ")])),_:1}),u[3]||(u[3]=n(" ,采用函数式调用弹框组件(更多操作实例请参考 ")),k("span",{class:"cursor-pointer text-primary",onClick:u[0]||(u[0]=cu=>D(g).push({name:"SystemDept"}))}," 系统管理页面 "),u[4]||(u[4]=n(" ) "))])]),e(r,{href:"https://github.com/pure-admin/vue-pure-admin/tree/main/src/views/components/dialog",target:"_blank"},{default:t(()=>u[5]||(u[5]=[n(" 代码位置 src/views/components/dialog ")])),_:1})]),default:t(()=>[e(p,{wrap:""},{default:t(()=>[e(l,{onClick:w},{default:t(()=>u[6]||(u[6]=[n(" 基础用法 ")])),_:1}),e(l,{onClick:$},{default:t(()=>u[7]||(u[7]=[n(" 可拖拽 ")])),_:1}),e(l,{onClick:x},{default:t(()=>u[8]||(u[8]=[n(" 全屏 ")])),_:1}),e(l,{onClick:y},{default:t(()=>u[9]||(u[9]=[n(" 全屏按钮和全屏事件 ")])),_:1}),e(l,{onClick:I},{default:t(()=>u[10]||(u[10]=[n(" 无背景遮罩层 ")])),_:1}),e(l,{onClick:P},{default:t(()=>u[11]||(u[11]=[n(" 自定义弹出位置 ")])),_:1}),e(l,{onClick:D(S)},{default:t(()=>u[12]||(u[12]=[n(" 延时2秒打开弹框 ")])),_:1},8,["onClick"]),e(l,{onClick:O},{default:t(()=>u[13]||(u[13]=[n(" 延时2秒关闭弹框 ")])),_:1}),e(l,{onClick:T},{default:t(()=>u[14]||(u[14]=[n(" 不显示右上角关闭按钮图标 ")])),_:1}),e(l,{onClick:N},{default:t(()=>u[15]||(u[15]=[n(" 禁止通过键盘ESC关闭 ")])),_:1}),e(l,{onClick:z},{default:t(()=>u[16]||(u[16]=[n(" 禁止通过点击modal关闭 ")])),_:1}),e(l,{onClick:L},{default:t(()=>u[17]||(u[17]=[n(" 隐藏底部取消、确定按钮 ")])),_:1}),e(l,{onClick:H},{default:t(()=>u[18]||(u[18]=[n(" 自定义头部 ")])),_:1}),e(l,{onClick:M},{default:t(()=>u[19]||(u[19]=[n(" 自定义底部 ")])),_:1}),e(l,{onClick:V},{default:t(()=>u[20]||(u[20]=[n(" 自定义底部按钮 ")])),_:1}),e(l,{onClick:U},{default:t(()=>u[21]||(u[21]=[n(" 打开后的回调 ")])),_:1}),e(l,{onClick:W},{default:t(()=>u[22]||(u[22]=[n(" 关闭后的回调 ")])),_:1}),e(l,{onClick:j},{default:t(()=>u[23]||(u[23]=[n(" 嵌套的弹框 ")])),_:1}),e(l,{onClick:J},{default:t(()=>u[24]||(u[24]=[n(" 更改弹框自身属性值 ")])),_:1}),e(l,{onClick:_},{default:t(()=>u[25]||(u[25]=[n("Popconfirm确认框")])),_:1})]),_:1}),e(A),e(p,{wrap:""},{default:t(()=>[e(l,{onClick:q},{default:t(()=>u[26]||(u[26]=[n(" 结合Form表单(第一种方式) ")])),_:1}),e(l,{onClick:K},{default:t(()=>u[27]||(u[27]=[n(" 结合Form表单(第二种方式) ")])),_:1}),e(l,{onClick:X},{default:t(()=>u[28]||(u[28]=[n(" 结合Form表单(第三种方式) ")])),_:1}),e(l,{onClick:Z},{default:t(()=>u[29]||(u[29]=[n(" 结合Form表单(第四种方式) ")])),_:1}),e(l,{onClick:uu},{default:t(()=>u[30]||(u[30]=[n(" 子组件 prop 为 primitive 类型 ")])),_:1})]),_:1}),e(A),e(p,{wrap:""},{default:t(()=>[e(l,{onClick:eu},{default:t(()=>u[31]||(u[31]=[n(" 点击底部取消按钮的回调(会暂停弹框的关闭) ")])),_:1}),e(l,{onClick:nu},{default:t(()=>u[32]||(u[32]=[n(" 点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、修改弹框内容后调用接口) ")])),_:1}),e(l,{onClick:lu},{default:t(()=>u[33]||(u[33]=[n(" 点击底部确定按钮可开启按钮动画 ")])),_:1})]),_:1})]),_:1})}}});export{ku as default}; +import{d as ou,a,ad as f,b as iu,w as t,e as d,ae as ru,f as du,g as k,h as n,i as e,u as D,af as i,W as su,ag as R,F as b,L as v,J as s,ah as m,ai as au}from"./index-DqH6biyS.js";import{_ as fu}from"./formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js";import{_ as E}from"./form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js";const Cu={class:"card-header"},Fu={class:"font-medium"},ku=ou({name:"DialogPage",__name:"index",setup(Bu){const g=ru();function w(){i({title:"基础用法",contentRenderer:()=>e("p",null,[n("弹框内容-基础用法")])})}function $(){i({title:"可拖拽",draggable:!0,contentRenderer:()=>v("p","弹框内容-可拖拽")})}function x(){i({title:"全屏",fullscreen:!0,contentRenderer:()=>e("p",null,"弹框内容-全屏")})}function y(){i({title:"全屏按钮和全屏事件",fullscreenIcon:!0,fullscreenCallBack:({options:o,index:u})=>s(o.fullscreen?"全屏":"非全屏"),contentRenderer:()=>e("p",null,[n("弹框内容-全屏按钮和全屏事件")])})}function I(){i({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[n("弹框内容-无背景遮罩层")])})}function P(){i({title:"自定义弹出位置",top:"60vh",style:{marginRight:"20px"},contentRenderer:()=>e("p",null,[n("弹框内容-自定义弹出位置")])})}const S=su(()=>i({title:"延时2秒打开弹框",openDelay:1400,contentRenderer:()=>e("p",null,[n("弹框内容-延时2秒打开弹框")])}),600);function O(){i({title:"延时2秒关闭弹框",closeDelay:2e3,contentRenderer:()=>e("p",null,[n("弹框内容-延时2秒关闭弹框")])})}function T(){i({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[n("弹框内容-不显示右上角关闭按钮图标")])})}function N(){i({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[n("弹框内容-禁止通过键盘ESC关闭")])})}function z(){i({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[n("弹框内容-禁止通过点击modal关闭")])})}function L(){i({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[n("弹框内容-隐藏底部取消、确定按钮")])})}function H(){i({title:"自定义头部",showClose:!1,headerRenderer:({close:o,titleId:u,titleClass:r})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:u,class:r},[n("自定义头部")]),e(d("el-button"),{type:"danger",onClick:o},{default:()=>[n("关闭")]})]),contentRenderer:()=>e("p",null,[n("弹框内容-自定义头部")])})}function M(){i({title:"自定义底部",footerRenderer:({options:o,index:u})=>e(d("el-button"),{onClick:()=>m(o,u)},{default:()=>[o.title,n("-"),u]}),contentRenderer:()=>e("p",null,[n("弹框内容-自定义底部")])})}function V(){i({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}},{label:"按钮2",text:!0,bg:!0,btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}},{label:"按钮3",size:"large",type:"warning",btnClick:({dialog:{options:o,index:u},button:r})=>{m(o,u)}}],contentRenderer:()=>e("p",null,[n("弹框内容-自定义底部按钮")])})}function U(){i({title:"打开后的回调",open:({options:o,index:u})=>s({options:o,index:u}),contentRenderer:()=>e("p",null,[n("弹框内容-打开后的回调")])})}function W(){i({title:"关闭后的回调",closeCallBack:({options:o,index:u,args:r})=>{let l="";(r==null?void 0:r.command)==="cancel"?l="您点击了取消按钮":(r==null?void 0:r.command)==="sure"?l="您点击了确定按钮":l="您点击了右上角关闭按钮或空白页或按下了esc键",s(l)},contentRenderer:()=>e("p",null,[n("弹框内容-关闭后的回调")])})}function j(){i({title:"嵌套的弹框",contentRenderer:({index:o})=>e(d("el-button"),{onClick:()=>i({title:`第${o+1}个子弹框`,width:"40%",contentRenderer:({index:u})=>e(d("el-button"),{onClick:()=>i({title:`第${u+1}个子弹框`,width:"30%",contentRenderer:()=>e(b,null,[e(d("el-button"),{round:!0,onClick:()=>au()},{default:()=>[n("哎呦,你干嘛,赶快关闭所有弹框")]})])})},{default:()=>[n("点击打开第"),u+1,n("个子弹框")]})})},{default:()=>[n("点击打开第"),o+1,n("个子弹框")]})})}function J(){const o=a(1);i({title:`第${o.value}页`,contentRenderer:()=>e(b,null,[e(d("el-button"),{disabled:!(o.value>1),onClick:()=>{o.value-=1,R(`第${o.value}页`)}},{default:()=>[n("上一页")]}),e(d("el-button"),{onClick:()=>{o.value+=1,R(`第${o.value}页`)}},{default:()=>[n("下一页")]})])})}function _(){i({width:"30%",title:"Popconfirm确认框示例",popconfirm:{title:"是否确认修改当前数据"},contentRenderer:()=>e("p",null,[n("点击右下方确定按钮看看效果吧")])})}function q(){i({width:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>E,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:o,args:u})=>{const{formInline:r}=o.props,l=`姓名:${r.user} 城市:${r.region}`;(u==null?void 0:u.command)==="cancel"?s(`您点击了取消按钮,当前表单数据为 ${l}`):(u==null?void 0:u.command)==="sure"?s(`您点击了确定按钮,当前表单数据为 ${l}`):s(`您点击了右上角关闭按钮或空白页或按下了esc键,当前表单数据为 ${l}`)}})}const C=a({user:"菜虚鲲",region:"浙江"}),G=f(C.value);function K(){i({width:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>v(E,{formInline:C.value}),closeCallBack:()=>{s(`当前表单数据为 姓名:${C.value.user} 城市:${C.value.region}`),C.value=f(G)}})}const F=a({user:"菜虚鲲",region:"浙江"}),Q=f(F.value);function X(){i({width:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(E,{formInline:F.value}),closeCallBack:()=>{s(`当前表单数据为 姓名:${F.value.user} 城市:${F.value.region}`),F.value=f(Q)}})}const B=a({user:"菜虚鲲",region:"浙江"}),Y=f(B.value);function Z(){i({width:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(E,{formInline:B.value},null),closeCallBack:()=>{s(`当前表单数据为 姓名:${B.value.user} 城市:${B.value.region}`),B.value=f(Y)}})}const c=a("Hello World"),h=a(c.value);function uu(){i({width:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>v(fu,{data:c.value,"onUpdate:data":o=>c.value=o}),closeCallBack:()=>{s(`当前表单内容:${c.value}`),c.value=h.value}})}function eu(){i({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部取消按钮的回调(会暂停弹框的关闭)")]),beforeCancel:(o,{options:u,index:r})=>{}})}function nu(){i({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、修改弹框内容后调用接口)")]),beforeSure:(o,{options:u,index:r})=>{}})}function lu(){i({sureBtnLoading:!0,title:"点击底部确定按钮可开启按钮动画",contentRenderer:()=>e("p",null,[n("弹框内容-点击底部确定按钮可开启按钮动画")]),beforeSure:(o,{closeLoading:u})=>{setTimeout(()=>o(),800)}})}return(o,u)=>{const r=d("el-link"),l=d("el-button"),p=d("el-space"),A=d("el-divider"),tu=d("el-card");return du(),iu(tu,{shadow:"never"},{header:t(()=>[k("div",Cu,[k("span",Fu,[u[2]||(u[2]=n(" 二次封装 Element Plus 的 ")),e(r,{href:"https://element-plus.org/zh-CN/component/dialog.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>u[1]||(u[1]=[n(" Dialog ")])),_:1}),u[3]||(u[3]=n(" ,采用函数式调用弹框组件(更多操作实例请参考 ")),k("span",{class:"cursor-pointer text-primary",onClick:u[0]||(u[0]=cu=>D(g).push({name:"SystemDept"}))}," 系统管理页面 "),u[4]||(u[4]=n(" ) "))])]),e(r,{href:"https://github.com/pure-admin/vue-pure-admin/tree/main/src/views/components/dialog",target:"_blank"},{default:t(()=>u[5]||(u[5]=[n(" 代码位置 src/views/components/dialog ")])),_:1})]),default:t(()=>[e(p,{wrap:""},{default:t(()=>[e(l,{onClick:w},{default:t(()=>u[6]||(u[6]=[n(" 基础用法 ")])),_:1}),e(l,{onClick:$},{default:t(()=>u[7]||(u[7]=[n(" 可拖拽 ")])),_:1}),e(l,{onClick:x},{default:t(()=>u[8]||(u[8]=[n(" 全屏 ")])),_:1}),e(l,{onClick:y},{default:t(()=>u[9]||(u[9]=[n(" 全屏按钮和全屏事件 ")])),_:1}),e(l,{onClick:I},{default:t(()=>u[10]||(u[10]=[n(" 无背景遮罩层 ")])),_:1}),e(l,{onClick:P},{default:t(()=>u[11]||(u[11]=[n(" 自定义弹出位置 ")])),_:1}),e(l,{onClick:D(S)},{default:t(()=>u[12]||(u[12]=[n(" 延时2秒打开弹框 ")])),_:1},8,["onClick"]),e(l,{onClick:O},{default:t(()=>u[13]||(u[13]=[n(" 延时2秒关闭弹框 ")])),_:1}),e(l,{onClick:T},{default:t(()=>u[14]||(u[14]=[n(" 不显示右上角关闭按钮图标 ")])),_:1}),e(l,{onClick:N},{default:t(()=>u[15]||(u[15]=[n(" 禁止通过键盘ESC关闭 ")])),_:1}),e(l,{onClick:z},{default:t(()=>u[16]||(u[16]=[n(" 禁止通过点击modal关闭 ")])),_:1}),e(l,{onClick:L},{default:t(()=>u[17]||(u[17]=[n(" 隐藏底部取消、确定按钮 ")])),_:1}),e(l,{onClick:H},{default:t(()=>u[18]||(u[18]=[n(" 自定义头部 ")])),_:1}),e(l,{onClick:M},{default:t(()=>u[19]||(u[19]=[n(" 自定义底部 ")])),_:1}),e(l,{onClick:V},{default:t(()=>u[20]||(u[20]=[n(" 自定义底部按钮 ")])),_:1}),e(l,{onClick:U},{default:t(()=>u[21]||(u[21]=[n(" 打开后的回调 ")])),_:1}),e(l,{onClick:W},{default:t(()=>u[22]||(u[22]=[n(" 关闭后的回调 ")])),_:1}),e(l,{onClick:j},{default:t(()=>u[23]||(u[23]=[n(" 嵌套的弹框 ")])),_:1}),e(l,{onClick:J},{default:t(()=>u[24]||(u[24]=[n(" 更改弹框自身属性值 ")])),_:1}),e(l,{onClick:_},{default:t(()=>u[25]||(u[25]=[n("Popconfirm确认框")])),_:1})]),_:1}),e(A),e(p,{wrap:""},{default:t(()=>[e(l,{onClick:q},{default:t(()=>u[26]||(u[26]=[n(" 结合Form表单(第一种方式) ")])),_:1}),e(l,{onClick:K},{default:t(()=>u[27]||(u[27]=[n(" 结合Form表单(第二种方式) ")])),_:1}),e(l,{onClick:X},{default:t(()=>u[28]||(u[28]=[n(" 结合Form表单(第三种方式) ")])),_:1}),e(l,{onClick:Z},{default:t(()=>u[29]||(u[29]=[n(" 结合Form表单(第四种方式) ")])),_:1}),e(l,{onClick:uu},{default:t(()=>u[30]||(u[30]=[n(" 子组件 prop 为 primitive 类型 ")])),_:1})]),_:1}),e(A),e(p,{wrap:""},{default:t(()=>[e(l,{onClick:eu},{default:t(()=>u[31]||(u[31]=[n(" 点击底部取消按钮的回调(会暂停弹框的关闭) ")])),_:1}),e(l,{onClick:nu},{default:t(()=>u[32]||(u[32]=[n(" 点击底部确定按钮的回调(会暂停弹框的关闭,经常用于新增、修改弹框内容后调用接口) ")])),_:1}),e(l,{onClick:lu},{default:t(()=>u[33]||(u[33]=[n(" 点击底部确定按钮可开启按钮动画 ")])),_:1})]),_:1})]),_:1})}}});export{ku as default}; diff --git a/static/js/index-BUwyf7U5.js b/static/js/index-BUwyf7U5.js deleted file mode 100644 index 87bf883e60..0000000000 --- a/static/js/index-BUwyf7U5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-ldfwpCAC.js";import"./columns-BncLCxvV.js";import"./print-B-zH8tbv.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-D2nJixOM.js b/static/js/index-BXZN_yAk.js similarity index 80% rename from static/js/index-D2nJixOM.js rename to static/js/index-BXZN_yAk.js index 7a41b4a6d8..17dd0c527e 100644 --- a/static/js/index-D2nJixOM.js +++ b/static/js/index-BXZN_yAk.js @@ -1 +1 @@ -import{_ as v}from"./EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js";import{_ as x}from"./EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js";import{_ as k}from"./EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js";import{d as w,a as g,b as s,w as t,e as n,f as l,g as p,h as m,i as a,u as d,j as i,_ as V}from"./index-AFhnwzwZ.js";import"./index.esm-CPkU7_3x.js";import"./index-BSGz-TY2.js";const b={class:"card-header"},h={class:"font-medium"},N=w({name:"Editor",__name:"index",setup(y){const o=g("1");return(C,e)=>{const _=n("el-link"),r=n("el-collapse-item"),c=n("el-collapse"),u=n("el-card");return l(),s(u,{shadow:"never"},{header:t(()=>[p("div",b,[p("span",h,[e[2]||(e[2]=m(" 编辑器组件,采用开源的 ")),a(_,{href:"https://www.wangeditor.com",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[1]||(e[1]=[m(" Wangeditor ")])),_:1})])]),a(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/editor",target:"_blank"},{default:t(()=>e[3]||(e[3]=[m(" 代码位置 src/views/editor ")])),_:1})]),default:t(()=>[a(c,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=f=>o.value=f),accordion:""},{default:t(()=>[a(r,{title:"基础用法",name:"1"},{default:t(()=>[o.value==="1"?(l(),s(d(v),{key:0})):i("",!0)]),_:1}),a(r,{title:"多个富文本",name:"2"},{default:t(()=>[o.value==="2"?(l(),s(d(x),{key:0})):i("",!0)]),_:1}),a(r,{title:"自定义图片上传",name:"3"},{default:t(()=>[o.value==="3"?(l(),s(d(k),{key:0})):i("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),T=V(N,[["__scopeId","data-v-290e0d45"]]);export{T as default}; +import{_ as v}from"./EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js";import{_ as x}from"./EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js";import{_ as k}from"./EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js";import{d as w,a as g,b as s,w as t,e as n,f as l,g as p,h as m,i as a,u as d,j as i,_ as V}from"./index-DqH6biyS.js";import"./index.esm--zOXc_VX.js";import"./index-DZtY49CB.js";const b={class:"card-header"},h={class:"font-medium"},N=w({name:"Editor",__name:"index",setup(y){const o=g("1");return(C,e)=>{const _=n("el-link"),r=n("el-collapse-item"),c=n("el-collapse"),u=n("el-card");return l(),s(u,{shadow:"never"},{header:t(()=>[p("div",b,[p("span",h,[e[2]||(e[2]=m(" 编辑器组件,采用开源的 ")),a(_,{href:"https://www.wangeditor.com",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[1]||(e[1]=[m(" Wangeditor ")])),_:1})])]),a(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/editor",target:"_blank"},{default:t(()=>e[3]||(e[3]=[m(" 代码位置 src/views/editor ")])),_:1})]),default:t(()=>[a(c,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=f=>o.value=f),accordion:""},{default:t(()=>[a(r,{title:"基础用法",name:"1"},{default:t(()=>[o.value==="1"?(l(),s(d(v),{key:0})):i("",!0)]),_:1}),a(r,{title:"多个富文本",name:"2"},{default:t(()=>[o.value==="2"?(l(),s(d(x),{key:0})):i("",!0)]),_:1}),a(r,{title:"自定义图片上传",name:"3"},{default:t(()=>[o.value==="3"?(l(),s(d(k),{key:0})):i("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),T=V(N,[["__scopeId","data-v-290e0d45"]]);export{T as default}; diff --git a/static/js/index-yazkDSWc.js b/static/js/index-Bah6OOSX.js similarity index 95% rename from static/js/index-yazkDSWc.js rename to static/js/index-Bah6OOSX.js index 0b8deca179..00a6290595 100644 --- a/static/js/index-yazkDSWc.js +++ b/static/js/index-Bah6OOSX.js @@ -1 +1 @@ -import{d as k,p as w,a as x,g0 as i,e as n,f as m,k as d,g as o,i as l,w as t,t as y,h,F as C,l as V,s as S,ax as B,a7 as N,gd as P}from"./index-AFhnwzwZ.js";const U={class:"card-header"},j=k({name:"PermissionPage",__name:"index",setup(F){var r;const c=w(()=>({width:"85vw",justifyContent:"start"})),s=x((r=i())==null?void 0:r.username),p=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function v(){i().loginByUsername({username:s.value,password:"admin123"}).then(u=>{u.success&&(B().removeItem("async-routes"),N().clearAllCachePage(),P())})}return(u,e)=>{const _=n("el-link"),f=n("el-option"),g=n("el-select"),b=n("el-card");return m(),d("div",null,[e[2]||(e[2]=o("p",{class:"mb-2"}," 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ",-1)),l(b,{shadow:"never",style:S(c.value)},{header:t(()=>[o("div",U,[o("span",null,"当前角色:"+y(s.value),1)]),l(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/permission/page/index.vue",target:"_blank"},{default:t(()=>e[1]||(e[1]=[h(" 代码位置 src/views/permission/page/index.vue ")])),_:1})]),default:t(()=>[l(g,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=a=>s.value=a),class:"!w-[160px]",onChange:v},{default:t(()=>[(m(),d(C,null,V(p,a=>l(f,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])])}}});export{j as default}; +import{d as k,p as w,a as x,g0 as i,e as n,f as m,k as d,g as o,i as l,w as t,t as y,h,F as C,l as V,s as S,ax as B,a7 as N,gd as P}from"./index-DqH6biyS.js";const U={class:"card-header"},j=k({name:"PermissionPage",__name:"index",setup(F){var r;const c=w(()=>({width:"85vw",justifyContent:"start"})),s=x((r=i())==null?void 0:r.username),p=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function v(){i().loginByUsername({username:s.value,password:"admin123"}).then(u=>{u.success&&(B().removeItem("async-routes"),N().clearAllCachePage(),P())})}return(u,e)=>{const _=n("el-link"),f=n("el-option"),g=n("el-select"),b=n("el-card");return m(),d("div",null,[e[2]||(e[2]=o("p",{class:"mb-2"}," 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ",-1)),l(b,{shadow:"never",style:S(c.value)},{header:t(()=>[o("div",U,[o("span",null,"当前角色:"+y(s.value),1)]),l(_,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/permission/page/index.vue",target:"_blank"},{default:t(()=>e[1]||(e[1]=[h(" 代码位置 src/views/permission/page/index.vue ")])),_:1})]),default:t(()=>[l(g,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=a=>s.value=a),class:"!w-[160px]",onChange:v},{default:t(()=>[(m(),d(C,null,V(p,a=>l(f,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])])}}});export{j as default}; diff --git a/static/js/index-sLU0v2yw.js b/static/js/index-Bap_hJ3C.js similarity index 99% rename from static/js/index-sLU0v2yw.js rename to static/js/index-Bap_hJ3C.js index e62200999d..356679b621 100644 --- a/static/js/index-sLU0v2yw.js +++ b/static/js/index-Bap_hJ3C.js @@ -1,4 +1,4 @@ -var mA=Object.defineProperty,_A=Object.defineProperties;var OA=Object.getOwnPropertyDescriptors;var A1=Object.getOwnPropertySymbols;var wA=Object.prototype.hasOwnProperty,xA=Object.prototype.propertyIsEnumerable;var M1=(i,u,a)=>u in i?mA(i,u,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[u]=a,T1=(i,u)=>{for(var a in u||(u={}))wA.call(u,a)&&M1(i,a,u[a]);if(A1)for(var a of A1(u))xA.call(u,a)&&M1(i,a,u[a]);return i},k1=(i,u)=>_A(i,OA(u));import{bp as Fc,bq as Di,br as en,bs as D1,bt as Ci,bu as Op,bv as Ca,bw as $c,bx as HO,by as oi,bz as ci,bA as Fn,bB as EA,bC as Ii,bD as cm,bE as SA,bF as wp,bG as ii,bH as xp,bI as XO,bJ as Du,bK as sy,bL as Oo,bM as YO,bN as La,bO as VO,bP as Uc,bQ as Nu,bR as sm,bS as cn,bT as ly,bU as _l,bV as Ni,bW as Mn,bX as Ra,bY as _o,bZ as Ol,b_ as Ep,b$ as si,c0 as Tr,c1 as qt,c2 as Gc,c3 as jA,c4 as wl,c5 as KO,c6 as Ia,c7 as qO,c8 as ZO,c9 as $b,ca as _r,cb as ai,cc as PA,cd as AA,ce as Sp,cf as JO,cg as Hc,ch as QO,ci as za,cj as ew,ck as lm,cl as MA,cm as xl,cn as TA,co as Tu,cp as jp,cq as tw,cr as nw,cs as kA,ct as bl,cu as fm,cv as pm,cw as rw,cx as ow,cy as DA,cz as iw,cA as aw,cB as NA,cC as uw,cD as RA,cE as CA,cF as IA,cG as LA,cH as Vh,cI as zA,cJ as BA,cK as FA,cL as cw,cM as sw,cN as lw,cO as fw,cP as dm,cQ as pw,cR as WA,cS as $A,cT as UA,cU as GA,cV as Wc,cW as HA,cX as XA,cY as YA,cZ as VA,c_ as KA,c$ as qA,d0 as ZA,d1 as JA,d2 as QA,d3 as e2,d4 as t2,d5 as n2,d6 as r2,d7 as o2,d8 as i2,d9 as a2,da as u2,db as c2,dc as s2,dd as l2,de as f2,df as p2,dg as d2,dh as h2,di as y2,dj as v2,S as g2,d as fy,a as Na,m as dw,u as zo,k as Pu,g as Au,F as hw,l as yw,A as b2,f as ri,q as N1,B as m2,s as R1,v as vw,_ as hm,j as Ub,t as _2,b as Uh,V as ym,w as ll,e as Bh,h as Rb,i as lp}from"./index-AFhnwzwZ.js";import{c as O2,b as w2,o as x2}from"./orderBy-CFx0eenJ.js";import{S as E2}from"./vue-json-pretty-DYIyI-em.js";var S2=NaN;function C1(i){return typeof i=="number"?i:Fc(i)?S2:+i}function py(i,u){return function(a,f){var o;if(a===void 0&&f===void 0)return u;if(a!==void 0&&(o=a),f!==void 0){if(o===void 0)return f;typeof a=="string"||typeof f=="string"?(a=Di(a),f=Di(f)):(a=C1(a),f=C1(f)),o=i(a,f)}return o}}var j2=py(function(i,u){return i+u},0),P2="Expected a function";function A2(i,u){if(typeof u!="function")throw new TypeError(P2);return i=en(i),function(){if(--i<1)return u.apply(this,arguments)}}var Kh=D1&&new D1,gw=Kh?function(i,u){return Kh.set(i,u),i}:Ci;function _p(i){return function(){var u=arguments;switch(u.length){case 0:return new i;case 1:return new i(u[0]);case 2:return new i(u[0],u[1]);case 3:return new i(u[0],u[1],u[2]);case 4:return new i(u[0],u[1],u[2],u[3]);case 5:return new i(u[0],u[1],u[2],u[3],u[4]);case 6:return new i(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new i(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var a=Op(i.prototype),f=i.apply(a,u);return Ca(f)?f:a}}var M2=1;function T2(i,u,a){var f=u&M2,o=_p(i);function d(){var h=this&&this!==$c&&this instanceof d?o:i;return h.apply(f?a:this,arguments)}return d}var k2=Math.max;function bw(i,u,a,f){for(var o=-1,d=i.length,h=a.length,m=-1,g=u.length,E=k2(d-h,0),P=Array(g+E),j=!f;++m1?"& ":"")+u[f],u=u.join(a>2?", ":" "),i.replace($2,`{ +var mA=Object.defineProperty,_A=Object.defineProperties;var OA=Object.getOwnPropertyDescriptors;var A1=Object.getOwnPropertySymbols;var wA=Object.prototype.hasOwnProperty,xA=Object.prototype.propertyIsEnumerable;var M1=(i,u,a)=>u in i?mA(i,u,{enumerable:!0,configurable:!0,writable:!0,value:a}):i[u]=a,T1=(i,u)=>{for(var a in u||(u={}))wA.call(u,a)&&M1(i,a,u[a]);if(A1)for(var a of A1(u))xA.call(u,a)&&M1(i,a,u[a]);return i},k1=(i,u)=>_A(i,OA(u));import{bp as Fc,bq as Di,br as en,bs as D1,bt as Ci,bu as Op,bv as Ca,bw as $c,bx as HO,by as oi,bz as ci,bA as Fn,bB as EA,bC as Ii,bD as cm,bE as SA,bF as wp,bG as ii,bH as xp,bI as XO,bJ as Du,bK as sy,bL as Oo,bM as YO,bN as La,bO as VO,bP as Uc,bQ as Nu,bR as sm,bS as cn,bT as ly,bU as _l,bV as Ni,bW as Mn,bX as Ra,bY as _o,bZ as Ol,b_ as Ep,b$ as si,c0 as Tr,c1 as qt,c2 as Gc,c3 as jA,c4 as wl,c5 as KO,c6 as Ia,c7 as qO,c8 as ZO,c9 as $b,ca as _r,cb as ai,cc as PA,cd as AA,ce as Sp,cf as JO,cg as Hc,ch as QO,ci as za,cj as ew,ck as lm,cl as MA,cm as xl,cn as TA,co as Tu,cp as jp,cq as tw,cr as nw,cs as kA,ct as bl,cu as fm,cv as pm,cw as rw,cx as ow,cy as DA,cz as iw,cA as aw,cB as NA,cC as uw,cD as RA,cE as CA,cF as IA,cG as LA,cH as Vh,cI as zA,cJ as BA,cK as FA,cL as cw,cM as sw,cN as lw,cO as fw,cP as dm,cQ as pw,cR as WA,cS as $A,cT as UA,cU as GA,cV as Wc,cW as HA,cX as XA,cY as YA,cZ as VA,c_ as KA,c$ as qA,d0 as ZA,d1 as JA,d2 as QA,d3 as e2,d4 as t2,d5 as n2,d6 as r2,d7 as o2,d8 as i2,d9 as a2,da as u2,db as c2,dc as s2,dd as l2,de as f2,df as p2,dg as d2,dh as h2,di as y2,dj as v2,S as g2,d as fy,a as Na,m as dw,u as zo,k as Pu,g as Au,F as hw,l as yw,A as b2,f as ri,q as N1,B as m2,s as R1,v as vw,_ as hm,j as Ub,t as _2,b as Uh,V as ym,w as ll,e as Bh,h as Rb,i as lp}from"./index-DqH6biyS.js";import{c as O2,b as w2,o as x2}from"./orderBy-BdSTuyc1.js";import{S as E2}from"./vue-json-pretty-ONrekcxr.js";var S2=NaN;function C1(i){return typeof i=="number"?i:Fc(i)?S2:+i}function py(i,u){return function(a,f){var o;if(a===void 0&&f===void 0)return u;if(a!==void 0&&(o=a),f!==void 0){if(o===void 0)return f;typeof a=="string"||typeof f=="string"?(a=Di(a),f=Di(f)):(a=C1(a),f=C1(f)),o=i(a,f)}return o}}var j2=py(function(i,u){return i+u},0),P2="Expected a function";function A2(i,u){if(typeof u!="function")throw new TypeError(P2);return i=en(i),function(){if(--i<1)return u.apply(this,arguments)}}var Kh=D1&&new D1,gw=Kh?function(i,u){return Kh.set(i,u),i}:Ci;function _p(i){return function(){var u=arguments;switch(u.length){case 0:return new i;case 1:return new i(u[0]);case 2:return new i(u[0],u[1]);case 3:return new i(u[0],u[1],u[2]);case 4:return new i(u[0],u[1],u[2],u[3]);case 5:return new i(u[0],u[1],u[2],u[3],u[4]);case 6:return new i(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new i(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var a=Op(i.prototype),f=i.apply(a,u);return Ca(f)?f:a}}var M2=1;function T2(i,u,a){var f=u&M2,o=_p(i);function d(){var h=this&&this!==$c&&this instanceof d?o:i;return h.apply(f?a:this,arguments)}return d}var k2=Math.max;function bw(i,u,a,f){for(var o=-1,d=i.length,h=a.length,m=-1,g=u.length,E=k2(d-h,0),P=Array(g+E),j=!f;++m1?"& ":"")+u[f],u=u.join(a>2?", ":" "),i.replace($2,`{ /* [wrapped with `+u+`] */ `)}var G2=1,H2=2,X2=8,Y2=16,V2=32,K2=64,q2=128,Z2=256,J2=512,Q2=[["ary",q2],["bind",G2],["bindKey",H2],["curry",X2],["curryRight",Y2],["flip",J2],["partial",V2],["partialRight",K2],["rearg",Z2]];function eM(i,u){return Ii(Q2,function(a){var f="_."+a[0];u&a[1]&&!cm(i,f)&&i.push(f)}),i.sort()}function ww(i,u,a){var f=u+"";return SA(i,U2(f,eM(W2(f),a)))}var tM=1,nM=2,rM=4,oM=8,I1=32,L1=64;function xw(i,u,a,f,o,d,h,m,g,E){var P=u&oM,j=P?h:void 0,k=P?void 0:h,T=P?d:void 0,C=P?void 0:d;u|=P?I1:L1,u&=~(P?L1:I1),u&rM||(u&=~(tM|nM));var N=[i,u,o,T,j,C,k,m,g,E],L=a.apply(void 0,N);return Gb(i)&&Ow(L,N),L.placeholder=f,ww(L,i,u)}function El(i){var u=i;return u.placeholder}var iM=Math.min;function aM(i,u){for(var a=i.length,f=iM(u.length,a),o=oi(i);f--;){var d=u[f];i[f]=wp(d,a)?o[d]:void 0}return i}var z1="__lodash_placeholder__";function ku(i,u){for(var a=-1,f=i.length,o=0,d=[];++a1&&G.reverse(),P&&g0&&(a=u.apply(this,arguments)),i<=1&&(u=void 0),a}}var kM=1,DM=32,yy=cn(function(i,u,a){var f=kM;if(a.length){var o=ku(a,El(yy));f|=DM}return Ba(i,f,u,a,o)});yy.placeholder={};var NM=Uc(function(i,u){return Ii(u,function(a){a=ly(a),_l(i,a,yy(i[a],i))}),i}),RM=1,CM=2,IM=32,mm=cn(function(i,u,a){var f=RM|CM;if(a.length){var o=ku(a,El(mm));f|=IM}return Ba(u,f,i,a,o)});mm.placeholder={};function Ru(i,u,a){var f=i.length;return a=a===void 0?f:a,!u&&a>=f?i:Ni(i,u,a)}var LM="\\ud800-\\udfff",zM="\\u0300-\\u036f",BM="\\ufe20-\\ufe2f",FM="\\u20d0-\\u20ff",WM=zM+BM+FM,$M="\\ufe0e\\ufe0f",UM="\\u200d",GM=RegExp("["+UM+LM+WM+$M+"]");function Sl(i){return GM.test(i)}function HM(i){return i.split("")}var Pw="\\ud800-\\udfff",XM="\\u0300-\\u036f",YM="\\ufe20-\\ufe2f",VM="\\u20d0-\\u20ff",KM=XM+YM+VM,qM="\\ufe0e\\ufe0f",ZM="["+Pw+"]",Hb="["+KM+"]",Xb="\\ud83c[\\udffb-\\udfff]",JM="(?:"+Hb+"|"+Xb+")",Aw="[^"+Pw+"]",Mw="(?:\\ud83c[\\udde6-\\uddff]){2}",Tw="[\\ud800-\\udbff][\\udc00-\\udfff]",QM="\\u200d",kw=JM+"?",Dw="["+qM+"]?",eT="(?:"+QM+"(?:"+[Aw,Mw,Tw].join("|")+")"+Dw+kw+")*",tT=Dw+kw+eT,nT="(?:"+[Aw+Hb+"?",Hb,Mw,Tw,ZM].join("|")+")",rT=RegExp(Xb+"(?="+Xb+")|"+nT+tT,"g");function oT(i){return i.match(rT)||[]}function Ri(i){return Sl(i)?oT(i):HM(i)}function Nw(i){return function(u){u=Mn(u);var a=Sl(u)?Ri(u):void 0,f=a?a[0]:u.charAt(0),o=a?Ru(a,1).join(""):u.slice(1);return f[i]()+o}}var _m=Nw("toUpperCase");function Rw(i){return _m(Mn(i).toLowerCase())}function Om(i,u,a,f){var o=-1,d=i==null?0:i.length;for(f&&d&&(a=i[++o]);++o=u?i:u)),i}function qT(i,u,a){return a===void 0&&(a=u,u=void 0),a!==void 0&&(a=Ra(a),a=a===a?a:0),u!==void 0&&(u=Ra(u),u=u===u?u:0),Xc(Ra(i),u,a)}var ZT=1,JT=4;function QT(i,u){return u=typeof u=="function"?u:void 0,Ol(i,ZT|JT,u)}var ek=4;function tk(i,u){return u=typeof u=="function"?u:void 0,Ol(i,ek,u)}function nk(){return new ui(this.value(),this.__chain__)}function rk(i){for(var u=-1,a=i==null?0:i.length,f=0,o=[];++u2?u[2]:void 0;for(o&&_o(u[0],u[1],o)&&(f=1);++a=jk&&(d=$b,h=!1,u=new qO(u));e:for(;++o=0&&i.slice(a,o)==u}function Lk(i,u){return Tr(u,function(a){return[a,i[a]]})}function zk(i){var u=-1,a=Array(i.size);return i.forEach(function(f){a[++u]=[f,f]}),a}var Bk="[object Map]",Fk="[object Set]";function ox(i){return function(u){var a=Sp(u);return a==Bk?JO(u):a==Fk?zk(u):Lk(u,i(u))}}var J1=ox(Oo),Q1=ox(La),Wk={"&":"&","<":"<",">":">",'"':""","'":"'"},$k=wm(Wk),ix=/[&<>"']/g,Uk=RegExp(ix.source);function ax(i){return i=Mn(i),i&&Uk.test(i)?i.replace(ix,$k):i}var ux=/[\\^$.*+?()[\]{}|]/g,Gk=RegExp(ux.source);function Hk(i){return i=Mn(i),i&&Gk.test(i)?i.replace(ux,"\\$&"):i}function cx(i,u){for(var a=-1,f=i==null?0:i.length;++ao?0:o+a),f=f===void 0||f>o?o:en(f),f<0&&(f+=o),f=a>f?0:sx(f);a-1?o[d?u[h]:h]:void 0}}var Jk=Math.max;function px(i,u,a){var f=i==null?0:i.length;if(!f)return-1;var o=a==null?0:en(a);return o<0&&(o=Jk(f+o,0)),QO(i,qt(u),o)}var Qk=fx(px);function dx(i,u,a){var f;return a(i,function(o,d,h){if(u(o,d,h))return f=d,!1}),f}function eD(i,u){return dx(i,qt(u),za)}var tD=fx(ew);function nD(i,u){return dx(i,qt(u),jm)}function eO(i){return i&&i.length?i[0]:void 0}var rD=1/0;function oD(i,u){return si(lm(i,u),rD)}function iD(i,u,a){return a=a===void 0?1:en(a),si(lm(i,u),a)}function aD(i,u){var a=i==null?0:i.length;return a?(u=u===void 0?1:en(u),si(i,u)):[]}var uD=512;function cD(i){return Ba(i,uD)}var sD=xm("floor"),lD="Expected a function",fD=8,pD=32,dD=128,hD=256;function hx(i){return Uc(function(u){var a=u.length,f=a,o=ui.prototype.thru;for(i&&u.reverse();f--;){var d=u[f];if(typeof d!="function")throw new TypeError(lD);if(o&&!h&&Gh(d)=="wrapper")var h=new ui([],!0)}for(f=h?f:a;++fu}function my(i){return function(u,a){return typeof u=="string"&&typeof a=="string"||(u=Ra(u),a=Ra(a)),i(u,a)}}var jD=my(Pm),PD=my(function(i,u){return i>=u}),AD=Object.prototype,MD=AD.hasOwnProperty;function TD(i,u){return i!=null&&MD.call(i,u)}function kD(i,u){return i!=null&&TA(i,u,TD)}var DD=Math.max,ND=Math.min;function RD(i,u,a){return i>=ND(u,a)&&i-1:!!o&&jp(i,u,a)>-1}var BD=Math.max;function FD(i,u,a){var f=i==null?0:i.length;if(!f)return-1;var o=a==null?0:en(a);return o<0&&(o=BD(f+o,0)),jp(i,u,o)}function WD(i){var u=i==null?0:i.length;return u?Ni(i,0,-1):[]}var $D=Math.min;function Mm(i,u,a){for(var f=a?ZO:cm,o=i[0].length,d=i.length,h=d,m=Array(d),g=1/0,E=[];h--;){var P=i[h];h&&u&&(P=Tr(P,Ia(u))),g=$D(P.length,g),m[h]=!a&&(u||o>=120&&P.length>=120)?new qO(h&&P):void 0}P=i[0];var j=-1,k=m[0];e:for(;++j=-oO&&i<=oO}var MN="[object WeakMap]";function TN(i){return ci(i)&&Sp(i)==MN}var kN="[object WeakSet]";function DN(i){return ci(i)&&Nu(i)==kN}var NN=1;function RN(i){return qt(typeof i=="function"?i:Ol(i,NN))}var CN=Array.prototype,IN=CN.join;function LN(i,u){return i==null?"":IN.call(i,u)}var zN=jl(function(i,u,a){return i+(a?"-":"")+u.toLowerCase()}),BN=vy(function(i,u,a){_l(i,a,u)});function FN(i,u,a){for(var f=a+1;f--;)if(i[f]===u)return f;return f}var WN=Math.max,$N=Math.min;function UN(i,u,a){var f=i==null?0:i.length;if(!f)return-1;var o=f;return a!==void 0&&(o=en(a),o=o<0?WN(f+o,0):$N(o,f-1)),u===u?FN(i,u,o):QO(i,CA,o,!0)}var GN=jl(function(i,u,a){return i+(a?" ":"")+u.toLowerCase()}),HN=Nw("toLowerCase");function Dm(i,u){return i=this.__values__.length,u=i?void 0:this.__values__[this.__index__++];return{done:i,value:u}}function wx(i,u){var a=i.length;if(a)return u+=u<0?a:0,wp(u,a)?i[u]:void 0}function yR(i,u){return i&&i.length?wx(i,en(u)):void 0}function vR(i){return i=en(i),cn(function(u){return wx(u,i)})}function xx(i,u){if(i==null)return{};var a=Tr(BA(i),function(f){return[f]});return u=qt(u),FA(i,a,function(f,o){return u(f,o[0])})}function gR(i,u){return xx(i,Mp(qt(u)))}function bR(i){return jw(2,i)}function Rm(i){return Uc(function(u){return u=Tr(u,Ia(qt)),cn(function(a){var f=this;return i(u,function(o){return ii(o,f,a)})})})}var mR=Rm(Tr),_R=cn,OR=Math.min,wR=_R(function(i,u){u=u.length==1&&Fn(u[0])?Tr(u[0],Ia(qt)):Tr(si(u,1),Ia(qt));var a=u.length;return cn(function(f){for(var o=-1,d=OR(f.length,a);++oSR)return a;do u%2&&(a+=i),u=jR(u/2),u&&(i+=i);while(u);return a}var PR=sw("length"),Ex="\\ud800-\\udfff",AR="\\u0300-\\u036f",MR="\\ufe20-\\ufe2f",TR="\\u20d0-\\u20ff",kR=AR+MR+TR,DR="\\ufe0e\\ufe0f",NR="["+Ex+"]",Vb="["+kR+"]",Kb="\\ud83c[\\udffb-\\udfff]",RR="(?:"+Vb+"|"+Kb+")",Sx="[^"+Ex+"]",jx="(?:\\ud83c[\\udde6-\\uddff]){2}",Px="[\\ud800-\\udbff][\\udc00-\\udfff]",CR="\\u200d",Ax=RR+"?",Mx="["+DR+"]?",IR="(?:"+CR+"(?:"+[Sx,jx,Px].join("|")+")"+Mx+Ax+")*",LR=Mx+Ax+IR,zR="(?:"+[Sx+Vb+"?",Vb,jx,Px,NR].join("|")+")",iO=RegExp(Kb+"(?="+Kb+")|"+zR+LR,"g");function BR(i){for(var u=iO.lastIndex=0;iO.test(i);)++u;return u}function Al(i){return Sl(i)?BR(i):PR(i)}var FR=Math.ceil;function Zh(i,u){u=u===void 0?" ":Di(u);var a=u.length;if(a<2)return a?Yb(u,i):u;var f=Yb(u,FR(i/Al(u)));return Sl(u)?Ru(Ri(f),0,i).join(""):f.slice(0,i)}var WR=Math.ceil,$R=Math.floor;function UR(i,u,a){i=Mn(i),u=en(u);var f=u?Al(i):0;if(!u||f>=u)return i;var o=(u-f)/2;return Zh($R(o),a)+i+Zh(WR(o),a)}function GR(i,u,a){i=Mn(i),u=en(u);var f=u?Al(i):0;return u&&f-1;)m!==i&&aO.call(m,g,1),aO.call(i,g,1);return i}function Tx(i,u){return i&&i.length&&u&&u.length?Im(i,u):i}var nC=cn(Tx);function rC(i,u,a){return i&&i.length&&u&&u.length?Im(i,u,qt(a)):i}function oC(i,u,a){return i&&i.length&&u&&u.length?Im(i,u,void 0,a):i}var iC=Array.prototype,aC=iC.splice;function kx(i,u){for(var a=i?u.length:0,f=a-1;a--;){var o=u[a];if(a==f||o!==d){var d=o;wp(o)?aC.call(i,o,1):fw(i,o)}}return i}var uC=Uc(function(i,u){var a=i==null?0:i.length,f=gm(i,u);return kx(i,Tr(u,function(o){return wp(o,a)?+o:o}).sort(O2)),f}),cC=Math.floor,sC=Math.random;function Lm(i,u){return i+cC(sC()*(u-i+1))}var lC=parseFloat,fC=Math.min,pC=Math.random;function dC(i,u,a){if(a&&typeof a!="boolean"&&_o(i,u,a)&&(u=a=void 0),a===void 0&&(typeof u=="boolean"?(a=u,u=void 0):typeof i=="boolean"&&(a=i,i=void 0)),i===void 0&&u===void 0?(i=0,u=1):(i=Tu(i),u===void 0?(u=i,i=0):u=Tu(u)),i>u){var f=i;i=u,u=f}if(a||i%1||u%1){var o=pC();return fC(i+o*(u-i+lC("1e-"+((o+"").length-1))),u)}return Lm(i,u)}var hC=Math.ceil,yC=Math.max;function vC(i,u,a,f){for(var o=-1,d=yC(hC((u-i)/(a||1)),0),h=Array(d);d--;)h[f?d:++o]=i,i+=a;return h}function Dx(i){return function(u,a,f){return f&&typeof f!="number"&&_o(u,a,f)&&(a=f=void 0),u=Tu(u),a===void 0?(a=u,u=0):a=Tu(a),f=f===void 0?u1&&_o(i,u[0],u[1])?u=[]:a>2&&_o(u[0],u[1],u[2])&&(u=[u[0]]),w2(i,si(u,1),[])}),ZC=4294967295,JC=ZC-1,QC=Math.floor,eI=Math.min;function zm(i,u,a,f){var o=0,d=i==null?0:i.length;if(d===0)return 0;u=a(u);for(var h=u!==u,m=u===null,g=Fc(u),E=u===void 0;o>>1;function Ey(i,u,a){var f=0,o=i==null?f:i.length;if(typeof u=="number"&&u===u&&o<=nI){for(;f>>1,h=i[d];h!==null&&!Fc(h)&&(a?h<=u:h>>0,a?(i=Mn(i),i&&(typeof u=="string"||u!=null&&!km(u))&&(u=Di(u),!u&&Sl(i))?Ru(Ri(i),0,a):i.split(u,a)):[]}var dI="Expected a function",hI=Math.max;function yI(i,u){if(typeof i!="function")throw new TypeError(dI);return u=u==null?0:hI(en(u),0),cn(function(a){var f=a[u],o=Ru(a,0,u);return f&&Ep(o,f),ii(i,this,o)})}var vI=jl(function(i,u,a){return i+(a?" ":"")+_m(u)});function gI(i,u,a){return i=Mn(i),a=a==null?0:Xc(en(a),0,i.length),u=Di(u),i.slice(a,a+u.length)==u}function bI(){return{}}function mI(){return""}function _I(){return!0}var OI=py(function(i,u){return i-u},0);function wI(i){return i&&i.length?Nm(i,Ci):0}function xI(i,u){return i&&i.length?Nm(i,qt(u)):0}function EI(i){var u=i==null?0:i.length;return u?Ni(i,1,u):[]}function SI(i,u,a){return i&&i.length?(u=a||u===void 0?1:en(u),Ni(i,0,u<0?0:u)):[]}function jI(i,u,a){var f=i==null?0:i.length;return f?(u=a||u===void 0?1:en(u),u=f-u,Ni(i,u<0?0:u,f)):[]}function PI(i,u){return i&&i.length?gy(i,qt(u),!1,!0):[]}function AI(i,u){return i&&i.length?gy(i,qt(u)):[]}function MI(i,u){return u(i),i}var Ix=Object.prototype,TI=Ix.hasOwnProperty;function uO(i,u,a,f){return i===void 0||wl(i,Ix[a])&&!TI.call(f,a)?u:i}var kI={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function DI(i){return"\\"+kI[i]}var Lx=/<%=([\s\S]+?)%>/g,NI=/<%-([\s\S]+?)%>/g,RI=/<%([\s\S]+?)%>/g,Zb={escape:NI,evaluate:RI,interpolate:Lx,variable:"",imports:{_:{escape:ax}}},CI="Invalid `variable` option passed into `_.template`",II=/\b__p \+= '';/g,LI=/\b(__p \+=) '' \+/g,zI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,BI=/[()=,{}\[\]\/\s]/,FI=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fh=/($^)/,WI=/['\n\r\u2028\u2029\\]/g,$I=Object.prototype,cO=$I.hasOwnProperty;function UI(i,u,a){var f=Zb.imports._.templateSettings||Zb;a&&_o(i,u,a)&&(u=void 0),i=Mn(i),u=qh({},u,f,uO);var o=qh({},u.imports,f.imports,uO),d=Oo(o),h=Am(o,d),m,g,E=0,P=u.interpolate||Fh,j="__p += '",k=RegExp((u.escape||Fh).source+"|"+P.source+"|"+(P===Lx?FI:Fh).source+"|"+(u.evaluate||Fh).source+"|$","g"),T=cO.call(u,"sourceURL")?"//# sourceURL="+(u.sourceURL+"").replace(/\s/g," ")+` `:"";i.replace(k,function(L,U,G,te,ie,re){return G||(G=te),j+=i.slice(E,re).replace(WI,DI),U&&(m=!0,j+=`' + diff --git a/static/js/index-BhSXMg4W.js b/static/js/index-BhSXMg4W.js deleted file mode 100644 index 00be3e24f7..0000000000 --- a/static/js/index-BhSXMg4W.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-B2xVCSk0.js";import"./index.vue_vue_type_script_setup_true_lang-Dt0BOUOw.js";import"./columns-BVO3RVsJ.js";import"./index-AFhnwzwZ.js";import"./data-BCF1-ihA.js";import"./index.vue_vue_type_script_setup_true_lang-DQoQb7YO.js";import"./columns-D5XW7oQh.js";export{o as default}; diff --git a/static/js/index-BxvHEj1Y.js b/static/js/index-BokGuoha.js similarity index 96% rename from static/js/index-BxvHEj1Y.js rename to static/js/index-BokGuoha.js index 71c5258f5f..253693a3ad 100644 --- a/static/js/index-BxvHEj1Y.js +++ b/static/js/index-BokGuoha.js @@ -1 +1 @@ -var Y=(p,o,s)=>new Promise((m,u)=>{var t=d=>{try{g(s.next(d))}catch(i){u(i)}},c=d=>{try{g(s.throw(d))}catch(i){u(i)}},g=d=>d.done?m(d.value):Promise.resolve(d.value).then(t,c);g((s=s.apply(p,o)).next())});import{fF as C,f as h,k as R,g as r,aN as h0,a as b,m as _0,d as a0,n as L,u as e,V as g0,p as v0,R as y0,r as x0,aR as w0,i as l,aH as b0,w as n,b as w,U as C0,bo as k0,j as E,h as k,t as T,ae as M0,g0 as M,e as v,A as I0,s as Z,v as J,B as U,a0 as K,aa as R0,gc as V0,F as X,l as e0,gd as S0,fL as E0,J as t0,W as T0,_ as $0}from"./index-AFhnwzwZ.js";import{M as I}from"./motion-BWs4EVp0.js";import{l as L0}from"./verifyCode-BiQTeHGY.js";import{T as B0}from"./index-7dCevZAN.js";import{u as D0,a as U0,b as z0,c as N0,g as F0,d as P0}from"./dark-DZCoNMpI.js";import{a as H0,u as Z0}from"./useDataThemeChange-D7aTkze5.js";import{_ as A0}from"./LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js";import{d as O0,_ as j0}from"./LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js";import{_ as q0}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js";import{_ as G0}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js";import{u as A}from"./hooks-CaC3u4N2.js";import{d as Q0}from"./lock-fill-BZPnsoM7.js";import{d as l0}from"./check-CIQVCvCT.js";import"./mitt-E5P-NQ8u.js";import"./user-DNtD0Fqa.js";import"./app-Cp1TpsuP.js";import"./epTheme-rJf1qnVw.js";import"./iphone-CgGaW-_Y.js";import"./index-rRKx_4l4.js";import"./propTypes-D_I3dZnw.js";import"./refresh-right-Du3ZsAuC.js";const W0=[{title:C("login.purePhoneLogin")},{title:C("login.pureQRCodeLogin")},{title:C("login.pureRegister")}],Y0=[{title:C("login.pureWeChatLogin"),icon:"wechat"},{title:C("login.pureAlipayLogin"),icon:"alipay"},{title:C("login.pureQQLogin"),icon:"qq"},{title:C("login.pureWeiBoLogin"),icon:"weibo"}],J0="/vue-pure-admin/static/png/bg-oEDCYcDF.png",K0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"};function X0(p,o){return h(),R("svg",K0,o[0]||(o[0]=[r("path",{fill:"#386BF3",d:"M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109"},null,-1),r("path",{fill:"#C3D2FB",d:"M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665"},null,-1),r("path",{fill:"#303F5B",d:"M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.1 323.1 0 0 1-107.769-242.852z"},null,-1)]))}const ee={render:X0},te={xmlns:"http://www.w3.org/2000/svg",width:"500",height:"380",viewBox:"0 0 897.318 556.975"};function le(p,o){return h(),R("svg",te,o[0]||(o[0]=[h0('',37)]))}const ae={render:le},oe=(p=120,o=40)=>{const s=b(),m=b("");function u(c){m.value=c}function t(){s.value&&(m.value=ne(s.value,p,o))}return _0(()=>{t()}),{domRef:s,imgCode:m,setImgCode:u,getImgCode:t}};function y(p,o){return Math.floor(Math.random()*(o-p)+p)}function z(p,o){const s=y(p,o),m=y(p,o),u=y(p,o);return`rgb(${s},${m},${u})`}function ne(p,o,s){let m="";const u="0123456789",t=p.getContext("2d");if(!t)return m;t.fillStyle=z(180,230),t.fillRect(0,0,o,s);for(let c=0;c<4;c+=1){const g=u[y(0,u.length)];m+=g;const d=y(18,41),i=y(-30,30);t.font=`${d}px Simhei`,t.textBaseline="top",t.fillStyle=z(80,150),t.save(),t.translate(30*c+15,15),t.rotate(i*Math.PI/180),t.fillText(g,-10,-15),t.restore()}for(let c=0;c<5;c+=1)t.beginPath(),t.moveTo(y(0,o),y(0,s)),t.lineTo(y(0,o),y(0,s)),t.strokeStyle=z(180,230),t.closePath(),t.stroke();for(let c=0;c<41;c+=1)t.beginPath(),t.arc(y(0,o),y(0,s),1,0,2*Math.PI),t.closePath(),t.fillStyle=z(150,200),t.fill();return m}const se=a0({name:"ReImageVerify",__name:"index",props:{code:{default:""}},emits:["update:code"],setup(p,{expose:o,emit:s}){const m=p,u=s,{domRef:t,imgCode:c,setImgCode:g,getImgCode:d}=oe();return L(()=>m.code,i=>{g(i)}),L(c,i=>{u("update:code",i)}),o({getImgCode:d}),(i,B)=>(h(),R("canvas",{ref_key:"domRef",ref:t,width:"120",height:"40",class:"cursor-pointer",onClick:B[0]||(B[0]=(...$)=>e(d)&&e(d)(...$))},null,512))}}),ie=g0(se),re={class:"select-none"},ce=["src"],de={class:"flex-c absolute right-5 top-3"},fe={class:"check-en"},pe={class:"login-container"},ue={class:"img"},me={class:"login-box"},he={class:"login-form"},_e={class:"outline-none"},ge={class:"w-full h-[20px] flex justify-between items-center"},ve={class:"flex"},ye={class:"w-full h-[20px] flex justify-between items-center"},xe={class:"text-gray-500 text-xs"},we={class:"w-full flex justify-evenly"},be=["title"],Ce={class:"w-full flex-c flex-wrap absolute bottom-3 text-sm text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"},ke={class:"hover:text-primary",href:"https://github.com/pure-admin",target:"_blank"},Me=a0({name:"Login",__name:"index",setup(p){const o=b(""),s=b(7),m=M0(),u=b(!1),t=b(!1),c=b(!1),g=b(),d=v0(()=>M().currentPage),{t:i}=y0(),{initStorage:B}=H0();B();const{dataTheme:$,overallStyle:o0,dataThemeChange:O}=Z0();O(o0.value);const{title:j,getDropdownItemStyle:q,getDropdownItemClass:G}=D0(),{locale:V,translationCh:n0,translationEn:s0}=U0(),x=x0({username:"admin",password:"admin123",verifyCode:""}),Q=_=>Y(this,null,function*(){_&&(yield _.validate(a=>{a&&(u.value=!0,M().loginByUsername({username:x.username,password:"admin123"}).then(N=>{if(N.success)return S0().then(()=>{c.value=!0,m.push(E0(!0).path).then(()=>{t0(i("login.pureLoginSuccess"),{type:"success"})}).finally(()=>c.value=!1)});t0(i("login.pureLoginFail"),{type:"error"})}).finally(()=>u.value=!1))}))}),i0=T0(_=>Q(_),1e3,!0);return w0(document,"keypress",({code:_})=>{["Enter","NumpadEnter"].includes(_)&&!c.value&&!u.value&&i0(g.value)}),L(o,_=>{M().SET_VERIFYCODE(_)}),L(t,_=>{M().SET_ISREMEMBERED(_)}),L(s,_=>{M().SET_LOGINDAY(_)}),(_,a)=>{const N=v("el-switch"),F=v("IconifyIconOffline"),W=v("el-dropdown-item"),r0=v("el-dropdown-menu"),c0=v("el-dropdown"),P=v("el-input"),S=v("el-form-item"),d0=v("el-checkbox"),H=v("el-button"),f0=v("el-form"),p0=v("el-divider"),u0=v("IconifyIconOnline"),m0=I0("tippy");return h(),R("div",re,[r("img",{src:e(J0),class:"wave"},null,8,ce),r("div",de,[l(N,{modelValue:e($),"onUpdate:modelValue":a[0]||(a[0]=f=>b0($)?$.value=f:null),"inline-prompt":"","active-icon":e(z0),"inactive-icon":e(N0),onChange:e(O)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),l(c0,{trigger:"click"},{dropdown:n(()=>[l(r0,{class:"translation"},{default:n(()=>[l(W,{style:Z(e(q)(e(V),"zh")),class:J(["dark:!text-white",e(G)(e(V),"zh")]),onClick:e(n0)},{default:n(()=>[U(l(F,{class:"check-zh",icon:e(l0)},null,8,["icon"]),[[K,e(V)==="zh"]]),a[9]||(a[9]=k(" 简体中文 "))]),_:1},8,["style","class","onClick"]),l(W,{style:Z(e(q)(e(V),"en")),class:J(["dark:!text-white",e(G)(e(V),"en")]),onClick:e(s0)},{default:n(()=>[U(r("span",fe,[l(F,{icon:e(l0)},null,8,["icon"])],512),[[K,e(V)==="en"]]),a[10]||(a[10]=k(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:n(()=>[l(e(F0),{class:"hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"})]),_:1})]),r("div",pe,[r("div",ue,[(h(),w(C0(k0(e(ae)))))]),r("div",me,[r("div",he,[l(e(ee),{class:"avatar"}),l(e(I),null,{default:n(()=>[r("h2",_e,[l(e(B0),{options:{strings:[e(j)],cursor:!1,speed:100}},null,8,["options"])])]),_:1}),d.value===0?(h(),w(f0,{key:0,ref_key:"ruleFormRef",ref:g,model:x,rules:e(L0),size:"large"},{default:n(()=>[l(e(I),{delay:100},{default:n(()=>[l(S,{rules:[{required:!0,message:e(R0)(e(C)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:n(()=>[l(P,{modelValue:x.username,"onUpdate:modelValue":a[1]||(a[1]=f=>x.username=f),clearable:"",placeholder:e(i)("login.pureUsername"),"prefix-icon":e(A)(e(O0))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),l(e(I),{delay:150},{default:n(()=>[l(S,{prop:"password"},{default:n(()=>[l(P,{modelValue:x.password,"onUpdate:modelValue":a[2]||(a[2]=f=>x.password=f),clearable:"","show-password":"",placeholder:e(i)("login.purePassword"),"prefix-icon":e(A)(e(Q0))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(I),{delay:200},{default:n(()=>[l(S,{prop:"verifyCode"},{default:n(()=>[l(P,{modelValue:x.verifyCode,"onUpdate:modelValue":a[4]||(a[4]=f=>x.verifyCode=f),clearable:"",placeholder:e(i)("login.pureVerifyCode"),"prefix-icon":e(A)("ri:shield-keyhole-line")},{append:n(()=>[l(e(ie),{code:o.value,"onUpdate:code":a[3]||(a[3]=f=>o.value=f)},null,8,["code"])]),_:1},8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(I),{delay:250},{default:n(()=>[l(S,null,{default:n(()=>[r("div",ge,[l(d0,{modelValue:t.value,"onUpdate:modelValue":a[6]||(a[6]=f=>t.value=f)},{default:n(()=>[r("span",ve,[U(r("select",{"onUpdate:modelValue":a[5]||(a[5]=f=>s.value=f),style:Z({width:s.value<10?"10px":"16px",outline:"none",background:"none",appearance:"none"})},a[11]||(a[11]=[r("option",{value:"1"},"1",-1),r("option",{value:"7"},"7",-1),r("option",{value:"30"},"30",-1)]),4),[[V0,s.value]]),k(" "+T(e(i)("login.pureRemember"))+" ",1),U(l(F,{icon:e(P0),class:"ml-1"},null,8,["icon"]),[[m0,{content:e(i)("login.pureRememberInfo"),placement:"top"}]])])]),_:1},8,["modelValue"]),l(H,{link:"",type:"primary",onClick:a[7]||(a[7]=f=>e(M)().SET_CURRENTPAGE(4))},{default:n(()=>[k(T(e(i)("login.pureForget")),1)]),_:1})]),l(H,{class:"w-full mt-4",size:"default",type:"primary",loading:u.value,disabled:c.value,onClick:a[8]||(a[8]=f=>Q(g.value))},{default:n(()=>[k(T(e(i)("login.pureLogin")),1)]),_:1},8,["loading","disabled"])]),_:1})]),_:1}),l(e(I),{delay:300},{default:n(()=>[l(S,null,{default:n(()=>[r("div",ye,[(h(!0),R(X,null,e0(e(W0),(f,D)=>(h(),w(H,{key:D,class:"w-full mt-4",size:"default",onClick:Ie=>e(M)().SET_CURRENTPAGE(D+1)},{default:n(()=>[k(T(e(i)(f.title)),1)]),_:2},1032,["onClick"]))),128))])]),_:1})]),_:1})]),_:1},8,["model","rules"])):E("",!0),d.value===0?(h(),w(e(I),{key:1,delay:350},{default:n(()=>[l(S,null,{default:n(()=>[l(p0,null,{default:n(()=>[r("p",xe,T(e(i)("login.pureThirdLogin")),1)]),_:1}),r("div",we,[(h(!0),R(X,null,e0(e(Y0),(f,D)=>(h(),R("span",{key:D,title:e(i)(f.title)},[l(u0,{icon:`ri:${f.icon}-fill`,width:"20",class:"cursor-pointer text-gray-500 hover:text-blue-400"},null,8,["icon"])],8,be))),128))])]),_:1})]),_:1})):E("",!0),d.value===1?(h(),w(A0,{key:2})):E("",!0),d.value===2?(h(),w(G0,{key:3})):E("",!0),d.value===3?(h(),w(j0,{key:4})):E("",!0),d.value===4?(h(),w(q0,{key:5})):E("",!0)])])]),r("div",Ce,[a[12]||(a[12]=k(" Copyright © 2020-2024 ")),r("a",ke,"  "+T(e(j)),1)])])}}}),We=$0(Me,[["__scopeId","data-v-317c94cf"]]);export{We as default}; +var Y=(p,o,s)=>new Promise((m,u)=>{var t=d=>{try{g(s.next(d))}catch(i){u(i)}},c=d=>{try{g(s.throw(d))}catch(i){u(i)}},g=d=>d.done?m(d.value):Promise.resolve(d.value).then(t,c);g((s=s.apply(p,o)).next())});import{fF as C,f as h,k as R,g as r,aN as h0,a as b,m as _0,d as a0,n as L,u as e,V as g0,p as v0,R as y0,r as x0,aR as w0,i as l,aH as b0,w as n,b as w,U as C0,bo as k0,j as E,h as k,t as T,ae as M0,g0 as M,e as v,A as I0,s as Z,v as J,B as U,a0 as K,aa as R0,gc as V0,F as X,l as e0,gd as S0,fL as E0,J as t0,W as T0,_ as $0}from"./index-DqH6biyS.js";import{M as I}from"./motion-CswUmNV1.js";import{l as L0}from"./verifyCode-bgLMaVwT.js";import{T as B0}from"./index-B2w5IFmw.js";import{u as D0,a as U0,b as z0,c as N0,g as F0,d as P0}from"./dark-j9TwCegr.js";import{a as H0,u as Z0}from"./useDataThemeChange-DbAyv7hy.js";import{_ as A0}from"./LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js";import{d as O0,_ as j0}from"./LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js";import{_ as q0}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js";import{_ as G0}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js";import{u as A}from"./hooks-BoDRUKFd.js";import{d as Q0}from"./lock-fill-BZPnsoM7.js";import{d as l0}from"./check-CIQVCvCT.js";import"./mitt-E5P-NQ8u.js";import"./user-DNtD0Fqa.js";import"./app-6x4i1wLO.js";import"./epTheme-tM--YJJd.js";import"./iphone-CgGaW-_Y.js";import"./index-Dgb_lRhs.js";import"./propTypes-D_I3dZnw.js";import"./refresh-right-Du3ZsAuC.js";const W0=[{title:C("login.purePhoneLogin")},{title:C("login.pureQRCodeLogin")},{title:C("login.pureRegister")}],Y0=[{title:C("login.pureWeChatLogin"),icon:"wechat"},{title:C("login.pureAlipayLogin"),icon:"alipay"},{title:C("login.pureQQLogin"),icon:"qq"},{title:C("login.pureWeiBoLogin"),icon:"weibo"}],J0="/vue-pure-admin/static/png/bg-oEDCYcDF.png",K0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"};function X0(p,o){return h(),R("svg",K0,o[0]||(o[0]=[r("path",{fill:"#386BF3",d:"M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109"},null,-1),r("path",{fill:"#C3D2FB",d:"M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665"},null,-1),r("path",{fill:"#303F5B",d:"M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.1 323.1 0 0 1-107.769-242.852z"},null,-1)]))}const ee={render:X0},te={xmlns:"http://www.w3.org/2000/svg",width:"500",height:"380",viewBox:"0 0 897.318 556.975"};function le(p,o){return h(),R("svg",te,o[0]||(o[0]=[h0('',37)]))}const ae={render:le},oe=(p=120,o=40)=>{const s=b(),m=b("");function u(c){m.value=c}function t(){s.value&&(m.value=ne(s.value,p,o))}return _0(()=>{t()}),{domRef:s,imgCode:m,setImgCode:u,getImgCode:t}};function y(p,o){return Math.floor(Math.random()*(o-p)+p)}function z(p,o){const s=y(p,o),m=y(p,o),u=y(p,o);return`rgb(${s},${m},${u})`}function ne(p,o,s){let m="";const u="0123456789",t=p.getContext("2d");if(!t)return m;t.fillStyle=z(180,230),t.fillRect(0,0,o,s);for(let c=0;c<4;c+=1){const g=u[y(0,u.length)];m+=g;const d=y(18,41),i=y(-30,30);t.font=`${d}px Simhei`,t.textBaseline="top",t.fillStyle=z(80,150),t.save(),t.translate(30*c+15,15),t.rotate(i*Math.PI/180),t.fillText(g,-10,-15),t.restore()}for(let c=0;c<5;c+=1)t.beginPath(),t.moveTo(y(0,o),y(0,s)),t.lineTo(y(0,o),y(0,s)),t.strokeStyle=z(180,230),t.closePath(),t.stroke();for(let c=0;c<41;c+=1)t.beginPath(),t.arc(y(0,o),y(0,s),1,0,2*Math.PI),t.closePath(),t.fillStyle=z(150,200),t.fill();return m}const se=a0({name:"ReImageVerify",__name:"index",props:{code:{default:""}},emits:["update:code"],setup(p,{expose:o,emit:s}){const m=p,u=s,{domRef:t,imgCode:c,setImgCode:g,getImgCode:d}=oe();return L(()=>m.code,i=>{g(i)}),L(c,i=>{u("update:code",i)}),o({getImgCode:d}),(i,B)=>(h(),R("canvas",{ref_key:"domRef",ref:t,width:"120",height:"40",class:"cursor-pointer",onClick:B[0]||(B[0]=(...$)=>e(d)&&e(d)(...$))},null,512))}}),ie=g0(se),re={class:"select-none"},ce=["src"],de={class:"flex-c absolute right-5 top-3"},fe={class:"check-en"},pe={class:"login-container"},ue={class:"img"},me={class:"login-box"},he={class:"login-form"},_e={class:"outline-none"},ge={class:"w-full h-[20px] flex justify-between items-center"},ve={class:"flex"},ye={class:"w-full h-[20px] flex justify-between items-center"},xe={class:"text-gray-500 text-xs"},we={class:"w-full flex justify-evenly"},be=["title"],Ce={class:"w-full flex-c flex-wrap absolute bottom-3 text-sm text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"},ke={class:"hover:text-primary",href:"https://github.com/pure-admin",target:"_blank"},Me=a0({name:"Login",__name:"index",setup(p){const o=b(""),s=b(7),m=M0(),u=b(!1),t=b(!1),c=b(!1),g=b(),d=v0(()=>M().currentPage),{t:i}=y0(),{initStorage:B}=H0();B();const{dataTheme:$,overallStyle:o0,dataThemeChange:O}=Z0();O(o0.value);const{title:j,getDropdownItemStyle:q,getDropdownItemClass:G}=D0(),{locale:V,translationCh:n0,translationEn:s0}=U0(),x=x0({username:"admin",password:"admin123",verifyCode:""}),Q=_=>Y(this,null,function*(){_&&(yield _.validate(a=>{a&&(u.value=!0,M().loginByUsername({username:x.username,password:"admin123"}).then(N=>{if(N.success)return S0().then(()=>{c.value=!0,m.push(E0(!0).path).then(()=>{t0(i("login.pureLoginSuccess"),{type:"success"})}).finally(()=>c.value=!1)});t0(i("login.pureLoginFail"),{type:"error"})}).finally(()=>u.value=!1))}))}),i0=T0(_=>Q(_),1e3,!0);return w0(document,"keypress",({code:_})=>{["Enter","NumpadEnter"].includes(_)&&!c.value&&!u.value&&i0(g.value)}),L(o,_=>{M().SET_VERIFYCODE(_)}),L(t,_=>{M().SET_ISREMEMBERED(_)}),L(s,_=>{M().SET_LOGINDAY(_)}),(_,a)=>{const N=v("el-switch"),F=v("IconifyIconOffline"),W=v("el-dropdown-item"),r0=v("el-dropdown-menu"),c0=v("el-dropdown"),P=v("el-input"),S=v("el-form-item"),d0=v("el-checkbox"),H=v("el-button"),f0=v("el-form"),p0=v("el-divider"),u0=v("IconifyIconOnline"),m0=I0("tippy");return h(),R("div",re,[r("img",{src:e(J0),class:"wave"},null,8,ce),r("div",de,[l(N,{modelValue:e($),"onUpdate:modelValue":a[0]||(a[0]=f=>b0($)?$.value=f:null),"inline-prompt":"","active-icon":e(z0),"inactive-icon":e(N0),onChange:e(O)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),l(c0,{trigger:"click"},{dropdown:n(()=>[l(r0,{class:"translation"},{default:n(()=>[l(W,{style:Z(e(q)(e(V),"zh")),class:J(["dark:!text-white",e(G)(e(V),"zh")]),onClick:e(n0)},{default:n(()=>[U(l(F,{class:"check-zh",icon:e(l0)},null,8,["icon"]),[[K,e(V)==="zh"]]),a[9]||(a[9]=k(" 简体中文 "))]),_:1},8,["style","class","onClick"]),l(W,{style:Z(e(q)(e(V),"en")),class:J(["dark:!text-white",e(G)(e(V),"en")]),onClick:e(s0)},{default:n(()=>[U(r("span",fe,[l(F,{icon:e(l0)},null,8,["icon"])],512),[[K,e(V)==="en"]]),a[10]||(a[10]=k(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:n(()=>[l(e(F0),{class:"hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"})]),_:1})]),r("div",pe,[r("div",ue,[(h(),w(C0(k0(e(ae)))))]),r("div",me,[r("div",he,[l(e(ee),{class:"avatar"}),l(e(I),null,{default:n(()=>[r("h2",_e,[l(e(B0),{options:{strings:[e(j)],cursor:!1,speed:100}},null,8,["options"])])]),_:1}),d.value===0?(h(),w(f0,{key:0,ref_key:"ruleFormRef",ref:g,model:x,rules:e(L0),size:"large"},{default:n(()=>[l(e(I),{delay:100},{default:n(()=>[l(S,{rules:[{required:!0,message:e(R0)(e(C)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:n(()=>[l(P,{modelValue:x.username,"onUpdate:modelValue":a[1]||(a[1]=f=>x.username=f),clearable:"",placeholder:e(i)("login.pureUsername"),"prefix-icon":e(A)(e(O0))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1},8,["rules"])]),_:1}),l(e(I),{delay:150},{default:n(()=>[l(S,{prop:"password"},{default:n(()=>[l(P,{modelValue:x.password,"onUpdate:modelValue":a[2]||(a[2]=f=>x.password=f),clearable:"","show-password":"",placeholder:e(i)("login.purePassword"),"prefix-icon":e(A)(e(Q0))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(I),{delay:200},{default:n(()=>[l(S,{prop:"verifyCode"},{default:n(()=>[l(P,{modelValue:x.verifyCode,"onUpdate:modelValue":a[4]||(a[4]=f=>x.verifyCode=f),clearable:"",placeholder:e(i)("login.pureVerifyCode"),"prefix-icon":e(A)("ri:shield-keyhole-line")},{append:n(()=>[l(e(ie),{code:o.value,"onUpdate:code":a[3]||(a[3]=f=>o.value=f)},null,8,["code"])]),_:1},8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(I),{delay:250},{default:n(()=>[l(S,null,{default:n(()=>[r("div",ge,[l(d0,{modelValue:t.value,"onUpdate:modelValue":a[6]||(a[6]=f=>t.value=f)},{default:n(()=>[r("span",ve,[U(r("select",{"onUpdate:modelValue":a[5]||(a[5]=f=>s.value=f),style:Z({width:s.value<10?"10px":"16px",outline:"none",background:"none",appearance:"none"})},a[11]||(a[11]=[r("option",{value:"1"},"1",-1),r("option",{value:"7"},"7",-1),r("option",{value:"30"},"30",-1)]),4),[[V0,s.value]]),k(" "+T(e(i)("login.pureRemember"))+" ",1),U(l(F,{icon:e(P0),class:"ml-1"},null,8,["icon"]),[[m0,{content:e(i)("login.pureRememberInfo"),placement:"top"}]])])]),_:1},8,["modelValue"]),l(H,{link:"",type:"primary",onClick:a[7]||(a[7]=f=>e(M)().SET_CURRENTPAGE(4))},{default:n(()=>[k(T(e(i)("login.pureForget")),1)]),_:1})]),l(H,{class:"w-full mt-4",size:"default",type:"primary",loading:u.value,disabled:c.value,onClick:a[8]||(a[8]=f=>Q(g.value))},{default:n(()=>[k(T(e(i)("login.pureLogin")),1)]),_:1},8,["loading","disabled"])]),_:1})]),_:1}),l(e(I),{delay:300},{default:n(()=>[l(S,null,{default:n(()=>[r("div",ye,[(h(!0),R(X,null,e0(e(W0),(f,D)=>(h(),w(H,{key:D,class:"w-full mt-4",size:"default",onClick:Ie=>e(M)().SET_CURRENTPAGE(D+1)},{default:n(()=>[k(T(e(i)(f.title)),1)]),_:2},1032,["onClick"]))),128))])]),_:1})]),_:1})]),_:1},8,["model","rules"])):E("",!0),d.value===0?(h(),w(e(I),{key:1,delay:350},{default:n(()=>[l(S,null,{default:n(()=>[l(p0,null,{default:n(()=>[r("p",xe,T(e(i)("login.pureThirdLogin")),1)]),_:1}),r("div",we,[(h(!0),R(X,null,e0(e(Y0),(f,D)=>(h(),R("span",{key:D,title:e(i)(f.title)},[l(u0,{icon:`ri:${f.icon}-fill`,width:"20",class:"cursor-pointer text-gray-500 hover:text-blue-400"},null,8,["icon"])],8,be))),128))])]),_:1})]),_:1})):E("",!0),d.value===1?(h(),w(A0,{key:2})):E("",!0),d.value===2?(h(),w(G0,{key:3})):E("",!0),d.value===3?(h(),w(j0,{key:4})):E("",!0),d.value===4?(h(),w(q0,{key:5})):E("",!0)])])]),r("div",Ce,[a[12]||(a[12]=k(" Copyright © 2020-2024 ")),r("a",ke,"  "+T(e(j)),1)])])}}}),We=$0(Me,[["__scopeId","data-v-317c94cf"]]);export{We as default}; diff --git a/static/js/index-Dy8WaZ9q.js b/static/js/index-BrPWhHJO.js similarity index 51% rename from static/js/index-Dy8WaZ9q.js rename to static/js/index-BrPWhHJO.js index 99eaae998e..89e95124b8 100644 --- a/static/js/index-Dy8WaZ9q.js +++ b/static/js/index-BrPWhHJO.js @@ -1,2 +1,2 @@ -import{list as y}from"./list-DhWKmiIS.js";import{d as g,a as h,b as l,w as t,e as a,A as C,f as r,g as c,h as o,i as n,k as _,l as w,B,t as N,U as z,j as D,u as T,F as V,_ as E}from"./index-AFhnwzwZ.js";import"./base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js";import"./data-Ym5jS6hg.js";import"./stripe.vue_vue_type_script_setup_true_lang-Bp23k1Uq.js";import"./border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js";import"./status.vue_vue_type_style_index_0_lang-C4OOMurw.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js";import"./radio.vue_vue_type_script_setup_true_lang-Be2wJsO5.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-BlSekUhG.js";import"./sortable.vue_vue_type_script_setup_true_lang-Bdm0Oly5.js";import"./filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js";import"./index.vue_vue_type_script_setup_true_lang-C4EmSHGZ.js";import"./columns-W6b6dVhJ.js";import"./index.vue_vue_type_script_setup_true_lang-Q9Gd_OeO.js";import"./columns-B8xO-q65.js";import"./expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js";import"./tree.vue_vue_type_script_setup_true_lang-DYOeKLHo.js";import"./totalRow.vue_vue_type_script_setup_true_lang-DgiBFEgr.js";import"./merge.vue_vue_type_script_setup_true_lang-DaVpFdAG.js";import"./customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js";import"./layout.vue_vue_type_script_setup_true_lang-UhEx_IUc.js";import"./nestProp.vue_vue_type_script_setup_true_lang-hFiXSG8I.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js";const F={class:"card-header"},P={class:"font-medium"},$=g({name:"PureTable",__name:"index",setup(j){const p=h(0);function u({index:m}){p.value=m}return(m,e)=>{const i=a("el-link"),b=a("el-alert"),f=a("el-tab-pane"),k=a("el-tabs"),v=a("el-card"),x=C("tippy");return r(),l(v,{shadow:"never"},{header:t(()=>[c("div",F,[c("span",P,[e[2]||(e[2]=o(" 二次封装 Element Plus 的 ")),n(i,{href:"https://element-plus.org/zh-CN/component/table.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[o(" el-table ")])),_:1}),e[3]||(e[3]=o(" 完全兼容 api 并提供灵活的配置项以及完善的类型提示,不用将代码都写在 template 里了 ")),n(i,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[1]||(e[1]=[o(" @pureadmin/table 源码 ")])),_:1})])]),n(i,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/base",target:"_blank"},{default:t(()=>e[4]||(e[4]=[o(" 代码位置 src/views/table/base ")])),_:1})]),default:t(()=>[n(b,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id。作用:1. 用来优化 Table +import{list as y}from"./list-Cgg6ByBQ.js";import{d as g,a as h,b as l,w as t,e as a,A as C,f as r,g as c,h as o,i as n,k as _,l as w,B,t as N,U as z,j as D,u as T,F as V,_ as E}from"./index-DqH6biyS.js";import"./base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js";import"./data-B0U4WEbi.js";import"./stripe.vue_vue_type_script_setup_true_lang-CClKpZjd.js";import"./border.vue_vue_type_script_setup_true_lang-BubGyNWv.js";import"./status.vue_vue_type_style_index_0_lang-6Qtbs0hy.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js";import"./radio.vue_vue_type_script_setup_true_lang-DL9BW8Pu.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-C1CMCrz8.js";import"./sortable.vue_vue_type_script_setup_true_lang-CWEJ1908.js";import"./filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js";import"./index.vue_vue_type_script_setup_true_lang-CtSr9sRs.js";import"./columns-CgHMBxUf.js";import"./index.vue_vue_type_script_setup_true_lang-DdvYmDgH.js";import"./columns-pDchs0BE.js";import"./expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js";import"./tree.vue_vue_type_script_setup_true_lang-C3LhBtK2.js";import"./totalRow.vue_vue_type_script_setup_true_lang-DVWQoJN1.js";import"./merge.vue_vue_type_script_setup_true_lang-DSmXgU5d.js";import"./customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js";import"./layout.vue_vue_type_script_setup_true_lang-BKu4Fcr9.js";import"./nestProp.vue_vue_type_script_setup_true_lang-BYVeSvao.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js";const F={class:"card-header"},P={class:"font-medium"},$=g({name:"PureTable",__name:"index",setup(j){const p=h(0);function u({index:m}){p.value=m}return(m,e)=>{const i=a("el-link"),b=a("el-alert"),f=a("el-tab-pane"),k=a("el-tabs"),v=a("el-card"),x=C("tippy");return r(),l(v,{shadow:"never"},{header:t(()=>[c("div",F,[c("span",P,[e[2]||(e[2]=o(" 二次封装 Element Plus 的 ")),n(i,{href:"https://element-plus.org/zh-CN/component/table.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[o(" el-table ")])),_:1}),e[3]||(e[3]=o(" 完全兼容 api 并提供灵活的配置项以及完善的类型提示,不用将代码都写在 template 里了 ")),n(i,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[1]||(e[1]=[o(" @pureadmin/table 源码 ")])),_:1})])]),n(i,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/table/base",target:"_blank"},{default:t(()=>e[4]||(e[4]=[o(" 代码位置 src/views/table/base ")])),_:1})]),default:t(()=>[n(b,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id。作用:1. 用来优化 Table 的渲染,尤其当字段在深层结构中;2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),n(k,{onTabClick:u},{default:t(()=>[(r(!0),_(V,null,w(T(y),(s,d)=>(r(),l(f,{key:s.key,lazy:!0},{label:t(()=>[B((r(),_("span",null,[o(N(s.title),1)])),[[x,{maxWidth:"none",content:`(第 ${d+1} 个示例)${s.content}`}]])]),default:t(()=>[p.value==d?(r(),l(z(s.component),{key:0})):D("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}}),pe=E($,[["__scopeId","data-v-8c8f0efb"]]);export{pe as default}; diff --git a/static/js/index-Bv-fMfN7.js b/static/js/index-Bv-fMfN7.js new file mode 100644 index 0000000000..8293235e92 --- /dev/null +++ b/static/js/index-Bv-fMfN7.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BNRtHyLB.js";import"./index.vue_vue_type_script_setup_true_lang-CYghlETT.js";import"./columns-BR0-Komp.js";import"./index-DqH6biyS.js";import"./data-BAnvZeM5.js";import"./index.vue_vue_type_script_setup_true_lang-ChiTuvXl.js";import"./columns-DjJFz-0d.js";export{o as default}; diff --git a/static/js/index-BCvjJx8_.js b/static/js/index-BxWaCh97.js similarity index 90% rename from static/js/index-BCvjJx8_.js rename to static/js/index-BxWaCh97.js index 92d4bace71..4ac9a348f8 100644 --- a/static/js/index-BCvjJx8_.js +++ b/static/js/index-BxWaCh97.js @@ -1 +1 @@ -var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var h=(r,n,a)=>n in r?H(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,k=(r,n)=>{for(var a in n||(n={}))O.call(n,a)&&h(r,a,n[a]);if(b)for(var a of b(n))Q.call(n,a)&&h(r,a,n[a]);return r},y=(r,n)=>J(r,K(n));import{useRole as W}from"./hook-BTIlemgc.js";import{g as X}from"./utils-NlcLu7mC.js";import{d as Y,P as Z}from"./refresh-lSteXGJu.js";import{u as p}from"./hooks-CaC3u4N2.js";import{d as ee}from"./delete-Ce0TSdK5.js";import{d as oe,a as v,e as s,A as te,f as x,k as S,i as t,w as l,u as e,h as d,B as ne,g as w,t as le,j as ae,_ as re}from"./index-AFhnwzwZ.js";import"./detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js";import"./vue-json-pretty-DYIyI-em.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const ie={width:1024,height:1024,body:''},se={class:"main"},me={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},de={class:"flex-auto"},ce={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},pe=oe({name:"SystemLog",__name:"index",setup(r){const n=v(),a=v(),{form:c,loading:f,columns:V,dataList:z,pagination:D,selectedNum:_,onSearch:g,onDetail:R,clearAll:P,resetForm:B,onbatchDel:N,handleSizeChange:T,onSelectionCancel:$,handleCellDblclick:q,handleCurrentChange:A,handleSelectionChange:I}=W(a);return(ue,o)=>{const L=s("el-input"),u=s("el-form-item"),U=s("el-date-picker"),m=s("el-button"),j=s("el-form"),C=s("el-popconfirm"),E=s("pure-table"),F=te("motion-fade");return x(),S("div",se,[t(j,{ref_key:"formRef",ref:n,inline:!0,model:e(c),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[t(u,{label:"所属模块",prop:"module"},{default:l(()=>[t(L,{modelValue:e(c).module,"onUpdate:modelValue":o[0]||(o[0]=i=>e(c).module=i),placeholder:"请输入所属模块",clearable:"",class:"!w-[170px]"},null,8,["modelValue"])]),_:1}),t(u,{label:"请求时间",prop:"requestTime"},{default:l(()=>[t(U,{modelValue:e(c).requestTime,"onUpdate:modelValue":o[1]||(o[1]=i=>e(c).requestTime=i),shortcuts:e(X)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),t(u,null,{default:l(()=>[t(m,{type:"primary",icon:e(p)("ri:search-line"),loading:e(f),onClick:e(g)},{default:l(()=>o[3]||(o[3]=[d(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(m,{icon:e(p)(e(Y)),onClick:o[2]||(o[2]=i=>e(B)(n.value))},{default:l(()=>o[4]||(o[4]=[d(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(Z),{title:"系统日志(仅演示,操作后不生效)",columns:e(V),onRefresh:e(g)},{buttons:l(()=>[t(C,{title:"确定要删除所有日志数据吗?",onConfirm:e(P)},{reference:l(()=>[t(m,{type:"danger",icon:e(p)(e(ee))},{default:l(()=>o[5]||(o[5]=[d(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:l(({size:i,dynamicColumns:M})=>[e(_)>0?ne((x(),S("div",me,[w("div",de,[w("span",ce," 已选 "+le(e(_))+" 项 ",1),t(m,{type:"primary",text:"",onClick:e($)},{default:l(()=>o[6]||(o[6]=[d(" 取消选择 ")])),_:1},8,["onClick"])]),t(C,{title:"是否确认删除?",onConfirm:e(N)},{reference:l(()=>[t(m,{type:"danger",text:"",class:"mr-1"},{default:l(()=>o[7]||(o[7]=[d(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[F]]):ae("",!0),t(E,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(z),columns:M,pagination:y(k({},e(D)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(I),onPageSizeChange:e(T),onPageCurrentChange:e(A),onCellDblclick:e(q)},{operation:l(({row:G})=>[t(m,{class:"reset-margin !outline-none",link:"",type:"primary",size:i,icon:e(p)(e(ie)),onClick:fe=>e(R)(G)},{default:l(()=>o[8]||(o[8]=[d(" 详情 ")])),_:2},1032,["size","icon","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange","onCellDblclick"])]),_:1},8,["columns","onRefresh"])])}}}),De=re(pe,[["__scopeId","data-v-280df620"]]);export{De as default}; +var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var h=(r,n,a)=>n in r?H(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,k=(r,n)=>{for(var a in n||(n={}))O.call(n,a)&&h(r,a,n[a]);if(b)for(var a of b(n))Q.call(n,a)&&h(r,a,n[a]);return r},y=(r,n)=>J(r,K(n));import{useRole as W}from"./hook-CBcnYByc.js";import{g as X}from"./utils-NlcLu7mC.js";import{d as Y,P as Z}from"./refresh-DeEyTuf-.js";import{u as p}from"./hooks-BoDRUKFd.js";import{d as ee}from"./delete-Ce0TSdK5.js";import{d as oe,a as v,e as s,A as te,f as x,k as S,i as t,w as l,u as e,h as d,B as ne,g as w,t as le,j as ae,_ as re}from"./index-DqH6biyS.js";import"./detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js";import"./vue-json-pretty-ONrekcxr.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const ie={width:1024,height:1024,body:''},se={class:"main"},me={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},de={class:"flex-auto"},ce={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},pe=oe({name:"SystemLog",__name:"index",setup(r){const n=v(),a=v(),{form:c,loading:f,columns:V,dataList:z,pagination:D,selectedNum:_,onSearch:g,onDetail:R,clearAll:P,resetForm:B,onbatchDel:N,handleSizeChange:T,onSelectionCancel:$,handleCellDblclick:q,handleCurrentChange:A,handleSelectionChange:I}=W(a);return(ue,o)=>{const L=s("el-input"),u=s("el-form-item"),U=s("el-date-picker"),m=s("el-button"),j=s("el-form"),C=s("el-popconfirm"),E=s("pure-table"),F=te("motion-fade");return x(),S("div",se,[t(j,{ref_key:"formRef",ref:n,inline:!0,model:e(c),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[t(u,{label:"所属模块",prop:"module"},{default:l(()=>[t(L,{modelValue:e(c).module,"onUpdate:modelValue":o[0]||(o[0]=i=>e(c).module=i),placeholder:"请输入所属模块",clearable:"",class:"!w-[170px]"},null,8,["modelValue"])]),_:1}),t(u,{label:"请求时间",prop:"requestTime"},{default:l(()=>[t(U,{modelValue:e(c).requestTime,"onUpdate:modelValue":o[1]||(o[1]=i=>e(c).requestTime=i),shortcuts:e(X)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),t(u,null,{default:l(()=>[t(m,{type:"primary",icon:e(p)("ri:search-line"),loading:e(f),onClick:e(g)},{default:l(()=>o[3]||(o[3]=[d(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(m,{icon:e(p)(e(Y)),onClick:o[2]||(o[2]=i=>e(B)(n.value))},{default:l(()=>o[4]||(o[4]=[d(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(Z),{title:"系统日志(仅演示,操作后不生效)",columns:e(V),onRefresh:e(g)},{buttons:l(()=>[t(C,{title:"确定要删除所有日志数据吗?",onConfirm:e(P)},{reference:l(()=>[t(m,{type:"danger",icon:e(p)(e(ee))},{default:l(()=>o[5]||(o[5]=[d(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:l(({size:i,dynamicColumns:M})=>[e(_)>0?ne((x(),S("div",me,[w("div",de,[w("span",ce," 已选 "+le(e(_))+" 项 ",1),t(m,{type:"primary",text:"",onClick:e($)},{default:l(()=>o[6]||(o[6]=[d(" 取消选择 ")])),_:1},8,["onClick"])]),t(C,{title:"是否确认删除?",onConfirm:e(N)},{reference:l(()=>[t(m,{type:"danger",text:"",class:"mr-1"},{default:l(()=>o[7]||(o[7]=[d(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[F]]):ae("",!0),t(E,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(z),columns:M,pagination:y(k({},e(D)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(I),onPageSizeChange:e(T),onPageCurrentChange:e(A),onCellDblclick:e(q)},{operation:l(({row:G})=>[t(m,{class:"reset-margin !outline-none",link:"",type:"primary",size:i,icon:e(p)(e(ie)),onClick:fe=>e(R)(G)},{default:l(()=>o[8]||(o[8]=[d(" 详情 ")])),_:2},1032,["size","icon","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange","onCellDblclick"])]),_:1},8,["columns","onRefresh"])])}}}),De=re(pe,[["__scopeId","data-v-280df620"]]);export{De as default}; diff --git a/static/js/index-C2ZA2qBT.js b/static/js/index-C2ZA2qBT.js new file mode 100644 index 0000000000..b6379de540 --- /dev/null +++ b/static/js/index-C2ZA2qBT.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CYghlETT.js";import"./columns-BR0-Komp.js";import"./index-DqH6biyS.js";import"./data-BAnvZeM5.js";export{o as default}; diff --git a/static/js/index-CiH_NjpO.js b/static/js/index-C8C4lqsr.js similarity index 99% rename from static/js/index-CiH_NjpO.js rename to static/js/index-C8C4lqsr.js index dde481eee4..1ce143e801 100644 --- a/static/js/index-CiH_NjpO.js +++ b/static/js/index-C8C4lqsr.js @@ -1,4 +1,4 @@ -var Mn=Object.defineProperty,Ln=Object.defineProperties;var Vn=Object.getOwnPropertyDescriptors;var nn=Object.getOwnPropertySymbols;var Hn=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable;var on=(n,t,o)=>t in n?Mn(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,$t=(n,t)=>{for(var o in t||(t={}))Hn.call(t,o)&&on(n,o,t[o]);if(nn)for(var o of nn(t))zn.call(t,o)&&on(n,o,t[o]);return n},Tt=(n,t)=>Ln(n,Vn(t));var it=(n,t,o)=>new Promise((a,l)=>{var s=r=>{try{h(o.next(r))}catch(d){l(d)}},p=r=>{try{h(o.throw(r))}catch(d){l(d)}},h=r=>r.done?a(r.value):Promise.resolve(r.value).then(s,p);h((o=o.apply(n,t)).next())});import{fE as ae,av as An,aw as En,az as tt,a as N,ax as Fe,ay as rt,p as Z,r as Pt,fF as Se,fG as pn,m as Ye,aa as Pe,ac as Dt,ae as Nt,Z as Bt,fH as qe,fI as an,u as e,fJ as vt,b0 as Xe,fK as nt,_ as _e,f as u,k as S,aN as On,d as se,fL as gt,fM as Zn,a7 as ze,fN as mn,n as De,aO as wt,aP as vn,z as qt,e as H,B as he,a0 as Te,g as v,i as c,s as fe,F as be,l as Me,v as re,q as Ze,t as U,j as X,w as C,h as me,dU as Ft,b as q,y as Qe,aZ as ot,fO as Mt,fP as Rn,bo as Ve,U as Re,R as je,aV as Pn,M as Ht,bi as Dn,ad as Nn,fQ as Lt,aH as Bn,X as gn,A as et,fR as jt,fS as yt,K as qn,Q as _t,fT as ft,aW as zt,fU as ln,L as ut,at as yn,W as lt,Y as _n,o as Fn,c as jn,S as Un,fV as Wn,as as Kn,bn as Yn,fB as Gn,a3 as rn}from"./index-AFhnwzwZ.js";import{d as Xn,a as bt}from"./close-CObHKOmY.js";import{d as Jn}from"./home-filled-NADQtN-e.js";import{d as Qn}from"./git-branch-line-BhusJOme.js";import{d as eo}from"./admin-line-CpqWPwjZ.js";import{d as xt,a as to,b as At,_ as no,c as oo}from"./SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js";import{d as ao,u as Ee,a as Ut,g as Wt,b as lo,c as ro}from"./dark-DZCoNMpI.js";import{u as Kt,t as so,a as io}from"./useDataThemeChange-D7aTkze5.js";import{u as Ke}from"./app-Cp1TpsuP.js";import{e as He}from"./mitt-E5P-NQ8u.js";import{d as co}from"./refresh-right-Du3ZsAuC.js";import{d as Et}from"./arrow-right-s-line-CxPb13eK.js";import{m as uo}from"./index-DUS3SmWP.js";import{u as Ot}from"./epTheme-rJf1qnVw.js";import{u as Be}from"./hooks-CaC3u4N2.js";import{S as ho}from"./sortable.esm-Br3T5NCo.js";import{d as at}from"./check-CIQVCvCT.js";import{B as bn}from"./back_top-B_m2U_ZU.js";import{R as Vt}from"./index-u0vKWnyJ.js";import{R as sn}from"./index-DCLVZHw7.js";import"./user-DNtD0Fqa.js";const fo={width:1024,height:1024,body:''},po={width:1024,height:1024,body:''},mo={width:1024,height:1024,body:''},vo={width:1024,height:1024,body:''},go={width:1024,height:1024,body:''},yo={width:1024,height:1024,body:''},_o={width:24,height:24,body:''},bo={width:24,height:24,body:''},wo={width:24,height:24,body:''},xo={width:24,height:24,body:''},Co={width:24,height:24,body:''},ko={width:24,height:24,body:''},So={width:24,height:24,body:''},wn={width:24,height:24,body:''},Io={width:24,height:24,body:''},$o={width:24,height:24,body:''},To={width:24,height:24,body:''},Mo={width:24,height:24,body:''},Lo={width:24,height:24,body:''},Vo={width:24,height:24,body:''},Ho={width:24,height:24,body:''},zo={width:24,height:24,body:''},Ao={width:24,height:24,body:''},Eo={width:24,height:24,body:''},Oo={width:24,height:24,body:''};ae("ep:menu",Xn);ae("ep:edit",fo);ae("ep:set-up",po);ae("ep:guide",mo);ae("ep:monitor",vo);ae("ep:lollipop",go);ae("ep:histogram",yo);ae("ep:home-filled",Jn);ae("ri:bookmark-2-line",_o);ae("ri:file-ppt-2-line",bo);ae("ri:bank-card-line",wo);ae("ri:admin-fill",xo);ae("ri:file-info-line",Co);ae("ri:git-branch-line",Qn);ae("ri:links-fill",So);ae("ri:table-line",ko);ae("ri:search-line",wn);ae("ri:admin-line",eo);ae("ri:settings-3-line",xt);ae("ri:mind-map",Io);ae("ri:bar-chart-horizontal-line",$o);ae("ri:window-line",to);ae("ri:file-search-line",Mo);ae("ri:artboard-line",To);ae("ri:list-check",Lo);ae("ri:ubuntu-fill",Vo);ae("ri:user-voice-line",Ho);ae("ri:edit-box-line",zo);ae("ri:history-fill",Ao);ae("ri:information-line",ao);ae("ri:terminal-window-line",Eo);ae("ri:checkbox-circle-line",Oo);const Zo=En({id:"pure-setting",state:()=>({title:tt().Title,fixedHeader:tt().FixedHeader,hiddenSideBar:tt().HiddenSideBar}),getters:{getTitle(n){return n.title},getFixedHeader(n){return n.fixedHeader},getHiddenSideBar(n){return n.hiddenSideBar}},actions:{CHANGE_SETTING({key:n,value:t}){Reflect.has(this,n)&&(this[n]=t)},changeSetting(n){this.CHANGE_SETTING(n)}}});function Yt(){return Zo(An)}const Ro={width:24,height:24,body:''},Po={width:24,height:24,body:''},Do={width:24,height:24,body:''},No={width:24,height:24,body:''};function xn(){var ie,ue;const n=Dt(),t=Nt(),o=Bt(),a=Yt(),l=N(0),s=N(0),p=N(0),h=N(!1),r=N(-1),d=N({}),m=N(!1),f=N(((ie=Fe().getItem(`${rt()}configure`))==null?void 0:ie.showModel)||"smart"),y=(ue=N(Fe().getItem(`${rt()}configure`).hideTabs))!=null?ue:N("false"),b=Z(()=>qe().multiTags),x=Pt([{icon:co,text:Se("buttons.pureReload"),divided:!1,disabled:!1,show:!0},{icon:bt,text:Se("buttons.pureCloseCurrentTab"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:No,text:Se("buttons.pureCloseLeftTabs"),divided:!0,disabled:!(b.value.length>1),show:!0},{icon:Do,text:Se("buttons.pureCloseRightTabs"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:Po,text:Se("buttons.pureCloseOtherTabs"),divided:!0,disabled:!(b.value.length>2),show:!0},{icon:Ro,text:Se("buttons.pureCloseAllTabs"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:pn,text:Se("buttons.pureContentFullScreen"),divided:!0,disabled:!1,show:!0}]);function M(P,Q,le){var xe,Oe;return an((xe=n==null?void 0:n.meta)==null?void 0:xe.showLink)&&((Oe=n==null?void 0:n.meta)==null?void 0:Oe.showLink)===!1?Object.keys(n.query).length>0?nt(n.query,P.query)?Q:le:nt(n.params,P.params)?Q:le:n.path===P.path?Q:le}const A=Z(()=>P=>{var Q,le;return an((Q=P==null?void 0:P.meta)==null?void 0:Q.fixedTag)&&((le=P==null?void 0:P.meta)==null?void 0:le.fixedTag)===!0}),_=Z(()=>(P,Q)=>{if(Q!==0)return M(P,!0,!1)}),B=Z(()=>P=>M(P,"is-active","")),R=Z(()=>P=>M(P,"schedule-active","")),D=Z(()=>({transform:`translateX(${p.value}px)`,transition:m.value?"none":"transform 0.5s ease-in-out"})),J=Z(()=>({left:s.value+"px",top:l.value+"px"})),F=()=>{h.value=!1};function V(P){if(P&&(r.value=P),e(f)==="smart"){if(vt(o.refs["schedule"+P][0],"schedule-active"))return;Xe(!0,"schedule-in",o.refs["schedule"+P][0]),Xe(!1,"schedule-out",o.refs["schedule"+P][0])}else{if(vt(o.refs["dynamic"+P][0],"is-active"))return;Xe(!0,"card-in",o.refs["dynamic"+P][0]),Xe(!1,"card-out",o.refs["dynamic"+P][0])}}function j(P){if(r.value=-1,e(f)==="smart"){if(vt(o.refs["schedule"+P][0],"schedule-active"))return;Xe(!1,"schedule-in",o.refs["schedule"+P][0]),Xe(!0,"schedule-out",o.refs["schedule"+P][0])}else{if(vt(o.refs["dynamic"+P][0],"is-active"))return;Xe(!1,"card-in",o.refs["dynamic"+P][0]),Xe(!0,"card-out",o.refs["dynamic"+P][0])}}function W(){a.hiddenSideBar?a.changeSetting({key:"hiddenSideBar",value:!1}):a.changeSetting({key:"hiddenSideBar",value:!0})}return Ye(()=>{if(!f.value){const P=Fe().getItem(`${rt()}configure`);P.showModel="card",Fe().setItem(`${rt()}configure`,P)}}),{Close:bt,route:n,router:t,visible:h,showTags:y,instance:o,multiTags:b,showModel:f,tagsViews:x,buttonTop:l,buttonLeft:s,translateX:p,isFixedTag:A,pureSetting:a,activeIndex:r,getTabStyle:D,isScrolling:m,iconIsActive:_,linkIsActive:B,currentSelect:d,scheduleIsActive:R,getContextMenuStyle:J,$t:Se,closeMenu:F,onMounted:Ye,onMouseenter:V,onMouseleave:j,transformI18n:Pe,onContentFullScreen:W}}const Bo={},qo={class:"w-full h-full"};function Fo(n,t){return u(),S("svg",qo,t[0]||(t[0]=[On('',3)]))}const jo=_e(Bo,[["render",Fo]]),Uo={width:24,height:24,body:''},Wo={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},Ko={class:"arrow-left"},Yo=["onContextmenu","onMouseenter","onMouseleave","onClick"],Go={class:"tag-title dark:!text-text_color_primary dark:hover:!text-primary"},Xo=["onClick"],Jo={key:1,class:"chrome-tab"},Qo={class:"chrome-tab__bg"},ea={class:"tag-title"},ta=["onClick"],na={class:"arrow-right"},oa=["onClick"],aa={class:"arrow-down"},la=se({__name:"index",setup(n){var pt;const{Close:t,route:o,router:a,visible:l,showTags:s,instance:p,multiTags:h,tagsViews:r,buttonTop:d,buttonLeft:m,showModel:f,translateX:y,isFixedTag:b,pureSetting:x,activeIndex:M,getTabStyle:A,isScrolling:_,iconIsActive:B,linkIsActive:R,currentSelect:D,scheduleIsActive:J,getContextMenuStyle:F,closeMenu:V,onMounted:j,onMouseenter:W,onMouseleave:ie,transformI18n:ue,onContentFullScreen:P}=xn(),Q=N(),le=N(),xe=N(),Oe=N(),Ie=N(!1),i=(pt=gt())==null?void 0:pt.path,{VITE_HIDE_HOME:g}=Wo,T=[...Zn,...ze().flatteningRoutes.filter(k=>{var z;return(z=k==null?void 0:k.meta)==null?void 0:z.fixedTag})],ee=()=>it(this,null,function*(){yield Qe();const k=h.value.findIndex(z=>ot(o.query)?ot(o.params)?o.path===z.path:nt(o.params,z.params):nt(o.query,z.query));pe(k)}),pe=k=>it(this,null,function*(){var de,ke;yield Qe();const z=10;if(!p.refs["dynamic"+k])return;const O=p.refs["dynamic"+k][0],G=O==null?void 0:O.offsetLeft,ve=O==null?void 0:O.offsetWidth,K=xe.value?(de=xe.value)==null?void 0:de.offsetWidth:0,Y=Q.value?(ke=Q.value)==null?void 0:ke.offsetWidth:0;K<=Y?Ie.value=!0:Ie.value=!1,Y-y.value&&G+ve<-y.value+K?y.value=Math.min(0,K-ve-G-z):y.value=-(G-(K-z-ve))}),ne=k=>{var G;const z=xe.value?(G=xe.value)==null?void 0:G.offsetWidth:0,O=Q.value?Q.value.offsetWidth:0;k>0?y.value=Math.min(0,y.value+k):z=-(O-z)&&(y.value=Math.max(y.value+k,z-O)):y.value=0,_.value=!1},te=k=>{_.value=!0;const z=Math.abs(k.deltaX)+Math.abs(k.deltaY);let O=0;k.deltaX<0?O=z>0?z:100:O=z>0?-z:-100,w(O)},w=k=>{let O=Math.abs(k);const G=()=>{const ve=Math.sign(k)*Math.min(20,O);ne(ve),O-=Math.abs(ve),O>0&&requestAnimationFrame(G)};requestAnimationFrame(G)};function I(k){const z=h.value.some(G=>G.path===k);function O(G,ve){z||G.forEach(K=>{K.path===ve?qe().handleTags("push",{path:ve,meta:K.meta,name:K.name}):K.children&&K.children.length>0&&O(K.children,ve)})}O(a.options.routes,k)}function E(){const{fullPath:k,query:z}=e(o);a.replace({path:"/redirect"+k,query:z}),Mt(o,"refresh")}function ce(k,z,O){var Y,de,ke,st;const G=h.value.findIndex(Le=>{if(Le.query){if(Le.path===k.path)return Le.query===k.query}else if(Le.params){if(Le.path===k.path)return Le.params===k.params}else return Le.path===k.path}),ve=(Le,$e,mt)=>{mt?qe().handleTags("equal",[g==="false"?T:Ve(gt()),k].flat()):qe().handleTags("splice","",{startIndex:Le,length:$e}),ee()};O==="other"?ve(1,1,!0):O==="left"?ve(T.length,G-1,!0):O==="right"?ve(G+1,h.value.length):ve(G,1);const K=qe().handleTags("slice");if(z===o.path){if(O==="left")return;(Y=K[0])!=null&&Y.query?a.push({name:K[0].name,query:K[0].query}):(de=K[0])!=null&&de.params?a.push({name:K[0].name,params:K[0].params}):a.push({path:K[0].path})}else{if(!h.value.length||h.value.some(Le=>Le.path===o.path))return;(ke=K[0])!=null&&ke.query?a.push({name:K[0].name,query:K[0].query}):(st=K[0])!=null&&st.params?a.push({name:K[0].name,params:K[0].params}):a.push({path:K[0].path})}}function L(k,z){ce(k,k.path,z),Mt(o)}function $(k,z,O){if(z&&z.disabled)return;let G;switch(O?G={path:O.path,meta:O.meta,name:O.name,query:O==null?void 0:O.query,params:O==null?void 0:O.params}:G={path:o.path,meta:o.meta},k){case 0:E();break;case 1:L(G);break;case 2:L(G,"left");break;case 3:L(G,"right");break;case 4:L(G,"other");break;case 5:qe().handleTags("splice","",{startIndex:T.length,length:h.value.length}),a.push(i),Mt(o);break;case 6:P(),setTimeout(()=>{x.hiddenSideBar?(r[6].icon=Rn,r[6].text=Se("buttons.pureContentExitFullScreen")):(r[6].icon=pn,r[6].text=Se("buttons.pureContentFullScreen"))},100);break}setTimeout(()=>{Ue(o.fullPath,o.query)})}function ge(k){const{key:z,item:O}=k;$(z,O)}function Ce(k,z){V(),$(k,z,D.value)}function Ge(k){Array.of(1,2,3,4,5).forEach(z=>{r[z].show=k})}function Ae(k,z=!1){Array.of(1,2,3,4,5).forEach(O=>{r[O].disabled=k}),z&&(r[2].show=!1,r[2].disabled=!0)}function Ue(k,z={},O=!1){var de,ke,st,Le;const G=h.value,ve=h.value.length;let K=-1;ot(z)?K=G.findIndex($e=>$e.path===k):K=G.findIndex($e=>nt($e.query,z));function Y(){var $e,mt;(mt=($e=G[K])==null?void 0:$e.meta)!=null&&mt.fixedTag&&Array.of(1,2,3,4,5).forEach(Tn=>{r[Tn].disabled=!0})}Ge(!0),O&&(r[0].show=!0),K===1&&ve!==2?(r[2].show=!1,Array.of(1,3,4,5).forEach($e=>{r[$e].disabled=!1}),r[2].disabled=!0,Y()):K===1&&ve===2?(Ae(!1),Array.of(2,3,4).forEach($e=>{r[$e].show=!1,r[$e].disabled=!0}),Y()):ve-1===K&&K!==0?(r[3].show=!1,Array.of(1,2,4,5).forEach($e=>{r[$e].disabled=!1}),r[3].disabled=!0,(ke=(de=G[K-1])==null?void 0:de.meta)!=null&&ke.fixedTag&&(r[2].show=!1,r[2].disabled=!0),Y()):K===0||k===`/redirect${i}`?Ae(!0):(Ae(!1,(Le=(st=G[K-1])==null?void 0:st.meta)==null?void 0:Le.fixedTag),Y())}function It(k,z){var de;V(),k.path===i||(de=k==null?void 0:k.meta)!=null&&de.fixedTag?(Ge(!1),r[0].show=!0):o.path!==k.path&&o.name!==k.name?(r[0].show=!1,Ue(k.path,k.query)):h.value.length===2&&o.path!==k.path?(Ge(!0),r[4].show=!1):o.path===k.path&&Ue(k.path,k.query,!0),D.value=k;const O=140,G=e(le).getBoundingClientRect().left,K=e(le).offsetWidth-O,Y=z.clientX-G+5;Y>K?m.value=K:m.value=Y,Yt().hiddenSideBar?d.value=z.clientY:d.value=z.clientY-40,Qe(()=>{l.value=!0})}function oe(k){const{name:z,path:O}=k;z?k.query?a.push({name:z,query:k.query}):k.params?a.push({name:z,params:k.params}):a.push({name:z}):a.push({path:O})}return mn(Oe,V,{detectIframe:!0}),De(o,()=>{M.value=-1,ee()}),j(()=>{p&&(Ue(o.fullPath),He.on("tagViewsChange",k=>{e(s)!==k&&(s.value=k)}),He.on("tagViewsShowModel",k=>{f.value=k}),He.on("changLayoutRoute",k=>{I(k),setTimeout(()=>{Ue(k)})}),wt(xe,ee),vn().then(()=>ee()))}),qt(()=>{He.off("tagViewsChange"),He.off("tagViewsShowModel"),He.off("changLayoutRoute")}),(k,z)=>{const O=H("IconifyIconOffline"),G=H("el-dropdown-item"),ve=H("el-dropdown-menu"),K=H("el-dropdown");return e(s)?X("",!0):(u(),S("div",{key:0,ref_key:"containerDom",ref:le,class:"tags-view"},[he(v("span",Ko,[c(O,{icon:e(At),onClick:z[0]||(z[0]=Y=>ne(200))},null,8,["icon"])],512),[[Te,Ie.value]]),v("div",{ref_key:"scrollbarDom",ref:xe,class:re(["scroll-container",e(f)==="chrome"&&"chrome-scroll-container"]),onWheel:Ze(te,["prevent"])},[v("div",{ref_key:"tabDom",ref:Q,class:"tab select-none",style:fe(e(A))},[(u(!0),S(be,null,Me(e(h),(Y,de)=>(u(),S("div",{ref_for:!0,ref:"dynamic"+de,key:de,class:re(["scroll-item is-closable",e(R)(Y),e(f)==="chrome"&&"chrome-item",e(b)(Y)&&"fixed-tag"]),onContextmenu:Ze(ke=>It(Y,ke),["prevent"]),onMouseenter:Ze(ke=>e(W)(de),["prevent"]),onMouseleave:Ze(ke=>e(ie)(de),["prevent"]),onClick:ke=>oe(Y)},[e(f)!=="chrome"?(u(),S(be,{key:0},[v("span",Go,U(e(ue)(Y.meta.title)),1),!e(b)(Y)&&(e(B)(Y,de)||de===e(M)&&de!==0)?(u(),S("span",{key:0,class:"el-icon-close",onClick:Ze(ke=>L(Y),["stop"])},[c(O,{icon:e(t)},null,8,["icon"])],8,Xo)):X("",!0),e(f)!=="card"?(u(),S("span",{key:1,ref_for:!0,ref:"schedule"+de,class:re([e(J)(Y)])},null,2)):X("",!0)],64)):(u(),S("div",Jo,[v("div",Qo,[c(jo)]),v("span",ea,U(e(ue)(Y.meta.title)),1),!e(b)(Y)&&de!==0?(u(),S("span",{key:0,class:"chrome-close-btn",onClick:Ze(ke=>L(Y),["stop"])},[c(O,{icon:e(t)},null,8,["icon"])],8,ta)):X("",!0),z[2]||(z[2]=v("span",{class:"chrome-tab-divider"},null,-1))]))],42,Yo))),128))],4)],34),he(v("span",na,[c(O,{icon:e(Et),onClick:z[1]||(z[1]=Y=>ne(-200))},null,8,["icon"])],512),[[Te,Ie.value]]),c(Ft,{name:"el-zoom-in-top"},{default:C(()=>[he((u(),S("ul",{ref_key:"contextmenuRef",ref:Oe,key:Math.random(),style:fe(e(F)),class:"contextmenu"},[(u(!0),S(be,null,Me(e(r).slice(0,6),(Y,de)=>(u(),S("div",{key:de,style:{display:"flex","align-items":"center"}},[Y.show?(u(),S("li",{key:0,onClick:ke=>Ce(de,Y)},[c(O,{icon:Y.icon},null,8,["icon"]),me(" "+U(e(ue)(Y.text)),1)],8,oa)):X("",!0)]))),128))],4)),[[Te,e(l)]])]),_:1}),c(K,{trigger:"click",placement:"bottom-end",onCommand:ge},{dropdown:C(()=>[c(ve,null,{default:C(()=>[(u(!0),S(be,null,Me(e(r),(Y,de)=>(u(),q(G,{key:de,command:{key:de,item:Y},divided:Y.divided,disabled:Y.disabled},{default:C(()=>[c(O,{icon:Y.icon},null,8,["icon"]),me(" "+U(e(ue)(Y.text)),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:C(()=>[v("span",aa,[c(O,{icon:e(Uo),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}}),ra=_e(la,[["__scopeId","data-v-890d6ae6"]]);function sa(n=!1){const t=N(n);function o(p){t.value=p}function a(){o(!0)}function l(){o(!1)}function s(){o(!t.value)}return{bool:t,setBool:o,setTrue:a,setFalse:l,toggle:s}}const ia={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--ant-design",viewBox:"0 0 1024 1024"};function ca(n,t){return u(),S("svg",ia,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8"},null,-1)]))}const Cn={render:ca},ua=["onMouseenter"],da={class:"result-item-title"},ha=se({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(n,{expose:t,emit:o}){const a=N(),l=N(),s=o,p=Bt(),h=n,r=Z(()=>x=>({background:(x==null?void 0:x.path)===d.value?Ot().epThemeColor:"",color:x.path===d.value?"#fff":"",fontSize:x.path===d.value?"16px":"14px"})),d=Z({get(){return h.value},set(x){s("update:value",x)}});function m(x){return it(this,null,function*(){d.value=x.path})}function f(){s("enter")}function y(){l.value=window.innerHeight-window.innerHeight/10-140}wt(a,y);function b(x){var B;const M=(B=p==null?void 0:p.proxy)==null?void 0:B.$refs[`resultItemRef${x}`];if(!M)return 0;const _=M[0].offsetTop+128;return _>l.value?_-l.value:0}return Ye(()=>{y()}),t({handleScroll:b}),(x,M)=>(u(),S("div",{ref_key:"resultRef",ref:a,class:"result"},[(u(!0),S(be,null,Me(x.options,(A,_)=>{var B,R;return u(),S("div",{key:A.path,ref_for:!0,ref:"resultItemRef"+_,class:"result-item dark:bg-[#1d1d1d]",style:fe(r.value(A)),onClick:f,onMouseenter:D=>m(A)},[(u(),q(Re(e(Be)((B=A.meta)==null?void 0:B.icon)))),v("span",da,U(e(Pe)((R=A.meta)==null?void 0:R.title)),1),c(e(Cn))],44,ua)}),128))],512))}}),fa=_e(ha,[["__scopeId","data-v-274aad60"]]),pa={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--mdi",viewBox:"0 0 24 24"};function ma(n,t){return u(),S("svg",pa,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M1 7h6v2H3v2h4v2H3v2h4v2H1zm10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2"},null,-1)]))}const va={render:ma},ga={width:24,height:24,body:''},ya={width:24,height:24,body:''},_a={class:"search-footer text-[#333] dark:text-white"},ba={class:"search-footer-item"},wa={class:"search-footer-item"},xa={class:"search-footer-item"},Ca={key:0,class:"search-footer-total"},ka=se({__name:"SearchFooter",props:{total:{default:0}},setup(n){const{t}=je(),{device:o}=Ee();return(a,l)=>{const s=H("IconifyIconOffline");return u(),S("div",_a,[v("span",ba,[c(e(Cn),{class:"icon"}),me(" "+U(e(t)("buttons.pureConfirm")),1)]),v("span",wa,[c(s,{icon:e(ga),class:"icon"},null,8,["icon"]),c(s,{icon:e(ya),class:"icon"},null,8,["icon"]),me(" "+U(e(t)("buttons.pureSwitch")),1)]),v("span",xa,[c(e(va),{class:"icon"}),me(" "+U(e(t)("buttons.pureClose")),1)]),e(o)!=="mobile"&&a.total>0?(u(),S("p",Ca,U(`${e(t)("search.pureTotal")} ${a.total}`),1)):X("",!0)])}}}),Sa=_e(ka,[["__scopeId","data-v-7ba3ef39"]]),Ia={width:1024,height:1024,body:''},$a={class:"history-item-title"},Ta=se({__name:"SearchHistoryItem",props:{item:{}},emits:["collectItem","deleteItem"],setup(n,{emit:t}){const o=t;function a(s){o("collectItem",s)}function l(s){o("deleteItem",s)}return(s,p)=>{var r,d;const h=H("IconifyIconOffline");return u(),S(be,null,[(u(),q(Re(e(Be)((r=s.item.meta)==null?void 0:r.icon)))),v("span",$a,U(e(Pe)((d=s.item.meta)==null?void 0:d.title)),1),he(c(h,{icon:e(Ia),class:"w-[18px] h-[18px] mr-2 hover:text-[#d7d5d4]",onClick:p[0]||(p[0]=Ze(m=>a(s.item),["stop"]))},null,8,["icon"]),[[Te,s.item.type==="history"]]),c(h,{icon:e(bt),class:"w-[18px] h-[18px] hover:text-[#d7d5d4] cursor-pointer",onClick:p[1]||(p[1]=Ze(m=>l(s.item),["stop"]))},null,8,["icon"])],64)}}}),cn=_e(Ta,[["__scopeId","data-v-ba0c91b5"]]),Ma=["onMouseenter"],La={class:"collect-container"},Va=["onMouseenter"],Ha=se({__name:"SearchHistory",props:{value:{},options:{}},emits:["update:value","enter","collect","delete","drag"],setup(n,{expose:t,emit:o}){const a=N(),l=N(),s=N(!1),{t:p}=je(),h=o,r=Bt(),d=n,m=Z(()=>V=>({background:(V==null?void 0:V.path)===y.value?Ot().epThemeColor:"",color:V.path===y.value?"#fff":"",fontSize:V.path===y.value?"16px":"14px"})),f=Z(()=>({color:Ot().epThemeColor,fontWeight:500})),y=Z({get(){return d.value},set(V){h("update:value",V)}});De(()=>d.value,V=>{V&&s.value&&vn(100).then(()=>s.value=!1)});const b=Z(()=>d.options.filter(V=>V.type==="history")),x=Z(()=>d.options.filter(V=>V.type==="collect"));function M(V){h("collect",V)}function A(V){s.value=!0,h("delete",V)}function _(V){return it(this,null,function*(){s.value||(y.value=V.path)})}function B(){h("enter")}function R(){l.value=window.innerHeight-window.innerHeight/10-140}wt(a,R);function D(V){var ue;const j=(ue=r==null?void 0:r.proxy)==null?void 0:ue.$refs[`historyItemRef${V}`];if(!j)return 0;const ie=(Pn(j)?j[0]:j).offsetTop+128;return ie>l.value?ie-l.value:0}const J=V=>{h("drag",{oldIndex:V.oldIndex,newIndex:V.newIndex})};let F=null;return De(x,V=>{V.length>1&&Qe(()=>{const j=document.querySelector(".collect-container");!j||F||(F=ho.create(j,{animation:160,onStart:W=>{W.item.style.cursor="move"},onEnd:W=>{W.item.style.cursor="pointer"},onUpdate:J}),R())})},{deep:!0,immediate:!0}),t({handleScroll:D}),(V,j)=>(u(),S("div",{ref_key:"historyRef",ref:a,class:"history"},[b.value.length?(u(),S(be,{key:0},[v("div",{style:fe(f.value)},U(e(p)("search.pureHistory")),5),(u(!0),S(be,null,Me(b.value,(W,ie)=>(u(),S("div",{key:W.path,ref_for:!0,ref:"historyItemRef"+ie,class:"history-item dark:bg-[#1d1d1d]",style:fe(m.value(W)),onClick:B,onMouseenter:ue=>_(W)},[c(cn,{item:W,onDeleteItem:A,onCollectItem:M},null,8,["item"])],44,Ma))),128))],64)):X("",!0),x.value.length?(u(),S(be,{key:1},[v("div",{style:fe(f.value)},U(`${e(p)("search.pureCollect")}${x.value.length>1?e(p)("search.pureDragSort"):""}`),5),v("div",La,[(u(!0),S(be,null,Me(x.value,(W,ie)=>(u(),S("div",{key:W.path,ref_for:!0,ref:"historyItemRef"+(ie+b.value.length),class:"history-item dark:bg-[#1d1d1d]",style:fe(m.value(W)),onClick:B,onMouseenter:ue=>_(W)},[c(cn,{item:W,onDeleteItem:A},null,8,["item"])],44,Va))),128))])],64)):X("",!0)],512))}}),za=_e(Ha,[["__scopeId","data-v-f7a9d807"]]),Aa={class:"search-content"},un="history",Ea="collect",We="menu-search-history",Je="menu-search-collect",Oa=se({__name:"SearchModal",props:{value:{type:Boolean}},emits:["update:value"],setup(n,{emit:t}){const{device:o}=Ee(),a=t,l=n,s=Nt(),{t:p,locale:h}=je(),r=N(""),d=N(),m=N(),f=N(),y=N(""),b=N(""),x=Ht([]),M=Ht([]),A=Dn(ue,300),_=tt().MenuSearchHistory,B=N(null),R=Z(()=>Nn(ze().wholeMenus)),D=Z({get(){return l.value},set(w){a("update:value",w)}});De(()=>l.value,w=>{w&&ne()});const J=Z(()=>r.value&&x.value.length>0),F=Z(()=>!r.value&&M.value.length>0),V=Z(()=>!r.value&&M.value.length===0||r.value&&x.value.length===0);function j(w){return Fe().getItem(w)||[]}function W(w,I){Fe().setItem(w,I)}function ie(w){const I=[];function E(ce){ce.forEach(L=>{I.push(L),L.children&&E(L.children)})}return E(w),I}function ue(){var I;const w=ie(R.value);x.value=w.filter(E=>{var ce,L;return r.value?Pe((ce=E.meta)==null?void 0:ce.title).toLocaleLowerCase().includes(r.value.toLocaleLowerCase().trim())||h.value==="zh"&&!ot(uo(Pe((L=E.meta)==null?void 0:L.title).toLocaleLowerCase(),r.value.toLocaleLowerCase().trim())):!1}),y.value=((I=x.value)==null?void 0:I.length)>0?x.value[0].path:""}function P(){D.value=!1,setTimeout(()=>{x.value=[],b.value="",r.value=""},200)}function Q(w){const E=(x.value.length?d.value:m.value).handleScroll(w);f.value.setScrollTop(E)}function le(){const w=x.value.length>0,I=w?x.value:M.value,E=w?y.value:b.value;return{options:I,currentPath:E,isResultOptions:w}}function xe(w,I){I?y.value=x.value[w].path:b.value=M.value[w].path,Q(w)}function Oe(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0)return;const L=(w.findIndex($=>$.path===I)-1+w.length)%w.length;xe(L,E)}function Ie(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0)return;const L=(w.findIndex($=>$.path===I)+1)%w.length;xe(L,E)}function i(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0||I==="")return;const ce=w.findIndex(L=>L.path===I);ce!==-1&&(E?ee():pe(),s.push(w[ce].path),P())}function g(w){const I=w.type===un?We:Je;let E=j(I);E=E.filter(ce=>ce.path!==w.path),W(I,E),ne()}function T(w){let I=j(We),E=j(Je);I=I.filter(ce=>ce.path!==w.path),W(We,I),E.some(ce=>ce.path===w.path)||(E.unshift(Tt($t({},w),{type:Ea})),W(Je,E)),ne()}function ee(){const{path:w,meta:I}=x.value.find(ge=>ge.path===y.value),E=j(We),L=j(Je).some(ge=>ge.path===w),$=E.findIndex(ge=>ge.path===w);L||($!==-1&&E.splice($,1),E.length>=_&&E.pop(),E.unshift({path:w,meta:I,type:un}),Fe().setItem(We,E))}function pe(){let w=j(We);const I=w.findIndex(E=>E.path===b.value);if(I!==-1){const[E]=w.splice(I,1);w.unshift(E),W(We,w)}}function ne(){var E;const w=j(We),I=j(Je);M.value=[...w,...I],b.value=(E=M.value[0])==null?void 0:E.path}function te(w){const I=j(Je),[E]=I.splice(w.oldIndex,1);I.splice(w.newIndex,0,E),Fe().setItem(Je,I),M.value=[...j(We),...j(Je)],b.value=E.path}return Lt("Enter",i),Lt("ArrowUp",Oe),Lt("ArrowDown",Ie),(w,I)=>{const E=H("IconifyIconOffline"),ce=H("el-input"),L=H("el-empty"),$=H("el-scrollbar"),ge=H("el-dialog");return u(),q(ge,{modelValue:D.value,"onUpdate:modelValue":I[3]||(I[3]=Ce=>D.value=Ce),top:"5vh",class:"pure-search-dialog","show-close":!1,width:e(o)==="mobile"?"80vw":"40vw","before-close":P,style:{borderRadius:"6px"},"append-to-body":"",onOpened:I[4]||(I[4]=Ce=>B.value.focus()),onClosed:I[5]||(I[5]=Ce=>B.value.blur())},{footer:C(()=>[c(Sa,{total:x.value.length},null,8,["total"])]),default:C(()=>[c(ce,{ref_key:"inputRef",ref:B,modelValue:r.value,"onUpdate:modelValue":I[0]||(I[0]=Ce=>r.value=Ce),size:"large",clearable:"",placeholder:e(p)("search.purePlaceholder"),onInput:e(A)},{prefix:C(()=>[c(E,{icon:e(wn),class:"text-primary w-[24px] h-[24px]"},null,8,["icon"])]),_:1},8,["modelValue","placeholder","onInput"]),v("div",Aa,[c($,{ref_key:"scrollbarRef",ref:f,"max-height":"calc(90vh - 140px)"},{default:C(()=>[V.value?(u(),q(L,{key:0,description:e(p)("search.pureEmpty")},null,8,["description"])):X("",!0),F.value?(u(),q(za,{key:1,ref_key:"historyRef",ref:m,value:b.value,"onUpdate:value":I[1]||(I[1]=Ce=>b.value=Ce),options:M.value,onClick:i,onDelete:g,onCollect:T,onDrag:te},null,8,["value","options"])):X("",!0),J.value?(u(),q(fa,{key:2,ref_key:"resultRef",ref:d,value:y.value,"onUpdate:value":I[2]||(I[2]=Ce=>y.value=Ce),options:x.value,onClick:i},null,8,["value","options"])):X("",!0)]),_:1},512)])]),_:1},8,["modelValue","width"])}}}),Za=_e(Oa,[["__scopeId","data-v-1155c5fc"]]),Gt=se({__name:"index",setup(n){const{bool:t,toggle:o}=sa();function a(){o()}return(l,s)=>{const p=H("IconifyIconOffline");return u(),S("div",null,[v("div",{class:"search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover",onClick:a},[c(p,{icon:"ri:search-line"})]),c(Za,{value:e(t),"onUpdate:value":s[0]||(s[0]=h=>Bn(t)?t.value=h:null)},null,8,["value"])])}}}),dn=[{key:"1",name:Se("status.pureNotify"),list:[],emptyText:Se("status.pureNoNotify")},{key:"2",name:Se("status.pureMessage"),list:[{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile1.svg",title:"小铭 评论了你",description:"诚在于心,信在于行,诚信在于心行合一。",datetime:"今天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile2.svg",title:"李白 回复了你",description:"长风破浪会有时,直挂云帆济沧海。",datetime:"昨天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile5.svg",title:"标题",description:"请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容",datetime:"时间",type:"2"}],emptyText:Se("status.pureNoMessage")},{key:"3",name:Se("status.pureTodo"),list:[{avatar:"",title:"第三方紧急代码变更",description:"小林提交于 2024-05-10,需在 2024-05-11 前完成代码变更任务",datetime:"",extra:"马上到期",status:"danger",type:"3"},{avatar:"",title:"版本发布",description:"指派小铭于 2024-06-18 前完成更新并发布",datetime:"",extra:"已耗时 8 天",status:"warning",type:"3"},{avatar:"",title:"新功能开发",description:"开发多租户管理",datetime:"",extra:"进行中",type:"3"},{avatar:"",title:"任务名称",description:"任务需要在 2030-10-30 10:00 前启动",datetime:"",extra:"未开始",status:"info",type:"3"}],emptyText:Se("status.pureNoTodo")}],Ra={class:"notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"},Pa={class:"notice-container-text"},Da={class:"notice-text-title text-[#000000d9] dark:text-white"},Na={class:"notice-text-datetime text-[#00000073] dark:text-white"},Ba=se({__name:"NoticeItem",props:{noticeItem:{type:Object,default:()=>{}}},setup(n){const t=N(null),o=N(!1),a=N(null),l=N(!1),{tooltipEffect:s}=Ee(),p=gn();function h(){Qe(()=>{var d,m;((d=t.value)==null?void 0:d.scrollWidth)>((m=t.value)==null?void 0:m.clientWidth)?o.value=!0:o.value=!1})}function r(d,m){const f=document.createElement("span");f.innerText=m,f.className="getDescriptionWidth",document.querySelector("body").appendChild(f);const y=document.querySelector(".getDescriptionWidth").offsetWidth;document.querySelector(".getDescriptionWidth").remove();const b=d.target.offsetWidth;y>2*b?l.value=!0:l.value=!1}return(d,m)=>{var x,M;const f=H("el-avatar"),y=H("el-tooltip"),b=H("el-tag");return u(),S("div",Ra,[n.noticeItem.avatar?(u(),q(f,{key:0,size:30,src:n.noticeItem.avatar,class:"notice-container-avatar"},null,8,["src"])):X("",!0),v("div",Pa,[v("div",Da,[c(y,{"popper-class":"notice-title-popper",effect:e(s),disabled:!o.value,content:n.noticeItem.title,placement:"top-start",enterable:!e(p)},{default:C(()=>[v("div",{ref_key:"titleRef",ref:t,class:"notice-title-content",onMouseover:h},U(n.noticeItem.title),545)]),_:1},8,["effect","disabled","content","enterable"]),(x=n.noticeItem)!=null&&x.extra?(u(),q(b,{key:0,type:(M=n.noticeItem)==null?void 0:M.status,size:"small",class:"notice-title-extra"},{default:C(()=>{var A;return[me(U((A=n.noticeItem)==null?void 0:A.extra),1)]}),_:1},8,["type"])):X("",!0)]),c(y,{"popper-class":"notice-title-popper",effect:e(s),disabled:!l.value,content:n.noticeItem.description,placement:"top-start"},{default:C(()=>[v("div",{ref_key:"descriptionRef",ref:a,class:"notice-text-description",onMouseover:m[0]||(m[0]=A=>r(A,n.noticeItem.description))},U(n.noticeItem.description),545)]),_:1},8,["effect","disabled","content"]),v("div",Na,U(n.noticeItem.datetime),1)])])}}}),qa=_e(Ba,[["__scopeId","data-v-197133ce"]]),Fa={key:0},ja=se({__name:"NoticeList",props:{list:{type:Array,default:()=>[]},emptyText:{type:String,default:""}},setup(n){return(t,o)=>{const a=H("el-empty");return n.list.length?(u(),S("div",Fa,[(u(!0),S(be,null,Me(n.list,(l,s)=>(u(),q(qa,{key:s,noticeItem:l},null,8,["noticeItem"]))),128))])):(u(),q(a,{key:1,description:e(Pe)(n.emptyText)},null,8,["description"]))}}}),Ua={width:1024,height:1024,body:''},Wa={class:"header-notice-icon"},Ka={key:1},Ya={class:"noticeList-container"},Ga=se({__name:"index",setup(n){var p;const{t}=je(),o=N(0),a=N(dn),l=N((p=dn[0])==null?void 0:p.key);a.value.map(h=>o.value+=h.list.length);const s=Z(()=>h=>t(h.name)+(h.list.length>0?`(${h.list.length})`:""));return(h,r)=>{const d=H("IconifyIconOffline"),m=H("el-badge"),f=H("el-empty"),y=H("el-scrollbar"),b=H("el-tab-pane"),x=H("el-tabs"),M=H("el-dropdown-menu"),A=H("el-dropdown");return u(),q(A,{trigger:"click",placement:"bottom-end"},{dropdown:C(()=>[c(M,null,{default:C(()=>[c(x,{modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=_=>l.value=_),stretch:!0,class:"dropdown-tabs",style:fe({width:a.value.length===0?"200px":"330px"})},{default:C(()=>[a.value.length===0?(u(),q(f,{key:0,description:e(t)("status.pureNoMessage"),"image-size":60},null,8,["description"])):(u(),S("span",Ka,[(u(!0),S(be,null,Me(a.value,_=>(u(),q(b,{key:_.key,label:s.value(_),name:`${_.key}`},{default:C(()=>[c(y,{"max-height":"330px"},{default:C(()=>[v("div",Ya,[c(ja,{list:_.list,emptyText:_.emptyText},null,8,["list","emptyText"])])]),_:2},1024)]),_:2},1032,["label","name"]))),128))]))]),_:1},8,["modelValue","style"])]),_:1})]),default:C(()=>[v("span",{class:re(["dropdown-badge","navbar-bg-hover","select-none",Number(o.value)!==0&&"mr-[10px]"])},[c(m,{value:Number(o.value)===0?"":o.value,max:99},{default:C(()=>[v("span",Wa,[c(d,{icon:e(Ua)},null,8,["icon"])])]),_:1},8,["value"])],2)]),_:1})}}}),Xt=_e(Ga,[["__scopeId","data-v-1760ac04"]]),Xa={key:0,class:"flex justify-center items-center"},Zt=se({__name:"SidebarExtraIcon",props:{extraIcon:{type:String,default:""}},setup(n){return(t,o)=>n.extraIcon?(u(),S("div",Xa,[(u(),q(Re(e(Be)(Ve(n.extraIcon))),{class:"w-[30px] h-[30px]"}))])):X("",!0)}}),Jt=se({__name:"SidebarFullScreen",setup(n){const t=N(),{toggle:o,isFullscreen:a,Fullscreen:l,ExitFullscreen:s}=Ee();return a.value=!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement),De(a,p=>{t.value=p?s:l},{immediate:!0}),(p,h)=>{const r=H("IconifyIconOffline");return u(),S("span",{class:"fullscreen-icon navbar-bg-hover",onClick:h[0]||(h[0]=(...d)=>e(o)&&e(o)(...d))},[c(r,{icon:t.value},null,8,["icon"])])}}}),Qt={width:24,height:24,body:''},en={width:24,height:24,body:''},Ja={key:0,class:"horizontal-header"},Qa={class:"select-none"},el={class:"horizontal-header-right"},tl={class:"check-zh"},nl={class:"check-en"},ol={class:"el-dropdown-link navbar-bg-hover select-none"},al=["src"],ll={key:0,class:"dark:text-white"},rl=["title"],sl=se({__name:"NavMix",setup(n){const t=N(),o=N(null),{t:a,route:l,locale:s,translationCh:p,translationEn:h}=Ut(t),{device:r,logout:d,onPanel:m,resolvePath:f,username:y,userAvatar:b,getDivStyle:x,avatarsStyle:M,toAccountSettings:A,getDropdownItemStyle:_,getDropdownItemClass:B}=Ee();function R(D){var V,j,W;const J=ze().wholeMenus,F=jt(D,J)[0];o.value=ot((V=l.meta)==null?void 0:V.activePath)?(W=(j=yt(F,J))==null?void 0:j.children[0])==null?void 0:W.path:l.meta.activePath}return Ye(()=>{R(l.path)}),Qe(()=>{var D;(D=t.value)==null||D.handleResize()}),De(()=>[l.path,ze().wholeMenus],()=>{R(l.path)}),(D,J)=>{const F=H("el-menu-item"),V=H("el-menu"),j=H("IconifyIconOffline"),W=H("el-dropdown-item"),ie=H("el-dropdown-menu"),ue=H("el-dropdown"),P=et("loading");return e(r)!=="mobile"?he((u(),S("div",Ja,[c(V,{ref_key:"menuRef",ref:t,router:"",mode:"horizontal","popper-class":"pure-scrollbar",class:"horizontal-header-menu","default-active":o.value},{default:C(()=>[(u(!0),S(be,null,Me(e(ze)().wholeMenus,Q=>(u(),q(F,{key:Q.path,index:e(f)(Q)||Q.redirect},{title:C(()=>[Ve(Q.meta.icon)?(u(),S("div",{key:0,class:re(["sub-menu-icon",Q.meta.icon])},[(u(),q(Re(e(Be)(Q.meta&&Ve(Q.meta.icon)))))],2)):X("",!0),v("div",{style:fe(e(x))},[v("span",Qa,U(e(Pe)(Q.meta.title)),1),c(Zt,{extraIcon:Q.meta.extraIcon},null,8,["extraIcon"])],4)]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"]),v("div",el,[c(Gt,{id:"header-search"}),c(ue,{id:"header-translation",trigger:"click"},{dropdown:C(()=>[c(ie,{class:"translation"},{default:C(()=>[c(W,{style:fe(e(_)(e(s),"zh")),class:re(["dark:!text-white",e(B)(e(s),"zh")]),onClick:e(p)},{default:C(()=>[he(v("span",tl,[c(j,{icon:e(at)},null,8,["icon"])],512),[[Te,e(s)==="zh"]]),J[1]||(J[1]=me(" 简体中文 "))]),_:1},8,["style","class","onClick"]),c(W,{style:fe(e(_)(e(s),"en")),class:re(["dark:!text-white",e(B)(e(s),"en")]),onClick:e(h)},{default:C(()=>[he(v("span",nl,[c(j,{icon:e(at)},null,8,["icon"])],512),[[Te,e(s)==="en"]]),J[2]||(J[2]=me(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:C(()=>[c(e(Wt),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),c(Jt,{id:"full-screen"}),c(Xt,{id:"header-notice"}),c(ue,{trigger:"click"},{dropdown:C(()=>[c(W,{onClick:e(A)},{default:C(()=>[c(j,{icon:e(Qt),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(a)("buttons.pureAccountSettings")),1)]),_:1},8,["onClick"]),c(ie,{class:"logout"},{default:C(()=>[c(W,{onClick:e(d)},{default:C(()=>[c(j,{icon:e(en),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(a)("buttons.pureLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:C(()=>[v("span",ol,[v("img",{src:e(b),style:fe(e(M))},null,12,al),e(y)?(u(),S("p",ll,U(e(y)),1)):X("",!0)])]),_:1}),v("span",{class:"set-icon navbar-bg-hover",title:e(a)("buttons.pureOpenSystemSet"),onClick:J[0]||(J[0]=(...Q)=>e(m)&&e(m)(...Q))},[c(j,{icon:e(xt)},null,8,["icon"])],8,rl)])])),[[P,e(ze)().wholeMenus.length===0]]):X("",!0)}}}),il=_e(sl,[["__scopeId","data-v-9f22ffe1"]]),cl=["onClick"],ul=se({__name:"SidebarBreadCrumb",setup(n){const t=Dt(),o=N([]),a=Nt(),l=a.options.routes,s=qe().multiTags,p=()=>{let r;Object.keys(t.query).length>0?s.forEach(f=>{nt(t.query,f==null?void 0:f.query)&&(r=Ve(f))}):Object.keys(t.params).length>0?s.forEach(f=>{nt(t.params,f==null?void 0:f.params)&&(r=Ve(f))}):r=yt(a.currentRoute.value.path,l);const d=jt(a.currentRoute.value.name,l,"name"),m=[];d.forEach(f=>{f!=="/"&&m.push(yt(f,l))}),m.push(r),m.forEach((f,y)=>{r!=null&&r.query||r!=null&&r.params||f!=null&&f.children&&f.children.forEach(b=>{var x,M;((x=b==null?void 0:b.meta)==null?void 0:x.title)===((M=f==null?void 0:f.meta)==null?void 0:M.title)&&m.splice(y,1)})}),o.value=m.filter(f=>(f==null?void 0:f.meta)&&(f==null?void 0:f.meta.title)!==!1)},h=r=>{const{redirect:d,name:m,path:f}=r;d?a.push(d):m?r.query?a.push({name:m,query:r.query}):r.params?a.push({name:m,params:r.params}):a.push({name:m}):a.push({path:f})};return Ye(()=>{p()}),De(()=>t.path,()=>{p()},{deep:!0}),(r,d)=>{const m=H("el-breadcrumb-item"),f=H("el-breadcrumb");return u(),q(f,{class:"!leading-[50px] select-none",separator:"/"},{default:C(()=>[c(qn,{name:"breadcrumb"},{default:C(()=>[(u(!0),S(be,null,Me(o.value,y=>(u(),q(m,{key:y.path,class:"!inline !items-stretch"},{default:C(()=>[v("a",{onClick:Ze(b=>h(y),["prevent"])},U(e(Pe)(y.meta.title)),9,cl)]),_:2},1024))),128))]),_:1})]),_:1})}}}),dl={class:"navbar bg-[#fff] shadow-sm shadow-[rgba(0,21,41,0.08)]"},hl={key:3,class:"vertical-header-right"},fl={class:"check-en"},pl={class:"el-dropdown-link navbar-bg-hover select-none"},ml=["src"],vl={key:0,class:"dark:text-white"},gl=["title"],yl=se({__name:"index",setup(n){const{layout:t,device:o,logout:a,onPanel:l,pureApp:s,username:p,userAvatar:h,avatarsStyle:r,toggleSideBar:d,toAccountSettings:m,getDropdownItemStyle:f,getDropdownItemClass:y}=Ee(),{t:b,locale:x,translationCh:M,translationEn:A}=Ut();return(_,B)=>{const R=H("IconifyIconOffline"),D=H("el-dropdown-item"),J=H("el-dropdown-menu"),F=H("el-dropdown");return u(),S("div",dl,[e(o)==="mobile"?(u(),q(no,{key:0,class:"hamburger-container","is-active":e(s).sidebar.opened,onToggleClick:e(d)},null,8,["is-active","onToggleClick"])):X("",!0),e(t)!=="mix"&&e(o)!=="mobile"?(u(),q(ul,{key:1,class:"breadcrumb-container"})):X("",!0),e(t)==="mix"?(u(),q(il,{key:2})):X("",!0),e(t)==="vertical"?(u(),S("div",hl,[c(Gt,{id:"header-search"}),c(F,{id:"header-translation",trigger:"click"},{dropdown:C(()=>[c(J,{class:"translation"},{default:C(()=>[c(D,{style:fe(e(f)(e(x),"zh")),class:re(["dark:!text-white",e(y)(e(x),"zh")]),onClick:e(M)},{default:C(()=>[he(c(R,{class:"check-zh",icon:e(at)},null,8,["icon"]),[[Te,e(x)==="zh"]]),B[1]||(B[1]=me(" 简体中文 "))]),_:1},8,["style","class","onClick"]),c(D,{style:fe(e(f)(e(x),"en")),class:re(["dark:!text-white",e(y)(e(x),"en")]),onClick:e(A)},{default:C(()=>[he(v("span",fl,[c(R,{icon:e(at)},null,8,["icon"])],512),[[Te,e(x)==="en"]]),B[2]||(B[2]=me(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:C(()=>[c(e(Wt),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),c(Jt,{id:"full-screen"}),c(Xt,{id:"header-notice"}),c(F,{trigger:"click"},{dropdown:C(()=>[c(J,{class:"logout"},{default:C(()=>[c(D,{onClick:e(m)},{default:C(()=>[c(R,{icon:e(Qt),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(b)("buttons.pureAccountSettings")),1)]),_:1},8,["onClick"]),c(D,{onClick:e(a)},{default:C(()=>[c(R,{icon:e(en),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(b)("buttons.pureLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:C(()=>[v("span",pl,[v("img",{src:e(h),style:fe(e(r))},null,12,ml),e(p)?(u(),S("p",vl,U(e(p)),1)):X("",!0)])]),_:1}),v("span",{class:"set-icon navbar-bg-hover",title:e(b)("buttons.pureOpenSystemSet"),onClick:B[0]||(B[0]=(...V)=>e(l)&&e(l)(...V))},[c(R,{icon:e(xt)},null,8,["icon"])],8,gl)])):X("",!0)])}}}),_l=_e(yl,[["__scopeId","data-v-b43dc9be"]]),ct=new Map,bl=()=>{function n(a,l){ct.set(a,l)}function t(a){return a?ct.get(a):[...ct.entries()]}function o(a){ct.delete(a)}return{setMap:n,getMap:t,delMap:o,MAP:ct}},wl={class:"w-full h-full"},xl=se({__name:"index",props:{currRoute:{},currComp:{}},setup(n){const t=n,o=Ht([]),{setMap:a,getMap:l,MAP:s,delMap:p}=bl(),h=Z(()=>{var d,m;return tt().KeepAlive&&((d=t.currRoute.meta)==null?void 0:d.keepAlive)&&!!((m=t.currRoute.meta)!=null&&m.frameSrc)}),r=Z(()=>!h.value&&t.currComp);return De(qe().multiTags,d=>{if(!Array.isArray(d)||!h.value)return;if(d.filter(f=>{var y;return(y=f.meta)==null?void 0:y.frameSrc}).lengthy.path===f)||(p(f),o.value=l())}),De(()=>t.currRoute.fullPath,d=>{const f=qe().multiTags.filter(y=>{var b;return(b=y.meta)==null?void 0:b.frameSrc});h.value&&f.length!==s.size&&([...s.keys()].find(b=>d===b)||a(d,t.currComp)),s.size>0&&(o.value=l())},{immediate:!0}),(d,m)=>(u(),S(be,null,[(u(!0),S(be,null,Me(o.value,([f,y])=>{var b;return he((u(),S("div",{key:f,class:"w-full h-full"},[_t(d.$slots,"default",{fullPath:f,Comp:y,frameInfo:{frameSrc:(b=d.currRoute.meta)==null?void 0:b.frameSrc,fullPath:f}})],512)),[[Te,f===d.currRoute.fullPath]])}),128)),he(v("div",wl,[_t(d.$slots,"default",{Comp:r.value,fullPath:d.currRoute.fullPath})],512),[[Te,!h.value]])],64))}}),Cl={class:"layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"},kl={class:"hover:text-primary",href:"https://github.com/pure-admin",target:"_blank"},Sl=se({__name:"index",setup(n){const t=tt("Title");return(o,a)=>(u(),S("footer",Cl,[a[0]||(a[0]=me(" Copyright © 2020-2024 ")),v("a",kl,"  "+U(e(t)),1)]))}}),hn=_e(Sl,[["__scopeId","data-v-8ec2f332"]]),Il={class:"grow"},$l={key:1,class:"grow"},Tl=se({__name:"index",props:{fixedHeader:Boolean},setup(n){const t=n,{t:o}=je(),{showModel:a}=xn(),{$storage:l,$config:s}=ft(),p=Z(()=>s==null?void 0:s.KeepAlive),h=Z(()=>M=>M.meta.transition),r=Z(()=>l==null?void 0:l.configure.hideTabs),d=Z(()=>l==null?void 0:l.configure.hideFooter),m=Z(()=>l==null?void 0:l.configure.stretch),f=Z(()=>(l==null?void 0:l.layout.layout)==="vertical"),y=Z(()=>zt(m.value)?m.value+"px":m.value?"1440px":"100%"),b=Z(()=>[r.value&&f?"padding-top: 48px;":"",!r.value&&f?a.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",r.value&&!f.value?"padding-top: 48px;":"",!r.value&&!f.value?a.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",t.fixedHeader?"":`padding-top: 0;${r.value?"min-height: calc(100vh - 48px);":"min-height: calc(100vh - 86px);"}`]),x=se({props:{route:{type:void 0,required:!0}},render(){var B,R,D;const M=((B=h.value(this.route))==null?void 0:B.name)||"fade-transform",A=(R=h.value(this.route))==null?void 0:R.enterTransition,_=(D=h.value(this.route))==null?void 0:D.leaveTransition;return ut(Ft,{name:A?"pure-classes-transition":M,enterActiveClass:A?`animate__animated ${A}`:void 0,leaveActiveClass:_?`animate__animated ${_}`:void 0,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})}});return(M,A)=>{const _=H("el-backtop"),B=H("el-scrollbar"),R=H("router-view");return u(),S("section",{class:re([n.fixedHeader?"app-main":"app-main-nofixed-header"]),style:fe(b.value)},[c(R,null,{default:C(({Component:D,route:J})=>[c(xl,{currComp:D,currRoute:J},{default:C(({Comp:F,fullPath:V,frameInfo:j})=>[n.fixedHeader?(u(),q(B,{key:0,"wrap-style":{display:"flex","flex-wrap":"wrap","max-width":y.value,margin:"0 auto",transition:"all 300ms cubic-bezier(0.4, 0, 0.2, 1)"},"view-style":{display:"flex",flex:"auto",overflow:"hidden","flex-direction":"column"}},{default:C(()=>[c(_,{title:e(o)("buttons.pureBackTop"),target:".app-main .el-scrollbar__wrap"},{default:C(()=>[c(e(bn))]),_:1},8,["title"]),v("div",Il,[c(e(x),{route:J},{default:C(()=>[p.value?(u(),q(ln,{key:0,include:e(ze)().cachePageList},[(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]),d.value?X("",!0):(u(),q(hn,{key:0}))]),_:2},1032,["wrap-style"])):(u(),S("div",$l,[c(e(x),{route:J},{default:C(()=>[p.value?(u(),q(ln,{key:0,include:e(ze)().cachePageList},[(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]))]),_:2},1032,["currComp","currRoute"])]),_:1}),!d.value&&!n.fixedHeader?(u(),q(hn,{key:0})):X("",!0)],6)}}}),fn=_e(Tl,[["__scopeId","data-v-5fc75f4c"]]),Ml={class:"project-configuration border-b-[1px] border-solid border-[var(--pure-border-color)]"},Ll={class:"dark:text-white"},Vl={class:"flex justify-end p-3 border-t-[1px] border-solid border-[var(--pure-border-color)]"},Hl=se({__name:"index",setup(n){const t=N(null),o=N(!1),a=Z(()=>["w-[22px]","h-[22px]","flex","justify-center","items-center","outline-none","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]),{t:l}=je(),{onReset:s}=Kt();return mn(t,p=>{p.clientX>t.value.offsetLeft||(o.value=!1)}),Ye(()=>{He.on("openPanel",()=>{o.value=!0})}),qt(()=>{He.off("openPanel")}),(p,h)=>{const r=H("IconifyIconOffline"),d=H("el-scrollbar"),m=H("el-button"),f=et("tippy");return u(),S("div",{class:re({show:o.value})},[h[1]||(h[1]=v("div",{class:"right-panel-background"},null,-1)),v("div",{ref_key:"target",ref:t,class:"right-panel bg-bg_color"},[v("div",Ml,[v("h4",Ll,U(e(l)("panel.pureSystemSet")),1),he((u(),S("span",{class:re(a.value)},[c(r,{class:"dark:text-white",width:"18px",height:"18px",icon:e(bt),onClick:h[0]||(h[0]=y=>o.value=!o.value)},null,8,["icon"])],2)),[[f,{content:e(l)("panel.pureCloseSystemSet"),placement:"bottom-start",zIndex:41e3}]])]),c(d,null,{default:C(()=>[_t(p.$slots,"default",{},void 0,!0)]),_:3}),v("div",Vl,[he((u(),q(m,{type:"danger",text:"",bg:"",onClick:e(s)},{default:C(()=>[me(U(e(l)("panel.pureClearCache")),1)]),_:1},8,["onClick"])),[[f,{content:e(l)("panel.pureClearCacheAndToLogin"),placement:"left-start",zIndex:41e3}]])])],512)],2)}}}),zl=_e(Hl,[["__scopeId","data-v-c826562e"]]),Al={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",class:"icon",viewBox:"0 0 1024 1024"};function El(n,t){return u(),S("svg",Al,t[0]||(t[0]=[v("path",{d:"M554 849.574c0 23.365-18.635 42.307-42 42.307s-42-18.941-42-42.307V662.719c0-23.365 18.635-42.307 42-42.307v-7.051c23.365 0 42 25.993 42 49.358z"},null,-1),v("path",{d:"M893 888.5c0 17.397-14.103 31.5-31.5 31.5h-700c-17.397 0-31.5-14.103-31.5-31.5s14.103-31.5 31.5-31.5h700c17.397 0 31.5 14.103 31.5 31.5m33-714.074C926 135.484 894.686 105 855.744 105H168.256C129.314 105 98 135.484 98 174.426V533h828zM98 630.988C98 669.931 129.314 702 168.256 702h687.488C894.686 702 926 669.931 926 630.988V596H98z"},null,-1)]))}const Ol={render:El},Zl={class:"p-5"},Rl={class:"theme-color"},Pl=["onClick"],Dl={class:"pure-theme"},Nl={key:0},Bl={class:"mt-5 font-medium text-sm dark:text-white"},ql={class:"setting"},Fl={class:"dark:text-white"},jl={class:"dark:text-white"},Ul={class:"dark:text-white"},Wl={class:"dark:text-white"},Kl={class:"dark:text-white"},Yl=se({__name:"index",setup(n){var w,I,E,ce;const{t}=je(),{device:o}=Ee(),{isDark:a}=yn(),{$storage:l}=ft(),s=N(),p=N(),h=N(),{dataTheme:r,overallStyle:d,layoutTheme:m,themeColors:f,toggleClass:y,dataThemeChange:b,setLayoutThemeColor:x}=Kt();if(e(m)){const L=e(m).layout,$=e(m).theme;so({scopeName:`layout-theme-${$}`}),T(L)}const M=N((I=(w=l.configure)==null?void 0:w.showModel)!=null?I:"smart"),A=N((ce=(E=l.configure)==null?void 0:E.showLogo)!=null?ce:!0),_=Pt({greyVal:l.configure.grey,weakVal:l.configure.weak,tabsVal:l.configure.hideTabs,showLogo:l.configure.showLogo,showModel:l.configure.showModel,hideFooter:l.configure.hideFooter,multiTagsCache:l.configure.multiTagsCache,stretch:l.configure.stretch}),B=Z(()=>L=>({background:L})),R=Z(()=>L=>!(L==="light"&&a.value));function D(L,$){const ge=l.configure;ge[L]=$,l.configure=ge}const J=L=>{const $=document.querySelector("html");y(_.greyVal,"html-grey",$),D("grey",L)},F=L=>{const $=document.querySelector("html");y(_.weakVal,"html-weakness",$),D("weak",L)},V=()=>{const L=_.tabsVal;D("hideTabs",L),He.emit("tagViewsChange",L)},j=()=>{const L=_.hideFooter;D("hideFooter",L)},W=()=>{const L=_.multiTagsCache;D("multiTagsCache",L),qe().multiTagsCacheChange(L)};function ie({option:L}){const{value:$}=L;M.value=$,D("showModel",$),He.emit("tagViewsShowModel",$)}function ue(){e(A)?D("showLogo",!0):D("showLogo",!1),He.emit("logoChange",e(A))}function P(L){L.forEach($=>{y(!1,"is-select",e($))})}const Q=Z(()=>[{label:t("panel.pureStretchFixed"),tip:t("panel.pureStretchFixedTip"),value:"fixed"},{label:t("panel.pureStretchCustom"),tip:t("panel.pureStretchCustomTip"),value:"custom"}]),le=L=>{_.stretch=L,D("stretch",L)},xe=({option:L})=>{const{value:$}=L;le($==="custom"?1440:!1)},Oe=Z(()=>L=>L===m.value.theme&&m.value.theme!=="light"?"#fff":L===m.value.theme&&m.value.theme==="light"?"#1d2b45":"transparent"),Ie=Z(()=>["mb-[12px]","font-medium","text-sm","dark:text-white"]),i=Z(()=>[{label:t("panel.pureOverallStyleLight"),icon:lo,theme:"light",tip:t("panel.pureOverallStyleLightTip"),iconAttrs:{fill:a.value?"#fff":"#000"}},{label:t("panel.pureOverallStyleDark"),icon:ro,theme:"dark",tip:t("panel.pureOverallStyleDarkTip"),iconAttrs:{fill:a.value?"#fff":"#000"}},{label:t("panel.pureOverallStyleSystem"),icon:Ol,theme:"system",tip:t("panel.pureOverallStyleSystemTip"),iconAttrs:{fill:a.value?"#fff":"#000"}}]),g=Z(()=>[{label:t("panel.pureTagsStyleSmart"),tip:t("panel.pureTagsStyleSmartTip"),value:"smart"},{label:t("panel.pureTagsStyleCard"),tip:t("panel.pureTagsStyleCardTip"),value:"card"},{label:t("panel.pureTagsStyleChrome"),tip:t("panel.pureTagsStyleChromeTip"),value:"chrome"}]);function T(L){var $,ge,Ce,Ge,Ae;m.value.layout=L,window.document.body.setAttribute("layout",L),l.layout={layout:L,theme:m.value.theme,darkMode:($=l.layout)==null?void 0:$.darkMode,sidebarStatus:(ge=l.layout)==null?void 0:ge.sidebarStatus,epThemeColor:(Ce=l.layout)==null?void 0:Ce.epThemeColor,themeColor:(Ge=l.layout)==null?void 0:Ge.themeColor,overallStyle:(Ae=l.layout)==null?void 0:Ae.overallStyle},Ke().setLayout(L)}De(l,({layout:L})=>{switch(L.layout){case"vertical":y(!0,"is-select",e(p)),lt(P([h]),50),lt(P([s]),50);break;case"horizontal":y(!0,"is-select",e(h)),lt(P([p]),50),lt(P([s]),50);break;case"mix":y(!0,"is-select",e(s)),lt(P([p]),50),lt(P([h]),50);break}});const ee=window.matchMedia("(prefers-color-scheme: dark)");function pe(){d.value==="system"&&(ee.matches?r.value=!0:r.value=!1,b(d.value))}function ne(){ee.removeEventListener("change",pe)}function te(){pe(),ne(),ee.addEventListener("change",pe)}return _n(()=>{Qe(()=>{var L,$;te(),_.greyVal&&((L=document.querySelector("html"))==null||L.classList.add("html-grey")),_.weakVal&&(($=document.querySelector("html"))==null||$.classList.add("html-weakness")),_.tabsVal&&V(),_.hideFooter&&j()})}),Fn(()=>ne),(L,$)=>{const ge=H("IconifyIconOffline"),Ce=H("el-icon"),Ge=H("el-input-number"),Ae=H("el-switch"),Ue=et("tippy"),It=et("ripple");return u(),q(zl,null,{default:C(()=>[v("div",Zl,[v("p",{class:re(Ie.value)},U(e(t)("panel.pureOverallStyle")),3),c(e(Vt),{resize:"",class:"select-none",modelValue:e(d)==="system"?2:e(r)?1:0,options:i.value,onChange:$[0]||($[0]=oe=>{oe.index===1&&oe.index!==2?r.value=!0:r.value=!1,d.value=oe.option.theme,e(b)(oe.option.theme),oe.index===2&&te()})},null,8,["modelValue","options"]),v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureThemeColor")),3),v("ul",Rl,[(u(!0),S(be,null,Me(e(f),(oe,pt)=>he((u(),S("li",{key:pt,style:fe(B.value(oe.color)),onClick:k=>e(x)(oe.themeColor)},[c(Ce,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:Oe.value(oe.themeColor)},{default:C(()=>[c(ge,{icon:e(at)},null,8,["icon"])]),_:2},1032,["color"])],12,Pl)),[[Te,R.value(oe.themeColor)]])),128))]),v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureLayoutModel")),3),v("ul",Dl,[he((u(),S("li",{ref_key:"verticalRef",ref:p,class:re(e(m).layout==="vertical"?"is-select":""),onClick:$[1]||($[1]=oe=>T("vertical"))},$[13]||($[13]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureVerticalTip"),zIndex:41e3}]]),e(o)!=="mobile"?he((u(),S("li",{key:0,ref_key:"horizontalRef",ref:h,class:re(e(m).layout==="horizontal"?"is-select":""),onClick:$[2]||($[2]=oe=>T("horizontal"))},$[14]||($[14]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureHorizontalTip"),zIndex:41e3}]]):X("",!0),e(o)!=="mobile"?he((u(),S("li",{key:1,ref_key:"mixRef",ref:s,class:re(e(m).layout==="mix"?"is-select":""),onClick:$[3]||($[3]=oe=>T("mix"))},$[15]||($[15]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureMixTip"),zIndex:41e3}]]):X("",!0)]),e(Ke)().getViewportWidth>1280?(u(),S("span",Nl,[v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureStretch")),3),c(e(Vt),{resize:"",class:"mb-2 select-none",modelValue:e(zt)(_.stretch)?1:0,options:Q.value,onChange:xe},null,8,["modelValue","options"]),e(zt)(_.stretch)?(u(),q(Ge,{key:0,modelValue:_.stretch,"onUpdate:modelValue":$[4]||($[4]=oe=>_.stretch=oe),min:1280,max:1600,"controls-position":"right",onChange:$[5]||($[5]=oe=>le(oe))},null,8,["modelValue"])):he((u(),S("button",{key:1,class:"bg-transparent flex-c w-full h-20 rounded-md border border-[var(--pure-border-color)]",onClick:$[6]||($[6]=oe=>le(!_.stretch))},[v("div",{class:re(["flex-bc transition-all duration-300",[_.stretch?"w-[24%]":"w-[50%]"]]),style:{color:"var(--el-color-primary)"}},[c(ge,{icon:_.stretch?e(Et):e(At),height:"20"},null,8,["icon"]),$[16]||($[16]=v("div",{class:"flex-grow border-b border-dashed",style:{"border-color":"var(--el-color-primary)"}},null,-1)),c(ge,{icon:_.stretch?e(At):e(Et),height:"20"},null,8,["icon"])],2)])),[[It,{class:"text-gray-300"}]])])):X("",!0),v("p",{class:re(["mt-4",Ie.value])},U(e(t)("panel.pureTagsStyle")),3),c(e(Vt),{resize:"",class:"select-none",modelValue:M.value==="smart"?0:M.value==="card"?1:2,options:g.value,onChange:ie},null,8,["modelValue","options"]),v("p",Bl,U(e(t)("panel.pureInterfaceDisplay")),1),v("ul",ql,[v("li",null,[v("span",Fl,U(e(t)("panel.pureGreyModel")),1),c(Ae,{modelValue:_.greyVal,"onUpdate:modelValue":$[7]||($[7]=oe=>_.greyVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:J},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",jl,U(e(t)("panel.pureWeakModel")),1),c(Ae,{modelValue:_.weakVal,"onUpdate:modelValue":$[8]||($[8]=oe=>_.weakVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:F},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Ul,U(e(t)("panel.pureHiddenTags")),1),c(Ae,{modelValue:_.tabsVal,"onUpdate:modelValue":$[9]||($[9]=oe=>_.tabsVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:V},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Wl,U(e(t)("panel.pureHiddenFooter")),1),c(Ae,{modelValue:_.hideFooter,"onUpdate:modelValue":$[10]||($[10]=oe=>_.hideFooter=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:j},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[$[17]||($[17]=v("span",{class:"dark:text-white"},"Logo",-1)),c(Ae,{modelValue:A.value,"onUpdate:modelValue":$[11]||($[11]=oe=>A.value=oe),"inline-prompt":"","active-value":!0,"inactive-value":!1,"active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:ue},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Kl,U(e(t)("panel.pureMultiTagsCache")),1),c(Ae,{modelValue:_.multiTagsCache,"onUpdate:modelValue":$[12]||($[12]=oe=>_.multiTagsCache=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:W},null,8,["modelValue","active-text","inactive-text"])])])])]),_:1})}}}),Gl=_e(Yl,[["__scopeId","data-v-a63f193b"]]),Xl=["src"],Jl={class:"sidebar-title"},Ql=["src"],er={class:"sidebar-title"},tr=se({__name:"SidebarLogo",props:{collapse:Boolean},setup(n){const{title:t,getLogo:o}=Ee();return(a,l)=>{const s=H("router-link");return u(),S("div",{class:re(["sidebar-logo-container",{collapses:n.collapse}])},[c(Ft,{name:"sidebarLogoFade"},{default:C(()=>{var p,h,r,d;return[n.collapse?(u(),q(s,{key:"collapse",title:e(t),class:"sidebar-logo-link",to:(h=(p=e(gt)())==null?void 0:p.path)!=null?h:"/"},{default:C(()=>[v("img",{src:e(o)(),alt:"logo"},null,8,Xl),v("span",Jl,U(e(t)),1)]),_:1},8,["title","to"])):(u(),q(s,{key:"expand",title:e(t),class:"sidebar-logo-link",to:(d=(r=e(gt)())==null?void 0:r.path)!=null?d:"/"},{default:C(()=>[v("img",{src:e(o)(),alt:"logo"},null,8,Ql),v("span",er,U(e(t)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}}),nr=_e(tr,[["__scopeId","data-v-3c9cd1d3"]]);var ht={exports:{}},kn={},or=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"},Rt={exports:{}};typeof Object.create=="function"?Rt.exports=function(t,o){t.super_=o,t.prototype=Object.create(o.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:Rt.exports=function(t,o){t.super_=o;var a=function(){};a.prototype=o.prototype,t.prototype=new a,t.prototype.constructor=t};var ar=Rt.exports;(function(n){var t={},o=/%[sdj%]/g;n.format=function(i){if(!D(i)){for(var g=[],T=0;T=pe)return w;switch(w){case"%s":return String(ee[T++]);case"%d":return Number(ee[T++]);case"%j":try{return JSON.stringify(ee[T++])}catch(I){return"[Circular]"}default:return w}}),te=ee[T];T=3&&(T.depth=arguments[2]),arguments.length>=4&&(T.colors=arguments[3]),A(g)?T.showHidden=g:g&&n._extend(T,g),F(T.showHidden)&&(T.showHidden=!1),F(T.depth)&&(T.depth=2),F(T.colors)&&(T.colors=!1),F(T.customInspect)&&(T.customInspect=!0),T.colors&&(T.stylize=p),d(T,i,T.depth)}n.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function p(i,g){var T=s.styles[g];return T?"\x1B["+s.colors[T][0]+"m"+i+"\x1B["+s.colors[T][1]+"m":i}function h(i,g){return i}function r(i){var g={};return i.forEach(function(T,ee){g[T]=!0}),g}function d(i,g,T){if(i.customInspect&&g&&ue(g.inspect)&&g.inspect!==n.inspect&&!(g.constructor&&g.constructor.prototype===g)){var ee=g.inspect(T,i);return D(ee)||(ee=d(i,ee,T)),ee}var pe=m(i,g);if(pe)return pe;var ne=Object.keys(g),te=r(ne);if(i.showHidden&&(ne=Object.getOwnPropertyNames(g)),ie(g)&&(ne.indexOf("message")>=0||ne.indexOf("description")>=0))return f(g);if(ne.length===0){if(ue(g)){var w=g.name?": "+g.name:"";return i.stylize("[Function"+w+"]","special")}if(V(g))return i.stylize(RegExp.prototype.toString.call(g),"regexp");if(W(g))return i.stylize(Date.prototype.toString.call(g),"date");if(ie(g))return f(g)}var I="",E=!1,ce=["{","}"];if(M(g)&&(E=!0,ce=["[","]"]),ue(g)){var L=g.name?": "+g.name:"";I=" [Function"+L+"]"}if(V(g)&&(I=" "+RegExp.prototype.toString.call(g)),W(g)&&(I=" "+Date.prototype.toUTCString.call(g)),ie(g)&&(I=" "+f(g)),ne.length===0&&(!E||g.length==0))return ce[0]+I+ce[1];if(T<0)return V(g)?i.stylize(RegExp.prototype.toString.call(g),"regexp"):i.stylize("[Object]","special");i.seen.push(g);var $;return E?$=y(i,g,T,te,ne):$=ne.map(function(ge){return b(i,g,T,te,ge,E)}),i.seen.pop(),x($,I,ce)}function m(i,g){if(F(g))return i.stylize("undefined","undefined");if(D(g)){var T="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return i.stylize(T,"string")}if(R(g))return i.stylize(""+g,"number");if(A(g))return i.stylize(""+g,"boolean");if(_(g))return i.stylize("null","null")}function f(i){return"["+Error.prototype.toString.call(i)+"]"}function y(i,g,T,ee,pe){for(var ne=[],te=0,w=g.length;tet in n?Mn(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,$t=(n,t)=>{for(var o in t||(t={}))Hn.call(t,o)&&on(n,o,t[o]);if(nn)for(var o of nn(t))zn.call(t,o)&&on(n,o,t[o]);return n},Tt=(n,t)=>Ln(n,Vn(t));var it=(n,t,o)=>new Promise((a,l)=>{var s=r=>{try{h(o.next(r))}catch(d){l(d)}},p=r=>{try{h(o.throw(r))}catch(d){l(d)}},h=r=>r.done?a(r.value):Promise.resolve(r.value).then(s,p);h((o=o.apply(n,t)).next())});import{fE as ae,av as An,aw as En,az as tt,a as N,ax as Fe,ay as rt,p as Z,r as Pt,fF as Se,fG as pn,m as Ye,aa as Pe,ac as Dt,ae as Nt,Z as Bt,fH as qe,fI as an,u as e,fJ as vt,b0 as Xe,fK as nt,_ as _e,f as u,k as S,aN as On,d as se,fL as gt,fM as Zn,a7 as ze,fN as mn,n as De,aO as wt,aP as vn,z as qt,e as H,B as he,a0 as Te,g as v,i as c,s as fe,F as be,l as Me,v as re,q as Ze,t as U,j as X,w as C,h as me,dU as Ft,b as q,y as Qe,aZ as ot,fO as Mt,fP as Rn,bo as Ve,U as Re,R as je,aV as Pn,M as Ht,bi as Dn,ad as Nn,fQ as Lt,aH as Bn,X as gn,A as et,fR as jt,fS as yt,K as qn,Q as _t,fT as ft,aW as zt,fU as ln,L as ut,at as yn,W as lt,Y as _n,o as Fn,c as jn,S as Un,fV as Wn,as as Kn,bn as Yn,fB as Gn,a3 as rn}from"./index-DqH6biyS.js";import{d as Xn,a as bt}from"./close-CObHKOmY.js";import{d as Jn}from"./home-filled-NADQtN-e.js";import{d as Qn}from"./git-branch-line-BhusJOme.js";import{d as eo}from"./admin-line-CpqWPwjZ.js";import{d as xt,a as to,b as At,_ as no,c as oo}from"./SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js";import{d as ao,u as Ee,a as Ut,g as Wt,b as lo,c as ro}from"./dark-j9TwCegr.js";import{u as Kt,t as so,a as io}from"./useDataThemeChange-DbAyv7hy.js";import{u as Ke}from"./app-6x4i1wLO.js";import{e as He}from"./mitt-E5P-NQ8u.js";import{d as co}from"./refresh-right-Du3ZsAuC.js";import{d as Et}from"./arrow-right-s-line-CxPb13eK.js";import{m as uo}from"./index-DUS3SmWP.js";import{u as Ot}from"./epTheme-tM--YJJd.js";import{u as Be}from"./hooks-BoDRUKFd.js";import{S as ho}from"./sortable.esm-Br3T5NCo.js";import{d as at}from"./check-CIQVCvCT.js";import{B as bn}from"./back_top-B_nkv46y.js";import{R as Vt}from"./index-CAi4pX1c.js";import{R as sn}from"./index-VuOdZNJM.js";import"./user-DNtD0Fqa.js";const fo={width:1024,height:1024,body:''},po={width:1024,height:1024,body:''},mo={width:1024,height:1024,body:''},vo={width:1024,height:1024,body:''},go={width:1024,height:1024,body:''},yo={width:1024,height:1024,body:''},_o={width:24,height:24,body:''},bo={width:24,height:24,body:''},wo={width:24,height:24,body:''},xo={width:24,height:24,body:''},Co={width:24,height:24,body:''},ko={width:24,height:24,body:''},So={width:24,height:24,body:''},wn={width:24,height:24,body:''},Io={width:24,height:24,body:''},$o={width:24,height:24,body:''},To={width:24,height:24,body:''},Mo={width:24,height:24,body:''},Lo={width:24,height:24,body:''},Vo={width:24,height:24,body:''},Ho={width:24,height:24,body:''},zo={width:24,height:24,body:''},Ao={width:24,height:24,body:''},Eo={width:24,height:24,body:''},Oo={width:24,height:24,body:''};ae("ep:menu",Xn);ae("ep:edit",fo);ae("ep:set-up",po);ae("ep:guide",mo);ae("ep:monitor",vo);ae("ep:lollipop",go);ae("ep:histogram",yo);ae("ep:home-filled",Jn);ae("ri:bookmark-2-line",_o);ae("ri:file-ppt-2-line",bo);ae("ri:bank-card-line",wo);ae("ri:admin-fill",xo);ae("ri:file-info-line",Co);ae("ri:git-branch-line",Qn);ae("ri:links-fill",So);ae("ri:table-line",ko);ae("ri:search-line",wn);ae("ri:admin-line",eo);ae("ri:settings-3-line",xt);ae("ri:mind-map",Io);ae("ri:bar-chart-horizontal-line",$o);ae("ri:window-line",to);ae("ri:file-search-line",Mo);ae("ri:artboard-line",To);ae("ri:list-check",Lo);ae("ri:ubuntu-fill",Vo);ae("ri:user-voice-line",Ho);ae("ri:edit-box-line",zo);ae("ri:history-fill",Ao);ae("ri:information-line",ao);ae("ri:terminal-window-line",Eo);ae("ri:checkbox-circle-line",Oo);const Zo=En({id:"pure-setting",state:()=>({title:tt().Title,fixedHeader:tt().FixedHeader,hiddenSideBar:tt().HiddenSideBar}),getters:{getTitle(n){return n.title},getFixedHeader(n){return n.fixedHeader},getHiddenSideBar(n){return n.hiddenSideBar}},actions:{CHANGE_SETTING({key:n,value:t}){Reflect.has(this,n)&&(this[n]=t)},changeSetting(n){this.CHANGE_SETTING(n)}}});function Yt(){return Zo(An)}const Ro={width:24,height:24,body:''},Po={width:24,height:24,body:''},Do={width:24,height:24,body:''},No={width:24,height:24,body:''};function xn(){var ie,ue;const n=Dt(),t=Nt(),o=Bt(),a=Yt(),l=N(0),s=N(0),p=N(0),h=N(!1),r=N(-1),d=N({}),m=N(!1),f=N(((ie=Fe().getItem(`${rt()}configure`))==null?void 0:ie.showModel)||"smart"),y=(ue=N(Fe().getItem(`${rt()}configure`).hideTabs))!=null?ue:N("false"),b=Z(()=>qe().multiTags),x=Pt([{icon:co,text:Se("buttons.pureReload"),divided:!1,disabled:!1,show:!0},{icon:bt,text:Se("buttons.pureCloseCurrentTab"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:No,text:Se("buttons.pureCloseLeftTabs"),divided:!0,disabled:!(b.value.length>1),show:!0},{icon:Do,text:Se("buttons.pureCloseRightTabs"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:Po,text:Se("buttons.pureCloseOtherTabs"),divided:!0,disabled:!(b.value.length>2),show:!0},{icon:Ro,text:Se("buttons.pureCloseAllTabs"),divided:!1,disabled:!(b.value.length>1),show:!0},{icon:pn,text:Se("buttons.pureContentFullScreen"),divided:!0,disabled:!1,show:!0}]);function M(P,Q,le){var xe,Oe;return an((xe=n==null?void 0:n.meta)==null?void 0:xe.showLink)&&((Oe=n==null?void 0:n.meta)==null?void 0:Oe.showLink)===!1?Object.keys(n.query).length>0?nt(n.query,P.query)?Q:le:nt(n.params,P.params)?Q:le:n.path===P.path?Q:le}const A=Z(()=>P=>{var Q,le;return an((Q=P==null?void 0:P.meta)==null?void 0:Q.fixedTag)&&((le=P==null?void 0:P.meta)==null?void 0:le.fixedTag)===!0}),_=Z(()=>(P,Q)=>{if(Q!==0)return M(P,!0,!1)}),B=Z(()=>P=>M(P,"is-active","")),R=Z(()=>P=>M(P,"schedule-active","")),D=Z(()=>({transform:`translateX(${p.value}px)`,transition:m.value?"none":"transform 0.5s ease-in-out"})),J=Z(()=>({left:s.value+"px",top:l.value+"px"})),F=()=>{h.value=!1};function V(P){if(P&&(r.value=P),e(f)==="smart"){if(vt(o.refs["schedule"+P][0],"schedule-active"))return;Xe(!0,"schedule-in",o.refs["schedule"+P][0]),Xe(!1,"schedule-out",o.refs["schedule"+P][0])}else{if(vt(o.refs["dynamic"+P][0],"is-active"))return;Xe(!0,"card-in",o.refs["dynamic"+P][0]),Xe(!1,"card-out",o.refs["dynamic"+P][0])}}function j(P){if(r.value=-1,e(f)==="smart"){if(vt(o.refs["schedule"+P][0],"schedule-active"))return;Xe(!1,"schedule-in",o.refs["schedule"+P][0]),Xe(!0,"schedule-out",o.refs["schedule"+P][0])}else{if(vt(o.refs["dynamic"+P][0],"is-active"))return;Xe(!1,"card-in",o.refs["dynamic"+P][0]),Xe(!0,"card-out",o.refs["dynamic"+P][0])}}function W(){a.hiddenSideBar?a.changeSetting({key:"hiddenSideBar",value:!1}):a.changeSetting({key:"hiddenSideBar",value:!0})}return Ye(()=>{if(!f.value){const P=Fe().getItem(`${rt()}configure`);P.showModel="card",Fe().setItem(`${rt()}configure`,P)}}),{Close:bt,route:n,router:t,visible:h,showTags:y,instance:o,multiTags:b,showModel:f,tagsViews:x,buttonTop:l,buttonLeft:s,translateX:p,isFixedTag:A,pureSetting:a,activeIndex:r,getTabStyle:D,isScrolling:m,iconIsActive:_,linkIsActive:B,currentSelect:d,scheduleIsActive:R,getContextMenuStyle:J,$t:Se,closeMenu:F,onMounted:Ye,onMouseenter:V,onMouseleave:j,transformI18n:Pe,onContentFullScreen:W}}const Bo={},qo={class:"w-full h-full"};function Fo(n,t){return u(),S("svg",qo,t[0]||(t[0]=[On('',3)]))}const jo=_e(Bo,[["render",Fo]]),Uo={width:24,height:24,body:''},Wo={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},Ko={class:"arrow-left"},Yo=["onContextmenu","onMouseenter","onMouseleave","onClick"],Go={class:"tag-title dark:!text-text_color_primary dark:hover:!text-primary"},Xo=["onClick"],Jo={key:1,class:"chrome-tab"},Qo={class:"chrome-tab__bg"},ea={class:"tag-title"},ta=["onClick"],na={class:"arrow-right"},oa=["onClick"],aa={class:"arrow-down"},la=se({__name:"index",setup(n){var pt;const{Close:t,route:o,router:a,visible:l,showTags:s,instance:p,multiTags:h,tagsViews:r,buttonTop:d,buttonLeft:m,showModel:f,translateX:y,isFixedTag:b,pureSetting:x,activeIndex:M,getTabStyle:A,isScrolling:_,iconIsActive:B,linkIsActive:R,currentSelect:D,scheduleIsActive:J,getContextMenuStyle:F,closeMenu:V,onMounted:j,onMouseenter:W,onMouseleave:ie,transformI18n:ue,onContentFullScreen:P}=xn(),Q=N(),le=N(),xe=N(),Oe=N(),Ie=N(!1),i=(pt=gt())==null?void 0:pt.path,{VITE_HIDE_HOME:g}=Wo,T=[...Zn,...ze().flatteningRoutes.filter(k=>{var z;return(z=k==null?void 0:k.meta)==null?void 0:z.fixedTag})],ee=()=>it(this,null,function*(){yield Qe();const k=h.value.findIndex(z=>ot(o.query)?ot(o.params)?o.path===z.path:nt(o.params,z.params):nt(o.query,z.query));pe(k)}),pe=k=>it(this,null,function*(){var de,ke;yield Qe();const z=10;if(!p.refs["dynamic"+k])return;const O=p.refs["dynamic"+k][0],G=O==null?void 0:O.offsetLeft,ve=O==null?void 0:O.offsetWidth,K=xe.value?(de=xe.value)==null?void 0:de.offsetWidth:0,Y=Q.value?(ke=Q.value)==null?void 0:ke.offsetWidth:0;K<=Y?Ie.value=!0:Ie.value=!1,Y-y.value&&G+ve<-y.value+K?y.value=Math.min(0,K-ve-G-z):y.value=-(G-(K-z-ve))}),ne=k=>{var G;const z=xe.value?(G=xe.value)==null?void 0:G.offsetWidth:0,O=Q.value?Q.value.offsetWidth:0;k>0?y.value=Math.min(0,y.value+k):z=-(O-z)&&(y.value=Math.max(y.value+k,z-O)):y.value=0,_.value=!1},te=k=>{_.value=!0;const z=Math.abs(k.deltaX)+Math.abs(k.deltaY);let O=0;k.deltaX<0?O=z>0?z:100:O=z>0?-z:-100,w(O)},w=k=>{let O=Math.abs(k);const G=()=>{const ve=Math.sign(k)*Math.min(20,O);ne(ve),O-=Math.abs(ve),O>0&&requestAnimationFrame(G)};requestAnimationFrame(G)};function I(k){const z=h.value.some(G=>G.path===k);function O(G,ve){z||G.forEach(K=>{K.path===ve?qe().handleTags("push",{path:ve,meta:K.meta,name:K.name}):K.children&&K.children.length>0&&O(K.children,ve)})}O(a.options.routes,k)}function E(){const{fullPath:k,query:z}=e(o);a.replace({path:"/redirect"+k,query:z}),Mt(o,"refresh")}function ce(k,z,O){var Y,de,ke,st;const G=h.value.findIndex(Le=>{if(Le.query){if(Le.path===k.path)return Le.query===k.query}else if(Le.params){if(Le.path===k.path)return Le.params===k.params}else return Le.path===k.path}),ve=(Le,$e,mt)=>{mt?qe().handleTags("equal",[g==="false"?T:Ve(gt()),k].flat()):qe().handleTags("splice","",{startIndex:Le,length:$e}),ee()};O==="other"?ve(1,1,!0):O==="left"?ve(T.length,G-1,!0):O==="right"?ve(G+1,h.value.length):ve(G,1);const K=qe().handleTags("slice");if(z===o.path){if(O==="left")return;(Y=K[0])!=null&&Y.query?a.push({name:K[0].name,query:K[0].query}):(de=K[0])!=null&&de.params?a.push({name:K[0].name,params:K[0].params}):a.push({path:K[0].path})}else{if(!h.value.length||h.value.some(Le=>Le.path===o.path))return;(ke=K[0])!=null&&ke.query?a.push({name:K[0].name,query:K[0].query}):(st=K[0])!=null&&st.params?a.push({name:K[0].name,params:K[0].params}):a.push({path:K[0].path})}}function L(k,z){ce(k,k.path,z),Mt(o)}function $(k,z,O){if(z&&z.disabled)return;let G;switch(O?G={path:O.path,meta:O.meta,name:O.name,query:O==null?void 0:O.query,params:O==null?void 0:O.params}:G={path:o.path,meta:o.meta},k){case 0:E();break;case 1:L(G);break;case 2:L(G,"left");break;case 3:L(G,"right");break;case 4:L(G,"other");break;case 5:qe().handleTags("splice","",{startIndex:T.length,length:h.value.length}),a.push(i),Mt(o);break;case 6:P(),setTimeout(()=>{x.hiddenSideBar?(r[6].icon=Rn,r[6].text=Se("buttons.pureContentExitFullScreen")):(r[6].icon=pn,r[6].text=Se("buttons.pureContentFullScreen"))},100);break}setTimeout(()=>{Ue(o.fullPath,o.query)})}function ge(k){const{key:z,item:O}=k;$(z,O)}function Ce(k,z){V(),$(k,z,D.value)}function Ge(k){Array.of(1,2,3,4,5).forEach(z=>{r[z].show=k})}function Ae(k,z=!1){Array.of(1,2,3,4,5).forEach(O=>{r[O].disabled=k}),z&&(r[2].show=!1,r[2].disabled=!0)}function Ue(k,z={},O=!1){var de,ke,st,Le;const G=h.value,ve=h.value.length;let K=-1;ot(z)?K=G.findIndex($e=>$e.path===k):K=G.findIndex($e=>nt($e.query,z));function Y(){var $e,mt;(mt=($e=G[K])==null?void 0:$e.meta)!=null&&mt.fixedTag&&Array.of(1,2,3,4,5).forEach(Tn=>{r[Tn].disabled=!0})}Ge(!0),O&&(r[0].show=!0),K===1&&ve!==2?(r[2].show=!1,Array.of(1,3,4,5).forEach($e=>{r[$e].disabled=!1}),r[2].disabled=!0,Y()):K===1&&ve===2?(Ae(!1),Array.of(2,3,4).forEach($e=>{r[$e].show=!1,r[$e].disabled=!0}),Y()):ve-1===K&&K!==0?(r[3].show=!1,Array.of(1,2,4,5).forEach($e=>{r[$e].disabled=!1}),r[3].disabled=!0,(ke=(de=G[K-1])==null?void 0:de.meta)!=null&&ke.fixedTag&&(r[2].show=!1,r[2].disabled=!0),Y()):K===0||k===`/redirect${i}`?Ae(!0):(Ae(!1,(Le=(st=G[K-1])==null?void 0:st.meta)==null?void 0:Le.fixedTag),Y())}function It(k,z){var de;V(),k.path===i||(de=k==null?void 0:k.meta)!=null&&de.fixedTag?(Ge(!1),r[0].show=!0):o.path!==k.path&&o.name!==k.name?(r[0].show=!1,Ue(k.path,k.query)):h.value.length===2&&o.path!==k.path?(Ge(!0),r[4].show=!1):o.path===k.path&&Ue(k.path,k.query,!0),D.value=k;const O=140,G=e(le).getBoundingClientRect().left,K=e(le).offsetWidth-O,Y=z.clientX-G+5;Y>K?m.value=K:m.value=Y,Yt().hiddenSideBar?d.value=z.clientY:d.value=z.clientY-40,Qe(()=>{l.value=!0})}function oe(k){const{name:z,path:O}=k;z?k.query?a.push({name:z,query:k.query}):k.params?a.push({name:z,params:k.params}):a.push({name:z}):a.push({path:O})}return mn(Oe,V,{detectIframe:!0}),De(o,()=>{M.value=-1,ee()}),j(()=>{p&&(Ue(o.fullPath),He.on("tagViewsChange",k=>{e(s)!==k&&(s.value=k)}),He.on("tagViewsShowModel",k=>{f.value=k}),He.on("changLayoutRoute",k=>{I(k),setTimeout(()=>{Ue(k)})}),wt(xe,ee),vn().then(()=>ee()))}),qt(()=>{He.off("tagViewsChange"),He.off("tagViewsShowModel"),He.off("changLayoutRoute")}),(k,z)=>{const O=H("IconifyIconOffline"),G=H("el-dropdown-item"),ve=H("el-dropdown-menu"),K=H("el-dropdown");return e(s)?X("",!0):(u(),S("div",{key:0,ref_key:"containerDom",ref:le,class:"tags-view"},[he(v("span",Ko,[c(O,{icon:e(At),onClick:z[0]||(z[0]=Y=>ne(200))},null,8,["icon"])],512),[[Te,Ie.value]]),v("div",{ref_key:"scrollbarDom",ref:xe,class:re(["scroll-container",e(f)==="chrome"&&"chrome-scroll-container"]),onWheel:Ze(te,["prevent"])},[v("div",{ref_key:"tabDom",ref:Q,class:"tab select-none",style:fe(e(A))},[(u(!0),S(be,null,Me(e(h),(Y,de)=>(u(),S("div",{ref_for:!0,ref:"dynamic"+de,key:de,class:re(["scroll-item is-closable",e(R)(Y),e(f)==="chrome"&&"chrome-item",e(b)(Y)&&"fixed-tag"]),onContextmenu:Ze(ke=>It(Y,ke),["prevent"]),onMouseenter:Ze(ke=>e(W)(de),["prevent"]),onMouseleave:Ze(ke=>e(ie)(de),["prevent"]),onClick:ke=>oe(Y)},[e(f)!=="chrome"?(u(),S(be,{key:0},[v("span",Go,U(e(ue)(Y.meta.title)),1),!e(b)(Y)&&(e(B)(Y,de)||de===e(M)&&de!==0)?(u(),S("span",{key:0,class:"el-icon-close",onClick:Ze(ke=>L(Y),["stop"])},[c(O,{icon:e(t)},null,8,["icon"])],8,Xo)):X("",!0),e(f)!=="card"?(u(),S("span",{key:1,ref_for:!0,ref:"schedule"+de,class:re([e(J)(Y)])},null,2)):X("",!0)],64)):(u(),S("div",Jo,[v("div",Qo,[c(jo)]),v("span",ea,U(e(ue)(Y.meta.title)),1),!e(b)(Y)&&de!==0?(u(),S("span",{key:0,class:"chrome-close-btn",onClick:Ze(ke=>L(Y),["stop"])},[c(O,{icon:e(t)},null,8,["icon"])],8,ta)):X("",!0),z[2]||(z[2]=v("span",{class:"chrome-tab-divider"},null,-1))]))],42,Yo))),128))],4)],34),he(v("span",na,[c(O,{icon:e(Et),onClick:z[1]||(z[1]=Y=>ne(-200))},null,8,["icon"])],512),[[Te,Ie.value]]),c(Ft,{name:"el-zoom-in-top"},{default:C(()=>[he((u(),S("ul",{ref_key:"contextmenuRef",ref:Oe,key:Math.random(),style:fe(e(F)),class:"contextmenu"},[(u(!0),S(be,null,Me(e(r).slice(0,6),(Y,de)=>(u(),S("div",{key:de,style:{display:"flex","align-items":"center"}},[Y.show?(u(),S("li",{key:0,onClick:ke=>Ce(de,Y)},[c(O,{icon:Y.icon},null,8,["icon"]),me(" "+U(e(ue)(Y.text)),1)],8,oa)):X("",!0)]))),128))],4)),[[Te,e(l)]])]),_:1}),c(K,{trigger:"click",placement:"bottom-end",onCommand:ge},{dropdown:C(()=>[c(ve,null,{default:C(()=>[(u(!0),S(be,null,Me(e(r),(Y,de)=>(u(),q(G,{key:de,command:{key:de,item:Y},divided:Y.divided,disabled:Y.disabled},{default:C(()=>[c(O,{icon:Y.icon},null,8,["icon"]),me(" "+U(e(ue)(Y.text)),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:C(()=>[v("span",aa,[c(O,{icon:e(Uo),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}}),ra=_e(la,[["__scopeId","data-v-890d6ae6"]]);function sa(n=!1){const t=N(n);function o(p){t.value=p}function a(){o(!0)}function l(){o(!1)}function s(){o(!t.value)}return{bool:t,setBool:o,setTrue:a,setFalse:l,toggle:s}}const ia={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--ant-design",viewBox:"0 0 1024 1024"};function ca(n,t){return u(),S("svg",ia,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8"},null,-1)]))}const Cn={render:ca},ua=["onMouseenter"],da={class:"result-item-title"},ha=se({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(n,{expose:t,emit:o}){const a=N(),l=N(),s=o,p=Bt(),h=n,r=Z(()=>x=>({background:(x==null?void 0:x.path)===d.value?Ot().epThemeColor:"",color:x.path===d.value?"#fff":"",fontSize:x.path===d.value?"16px":"14px"})),d=Z({get(){return h.value},set(x){s("update:value",x)}});function m(x){return it(this,null,function*(){d.value=x.path})}function f(){s("enter")}function y(){l.value=window.innerHeight-window.innerHeight/10-140}wt(a,y);function b(x){var B;const M=(B=p==null?void 0:p.proxy)==null?void 0:B.$refs[`resultItemRef${x}`];if(!M)return 0;const _=M[0].offsetTop+128;return _>l.value?_-l.value:0}return Ye(()=>{y()}),t({handleScroll:b}),(x,M)=>(u(),S("div",{ref_key:"resultRef",ref:a,class:"result"},[(u(!0),S(be,null,Me(x.options,(A,_)=>{var B,R;return u(),S("div",{key:A.path,ref_for:!0,ref:"resultItemRef"+_,class:"result-item dark:bg-[#1d1d1d]",style:fe(r.value(A)),onClick:f,onMouseenter:D=>m(A)},[(u(),q(Re(e(Be)((B=A.meta)==null?void 0:B.icon)))),v("span",da,U(e(Pe)((R=A.meta)==null?void 0:R.title)),1),c(e(Cn))],44,ua)}),128))],512))}}),fa=_e(ha,[["__scopeId","data-v-274aad60"]]),pa={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--mdi",viewBox:"0 0 24 24"};function ma(n,t){return u(),S("svg",pa,t[0]||(t[0]=[v("path",{fill:"currentColor",d:"M1 7h6v2H3v2h4v2H3v2h4v2H1zm10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2"},null,-1)]))}const va={render:ma},ga={width:24,height:24,body:''},ya={width:24,height:24,body:''},_a={class:"search-footer text-[#333] dark:text-white"},ba={class:"search-footer-item"},wa={class:"search-footer-item"},xa={class:"search-footer-item"},Ca={key:0,class:"search-footer-total"},ka=se({__name:"SearchFooter",props:{total:{default:0}},setup(n){const{t}=je(),{device:o}=Ee();return(a,l)=>{const s=H("IconifyIconOffline");return u(),S("div",_a,[v("span",ba,[c(e(Cn),{class:"icon"}),me(" "+U(e(t)("buttons.pureConfirm")),1)]),v("span",wa,[c(s,{icon:e(ga),class:"icon"},null,8,["icon"]),c(s,{icon:e(ya),class:"icon"},null,8,["icon"]),me(" "+U(e(t)("buttons.pureSwitch")),1)]),v("span",xa,[c(e(va),{class:"icon"}),me(" "+U(e(t)("buttons.pureClose")),1)]),e(o)!=="mobile"&&a.total>0?(u(),S("p",Ca,U(`${e(t)("search.pureTotal")} ${a.total}`),1)):X("",!0)])}}}),Sa=_e(ka,[["__scopeId","data-v-7ba3ef39"]]),Ia={width:1024,height:1024,body:''},$a={class:"history-item-title"},Ta=se({__name:"SearchHistoryItem",props:{item:{}},emits:["collectItem","deleteItem"],setup(n,{emit:t}){const o=t;function a(s){o("collectItem",s)}function l(s){o("deleteItem",s)}return(s,p)=>{var r,d;const h=H("IconifyIconOffline");return u(),S(be,null,[(u(),q(Re(e(Be)((r=s.item.meta)==null?void 0:r.icon)))),v("span",$a,U(e(Pe)((d=s.item.meta)==null?void 0:d.title)),1),he(c(h,{icon:e(Ia),class:"w-[18px] h-[18px] mr-2 hover:text-[#d7d5d4]",onClick:p[0]||(p[0]=Ze(m=>a(s.item),["stop"]))},null,8,["icon"]),[[Te,s.item.type==="history"]]),c(h,{icon:e(bt),class:"w-[18px] h-[18px] hover:text-[#d7d5d4] cursor-pointer",onClick:p[1]||(p[1]=Ze(m=>l(s.item),["stop"]))},null,8,["icon"])],64)}}}),cn=_e(Ta,[["__scopeId","data-v-ba0c91b5"]]),Ma=["onMouseenter"],La={class:"collect-container"},Va=["onMouseenter"],Ha=se({__name:"SearchHistory",props:{value:{},options:{}},emits:["update:value","enter","collect","delete","drag"],setup(n,{expose:t,emit:o}){const a=N(),l=N(),s=N(!1),{t:p}=je(),h=o,r=Bt(),d=n,m=Z(()=>V=>({background:(V==null?void 0:V.path)===y.value?Ot().epThemeColor:"",color:V.path===y.value?"#fff":"",fontSize:V.path===y.value?"16px":"14px"})),f=Z(()=>({color:Ot().epThemeColor,fontWeight:500})),y=Z({get(){return d.value},set(V){h("update:value",V)}});De(()=>d.value,V=>{V&&s.value&&vn(100).then(()=>s.value=!1)});const b=Z(()=>d.options.filter(V=>V.type==="history")),x=Z(()=>d.options.filter(V=>V.type==="collect"));function M(V){h("collect",V)}function A(V){s.value=!0,h("delete",V)}function _(V){return it(this,null,function*(){s.value||(y.value=V.path)})}function B(){h("enter")}function R(){l.value=window.innerHeight-window.innerHeight/10-140}wt(a,R);function D(V){var ue;const j=(ue=r==null?void 0:r.proxy)==null?void 0:ue.$refs[`historyItemRef${V}`];if(!j)return 0;const ie=(Pn(j)?j[0]:j).offsetTop+128;return ie>l.value?ie-l.value:0}const J=V=>{h("drag",{oldIndex:V.oldIndex,newIndex:V.newIndex})};let F=null;return De(x,V=>{V.length>1&&Qe(()=>{const j=document.querySelector(".collect-container");!j||F||(F=ho.create(j,{animation:160,onStart:W=>{W.item.style.cursor="move"},onEnd:W=>{W.item.style.cursor="pointer"},onUpdate:J}),R())})},{deep:!0,immediate:!0}),t({handleScroll:D}),(V,j)=>(u(),S("div",{ref_key:"historyRef",ref:a,class:"history"},[b.value.length?(u(),S(be,{key:0},[v("div",{style:fe(f.value)},U(e(p)("search.pureHistory")),5),(u(!0),S(be,null,Me(b.value,(W,ie)=>(u(),S("div",{key:W.path,ref_for:!0,ref:"historyItemRef"+ie,class:"history-item dark:bg-[#1d1d1d]",style:fe(m.value(W)),onClick:B,onMouseenter:ue=>_(W)},[c(cn,{item:W,onDeleteItem:A,onCollectItem:M},null,8,["item"])],44,Ma))),128))],64)):X("",!0),x.value.length?(u(),S(be,{key:1},[v("div",{style:fe(f.value)},U(`${e(p)("search.pureCollect")}${x.value.length>1?e(p)("search.pureDragSort"):""}`),5),v("div",La,[(u(!0),S(be,null,Me(x.value,(W,ie)=>(u(),S("div",{key:W.path,ref_for:!0,ref:"historyItemRef"+(ie+b.value.length),class:"history-item dark:bg-[#1d1d1d]",style:fe(m.value(W)),onClick:B,onMouseenter:ue=>_(W)},[c(cn,{item:W,onDeleteItem:A},null,8,["item"])],44,Va))),128))])],64)):X("",!0)],512))}}),za=_e(Ha,[["__scopeId","data-v-f7a9d807"]]),Aa={class:"search-content"},un="history",Ea="collect",We="menu-search-history",Je="menu-search-collect",Oa=se({__name:"SearchModal",props:{value:{type:Boolean}},emits:["update:value"],setup(n,{emit:t}){const{device:o}=Ee(),a=t,l=n,s=Nt(),{t:p,locale:h}=je(),r=N(""),d=N(),m=N(),f=N(),y=N(""),b=N(""),x=Ht([]),M=Ht([]),A=Dn(ue,300),_=tt().MenuSearchHistory,B=N(null),R=Z(()=>Nn(ze().wholeMenus)),D=Z({get(){return l.value},set(w){a("update:value",w)}});De(()=>l.value,w=>{w&&ne()});const J=Z(()=>r.value&&x.value.length>0),F=Z(()=>!r.value&&M.value.length>0),V=Z(()=>!r.value&&M.value.length===0||r.value&&x.value.length===0);function j(w){return Fe().getItem(w)||[]}function W(w,I){Fe().setItem(w,I)}function ie(w){const I=[];function E(ce){ce.forEach(L=>{I.push(L),L.children&&E(L.children)})}return E(w),I}function ue(){var I;const w=ie(R.value);x.value=w.filter(E=>{var ce,L;return r.value?Pe((ce=E.meta)==null?void 0:ce.title).toLocaleLowerCase().includes(r.value.toLocaleLowerCase().trim())||h.value==="zh"&&!ot(uo(Pe((L=E.meta)==null?void 0:L.title).toLocaleLowerCase(),r.value.toLocaleLowerCase().trim())):!1}),y.value=((I=x.value)==null?void 0:I.length)>0?x.value[0].path:""}function P(){D.value=!1,setTimeout(()=>{x.value=[],b.value="",r.value=""},200)}function Q(w){const E=(x.value.length?d.value:m.value).handleScroll(w);f.value.setScrollTop(E)}function le(){const w=x.value.length>0,I=w?x.value:M.value,E=w?y.value:b.value;return{options:I,currentPath:E,isResultOptions:w}}function xe(w,I){I?y.value=x.value[w].path:b.value=M.value[w].path,Q(w)}function Oe(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0)return;const L=(w.findIndex($=>$.path===I)-1+w.length)%w.length;xe(L,E)}function Ie(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0)return;const L=(w.findIndex($=>$.path===I)+1)%w.length;xe(L,E)}function i(){const{options:w,currentPath:I,isResultOptions:E}=le();if(w.length===0||I==="")return;const ce=w.findIndex(L=>L.path===I);ce!==-1&&(E?ee():pe(),s.push(w[ce].path),P())}function g(w){const I=w.type===un?We:Je;let E=j(I);E=E.filter(ce=>ce.path!==w.path),W(I,E),ne()}function T(w){let I=j(We),E=j(Je);I=I.filter(ce=>ce.path!==w.path),W(We,I),E.some(ce=>ce.path===w.path)||(E.unshift(Tt($t({},w),{type:Ea})),W(Je,E)),ne()}function ee(){const{path:w,meta:I}=x.value.find(ge=>ge.path===y.value),E=j(We),L=j(Je).some(ge=>ge.path===w),$=E.findIndex(ge=>ge.path===w);L||($!==-1&&E.splice($,1),E.length>=_&&E.pop(),E.unshift({path:w,meta:I,type:un}),Fe().setItem(We,E))}function pe(){let w=j(We);const I=w.findIndex(E=>E.path===b.value);if(I!==-1){const[E]=w.splice(I,1);w.unshift(E),W(We,w)}}function ne(){var E;const w=j(We),I=j(Je);M.value=[...w,...I],b.value=(E=M.value[0])==null?void 0:E.path}function te(w){const I=j(Je),[E]=I.splice(w.oldIndex,1);I.splice(w.newIndex,0,E),Fe().setItem(Je,I),M.value=[...j(We),...j(Je)],b.value=E.path}return Lt("Enter",i),Lt("ArrowUp",Oe),Lt("ArrowDown",Ie),(w,I)=>{const E=H("IconifyIconOffline"),ce=H("el-input"),L=H("el-empty"),$=H("el-scrollbar"),ge=H("el-dialog");return u(),q(ge,{modelValue:D.value,"onUpdate:modelValue":I[3]||(I[3]=Ce=>D.value=Ce),top:"5vh",class:"pure-search-dialog","show-close":!1,width:e(o)==="mobile"?"80vw":"40vw","before-close":P,style:{borderRadius:"6px"},"append-to-body":"",onOpened:I[4]||(I[4]=Ce=>B.value.focus()),onClosed:I[5]||(I[5]=Ce=>B.value.blur())},{footer:C(()=>[c(Sa,{total:x.value.length},null,8,["total"])]),default:C(()=>[c(ce,{ref_key:"inputRef",ref:B,modelValue:r.value,"onUpdate:modelValue":I[0]||(I[0]=Ce=>r.value=Ce),size:"large",clearable:"",placeholder:e(p)("search.purePlaceholder"),onInput:e(A)},{prefix:C(()=>[c(E,{icon:e(wn),class:"text-primary w-[24px] h-[24px]"},null,8,["icon"])]),_:1},8,["modelValue","placeholder","onInput"]),v("div",Aa,[c($,{ref_key:"scrollbarRef",ref:f,"max-height":"calc(90vh - 140px)"},{default:C(()=>[V.value?(u(),q(L,{key:0,description:e(p)("search.pureEmpty")},null,8,["description"])):X("",!0),F.value?(u(),q(za,{key:1,ref_key:"historyRef",ref:m,value:b.value,"onUpdate:value":I[1]||(I[1]=Ce=>b.value=Ce),options:M.value,onClick:i,onDelete:g,onCollect:T,onDrag:te},null,8,["value","options"])):X("",!0),J.value?(u(),q(fa,{key:2,ref_key:"resultRef",ref:d,value:y.value,"onUpdate:value":I[2]||(I[2]=Ce=>y.value=Ce),options:x.value,onClick:i},null,8,["value","options"])):X("",!0)]),_:1},512)])]),_:1},8,["modelValue","width"])}}}),Za=_e(Oa,[["__scopeId","data-v-1155c5fc"]]),Gt=se({__name:"index",setup(n){const{bool:t,toggle:o}=sa();function a(){o()}return(l,s)=>{const p=H("IconifyIconOffline");return u(),S("div",null,[v("div",{class:"search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover",onClick:a},[c(p,{icon:"ri:search-line"})]),c(Za,{value:e(t),"onUpdate:value":s[0]||(s[0]=h=>Bn(t)?t.value=h:null)},null,8,["value"])])}}}),dn=[{key:"1",name:Se("status.pureNotify"),list:[],emptyText:Se("status.pureNoNotify")},{key:"2",name:Se("status.pureMessage"),list:[{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile1.svg",title:"小铭 评论了你",description:"诚在于心,信在于行,诚信在于心行合一。",datetime:"今天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile2.svg",title:"李白 回复了你",description:"长风破浪会有时,直挂云帆济沧海。",datetime:"昨天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile5.svg",title:"标题",description:"请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容",datetime:"时间",type:"2"}],emptyText:Se("status.pureNoMessage")},{key:"3",name:Se("status.pureTodo"),list:[{avatar:"",title:"第三方紧急代码变更",description:"小林提交于 2024-05-10,需在 2024-05-11 前完成代码变更任务",datetime:"",extra:"马上到期",status:"danger",type:"3"},{avatar:"",title:"版本发布",description:"指派小铭于 2024-06-18 前完成更新并发布",datetime:"",extra:"已耗时 8 天",status:"warning",type:"3"},{avatar:"",title:"新功能开发",description:"开发多租户管理",datetime:"",extra:"进行中",type:"3"},{avatar:"",title:"任务名称",description:"任务需要在 2030-10-30 10:00 前启动",datetime:"",extra:"未开始",status:"info",type:"3"}],emptyText:Se("status.pureNoTodo")}],Ra={class:"notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"},Pa={class:"notice-container-text"},Da={class:"notice-text-title text-[#000000d9] dark:text-white"},Na={class:"notice-text-datetime text-[#00000073] dark:text-white"},Ba=se({__name:"NoticeItem",props:{noticeItem:{type:Object,default:()=>{}}},setup(n){const t=N(null),o=N(!1),a=N(null),l=N(!1),{tooltipEffect:s}=Ee(),p=gn();function h(){Qe(()=>{var d,m;((d=t.value)==null?void 0:d.scrollWidth)>((m=t.value)==null?void 0:m.clientWidth)?o.value=!0:o.value=!1})}function r(d,m){const f=document.createElement("span");f.innerText=m,f.className="getDescriptionWidth",document.querySelector("body").appendChild(f);const y=document.querySelector(".getDescriptionWidth").offsetWidth;document.querySelector(".getDescriptionWidth").remove();const b=d.target.offsetWidth;y>2*b?l.value=!0:l.value=!1}return(d,m)=>{var x,M;const f=H("el-avatar"),y=H("el-tooltip"),b=H("el-tag");return u(),S("div",Ra,[n.noticeItem.avatar?(u(),q(f,{key:0,size:30,src:n.noticeItem.avatar,class:"notice-container-avatar"},null,8,["src"])):X("",!0),v("div",Pa,[v("div",Da,[c(y,{"popper-class":"notice-title-popper",effect:e(s),disabled:!o.value,content:n.noticeItem.title,placement:"top-start",enterable:!e(p)},{default:C(()=>[v("div",{ref_key:"titleRef",ref:t,class:"notice-title-content",onMouseover:h},U(n.noticeItem.title),545)]),_:1},8,["effect","disabled","content","enterable"]),(x=n.noticeItem)!=null&&x.extra?(u(),q(b,{key:0,type:(M=n.noticeItem)==null?void 0:M.status,size:"small",class:"notice-title-extra"},{default:C(()=>{var A;return[me(U((A=n.noticeItem)==null?void 0:A.extra),1)]}),_:1},8,["type"])):X("",!0)]),c(y,{"popper-class":"notice-title-popper",effect:e(s),disabled:!l.value,content:n.noticeItem.description,placement:"top-start"},{default:C(()=>[v("div",{ref_key:"descriptionRef",ref:a,class:"notice-text-description",onMouseover:m[0]||(m[0]=A=>r(A,n.noticeItem.description))},U(n.noticeItem.description),545)]),_:1},8,["effect","disabled","content"]),v("div",Na,U(n.noticeItem.datetime),1)])])}}}),qa=_e(Ba,[["__scopeId","data-v-197133ce"]]),Fa={key:0},ja=se({__name:"NoticeList",props:{list:{type:Array,default:()=>[]},emptyText:{type:String,default:""}},setup(n){return(t,o)=>{const a=H("el-empty");return n.list.length?(u(),S("div",Fa,[(u(!0),S(be,null,Me(n.list,(l,s)=>(u(),q(qa,{key:s,noticeItem:l},null,8,["noticeItem"]))),128))])):(u(),q(a,{key:1,description:e(Pe)(n.emptyText)},null,8,["description"]))}}}),Ua={width:1024,height:1024,body:''},Wa={class:"header-notice-icon"},Ka={key:1},Ya={class:"noticeList-container"},Ga=se({__name:"index",setup(n){var p;const{t}=je(),o=N(0),a=N(dn),l=N((p=dn[0])==null?void 0:p.key);a.value.map(h=>o.value+=h.list.length);const s=Z(()=>h=>t(h.name)+(h.list.length>0?`(${h.list.length})`:""));return(h,r)=>{const d=H("IconifyIconOffline"),m=H("el-badge"),f=H("el-empty"),y=H("el-scrollbar"),b=H("el-tab-pane"),x=H("el-tabs"),M=H("el-dropdown-menu"),A=H("el-dropdown");return u(),q(A,{trigger:"click",placement:"bottom-end"},{dropdown:C(()=>[c(M,null,{default:C(()=>[c(x,{modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=_=>l.value=_),stretch:!0,class:"dropdown-tabs",style:fe({width:a.value.length===0?"200px":"330px"})},{default:C(()=>[a.value.length===0?(u(),q(f,{key:0,description:e(t)("status.pureNoMessage"),"image-size":60},null,8,["description"])):(u(),S("span",Ka,[(u(!0),S(be,null,Me(a.value,_=>(u(),q(b,{key:_.key,label:s.value(_),name:`${_.key}`},{default:C(()=>[c(y,{"max-height":"330px"},{default:C(()=>[v("div",Ya,[c(ja,{list:_.list,emptyText:_.emptyText},null,8,["list","emptyText"])])]),_:2},1024)]),_:2},1032,["label","name"]))),128))]))]),_:1},8,["modelValue","style"])]),_:1})]),default:C(()=>[v("span",{class:re(["dropdown-badge","navbar-bg-hover","select-none",Number(o.value)!==0&&"mr-[10px]"])},[c(m,{value:Number(o.value)===0?"":o.value,max:99},{default:C(()=>[v("span",Wa,[c(d,{icon:e(Ua)},null,8,["icon"])])]),_:1},8,["value"])],2)]),_:1})}}}),Xt=_e(Ga,[["__scopeId","data-v-1760ac04"]]),Xa={key:0,class:"flex justify-center items-center"},Zt=se({__name:"SidebarExtraIcon",props:{extraIcon:{type:String,default:""}},setup(n){return(t,o)=>n.extraIcon?(u(),S("div",Xa,[(u(),q(Re(e(Be)(Ve(n.extraIcon))),{class:"w-[30px] h-[30px]"}))])):X("",!0)}}),Jt=se({__name:"SidebarFullScreen",setup(n){const t=N(),{toggle:o,isFullscreen:a,Fullscreen:l,ExitFullscreen:s}=Ee();return a.value=!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement),De(a,p=>{t.value=p?s:l},{immediate:!0}),(p,h)=>{const r=H("IconifyIconOffline");return u(),S("span",{class:"fullscreen-icon navbar-bg-hover",onClick:h[0]||(h[0]=(...d)=>e(o)&&e(o)(...d))},[c(r,{icon:t.value},null,8,["icon"])])}}}),Qt={width:24,height:24,body:''},en={width:24,height:24,body:''},Ja={key:0,class:"horizontal-header"},Qa={class:"select-none"},el={class:"horizontal-header-right"},tl={class:"check-zh"},nl={class:"check-en"},ol={class:"el-dropdown-link navbar-bg-hover select-none"},al=["src"],ll={key:0,class:"dark:text-white"},rl=["title"],sl=se({__name:"NavMix",setup(n){const t=N(),o=N(null),{t:a,route:l,locale:s,translationCh:p,translationEn:h}=Ut(t),{device:r,logout:d,onPanel:m,resolvePath:f,username:y,userAvatar:b,getDivStyle:x,avatarsStyle:M,toAccountSettings:A,getDropdownItemStyle:_,getDropdownItemClass:B}=Ee();function R(D){var V,j,W;const J=ze().wholeMenus,F=jt(D,J)[0];o.value=ot((V=l.meta)==null?void 0:V.activePath)?(W=(j=yt(F,J))==null?void 0:j.children[0])==null?void 0:W.path:l.meta.activePath}return Ye(()=>{R(l.path)}),Qe(()=>{var D;(D=t.value)==null||D.handleResize()}),De(()=>[l.path,ze().wholeMenus],()=>{R(l.path)}),(D,J)=>{const F=H("el-menu-item"),V=H("el-menu"),j=H("IconifyIconOffline"),W=H("el-dropdown-item"),ie=H("el-dropdown-menu"),ue=H("el-dropdown"),P=et("loading");return e(r)!=="mobile"?he((u(),S("div",Ja,[c(V,{ref_key:"menuRef",ref:t,router:"",mode:"horizontal","popper-class":"pure-scrollbar",class:"horizontal-header-menu","default-active":o.value},{default:C(()=>[(u(!0),S(be,null,Me(e(ze)().wholeMenus,Q=>(u(),q(F,{key:Q.path,index:e(f)(Q)||Q.redirect},{title:C(()=>[Ve(Q.meta.icon)?(u(),S("div",{key:0,class:re(["sub-menu-icon",Q.meta.icon])},[(u(),q(Re(e(Be)(Q.meta&&Ve(Q.meta.icon)))))],2)):X("",!0),v("div",{style:fe(e(x))},[v("span",Qa,U(e(Pe)(Q.meta.title)),1),c(Zt,{extraIcon:Q.meta.extraIcon},null,8,["extraIcon"])],4)]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"]),v("div",el,[c(Gt,{id:"header-search"}),c(ue,{id:"header-translation",trigger:"click"},{dropdown:C(()=>[c(ie,{class:"translation"},{default:C(()=>[c(W,{style:fe(e(_)(e(s),"zh")),class:re(["dark:!text-white",e(B)(e(s),"zh")]),onClick:e(p)},{default:C(()=>[he(v("span",tl,[c(j,{icon:e(at)},null,8,["icon"])],512),[[Te,e(s)==="zh"]]),J[1]||(J[1]=me(" 简体中文 "))]),_:1},8,["style","class","onClick"]),c(W,{style:fe(e(_)(e(s),"en")),class:re(["dark:!text-white",e(B)(e(s),"en")]),onClick:e(h)},{default:C(()=>[he(v("span",nl,[c(j,{icon:e(at)},null,8,["icon"])],512),[[Te,e(s)==="en"]]),J[2]||(J[2]=me(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:C(()=>[c(e(Wt),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),c(Jt,{id:"full-screen"}),c(Xt,{id:"header-notice"}),c(ue,{trigger:"click"},{dropdown:C(()=>[c(W,{onClick:e(A)},{default:C(()=>[c(j,{icon:e(Qt),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(a)("buttons.pureAccountSettings")),1)]),_:1},8,["onClick"]),c(ie,{class:"logout"},{default:C(()=>[c(W,{onClick:e(d)},{default:C(()=>[c(j,{icon:e(en),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(a)("buttons.pureLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:C(()=>[v("span",ol,[v("img",{src:e(b),style:fe(e(M))},null,12,al),e(y)?(u(),S("p",ll,U(e(y)),1)):X("",!0)])]),_:1}),v("span",{class:"set-icon navbar-bg-hover",title:e(a)("buttons.pureOpenSystemSet"),onClick:J[0]||(J[0]=(...Q)=>e(m)&&e(m)(...Q))},[c(j,{icon:e(xt)},null,8,["icon"])],8,rl)])])),[[P,e(ze)().wholeMenus.length===0]]):X("",!0)}}}),il=_e(sl,[["__scopeId","data-v-9f22ffe1"]]),cl=["onClick"],ul=se({__name:"SidebarBreadCrumb",setup(n){const t=Dt(),o=N([]),a=Nt(),l=a.options.routes,s=qe().multiTags,p=()=>{let r;Object.keys(t.query).length>0?s.forEach(f=>{nt(t.query,f==null?void 0:f.query)&&(r=Ve(f))}):Object.keys(t.params).length>0?s.forEach(f=>{nt(t.params,f==null?void 0:f.params)&&(r=Ve(f))}):r=yt(a.currentRoute.value.path,l);const d=jt(a.currentRoute.value.name,l,"name"),m=[];d.forEach(f=>{f!=="/"&&m.push(yt(f,l))}),m.push(r),m.forEach((f,y)=>{r!=null&&r.query||r!=null&&r.params||f!=null&&f.children&&f.children.forEach(b=>{var x,M;((x=b==null?void 0:b.meta)==null?void 0:x.title)===((M=f==null?void 0:f.meta)==null?void 0:M.title)&&m.splice(y,1)})}),o.value=m.filter(f=>(f==null?void 0:f.meta)&&(f==null?void 0:f.meta.title)!==!1)},h=r=>{const{redirect:d,name:m,path:f}=r;d?a.push(d):m?r.query?a.push({name:m,query:r.query}):r.params?a.push({name:m,params:r.params}):a.push({name:m}):a.push({path:f})};return Ye(()=>{p()}),De(()=>t.path,()=>{p()},{deep:!0}),(r,d)=>{const m=H("el-breadcrumb-item"),f=H("el-breadcrumb");return u(),q(f,{class:"!leading-[50px] select-none",separator:"/"},{default:C(()=>[c(qn,{name:"breadcrumb"},{default:C(()=>[(u(!0),S(be,null,Me(o.value,y=>(u(),q(m,{key:y.path,class:"!inline !items-stretch"},{default:C(()=>[v("a",{onClick:Ze(b=>h(y),["prevent"])},U(e(Pe)(y.meta.title)),9,cl)]),_:2},1024))),128))]),_:1})]),_:1})}}}),dl={class:"navbar bg-[#fff] shadow-sm shadow-[rgba(0,21,41,0.08)]"},hl={key:3,class:"vertical-header-right"},fl={class:"check-en"},pl={class:"el-dropdown-link navbar-bg-hover select-none"},ml=["src"],vl={key:0,class:"dark:text-white"},gl=["title"],yl=se({__name:"index",setup(n){const{layout:t,device:o,logout:a,onPanel:l,pureApp:s,username:p,userAvatar:h,avatarsStyle:r,toggleSideBar:d,toAccountSettings:m,getDropdownItemStyle:f,getDropdownItemClass:y}=Ee(),{t:b,locale:x,translationCh:M,translationEn:A}=Ut();return(_,B)=>{const R=H("IconifyIconOffline"),D=H("el-dropdown-item"),J=H("el-dropdown-menu"),F=H("el-dropdown");return u(),S("div",dl,[e(o)==="mobile"?(u(),q(no,{key:0,class:"hamburger-container","is-active":e(s).sidebar.opened,onToggleClick:e(d)},null,8,["is-active","onToggleClick"])):X("",!0),e(t)!=="mix"&&e(o)!=="mobile"?(u(),q(ul,{key:1,class:"breadcrumb-container"})):X("",!0),e(t)==="mix"?(u(),q(il,{key:2})):X("",!0),e(t)==="vertical"?(u(),S("div",hl,[c(Gt,{id:"header-search"}),c(F,{id:"header-translation",trigger:"click"},{dropdown:C(()=>[c(J,{class:"translation"},{default:C(()=>[c(D,{style:fe(e(f)(e(x),"zh")),class:re(["dark:!text-white",e(y)(e(x),"zh")]),onClick:e(M)},{default:C(()=>[he(c(R,{class:"check-zh",icon:e(at)},null,8,["icon"]),[[Te,e(x)==="zh"]]),B[1]||(B[1]=me(" 简体中文 "))]),_:1},8,["style","class","onClick"]),c(D,{style:fe(e(f)(e(x),"en")),class:re(["dark:!text-white",e(y)(e(x),"en")]),onClick:e(A)},{default:C(()=>[he(v("span",fl,[c(R,{icon:e(at)},null,8,["icon"])],512),[[Te,e(x)==="en"]]),B[2]||(B[2]=me(" English "))]),_:1},8,["style","class","onClick"])]),_:1})]),default:C(()=>[c(e(Wt),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),c(Jt,{id:"full-screen"}),c(Xt,{id:"header-notice"}),c(F,{trigger:"click"},{dropdown:C(()=>[c(J,{class:"logout"},{default:C(()=>[c(D,{onClick:e(m)},{default:C(()=>[c(R,{icon:e(Qt),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(b)("buttons.pureAccountSettings")),1)]),_:1},8,["onClick"]),c(D,{onClick:e(a)},{default:C(()=>[c(R,{icon:e(en),style:{margin:"5px"}},null,8,["icon"]),me(" "+U(e(b)("buttons.pureLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:C(()=>[v("span",pl,[v("img",{src:e(h),style:fe(e(r))},null,12,ml),e(p)?(u(),S("p",vl,U(e(p)),1)):X("",!0)])]),_:1}),v("span",{class:"set-icon navbar-bg-hover",title:e(b)("buttons.pureOpenSystemSet"),onClick:B[0]||(B[0]=(...V)=>e(l)&&e(l)(...V))},[c(R,{icon:e(xt)},null,8,["icon"])],8,gl)])):X("",!0)])}}}),_l=_e(yl,[["__scopeId","data-v-b43dc9be"]]),ct=new Map,bl=()=>{function n(a,l){ct.set(a,l)}function t(a){return a?ct.get(a):[...ct.entries()]}function o(a){ct.delete(a)}return{setMap:n,getMap:t,delMap:o,MAP:ct}},wl={class:"w-full h-full"},xl=se({__name:"index",props:{currRoute:{},currComp:{}},setup(n){const t=n,o=Ht([]),{setMap:a,getMap:l,MAP:s,delMap:p}=bl(),h=Z(()=>{var d,m;return tt().KeepAlive&&((d=t.currRoute.meta)==null?void 0:d.keepAlive)&&!!((m=t.currRoute.meta)!=null&&m.frameSrc)}),r=Z(()=>!h.value&&t.currComp);return De(qe().multiTags,d=>{if(!Array.isArray(d)||!h.value)return;if(d.filter(f=>{var y;return(y=f.meta)==null?void 0:y.frameSrc}).lengthy.path===f)||(p(f),o.value=l())}),De(()=>t.currRoute.fullPath,d=>{const f=qe().multiTags.filter(y=>{var b;return(b=y.meta)==null?void 0:b.frameSrc});h.value&&f.length!==s.size&&([...s.keys()].find(b=>d===b)||a(d,t.currComp)),s.size>0&&(o.value=l())},{immediate:!0}),(d,m)=>(u(),S(be,null,[(u(!0),S(be,null,Me(o.value,([f,y])=>{var b;return he((u(),S("div",{key:f,class:"w-full h-full"},[_t(d.$slots,"default",{fullPath:f,Comp:y,frameInfo:{frameSrc:(b=d.currRoute.meta)==null?void 0:b.frameSrc,fullPath:f}})],512)),[[Te,f===d.currRoute.fullPath]])}),128)),he(v("div",wl,[_t(d.$slots,"default",{Comp:r.value,fullPath:d.currRoute.fullPath})],512),[[Te,!h.value]])],64))}}),Cl={class:"layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"},kl={class:"hover:text-primary",href:"https://github.com/pure-admin",target:"_blank"},Sl=se({__name:"index",setup(n){const t=tt("Title");return(o,a)=>(u(),S("footer",Cl,[a[0]||(a[0]=me(" Copyright © 2020-2024 ")),v("a",kl,"  "+U(e(t)),1)]))}}),hn=_e(Sl,[["__scopeId","data-v-8ec2f332"]]),Il={class:"grow"},$l={key:1,class:"grow"},Tl=se({__name:"index",props:{fixedHeader:Boolean},setup(n){const t=n,{t:o}=je(),{showModel:a}=xn(),{$storage:l,$config:s}=ft(),p=Z(()=>s==null?void 0:s.KeepAlive),h=Z(()=>M=>M.meta.transition),r=Z(()=>l==null?void 0:l.configure.hideTabs),d=Z(()=>l==null?void 0:l.configure.hideFooter),m=Z(()=>l==null?void 0:l.configure.stretch),f=Z(()=>(l==null?void 0:l.layout.layout)==="vertical"),y=Z(()=>zt(m.value)?m.value+"px":m.value?"1440px":"100%"),b=Z(()=>[r.value&&f?"padding-top: 48px;":"",!r.value&&f?a.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",r.value&&!f.value?"padding-top: 48px;":"",!r.value&&!f.value?a.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",t.fixedHeader?"":`padding-top: 0;${r.value?"min-height: calc(100vh - 48px);":"min-height: calc(100vh - 86px);"}`]),x=se({props:{route:{type:void 0,required:!0}},render(){var B,R,D;const M=((B=h.value(this.route))==null?void 0:B.name)||"fade-transform",A=(R=h.value(this.route))==null?void 0:R.enterTransition,_=(D=h.value(this.route))==null?void 0:D.leaveTransition;return ut(Ft,{name:A?"pure-classes-transition":M,enterActiveClass:A?`animate__animated ${A}`:void 0,leaveActiveClass:_?`animate__animated ${_}`:void 0,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})}});return(M,A)=>{const _=H("el-backtop"),B=H("el-scrollbar"),R=H("router-view");return u(),S("section",{class:re([n.fixedHeader?"app-main":"app-main-nofixed-header"]),style:fe(b.value)},[c(R,null,{default:C(({Component:D,route:J})=>[c(xl,{currComp:D,currRoute:J},{default:C(({Comp:F,fullPath:V,frameInfo:j})=>[n.fixedHeader?(u(),q(B,{key:0,"wrap-style":{display:"flex","flex-wrap":"wrap","max-width":y.value,margin:"0 auto",transition:"all 300ms cubic-bezier(0.4, 0, 0.2, 1)"},"view-style":{display:"flex",flex:"auto",overflow:"hidden","flex-direction":"column"}},{default:C(()=>[c(_,{title:e(o)("buttons.pureBackTop"),target:".app-main .el-scrollbar__wrap"},{default:C(()=>[c(e(bn))]),_:1},8,["title"]),v("div",Il,[c(e(x),{route:J},{default:C(()=>[p.value?(u(),q(ln,{key:0,include:e(ze)().cachePageList},[(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]),d.value?X("",!0):(u(),q(hn,{key:0}))]),_:2},1032,["wrap-style"])):(u(),S("div",$l,[c(e(x),{route:J},{default:C(()=>[p.value?(u(),q(ln,{key:0,include:e(ze)().cachePageList},[(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(u(),q(Re(F),{key:V,frameInfo:j,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]))]),_:2},1032,["currComp","currRoute"])]),_:1}),!d.value&&!n.fixedHeader?(u(),q(hn,{key:0})):X("",!0)],6)}}}),fn=_e(Tl,[["__scopeId","data-v-5fc75f4c"]]),Ml={class:"project-configuration border-b-[1px] border-solid border-[var(--pure-border-color)]"},Ll={class:"dark:text-white"},Vl={class:"flex justify-end p-3 border-t-[1px] border-solid border-[var(--pure-border-color)]"},Hl=se({__name:"index",setup(n){const t=N(null),o=N(!1),a=Z(()=>["w-[22px]","h-[22px]","flex","justify-center","items-center","outline-none","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]),{t:l}=je(),{onReset:s}=Kt();return mn(t,p=>{p.clientX>t.value.offsetLeft||(o.value=!1)}),Ye(()=>{He.on("openPanel",()=>{o.value=!0})}),qt(()=>{He.off("openPanel")}),(p,h)=>{const r=H("IconifyIconOffline"),d=H("el-scrollbar"),m=H("el-button"),f=et("tippy");return u(),S("div",{class:re({show:o.value})},[h[1]||(h[1]=v("div",{class:"right-panel-background"},null,-1)),v("div",{ref_key:"target",ref:t,class:"right-panel bg-bg_color"},[v("div",Ml,[v("h4",Ll,U(e(l)("panel.pureSystemSet")),1),he((u(),S("span",{class:re(a.value)},[c(r,{class:"dark:text-white",width:"18px",height:"18px",icon:e(bt),onClick:h[0]||(h[0]=y=>o.value=!o.value)},null,8,["icon"])],2)),[[f,{content:e(l)("panel.pureCloseSystemSet"),placement:"bottom-start",zIndex:41e3}]])]),c(d,null,{default:C(()=>[_t(p.$slots,"default",{},void 0,!0)]),_:3}),v("div",Vl,[he((u(),q(m,{type:"danger",text:"",bg:"",onClick:e(s)},{default:C(()=>[me(U(e(l)("panel.pureClearCache")),1)]),_:1},8,["onClick"])),[[f,{content:e(l)("panel.pureClearCacheAndToLogin"),placement:"left-start",zIndex:41e3}]])])],512)],2)}}}),zl=_e(Hl,[["__scopeId","data-v-c826562e"]]),Al={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",class:"icon",viewBox:"0 0 1024 1024"};function El(n,t){return u(),S("svg",Al,t[0]||(t[0]=[v("path",{d:"M554 849.574c0 23.365-18.635 42.307-42 42.307s-42-18.941-42-42.307V662.719c0-23.365 18.635-42.307 42-42.307v-7.051c23.365 0 42 25.993 42 49.358z"},null,-1),v("path",{d:"M893 888.5c0 17.397-14.103 31.5-31.5 31.5h-700c-17.397 0-31.5-14.103-31.5-31.5s14.103-31.5 31.5-31.5h700c17.397 0 31.5 14.103 31.5 31.5m33-714.074C926 135.484 894.686 105 855.744 105H168.256C129.314 105 98 135.484 98 174.426V533h828zM98 630.988C98 669.931 129.314 702 168.256 702h687.488C894.686 702 926 669.931 926 630.988V596H98z"},null,-1)]))}const Ol={render:El},Zl={class:"p-5"},Rl={class:"theme-color"},Pl=["onClick"],Dl={class:"pure-theme"},Nl={key:0},Bl={class:"mt-5 font-medium text-sm dark:text-white"},ql={class:"setting"},Fl={class:"dark:text-white"},jl={class:"dark:text-white"},Ul={class:"dark:text-white"},Wl={class:"dark:text-white"},Kl={class:"dark:text-white"},Yl=se({__name:"index",setup(n){var w,I,E,ce;const{t}=je(),{device:o}=Ee(),{isDark:a}=yn(),{$storage:l}=ft(),s=N(),p=N(),h=N(),{dataTheme:r,overallStyle:d,layoutTheme:m,themeColors:f,toggleClass:y,dataThemeChange:b,setLayoutThemeColor:x}=Kt();if(e(m)){const L=e(m).layout,$=e(m).theme;so({scopeName:`layout-theme-${$}`}),T(L)}const M=N((I=(w=l.configure)==null?void 0:w.showModel)!=null?I:"smart"),A=N((ce=(E=l.configure)==null?void 0:E.showLogo)!=null?ce:!0),_=Pt({greyVal:l.configure.grey,weakVal:l.configure.weak,tabsVal:l.configure.hideTabs,showLogo:l.configure.showLogo,showModel:l.configure.showModel,hideFooter:l.configure.hideFooter,multiTagsCache:l.configure.multiTagsCache,stretch:l.configure.stretch}),B=Z(()=>L=>({background:L})),R=Z(()=>L=>!(L==="light"&&a.value));function D(L,$){const ge=l.configure;ge[L]=$,l.configure=ge}const J=L=>{const $=document.querySelector("html");y(_.greyVal,"html-grey",$),D("grey",L)},F=L=>{const $=document.querySelector("html");y(_.weakVal,"html-weakness",$),D("weak",L)},V=()=>{const L=_.tabsVal;D("hideTabs",L),He.emit("tagViewsChange",L)},j=()=>{const L=_.hideFooter;D("hideFooter",L)},W=()=>{const L=_.multiTagsCache;D("multiTagsCache",L),qe().multiTagsCacheChange(L)};function ie({option:L}){const{value:$}=L;M.value=$,D("showModel",$),He.emit("tagViewsShowModel",$)}function ue(){e(A)?D("showLogo",!0):D("showLogo",!1),He.emit("logoChange",e(A))}function P(L){L.forEach($=>{y(!1,"is-select",e($))})}const Q=Z(()=>[{label:t("panel.pureStretchFixed"),tip:t("panel.pureStretchFixedTip"),value:"fixed"},{label:t("panel.pureStretchCustom"),tip:t("panel.pureStretchCustomTip"),value:"custom"}]),le=L=>{_.stretch=L,D("stretch",L)},xe=({option:L})=>{const{value:$}=L;le($==="custom"?1440:!1)},Oe=Z(()=>L=>L===m.value.theme&&m.value.theme!=="light"?"#fff":L===m.value.theme&&m.value.theme==="light"?"#1d2b45":"transparent"),Ie=Z(()=>["mb-[12px]","font-medium","text-sm","dark:text-white"]),i=Z(()=>[{label:t("panel.pureOverallStyleLight"),icon:lo,theme:"light",tip:t("panel.pureOverallStyleLightTip"),iconAttrs:{fill:a.value?"#fff":"#000"}},{label:t("panel.pureOverallStyleDark"),icon:ro,theme:"dark",tip:t("panel.pureOverallStyleDarkTip"),iconAttrs:{fill:a.value?"#fff":"#000"}},{label:t("panel.pureOverallStyleSystem"),icon:Ol,theme:"system",tip:t("panel.pureOverallStyleSystemTip"),iconAttrs:{fill:a.value?"#fff":"#000"}}]),g=Z(()=>[{label:t("panel.pureTagsStyleSmart"),tip:t("panel.pureTagsStyleSmartTip"),value:"smart"},{label:t("panel.pureTagsStyleCard"),tip:t("panel.pureTagsStyleCardTip"),value:"card"},{label:t("panel.pureTagsStyleChrome"),tip:t("panel.pureTagsStyleChromeTip"),value:"chrome"}]);function T(L){var $,ge,Ce,Ge,Ae;m.value.layout=L,window.document.body.setAttribute("layout",L),l.layout={layout:L,theme:m.value.theme,darkMode:($=l.layout)==null?void 0:$.darkMode,sidebarStatus:(ge=l.layout)==null?void 0:ge.sidebarStatus,epThemeColor:(Ce=l.layout)==null?void 0:Ce.epThemeColor,themeColor:(Ge=l.layout)==null?void 0:Ge.themeColor,overallStyle:(Ae=l.layout)==null?void 0:Ae.overallStyle},Ke().setLayout(L)}De(l,({layout:L})=>{switch(L.layout){case"vertical":y(!0,"is-select",e(p)),lt(P([h]),50),lt(P([s]),50);break;case"horizontal":y(!0,"is-select",e(h)),lt(P([p]),50),lt(P([s]),50);break;case"mix":y(!0,"is-select",e(s)),lt(P([p]),50),lt(P([h]),50);break}});const ee=window.matchMedia("(prefers-color-scheme: dark)");function pe(){d.value==="system"&&(ee.matches?r.value=!0:r.value=!1,b(d.value))}function ne(){ee.removeEventListener("change",pe)}function te(){pe(),ne(),ee.addEventListener("change",pe)}return _n(()=>{Qe(()=>{var L,$;te(),_.greyVal&&((L=document.querySelector("html"))==null||L.classList.add("html-grey")),_.weakVal&&(($=document.querySelector("html"))==null||$.classList.add("html-weakness")),_.tabsVal&&V(),_.hideFooter&&j()})}),Fn(()=>ne),(L,$)=>{const ge=H("IconifyIconOffline"),Ce=H("el-icon"),Ge=H("el-input-number"),Ae=H("el-switch"),Ue=et("tippy"),It=et("ripple");return u(),q(zl,null,{default:C(()=>[v("div",Zl,[v("p",{class:re(Ie.value)},U(e(t)("panel.pureOverallStyle")),3),c(e(Vt),{resize:"",class:"select-none",modelValue:e(d)==="system"?2:e(r)?1:0,options:i.value,onChange:$[0]||($[0]=oe=>{oe.index===1&&oe.index!==2?r.value=!0:r.value=!1,d.value=oe.option.theme,e(b)(oe.option.theme),oe.index===2&&te()})},null,8,["modelValue","options"]),v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureThemeColor")),3),v("ul",Rl,[(u(!0),S(be,null,Me(e(f),(oe,pt)=>he((u(),S("li",{key:pt,style:fe(B.value(oe.color)),onClick:k=>e(x)(oe.themeColor)},[c(Ce,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:Oe.value(oe.themeColor)},{default:C(()=>[c(ge,{icon:e(at)},null,8,["icon"])]),_:2},1032,["color"])],12,Pl)),[[Te,R.value(oe.themeColor)]])),128))]),v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureLayoutModel")),3),v("ul",Dl,[he((u(),S("li",{ref_key:"verticalRef",ref:p,class:re(e(m).layout==="vertical"?"is-select":""),onClick:$[1]||($[1]=oe=>T("vertical"))},$[13]||($[13]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureVerticalTip"),zIndex:41e3}]]),e(o)!=="mobile"?he((u(),S("li",{key:0,ref_key:"horizontalRef",ref:h,class:re(e(m).layout==="horizontal"?"is-select":""),onClick:$[2]||($[2]=oe=>T("horizontal"))},$[14]||($[14]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureHorizontalTip"),zIndex:41e3}]]):X("",!0),e(o)!=="mobile"?he((u(),S("li",{key:1,ref_key:"mixRef",ref:s,class:re(e(m).layout==="mix"?"is-select":""),onClick:$[3]||($[3]=oe=>T("mix"))},$[15]||($[15]=[v("div",null,null,-1),v("div",null,null,-1)]),2)),[[Ue,{content:e(t)("panel.pureMixTip"),zIndex:41e3}]]):X("",!0)]),e(Ke)().getViewportWidth>1280?(u(),S("span",Nl,[v("p",{class:re(["mt-5",Ie.value])},U(e(t)("panel.pureStretch")),3),c(e(Vt),{resize:"",class:"mb-2 select-none",modelValue:e(zt)(_.stretch)?1:0,options:Q.value,onChange:xe},null,8,["modelValue","options"]),e(zt)(_.stretch)?(u(),q(Ge,{key:0,modelValue:_.stretch,"onUpdate:modelValue":$[4]||($[4]=oe=>_.stretch=oe),min:1280,max:1600,"controls-position":"right",onChange:$[5]||($[5]=oe=>le(oe))},null,8,["modelValue"])):he((u(),S("button",{key:1,class:"bg-transparent flex-c w-full h-20 rounded-md border border-[var(--pure-border-color)]",onClick:$[6]||($[6]=oe=>le(!_.stretch))},[v("div",{class:re(["flex-bc transition-all duration-300",[_.stretch?"w-[24%]":"w-[50%]"]]),style:{color:"var(--el-color-primary)"}},[c(ge,{icon:_.stretch?e(Et):e(At),height:"20"},null,8,["icon"]),$[16]||($[16]=v("div",{class:"flex-grow border-b border-dashed",style:{"border-color":"var(--el-color-primary)"}},null,-1)),c(ge,{icon:_.stretch?e(At):e(Et),height:"20"},null,8,["icon"])],2)])),[[It,{class:"text-gray-300"}]])])):X("",!0),v("p",{class:re(["mt-4",Ie.value])},U(e(t)("panel.pureTagsStyle")),3),c(e(Vt),{resize:"",class:"select-none",modelValue:M.value==="smart"?0:M.value==="card"?1:2,options:g.value,onChange:ie},null,8,["modelValue","options"]),v("p",Bl,U(e(t)("panel.pureInterfaceDisplay")),1),v("ul",ql,[v("li",null,[v("span",Fl,U(e(t)("panel.pureGreyModel")),1),c(Ae,{modelValue:_.greyVal,"onUpdate:modelValue":$[7]||($[7]=oe=>_.greyVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:J},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",jl,U(e(t)("panel.pureWeakModel")),1),c(Ae,{modelValue:_.weakVal,"onUpdate:modelValue":$[8]||($[8]=oe=>_.weakVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:F},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Ul,U(e(t)("panel.pureHiddenTags")),1),c(Ae,{modelValue:_.tabsVal,"onUpdate:modelValue":$[9]||($[9]=oe=>_.tabsVal=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:V},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Wl,U(e(t)("panel.pureHiddenFooter")),1),c(Ae,{modelValue:_.hideFooter,"onUpdate:modelValue":$[10]||($[10]=oe=>_.hideFooter=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:j},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[$[17]||($[17]=v("span",{class:"dark:text-white"},"Logo",-1)),c(Ae,{modelValue:A.value,"onUpdate:modelValue":$[11]||($[11]=oe=>A.value=oe),"inline-prompt":"","active-value":!0,"inactive-value":!1,"active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:ue},null,8,["modelValue","active-text","inactive-text"])]),v("li",null,[v("span",Kl,U(e(t)("panel.pureMultiTagsCache")),1),c(Ae,{modelValue:_.multiTagsCache,"onUpdate:modelValue":$[12]||($[12]=oe=>_.multiTagsCache=oe),"inline-prompt":"","active-text":e(t)("buttons.pureOpenText"),"inactive-text":e(t)("buttons.pureCloseText"),onChange:W},null,8,["modelValue","active-text","inactive-text"])])])])]),_:1})}}}),Gl=_e(Yl,[["__scopeId","data-v-a63f193b"]]),Xl=["src"],Jl={class:"sidebar-title"},Ql=["src"],er={class:"sidebar-title"},tr=se({__name:"SidebarLogo",props:{collapse:Boolean},setup(n){const{title:t,getLogo:o}=Ee();return(a,l)=>{const s=H("router-link");return u(),S("div",{class:re(["sidebar-logo-container",{collapses:n.collapse}])},[c(Ft,{name:"sidebarLogoFade"},{default:C(()=>{var p,h,r,d;return[n.collapse?(u(),q(s,{key:"collapse",title:e(t),class:"sidebar-logo-link",to:(h=(p=e(gt)())==null?void 0:p.path)!=null?h:"/"},{default:C(()=>[v("img",{src:e(o)(),alt:"logo"},null,8,Xl),v("span",Jl,U(e(t)),1)]),_:1},8,["title","to"])):(u(),q(s,{key:"expand",title:e(t),class:"sidebar-logo-link",to:(d=(r=e(gt)())==null?void 0:r.path)!=null?d:"/"},{default:C(()=>[v("img",{src:e(o)(),alt:"logo"},null,8,Ql),v("span",er,U(e(t)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}}),nr=_e(tr,[["__scopeId","data-v-3c9cd1d3"]]);var ht={exports:{}},kn={},or=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"},Rt={exports:{}};typeof Object.create=="function"?Rt.exports=function(t,o){t.super_=o,t.prototype=Object.create(o.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:Rt.exports=function(t,o){t.super_=o;var a=function(){};a.prototype=o.prototype,t.prototype=new a,t.prototype.constructor=t};var ar=Rt.exports;(function(n){var t={},o=/%[sdj%]/g;n.format=function(i){if(!D(i)){for(var g=[],T=0;T=pe)return w;switch(w){case"%s":return String(ee[T++]);case"%d":return Number(ee[T++]);case"%j":try{return JSON.stringify(ee[T++])}catch(I){return"[Circular]"}default:return w}}),te=ee[T];T=3&&(T.depth=arguments[2]),arguments.length>=4&&(T.colors=arguments[3]),A(g)?T.showHidden=g:g&&n._extend(T,g),F(T.showHidden)&&(T.showHidden=!1),F(T.depth)&&(T.depth=2),F(T.colors)&&(T.colors=!1),F(T.customInspect)&&(T.customInspect=!0),T.colors&&(T.stylize=p),d(T,i,T.depth)}n.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function p(i,g){var T=s.styles[g];return T?"\x1B["+s.colors[T][0]+"m"+i+"\x1B["+s.colors[T][1]+"m":i}function h(i,g){return i}function r(i){var g={};return i.forEach(function(T,ee){g[T]=!0}),g}function d(i,g,T){if(i.customInspect&&g&&ue(g.inspect)&&g.inspect!==n.inspect&&!(g.constructor&&g.constructor.prototype===g)){var ee=g.inspect(T,i);return D(ee)||(ee=d(i,ee,T)),ee}var pe=m(i,g);if(pe)return pe;var ne=Object.keys(g),te=r(ne);if(i.showHidden&&(ne=Object.getOwnPropertyNames(g)),ie(g)&&(ne.indexOf("message")>=0||ne.indexOf("description")>=0))return f(g);if(ne.length===0){if(ue(g)){var w=g.name?": "+g.name:"";return i.stylize("[Function"+w+"]","special")}if(V(g))return i.stylize(RegExp.prototype.toString.call(g),"regexp");if(W(g))return i.stylize(Date.prototype.toString.call(g),"date");if(ie(g))return f(g)}var I="",E=!1,ce=["{","}"];if(M(g)&&(E=!0,ce=["[","]"]),ue(g)){var L=g.name?": "+g.name:"";I=" [Function"+L+"]"}if(V(g)&&(I=" "+RegExp.prototype.toString.call(g)),W(g)&&(I=" "+Date.prototype.toUTCString.call(g)),ie(g)&&(I=" "+f(g)),ne.length===0&&(!E||g.length==0))return ce[0]+I+ce[1];if(T<0)return V(g)?i.stylize(RegExp.prototype.toString.call(g),"regexp"):i.stylize("[Object]","special");i.seen.push(g);var $;return E?$=y(i,g,T,te,ne):$=ne.map(function(ge){return b(i,g,T,te,ge,E)}),i.seen.pop(),x($,I,ce)}function m(i,g){if(F(g))return i.stylize("undefined","undefined");if(D(g)){var T="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return i.stylize(T,"string")}if(R(g))return i.stylize(""+g,"number");if(A(g))return i.stylize(""+g,"boolean");if(_(g))return i.stylize("null","null")}function f(i){return"["+Error.prototype.toString.call(i)+"]"}function y(i,g,T,ee,pe){for(var ne=[],te=0,w=g.length;te-1&&(ne?w=w.split(` `).map(function(E){return" "+E}).join(` `).substr(2):w=` diff --git a/static/js/index-DuJ_eT0M.js b/static/js/index-C9KalBp9.js similarity index 99% rename from static/js/index-DuJ_eT0M.js rename to static/js/index-C9KalBp9.js index b204cf8c7c..0d516f0603 100644 --- a/static/js/index-DuJ_eT0M.js +++ b/static/js/index-C9KalBp9.js @@ -1,4 +1,4 @@ -import{f as M,k as L,g as b,d as Q,a as R,m as Z,z as tt,b as V,w as A,$ as F,e as U,A as $,h as z,i as B,B as k,t as X,a0 as q,u as I}from"./index-AFhnwzwZ.js";function C(p,t,e,i){return new(e||(e=Promise))(function(s,n){function r(a){try{c(i.next(a))}catch(l){n(l)}}function o(a){try{c(i.throw(a))}catch(l){n(l)}}function c(a){var l;a.done?s(a.value):(l=a.value,l instanceof e?l:new e(function(d){d(l)})).then(r,o)}c((i=i.apply(p,t||[])).next())})}class N{constructor(){this.listeners={}}on(t,e,i){if(this.listeners[t]||(this.listeners[t]=new Set),this.listeners[t].add(e),i==null?void 0:i.once){const s=()=>{this.un(t,s),this.un(t,e)};return this.on(t,s),s}return()=>this.un(t,e)}un(t,e){var i;(i=this.listeners[t])===null||i===void 0||i.delete(e)}once(t,e){return this.on(t,e,{once:!0})}unAll(){this.listeners={}}emit(t,...e){this.listeners[t]&&this.listeners[t].forEach(i=>i(...e))}}const G={decode:function(p,t){return C(this,void 0,void 0,function*(){const e=new AudioContext({sampleRate:t});return e.decodeAudioData(p).finally(()=>e.close())})},createBuffer:function(p,t){return typeof p[0]=="number"&&(p=[p]),function(e){const i=e[0];if(i.some(s=>s>1||s<-1)){const s=i.length;let n=0;for(let r=0;rn&&(n=o)}for(const r of e)for(let o=0;op==null?void 0:p[e],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function K(p,t){const e=t.xmlns?document.createElementNS(t.xmlns,p):document.createElement(p);for(const[i,s]of Object.entries(t))if(i==="children")for(const[n,r]of Object.entries(t))typeof r=="string"?e.appendChild(document.createTextNode(r)):e.appendChild(K(n,r));else i==="style"?Object.assign(e.style,s):i==="textContent"?e.textContent=s:e.setAttribute(i,s.toString());return e}function Y(p,t,e){const i=K(p,t||{});return e==null||e.appendChild(i),i}var et=Object.freeze({__proto__:null,createElement:Y,default:Y});const it={fetchBlob:function(p,t,e){return C(this,void 0,void 0,function*(){const i=yield fetch(p,e);if(i.status>=400)throw new Error(`Failed to fetch ${p}: ${i.status} (${i.statusText})`);return function(s,n){C(this,void 0,void 0,function*(){if(!s.body||!s.headers)return;const r=s.body.getReader(),o=Number(s.headers.get("Content-Length"))||0;let c=0;const a=d=>C(this,void 0,void 0,function*(){c+=(d==null?void 0:d.length)||0;const h=Math.round(c/o*100);n(h)}),l=()=>C(this,void 0,void 0,function*(){let d;try{d=yield r.read()}catch(h){return}d.done||(a(d.value),yield l())});l()})}(i.clone(),t),i.blob()})}};class st extends N{constructor(t){super(),this.isExternalMedia=!1,t.media?(this.media=t.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),t.mediaControls&&(this.media.controls=!0),t.autoplay&&(this.media.autoplay=!0),t.playbackRate!=null&&this.onMediaEvent("canplay",()=>{t.playbackRate!=null&&(this.media.playbackRate=t.playbackRate)},{once:!0})}onMediaEvent(t,e,i){return this.media.addEventListener(t,e,i),()=>this.media.removeEventListener(t,e,i)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const t=this.getSrc();t.startsWith("blob:")&&URL.revokeObjectURL(t)}canPlayType(t){return this.media.canPlayType(t)!==""}setSrc(t,e){const i=this.getSrc();if(t&&i===t)return;this.revokeSrc();const s=e instanceof Blob&&(this.canPlayType(e.type)||!t)?URL.createObjectURL(e):t;try{this.media.src=s}catch(n){this.media.src=t}}destroy(){this.media.pause(),this.isExternalMedia||(this.media.remove(),this.revokeSrc(),this.media.src="",this.media.load())}setMediaElement(t){this.media=t}play(){return C(this,void 0,void 0,function*(){return this.media.play()})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(t){this.media.currentTime=t}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(t){this.media.volume=t}getMuted(){return this.media.muted}setMuted(t){this.media.muted=t}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(t,e){e!=null&&(this.media.preservesPitch=e),this.media.playbackRate=t}getMediaElement(){return this.media}setSinkId(t){return this.media.setSinkId(t)}}class O extends N{constructor(t,e){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.subscriptions=[],this.options=t;const i=this.parentFromOptionsContainer(t.container);this.parent=i;const[s,n]=this.initHtml();i.appendChild(s),this.container=s,this.scrollContainer=n.querySelector(".scroll"),this.wrapper=n.querySelector(".wrapper"),this.canvasWrapper=n.querySelector(".canvases"),this.progressWrapper=n.querySelector(".progress"),this.cursor=n.querySelector(".cursor"),e&&n.appendChild(e),this.initEvents()}parentFromOptionsContainer(t){let e;if(typeof t=="string"?e=document.querySelector(t):t instanceof HTMLElement&&(e=t),!e)throw new Error("Container not found");return e}initEvents(){const t=e=>{const i=this.wrapper.getBoundingClientRect(),s=e.clientX-i.left,n=e.clientY-i.top;return[s/i.width,n/i.height]};if(this.wrapper.addEventListener("click",e=>{const[i,s]=t(e);this.emit("click",i,s)}),this.wrapper.addEventListener("dblclick",e=>{const[i,s]=t(e);this.emit("dblclick",i,s)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:e,scrollWidth:i,clientWidth:s}=this.scrollContainer,n=e/i,r=(e+s)/i;this.emit("scroll",n,r,e,e+s)}),typeof ResizeObserver=="function"){const e=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{e().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const t=this.parent.clientWidth;t===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=t,this.reRender())}initDrag(){this.subscriptions.push(function(t,e,i,s,n=3,r=0,o=100){if(!t)return()=>{};const c=matchMedia("(pointer: coarse)").matches;let a=()=>{};const l=d=>{if(d.button!==r)return;d.preventDefault(),d.stopPropagation();let h=d.clientX,u=d.clientY,m=!1;const x=Date.now(),f=g=>{if(g.preventDefault(),g.stopPropagation(),c&&Date.now()-xn||Math.abs(P)>n){const D=t.getBoundingClientRect(),{left:j,top:H}=D;m||(i==null||i(h-j,u-H),m=!0),e(T,P,E-j,_-H),h=E,u=_}},v=g=>{if(m){const E=g.clientX,_=g.clientY,T=t.getBoundingClientRect(),{left:P,top:D}=T;s==null||s(E-P,_-D)}a()},w=g=>{g.relatedTarget&&g.relatedTarget!==document.documentElement||v(g)},y=g=>{m&&(g.stopPropagation(),g.preventDefault())},S=g=>{m&&g.preventDefault()};document.addEventListener("pointermove",f),document.addEventListener("pointerup",v),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("click",y,{capture:!0}),a=()=>{document.removeEventListener("pointermove",f),document.removeEventListener("pointerup",v),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",S),setTimeout(()=>{document.removeEventListener("click",y,{capture:!0})},10)}};return t.addEventListener("pointerdown",l),()=>{a(),t.removeEventListener("pointerdown",l)}}(this.wrapper,(t,e,i)=>{this.emit("drag",Math.max(0,Math.min(1,i/this.wrapper.getBoundingClientRect().width)))},t=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,t/this.wrapper.getBoundingClientRect().width)))},t=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,t/this.wrapper.getBoundingClientRect().width)))}))}getHeight(t,e){var i;const s=((i=this.audioData)===null||i===void 0?void 0:i.numberOfChannels)||1;if(t==null)return 128;if(!isNaN(Number(t)))return Number(t);if(t==="auto"){const n=this.parent.clientHeight||128;return e!=null&&e.every(r=>!r.overlay)?n/s:n}return 128}initHtml(){const t=document.createElement("div"),e=t.attachShadow({mode:"open"}),i=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return e.innerHTML=` +import{f as M,k as L,g as b,d as Q,a as R,m as Z,z as tt,b as V,w as A,$ as F,e as U,A as $,h as z,i as B,B as k,t as X,a0 as q,u as I}from"./index-DqH6biyS.js";function C(p,t,e,i){return new(e||(e=Promise))(function(s,n){function r(a){try{c(i.next(a))}catch(l){n(l)}}function o(a){try{c(i.throw(a))}catch(l){n(l)}}function c(a){var l;a.done?s(a.value):(l=a.value,l instanceof e?l:new e(function(d){d(l)})).then(r,o)}c((i=i.apply(p,t||[])).next())})}class N{constructor(){this.listeners={}}on(t,e,i){if(this.listeners[t]||(this.listeners[t]=new Set),this.listeners[t].add(e),i==null?void 0:i.once){const s=()=>{this.un(t,s),this.un(t,e)};return this.on(t,s),s}return()=>this.un(t,e)}un(t,e){var i;(i=this.listeners[t])===null||i===void 0||i.delete(e)}once(t,e){return this.on(t,e,{once:!0})}unAll(){this.listeners={}}emit(t,...e){this.listeners[t]&&this.listeners[t].forEach(i=>i(...e))}}const G={decode:function(p,t){return C(this,void 0,void 0,function*(){const e=new AudioContext({sampleRate:t});return e.decodeAudioData(p).finally(()=>e.close())})},createBuffer:function(p,t){return typeof p[0]=="number"&&(p=[p]),function(e){const i=e[0];if(i.some(s=>s>1||s<-1)){const s=i.length;let n=0;for(let r=0;rn&&(n=o)}for(const r of e)for(let o=0;op==null?void 0:p[e],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function K(p,t){const e=t.xmlns?document.createElementNS(t.xmlns,p):document.createElement(p);for(const[i,s]of Object.entries(t))if(i==="children")for(const[n,r]of Object.entries(t))typeof r=="string"?e.appendChild(document.createTextNode(r)):e.appendChild(K(n,r));else i==="style"?Object.assign(e.style,s):i==="textContent"?e.textContent=s:e.setAttribute(i,s.toString());return e}function Y(p,t,e){const i=K(p,t||{});return e==null||e.appendChild(i),i}var et=Object.freeze({__proto__:null,createElement:Y,default:Y});const it={fetchBlob:function(p,t,e){return C(this,void 0,void 0,function*(){const i=yield fetch(p,e);if(i.status>=400)throw new Error(`Failed to fetch ${p}: ${i.status} (${i.statusText})`);return function(s,n){C(this,void 0,void 0,function*(){if(!s.body||!s.headers)return;const r=s.body.getReader(),o=Number(s.headers.get("Content-Length"))||0;let c=0;const a=d=>C(this,void 0,void 0,function*(){c+=(d==null?void 0:d.length)||0;const h=Math.round(c/o*100);n(h)}),l=()=>C(this,void 0,void 0,function*(){let d;try{d=yield r.read()}catch(h){return}d.done||(a(d.value),yield l())});l()})}(i.clone(),t),i.blob()})}};class st extends N{constructor(t){super(),this.isExternalMedia=!1,t.media?(this.media=t.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),t.mediaControls&&(this.media.controls=!0),t.autoplay&&(this.media.autoplay=!0),t.playbackRate!=null&&this.onMediaEvent("canplay",()=>{t.playbackRate!=null&&(this.media.playbackRate=t.playbackRate)},{once:!0})}onMediaEvent(t,e,i){return this.media.addEventListener(t,e,i),()=>this.media.removeEventListener(t,e,i)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const t=this.getSrc();t.startsWith("blob:")&&URL.revokeObjectURL(t)}canPlayType(t){return this.media.canPlayType(t)!==""}setSrc(t,e){const i=this.getSrc();if(t&&i===t)return;this.revokeSrc();const s=e instanceof Blob&&(this.canPlayType(e.type)||!t)?URL.createObjectURL(e):t;try{this.media.src=s}catch(n){this.media.src=t}}destroy(){this.media.pause(),this.isExternalMedia||(this.media.remove(),this.revokeSrc(),this.media.src="",this.media.load())}setMediaElement(t){this.media=t}play(){return C(this,void 0,void 0,function*(){return this.media.play()})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(t){this.media.currentTime=t}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(t){this.media.volume=t}getMuted(){return this.media.muted}setMuted(t){this.media.muted=t}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(t,e){e!=null&&(this.media.preservesPitch=e),this.media.playbackRate=t}getMediaElement(){return this.media}setSinkId(t){return this.media.setSinkId(t)}}class O extends N{constructor(t,e){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.subscriptions=[],this.options=t;const i=this.parentFromOptionsContainer(t.container);this.parent=i;const[s,n]=this.initHtml();i.appendChild(s),this.container=s,this.scrollContainer=n.querySelector(".scroll"),this.wrapper=n.querySelector(".wrapper"),this.canvasWrapper=n.querySelector(".canvases"),this.progressWrapper=n.querySelector(".progress"),this.cursor=n.querySelector(".cursor"),e&&n.appendChild(e),this.initEvents()}parentFromOptionsContainer(t){let e;if(typeof t=="string"?e=document.querySelector(t):t instanceof HTMLElement&&(e=t),!e)throw new Error("Container not found");return e}initEvents(){const t=e=>{const i=this.wrapper.getBoundingClientRect(),s=e.clientX-i.left,n=e.clientY-i.top;return[s/i.width,n/i.height]};if(this.wrapper.addEventListener("click",e=>{const[i,s]=t(e);this.emit("click",i,s)}),this.wrapper.addEventListener("dblclick",e=>{const[i,s]=t(e);this.emit("dblclick",i,s)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:e,scrollWidth:i,clientWidth:s}=this.scrollContainer,n=e/i,r=(e+s)/i;this.emit("scroll",n,r,e,e+s)}),typeof ResizeObserver=="function"){const e=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{e().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const t=this.parent.clientWidth;t===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=t,this.reRender())}initDrag(){this.subscriptions.push(function(t,e,i,s,n=3,r=0,o=100){if(!t)return()=>{};const c=matchMedia("(pointer: coarse)").matches;let a=()=>{};const l=d=>{if(d.button!==r)return;d.preventDefault(),d.stopPropagation();let h=d.clientX,u=d.clientY,m=!1;const x=Date.now(),f=g=>{if(g.preventDefault(),g.stopPropagation(),c&&Date.now()-xn||Math.abs(P)>n){const D=t.getBoundingClientRect(),{left:j,top:H}=D;m||(i==null||i(h-j,u-H),m=!0),e(T,P,E-j,_-H),h=E,u=_}},v=g=>{if(m){const E=g.clientX,_=g.clientY,T=t.getBoundingClientRect(),{left:P,top:D}=T;s==null||s(E-P,_-D)}a()},w=g=>{g.relatedTarget&&g.relatedTarget!==document.documentElement||v(g)},y=g=>{m&&(g.stopPropagation(),g.preventDefault())},S=g=>{m&&g.preventDefault()};document.addEventListener("pointermove",f),document.addEventListener("pointerup",v),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("click",y,{capture:!0}),a=()=>{document.removeEventListener("pointermove",f),document.removeEventListener("pointerup",v),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",S),setTimeout(()=>{document.removeEventListener("click",y,{capture:!0})},10)}};return t.addEventListener("pointerdown",l),()=>{a(),t.removeEventListener("pointerdown",l)}}(this.wrapper,(t,e,i)=>{this.emit("drag",Math.max(0,Math.min(1,i/this.wrapper.getBoundingClientRect().width)))},t=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,t/this.wrapper.getBoundingClientRect().width)))},t=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,t/this.wrapper.getBoundingClientRect().width)))}))}getHeight(t,e){var i;const s=((i=this.audioData)===null||i===void 0?void 0:i.numberOfChannels)||1;if(t==null)return 128;if(!isNaN(Number(t)))return Number(t);if(t==="auto"){const n=this.parent.clientHeight||128;return e!=null&&e.every(r=>!r.overlay)?n/s:n}return 128}initHtml(){const t=document.createElement("div"),e=t.attachShadow({mode:"open"}),i=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return e.innerHTML=` :host { user-select: none; diff --git a/static/js/index-u0vKWnyJ.js b/static/js/index-CAi4pX1c.js similarity index 95% rename from static/js/index-u0vKWnyJ.js rename to static/js/index-CAi4pX1c.js index 08d00e7809..6937ede9e6 100644 --- a/static/js/index-u0vKWnyJ.js +++ b/static/js/index-CAi4pX1c.js @@ -1 +1 @@ -var w=Object.defineProperty;var R=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var k=(a,s,t)=>s in a?w(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,z=(a,s)=>{for(var t in s||(s={}))A.call(s,t)&&k(a,t,s[t]);if(R)for(var t of R(s))C.call(s,t)&&k(a,t,s[t]);return a};import{u as L}from"./hooks-CaC3u4N2.js";import{d as X,a as r,at as W,aW as V,P as q,n as I,i as n,aO as N,y as i,B as O,A as P,ab as o,L as D,Z as T,V as Z}from"./index-AFhnwzwZ.js";const _={options:{type:Array,default:()=>[]},modelValue:{type:void 0,require:!1,default:"0"},block:{type:Boolean,default:!1},size:{type:String},disabled:{type:Boolean,default:!1},resize:{type:Boolean,default:!1}},j=X({name:"ReSegmented",props:_,emits:["change","update:modelValue"],setup(a,{emit:s}){const t=r(0),v=r(0),{isDark:b}=W(),g=r(!1),c=r(-1),m=r(""),f=T(),d=V(a.modelValue)?q(a,"modelValue"):r(0);function M({option:e,index:l},u){a.disabled||e.disabled||(u.preventDefault(),V(a.modelValue)?s("update:modelValue",l):d.value=l,m.value="",s("change",{index:l,option:e}))}function B({option:e,index:l},u){a.disabled||(u.preventDefault(),c.value=l,e.disabled||d.value===l?m.value="":m.value=b.value?"#1f1f1f":"rgba(0, 0, 0, 0.06)")}function S(e,l){a.disabled||(l.preventDefault(),c.value=-1)}function h(e=d.value){i(()=>{var u;const l=(u=f==null?void 0:f.proxy)==null?void 0:u.$refs[`labelRef${e}`];l&&(t.value=l.clientWidth,v.value=l.offsetLeft,g.value=!0)})}function y(){N(".pure-segmented",()=>{i(()=>{h(d.value)})})}(a.block||a.resize)&&y(),I(()=>d.value,e=>{i(()=>{h(e)})},{immediate:!0}),I(()=>a.size,y,{immediate:!0});const $=()=>a.options.map((e,l)=>n("label",{ref:`labelRef${l}`,class:["pure-segmented-item",(a.disabled||(e==null?void 0:e.disabled))&&"pure-segmented-item-disabled"],style:{background:c.value===l?m.value:"",color:a.disabled?null:!e.disabled&&(d.value===l||c.value===l)?b.value?"rgba(255, 255, 255, 0.85)":"rgba(0,0,0,.88)":""},onMouseenter:u=>B({option:e,index:l},u),onMouseleave:u=>S({option:e,index:l},u),onClick:u=>M({option:e,index:l},u)},[n("input",{type:"radio",name:"segmented"},null),O(n("div",{class:"pure-segmented-item-label"},[e.icon&&!o(e.label)?n("span",{class:"pure-segmented-item-icon",style:{marginRight:e.label?"6px":0}},[D(L(e.icon,z({},e==null?void 0:e.iconAttrs)))]):null,e.label?o(e.label)?D(e.label):n("span",null,[e.label]):null]),[[P("tippy"),{content:e==null?void 0:e.tip,zIndex:41e3}]])]));return()=>n("div",{class:{"pure-segmented":!0,"pure-segmented-block":a.block,"pure-segmented--large":a.size==="large","pure-segmented--small":a.size==="small"}},[n("div",{class:"pure-segmented-group"},[n("div",{class:"pure-segmented-item-selected",style:{width:`${t.value}px`,transform:`translateX(${v.value}px)`,display:g.value?"block":"none"}},null),$()])])}}),H=Z(j);export{H as R}; +var w=Object.defineProperty;var R=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var k=(a,s,t)=>s in a?w(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,z=(a,s)=>{for(var t in s||(s={}))A.call(s,t)&&k(a,t,s[t]);if(R)for(var t of R(s))C.call(s,t)&&k(a,t,s[t]);return a};import{u as L}from"./hooks-BoDRUKFd.js";import{d as X,a as r,at as W,aW as V,P as q,n as I,i as n,aO as N,y as i,B as O,A as P,ab as o,L as D,Z as T,V as Z}from"./index-DqH6biyS.js";const _={options:{type:Array,default:()=>[]},modelValue:{type:void 0,require:!1,default:"0"},block:{type:Boolean,default:!1},size:{type:String},disabled:{type:Boolean,default:!1},resize:{type:Boolean,default:!1}},j=X({name:"ReSegmented",props:_,emits:["change","update:modelValue"],setup(a,{emit:s}){const t=r(0),v=r(0),{isDark:b}=W(),g=r(!1),c=r(-1),m=r(""),f=T(),d=V(a.modelValue)?q(a,"modelValue"):r(0);function M({option:e,index:l},u){a.disabled||e.disabled||(u.preventDefault(),V(a.modelValue)?s("update:modelValue",l):d.value=l,m.value="",s("change",{index:l,option:e}))}function B({option:e,index:l},u){a.disabled||(u.preventDefault(),c.value=l,e.disabled||d.value===l?m.value="":m.value=b.value?"#1f1f1f":"rgba(0, 0, 0, 0.06)")}function S(e,l){a.disabled||(l.preventDefault(),c.value=-1)}function h(e=d.value){i(()=>{var u;const l=(u=f==null?void 0:f.proxy)==null?void 0:u.$refs[`labelRef${e}`];l&&(t.value=l.clientWidth,v.value=l.offsetLeft,g.value=!0)})}function y(){N(".pure-segmented",()=>{i(()=>{h(d.value)})})}(a.block||a.resize)&&y(),I(()=>d.value,e=>{i(()=>{h(e)})},{immediate:!0}),I(()=>a.size,y,{immediate:!0});const $=()=>a.options.map((e,l)=>n("label",{ref:`labelRef${l}`,class:["pure-segmented-item",(a.disabled||(e==null?void 0:e.disabled))&&"pure-segmented-item-disabled"],style:{background:c.value===l?m.value:"",color:a.disabled?null:!e.disabled&&(d.value===l||c.value===l)?b.value?"rgba(255, 255, 255, 0.85)":"rgba(0,0,0,.88)":""},onMouseenter:u=>B({option:e,index:l},u),onMouseleave:u=>S({option:e,index:l},u),onClick:u=>M({option:e,index:l},u)},[n("input",{type:"radio",name:"segmented"},null),O(n("div",{class:"pure-segmented-item-label"},[e.icon&&!o(e.label)?n("span",{class:"pure-segmented-item-icon",style:{marginRight:e.label?"6px":0}},[D(L(e.icon,z({},e==null?void 0:e.iconAttrs)))]):null,e.label?o(e.label)?D(e.label):n("span",null,[e.label]):null]),[[P("tippy"),{content:e==null?void 0:e.tip,zIndex:41e3}]])]));return()=>n("div",{class:{"pure-segmented":!0,"pure-segmented-block":a.block,"pure-segmented--large":a.size==="large","pure-segmented--small":a.size==="small"}},[n("div",{class:"pure-segmented-group"},[n("div",{class:"pure-segmented-item-selected",style:{width:`${t.value}px`,transform:`translateX(${v.value}px)`,display:g.value?"block":"none"}},null),$()])])}}),H=Z(j);export{H as R}; diff --git a/static/js/index-CCjlwUfI.js b/static/js/index-CCjlwUfI.js deleted file mode 100644 index e9560453b7..0000000000 --- a/static/js/index-CCjlwUfI.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-43Fb-9Dj.js";import"./index-BSGz-TY2.js";import"./index-AFhnwzwZ.js";import"./hooks-DZOKHTKM.js";export{o as default}; diff --git a/static/js/index-CZ73tXTB.js b/static/js/index-CD3UP9H1.js similarity index 93% rename from static/js/index-CZ73tXTB.js rename to static/js/index-CD3UP9H1.js index 6b811eeb2d..a8f034a58b 100644 --- a/static/js/index-CZ73tXTB.js +++ b/static/js/index-CD3UP9H1.js @@ -1,4 +1,4 @@ -var F=Object.defineProperty,O=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var L=(n,t,e)=>t in n?F(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,_=(n,t)=>{for(var e in t||(t={}))J.call(t,e)&&L(n,e,t[e]);if(x)for(var e of x(t))R.call(t,e)&&L(n,e,t[e]);return n},C=(n,t)=>O(n,q(t));var b=(n,t,e)=>new Promise((v,d)=>{var y=l=>{try{c(e.next(l))}catch(m){d(m)}},u=l=>{try{c(e.throw(l))}catch(m){d(m)}},c=l=>l.done?v(l.value):Promise.resolve(l.value).then(y,u);c((e=e.apply(n,t)).next())});import{aB as G,d as H,a as p,m as K,k as w,g as Q,i,w as g,u as z,B as h,a0 as k,F as S,j as W,e as r,A as X,f,h as Y,l as Z,b as ee,fv as te,J as ae,y as ne}from"./index-AFhnwzwZ.js";import le from"./ListCard-C_5XlKYR.js";import{_ as oe}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js";import{u as se}from"./hooks-CaC3u4N2.js";import{d as ie}from"./add-circle-line-DOJqVT3s.js";import"./more-2-fill-iTOisMwj.js";const re=n=>G.request("post","/get-card-list",{data:n}),ue={class:"w-full flex justify-between mb-4"},ce=` +var F=Object.defineProperty,O=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var L=(n,t,e)=>t in n?F(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,_=(n,t)=>{for(var e in t||(t={}))J.call(t,e)&&L(n,e,t[e]);if(x)for(var e of x(t))R.call(t,e)&&L(n,e,t[e]);return n},C=(n,t)=>O(n,q(t));var b=(n,t,e)=>new Promise((v,d)=>{var y=l=>{try{c(e.next(l))}catch(m){d(m)}},u=l=>{try{c(e.throw(l))}catch(m){d(m)}},c=l=>l.done?v(l.value):Promise.resolve(l.value).then(y,u);c((e=e.apply(n,t)).next())});import{aB as G,d as H,a as p,m as K,k as w,g as Q,i,w as g,u as z,B as h,a0 as k,F as S,j as W,e as r,A as X,f,h as Y,l as Z,b as ee,fv as te,J as ae,y as ne}from"./index-DqH6biyS.js";import le from"./ListCard-C--d7u8w.js";import{_ as oe}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js";import{u as se}from"./hooks-BoDRUKFd.js";import{d as ie}from"./add-circle-line-DOJqVT3s.js";import"./more-2-fill-iTOisMwj.js";const re=n=>G.request("post","/get-card-list",{data:n}),ue={class:"w-full flex justify-between mb-4"},ce=` =21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-10-19 01:37:47"};const T={class:"card-header flex items-center"},A=["href"],F={class:"card-header flex items-center"},M=["href"],O=D({name:"About",__name:"index",setup(I){const{pkg:z}=N,{dependencies:g,devDependencies:b}=z,p=[],u=[],{columns:C}=q(),E=["@pureadmin/descriptions","@pureadmin/table","@pureadmin/utils","@vueuse/core","axios","dayjs","echarts","vue","element-plus","pinia","vue-i18n","vue-router","@iconify/vue","@vitejs/plugin-vue","@vitejs/plugin-vue-jsx","eslint","prettier","sass","stylelint","tailwindcss","typescript","vite","vue-tsc"],r=S(()=>a=>E.find(n=>n===a)&&"main-label");return Object.keys(g).forEach(a=>{p.push({field:g[a],label:a})}),Object.keys(b).forEach(a=>{u.push({field:b[a],label:a})}),(a,n)=>{const o=i("el-card"),P=i("PureDescriptions"),d=i("el-scrollbar"),_=i("el-tag"),y=i("el-descriptions-item"),h=i("el-descriptions");return f(),v("div",null,[s(o,{class:"mb-4 box-card",shadow:"never"},{default:e(()=>n[0]||(n[0]=[l("span",null," vue-pure-admin 是一款开源免费且开箱即用的中后台管理系统模版。完全采用 ECMAScript 模块(ESM)规范来编写和组织代码,使用了最新的 Vue3、Vite、Element-Plus、TypeScript、Pinia、Tailwindcss 等主流技术开发。 ",-1)])),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>n[1]||(n[1]=[l("div",{class:"card-header"},[l("span",{class:"font-medium"},"平台信息")],-1)])),default:e(()=>[s(d,null,{default:e(()=>[s(P,{border:"",columns:V(C),column:4},null,8,["columns"])]),_:1})]),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>[l("div",T,[n[2]||(n[2]=l("span",{class:"font-medium"},"生产环境依赖",-1)),s(_,{type:"primary",effect:"dark",size:"small",round:"",class:"ml-1"},{default:e(()=>[w(c(p.length),1)]),_:1})])]),default:e(()=>[s(d,null,{default:e(()=>[s(h,{border:"",size:"small",column:6},{default:e(()=>[(f(),v(x,null,j(p,(t,m)=>s(y,{key:m,label:t.label,"label-class-name":r.value(t.label),"class-name":"pure-version","label-align":"right"},{default:e(()=>[l("a",{href:"https://www.npmjs.com/package/"+t.label,target:"_blank"},[l("span",{class:k(r.value(t.label)),style:{color:"var(--el-color-primary)"}},c(t.field),3)],8,A)]),_:2},1032,["label","label-class-name"])),64))]),_:1})]),_:1})]),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>[l("div",F,[n[3]||(n[3]=l("span",{class:"font-medium"},"开发环境依赖",-1)),s(_,{type:"primary",effect:"dark",size:"small",round:"",class:"ml-1"},{default:e(()=>[w(c(u.length),1)]),_:1})])]),default:e(()=>[s(d,null,{default:e(()=>[s(h,{border:"",size:"small",column:5},{default:e(()=>[(f(),v(x,null,j(u,(t,m)=>s(y,{key:m,label:t.label,"label-class-name":r.value(t.label),"class-name":"pure-version","label-align":"right"},{default:e(()=>[l("a",{href:"https://www.npmjs.com/package/"+t.label,target:"_blank"},[l("span",{class:k(r.value(t.label)),style:{color:"var(--el-color-primary)"}},c(t.field),3)],8,M)]),_:2},1032,["label","label-class-name"])),64))]),_:1})]),_:1})]),_:1})])}}}),H=B(O,[["__scopeId","data-v-3f98eb12"]]);export{H as default}; +import{useColumns as q}from"./columns-Djzxeu8D.js";import{d as D,p as S,k as v,i as s,w as e,e as i,f,g as l,u as V,h as w,t as c,F as x,l as j,v as k,_ as B}from"./index-DqH6biyS.js";var N={pkg:{name:"vue-pure-admin",version:"5.8.0",engines:{node:"^18.18.0 || ^20.9.0 || >=21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-11-24 05:59:58"};const T={class:"card-header flex items-center"},A=["href"],F={class:"card-header flex items-center"},M=["href"],O=D({name:"About",__name:"index",setup(I){const{pkg:z}=N,{dependencies:g,devDependencies:b}=z,p=[],u=[],{columns:C}=q(),E=["@pureadmin/descriptions","@pureadmin/table","@pureadmin/utils","@vueuse/core","axios","dayjs","echarts","vue","element-plus","pinia","vue-i18n","vue-router","@iconify/vue","@vitejs/plugin-vue","@vitejs/plugin-vue-jsx","eslint","prettier","sass","stylelint","tailwindcss","typescript","vite","vue-tsc"],r=S(()=>a=>E.find(n=>n===a)&&"main-label");return Object.keys(g).forEach(a=>{p.push({field:g[a],label:a})}),Object.keys(b).forEach(a=>{u.push({field:b[a],label:a})}),(a,n)=>{const o=i("el-card"),P=i("PureDescriptions"),d=i("el-scrollbar"),_=i("el-tag"),y=i("el-descriptions-item"),h=i("el-descriptions");return f(),v("div",null,[s(o,{class:"mb-4 box-card",shadow:"never"},{default:e(()=>n[0]||(n[0]=[l("span",null," vue-pure-admin 是一款开源免费且开箱即用的中后台管理系统模版。完全采用 ECMAScript 模块(ESM)规范来编写和组织代码,使用了最新的 Vue3、Vite、Element-Plus、TypeScript、Pinia、Tailwindcss 等主流技术开发。 ",-1)])),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>n[1]||(n[1]=[l("div",{class:"card-header"},[l("span",{class:"font-medium"},"平台信息")],-1)])),default:e(()=>[s(d,null,{default:e(()=>[s(P,{border:"",columns:V(C),column:4},null,8,["columns"])]),_:1})]),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>[l("div",T,[n[2]||(n[2]=l("span",{class:"font-medium"},"生产环境依赖",-1)),s(_,{type:"primary",effect:"dark",size:"small",round:"",class:"ml-1"},{default:e(()=>[w(c(p.length),1)]),_:1})])]),default:e(()=>[s(d,null,{default:e(()=>[s(h,{border:"",size:"small",column:6},{default:e(()=>[(f(),v(x,null,j(p,(t,m)=>s(y,{key:m,label:t.label,"label-class-name":r.value(t.label),"class-name":"pure-version","label-align":"right"},{default:e(()=>[l("a",{href:"https://www.npmjs.com/package/"+t.label,target:"_blank"},[l("span",{class:k(r.value(t.label)),style:{color:"var(--el-color-primary)"}},c(t.field),3)],8,A)]),_:2},1032,["label","label-class-name"])),64))]),_:1})]),_:1})]),_:1}),s(o,{class:"m-4 box-card",shadow:"never"},{header:e(()=>[l("div",F,[n[3]||(n[3]=l("span",{class:"font-medium"},"开发环境依赖",-1)),s(_,{type:"primary",effect:"dark",size:"small",round:"",class:"ml-1"},{default:e(()=>[w(c(u.length),1)]),_:1})])]),default:e(()=>[s(d,null,{default:e(()=>[s(h,{border:"",size:"small",column:5},{default:e(()=>[(f(),v(x,null,j(u,(t,m)=>s(y,{key:m,label:t.label,"label-class-name":r.value(t.label),"class-name":"pure-version","label-align":"right"},{default:e(()=>[l("a",{href:"https://www.npmjs.com/package/"+t.label,target:"_blank"},[l("span",{class:k(r.value(t.label)),style:{color:"var(--el-color-primary)"}},c(t.field),3)],8,M)]),_:2},1032,["label","label-class-name"])),64))]),_:1})]),_:1})]),_:1})])}}}),H=B(O,[["__scopeId","data-v-3f98eb12"]]);export{H as default}; diff --git a/static/js/index-CXQqUFyq.js b/static/js/index-CaY-QzZ2.js similarity index 92% rename from static/js/index-CXQqUFyq.js rename to static/js/index-CaY-QzZ2.js index e767ee6dab..74c355d64d 100644 --- a/static/js/index-CXQqUFyq.js +++ b/static/js/index-CaY-QzZ2.js @@ -1 +1 @@ -var ve=Object.defineProperty,be=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var E=(r,a,n)=>a in r?ve(r,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[a]=n,F=(r,a)=>{for(var n in a||(a={}))xe.call(a,n)&&E(r,n,a[n]);if(M)for(var n of M(a))ye.call(a,n)&&E(r,n,a[n]);return r},H=(r,a)=>be(r,he(a));var L=(r,a,n)=>new Promise((b,g)=>{var h=p=>{try{i(n.next(p))}catch(c){g(c)}},x=p=>{try{i(n.throw(p))}catch(c){g(c)}},i=p=>p.done?b(p.value):Promise.resolve(p.value).then(h,x);i((n=n.apply(r,a)).next())});import{useRole as ke}from"./hook-DuIhbc6O.js";import{d as Ce,P as we}from"./refresh-lSteXGJu.js";import{u as f}from"./hooks-CaC3u4N2.js";import{d as Ve,p as Re,a as v,m as Se,aO as $e,y as Ie,aP as Pe,gn as De,e as d,A as Ue,f as X,k as Q,i as l,w as s,u as e,h as _,g as m,v as w,X as W,B as q,t as G,aH as V,j as Be,_ as ze}from"./index-AFhnwzwZ.js";import{d as Te}from"./delete-Ce0TSdK5.js";import{d as Ne}from"./edit-pen-Ci7W0xNM.js";import{d as Oe,a as je}from"./close-CObHKOmY.js";import{d as Ae}from"./add-circle-line-DOJqVT3s.js";import{d as Me}from"./check-CIQVCvCT.js";import"./form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js";import"./hooks-DZOKHTKM.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const Ee={class:"main"},Fe={key:0,class:"!min-w-[calc(100vw-60vw-268px)] w-full mt-2 px-2 pb-2 bg-bg_color ml-2 overflow-auto"},He={class:"flex justify-between w-full px-3 pt-5 pb-4"},Le={class:"flex"},Xe={class:"font-bold truncate"},Qe={class:"flex flex-wrap"},We=Ve({name:"SystemRole",__name:"index",setup(r){const a=Re(()=>["w-[22px]","h-[22px]","flex","justify-center","items-center","outline-none","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]),n=v(),b=v(),g=v(),h=v(),x=v(),{form:i,isShow:p,curRow:c,loading:D,columns:J,rowStyle:K,dataList:Y,treeData:Z,treeProps:ee,isLinkage:y,pagination:oe,isExpandAll:R,isSelectAll:S,treeSearchValue:$,onSearch:U,resetForm:le,openDialog:B,handleMenu:z,handleSave:te,handleDelete:ne,filterMethod:ae,transformI18n:se,onQueryChanged:re,handleSizeChange:ie,handleCurrentChange:de,handleSelectionChange:pe}=ke(n);return Se(()=>{$e(h,()=>L(this,null,function*(){yield Ie(),Pe(60).then(()=>{x.value=parseFloat(De(g.value.getTableDoms().tableWrapper.style.height,"px"))})}))}),(qe,o)=>{var j;const I=d("el-input"),k=d("el-form-item"),T=d("el-option"),me=d("el-select"),u=d("el-button"),ce=d("el-form"),ue=d("el-popconfirm"),fe=d("pure-table"),N=d("IconifyIconOffline"),P=d("el-checkbox"),_e=d("el-tree-v2"),O=Ue("tippy");return X(),Q("div",Ee,[l(ce,{ref_key:"formRef",ref:b,inline:!0,model:e(i),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:s(()=>[l(k,{label:"角色名称:",prop:"name"},{default:s(()=>[l(I,{modelValue:e(i).name,"onUpdate:modelValue":o[0]||(o[0]=t=>e(i).name=t),placeholder:"请输入角色名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(k,{label:"角色标识:",prop:"code"},{default:s(()=>[l(I,{modelValue:e(i).code,"onUpdate:modelValue":o[1]||(o[1]=t=>e(i).code=t),placeholder:"请输入角色标识",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(k,{label:"状态:",prop:"status"},{default:s(()=>[l(me,{modelValue:e(i).status,"onUpdate:modelValue":o[2]||(o[2]=t=>e(i).status=t),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:s(()=>[l(T,{label:"已启用",value:"1"}),l(T,{label:"已停用",value:"0"})]),_:1},8,["modelValue"])]),_:1}),l(k,null,{default:s(()=>[l(u,{type:"primary",icon:e(f)("ri:search-line"),loading:e(D),onClick:e(U)},{default:s(()=>o[9]||(o[9]=[_(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),l(u,{icon:e(f)(e(Ce)),onClick:o[3]||(o[3]=t=>e(le)(b.value))},{default:s(()=>o[10]||(o[10]=[_(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),m("div",{ref_key:"contentRef",ref:h,class:w(["flex",e(W)()?"flex-wrap":""])},[l(e(we),{class:w([e(p)&&!e(W)()?"!w-[60vw]":"w-full"]),style:{transition:"width 220ms cubic-bezier(0.4, 0, 0.2, 1)"},title:"角色管理(仅演示,操作后不生效)",columns:e(J),onRefresh:e(U)},{buttons:s(()=>[l(u,{type:"primary",icon:e(f)(e(Ae)),onClick:o[4]||(o[4]=t=>e(B)())},{default:s(()=>o[11]||(o[11]=[_(" 新增角色 ")])),_:1},8,["icon"])]),default:s(({size:t,dynamicColumns:ge})=>[l(fe,{ref_key:"tableRef",ref:g,"align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(D),size:t,adaptive:"","row-style":e(K),adaptiveConfig:{offsetBottom:108},data:e(Y),columns:ge,pagination:H(F({},e(oe)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(pe),onPageSizeChange:e(ie),onPageCurrentChange:e(de)},{operation:s(({row:C})=>[l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Ne)),onClick:A=>e(B)("修改",C)},{default:s(()=>o[12]||(o[12]=[_(" 修改 ")])),_:2},1032,["size","icon","onClick"]),l(ue,{title:`是否确认删除角色名称为${C.name}的这条数据`,onConfirm:A=>e(ne)(C)},{reference:s(()=>[l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Te))},{default:s(()=>o[13]||(o[13]=[_(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"]),l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Oe)),onClick:A=>e(z)(C)},{default:s(()=>o[14]||(o[14]=[_(" 权限 ")])),_:2},1032,["size","icon","onClick"])]),_:2},1032,["loading","size","row-style","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"]),e(p)?(X(),Q("div",Fe,[m("div",He,[m("div",Le,[m("span",{class:w(a.value)},[q(l(N,{class:"dark:text-white",width:"18px",height:"18px",icon:e(je),onClick:e(z)},null,8,["icon","onClick"]),[[O,{content:"关闭"}]])],2),m("span",{class:w([a.value,"ml-2"])},[q(l(N,{class:"dark:text-white",width:"18px",height:"18px",icon:e(Me),onClick:e(te)},null,8,["icon","onClick"]),[[O,{content:"保存菜单权限"}]])],2)]),m("p",Xe," 菜单权限 "+G(`${(j=e(c))!=null&&j.name?`(${e(c).name})`:""}`),1)]),l(I,{modelValue:e($),"onUpdate:modelValue":o[5]||(o[5]=t=>V($)?$.value=t:null),placeholder:"请输入菜单进行搜索",class:"mb-1",clearable:"",onInput:e(re)},null,8,["modelValue","onInput"]),m("div",Qe,[l(P,{modelValue:e(R),"onUpdate:modelValue":o[6]||(o[6]=t=>V(R)?R.value=t:null),label:"展开/折叠"},null,8,["modelValue"]),l(P,{modelValue:e(S),"onUpdate:modelValue":o[7]||(o[7]=t=>V(S)?S.value=t:null),label:"全选/全不选"},null,8,["modelValue"]),l(P,{modelValue:e(y),"onUpdate:modelValue":o[8]||(o[8]=t=>V(y)?y.value=t:null),label:"父子联动"},null,8,["modelValue"])]),l(_e,{ref_key:"treeRef",ref:n,"show-checkbox":"",data:e(Z),props:e(ee),height:x.value,"check-strictly":!e(y),"filter-method":e(ae)},{default:s(({node:t})=>[m("span",null,G(e(se)(t.label)),1)]),_:1},8,["data","props","height","check-strictly","filter-method"])])):Be("",!0)],2)])}}}),co=ze(We,[["__scopeId","data-v-1e71a5d8"]]);export{co as default}; +var ve=Object.defineProperty,be=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var E=(r,a,n)=>a in r?ve(r,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[a]=n,F=(r,a)=>{for(var n in a||(a={}))xe.call(a,n)&&E(r,n,a[n]);if(M)for(var n of M(a))ye.call(a,n)&&E(r,n,a[n]);return r},H=(r,a)=>be(r,he(a));var L=(r,a,n)=>new Promise((b,g)=>{var h=p=>{try{i(n.next(p))}catch(c){g(c)}},x=p=>{try{i(n.throw(p))}catch(c){g(c)}},i=p=>p.done?b(p.value):Promise.resolve(p.value).then(h,x);i((n=n.apply(r,a)).next())});import{useRole as ke}from"./hook-BL8N91Xt.js";import{d as Ce,P as we}from"./refresh-DeEyTuf-.js";import{u as f}from"./hooks-BoDRUKFd.js";import{d as Ve,p as Re,a as v,m as Se,aO as $e,y as Ie,aP as Pe,gn as De,e as d,A as Ue,f as X,k as Q,i as l,w as s,u as e,h as _,g as m,v as w,X as W,B as q,t as G,aH as V,j as Be,_ as ze}from"./index-DqH6biyS.js";import{d as Te}from"./delete-Ce0TSdK5.js";import{d as Ne}from"./edit-pen-Ci7W0xNM.js";import{d as Oe,a as je}from"./close-CObHKOmY.js";import{d as Ae}from"./add-circle-line-DOJqVT3s.js";import{d as Me}from"./check-CIQVCvCT.js";import"./form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js";import"./hooks-CT5JiEcI.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const Ee={class:"main"},Fe={key:0,class:"!min-w-[calc(100vw-60vw-268px)] w-full mt-2 px-2 pb-2 bg-bg_color ml-2 overflow-auto"},He={class:"flex justify-between w-full px-3 pt-5 pb-4"},Le={class:"flex"},Xe={class:"font-bold truncate"},Qe={class:"flex flex-wrap"},We=Ve({name:"SystemRole",__name:"index",setup(r){const a=Re(()=>["w-[22px]","h-[22px]","flex","justify-center","items-center","outline-none","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]),n=v(),b=v(),g=v(),h=v(),x=v(),{form:i,isShow:p,curRow:c,loading:D,columns:J,rowStyle:K,dataList:Y,treeData:Z,treeProps:ee,isLinkage:y,pagination:oe,isExpandAll:R,isSelectAll:S,treeSearchValue:$,onSearch:U,resetForm:le,openDialog:B,handleMenu:z,handleSave:te,handleDelete:ne,filterMethod:ae,transformI18n:se,onQueryChanged:re,handleSizeChange:ie,handleCurrentChange:de,handleSelectionChange:pe}=ke(n);return Se(()=>{$e(h,()=>L(this,null,function*(){yield Ie(),Pe(60).then(()=>{x.value=parseFloat(De(g.value.getTableDoms().tableWrapper.style.height,"px"))})}))}),(qe,o)=>{var j;const I=d("el-input"),k=d("el-form-item"),T=d("el-option"),me=d("el-select"),u=d("el-button"),ce=d("el-form"),ue=d("el-popconfirm"),fe=d("pure-table"),N=d("IconifyIconOffline"),P=d("el-checkbox"),_e=d("el-tree-v2"),O=Ue("tippy");return X(),Q("div",Ee,[l(ce,{ref_key:"formRef",ref:b,inline:!0,model:e(i),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:s(()=>[l(k,{label:"角色名称:",prop:"name"},{default:s(()=>[l(I,{modelValue:e(i).name,"onUpdate:modelValue":o[0]||(o[0]=t=>e(i).name=t),placeholder:"请输入角色名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(k,{label:"角色标识:",prop:"code"},{default:s(()=>[l(I,{modelValue:e(i).code,"onUpdate:modelValue":o[1]||(o[1]=t=>e(i).code=t),placeholder:"请输入角色标识",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),l(k,{label:"状态:",prop:"status"},{default:s(()=>[l(me,{modelValue:e(i).status,"onUpdate:modelValue":o[2]||(o[2]=t=>e(i).status=t),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:s(()=>[l(T,{label:"已启用",value:"1"}),l(T,{label:"已停用",value:"0"})]),_:1},8,["modelValue"])]),_:1}),l(k,null,{default:s(()=>[l(u,{type:"primary",icon:e(f)("ri:search-line"),loading:e(D),onClick:e(U)},{default:s(()=>o[9]||(o[9]=[_(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),l(u,{icon:e(f)(e(Ce)),onClick:o[3]||(o[3]=t=>e(le)(b.value))},{default:s(()=>o[10]||(o[10]=[_(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),m("div",{ref_key:"contentRef",ref:h,class:w(["flex",e(W)()?"flex-wrap":""])},[l(e(we),{class:w([e(p)&&!e(W)()?"!w-[60vw]":"w-full"]),style:{transition:"width 220ms cubic-bezier(0.4, 0, 0.2, 1)"},title:"角色管理(仅演示,操作后不生效)",columns:e(J),onRefresh:e(U)},{buttons:s(()=>[l(u,{type:"primary",icon:e(f)(e(Ae)),onClick:o[4]||(o[4]=t=>e(B)())},{default:s(()=>o[11]||(o[11]=[_(" 新增角色 ")])),_:1},8,["icon"])]),default:s(({size:t,dynamicColumns:ge})=>[l(fe,{ref_key:"tableRef",ref:g,"align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(D),size:t,adaptive:"","row-style":e(K),adaptiveConfig:{offsetBottom:108},data:e(Y),columns:ge,pagination:H(F({},e(oe)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(pe),onPageSizeChange:e(ie),onPageCurrentChange:e(de)},{operation:s(({row:C})=>[l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Ne)),onClick:A=>e(B)("修改",C)},{default:s(()=>o[12]||(o[12]=[_(" 修改 ")])),_:2},1032,["size","icon","onClick"]),l(ue,{title:`是否确认删除角色名称为${C.name}的这条数据`,onConfirm:A=>e(ne)(C)},{reference:s(()=>[l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Te))},{default:s(()=>o[13]||(o[13]=[_(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"]),l(u,{class:"reset-margin",link:"",type:"primary",size:t,icon:e(f)(e(Oe)),onClick:A=>e(z)(C)},{default:s(()=>o[14]||(o[14]=[_(" 权限 ")])),_:2},1032,["size","icon","onClick"])]),_:2},1032,["loading","size","row-style","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"]),e(p)?(X(),Q("div",Fe,[m("div",He,[m("div",Le,[m("span",{class:w(a.value)},[q(l(N,{class:"dark:text-white",width:"18px",height:"18px",icon:e(je),onClick:e(z)},null,8,["icon","onClick"]),[[O,{content:"关闭"}]])],2),m("span",{class:w([a.value,"ml-2"])},[q(l(N,{class:"dark:text-white",width:"18px",height:"18px",icon:e(Me),onClick:e(te)},null,8,["icon","onClick"]),[[O,{content:"保存菜单权限"}]])],2)]),m("p",Xe," 菜单权限 "+G(`${(j=e(c))!=null&&j.name?`(${e(c).name})`:""}`),1)]),l(I,{modelValue:e($),"onUpdate:modelValue":o[5]||(o[5]=t=>V($)?$.value=t:null),placeholder:"请输入菜单进行搜索",class:"mb-1",clearable:"",onInput:e(re)},null,8,["modelValue","onInput"]),m("div",Qe,[l(P,{modelValue:e(R),"onUpdate:modelValue":o[6]||(o[6]=t=>V(R)?R.value=t:null),label:"展开/折叠"},null,8,["modelValue"]),l(P,{modelValue:e(S),"onUpdate:modelValue":o[7]||(o[7]=t=>V(S)?S.value=t:null),label:"全选/全不选"},null,8,["modelValue"]),l(P,{modelValue:e(y),"onUpdate:modelValue":o[8]||(o[8]=t=>V(y)?y.value=t:null),label:"父子联动"},null,8,["modelValue"])]),l(_e,{ref_key:"treeRef",ref:n,"show-checkbox":"",data:e(Z),props:e(ee),height:x.value,"check-strictly":!e(y),"filter-method":e(ae)},{default:s(({node:t})=>[m("span",null,G(e(se)(t.label)),1)]),_:1},8,["data","props","height","check-strictly","filter-method"])])):Be("",!0)],2)])}}}),co=ze(We,[["__scopeId","data-v-1e71a5d8"]]);export{co as default}; diff --git a/static/js/index-F2404lV5.js b/static/js/index-CeIUEiQe.js similarity index 91% rename from static/js/index-F2404lV5.js rename to static/js/index-CeIUEiQe.js index 24888d77a0..48da9d4279 100644 --- a/static/js/index-F2404lV5.js +++ b/static/js/index-CeIUEiQe.js @@ -1 +1 @@ -var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var v=(r,l,a)=>l in r?H(r,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[l]=a,x=(r,l)=>{for(var a in l||(l={}))M.call(l,a)&&v(r,a,l[a]);if(h)for(var a of h(l))O.call(l,a)&&v(r,a,l[a]);return r},k=(r,l)=>J(r,K(l));import{useRole as Q}from"./hook-Bh8LQbUl.js";import{g as W}from"./utils-NlcLu7mC.js";import{d as X,P as Y}from"./refresh-lSteXGJu.js";import{u}from"./hooks-CaC3u4N2.js";import{d as Z}from"./delete-Ce0TSdK5.js";import{d as ee,a as y,e as s,A as oe,f as V,k as w,i as o,w as n,u as e,h as p,B as te,g as S,t as le,j as ne,_ as ae}from"./index-AFhnwzwZ.js";import"./system-ByM4snMa.js";import"./hooks-DZOKHTKM.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const re={class:"main"},ie={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},se={class:"flex-auto"},me={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},de=ee({name:"LoginLog",__name:"index",setup(r){const l=y(),a=y(),{form:m,loading:f,columns:R,dataList:P,pagination:B,selectedNum:_,onSearch:g,clearAll:z,resetForm:N,onbatchDel:T,handleSizeChange:D,onSelectionCancel:L,handleCurrentChange:U,handleSelectionChange:A}=Q(a);return(pe,t)=>{const I=s("el-input"),c=s("el-form-item"),C=s("el-option"),$=s("el-select"),j=s("el-date-picker"),d=s("el-button"),E=s("el-form"),b=s("el-popconfirm"),F=s("pure-table"),q=oe("motion-fade");return V(),w("div",re,[o(E,{ref_key:"formRef",ref:l,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[o(c,{label:"用户名",prop:"username"},{default:n(()=>[o(I,{modelValue:e(m).username,"onUpdate:modelValue":t[0]||(t[0]=i=>e(m).username=i),placeholder:"请输入用户名",clearable:"",class:"!w-[150px]"},null,8,["modelValue"])]),_:1}),o(c,{label:"登录状态",prop:"status"},{default:n(()=>[o($,{modelValue:e(m).status,"onUpdate:modelValue":t[1]||(t[1]=i=>e(m).status=i),placeholder:"请选择",clearable:"",class:"!w-[150px]"},{default:n(()=>[o(C,{label:"成功",value:"1"}),o(C,{label:"失败",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"登录时间",prop:"loginTime"},{default:n(()=>[o(j,{modelValue:e(m).loginTime,"onUpdate:modelValue":t[2]||(t[2]=i=>e(m).loginTime=i),shortcuts:e(W)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),o(c,null,{default:n(()=>[o(d,{type:"primary",icon:e(u)("ri:search-line"),loading:e(f),onClick:e(g)},{default:n(()=>t[4]||(t[4]=[p(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(d,{icon:e(u)(e(X)),onClick:t[3]||(t[3]=i=>e(N)(l.value))},{default:n(()=>t[5]||(t[5]=[p(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(Y),{title:"登录日志(仅演示,操作后不生效)",columns:e(R),onRefresh:e(g)},{buttons:n(()=>[o(b,{title:"确定要删除所有日志数据吗?",onConfirm:e(z)},{reference:n(()=>[o(d,{type:"danger",icon:e(u)(e(Z))},{default:n(()=>t[6]||(t[6]=[p(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:n(({size:i,dynamicColumns:G})=>[e(_)>0?te((V(),w("div",ie,[S("div",se,[S("span",me," 已选 "+le(e(_))+" 项 ",1),o(d,{type:"primary",text:"",onClick:e(L)},{default:n(()=>t[7]||(t[7]=[p(" 取消选择 ")])),_:1},8,["onClick"])]),o(b,{title:"是否确认删除?",onConfirm:e(T)},{reference:n(()=>[o(d,{type:"danger",text:"",class:"mr-1"},{default:n(()=>t[8]||(t[8]=[p(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[q]]):ne("",!0),o(F,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:G,pagination:k(x({},e(B)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(A),onPageSizeChange:e(D),onPageCurrentChange:e(U)},null,8,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),Ve=ae(de,[["__scopeId","data-v-fefe58ad"]]);export{Ve as default}; +var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var v=(r,l,a)=>l in r?H(r,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[l]=a,x=(r,l)=>{for(var a in l||(l={}))M.call(l,a)&&v(r,a,l[a]);if(h)for(var a of h(l))O.call(l,a)&&v(r,a,l[a]);return r},k=(r,l)=>J(r,K(l));import{useRole as Q}from"./hook-CoPdYjap.js";import{g as W}from"./utils-NlcLu7mC.js";import{d as X,P as Y}from"./refresh-DeEyTuf-.js";import{u}from"./hooks-BoDRUKFd.js";import{d as Z}from"./delete-Ce0TSdK5.js";import{d as ee,a as y,e as s,A as oe,f as V,k as w,i as o,w as n,u as e,h as p,B as te,g as S,t as le,j as ne,_ as ae}from"./index-DqH6biyS.js";import"./system-Q00uAIzG.js";import"./hooks-CT5JiEcI.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const re={class:"main"},ie={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},se={class:"flex-auto"},me={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},de=ee({name:"LoginLog",__name:"index",setup(r){const l=y(),a=y(),{form:m,loading:f,columns:R,dataList:P,pagination:B,selectedNum:_,onSearch:g,clearAll:z,resetForm:N,onbatchDel:T,handleSizeChange:D,onSelectionCancel:L,handleCurrentChange:U,handleSelectionChange:A}=Q(a);return(pe,t)=>{const I=s("el-input"),c=s("el-form-item"),C=s("el-option"),$=s("el-select"),j=s("el-date-picker"),d=s("el-button"),E=s("el-form"),b=s("el-popconfirm"),F=s("pure-table"),q=oe("motion-fade");return V(),w("div",re,[o(E,{ref_key:"formRef",ref:l,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[o(c,{label:"用户名",prop:"username"},{default:n(()=>[o(I,{modelValue:e(m).username,"onUpdate:modelValue":t[0]||(t[0]=i=>e(m).username=i),placeholder:"请输入用户名",clearable:"",class:"!w-[150px]"},null,8,["modelValue"])]),_:1}),o(c,{label:"登录状态",prop:"status"},{default:n(()=>[o($,{modelValue:e(m).status,"onUpdate:modelValue":t[1]||(t[1]=i=>e(m).status=i),placeholder:"请选择",clearable:"",class:"!w-[150px]"},{default:n(()=>[o(C,{label:"成功",value:"1"}),o(C,{label:"失败",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"登录时间",prop:"loginTime"},{default:n(()=>[o(j,{modelValue:e(m).loginTime,"onUpdate:modelValue":t[2]||(t[2]=i=>e(m).loginTime=i),shortcuts:e(W)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),o(c,null,{default:n(()=>[o(d,{type:"primary",icon:e(u)("ri:search-line"),loading:e(f),onClick:e(g)},{default:n(()=>t[4]||(t[4]=[p(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(d,{icon:e(u)(e(X)),onClick:t[3]||(t[3]=i=>e(N)(l.value))},{default:n(()=>t[5]||(t[5]=[p(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(Y),{title:"登录日志(仅演示,操作后不生效)",columns:e(R),onRefresh:e(g)},{buttons:n(()=>[o(b,{title:"确定要删除所有日志数据吗?",onConfirm:e(z)},{reference:n(()=>[o(d,{type:"danger",icon:e(u)(e(Z))},{default:n(()=>t[6]||(t[6]=[p(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:n(({size:i,dynamicColumns:G})=>[e(_)>0?te((V(),w("div",ie,[S("div",se,[S("span",me," 已选 "+le(e(_))+" 项 ",1),o(d,{type:"primary",text:"",onClick:e(L)},{default:n(()=>t[7]||(t[7]=[p(" 取消选择 ")])),_:1},8,["onClick"])]),o(b,{title:"是否确认删除?",onConfirm:e(T)},{reference:n(()=>[o(d,{type:"danger",text:"",class:"mr-1"},{default:n(()=>t[8]||(t[8]=[p(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[q]]):ne("",!0),o(F,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:G,pagination:k(x({},e(B)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(A),onPageSizeChange:e(D),onPageCurrentChange:e(U)},null,8,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),Ve=ae(de,[["__scopeId","data-v-fefe58ad"]]);export{Ve as default}; diff --git a/static/js/index-C_Adml9X.js b/static/js/index-Cea6h9xr.js similarity index 75% rename from static/js/index-C_Adml9X.js rename to static/js/index-Cea6h9xr.js index 5ca381a43d..0557e6e7bb 100644 --- a/static/js/index-C_Adml9X.js +++ b/static/js/index-Cea6h9xr.js @@ -1 +1 @@ -import i from"./vertical-DIp-8Fgy.js";import p from"./horizontal-BmHUgCul.js";import{d as c,b as m,w as t,e as o,f as u,g as r,i as s,h as l}from"./index-AFhnwzwZ.js";import"./vue-virtual-scroller.esm-Df78MieR.js";const d={class:"font-medium"},_={class:"w-full flex justify-around flex-wrap"},b=c({name:"VirtualList",__name:"index",setup(f){return(x,e)=>{const a=o("el-link"),n=o("el-card");return u(),m(n,{shadow:"never"},{header:t(()=>[r("div",d,[s(a,{href:"https://github.com/Akryum/vue-virtual-scroller/tree/next/packages/vue-virtual-scroller",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[l(" 虚拟列表 ")])),_:1})]),s(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/virtual-list",target:"_blank"},{default:t(()=>e[1]||(e[1]=[l(" 代码位置 src/views/components/virtual-list ")])),_:1})]),default:t(()=>[r("div",_,[s(i,{class:"h-[500px] w-[500px]"}),s(p,{class:"h-[500px] w-[500px]"})])]),_:1})}}});export{b as default}; +import i from"./vertical-BspLGo6R.js";import p from"./horizontal-D8lO_Mmt.js";import{d as c,b as m,w as t,e as o,f as u,g as r,i as s,h as l}from"./index-DqH6biyS.js";import"./vue-virtual-scroller.esm-BzqO9TbG.js";const d={class:"font-medium"},_={class:"w-full flex justify-around flex-wrap"},b=c({name:"VirtualList",__name:"index",setup(f){return(x,e)=>{const a=o("el-link"),n=o("el-card");return u(),m(n,{shadow:"never"},{header:t(()=>[r("div",d,[s(a,{href:"https://github.com/Akryum/vue-virtual-scroller/tree/next/packages/vue-virtual-scroller",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[l(" 虚拟列表 ")])),_:1})]),s(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/virtual-list",target:"_blank"},{default:t(()=>e[1]||(e[1]=[l(" 代码位置 src/views/components/virtual-list ")])),_:1})]),default:t(()=>[r("div",_,[s(i,{class:"h-[500px] w-[500px]"}),s(p,{class:"h-[500px] w-[500px]"})])]),_:1})}}});export{b as default}; diff --git a/static/js/index-DTfIS9P0.js b/static/js/index-CgcU9_BG.js similarity index 71% rename from static/js/index-DTfIS9P0.js rename to static/js/index-CgcU9_BG.js index 11aec48686..000687cffd 100644 --- a/static/js/index-DTfIS9P0.js +++ b/static/js/index-CgcU9_BG.js @@ -1 +1 @@ -import{d as e,k as n,f as o}from"./index-AFhnwzwZ.js";const l=e({name:"MenuOverflow",__name:"index",setup(t){return(a,r)=>(o(),n("div",null,"目录、菜单文字超出显示 Tooltip 文字提示"))}});export{l as default}; +import{d as e,k as n,f as o}from"./index-DqH6biyS.js";const l=e({name:"MenuOverflow",__name:"index",setup(t){return(a,r)=>(o(),n("div",null,"目录、菜单文字超出显示 Tooltip 文字提示"))}});export{l as default}; diff --git a/static/js/index-hhxSfqIH.js b/static/js/index-CkId8F2B.js similarity index 91% rename from static/js/index-hhxSfqIH.js rename to static/js/index-CkId8F2B.js index 58d04ae244..1774f8bc14 100644 --- a/static/js/index-hhxSfqIH.js +++ b/static/js/index-CkId8F2B.js @@ -1 +1 @@ -var re=Object.defineProperty,ie=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var U=(d,a,r)=>a in d?re(d,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):d[a]=r,B=(d,a)=>{for(var r in a||(a={}))de.call(a,r)&&U(d,r,a[r]);if(z)for(var r of z(a))me.call(a,r)&&U(d,r,a[r]);return d},P=(d,a)=>ie(d,se(a));import pe from"./tree-BLkGgvg_.js";import{useUser as ce}from"./hook-CLM_CVdg.js";import{d as ue,P as fe}from"./refresh-lSteXGJu.js";import{u as p}from"./hooks-CaC3u4N2.js";import{d as _e}from"./upload-line-ClmDKJCy.js";import{d as ge}from"./admin-line-CpqWPwjZ.js";import{d as Ce}from"./delete-Ce0TSdK5.js";import{d as ve}from"./edit-pen-Ci7W0xNM.js";import{d as ye}from"./add-circle-line-DOJqVT3s.js";import{d as ke,a as k,e as s,A as be,f as Z,k as N,i as o,v as f,u as e,g as b,w as l,h as m,B as he,t as xe,j as we,_ as Ve}from"./index-AFhnwzwZ.js";import"./git-branch-line-BhusJOme.js";import"./more-2-fill-iTOisMwj.js";import"./role.vue_vue_type_script_setup_true_lang-C7tReUW6.js";import"./index-BSGz-TY2.js";import"./index.vue_vue_type_script_setup_true_lang-43Fb-9Dj.js";import"./hooks-DZOKHTKM.js";import"./user-DNtD0Fqa.js";import"./index-B5M9mQxp.js";import"./index-B9RHPT66.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const $e={width:24,height:24,body:''},Se={width:1024,height:1024,body:''},Re={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},De={class:"flex-auto"},ze={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},Ue=ke({name:"SystemUser",__name:"index",setup(d){const a=k(),r=k(),h=k(),{form:c,loading:x,columns:T,dataList:L,treeData:H,treeLoading:M,selectedNum:w,pagination:j,buttonClass:C,deviceDetection:v,onSearch:V,resetForm:I,onbatchDel:A,openDialog:$,onTreeSelect:E,handleUpdate:F,handleDelete:q,handleUpload:G,handleReset:J,handleRole:K,handleSizeChange:O,onSelectionCancel:Q,handleCurrentChange:W,handleSelectionChange:X}=ce(h,a);return(Be,t)=>{const S=s("el-input"),g=s("el-form-item"),R=s("el-option"),Y=s("el-select"),i=s("el-button"),ee=s("el-form"),D=s("el-popconfirm"),y=s("el-dropdown-item"),oe=s("el-dropdown-menu"),te=s("el-dropdown"),le=s("pure-table"),ne=be("motion-fade");return Z(),N("div",{class:f(["flex","justify-between",e(v)()&&"flex-wrap"])},[o(pe,{ref_key:"treeRef",ref:a,class:f(["mr-2",e(v)()?"w-full":"min-w-[200px]"]),treeData:e(H),treeLoading:e(M),onTreeSelect:e(E)},null,8,["class","treeData","treeLoading","onTreeSelect"]),b("div",{class:f([e(v)()?["w-full","mt-2"]:"w-[calc(100%-200px)]"])},[o(ee,{ref_key:"formRef",ref:r,inline:!0,model:e(c),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[o(g,{label:"用户名称:",prop:"username"},{default:l(()=>[o(S,{modelValue:e(c).username,"onUpdate:modelValue":t[0]||(t[0]=n=>e(c).username=n),placeholder:"请输入用户名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(g,{label:"手机号码:",prop:"phone"},{default:l(()=>[o(S,{modelValue:e(c).phone,"onUpdate:modelValue":t[1]||(t[1]=n=>e(c).phone=n),placeholder:"请输入手机号码",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(g,{label:"状态:",prop:"status"},{default:l(()=>[o(Y,{modelValue:e(c).status,"onUpdate:modelValue":t[2]||(t[2]=n=>e(c).status=n),placeholder:"请选择",clearable:"",class:"!w-[180px]"},{default:l(()=>[o(R,{label:"已开启",value:"1"}),o(R,{label:"已关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(g,null,{default:l(()=>[o(i,{type:"primary",icon:e(p)("ri:search-line"),loading:e(x),onClick:e(V)},{default:l(()=>t[5]||(t[5]=[m(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(i,{icon:e(p)(e(ue)),onClick:t[3]||(t[3]=n=>e(I)(r.value))},{default:l(()=>t[6]||(t[6]=[m(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(fe),{title:"用户管理(仅演示,操作后不生效)",columns:e(T),onRefresh:e(V)},{buttons:l(()=>[o(i,{type:"primary",icon:e(p)(e(ye)),onClick:t[4]||(t[4]=n=>e($)())},{default:l(()=>t[7]||(t[7]=[m(" 新增用户 ")])),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:ae})=>[e(w)>0?he((Z(),N("div",Re,[b("div",De,[b("span",ze," 已选 "+xe(e(w))+" 项 ",1),o(i,{type:"primary",text:"",onClick:e(Q)},{default:l(()=>t[8]||(t[8]=[m(" 取消选择 ")])),_:1},8,["onClick"])]),o(D,{title:"是否确认删除?",onConfirm:e(A)},{reference:l(()=>[o(i,{type:"danger",text:"",class:"mr-1"},{default:l(()=>t[9]||(t[9]=[m(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[ne]]):we("",!0),o(le,{ref_key:"tableRef",ref:h,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},"align-whole":"center","table-layout":"auto",loading:e(x),size:n,data:e(L),columns:ae,pagination:P(B({},e(j)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(X),onPageSizeChange:e(O),onPageCurrentChange:e(W)},{operation:l(({row:u})=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(p)(e(ve)),onClick:_=>e($)("修改",u)},{default:l(()=>t[10]||(t[10]=[m(" 修改 ")])),_:2},1032,["size","icon","onClick"]),o(D,{title:`是否确认删除用户编号为${u.id}的这条数据`,onConfirm:_=>e(q)(u)},{reference:l(()=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(p)(e(Ce))},{default:l(()=>t[11]||(t[11]=[m(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"]),o(te,null,{dropdown:l(()=>[o(oe,null,{default:l(()=>[o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e(_e)),onClick:_=>e(G)(u)},{default:l(()=>t[12]||(t[12]=[m(" 上传头像 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024),o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e($e)),onClick:_=>e(J)(u)},{default:l(()=>t[13]||(t[13]=[m(" 重置密码 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024),o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e(ge)),onClick:_=>e(K)(u)},{default:l(()=>t[14]||(t[14]=[m(" 分配角色 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024)]),_:2},1024)]),default:l(()=>[o(i,{class:"ml-3 mt-[2px]",link:"",type:"primary",size:n,icon:e(p)(e(Se)),onClick:_=>e(F)(u)},null,8,["size","icon","onClick"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])],2)],2)}}}),lo=Ve(Ue,[["__scopeId","data-v-0cd1384f"]]);export{lo as default}; +var re=Object.defineProperty,ie=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var U=(d,a,r)=>a in d?re(d,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):d[a]=r,B=(d,a)=>{for(var r in a||(a={}))de.call(a,r)&&U(d,r,a[r]);if(z)for(var r of z(a))me.call(a,r)&&U(d,r,a[r]);return d},P=(d,a)=>ie(d,se(a));import pe from"./tree-DWzH8n2D.js";import{useUser as ce}from"./hook-BsG9z_pb.js";import{d as ue,P as fe}from"./refresh-DeEyTuf-.js";import{u as p}from"./hooks-BoDRUKFd.js";import{d as _e}from"./upload-line-ClmDKJCy.js";import{d as ge}from"./admin-line-CpqWPwjZ.js";import{d as Ce}from"./delete-Ce0TSdK5.js";import{d as ve}from"./edit-pen-Ci7W0xNM.js";import{d as ye}from"./add-circle-line-DOJqVT3s.js";import{d as ke,a as k,e as s,A as be,f as Z,k as N,i as o,v as f,u as e,g as b,w as l,h as m,B as he,t as xe,j as we,_ as Ve}from"./index-DqH6biyS.js";import"./git-branch-line-BhusJOme.js";import"./more-2-fill-iTOisMwj.js";import"./role.vue_vue_type_script_setup_true_lang-D7BpvWcb.js";import"./index-DZtY49CB.js";import"./index.vue_vue_type_script_setup_true_lang-Beaol_5o.js";import"./hooks-CT5JiEcI.js";import"./user-DNtD0Fqa.js";import"./index-Dt5do88n.js";import"./index-BCC60M31.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const $e={width:24,height:24,body:''},Se={width:1024,height:1024,body:''},Re={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},De={class:"flex-auto"},ze={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},Ue=ke({name:"SystemUser",__name:"index",setup(d){const a=k(),r=k(),h=k(),{form:c,loading:x,columns:T,dataList:L,treeData:H,treeLoading:M,selectedNum:w,pagination:j,buttonClass:C,deviceDetection:v,onSearch:V,resetForm:I,onbatchDel:A,openDialog:$,onTreeSelect:E,handleUpdate:F,handleDelete:q,handleUpload:G,handleReset:J,handleRole:K,handleSizeChange:O,onSelectionCancel:Q,handleCurrentChange:W,handleSelectionChange:X}=ce(h,a);return(Be,t)=>{const S=s("el-input"),g=s("el-form-item"),R=s("el-option"),Y=s("el-select"),i=s("el-button"),ee=s("el-form"),D=s("el-popconfirm"),y=s("el-dropdown-item"),oe=s("el-dropdown-menu"),te=s("el-dropdown"),le=s("pure-table"),ne=be("motion-fade");return Z(),N("div",{class:f(["flex","justify-between",e(v)()&&"flex-wrap"])},[o(pe,{ref_key:"treeRef",ref:a,class:f(["mr-2",e(v)()?"w-full":"min-w-[200px]"]),treeData:e(H),treeLoading:e(M),onTreeSelect:e(E)},null,8,["class","treeData","treeLoading","onTreeSelect"]),b("div",{class:f([e(v)()?["w-full","mt-2"]:"w-[calc(100%-200px)]"])},[o(ee,{ref_key:"formRef",ref:r,inline:!0,model:e(c),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:l(()=>[o(g,{label:"用户名称:",prop:"username"},{default:l(()=>[o(S,{modelValue:e(c).username,"onUpdate:modelValue":t[0]||(t[0]=n=>e(c).username=n),placeholder:"请输入用户名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(g,{label:"手机号码:",prop:"phone"},{default:l(()=>[o(S,{modelValue:e(c).phone,"onUpdate:modelValue":t[1]||(t[1]=n=>e(c).phone=n),placeholder:"请输入手机号码",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),o(g,{label:"状态:",prop:"status"},{default:l(()=>[o(Y,{modelValue:e(c).status,"onUpdate:modelValue":t[2]||(t[2]=n=>e(c).status=n),placeholder:"请选择",clearable:"",class:"!w-[180px]"},{default:l(()=>[o(R,{label:"已开启",value:"1"}),o(R,{label:"已关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(g,null,{default:l(()=>[o(i,{type:"primary",icon:e(p)("ri:search-line"),loading:e(x),onClick:e(V)},{default:l(()=>t[5]||(t[5]=[m(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(i,{icon:e(p)(e(ue)),onClick:t[3]||(t[3]=n=>e(I)(r.value))},{default:l(()=>t[6]||(t[6]=[m(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(fe),{title:"用户管理(仅演示,操作后不生效)",columns:e(T),onRefresh:e(V)},{buttons:l(()=>[o(i,{type:"primary",icon:e(p)(e(ye)),onClick:t[4]||(t[4]=n=>e($)())},{default:l(()=>t[7]||(t[7]=[m(" 新增用户 ")])),_:1},8,["icon"])]),default:l(({size:n,dynamicColumns:ae})=>[e(w)>0?he((Z(),N("div",Re,[b("div",De,[b("span",ze," 已选 "+xe(e(w))+" 项 ",1),o(i,{type:"primary",text:"",onClick:e(Q)},{default:l(()=>t[8]||(t[8]=[m(" 取消选择 ")])),_:1},8,["onClick"])]),o(D,{title:"是否确认删除?",onConfirm:e(A)},{reference:l(()=>[o(i,{type:"danger",text:"",class:"mr-1"},{default:l(()=>t[9]||(t[9]=[m(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[ne]]):we("",!0),o(le,{ref_key:"tableRef",ref:h,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},"align-whole":"center","table-layout":"auto",loading:e(x),size:n,data:e(L),columns:ae,pagination:P(B({},e(j)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(X),onPageSizeChange:e(O),onPageCurrentChange:e(W)},{operation:l(({row:u})=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(p)(e(ve)),onClick:_=>e($)("修改",u)},{default:l(()=>t[10]||(t[10]=[m(" 修改 ")])),_:2},1032,["size","icon","onClick"]),o(D,{title:`是否确认删除用户编号为${u.id}的这条数据`,onConfirm:_=>e(q)(u)},{reference:l(()=>[o(i,{class:"reset-margin",link:"",type:"primary",size:n,icon:e(p)(e(Ce))},{default:l(()=>t[11]||(t[11]=[m(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"]),o(te,null,{dropdown:l(()=>[o(oe,null,{default:l(()=>[o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e(_e)),onClick:_=>e(G)(u)},{default:l(()=>t[12]||(t[12]=[m(" 上传头像 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024),o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e($e)),onClick:_=>e(J)(u)},{default:l(()=>t[13]||(t[13]=[m(" 重置密码 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024),o(y,null,{default:l(()=>[o(i,{class:f(e(C)),link:"",type:"primary",size:n,icon:e(p)(e(ge)),onClick:_=>e(K)(u)},{default:l(()=>t[14]||(t[14]=[m(" 分配角色 ")])),_:2},1032,["class","size","icon","onClick"])]),_:2},1024)]),_:2},1024)]),default:l(()=>[o(i,{class:"ml-3 mt-[2px]",link:"",type:"primary",size:n,icon:e(p)(e(Se)),onClick:_=>e(F)(u)},null,8,["size","icon","onClick"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])],2)],2)}}}),lo=Ve(Ue,[["__scopeId","data-v-0cd1384f"]]);export{lo as default}; diff --git a/static/js/index-d1aObMj3.js b/static/js/index-CoVdZL4w.js similarity index 87% rename from static/js/index-d1aObMj3.js rename to static/js/index-CoVdZL4w.js index 380b966564..f2486eeca4 100644 --- a/static/js/index-d1aObMj3.js +++ b/static/js/index-CoVdZL4w.js @@ -1 +1 @@ -import{d as p,a as r,R as d,k as i,g as s,t as o,u as a,i as m,e as c,f as _}from"./index-AFhnwzwZ.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},B=p({name:"Menu1-3",__name:"index",setup(V){const e=r(""),{t:n}=d();return(k,t)=>{const u=c("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.pureMenu1")),1),s("p",x,o(a(n)("menus.pureMenu1-3")),1),m(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value=l)},null,8,["modelValue"])])}}});export{B as default}; +import{d as p,a as r,R as d,k as i,g as s,t as o,u as a,i as m,e as c,f as _}from"./index-DqH6biyS.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},B=p({name:"Menu1-3",__name:"index",setup(V){const e=r(""),{t:n}=d();return(k,t)=>{const u=c("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.pureMenu1")),1),s("p",x,o(a(n)("menus.pureMenu1-3")),1),m(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value=l)},null,8,["modelValue"])])}}});export{B as default}; diff --git a/static/js/index-Bt5lejkj.js b/static/js/index-CrSA5P40.js similarity index 84% rename from static/js/index-Bt5lejkj.js rename to static/js/index-CrSA5P40.js index e6ea371398..f2327eca48 100644 --- a/static/js/index-Bt5lejkj.js +++ b/static/js/index-CrSA5P40.js @@ -1 +1 @@ -import{d as s,a as l,R as u,k as r,g as p,t as d,u as i,i as m,e as c,f as _}from"./index-AFhnwzwZ.js";const f={class:"dark:text-white"},x=s({name:"Menu2",__name:"index",setup(V){const e=l(""),{t}=u();return(k,n)=>{const a=c("el-input");return _(),r("div",f,[p("p",null,d(i(t)("menus.pureMenu2")),1),m(a,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=o=>e.value=o)},null,8,["modelValue"])])}}});export{x as default}; +import{d as s,a as l,R as u,k as r,g as p,t as d,u as i,i as m,e as c,f as _}from"./index-DqH6biyS.js";const f={class:"dark:text-white"},x=s({name:"Menu2",__name:"index",setup(V){const e=l(""),{t}=u();return(k,n)=>{const a=c("el-input");return _(),r("div",f,[p("p",null,d(i(t)("menus.pureMenu2")),1),m(a,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=o=>e.value=o)},null,8,["modelValue"])])}}});export{x as default}; diff --git a/static/js/index-DUmu9ZnI.js b/static/js/index-CssYx8_7.js similarity index 99% rename from static/js/index-DUmu9ZnI.js rename to static/js/index-CssYx8_7.js index 7fe24bdd7c..1e0e107159 100644 --- a/static/js/index-DUmu9ZnI.js +++ b/static/js/index-CssYx8_7.js @@ -1 +1 @@ -var y=(t,e,o)=>new Promise((n,r)=>{var s=l=>{try{a(o.next(l))}catch(c){r(c)}},i=l=>{try{a(o.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,i);a((o=o.apply(t,e)).next())});import{d as C,a as p,b3 as ht,n as M,m as P,o as lt,f as b,k as z,B as pt,a0 as At,g as m,Q as x,i as E,t as D,j as H,y as T,b4 as vt,b5 as yt,b6 as F,b7 as wt,p as B,b8 as bt,b9 as _t,u as w,F as Et,l as Ot,s as zt,ba as K,r as It,b as St,w as j,bb as Rt,e as W,q as xt,a3 as Dt,_ as Ct}from"./index-AFhnwzwZ.js";import{B as Nt}from"./back_top-B_m2U_ZU.js";function Ft(t=6){return Number(Math.random().toString().substr(3,t)+Date.now()).toString(36)}const Bt=["#409EFF","#67C23A","#E6A23C","#F56C6C","#909399"];function jt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function Lt(){return Bt[jt(0,4)]}const Mt="https://www.getphotoblanket.com",Pt=({page:t=1,pageSize:e=20})=>{const o=`${Mt}/products.json?page=${t}&limit=${e}`;return fetch(o).then(n=>n.json()).then(n=>n.products).then(n=>n.map(r=>({id:Ft(),star:!1,price:r.variants[0].price,src:{original:r.images[0].src},backgroundColor:Lt(),name:r.title})))},Tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABbFJREFUaEPtWV1sFFUUPufOLmjpD7G0nXtm11igD0Q0CpqImsiDEcGoIVEReeBBNGgkEQSjwUR4MQZ/MBr/MeFFFIkxYAR9MGr84cFijBJ9UFPD7r3TqtWWLsVuO3PM3ew20+3uzizTxpDsTSa7e+ec75zvnPtz7l2E87zhee4/NAj83xlsZKCRgZgRaAyhmAGMrV4zA5lM5sJEItGcz+dbhBDN5gGAZkRsQcTCd/Mwc0vpu+k3v5l5yHGcDUEPtdY7AeAsIp4t/5yYmCj0myefz//LzGfNY/p7enrGqjGtSEAp9ZgQYgsz07mGiJk3OY7zVklfKbULEZ88FzxE1L7vv+Q4ztPl+tMIZLPZFUKIb87FUFBHCLHQtu2+Up/WmuNi+r5/bSqVOh7EmUZAa70VAJ6PYwwRJ6SUyRKG67odzPxHHMyi7jYi2luTgOu6O5h5T1xjiLhDSvlsIAOfAcDKOLiI+KiU8pmwDGwGgFfjGCrqDhLRgkAWHmTml2PiPkBEr4URuAcA3o5pqKR+PxG9aX7M0DDaQEQHahJQSt2KiEdmiMA7RGQCUmha61jDiJlvcxznw7A5cAMzfz4TBHzfvzGVSn1qsDKZzErLsgyBac0skwBwwvf9HCKuBoD5VeRWSim/CMvAMkQ8MQME+ohoYZToE9HkapjNZq9AxFcQcUW5D8y83HGc72oSyGQyiy3L+qUeAsx8yMgj4p0BvZ1E9FRY9Jl5t+M4u4L2tNaPA0BBN9g8z+tJp9O/1iTQ39/f6fv+QB0ExoQQS4aGhv5qa2s7zsyXGl0hRJdt24W1P2TsbyWiF4L2lFL3IuK+ch+CmKV30zYyU/9YljVaB4EDRFSoeUrj3CwCUsrbw6JftPE9EV1ZloFhAGitkIGmdDpt6qjJVrEWcl03z8yTO2kImTuI6P2STDabfUQIsYqIbjJ91aJZhjkCANuZeSkArEbExeU2EXFcSjlnWn8l55RSg4h4UVgWELHPtu1FiDilzlFKmaxsNEa11ksA4KcwrLD3zPy34zjtkQhorU0RdkkYqJloRGRK5ClNKXUxIposFDax8kIOEfczcxsArI1goyTyOxF1RyKglPoBES+LAH4VEVVccrXWa4nogyKBXgBYXnR8DxH9XOz/EgCuj2AHmPlHx3Euj0RAa/0VAFwXAvw1EdU03tfXN7+7u3tIa73X87zD6XR6ygaZzWavEUJMKY9r2Kxor9okPsrMZkes1TYT0etRoldLxnXdF5l5SxgOIh6TUq6JlAGl1EFEvKsWqO/7C1Kp1GCY4bD3zDzHdd2TANBTS5aZ33McZ10kAlprM/k2VQNExENSypoEwxwPvndddyMz7w/R2UdE90UlYE5k5mRWsVWqCutxuJKs1tqUyetr4Owlom2RCLiuu4uZqx3A/yGi0D2iXkKnTp1amkgkTKVZERsRd0spp9RMxkbFSVzcTSePg2XOFNbjwcFBs9W35vP5Vs/z2oQQrYjY6vt+4dOs86ZI01o/AQA5Zs5ZljUyMTGRE0KMmN/JZHJkdHQ019TUNNLZ2ZmrVTP5vr89lUo9FykDWmsz1t6oN4pBeSHE+vHx8cN11lW1TE6e7oJCFTPQ39+/zvf9d+MQYOZlxc2rsBvHbUKIu23bPhgpA67rrmHmj2IY/bNYihiMWDcRJR8Q8RYp5dFIBAYGBhZ5njfl4FAvGSnlBUqph4QQ1eZSXZCWZS3u6ur6LRIBI6S1/hgAVkW0wsx8GhFPA8AIIuYA4OTw8PDDLS0txxBxXukutXiPOi8ibknsEyK6uZJO1ctds8qMjY2Zc+nVAFBwzjjJzCOJRCKXz+fPJJNJ46h5zti2fSaqU729vcmOjo5my7LmBS6MDSlzcdzseV7w8vjbuXPnHm9vbzfBmdYa/w9EjfpsyTUyMFuRjYrbyEDUSM2WXCMDsxXZqLjnfQb+A8eWU0/QfZYsAAAAAElFTkSuQmCC",kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABNBJREFUaEPtmV1oXEUUx//n3g1JRGqL9k1RsFq/6IMgSky8c2YTQyONiojWYumTQrWKSNH6oO1TS1EQFcTiQwsaK4qIbVdod+/M3Y0IteJDwVr1oVYFEfFFwUY2c2TCbrhZNptNduvuQgf2Ze85M+c359w5Z84l9PigHrcflwCqHrTWsoiUmLn8f3q1bR4wxggRlZxz00EQlCowf19smLYAxHF8NxFNA/gUgAKwGsApD5GC+eNiwLQL4GUi2gNgDIA31ENEKZhzIvK5h5mZmZkeHx//uV0wbQEwxpQADDPzgvny+fyNYRhO1MB42w9674RhWIqi6IdWYFoGMMbcBuA0ER1RSk3GcbyViB4HcBTAMWb+0RtYKpXWlMvlSSKaFBFdCTP/yIrIRxWY08uFaQfAswAeAPAaMx81xhwmojVpQ0TkSxH5QGt9tvp/kiQTzrlJAOsroeYfnXPOHQrD8JhS6qtmYFoGaGaRRjKFQuF6IhononsB+N9gSv4ggENKqYSIpN48cwCFQmF3EARPt2rMcvWZ+ao4ju/TWh+r6hpjRkVkYwXIh+d8qvEw/f39Hw4NDf1T/TMN8AqA/HKNWKk8EWmlVFjZvG0iUiSiIjO/W52zWCyuLZfLm4hoE4DxlHfmQi2bze6uBbih+tKt1LBm9Ky17wN4NAXgN29uiMi/HsS/2FrrA+n5isXi7bOzsx5mdyaTWT8yMvJ9XQC/K80YshIZv2uNAOrM+bWIHKjCWGuPi8g9zDzgZesC+LJgJcYtpeOc27MCAD/taWbeYIy5i4gKzjnvnW29BLCLmfcZY54H8GoQBONRFB3vGYByuXzt2NjYeWPMJwAeTGf8rg8hIvpTKXVlHMe3AogBnNFa+1prbnQ9gIi8rbXeHsfxE0T0DhE9qZSaP526HgDACDNPW2sPicjWvr6+VcPDw3/1jAd8vJ84ceKKTCbjj1NordelT7tu98BRZt5krd0sIlNEtFcp9VLPAIjIFq31lDHmLQBPBUGwIYqiBSV3xz1gjPFlRN3MXz0ujTHf+LKbmS+rTZZdC0BEJ5VSdxYKBR0EQYGIppRSW3oGAEA1++4F8KK/ySmljvQMQDX7Wmt9ZeqP0rqXr24NoZ+Y+TpjzDoiOuvvCszM9YrFbgV4nZmfi+N4JxHtJ6JnlFJv9hLAXPY1xuQAbASwlpnrNsY67oHKlXL+RgbgAjMP5nK5/oGBgd+DIPhNKeU7F3VHxwFq80Cl/fKYMeYRAIdFZL/W+oWeAQDwMDN/7PtLADzEHcx8qmcAUtn3FxFZrbW+vNFVteMhFMexj+/7faKqxP9okiRDzrkvALzHzL5NuejoOEDasiRJJqMo+sxau19EdgZB8FAURf4auTyARgrteJZuq9SbzxhzBsBNi2XfJcvpdhjZaI5GAEmSXOOcO09EsVIqu5QtHe/M1Rpord0hIm8A2MHM/h7QcHQjQMF/P3DOXZ3NZn/teoBKJr4AYLpSPviu4HfMfPNSxvvnCzzgnNvejFKrMmEYDi/S3LWVjx37mHlXM+vUhlAzOm2RISLnu9N+slwut2pwcHCCiCZExH+5mchmsyebWWgOwBgz3+lqRqldMszsd3zByOfzt4yOjn7b7Bod/8TUrKGLyV0CaHUHW9X/D9N93V6azvezAAAAAElFTkSuQmCC";function Ht(t,e=null){if(!t)return!1;const o=t.getBoundingClientRect(),n=e?e.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return o.bottom>=n.top&&o.top<=n.bottom&&o.right>=n.left&&o.left<=n.right}function Kt(t){return y(this,null,function*(){return t?(yield T(),t.value instanceof HTMLElement?t.value:t.value?document.querySelector(t.value):null):null})}function Wt(t){let e=`0px 0px ${t.distance}px 0px`;t.top&&(e=`${t.distance}px 0px 0px 0px`);const o=new IntersectionObserver(n=>{n[0].isIntersecting&&(t.firstload&&t.emit(),t.firstload=!0)},{root:t.parentEl,rootMargin:e});return t.infiniteLoading.value&&o.observe(t.infiniteLoading.value),o}function Q(t,e){return y(this,null,function*(){if(yield T(),!t.top)return;const o=t.parentEl||document.documentElement;o.scrollTop=o.scrollHeight-e})}const ct=(t,e)=>{const o=t.__vccOpts||t;for(const[n,r]of e)o[n]=r;return o},Qt={},Gt=t=>(vt("data-v-d3e37633"),t=t(),yt(),t),Ut={class:"container"},Yt=Gt(()=>m("div",{class:"spinner"},null,-1)),Vt=[Yt];function Zt(t,e){return b(),z("div",Ut,Vt)}const Xt=ct(Qt,[["render",Zt],["__scopeId","data-v-d3e37633"]]),Jt={class:"state-error"},qt=C({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(t,{emit:e}){const o=t;let n=null,r=0;const s=p(null),i=p(""),{top:a,firstload:l,distance:c}=o,{identifier:u,target:f}=ht(o),d={infiniteLoading:s,top:a,firstload:l,distance:c,parentEl:null,emit(){r=(d.parentEl||document.documentElement).scrollHeight,g.loading(),e("infinite",g)}},g={loading(){i.value="loading"},loaded(){return y(this,null,function*(){i.value="loaded",yield Q(d,r),Ht(s.value,d.parentEl)&&d.emit()})},complete(){return y(this,null,function*(){i.value="complete",yield Q(d,r),n==null||n.disconnect()})},error(){i.value="error"}};function h(){n==null||n.disconnect(),n=Wt(d)}return M(u,h),P(()=>y(this,null,function*(){d.parentEl=yield Kt(f),h()})),lt(()=>n==null?void 0:n.disconnect()),(A,R)=>(b(),z("div",{ref_key:"infiniteLoading",ref:s,class:"v3-infinite-loading"},[pt(m("div",null,[x(A.$slots,"spinner",{},()=>[E(Xt)],!0)],512),[[At,i.value=="loading"]]),i.value=="complete"?x(A.$slots,"complete",{key:0},()=>{var v;return[m("span",null,D(((v=A.slots)==null?void 0:v.complete)||"No more results!"),1)]},!0):H("",!0),i.value=="error"?x(A.$slots,"error",{key:1,retry:d.emit},()=>{var v;return[m("span",Jt,[m("span",null,D(((v=A.slots)==null?void 0:v.error)||"Oops something went wrong!"),1),m("button",{class:"retry",onClick:R[0]||(R[0]=(...N)=>d.emit&&d.emit(...N))},"retry")])]},!0):H("",!0)],512))}}),$t=ct(qt,[["__scopeId","data-v-4bdee133"]]);function te(t){return bt()?(_t(t),!0):!1}const ut=typeof window!="undefined";function ee(t,e){function o(...n){t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})}return o}function ne(t,e={}){let o,n;return s=>{const i=w(t),a=w(e.maxWait);if(o&&clearTimeout(o),i<=0||a!==void 0&&a<=0)return n&&(clearTimeout(n),n=null),s();a&&!n&&(n=setTimeout(()=>{o&&clearTimeout(o),n=null,s()},a)),o=setTimeout(()=>{n&&clearTimeout(n),n=null,s()},i)}}function oe(t,e=200,o={}){return ee(ne(e,o),t)}function re(t){var e;const o=w(t);return(e=o==null?void 0:o.$el)!=null?e:o}const ie=ut?window:void 0,G=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},U="__vueuse_ssr_handlers__";G[U]=G[U]||{};var Y=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(t,e)=>{var o={};for(var n in t)se.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(t!=null&&Y)for(var n of Y(t))e.indexOf(n)<0&&ae.call(t,n)&&(o[n]=t[n]);return o};function ce(t,e,o={}){const n=o,{window:r=ie}=n,s=le(n,["window"]);let i;const a=r&&"ResizeObserver"in r,l=()=>{i&&(i.disconnect(),i=void 0)},c=M(()=>re(t),f=>{l(),a&&r&&f&&(i=new ResizeObserver(e),i.observe(f,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return te(u),{isSupported:a,stop:u}}var V,Z;ut&&(window!=null&&window.navigator)&&((V=window==null?void 0:window.navigator)!=null&&V.platform)&&/iP(ad|hone|od)/.test((Z=window==null?void 0:window.navigator)==null?void 0:Z.platform);const ue=({breakpoints:t,wrapperWidth:e,gutter:o,hasAroundGutter:n,initWidth:r})=>{const s=Object.keys(t).map(u=>Number(u)).sort((u,f)=>u-f);let i=e,a=!1;for(const u of s)if(e<=u){i=u,a=!0;break}if(!a)return r;let l=0;const c=t[i].rowPerView;return n?l=(e-o)/c-o:l=(e-(c-1)*o)/c,Math.floor(l)};function de(t){const e=p(0),o=p(null);ce(o,i=>{const a=i[0],{width:l}=a.contentRect;e.value=l});const n=B(()=>ue({wrapperWidth:e.value,breakpoints:t.breakpoints,gutter:t.gutter,hasAroundGutter:t.hasAroundGutter,initWidth:t.width})),r=B(()=>{const i=t.hasAroundGutter?-t.gutter:t.gutter,a=(e.value+i)/(n.value+t.gutter);return Math.floor(a)}),s=B(()=>{if(t.align==="left")return 0;if(t.align==="center"){const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(n.value+t.gutter)+i;return(e.value-a)/2}else{const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(n.value+t.gutter)+i;return e.value-a}});return{waterfallWrapper:o,wrapperWidth:e,colWidth:n,cols:r,offsetX:s}}function dt(t,e){return new RegExp(`(^|\\s)${e}(\\s|$)`).test(t.className)}function X(t,e){if(dt(t,e))return;const o=t.className.split(/\s+/);o.push(e),t.className=o.join(" ")}const fe=document.createElement("div").style,L=(()=>{const t={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(const e in t){const o=t[e];if(fe[o]!==void 0)return e}return!1})();function S(t){return L===!1?!1:L==="standard"?t:L+t.charAt(0).toUpperCase()+t.substr(1)}const J=S("transform"),q=S("animation-duration"),$=S("animation-delay"),tt=S("transition"),et=S("animation-fill-mode");function me(t,e,o,n,r){const s=p([]),i=p(0),a=f=>{const d=t.hasAroundGutter?f+1:f;return t.gutter*d+e.value*f+n.value},l=()=>{s.value=new Array(o.value).fill(t.hasAroundGutter?t.gutter:0)},c=ge(t);return{wrapperHeight:i,layoutHandle:()=>y(this,null,function*(){return new Promise(f=>{l();const d=[];if(r&&r.value&&r.value.childNodes.forEach(g=>{g.className==="waterfall-item"&&d.push(g)}),d.length===0)return!1;for(let g=0;g{const gt=t.posDuration/1e3;tt&&(v[tt]=`transform ${gt}s`)})}i.value=Math.max.apply(null,s.value),setTimeout(()=>{f(!0)},t.posDuration)})})}}function ge(t){return(e,o)=>{const n=e.firstChild;if(n&&!dt(n,t.animationPrefix)){const r=`${t.animationDuration/1e3}s`,s=`${t.animationDelay/1e3}s`,i=n.style;X(n,t.animationPrefix),X(n,t.animationEffect),q&&(i[q]=r),$&&(i[$]=s),et&&(i[et]="both"),o&&setTimeout(()=>{o()},t.animationDuration+t.animationDelay)}}}const he=typeof window!="undefined"&&window!==null,nt=ve(),pe=Object.prototype.propertyIsEnumerable,ot=Object.getOwnPropertySymbols;function Ae(t,...e){return e.map(n=>n.replace(/\[(\w+)\]/g,".$1").split(".").reduce((r,s)=>r&&r[s],t))}function ve(){return he&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function I(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function ye(t){return typeof t=="object"?t===null:typeof t!="function"}function we(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function be(t,...e){if(!I(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof ot!="function")return t;for(const o of e){const n=ot(o);for(const r of n)pe.call(o,r)&&(t[r]=o[r])}return t}function ft(t,...e){let o=0;for(ye(t)&&(t=e[o++]),t||(t={});o{const r=new Image;r.onload=()=>{o(r)},r.onerror=()=>{n(new Error("Image load error"))},e&&(r.crossOrigin="Anonymous"),r.src=t})}var O;(function(t){t.LOADING="loading",t.LOADED="loaded",t.ERROR="error"})(O||(O={}));const _e={rootMargin:"0px",threshold:0},it="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ee="";class Oe{constructor(e=!0,o,n=!0){this.lazyActive=!0,this.crossOrigin=!0,this.options={loading:it,error:Ee,observerOptions:_e,log:!0,ratioCalculator:(r,s)=>s/r},this._images=new WeakMap,this.lazyActive=e,this.crossOrigin=n,this.config(o)}config(e={}){ft(this.options,e),e.ratioCalculator&&(this.options.ratioCalculator=e.ratioCalculator)}mount(e,o,n){const{src:r,loading:s,error:i}=this._valueFormatter(o);e.setAttribute("lazy",O.LOADING),e.setAttribute("src",s||it),this.lazyActive?(nt||(this._setImageSrc(e,r,n,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,r,n,i)):this._setImageSrc(e,r,n,i)}resize(e,o){const n=e.getAttribute("lazy"),r=e.getAttribute("src");n&&n===O.LOADED&&r&&rt(r,this.crossOrigin).then(s=>{const{width:i,height:a}=s,l=e.width/i*a;e.height=l;const c=e.style;c.height=`${l}px`,o()})}unmount(e){const o=this._realObserver(e);o&&o.unobserve(e),this._images.delete(e)}_setImageSrc(e,o,n,r){!o||e.getAttribute("src")===o||rt(o,this.crossOrigin).then(i=>{var a,l;const{width:c,height:u}=i,f=((l=(a=this.options).ratioCalculator)==null?void 0:l.call(a,c,u))||u/c,d=e.parentNode.parentNode;d.style.paddingBottom=`${f*100}%`,e.setAttribute("lazy",O.LOADED),e.removeAttribute("src"),e.src=i.src,n(!0)}).catch(()=>{const i=this._realObserver(e);i&&i.disconnect(),r&&(e.setAttribute("lazy",O.ERROR),e.setAttribute("src",r),n(!1)),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${o} `)})})}_isOpenLazy(){return nt&&this.lazyActive}_initIntersectionObserver(e,o,n,r){const s=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{if(l.isIntersecting){const c=this._realObserver(e);c&&c.unobserve(l.target),this._setImageSrc(e,o,n,r)}})},s));const i=this._realObserver(e);i&&i.observe(e)}_valueFormatter(e){let o=e,n=this.options.loading,r=this.options.error;return I(e)&&(o=e.src,n=e.loading||this.options.loading,r=e.error||this.options.error),{src:o,loading:n,error:r}}_log(e){this.options.log&&e()}_realObserver(e){return this._images.get(e)}}var mt=(t,e)=>{for(const[o,n]of e)t[o]=n;return t};const k=C({props:{list:{type:Array,default:()=>[]},rowKey:{type:String,default:"id"},imgSelector:{type:String,default:"src"},width:{type:Number,default:200},breakpoints:{type:Object,default:()=>({1200:{rowPerView:3},800:{rowPerView:2},500:{rowPerView:1}})},gutter:{type:Number,default:10},hasAroundGutter:{type:Boolean,default:!0},posDuration:{type:Number,default:300},animationPrefix:{type:String,default:"animate__animated"},animationEffect:{type:String,default:"fadeIn"},animationDuration:{type:Number,default:1e3},animationDelay:{type:Number,default:300},animationCancel:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#fff"},lazyload:{type:Boolean,default:!0},loadProps:{type:Object,default:()=>{}},crossOrigin:{type:Boolean,default:!0},delay:{type:Number,default:300},align:{type:String,default:"center"}},setup(t,e){const o=new Oe(t.lazyload,t.loadProps,t.crossOrigin);F("lazy",o);const{waterfallWrapper:n,wrapperWidth:r,colWidth:s,cols:i,offsetX:a}=de(t),{wrapperHeight:l,layoutHandle:c}=me(t,s,i,a,n),u=oe(()=>{c().then(()=>{e.emit("afterRender")})},t.delay);M(()=>[r,s,t.list],()=>{r.value>0&&u()},{deep:!0});const f=p(0);return F("sizeChangeTime",f),F("imgLoaded",u),{colWidth:s,waterfallWrapper:n,wrapperHeight:l,getRenderURL:h=>Ae(h,t.imgSelector)[0],getKey:(h,_)=>h[t.rowKey]||_,renderer:u}}}),st=()=>{wt(t=>({"304003ce":t.backgroundColor}))},at=k.setup;k.setup=at?(t,e)=>(st(),at(t,e)):st;const ze=k,Ie={class:"waterfall-card"};function Se(t,e,o,n,r,s){return b(),z("div",{ref:"waterfallWrapper",class:"waterfall-list",style:zt({height:`${t.wrapperHeight}px`})},[(b(!0),z(Et,null,Ot(t.list,(i,a)=>(b(),z("div",{key:t.getKey(i,a),class:"waterfall-item"},[m("div",Ie,[x(t.$slots,"default",{item:i,index:a,url:t.getRenderURL(i)},void 0,!0)])]))),128))],4)}var Re=mt(ze,[["render",Se],["__scopeId","data-v-1c4c57b0"]]);const xe=C({props:{url:{type:String,default:""},title:{type:String,default:""},alt:{type:String,default:""}},setup(t,e){const o=K("imgLoaded"),n=K("lazy"),r=p(null);P(()=>{s()}),lt(()=>{i()});function s(){r.value&&n.mount(r.value,t.url,l=>{o(),l?e.emit("success",t.url):e.emit("error",t.url)})}function i(){r.value&&n.unmount(r.value)}function a(){e.emit("load",t.url)}return{lazyRef:r,imageLoad:a}}}),De={class:"lazy__box"},Ce={class:"lazy__resource"},Ne=["title","alt"];function Fe(t,e,o,n,r,s){return b(),z("div",De,[m("div",Ce,[m("img",{ref:"lazyRef",class:"lazy__img",title:t.title,alt:t.alt,onLoad:e[0]||(e[0]=(...i)=>t.imageLoad&&t.imageLoad(...i))},null,40,Ne)])])}var Be=mt(xe,[["render",Fe],["__scopeId","data-v-640f8d40"]]);const je=["onClick"],Le={class:"overflow-hidden"},Me={class:"px-4 pt-2 pb-4 border-t border-t-gray-800"},Pe={class:"pb-4 text-gray-50 group-hover:text-yellow-300"},Te={class:"pt-3 flex justify-between items-center border-t border-t-gray-600 border-opacity-50"},ke={class:"text-gray-50"},He=["onClick"],Ke=C({__name:"index",setup(t){const e=It({rowKey:"id",gutter:10,hasAroundGutter:!0,width:320,breakpoints:{1200:{rowPerView:4},800:{rowPerView:3},500:{rowPerView:2}},animationEffect:"animate__zoomInUp",animationDuration:1e3,animationDelay:300,imgSelector:"src.original",loadProps:{loading:kt,error:Tt},lazyload:!0}),o=p(1),n=p([]),r=p(),s=p();function i(){s.value=Rt.service({target:".content",background:"transparent",text:"加载中"}),Pt({page:o.value,pageSize:r.value}).then(c=>{setTimeout(()=>{n.value.push(...c),o.value+=1,T(()=>{s.value.close()})},500)})}function a(c,u){n.value.splice(u,1)}function l(c){}return P(()=>{i()}),(c,u)=>{const f=W("el-backtop"),d=W("el-scrollbar");return b(),St(d,{"max-height":"calc(100vh - 120px)",class:"content"},{default:j(()=>[E(w(Re),Dt({list:n.value},e),{item:j(({item:g,url:h,index:_})=>[m("div",{class:"bg-gray-900 rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-linear hover:shadow-lg hover:shadow-gray-600 group",onClick:A=>void 0},[m("div",Le,[E(w(Be),{url:h,class:"cursor-pointer transition-all duration-300 ease-linear group-hover:scale-105"},null,8,["url"])]),m("div",Me,[m("h4",Pe,D(g.name),1),m("div",Te,[m("div",ke,"$ "+D(g.price),1),m("div",null,[m("button",{class:"px-3 h-7 rounded-full bg-red-500 text-sm text-white shadow-lg transition-all duration-300 hover:bg-red-600",onClick:xt(A=>a(g,_),["stop"])}," 删除 ",8,He)])])])],8,je)]),_:1},16,["list"]),E(f,{title:"回到顶部",right:35,bottom:50,"visibility-height":400,target:".content .el-scrollbar__wrap"},{default:j(()=>[E(w(Nt))]),_:1}),E(w($t),{firstload:!1,onInfinite:i})]),_:1})}}}),Ue=Ct(Ke,[["__scopeId","data-v-06e29e61"]]);export{Ue as default}; +var y=(t,e,o)=>new Promise((n,r)=>{var s=l=>{try{a(o.next(l))}catch(c){r(c)}},i=l=>{try{a(o.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,i);a((o=o.apply(t,e)).next())});import{d as C,a as p,b3 as ht,n as M,m as P,o as lt,f as b,k as z,B as pt,a0 as At,g as m,Q as x,i as E,t as D,j as H,y as T,b4 as vt,b5 as yt,b6 as F,b7 as wt,p as B,b8 as bt,b9 as _t,u as w,F as Et,l as Ot,s as zt,ba as K,r as It,b as St,w as j,bb as Rt,e as W,q as xt,a3 as Dt,_ as Ct}from"./index-DqH6biyS.js";import{B as Nt}from"./back_top-B_nkv46y.js";function Ft(t=6){return Number(Math.random().toString().substr(3,t)+Date.now()).toString(36)}const Bt=["#409EFF","#67C23A","#E6A23C","#F56C6C","#909399"];function jt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function Lt(){return Bt[jt(0,4)]}const Mt="https://www.getphotoblanket.com",Pt=({page:t=1,pageSize:e=20})=>{const o=`${Mt}/products.json?page=${t}&limit=${e}`;return fetch(o).then(n=>n.json()).then(n=>n.products).then(n=>n.map(r=>({id:Ft(),star:!1,price:r.variants[0].price,src:{original:r.images[0].src},backgroundColor:Lt(),name:r.title})))},Tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABbFJREFUaEPtWV1sFFUUPufOLmjpD7G0nXtm11igD0Q0CpqImsiDEcGoIVEReeBBNGgkEQSjwUR4MQZ/MBr/MeFFFIkxYAR9MGr84cFijBJ9UFPD7r3TqtWWLsVuO3PM3ew20+3uzizTxpDsTSa7e+ec75zvnPtz7l2E87zhee4/NAj83xlsZKCRgZgRaAyhmAGMrV4zA5lM5sJEItGcz+dbhBDN5gGAZkRsQcTCd/Mwc0vpu+k3v5l5yHGcDUEPtdY7AeAsIp4t/5yYmCj0myefz//LzGfNY/p7enrGqjGtSEAp9ZgQYgsz07mGiJk3OY7zVklfKbULEZ88FzxE1L7vv+Q4ztPl+tMIZLPZFUKIb87FUFBHCLHQtu2+Up/WmuNi+r5/bSqVOh7EmUZAa70VAJ6PYwwRJ6SUyRKG67odzPxHHMyi7jYi2luTgOu6O5h5T1xjiLhDSvlsIAOfAcDKOLiI+KiU8pmwDGwGgFfjGCrqDhLRgkAWHmTml2PiPkBEr4URuAcA3o5pqKR+PxG9aX7M0DDaQEQHahJQSt2KiEdmiMA7RGQCUmha61jDiJlvcxznw7A5cAMzfz4TBHzfvzGVSn1qsDKZzErLsgyBac0skwBwwvf9HCKuBoD5VeRWSim/CMvAMkQ8MQME+ohoYZToE9HkapjNZq9AxFcQcUW5D8y83HGc72oSyGQyiy3L+qUeAsx8yMgj4p0BvZ1E9FRY9Jl5t+M4u4L2tNaPA0BBN9g8z+tJp9O/1iTQ39/f6fv+QB0ExoQQS4aGhv5qa2s7zsyXGl0hRJdt24W1P2TsbyWiF4L2lFL3IuK+ch+CmKV30zYyU/9YljVaB4EDRFSoeUrj3CwCUsrbw6JftPE9EV1ZloFhAGitkIGmdDpt6qjJVrEWcl03z8yTO2kImTuI6P2STDabfUQIsYqIbjJ91aJZhjkCANuZeSkArEbExeU2EXFcSjlnWn8l55RSg4h4UVgWELHPtu1FiDilzlFKmaxsNEa11ksA4KcwrLD3zPy34zjtkQhorU0RdkkYqJloRGRK5ClNKXUxIposFDax8kIOEfczcxsArI1goyTyOxF1RyKglPoBES+LAH4VEVVccrXWa4nogyKBXgBYXnR8DxH9XOz/EgCuj2AHmPlHx3Euj0RAa/0VAFwXAvw1EdU03tfXN7+7u3tIa73X87zD6XR6ygaZzWavEUJMKY9r2Kxor9okPsrMZkes1TYT0etRoldLxnXdF5l5SxgOIh6TUq6JlAGl1EFEvKsWqO/7C1Kp1GCY4bD3zDzHdd2TANBTS5aZ33McZ10kAlprM/k2VQNExENSypoEwxwPvndddyMz7w/R2UdE90UlYE5k5mRWsVWqCutxuJKs1tqUyetr4Owlom2RCLiuu4uZqx3A/yGi0D2iXkKnTp1amkgkTKVZERsRd0spp9RMxkbFSVzcTSePg2XOFNbjwcFBs9W35vP5Vs/z2oQQrYjY6vt+4dOs86ZI01o/AQA5Zs5ZljUyMTGRE0KMmN/JZHJkdHQ019TUNNLZ2ZmrVTP5vr89lUo9FykDWmsz1t6oN4pBeSHE+vHx8cN11lW1TE6e7oJCFTPQ39+/zvf9d+MQYOZlxc2rsBvHbUKIu23bPhgpA67rrmHmj2IY/bNYihiMWDcRJR8Q8RYp5dFIBAYGBhZ5njfl4FAvGSnlBUqph4QQ1eZSXZCWZS3u6ur6LRIBI6S1/hgAVkW0wsx8GhFPA8AIIuYA4OTw8PDDLS0txxBxXukutXiPOi8ibknsEyK6uZJO1ctds8qMjY2Zc+nVAFBwzjjJzCOJRCKXz+fPJJNJ46h5zti2fSaqU729vcmOjo5my7LmBS6MDSlzcdzseV7w8vjbuXPnHm9vbzfBmdYa/w9EjfpsyTUyMFuRjYrbyEDUSM2WXCMDsxXZqLjnfQb+A8eWU0/QfZYsAAAAAElFTkSuQmCC",kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABNBJREFUaEPtmV1oXEUUx//n3g1JRGqL9k1RsFq/6IMgSky8c2YTQyONiojWYumTQrWKSNH6oO1TS1EQFcTiQwsaK4qIbVdod+/M3Y0IteJDwVr1oVYFEfFFwUY2c2TCbrhZNptNduvuQgf2Ze85M+c359w5Z84l9PigHrcflwCqHrTWsoiUmLn8f3q1bR4wxggRlZxz00EQlCowf19smLYAxHF8NxFNA/gUgAKwGsApD5GC+eNiwLQL4GUi2gNgDIA31ENEKZhzIvK5h5mZmZkeHx//uV0wbQEwxpQADDPzgvny+fyNYRhO1MB42w9674RhWIqi6IdWYFoGMMbcBuA0ER1RSk3GcbyViB4HcBTAMWb+0RtYKpXWlMvlSSKaFBFdCTP/yIrIRxWY08uFaQfAswAeAPAaMx81xhwmojVpQ0TkSxH5QGt9tvp/kiQTzrlJAOsroeYfnXPOHQrD8JhS6qtmYFoGaGaRRjKFQuF6IhononsB+N9gSv4ggENKqYSIpN48cwCFQmF3EARPt2rMcvWZ+ao4ju/TWh+r6hpjRkVkYwXIh+d8qvEw/f39Hw4NDf1T/TMN8AqA/HKNWKk8EWmlVFjZvG0iUiSiIjO/W52zWCyuLZfLm4hoE4DxlHfmQi2bze6uBbih+tKt1LBm9Ky17wN4NAXgN29uiMi/HsS/2FrrA+n5isXi7bOzsx5mdyaTWT8yMvJ9XQC/K80YshIZv2uNAOrM+bWIHKjCWGuPi8g9zDzgZesC+LJgJcYtpeOc27MCAD/taWbeYIy5i4gKzjnvnW29BLCLmfcZY54H8GoQBONRFB3vGYByuXzt2NjYeWPMJwAeTGf8rg8hIvpTKXVlHMe3AogBnNFa+1prbnQ9gIi8rbXeHsfxE0T0DhE9qZSaP526HgDACDNPW2sPicjWvr6+VcPDw3/1jAd8vJ84ceKKTCbjj1NordelT7tu98BRZt5krd0sIlNEtFcp9VLPAIjIFq31lDHmLQBPBUGwIYqiBSV3xz1gjPFlRN3MXz0ujTHf+LKbmS+rTZZdC0BEJ5VSdxYKBR0EQYGIppRSW3oGAEA1++4F8KK/ySmljvQMQDX7Wmt9ZeqP0rqXr24NoZ+Y+TpjzDoiOuvvCszM9YrFbgV4nZmfi+N4JxHtJ6JnlFJv9hLAXPY1xuQAbASwlpnrNsY67oHKlXL+RgbgAjMP5nK5/oGBgd+DIPhNKeU7F3VHxwFq80Cl/fKYMeYRAIdFZL/W+oWeAQDwMDN/7PtLADzEHcx8qmcAUtn3FxFZrbW+vNFVteMhFMexj+/7faKqxP9okiRDzrkvALzHzL5NuejoOEDasiRJJqMo+sxau19EdgZB8FAURf4auTyARgrteJZuq9SbzxhzBsBNi2XfJcvpdhjZaI5GAEmSXOOcO09EsVIqu5QtHe/M1Rpord0hIm8A2MHM/h7QcHQjQMF/P3DOXZ3NZn/teoBKJr4AYLpSPviu4HfMfPNSxvvnCzzgnNvejFKrMmEYDi/S3LWVjx37mHlXM+vUhlAzOm2RISLnu9N+slwut2pwcHCCiCZExH+5mchmsyebWWgOwBgz3+lqRqldMszsd3zByOfzt4yOjn7b7Bod/8TUrKGLyV0CaHUHW9X/D9N93V6azvezAAAAAElFTkSuQmCC";function Ht(t,e=null){if(!t)return!1;const o=t.getBoundingClientRect(),n=e?e.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return o.bottom>=n.top&&o.top<=n.bottom&&o.right>=n.left&&o.left<=n.right}function Kt(t){return y(this,null,function*(){return t?(yield T(),t.value instanceof HTMLElement?t.value:t.value?document.querySelector(t.value):null):null})}function Wt(t){let e=`0px 0px ${t.distance}px 0px`;t.top&&(e=`${t.distance}px 0px 0px 0px`);const o=new IntersectionObserver(n=>{n[0].isIntersecting&&(t.firstload&&t.emit(),t.firstload=!0)},{root:t.parentEl,rootMargin:e});return t.infiniteLoading.value&&o.observe(t.infiniteLoading.value),o}function Q(t,e){return y(this,null,function*(){if(yield T(),!t.top)return;const o=t.parentEl||document.documentElement;o.scrollTop=o.scrollHeight-e})}const ct=(t,e)=>{const o=t.__vccOpts||t;for(const[n,r]of e)o[n]=r;return o},Qt={},Gt=t=>(vt("data-v-d3e37633"),t=t(),yt(),t),Ut={class:"container"},Yt=Gt(()=>m("div",{class:"spinner"},null,-1)),Vt=[Yt];function Zt(t,e){return b(),z("div",Ut,Vt)}const Xt=ct(Qt,[["render",Zt],["__scopeId","data-v-d3e37633"]]),Jt={class:"state-error"},qt=C({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(t,{emit:e}){const o=t;let n=null,r=0;const s=p(null),i=p(""),{top:a,firstload:l,distance:c}=o,{identifier:u,target:f}=ht(o),d={infiniteLoading:s,top:a,firstload:l,distance:c,parentEl:null,emit(){r=(d.parentEl||document.documentElement).scrollHeight,g.loading(),e("infinite",g)}},g={loading(){i.value="loading"},loaded(){return y(this,null,function*(){i.value="loaded",yield Q(d,r),Ht(s.value,d.parentEl)&&d.emit()})},complete(){return y(this,null,function*(){i.value="complete",yield Q(d,r),n==null||n.disconnect()})},error(){i.value="error"}};function h(){n==null||n.disconnect(),n=Wt(d)}return M(u,h),P(()=>y(this,null,function*(){d.parentEl=yield Kt(f),h()})),lt(()=>n==null?void 0:n.disconnect()),(A,R)=>(b(),z("div",{ref_key:"infiniteLoading",ref:s,class:"v3-infinite-loading"},[pt(m("div",null,[x(A.$slots,"spinner",{},()=>[E(Xt)],!0)],512),[[At,i.value=="loading"]]),i.value=="complete"?x(A.$slots,"complete",{key:0},()=>{var v;return[m("span",null,D(((v=A.slots)==null?void 0:v.complete)||"No more results!"),1)]},!0):H("",!0),i.value=="error"?x(A.$slots,"error",{key:1,retry:d.emit},()=>{var v;return[m("span",Jt,[m("span",null,D(((v=A.slots)==null?void 0:v.error)||"Oops something went wrong!"),1),m("button",{class:"retry",onClick:R[0]||(R[0]=(...N)=>d.emit&&d.emit(...N))},"retry")])]},!0):H("",!0)],512))}}),$t=ct(qt,[["__scopeId","data-v-4bdee133"]]);function te(t){return bt()?(_t(t),!0):!1}const ut=typeof window!="undefined";function ee(t,e){function o(...n){t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})}return o}function ne(t,e={}){let o,n;return s=>{const i=w(t),a=w(e.maxWait);if(o&&clearTimeout(o),i<=0||a!==void 0&&a<=0)return n&&(clearTimeout(n),n=null),s();a&&!n&&(n=setTimeout(()=>{o&&clearTimeout(o),n=null,s()},a)),o=setTimeout(()=>{n&&clearTimeout(n),n=null,s()},i)}}function oe(t,e=200,o={}){return ee(ne(e,o),t)}function re(t){var e;const o=w(t);return(e=o==null?void 0:o.$el)!=null?e:o}const ie=ut?window:void 0,G=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},U="__vueuse_ssr_handlers__";G[U]=G[U]||{};var Y=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(t,e)=>{var o={};for(var n in t)se.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(t!=null&&Y)for(var n of Y(t))e.indexOf(n)<0&&ae.call(t,n)&&(o[n]=t[n]);return o};function ce(t,e,o={}){const n=o,{window:r=ie}=n,s=le(n,["window"]);let i;const a=r&&"ResizeObserver"in r,l=()=>{i&&(i.disconnect(),i=void 0)},c=M(()=>re(t),f=>{l(),a&&r&&f&&(i=new ResizeObserver(e),i.observe(f,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return te(u),{isSupported:a,stop:u}}var V,Z;ut&&(window!=null&&window.navigator)&&((V=window==null?void 0:window.navigator)!=null&&V.platform)&&/iP(ad|hone|od)/.test((Z=window==null?void 0:window.navigator)==null?void 0:Z.platform);const ue=({breakpoints:t,wrapperWidth:e,gutter:o,hasAroundGutter:n,initWidth:r})=>{const s=Object.keys(t).map(u=>Number(u)).sort((u,f)=>u-f);let i=e,a=!1;for(const u of s)if(e<=u){i=u,a=!0;break}if(!a)return r;let l=0;const c=t[i].rowPerView;return n?l=(e-o)/c-o:l=(e-(c-1)*o)/c,Math.floor(l)};function de(t){const e=p(0),o=p(null);ce(o,i=>{const a=i[0],{width:l}=a.contentRect;e.value=l});const n=B(()=>ue({wrapperWidth:e.value,breakpoints:t.breakpoints,gutter:t.gutter,hasAroundGutter:t.hasAroundGutter,initWidth:t.width})),r=B(()=>{const i=t.hasAroundGutter?-t.gutter:t.gutter,a=(e.value+i)/(n.value+t.gutter);return Math.floor(a)}),s=B(()=>{if(t.align==="left")return 0;if(t.align==="center"){const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(n.value+t.gutter)+i;return(e.value-a)/2}else{const i=t.hasAroundGutter?t.gutter:-t.gutter,a=r.value*(n.value+t.gutter)+i;return e.value-a}});return{waterfallWrapper:o,wrapperWidth:e,colWidth:n,cols:r,offsetX:s}}function dt(t,e){return new RegExp(`(^|\\s)${e}(\\s|$)`).test(t.className)}function X(t,e){if(dt(t,e))return;const o=t.className.split(/\s+/);o.push(e),t.className=o.join(" ")}const fe=document.createElement("div").style,L=(()=>{const t={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(const e in t){const o=t[e];if(fe[o]!==void 0)return e}return!1})();function S(t){return L===!1?!1:L==="standard"?t:L+t.charAt(0).toUpperCase()+t.substr(1)}const J=S("transform"),q=S("animation-duration"),$=S("animation-delay"),tt=S("transition"),et=S("animation-fill-mode");function me(t,e,o,n,r){const s=p([]),i=p(0),a=f=>{const d=t.hasAroundGutter?f+1:f;return t.gutter*d+e.value*f+n.value},l=()=>{s.value=new Array(o.value).fill(t.hasAroundGutter?t.gutter:0)},c=ge(t);return{wrapperHeight:i,layoutHandle:()=>y(this,null,function*(){return new Promise(f=>{l();const d=[];if(r&&r.value&&r.value.childNodes.forEach(g=>{g.className==="waterfall-item"&&d.push(g)}),d.length===0)return!1;for(let g=0;g{const gt=t.posDuration/1e3;tt&&(v[tt]=`transform ${gt}s`)})}i.value=Math.max.apply(null,s.value),setTimeout(()=>{f(!0)},t.posDuration)})})}}function ge(t){return(e,o)=>{const n=e.firstChild;if(n&&!dt(n,t.animationPrefix)){const r=`${t.animationDuration/1e3}s`,s=`${t.animationDelay/1e3}s`,i=n.style;X(n,t.animationPrefix),X(n,t.animationEffect),q&&(i[q]=r),$&&(i[$]=s),et&&(i[et]="both"),o&&setTimeout(()=>{o()},t.animationDuration+t.animationDelay)}}}const he=typeof window!="undefined"&&window!==null,nt=ve(),pe=Object.prototype.propertyIsEnumerable,ot=Object.getOwnPropertySymbols;function Ae(t,...e){return e.map(n=>n.replace(/\[(\w+)\]/g,".$1").split(".").reduce((r,s)=>r&&r[s],t))}function ve(){return he&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function I(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function ye(t){return typeof t=="object"?t===null:typeof t!="function"}function we(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function be(t,...e){if(!I(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof ot!="function")return t;for(const o of e){const n=ot(o);for(const r of n)pe.call(o,r)&&(t[r]=o[r])}return t}function ft(t,...e){let o=0;for(ye(t)&&(t=e[o++]),t||(t={});o{const r=new Image;r.onload=()=>{o(r)},r.onerror=()=>{n(new Error("Image load error"))},e&&(r.crossOrigin="Anonymous"),r.src=t})}var O;(function(t){t.LOADING="loading",t.LOADED="loaded",t.ERROR="error"})(O||(O={}));const _e={rootMargin:"0px",threshold:0},it="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ee="";class Oe{constructor(e=!0,o,n=!0){this.lazyActive=!0,this.crossOrigin=!0,this.options={loading:it,error:Ee,observerOptions:_e,log:!0,ratioCalculator:(r,s)=>s/r},this._images=new WeakMap,this.lazyActive=e,this.crossOrigin=n,this.config(o)}config(e={}){ft(this.options,e),e.ratioCalculator&&(this.options.ratioCalculator=e.ratioCalculator)}mount(e,o,n){const{src:r,loading:s,error:i}=this._valueFormatter(o);e.setAttribute("lazy",O.LOADING),e.setAttribute("src",s||it),this.lazyActive?(nt||(this._setImageSrc(e,r,n,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,r,n,i)):this._setImageSrc(e,r,n,i)}resize(e,o){const n=e.getAttribute("lazy"),r=e.getAttribute("src");n&&n===O.LOADED&&r&&rt(r,this.crossOrigin).then(s=>{const{width:i,height:a}=s,l=e.width/i*a;e.height=l;const c=e.style;c.height=`${l}px`,o()})}unmount(e){const o=this._realObserver(e);o&&o.unobserve(e),this._images.delete(e)}_setImageSrc(e,o,n,r){!o||e.getAttribute("src")===o||rt(o,this.crossOrigin).then(i=>{var a,l;const{width:c,height:u}=i,f=((l=(a=this.options).ratioCalculator)==null?void 0:l.call(a,c,u))||u/c,d=e.parentNode.parentNode;d.style.paddingBottom=`${f*100}%`,e.setAttribute("lazy",O.LOADED),e.removeAttribute("src"),e.src=i.src,n(!0)}).catch(()=>{const i=this._realObserver(e);i&&i.disconnect(),r&&(e.setAttribute("lazy",O.ERROR),e.setAttribute("src",r),n(!1)),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${o} `)})})}_isOpenLazy(){return nt&&this.lazyActive}_initIntersectionObserver(e,o,n,r){const s=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{if(l.isIntersecting){const c=this._realObserver(e);c&&c.unobserve(l.target),this._setImageSrc(e,o,n,r)}})},s));const i=this._realObserver(e);i&&i.observe(e)}_valueFormatter(e){let o=e,n=this.options.loading,r=this.options.error;return I(e)&&(o=e.src,n=e.loading||this.options.loading,r=e.error||this.options.error),{src:o,loading:n,error:r}}_log(e){this.options.log&&e()}_realObserver(e){return this._images.get(e)}}var mt=(t,e)=>{for(const[o,n]of e)t[o]=n;return t};const k=C({props:{list:{type:Array,default:()=>[]},rowKey:{type:String,default:"id"},imgSelector:{type:String,default:"src"},width:{type:Number,default:200},breakpoints:{type:Object,default:()=>({1200:{rowPerView:3},800:{rowPerView:2},500:{rowPerView:1}})},gutter:{type:Number,default:10},hasAroundGutter:{type:Boolean,default:!0},posDuration:{type:Number,default:300},animationPrefix:{type:String,default:"animate__animated"},animationEffect:{type:String,default:"fadeIn"},animationDuration:{type:Number,default:1e3},animationDelay:{type:Number,default:300},animationCancel:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#fff"},lazyload:{type:Boolean,default:!0},loadProps:{type:Object,default:()=>{}},crossOrigin:{type:Boolean,default:!0},delay:{type:Number,default:300},align:{type:String,default:"center"}},setup(t,e){const o=new Oe(t.lazyload,t.loadProps,t.crossOrigin);F("lazy",o);const{waterfallWrapper:n,wrapperWidth:r,colWidth:s,cols:i,offsetX:a}=de(t),{wrapperHeight:l,layoutHandle:c}=me(t,s,i,a,n),u=oe(()=>{c().then(()=>{e.emit("afterRender")})},t.delay);M(()=>[r,s,t.list],()=>{r.value>0&&u()},{deep:!0});const f=p(0);return F("sizeChangeTime",f),F("imgLoaded",u),{colWidth:s,waterfallWrapper:n,wrapperHeight:l,getRenderURL:h=>Ae(h,t.imgSelector)[0],getKey:(h,_)=>h[t.rowKey]||_,renderer:u}}}),st=()=>{wt(t=>({"304003ce":t.backgroundColor}))},at=k.setup;k.setup=at?(t,e)=>(st(),at(t,e)):st;const ze=k,Ie={class:"waterfall-card"};function Se(t,e,o,n,r,s){return b(),z("div",{ref:"waterfallWrapper",class:"waterfall-list",style:zt({height:`${t.wrapperHeight}px`})},[(b(!0),z(Et,null,Ot(t.list,(i,a)=>(b(),z("div",{key:t.getKey(i,a),class:"waterfall-item"},[m("div",Ie,[x(t.$slots,"default",{item:i,index:a,url:t.getRenderURL(i)},void 0,!0)])]))),128))],4)}var Re=mt(ze,[["render",Se],["__scopeId","data-v-1c4c57b0"]]);const xe=C({props:{url:{type:String,default:""},title:{type:String,default:""},alt:{type:String,default:""}},setup(t,e){const o=K("imgLoaded"),n=K("lazy"),r=p(null);P(()=>{s()}),lt(()=>{i()});function s(){r.value&&n.mount(r.value,t.url,l=>{o(),l?e.emit("success",t.url):e.emit("error",t.url)})}function i(){r.value&&n.unmount(r.value)}function a(){e.emit("load",t.url)}return{lazyRef:r,imageLoad:a}}}),De={class:"lazy__box"},Ce={class:"lazy__resource"},Ne=["title","alt"];function Fe(t,e,o,n,r,s){return b(),z("div",De,[m("div",Ce,[m("img",{ref:"lazyRef",class:"lazy__img",title:t.title,alt:t.alt,onLoad:e[0]||(e[0]=(...i)=>t.imageLoad&&t.imageLoad(...i))},null,40,Ne)])])}var Be=mt(xe,[["render",Fe],["__scopeId","data-v-640f8d40"]]);const je=["onClick"],Le={class:"overflow-hidden"},Me={class:"px-4 pt-2 pb-4 border-t border-t-gray-800"},Pe={class:"pb-4 text-gray-50 group-hover:text-yellow-300"},Te={class:"pt-3 flex justify-between items-center border-t border-t-gray-600 border-opacity-50"},ke={class:"text-gray-50"},He=["onClick"],Ke=C({__name:"index",setup(t){const e=It({rowKey:"id",gutter:10,hasAroundGutter:!0,width:320,breakpoints:{1200:{rowPerView:4},800:{rowPerView:3},500:{rowPerView:2}},animationEffect:"animate__zoomInUp",animationDuration:1e3,animationDelay:300,imgSelector:"src.original",loadProps:{loading:kt,error:Tt},lazyload:!0}),o=p(1),n=p([]),r=p(),s=p();function i(){s.value=Rt.service({target:".content",background:"transparent",text:"加载中"}),Pt({page:o.value,pageSize:r.value}).then(c=>{setTimeout(()=>{n.value.push(...c),o.value+=1,T(()=>{s.value.close()})},500)})}function a(c,u){n.value.splice(u,1)}function l(c){}return P(()=>{i()}),(c,u)=>{const f=W("el-backtop"),d=W("el-scrollbar");return b(),St(d,{"max-height":"calc(100vh - 120px)",class:"content"},{default:j(()=>[E(w(Re),Dt({list:n.value},e),{item:j(({item:g,url:h,index:_})=>[m("div",{class:"bg-gray-900 rounded-lg shadow-md overflow-hidden transition-all duration-300 ease-linear hover:shadow-lg hover:shadow-gray-600 group",onClick:A=>void 0},[m("div",Le,[E(w(Be),{url:h,class:"cursor-pointer transition-all duration-300 ease-linear group-hover:scale-105"},null,8,["url"])]),m("div",Me,[m("h4",Pe,D(g.name),1),m("div",Te,[m("div",ke,"$ "+D(g.price),1),m("div",null,[m("button",{class:"px-3 h-7 rounded-full bg-red-500 text-sm text-white shadow-lg transition-all duration-300 hover:bg-red-600",onClick:xt(A=>a(g,_),["stop"])}," 删除 ",8,He)])])])],8,je)]),_:1},16,["list"]),E(f,{title:"回到顶部",right:35,bottom:50,"visibility-height":400,target:".content .el-scrollbar__wrap"},{default:j(()=>[E(w(Nt))]),_:1}),E(w($t),{firstload:!1,onInfinite:i})]),_:1})}}}),Ue=Ct(Ke,[["__scopeId","data-v-06e29e61"]]);export{Ue as default}; diff --git a/static/js/index-CwKPcD4G.js b/static/js/index-CwKPcD4G.js deleted file mode 100644 index e6b92abb63..0000000000 --- a/static/js/index-CwKPcD4G.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-Bq4tmEcf.js";import"./columns-oRfGlFDG.js";import"./data-Dd4sCrbk.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-BaazyecG.js b/static/js/index-CyDTEcqw.js similarity index 87% rename from static/js/index-BaazyecG.js rename to static/js/index-CyDTEcqw.js index f3ecb6c175..9356964797 100644 --- a/static/js/index-BaazyecG.js +++ b/static/js/index-CyDTEcqw.js @@ -1 +1 @@ -import{d as p,a as r,R as d,k as i,g as s,t as o,u as a,i as m,e as c,f as _}from"./index-AFhnwzwZ.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},B=p({name:"Menu1-1",__name:"index",setup(V){const e=r(""),{t:n}=d();return(k,t)=>{const u=c("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.pureMenu1")),1),s("p",x,o(a(n)("menus.pureMenu1-1")),1),m(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value=l)},null,8,["modelValue"])])}}});export{B as default}; +import{d as p,a as r,R as d,k as i,g as s,t as o,u as a,i as m,e as c,f as _}from"./index-DqH6biyS.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},B=p({name:"Menu1-1",__name:"index",setup(V){const e=r(""),{t:n}=d();return(k,t)=>{const u=c("el-input");return _(),i("div",f,[s("p",null,o(a(n)("menus.pureMenu1")),1),s("p",x,o(a(n)("menus.pureMenu1-1")),1),m(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value=l)},null,8,["modelValue"])])}}});export{B as default}; diff --git a/static/js/index-CyPgGZDP.js b/static/js/index-CyPgGZDP.js deleted file mode 100644 index 4f1de2c9d3..0000000000 --- a/static/js/index-CyPgGZDP.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DdDOZHtg.js";import"./columns-Bq1kzona.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-D-N1x-50.js b/static/js/index-D-N1x-50.js new file mode 100644 index 0000000000..cbd38102fd --- /dev/null +++ b/static/js/index-D-N1x-50.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BbPegNS9.js";import"./columns-FB2NJ8pL.js";import"./xlsx-DaVhO591.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-2j2geX_R.js b/static/js/index-DBfZyh5_.js similarity index 93% rename from static/js/index-2j2geX_R.js rename to static/js/index-DBfZyh5_.js index b4ee4f4599..58de7f073d 100644 --- a/static/js/index-2j2geX_R.js +++ b/static/js/index-DBfZyh5_.js @@ -1 +1 @@ -import{f as s,k as r,g as n,d,i,u as o,ae as a,_ as u}from"./index-AFhnwzwZ.js";const c={width:"32",height:"32",viewBox:"0 0 48 48"};function p(l,t){return s(),r("svg",c,t[0]||(t[0]=[n("path",{fill:"#2F88FF","fill-rule":"evenodd",stroke:"#000","stroke-linejoin":"round","stroke-width":"4",d:"M44 40.836q-7.34-8.96-13.036-10.168t-10.846-.365V41L4 23.545 20.118 7v10.167q9.523.075 16.192 6.833 6.668 6.758 7.69 16.836Z","clip-rule":"evenodd"},null,-1)]))}const f={render:p},_={class:"w-full h-full text-center"},x=d({name:"Empty",__name:"index",setup(l){const t=a();return(k,e)=>(s(),r("div",_,[e[1]||(e[1]=n("h1",null,"业务内容模块",-1)),e[2]||(e[2]=n("p",null,"使用场景:需要外嵌平台某个页面,不需要展示菜单导航以及额外模块",-1)),n("div",{class:"back",title:"返回上一页",onClick:e[0]||(e[0]=v=>o(t).go(-1))},[i(o(f),{class:"w-[80px] h-[80px]"})])]))}}),w=u(x,[["__scopeId","data-v-b1cd7caf"]]);export{w as default}; +import{f as s,k as r,g as n,d,i,u as o,ae as a,_ as u}from"./index-DqH6biyS.js";const c={width:"32",height:"32",viewBox:"0 0 48 48"};function p(l,t){return s(),r("svg",c,t[0]||(t[0]=[n("path",{fill:"#2F88FF","fill-rule":"evenodd",stroke:"#000","stroke-linejoin":"round","stroke-width":"4",d:"M44 40.836q-7.34-8.96-13.036-10.168t-10.846-.365V41L4 23.545 20.118 7v10.167q9.523.075 16.192 6.833 6.668 6.758 7.69 16.836Z","clip-rule":"evenodd"},null,-1)]))}const f={render:p},_={class:"w-full h-full text-center"},x=d({name:"Empty",__name:"index",setup(l){const t=a();return(k,e)=>(s(),r("div",_,[e[1]||(e[1]=n("h1",null,"业务内容模块",-1)),e[2]||(e[2]=n("p",null,"使用场景:需要外嵌平台某个页面,不需要展示菜单导航以及额外模块",-1)),n("div",{class:"back",title:"返回上一页",onClick:e[0]||(e[0]=v=>o(t).go(-1))},[i(o(f),{class:"w-[80px] h-[80px]"})])]))}}),w=u(x,[["__scopeId","data-v-b1cd7caf"]]);export{w as default}; diff --git a/static/js/index-DqrL1QBV.js b/static/js/index-DGi8l-e5.js similarity index 97% rename from static/js/index-DqrL1QBV.js rename to static/js/index-DGi8l-e5.js index 442710eb91..579fecb5fd 100644 --- a/static/js/index-DqrL1QBV.js +++ b/static/js/index-DGi8l-e5.js @@ -1 +1 @@ -import{d as T,a as k,p as M,b as h,w as r,e as i,ae as q,ao as P,ap as F,A as G,f as p,g as t,B as V,h as a,i as l,a0 as Y,t as N,k as C,u,v as K,q as Q,j as S,T as W,J as j,G as X,H as ee,_ as te}from"./index-AFhnwzwZ.js";import{S as se}from"./sortable.esm-Br3T5NCo.js";import{_ as oe}from"./form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js";import{d as ne}from"./plus-C98eNXam.js";import"./mock-Kl59S0Qr.js";const ae="/vue-pure-admin/static/jpg/1-CNu9tHLV.jpg",le="/vue-pure-admin/static/jpg/2-Dn7NyzRJ.jpg",ie="/vue-pure-admin/static/jpg/3-BNVYzMvF.jpg",re={width:24,height:24,body:''},pe={width:24,height:24,body:''},de={class:"card-header"},ue={key:0,class:"mt-[35%] m-auto"},ce=["onMouseenter"],me=["src"],ve=["onClick"],ge=["onClick"],_e={title:"移除",class:"hover:text-[var(--el-color-danger)]"},fe={key:0,effect:"dark",round:"",size:"large",type:"info",class:"img-name"},xe={class:"text-[#fff] dark:text-black"},he={class:"flex justify-between"},ye={class:"flex flex-wrap"},be={class:"text-[red] text-[12px] flex flex-auto items-center justify-end"},we=T({name:"PureUpload",__name:"index",setup(ke){const o=k([]),B=q(),c=k(0),_=k(!1),L=M(()=>P(o.value,"url")),E=M(()=>F(o.value,"name","size")),U=s=>new URL(Object.assign({"./imgs/1.jpg":ae,"./imgs/2.jpg":le,"./imgs/3.jpg":ie})[`./imgs/${s}.jpg`],import.meta.url).href,I=Array.from({length:3}).map((s,e)=>U(e+1)),A=s=>{if(!["image/jpeg","image/png","image/gif"].includes(s.type))return j("只能上传图片"),!1;if(s.size/1024/1024>2)return j("单个图片大小不能超过2MB"),!1},Z=()=>{j("最多上传3张图片,请先删除在上传")},D=s=>{o.value.splice(o.value.indexOf(s),1)},H=s=>{c.value=o.value.findIndex(e=>e.uid===s.uid),_.value=!0},$=()=>document.querySelectorAll("#pure-upload-item"),O=s=>{var d,f,x;const e="el-upload-list",m=o.value.findIndex(v=>v.uid===s);(x=(f=(d=$())==null?void 0:d[m])==null?void 0:f.classList)==null||x.add(`${e}__item-actions`);const y=document.querySelector(`.${e}`);se.create(y,{handle:`.${e}__item`,onEnd:({newIndex:v,oldIndex:g})=>{const b=o.value[g];o.value.splice(g,1),o.value.splice(v,0,b),$().forEach(w=>{w.classList.remove(`${e}__item-actions`)})}})},J=()=>{[{name:"巴旦木.jpeg",type:"img"},{name:"恭喜发财.png",type:"img"},{name:"可爱动物.gif",type:"gif"},{name:"pure-upload.csv",type:"other"},{name:"pure-upload.txt",type:"other"}].forEach(s=>{X.get(`https://xiaoxian521.github.io/hyperlink/${s.type}/${s.name}`,{responseType:"blob"}).then(({data:e})=>{ee(e,s.name)})})};return(s,e)=>{const m=i("el-link"),y=i("el-button"),d=i("IconifyIconOffline"),f=i("el-progress"),x=i("el-upload"),v=i("el-image-viewer"),g=i("el-divider"),b=i("el-image"),w=i("el-card"),R=G("tippy");return p(),h(w,{shadow:"never"},{header:r(()=>[t("div",de,[V((p(),h(m,{href:"https://element-plus.org/zh-CN/component/upload.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:r(()=>e[4]||(e[4]=[a(" 文件上传 ")])),_:1})),[[R,{content:"点击查看详细文档"}]])]),l(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/upload",target:"_blank"},{default:r(()=>e[5]||(e[5]=[a(" 代码位置 src/views/components/upload ")])),_:1})]),default:r(()=>[l(y,{class:"mb-4",text:"",bg:"",onClick:J},{default:r(()=>e[6]||(e[6]=[a(" 点击下载安全文件进行上传测试 ")])),_:1}),e[15]||(e[15]=t("p",{class:"mb-4"},[a(" 综合示例"),t("span",{class:"text-[14px]"},[a(" ( "),t("span",{class:"text-[red]"},"自动上传"),a(" 、拖拽上传、拖拽排序、设置请求头、上传进度、大图预览、多选文件、最大文件数量、文件类型限制、文件大小限制、删除文件) ")])],-1)),V(t("p",{class:"mb-4"},N(E.value),513),[[Y,o.value.length>0]]),l(x,{"file-list":o.value,"onUpdate:fileList":e[0]||(e[0]=n=>o.value=n),drag:"",multiple:"",class:"pure-upload","list-type":"picture-card",accept:"image/jpeg,image/png,image/gif",action:"https://run.mocky.io/v3/3aa761d7-b0b3-4a03-96b3-6168d4f7467b",limit:3,headers:{Authorization:"eyJhbGciOiJIUzUxMiJ9.admin"},"on-exceed":Z,"before-upload":A},{file:r(({file:n})=>[n.status=="ready"||n.status=="uploading"?(p(),C("div",ue,[e[7]||(e[7]=t("p",{class:"font-medium"},"文件上传中",-1)),l(f,{class:"mt-2","stroke-width":2,"text-inside":!0,"show-text":!1,percentage:n.percentage},null,8,["percentage"])])):(p(),C("div",{key:1,onMouseenter:Q(z=>O(n.uid),["stop"])},[t("img",{class:"el-upload-list__item-thumbnail select-none",src:n.url},null,8,me),t("span",{id:"pure-upload-item",class:K(["el-upload-list__item-actions",o.value.length>1&&"!cursor-move"])},[t("span",{title:"查看",class:"hover:text-primary",onClick:z=>H(n)},[l(d,{icon:u(re),class:"hover:scale-125 duration-100"},null,8,["icon"])],8,ve),t("span",{class:"el-upload-list__item-delete",onClick:z=>D(n)},[t("span",_e,[l(d,{icon:u(pe),class:"hover:scale-125 duration-100"},null,8,["icon"])])],8,ge)],2)],40,ce))]),default:r(()=>[l(d,{icon:u(ne),class:"m-auto mt-4",width:"30"},null,8,["icon"])]),_:1},8,["file-list"]),_.value?(p(),h(v,{key:0,initialIndex:c.value,"url-list":L.value,"zoom-rate":1.2,"max-scale":7,"min-scale":.2,onClose:e[1]||(e[1]=n=>_.value=!1),onSwitch:e[2]||(e[2]=n=>c.value=n)},null,8,["initialIndex","url-list"])):S("",!0),(p(),h(W,{to:"body"},[o.value[c.value]&&_.value?(p(),C("div",fe,[t("p",xe,N(o.value[c.value].name),1)])):S("",!0)])),e[16]||(e[16]=t("p",{class:"el-upload__tip"}," 可拖拽上传最多3张单个不超过2MB且格式为jpeg/png/gif的图片 ",-1)),l(g),e[17]||(e[17]=t("p",{class:"mb-4 mt-4"},[a(" 结合表单校验进行"),t("span",{class:"text-[red]"},"手动上传"),t("span",{class:"text-[14px]"}," (可先打开浏览器控制台找到Network,然后填写表单内容后点击点提交观察请求变化) ")],-1)),t("div",he,[l(oe),t("div",null,[e[8]||(e[8]=t("p",{class:"text-center"},"上传接口相关截图",-1)),l(b,{class:"w-[200px] rounded-md",src:u(I)[0],"preview-src-list":u(I),fit:"cover"},null,8,["src","preview-src-list"])])]),l(g),t("div",ye,[t("p",null,[e[9]||(e[9]=a(" 裁剪、上传头像请参考 ")),t("span",{class:"font-bold text-[18x] cursor-pointer hover:text-[red]",onClick:e[3]||(e[3]=n=>u(B).push({name:"SystemUser"}))}," 系统管理-用户管理 "),e[10]||(e[10]=a(" 表格操作栏中的上传头像功能 "))]),t("p",be,[e[12]||(e[12]=a(" 免责声明:上传接口使用免费开源的 ")),l(m,{href:"https://designer.mocky.io/",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:r(()=>e[11]||(e[11]=[a("  Mocky  ")])),_:1}),e[13]||(e[13]=t("span",{class:"font-bold text-[18x]"}," 请不要上传重要信息 ",-1)),e[14]||(e[14]=a(",如果造成任何损失,我们概不负责 "))])])]),_:1})}}}),Me=te(we,[["__scopeId","data-v-04dda22c"]]);export{Me as default}; +import{d as T,a as k,p as M,b as h,w as r,e as i,ae as q,ao as P,ap as F,A as G,f as p,g as t,B as V,h as a,i as l,a0 as Y,t as N,k as C,u,v as K,q as Q,j as S,T as W,J as j,G as X,H as ee,_ as te}from"./index-DqH6biyS.js";import{S as se}from"./sortable.esm-Br3T5NCo.js";import{_ as oe}from"./form.vue_vue_type_script_setup_true_lang-DagxPpTx.js";import{d as ne}from"./plus-C98eNXam.js";import"./mock-DMcMJ3Ay.js";const ae="/vue-pure-admin/static/jpg/1-CNu9tHLV.jpg",le="/vue-pure-admin/static/jpg/2-Dn7NyzRJ.jpg",ie="/vue-pure-admin/static/jpg/3-BNVYzMvF.jpg",re={width:24,height:24,body:''},pe={width:24,height:24,body:''},de={class:"card-header"},ue={key:0,class:"mt-[35%] m-auto"},ce=["onMouseenter"],me=["src"],ve=["onClick"],ge=["onClick"],_e={title:"移除",class:"hover:text-[var(--el-color-danger)]"},fe={key:0,effect:"dark",round:"",size:"large",type:"info",class:"img-name"},xe={class:"text-[#fff] dark:text-black"},he={class:"flex justify-between"},ye={class:"flex flex-wrap"},be={class:"text-[red] text-[12px] flex flex-auto items-center justify-end"},we=T({name:"PureUpload",__name:"index",setup(ke){const o=k([]),B=q(),c=k(0),_=k(!1),L=M(()=>P(o.value,"url")),E=M(()=>F(o.value,"name","size")),U=s=>new URL(Object.assign({"./imgs/1.jpg":ae,"./imgs/2.jpg":le,"./imgs/3.jpg":ie})[`./imgs/${s}.jpg`],import.meta.url).href,I=Array.from({length:3}).map((s,e)=>U(e+1)),A=s=>{if(!["image/jpeg","image/png","image/gif"].includes(s.type))return j("只能上传图片"),!1;if(s.size/1024/1024>2)return j("单个图片大小不能超过2MB"),!1},Z=()=>{j("最多上传3张图片,请先删除在上传")},D=s=>{o.value.splice(o.value.indexOf(s),1)},H=s=>{c.value=o.value.findIndex(e=>e.uid===s.uid),_.value=!0},$=()=>document.querySelectorAll("#pure-upload-item"),O=s=>{var d,f,x;const e="el-upload-list",m=o.value.findIndex(v=>v.uid===s);(x=(f=(d=$())==null?void 0:d[m])==null?void 0:f.classList)==null||x.add(`${e}__item-actions`);const y=document.querySelector(`.${e}`);se.create(y,{handle:`.${e}__item`,onEnd:({newIndex:v,oldIndex:g})=>{const b=o.value[g];o.value.splice(g,1),o.value.splice(v,0,b),$().forEach(w=>{w.classList.remove(`${e}__item-actions`)})}})},J=()=>{[{name:"巴旦木.jpeg",type:"img"},{name:"恭喜发财.png",type:"img"},{name:"可爱动物.gif",type:"gif"},{name:"pure-upload.csv",type:"other"},{name:"pure-upload.txt",type:"other"}].forEach(s=>{X.get(`https://xiaoxian521.github.io/hyperlink/${s.type}/${s.name}`,{responseType:"blob"}).then(({data:e})=>{ee(e,s.name)})})};return(s,e)=>{const m=i("el-link"),y=i("el-button"),d=i("IconifyIconOffline"),f=i("el-progress"),x=i("el-upload"),v=i("el-image-viewer"),g=i("el-divider"),b=i("el-image"),w=i("el-card"),R=G("tippy");return p(),h(w,{shadow:"never"},{header:r(()=>[t("div",de,[V((p(),h(m,{href:"https://element-plus.org/zh-CN/component/upload.html",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:r(()=>e[4]||(e[4]=[a(" 文件上传 ")])),_:1})),[[R,{content:"点击查看详细文档"}]])]),l(m,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/upload",target:"_blank"},{default:r(()=>e[5]||(e[5]=[a(" 代码位置 src/views/components/upload ")])),_:1})]),default:r(()=>[l(y,{class:"mb-4",text:"",bg:"",onClick:J},{default:r(()=>e[6]||(e[6]=[a(" 点击下载安全文件进行上传测试 ")])),_:1}),e[15]||(e[15]=t("p",{class:"mb-4"},[a(" 综合示例"),t("span",{class:"text-[14px]"},[a(" ( "),t("span",{class:"text-[red]"},"自动上传"),a(" 、拖拽上传、拖拽排序、设置请求头、上传进度、大图预览、多选文件、最大文件数量、文件类型限制、文件大小限制、删除文件) ")])],-1)),V(t("p",{class:"mb-4"},N(E.value),513),[[Y,o.value.length>0]]),l(x,{"file-list":o.value,"onUpdate:fileList":e[0]||(e[0]=n=>o.value=n),drag:"",multiple:"",class:"pure-upload","list-type":"picture-card",accept:"image/jpeg,image/png,image/gif",action:"https://run.mocky.io/v3/3aa761d7-b0b3-4a03-96b3-6168d4f7467b",limit:3,headers:{Authorization:"eyJhbGciOiJIUzUxMiJ9.admin"},"on-exceed":Z,"before-upload":A},{file:r(({file:n})=>[n.status=="ready"||n.status=="uploading"?(p(),C("div",ue,[e[7]||(e[7]=t("p",{class:"font-medium"},"文件上传中",-1)),l(f,{class:"mt-2","stroke-width":2,"text-inside":!0,"show-text":!1,percentage:n.percentage},null,8,["percentage"])])):(p(),C("div",{key:1,onMouseenter:Q(z=>O(n.uid),["stop"])},[t("img",{class:"el-upload-list__item-thumbnail select-none",src:n.url},null,8,me),t("span",{id:"pure-upload-item",class:K(["el-upload-list__item-actions",o.value.length>1&&"!cursor-move"])},[t("span",{title:"查看",class:"hover:text-primary",onClick:z=>H(n)},[l(d,{icon:u(re),class:"hover:scale-125 duration-100"},null,8,["icon"])],8,ve),t("span",{class:"el-upload-list__item-delete",onClick:z=>D(n)},[t("span",_e,[l(d,{icon:u(pe),class:"hover:scale-125 duration-100"},null,8,["icon"])])],8,ge)],2)],40,ce))]),default:r(()=>[l(d,{icon:u(ne),class:"m-auto mt-4",width:"30"},null,8,["icon"])]),_:1},8,["file-list"]),_.value?(p(),h(v,{key:0,initialIndex:c.value,"url-list":L.value,"zoom-rate":1.2,"max-scale":7,"min-scale":.2,onClose:e[1]||(e[1]=n=>_.value=!1),onSwitch:e[2]||(e[2]=n=>c.value=n)},null,8,["initialIndex","url-list"])):S("",!0),(p(),h(W,{to:"body"},[o.value[c.value]&&_.value?(p(),C("div",fe,[t("p",xe,N(o.value[c.value].name),1)])):S("",!0)])),e[16]||(e[16]=t("p",{class:"el-upload__tip"}," 可拖拽上传最多3张单个不超过2MB且格式为jpeg/png/gif的图片 ",-1)),l(g),e[17]||(e[17]=t("p",{class:"mb-4 mt-4"},[a(" 结合表单校验进行"),t("span",{class:"text-[red]"},"手动上传"),t("span",{class:"text-[14px]"}," (可先打开浏览器控制台找到Network,然后填写表单内容后点击点提交观察请求变化) ")],-1)),t("div",he,[l(oe),t("div",null,[e[8]||(e[8]=t("p",{class:"text-center"},"上传接口相关截图",-1)),l(b,{class:"w-[200px] rounded-md",src:u(I)[0],"preview-src-list":u(I),fit:"cover"},null,8,["src","preview-src-list"])])]),l(g),t("div",ye,[t("p",null,[e[9]||(e[9]=a(" 裁剪、上传头像请参考 ")),t("span",{class:"font-bold text-[18x] cursor-pointer hover:text-[red]",onClick:e[3]||(e[3]=n=>u(B).push({name:"SystemUser"}))}," 系统管理-用户管理 "),e[10]||(e[10]=a(" 表格操作栏中的上传头像功能 "))]),t("p",be,[e[12]||(e[12]=a(" 免责声明:上传接口使用免费开源的 ")),l(m,{href:"https://designer.mocky.io/",target:"_blank",style:{"font-size":"16px","font-weight":"800"}},{default:r(()=>e[11]||(e[11]=[a("  Mocky  ")])),_:1}),e[13]||(e[13]=t("span",{class:"font-bold text-[18x]"}," 请不要上传重要信息 ",-1)),e[14]||(e[14]=a(",如果造成任何损失,我们概不负责 "))])])]),_:1})}}}),Me=te(we,[["__scopeId","data-v-04dda22c"]]);export{Me as default}; diff --git a/static/js/index-M7DqAzMo.js b/static/js/index-DI3zfSsa.js similarity index 74% rename from static/js/index-M7DqAzMo.js rename to static/js/index-DI3zfSsa.js index 4db82cb8af..1d4f622213 100644 --- a/static/js/index-M7DqAzMo.js +++ b/static/js/index-DI3zfSsa.js @@ -1 +1 @@ -import c from"./basic-ChpwFBaJ.js";import d from"./menuGroup-PkDKTT2E.js";import _ from"./menuDynamic-CCYM-yhI.js";import{d as i,b as p,w as t,e as n,f as u,g as m,i as e,h as f}from"./index-AFhnwzwZ.js";import"./index.esm-O8y2Za45.js";const x={class:"card-header"},B=i({name:"ContextMenu",__name:"index",setup(g){return(w,o)=>{const a=n("el-link"),s=n("el-col"),r=n("el-row"),l=n("el-card");return u(),p(l,{shadow:"never"},{header:t(()=>[m("div",x,[o[1]||(o[1]=m("p",{class:"font-medium"},"右键菜单",-1)),e(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/contextmenu",target:"_blank"},{default:t(()=>o[0]||(o[0]=[f(" 代码位置 src/views/components/contextmenu ")])),_:1})])]),default:t(()=>[e(r,{gutter:24},{default:t(()=>[e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(c)]),_:1}),e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(d)]),_:1}),e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(_)]),_:1})]),_:1})]),_:1})}}});export{B as default}; +import c from"./basic-bI2BOlqM.js";import d from"./menuGroup-F6qhjyI_.js";import _ from"./menuDynamic-TXnfFl_k.js";import{d as i,b as p,w as t,e as n,f as u,g as m,i as e,h as f}from"./index-DqH6biyS.js";import"./index.esm-Bkk3eerN.js";const x={class:"card-header"},B=i({name:"ContextMenu",__name:"index",setup(g){return(w,o)=>{const a=n("el-link"),s=n("el-col"),r=n("el-row"),l=n("el-card");return u(),p(l,{shadow:"never"},{header:t(()=>[m("div",x,[o[1]||(o[1]=m("p",{class:"font-medium"},"右键菜单",-1)),e(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/contextmenu",target:"_blank"},{default:t(()=>o[0]||(o[0]=[f(" 代码位置 src/views/components/contextmenu ")])),_:1})])]),default:t(()=>[e(r,{gutter:24},{default:t(()=>[e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(c)]),_:1}),e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(d)]),_:1}),e(s,{xs:24,sm:10,md:10,lg:8,xl:10},{default:t(()=>[e(_)]),_:1})]),_:1})]),_:1})}}});export{B as default}; diff --git a/static/js/index-stQayN7I.js b/static/js/index-DICHdd3y.js similarity index 85% rename from static/js/index-stQayN7I.js rename to static/js/index-DICHdd3y.js index ebbe3aa5c0..1cf8445e48 100644 --- a/static/js/index-stQayN7I.js +++ b/static/js/index-DICHdd3y.js @@ -1 +1 @@ -import{d as A,a as y,e as r,f as E,k as F,i as t,w as n,u as e,h as s,B as M,a0 as N,aa as P,_ as z}from"./index-AFhnwzwZ.js";import{useMenu as L}from"./hook-Ch_JvkHg.js";import{d as O,P as U}from"./refresh-lSteXGJu.js";import{u as m}from"./hooks-CaC3u4N2.js";import{d as j}from"./delete-Ce0TSdK5.js";import{d as q}from"./edit-pen-Ci7W0xNM.js";import{d as C}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js";import"./index-BSGz-TY2.js";import"./index-u0vKWnyJ.js";import"./index-XjHH2uHF.js";import"./system-ByM4snMa.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const G={class:"main"},H=A({name:"SystemMenu",__name:"index",setup(J){const u=y(),p=y(),{form:f,loading:c,columns:x,dataList:R,onSearch:_,resetForm:$,openDialog:d,handleDelete:S,handleSelectionChange:h}=L();function B(){p.value.setAdaptive()}return(K,o)=>{var v;const T=r("el-input"),g=r("el-form-item"),i=r("el-button"),V=r("el-form"),I=r("el-popconfirm"),D=r("pure-table");return E(),F("div",G,[t(V,{ref_key:"formRef",ref:u,inline:!0,model:e(f),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[t(g,{label:"菜单名称:",prop:"title"},{default:n(()=>[t(T,{modelValue:e(f).title,"onUpdate:modelValue":o[0]||(o[0]=l=>e(f).title=l),placeholder:"请输入菜单名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),t(g,null,{default:n(()=>[t(i,{type:"primary",icon:e(m)("ri:search-line"),loading:e(c),onClick:e(_)},{default:n(()=>o[3]||(o[3]=[s(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(i,{icon:e(m)(e(O)),onClick:o[1]||(o[1]=l=>e($)(u.value))},{default:n(()=>o[4]||(o[4]=[s(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(U),{title:"菜单管理(仅演示,操作后不生效)",columns:e(x),isExpandAll:!1,tableRef:(v=p.value)==null?void 0:v.getTableRef(),onRefresh:e(_),onFullscreen:B},{buttons:n(()=>[t(i,{type:"primary",icon:e(m)(e(C)),onClick:o[2]||(o[2]=l=>e(d)())},{default:n(()=>o[5]||(o[5]=[s(" 新增菜单 ")])),_:1},8,["icon"])]),default:n(({size:l,dynamicColumns:w})=>[t(D,{ref_key:"tableRef",ref:p,adaptive:"",adaptiveConfig:{offsetBottom:45},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto",loading:e(c),size:l,data:e(R),columns:w,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(h)},{operation:n(({row:a})=>{var b;return[t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(q)),onClick:k=>e(d)("修改",a)},{default:n(()=>o[6]||(o[6]=[s(" 修改 ")])),_:2},1032,["size","icon","onClick"]),M(t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(C)),onClick:k=>e(d)("新增",{parentId:a.id})},{default:n(()=>o[7]||(o[7]=[s(" 新增 ")])),_:2},1032,["size","icon","onClick"]),[[N,a.menuType!==3]]),t(I,{title:`是否确认删除菜单名称为${e(P)(a.title)}的这条数据${((b=a==null?void 0:a.children)==null?void 0:b.length)>0?"。注意下级菜单也会一并删除,请谨慎操作":""}`,onConfirm:k=>e(S)(a)},{reference:n(()=>[t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(j))},{default:n(()=>o[8]||(o[8]=[s(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]}),_:2},1032,["loading","size","data","columns","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}}),pe=z(H,[["__scopeId","data-v-8720b6cb"]]);export{pe as default}; +import{d as A,a as y,e as r,f as E,k as F,i as t,w as n,u as e,h as s,B as M,a0 as N,aa as P,_ as z}from"./index-DqH6biyS.js";import{useMenu as L}from"./hook-DUP9kbD9.js";import{d as O,P as U}from"./refresh-DeEyTuf-.js";import{u as m}from"./hooks-BoDRUKFd.js";import{d as j}from"./delete-Ce0TSdK5.js";import{d as q}from"./edit-pen-Ci7W0xNM.js";import{d as C}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js";import"./index-DZtY49CB.js";import"./index-CAi4pX1c.js";import"./index-DtSzCQP4.js";import"./system-Q00uAIzG.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const G={class:"main"},H=A({name:"SystemMenu",__name:"index",setup(J){const u=y(),p=y(),{form:f,loading:c,columns:x,dataList:R,onSearch:_,resetForm:$,openDialog:d,handleDelete:S,handleSelectionChange:h}=L();function B(){p.value.setAdaptive()}return(K,o)=>{var v;const T=r("el-input"),g=r("el-form-item"),i=r("el-button"),V=r("el-form"),I=r("el-popconfirm"),D=r("pure-table");return E(),F("div",G,[t(V,{ref_key:"formRef",ref:u,inline:!0,model:e(f),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[t(g,{label:"菜单名称:",prop:"title"},{default:n(()=>[t(T,{modelValue:e(f).title,"onUpdate:modelValue":o[0]||(o[0]=l=>e(f).title=l),placeholder:"请输入菜单名称",clearable:"",class:"!w-[180px]"},null,8,["modelValue"])]),_:1}),t(g,null,{default:n(()=>[t(i,{type:"primary",icon:e(m)("ri:search-line"),loading:e(c),onClick:e(_)},{default:n(()=>o[3]||(o[3]=[s(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),t(i,{icon:e(m)(e(O)),onClick:o[1]||(o[1]=l=>e($)(u.value))},{default:n(()=>o[4]||(o[4]=[s(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),t(e(U),{title:"菜单管理(仅演示,操作后不生效)",columns:e(x),isExpandAll:!1,tableRef:(v=p.value)==null?void 0:v.getTableRef(),onRefresh:e(_),onFullscreen:B},{buttons:n(()=>[t(i,{type:"primary",icon:e(m)(e(C)),onClick:o[2]||(o[2]=l=>e(d)())},{default:n(()=>o[5]||(o[5]=[s(" 新增菜单 ")])),_:1},8,["icon"])]),default:n(({size:l,dynamicColumns:w})=>[t(D,{ref_key:"tableRef",ref:p,adaptive:"",adaptiveConfig:{offsetBottom:45},"align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto",loading:e(c),size:l,data:e(R),columns:w,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(h)},{operation:n(({row:a})=>{var b;return[t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(q)),onClick:k=>e(d)("修改",a)},{default:n(()=>o[6]||(o[6]=[s(" 修改 ")])),_:2},1032,["size","icon","onClick"]),M(t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(C)),onClick:k=>e(d)("新增",{parentId:a.id})},{default:n(()=>o[7]||(o[7]=[s(" 新增 ")])),_:2},1032,["size","icon","onClick"]),[[N,a.menuType!==3]]),t(I,{title:`是否确认删除菜单名称为${e(P)(a.title)}的这条数据${((b=a==null?void 0:a.children)==null?void 0:b.length)>0?"。注意下级菜单也会一并删除,请谨慎操作":""}`,onConfirm:k=>e(S)(a)},{reference:n(()=>[t(i,{class:"reset-margin",link:"",type:"primary",size:l,icon:e(m)(e(j))},{default:n(()=>o[8]||(o[8]=[s(" 删除 ")])),_:2},1032,["size","icon"])]),_:2},1032,["title","onConfirm"])]}),_:2},1032,["loading","size","data","columns","onSelectionChange"])]),_:1},8,["columns","tableRef","onRefresh"])])}}}),pe=z(H,[["__scopeId","data-v-8720b6cb"]]);export{pe as default}; diff --git a/static/js/index-DMHy-rsy.js b/static/js/index-DMHy-rsy.js new file mode 100644 index 0000000000..0bdf0437a9 --- /dev/null +++ b/static/js/index-DMHy-rsy.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DoHhAYPD.js";import"./columns-DPyYTQWT.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-DOYGE0Zk.js b/static/js/index-DOYGE0Zk.js deleted file mode 100644 index 26ac8baf9c..0000000000 --- a/static/js/index-DOYGE0Zk.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-uqitQCPz.js";import"./columns-DZzMsn5t.js";import"./sortable.esm-Br3T5NCo.js";import"./index-AFhnwzwZ.js";import"./data-BCF1-ihA.js";export{o as default}; diff --git a/static/js/index-DRjwBl8B.js b/static/js/index-DRjwBl8B.js deleted file mode 100644 index 2943e15212..0000000000 --- a/static/js/index-DRjwBl8B.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-C4EmSHGZ.js";import"./columns-W6b6dVhJ.js";import"./index-AFhnwzwZ.js";import"./data-Ym5jS6hg.js";export{o as default}; diff --git a/static/js/index-D5iCjPOU.js b/static/js/index-DSKh-n_9.js similarity index 93% rename from static/js/index-D5iCjPOU.js rename to static/js/index-DSKh-n_9.js index 97fbfd6a57..207091ccc4 100644 --- a/static/js/index-D5iCjPOU.js +++ b/static/js/index-DSKh-n_9.js @@ -1 +1 @@ -import{R as B}from"./index-B9RHPT66.js";import{d as R,a as o,z as j,b as _,w as r,e as i,A as z,f as l,g as s,h as p,i as c,B as N,k as g,u as v,j as h,t as u,aM as V}from"./index-AFhnwzwZ.js";const D="/vue-pure-admin/static/png/avatar-BYZ7LL6-.png",I={class:"card-header"},A={class:"font-medium"},L={"element-loading-background":"transparent"},E={class:"flex flex-wrap justify-center items-center text-center"},J={key:1,class:"mt-1"},U=R({name:"Cropping",__name:"index",setup(M){const t=o(),f=o(),w=o(),d=o(!1),n=o("");function k({base64:m,blob:e,info:a}){t.value=a,n.value=m}return j(()=>{f.value.hide()}),(m,e)=>{const a=i("el-link"),b=i("el-image"),x=i("el-popover"),C=i("el-card"),y=z("loading");return l(),_(C,{shadow:"never"},{header:r(()=>[s("div",I,[s("span",A,[e[2]||(e[2]=p(" 图片裁剪,基于开源的 ")),c(a,{href:"https://fengyuanchen.github.io/cropperjs/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[1]||(e[1]=[p(" cropperjs ")])),_:1}),e[3]||(e[3]=p(" 进行二次封装(提示:右键下面左侧裁剪区可开启功能菜单) "))])]),c(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/cropping",target:"_blank"},{default:r(()=>e[4]||(e[4]=[p(" 代码位置 src/views/components/cropping ")])),_:1})]),default:r(()=>[N((l(),g("div",L,[c(x,{ref_key:"popoverRef",ref:f,visible:d.value,placement:"right",width:"300px"},{reference:r(()=>[c(v(B),{ref_key:"refCropper",ref:w,class:"w-[30vw]",src:v(D),circled:"",onCropper:k,onReadied:e[0]||(e[0]=P=>d.value=!0)},null,8,["src"])]),default:r(()=>[s("div",E,[n.value?(l(),_(b,{key:0,src:n.value,"preview-src-list":Array.of(n.value),fit:"cover"},null,8,["src","preview-src-list"])):h("",!0),t.value?(l(),g("div",J,[s("p",null," 图像大小:"+u(parseInt(t.value.width))+" × "+u(parseInt(t.value.height))+"像素 ",1),s("p",null," 文件大小:"+u(v(V)(t.value.size))+"("+u(t.value.size)+" 字节) ",1)])):h("",!0)])]),_:1},8,["visible"])])),[[y,!d.value]])]),_:1})}}});export{U as default}; +import{R as B}from"./index-BCC60M31.js";import{d as R,a as o,z as j,b as _,w as r,e as i,A as z,f as l,g as s,h as p,i as c,B as N,k as g,u as v,j as h,t as u,aM as V}from"./index-DqH6biyS.js";const D="/vue-pure-admin/static/png/avatar-BYZ7LL6-.png",I={class:"card-header"},A={class:"font-medium"},L={"element-loading-background":"transparent"},E={class:"flex flex-wrap justify-center items-center text-center"},J={key:1,class:"mt-1"},U=R({name:"Cropping",__name:"index",setup(M){const t=o(),f=o(),w=o(),d=o(!1),n=o("");function k({base64:m,blob:e,info:a}){t.value=a,n.value=m}return j(()=>{f.value.hide()}),(m,e)=>{const a=i("el-link"),b=i("el-image"),x=i("el-popover"),C=i("el-card"),y=z("loading");return l(),_(C,{shadow:"never"},{header:r(()=>[s("div",I,[s("span",A,[e[2]||(e[2]=p(" 图片裁剪,基于开源的 ")),c(a,{href:"https://fengyuanchen.github.io/cropperjs/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[1]||(e[1]=[p(" cropperjs ")])),_:1}),e[3]||(e[3]=p(" 进行二次封装(提示:右键下面左侧裁剪区可开启功能菜单) "))])]),c(a,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/components/cropping",target:"_blank"},{default:r(()=>e[4]||(e[4]=[p(" 代码位置 src/views/components/cropping ")])),_:1})]),default:r(()=>[N((l(),g("div",L,[c(x,{ref_key:"popoverRef",ref:f,visible:d.value,placement:"right",width:"300px"},{reference:r(()=>[c(v(B),{ref_key:"refCropper",ref:w,class:"w-[30vw]",src:v(D),circled:"",onCropper:k,onReadied:e[0]||(e[0]=P=>d.value=!0)},null,8,["src"])]),default:r(()=>[s("div",E,[n.value?(l(),_(b,{key:0,src:n.value,"preview-src-list":Array.of(n.value),fit:"cover"},null,8,["src","preview-src-list"])):h("",!0),t.value?(l(),g("div",J,[s("p",null," 图像大小:"+u(parseInt(t.value.width))+" × "+u(parseInt(t.value.height))+"像素 ",1),s("p",null," 文件大小:"+u(v(V)(t.value.size))+"("+u(t.value.size)+" 字节) ",1)])):h("",!0)])]),_:1},8,["visible"])])),[[y,!d.value]])]),_:1})}}});export{U as default}; diff --git a/static/js/index-ChsvWO4T.js b/static/js/index-DTjI1qwX.js similarity index 96% rename from static/js/index-ChsvWO4T.js rename to static/js/index-DTjI1qwX.js index d4e193df37..a52901583f 100644 --- a/static/js/index-ChsvWO4T.js +++ b/static/js/index-DTjI1qwX.js @@ -1 +1 @@ -var ne=Object.defineProperty;var P=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var G=(e,r,t)=>r in e?ne(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,O=(e,r)=>{for(var t in r||(r={}))ue.call(r,t)&&G(e,t,r[t]);if(P)for(var t of P(r))re.call(r,t)&&G(e,t,r[t]);return e};var K=(e,r,t)=>new Promise((B,d)=>{var h=i=>{try{o(t.next(i))}catch(f){d(f)}},m=i=>{try{o(t.throw(i))}catch(f){d(f)}},o=i=>i.done?B(i.value):Promise.resolve(i.value).then(h,m);o((t=t.apply(e,r)).next())});import{S as ie}from"./sortable.esm-Br3T5NCo.js";import{d as oe,a as s,ao as D,ad as v,p as $,i as l,a3 as ce,F as M,B as k,A as p,e as u,h as S,u as H,aa as V,fP as se,fG as de,aF as fe,aP as ve,y as me,Z as xe,V as he}from"./index-AFhnwzwZ.js";import{u as be}from"./epTheme-rJf1qnVw.js";import{E as Ce,R as ge,C as ye,D as ke,S as pe}from"./collapse-BIaolCul.js";function we(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!fe(e)}const Te={title:{type:String,default:"列表"},vxeTableRef:{type:Object},columns:{type:Array,default:()=>[]},tree:{type:Boolean,default:!1},isExpandAll:{type:Boolean,default:!0},tableKey:{type:[String,Number],default:"0"}},Ee=oe({name:"VxeTableBar",props:Te,emits:["refresh","fullscreen"],setup(e,{emit:r,slots:t,attrs:B}){const d=s("small"),h=s(!1),m=s(!0),o=s(!1),i=s(!1),f=xe(),b=s(e.isExpandAll);let x=D(v(e==null?void 0:e.columns),"title");const C=s(D(v(e==null?void 0:e.columns),"title")),c=s(v(e==null?void 0:e.columns)),A=$(()=>a=>({background:a===d.value?be().epThemeColor:"",color:a===d.value?"#fff":"var(--el-text-color-primary)"})),g=$(()=>["text-black","dark:text-white","duration-100","hover:!text-primary","cursor-pointer","outline-none"]),L=$(()=>["flex","justify-between","pt-[3px]","px-[11px]","border-b-[1px]","border-solid","border-[#dcdfe6]","dark:border-[#303030]"]);function U(){h.value=!0,r("refresh"),ve(500).then(()=>h.value=!1)}function Z(){b.value=!b.value,b.value?e.vxeTableRef.setAllTreeExpand(!0):e.vxeTableRef.clearTreeExpand(),e.vxeTableRef.refreshColumn()}function q(){o.value=!o.value,r("fullscreen",o.value)}function F(){const a=v(c.value).filter(n=>C.value.includes(n.title));e.vxeTableRef.reloadColumn(a)}function J(a){C.value=a?x:[],i.value=!1,F()}function Q(a){C.value=a;const n=a.length;m.value=n===x.length,i.value=n>0&&nl(u("el-dropdown-menu"),{class:"translation"},{default:()=>[l(u("el-dropdown-item"),{style:A.value("medium"),onClick:()=>j("medium")},{default:()=>[S("宽松")]}),l(u("el-dropdown-item"),{style:A.value("small"),onClick:()=>j("small")},{default:()=>[S("默认")]}),l(u("el-dropdown-item"),{style:A.value("mini"),onClick:()=>j("mini")},{default:()=>[S("紧凑")]})]})},Y=a=>{a.preventDefault(),me(()=>{var T;const n=((T=f==null?void 0:f.proxy)==null?void 0:T.$refs[`VxeGroupRef${H(e.tableKey)}`]).$el.firstElementChild;ie.create(n,{animation:300,handle:".drag-btn",onEnd:({newIndex:y,oldIndex:E,item:te})=>{const _=te,z=_.parentNode,I=c.value[E],N=c.value[y];if(I!=null&&I.fixed||N!=null&&N.fixed){const R=z.children[E];y>E?z.insertBefore(_,R):z.insertBefore(_,R&&R.nextElementSibling);return}const ae=c.value.splice(E,1)[0];c.value.splice(y,0,ae),F()}})})},ee=a=>!!c.value.filter(n=>V(n.title)===V(a))[0].fixed,w=a=>({content:a,offset:[0,18],duration:[300,0],followCursor:!0,hideOnClick:"toggle"}),le={reference:()=>k(l(pe,{class:["w-[16px]",g.value]},null),[[p("tippy"),w("列设置")]])};return()=>{let a;return l(M,null,[l("div",ce(B,{class:["w-[99/100]","px-2","pb-2","bg-bg_color",o.value?["!w-full","!h-full","z-[2002]","fixed","inset-0"]:"mt-2"]}),[l("div",{class:"flex justify-between w-full h-[60px] p-4"},[t!=null&&t.title?t.title():l("p",{class:"font-bold truncate"},[e.title]),l("div",{class:"flex items-center justify-around"},[t!=null&&t.buttons?l("div",{class:"flex mr-4"},[t.buttons()]):null,e.tree?l(M,null,[k(l(Ce,{class:["w-[16px]",g.value],style:{transform:b.value?"none":"rotate(-90deg)"},onClick:()=>Z()},null),[[p("tippy"),w(b.value?"折叠":"展开")]]),l(u("el-divider"),{direction:"vertical"},null)]):null,k(l(ge,{class:["w-[16px]",g.value,h.value?"animate-spin":""],onClick:()=>U()},null),[[p("tippy"),w("刷新")]]),l(u("el-divider"),{direction:"vertical"},null),k(l(u("el-dropdown"),{trigger:"click"},O({default:()=>[l(ye,{class:["w-[16px]",g.value]},null)]},X)),[[p("tippy"),w("密度")]]),l(u("el-divider"),{direction:"vertical"},null),l(u("el-popover"),{placement:"bottom-start","popper-style":{padding:0},width:"200",trigger:"click"},O({default:()=>[l("div",{class:[L.value]},[l(u("el-checkbox"),{class:"!-mr-1",label:"列展示",modelValue:m.value,"onUpdate:modelValue":n=>m.value=n,indeterminate:i.value,onChange:n=>J(n)},null),l(u("el-button"),{type:"primary",link:!0,onClick:()=>W()},{default:()=>[S("重置")]})]),l("div",{class:"pt-[6px] pl-[11px]"},[l(u("el-scrollbar"),{"max-height":"36vh"},{default:()=>[l(u("el-checkbox-group"),{ref:`VxeGroupRef${H(e.tableKey)}`,modelValue:C.value,onChange:n=>Q(n)},{default:()=>[l(u("el-space"),{direction:"vertical",alignment:"flex-start",size:0},we(a=x.map((n,T)=>l("div",{class:"flex items-center"},[l(ke,{class:["drag-btn w-[16px] mr-2",ee(n)?"!cursor-no-drop":"!cursor-grab"],onMouseenter:y=>Y(y)},null),l(u("el-checkbox"),{key:T,label:n,value:n,onChange:F},{default:()=>[l("span",{title:V(n),class:"inline-block w-[120px] truncate hover:text-text_color_primary"},[V(n)])]})])))?a:{default:()=>[a]})]})]})])]},le)),l(u("el-divider"),{direction:"vertical"},null),k(l(u("iconifyIconOffline"),{class:["w-[16px]",g.value],icon:o.value?se:de,onClick:()=>q()},null),[[p("tippy"),o.value?"退出全屏":"全屏"]])])]),t.default({size:d.value,dynamicColumns:c.value})])])}}}),Ae=he(Ee);export{Ae as V}; +var ne=Object.defineProperty;var P=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var G=(e,r,t)=>r in e?ne(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,O=(e,r)=>{for(var t in r||(r={}))ue.call(r,t)&&G(e,t,r[t]);if(P)for(var t of P(r))re.call(r,t)&&G(e,t,r[t]);return e};var K=(e,r,t)=>new Promise((B,d)=>{var h=i=>{try{o(t.next(i))}catch(f){d(f)}},m=i=>{try{o(t.throw(i))}catch(f){d(f)}},o=i=>i.done?B(i.value):Promise.resolve(i.value).then(h,m);o((t=t.apply(e,r)).next())});import{S as ie}from"./sortable.esm-Br3T5NCo.js";import{d as oe,a as s,ao as D,ad as v,p as $,i as l,a3 as ce,F as M,B as k,A as p,e as u,h as S,u as H,aa as V,fP as se,fG as de,aF as fe,aP as ve,y as me,Z as xe,V as he}from"./index-DqH6biyS.js";import{u as be}from"./epTheme-tM--YJJd.js";import{E as Ce,R as ge,C as ye,D as ke,S as pe}from"./collapse-DYh2XMRr.js";function we(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!fe(e)}const Te={title:{type:String,default:"列表"},vxeTableRef:{type:Object},columns:{type:Array,default:()=>[]},tree:{type:Boolean,default:!1},isExpandAll:{type:Boolean,default:!0},tableKey:{type:[String,Number],default:"0"}},Ee=oe({name:"VxeTableBar",props:Te,emits:["refresh","fullscreen"],setup(e,{emit:r,slots:t,attrs:B}){const d=s("small"),h=s(!1),m=s(!0),o=s(!1),i=s(!1),f=xe(),b=s(e.isExpandAll);let x=D(v(e==null?void 0:e.columns),"title");const C=s(D(v(e==null?void 0:e.columns),"title")),c=s(v(e==null?void 0:e.columns)),A=$(()=>a=>({background:a===d.value?be().epThemeColor:"",color:a===d.value?"#fff":"var(--el-text-color-primary)"})),g=$(()=>["text-black","dark:text-white","duration-100","hover:!text-primary","cursor-pointer","outline-none"]),L=$(()=>["flex","justify-between","pt-[3px]","px-[11px]","border-b-[1px]","border-solid","border-[#dcdfe6]","dark:border-[#303030]"]);function U(){h.value=!0,r("refresh"),ve(500).then(()=>h.value=!1)}function Z(){b.value=!b.value,b.value?e.vxeTableRef.setAllTreeExpand(!0):e.vxeTableRef.clearTreeExpand(),e.vxeTableRef.refreshColumn()}function q(){o.value=!o.value,r("fullscreen",o.value)}function F(){const a=v(c.value).filter(n=>C.value.includes(n.title));e.vxeTableRef.reloadColumn(a)}function J(a){C.value=a?x:[],i.value=!1,F()}function Q(a){C.value=a;const n=a.length;m.value=n===x.length,i.value=n>0&&nl(u("el-dropdown-menu"),{class:"translation"},{default:()=>[l(u("el-dropdown-item"),{style:A.value("medium"),onClick:()=>j("medium")},{default:()=>[S("宽松")]}),l(u("el-dropdown-item"),{style:A.value("small"),onClick:()=>j("small")},{default:()=>[S("默认")]}),l(u("el-dropdown-item"),{style:A.value("mini"),onClick:()=>j("mini")},{default:()=>[S("紧凑")]})]})},Y=a=>{a.preventDefault(),me(()=>{var T;const n=((T=f==null?void 0:f.proxy)==null?void 0:T.$refs[`VxeGroupRef${H(e.tableKey)}`]).$el.firstElementChild;ie.create(n,{animation:300,handle:".drag-btn",onEnd:({newIndex:y,oldIndex:E,item:te})=>{const _=te,z=_.parentNode,I=c.value[E],N=c.value[y];if(I!=null&&I.fixed||N!=null&&N.fixed){const R=z.children[E];y>E?z.insertBefore(_,R):z.insertBefore(_,R&&R.nextElementSibling);return}const ae=c.value.splice(E,1)[0];c.value.splice(y,0,ae),F()}})})},ee=a=>!!c.value.filter(n=>V(n.title)===V(a))[0].fixed,w=a=>({content:a,offset:[0,18],duration:[300,0],followCursor:!0,hideOnClick:"toggle"}),le={reference:()=>k(l(pe,{class:["w-[16px]",g.value]},null),[[p("tippy"),w("列设置")]])};return()=>{let a;return l(M,null,[l("div",ce(B,{class:["w-[99/100]","px-2","pb-2","bg-bg_color",o.value?["!w-full","!h-full","z-[2002]","fixed","inset-0"]:"mt-2"]}),[l("div",{class:"flex justify-between w-full h-[60px] p-4"},[t!=null&&t.title?t.title():l("p",{class:"font-bold truncate"},[e.title]),l("div",{class:"flex items-center justify-around"},[t!=null&&t.buttons?l("div",{class:"flex mr-4"},[t.buttons()]):null,e.tree?l(M,null,[k(l(Ce,{class:["w-[16px]",g.value],style:{transform:b.value?"none":"rotate(-90deg)"},onClick:()=>Z()},null),[[p("tippy"),w(b.value?"折叠":"展开")]]),l(u("el-divider"),{direction:"vertical"},null)]):null,k(l(ge,{class:["w-[16px]",g.value,h.value?"animate-spin":""],onClick:()=>U()},null),[[p("tippy"),w("刷新")]]),l(u("el-divider"),{direction:"vertical"},null),k(l(u("el-dropdown"),{trigger:"click"},O({default:()=>[l(ye,{class:["w-[16px]",g.value]},null)]},X)),[[p("tippy"),w("密度")]]),l(u("el-divider"),{direction:"vertical"},null),l(u("el-popover"),{placement:"bottom-start","popper-style":{padding:0},width:"200",trigger:"click"},O({default:()=>[l("div",{class:[L.value]},[l(u("el-checkbox"),{class:"!-mr-1",label:"列展示",modelValue:m.value,"onUpdate:modelValue":n=>m.value=n,indeterminate:i.value,onChange:n=>J(n)},null),l(u("el-button"),{type:"primary",link:!0,onClick:()=>W()},{default:()=>[S("重置")]})]),l("div",{class:"pt-[6px] pl-[11px]"},[l(u("el-scrollbar"),{"max-height":"36vh"},{default:()=>[l(u("el-checkbox-group"),{ref:`VxeGroupRef${H(e.tableKey)}`,modelValue:C.value,onChange:n=>Q(n)},{default:()=>[l(u("el-space"),{direction:"vertical",alignment:"flex-start",size:0},we(a=x.map((n,T)=>l("div",{class:"flex items-center"},[l(ke,{class:["drag-btn w-[16px] mr-2",ee(n)?"!cursor-no-drop":"!cursor-grab"],onMouseenter:y=>Y(y)},null),l(u("el-checkbox"),{key:T,label:n,value:n,onChange:F},{default:()=>[l("span",{title:V(n),class:"inline-block w-[120px] truncate hover:text-text_color_primary"},[V(n)])]})])))?a:{default:()=>[a]})]})]})])]},le)),l(u("el-divider"),{direction:"vertical"},null),k(l(u("iconifyIconOffline"),{class:["w-[16px]",g.value],icon:o.value?se:de,onClick:()=>q()},null),[[p("tippy"),o.value?"退出全屏":"全屏"]])])]),t.default({size:d.value,dynamicColumns:c.value})])])}}}),Ae=he(Ee);export{Ae as V}; diff --git a/static/js/index-B_CAjgKE.js b/static/js/index-DVr1E8Yp.js similarity index 99% rename from static/js/index-B_CAjgKE.js rename to static/js/index-DVr1E8Yp.js index 45f3c1031d..655fbc7b1f 100644 --- a/static/js/index-B_CAjgKE.js +++ b/static/js/index-DVr1E8Yp.js @@ -1,4 +1,4 @@ -import{k as Z,g as p,v as q,Q as $,d as H,a as E,p as h,r as G,m as P,z as _,f as J,a2 as ee,L as te,y as ne,o as Ae,b as ae,w as m,e as K,h as i,i as v,t as R,a3 as se,u as le,a4 as oe,_ as ue}from"./index-AFhnwzwZ.js";const W=[{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAFBAYBAgMAB//aAAgBAQAAAAD7HU4ObhMC3AnlYvY8ISwA+6WDOd4/RA96FVeF66BOVWB3TsAOgZC27wv/xAAYAQEBAQEBAAAAAAAAAAAAAAACAwQAAf/aAAgBAhAAAAC3sw8uyRDQPV//xAAYAQADAQEAAAAAAAAAAAAAAAAAAgMBBP/aAAgBAxAAAACQ7LfmoUTNvFf/xAA0EAACAQMBBAcHAwUAAAAAAAABAgMABBESBRMxQRAhIjJRYbEUIzRCUnOBM3KSU2KRoeH/2gAIAQEAAT8AmmSCJpHOAoq6vZp8lmITkgonSQCMZxikkdGDxsVbxFbK2l7TGUkwHQfy6Ln4if7jetbcdglvH9TFv40hD71CGzlQpAyACRkt4VcxojxOdIj06GzwA5VKkilGUdjUcNxD9XlwI5g1Bfm0u4nC5UHDeYNWu0LS4B3D6mHHIwaufiJ/uN61tm6Et6GPCIbv8mtqi4gtrFkzjeuxIGRq+TP4orI1jpK+8MHAfVprYcM8kVysmoIGiwG8UfVgVcwh1ecDGiYcvlNWk7W9zDKucqwyPEVOczzfvb1q/wBkXWqR4Sja8nDHGCajAEagHIAx/jourmK0haaV9KrWyrFZLRZJ07MqNhc8Q3M/irfZFlaOGQF2HzOc1cACeYD+o3r0XptYEJKAyMx06TgsxOaupr+MhkIQk6TlfPlkVNCIxBc3A9onLjRG/WtWV1BPFlRp09TpzBHLoufiJ/uN69G05JLxt8C2ksQpTiAMHIq0mQz6HnMnZwurBwBRhKTLLK5Y6Oz/AGf9qwla3u4TykBRh/sdFx8RN9xvWpri43Unv5O6fmNSSSCHGtsb0DGfKrFm3zdZ7o9RUskhMnbbu+NLJJrh7bfqJz869onxjfSY/callk3knvG7x51//8QAIxEAAgEEAQMFAAAAAAAAAAAAAQIRAAMSMRAEIXETMjNBUf/aAAgBAgEBPwBMUTNv3tSdQrgZDYpwMmx0N8PdFv0iBMAyKS4QroF99JcxDhhMntwxgUCoJIER90jZCeG2PBpvjNWtHzx//8QAIBEAAgICAgIDAAAAAAAAAAAAAQIAERASAyEyM0GBkf/aAAgBAwEBPwBtmbURuErdRb1W/nCIW3vqMgJVr8YyWVIyvYG/5CKwJze36jY//9k=",name:"美绪",text:"马什么梅?"},{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABQIDBAEGB//aAAgBAQAAAAD65hzG3WLcATfCbHYQ9IY0uiEfRkU1IOr+RoUG1ornWj7Y6//EABgBAQADAQAAAAAAAAAAAAAAAAQAAgUD/9oACAECEAAAACEf3IJba51tGDNq/wD/xAAYAQEAAwEAAAAAAAAAAAAAAAAEAQMFAv/aAAgBAxAAAABSg0MWQdj+c6VozP/EAC0QAAIBAwMBBgUFAAAAAAAAAAECEQADBBASMUEiUVJhcZEFExQhgSAyQoKx/9oACAEBAAE/AKu5oEi2A3meKOXf8cfgV9Xe2kEgyOeCKsZSXAqs0XP91z7+wC3MSCzeg/RbuG06uO8T6a5kNkOOu0CpUXWQMdo4kQRPQihPd9tH+4jXIw0yDukq0RNHFu2/iOVku0pfx7foHt91MttbMyN7njqQDo3BPkdWEqRJEjkV8QOV2LVq2xBBlkoq+y181CrgHn1nXHffZQ+UH8aEwCaEoJP9qzbe+ySOUO7XCuxca2f5CR6jS477H7bftPWt7+NvekdzbWXYyo60rvtXtHgda3v4j71Yd/qLPaPJ6+Vb38be9f/EACYRAAECBAQHAQAAAAAAAAAAAAECAwAEEBIREzFSITNBQlFhgXL/2gAIAQIBAT8AffKDYjXqYznd5hhwuI46ijjOOaSfaYUm232Ik9F/KKQFRMN2LHgiJVdrmG6s32fYa5iP0Kf/xAAmEQABAgQFBAMAAAAAAAAAAAABAgMAEBESBBNCUoEhMTNhUXFy/9oACAEDAQE/AGGAoXK4EZLWwQ+2G19Oxk28RlhI9GEqur9xi9HMm3C2qtAfRhhy9J+axiUXIrtnhdfEOeNf5Mv/2Q==",name:"博士",text:"马东什么?"},{avatar:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIADIAMgMBIgACEQEDEQH/xAAxAAACAgMBAAAAAAAAAAAAAAAABgQFAQIHAwEBAAMBAAAAAAAAAAAAAAAAAwABAgT/2gAMAwEAAhADEAAAAI7CsPnN1VeZ0okpTbSWASKzwmMPRy3PuuWhpv4KvQ7pcJYTUb+hdLQYWJoaVU+RU3jcXiaoegAhWOAPeeaBd1wGtf/EAC4QAAIBAwIEBAUFAQAAAAAAAAECAwAEEQUhBhASMRMiQWEUI3KBoSAzQlFSkv/aAAgBAQABPwDTxidHHbdTyZGjdkcYYelBGKM4HlUgH7/osXInRfQsK0q18abxGHkj/JrV0KXrEfzUGtLiE0F1G48r4GfcVJDJFI0TbMp52W91D9VXt42mWQCu0QUqHZQC7SyDIRA22QO5NXkFyLeFpnWRggYsMZw/+ioAPsRVlOtrpsshx+6d2OFGw3J/oVK897YR6nbfORCTkp0OVQ7lRk5Aq5gMZSVR8qVepfbPpy0jDSRyEZxIg/6JrjKJytlEEJ63uJD7ttXB6Tn41bhW8Mwxxjqzt3OBWrx+Bw9fQsRvIgBzjYutcP3F8upWVmZZltvjFPQW22BqeAJpHh+kWyeyhsL+KXS9RcB1WLpYZGSc4NcKwxTrcRy+qrj2IJIqe3S5AEsSOAcgMobB+9Lb9KhVAAHYCntRIjI6hkYYZWGQRUGm2ltMssVsiSKCAVGMZqWFZ4fDY4XYn7ULaEgF182N/Me9cIuI3kY9gFodLAEHINFgKDKdqwK1LVotOMSsnWz5JAPYUeJZyTiKMVwv2n+la08npcZOBjke3LVWZtRuizE4kI5f/8QAIBEBAAIBAgcAAAAAAAAAAAAAAQARAwIQEiAhMTJBcf/aAAgBAgEBPwDL5HzkadfX0RDjmTSUJtks1MqWpVypk7uxt//EACARAQABAwMFAAAAAAAAAAAAAAEAAhEhAxATEiIxYXH/2gAIAQMBAT8A0m1L9l+2++Sg9sF45p1N7M6iUJYwM5GYW4ZmZT4Njb//2Q==",name:"柚子",text:"什么冬梅?"}],O=["1","2","3","4","5","6","7","8","9"],j=()=>O.map((u,A)=>{const Q=A%3;return{avatar:W[Q].avatar,name:W[Q].name,text:u}});var L=H({name:"vue3-danmaku",components:{},props:{danmus:{type:Array,required:!0,default:()=>[]},channels:{type:Number,default:0},autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},debounce:{type:Number,default:100},speeds:{type:Number,default:200},randomChannel:{type:Boolean,default:!1},fontSize:{type:Number,default:18},top:{type:Number,default:4},right:{type:Number,default:0},isSuspend:{type:Boolean,default:!1},extraStyle:{type:String,default:""}},emits:["list-end","play-end","dm-over","dm-out","update:danmus"],setup(u,{emit:A,slots:Q}){let g=E(document.createElement("div")),s=E(document.createElement("div"));const l=E(0),y=E(0);let c=0;const U=E(0),M=E(0),B=E(0),S=E(!1),w=E(!1),d=E({}),e=function(r,f,t="modelValue",n){return h({get:()=>r[t],set:x=>{f(`update:${t}`,x)}})}(u,A,"danmus"),C=G({channels:h(()=>u.channels||U.value),autoplay:h(()=>u.autoplay),loop:h(()=>u.loop),useSlot:h(()=>u.useSlot),debounce:h(()=>u.debounce),randomChannel:h(()=>u.randomChannel)}),a=G({height:h(()=>M.value),fontSize:h(()=>u.fontSize),speeds:h(()=>u.speeds),top:h(()=>u.top),right:h(()=>u.right)});function Y(){z(),u.isSuspend&&function(){let r=[];s.value.addEventListener("mouseover",f=>{let t=f.target;t.className.includes("dm")||(t=t.closest(".dm")||t),t.className.includes("dm")&&(r.includes(t)||(A("dm-over",{el:t}),t.classList.add("pause"),r.push(t)))}),s.value.addEventListener("mouseout",f=>{let t=f.target;t.className.includes("dm")||(t=t.closest(".dm")||t),t.className.includes("dm")&&(A("dm-out",{el:t}),t.classList.remove("pause"),r.forEach(n=>{n.classList.remove("pause")}),r=[])})}(),C.autoplay&&o()}function z(){if(l.value=g.value.offsetWidth,y.value=g.value.offsetHeight,l.value===0||y.value===0)throw new Error("获取不到容器宽高")}function o(){w.value=!1,c||(c=window.setInterval(()=>function(){if(!w.value&&e.value.length)if(B.value>e.value.length-1){const r=s.value.children.length;C.loop&&(rte("div",{},[Q.dm&&Q.dm({danmu:x,index:k})])}).mount(document.createElement("div"))}(t,f).$el:(n.innerHTML=t,n.setAttribute("style",u.extraStyle),n.style.fontSize=`${a.fontSize}px`,n.style.lineHeight=`${a.fontSize}px`),n.classList.add("dm"),s.value.appendChild(n),n.style.opacity="0",ne(()=>{a.height||(M.value=n.offsetHeight),C.channels||(U.value=Math.floor(y.value/(a.height+a.top)));let x=function(k){let b=[...Array(C.channels).keys()];C.randomChannel&&(b=b.sort(()=>.5-Math.random()));for(let I of b){const D=d.value[I];if(!D||!D.length)return d.value[I]=[k],k.addEventListener("animationend",()=>d.value[I].splice(0,1)),I%C.channels;for(let V=0;Vd.value[I].splice(0,1)),I%C.channels}}return-1}(n);if(x>=0){const k=n.offsetWidth,b=a.height;n.classList.add("move"),n.dataset.index=`${f}`,n.dataset.channel=x.toString(),n.style.opacity="1",n.style.top=x*(b+a.top)+"px",n.style.width=k+a.right+"px",n.style.setProperty("--dm-scroll-width",`-${l.value+k}px`),n.style.left=`${l.value}px`,n.style.animationDuration=l.value/a.speeds+"s",n.addEventListener("animationend",()=>{Number(n.dataset.index)!==e.value.length-1||C.loop||A("play-end",n.dataset.index),s.value&&s.value.removeChild(n)}),B.value++}else s.value.removeChild(n)})}function X(r){const f=r.offsetWidth||parseInt(r.style.width),t=r.getBoundingClientRect().right||s.value.getBoundingClientRect().right+f;return s.value.getBoundingClientRect().right-t}function N(){clearInterval(c),c=0,B.value=0}return P(()=>{Y()}),_(()=>{N()}),{container:g,dmContainer:s,hidden:S,paused:w,danmuList:e,getPlayState:function(){return!w.value},resize:function(){z();const r=s.value.getElementsByClassName("dm");for(let f=0;fO.map((u,A)=>{const Q=A%3;return{avatar:W[Q].avatar,name:W[Q].name,text:u}});var L=H({name:"vue3-danmaku",components:{},props:{danmus:{type:Array,required:!0,default:()=>[]},channels:{type:Number,default:0},autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},debounce:{type:Number,default:100},speeds:{type:Number,default:200},randomChannel:{type:Boolean,default:!1},fontSize:{type:Number,default:18},top:{type:Number,default:4},right:{type:Number,default:0},isSuspend:{type:Boolean,default:!1},extraStyle:{type:String,default:""}},emits:["list-end","play-end","dm-over","dm-out","update:danmus"],setup(u,{emit:A,slots:Q}){let g=E(document.createElement("div")),s=E(document.createElement("div"));const l=E(0),y=E(0);let c=0;const U=E(0),M=E(0),B=E(0),S=E(!1),w=E(!1),d=E({}),e=function(r,f,t="modelValue",n){return h({get:()=>r[t],set:x=>{f(`update:${t}`,x)}})}(u,A,"danmus"),C=G({channels:h(()=>u.channels||U.value),autoplay:h(()=>u.autoplay),loop:h(()=>u.loop),useSlot:h(()=>u.useSlot),debounce:h(()=>u.debounce),randomChannel:h(()=>u.randomChannel)}),a=G({height:h(()=>M.value),fontSize:h(()=>u.fontSize),speeds:h(()=>u.speeds),top:h(()=>u.top),right:h(()=>u.right)});function Y(){z(),u.isSuspend&&function(){let r=[];s.value.addEventListener("mouseover",f=>{let t=f.target;t.className.includes("dm")||(t=t.closest(".dm")||t),t.className.includes("dm")&&(r.includes(t)||(A("dm-over",{el:t}),t.classList.add("pause"),r.push(t)))}),s.value.addEventListener("mouseout",f=>{let t=f.target;t.className.includes("dm")||(t=t.closest(".dm")||t),t.className.includes("dm")&&(A("dm-out",{el:t}),t.classList.remove("pause"),r.forEach(n=>{n.classList.remove("pause")}),r=[])})}(),C.autoplay&&o()}function z(){if(l.value=g.value.offsetWidth,y.value=g.value.offsetHeight,l.value===0||y.value===0)throw new Error("获取不到容器宽高")}function o(){w.value=!1,c||(c=window.setInterval(()=>function(){if(!w.value&&e.value.length)if(B.value>e.value.length-1){const r=s.value.children.length;C.loop&&(rte("div",{},[Q.dm&&Q.dm({danmu:x,index:k})])}).mount(document.createElement("div"))}(t,f).$el:(n.innerHTML=t,n.setAttribute("style",u.extraStyle),n.style.fontSize=`${a.fontSize}px`,n.style.lineHeight=`${a.fontSize}px`),n.classList.add("dm"),s.value.appendChild(n),n.style.opacity="0",ne(()=>{a.height||(M.value=n.offsetHeight),C.channels||(U.value=Math.floor(y.value/(a.height+a.top)));let x=function(k){let b=[...Array(C.channels).keys()];C.randomChannel&&(b=b.sort(()=>.5-Math.random()));for(let I of b){const D=d.value[I];if(!D||!D.length)return d.value[I]=[k],k.addEventListener("animationend",()=>d.value[I].splice(0,1)),I%C.channels;for(let V=0;Vd.value[I].splice(0,1)),I%C.channels}}return-1}(n);if(x>=0){const k=n.offsetWidth,b=a.height;n.classList.add("move"),n.dataset.index=`${f}`,n.dataset.channel=x.toString(),n.style.opacity="1",n.style.top=x*(b+a.top)+"px",n.style.width=k+a.right+"px",n.style.setProperty("--dm-scroll-width",`-${l.value+k}px`),n.style.left=`${l.value}px`,n.style.animationDuration=l.value/a.speeds+"s",n.addEventListener("animationend",()=>{Number(n.dataset.index)!==e.value.length-1||C.loop||A("play-end",n.dataset.index),s.value&&s.value.removeChild(n)}),B.value++}else s.value.removeChild(n)})}function X(r){const f=r.offsetWidth||parseInt(r.style.width),t=r.getBoundingClientRect().right||s.value.getBoundingClientRect().right+f;return s.value.getBoundingClientRect().right-t}function N(){clearInterval(c),c=0,B.value=0}return P(()=>{Y()}),_(()=>{N()}),{container:g,dmContainer:s,hidden:S,paused:w,danmuList:e,getPlayState:function(){return!w.value},resize:function(){z();const r=s.value.getElementsByClassName("dm");for(let f=0;ft in s?r(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,o=(s,t)=>{for(var e in t||(t={}))n.call(t,e)&&l(s,e,t[e]);if(a)for(var e of a(t))d.call(t,e)&&l(s,e,t[e]);return s};import{d as m,L as u,a$ as p}from"./index-AFhnwzwZ.js";const h=m({name:"ReCol",props:{value:{type:Number,default:24}},render(){const s=this.$attrs,t=this.value;return u(p,o({xs:t,sm:t,md:t,lg:t,xl:t},s),{default:()=>this.$slots.default()})}});export{h as R}; +var r=Object.defineProperty;var a=Object.getOwnPropertySymbols;var n=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var l=(s,t,e)=>t in s?r(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,o=(s,t)=>{for(var e in t||(t={}))n.call(t,e)&&l(s,e,t[e]);if(a)for(var e of a(t))d.call(t,e)&&l(s,e,t[e]);return s};import{d as m,L as u,a$ as p}from"./index-DqH6biyS.js";const h=m({name:"ReCol",props:{value:{type:Number,default:24}},render(){const s=this.$attrs,t=this.value;return u(p,o({xs:t,sm:t,md:t,lg:t,xl:t},s),{default:()=>this.$slots.default()})}});export{h as R}; diff --git a/static/js/index-Dy7B4rCO.js b/static/js/index-DeOjFkOE.js similarity index 80% rename from static/js/index-Dy7B4rCO.js rename to static/js/index-DeOjFkOE.js index 8eeb8530d7..00df06a068 100644 --- a/static/js/index-Dy7B4rCO.js +++ b/static/js/index-DeOjFkOE.js @@ -1 +1 @@ -import{d as I,a as p,X as i,fT as T,Y as B,gf as A,b as d,w as n,ae as N,e as o,f as m,u as t,i as e,g as c,h as k,t as _,k as z,l as D,F as O,j as g,U as R,v as S,_ as F}from"./index-AFhnwzwZ.js";import{R as y}from"./index-DCLVZHw7.js";import{_ as L}from"./Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js";import P from"./Preferences-yKRq6FQr.js";import{_ as j}from"./SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js";import E from"./AccountManagement-Bwm925hX.js";import{u as K}from"./useDataThemeChange-D7aTkze5.js";import{b as U,_ as X,d as Y,a as q}from"./SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js";import"./mock-Kl59S0Qr.js";import"./index-B5M9mQxp.js";import"./index-B9RHPT66.js";import"./upload-line-ClmDKJCy.js";import"./app-Cp1TpsuP.js";import"./epTheme-rJf1qnVw.js";const G={width:24,height:24,body:''},J={width:24,height:24,body:''},Q={class:"flex items-center"},W={class:"flex items-center ml-8 mt-4 mb-4"},ee={class:"ml-4 flex flex-col max-w-[130px]"},ae={class:"flex items-center z-10"},ne=I({name:"AccountSettings",__name:"index",setup(oe){const b=N(),s=p(!i()),{$storage:C}=T();B(()=>{var r;K().dataThemeChange((r=C.layout)==null?void 0:r.overallStyle)});const u=p({avatar:"",username:"",nickname:""}),v=[{key:"profile",label:"个人信息",icon:G,component:L},{key:"preferences",label:"偏好设置",icon:Y,component:P},{key:"securityLog",label:"安全日志",icon:q,component:j},{key:"accountManagement",label:"账户管理",icon:J,component:E}],f=p("profile");return A().then(r=>{u.value=r.data}),(r,l)=>{const h=o("IconifyIconOffline"),x=o("el-menu-item"),Z=o("el-avatar"),$=o("el-icon"),w=o("el-menu"),V=o("el-aside"),H=o("el-main"),M=o("el-container");return m(),d(M,{class:"h-full"},{default:n(()=>[s.value?(m(),d(V,{key:0,class:"pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]",width:t(i)()?"180px":"240px"},{default:n(()=>[e(w,{"default-active":f.value,class:"pure-account-settings-menu"},{default:n(()=>[e(x,{class:"hover:!transition-all hover:!duration-200 hover:!text-base !h-[50px]",onClick:l[0]||(l[0]=a=>t(b).go(-1))},{default:n(()=>[c("div",Q,[e(h,{icon:t(U)},null,8,["icon"]),l[2]||(l[2]=c("span",{class:"ml-2"},"返回",-1))])]),_:1}),c("div",W,[e(Z,{size:48,src:u.value.avatar},null,8,["src"]),c("div",ee,[e(t(y),{class:"font-bold !self-baseline"},{default:n(()=>[k(_(u.value.nickname),1)]),_:1}),e(t(y),{class:"!self-baseline",type:"info"},{default:n(()=>[k(_(u.value.username),1)]),_:1})])]),(m(),z(O,null,D(v,a=>e(x,{key:a.key,index:a.key,onClick:()=>{f.value=a.key,t(i)()&&(s.value=!s.value)}},{default:n(()=>[c("div",ae,[e($,null,{default:n(()=>[e(h,{icon:a.icon},null,8,["icon"])]),_:2},1024),c("span",null,_(a.label),1)])]),_:2},1032,["index","onClick"])),64))]),_:1},8,["default-active"])]),_:1},8,["width"])):g("",!0),e(H,null,{default:n(()=>[t(i)()?(m(),d(X,{key:0,class:"px-0","is-active":s.value,onToggleClick:l[1]||(l[1]=a=>s.value=!s.value)},null,8,["is-active"])):g("",!0),(m(),d(R(v.find(a=>a.key===f.value).component),{class:S([!t(i)()&&"ml-[120px]"])},null,8,["class"]))]),_:1})]),_:1})}}}),xe=F(ne,[["__scopeId","data-v-14565bac"]]);export{xe as default}; +import{d as I,a as p,X as i,fT as T,Y as B,gf as A,b as d,w as n,ae as N,e as o,f as m,u as t,i as e,g as c,h as k,t as _,k as z,l as D,F as O,j as g,U as R,v as S,_ as F}from"./index-DqH6biyS.js";import{R as y}from"./index-VuOdZNJM.js";import{_ as L}from"./Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js";import P from"./Preferences-rKooaX3X.js";import{_ as j}from"./SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js";import E from"./AccountManagement-DJvVwQr-.js";import{u as K}from"./useDataThemeChange-DbAyv7hy.js";import{b as U,_ as X,d as Y,a as q}from"./SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js";import"./mock-DMcMJ3Ay.js";import"./index-Dt5do88n.js";import"./index-BCC60M31.js";import"./upload-line-ClmDKJCy.js";import"./app-6x4i1wLO.js";import"./epTheme-tM--YJJd.js";const G={width:24,height:24,body:''},J={width:24,height:24,body:''},Q={class:"flex items-center"},W={class:"flex items-center ml-8 mt-4 mb-4"},ee={class:"ml-4 flex flex-col max-w-[130px]"},ae={class:"flex items-center z-10"},ne=I({name:"AccountSettings",__name:"index",setup(oe){const b=N(),s=p(!i()),{$storage:C}=T();B(()=>{var r;K().dataThemeChange((r=C.layout)==null?void 0:r.overallStyle)});const u=p({avatar:"",username:"",nickname:""}),v=[{key:"profile",label:"个人信息",icon:G,component:L},{key:"preferences",label:"偏好设置",icon:Y,component:P},{key:"securityLog",label:"安全日志",icon:q,component:j},{key:"accountManagement",label:"账户管理",icon:J,component:E}],f=p("profile");return A().then(r=>{u.value=r.data}),(r,l)=>{const h=o("IconifyIconOffline"),x=o("el-menu-item"),Z=o("el-avatar"),$=o("el-icon"),w=o("el-menu"),V=o("el-aside"),H=o("el-main"),M=o("el-container");return m(),d(M,{class:"h-full"},{default:n(()=>[s.value?(m(),d(V,{key:0,class:"pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]",width:t(i)()?"180px":"240px"},{default:n(()=>[e(w,{"default-active":f.value,class:"pure-account-settings-menu"},{default:n(()=>[e(x,{class:"hover:!transition-all hover:!duration-200 hover:!text-base !h-[50px]",onClick:l[0]||(l[0]=a=>t(b).go(-1))},{default:n(()=>[c("div",Q,[e(h,{icon:t(U)},null,8,["icon"]),l[2]||(l[2]=c("span",{class:"ml-2"},"返回",-1))])]),_:1}),c("div",W,[e(Z,{size:48,src:u.value.avatar},null,8,["src"]),c("div",ee,[e(t(y),{class:"font-bold !self-baseline"},{default:n(()=>[k(_(u.value.nickname),1)]),_:1}),e(t(y),{class:"!self-baseline",type:"info"},{default:n(()=>[k(_(u.value.username),1)]),_:1})])]),(m(),z(O,null,D(v,a=>e(x,{key:a.key,index:a.key,onClick:()=>{f.value=a.key,t(i)()&&(s.value=!s.value)}},{default:n(()=>[c("div",ae,[e($,null,{default:n(()=>[e(h,{icon:a.icon},null,8,["icon"])]),_:2},1024),c("span",null,_(a.label),1)])]),_:2},1032,["index","onClick"])),64))]),_:1},8,["default-active"])]),_:1},8,["width"])):g("",!0),e(H,null,{default:n(()=>[t(i)()?(m(),d(X,{key:0,class:"px-0","is-active":s.value,onToggleClick:l[1]||(l[1]=a=>s.value=!s.value)},null,8,["is-active"])):g("",!0),(m(),d(R(v.find(a=>a.key===f.value).component),{class:S([!t(i)()&&"ml-[120px]"])},null,8,["class"]))]),_:1})]),_:1})}}}),xe=F(ne,[["__scopeId","data-v-14565bac"]]);export{xe as default}; diff --git a/static/js/index-Dfia82Tx.js b/static/js/index-Dfia82Tx.js deleted file mode 100644 index d88f5ccfd8..0000000000 --- a/static/js/index-Dfia82Tx.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DQoQb7YO.js";import"./columns-D5XW7oQh.js";import"./index-AFhnwzwZ.js";import"./data-BCF1-ihA.js";export{o as default}; diff --git a/static/js/index-rRKx_4l4.js b/static/js/index-Dgb_lRhs.js similarity index 99% rename from static/js/index-rRKx_4l4.js rename to static/js/index-Dgb_lRhs.js index 00bf0b2257..8bc7d6c58b 100644 --- a/static/js/index-rRKx_4l4.js +++ b/static/js/index-Dgb_lRhs.js @@ -1,4 +1,4 @@ -var $t=Object.defineProperty;var Et=Object.getOwnPropertySymbols;var Qt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;var Bt=(t,e,i)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,pt=(t,e)=>{for(var i in e||(e={}))Qt.call(e,i)&&Bt(t,i,e[i]);if(Et)for(var i of Et(e))Gt.call(e,i)&&Bt(t,i,e[i]);return t};var nt=(t,e,i)=>new Promise((r,n)=>{var o=a=>{try{c(i.next(a))}catch(l){n(l)}},s=a=>{try{c(i.throw(a))}catch(l){n(l)}},c=a=>a.done?r(a.value):Promise.resolve(a.value).then(o,s);c((i=i.apply(t,e)).next())});import{p as Q}from"./propTypes-D_I3dZnw.js";import{d as qt,a as bt,p as At,n as Wt,i as L,B as Xt,A as Zt,u as _,e as xt,F as te,y as ee,ad as ne,aA as Tt,V as oe}from"./index-AFhnwzwZ.js";import{d as re}from"./refresh-right-Du3ZsAuC.js";var Y={},ie=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Mt={},M={};let dt;const se=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];M.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};M.getSymbolTotalCodewords=function(e){return se[e]};M.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};M.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');dt=e};M.isKanjiModeEnabled=function(){return typeof dt!="undefined"};M.toSJIS=function(e){return dt(e)};var Z={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},t.from=function(r,n){if(t.isValid(r))return r;try{return e(r)}catch(o){return n}}})(Z);function Pt(){this.buffer=[],this.length=0}Pt.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var ae=Pt;function j(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}j.prototype.set=function(t,e,i,r){const n=t*this.size+e;this.data[n]=i,r&&(this.reservedBit[n]=!0)};j.prototype.get=function(t,e){return this.data[t*this.size+e]};j.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};j.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var ce=j,Rt={};(function(t){const e=M.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=e(r),s=o===145?26:Math.ceil((o-13)/(2*n-2))*2,c=[o-7];for(let a=1;a=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){const o=n.size;let s=0,c=0,a=0,l=null,d=null;for(let p=0;p=5&&(s+=e.N1+(c-5)),l=w,c=1),w=n.get(C,p),w===d?a++:(a>=5&&(s+=e.N1+(a-5)),d=w,a=1)}c>=5&&(s+=e.N1+(c-5)),a>=5&&(s+=e.N1+(a-5))}return s},t.getPenaltyN2=function(n){const o=n.size;let s=0;for(let c=0;c=10&&(c===1488||c===93)&&s++,a=a<<1&2047|n.get(d,l),d>=10&&(a===1488||a===93)&&s++}return s*e.N3},t.getPenaltyN4=function(n){let o=0;const s=n.data.length;for(let a=0;a=0;){const s=o[0];for(let a=0;a0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var ue=gt,Ut={},D={},ht={};ht.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var P={};const kt="[0-9]+",fe="[A-Z $%*+\\-./:]+";let J="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";J=J.replace(/u/g,"\\u");const de="(?:(?![A-Z0-9 $%*+\\-./:]|"+J+`)(?:.|[\r +var $t=Object.defineProperty;var Et=Object.getOwnPropertySymbols;var Qt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;var Bt=(t,e,i)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,pt=(t,e)=>{for(var i in e||(e={}))Qt.call(e,i)&&Bt(t,i,e[i]);if(Et)for(var i of Et(e))Gt.call(e,i)&&Bt(t,i,e[i]);return t};var nt=(t,e,i)=>new Promise((r,n)=>{var o=a=>{try{c(i.next(a))}catch(l){n(l)}},s=a=>{try{c(i.throw(a))}catch(l){n(l)}},c=a=>a.done?r(a.value):Promise.resolve(a.value).then(o,s);c((i=i.apply(t,e)).next())});import{p as Q}from"./propTypes-D_I3dZnw.js";import{d as qt,a as bt,p as At,n as Wt,i as L,B as Xt,A as Zt,u as _,e as xt,F as te,y as ee,ad as ne,aA as Tt,V as oe}from"./index-DqH6biyS.js";import{d as re}from"./refresh-right-Du3ZsAuC.js";var Y={},ie=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Mt={},M={};let dt;const se=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];M.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};M.getSymbolTotalCodewords=function(e){return se[e]};M.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};M.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');dt=e};M.isKanjiModeEnabled=function(){return typeof dt!="undefined"};M.toSJIS=function(e){return dt(e)};var Z={};(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+i)}}t.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},t.from=function(r,n){if(t.isValid(r))return r;try{return e(r)}catch(o){return n}}})(Z);function Pt(){this.buffer=[],this.length=0}Pt.prototype={get:function(t){const e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let i=0;i>>e-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var ae=Pt;function j(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}j.prototype.set=function(t,e,i,r){const n=t*this.size+e;this.data[n]=i,r&&(this.reservedBit[n]=!0)};j.prototype.get=function(t,e){return this.data[t*this.size+e]};j.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i};j.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var ce=j,Rt={};(function(t){const e=M.getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=e(r),s=o===145?26:Math.ceil((o-13)/(2*n-2))*2,c=[o-7];for(let a=1;a=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){const o=n.size;let s=0,c=0,a=0,l=null,d=null;for(let p=0;p=5&&(s+=e.N1+(c-5)),l=w,c=1),w=n.get(C,p),w===d?a++:(a>=5&&(s+=e.N1+(a-5)),d=w,a=1)}c>=5&&(s+=e.N1+(c-5)),a>=5&&(s+=e.N1+(a-5))}return s},t.getPenaltyN2=function(n){const o=n.size;let s=0;for(let c=0;c=10&&(c===1488||c===93)&&s++,a=a<<1&2047|n.get(d,l),d>=10&&(a===1488||a===93)&&s++}return s*e.N3},t.getPenaltyN4=function(n){let o=0;const s=n.data.length;for(let a=0;a=0;){const s=o[0];for(let a=0;a0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var ue=gt,Ut={},D={},ht={};ht.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40};var P={};const kt="[0-9]+",fe="[A-Z $%*+\\-./:]+";let J="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";J=J.replace(/u/g,"\\u");const de="(?:(?![A-Z0-9 $%*+\\-./:]|"+J+`)(?:.|[\r ]))+`;P.KANJI=new RegExp(J,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(de,"g");P.NUMERIC=new RegExp(kt,"g");P.ALPHANUMERIC=new RegExp(fe,"g");const ge=new RegExp("^"+J+"$"),he=new RegExp("^"+kt+"$"),we=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(e){return ge.test(e)};P.testNumeric=function(e){return he.test(e)};P.testAlphanumeric=function(e){return we.test(e)};(function(t){const e=ht,i=P;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return i.testNumeric(o)?t.NUMERIC:i.testAlphanumeric(o)?t.ALPHANUMERIC:i.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function r(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+n)}}t.from=function(o,s){if(t.isValid(o))return o;try{return r(o)}catch(c){return s}}})(D);(function(t){const e=M,i=x,r=Z,n=D,o=ht,s=7973,c=e.getBCHDigit(s);function a(C,w,y){for(let u=1;u<=40;u++)if(w<=t.getCapacity(u,y,C))return u}function l(C,w){return n.getCharCountIndicator(C,w)+4}function d(C,w){let y=0;return C.forEach(function(u){const E=l(u.mode,w);y+=E+u.getBitsLength()}),y}function p(C,w){for(let y=1;y<=40;y++)if(d(C,y)<=t.getCapacity(y,w,n.MIXED))return y}t.from=function(w,y){return o.isValid(w)?parseInt(w,10):y},t.getCapacity=function(w,y,u){if(!o.isValid(w))throw new Error("Invalid QR Code version");typeof u=="undefined"&&(u=n.BYTE);const E=e.getSymbolTotalCodewords(w),f=i.getTotalCodewordsCount(w,y),m=(E-f)*8;if(u===n.MIXED)return m;const h=m-l(u,w);switch(u){case n.NUMERIC:return Math.floor(h/10*3);case n.ALPHANUMERIC:return Math.floor(h/11*2);case n.KANJI:return Math.floor(h/13);case n.BYTE:default:return Math.floor(h/8)}},t.getBestVersionForData=function(w,y){let u;const E=r.from(y,r.M);if(Array.isArray(w)){if(w.length>1)return p(w,E);if(w.length===0)return 1;u=w[0]}else u=w;return a(u.mode,u.getLength(),E)},t.getEncodedBits=function(w){if(!o.isValid(w)||w<7)throw new Error("Invalid QR Code version");let y=w<<12;for(;e.getBCHDigit(y)-c>=0;)y^=s<=0;)n^=zt<0&&(r=this.data.substr(i),n=parseInt(r,10),e.put(n,o*3+1))};var ye=k;const Ee=D,ot=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function F(t){this.mode=Ee.ALPHANUMERIC,this.data=t}F.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(e){let i;for(i=0;i+2<=this.data.length;i+=2){let r=ot.indexOf(this.data[i])*45;r+=ot.indexOf(this.data[i+1]),e.put(r,11)}this.data.length%2&&e.put(ot.indexOf(this.data[i]),6)};var Be=F;const pe=D;function z(t){this.mode=pe.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}z.getBitsLength=function(e){return e*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(t){for(let e=0,i=this.data.length;e=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),t.put(i,13)}};var Ie=V,Ht={exports:{}};(function(t){var e={single_source_shortest_paths:function(i,r,n){var o={},s={};s[r]=0;var c=e.PriorityQueue.make();c.push(r,0);for(var a,l,d,p,C,w,y,u,E;!c.empty();){a=c.pop(),l=a.value,p=a.cost,C=i[l]||{};for(d in C)C.hasOwnProperty(d)&&(w=C[d],y=p+w,u=s[d],E=typeof s[d]=="undefined",(E||u>y)&&(s[d]=y,c.push(d,y),o[d]=l))}if(typeof n!="undefined"&&typeof s[n]=="undefined"){var f=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(f)}return o},extract_shortest_path_from_predecessor_list:function(i,r){for(var n=[],o=r;o;)n.push(o),i[o],o=i[o];return n.reverse(),n},find_path:function(i,r,n){var o=e.single_source_shortest_paths(i,r,n);return e.extract_shortest_path_from_predecessor_list(o,n)},PriorityQueue:{make:function(i){var r=e.PriorityQueue,n={},o;i=i||{};for(o in r)r.hasOwnProperty(o)&&(n[o]=r[o]);return n.queue=[],n.sorter=i.sorter||r.default_sorter,n},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var n={value:i,cost:r};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(Ht);var Se=Ht.exports;(function(t){const e=D,i=ye,r=Be,n=be,o=Ie,s=P,c=M,a=Se;function l(f){return unescape(encodeURIComponent(f)).length}function d(f,m,h){const g=[];let B;for(;(B=f.exec(h))!==null;)g.push({data:B[0],index:B.index,mode:m,length:B[0].length});return g}function p(f){const m=d(s.NUMERIC,e.NUMERIC,f),h=d(s.ALPHANUMERIC,e.ALPHANUMERIC,f);let g,B;return c.isKanjiModeEnabled()?(g=d(s.BYTE,e.BYTE,f),B=d(s.KANJI,e.KANJI,f)):(g=d(s.BYTE_KANJI,e.BYTE,f),B=[]),m.concat(h,g,B).sort(function(A,N){return A.index-N.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function C(f,m){switch(m){case e.NUMERIC:return i.getBitsLength(f);case e.ALPHANUMERIC:return r.getBitsLength(f);case e.KANJI:return o.getBitsLength(f);case e.BYTE:return n.getBitsLength(f)}}function w(f){return f.reduce(function(m,h){const g=m.length-1>=0?m[m.length-1]:null;return g&&g.mode===h.mode?(m[m.length-1].data+=h.data,m):(m.push(h),m)},[])}function y(f){const m=[];for(let h=0;h=0&&c<=6&&(a===0||a===6)||a>=0&&a<=6&&(c===0||c===6)||c>=2&&c<=4&&a>=2&&a<=4?t.set(o+c,s+a,!0,!0):t.set(o+c,s+a,!1,!0))}}function Ue(t){const e=t.size;for(let i=8;i>c&1)===1,t.set(n,o,s,!0),t.set(o,n,s,!0)}function st(t,e,i){const r=t.size,n=ve.getEncodedBits(e,i);let o,s;for(o=0;o<15;o++)s=(n>>o&1)===1,o<6?t.set(o,8,s,!0):o<8?t.set(o+1,8,s,!0):t.set(r-15+o,8,s,!0),o<8?t.set(8,r-o-1,s,!0):o<9?t.set(8,15-o-1+1,s,!0):t.set(8,15-o-1,s,!0);t.set(r-8,8,1,!0)}function ze(t,e){const i=t.size;let r=-1,n=i-1,o=7,s=0;for(let c=i-1;c>0;c-=2)for(c===6&&c--;;){for(let a=0;a<2;a++)if(!t.isReserved(n,c-a)){let l=!1;s>>o&1)===1),t.set(n,c-a,l),o--,o===-1&&(s++,o=7)}if(n+=r,n<0||i<=n){n-=r,r=-r;break}}}function Ve(t,e,i){const r=new Ne;i.forEach(function(a){r.put(a.mode.bit,4),r.put(a.getLength(),De.getCharCountIndicator(a.mode,t)),a.write(r)});const n=et.getSymbolTotalCodewords(t),o=ut.getTotalCodewordsCount(t,e),s=(n-o)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const c=(s-r.getLengthInBits())/8;for(let a=0;a{const d=f("el-input");return r(),l("div",k,[s("p",null,t(e(n)("menus.pureMenu1")),1),s("p",v,t(e(n)("menus.pureMenu1-2")),1),s("p",y,t(e(n)("menus.pureMenu1-2-2")),1),_(d,{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=m=>o.value=m)},null,8,["modelValue"]),e(a).text?(r(),l("div",h," 此页面携带的参数值为:"+t(e(a).text),1)):x("",!0)])}}});export{N as default}; +import{d as p,a as c,R as i,k as l,g as s,t,u as e,i as _,j as x,e as f,ac as V,f as r}from"./index-DqH6biyS.js";const k={class:"dark:text-white"},v={style:{"text-indent":"2em"}},y={style:{"text-indent":"4em"}},h={key:0,class:"mt-4"},N=p({name:"Menu1-2-2",__name:"index",setup(M){const o=c(""),{t:n}=i(),{query:a}=V();return(B,u)=>{const d=f("el-input");return r(),l("div",k,[s("p",null,t(e(n)("menus.pureMenu1")),1),s("p",v,t(e(n)("menus.pureMenu1-2")),1),s("p",y,t(e(n)("menus.pureMenu1-2-2")),1),_(d,{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=m=>o.value=m)},null,8,["modelValue"]),e(a).text?(r(),l("div",h," 此页面携带的参数值为:"+t(e(a).text),1)):x("",!0)])}}});export{N as default}; diff --git a/static/js/index-DmPCTGTm.js b/static/js/index-DmPCTGTm.js new file mode 100644 index 0000000000..ea28fba318 --- /dev/null +++ b/static/js/index-DmPCTGTm.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-D0NINnTP.js";import"./columns-ByNo9D3g.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-BF5jemmp.js b/static/js/index-Dms5VVRE.js similarity index 81% rename from static/js/index-BF5jemmp.js rename to static/js/index-Dms5VVRE.js index 2d66d2ea9e..55b7cd3b17 100644 --- a/static/js/index-BF5jemmp.js +++ b/static/js/index-Dms5VVRE.js @@ -1 +1 @@ -import{u as g}from"./columns-N5PCbs1O.js";import{u as d}from"./hooks-CaC3u4N2.js";import{d as f,e as o,f as C,b,w as a,i as t,u as e,_ as h}from"./index-AFhnwzwZ.js";const w=f({__name:"index",setup(x){const{loading:i,columns:r,dataList:s,pagination:n,Empty:c,onCurrentChange:l}=g();return(y,k)=>{const p=o("el-empty"),m=o("el-button"),u=o("pure-table");return C(),b(u,{"row-key":"id",alignWhole:"center",showOverflowTooltip:"",loading:e(i),"loading-config":{background:"transparent"},data:e(s).slice((e(n).currentPage-1)*e(n).pageSize,e(n).currentPage*e(n).pageSize),columns:e(r),pagination:e(n),onPageCurrentChange:e(l)},{empty:a(()=>[t(p,{description:"暂无数据","image-size":60},{image:a(()=>[t(e(c))]),_:1})]),operation:a(({row:_})=>[t(m,{plain:"",circle:"",size:"small",title:`查看序号为${_.id}的详情`,icon:e(d)("ri:search-line")},null,8,["title","icon"])]),_:1},8,["loading","data","columns","pagination","onPageCurrentChange"])}}}),B=h(w,[["__scopeId","data-v-db81b3a6"]]);export{B as default}; +import{u as g}from"./columns-B-FkQK58.js";import{u as d}from"./hooks-BoDRUKFd.js";import{d as f,e as o,f as C,b,w as a,i as t,u as e,_ as h}from"./index-DqH6biyS.js";const w=f({__name:"index",setup(x){const{loading:i,columns:r,dataList:s,pagination:n,Empty:c,onCurrentChange:l}=g();return(y,k)=>{const p=o("el-empty"),m=o("el-button"),u=o("pure-table");return C(),b(u,{"row-key":"id",alignWhole:"center",showOverflowTooltip:"",loading:e(i),"loading-config":{background:"transparent"},data:e(s).slice((e(n).currentPage-1)*e(n).pageSize,e(n).currentPage*e(n).pageSize),columns:e(r),pagination:e(n),onPageCurrentChange:e(l)},{empty:a(()=>[t(p,{description:"暂无数据","image-size":60},{image:a(()=>[t(e(c))]),_:1})]),operation:a(({row:_})=>[t(m,{plain:"",circle:"",size:"small",title:`查看序号为${_.id}的详情`,icon:e(d)("ri:search-line")},null,8,["title","icon"])]),_:1},8,["loading","data","columns","pagination","onPageCurrentChange"])}}}),B=h(w,[["__scopeId","data-v-db81b3a6"]]);export{B as default}; diff --git a/static/js/index-AFhnwzwZ.js b/static/js/index-DqH6biyS.js similarity index 98% rename from static/js/index-AFhnwzwZ.js rename to static/js/index-DqH6biyS.js index 54d488afa3..36ae8882c1 100644 --- a/static/js/index-AFhnwzwZ.js +++ b/static/js/index-DqH6biyS.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/mqtt-client-j43Q9KKT.js","static/js/_commonjs-dynamic-modules-TDtrdbi3.js","static/js/verify-Bk5ELcBI.js","static/css/verify-Be8poDHq.css","static/js/index-CLuZ42WN.js","static/js/print-B-zH8tbv.js","static/js/pieChart.vue_vue_type_script_setup_true_lang-rVvXOa18.js","static/css/index-hDOxYB8t.css","static/js/excel-Gj9dYvk6.js","static/js/xlsx-DaVhO591.js","static/js/draggable-BufJXA4z.js","static/js/sortable.esm-Br3T5NCo.js","static/js/app-Cp1TpsuP.js","static/css/draggable-DiADzhhz.css","static/js/qrcode-CYOy2VTt.js","static/js/index-rRKx_4l4.js","static/js/propTypes-D_I3dZnw.js","static/js/refresh-right-Du3ZsAuC.js","static/css/index-ClQITqCO.css","static/js/map-HN9iG94Y.js","static/js/mock-Kl59S0Qr.js","static/css/map-Brgx2VfP.css","static/js/video-CbOSdF8S.js","static/js/hooks-CaC3u4N2.js","static/css/video-BhYqHDva.css","static/js/index-Cx0D6q7y.js","static/js/mitt-E5P-NQ8u.js","static/css/index-CNvRMWLT.css","static/js/index-B_CAjgKE.js","static/css/index-B24_2hbS.css","static/js/menu-tree-DD7-osfn.js","static/js/line-tree-CLj803dT.js","static/css/line-tree-Cn-eDIO0.css","static/js/typeit-CxItUGid.js","static/js/index-7dCevZAN.js","static/js/pinyin-BvBX7pIP.js","static/js/index-DUS3SmWP.js","static/css/pinyin-lzB4xhF4.css","static/js/index-DK4oWLmd.js","static/js/columns-mmW5Qp--.js","static/css/index-D2TL5alR.css","static/js/frame-CpGMGK3l.js","static/css/frame-drSrUqjN.css","static/js/index-DCGfcDpT.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-CCRCXURt.js","static/js/form.vue_vue_type_script_setup_true_lang-CNyJvxI-.js","static/js/index-DQ5Mcg6T.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js","static/js/form.vue_vue_type_script_setup_true_lang-DcswILmb.js","static/js/message-Cy4wCo2H.js","static/js/check-CIQVCvCT.js","static/js/index-DqrL1QBV.js","static/js/form.vue_vue_type_script_setup_true_lang-DXhWVc2j.js","static/js/plus-C98eNXam.js","static/css/index-B90xhdhy.css","static/js/check-card-DIV3kA2O.js","static/js/_plugin-vue_export-helper-C_DISmKY.js","static/css/_plugin-vue_export-helper-g_5ERD9L.css","static/css/check-card-CghITDoq.css","static/js/date-picker-BDC0bdag.js","static/css/date-picker-DcOEczSt.css","static/js/datetime-picker-7Xgh0GeS.js","static/css/datetime-picker-D77Hp9hw.css","static/js/animatecss-Xc9tuEGJ.js","static/js/index-XjHH2uHF.js","static/css/index-B3KZ5T0c.css","static/js/index-D5iCjPOU.js","static/js/index-B9RHPT66.js","static/css/index-xO_rZQGs.css","static/js/segmented-C_6trlMT.js","static/js/home-filled-NADQtN-e.js","static/js/index-u0vKWnyJ.js","static/css/index-0Ns0oD31.css","static/css/segmented-B4Xvd8X_.css","static/js/text-5ZVgRnoz.js","static/js/index-DCLVZHw7.js","static/css/text-CTAaY5k-.css","static/js/el-button-DzbHFNBD.js","static/css/el-button-CzgDp2Xp.css","static/js/check-button-XlJN5YhP.js","static/css/check-button-DvqxaSl1.css","static/js/progress-84ELKHTx.js","static/css/progress-BZ5FKOg5.css","static/js/tag-BEvkUo0H.js","static/css/tag-DRqu5BIF.css","static/js/statistic-CJa3qh8a.js","static/js/index-BSGz-TY2.js","static/css/statistic-BsMcOnfe.css","static/js/selector-BrvC8BVA.js","static/css/selector-DrAmmnNe.css","static/js/index-DUmu9ZnI.js","static/js/back_top-B_m2U_ZU.js","static/css/index-Pk1r8NtC.css","static/js/split-pane-IhwMoH_O.js","static/css/split-pane-DHcc8O0M.css","static/js/swiper-Co8_beCy.js","static/css/swiper-OvpOgvDJ.css","static/js/timeline-BHFA2LNF.js","static/js/index-DI5uoZkq.js","static/css/index-QUNCiyoY.css","static/js/iphone-CgGaW-_Y.js","static/css/timeline-0rxIzw5S.css","static/js/count-to-D_H49llH.js","static/js/index-CzqPEx3Y.js","static/css/index-oSOQGCv_.css","static/js/index-M7DqAzMo.js","static/js/basic-ChpwFBaJ.js","static/js/index.esm-O8y2Za45.js","static/css/basic-DICJbJQv.css","static/js/menuGroup-PkDKTT2E.js","static/css/menuGroup-DTQqCbbT.css","static/js/menuDynamic-CCYM-yhI.js","static/css/menuDynamic-Csz1h3t-.css","static/css/index-Dq4k26LR.css","static/js/json-editor-DLF-xU-5.js","static/js/vue-json-pretty-DYIyI-em.js","static/css/vue-json-pretty-CtOi20p7.css","static/js/seamless-scroll-CcIjbdjf.js","static/css/seamless-scroll-C_sbj00S.css","static/js/index-C_Adml9X.js","static/js/vertical-DIp-8Fgy.js","static/js/vue-virtual-scroller.esm-Df78MieR.js","static/css/vertical-D2tfgfPO.css","static/js/horizontal-BmHUgCul.js","static/css/horizontal-D-eOm3dS.css","static/css/index-CLgLPp42.css","static/js/index-D2nJixOM.js","static/js/EditorBase.vue_vue_type_script_setup_true_lang-LYWGUmxY.js","static/js/index.esm-CPkU7_3x.js","static/css/index-CyDcjooT.css","static/js/EditorMulti.vue_vue_type_script_setup_true_lang-DSwCa6L7.js","static/js/EditorUpload.vue_vue_type_script_setup_true_lang-BiDk0D3e.js","static/css/index-Bhio7rPh.css","static/js/index-sLU0v2yw.js","static/js/orderBy-CFx0eenJ.js","static/css/index-51In0bHr.css","static/js/index-bQMkK_Xr.js","static/js/list-CPeGP44p.js","static/js/base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js","static/js/plus-form-kZ-6J13C.js","static/css/plus-form-BmDJLnGP.css","static/js/dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js","static/css/dialog-DPXrSiAL.css","static/css/el-overlay-qDT_LInN.css","static/js/drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js","static/css/drawer-CqGHR0c5.css","static/js/steps.vue_vue_type_script_setup_true_lang-B_pmieP8.js","static/css/steps-D2oNYS2g.css","static/js/search.vue_vue_type_script_setup_true_lang-0PK0dRAp.js","static/css/search-DBtlmhTs.css","static/css/index-C5GIxhxR.css","static/js/index-BWpd2JVO.js","static/css/index-D2gBt2tK.css","static/js/index-CiH_NjpO.js","static/js/close-CObHKOmY.js","static/js/git-branch-line-BhusJOme.js","static/js/admin-line-CpqWPwjZ.js","static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-D-RCLPqw.js","static/js/dark-DZCoNMpI.js","static/js/user-DNtD0Fqa.js","static/js/epTheme-rJf1qnVw.js","static/js/useDataThemeChange-D7aTkze5.js","static/js/arrow-right-s-line-CxPb13eK.js","static/css/index-Bn9PK2rF.css","static/js/index-0fxmVDxO.js","static/js/index-BF5jemmp.js","static/js/columns-N5PCbs1O.js","static/css/index-EAYo7p5E.css","static/js/ChartBar.vue_vue_type_script_setup_true_lang-CXoHkDnM.js","static/js/ChartLine.vue_vue_type_script_setup_true_lang-BAWM2kEw.js","static/js/ChartRound.vue_vue_type_script_setup_true_lang-C-0bCxvA.js","static/css/index-D8KjQsfT.css","static/js/index-CZ73tXTB.js","static/js/ListCard-C_5XlKYR.js","static/js/more-2-fill-iTOisMwj.js","static/css/ListCard-CyaIZsUB.css","static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-jhiSt4zT.js","static/js/add-circle-line-DOJqVT3s.js","static/js/success-cb0_cmcJ.js","static/css/success-DwpqFBgb.css","static/js/fail-CwkBMC7T.js","static/js/columns-Bt7TvYLZ.js","static/css/fail-tGiRe8CG.css","static/js/index-Dy8WaZ9q.js","static/js/list-DhWKmiIS.js","static/js/base.vue_vue_type_script_setup_true_lang-Cd3Oy7X-.js","static/js/data-Ym5jS6hg.js","static/js/stripe.vue_vue_type_script_setup_true_lang-Bp23k1Uq.js","static/js/border.vue_vue_type_script_setup_true_lang-BcZ86RuH.js","static/js/status.vue_vue_type_style_index_0_lang-C4OOMurw.js","static/css/status-C5weo4hH.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-DxPCIj5l.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-BE9oxQkT.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BCosl8-w.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-BIjA1CDD.js","static/js/radio.vue_vue_type_script_setup_true_lang-Be2wJsO5.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-BlSekUhG.js","static/js/sortable.vue_vue_type_script_setup_true_lang-Bdm0Oly5.js","static/js/filters.vue_vue_type_script_setup_true_lang-uczqbNBj.js","static/js/index.vue_vue_type_script_setup_true_lang-C4EmSHGZ.js","static/js/columns-W6b6dVhJ.js","static/js/index.vue_vue_type_script_setup_true_lang-Q9Gd_OeO.js","static/js/columns-B8xO-q65.js","static/js/expand.vue_vue_type_script_setup_true_lang-DreJx0lI.js","static/js/tree.vue_vue_type_script_setup_true_lang-DYOeKLHo.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-DgiBFEgr.js","static/js/merge.vue_vue_type_script_setup_true_lang-DaVpFdAG.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-rFEhzYQq.js","static/js/layout.vue_vue_type_script_setup_true_lang-UhEx_IUc.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-hFiXSG8I.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-BP4DjG2c.js","static/css/index-DDph4Goy.css","static/js/high-9cT5I8aF.js","static/js/list-h8CB_H-q.js","static/js/index.vue_vue_type_script_setup_true_lang-DY3i7yp4.js","static/js/columns-4XfjhWdI.js","static/js/data-BCF1-ihA.js","static/js/index.vue_vue_type_script_setup_true_lang-CZos11Ig.js","static/js/columns-CivT3P5a.js","static/js/index.vue_vue_type_script_setup_true_lang-DdDOZHtg.js","static/js/columns-Bq1kzona.js","static/js/index.vue_vue_type_script_setup_true_lang-CHOr-SQF.js","static/js/columns-D_FG28Q-.js","static/js/index.vue_vue_type_script_setup_true_lang-uqitQCPz.js","static/js/columns-DZzMsn5t.js","static/js/index.vue_vue_type_script_setup_true_lang-BNbMfzQc.js","static/js/columns-N69ho3Xb.js","static/js/index.vue_vue_type_script_setup_true_lang-SWR9yajI.js","static/js/columns-WW1tqWmb.js","static/js/index.vue_vue_type_script_setup_true_lang-BdaofWVl.js","static/js/columns-D6eQDAkz.js","static/js/index.vue_vue_type_script_setup_true_lang-ldfwpCAC.js","static/js/columns-BncLCxvV.js","static/js/index.vue_vue_type_script_setup_true_lang-CL6ssXl7.js","static/js/columns-DfnzjBq4.js","static/js/index.vue_vue_type_script_setup_true_lang-B2xVCSk0.js","static/js/index.vue_vue_type_script_setup_true_lang-Dt0BOUOw.js","static/js/columns-BVO3RVsJ.js","static/js/index.vue_vue_type_script_setup_true_lang-DQoQb7YO.js","static/js/columns-D5XW7oQh.js","static/css/high-Dk6FVblT.css","static/js/edit-DrDRbIlR.js","static/js/list-BQH5nk9p.js","static/js/index-BAq3q9Qe.js","static/js/columns-DtrYk2Vx.js","static/js/data-Dd4sCrbk.js","static/js/delete-Ce0TSdK5.js","static/css/index-CkajVhDw.css","static/js/index.vue_vue_type_script_setup_true_lang-Bq4tmEcf.js","static/js/columns-oRfGlFDG.js","static/js/index.vue_vue_type_script_setup_true_lang-B0q0buFC.js","static/js/columns-DK0OQsND.js","static/js/edit-pen-Ci7W0xNM.js","static/css/edit-DoJeb7im.css","static/js/virtual-kAdtnFjI.js","static/js/list-0WJoxP2Y.js","static/js/list.vue_vue_type_script_setup_true_lang-CxS7aLIW.js","static/js/index-ChsvWO4T.js","static/js/collapse-BIaolCul.js","static/js/treeList.vue_vue_type_script_setup_true_lang-BNrlnE4U.js","static/js/pageList.vue_vue_type_script_setup_true_lang-Dnr6NNH2.js","static/css/virtual-DkoUGB9z.css","static/js/index-C-LhdMC8.js","static/js/icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js","static/js/vue-flow-core-BWd71HaQ.js","static/js/processNode-BR98Y4-C.js","static/css/processNode-Xrec2Awd.css","static/js/animationEdge-Bsm6EJWI.js","static/css/animationEdge-Bzmv0R76.css","static/css/index-VfQaWSba.css","static/js/pieChart-D2zuhmdM.js","static/js/AccountManagement-Bwm925hX.js","static/css/AccountManagement-DWIUjGW3.css","static/js/Preferences-yKRq6FQr.js","static/css/Preferences-DXTYECkL.css","static/js/Profile-CGv81EmN.js","static/js/Profile.vue_vue_type_script_setup_true_lang-xJxHHlgq.js","static/js/index-B5M9mQxp.js","static/js/upload-line-ClmDKJCy.js","static/js/SecurityLog-CdlX45q7.js","static/js/SecurityLog.vue_vue_type_script_setup_true_lang-D9zTVXSd.js","static/js/index-Dy7B4rCO.js","static/css/index-CbSLRx0c.css","static/js/form-CXi5YpoE.js","static/js/formPrimitive-CmmN6i4n.js","static/js/form-DL5ZxoGs.js","static/js/formPrimitive-DU3nkcrF.js","static/js/form-BOlKdv64.js","static/js/EditorBase-CdumWmQG.js","static/js/EditorMulti-0GRet5Ja.js","static/js/EditorUpload-CHQEA3s7.js","static/js/index-2j2geX_R.js","static/css/index-Yz7If--a.css","static/js/ListDialogForm-CJV5_35a.js","static/js/LoginPhone-BmPrDqaZ.js","static/js/LoginPhone.vue_vue_type_script_setup_true_lang-DyIbgUuq.js","static/js/motion-BWs4EVp0.js","static/js/verifyCode-BiQTeHGY.js","static/js/LoginQrCode-lQ3nm2bg.js","static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-PcdLZs_2.js","static/js/LoginRegist-CPkZf5Qr.js","static/js/LoginRegist.vue_vue_type_script_setup_true_lang-CegFiySb.js","static/js/lock-fill-BZPnsoM7.js","static/js/LoginUpdate-CBzzysdh.js","static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-CMQAj3FL.js","static/js/index-BxvHEj1Y.js","static/css/index-DeTTrvTE.css","static/js/hook-Bh8LQbUl.js","static/js/system-ByM4snMa.js","static/js/hooks-DZOKHTKM.js","static/js/index-F2404lV5.js","static/js/utils-NlcLu7mC.js","static/js/refresh-lSteXGJu.js","static/css/index-ocKTYWO1.css","static/js/hook-Dpo6x_Lp.js","static/js/index-C0Cc9DPU.js","static/css/index-WLhYk50i.css","static/js/detail-kqJ7foUD.js","static/js/detail.vue_vue_type_script_setup_true_lang-6mdvotA-.js","static/js/hook-BTIlemgc.js","static/js/index-BCvjJx8_.js","static/css/index-BpNrb0wb.css","static/js/hook-Dzvnqk76.js","static/js/index-BHqehRKF.js","static/css/index-Cfuknqd9.css","static/js/base-B-_9GtrP.js","static/js/dialog-FoeeENk5.js","static/js/drawer-drbuq3ka.js","static/js/search-DcdCSBW8.js","static/js/steps-CkdylG8x.js","static/js/form-DgMx8ZRc.js","static/js/form.vue_vue_type_script_setup_true_lang-24sqXQI_.js","static/js/index-DMJ85jnn.js","static/js/hook-Bk3wY7nR.js","static/css/index-D44rJ8Q0.css","static/js/form-9NQoJMYe.js","static/js/form.vue_vue_type_script_setup_true_lang-D0FiuqQM.js","static/js/index-stQayN7I.js","static/js/hook-Ch_JvkHg.js","static/css/index-BDCWz-xL.css","static/js/form-BRuSyItc.js","static/js/form.vue_vue_type_script_setup_true_lang-BWM-wSMk.js","static/js/index-CXQqUFyq.js","static/js/hook-DuIhbc6O.js","static/css/index-Dkvyn4MI.css","static/js/index-CCjlwUfI.js","static/js/index.vue_vue_type_script_setup_true_lang-43Fb-9Dj.js","static/js/role-CFR9UNWE.js","static/js/role.vue_vue_type_script_setup_true_lang-C7tReUW6.js","static/js/index-hhxSfqIH.js","static/js/tree-BLkGgvg_.js","static/css/tree-DZmUyI-A.css","static/js/hook-CLM_CVdg.js","static/css/hook-1k5ZZAki.css","static/css/index-CXeeaxg1.css","static/js/base-eqOh4Qnt.js","static/js/border-LqbbQBJH.js","static/js/index-DRjwBl8B.js","static/js/customIndex-C_nzc73A.js","static/js/expand-CYI-bVjg.js","static/js/filters-B1OOUy2i.js","static/js/fixColumn-ZnACjYta.js","static/js/fixHeader-J0tNo_tS.js","static/js/fluidHeight-Ckft2G5r.js","static/js/groupHeader-KkwMdTg1.js","static/js/index-BTCtAhSj.js","static/js/imgPreview-BPwUE2u3.js","static/js/layout-O7xB_nmL.js","static/js/merge-PTflCsnp.js","static/js/multipleChoice-PzlUr7wq.js","static/js/nestProp-Ciw2CFPU.js","static/js/radio-DGrmoxVU.js","static/js/sortable-3_QYwKaZ.js","static/js/status-BtYl3rAY.js","static/js/stripe-DORE3wPj.js","static/js/totalRow-N7QhcToT.js","static/js/tree-BP1f_oy1.js","static/js/index-CwKPcD4G.js","static/js/index-bOkh4qt6.js","static/js/index-B6KuR2Vp.js","static/js/index-BOKpa1YJ.js","static/js/index-DOYGE0Zk.js","static/js/index-Dv86riRO.js","static/js/index-UO9G2m0U.js","static/js/index-n3yD3H1a.js","static/js/index-CyPgGZDP.js","static/js/index-B-6lN4AZ.js","static/js/index-BUwyf7U5.js","static/js/index-BhSXMg4W.js","static/js/index-Dfia82Tx.js","static/js/index-DWzZnALD.js","static/js/index-vMsI3rgr.js","static/js/list-Dh_6pVeV.js","static/js/pageList-DJ5Onm5f.js","static/js/treeList-Cak_N6vB.js","static/js/index-B2oqbt8z.js","static/js/hooks-CCVbvWD9.js","static/js/params-detail-BGzc9b2S.js","static/js/query-detail-bg-aVu5e.js","static/js/icon-BE15Ious.js","static/js/ChartBar-0k5WpS75.js","static/js/ChartLine-D4xtBZno.js","static/js/ChartRound-DClOenZF.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/mqtt-client-TFerwYCu.js","static/js/_commonjs-dynamic-modules-TDtrdbi3.js","static/js/verify-BXiTPTCu.js","static/css/verify-Be8poDHq.css","static/js/index-BCqTdNcB.js","static/js/print-B-zH8tbv.js","static/js/pieChart.vue_vue_type_script_setup_true_lang-BaeSYoEm.js","static/css/index-hDOxYB8t.css","static/js/excel-CiD4ZMqP.js","static/js/xlsx-DaVhO591.js","static/js/draggable-BLR7jlvm.js","static/js/sortable.esm-Br3T5NCo.js","static/js/app-6x4i1wLO.js","static/css/draggable-DiADzhhz.css","static/js/qrcode-fJM1M5e8.js","static/js/index-Dgb_lRhs.js","static/js/propTypes-D_I3dZnw.js","static/js/refresh-right-Du3ZsAuC.js","static/css/index-ClQITqCO.css","static/js/map-CdwSNwdy.js","static/js/mock-DMcMJ3Ay.js","static/css/map-Brgx2VfP.css","static/js/video-DC6M4URL.js","static/js/hooks-BoDRUKFd.js","static/css/video-BhYqHDva.css","static/js/index-NvLp9pvb.js","static/js/mitt-E5P-NQ8u.js","static/css/index-CNvRMWLT.css","static/js/index-DVr1E8Yp.js","static/css/index-B24_2hbS.css","static/js/menu-tree-CyTBjPoy.js","static/js/line-tree-gAfxUp_2.js","static/css/line-tree-Cn-eDIO0.css","static/js/typeit-DFUJjnsp.js","static/js/index-B2w5IFmw.js","static/js/pinyin-CsBTiQiT.js","static/js/index-DUS3SmWP.js","static/css/pinyin-lzB4xhF4.css","static/js/index-CZVgWSCU.js","static/js/columns-Djzxeu8D.js","static/css/index-D2TL5alR.css","static/js/frame-BpDq38R9.js","static/css/frame-drSrUqjN.css","static/js/index-BTthmtX0.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-BrJWiRd7.js","static/js/form.vue_vue_type_script_setup_true_lang-Cxy1BD0-.js","static/js/index-DwURU8VY.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js","static/js/form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js","static/js/message-DWBWequf.js","static/js/check-CIQVCvCT.js","static/js/index-DGi8l-e5.js","static/js/form.vue_vue_type_script_setup_true_lang-DagxPpTx.js","static/js/plus-C98eNXam.js","static/css/index-B90xhdhy.css","static/js/check-card-C4WEypSk.js","static/js/_plugin-vue_export-helper-C_DISmKY.js","static/css/_plugin-vue_export-helper-g_5ERD9L.css","static/css/check-card-CghITDoq.css","static/js/date-picker-BRTOdTA9.js","static/css/date-picker-DcOEczSt.css","static/js/datetime-picker-BEDxUgIT.js","static/css/datetime-picker-D77Hp9hw.css","static/js/animatecss-BGKYo2U4.js","static/js/index-DtSzCQP4.js","static/css/index-B3KZ5T0c.css","static/js/index-DSKh-n_9.js","static/js/index-BCC60M31.js","static/css/index-xO_rZQGs.css","static/js/segmented-BgwT3_es.js","static/js/home-filled-NADQtN-e.js","static/js/index-CAi4pX1c.js","static/css/index-0Ns0oD31.css","static/css/segmented-B4Xvd8X_.css","static/js/text-BqQO_WKY.js","static/js/index-VuOdZNJM.js","static/css/text-CTAaY5k-.css","static/js/el-button-DkSyg_LT.js","static/css/el-button-CzgDp2Xp.css","static/js/check-button-DaLd9Dyq.js","static/css/check-button-DvqxaSl1.css","static/js/progress-D8PJE17d.js","static/css/progress-BZ5FKOg5.css","static/js/tag-BUDz_XzN.js","static/css/tag-DRqu5BIF.css","static/js/statistic-Bh3Ln084.js","static/js/index-DZtY49CB.js","static/css/statistic-BsMcOnfe.css","static/js/selector-iwe3VwKC.js","static/css/selector-DrAmmnNe.css","static/js/index-CssYx8_7.js","static/js/back_top-B_nkv46y.js","static/css/index-Pk1r8NtC.css","static/js/split-pane-Diaam1l2.js","static/css/split-pane-DHcc8O0M.css","static/js/swiper-Dw8CtEFy.js","static/css/swiper-OvpOgvDJ.css","static/js/timeline-qDHWEr6H.js","static/js/index-Md1Qe70c.js","static/css/index-QUNCiyoY.css","static/js/iphone-CgGaW-_Y.js","static/css/timeline-0rxIzw5S.css","static/js/count-to-lA2fZpve.js","static/js/index-zeZagYtQ.js","static/css/index-oSOQGCv_.css","static/js/index-DI3zfSsa.js","static/js/basic-bI2BOlqM.js","static/js/index.esm-Bkk3eerN.js","static/css/basic-DICJbJQv.css","static/js/menuGroup-F6qhjyI_.js","static/css/menuGroup-DTQqCbbT.css","static/js/menuDynamic-TXnfFl_k.js","static/css/menuDynamic-Csz1h3t-.css","static/css/index-Dq4k26LR.css","static/js/json-editor-C8NOolfy.js","static/js/vue-json-pretty-ONrekcxr.js","static/css/vue-json-pretty-CtOi20p7.css","static/js/seamless-scroll-nP7lTgUi.js","static/css/seamless-scroll-C_sbj00S.css","static/js/index-Cea6h9xr.js","static/js/vertical-BspLGo6R.js","static/js/vue-virtual-scroller.esm-BzqO9TbG.js","static/css/vertical-D2tfgfPO.css","static/js/horizontal-D8lO_Mmt.js","static/css/horizontal-D-eOm3dS.css","static/css/index-CLgLPp42.css","static/js/index-BXZN_yAk.js","static/js/EditorBase.vue_vue_type_script_setup_true_lang-BgvORwGE.js","static/js/index.esm--zOXc_VX.js","static/css/index-CyDcjooT.css","static/js/EditorMulti.vue_vue_type_script_setup_true_lang-CoNOJV6q.js","static/js/EditorUpload.vue_vue_type_script_setup_true_lang-CkjeBfSb.js","static/css/index-Bhio7rPh.css","static/js/index-Bap_hJ3C.js","static/js/orderBy-BdSTuyc1.js","static/css/index-51In0bHr.css","static/js/index-H9OgFLj4.js","static/js/list-CE6GPu7k.js","static/js/base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js","static/js/plus-form-Cy3_segO.js","static/css/plus-form-BmDJLnGP.css","static/js/dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js","static/css/dialog-DPXrSiAL.css","static/css/el-overlay-qDT_LInN.css","static/js/drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js","static/css/drawer-CqGHR0c5.css","static/js/steps.vue_vue_type_script_setup_true_lang-DZWkQoHZ.js","static/css/steps-D2oNYS2g.css","static/js/search.vue_vue_type_script_setup_true_lang-D2A0JsCu.js","static/css/search-DBtlmhTs.css","static/css/index-C5GIxhxR.css","static/js/index-BM6vP2IY.js","static/css/index-D2gBt2tK.css","static/js/index-C8C4lqsr.js","static/js/close-CObHKOmY.js","static/js/git-branch-line-BhusJOme.js","static/js/admin-line-CpqWPwjZ.js","static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-kzHrS1rx.js","static/js/dark-j9TwCegr.js","static/js/user-DNtD0Fqa.js","static/js/epTheme-tM--YJJd.js","static/js/useDataThemeChange-DbAyv7hy.js","static/js/arrow-right-s-line-CxPb13eK.js","static/css/index-Bn9PK2rF.css","static/js/index-B7bsA-lN.js","static/js/index-Dms5VVRE.js","static/js/columns-B-FkQK58.js","static/css/index-EAYo7p5E.css","static/js/ChartBar.vue_vue_type_script_setup_true_lang-D7FLvOcj.js","static/js/ChartLine.vue_vue_type_script_setup_true_lang-C6PUrGOr.js","static/js/ChartRound.vue_vue_type_script_setup_true_lang-CEpeEWt7.js","static/css/index-D8KjQsfT.css","static/js/index-CD3UP9H1.js","static/js/ListCard-C--d7u8w.js","static/js/more-2-fill-iTOisMwj.js","static/css/ListCard-CyaIZsUB.css","static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-C-mYY5zn.js","static/js/add-circle-line-DOJqVT3s.js","static/js/success-BxgXRkdD.js","static/css/success-DwpqFBgb.css","static/js/fail-btWwJM1S.js","static/js/columns-CrHQyfdd.js","static/css/fail-tGiRe8CG.css","static/js/index-BrPWhHJO.js","static/js/list-Cgg6ByBQ.js","static/js/base.vue_vue_type_script_setup_true_lang-DhBAi1b_.js","static/js/data-B0U4WEbi.js","static/js/stripe.vue_vue_type_script_setup_true_lang-CClKpZjd.js","static/js/border.vue_vue_type_script_setup_true_lang-BubGyNWv.js","static/js/status.vue_vue_type_style_index_0_lang-6Qtbs0hy.js","static/css/status-C5weo4hH.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-DyhUDwrM.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-1Cjl19pX.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-BLDwbnhp.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-DTHGUFS0.js","static/js/radio.vue_vue_type_script_setup_true_lang-DL9BW8Pu.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-C1CMCrz8.js","static/js/sortable.vue_vue_type_script_setup_true_lang-CWEJ1908.js","static/js/filters.vue_vue_type_script_setup_true_lang-BDIQdkul.js","static/js/index.vue_vue_type_script_setup_true_lang-CtSr9sRs.js","static/js/columns-CgHMBxUf.js","static/js/index.vue_vue_type_script_setup_true_lang-DdvYmDgH.js","static/js/columns-pDchs0BE.js","static/js/expand.vue_vue_type_script_setup_true_lang-DB7o3pZr.js","static/js/tree.vue_vue_type_script_setup_true_lang-C3LhBtK2.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-DVWQoJN1.js","static/js/merge.vue_vue_type_script_setup_true_lang-DSmXgU5d.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-Dk06JySP.js","static/js/layout.vue_vue_type_script_setup_true_lang-BKu4Fcr9.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-BYVeSvao.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-BiuEDMEE.js","static/css/index-DDph4Goy.css","static/js/high-BojFCUXg.js","static/js/list-XaEhGcdh.js","static/js/index.vue_vue_type_script_setup_true_lang-DoHhAYPD.js","static/js/columns-DPyYTQWT.js","static/js/data-BAnvZeM5.js","static/js/index.vue_vue_type_script_setup_true_lang-D4hqcQBq.js","static/js/columns-D6cChJAy.js","static/js/index.vue_vue_type_script_setup_true_lang-D0NINnTP.js","static/js/columns-ByNo9D3g.js","static/js/index.vue_vue_type_script_setup_true_lang-DX1t3q06.js","static/js/columns-D9x1xpmu.js","static/js/index.vue_vue_type_script_setup_true_lang-B_2nF_ws.js","static/js/columns-Dvo-0eGO.js","static/js/index.vue_vue_type_script_setup_true_lang-CGnGD0Ts.js","static/js/columns-Du5B4AnY.js","static/js/index.vue_vue_type_script_setup_true_lang-BbPegNS9.js","static/js/columns-FB2NJ8pL.js","static/js/index.vue_vue_type_script_setup_true_lang-2k-n-FXG.js","static/js/columns-BvShHYbm.js","static/js/index.vue_vue_type_script_setup_true_lang-CuypgY0_.js","static/js/columns-z1tHx2lb.js","static/js/index.vue_vue_type_script_setup_true_lang-CVXfCMb3.js","static/js/columns-Dh4byXvk.js","static/js/index.vue_vue_type_script_setup_true_lang-BNRtHyLB.js","static/js/index.vue_vue_type_script_setup_true_lang-CYghlETT.js","static/js/columns-BR0-Komp.js","static/js/index.vue_vue_type_script_setup_true_lang-ChiTuvXl.js","static/js/columns-DjJFz-0d.js","static/css/high-Dk6FVblT.css","static/js/edit-BO0V0Szo.js","static/js/list-VPZJ20Sx.js","static/js/index-B44tj9fy.js","static/js/columns-z4dZqzYq.js","static/js/data-Dd4sCrbk.js","static/js/delete-Ce0TSdK5.js","static/css/index-CkajVhDw.css","static/js/index.vue_vue_type_script_setup_true_lang-DfmTAWWm.js","static/js/columns-DTyfIJ71.js","static/js/index.vue_vue_type_script_setup_true_lang-BYnDJUy8.js","static/js/columns-BWE-vVXR.js","static/js/edit-pen-Ci7W0xNM.js","static/css/edit-DoJeb7im.css","static/js/virtual-CXQsk3eH.js","static/js/list-FSD6k58R.js","static/js/list.vue_vue_type_script_setup_true_lang-m9bNSMHA.js","static/js/index-DTjI1qwX.js","static/js/collapse-DYh2XMRr.js","static/js/treeList.vue_vue_type_script_setup_true_lang-UuYwDP3v.js","static/js/pageList.vue_vue_type_script_setup_true_lang-BhoW5FGL.js","static/css/virtual-DkoUGB9z.css","static/js/index-XqLXsUZl.js","static/js/icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js","static/js/vue-flow-core-DtD1IO7M.js","static/js/processNode-DfLkmtD7.js","static/css/processNode-Xrec2Awd.css","static/js/animationEdge-CBc3d34U.js","static/css/animationEdge-Bzmv0R76.css","static/css/index-VfQaWSba.css","static/js/pieChart-0Io2ilTJ.js","static/js/AccountManagement-DJvVwQr-.js","static/css/AccountManagement-DWIUjGW3.css","static/js/Preferences-rKooaX3X.js","static/css/Preferences-DXTYECkL.css","static/js/Profile-Cl0Cjac9.js","static/js/Profile.vue_vue_type_script_setup_true_lang-Ww6l7y3Q.js","static/js/index-Dt5do88n.js","static/js/upload-line-ClmDKJCy.js","static/js/SecurityLog-C-O1R22k.js","static/js/SecurityLog.vue_vue_type_script_setup_true_lang-l-97lBV6.js","static/js/index-DeOjFkOE.js","static/css/index-CbSLRx0c.css","static/js/form-D_LKnimC.js","static/js/formPrimitive-OpV8hymT.js","static/js/form-BShU2orT.js","static/js/formPrimitive-CXS4BHOR.js","static/js/form-Bb99bg-g.js","static/js/EditorBase-CT536XJv.js","static/js/EditorMulti-CpGLZWXu.js","static/js/EditorUpload-C5nJPFyO.js","static/js/index-DBfZyh5_.js","static/css/index-Yz7If--a.css","static/js/ListDialogForm-DKEDYC5Q.js","static/js/LoginPhone-DGF7XC5M.js","static/js/LoginPhone.vue_vue_type_script_setup_true_lang-5vGCB0qZ.js","static/js/motion-CswUmNV1.js","static/js/verifyCode-bgLMaVwT.js","static/js/LoginQrCode-DkSLofHI.js","static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-8f8JPwkw.js","static/js/LoginRegist-uCwwpuNT.js","static/js/LoginRegist.vue_vue_type_script_setup_true_lang-mkx0qNSg.js","static/js/lock-fill-BZPnsoM7.js","static/js/LoginUpdate-Ciln_Ad_.js","static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-UasBkd2K.js","static/js/index-BokGuoha.js","static/css/index-DeTTrvTE.css","static/js/hook-CoPdYjap.js","static/js/system-Q00uAIzG.js","static/js/hooks-CT5JiEcI.js","static/js/index-CeIUEiQe.js","static/js/utils-NlcLu7mC.js","static/js/refresh-DeEyTuf-.js","static/css/index-ocKTYWO1.css","static/js/hook-3sUn2oql.js","static/js/index-a8zx5bys.js","static/css/index-WLhYk50i.css","static/js/detail-Asp0aJQV.js","static/js/detail.vue_vue_type_script_setup_true_lang--yAhQwKI.js","static/js/hook-CBcnYByc.js","static/js/index-BxWaCh97.js","static/css/index-BpNrb0wb.css","static/js/hook-vIEwZE0X.js","static/js/index-B7g2O0Fv.js","static/css/index-Cfuknqd9.css","static/js/base-C5EgVQI3.js","static/js/dialog-CMu208yW.js","static/js/drawer-ChIxO17M.js","static/js/search-C-PWU2BD.js","static/js/steps-CrFT7lNO.js","static/js/form-Dhpu2FGq.js","static/js/form.vue_vue_type_script_setup_true_lang-Bgcu-0Ku.js","static/js/index-BMnmlGIy.js","static/js/hook-LUmTCl-r.js","static/css/index-D44rJ8Q0.css","static/js/form-D0kUWXiv.js","static/js/form.vue_vue_type_script_setup_true_lang-CgW-u6zz.js","static/js/index-DICHdd3y.js","static/js/hook-DUP9kbD9.js","static/css/index-BDCWz-xL.css","static/js/form-MKfzIl9-.js","static/js/form.vue_vue_type_script_setup_true_lang-DPqnyPRQ.js","static/js/index-CaY-QzZ2.js","static/js/hook-BL8N91Xt.js","static/css/index-Dkvyn4MI.css","static/js/index-nESnaIA_.js","static/js/index.vue_vue_type_script_setup_true_lang-Beaol_5o.js","static/js/role-DBHpMvmE.js","static/js/role.vue_vue_type_script_setup_true_lang-D7BpvWcb.js","static/js/index-CkId8F2B.js","static/js/tree-DWzH8n2D.js","static/css/tree-DZmUyI-A.css","static/js/hook-BsG9z_pb.js","static/css/hook-1k5ZZAki.css","static/css/index-CXeeaxg1.css","static/js/base-WujxiGfu.js","static/js/border-DUE8HD_H.js","static/js/index-CJL7jaU-.js","static/js/customIndex-CQR72Os_.js","static/js/expand-gnxJLXYZ.js","static/js/filters-BhimNzKN.js","static/js/fixColumn-Q0eGY8g5.js","static/js/fixHeader-BjiMgOIO.js","static/js/fluidHeight-BZ-EVC11.js","static/js/groupHeader-Cuw_FDBW.js","static/js/index-Dt1qAIvV.js","static/js/imgPreview-BeFZ7Gue.js","static/js/layout-BpWeLEeQ.js","static/js/merge-jTCKdeqf.js","static/js/multipleChoice-ClQO8eMV.js","static/js/nestProp-DVFbT6d9.js","static/js/radio-CALWhvrN.js","static/js/sortable-CAy6GIRu.js","static/js/status-KHLCtGvN.js","static/js/stripe-HKZJvzJw.js","static/js/totalRow-BPwTtUvb.js","static/js/tree-gzmB_zti.js","static/js/index-BE_FhVpN.js","static/js/index-Ohhn1lTL.js","static/js/index-DMHy-rsy.js","static/js/index-BNinRoAM.js","static/js/index-BD09Q0hb.js","static/js/index-BAbgAHvI.js","static/js/index-DuDD7RdW.js","static/js/index-D-N1x-50.js","static/js/index-DmPCTGTm.js","static/js/index-DvYOfRbw.js","static/js/index-CDoAcQAy.js","static/js/index-Bv-fMfN7.js","static/js/index-DW02V-rA.js","static/js/index-C2ZA2qBT.js","static/js/index-0uauXpYW.js","static/js/list-Dwz42MXn.js","static/js/pageList-DePqOq8E.js","static/js/treeList-Oao74f5G.js","static/js/index-SA0clldc.js","static/js/hooks-BhaKDZih.js","static/js/params-detail-CFSxKTUx.js","static/js/query-detail-DjQouZKG.js","static/js/icon-CPzAth-j.js","static/js/ChartBar-CEVK98Tr.js","static/js/ChartLine-D3OHvydx.js","static/js/ChartRound-Bd4PVLwz.js"])))=>i.map(i=>d[i]); var kpe=Object.defineProperty,Ape=Object.defineProperties;var xpe=Object.getOwnPropertyDescriptors;var j4=Object.getOwnPropertySymbols;var vR=Object.prototype.hasOwnProperty,gR=Object.prototype.propertyIsEnumerable;var Dm=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Tpe=e=>{throw TypeError(e)},iu=Math.pow,w9=(e,t,n)=>t in e?kpe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||(t={}))vR.call(t,n)&&w9(e,n,t[n]);if(j4)for(var n of j4(t))gR.call(t,n)&&w9(e,n,t[n]);return e},Je=(e,t)=>Ape(e,xpe(t));var qo=(e,t)=>{var n={};for(var r in e)vR.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&j4)for(var r of j4(e))t.indexOf(r)<0&&gR.call(e,r)&&(n[r]=e[r]);return n};var _m=(e,t,n)=>w9(e,typeof t!="symbol"?t+"":t,n);var Qt=(e,t,n)=>new Promise((r,a)=>{var i=l=>{try{s(n.next(l))}catch(u){a(u)}},o=l=>{try{s(n.throw(l))}catch(u){a(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,o);s((n=n.apply(e,t)).next())}),sp=function(e,t){this[0]=e,this[1]=t},E9=(e,t,n)=>{var r=(o,s,l,u)=>{try{var c=n[o](s),d=(s=c.value)instanceof sp,f=c.done;Promise.resolve(d?s[0]:s).then(p=>d?r(o==="return"?o:"next",s[1]?{done:p.done,value:p.value}:p,l,u):l({value:p,done:f})).catch(p=>r("throw",p,l,u))}catch(p){u(p)}},a=o=>i[o]=s=>new Promise((l,u)=>r(o,s,l,u)),i={};return n=n.apply(e,t),i[Dm("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},j0=e=>{var t=e[Dm("asyncIterator")],n=!1,r,a={};return t==null?(t=e[Dm("iterator")](),r=i=>a[i]=o=>t[i](o)):(t=t.call(e),r=i=>a[i]=o=>{if(n){if(n=!1,i==="throw")throw o;return o}return n=!0,{done:!1,value:new sp(new Promise(s=>{var l=t[i](o);l instanceof Object||Tpe("Object expected"),s(l)}),1)}}),a[Dm("iterator")]=()=>a,r("next"),"throw"in t?r("throw"):a.throw=i=>{throw i},"return"in t&&r("return"),a},yR=(e,t,n)=>(t=e[Dm("asyncIterator")])?t.call(e):(e=e[Dm("iterator")](),t={},n=(r,a)=>(a=e[r])&&(t[r]=i=>new Promise((o,s,l)=>(i=a.call(e,i),l=i.done,Promise.resolve(i.value).then(u=>o({value:u,done:l}),s)))),n("next"),n("return"),t);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();window.__VITE__PLUGIN__FAKE__SERVER__={meta:{name:"vite-plugin-fake-server",type:"module",version:"2.1.2",description:"A fake server plugin for Vite.",author:"Condor Hero",license:"MIT",homepage:"https://github.com/condorheroblog/vite-plugin-fake-server/blob/main/README.md",repository:{type:"git",url:"git+https://github.com/condorheroblog/vite-plugin-fake-server.git",directory:"packages/vite-plugin-fake-server"},bugs:{url:"https://github.com/condorheroblog/vite-plugin-fake-server/issues"},keywords:["vite-plugin-fake-server","vite-plugin-fake","vite-plugin-faker","vite-plugin-mock-server","vite-plugin-mock","faker-server"],exports:{".":{import:"./dist/index.mjs",require:"./dist/index.cjs"},"./client":{import:"./dist/client.mjs",require:"./dist/client.cjs"}},main:"dist/index.cjs",module:"dist/index.mjs",types:"dist/index.d.cts",typesVersions:{"*":{"*":["./dist/*","./dist/index.d.ts"]}},files:["dist"],scripts:{prepublishOnly:"nr build",test:"vitest",dev:"esno ./src/index.ts",build:"rimraf dist && rollup -c","build:watch":"rimraf dist && rollup -c -w",typecheck:"tsc --noEmit"},dependencies:{"bundle-import":"^0.0.1",chokidar:"^3.6.0","fast-glob":"^3.3.2","path-to-regexp":"^8.0.0",picocolors:"^1.0.1"},devDependencies:{vite:"^5.4.2"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"}},vitePluginFakeServerOptions:{include:"mock",exclude:[],infixName:!1,extensions:["ts","js","mjs","cjs","cts","mts"],enableProd:!0,enableDev:!0,watch:!0,logger:!1,basename:"",headers:{},build:!1,http2:!0}};const Mpe=0,Bpe=1,Lpe=2,Ope=3,Rpe=4,Ppe=5,Ipe=6,Npe=7,$pe=8,Vpe=9,Hpe=10,zpe=11,Wpe=12,Gpe=13,jpe=14,Kpe=15,Upe=16,qpe=17,Ype=18,Jpe=19,Xpe=20,Zpe=21,Qpe=22,ehe=23,the=24,nhe={path:"/system",meta:{icon:"ri:settings-3-line",title:"menus.pureSysManagement",rank:Gpe},children:[{path:"/system/user/index",name:"SystemUser",meta:{icon:"ri:admin-line",title:"menus.pureUser",roles:["admin"]}},{path:"/system/role/index",name:"SystemRole",meta:{icon:"ri:admin-fill",title:"menus.pureRole",roles:["admin"]}},{path:"/system/menu/index",name:"SystemMenu",meta:{icon:"ep:menu",title:"menus.pureSystemMenu",roles:["admin"]}},{path:"/system/dept/index",name:"SystemDept",meta:{icon:"ri:git-branch-line",title:"menus.pureDept",roles:["admin"]}}]},rhe={path:"/monitor",meta:{icon:"ep:monitor",title:"menus.pureSysMonitor",rank:jpe},children:[{path:"/monitor/online-user",component:"monitor/online/index",name:"OnlineUser",meta:{icon:"ri:user-voice-line",title:"menus.pureOnlineUser",roles:["admin"]}},{path:"/monitor/login-logs",component:"monitor/logs/login/index",name:"LoginLog",meta:{icon:"ri:window-line",title:"menus.pureLoginLog",roles:["admin"]}},{path:"/monitor/operation-logs",component:"monitor/logs/operation/index",name:"OperationLog",meta:{icon:"ri:history-fill",title:"menus.pureOperationLog",roles:["admin"]}},{path:"/monitor/system-logs",component:"monitor/logs/system/index",name:"SystemLog",meta:{icon:"ri:file-search-line",title:"menus.pureSystemLog",roles:["admin"]}}]},ahe={path:"/permission",meta:{title:"menus.purePermission",icon:"ep:lollipop",rank:Wpe},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.purePermissionPage",roles:["admin","common"]}},{path:"/permission/button",meta:{title:"menus.purePermissionButton",roles:["admin","common"]},children:[{path:"/permission/button/router",component:"permission/button/index",name:"PermissionButtonRouter",meta:{title:"menus.purePermissionButtonRouter",auths:["permission:btn:add","permission:btn:edit","permission:btn:delete"]}},{path:"/permission/button/login",component:"permission/button/perms",name:"PermissionButtonLogin",meta:{title:"menus.purePermissionButtonLogin"}}]}]},ihe={path:"/iframe",meta:{icon:"ri:links-fill",title:"menus.pureExternalPage",rank:Hpe},children:[{path:"/iframe/embedded",meta:{title:"menus.pureEmbeddedDoc"},children:[{path:"/iframe/colorhunt",name:"FrameColorHunt",meta:{title:"menus.pureColorHuntDoc",frameSrc:"https://colorhunt.co/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/uigradients",name:"FrameUiGradients",meta:{title:"menus.pureUiGradients",frameSrc:"https://uigradients.com/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.pureEpDoc",frameSrc:"https://element-plus.org/zh-CN/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.pureTailwindcssDoc",frameSrc:"https://tailwindcss.com/docs/installation",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.pureVueDoc",frameSrc:"https://cn.vuejs.org/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.pureViteDoc",frameSrc:"https://cn.vitejs.dev/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.purePiniaDoc",frameSrc:"https://pinia.vuejs.org/zh/index.html",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.pureRouterDoc",frameSrc:"https://router.vuejs.org/zh/",keepAlive:!0,roles:["admin","common"]}}]},{path:"/iframe/external",meta:{title:"menus.pureExternalDoc"},children:[{path:"/external",name:"https://pure-admin.github.io/pure-admin-doc",meta:{title:"menus.pureExternalLink",roles:["admin","common"]}},{path:"/pureUtilsLink",name:"https://pure-admin-utils.netlify.app/",meta:{title:"menus.pureUtilsLink",roles:["admin","common"]}}]}]},ohe={path:"/tabs",meta:{icon:"ri:bookmark-2-line",title:"menus.pureTabs",rank:Kpe},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.pureTabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},she=[{url:"/get-async-routes",method:"get",response:()=>({success:!0,data:[nhe,rhe,ahe,ihe,ohe]})}],lhe=Object.freeze(Object.defineProperty({__proto__:null,default:she},Symbol.toStringTag,{value:"Module"})),uhe=[{url:"/get-card-list",method:"post",response:()=>({success:!0,data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"}]}})}],che=Object.freeze(Object.defineProperty({__proto__:null,default:uhe},Symbol.toStringTag,{value:"Module"})),dhe=[{url:"/login",method:"post",response:({body:e})=>e.username==="admin"?{success:!0,data:{avatar:"https://avatars.githubusercontent.com/u/44761321",username:"admin",nickname:"小铭",roles:["admin"],permissions:["*:*:*"],accessToken:"eyJhbGciOiJIUzUxMiJ9.admin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",expires:"2030/10/30 00:00:00"}}:{success:!0,data:{avatar:"https://avatars.githubusercontent.com/u/52823142",username:"common",nickname:"小林",roles:["common"],permissions:["permission:btn:add","permission:btn:edit"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2030/10/30 00:00:00"}}}],fhe=Object.freeze(Object.defineProperty({__proto__:null,default:dhe},Symbol.toStringTag,{value:"Module"}));var phe=[{name:"Aegean Airlines",iataCode:"A3"},{name:"Aeroflot",iataCode:"SU"},{name:"Aerolineas Argentinas",iataCode:"AR"},{name:"Aeromexico",iataCode:"AM"},{name:"Air Algerie",iataCode:"AH"},{name:"Air Arabia",iataCode:"G9"},{name:"Air Canada",iataCode:"AC"},{name:"Air China",iataCode:"CA"},{name:"Air Europa",iataCode:"UX"},{name:"Air France-KLM",iataCode:"AF"},{name:"Air India",iataCode:"AI"},{name:"Air Mauritius",iataCode:"MK"},{name:"Air New Zealand",iataCode:"NZ"},{name:"Air Niugini",iataCode:"PX"},{name:"Air Tahiti",iataCode:"VT"},{name:"Air Tahiti Nui",iataCode:"TN"},{name:"Air Transat",iataCode:"TS"},{name:"AirAsia X",iataCode:"D7"},{name:"AirAsia",iataCode:"AK"},{name:"Aircalin",iataCode:"SB"},{name:"Alaska Airlines",iataCode:"AS"},{name:"Alitalia",iataCode:"AZ"},{name:"All Nippon Airways",iataCode:"NH"},{name:"Allegiant Air",iataCode:"G4"},{name:"American Airlines",iataCode:"AA"},{name:"Asiana Airlines",iataCode:"OZ"},{name:"Avianca",iataCode:"AV"},{name:"Azul Linhas Aereas Brasileiras",iataCode:"AD"},{name:"Azur Air",iataCode:"ZF"},{name:"Beijing Capital Airlines",iataCode:"JD"},{name:"Boliviana de Aviacion",iataCode:"OB"},{name:"British Airways",iataCode:"BA"},{name:"Cathay Pacific",iataCode:"CX"},{name:"Cebu Pacific Air",iataCode:"5J"},{name:"China Airlines",iataCode:"CI"},{name:"China Eastern Airlines",iataCode:"MU"},{name:"China Southern Airlines",iataCode:"CZ"},{name:"Condor",iataCode:"DE"},{name:"Copa Airlines",iataCode:"CM"},{name:"Delta Air Lines",iataCode:"DL"},{name:"Easyfly",iataCode:"VE"},{name:"EasyJet",iataCode:"U2"},{name:"EcoJet",iataCode:"8J"},{name:"Egyptair",iataCode:"MS"},{name:"El Al",iataCode:"LY"},{name:"Emirates Airlines",iataCode:"EK"},{name:"Ethiopian Airlines",iataCode:"ET"},{name:"Etihad Airways",iataCode:"EY"},{name:"EVA Air",iataCode:"BR"},{name:"Fiji Airways",iataCode:"FJ"},{name:"Finnair",iataCode:"AY"},{name:"Flybondi",iataCode:"FO"},{name:"Flydubai",iataCode:"FZ"},{name:"FlySafair",iataCode:"FA"},{name:"Frontier Airlines",iataCode:"F9"},{name:"Garuda Indonesia",iataCode:"GA"},{name:"Go First",iataCode:"G8"},{name:"Gol Linhas Aereas Inteligentes",iataCode:"G3"},{name:"Hainan Airlines",iataCode:"HU"},{name:"Hawaiian Airlines",iataCode:"HA"},{name:"IndiGo Airlines",iataCode:"6E"},{name:"Japan Airlines",iataCode:"JL"},{name:"Jeju Air",iataCode:"7C"},{name:"Jet2",iataCode:"LS"},{name:"JetBlue Airways",iataCode:"B6"},{name:"JetSMART",iataCode:"JA"},{name:"Juneyao Airlines",iataCode:"HO"},{name:"Kenya Airways",iataCode:"KQ"},{name:"Korean Air",iataCode:"KE"},{name:"Kulula.com",iataCode:"MN"},{name:"LATAM Airlines",iataCode:"LA"},{name:"Lion Air",iataCode:"JT"},{name:"LOT Polish Airlines",iataCode:"LO"},{name:"Lufthansa",iataCode:"LH"},{name:"Libyan Airlines",iataCode:"LN"},{name:"Linea Aerea Amaszonas",iataCode:"Z8"},{name:"Malaysia Airlines",iataCode:"MH"},{name:"Nordwind Airlines",iataCode:"N4"},{name:"Norwegian Air Shuttle",iataCode:"DY"},{name:"Oman Air",iataCode:"WY"},{name:"Pakistan International Airlines",iataCode:"PK"},{name:"Pegasus Airlines",iataCode:"PC"},{name:"Philippine Airlines",iataCode:"PR"},{name:"Qantas Group",iataCode:"QF"},{name:"Qatar Airways",iataCode:"QR"},{name:"Republic Airways",iataCode:"YX"},{name:"Royal Air Maroc",iataCode:"AT"},{name:"Ryanair",iataCode:"FR"},{name:"S7 Airlines",iataCode:"S7"},{name:"SAS",iataCode:"SK"},{name:"Satena",iataCode:"9R"},{name:"Saudia",iataCode:"SV"},{name:"Shandong Airlines",iataCode:"SC"},{name:"Sichuan Airlines",iataCode:"3U"},{name:"Singapore Airlines",iataCode:"SQ"},{name:"Sky Airline",iataCode:"H2"},{name:"SkyWest Airlines",iataCode:"OO"},{name:"South African Airways",iataCode:"SA"},{name:"Southwest Airlines",iataCode:"WN"},{name:"SpiceJet",iataCode:"SG"},{name:"Spirit Airlines",iataCode:"NK"},{name:"Spring Airlines",iataCode:"9S"},{name:"SriLankan Airlines",iataCode:"UL"},{name:"Star Peru",iataCode:"2I"},{name:"Sun Country Airlines",iataCode:"SY"},{name:"SunExpress",iataCode:"XQ"},{name:"TAP Air Portugal",iataCode:"TP"},{name:"Thai AirAsia",iataCode:"FD"},{name:"Thai Airways",iataCode:"TG"},{name:"TUI Airways",iataCode:"BY"},{name:"Tunisair",iataCode:"TU"},{name:"Turkish Airlines",iataCode:"TK"},{name:"Ukraine International",iataCode:"PS"},{name:"United Airlines",iataCode:"UA"},{name:"Ural Airlines",iataCode:"U6"},{name:"VietJet Air",iataCode:"VJ"},{name:"Vietnam Airlines",iataCode:"VN"},{name:"Virgin Atlantic Airways",iataCode:"VS"},{name:"Virgin Australia",iataCode:"VA"},{name:"VivaAerobus",iataCode:"VB"},{name:"VOEPASS Linhas Aereas",iataCode:"2Z"},{name:"Volaris",iataCode:"Y4"},{name:"WestJet",iataCode:"WS"},{name:"Wingo",iataCode:"P5"},{name:"Wizz Air",iataCode:"W6"}],hhe=[{name:"Aerospatiale/BAC Concorde",iataTypeCode:"SSC"},{name:"Airbus A300",iataTypeCode:"AB3"},{name:"Airbus A310",iataTypeCode:"310"},{name:"Airbus A310-200",iataTypeCode:"312"},{name:"Airbus A310-300",iataTypeCode:"313"},{name:"Airbus A318",iataTypeCode:"318"},{name:"Airbus A319",iataTypeCode:"319"},{name:"Airbus A319neo",iataTypeCode:"31N"},{name:"Airbus A320",iataTypeCode:"320"},{name:"Airbus A320neo",iataTypeCode:"32N"},{name:"Airbus A321",iataTypeCode:"321"},{name:"Airbus A321neo",iataTypeCode:"32Q"},{name:"Airbus A330",iataTypeCode:"330"},{name:"Airbus A330-200",iataTypeCode:"332"},{name:"Airbus A330-300",iataTypeCode:"333"},{name:"Airbus A330-800neo",iataTypeCode:"338"},{name:"Airbus A330-900neo",iataTypeCode:"339"},{name:"Airbus A340",iataTypeCode:"340"},{name:"Airbus A340-200",iataTypeCode:"342"},{name:"Airbus A340-300",iataTypeCode:"343"},{name:"Airbus A340-500",iataTypeCode:"345"},{name:"Airbus A340-600",iataTypeCode:"346"},{name:"Airbus A350",iataTypeCode:"350"},{name:"Airbus A350-900",iataTypeCode:"359"},{name:"Airbus A350-1000",iataTypeCode:"351"},{name:"Airbus A380",iataTypeCode:"380"},{name:"Airbus A380-800",iataTypeCode:"388"},{name:"Antonov An-12",iataTypeCode:"ANF"},{name:"Antonov An-24",iataTypeCode:"AN4"},{name:"Antonov An-26",iataTypeCode:"A26"},{name:"Antonov An-28",iataTypeCode:"A28"},{name:"Antonov An-30",iataTypeCode:"A30"},{name:"Antonov An-32",iataTypeCode:"A32"},{name:"Antonov An-72",iataTypeCode:"AN7"},{name:"Antonov An-124 Ruslan",iataTypeCode:"A4F"},{name:"Antonov An-140",iataTypeCode:"A40"},{name:"Antonov An-148",iataTypeCode:"A81"},{name:"Antonov An-158",iataTypeCode:"A58"},{name:"Antonov An-225 Mriya",iataTypeCode:"A5F"},{name:"Boeing 707",iataTypeCode:"703"},{name:"Boeing 717",iataTypeCode:"717"},{name:"Boeing 720B",iataTypeCode:"B72"},{name:"Boeing 727",iataTypeCode:"727"},{name:"Boeing 727-100",iataTypeCode:"721"},{name:"Boeing 727-200",iataTypeCode:"722"},{name:"Boeing 737 MAX 7",iataTypeCode:"7M7"},{name:"Boeing 737 MAX 8",iataTypeCode:"7M8"},{name:"Boeing 737 MAX 9",iataTypeCode:"7M9"},{name:"Boeing 737 MAX 10",iataTypeCode:"7MJ"},{name:"Boeing 737",iataTypeCode:"737"},{name:"Boeing 737-100",iataTypeCode:"731"},{name:"Boeing 737-200",iataTypeCode:"732"},{name:"Boeing 737-300",iataTypeCode:"733"},{name:"Boeing 737-400",iataTypeCode:"734"},{name:"Boeing 737-500",iataTypeCode:"735"},{name:"Boeing 737-600",iataTypeCode:"736"},{name:"Boeing 737-700",iataTypeCode:"73G"},{name:"Boeing 737-800",iataTypeCode:"738"},{name:"Boeing 737-900",iataTypeCode:"739"},{name:"Boeing 747",iataTypeCode:"747"},{name:"Boeing 747-100",iataTypeCode:"741"},{name:"Boeing 747-200",iataTypeCode:"742"},{name:"Boeing 747-300",iataTypeCode:"743"},{name:"Boeing 747-400",iataTypeCode:"744"},{name:"Boeing 747-400D",iataTypeCode:"74J"},{name:"Boeing 747-8",iataTypeCode:"748"},{name:"Boeing 747SP",iataTypeCode:"74L"},{name:"Boeing 747SR",iataTypeCode:"74R"},{name:"Boeing 757",iataTypeCode:"757"},{name:"Boeing 757-200",iataTypeCode:"752"},{name:"Boeing 757-300",iataTypeCode:"753"},{name:"Boeing 767",iataTypeCode:"767"},{name:"Boeing 767-200",iataTypeCode:"762"},{name:"Boeing 767-300",iataTypeCode:"763"},{name:"Boeing 767-400",iataTypeCode:"764"},{name:"Boeing 777",iataTypeCode:"777"},{name:"Boeing 777-200",iataTypeCode:"772"},{name:"Boeing 777-200LR",iataTypeCode:"77L"},{name:"Boeing 777-300",iataTypeCode:"773"},{name:"Boeing 777-300ER",iataTypeCode:"77W"},{name:"Boeing 787",iataTypeCode:"787"},{name:"Boeing 787-8",iataTypeCode:"788"},{name:"Boeing 787-9",iataTypeCode:"789"},{name:"Boeing 787-10",iataTypeCode:"781"},{name:"Canadair Challenger",iataTypeCode:"CCJ"},{name:"Canadair CL-44",iataTypeCode:"CL4"},{name:"Canadair Regional Jet 100",iataTypeCode:"CR1"},{name:"Canadair Regional Jet 200",iataTypeCode:"CR2"},{name:"Canadair Regional Jet 700",iataTypeCode:"CR7"},{name:"Canadair Regional Jet 705",iataTypeCode:"CRA"},{name:"Canadair Regional Jet 900",iataTypeCode:"CR9"},{name:"Canadair Regional Jet 1000",iataTypeCode:"CRK"},{name:"De Havilland Canada DHC-2 Beaver",iataTypeCode:"DHP"},{name:"De Havilland Canada DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"De Havilland Canada DHC-3 Otter",iataTypeCode:"DHL"},{name:"De Havilland Canada DHC-4 Caribou",iataTypeCode:"DHC"},{name:"De Havilland Canada DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"De Havilland Canada DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"De Havilland Canada DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"De Havilland Canada DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"De Havilland Canada DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"De Havilland Canada DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"De Havilland DH.104 Dove",iataTypeCode:"DHD"},{name:"De Havilland DH.114 Heron",iataTypeCode:"DHH"},{name:"Douglas DC-3",iataTypeCode:"D3F"},{name:"Douglas DC-6",iataTypeCode:"D6F"},{name:"Douglas DC-8-50",iataTypeCode:"D8T"},{name:"Douglas DC-8-62",iataTypeCode:"D8L"},{name:"Douglas DC-8-72",iataTypeCode:"D8Q"},{name:"Douglas DC-9-10",iataTypeCode:"D91"},{name:"Douglas DC-9-20",iataTypeCode:"D92"},{name:"Douglas DC-9-30",iataTypeCode:"D93"},{name:"Douglas DC-9-40",iataTypeCode:"D94"},{name:"Douglas DC-9-50",iataTypeCode:"D95"},{name:"Douglas DC-10",iataTypeCode:"D10"},{name:"Douglas DC-10-10",iataTypeCode:"D1X"},{name:"Douglas DC-10-30",iataTypeCode:"D1Y"},{name:"Embraer 170",iataTypeCode:"E70"},{name:"Embraer 175",iataTypeCode:"E75"},{name:"Embraer 190",iataTypeCode:"E90"},{name:"Embraer 195",iataTypeCode:"E95"},{name:"Embraer E190-E2",iataTypeCode:"290"},{name:"Embraer E195-E2",iataTypeCode:"295"},{name:"Embraer EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"Embraer EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"Embraer Legacy 600",iataTypeCode:"ER3"},{name:"Embraer Phenom 100",iataTypeCode:"EP1"},{name:"Embraer Phenom 300",iataTypeCode:"EP3"},{name:"Embraer RJ135",iataTypeCode:"ER3"},{name:"Embraer RJ140",iataTypeCode:"ERD"},{name:"Embraer RJ145 Amazon",iataTypeCode:"ER4"},{name:"Ilyushin IL18",iataTypeCode:"IL8"},{name:"Ilyushin IL62",iataTypeCode:"IL6"},{name:"Ilyushin IL76",iataTypeCode:"IL7"},{name:"Ilyushin IL86",iataTypeCode:"ILW"},{name:"Ilyushin IL96-300",iataTypeCode:"I93"},{name:"Ilyushin IL114",iataTypeCode:"I14"},{name:"Lockheed L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"Lockheed L-188 Electra",iataTypeCode:"LOE"},{name:"Lockheed L-1011 Tristar",iataTypeCode:"L10"},{name:"Lockheed L-1049 Super Constellation",iataTypeCode:"L49"},{name:"McDonnell Douglas MD11",iataTypeCode:"M11"},{name:"McDonnell Douglas MD80",iataTypeCode:"M80"},{name:"McDonnell Douglas MD81",iataTypeCode:"M81"},{name:"McDonnell Douglas MD82",iataTypeCode:"M82"},{name:"McDonnell Douglas MD83",iataTypeCode:"M83"},{name:"McDonnell Douglas MD87",iataTypeCode:"M87"},{name:"McDonnell Douglas MD88",iataTypeCode:"M88"},{name:"McDonnell Douglas MD90",iataTypeCode:"M90"},{name:"Sukhoi Superjet 100-95",iataTypeCode:"SU9"},{name:"Tupolev Tu-134",iataTypeCode:"TU3"},{name:"Tupolev Tu-154",iataTypeCode:"TU5"},{name:"Tupolev Tu-204",iataTypeCode:"T20"},{name:"Yakovlev Yak-40",iataTypeCode:"YK4"},{name:"Yakovlev Yak-42",iataTypeCode:"YK2"}],mhe=[{name:"Adelaide International Airport",iataCode:"ADL"},{name:"Adolfo Suarez Madrid-Barajas Airport",iataCode:"MAD"},{name:"Aeroparque Jorge Newbery Airport",iataCode:"AEP"},{name:"Afonso Pena International Airport",iataCode:"CWB"},{name:"Alfonso Bonilla Aragon International Airport",iataCode:"CLO"},{name:"Amsterdam Airport Schiphol",iataCode:"AMS"},{name:"Arturo Merino Benitez International Airport",iataCode:"SCL"},{name:"Auckland International Airport",iataCode:"AKL"},{name:"Beijing Capital International Airport",iataCode:"PEK"},{name:"Belem Val de Cans International Airport",iataCode:"BEL"},{name:"Belo Horizonte Tancredo Neves International Airport",iataCode:"CNF"},{name:"Berlin-Tegel Airport",iataCode:"TXL"},{name:"Bole International Airport",iataCode:"ADD"},{name:"Brasilia-Presidente Juscelino Kubitschek International Airport",iataCode:"BSB"},{name:"Brisbane International Airport",iataCode:"BNE"},{name:"Brussels Airport",iataCode:"BRU"},{name:"Cairns Airport",iataCode:"CNS"},{name:"Cairo International Airport",iataCode:"CAI"},{name:"Canberra Airport",iataCode:"CBR"},{name:"Capetown International Airport",iataCode:"CPT"},{name:"Charles de Gaulle International Airport",iataCode:"CDG"},{name:"Charlotte Douglas International Airport",iataCode:"CLT"},{name:"Chengdu Shuangliu International Airport",iataCode:"CTU"},{name:"Chhatrapati Shivaji International Airport",iataCode:"BOM"},{name:"Chicago O'Hare International Airport",iataCode:"ORD"},{name:"Chongqing Jiangbei International Airport",iataCode:"CKG"},{name:"Christchurch International Airport",iataCode:"CHC"},{name:"Copenhagen Kastrup Airport",iataCode:"CPH"},{name:"Dallas Fort Worth International Airport",iataCode:"DFW"},{name:"Daniel K. Inouye International Airport",iataCode:"HNL"},{name:"Denver International Airport",iataCode:"DEN"},{name:"Don Mueang International Airport",iataCode:"DMK"},{name:"Dubai International Airport",iataCode:"DXB"},{name:"Dublin Airport",iataCode:"DUB"},{name:"Dusseldorf Airport",iataCode:"DUS"},{name:"El Dorado International Airport",iataCode:"BOG"},{name:"Eleftherios Venizelos International Airport",iataCode:"ATH"},{name:"Faa'a International Airport",iataCode:"PPT"},{name:"Fort Lauderdale Hollywood International Airport",iataCode:"FLL"},{name:"Fortaleza Pinto Martins International Airport",iataCode:"FOR"},{name:"Frankfurt am Main Airport",iataCode:"FRA"},{name:"George Bush Intercontinental Houston Airport",iataCode:"IAH"},{name:"Gold Coast Airport",iataCode:"OOL"},{name:"Guarulhos - Governador Andre Franco Montoro International Airport",iataCode:"GRU"},{name:"Hartsfield-Jackson Atlanta International Airport",iataCode:"ATL"},{name:"Helsinki Vantaa Airport",iataCode:"HEL"},{name:"Hobart International Airport",iataCode:"HBA"},{name:"Hong Kong International Airport",iataCode:"HKG"},{name:"Houari Boumediene Airport",iataCode:"ALG"},{name:"Hurgada International Airport",iataCode:"HRG"},{name:"Incheon International Airport",iataCode:"ICN"},{name:"Indira Gandhi International Airport",iataCode:"DEL"},{name:"Istanbul Airport",iataCode:"IST"},{name:"Jacksons International Airport",iataCode:"POM"},{name:"Jeju International Airport",iataCode:"CJU"},{name:"John F Kennedy International Airport",iataCode:"JFK"},{name:"Jorge Chavez International Airport",iataCode:"LIM"},{name:"Jose Maria Cordova International Airport",iataCode:"MDE"},{name:"Josep Tarradellas Barcelona-El Prat Airport",iataCode:"BCN"},{name:"Kahului Airport",iataCode:"OGG"},{name:"King Abdulaziz International Airport",iataCode:"JED"},{name:"Kuala Lumpur International Airport",iataCode:"KUL"},{name:"Kunming Changshui International Airport",iataCode:"KMG"},{name:"La Tontouta International Airport",iataCode:"NOU"},{name:"Leonardo da Vinci-Fiumicino Airport",iataCode:"FCO"},{name:"London Heathrow Airport",iataCode:"LHR"},{name:"Los Angeles International Airport",iataCode:"LAX"},{name:"McCarran International Airport",iataCode:"LAS"},{name:"Melbourne International Airport",iataCode:"MEL"},{name:"Mexico City International Airport",iataCode:"MEX"},{name:"Miami International Airport",iataCode:"MIA"},{name:"Ministro Pistarini International Airport",iataCode:"EZE"},{name:"Minneapolis-St Paul International/Wold-Chamberlain Airport",iataCode:"MSP"},{name:"Mohammed V International Airport",iataCode:"CMN"},{name:"Moscow Domodedovo Airport",iataCode:"DME"},{name:"Munich Airport",iataCode:"MUC"},{name:"Murtala Muhammed International Airport",iataCode:"LOS"},{name:"Nadi International Airport",iataCode:"NAN"},{name:"Nairobi Jomo Kenyatta International Airport",iataCode:"NBO"},{name:"Narita International Airport",iataCode:"NRT"},{name:"Newark Liberty International Airport",iataCode:"EWR"},{name:"Ninoy Aquino International Airport",iataCode:"MNL"},{name:"Noumea Magenta Airport",iataCode:"GEA"},{name:"O. R. Tambo International Airport",iataCode:"JNB"},{name:"Orlando International Airport",iataCode:"MCO"},{name:"Oslo Lufthavn",iataCode:"OSL"},{name:"Perth Airport",iataCode:"PER"},{name:"Phoenix Sky Harbor International Airport",iataCode:"PHX"},{name:"Recife Guararapes-Gilberto Freyre International Airport",iataCode:"REC"},{name:"Rio de Janeiro Galeao International Airport",iataCode:"GIG"},{name:"Salgado Filho International Airport",iataCode:"POA"},{name:"Salvador Deputado Luis Eduardo Magalhaes International Airport",iataCode:"SSA"},{name:"San Francisco International Airport",iataCode:"SFO"},{name:"Santos Dumont Airport",iataCode:"SDU"},{name:"Sao Paulo-Congonhas Airport",iataCode:"CGH"},{name:"Seattle Tacoma International Airport",iataCode:"SEA"},{name:"Shanghai Hongqiao International Airport",iataCode:"SHA"},{name:"Shanghai Pudong International Airport",iataCode:"PVG"},{name:"Shenzhen Bao'an International Airport",iataCode:"SZX"},{name:"Sheremetyevo International Airport",iataCode:"SVO"},{name:"Singapore Changi Airport",iataCode:"SIN"},{name:"Soekarno-Hatta International Airport",iataCode:"CGK"},{name:'Stockholm-Arlanda Airport"',iataCode:"ARN"},{name:"Suvarnabhumi Airport",iataCode:"BKK"},{name:"Sydney Kingsford Smith International Airport",iataCode:"SYD"},{name:"Taiwan Taoyuan International Airport",iataCode:"TPE"},{name:"Tan Son Nhat International Airport",iataCode:"SGN"},{name:"Tokyo Haneda International Airport",iataCode:"HND"},{name:"Toronto Pearson International Airport",iataCode:"YYZ"},{name:"Tunis Carthage International Airport",iataCode:"TUN"},{name:"Vancouver International Airport",iataCode:"YVR"},{name:"Vienna International Airport",iataCode:"VIE"},{name:"Viracopos International Airport",iataCode:"VCP"},{name:"Vnukovo International Airport",iataCode:"VKO"},{name:"Wellington International Airport",iataCode:"WLG"},{name:"Xi'an Xianyang International Airport",iataCode:"XIY"},{name:"Zhukovsky International Airport",iataCode:"ZIA"},{name:"Zurich Airport",iataCode:"ZRH"}],vhe={airline:phe,airplane:hhe,airport:mhe},ghe=vhe,yhe=["Giant panda","Spectacled bear","Sun bear","Sloth bear","American black bear","Asian black bear","Brown bear","Polar bear"],bhe=["Red-throated Loon","Arctic Loon","Pacific Loon","Common Loon","Yellow-billed Loon","Least Grebe","Pied-billed Grebe","Horned Grebe","Red-necked Grebe","Eared Grebe","Western Grebe","Clark's Grebe","Yellow-nosed Albatross","Shy Albatross","Black-browed Albatross","Wandering Albatross","Laysan Albatross","Black-footed Albatross","Short-tailed Albatross","Northern Fulmar","Herald Petrel","Murphy's Petrel","Mottled Petrel","Black-capped Petrel","Cook's Petrel","Stejneger's Petrel","White-chinned Petrel","Streaked Shearwater","Cory's Shearwater","Pink-footed Shearwater","Flesh-footed Shearwater","Greater Shearwater","Wedge-tailed Shearwater","Buller's Shearwater","Sooty Shearwater","Short-tailed Shearwater","Manx Shearwater","Black-vented Shearwater","Audubon's Shearwater","Little Shearwater","Wilson's Storm-Petrel","White-faced Storm-Petrel","European Storm-Petrel","Fork-tailed Storm-Petrel","Leach's Storm-Petrel","Ashy Storm-Petrel","Band-rumped Storm-Petrel","Wedge-rumped Storm-Petrel","Black Storm-Petrel","Least Storm-Petrel","White-tailed Tropicbird","Red-billed Tropicbird","Red-tailed Tropicbird","Masked Booby","Blue-footed Booby","Brown Booby","Red-footed Booby","Northern Gannet","American White Pelican","Brown Pelican","Brandt's Cormorant","Neotropic Cormorant","Double-crested Cormorant","Great Cormorant","Red-faced Cormorant","Pelagic Cormorant","Anhinga","Magnificent Frigatebird","Great Frigatebird","Lesser Frigatebird","American Bittern","Yellow Bittern","Least Bittern","Great Blue Heron","Great Egret","Chinese Egret","Little Egret","Western Reef-Heron","Snowy Egret","Little Blue Heron","Tricolored Heron","Reddish Egret","Cattle Egret","Green Heron","Black-crowned Night-Heron","Yellow-crowned Night-Heron","White Ibis","Scarlet Ibis","Glossy Ibis","White-faced Ibis","Roseate Spoonbill","Jabiru","Wood Stork","Black Vulture","Turkey Vulture","California Condor","Greater Flamingo","Black-bellied Whistling-Duck","Fulvous Whistling-Duck","Bean Goose","Pink-footed Goose","Greater White-fronted Goose","Lesser White-fronted Goose","Emperor Goose","Snow Goose","Ross's Goose","Canada Goose","Brant","Barnacle Goose","Mute Swan","Trumpeter Swan","Tundra Swan","Whooper Swan","Muscovy Duck","Wood Duck","Gadwall","Falcated Duck","Eurasian Wigeon","American Wigeon","American Black Duck","Mallard","Mottled Duck","Spot-billed Duck","Blue-winged Teal","Cinnamon Teal","Northern Shoveler","White-cheeked Pintail","Northern Pintail","Garganey","Baikal Teal","Green-winged Teal","Canvasback","Redhead","Common Pochard","Ring-necked Duck","Tufted Duck","Greater Scaup","Lesser Scaup","Steller's Eider","Spectacled Eider","King Eider","Common Eider","Harlequin Duck","Labrador Duck","Surf Scoter","White-winged Scoter","Black Scoter","Oldsquaw","Bufflehead","Common Goldeneye","Barrow's Goldeneye","Smew","Hooded Merganser","Common Merganser","Red-breasted Merganser","Masked Duck","Ruddy Duck","Osprey","Hook-billed Kite","Swallow-tailed Kite","White-tailed Kite","Snail Kite","Mississippi Kite","Bald Eagle","White-tailed Eagle","Steller's Sea-Eagle","Northern Harrier","Sharp-shinned Hawk","Cooper's Hawk","Northern Goshawk","Crane Hawk","Gray Hawk","Common Black-Hawk","Harris's Hawk","Roadside Hawk","Red-shouldered Hawk","Broad-winged Hawk","Short-tailed Hawk","Swainson's Hawk","White-tailed Hawk","Zone-tailed Hawk","Red-tailed Hawk","Ferruginous Hawk","Rough-legged Hawk","Golden Eagle","Collared Forest-Falcon","Crested Caracara","Eurasian Kestrel","American Kestrel","Merlin","Eurasian Hobby","Aplomado Falcon","Gyrfalcon","Peregrine Falcon","Prairie Falcon","Plain Chachalaca","Chukar","Himalayan Snowcock","Gray Partridge","Ring-necked Pheasant","Ruffed Grouse","Sage Grouse","Spruce Grouse","Willow Ptarmigan","Rock Ptarmigan","White-tailed Ptarmigan","Blue Grouse","Sharp-tailed Grouse","Greater Prairie-chicken","Lesser Prairie-chicken","Wild Turkey","Mountain Quail","Scaled Quail","California Quail","Gambel's Quail","Northern Bobwhite","Montezuma Quail","Yellow Rail","Black Rail","Corn Crake","Clapper Rail","King Rail","Virginia Rail","Sora","Paint-billed Crake","Spotted Rail","Purple Gallinule","Azure Gallinule","Common Moorhen","Eurasian Coot","American Coot","Limpkin","Sandhill Crane","Common Crane","Whooping Crane","Double-striped Thick-knee","Northern Lapwing","Black-bellied Plover","European Golden-Plover","American Golden-Plover","Pacific Golden-Plover","Mongolian Plover","Collared Plover","Snowy Plover","Wilson's Plover","Common Ringed Plover","Semipalmated Plover","Piping Plover","Little Ringed Plover","Killdeer","Mountain Plover","Eurasian Dotterel","Eurasian Oystercatcher","American Oystercatcher","Black Oystercatcher","Black-winged Stilt","Black-necked Stilt","American Avocet","Northern Jacana","Common Greenshank","Greater Yellowlegs","Lesser Yellowlegs","Marsh Sandpiper","Spotted Redshank","Wood Sandpiper","Green Sandpiper","Solitary Sandpiper","Willet","Wandering Tattler","Gray-tailed Tattler","Common Sandpiper","Spotted Sandpiper","Terek Sandpiper","Upland Sandpiper","Little Curlew","Eskimo Curlew","Whimbrel","Bristle-thighed Curlew","Far Eastern Curlew","Slender-billed Curlew","Eurasian Curlew","Long-billed Curlew","Black-tailed Godwit","Hudsonian Godwit","Bar-tailed Godwit","Marbled Godwit","Ruddy Turnstone","Black Turnstone","Surfbird","Great Knot","Red Knot","Sanderling","Semipalmated Sandpiper","Western Sandpiper","Red-necked Stint","Little Stint","Temminck's Stint","Long-toed Stint","Least Sandpiper","White-rumped Sandpiper","Baird's Sandpiper","Pectoral Sandpiper","Sharp-tailed Sandpiper","Purple Sandpiper","Rock Sandpiper","Dunlin","Curlew Sandpiper","Stilt Sandpiper","Spoonbill Sandpiper","Broad-billed Sandpiper","Buff-breasted Sandpiper","Ruff","Short-billed Dowitcher","Long-billed Dowitcher","Jack Snipe","Common Snipe","Pin-tailed Snipe","Eurasian Woodcock","American Woodcock","Wilson's Phalarope","Red-necked Phalarope","Red Phalarope","Oriental Pratincole","Great Skua","South Polar Skua","Pomarine Jaeger","Parasitic Jaeger","Long-tailed Jaeger","Laughing Gull","Franklin's Gull","Little Gull","Black-headed Gull","Bonaparte's Gull","Heermann's Gull","Band-tailed Gull","Black-tailed Gull","Mew Gull","Ring-billed Gull","California Gull","Herring Gull","Yellow-legged Gull","Thayer's Gull","Iceland Gull","Lesser Black-backed Gull","Slaty-backed Gull","Yellow-footed Gull","Western Gull","Glaucous-winged Gull","Glaucous Gull","Great Black-backed Gull","Sabine's Gull","Black-legged Kittiwake","Red-legged Kittiwake","Ross's Gull","Ivory Gull","Gull-billed Tern","Caspian Tern","Royal Tern","Elegant Tern","Sandwich Tern","Roseate Tern","Common Tern","Arctic Tern","Forster's Tern","Least Tern","Aleutian Tern","Bridled Tern","Sooty Tern","Large-billed Tern","White-winged Tern","Whiskered Tern","Black Tern","Brown Noddy","Black Noddy","Black Skimmer","Dovekie","Common Murre","Thick-billed Murre","Razorbill","Great Auk","Black Guillemot","Pigeon Guillemot","Long-billed Murrelet","Marbled Murrelet","Kittlitz's Murrelet","Xantus's Murrelet","Craveri's Murrelet","Ancient Murrelet","Cassin's Auklet","Parakeet Auklet","Least Auklet","Whiskered Auklet","Crested Auklet","Rhinoceros Auklet","Atlantic Puffin","Horned Puffin","Tufted Puffin","Rock Dove","Scaly-naped Pigeon","White-crowned Pigeon","Red-billed Pigeon","Band-tailed Pigeon","Oriental Turtle-Dove","European Turtle-Dove","Eurasian Collared-Dove","Spotted Dove","White-winged Dove","Zenaida Dove","Mourning Dove","Passenger Pigeon","Inca Dove","Common Ground-Dove","Ruddy Ground-Dove","White-tipped Dove","Key West Quail-Dove","Ruddy Quail-Dove","Budgerigar","Monk Parakeet","Carolina Parakeet","Thick-billed Parrot","White-winged Parakeet","Red-crowned Parrot","Common Cuckoo","Oriental Cuckoo","Black-billed Cuckoo","Yellow-billed Cuckoo","Mangrove Cuckoo","Greater Roadrunner","Smooth-billed Ani","Groove-billed Ani","Barn Owl","Flammulated Owl","Oriental Scops-Owl","Western Screech-Owl","Eastern Screech-Owl","Whiskered Screech-Owl","Great Horned Owl","Snowy Owl","Northern Hawk Owl","Northern Pygmy-Owl","Ferruginous Pygmy-Owl","Elf Owl","Burrowing Owl","Mottled Owl","Spotted Owl","Barred Owl","Great Gray Owl","Long-eared Owl","Short-eared Owl","Boreal Owl","Northern Saw-whet Owl","Lesser Nighthawk","Common Nighthawk","Antillean Nighthawk","Common Pauraque","Common Poorwill","Chuck-will's-widow","Buff-collared Nightjar","Whip-poor-will","Jungle Nightjar","Black Swift","White-collared Swift","Chimney Swift","Vaux's Swift","White-throated Needletail","Common Swift","Fork-tailed Swift","White-throated Swift","Antillean Palm Swift","Green Violet-ear","Green-breasted Mango","Broad-billed Hummingbird","White-eared Hummingbird","Xantus's Hummingbird","Berylline Hummingbird","Buff-bellied Hummingbird","Cinnamon Hummingbird","Violet-crowned Hummingbird","Blue-throated Hummingbird","Magnificent Hummingbird","Plain-capped Starthroat","Bahama Woodstar","Lucifer Hummingbird","Ruby-throated Hummingbird","Black-chinned Hummingbird","Anna's Hummingbird","Costa's Hummingbird","Calliope Hummingbird","Bumblebee Hummingbird","Broad-tailed Hummingbird","Rufous Hummingbird","Allen's Hummingbird","Elegant Trogon","Eared Trogon","Hoopoe","Ringed Kingfisher","Belted Kingfisher","Green Kingfisher","Eurasian Wryneck","Lewis's Woodpecker","Red-headed Woodpecker","Acorn Woodpecker","Gila Woodpecker","Golden-fronted Woodpecker","Red-bellied Woodpecker","Williamson's Sapsucker","Yellow-bellied Sapsucker","Red-naped Sapsucker","Red-breasted Sapsucker","Great Spotted Woodpecker","Ladder-backed Woodpecker","Nuttall's Woodpecker","Downy Woodpecker","Hairy Woodpecker","Strickland's Woodpecker","Red-cockaded Woodpecker","White-headed Woodpecker","Three-toed Woodpecker","Black-backed Woodpecker","Northern Flicker","Gilded Flicker","Pileated Woodpecker","Ivory-billed Woodpecker","Northern Beardless-Tyrannulet","Greenish Elaenia","Caribbean Elaenia","Tufted Flycatcher","Olive-sided Flycatcher","Greater Pewee","Western Wood-Pewee","Eastern Wood-Pewee","Yellow-bellied Flycatcher","Acadian Flycatcher","Alder Flycatcher","Willow Flycatcher","Least Flycatcher","Hammond's Flycatcher","Dusky Flycatcher","Gray Flycatcher","Pacific-slope Flycatcher","Cordilleran Flycatcher","Buff-breasted Flycatcher","Black Phoebe","Eastern Phoebe","Say's Phoebe","Vermilion Flycatcher","Dusky-capped Flycatcher","Ash-throated Flycatcher","Nutting's Flycatcher","Great Crested Flycatcher","Brown-crested Flycatcher","La Sagra's Flycatcher","Great Kiskadee","Sulphur-bellied Flycatcher","Variegated Flycatcher","Tropical Kingbird","Couch's Kingbird","Cassin's Kingbird","Thick-billed Kingbird","Western Kingbird","Eastern Kingbird","Gray Kingbird","Loggerhead Kingbird","Scissor-tailed Flycatcher","Fork-tailed Flycatcher","Rose-throated Becard","Masked Tityra","Brown Shrike","Loggerhead Shrike","Northern Shrike","White-eyed Vireo","Thick-billed Vireo","Bell's Vireo","Black-capped Vireo","Gray Vireo","Yellow-throated Vireo","Plumbeous Vireo","Cassin's Vireo","Blue-headed Vireo","Hutton's Vireo","Warbling Vireo","Philadelphia Vireo","Red-eyed Vireo","Yellow-green Vireo","Black-whiskered Vireo","Yucatan Vireo","Gray Jay","Steller's Jay","Blue Jay","Green Jay","Brown Jay","Florida Scrub-Jay","Island Scrub-Jay","Western Scrub-Jay","Mexican Jay","Pinyon Jay","Clark's Nutcracker","Black-billed Magpie","Yellow-billed Magpie","Eurasian Jackdaw","American Crow","Northwestern Crow","Tamaulipas Crow","Fish Crow","Chihuahuan Raven","Common Raven","Sky Lark","Horned Lark","Purple Martin","Cuban Martin","Gray-breasted Martin","Southern Martin","Brown-chested Martin","Tree Swallow","Violet-green Swallow","Bahama Swallow","Northern Rough-winged Swallow","Bank Swallow","Cliff Swallow","Cave Swallow","Barn Swallow","Common House-Martin","Carolina Chickadee","Black-capped Chickadee","Mountain Chickadee","Mexican Chickadee","Chestnut-backed Chickadee","Boreal Chickadee","Gray-headed Chickadee","Bridled Titmouse","Oak Titmouse","Juniper Titmouse","Tufted Titmouse","Verdin","Bushtit","Red-breasted Nuthatch","White-breasted Nuthatch","Pygmy Nuthatch","Brown-headed Nuthatch","Brown Creeper","Cactus Wren","Rock Wren","Canyon Wren","Carolina Wren","Bewick's Wren","House Wren","Winter Wren","Sedge Wren","Marsh Wren","American Dipper","Red-whiskered Bulbul","Golden-crowned Kinglet","Ruby-crowned Kinglet","Middendorff's Grasshopper-Warbler","Lanceolated Warbler","Wood Warbler","Dusky Warbler","Arctic Warbler","Blue-gray Gnatcatcher","California Gnatcatcher","Black-tailed Gnatcatcher","Black-capped Gnatcatcher","Narcissus Flycatcher","Mugimaki Flycatcher","Red-breasted Flycatcher","Siberian Flycatcher","Gray-spotted Flycatcher","Asian Brown Flycatcher","Siberian Rubythroat","Bluethroat","Siberian Blue Robin","Red-flanked Bluetail","Northern Wheatear","Stonechat","Eastern Bluebird","Western Bluebird","Mountain Bluebird","Townsend's Solitaire","Veery","Gray-cheeked Thrush","Bicknell's Thrush","Swainson's Thrush","Hermit Thrush","Wood Thrush","Eurasian Blackbird","Eyebrowed Thrush","Dusky Thrush","Fieldfare","Redwing","Clay-colored Robin","White-throated Robin","Rufous-backed Robin","American Robin","Varied Thrush","Aztec Thrush","Wrentit","Gray Catbird","Black Catbird","Northern Mockingbird","Bahama Mockingbird","Sage Thrasher","Brown Thrasher","Long-billed Thrasher","Bendire's Thrasher","Curve-billed Thrasher","California Thrasher","Crissal Thrasher","Le Conte's Thrasher","Blue Mockingbird","European Starling","Crested Myna","Siberian Accentor","Yellow Wagtail","Citrine Wagtail","Gray Wagtail","White Wagtail","Black-backed Wagtail","Tree Pipit","Olive-backed Pipit","Pechora Pipit","Red-throated Pipit","American Pipit","Sprague's Pipit","Bohemian Waxwing","Cedar Waxwing","Gray Silky-flycatcher","Phainopepla","Olive Warbler","Bachman's Warbler","Blue-winged Warbler","Golden-winged Warbler","Tennessee Warbler","Orange-crowned Warbler","Nashville Warbler","Virginia's Warbler","Colima Warbler","Lucy's Warbler","Crescent-chested Warbler","Northern Parula","Tropical Parula","Yellow Warbler","Chestnut-sided Warbler","Magnolia Warbler","Cape May Warbler","Black-throated Blue Warbler","Yellow-rumped Warbler","Black-throated Gray Warbler","Golden-cheeked Warbler","Black-throated Green Warbler","Townsend's Warbler","Hermit Warbler","Blackburnian Warbler","Yellow-throated Warbler","Grace's Warbler","Pine Warbler","Kirtland's Warbler","Prairie Warbler","Palm Warbler","Bay-breasted Warbler","Blackpoll Warbler","Cerulean Warbler","Black-and-white Warbler","American Redstart","Prothonotary Warbler","Worm-eating Warbler","Swainson's Warbler","Ovenbird","Northern Waterthrush","Louisiana Waterthrush","Kentucky Warbler","Connecticut Warbler","Mourning Warbler","MacGillivray's Warbler","Common Yellowthroat","Gray-crowned Yellowthroat","Hooded Warbler","Wilson's Warbler","Canada Warbler","Red-faced Warbler","Painted Redstart","Slate-throated Redstart","Fan-tailed Warbler","Golden-crowned Warbler","Rufous-capped Warbler","Yellow-breasted Chat","Bananaquit","Hepatic Tanager","Summer Tanager","Scarlet Tanager","Western Tanager","Flame-colored Tanager","Stripe-headed Tanager","White-collared Seedeater","Yellow-faced Grassquit","Black-faced Grassquit","Olive Sparrow","Green-tailed Towhee","Spotted Towhee","Eastern Towhee","Canyon Towhee","California Towhee","Abert's Towhee","Rufous-winged Sparrow","Cassin's Sparrow","Bachman's Sparrow","Botteri's Sparrow","Rufous-crowned Sparrow","Five-striped Sparrow","American Tree Sparrow","Chipping Sparrow","Clay-colored Sparrow","Brewer's Sparrow","Field Sparrow","Worthen's Sparrow","Black-chinned Sparrow","Vesper Sparrow","Lark Sparrow","Black-throated Sparrow","Sage Sparrow","Lark Bunting","Savannah Sparrow","Grasshopper Sparrow","Baird's Sparrow","Henslow's Sparrow","Le Conte's Sparrow","Nelson's Sharp-tailed Sparrow","Saltmarsh Sharp-tailed Sparrow","Seaside Sparrow","Fox Sparrow","Song Sparrow","Lincoln's Sparrow","Swamp Sparrow","White-throated Sparrow","Harris's Sparrow","White-crowned Sparrow","Golden-crowned Sparrow","Dark-eyed Junco","Yellow-eyed Junco","McCown's Longspur","Lapland Longspur","Smith's Longspur","Chestnut-collared Longspur","Pine Bunting","Little Bunting","Rustic Bunting","Yellow-breasted Bunting","Gray Bunting","Pallas's Bunting","Reed Bunting","Snow Bunting","McKay's Bunting","Crimson-collared Grosbeak","Northern Cardinal","Pyrrhuloxia","Yellow Grosbeak","Rose-breasted Grosbeak","Black-headed Grosbeak","Blue Bunting","Blue Grosbeak","Lazuli Bunting","Indigo Bunting","Varied Bunting","Painted Bunting","Dickcissel","Bobolink","Red-winged Blackbird","Tricolored Blackbird","Tawny-shouldered Blackbird","Eastern Meadowlark","Western Meadowlark","Yellow-headed Blackbird","Rusty Blackbird","Brewer's Blackbird","Common Grackle","Boat-tailed Grackle","Great-tailed Grackle","Shiny Cowbird","Bronzed Cowbird","Brown-headed Cowbird","Black-vented Oriole","Orchard Oriole","Hooded Oriole","Streak-backed Oriole","Spot-breasted Oriole","Altamira Oriole","Audubon's Oriole","Baltimore Oriole","Bullock's Oriole","Scott's Oriole","Common Chaffinch","Brambling","Gray-crowned Rosy-Finch","Black Rosy-Finch","Brown-capped Rosy-Finch","Pine Grosbeak","Common Rosefinch","Purple Finch","Cassin's Finch","House Finch","Red Crossbill","White-winged Crossbill","Common Redpoll","Hoary Redpoll","Eurasian Siskin","Pine Siskin","Lesser Goldfinch","Lawrence's Goldfinch","American Goldfinch","Oriental Greenfinch","Eurasian Bullfinch","Evening Grosbeak","Hawfinch","House Sparrow","Eurasian Tree Sparrow"],Fhe=["Abyssinian","American Bobtail","American Curl","American Shorthair","American Wirehair","Balinese","Bengal","Birman","Bombay","British Shorthair","Burmese","Chartreux","Chausie","Cornish Rex","Devon Rex","Donskoy","Egyptian Mau","Exotic Shorthair","Havana","Highlander","Himalayan","Japanese Bobtail","Korat","Kurilian Bobtail","LaPerm","Maine Coon","Manx","Minskin","Munchkin","Nebelung","Norwegian Forest Cat","Ocicat","Ojos Azules","Oriental","Persian","Peterbald","Pixiebob","Ragdoll","Russian Blue","Savannah","Scottish Fold","Selkirk Rex","Serengeti","Siberian","Siamese","Singapura","Snowshoe","Sokoke","Somali","Sphynx","Thai","Tonkinese","Toyger","Turkish Angora","Turkish Van"],Che=["Blue Whale","Fin Whale","Sei Whale","Sperm Whale","Bryde’s whale","Omura’s whale","Humpback whale","Long-Beaked Common Dolphin","Short-Beaked Common Dolphin","Bottlenose Dolphin","Indo-Pacific Bottlenose Dolphin","Northern Rightwhale Dolphin","Southern Rightwhale Dolphin","Tucuxi","Costero","Indo-Pacific Hump-backed Dolphin","Chinese White Dolphin","Atlantic Humpbacked Dolphin","Atlantic Spotted Dolphin","Clymene Dolphin","Pantropical Spotted Dolphin","Spinner Dolphin","Striped Dolphin","Rough-Toothed Dolphin","Chilean Dolphin","Commerson’s Dolphin","Heaviside’s Dolphin","Hector’s Dolphin","Risso’s Dolphin","Fraser’s Dolphin","Atlantic White-Sided Dolphin","Dusky Dolphin","Hourglass Dolphin","Pacific White-Sided Dolphin","Peale’s Dolphin","White-Beaked Dolphin","Australian Snubfin Dolphin","Irrawaddy Dolphin","Melon-headed Whale","Killer Whale (Orca)","Pygmy Killer Whale","False Killer Whale","Long-finned Pilot Whale","Short-finned Pilot Whale","Guiana Dolphin","Burrunan Dolphin","Australian humpback Dolphin","Amazon River Dolphin","Chinese River Dolphin","Ganges River Dolphin","La Plata Dolphin","Southern Bottlenose Whale","Longman's Beaked Whale","Arnoux's Beaked Whale"],whe=["Aberdeen Angus","Abergele","Abigar","Abondance","Abyssinian Shorthorned Zebu","Aceh","Achham","Adamawa","Adaptaur","Afar","Africangus","Afrikaner","Agerolese","Alambadi","Alatau","Albanian","Albera","Alderney","Alentejana","Aleutian wild cattle","Aliad Dinka","Alistana-Sanabresa","Allmogekor","Alur","American","American Angus","American Beef Friesian","American Brown Swiss","American Milking Devon","American White Park","Amerifax","Amrit Mahal","Amsterdam Island cattle","Anatolian Black","Andalusian Black","Andalusian Blond","Andalusian Grey","Angeln","Angoni","Ankina","Ankole","Ankole-Watusi","Aracena","Arado","Argentine Criollo","Argentine Friesian","Armorican","Arouquesa","Arsi","Asturian Mountain","Asturian Valley","Aubrac","Aulie-Ata","Aure et Saint-Girons","Australian Braford","Australian Brangus","Australian Charbray","Australian Friesian Sahiwal","Australian Lowline","Australian Milking Zebu","Australian Shorthorn","Austrian Simmental","Austrian Yellow","Avétonou","Avileña-Negra Ibérica","Aweil Dinka","Ayrshire","Azaouak","Azebuado","Azerbaijan Zebu","Azores","Bedit","Breed","Bachaur cattle","Baherie cattle","Bakosi cattle","Balancer","Baoule","Bargur cattle","Barrosã","Barzona","Bazadaise","Beef Freisian","Beefalo","Beefmaker","Beefmaster","Begayt","Belgian Blue","Belgian Red","Belgian Red Pied","Belgian White-and-Red","Belmont Red","Belted Galloway","Bernese","Berrenda cattle","Betizu","Bianca Modenese","Blaarkop","Black Angus","Black Baldy","Black Hereford","Blanca Cacereña","Blanco Orejinegro BON","Blonde d'Aquitaine","Blue Albion","Blue Grey","Bohuskulla","Bonsmara","Boran","Boškarin","Braford","Brahman","Brahmousin","Brangus","Braunvieh","Brava","British White","British Friesian","Brown Carpathian","Brown Caucasian","Brown Swiss","Bue Lingo","Burlina","Buša cattle","Butana cattle","Bushuyev","Cedit","Cachena","Caldelana","Camargue","Campbell Island cattle","Canadian Speckle Park","Canadienne","Canaria","Canchim","Caracu","Cárdena Andaluza","Carinthian Blondvieh","Carora","Charbray","Charolais","Chateaubriand","Chiangus","Chianina","Chillingham cattle","Chinese Black Pied","Cholistani","Coloursided White Back","Commercial","Corriente","Corsican cattle","Costeño con Cuernos","Crioulo Lageano","Dedit","Dajal","Dangi cattle","Danish Black-Pied","Danish Jersey","Danish Red","Deep Red cattle","Deoni","Devon","Dexter cattle","Dhanni","Doayo cattle","Doela","Drakensberger","Dølafe","Droughtmaster","Dulong'","Dutch Belted","Dutch Friesian","Dwarf Lulu","Eedit","East Anatolian Red","Eastern Finncattle","Eastern Red Polled","Enderby Island cattle","English Longhorn","Ennstaler Bergscheck","Estonian Holstein","Estonian Native","Estonian Red cattle","Évolène cattle","Fedit","Fēng Cattle","Finnish Ayrshire","Finncattle","Finnish Holstein-Friesian","Fjäll","Fleckvieh","Florida Cracker cattle","Fogera","French Simmental","Fribourgeoise","Friesian Red and White","Fulani Sudanese","Gedit","Galician Blond","Galloway cattle","Gangatiri","Gaolao","Garvonesa","Gascon cattle","Gelbvieh","Georgian Mountain cattle","German Angus","German Black Pied cattle","German Black Pied Dairy","German Red Pied","Gir","Glan cattle","Gloucester","Gobra","Greek Shorthorn","Greek Steppe","Greyman cattle","Gudali","Guernsey cattle","Guzerá","Hedit","Hallikar4","Hanwoo","Hariana cattle","Hartón del Valle","Harzer Rotvieh","Hays Converter","Heck cattle","Hereford","Herens","Hybridmaster","Highland cattle","Hinterwald","Holando-Argentino","Holstein Friesian cattle","Horro","Huáng Cattle","Hungarian Grey","Iedit","Iberian cattle","Icelandic","Illawarra cattle","Improved Red and White","Indo-Brazilian","Irish Moiled","Israeli Holstein","Israeli Red","Istoben cattle","Istrian cattle","Jedit","Jamaica Black","Jamaica Hope","Jamaica Red","Japanese Brown","Jarmelista","Javari cattle","Jersey cattle","Jutland cattle","Kedit","Kabin Buri cattle","Kalmyk cattle","Kangayam","Kankrej","Kamphaeng Saen cattle","Karan Swiss","Kasaragod Dwarf cattle","Kathiawadi","Kazakh Whiteheaded","Kenana cattle","Kenkatha cattle","Kerry cattle","Kherigarh","Khillari cattle","Kholomogory","Korat Wagyu","Kostroma cattle","Krishna Valley cattle","Kuri","Kurgan cattle","Ledit","La Reina cattle","Lakenvelder cattle","Lampurger","Latvian Blue","Latvian Brown","Latvian Danish Red","Lebedyn","Levantina","Limia cattle","Limousin","Limpurger","Lincoln Red","Lineback","Lithuanian Black-and-White","Lithuanian Light Grey","Lithuanian Red","Lithuanian White-Backed","Lohani cattle","Lourdais","Lucerna cattle","Luing","Medit","Madagascar Zebu","Madura","Maine-Anjou","Malnad Gidda","Malvi","Mandalong Special","Mantequera Leonesa","Maramureş Brown","Marchigiana","Maremmana","Marinhoa","Maronesa","Masai","Mashona","Menorquina","Mertolenga","Meuse-Rhine-Issel","Mewati","Milking Shorthorn","Minhota","Mirandesa","Mirkadim","Mocăniţă","Mollie","Monchina","Mongolian","Montbéliarde","Morucha","Muturu","Murboden","Murnau-Werdenfels","Murray Grey","Nedit","Nagori","N'Dama","Negra Andaluza","Nelore","Nguni","Nimari","Normande","North Bengal Grey","Northern Finncattle","Northern Shorthorn","Norwegian Red","Oedit]","Ongole","Original Simmental","Pedit","Pajuna","Palmera","Pantaneiro","Parda Alpina","Parthenaise","Pasiega","Pembroke","Philippine Native","Pie Rouge des Plaines","Piedmontese cattle","Pineywoods","Pinzgauer","Pirenaica","Podolac","Podolica","Polish Black-and-White","Polish Red","Polled Hereford","Poll Shorthorn","Polled Shorthorn","Ponwar","Preta","Punganur","Pulikulam","Pustertaler Sprinzen","Qedit","Qinchaun","Queensland Miniature Boran","Redit","Ramo Grande","Randall","Raramuri Criollo","Rathi","Rätisches Grauvieh","Raya","Red Angus","Red Brangus","Red Chittagong","Red Fulani","Red Gorbatov","Red Holstein","Red Kandhari","Red Mingrelian","Red Poll","Red Polled Østland","Red Sindhi","Retinta","Riggit Galloway","Ringamåla","Rohjan","Romagnola","Romanian Bălţata","Romanian Steppe Gray","Romosinuano","Russian Black Pied","RX3","Sedit","Sahiwal","Salers","Salorn","Sanga","Sanhe","Santa Cruz","Santa Gertrudis","Sayaguesa","Schwyz","Selembu","Senepol","Serbian Pied","Serbian Steppe","Sheko","Shetland","Shorthorn","Siboney de Cuba","Simbrah","Simford","Simmental","Siri","South Devon","Spanish Fighting Bull","Speckle Park","Square Meater","Sussex","Swedish Friesian","Swedish Polled","Swedish Red Pied","Swedish Red Polled","Swedish Red-and-White","Tedit","Tabapuã","Tarentaise","Tasmanian Grey","Tauros","Telemark","Texas Longhorn","Texon","Thai Black","Thai Fighting Bull","Thai Friesian","Thai Milking Zebu","Tharparkar","Tswana","Tudanca","Tuli","Tulim","Turkish Grey Steppe","Tux-Zillertal","Tyrol Grey","Uedit","Umblachery","Ukrainian Grey","Vedit","Valdostana Castana","Valdostana Pezzata Nera","Valdostana Pezzata Rossa","Väneko","Vaynol","Vechur8","Vestland Fjord","Vestland Red Polled","Vianesa","Volinian Beef","Vorderwald","Vosgienne","Wedit","Wagyu","Waguli","Wangus","Welsh Black","Western Finncattle","White Cáceres","White Fulani","White Lamphun","White Park","Whitebred Shorthorn","Xedit","Xingjiang Brown","Yedit","Yakutian","Yanbian","Yanhuang","Yurino","Zedit","Żubroń","Zebu"],Ehe=["Alligator mississippiensis","Chinese Alligator","Black Caiman","Broad-snouted Caiman","Spectacled Caiman","Yacare Caiman","Cuvier’s Dwarf Caiman","Schneider’s Smooth-fronted Caiman","African Slender-snouted Crocodile","American Crocodile","Australian Freshwater Crocodile","Cuban Crocodile","Dwarf Crocodile","Morelet’s Crocodile","Mugger Crocodile","New Guinea Freshwater Crocodile","Nile Crocodile","West African Crocodile","Orinoco Crocodile","Philippine Crocodile","Saltwater Crocodile","Siamese Crocodile","Gharial","Tomistoma"],She=["Affenpinscher","Afghan Hound","Aidi","Airedale Terrier","Akbash","Akita","Alano Español","Alapaha Blue Blood Bulldog","Alaskan Husky","Alaskan Klee Kai","Alaskan Malamute","Alopekis","Alpine Dachsbracke","American Bulldog","American Bully","American Cocker Spaniel","American English Coonhound","American Foxhound","American Hairless Terrier","American Pit Bull Terrier","American Staffordshire Terrier","American Water Spaniel","Andalusian Hound","Anglo-Français de Petite Vénerie","Appenzeller Sennenhund","Ariegeois","Armant","Armenian Gampr dog","Artois Hound","Australian Cattle Dog","Australian Kelpie","Australian Shepherd","Australian Stumpy Tail Cattle Dog","Australian Terrier","Austrian Black and Tan Hound","Austrian Pinscher","Azawakh","Bakharwal dog","Banjara Hound","Barbado da Terceira","Barbet","Basenji","Basque Shepherd Dog","Basset Artésien Normand","Basset Bleu de Gascogne","Basset Fauve de Bretagne","Basset Hound","Bavarian Mountain Hound","Beagle","Beagle-Harrier","Belgian Shepherd","Bearded Collie","Beauceron","Bedlington Terrier","Bergamasco Shepherd","Berger Picard","Bernese Mountain Dog","Bhotia","Bichon Frisé","Billy","Black and Tan Coonhound","Black Norwegian Elkhound","Black Russian Terrier","Black Mouth Cur","Bloodhound","Blue Lacy","Blue Picardy Spaniel","Bluetick Coonhound","Boerboel","Bohemian Shepherd","Bolognese","Border Collie","Border Terrier","Borzoi","Bosnian Coarse-haired Hound","Boston Terrier","Bouvier des Ardennes","Bouvier des Flandres","Boxer","Boykin Spaniel","Bracco Italiano","Braque d'Auvergne","Braque de l'Ariège","Braque du Bourbonnais","Braque Francais","Braque Saint-Germain","Briard","Briquet Griffon Vendéen","Brittany","Broholmer","Bruno Jura Hound","Brussels Griffon","Bucovina Shepherd Dog","Bull Arab","Bull Terrier","Bulldog","Bullmastiff","Bully Kutta","Burgos Pointer","Cairn Terrier","Campeiro Bulldog","Canaan Dog","Canadian Eskimo Dog","Cane Corso","Cane di Oropa","Cane Paratore","Cantabrian Water Dog","Can de Chira","Cão da Serra de Aires","Cão de Castro Laboreiro","Cão de Gado Transmontano","Cão Fila de São Miguel","Cardigan Welsh Corgi","Carea Castellano Manchego","Carolina Dog","Carpathian Shepherd Dog","Catahoula Leopard Dog","Catalan Sheepdog","Caucasian Shepherd Dog","Cavalier King Charles Spaniel","Central Asian Shepherd Dog","Cesky Fousek","Cesky Terrier","Chesapeake Bay Retriever","Chien Français Blanc et Noir","Chien Français Blanc et Orange","Chien Français Tricolore","Chihuahua","Chilean Terrier","Chinese Chongqing Dog","Chinese Crested Dog","Chinook","Chippiparai","Chongqing dog","Chortai","Chow Chow","Cimarrón Uruguayo","Cirneco dell'Etna","Clumber Spaniel","Colombian fino hound","Coton de Tulear","Cretan Hound","Croatian Sheepdog","Curly-Coated Retriever","Cursinu","Czechoslovakian Wolfdog","Dachshund","Dalmatian","Dandie Dinmont Terrier","Danish-Swedish Farmdog","Denmark Feist","Dingo","Doberman Pinscher","Dogo Argentino","Dogo Guatemalteco","Dogo Sardesco","Dogue Brasileiro","Dogue de Bordeaux","Drentse Patrijshond","Drever","Dunker","Dutch Shepherd","Dutch Smoushond","East Siberian Laika","East European Shepherd","English Cocker Spaniel","English Foxhound","English Mastiff","English Setter","English Shepherd","English Springer Spaniel","English Toy Terrier","Entlebucher Mountain Dog","Estonian Hound","Estrela Mountain Dog","Eurasier","Field Spaniel","Fila Brasileiro","Finnish Hound","Finnish Lapphund","Finnish Spitz","Flat-Coated Retriever","French Bulldog","French Spaniel","Galgo Español","Galician Shepherd Dog","Garafian Shepherd","Gascon Saintongeois","Georgian Shepherd","German Hound","German Longhaired Pointer","German Pinscher","German Roughhaired Pointer","German Shepherd Dog","German Shorthaired Pointer","German Spaniel","German Spitz","German Wirehaired Pointer","Giant Schnauzer","Glen of Imaal Terrier","Golden Retriever","Gończy Polski","Gordon Setter","Grand Anglo-Français Blanc et Noir","Grand Anglo-Français Blanc et Orange","Grand Anglo-Français Tricolore","Grand Basset Griffon Vendéen","Grand Bleu de Gascogne","Grand Griffon Vendéen","Great Dane","Greater Swiss Mountain Dog","Greek Harehound","Greek Shepherd","Greenland Dog","Greyhound","Griffon Bleu de Gascogne","Griffon Fauve de Bretagne","Griffon Nivernais","Gull Dong","Gull Terrier","Hällefors Elkhound","Hamiltonstövare","Hanover Hound","Harrier","Havanese","Hierran Wolfdog","Hokkaido","Hovawart","Huntaway","Hygen Hound","Ibizan Hound","Icelandic Sheepdog","Indian pariah dog","Indian Spitz","Irish Red and White Setter","Irish Setter","Irish Terrier","Irish Water Spaniel","Irish Wolfhound","Istrian Coarse-haired Hound","Istrian Shorthaired Hound","Italian Greyhound","Jack Russell Terrier","Jagdterrier","Japanese Chin","Japanese Spitz","Japanese Terrier","Jindo","Jonangi","Kai Ken","Kaikadi","Kangal Shepherd Dog","Kanni","Karakachan dog","Karelian Bear Dog","Kars","Karst Shepherd","Keeshond","Kerry Beagle","Kerry Blue Terrier","King Charles Spaniel","King Shepherd","Kintamani","Kishu","Kokoni","Kombai","Komondor","Kooikerhondje","Koolie","Koyun dog","Kromfohrländer","Kuchi","Kuvasz","Labrador Retriever","Lagotto Romagnolo","Lakeland Terrier","Lancashire Heeler","Landseer","Lapponian Herder","Large Münsterländer","Leonberger","Levriero Sardo","Lhasa Apso","Lithuanian Hound","Löwchen","Lupo Italiano","Mackenzie River Husky","Magyar agár","Mahratta Greyhound","Maltese","Manchester Terrier","Maremmano-Abruzzese Sheepdog","McNab dog","Miniature American Shepherd","Miniature Bull Terrier","Miniature Fox Terrier","Miniature Pinscher","Miniature Schnauzer","Molossus of Epirus","Montenegrin Mountain Hound","Mountain Cur","Mountain Feist","Mucuchies","Mudhol Hound","Mudi","Neapolitan Mastiff","New Guinea Singing Dog","New Zealand Heading Dog","Newfoundland","Norfolk Terrier","Norrbottenspets","Northern Inuit Dog","Norwegian Buhund","Norwegian Elkhound","Norwegian Lundehund","Norwich Terrier","Nova Scotia Duck Tolling Retriever","Old Croatian Sighthound","Old Danish Pointer","Old English Sheepdog","Old English Terrier","Olde English Bulldogge","Otterhound","Pachon Navarro","Pampas Deerhound","Paisley Terrier","Papillon","Parson Russell Terrier","Pastore della Lessinia e del Lagorai","Patagonian Sheepdog","Patterdale Terrier","Pekingese","Pembroke Welsh Corgi","Perro Majorero","Perro de Pastor Mallorquin","Perro de Presa Canario","Perro de Presa Mallorquin","Peruvian Inca Orchid","Petit Basset Griffon Vendéen","Petit Bleu de Gascogne","Phalène","Pharaoh Hound","Phu Quoc Ridgeback","Picardy Spaniel","Plummer Terrier","Plott Hound","Podenco Canario","Podenco Valenciano","Pointer","Poitevin","Polish Greyhound","Polish Hound","Polish Lowland Sheepdog","Polish Tatra Sheepdog","Pomeranian","Pont-Audemer Spaniel","Poodle","Porcelaine","Portuguese Podengo","Portuguese Pointer","Portuguese Water Dog","Posavac Hound","Pražský Krysařík","Pshdar Dog","Pudelpointer","Pug","Puli","Pumi","Pungsan Dog","Pyrenean Mastiff","Pyrenean Mountain Dog","Pyrenean Sheepdog","Rafeiro do Alentejo","Rajapalayam","Rampur Greyhound","Rat Terrier","Ratonero Bodeguero Andaluz","Ratonero Mallorquin","Ratonero Murciano de Huerta","Ratonero Valenciano","Redbone Coonhound","Rhodesian Ridgeback","Romanian Mioritic Shepherd Dog","Romanian Raven Shepherd Dog","Rottweiler","Rough Collie","Russian Spaniel","Russian Toy","Russo-European Laika","Saarloos Wolfdog","Sabueso Español","Saint Bernard","Saint Hubert Jura Hound","Saint-Usuge Spaniel","Saluki","Samoyed","Sapsali","Sarabi dog","Šarplaninac","Schapendoes","Schillerstövare","Schipperke","Schweizer Laufhund","Schweizerischer Niederlaufhund","Scottish Deerhound","Scottish Terrier","Sealyham Terrier","Segugio dell'Appennino","Segugio Italiano","Segugio Maremmano","Seppala Siberian Sleddog","Serbian Hound","Serbian Tricolour Hound","Serrano Bulldog","Shar Pei","Shetland Sheepdog","Shiba Inu","Shih Tzu","Shikoku","Shiloh Shepherd","Siberian Husky","Silken Windhound","Silky Terrier","Sinhala Hound","Skye Terrier","Sloughi","Slovakian Wirehaired Pointer","Slovenský Cuvac","Slovenský Kopov","Smalandstövare","Small Greek domestic dog","Small Münsterländer","Smooth Collie","Smooth Fox Terrier","Soft-Coated Wheaten Terrier","South Russian Ovcharka","Spanish Mastiff","Spanish Water Dog","Spinone Italiano","Sporting Lucas Terrier","Sardinian Shepherd Dog","Stabyhoun","Staffordshire Bull Terrier","Standard Schnauzer","Stephens Stock","Styrian Coarse-haired Hound","Sussex Spaniel","Swedish Elkhound","Swedish Lapphund","Swedish Vallhund","Swedish White Elkhound","Taigan","Taiwan Dog","Tamaskan Dog","Teddy Roosevelt Terrier","Telomian","Tenterfield Terrier","Terrier Brasileiro","Thai Bangkaew Dog","Thai Ridgeback","Tibetan Mastiff","Tibetan Spaniel","Tibetan Terrier","Tornjak","Tosa","Toy Fox Terrier","Toy Manchester Terrier","Transylvanian Hound","Treeing Cur","Treeing Feist","Treeing Tennessee Brindle","Treeing Walker Coonhound","Trigg Hound","Tyrolean Hound","Vikhan","Villano de Las Encartaciones","Villanuco de Las Encartaciones","Vizsla","Volpino Italiano","Weimaraner","Welsh Sheepdog","Welsh Springer Spaniel","Welsh Terrier","West Highland White Terrier","West Siberian Laika","Westphalian Dachsbracke","Wetterhoun","Whippet","White Shepherd","White Swiss Shepherd Dog","Wire Fox Terrier","Wirehaired Pointing Griffon","Wirehaired Vizsla","Xiasi Dog","Xoloitzcuintli","Yakutian Laika","Yorkshire Terrier"],Dhe=["Grass carp","Peruvian anchoveta","Silver carp","Common carp","Asari","Japanese littleneck","Filipino Venus","Japanese cockle","Alaska pollock","Nile tilapia","Whiteleg shrimp","Bighead carp","Skipjack tuna","Catla","Crucian carp","Atlantic salmon","Atlantic herring","Chub mackerel","Rohu","Yellowfin tuna","Japanese anchovy","Largehead hairtail","Atlantic cod","European pilchard","Capelin","Jumbo flying squid","Milkfish","Atlantic mackerel","Rainbow trout","Araucanian herring","Wuchang bream","Gulf menhaden","Indian oil sardine","Black carp","European anchovy","Northern snakehead","Pacific cod","Pacific saury","Pacific herring","Bigeye tuna","Chilean jack mackerel","Yellow croaker","Haddock","Gazami crab","Amur catfish","Japanese common catfish","European sprat","Pink salmon","Mrigal carp","Channel catfish","Blood cockle","Blue whiting","Hilsa shad","Daggertooth pike conger","California pilchard","Cape horse mackerel","Pacific anchoveta","Japanese flying squid","Pollock","Chinese softshell turtle","Kawakawa","Indian mackerel","Asian swamp eel","Argentine hake","Short mackerel","Southern rough shrimp","Southern African anchovy","Pond loach","Iridescent shark","Mandarin fish","Chinese perch","Nile perch","Round sardinella","Japanese pilchard","Bombay-duck","Yellowhead catfish","Korean bullhead","Narrow-barred Spanish mackerel","Albacore","Madeiran sardinella","Bonga shad","Silver cyprinid","Longtail tuna","Atlantic menhaden","North Pacific hake","Atlantic horse mackerel","Japanese jack mackerel","Pacific thread herring","Bigeye scad","Yellowstripe scad","Chum salmon","Blue swimming crab","Pacific sand lance","Pacific sandlance","Goldstripe sardinella"],_he=["American Albino","Abaco Barb","Abtenauer","Abyssinian","Aegidienberger","Akhal-Teke","Albanian Horse","Altai Horse","Altèr Real","American Cream Draft","American Indian Horse","American Paint Horse","American Quarter Horse","American Saddlebred","American Warmblood","Andalusian Horse","Andravida Horse","Anglo-Arabian","Anglo-Arabo-Sardo","Anglo-Kabarda","Appaloosa","AraAppaloosa","Arabian Horse","Ardennes Horse","Arenberg-Nordkirchen","Argentine Criollo","Asian wild Horse","Assateague Horse","Asturcón","Augeron","Australian Brumby","Australian Draught Horse","Australian Stock Horse","Austrian Warmblood","Auvergne Horse","Auxois","Azerbaijan Horse","Azteca Horse","Baise Horse","Bale","Balearic Horse","Balikun Horse","Baluchi Horse","Banker Horse","Barb Horse","Bardigiano","Bashkir Curly","Basque Mountain Horse","Bavarian Warmblood","Belgian Half-blood","Belgian Horse","Belgian Warmblood ","Bhutia Horse","Black Forest Horse","Blazer Horse","Boerperd","Borana","Boulonnais Horse","Brabant","Brandenburger","Brazilian Sport Horse","Breton Horse","Brumby","Budyonny Horse","Burguete Horse","Burmese Horse","Byelorussian Harness Horse","Calabrese Horse","Camargue Horse","Camarillo White Horse","Campeiro","Campolina","Canadian Horse","Canadian Pacer","Carolina Marsh Tacky","Carthusian Horse","Caspian Horse","Castilian Horse","Castillonnais","Catria Horse","Cavallo Romano della Maremma Laziale","Cerbat Mustang","Chickasaw Horse","Chilean Corralero","Choctaw Horse","Cleveland Bay","Clydesdale Horse","Cob","Coldblood Trotter","Colonial Spanish Horse","Colorado Ranger","Comtois Horse","Corsican Horse","Costa Rican Saddle Horse","Cretan Horse","Criollo Horse","Croatian Coldblood","Cuban Criollo","Cumberland Island Horse","Curly Horse","Czech Warmblood","Daliboz","Danish Warmblood","Danube Delta Horse","Dole Gudbrandsdal","Don","Dongola Horse","Draft Trotter","Dutch Harness Horse","Dutch Heavy Draft","Dutch Warmblood","Dzungarian Horse","East Bulgarian","East Friesian Horse","Estonian Draft","Estonian Horse","Falabella","Faroese","Finnhorse","Fjord Horse","Fleuve","Florida Cracker Horse","Foutanké","Frederiksborg Horse","Freiberger","French Trotter","Friesian Cross","Friesian Horse","Friesian Sporthorse","Furioso-North Star","Galiceño","Galician Pony","Gelderland Horse","Georgian Grande Horse","German Warmblood","Giara Horse","Gidran","Groningen Horse","Gypsy Horse","Hackney Horse","Haflinger","Hanoverian Horse","Heck Horse","Heihe Horse","Henson Horse","Hequ Horse","Hirzai","Hispano-Bretón","Holsteiner Horse","Horro","Hungarian Warmblood","Icelandic Horse","Iomud","Irish Draught","Irish Sport Horse sometimes called Irish Hunter","Italian Heavy Draft","Italian Trotter","Jaca Navarra","Jeju Horse","Jutland Horse","Kabarda Horse","Kafa","Kaimanawa Horses","Kalmyk Horse","Karabair","Karabakh Horse","Karachai Horse","Karossier","Kathiawari","Kazakh Horse","Kentucky Mountain Saddle Horse","Kiger Mustang","Kinsky Horse","Kisber Felver","Kiso Horse","Kladruber","Knabstrupper","Konik","Kundudo","Kustanair","Kyrgyz Horse","Latvian Horse","Lipizzan","Lithuanian Heavy Draught","Lokai","Losino Horse","Lusitano","Lyngshest","M'Bayar","M'Par","Mallorquín","Malopolski","Mangalarga","Mangalarga Marchador","Maremmano","Marismeño Horse","Marsh Tacky","Marwari Horse","Mecklenburger","Međimurje Horse","Menorquín","Mérens Horse","Messara Horse","Metis Trotter","Mezőhegyesi Sport Horse","Miniature Horse","Misaki Horse","Missouri Fox Trotter","Monchina","Mongolian Horse","Mongolian Wild Horse","Monterufolino","Morab","Morgan Horse","Mountain Pleasure Horse","Moyle Horse","Murakoz Horse","Murgese","Mustang Horse","Namib Desert Horse","Nangchen Horse","National Show Horse","Nez Perce Horse","Nivernais Horse","Nokota Horse","Noma","Nonius Horse","Nooitgedachter","Nordlandshest","Noriker Horse","Norman Cob","North American Single-Footer Horse","North Swedish Horse","Norwegian Coldblood Trotter","Norwegian Fjord","Novokirghiz","Oberlander Horse","Ogaden","Oldenburg Horse","Orlov trotter","Ostfriesen","Paint","Pampa Horse","Paso Fino","Pentro Horse","Percheron","Persano Horse","Peruvian Paso","Pintabian","Pleven Horse","Poitevin Horse","Posavac Horse","Pottok","Pryor Mountain Mustang","Przewalski's Horse","Pura Raza Española","Purosangue Orientale","Qatgani","Quarab","Quarter Horse","Racking Horse","Retuerta Horse","Rhenish German Coldblood","Rhinelander Horse","Riwoche Horse","Rocky Mountain Horse","Romanian Sporthorse","Rottaler","Russian Don","Russian Heavy Draft","Russian Trotter","Saddlebred","Salerno Horse","Samolaco Horse","San Fratello Horse","Sarcidano Horse","Sardinian Anglo-Arab","Schleswig Coldblood","Schwarzwälder Kaltblut","Selale","Sella Italiano","Selle Français","Shagya Arabian","Shan Horse","Shire Horse","Siciliano Indigeno","Silesian Horse","Sokolsky Horse","Sorraia","South German Coldblood","Soviet Heavy Draft","Spanish Anglo-Arab","Spanish Barb","Spanish Jennet Horse","Spanish Mustang","Spanish Tarpan","Spanish-Norman Horse","Spiti Horse","Spotted Saddle Horse","Standardbred Horse","Suffolk Punch","Swedish Ardennes","Swedish coldblood trotter","Swedish Warmblood","Swiss Warmblood","Taishū Horse","Takhi","Tawleed","Tchernomor","Tennessee Walking Horse","Tersk Horse","Thoroughbred","Tiger Horse","Tinker Horse","Tolfetano","Tori Horse","Trait Du Nord","Trakehner","Tsushima","Tuigpaard","Ukrainian Riding Horse","Unmol Horse","Uzunyayla","Ventasso Horse","Virginia Highlander","Vlaamperd","Vladimir Heavy Draft","Vyatka","Waler","Waler Horse","Walkaloosa","Warlander","Warmblood","Welsh Cob","Westphalian Horse","Wielkopolski","Württemberger","Xilingol Horse","Yakutian Horse","Yili Horse","Yonaguni Horse","Zaniskari","Žemaitukas","Zhemaichu","Zweibrücker"],khe=["Acacia-ants","Acorn-plum gall","Aerial yellowjacket","Africanized honey bee","Allegheny mound ant","Almond stone wasp","Ant","Arboreal ant","Argentine ant","Asian paper wasp","Baldfaced hornet","Bee","Bigheaded ant","Black and yellow mud dauber","Black carpenter ant","Black imported fire ant","Blue horntail woodwasp","Blue orchard bee","Braconid wasp","Bumble bee","Carpenter ant","Carpenter wasp","Chalcid wasp","Cicada killer","Citrus blackfly parasitoid","Common paper wasp","Crazy ant","Cuckoo wasp","Cynipid gall wasp","Eastern Carpenter bee","Eastern yellowjacket","Elm sawfly","Encyrtid wasp","Erythrina gall wasp","Eulophid wasp","European hornet","European imported fire ant","False honey ant","Fire ant","Forest bachac","Forest yellowjacket","German yellowjacket","Ghost ant","Giant ichneumon wasp","Giant resin bee","Giant wood wasp","Golden northern bumble bee","Golden paper wasp","Gouty oak gall","Grass Carrying Wasp","Great black wasp","Great golden digger wasp","Hackberry nipple gall parasitoid","Honey bee","Horned oak gall","Horse guard wasp","Hunting wasp","Ichneumonid wasp","Keyhole wasp","Knopper gall","Large garden bumble bee","Large oak-apple gall","Leafcutting bee","Little fire ant","Little yellow ant","Long-horned bees","Long-legged ant","Macao paper wasp","Mallow bee","Marble gall","Mossyrose gall wasp","Mud-daubers","Multiflora rose seed chalcid","Oak apple gall wasp","Oak rough bulletgall wasp","Oak saucer gall","Oak shoot sawfly","Odorous house ant","Orange-tailed bumble bee","Orangetailed potter wasp","Oriental chestnut gall wasp","Paper wasp","Pavement ant","Pigeon tremex","Pip gall wasp","Prairie yellowjacket","Pteromalid wasp","Pyramid ant","Raspberry Horntail","Red ant","Red carpenter ant","Red harvester ant","Red imported fire ant","Red wasp","Red wood ant","Red-tailed wasp","Reddish carpenter ant","Rough harvester ant","Sawfly parasitic wasp","Scale parasitoid","Silky ant","Sirex woodwasp","Siricid woodwasp","Smaller yellow ant","Southeastern blueberry bee","Southern fire ant","Southern yellowjacket","Sphecid wasp","Stony gall","Sweat bee","Texas leafcutting ant","Tiphiid wasp","Torymid wasp","Tramp ant","Valentine ant","Velvet ant","Vespid wasp","Weevil parasitoid","Western harvester ant","Western paper wasp","Western thatching ant","Western yellowjacket","White-horned horntail","Willow shoot sawfly","Woodwasp","Wool sower gall maker","Yellow and black potter wasp","Yellow Crazy Ant","Yellow-horned horntail"],Ahe=["Asiatic Lion","Barbary Lion","West African Lion","Northeast Congo Lion","Masai Lion","Transvaal lion","Cape lion"],xhe=["American","American Chinchilla","American Fuzzy Lop","American Sable","Argente Brun","Belgian Hare","Beveren","Blanc de Hotot","Britannia Petite","Californian","Champagne D’Argent","Checkered Giant","Cinnamon","Crème D’Argent","Dutch","Dwarf Hotot","English Angora","English Lop","English Spot","Flemish Giant","Florida White","French Angora","French Lop","Giant Angora","Giant Chinchilla","Harlequin","Havana","Himalayan","Holland Lop","Jersey Wooly","Lilac","Lionhead","Mini Lop","Mini Rex","Mini Satin","Netherland Dwarf","New Zealand","Palomino","Polish","Rex","Rhinelander","Satin","Satin Angora","Silver","Silver Fox","Silver Marten","Standard Chinchilla","Tan","Thrianta"],The=["Abrocoma","Abrocoma schistacea","Aconaemys","Aconaemys porteri","African brush-tailed porcupine","Andean mountain cavy","Argentine tuco-tuco","Ashy chinchilla rat","Asiatic brush-tailed porcupine","Atherurus","Azara's agouti","Azara's tuco-tuco","Bahia porcupine","Bathyergus","Bathyergus janetta","Bathyergus suillus","Bennett's chinchilla rat","Bicolored-spined porcupine","Black agouti","Black dwarf porcupine","Black-rumped agouti","Black-tailed hairy dwarf porcupine","Bolivian chinchilla rat","Bolivian tuco-tuco","Bonetto's tuco-tuco","Brandt's yellow-toothed cavy","Brazilian guinea pig","Brazilian porcupine","Brazilian tuco-tuco","Bridge's degu","Brown hairy dwarf porcupine","Budin's chinchilla rat, A. budini","Cape porcupine","Catamarca tuco-tuco","Cavia","Central American agouti","Chacoan tuco-tuco","Chilean rock rat","Chinchilla","Coendou","Coiban agouti","Colburn's tuco-tuco","Collared tuco-tuco","Common degu","Common yellow-toothed cavy","Conover's tuco-tuco","Coruro","Crested agouti","Crested porcupine","Cryptomys","Cryptomys bocagei","Cryptomys damarensis","Cryptomys foxi","Cryptomys hottentotus","Cryptomys mechowi","Cryptomys ochraceocinereus","Cryptomys zechi","Ctenomys","Cuniculus","Cuscomys","Cuscomys ashanika","Dactylomys","Dactylomys boliviensis","Dactylomys dactylinus","Dactylomys peruanus","Dasyprocta","Domestic guinea pig","Emily's tuco-tuco","Erethizon","Famatina chinchilla rat","Frosted hairy dwarf porcupine","Fukomys","Fukomys amatus","Fukomys anselli","Fukomys bocagei","Fukomys damarensis","Fukomys darlingi","Fukomys foxi","Fukomys ilariae","Fukomys kafuensis","Fukomys mechowii","Fukomys micklemi","Fukomys occlusus","Fukomys ochraceocinereus","Fukomys whytei","Fukomys zechi","Furtive tuco-tuco","Galea","Georychus","Georychus capensis","Golden viscacha-rat","Goya tuco-tuco","Greater guinea pig","Green acouchi","Haig's tuco-tuco","Heliophobius","Heliophobius argenteocinereus","Heterocephalus","Heterocephalus glaber","Highland tuco-tuco","Hystrix","Indian porcupine","Isla Mocha degu","Kalinowski agouti","Kannabateomys","Kannabateomys amblyonyx","Lagidium","Lagostomus","Lewis' tuco-tuco","Long-tailed chinchilla","Long-tailed porcupine","Los Chalchaleros' viscacha-rat","Lowland paca","Magellanic tuco-tuco","Malayan porcupine","Maule tuco-tuco","Mendoza tuco-tuco","Mexican agouti","Mexican hairy dwarf porcupine","Microcavia","Montane guinea pig","Moon-toothed degu","Mottled tuco-tuco","Mountain degu","Mountain paca","Mountain viscacha-rat","Myoprocta","Natterer's tuco-tuco","North American porcupine","Northern viscacha","Octodon","Octodontomys","Octomys","Olallamys","Olallamys albicauda","Olallamys edax","Orinoco agouti","Paraguaian hairy dwarf porcupine","Pearson's tuco-tuco","Peruvian tuco-tuco","Philippine porcupine","Pipanacoctomys","Plains viscacha","Plains viscacha-rat","Porteous' tuco-tuco","Punta de Vacas chinchilla rat","Red acouchi","Red-rumped agouti","Reddish tuco-tuco","Rio Negro tuco-tuco","Robust tuco-tuco","Roosmalen's dwarf porcupine","Rothschild's porcupine","Ruatan Island agouti","Sage's rock rat","Salinoctomys","Salta tuco-tuco","San Luis tuco-tuco","Santa Catarina's guinea pig","Shiny guinea pig","Shipton's mountain cavy","Short-tailed chinchilla","Silky tuco-tuco","Social tuco-tuco","Southern mountain cavy","Southern tuco-tuco","Southern viscacha","Spalacopus","Spix's yellow-toothed cavy","Steinbach's tuco-tuco","Streaked dwarf porcupine","Strong tuco-tuco","Stump-tailed porcupine","Sumatran porcupine","Sunda porcupine","Talas tuco-tuco","Tawny tuco-tuco","Thick-spined porcupine","Tiny tuco-tuco","Trichys","Tucuman tuco-tuco","Tympanoctomys","Uspallata chinchilla rat","White-toothed tuco-tuco","Wolffsohn's viscacha"],Mhe=["Viper Adder","Common adder","Death Adder","Desert death adder","Horned adder","Long-nosed adder","Many-horned adder","Mountain adder","Mud adder","Namaqua dwarf adder","Nightingale adder","Peringuey's adder","Puff adder","African puff adder","Rhombic night adder","Sand adder","Dwarf sand adder","Namib dwarf sand adder","Water adder","Aesculapian snake","Anaconda","Bolivian anaconda","De Schauensee's anaconda","Green anaconda","Yellow anaconda","Arafura file snake","Asp","European asp","Egyptian asp","African beaked snake","Ball Python","Bird snake","Black-headed snake","Mexican black kingsnake","Black rat snake","Black snake","Red-bellied black snake","Blind snake","Brahminy blind snake","Texas blind snake","Western blind snake","Boa","Abaco Island boa","Amazon tree boa","Boa constrictor","Cuban boa","Dumeril's boa","Dwarf boa","Emerald tree boa","Hogg Island boa","Jamaican boa","Madagascar ground boa","Madagascar tree boa","Puerto Rican boa","Rainbow boa","Red-tailed boa","Rosy boa","Rubber boa","Sand boa","Tree boa","Boiga","Boomslang","Brown snake","Eastern brown snake","Bull snake","Bushmaster","Dwarf beaked snake","Rufous beaked snake","Canebrake","Cantil","Cascabel","Cat-eyed snake","Banded cat-eyed snake","Green cat-eyed snake","Cat snake","Andaman cat snake","Beddome's cat snake","Dog-toothed cat snake","Forsten's cat snake","Gold-ringed cat snake","Gray cat snake","Many-spotted cat snake","Tawny cat snake","Chicken snake","Coachwhip snake","Cobra","Andaman cobra","Arabian cobra","Asian cobra","Banded water cobra","Black-necked cobra","Black-necked spitting cobra","Black tree cobra","Burrowing cobra","Cape cobra","Caspian cobra","Congo water cobra","Common cobra","Eastern water cobra","Egyptian cobra","Equatorial spitting cobra","False cobra","False water cobra","Forest cobra","Gold tree cobra","Indian cobra","Indochinese spitting cobra","Javan spitting cobra","King cobra","Mandalay cobra","Mozambique spitting cobra","North Philippine cobra","Nubian spitting cobra","Philippine cobra","Red spitting cobra","Rinkhals cobra","Shield-nosed cobra","Sinai desert cobra","Southern Indonesian spitting cobra","Southern Philippine cobra","Southwestern black spitting cobra","Snouted cobra","Spectacled cobra","Spitting cobra","Storm water cobra","Thai cobra","Taiwan cobra","Zebra spitting cobra","Collett's snake","Congo snake","Copperhead","American copperhead","Australian copperhead","Coral snake","Arizona coral snake","Beddome's coral snake","Brazilian coral snake","Cape coral snake","Harlequin coral snake","High Woods coral snake","Malayan long-glanded coral snake","Texas Coral Snake","Western coral snake","Corn snake","South eastern corn snake","Cottonmouth","Crowned snake","Cuban wood snake","Eastern hognose snake","Egg-eater","Eastern coral snake","Fer-de-lance","Fierce snake","Fishing snake","Flying snake","Golden tree snake","Indian flying snake","Moluccan flying snake","Ornate flying snake","Paradise flying snake","Twin-Barred tree snake","Banded Flying Snake","Fox snake, three species of Pantherophis","Forest flame snake","Garter snake","Checkered garter snake","Common garter snake","San Francisco garter snake","Texas garter snake","Cape gopher snake","Grass snake","Green snake","Rough green snake","Smooth green snake","Ground snake","Common ground snake","Three-lined ground snake","Western ground snake","Habu","Hognose snake","Blonde hognose snake","Dusty hognose snake","Jan's hognose snake","Giant Malagasy hognose snake","Mexican hognose snake","South American hognose snake","Hundred pacer","Ikaheka snake","Indigo snake","Jamaican Tree Snake","Keelback","Asian keelback","Assam keelback","Black-striped keelback","Buff striped keelback","Burmese keelback","Checkered keelback","Common keelback","Hill keelback","Himalayan keelback","Khasi Hills keelback","Modest keelback","Nicobar Island keelback","Nilgiri keelback","Orange-collared keelback","Red-necked keelback","Sikkim keelback","Speckle-bellied keelback","White-lipped keelback","Wynaad keelback","Yunnan keelback","King brown","King snake","California kingsnake","Desert kingsnake","Grey-banded kingsnake","North eastern king snake","Prairie kingsnake","Scarlet kingsnake","Speckled kingsnake","Krait","Banded krait","Blue krait","Black krait","Burmese krait","Ceylon krait","Indian krait","Lesser black krait","Malayan krait","Many-banded krait","Northeastern hill krait","Red-headed krait","Sind krait","Large shield snake","Lancehead","Common lancehead","Lora","Grey Lora","Lyre snake","Baja California lyresnake","Central American lyre snake","Texas lyre snake","Eastern lyre snake","Machete savane","Mamba","Black mamba","Green mamba","Eastern green mamba","Western green mamba","Mamushi","Mangrove snake","Milk snake","Moccasin snake","Montpellier snake","Mud snake","Eastern mud snake","Western mud snake","Mussurana","Night snake","Cat-eyed night snake","Texas night snake","Nichell snake","Narrowhead Garter Snake","Nose-horned viper","Rhinoceros viper","Vipera ammodytes","Parrot snake","Mexican parrot snake","Patchnose snake","Perrotet's shieldtail snake","Pine snake","Pipe snake","Asian pipe snake","Dwarf pipe snake","Red-tailed pipe snake","Python","African rock python","Amethystine python","Angolan python","Australian scrub python","Ball python","Bismarck ringed python","Black headed python","Blood python","Boelen python","Borneo short-tailed python","Bredl's python","Brown water python","Burmese python","Calabar python","Western carpet python","Centralian carpet python","Coastal carpet python","Inland carpet python","Jungle carpet python","New Guinea carpet python","Northwestern carpet python","Southwestern carpet python","Children's python","Dauan Island water python","Desert woma python","Diamond python","Flinders python","Green tree python","Halmahera python","Indian python","Indonesian water python","Macklot's python","Mollucan python","Oenpelli python","Olive python","Papuan python","Pygmy python","Red blood python","Reticulated python","Kayaudi dwarf reticulated python","Selayer reticulated python","Rough-scaled python","Royal python","Savu python","Spotted python","Stimson's python","Sumatran short-tailed python","Tanimbar python","Timor python","Wetar Island python","White-lipped python","Brown white-lipped python","Northern white-lipped python","Southern white-lipped python","Woma python","Western woma python","Queen snake","Racer","Bimini racer","Buttermilk racer","Eastern racer","Eastern yellowbelly sad racer","Mexican racer","Southern black racer","Tan racer","West Indian racer","Raddysnake","Southwestern blackhead snake","Rat snake","Baird's rat snake","Beauty rat snake","Great Plains rat snake","Green rat snake","Japanese forest rat snake","Japanese rat snake","King rat snake","Mandarin rat snake","Persian rat snake","Red-backed rat snake","Twin-spotted rat snake","Yellow-striped rat snake","Manchurian Black Water Snake","Rattlesnake","Arizona black rattlesnake","Aruba rattlesnake","Chihuahuan ridge-nosed rattlesnake","Coronado Island rattlesnake","Durango rock rattlesnake","Dusky pigmy rattlesnake","Eastern diamondback rattlesnake","Grand Canyon rattlesnake","Great Basin rattlesnake","Hopi rattlesnake","Lance-headed rattlesnake","Long-tailed rattlesnake","Massasauga rattlesnake","Mexican green rattlesnake","Mexican west coast rattlesnake","Midget faded rattlesnake","Mojave rattlesnake","Northern black-tailed rattlesnake","Oaxacan small-headed rattlesnake","Rattler","Red diamond rattlesnake","Southern Pacific rattlesnake","Southwestern speckled rattlesnake","Tancitaran dusky rattlesnake","Tiger rattlesnake","Timber rattlesnake","Tropical rattlesnake","Twin-spotted rattlesnake","Uracoan rattlesnake","Western diamondback rattlesnake","Ribbon snake","Rinkhals","River jack","Sea snake","Annulated sea snake","Beaked sea snake","Dubois's sea snake","Hardwicke's sea snake","Hook Nosed Sea Snake","Olive sea snake","Pelagic sea snake","Stoke's sea snake","Yellow-banded sea snake","Yellow-bellied sea snake","Yellow-lipped sea snake","Shield-tailed snake","Sidewinder","Colorado desert sidewinder","Mojave desert sidewinder","Sonoran sidewinder","Small-eyed snake","Smooth snake","Brazilian smooth snake","European smooth snake","Stiletto snake","Striped snake","Japanese striped snake","Sunbeam snake","Taipan","Central ranges taipan","Coastal taipan","Inland taipan","Paupan taipan","Tentacled snake","Tic polonga","Tiger snake","Chappell Island tiger snake","Common tiger snake","Down's tiger snake","Eastern tiger snake","King Island tiger snake","Krefft's tiger snake","Peninsula tiger snake","Tasmanian tiger snake","Western tiger snake","Tigre snake","Tree snake","Blanding's tree snake","Blunt-headed tree snake","Brown tree snake","Long-nosed tree snake","Many-banded tree snake","Northern tree snake","Trinket snake","Black-banded trinket snake","Twig snake","African twig snake","Twin Headed King Snake","Titanboa","Urutu","Vine snake","Asian Vine Snake, Whip Snake","American Vine Snake","Mexican vine snake","Viper","Asp viper","Bamboo viper","Bluntnose viper","Brazilian mud Viper","Burrowing viper","Bush viper","Great Lakes bush viper","Hairy bush viper","Nitsche's bush viper","Rough-scaled bush viper","Spiny bush viper","Carpet viper","Crossed viper","Cyclades blunt-nosed viper","Eyelash viper","False horned viper","Fea's viper","Fifty pacer","Gaboon viper","Hognosed viper","Horned desert viper","Horned viper","Jumping viper","Kaznakov's viper","Leaf-nosed viper","Leaf viper","Levant viper","Long-nosed viper","McMahon's viper","Mole viper","Palestine viper","Pallas' viper","Palm viper","Amazonian palm viper","Black-speckled palm-pitviper","Eyelash palm-pitviper","Green palm viper","Mexican palm-pitviper","Guatemalan palm viper","Honduran palm viper","Siamese palm viper","Side-striped palm-pitviper","Yellow-lined palm viper","Pit viper","Banded pitviper","Bamboo pitviper","Barbour's pit viper","Black-tailed horned pit viper","Bornean pitviper","Brongersma's pitviper","Brown spotted pitviper[4]","Cantor's pitviper","Elegant pitviper","Eyelash pit viper","Fan-Si-Pan horned pitviper","Flat-nosed pitviper","Godman's pit viper","Green tree pit viper","Habu pit viper","Hagen's pitviper","Horseshoe pitviper","Jerdon's pitviper","Kanburian pit viper","Kaulback's lance-headed pitviper","Kham Plateau pitviper","Large-eyed pitviper","Malabar rock pitviper","Malayan pit viper","Mangrove pit viper","Mangshan pitviper","Motuo bamboo pitviper","Nicobar bamboo pitviper","Philippine pitviper","Pointed-scaled pit viper[5]","Red-tailed bamboo pitviper","Schultze's pitviper","Stejneger's bamboo pitviper","Sri Lankan pit viper","Temple pit viper","Tibetan bamboo pitviper","Tiger pit viper","Undulated pit viper","Wagler's pit viper","Wirot's pit viper","Portuguese viper","Saw-scaled viper","Schlegel's viper","Sedge viper","Sharp-nosed viper","Snorkel viper","Temple viper","Tree viper","Chinese tree viper","Guatemalan tree viper","Hutton's tree viper","Indian tree viper","Large-scaled tree viper","Malcolm's tree viper","Nitsche's tree viper","Pope's tree viper","Rough-scaled tree viper","Rungwe tree viper","Sumatran tree viper","White-lipped tree viper","Ursini's viper","Western hog-nosed viper","Wart snake","Water moccasin","Water snake","Bocourt's water snake","Northern water snake","Whip snake","Long-nosed whip snake","Wolf snake","African wolf snake","Barred wolf snake","Worm snake","Common worm snake","Longnosed worm snake","Wutu","Yarara","Zebra snake"],Bhe=["dog","cat","snake","bear","lion","cetacean","insect","crocodilia","cow","bird","fish","rabbit","horse"],Lhe={bear:yhe,bird:bhe,cat:Fhe,cetacean:Che,cow:whe,crocodilia:Ehe,dog:She,fish:Dhe,horse:_he,insect:khe,lion:Ahe,rabbit:xhe,rodent:The,snake:Mhe,type:Bhe},Ohe=Lhe,Rhe=["{{person.name}}","{{company.name}}"],Phe=["Redhold","Treeflex","Trippledex","Kanlam","Bigtax","Daltfresh","Toughjoyfax","Mat Lam Tam","Otcom","Tres-Zap","Y-Solowarm","Tresom","Voltsillam","Biodex","Greenlam","Viva","Matsoft","Temp","Zoolab","Subin","Rank","Job","Stringtough","Tin","It","Home Ing","Zamit","Sonsing","Konklab","Alpha","Latlux","Voyatouch","Alphazap","Holdlamis","Zaam-Dox","Sub-Ex","Quo Lux","Bamity","Ventosanzap","Lotstring","Hatity","Tempsoft","Overhold","Fixflex","Konklux","Zontrax","Tampflex","Span","Namfix","Transcof","Stim","Fix San","Sonair","Stronghold","Fintone","Y-find","Opela","Lotlux","Ronstring","Zathin","Duobam","Keylex"],Ihe=["0.#.#","0.##","#.##","#.#","#.#.#"],Nhe={author:Rhe,name:Phe,version:Ihe},$he=Nhe,Vhe=["###-###-####","(###) ###-####","1-###-###-####","###.###.####"],Hhe={formats:Vhe},zhe=Hhe,Whe=["red","green","blue","yellow","purple","mint green","teal","white","black","orange","pink","grey","maroon","violet","turquoise","tan","sky blue","salmon","plum","orchid","olive","magenta","lime","ivory","indigo","gold","fuchsia","cyan","azure","lavender","silver"],Ghe={human:Whe},jhe=Ghe,Khe=["Books","Movies","Music","Games","Electronics","Computers","Home","Garden","Tools","Grocery","Health","Beauty","Toys","Kids","Baby","Clothing","Shoes","Jewelery","Sports","Outdoors","Automotive","Industrial"],Uhe=["Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support","The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive","New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016","The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality","The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design","The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J","The Football Is Good For Training And Recreational Purposes","Carbonite web goalkeeper gloves are ergonomically designed to give easy fit","Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles","New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart","The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients","Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals"],qhe={adjective:["Small","Ergonomic","Electronic","Rustic","Intelligent","Gorgeous","Incredible","Elegant","Fantastic","Practical","Modern","Recycled","Sleek","Bespoke","Awesome","Generic","Handcrafted","Handmade","Oriental","Licensed","Luxurious","Refined","Unbranded","Tasty"],material:["Steel","Bronze","Wooden","Concrete","Plastic","Cotton","Granite","Rubber","Metal","Soft","Fresh","Frozen"],product:["Chair","Car","Computer","Keyboard","Mouse","Bike","Ball","Gloves","Pants","Shirt","Table","Shoes","Hat","Towels","Soap","Tuna","Chicken","Fish","Cheese","Bacon","Pizza","Salad","Sausages","Chips"]},Yhe={department:Khe,product_description:Uhe,product_name:qhe},Jhe=Yhe,Xhe=["Adaptive","Advanced","Ameliorated","Assimilated","Automated","Balanced","Business-focused","Centralized","Cloned","Compatible","Configurable","Cross-group","Cross-platform","Customer-focused","Customizable","Decentralized","De-engineered","Devolved","Digitized","Distributed","Diverse","Down-sized","Enhanced","Enterprise-wide","Ergonomic","Exclusive","Expanded","Extended","Face to face","Focused","Front-line","Fully-configurable","Function-based","Fundamental","Future-proofed","Grass-roots","Horizontal","Implemented","Innovative","Integrated","Intuitive","Inverse","Managed","Mandatory","Monitored","Multi-channelled","Multi-lateral","Multi-layered","Multi-tiered","Networked","Object-based","Open-architected","Open-source","Operative","Optimized","Optional","Organic","Organized","Persevering","Persistent","Phased","Polarised","Pre-emptive","Proactive","Profit-focused","Profound","Programmable","Progressive","Public-key","Quality-focused","Reactive","Realigned","Re-contextualized","Re-engineered","Reduced","Reverse-engineered","Right-sized","Robust","Seamless","Secured","Self-enabling","Sharable","Stand-alone","Streamlined","Switchable","Synchronised","Synergistic","Synergized","Team-oriented","Total","Triple-buffered","Universal","Up-sized","Upgradable","User-centric","User-friendly","Versatile","Virtual","Visionary","Vision-oriented"],Zhe=["clicks-and-mortar","value-added","vertical","proactive","robust","revolutionary","scalable","leading-edge","innovative","intuitive","strategic","e-business","mission-critical","sticky","one-to-one","24/7","end-to-end","global","B2B","B2C","granular","frictionless","virtual","viral","dynamic","24/365","best-of-breed","killer","magnetic","bleeding-edge","web-enabled","interactive","dot-com","sexy","back-end","real-time","efficient","front-end","distributed","seamless","extensible","turn-key","world-class","open-source","cross-platform","cross-media","synergistic","bricks-and-clicks","out-of-the-box","enterprise","integrated","impactful","wireless","transparent","next-generation","cutting-edge","user-centric","visionary","customized","ubiquitous","plug-and-play","collaborative","compelling","holistic","rich"],Qhe=["synergies","paradigms","markets","partnerships","infrastructures","platforms","initiatives","channels","eyeballs","communities","ROI","solutions","action-items","portals","niches","technologies","content","supply-chains","convergence","relationships","architectures","interfaces","e-markets","e-commerce","systems","bandwidth","models","mindshare","deliverables","users","schemas","networks","applications","metrics","e-business","functionalities","experiences","web services","methodologies","blockchains","lifetime value"],eme=["implement","utilize","integrate","streamline","optimize","evolve","transform","embrace","enable","orchestrate","leverage","reinvent","aggregate","architect","enhance","incentivize","morph","empower","envisioneer","monetize","harness","facilitate","seize","disintermediate","synergize","strategize","deploy","brand","grow","target","syndicate","synthesize","deliver","mesh","incubate","engage","maximize","benchmark","expedite","reintermediate","whiteboard","visualize","repurpose","innovate","scale","unleash","drive","extend","engineer","revolutionize","generate","exploit","transition","e-enable","iterate","cultivate","matrix","productize","redefine","recontextualize"],tme=["24 hour","24/7","3rd generation","4th generation","5th generation","6th generation","actuating","analyzing","asymmetric","asynchronous","attitude-oriented","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive","composite","context-sensitive","contextually-based","content-based","dedicated","demand-driven","didactic","directional","discrete","disintermediate","dynamic","eco-centric","empowering","encompassing","even-keeled","executive","explicit","exuding","fault-tolerant","foreground","fresh-thinking","full-range","global","grid-enabled","heuristic","high-level","holistic","homogeneous","human-resource","hybrid","impactful","incremental","intangible","interactive","intermediate","leading edge","local","logistical","maximized","methodical","mission-critical","mobile","modular","motivating","multimedia","multi-state","multi-tasking","national","needs-based","neutral","next generation","non-volatile","object-oriented","optimal","optimizing","radical","real-time","reciprocal","regional","responsive","scalable","secondary","solution-oriented","stable","static","systematic","systemic","system-worthy","tangible","tertiary","transitional","uniform","upward-trending","user-facing","value-added","web-enabled","well-modulated","zero administration","zero defect","zero tolerance"],nme=["{{person.last_name}} {{company.suffix}}","{{person.last_name}} - {{person.last_name}}","{{person.last_name}}, {{person.last_name}} and {{person.last_name}}"],rme=["ability","access","adapter","algorithm","alliance","analyzer","application","approach","architecture","archive","artificial intelligence","array","attitude","benchmark","budgetary management","capability","capacity","challenge","circuit","collaboration","complexity","concept","conglomeration","contingency","core","customer loyalty","database","data-warehouse","definition","emulation","encoding","encryption","extranet","firmware","flexibility","focus group","forecast","frame","framework","function","functionalities","Graphic Interface","groupware","Graphical User Interface","hardware","help-desk","hierarchy","hub","implementation","info-mediaries","infrastructure","initiative","installation","instruction set","interface","internet solution","intranet","knowledge user","knowledge base","local area network","leverage","matrices","matrix","methodology","middleware","migration","model","moderator","monitoring","moratorium","neural-net","open architecture","open system","orchestration","paradigm","parallelism","policy","portal","pricing structure","process improvement","product","productivity","project","projection","protocol","secured line","service-desk","software","solution","standardization","strategy","structure","success","superstructure","support","synergy","system engine","task-force","throughput","time-frame","toolset","utilisation","website","workforce"],ame=["Inc","and Sons","LLC","Group"],ime={adjective:Xhe,buzz_adjective:Zhe,buzz_noun:Qhe,buzz_verb:eme,descriptor:tme,name_pattern:nme,noun:rme,suffix:ame},ome=ime,sme=["id","title","name","email","phone","token","group","category","password","comment","avatar","status","createdAt","updatedAt"],lme={column:sme},ume=lme,cme={wide:["January","February","March","April","May","June","July","August","September","October","November","December"],abbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},dme={wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},fme={month:cme,weekday:dme},pme=fme,hme=["Checking","Savings","Money Market","Investment","Home Loan","Credit Card","Auto Loan","Personal Loan"],mme=["34##-######-####L","37##-######-####L"],vme=["30[0-5]#-######-###L","36##-######-###L","54##-####-####-###L"],gme=["6011-####-####-###L","65##-####-####-###L","64[4-9]#-####-####-###L","6011-62##-####-####-###L","65##-62##-####-####-###L","64[4-9]#-62##-####-####-###L"],yme=["3528-####-####-###L","3529-####-####-###L","35[3-8]#-####-####-###L"],bme=["5018-#{4}-#{4}-#{3}L","5020-#{4}-#{4}-#{3}L","5038-#{4}-#{4}-#{3}L","5893-#{4}-#{4}-#{3}L","6304-#{4}-#{4}-#{3}L","6759-#{4}-#{4}-#{3}L","676[1-3]-####-####-###L","5018#{11,15}L","5020#{11,15}L","5038#{11,15}L","5893#{11,15}L","6304#{11,15}L","6759#{11,15}L","676[1-3]#{11,15}L"],Fme=["5[1-5]##-####-####-###L","2[221-720]-####-####-###L"],Cme=["4###########L","4###-####-####-###L"],wme={american_express:mme,diners_club:vme,discover:gme,jcb:yme,maestro:bme,mastercard:Fme,visa:Cme},Eme=wme,Sme=[{name:"UAE Dirham",code:"AED",symbol:""},{name:"Afghani",code:"AFN",symbol:"؋"},{name:"Lek",code:"ALL",symbol:"Lek"},{name:"Armenian Dram",code:"AMD",symbol:""},{name:"Netherlands Antillian Guilder",code:"ANG",symbol:"ƒ"},{name:"Kwanza",code:"AOA",symbol:""},{name:"Argentine Peso",code:"ARS",symbol:"$"},{name:"Australian Dollar",code:"AUD",symbol:"$"},{name:"Aruban Guilder",code:"AWG",symbol:"ƒ"},{name:"Azerbaijanian Manat",code:"AZN",symbol:"ман"},{name:"Convertible Marks",code:"BAM",symbol:"KM"},{name:"Barbados Dollar",code:"BBD",symbol:"$"},{name:"Taka",code:"BDT",symbol:""},{name:"Bulgarian Lev",code:"BGN",symbol:"лв"},{name:"Bahraini Dinar",code:"BHD",symbol:""},{name:"Burundi Franc",code:"BIF",symbol:""},{name:"Bermudian Dollar (customarily known as Bermuda Dollar)",code:"BMD",symbol:"$"},{name:"Brunei Dollar",code:"BND",symbol:"$"},{name:"Boliviano boliviano",code:"BOB",symbol:"Bs"},{name:"Brazilian Real",code:"BRL",symbol:"R$"},{name:"Bahamian Dollar",code:"BSD",symbol:"$"},{name:"Pula",code:"BWP",symbol:"P"},{name:"Belarusian Ruble",code:"BYN",symbol:"Rbl"},{name:"Belize Dollar",code:"BZD",symbol:"BZ$"},{name:"Canadian Dollar",code:"CAD",symbol:"$"},{name:"Congolese Franc",code:"CDF",symbol:""},{name:"Swiss Franc",code:"CHF",symbol:"CHF"},{name:"Chilean Peso",code:"CLP",symbol:"$"},{name:"Yuan Renminbi",code:"CNY",symbol:"¥"},{name:"Colombian Peso",code:"COP",symbol:"$"},{name:"Costa Rican Colon",code:"CRC",symbol:"₡"},{name:"Cuban Peso",code:"CUP",symbol:"₱"},{name:"Cape Verde Escudo",code:"CVE",symbol:""},{name:"Czech Koruna",code:"CZK",symbol:"Kč"},{name:"Djibouti Franc",code:"DJF",symbol:""},{name:"Danish Krone",code:"DKK",symbol:"kr"},{name:"Dominican Peso",code:"DOP",symbol:"RD$"},{name:"Algerian Dinar",code:"DZD",symbol:""},{name:"Egyptian Pound",code:"EGP",symbol:"£"},{name:"Nakfa",code:"ERN",symbol:""},{name:"Ethiopian Birr",code:"ETB",symbol:""},{name:"Euro",code:"EUR",symbol:"€"},{name:"Fiji Dollar",code:"FJD",symbol:"$"},{name:"Falkland Islands Pound",code:"FKP",symbol:"£"},{name:"Pound Sterling",code:"GBP",symbol:"£"},{name:"Lari",code:"GEL",symbol:""},{name:"Cedi",code:"GHS",symbol:""},{name:"Gibraltar Pound",code:"GIP",symbol:"£"},{name:"Dalasi",code:"GMD",symbol:""},{name:"Guinea Franc",code:"GNF",symbol:""},{name:"Quetzal",code:"GTQ",symbol:"Q"},{name:"Guyana Dollar",code:"GYD",symbol:"$"},{name:"Hong Kong Dollar",code:"HKD",symbol:"$"},{name:"Lempira",code:"HNL",symbol:"L"},{name:"Gourde",code:"HTG",symbol:""},{name:"Forint",code:"HUF",symbol:"Ft"},{name:"Rupiah",code:"IDR",symbol:"Rp"},{name:"New Israeli Sheqel",code:"ILS",symbol:"₪"},{name:"Bhutanese Ngultrum",code:"BTN",symbol:"Nu"},{name:"Indian Rupee",code:"INR",symbol:"₹"},{name:"Iraqi Dinar",code:"IQD",symbol:""},{name:"Iranian Rial",code:"IRR",symbol:"﷼"},{name:"Iceland Krona",code:"ISK",symbol:"kr"},{name:"Jamaican Dollar",code:"JMD",symbol:"J$"},{name:"Jordanian Dinar",code:"JOD",symbol:""},{name:"Yen",code:"JPY",symbol:"¥"},{name:"Kenyan Shilling",code:"KES",symbol:""},{name:"Som",code:"KGS",symbol:"лв"},{name:"Riel",code:"KHR",symbol:"៛"},{name:"Comoro Franc",code:"KMF",symbol:""},{name:"North Korean Won",code:"KPW",symbol:"₩"},{name:"Won",code:"KRW",symbol:"₩"},{name:"Kuwaiti Dinar",code:"KWD",symbol:""},{name:"Cayman Islands Dollar",code:"KYD",symbol:"$"},{name:"Tenge",code:"KZT",symbol:"лв"},{name:"Kip",code:"LAK",symbol:"₭"},{name:"Lebanese Pound",code:"LBP",symbol:"£"},{name:"Sri Lanka Rupee",code:"LKR",symbol:"₨"},{name:"Liberian Dollar",code:"LRD",symbol:"$"},{name:"Libyan Dinar",code:"LYD",symbol:""},{name:"Moroccan Dirham",code:"MAD",symbol:""},{name:"Moldovan Leu",code:"MDL",symbol:""},{name:"Malagasy Ariary",code:"MGA",symbol:""},{name:"Denar",code:"MKD",symbol:"ден"},{name:"Kyat",code:"MMK",symbol:""},{name:"Tugrik",code:"MNT",symbol:"₮"},{name:"Pataca",code:"MOP",symbol:""},{name:"Ouguiya",code:"MRU",symbol:""},{name:"Mauritius Rupee",code:"MUR",symbol:"₨"},{name:"Rufiyaa",code:"MVR",symbol:""},{name:"Kwacha",code:"MWK",symbol:""},{name:"Mexican Peso",code:"MXN",symbol:"$"},{name:"Malaysian Ringgit",code:"MYR",symbol:"RM"},{name:"Metical",code:"MZN",symbol:"MT"},{name:"Naira",code:"NGN",symbol:"₦"},{name:"Cordoba Oro",code:"NIO",symbol:"C$"},{name:"Norwegian Krone",code:"NOK",symbol:"kr"},{name:"Nepalese Rupee",code:"NPR",symbol:"₨"},{name:"New Zealand Dollar",code:"NZD",symbol:"$"},{name:"Rial Omani",code:"OMR",symbol:"﷼"},{name:"Balboa",code:"PAB",symbol:"B/."},{name:"Nuevo Sol",code:"PEN",symbol:"S/."},{name:"Kina",code:"PGK",symbol:""},{name:"Philippine Peso",code:"PHP",symbol:"Php"},{name:"Pakistan Rupee",code:"PKR",symbol:"₨"},{name:"Zloty",code:"PLN",symbol:"zł"},{name:"Guarani",code:"PYG",symbol:"Gs"},{name:"Qatari Rial",code:"QAR",symbol:"﷼"},{name:"New Leu",code:"RON",symbol:"lei"},{name:"Serbian Dinar",code:"RSD",symbol:"Дин."},{name:"Russian Ruble",code:"RUB",symbol:"руб"},{name:"Rwanda Franc",code:"RWF",symbol:""},{name:"Saudi Riyal",code:"SAR",symbol:"﷼"},{name:"Solomon Islands Dollar",code:"SBD",symbol:"$"},{name:"Seychelles Rupee",code:"SCR",symbol:"₨"},{name:"Sudanese Pound",code:"SDG",symbol:""},{name:"Swedish Krona",code:"SEK",symbol:"kr"},{name:"Singapore Dollar",code:"SGD",symbol:"$"},{name:"Saint Helena Pound",code:"SHP",symbol:"£"},{name:"Leone",code:"SLE",symbol:""},{name:"Somali Shilling",code:"SOS",symbol:"S"},{name:"Surinam Dollar",code:"SRD",symbol:"$"},{name:"South Sudanese pound",code:"SSP",symbol:""},{name:"Dobra",code:"STN",symbol:"Db"},{name:"Syrian Pound",code:"SYP",symbol:"£"},{name:"Lilangeni",code:"SZL",symbol:""},{name:"Baht",code:"THB",symbol:"฿"},{name:"Somoni",code:"TJS",symbol:""},{name:"Manat",code:"TMT",symbol:""},{name:"Tunisian Dinar",code:"TND",symbol:""},{name:"Pa'anga",code:"TOP",symbol:""},{name:"Turkish Lira",code:"TRY",symbol:"₺"},{name:"Trinidad and Tobago Dollar",code:"TTD",symbol:"TT$"},{name:"New Taiwan Dollar",code:"TWD",symbol:"NT$"},{name:"Tanzanian Shilling",code:"TZS",symbol:""},{name:"Hryvnia",code:"UAH",symbol:"₴"},{name:"Uganda Shilling",code:"UGX",symbol:""},{name:"US Dollar",code:"USD",symbol:"$"},{name:"Peso Uruguayo",code:"UYU",symbol:"$U"},{name:"Uzbekistan Sum",code:"UZS",symbol:"лв"},{name:"Venezuelan bolívar",code:"VES",symbol:"Bs"},{name:"Dong",code:"VND",symbol:"₫"},{name:"Vatu",code:"VUV",symbol:""},{name:"Tala",code:"WST",symbol:""},{name:"CFA Franc BEAC",code:"XAF",symbol:""},{name:"East Caribbean Dollar",code:"XCD",symbol:"$"},{name:"CFA Franc BCEAO",code:"XOF",symbol:""},{name:"CFP Franc",code:"XPF",symbol:""},{name:"Yemeni Rial",code:"YER",symbol:"﷼"},{name:"Rand",code:"ZAR",symbol:"R"},{name:"Lesotho Loti",code:"LSL",symbol:""},{name:"Namibia Dollar",code:"NAD",symbol:"N$"},{name:"Zambian Kwacha",code:"ZMW",symbol:"K"},{name:"Zimbabwe Dollar",code:"ZWL",symbol:""}],Dme=["deposit","withdrawal","payment","invoice"],_me={account_type:hme,credit_card:Eme,currency:Sme,transaction_type:Dme},kme=_me,Ame=["auxiliary","primary","back-end","digital","open-source","virtual","cross-platform","redundant","online","haptic","multi-byte","bluetooth","wireless","1080p","neural","optical","solid state","mobile"],xme=["backing up","bypassing","hacking","overriding","compressing","copying","navigating","indexing","connecting","generating","quantifying","calculating","synthesizing","transmitting","programming","parsing"],Tme=["driver","protocol","bandwidth","panel","microchip","program","port","card","array","interface","system","sensor","firewall","hard drive","pixel","alarm","feed","monitor","application","transmitter","bus","circuit","capacitor","matrix"],Mme=["If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!","We need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","Try to {{verb}} the {{abbreviation}} {{noun}}, maybe it will {{verb}} the {{adjective}} {{noun}}!","You can't {{verb}} the {{noun}} without {{ingverb}} the {{adjective}} {{abbreviation}} {{noun}}!","Use the {{adjective}} {{abbreviation}} {{noun}}, then you can {{verb}} the {{adjective}} {{noun}}!","The {{abbreviation}} {{noun}} is down, {{verb}} the {{adjective}} {{noun}} so we can {{verb}} the {{abbreviation}} {{noun}}!","{{ingverb}} the {{noun}} won't do anything, we need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","I'll {{verb}} the {{adjective}} {{abbreviation}} {{noun}}, that should {{noun}} the {{abbreviation}} {{noun}}!"],Bme=["back up","bypass","hack","override","compress","copy","navigate","index","connect","generate","quantify","calculate","synthesize","input","transmit","program","reboot","parse"],Lme={adjective:Ame,ingverb:xme,noun:Tme,phrase:Mme,verb:Bme},Ome=Lme,Rme=["com","biz","info","name","net","org"],Pme=["example.org","example.com","example.net"],Ime=["gmail.com","yahoo.com","hotmail.com"],Nme={domain_suffix:Rme,example_email:Pme,free_email:Ime},$me=Nme,Vme=["#####","####","###"],Hme=["Abilene","Akron","Alafaya","Alameda","Albany","Albuquerque","Alexandria","Alhambra","Aliso Viejo","Allen","Allentown","Aloha","Alpharetta","Altadena","Altamonte Springs","Altoona","Amarillo","Ames","Anaheim","Anchorage","Anderson","Ankeny","Ann Arbor","Annandale","Antelope","Antioch","Apex","Apopka","Apple Valley","Appleton","Arcadia","Arden-Arcade","Arecibo","Arlington","Arlington Heights","Arvada","Ashburn","Asheville","Aspen Hill","Atascocita","Athens-Clarke County","Atlanta","Attleboro","Auburn","Augusta-Richmond County","Aurora","Austin","Avondale","Azusa","Bakersfield","Baldwin Park","Baltimore","Barnstable Town","Bartlett","Baton Rouge","Battle Creek","Bayamon","Bayonne","Baytown","Beaumont","Beavercreek","Beaverton","Bedford","Bel Air South","Bell Gardens","Belleville","Bellevue","Bellflower","Bellingham","Bend","Bentonville","Berkeley","Berwyn","Bethesda","Bethlehem","Billings","Biloxi","Binghamton","Birmingham","Bismarck","Blacksburg","Blaine","Bloomington","Blue Springs","Boca Raton","Boise City","Bolingbrook","Bonita Springs","Bossier City","Boston","Bothell","Boulder","Bountiful","Bowie","Bowling Green","Boynton Beach","Bozeman","Bradenton","Brandon","Brentwood","Bridgeport","Bristol","Brockton","Broken Arrow","Brookhaven","Brookline","Brooklyn Park","Broomfield","Brownsville","Bryan","Buckeye","Buena Park","Buffalo","Buffalo Grove","Burbank","Burien","Burke","Burleson","Burlington","Burnsville","Caguas","Caldwell","Camarillo","Cambridge","Camden","Canton","Cape Coral","Carlsbad","Carmel","Carmichael","Carolina","Carrollton","Carson","Carson City","Cary","Casa Grande","Casas Adobes","Casper","Castle Rock","Castro Valley","Catalina Foothills","Cathedral City","Catonsville","Cedar Hill","Cedar Park","Cedar Rapids","Centennial","Centreville","Ceres","Cerritos","Champaign","Chandler","Chapel Hill","Charleston","Charlotte","Charlottesville","Chattanooga","Cheektowaga","Chesapeake","Chesterfield","Cheyenne","Chicago","Chico","Chicopee","Chino","Chino Hills","Chula Vista","Cicero","Cincinnati","Citrus Heights","Clarksville","Clearwater","Cleveland","Cleveland Heights","Clifton","Clovis","Coachella","Coconut Creek","Coeur d'Alene","College Station","Collierville","Colorado Springs","Colton","Columbia","Columbus","Commerce City","Compton","Concord","Conroe","Conway","Coon Rapids","Coral Gables","Coral Springs","Corona","Corpus Christi","Corvallis","Costa Mesa","Council Bluffs","Country Club","Covina","Cranston","Cupertino","Cutler Bay","Cuyahoga Falls","Cypress","Dale City","Dallas","Daly City","Danbury","Danville","Davenport","Davie","Davis","Dayton","Daytona Beach","DeKalb","DeSoto","Dearborn","Dearborn Heights","Decatur","Deerfield Beach","Delano","Delray Beach","Deltona","Denton","Denver","Des Moines","Des Plaines","Detroit","Diamond Bar","Doral","Dothan","Downers Grove","Downey","Draper","Dublin","Dubuque","Duluth","Dundalk","Dunwoody","Durham","Eagan","East Hartford","East Honolulu","East Lansing","East Los Angeles","East Orange","East Providence","Eastvale","Eau Claire","Eden Prairie","Edina","Edinburg","Edmond","El Cajon","El Centro","El Dorado Hills","El Monte","El Paso","Elgin","Elizabeth","Elk Grove","Elkhart","Ellicott City","Elmhurst","Elyria","Encinitas","Enid","Enterprise","Erie","Escondido","Euclid","Eugene","Euless","Evanston","Evansville","Everett","Fairfield","Fall River","Fargo","Farmington","Farmington Hills","Fayetteville","Federal Way","Findlay","Fishers","Flagstaff","Flint","Florence-Graham","Florin","Florissant","Flower Mound","Folsom","Fond du Lac","Fontana","Fort Collins","Fort Lauderdale","Fort Myers","Fort Pierce","Fort Smith","Fort Wayne","Fort Worth","Fountain Valley","Fountainebleau","Framingham","Franklin","Frederick","Freeport","Fremont","Fresno","Frisco","Fullerton","Gainesville","Gaithersburg","Galveston","Garden Grove","Gardena","Garland","Gary","Gastonia","Georgetown","Germantown","Gilbert","Gilroy","Glen Burnie","Glendale","Glendora","Glenview","Goodyear","Grand Forks","Grand Island","Grand Junction","Grand Prairie","Grand Rapids","Grapevine","Great Falls","Greeley","Green Bay","Greensboro","Greenville","Greenwood","Gresham","Guaynabo","Gulfport","Hacienda Heights","Hackensack","Haltom City","Hamilton","Hammond","Hampton","Hanford","Harlingen","Harrisburg","Harrisonburg","Hartford","Hattiesburg","Haverhill","Hawthorne","Hayward","Hemet","Hempstead","Henderson","Hendersonville","Hesperia","Hialeah","Hicksville","High Point","Highland","Highlands Ranch","Hillsboro","Hilo","Hoboken","Hoffman Estates","Hollywood","Homestead","Honolulu","Hoover","Houston","Huntersville","Huntington","Huntington Beach","Huntington Park","Huntsville","Hutchinson","Idaho Falls","Independence","Indianapolis","Indio","Inglewood","Iowa City","Irondequoit","Irvine","Irving","Jackson","Jacksonville","Janesville","Jefferson City","Jeffersonville","Jersey City","Johns Creek","Johnson City","Joliet","Jonesboro","Joplin","Jupiter","Jurupa Valley","Kalamazoo","Kannapolis","Kansas City","Kearny","Keller","Kendale Lakes","Kendall","Kenner","Kennewick","Kenosha","Kent","Kentwood","Kettering","Killeen","Kingsport","Kirkland","Kissimmee","Knoxville","Kokomo","La Crosse","La Habra","La Mesa","La Mirada","Lacey","Lafayette","Laguna Niguel","Lake Charles","Lake Elsinore","Lake Forest","Lake Havasu City","Lake Ridge","Lakeland","Lakeville","Lakewood","Lancaster","Lansing","Laredo","Largo","Las Cruces","Las Vegas","Lauderhill","Lawrence","Lawton","Layton","League City","Lee's Summit","Leesburg","Lehi","Lehigh Acres","Lenexa","Levittown","Lewisville","Lexington-Fayette","Lincoln","Linden","Little Rock","Littleton","Livermore","Livonia","Lodi","Logan","Lombard","Lompoc","Long Beach","Longmont","Longview","Lorain","Los Angeles","Louisville/Jefferson County","Loveland","Lowell","Lubbock","Lynchburg","Lynn","Lynwood","Macon-Bibb County","Madera","Madison","Malden","Manchester","Manhattan","Mansfield","Manteca","Maple Grove","Margate","Maricopa","Marietta","Marysville","Mayaguez","McAllen","McKinney","McLean","Medford","Melbourne","Memphis","Menifee","Mentor","Merced","Meriden","Meridian","Mesa","Mesquite","Metairie","Methuen Town","Miami","Miami Beach","Miami Gardens","Middletown","Midland","Midwest City","Milford","Millcreek","Milpitas","Milwaukee","Minneapolis","Minnetonka","Minot","Miramar","Mishawaka","Mission","Mission Viejo","Missoula","Missouri City","Mobile","Modesto","Moline","Monroe","Montebello","Monterey Park","Montgomery","Moore","Moreno Valley","Morgan Hill","Mount Pleasant","Mount Prospect","Mount Vernon","Mountain View","Muncie","Murfreesboro","Murray","Murrieta","Nampa","Napa","Naperville","Nashua","Nashville-Davidson","National City","New Bedford","New Braunfels","New Britain","New Brunswick","New Haven","New Orleans","New Rochelle","New York","Newark","Newport Beach","Newport News","Newton","Niagara Falls","Noblesville","Norfolk","Normal","Norman","North Bethesda","North Charleston","North Highlands","North Las Vegas","North Lauderdale","North Little Rock","North Miami","North Miami Beach","North Port","North Richland Hills","Norwalk","Novato","Novi","O'Fallon","Oak Lawn","Oak Park","Oakland","Oakland Park","Ocala","Oceanside","Odessa","Ogden","Oklahoma City","Olathe","Olympia","Omaha","Ontario","Orange","Orem","Orland Park","Orlando","Oro Valley","Oshkosh","Overland Park","Owensboro","Oxnard","Palatine","Palm Bay","Palm Beach Gardens","Palm Coast","Palm Desert","Palm Harbor","Palm Springs","Palmdale","Palo Alto","Paradise","Paramount","Parker","Parma","Pasadena","Pasco","Passaic","Paterson","Pawtucket","Peabody","Pearl City","Pearland","Pembroke Pines","Pensacola","Peoria","Perris","Perth Amboy","Petaluma","Pflugerville","Pharr","Philadelphia","Phoenix","Pico Rivera","Pine Bluff","Pine Hills","Pinellas Park","Pittsburg","Pittsburgh","Pittsfield","Placentia","Plainfield","Plano","Plantation","Pleasanton","Plymouth","Pocatello","Poinciana","Pomona","Pompano Beach","Ponce","Pontiac","Port Arthur","Port Charlotte","Port Orange","Port St. Lucie","Portage","Porterville","Portland","Portsmouth","Potomac","Poway","Providence","Provo","Pueblo","Quincy","Racine","Raleigh","Rancho Cordova","Rancho Cucamonga","Rancho Palos Verdes","Rancho Santa Margarita","Rapid City","Reading","Redding","Redlands","Redmond","Redondo Beach","Redwood City","Reno","Renton","Reston","Revere","Rialto","Richardson","Richland","Richmond","Rio Rancho","Riverside","Riverton","Riverview","Roanoke","Rochester","Rochester Hills","Rock Hill","Rockford","Rocklin","Rockville","Rockwall","Rocky Mount","Rogers","Rohnert Park","Rosemead","Roseville","Roswell","Round Rock","Rowland Heights","Rowlett","Royal Oak","Sacramento","Saginaw","Salem","Salina","Salinas","Salt Lake City","Sammamish","San Angelo","San Antonio","San Bernardino","San Bruno","San Buenaventura (Ventura)","San Clemente","San Diego","San Francisco","San Jacinto","San Jose","San Juan","San Leandro","San Luis Obispo","San Marcos","San Mateo","San Rafael","San Ramon","San Tan Valley","Sandy","Sandy Springs","Sanford","Santa Ana","Santa Barbara","Santa Clara","Santa Clarita","Santa Cruz","Santa Fe","Santa Maria","Santa Monica","Santa Rosa","Santee","Sarasota","Savannah","Sayreville","Schaumburg","Schenectady","Scottsdale","Scranton","Seattle","Severn","Shawnee","Sheboygan","Shoreline","Shreveport","Sierra Vista","Silver Spring","Simi Valley","Sioux City","Sioux Falls","Skokie","Smyrna","Somerville","South Bend","South Gate","South Hill","South Jordan","South San Francisco","South Valley","South Whittier","Southaven","Southfield","Sparks","Spokane","Spokane Valley","Spring","Spring Hill","Spring Valley","Springdale","Springfield","St. Charles","St. Clair Shores","St. Cloud","St. George","St. Joseph","St. Louis","St. Louis Park","St. Paul","St. Peters","St. Petersburg","Stamford","State College","Sterling Heights","Stillwater","Stockton","Stratford","Strongsville","Suffolk","Sugar Land","Summerville","Sunnyvale","Sunrise","Sunrise Manor","Surprise","Syracuse","Tacoma","Tallahassee","Tamarac","Tamiami","Tampa","Taunton","Taylor","Taylorsville","Temecula","Tempe","Temple","Terre Haute","Texas City","The Hammocks","The Villages","The Woodlands","Thornton","Thousand Oaks","Tigard","Tinley Park","Titusville","Toledo","Toms River","Tonawanda","Topeka","Torrance","Town 'n' Country","Towson","Tracy","Trenton","Troy","Trujillo Alto","Tuckahoe","Tucson","Tulare","Tulsa","Turlock","Tuscaloosa","Tustin","Twin Falls","Tyler","Union City","University","Upland","Urbana","Urbandale","Utica","Vacaville","Valdosta","Vallejo","Vancouver","Victoria","Victorville","Vineland","Virginia Beach","Visalia","Vista","Waco","Waipahu","Waldorf","Walnut Creek","Waltham","Warner Robins","Warren","Warwick","Washington","Waterbury","Waterloo","Watsonville","Waukegan","Waukesha","Wauwatosa","Wellington","Wesley Chapel","West Allis","West Babylon","West Covina","West Des Moines","West Hartford","West Haven","West Jordan","West Lafayette","West New York","West Palm Beach","West Sacramento","West Seneca","West Valley City","Westfield","Westland","Westminster","Weston","Weymouth Town","Wheaton","White Plains","Whittier","Wichita","Wichita Falls","Wilmington","Wilson","Winston-Salem","Woodbury","Woodland","Worcester","Wylie","Wyoming","Yakima","Yonkers","Yorba Linda","York","Youngstown","Yuba City","Yucaipa","Yuma"],zme=["{{location.city_prefix}} {{person.first_name}}{{location.city_suffix}}","{{location.city_prefix}} {{person.first_name}}","{{person.first_name}}{{location.city_suffix}}","{{person.last_name}}{{location.city_suffix}}","{{location.city_name}}"],Wme=["North","East","West","South","New","Lake","Port","Fort"],Gme=["town","ton","land","ville","berg","burgh","boro","borough","bury","view","port","mouth","stad","stead","furt","chester","cester","fort","field","haven","side","shire","worth"],jme=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory (Chagos Archipelago)","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curacao","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Faroe Islands","Falkland Islands (Malvinas)","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Democratic People's Republic of Korea","Republic of Korea","Kuwait","Kyrgyz Republic","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","North Macedonia","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Barthelemy","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard & Jan Mayen Islands","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],Kme=["Adams County","Calhoun County","Carroll County","Clark County","Clay County","Crawford County","Douglas County","Fayette County","Franklin County","Grant County","Greene County","Hamilton County","Hancock County","Henry County","Jackson County","Jefferson County","Johnson County","Lake County","Lawrence County","Lee County","Lincoln County","Logan County","Madison County","Marion County","Marshall County","Monroe County","Montgomery County","Morgan County","Perry County","Pike County","Polk County","Scott County","Union County","Warren County","Washington County","Wayne County","Avon","Bedfordshire","Berkshire","Borders","Buckinghamshire","Cambridgeshire","Central","Cheshire","Cleveland","Clwyd","Cornwall","County Antrim","County Armagh","County Down","County Fermanagh","County Londonderry","County Tyrone","Cumbria","Derbyshire","Devon","Dorset","Dumfries and Galloway","Durham","Dyfed","East Sussex","Essex","Fife","Gloucestershire","Grampian","Greater Manchester","Gwent","Gwynedd County","Hampshire","Herefordshire","Hertfordshire","Highlands and Islands","Humberside","Isle of Wight","Kent","Lancashire","Leicestershire","Lincolnshire","Lothian","Merseyside","Mid Glamorgan","Norfolk","North Yorkshire","Northamptonshire","Northumberland","Nottinghamshire","Oxfordshire","Powys","Rutland","Shropshire","Somerset","South Glamorgan","South Yorkshire","Staffordshire","Strathclyde","Suffolk","Surrey","Tayside","Tyne and Wear","Warwickshire","West Glamorgan","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire"],Ume=["United States of America"],qme=["North","East","South","West","Northeast","Northwest","Southeast","Southwest"],Yme=["N","E","S","W","NE","NW","SE","SW"],Jme=["#####","#####-####"],Xme=["Apt. ###","Suite ###"],Zme=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Qme=["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],e1e={normal:"{{location.buildingNumber}} {{location.street}}",full:"{{location.buildingNumber}} {{location.street}} {{location.secondaryAddress}}"},t1e=["10th Street","11th Street","12th Street","13th Street","14th Street","15th Street","16th Street","1st Avenue","1st Street","2nd Avenue","2nd Street","3rd Avenue","3rd Street","4th Avenue","4th Street","5th Avenue","5th Street","6th Avenue","6th Street","7th Avenue","7th Street","8th Avenue","8th Street","9th Street","A Street","Abbey Road","Adams Avenue","Adams Street","Airport Road","Albany Road","Albert Road","Albion Street","Alexandra Road","Alfred Street","Alma Street","Ash Close","Ash Grove","Ash Road","Ash Street","Aspen Close","Atlantic Avenue","Avenue Road","Back Lane","Baker Street","Balmoral Road","Barn Close","Barton Road","Bath Road","Bath Street","Bay Street","Beach Road","Bedford Road","Beech Close","Beech Drive","Beech Grove","Beech Road","Beechwood Avenue","Bell Lane","Belmont Road","Birch Avenue","Birch Close","Birch Grove","Birch Road","Blind Lane","Bluebell Close","Boundary Road","Bramble Close","Bramley Close","Bridge Road","Bridge Street","Broad Lane","Broad Street","Broadway","Broadway Avenue","Broadway Street","Brook Lane","Brook Road","Brook Street","Brookside","Buckingham Road","Cambridge Street","Canal Street","Castle Close","Castle Lane","Castle Road","Castle Street","Cavendish Road","Cedar Avenue","Cedar Close","Cedar Grove","Cedar Road","Cedar Street","Cemetery Road","Center Avenue","Center Road","Center Street","Central Avenue","Central Street","Chapel Close","Chapel Hill","Chapel Road","Chapel Street","Charles Street","Cherry Close","Cherry Street","Cherry Tree Close","Chester Road","Chestnut Close","Chestnut Drive","Chestnut Grove","Chestnut Street","Church Avenue","Church Close","Church Hill","Church Lane","Church Path","Church Road","Church Street","Church View","Church Walk","Claremont Road","Clarence Road","Clarence Street","Clarendon Road","Clark Street","Clay Lane","Cleveland Street","Cliff Road","Clifton Road","Clinton Street","College Avenue","College Street","Columbia Avenue","Commerce Street","Commercial Road","Commercial Street","Common Lane","Coronation Avenue","Coronation Road","County Line Road","County Road","Court Street","Cow Lane","Crescent Road","Cromwell Road","Cross Lane","Cross Street","Crown Street","Cumberland Street","Dale Street","Dark Lane","Davis Street","Depot Street","Derby Road","Derwent Close","Devonshire Road","Division Street","Douglas Road","Duke Street","E 10th Street","E 11th Street","E 12th Street","E 14th Street","E 1st Street","E 2nd Street","E 3rd Street","E 4th Avenue","E 4th Street","E 5th Street","E 6th Avenue","E 6th Street","E 7th Street","E 8th Street","E 9th Street","E Bridge Street","E Broad Street","E Broadway","E Broadway Street","E Cedar Street","E Center Street","E Central Avenue","E Church Street","E Elm Street","E Franklin Street","E Front Street","E Grand Avenue","E High Street","E Jackson Street","E Jefferson Street","E Main","E Main Street","E Maple Street","E Market Street","E North Street","E Oak Street","E Park Avenue","E Pine Street","E River Road","E South Street","E State Street","E Union Street","E Walnut Street","E Washington Avenue","E Washington Street","E Water Street","East Avenue","East Road","East Street","Edward Street","Elm Close","Elm Grove","Elm Road","Elm Street","Euclid Avenue","Fairfield Road","Farm Close","Ferry Road","Field Close","Field Lane","First Avenue","First Street","Fore Street","Forest Avenue","Forest Road","Fourth Avenue","Franklin Avenue","Franklin Road","Franklin Street","Front Street","Frontage Road","Garden Close","Garden Street","George Street","Gladstone Road","Glebe Close","Gloucester Road","Gordon Road","Gordon Street","Grand Avenue","Grange Avenue","Grange Close","Grange Road","Grant Street","Green Close","Green Lane","Green Street","Greenville Road","Greenway","Greenwood Road","Grove Lane","Grove Road","Grove Street","Hall Lane","Hall Street","Harrison Avenue","Harrison Street","Hawthorn Avenue","Hawthorn Close","Hazel Close","Hazel Grove","Heath Road","Heather Close","Henry Street","Heron Close","Hickory Street","High Road","High Street","Highfield Avenue","Highfield Close","Highfield Road","Highland Avenue","Hill Road","Hill Street","Hillside","Hillside Avenue","Hillside Close","Hillside Road","Holly Close","Honeysuckle Close","Howard Road","Howard Street","Jackson Avenue","Jackson Street","James Street","Jefferson Avenue","Jefferson Street","Johnson Street","Jubilee Close","Juniper Close","Kent Road","Kestrel Close","King Street","King's Road","Kingfisher Close","Kings Highway","Kingsway","Laburnum Grove","Lafayette Street","Lake Avenue","Lake Drive","Lake Road","Lake Street","Lancaster Road","Lansdowne Road","Larch Close","Laurel Close","Lawrence Street","Lee Street","Liberty Street","Lime Grove","Lincoln Avenue","Lincoln Highway","Lincoln Road","Lincoln Street","Locust Street","Lodge Close","Lodge Lane","London Road","Long Lane","Low Road","Madison Avenue","Madison Street","Main","Main Avenue","Main Road","Main Street","Main Street E","Main Street N","Main Street S","Main Street W","Manchester Road","Manor Close","Manor Drive","Manor Gardens","Manor Road","Manor Way","Maple Avenue","Maple Close","Maple Drive","Maple Road","Maple Street","Market Place","Market Square","Market Street","Marlborough Road","Marsh Lane","Martin Luther King Boulevard","Martin Luther King Drive","Martin Luther King Jr Boulevard","Mary Street","Mayfield Road","Meadow Close","Meadow Drive","Meadow Lane","Meadow View","Meadow Way","Memorial Drive","Middle Street","Mill Close","Mill Lane","Mill Road","Mill Street","Milton Road","Milton Street","Monroe Street","Moor Lane","Moss Lane","Mount Pleasant","Mount Street","Mulberry Street","N 1st Street","N 2nd Street","N 3rd Street","N 4th Street","N 5th Street","N 6th Street","N 7th Street","N 8th Street","N 9th Street","N Bridge Street","N Broad Street","N Broadway","N Broadway Street","N Cedar Street","N Center Street","N Central Avenue","N Chestnut Street","N Church Street","N College Street","N Court Street","N Division Street","N East Street","N Elm Street","N Franklin Street","N Front Street","N Harrison Street","N High Street","N Jackson Street","N Jefferson Street","N Lincoln Street","N Locust Street","N Main","N Main Avenue","N Main Street","N Maple Street","N Market Street","N Monroe Street","N Oak Street","N Park Street","N Pearl Street","N Pine Street","N Poplar Street","N Railroad Street","N State Street","N Union Street","N Walnut Street","N Washington Avenue","N Washington Street","N Water Street","Nelson Road","Nelson Street","New Lane","New Road","New Street","Newton Road","Nightingale Close","Norfolk Road","North Avenue","North Lane","North Road","North Street","Northfield Road","Oak Avenue","Oak Drive","Oak Lane","Oak Road","Oak Street","Oakfield Road","Oaklands","Old Lane","Old Military Road","Old Road","Old State Road","Orchard Drive","Orchard Lane","Orchard Road","Orchard Street","Oxford Road","Oxford Street","Park Avenue","Park Crescent","Park Drive","Park Lane","Park Place","Park Road","Park Street","Park View","Parkside","Pearl Street","Pennsylvania Avenue","Pine Close","Pine Grove","Pine Street","Pinfold Lane","Pleasant Street","Poplar Avenue","Poplar Close","Poplar Road","Poplar Street","Post Road","Pound Lane","Princes Street","Princess Street","Priory Close","Priory Road","Prospect Avenue","Prospect Place","Prospect Road","Prospect Street","Quarry Lane","Quarry Road","Queen's Road","Railroad Avenue","Railroad Street","Railway Street","Rectory Close","Rectory Lane","Richmond Close","Richmond Road","Ridge Road","River Road","River Street","Riverside","Riverside Avenue","Riverside Drive","Roman Road","Roman Way","Rowan Close","Russell Street","S 10th Street","S 14th Street","S 1st Avenue","S 1st Street","S 2nd Street","S 3rd Street","S 4th Street","S 5th Street","S 6th Street","S 7th Street","S 8th Street","S 9th Street","S Bridge Street","S Broad Street","S Broadway","S Broadway Street","S Center Street","S Central Avenue","S Chestnut Street","S Church Street","S College Street","S Division Street","S East Street","S Elm Street","S Franklin Street","S Front Street","S Grand Avenue","S High Street","S Jackson Street","S Jefferson Street","S Lincoln Street","S Main","S Main Avenue","S Main Street","S Maple Street","S Market Street","S Mill Street","S Monroe Street","S Oak Street","S Park Street","S Pine Street","S Railroad Street","S State Street","S Union Street","S Walnut Street","S Washington Avenue","S Washington Street","S Water Street","S West Street","Salisbury Road","Sandringham Road","Sandy Lane","School Close","School Lane","School Road","School Street","Second Avenue","Silver Street","Skyline Drive","Smith Street","Somerset Road","South Avenue","South Drive","South Road","South Street","South View","Spring Gardens","Spring Street","Springfield Close","Springfield Road","Spruce Street","St Andrew's Road","St Andrews Close","St George's Road","St John's Road","St Mary's Close","St Mary's Road","Stanley Road","Stanley Street","State Avenue","State Line Road","State Road","State Street","Station Road","Station Street","Stoney Lane","Sycamore Avenue","Sycamore Close","Sycamore Drive","Sycamore Street","Talbot Road","Tennyson Road","The Avenue","The Beeches","The Causeway","The Chase","The Coppice","The Copse","The Crescent","The Croft","The Dell","The Drive","The Fairway","The Glebe","The Grange","The Green","The Grove","The Hawthorns","The Lane","The Laurels","The Limes","The Maltings","The Meadows","The Mews","The Mount","The Oaks","The Orchard","The Oval","The Paddock","The Paddocks","The Poplars","The Ridgeway","The Ridings","The Rise","The Sidings","The Spinney","The Square","The Willows","The Woodlands","Third Avenue","Third Street","Tower Road","Trinity Road","Tudor Close","Union Avenue","Union Street","University Avenue","University Drive","Valley Road","Veterans Memorial Drive","Veterans Memorial Highway","Vicarage Close","Vicarage Lane","Vicarage Road","Victoria Place","Victoria Road","Victoria Street","Vine Street","W 10th Street","W 11th Street","W 12th Street","W 14th Street","W 1st Street","W 2nd Street","W 3rd Street","W 4th Avenue","W 4th Street","W 5th Street","W 6th Avenue","W 6th Street","W 7th Street","W 8th Street","W 9th Street","W Bridge Street","W Broad Street","W Broadway","W Broadway Avenue","W Broadway Street","W Center Street","W Central Avenue","W Chestnut Street","W Church Street","W Division Street","W Elm Street","W Franklin Street","W Front Street","W Grand Avenue","W High Street","W Jackson Street","W Jefferson Street","W Lake Street","W Main","W Main Street","W Maple Street","W Market Street","W Monroe Street","W North Street","W Oak Street","W Park Street","W Pine Street","W River Road","W South Street","W State Street","W Union Street","W Walnut Street","W Washington Avenue","W Washington Street","Walnut Close","Walnut Street","Warren Close","Warren Road","Washington Avenue","Washington Boulevard","Washington Road","Washington Street","Water Lane","Water Street","Waterloo Road","Waterside","Watery Lane","Waverley Road","Well Lane","Wellington Road","Wellington Street","West Avenue","West End","West Lane","West Road","West Street","West View","Western Avenue","Western Road","Westfield Road","Westgate","William Street","Willow Close","Willow Drive","Willow Grove","Willow Road","Willow Street","Windermere Road","Windmill Close","Windmill Lane","Windsor Avenue","Windsor Close","Windsor Drive","Wood Lane","Wood Street","Woodland Close","Woodland Road","Woodlands","Woodlands Avenue","Woodlands Close","Woodlands Road","Woodside","Woodside Road","Wren Close","Yew Tree Close","York Road","York Street"],n1e=["{{person.first_name}} {{location.street_suffix}}","{{person.last_name}} {{location.street_suffix}}","{{location.street_name}}"],r1e=["Alley","Avenue","Branch","Bridge","Brook","Brooks","Burg","Burgs","Bypass","Camp","Canyon","Cape","Causeway","Center","Centers","Circle","Circles","Cliff","Cliffs","Club","Common","Corner","Corners","Course","Court","Courts","Cove","Coves","Creek","Crescent","Crest","Crossing","Crossroad","Curve","Dale","Dam","Divide","Drive","Drives","Estate","Estates","Expressway","Extension","Extensions","Fall","Falls","Ferry","Field","Fields","Flat","Flats","Ford","Fords","Forest","Forge","Forges","Fork","Forks","Fort","Freeway","Garden","Gardens","Gateway","Glen","Glens","Green","Greens","Grove","Groves","Harbor","Harbors","Haven","Heights","Highway","Hill","Hills","Hollow","Inlet","Island","Islands","Isle","Junction","Junctions","Key","Keys","Knoll","Knolls","Lake","Lakes","Land","Landing","Lane","Light","Lights","Loaf","Lock","Locks","Lodge","Loop","Mall","Manor","Manors","Meadow","Meadows","Mews","Mill","Mills","Mission","Motorway","Mount","Mountain","Mountains","Neck","Orchard","Oval","Overpass","Park","Parks","Parkway","Parkways","Pass","Passage","Path","Pike","Pine","Pines","Place","Plain","Plains","Plaza","Point","Points","Port","Ports","Prairie","Radial","Ramp","Ranch","Rapid","Rapids","Rest","Ridge","Ridges","River","Road","Roads","Route","Row","Rue","Run","Shoal","Shoals","Shore","Shores","Skyway","Spring","Springs","Spur","Spurs","Square","Squares","Station","Stravenue","Stream","Street","Streets","Summit","Terrace","Throughway","Trace","Track","Trafficway","Trail","Tunnel","Turnpike","Underpass","Union","Unions","Valley","Valleys","Via","Viaduct","View","Views","Village","Villages","Ville","Vista","Walk","Walks","Wall","Way","Ways","Well","Wells"],a1e={building_number:Vme,city_name:Hme,city_pattern:zme,city_prefix:Wme,city_suffix:Gme,country:jme,county:Kme,default_country:Ume,direction:qme,direction_abbr:Yme,postcode:Jme,secondary_address:Xme,state:Zme,state_abbr:Qme,street_address:e1e,street_name:t1e,street_pattern:n1e,street_suffix:r1e},i1e=a1e,o1e=["a","ab","abbas","abduco","abeo","abscido","absconditus","absens","absorbeo","absque","abstergo","absum","abundans","abutor","accedo","accendo","acceptus","accommodo","accusamus","accusantium","accusator","acer","acerbitas","acervus","acidus","acies","acquiro","acsi","ad","adamo","adaugeo","addo","adduco","ademptio","adeo","adeptio","adfectus","adfero","adficio","adflicto","adhaero","adhuc","adicio","adimpleo","adinventitias","adipisci","adipiscor","adiuvo","administratio","admiratio","admitto","admoneo","admoveo","adnuo","adopto","adsidue","adstringo","adsuesco","adsum","adulatio","adulescens","aduro","advenio","adversus","advoco","aedificium","aeger","aegre","aegrotatio","aegrus","aeneus","aequitas","aequus","aer","aestas","aestivus","aestus","aetas","aeternus","ager","aggero","aggredior","agnitio","agnosco","ago","ait","aiunt","alias","alienus","alii","alioqui","aliqua","aliquam","aliquid","alius","allatus","alo","alter","altus","alveus","amaritudo","ambitus","ambulo","amet","amicitia","amiculum","amissio","amita","amitto","amo","amor","amoveo","amplexus","amplitudo","amplus","ancilla","angelus","angulus","angustus","animadverto","animi","animus","annus","anser","ante","antea","antepono","antiquus","aperiam","aperio","aperte","apostolus","apparatus","appello","appono","appositus","approbo","apto","aptus","apud","aqua","ara","aranea","arbitro","arbor","arbustum","arca","arceo","arcesso","architecto","arcus","argentum","argumentum","arguo","arma","armarium","aro","ars","articulus","artificiose","arto","arx","ascisco","ascit","asper","asperiores","aspernatur","aspicio","asporto","assentator","assumenda","astrum","at","atavus","ater","atque","atqui","atrocitas","atrox","attero","attollo","attonbitus","auctor","auctus","audacia","audax","audentia","audeo","audio","auditor","aufero","aureus","aurum","aut","autem","autus","auxilium","avaritia","avarus","aveho","averto","baiulus","balbus","barba","bardus","basium","beatae","beatus","bellicus","bellum","bene","beneficium","benevolentia","benigne","bestia","bibo","bis","blandior","blanditiis","bonus","bos","brevis","cado","caecus","caelestis","caelum","calamitas","calcar","calco","calculus","callide","campana","candidus","canis","canonicus","canto","capillus","capio","capitulus","capto","caput","carbo","carcer","careo","caries","cariosus","caritas","carmen","carpo","carus","casso","caste","casus","catena","caterva","cattus","cauda","causa","caute","caveo","cavus","cedo","celebrer","celer","celo","cena","cenaculum","ceno","censura","centum","cerno","cernuus","certe","certus","cervus","cetera","charisma","chirographum","cibo","cibus","cicuta","cilicium","cimentarius","ciminatio","cinis","circumvenio","cito","civis","civitas","clam","clamo","claro","clarus","claudeo","claustrum","clementia","clibanus","coadunatio","coaegresco","coepi","coerceo","cogito","cognatus","cognomen","cogo","cohaero","cohibeo","cohors","colligo","collum","colo","color","coma","combibo","comburo","comedo","comes","cometes","comis","comitatus","commemoro","comminor","commodi","commodo","communis","comparo","compello","complectus","compono","comprehendo","comptus","conatus","concedo","concido","conculco","condico","conduco","confero","confido","conforto","confugo","congregatio","conicio","coniecto","conitor","coniuratio","conor","conqueror","conscendo","consectetur","consequatur","consequuntur","conservo","considero","conspergo","constans","consuasor","contabesco","contego","contigo","contra","conturbo","conventus","convoco","copia","copiose","cornu","corona","corporis","corpus","correptius","corrigo","corroboro","corrumpo","corrupti","coruscus","cotidie","crapula","cras","crastinus","creator","creber","crebro","credo","creo","creptio","crepusculum","cresco","creta","cribro","crinis","cruciamentum","crudelis","cruentus","crur","crustulum","crux","cubicularis","cubitum","cubo","cui","cuius","culpa","culpo","cultellus","cultura","cum","cumque","cunabula","cunae","cunctatio","cupiditas","cupiditate","cupio","cuppedia","cupressus","cur","cura","curatio","curia","curiositas","curis","curo","curriculum","currus","cursim","curso","cursus","curto","curtus","curvo","custodia","damnatio","damno","dapifer","debeo","debilito","debitis","decens","decerno","decet","decimus","decipio","decor","decretum","decumbo","dedecor","dedico","deduco","defaeco","defendo","defero","defessus","defetiscor","deficio","defleo","defluo","defungo","degenero","degero","degusto","deinde","delectatio","delectus","delego","deleniti","deleo","delibero","delicate","delinquo","deludo","demens","demergo","demitto","demo","demonstro","demoror","demulceo","demum","denego","denique","dens","denuncio","denuo","deorsum","depereo","depono","depopulo","deporto","depraedor","deprecator","deprimo","depromo","depulso","deputo","derelinquo","derideo","deripio","deserunt","desidero","desino","desipio","desolo","desparatus","despecto","dicta","dignissimos","distinctio","dolor","dolore","dolorem","doloremque","dolores","doloribus","dolorum","ducimus","ea","eaque","earum","eius","eligendi","enim","eos","error","esse","est","et","eum","eveniet","ex","excepturi","exercitationem","expedita","explicabo","facere","facilis","fuga","fugiat","fugit","harum","hic","id","illo","illum","impedit","in","incidunt","infit","inflammatio","inventore","ipsa","ipsam","ipsum","iste","itaque","iure","iusto","labore","laboriosam","laborum","laudantium","libero","magnam","magni","maiores","maxime","minima","minus","modi","molestiae","molestias","mollitia","nam","natus","necessitatibus","nemo","neque","nesciunt","nihil","nisi","nobis","non","nostrum","nulla","numquam","occaecati","ocer","odio","odit","officia","officiis","omnis","optio","paens","pariatur","patior","patria","patrocinor","patruus","pauci","paulatim","pauper","pax","peccatus","pecco","pecto","pectus","pecus","peior","pel","perferendis","perspiciatis","placeat","porro","possimus","praesentium","provident","quae","quaerat","quam","quas","quasi","qui","quia","quibusdam","quidem","quis","quisquam","quo","quod","quos","ratione","recusandae","reiciendis","rem","repellat","repellendus","reprehenderit","repudiandae","rerum","saepe","sapiente","sed","sequi","similique","sint","sit","socius","sodalitas","sol","soleo","solio","solitudo","solium","sollers","sollicito","solum","solus","soluta","solutio","solvo","somniculosus","somnus","sonitus","sono","sophismata","sopor","sordeo","sortitus","spargo","speciosus","spectaculum","speculum","sperno","spero","spes","spiculum","spiritus","spoliatio","sponte","stabilis","statim","statua","stella","stillicidium","stipes","stips","sto","strenuus","strues","studio","stultus","suadeo","suasoria","sub","subito","subiungo","sublime","subnecto","subseco","substantia","subvenio","succedo","succurro","sufficio","suffoco","suffragium","suggero","sui","sulum","sum","summa","summisse","summopere","sumo","sumptus","sunt","supellex","super","suppellex","supplanto","suppono","supra","surculus","surgo","sursum","suscipio","suscipit","suspendo","sustineo","suus","synagoga","tabella","tabernus","tabesco","tabgo","tabula","taceo","tactus","taedium","talio","talis","talus","tam","tamdiu","tamen","tametsi","tamisium","tamquam","tandem","tantillus","tantum","tardus","tego","temeritas","temperantia","templum","tempora","tempore","temporibus","temptatio","tempus","tenax","tendo","teneo","tener","tenetur","tenuis","tenus","tepesco","tepidus","ter","terebro","teres","terga","tergeo","tergiversatio","tergo","tergum","termes","terminatio","tero","terra","terreo","territo","terror","tersus","tertius","testimonium","texo","textilis","textor","textus","thalassinus","theatrum","theca","thema","theologus","thermae","thesaurus","thesis","thorax","thymbra","thymum","tibi","timidus","timor","titulus","tolero","tollo","tondeo","tonsor","torqueo","torrens","tot","totam","totidem","toties","totus","tracto","trado","traho","trans","tredecim","tremo","trepide","tres","tribuo","tricesimus","triduana","tripudio","tristis","triumphus","trucido","truculenter","tubineus","tui","tum","tumultus","tunc","turba","turbo","turpis","tutamen","tutis","tyrannus","uberrime","ubi","ulciscor","ullam","ullus","ulterius","ultio","ultra","umbra","umerus","umquam","una","unde","undique","universe","unus","urbanus","urbs","uredo","usitas","usque","ustilo","ustulo","usus","ut","uter","uterque","utilis","utique","utor","utpote","utrimque","utroque","utrum","uxor","vaco","vacuus","vado","vae","valde","valens","valeo","valetudo","validus","vallum","vapulus","varietas","varius","vehemens","vel","velit","velociter","velum","velut","venia","veniam","venio","ventito","ventosus","ventus","venustas","ver","verbera","verbum","vere","verecundia","vereor","vergo","veritas","veritatis","vero","versus","verto","verumtamen","verus","vesco","vesica","vesper","vespillo","vester","vestigium","vestrum","vetus","via","vicinus","vicissitudo","victoria","victus","videlicet","video","viduo","vigilo","vigor","vilicus","vilis","vilitas","villa","vinco","vinculum","vindico","vinitor","vinum","vir","virga","virgo","viridis","viriliter","virtus","vis","viscus","vita","vitae","vitiosus","vitium","vito","vivo","vix","vobis","vociferor","voco","volaticus","volo","volubilis","voluntarius","volup","voluptas","voluptate","voluptatem","voluptates","voluptatibus","voluptatum","volutabrum","volva","vomer","vomica","vomito","vorago","vorax","voro","vos","votum","voveo","vox","vulariter","vulgaris","vulgivagus","vulgo","vulgus","vulnero","vulnus","vulpes","vulticulus","xiphias"],s1e={words:o1e},l1e=s1e,u1e={title:"English",code:"en",language:"en",endonym:"English",dir:"ltr",script:"Latn"},c1e=u1e,d1e=["Rock","Metal","Pop","Electronic","Folk","World","Country","Jazz","Funk","Soul","Hip Hop","Classical","Latin","Reggae","Stage And Screen","Blues","Non Music","Rap"],f1e=["White Christmas","Hey Jude","Every Breath You Take","Mack the Knife","Rock Around the Clock","I Want to Hold Your Hand","(I Can't Get No) Satisfaction","The Twist","(Everything I Do) I Do it For You","Bridge Over Troubled Water","When Doves Cry","Call Me","Bette Davis Eyes","I Will Always Love You","Over the Rainbow","American Pie","Flashdance. What a Feeling","The Way We Were","I Heard it Through the Grapevine","You've Lost That Lovin' Feelin'","Nothing Compares 2 U","Endless Love","Yeah!","Let's Get it On","That's What Friends Are For","You Light Up My Life","(Sittin' On) the Dock of the Bay","Joy to the World","Heartbreak Hotel","Theme From 'A Summer Place'","Aquarius/Let The Sunshine In","I Will Survive","It's Too Late","Respect","Sugar Sugar","Stayin' Alive","Maggie May","My Heart Will Go On","Eye of the Tiger","End of the Road","Another One Bites the Dust","Billie Jean","Let's Stay Together","Battle of New Orleans","Oh","Hound Dog","I Love Rock 'n' Roll","Smooth","Good Vibrations","Physical","Light My Fire","Low","Hey Ya!","Let it Be","Don't Be Cruel","Hotel California","We Belong Together","Le Freak","Raindrops Keep Falling On My Head","How High the Moon","My Girl","I Can't Stop Loving You","Killing Me Softly With His Song","Mona Lisa","In the Mood","She Loves You","The Letter","Mister Sandman","Careless Whisper","What's Love Got to Do With It?","I'm a Believer","Wooly Bully","Theme From 'Shaft'","Hot Stuff","Centerfold","Honky Tonk Woman","I'll Be There","Gangsta's Paradise","Yesterday","My Sharona","Tennessee Waltz","Reach Out (I'll Be There)","California Dreamin'","Jailhouse Rock","Irreplaceable","Dancing in the Street","Rolling In The Deep","Tie a Yellow Ribbon 'round the Old Oak Tree","Stand By Me","Sentimental Journey","The First Time Ever I Saw Your Face","Louie Louie","Another Brick in the Wall (part 2)","(Just Like) Starting Over","Night Fever","To Sir","You're So Vain","Be My Baby","Celebration","(They Long to Be) Close to You","Begin the Beguine","I Still Haven't Found What I'm Looking For","I Want You Back","Arthur's Theme (Best That You Can Do)","Boulevard of Broken Dreams","With Or Without You","Tonight's the Night (Gonna Be Alright)","Are You Lonesome Tonight?","Upside Down","Dancing Queen","Sweet Child O' Mine","Where Did Our Love Go","Unchained Melody","Rudolph","Take My Breath Away","I'll Make Love to You","Love Will Keep Us Together","When a Man Loves a Woman","Walk Like an Egyptian","Crazy in Love","Strangers in the Night","You Belong to Me","In Da Club","Say You","We Are the World","Johnny B Goode","Love Theme From 'A Star is Born' (Evergreen)","Shadow Dancing","Superstition","Beat It","Night & Day","Waterfalls","House of the Rising Sun","Paper Doll","Downtown","I Can't Help Myself (Sugar Pie","Kiss From a Rose","Believe","Ballad of the Green Berets","Proud Mary","Too Young","Umbrella","Swanee","Need You Tonight","Like a Rolling Stone","Lady","One Sweet Day","Lean On Me","Tik-Toc","Monday Monday","What'd I Say","How You Remind Me","Silly Love Songs","My Guy","Macarena","Goodnight","Just My Imagination (Running Away With Me)","The Sounds of Silence","Imagine","Me & Bobby McGee","Near You","What's Going On?","Suspicious Minds","Ode To Billie Joe","Wind Beneath My Wings","The Boy is Mine","Mr Tambourine Man","Faith","Green Onions","Mrs Robinson","How Deep is Your Love?","Hey There","Heart of Glass","Pennies From Heaven","Like a Virgin","Midnight Train to Georgia","Help!","Tossing & Turning","The Sign","Born to Be Wild","Layla","I Just Wanna Be Your Everything","War","96 Tears","I Get Around","Because You Loved Me","Summer in the City","Get Back","Secret Love","9 to 5","(Ghost) Riders in the Sky","The Loco-Motion","Play That Funky Music","Bohemian Rhapsody","Little Things Mean a Lot","Cry","All Shook Up","Up Where We Belong","Sledgehammer","Fire & Rain","Stop! in the Name of Love","Sweet Home Alabama","Another Day in Paradise","Bleeding Love","Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)","Whispering","Vogue","Under the Bridge","Sixteen Tons","Sugar Shack","Baby Love","What a Fool Believes","Lose Yourself","Hello Dolly","Brown Eyed Girl","Without You","Build Me Up Buttercup","We Found Love","Tears in Heaven","Family Affair","All I Wanna Do","Soul Man","Tequila","Rock With You","Livin' La Vida Loca","Best of My Love","Runaway","Alone Again (Naturally)","Can't Help Falling in Love","My Sweet Lord","Runaround Sue","Swinging On a Star","Gold Digger","Happy Together","Losing My Religion","Heart of Gold","Stardust","Will You Love Me Tomorrow","You Are the Sunshine of My Life","You Were Meant for Me","Take On Me","Hollaback Girl","God Bless America","I Swear","Sunshine of Your Love","Firework","Groovin'","Smells Like Teen Spirit","Big Girls Don't Cry","Jack & Diane","Addicted to Love","The Last Dance","Georgia On My Mind","Money For Nothing","Jump","Vaya Con Dios (may God Be With You)","You'll Never Know","That'll Be the Day","Girls Just Wanna Have Fun","Wheel of Fortune","When You Wish Upon a Star","Don't Fence Me In","Turn! Turn! Turn! (To Everything There is a Season)","Volare","Sweet Dreams (Are Made of This)","Whole Lotta Love","You've Got a Friend","Penny Lane","People Got to Be Free","Nature Boy","Sexyback","Crying","Single Ladies (Put A Ring On It)","Bad Girls","Too Close","I Got You Babe","We've Only Just Begun","Sh-Boom (Life Could Be a Dream)","Shining Star","Kansas City","Like a Prayer","Cheek to Cheek","Papa Was a Rolling Stone","Promiscuous","Love Shack","Funkytown","Crazy","Philadelphia Freedom","Temperature","Somebody That I Used to Know","All I Have to Do is Dream","Jessie's Girl","Rhinestone Cowboy","Blue Suede Shoes","Ebony & Ivory","I'll Never Smile Again","Keep On Loving You","Since U Been Gone","The Way You Look Tonight","Crazy Little Thing Called Love","The Great Pretender","Brown Sugar","Que sera sera (Whatever will be will be)","No One","Bad Day","Boom Boom Pow","Party Rock Anthem","Because of You","Chattanooga Choo Choo","A Whiter Shade of Pale","Love Me Tender","Higher Love","Footloose","Blurred Lines","I Just Called to Say I Love You","Come Together","It's Now Or Never","Under the Boardwalk","Don't You Want Me","You Can't Hurry Love","Fame","Fallin'","Poker Face","Bad Romance","Ruby Tuesday","All Night Long (All Night)","Baby Got Back","Whole Lotta Shakin' Goin' On","Frenesi","December 1963 (Oh What a Night)","Bad Moon Rising","Abracadabra","I Gotta Feeling","The Song From Moulin Rouge (Where Is Your Heart)","Waiting For a Girl Like You","Everybody Loves Somebody","I Can't Go For That (No Can Do)","Buttons & Bows","It's All in the Game","Love Train","Dance to the Music","Candle in the Wind '97","Honey","Kiss","I'll Take You There","Paint it Black","Band of Gold","Just the Way You Are","Spirit in the Sky","Vision of Love","Hips don't lie","Till The End of Time","Duke of Earl","YMCA","Oh My Papa (O Mein Papa)","Pistol Packin' Mama","Gonna Make You Sweat (Everybody Dance Now)","Dilemma","I Need You Now","Wanted","Jumpin' Jack Flash","Against All Odds (Take a Look At Me Now)","Tom Dooley","Goodbye Yellow Brick Road","Rhapsody in Blue","Bennie & the Jets","Call Me Maybe","You Really Got Me","God Bless the Child","I'm Sorry","Bad","I Can't Get Next to You","The Power of Love","Dreamlover","Only The Lonely (Know The Way I Feel)","We Are Family","At Last","Brand New Key","I've Heard That Song Before","Stay (I Missed You)","Do Ya Think I'm Sexy?","Tutti Frutti","This Ole House","Please Mr Postman","Good Times","Something","(I've Had) the Time of My Life","I Don't Want to Miss a Thing","Down Hearted Blues","Rag Doll","Blueberry Hill","Ain't No Sunshine","Wild Thing","Blaze of Glory","Ray of Light","The Hustle","Grenade","Cathy's Clown","Minnie the Moocher","Love Is Blue (L'Amour Est Bleu)","Iris","The Boys of Summer","The Tide is High","She Drives Me Crazy","Save the Best For Last","These Boots Are Made For Walking","I Feel Love","A Woman in Love","We Can Work it Out","The Reason","Locked Out Of Heaven","Do That to Me One More Time","That's the Way Love Goes","A Hard Day's Night","I Believe I Can Fly","Karma Chameleon","One O'Clock Jump","Mule Train","Car Wash","Rapture","Creep","Streets of Philadelphia","West End Girls","Leader of the Pack","T For Texas (Blue Yodel No 1)","Mama Told Me Not to Come","Just Dance","Mercy Mercy Me (The Ecology)","Livin' On a Prayer","Good Lovin'","50 Ways to Leave Your Lover","Stronger","I Can See Clearly Now","We Are the Champions","(I've Got a Gal In) Kalamazoo","No Scrubs","How Do You Mend a Broken Heart","I Got You (I Feel Good)","Don't Let the Stars Get in Your Eyes","The Girl From Ipanema","(Sexual) Healing","Tears of a Clown","We Will Rock You","Hold On","Bye Bye Love","Chapel of Love","White Rabbit","Rock the Boat","The Gypsy","Take The 'A' Train","Crimson & Clover","Crocodile Rock","Make Love to Me","Nothing's Gonna Stop Us Now","Say Say Say","The Christmas Song (Chestnuts Roasting On An Open Fire)","Un-Break My Heart","Cherish","I'll Be Missing You","Drops of Jupiter (Tell Me)","There goes my baby","You Send Me","If (They Made Me a King)","The Prisoner's Song","ABC","Do Wah Diddy Diddy","He's So Fine","A Boy Named Sue","Roll Over Beethoven","Sweet Georgia Brown","Earth Angel","Rehab","(You Keep Me) Hangin' On","This Diamond Ring","Be My Love","Rush Rush","You're Beautiful","Roll With It","Moonlight Serenade","Unbelievable","Peg o' My Heart","This Land is Your Land","Stranger On the Shore","Rum & Coca-Cola","Hit the Road","Without Me","Crazy For You","I Want to Know What Love Is","Bye Bye","Down Under","At the Hop","One Bad Apple","Kiss & Say Goodbye","For What It's Worth (Stop","The Long & Winding Road","Baby One More Time","Stairway to Heaven","How Do I Live?","Hello","Truly Madly Deeply","Great Balls of Fire","King of the Road","I Wanna Dance With Somebody (Who Loves Me)","Reunited","Help Me","Rags to Riches","(It's No) Sin","Say My Name","Nobody Does it Better","Paperback Writer","Don't Worry Be Happy","I Fall to Pieces","Body & Soul","You're Still the One","Stormy Weather (Keeps Rainin' All the Time)","Horse With No Name","American Woman","Chattanoogie Shoe-Shine Boy","Pick Up the Pieces","Everybody Wants to Rule the World","Blue Tango","Hurt So Good","Apologize","Let's Dance","(You're My) Soul & Inspiration","I Only Have Eyes For You","Wichita Lineman","Hanging by a Moment","Spinning Wheel","Look Away","Ironic","Don't Stop 'Til You Get Enough","Empire State Of Mind","Do You Love Me?","Jive Talkin'","You're the One That I Want","Sweet Soul Music","Hey There Delilah","A Whole New World (Aladdin's Theme)","Somethin' Stupid","Knock Three Times","Mickey","The Wanderer","Dancing in the Dark","It's Still Rock 'n' Roll to Me","Boogie Oogie Oogie","Can You Feel the Love Tonight","Harper Valley PTA","Seasons in the Sun","Come On-a My House","Viva La Vida","Walk On By","Drop it Like It's Hot","Private Eyes","Maniac","All My Lovin' (You're Never Gonna Get It)","Take a Bow","Ring of Fire","Save the Last Dance For Me","Make it With You","Don't Speak","I Shot the Sheriff","Say It Right","Sing","Twist & Shout","Walk This Way","A-Tisket A-Tasket","Let Me Love You","I Can Dream","Toxic","The Joker","Hero","In the Year 2525 (Exordium & Terminus)","Your Song","Oh Happy Day","Grease","Love In This Club","Angie","How Much is That Doggy in the Window?","Daydream Believer","Whip It","Boogie Woogie Bugle Boy","Down","Hanky Panky","Total Eclipse of the Heart","Cat's in the Cradle","Strange Fruit","Breathe","On My Own","Dizzy","Ticket to Ride","We Got The Beat","On the Atchison","Always On My Mind","Unforgettable","In the End","Music","Can't Buy Me Love","Chain of Fools","Won't Get Fooled Again","Happy Days Are Here Again","Third Man Theme","Your Cheatin' Heart","Thriller","Venus","Time After Time","That Lucky Old Sun (Just Rolls Around Heaven All Day)","E.T.","Three Coins in the Fountain","Touch Me","You Ain't Seen Nothin' Yet","Gives You Hell","Knock On Wood","One of These Nights","Again","Doo Wop (That Thing)","Whoomp! (There it Is)","Magic","I'm Walking Behind You","We Didn't Start the Fire","Lola","Ghostbusters","Winchester Cathedral","Greatest Love of All","My Love","Wannabe","Miss You","I Feel Fine","Baby Baby","TSOP (The Sound of Philadelphia)","Loving You","This Guy's in Love With You","Till I Waltz Again With You","Why Do Fools Fall in Love?","Nights in White Satin","That's the Way (I Like It)","My Prayer","(Put Another Nickel In) Music! Music! Music!","Colors of the Wind","Morning Train (Nine to Five)","I Went to Your Wedding","Kiss Me","Gypsies","Cracklin' Rosie","Maybellene","Born in the USA","Here Without You","Mony Mony","Mmmbop","You Always Hurt the One You Love","Eight Days a Week","What Goes Around Comes Around","Kung Fu Fighting","Fantasy","Sir Duke","Ain't Misbehavin'","Need You Now","Last Train to Clarksville","Yakety Yak","I'll be seeing you","Hard to Say I'm Sorry","It's My Party","Love to Love You Baby","Miss You Much","Born to Run","Instant Karma","The Rose","Purple Rain","One","Groove is in the Heart","Gimme Some Lovin'","Beautiful Day","Escape (The Pina Colada Song)","Use Somebody","Fortunate Son","Afternoon Delight","Love's Theme","Sailing","Cherry Pink & Apple Blossom White","Georgy Girl","How to Save a Life","I Walk the Line","All You Need is Love","U Can't Touch This","All Out of Love","Where is the Love?","Revolution","The Love You Save","Black Or White","This Used to Be My Playground","Living For the City","School's Out","Disturbia","Riders On the Storm","Some Enchanted Evening","Weak","Maneater","More Than Words","Time of the Season","Mrs Brown You've Got a Lovely Daughter","If You Leave Me Now","Can't Get Enough of Your Love","Na Na Hey Hey (Kiss Him Goodbye)","Mr Brightside","Black Velvet","I'm Yours","My Blue Heaven","It Had to Be You","Tha Crossroads","Ac-cent-tchu-ate the Positive","Everyday People","We Are Young","Take Me Home","Smoke! Smoke! Smoke! (That Cigarette)","In the Summertime","The Tracks of My Tears","Fly Robin Fly","Love is a Many Splendoured Thing","Another Night","Long Tall Sally","You Sexy Thing","The Morning After","Get Off of My Cloud","Roses Are Red","Thank You (Falettinme be Mice Elf Again)","Slow Poke","You Belong With Me","Ain't No Mountain High Enough","Auf Wiederseh'n Sweetheart","Beauty & the Beast","St Louis Blues","Peggy Sue","U Got it Bad","Sweet Caroline (Good Times Never Seemed So Good)","Wedding Bell Blues","Freebird","Wipe Out","California Girls","Being With You","Makin' Whoopee","Shop Around","Smoke On the Water","Hungry Heart","That's Amore","My Life","Brandy (You're A Fine Girl)","Walk Don't Run","Surfin' USA","Ball of Confusion (That's What the World is Today)","Sunshine Superman","Frankenstein","Kiss You All Over","Wishing Well","Piano Man","Ben","In the Ghetto","Hang On Sloopy","Singing The Blues","Cry Like a Baby","I Honestly Love You","Brother","Lookin' Out My Back Door","Candy Man","Burn","Stagger Lee","Moonlight Cocktail","Coming Up","Pop Muzik","As Time Goes By","My Eyes Adored You","Strawberry Fields Forever","Some of These Days","I Think I Love You","Judy in Disguise (With Glasses)","All Along the Watchtower","A Thousand Miles","Fast Car","Red Red Wine","Live & Let Die","Come On Eileen","Right Back Where We Started From","Brother Louie","Ol' Man River","Band On the Run","Rich Girl","Green River","Got to Give it Up","Behind Closed Doors","Don't Go Breaking My Heart","I'm Looking Over a Four Leaf Clover","Mr Big Stuff","Tiger Rag","Kryptonite","Hey Paula","Go Your Own Way","Big Bad John","Wake Me Up Before You Go Go","Tangerine","Wayward Wind","Disco Lady","Spanish Harlem","Wicked Game","Rosanna","Papa Don't Preach","Somebody to Love","Kokomo","Manana (Is Soon Enough For Me)","Puttin' on the Ritz","One More Try","I'll Walk Alone","Shout","Woman","Ballerina","We Built This City","19th Nervous Breakdown","Working My Way Back to You","Superstar","Foolish Games","Get Down Tonight","On Bended Knee","Magic Carpet Ride","Only You (And You Alone)","A String of Pearls","A Tree in the Meadow","So Much in Love","Every Little Thing She Does is Magic","La Bamba","Tighten Up","Three Times a Lady","Airplanes","Don't Leave Me This Way","Rock the Casbah","Feel Good Inc","Love Me Do","Kiss On My List","Give Me Everything","Have You Ever Really Loved a Woman?","Love Letters in the Sand","Ring My Bell","Love Child","I Feel For You","Bye","(Let Me Be Your) Teddy Bear","Soldier Boy","Papa's Got a Brand New Bag","Love Hangover","Spill the Wine","Royals","April Showers","Don't You (Forget About Me)","Travellin' Man","The Thing","You Make Me Feel Brand New","The Glow-Worm","You Don't Bring Me Flowers","Summertime Blues","Straight Up","Sunday","Wake Up Little Susie","She's a Lady","Over There","Little Darlin'","Rag Mop","Shake Down","Up Around the Bend","Harbour Lights","Chances Are","Mood Indigo","Pony Time","After You've Gone","I Wanna Love You","Da Doo Ron Ron (When He Walked Me Home)","If You Don't Know Me By Now","Green Tambourine","My Man","If I Didn't Care","St George & the Dragonette","Why Don't You Believe Me?","How Will I Know","Disco Duck","Lonely Boy","Never Gonna Give You Up","Before The Next Teardrop Falls","Running Scared","Let's Hear it For the Boy","Sleep Walk","Walk On the Wild Side","Memories Are Made of This","Open Arms","Stuck On You","Personality","Feel Like Making Love","Stars & Stripes Forever","Besame Mucho","Let Me Call You Sweetheart","Indian Reservation (The Lament Of The Cherokee Reservation Indian)","Cars","You Make Me Feel Like Dancing","Whatcha Say","Me & Mrs Jones","Bitter Sweet Symphony","Uncle Albert (Admiral Halsey)","More Than a Feeling","My Boyfriend's Back","People","He'll Have to Go","I Can Help","The Streak","Dreams","Hair","Cold","Nothin' on You","The End of the World","Caldonia Boogie (What Makes Your Big Head So Hard)","I Kissed A Girl","Incense & Peppermints","12th Street Rag","West End Blues","The Way You Move","Smoke Gets in Your Eyes","Want Ads","Long Cool Woman in a Black Dress","Hey Baby","(Your Love Keeps Lifting Me) Higher & Higher","He's a Rebel","Alone","Thrift Shop","Don't Let the Sun Go Down On Me","The Sweet Escape","Return to Sender","Here in My Heart","Wabash Cannonball","Ain't That a Shame","Travellin' Band","I'm Your Boogie Man","I Write the Songs","This Love","Lights","Will It Go Round In Circles","Purple Haze","Rock Your Baby","Delicado","Tammy","Check On It","Breaking Up is Hard to Do","1999","Prisoner of Love","Wild Wild West","Walk Like a Man","I Will Follow Him","Glamorous","Yellow Rose of Texas","That Old Black Magic","I'm So Lonesome I Could Cry","Up Up & Away","Baby Come Back","Let it Snow! Let it Snow! Let it Snow!","Pon De Replay","Because I Love You (The Postman Song)","Sleepy Lagoon","Baker Street","Dardanella","You Don't Have to Be a Star (To Be in My Show)","Leaving","Glory of Love","Theme From 'Greatest American Hero' (Believe It Or Not)","Shake You Down","Ole Buttermilk Sky","I Can't Get Started","Freak Me","Hot Child In The City","Man in the Mirror","Queen of Hearts","Let's Groove","Change the World","You make Me Wanna","Someday","Eve of Destruction","One of Us","Honky Tonk","Be Bop a Lula","Two Hearts","Paper Planes"],p1e={genre:d1e,song_name:f1e},h1e=p1e,m1e=["activist","artist","author","blogger","business owner","coach","creator","designer","developer","dreamer","educator","engineer","entrepreneur","environmentalist","film lover","filmmaker","foodie","founder","friend","gamer","geek","grad","inventor","leader","model","musician","nerd","parent","patriot","person","philosopher","photographer","public speaker","scientist","singer","streamer","student","teacher","traveler","veteran","writer"],v1e=["{{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}","{{word.noun}} {{person.bio_supporter}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}} {{internet.emoji}}"],g1e=["advocate","devotee","enthusiast","fan","junkie","lover","supporter"],y1e=["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna","Rebecca","Virginia","Kathleen","Pamela","Martha","Debra","Amanda","Stephanie","Carolyn","Christine","Marie","Janet","Catherine","Frances","Ann","Joyce","Diane","Alice","Julie","Heather","Teresa","Doris","Gloria","Evelyn","Jean","Cheryl","Mildred","Katherine","Joan","Ashley","Judith","Rose","Janice","Kelly","Nicole","Judy","Christina","Kathy","Theresa","Beverly","Denise","Tammy","Irene","Jane","Lori","Rachel","Marilyn","Andrea","Kathryn","Louise","Sara","Anne","Jacqueline","Wanda","Bonnie","Julia","Ruby","Lois","Tina","Phyllis","Norma","Paula","Diana","Annie","Lillian","Emily","Robin","Peggy","Crystal","Gladys","Rita","Dawn","Connie","Florence","Tracy","Edna","Tiffany","Carmen","Rosa","Cindy","Grace","Wendy","Victoria","Edith","Kim","Sherry","Sylvia","Josephine","Thelma","Shannon","Sheila","Ethel","Ellen","Elaine","Marjorie","Carrie","Charlotte","Monica","Esther","Pauline","Emma","Juanita","Anita","Rhonda","Hazel","Amber","Eva","Debbie","April","Leslie","Clara","Lucille","Jamie","Joanne","Eleanor","Valerie","Danielle","Megan","Alicia","Suzanne","Michele","Gail","Bertha","Darlene","Veronica","Jill","Erin","Geraldine","Lauren","Cathy","Joann","Lorraine","Lynn","Sally","Regina","Erica","Beatrice","Dolores","Bernice","Audrey","Yvonne","Annette","June","Samantha","Marion","Dana","Stacy","Ana","Renee","Ida","Vivian","Roberta","Holly","Brittany","Melanie","Loretta","Yolanda","Jeanette","Laurie","Katie","Kristen","Vanessa","Alma","Sue","Elsie","Beth","Jeanne","Vicki","Carla","Tara","Rosemary","Eileen","Terri","Gertrude","Lucy","Tonya","Ella","Stacey","Wilma","Gina","Kristin","Jessie","Natalie","Agnes","Vera","Willie","Charlene","Bessie","Delores","Melinda","Pearl","Arlene","Maureen","Colleen","Allison","Tamara","Joy","Georgia","Constance","Lillie","Claudia","Jackie","Marcia","Tanya","Nellie","Minnie","Marlene","Heidi","Glenda","Lydia","Viola","Courtney","Marian","Stella","Caroline","Dora","Jo","Vickie","Mattie","Terry","Maxine","Irma","Mabel","Marsha","Myrtle","Lena","Christy","Deanna","Patsy","Hilda","Gwendolyn","Jennie","Nora","Margie","Nina","Cassandra","Leah","Penny","Kay","Priscilla","Naomi","Carole","Brandy","Olga","Billie","Dianne","Tracey","Leona","Jenny","Felicia","Sonia","Miriam","Velma","Becky","Bobbie","Violet","Kristina","Toni","Misty","Mae","Shelly","Daisy","Ramona","Sherri","Erika","Katrina","Claire","Lindsey","Lindsay","Geneva","Guadalupe","Belinda","Margarita","Sheryl","Cora","Faye","Ada","Natasha","Sabrina","Isabel","Marguerite","Hattie","Harriet","Molly","Cecilia","Kristi","Brandi","Blanche","Sandy","Rosie","Joanna","Iris","Eunice","Angie","Inez","Lynda","Madeline","Amelia","Alberta","Genevieve","Monique","Jodi","Janie","Maggie","Kayla","Sonya","Jan","Lee","Kristine","Candace","Fannie","Maryann","Opal","Alison","Yvette","Melody","Luz","Susie","Olivia","Flora","Shelley","Kristy","Mamie","Lula","Lola","Verna","Beulah","Antoinette","Candice","Juana","Jeannette","Pam","Kelli","Hannah","Whitney","Bridget","Karla","Celia","Latoya","Patty","Shelia","Gayle","Della","Vicky","Lynne","Sheri","Marianne","Kara","Jacquelyn","Erma","Blanca","Myra","Leticia","Pat","Krista","Roxanne","Angelica","Johnnie","Robyn","Francis","Adrienne","Rosalie","Alexandra","Brooke","Bethany","Sadie","Bernadette","Traci","Jody","Kendra","Jasmine","Nichole","Rachael","Chelsea","Mable","Ernestine","Muriel","Marcella","Elena","Krystal","Angelina","Nadine","Kari","Estelle","Dianna","Paulette","Lora","Mona","Doreen","Rosemarie","Angel","Desiree","Antonia","Hope","Ginger","Janis","Betsy","Christie","Freda","Mercedes","Meredith","Lynette","Teri","Cristina","Eula","Leigh","Meghan","Sophia","Eloise","Rochelle","Gretchen","Cecelia","Raquel","Henrietta","Alyssa","Jana","Kelley","Gwen","Kerry","Jenna","Tricia","Laverne","Olive","Alexis","Tasha","Silvia","Elvira","Casey","Delia","Sophie","Kate","Patti","Lorena","Kellie","Sonja","Lila","Lana","Darla","May","Mindy","Essie","Mandy","Lorene","Elsa","Josefina","Jeannie","Miranda","Dixie","Lucia","Marta","Faith","Lela","Johanna","Shari","Camille","Tami","Shawna","Elisa","Ebony","Melba","Ora","Nettie","Tabitha","Ollie","Jaime","Winifred","Kristie"],b1e=["Abigail","Adele","Alex","Alice","Alisha","Amber","Amelia","Amora","Anaïs","Angelou","Anika","Anise","Annabel","Anne","Aphrodite","Aretha","Arya","Ashton","Aster","Audrey","Avery","Bailee","Bay","Belle","Beth","Billie","Blair","Blaise","Blake","Blanche","Blue","Bree","Brielle","Brienne","Brooke","Caleen","Candice","Caprice","Carelyn","Caylen","Celine","Cerise","Cia","Claire","Claudia","Clementine","Coral","Coraline","Dahlia","Dakota","Dawn","Della","Demi","Denise","Denver","Devine","Devon","Diana","Dylan","Ebony","Eden","Eleanor","Elein","Elizabeth","Ellen","Elodie","Eloise","Ember","Emma","Erin","Eyre","Faith","Farrah","Fawn","Fayre","Fern","France","Francis","Frida","Genisis","Georgia","Grace","Gwen","Harley","Harper","Hazel","Helen","Hippolyta","Holly","Hope","Imani","Iowa","Ireland","Irene","Iris","Isa","Isla","Ivy","Jade","Jane","Jazz","Jean","Jess","Jett","Jo","Joan","Jolie","Jordan","Josie","Journey","Joy","Jules","Julien","Juliet","Juniper","Justice","Kali","Karma","Kat","Kate","Kennedy","Keva","Kylie","Lake","Lane","Lark","Layla","Lee","Leigh","Leona","Lexi","London","Lou","Louise","Love","Luna","Lux","Lynn","Lyric","Maddie","Mae","Marie","Matilda","Maude","Maybel","Meadow","Medusa","Mercy","Michelle","Mirabel","Monroe","Morgan","Nalia","Naomi","Nova","Olive","Paige","Parker","Pax","Pearl","Penelope","Phoenix","Quinn","Rae","Rain","Raven","Ray","Raye","Rebel","Reese","Reeve","Regan","Riley","River","Robin","Rory","Rose","Royal","Ruth","Rylie","Sage","Sam","Saturn","Scout","Serena","Sky","Skylar","Sofia","Sophia","Storm","Sue","Suzanne","Sydney","Taylen","Taylor","Teagan","Tempest","Tenley","Thea","Trinity","Valerie","Venus","Vera","Violet","Willow","Winter","Xena","Zaylee","Zion","Zoe"],aY=["Mrs.","Ms.","Miss","Dr."],F1e=["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aimee","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","D'angelo","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gayle","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"],C1e=["Agender","Androgyne","Androgynous","Bigender","Cis female","Cis male","Cis man","Cis woman","Cis","Cisgender female","Cisgender male","Cisgender man","Cisgender woman","Cisgender","Demi-boy","Demi-girl","Demi-man","Demi-woman","Demiflux","Demigender","F2M","FTM","Female to male trans man","Female to male transgender man","Female to male transsexual man","Female to male","Gender fluid","Gender neutral","Gender nonconforming","Gender questioning","Gender variant","Genderflux","Genderqueer","Hermaphrodite","Intersex man","Intersex person","Intersex woman","Intersex","M2F","MTF","Male to female trans woman","Male to female transgender woman","Male to female transsexual woman","Male to female","Man","Multigender","Neither","Neutrois","Non-binary","Omnigender","Other","Pangender","Polygender","T* man","T* woman","Trans female","Trans male","Trans man","Trans person","Trans woman","Trans","Transexual female","Transexual male","Transexual man","Transexual person","Transexual woman","Transexual","Transgender female","Transgender person","Transmasculine","Trigender","Two* person","Two-spirit person","Two-spirit","Woman","Xenogender"],w1e=["{{person.jobDescriptor}} {{person.jobArea}} {{person.jobType}}"],E1e=["Abbott","Abernathy","Abshire","Adams","Altenwerth","Anderson","Ankunding","Armstrong","Auer","Aufderhar","Bahringer","Bailey","Balistreri","Barrows","Bartell","Bartoletti","Barton","Bashirian","Batz","Bauch","Baumbach","Bayer","Beahan","Beatty","Bechtelar","Becker","Bednar","Beer","Beier","Berge","Bergnaum","Bergstrom","Bernhard","Bernier","Bins","Blanda","Blick","Block","Bode","Boehm","Bogan","Bogisich","Borer","Bosco","Botsford","Boyer","Boyle","Bradtke","Brakus","Braun","Breitenberg","Brekke","Brown","Bruen","Buckridge","Carroll","Carter","Cartwright","Casper","Cassin","Champlin","Christiansen","Cole","Collier","Collins","Conn","Connelly","Conroy","Considine","Corkery","Cormier","Corwin","Cremin","Crist","Crona","Cronin","Crooks","Cruickshank","Cummerata","Cummings","Dach","D'Amore","Daniel","Dare","Daugherty","Davis","Deckow","Denesik","Dibbert","Dickens","Dicki","Dickinson","Dietrich","Donnelly","Dooley","Douglas","Doyle","DuBuque","Durgan","Ebert","Effertz","Emard","Emmerich","Erdman","Ernser","Fadel","Fahey","Farrell","Fay","Feeney","Feest","Feil","Ferry","Fisher","Flatley","Frami","Franecki","Franey","Friesen","Fritsch","Funk","Gerhold","Gerlach","Gibson","Gislason","Gleason","Gleichner","Glover","Goldner","Goodwin","Gorczany","Gottlieb","Goyette","Grady","Graham","Grant","Green","Greenfelder","Greenholt","Grimes","Gulgowski","Gusikowski","Gutkowski","Gutmann","Haag","Hackett","Hagenes","Hahn","Haley","Halvorson","Hamill","Hammes","Hand","Hane","Hansen","Harber","Harris","Hartmann","Harvey","Hauck","Hayes","Heaney","Heathcote","Hegmann","Heidenreich","Heller","Herman","Hermann","Hermiston","Herzog","Hessel","Hettinger","Hickle","Hilll","Hills","Hilpert","Hintz","Hirthe","Hodkiewicz","Hoeger","Homenick","Hoppe","Howe","Howell","Hudson","Huel","Huels","Hyatt","Jacobi","Jacobs","Jacobson","Jakubowski","Jaskolski","Jast","Jenkins","Jerde","Johns","Johnson","Johnston","Jones","Kassulke","Kautzer","Keebler","Keeling","Kemmer","Kerluke","Kertzmann","Kessler","Kiehn","Kihn","Kilback","King","Kirlin","Klein","Kling","Klocko","Koch","Koelpin","Koepp","Kohler","Konopelski","Koss","Kovacek","Kozey","Krajcik","Kreiger","Kris","Kshlerin","Kub","Kuhic","Kuhlman","Kuhn","Kulas","Kunde","Kunze","Kuphal","Kutch","Kuvalis","Labadie","Lakin","Lang","Langosh","Langworth","Larkin","Larson","Leannon","Lebsack","Ledner","Leffler","Legros","Lehner","Lemke","Lesch","Leuschke","Lind","Lindgren","Littel","Little","Lockman","Lowe","Lubowitz","Lueilwitz","Luettgen","Lynch","Macejkovic","MacGyver","Maggio","Mann","Mante","Marks","Marquardt","Marvin","Mayer","Mayert","McClure","McCullough","McDermott","McGlynn","McKenzie","McLaughlin","Medhurst","Mertz","Metz","Miller","Mills","Mitchell","Moen","Mohr","Monahan","Moore","Morar","Morissette","Mosciski","Mraz","Mueller","Muller","Murazik","Murphy","Murray","Nader","Nicolas","Nienow","Nikolaus","Nitzsche","Nolan","Oberbrunner","O'Connell","O'Conner","O'Hara","O'Keefe","O'Kon","Okuneva","Olson","Ondricka","O'Reilly","Orn","Ortiz","Osinski","Pacocha","Padberg","Pagac","Parisian","Parker","Paucek","Pfannerstill","Pfeffer","Pollich","Pouros","Powlowski","Predovic","Price","Prohaska","Prosacco","Purdy","Quigley","Quitzon","Rath","Ratke","Rau","Raynor","Reichel","Reichert","Reilly","Reinger","Rempel","Renner","Reynolds","Rice","Rippin","Ritchie","Robel","Roberts","Rodriguez","Rogahn","Rohan","Rolfson","Romaguera","Roob","Rosenbaum","Rowe","Ruecker","Runolfsdottir","Runolfsson","Runte","Russel","Rutherford","Ryan","Sanford","Satterfield","Sauer","Sawayn","Schaden","Schaefer","Schamberger","Schiller","Schimmel","Schinner","Schmeler","Schmidt","Schmitt","Schneider","Schoen","Schowalter","Schroeder","Schulist","Schultz","Schumm","Schuppe","Schuster","Senger","Shanahan","Shields","Simonis","Sipes","Skiles","Smith","Smitham","Spencer","Spinka","Sporer","Stamm","Stanton","Stark","Stehr","Steuber","Stiedemann","Stokes","Stoltenberg","Stracke","Streich","Stroman","Strosin","Swaniawski","Swift","Terry","Thiel","Thompson","Tillman","Torp","Torphy","Towne","Toy","Trantow","Tremblay","Treutel","Tromp","Turcotte","Turner","Ullrich","Upton","Vandervort","Veum","Volkman","Von","VonRueden","Waelchi","Walker","Walsh","Walter","Ward","Waters","Watsica","Weber","Wehner","Weimann","Weissnat","Welch","West","White","Wiegand","Wilderman","Wilkinson","Will","Williamson","Willms","Windler","Wintheiser","Wisoky","Wisozk","Witting","Wiza","Wolf","Wolff","Wuckert","Wunsch","Wyman","Yost","Yundt","Zboncak","Zemlak","Ziemann","Zieme","Zulauf"],S1e=[{value:"{{person.last_name}}",weight:95},{value:"{{person.last_name}}-{{person.last_name}}",weight:5}],D1e=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric","Stephen","Andrew","Raymond","Gregory","Joshua","Jerry","Dennis","Walter","Patrick","Peter","Harold","Douglas","Henry","Carl","Arthur","Ryan","Roger","Joe","Juan","Jack","Albert","Jonathan","Justin","Terry","Gerald","Keith","Samuel","Willie","Ralph","Lawrence","Nicholas","Roy","Benjamin","Bruce","Brandon","Adam","Harry","Fred","Wayne","Billy","Steve","Louis","Jeremy","Aaron","Randy","Howard","Eugene","Carlos","Russell","Bobby","Victor","Martin","Ernest","Phillip","Todd","Jesse","Craig","Alan","Shawn","Clarence","Sean","Philip","Chris","Johnny","Earl","Jimmy","Antonio","Danny","Bryan","Tony","Luis","Mike","Stanley","Leonard","Nathan","Dale","Manuel","Rodney","Curtis","Norman","Allen","Marvin","Vincent","Glenn","Jeffery","Travis","Jeff","Chad","Jacob","Lee","Melvin","Alfred","Kyle","Francis","Bradley","Jesus","Herbert","Frederick","Ray","Joel","Edwin","Don","Eddie","Ricky","Troy","Randall","Barry","Alexander","Bernard","Mario","Leroy","Francisco","Marcus","Micheal","Theodore","Clifford","Miguel","Oscar","Jay","Jim","Tom","Calvin","Alex","Jon","Ronnie","Bill","Lloyd","Tommy","Leon","Derek","Warren","Darrell","Jerome","Floyd","Leo","Alvin","Tim","Wesley","Gordon","Dean","Greg","Jorge","Dustin","Pedro","Derrick","Dan","Lewis","Zachary","Corey","Herman","Maurice","Vernon","Roberto","Clyde","Glen","Hector","Shane","Ricardo","Sam","Rick","Lester","Brent","Ramon","Charlie","Tyler","Gilbert","Gene","Marc","Reginald","Ruben","Brett","Angel","Nathaniel","Rafael","Leslie","Edgar","Milton","Raul","Ben","Chester","Cecil","Duane","Franklin","Andre","Elmer","Brad","Gabriel","Ron","Mitchell","Roland","Arnold","Harvey","Jared","Adrian","Karl","Cory","Claude","Erik","Darryl","Jamie","Neil","Jessie","Christian","Javier","Fernando","Clinton","Ted","Mathew","Tyrone","Darren","Lonnie","Lance","Cody","Julio","Kelly","Kurt","Allan","Nelson","Guy","Clayton","Hugh","Max","Dwayne","Dwight","Armando","Felix","Jimmie","Everett","Jordan","Ian","Wallace","Ken","Bob","Jaime","Casey","Alfredo","Alberto","Dave","Ivan","Johnnie","Sidney","Byron","Julian","Isaac","Morris","Clifton","Willard","Daryl","Ross","Virgil","Andy","Marshall","Salvador","Perry","Kirk","Sergio","Marion","Tracy","Seth","Kent","Terrance","Rene","Eduardo","Terrence","Enrique","Freddie","Wade","Austin","Stuart","Fredrick","Arturo","Alejandro","Jackie","Joey","Nick","Luther","Wendell","Jeremiah","Evan","Julius","Dana","Donnie","Otis","Shannon","Trevor","Oliver","Luke","Homer","Gerard","Doug","Kenny","Hubert","Angelo","Shaun","Lyle","Matt","Lynn","Alfonso","Orlando","Rex","Carlton","Ernesto","Cameron","Neal","Pablo","Lorenzo","Omar","Wilbur","Blake","Grant","Horace","Roderick","Kerry","Abraham","Willis","Rickey","Jean","Ira","Andres","Cesar","Johnathan","Malcolm","Rudolph","Damon","Kelvin","Rudy","Preston","Alton","Archie","Marco","Wm","Pete","Randolph","Garry","Geoffrey","Jonathon","Felipe","Bennie","Gerardo","Ed","Dominic","Robin","Loren","Delbert","Colin","Guillermo","Earnest","Lucas","Benny","Noel","Spencer","Rodolfo","Myron","Edmund","Garrett","Salvatore","Cedric","Lowell","Gregg","Sherman","Wilson","Devin","Sylvester","Kim","Roosevelt","Israel","Jermaine","Forrest","Wilbert","Leland","Simon","Guadalupe","Clark","Irving","Carroll","Bryant","Owen","Rufus","Woodrow","Sammy","Kristopher","Mack","Levi","Marcos","Gustavo","Jake","Lionel","Marty","Taylor","Ellis","Dallas","Gilberto","Clint","Nicolas","Laurence","Ismael","Orville","Drew","Jody","Ervin","Dewey","Al","Wilfred","Josh","Hugo","Ignacio","Caleb","Tomas","Sheldon","Erick","Frankie","Stewart","Doyle","Darrel","Rogelio","Terence","Santiago","Alonzo","Elias","Bert","Elbert","Ramiro","Conrad","Pat","Noah","Grady","Phil","Cornelius","Lamar","Rolando","Clay","Percy","Dexter","Bradford","Merle","Darin","Amos","Terrell","Moses","Irvin","Saul","Roman","Darnell","Randal","Tommie","Timmy","Darrin","Winston","Brendan","Toby","Van","Abel","Dominick","Boyd","Courtney","Jan","Emilio","Elijah","Cary","Domingo","Santos","Aubrey","Emmett","Marlon","Emanuel","Jerald","Edmond"],_1e=["Ace","Aiden","Alexander","Ander","Anthony","Asher","August","Aziel","Bear","Beckham","Benjamin","Buddy","Calvin","Carter","Charles","Christopher","Clyde","Cooper","Daniel","David","Dior","Dylan","Elijah","Ellis","Emerson","Ethan","Ezra","Fletcher","Flynn","Gabriel","Grayson","Gus","Hank","Harrison","Hendrix","Henry","Houston","Hudson","Hugh","Isaac","Jack","Jackson","Jacob","Jakobe","James","Jaxon","Jaxtyn","Jayden","John","Joseph","Josiah","Jude","Julian","Karsyn","Kenji","Kobe","Kylo","Lennon","Leo","Levi","Liam","Lincoln","Logan","Louis","Lucas","Lucky","Luke","Mason","Mateo","Matthew","Maverick","Michael","Monroe","Nixon","Ocean","Oliver","Otis","Otto","Owen","Ozzy","Parker","Rocky","Samuel","Sebastian","Sonny","Teddy","Theo","Theodore","Thomas","Truett","Walter","Warren","Watson","William","Wison","Wyatt","Ziggy","Zyair"],iY=["Mr.","Dr."],k1e=["Addison","Alex","Anderson","Angel","Arden","August","Austin","Avery","Bailey","Billie","Blake","Bowie","Brooklyn","Cameron","Charlie","Corey","Dakota","Drew","Elliott","Ellis","Emerson","Finley","Gray","Greer","Harper","Hayden","Jaden","James","Jamie","Jordan","Jules","Kai","Kendall","Kennedy","Kyle","Leslie","Logan","London","Marlowe","Micah","Nico","Noah","North","Parker","Phoenix","Quinn","Reagan","Reese","Reign","Riley","River","Robin","Rory","Rowan","Ryan","Sage","Sasha","Sawyer","Shawn","Shiloh","Skyler","Taylor"],A1e=[{value:"{{person.firstName}} {{person.lastName}}",weight:49},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}}",weight:7},{value:"{{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:7},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:1}];function x1e(...e){return[...new Set(e.flat())].sort()}var T1e=x1e(aY,iY),M1e=["female","male"],B1e=["Jr.","Sr.","I","II","III","IV","V","MD","DDS","PhD","DVM"],L1e={descriptor:["Lead","Senior","Direct","Corporate","Dynamic","Future","Product","National","Regional","District","Central","Global","Customer","Investor","International","Legacy","Forward","Internal","Human","Chief","Principal"],level:["Solutions","Program","Brand","Security","Research","Marketing","Directives","Implementation","Integration","Functionality","Response","Paradigm","Tactics","Identity","Markets","Group","Division","Applications","Optimization","Operations","Infrastructure","Intranet","Communications","Web","Branding","Quality","Assurance","Mobility","Accounts","Data","Creative","Configuration","Accountability","Interactions","Factors","Usability","Metrics"],job:["Supervisor","Associate","Executive","Liaison","Officer","Manager","Engineer","Specialist","Director","Coordinator","Administrator","Architect","Analyst","Designer","Planner","Orchestrator","Technician","Developer","Producer","Consultant","Assistant","Facilitator","Agent","Representative","Strategist"]},O1e=["Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn"],R1e={bio_part:m1e,bio_pattern:v1e,bio_supporter:g1e,female_first_name:y1e,female_middle_name:b1e,female_prefix:aY,first_name:F1e,gender:C1e,job_title_pattern:w1e,last_name:E1e,last_name_pattern:S1e,male_first_name:D1e,male_middle_name:_1e,male_prefix:iY,middle_name:k1e,name:A1e,prefix:T1e,sex:M1e,suffix:B1e,title:L1e,western_zodiac_sign:O1e},P1e=R1e,I1e=["!##-!##-####","(!##) !##-####","1-!##-!##-####","!##.!##.####","!##-!##-#### x###","(!##) !##-#### x###","1-!##-!##-#### x###","!##.!##.#### x###","!##-!##-#### x####","(!##) !##-#### x####","1-!##-!##-#### x####","!##.!##.#### x####","!##-!##-#### x#####","(!##) !##-#### x#####","1-!##-!##-#### x#####","!##.!##.#### x#####"],N1e={formats:I1e},$1e=N1e,V1e=Object.freeze([{symbol:"H",name:"Hydrogen",atomicNumber:1},{symbol:"He",name:"Helium",atomicNumber:2},{symbol:"Li",name:"Lithium",atomicNumber:3},{symbol:"Be",name:"Beryllium",atomicNumber:4},{symbol:"B",name:"Boron",atomicNumber:5},{symbol:"C",name:"Carbon",atomicNumber:6},{symbol:"N",name:"Nitrogen",atomicNumber:7},{symbol:"O",name:"Oxygen",atomicNumber:8},{symbol:"F",name:"Fluorine",atomicNumber:9},{symbol:"Ne",name:"Neon",atomicNumber:10},{symbol:"Na",name:"Sodium",atomicNumber:11},{symbol:"Mg",name:"Magnesium",atomicNumber:12},{symbol:"Al",name:"Aluminium",atomicNumber:13},{symbol:"Si",name:"Silicon",atomicNumber:14},{symbol:"P",name:"Phosphorus",atomicNumber:15},{symbol:"S",name:"Sulfur",atomicNumber:16},{symbol:"Cl",name:"Chlorine",atomicNumber:17},{symbol:"Ar",name:"Argon",atomicNumber:18},{symbol:"K",name:"Potassium",atomicNumber:19},{symbol:"Ca",name:"Calcium",atomicNumber:20},{symbol:"Sc",name:"Scandium",atomicNumber:21},{symbol:"Ti",name:"Titanium",atomicNumber:22},{symbol:"V",name:"Vanadium",atomicNumber:23},{symbol:"Cr",name:"Chromium",atomicNumber:24},{symbol:"Mn",name:"Manganese",atomicNumber:25},{symbol:"Fe",name:"Iron",atomicNumber:26},{symbol:"Co",name:"Cobalt",atomicNumber:27},{symbol:"Ni",name:"Nickel",atomicNumber:28},{symbol:"Cu",name:"Copper",atomicNumber:29},{symbol:"Zn",name:"Zinc",atomicNumber:30},{symbol:"Ga",name:"Gallium",atomicNumber:31},{symbol:"Ge",name:"Germanium",atomicNumber:32},{symbol:"As",name:"Arsenic",atomicNumber:33},{symbol:"Se",name:"Selenium",atomicNumber:34},{symbol:"Br",name:"Bromine",atomicNumber:35},{symbol:"Kr",name:"Krypton",atomicNumber:36},{symbol:"Rb",name:"Rubidium",atomicNumber:37},{symbol:"Sr",name:"Strontium",atomicNumber:38},{symbol:"Y",name:"Yttrium",atomicNumber:39},{symbol:"Zr",name:"Zirconium",atomicNumber:40},{symbol:"Nb",name:"Niobium",atomicNumber:41},{symbol:"Mo",name:"Molybdenum",atomicNumber:42},{symbol:"Tc",name:"Technetium",atomicNumber:43},{symbol:"Ru",name:"Ruthenium",atomicNumber:44},{symbol:"Rh",name:"Rhodium",atomicNumber:45},{symbol:"Pd",name:"Palladium",atomicNumber:46},{symbol:"Ag",name:"Silver",atomicNumber:47},{symbol:"Cd",name:"Cadmium",atomicNumber:48},{symbol:"In",name:"Indium",atomicNumber:49},{symbol:"Sn",name:"Tin",atomicNumber:50},{symbol:"Sb",name:"Antimony",atomicNumber:51},{symbol:"Te",name:"Tellurium",atomicNumber:52},{symbol:"I",name:"Iodine",atomicNumber:53},{symbol:"Xe",name:"Xenon",atomicNumber:54},{symbol:"Cs",name:"Caesium",atomicNumber:55},{symbol:"Ba",name:"Barium",atomicNumber:56},{symbol:"La",name:"Lanthanum",atomicNumber:57},{symbol:"Ce",name:"Cerium",atomicNumber:58},{symbol:"Pr",name:"Praseodymium",atomicNumber:59},{symbol:"Nd",name:"Neodymium",atomicNumber:60},{symbol:"Pm",name:"Promethium",atomicNumber:61},{symbol:"Sm",name:"Samarium",atomicNumber:62},{symbol:"Eu",name:"Europium",atomicNumber:63},{symbol:"Gd",name:"Gadolinium",atomicNumber:64},{symbol:"Tb",name:"Terbium",atomicNumber:65},{symbol:"Dy",name:"Dysprosium",atomicNumber:66},{symbol:"Ho",name:"Holmium",atomicNumber:67},{symbol:"Er",name:"Erbium",atomicNumber:68},{symbol:"Tm",name:"Thulium",atomicNumber:69},{symbol:"Yb",name:"Ytterbium",atomicNumber:70},{symbol:"Lu",name:"Lutetium",atomicNumber:71},{symbol:"Hf",name:"Hafnium",atomicNumber:72},{symbol:"Ta",name:"Tantalum",atomicNumber:73},{symbol:"W",name:"Tungsten",atomicNumber:74},{symbol:"Re",name:"Rhenium",atomicNumber:75},{symbol:"Os",name:"Osmium",atomicNumber:76},{symbol:"Ir",name:"Iridium",atomicNumber:77},{symbol:"Pt",name:"Platinum",atomicNumber:78},{symbol:"Au",name:"Gold",atomicNumber:79},{symbol:"Hg",name:"Mercury",atomicNumber:80},{symbol:"Tl",name:"Thallium",atomicNumber:81},{symbol:"Pb",name:"Lead",atomicNumber:82},{symbol:"Bi",name:"Bismuth",atomicNumber:83},{symbol:"Po",name:"Polonium",atomicNumber:84},{symbol:"At",name:"Astatine",atomicNumber:85},{symbol:"Rn",name:"Radon",atomicNumber:86},{symbol:"Fr",name:"Francium",atomicNumber:87},{symbol:"Ra",name:"Radium",atomicNumber:88},{symbol:"Ac",name:"Actinium",atomicNumber:89},{symbol:"Th",name:"Thorium",atomicNumber:90},{symbol:"Pa",name:"Protactinium",atomicNumber:91},{symbol:"U",name:"Uranium",atomicNumber:92},{symbol:"Np",name:"Neptunium",atomicNumber:93},{symbol:"Pu",name:"Plutonium",atomicNumber:94},{symbol:"Am",name:"Americium",atomicNumber:95},{symbol:"Cm",name:"Curium",atomicNumber:96},{symbol:"Bk",name:"Berkelium",atomicNumber:97},{symbol:"Cf",name:"Californium",atomicNumber:98},{symbol:"Es",name:"Einsteinium",atomicNumber:99},{symbol:"Fm",name:"Fermium",atomicNumber:100},{symbol:"Md",name:"Mendelevium",atomicNumber:101},{symbol:"No",name:"Nobelium",atomicNumber:102},{symbol:"Lr",name:"Lawrencium",atomicNumber:103},{symbol:"Rf",name:"Rutherfordium",atomicNumber:104},{symbol:"Db",name:"Dubnium",atomicNumber:105},{symbol:"Sg",name:"Seaborgium",atomicNumber:106},{symbol:"Bh",name:"Bohrium",atomicNumber:107},{symbol:"Hs",name:"Hassium",atomicNumber:108},{symbol:"Mt",name:"Meitnerium",atomicNumber:109},{symbol:"Ds",name:"Darmstadtium",atomicNumber:110},{symbol:"Rg",name:"Roentgenium",atomicNumber:111},{symbol:"Cn",name:"Copernicium",atomicNumber:112},{symbol:"Nh",name:"Nihonium",atomicNumber:113},{symbol:"Fl",name:"Flerovium",atomicNumber:114},{symbol:"Mc",name:"Moscovium",atomicNumber:115},{symbol:"Lv",name:"Livermorium",atomicNumber:116},{symbol:"Ts",name:"Tennessine",atomicNumber:117},{symbol:"Og",name:"Oganesson",atomicNumber:118}]),H1e=Object.freeze([{name:"meter",symbol:"m"},{name:"second",symbol:"s"},{name:"mole",symbol:"mol"},{name:"ampere",symbol:"A"},{name:"kelvin",symbol:"K"},{name:"candela",symbol:"cd"},{name:"kilogram",symbol:"kg"},{name:"radian",symbol:"rad"},{name:"hertz",symbol:"Hz"},{name:"newton",symbol:"N"},{name:"pascal",symbol:"Pa"},{name:"joule",symbol:"J"},{name:"watt",symbol:"W"},{name:"coulomb",symbol:"C"},{name:"volt",symbol:"V"},{name:"ohm",symbol:"Ω"},{name:"tesla",symbol:"T"},{name:"degree Celsius",symbol:"°C"},{name:"lumen",symbol:"lm"},{name:"becquerel",symbol:"Bq"},{name:"gray",symbol:"Gy"},{name:"sievert",symbol:"Sv"},{name:"steradian",symbol:"sr"},{name:"farad",symbol:"F"},{name:"siemens",symbol:"S"},{name:"weber",symbol:"Wb"},{name:"henry",symbol:"H"},{name:"lux",symbol:"lx"},{name:"katal",symbol:"kat"}]),z1e={chemicalElement:V1e,unit:H1e},W1e=z1e,G1e=["ants","bats","bears","bees","birds","buffalo","cats","chickens","cattle","dogs","dolphins","ducks","elephants","fishes","foxes","frogs","geese","goats","horses","kangaroos","lions","monkeys","owls","oxen","penguins","people","pigs","rabbits","sheep","tigers","whales","wolves","zebras","banshees","crows","black cats","chimeras","ghosts","conspirators","dragons","dwarves","elves","enchanters","exorcists","sons","foes","giants","gnomes","goblins","gooses","griffins","lycanthropes","nemesis","ogres","oracles","prophets","sorcerors","spiders","spirits","vampires","warlocks","vixens","werewolves","witches","worshipers","zombies","druids"],j1e=["{{location.state}} {{team.creature}}"],K1e={creature:G1e,name:j1e},U1e=K1e,q1e=["Adventure Road Bicycle","BMX Bicycle","City Bicycle","Cruiser Bicycle","Cyclocross Bicycle","Dual-Sport Bicycle","Fitness Bicycle","Flat-Foot Comfort Bicycle","Folding Bicycle","Hybrid Bicycle","Mountain Bicycle","Recumbent Bicycle","Road Bicycle","Tandem Bicycle","Touring Bicycle","Track/Fixed-Gear Bicycle","Triathlon/Time Trial Bicycle","Tricycle"],Y1e=["Diesel","Electric","Gasoline","Hybrid"],J1e=["Aston Martin","Audi","Bentley","BMW","Bugatti","Cadillac","Chevrolet","Chrysler","Dodge","Ferrari","Fiat","Ford","Honda","Hyundai","Jaguar","Jeep","Kia","Lamborghini","Land Rover","Maserati","Mazda","Mercedes Benz","Mini","Nissan","Polestar","Porsche","Rolls Royce","Smart","Tesla","Toyota","Volkswagen","Volvo"],X1e=["Fiesta","Focus","Taurus","Mustang","Explorer","Expedition","F-150","Model T","Ranchero","Volt","Cruze","Malibu","Impala","Camaro","Corvette","Colorado","Silverado","El Camino","CTS","XTS","ATS","Escalade","Alpine","Charger","LeBaron","PT Cruiser","Challenger","Durango","Grand Caravan","Wrangler","Grand Cherokee","Roadster","Model S","Model 3","Model X","Model Y","Camry","Prius","Land Cruiser","Accord","Civic","Element","Sentra","Altima","A8","A4","Beetle","Jetta","Golf","911","Spyder","Countach","Mercielago","Aventador","1","2","Fortwo","V90","XC90","CX-9"],Z1e=["Cargo Van","Convertible","Coupe","Crew Cab Pickup","Extended Cab Pickup","Hatchback","Minivan","Passenger Van","SUV","Sedan","Wagon"],Q1e={bicycle_type:q1e,fuel:Y1e,manufacturer:J1e,model:X1e,type:Z1e},eve=Q1e,tve=["abandoned","able","absolute","adorable","adventurous","academic","acceptable","acclaimed","accomplished","accurate","aching","acidic","acrobatic","active","actual","adept","admirable","admired","adolescent","adored","advanced","afraid","affectionate","aged","aggravating","aggressive","agile","agitated","agonizing","agreeable","ajar","alarmed","alarming","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","amusing","anchored","ancient","angelic","angry","anguished","animated","annual","another","antique","anxious","any","apprehensive","appropriate","apt","arctic","arid","aromatic","artistic","ashamed","assured","astonishing","athletic","attached","attentive","attractive","austere","authentic","authorized","automatic","avaricious","average","aware","awesome","awful","awkward","babyish","bad","back","baggy","bare","barren","basic","beautiful","belated","beloved","beneficial","better","best","bewitched","big","big-hearted","biodegradable","bite-sized","bitter","black","black-and-white","bland","blank","blaring","bleak","blind","blissful","blond","blue","blushing","bogus","boiling","bold","bony","boring","bossy","both","bouncy","bountiful","bowed","brave","breakable","brief","bright","brilliant","brisk","broken","bronze","brown","bruised","bubbly","bulky","bumpy","buoyant","burdensome","burly","bustling","busy","buttery","buzzing","calculating","calm","candid","canine","capital","carefree","careful","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","cheery","chief","chilly","chubby","circular","classic","clean","clear","clear-cut","clever","close","closed","cloudy","clueless","clumsy","cluttered","coarse","cold","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complex","complicated","composed","concerned","concrete","confused","conscious","considerate","constant","content","conventional","cooked","cool","cooperative","coordinated","corny","corrupt","costly","courageous","courteous","crafty","crazy","creamy","creative","creepy","criminal","crisp","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cultured","cumbersome","curly","curvy","cute","cylindrical","damaged","damp","dangerous","dapper","daring","darling","dark","dazzling","dead","deadly","deafening","dear","dearest","decent","decimal","decisive","deep","defenseless","defensive","defiant","deficient","definite","definitive","delayed","delectable","delicious","delightful","delirious","demanding","dense","dental","dependable","dependent","descriptive","deserted","detailed","determined","devoted","different","difficult","digital","diligent","dim","dimpled","direct","disastrous","discrete","disgusting","disloyal","dismal","distant","downright","dreary","dirty","disguised","dishonest","distinct","distorted","dizzy","doting","double","drab","drafty","dramatic","droopy","dry","dual","dull","dutiful","each","eager","earnest","early","easy","easy-going","ecstatic","edible","educated","elaborate","elastic","elated","elderly","electric","elegant","elementary","elliptical","embarrassed","embellished","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enormous","enraged","entire","envious","equal","equatorial","essential","esteemed","ethical","euphoric","even","evergreen","everlasting","every","evil","exalted","excellent","exemplary","exhausted","excitable","excited","exciting","exotic","expensive","experienced","expert","extraneous","extroverted","extra-large","extra-small","fabulous","failing","faint","fair","faithful","fake","false","familiar","famous","fancy","fantastic","far","faraway","far-flung","far-off","fast","fat","fatal","fatherly","favorable","favorite","fearful","fearless","feisty","feline","female","feminine","few","fickle","filthy","fine","finished","firm","first","firsthand","fitting","fixed","flaky","flamboyant","flashy","flat","flawed","flawless","flickering","flimsy","flippant","flowery","fluffy","fluid","flustered","focused","fond","foolhardy","foolish","forceful","forked","formal","forsaken","forthright","fortunate","fragrant","frail","frank","frayed","free","french","fresh","frequent","friendly","frightened","frightening","frigid","frilly","frizzy","frivolous","front","frosty","frozen","frugal","fruitful","full","fumbling","functional","funny","fussy","fuzzy","gargantuan","gaseous","general","generous","gentle","genuine","giant","giddy","gigantic","gifted","giving","glamorous","glaring","glass","gleaming","gleeful","glistening","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grand","grandiose","granular","grateful","grave","gray","great","greedy","green","gregarious","grim","grimy","gripping","grizzled","grotesque","grouchy","grounded","growing","growling","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","half","handmade","handsome","handy","happy","happy-go-lucky","hard","hard-to-find","harmful","harmless","harmonious","harsh","hasty","hateful","haunting","healthy","heartfelt","hearty","heavenly","heavy","hefty","helpful","helpless","hidden","hideous","high","high-level","hilarious","hoarse","hollow","homely","honest","honorable","honored","hopeful","horrible","hospitable","hot","huge","humble","humiliating","humming","humongous","hungry","hurtful","husky","icky","icy","ideal","idealistic","identical","idle","idolized","ignorant","ill","ill-fated","ill-informed","illiterate","illustrious","imaginary","imaginative","immaculate","immaterial","immediate","immense","impassioned","impeccable","impartial","imperfect","imperturbable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incompatible","incomplete","inconsequential","incredible","indelible","inexperienced","indolent","infamous","infantile","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","insubstantial","intelligent","intent","intentional","interesting","internal","international","intrepid","ironclad","irresponsible","irritating","itchy","jaded","jagged","jam-packed","jaunty","jealous","jittery","joint","jolly","jovial","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","jumpy","juvenile","kaleidoscopic","keen","key","kind","kindhearted","kindly","klutzy","knobby","knotty","knowledgeable","knowing","known","kooky","kosher","lanky","large","last","lasting","late","lavish","lawful","lazy","leading","lean","leafy","left","legal","legitimate","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","loathsome","lone","lonely","long","long-term","loose","lopsided","lost","loud","lovable","lovely","loving","low","loyal","lucky","lumbering","luminous","lumpy","lustrous","luxurious","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","masculine","massive","mature","meager","mealy","mean","measly","meaty","medical","mediocre","medium","meek","mellow","melodic","memorable","menacing","merry","messy","metallic","mild","milky","mindless","miniature","minor","minty","miserable","miserly","misguided","misty","mixed","modern","modest","moist","monstrous","monthly","monumental","moral","mortified","motherly","motionless","mountainous","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","naive","narrow","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","noisy","nonstop","normal","notable","noted","noteworthy","novel","noxious","numb","nutritious","nutty","obedient","oblong","oily","obvious","occasional","odd","oddball","offbeat","offensive","official","old","old-fashioned","only","open","optimal","optimistic","opulent","orange","orderly","organic","ornate","ornery","ordinary","original","other","our","outlying","outgoing","outlandish","outrageous","outstanding","oval","overcooked","overdue","overjoyed","overlooked","palatable","pale","paltry","parallel","parched","partial","passionate","past","pastel","peaceful","peppery","perfect","perfumed","periodic","perky","personal","pertinent","pesky","pessimistic","petty","phony","physical","piercing","pink","pitiful","plain","plaintive","plastic","playful","pleasant","pleased","pleasing","plump","plush","polished","polite","political","pointed","pointless","poised","poor","popular","portly","posh","positive","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","previous","pricey","prickly","primary","prime","pristine","private","prize","probable","productive","profitable","profuse","proper","proud","prudent","punctual","pungent","puny","pure","purple","pushy","putrid","puzzled","puzzling","quaint","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quirky","quixotic","quizzical","radiant","ragged","rapid","rare","rash","raw","recent","reckless","rectangular","ready","real","realistic","reasonable","red","reflecting","regal","regular","reliable","relieved","remarkable","remorseful","remote","repentant","required","respectful","responsible","repulsive","revolving","rewarding","rich","rigid","right","ringed","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","rundown","ruddy","rude","runny","rural","rusty","sad","safe","salty","same","sandy","sane","sarcastic","sardonic","satisfied","scaly","scarce","scared","scary","scented","scholarly","scientific","scornful","scratchy","scrawny","second","secondary","second-hand","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serious","serpentine","several","severe","shabby","shadowy","shady","shallow","shameful","shameless","sharp","shimmering","shiny","shocked","shocking","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silly","silver","similar","simple","simplistic","sinful","single","sizzling","skeletal","skinny","sleepy","slight","slim","slimy","slippery","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","solid","somber","some","spherical","sophisticated","sore","sorrowful","soulful","soupy","sour","spanish","sparkling","sparse","specific","spectacular","speedy","spicy","spiffy","spirited","spiteful","splendid","spotless","spotted","spry","square","squeaky","squiggly","stable","staid","stained","stale","standard","starchy","stark","starry","steep","sticky","stiff","stimulating","stingy","stormy","straight","strange","steel","strict","strident","striking","striped","strong","studious","stunning","stupendous","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","suspicious","svelte","sweaty","sweet","sweltering","swift","sympathetic","tall","talkative","tame","tan","tangible","tart","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","terrific","testy","thankful","that","these","thick","thin","third","thirsty","this","thorough","thorny","those","thoughtful","threadbare","thrifty","thunderous","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","traumatic","treasured","tremendous","tragic","trained","triangular","tricky","trifling","trim","trivial","troubled","true","trusting","trustworthy","trusty","truthful","turbulent","twin","ugly","ultimate","unacceptable","unaware","uncomfortable","uncommon","unconscious","understated","unequaled","uneven","unfinished","unfit","unfolded","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","united","unkempt","unknown","unlawful","unlined","unlucky","unnatural","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwitting","unwritten","upbeat","upright","upset","urban","usable","used","useful","useless","utilized","utter","vacant","vague","vain","valid","valuable","vapid","variable","vast","velvety","venerated","vengeful","verifiable","vibrant","vicious","victorious","vigilant","vigorous","villainous","violet","violent","virtual","virtuous","visible","vital","vivacious","vivid","voluminous","wan","warlike","warm","warmhearted","warped","wary","wasteful","watchful","waterlogged","watery","wavy","wealthy","weak","weary","webbed","wee","weekly","weepy","weighty","weird","welcome","well-documented","well-groomed","well-informed","well-lit","well-made","well-off","well-to-do","well-worn","wet","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","wild","willing","wilted","winding","windy","winged","wiry","wise","witty","wobbly","woeful","wonderful","wooden","woozy","wordy","worldly","worn","worried","worrisome","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yawning","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty","zigzag"],nve=["abnormally","absentmindedly","accidentally","acidly","actually","adventurously","afterwards","almost","always","angrily","annually","anxiously","arrogantly","awkwardly","badly","bashfully","beautifully","bitterly","bleakly","blindly","blissfully","boastfully","boldly","bravely","briefly","brightly","briskly","broadly","busily","calmly","carefully","carelessly","cautiously","certainly","cheerfully","clearly","cleverly","closely","coaxingly","colorfully","commonly","continually","coolly","correctly","courageously","crossly","cruelly","curiously","daily","daintily","dearly","deceivingly","deeply","defiantly","deliberately","delightfully","diligently","dimly","doubtfully","dreamily","easily","elegantly","energetically","enormously","enthusiastically","equally","especially","even","evenly","eventually","exactly","excitedly","extremely","fairly","faithfully","famously","far","fast","fatally","ferociously","fervently","fiercely","fondly","foolishly","fortunately","frankly","frantically","freely","frenetically","frightfully","fully","furiously","generally","generously","gently","gladly","gleefully","gracefully","gratefully","greatly","greedily","happily","hastily","healthily","heavily","helpfully","helplessly","highly","honestly","hopelessly","hourly","hungrily","immediately","innocently","inquisitively","instantly","intensely","intently","interestingly","inwardly","irritably","jaggedly","jealously","joshingly","jovially","joyfully","joyously","jubilantly","judgementally","justly","keenly","kiddingly","kindheartedly","kindly","kissingly","knavishly","knottily","knowingly","knowledgeably","kookily","lazily","less","lightly","likely","limply","lively","loftily","longingly","loosely","loudly","lovingly","loyally","madly","majestically","meaningfully","mechanically","merrily","miserably","mockingly","monthly","more","mortally","mostly","mysteriously","naturally","nearly","neatly","needily","nervously","never","nicely","noisily","not","obediently","obnoxiously","oddly","offensively","officially","often","only","openly","optimistically","overconfidently","owlishly","painfully","partially","patiently","perfectly","physically","playfully","politely","poorly","positively","potentially","powerfully","promptly","properly","punctually","quaintly","quarrelsomely","queasily","questionably","questioningly","quicker","quickly","quietly","quirkily","quizzically","rapidly","rarely","readily","really","reassuringly","recklessly","regularly","reluctantly","repeatedly","reproachfully","restfully","righteously","rightfully","rigidly","roughly","rudely","sadly","safely","scarcely","scarily","searchingly","sedately","seemingly","seldom","selfishly","separately","seriously","shakily","sharply","sheepishly","shrilly","shyly","silently","sleepily","slowly","smoothly","softly","solemnly","solidly","sometimes","soon","speedily","stealthily","sternly","strictly","successfully","suddenly","surprisingly","suspiciously","sweetly","swiftly","sympathetically","tenderly","tensely","terribly","thankfully","thoroughly","thoughtfully","tightly","tomorrow","too","tremendously","triumphantly","truly","truthfully","ultimately","unabashedly","unaccountably","unbearably","unethically","unexpectedly","unfortunately","unimpressively","unnaturally","unnecessarily","upbeat","upliftingly","upright","upside-down","upward","upwardly","urgently","usefully","uselessly","usually","utterly","vacantly","vaguely","vainly","valiantly","vastly","verbally","very","viciously","victoriously","violently","vivaciously","voluntarily","warmly","weakly","wearily","well","wetly","wholly","wildly","willfully","wisely","woefully","wonderfully","worriedly","wrongly","yawningly","yearly","yearningly","yesterday","yieldingly","youthfully"],rve=["after","although","and","as","because","before","but","consequently","even","finally","for","furthermore","hence","how","however","if","inasmuch","incidentally","indeed","instead","lest","likewise","meanwhile","nor","now","once","or","provided","since","so","supposing","than","that","though","till","unless","until","what","when","whenever","where","whereas","wherever","whether","which","while","who","whoever","whose","why","yet"],ave=["yuck","oh","phooey","blah","boo","whoa","yowza","huzzah","boohoo","fooey","geez","pfft","ew","ah","yum","brr","hm","yahoo","aha","woot","drat","gah","meh","psst","aw","ugh","yippee","eek","gee","bah","gadzooks","duh","ha","mmm","ouch","phew","ack","uh-huh","gosh","hmph","pish","zowie","er","ick","oof","um"],ive=["ATM","CD","SUV","TV","aardvark","abacus","abbey","abbreviation","abdomen","ability","abnormality","abolishment","abrogation","absence","abundance","academics","academy","accelerant","accelerator","accent","acceptance","access","accessory","accident","accommodation","accompanist","accomplishment","accord","accordance","accordion","account","accountability","accountant","accounting","accuracy","accusation","acetate","achievement","achiever","acid","acknowledgment","acorn","acoustics","acquaintance","acquisition","acre","acrylic","act","action","activation","activist","activity","actor","actress","acupuncture","ad","adaptation","adapter","addiction","addition","address","adjective","adjustment","admin","administration","administrator","admire","admission","adobe","adoption","adrenalin","adrenaline","adult","adulthood","advance","advancement","advantage","advent","adverb","advertisement","advertising","advice","adviser","advocacy","advocate","affair","affect","affidavit","affiliate","affinity","afoul","afterlife","aftermath","afternoon","aftershave","aftershock","afterthought","age","agency","agenda","agent","aggradation","aggression","aglet","agony","agreement","agriculture","aid","aide","aim","air","airbag","airbus","aircraft","airfare","airfield","airforce","airline","airmail","airman","airplane","airport","airship","airspace","alarm","alb","albatross","album","alcohol","alcove","alder","ale","alert","alfalfa","algebra","algorithm","alias","alibi","alien","allegation","allergist","alley","alliance","alligator","allocation","allowance","alloy","alluvium","almanac","almighty","almond","alpaca","alpenglow","alpenhorn","alpha","alphabet","altar","alteration","alternative","altitude","alto","aluminium","aluminum","amazement","amazon","ambassador","amber","ambience","ambiguity","ambition","ambulance","amendment","amenity","ammunition","amnesty","amount","amusement","anagram","analgesia","analog","analogue","analogy","analysis","analyst","analytics","anarchist","anarchy","anatomy","ancestor","anchovy","android","anesthesiologist","anesthesiology","angel","anger","angina","angle","angora","angstrom","anguish","animal","anime","anise","ankle","anklet","anniversary","announcement","annual","anorak","answer","ant","anteater","antecedent","antechamber","antelope","antennae","anterior","anthropology","antibody","anticipation","anticodon","antigen","antique","antiquity","antler","antling","anxiety","anybody","anyone","anything","anywhere","apartment","ape","aperitif","apology","app","apparatus","apparel","appeal","appearance","appellation","appendix","appetiser","appetite","appetizer","applause","apple","applewood","appliance","application","appointment","appreciation","apprehension","approach","appropriation","approval","apricot","apron","apse","aquarium","aquifer","arcade","arch","arch-rival","archaeologist","archaeology","archeology","archer","architect","architecture","archives","area","arena","argument","arithmetic","ark","arm","arm-rest","armadillo","armament","armchair","armoire","armor","armour","armpit","armrest","army","arrangement","array","arrest","arrival","arrogance","arrow","art","artery","arthur","artichoke","article","artifact","artificer","artist","ascend","ascent","ascot","ash","ashram","ashtray","aside","asparagus","aspect","asphalt","aspic","assassination","assault","assembly","assertion","assessment","asset","assignment","assist","assistance","assistant","associate","association","assumption","assurance","asterisk","astrakhan","astrolabe","astrologer","astrology","astronomy","asymmetry","atelier","atheist","athlete","athletics","atmosphere","atom","atrium","attachment","attack","attacker","attainment","attempt","attendance","attendant","attention","attenuation","attic","attitude","attorney","attraction","attribute","auction","audience","audit","auditorium","aunt","authentication","authenticity","author","authorisation","authority","authorization","auto","autoimmunity","automation","automaton","autumn","availability","avalanche","avenue","average","avocado","award","awareness","awe","axis","azimuth","baboon","babushka","baby","bachelor","back","back-up","backbone","backburn","backdrop","background","backpack","backup","backyard","bacon","bacterium","badge","badger","bafflement","bag","bagel","baggage","baggie","baggy","bagpipe","bail","bait","bake","baker","bakery","bakeware","balaclava","balalaika","balance","balcony","ball","ballet","balloon","balloonist","ballot","ballpark","bamboo","ban","banana","band","bandana","bandanna","bandolier","bandwidth","bangle","banjo","bank","bankbook","banker","banking","bankruptcy","banner","banquette","banyan","baobab","bar","barbecue","barbeque","barber","bargain","barge","baritone","barium","bark","barley","barn","barometer","barracks","barrage","barrel","barrier","barstool","bartender","base","baseball","baseboard","baseline","basement","basics","basil","basin","basis","basket","basketball","bass","bassinet","bassoon","bat","bath","bather","bathhouse","bathrobe","bathroom","bathtub","battalion","batter","battery","batting","battle","battleship","bay","bayou","beach","bead","beak","beam","bean","beancurd","beanie","beanstalk","bear","beard","beast","beastie","beat","beating","beauty","beck","bed","bedrock","bedroom","bee","beech","beef","beet","beetle","beggar","beginner","beginning","begonia","behalf","behavior","behaviour","behest","behold","being","belfry","belief","believer","bell","belligerency","bellows","belly","belt","bench","bend","beneficiary","benefit","beret","berry","best-seller","bestseller","bet","beverage","beyond","bias","bibliography","bicycle","bid","bidder","bidding","bidet","bifocals","bijou","bike","bikini","bill","billboard","billing","billion","bin","binoculars","biology","biopsy","biosphere","biplane","birch","bird","bird-watcher","birdbath","birdcage","birdhouse","birth","birthday","biscuit","bit","bite","bitten","bitter","blackberry","blackbird","blackboard","blackfish","blackness","bladder","blade","blame","blank","blanket","blast","blazer","blend","blessing","blight","blind","blinker","blister","blizzard","block","blocker","blog","blogger","blood","bloodflow","bloom","bloomer","blossom","blouse","blow","blowgun","blowhole","blueberry","blush","boar","board","boat","boatload","boatyard","bob","bobcat","body","bog","bolero","bolt","bond","bonding","bondsman","bone","bonfire","bongo","bonnet","bonsai","bonus","boogeyman","book","bookcase","bookend","booking","booklet","bookmark","boolean","boom","boon","boost","booster","boot","bootie","border","bore","borrower","borrowing","boss","botany","bother","bottle","bottling","bottom","bottom-line","boudoir","bough","boulder","boulevard","boundary","bouquet","bourgeoisie","bout","boutique","bow","bower","bowl","bowler","bowling","bowtie","box","boxer","boxspring","boy","boycott","boyfriend","boyhood","boysenberry","brace","bracelet","bracket","brain","brake","bran","branch","brand","brass","bratwurst","bread","breadcrumb","breadfruit","break","breakdown","breakfast","breakpoint","breakthrough","breastplate","breath","breeze","brewer","bribery","brick","bricklaying","bride","bridge","brief","briefing","briefly","brilliant","brink","brisket","broad","broadcast","broccoli","brochure","brocolli","broiler","broker","bronchitis","bronco","bronze","brooch","brood","brook","broom","brother","brother-in-law","brow","brownie","browser","browsing","brunch","brush","brushfire","brushing","bubble","buck","bucket","buckle","buckwheat","bud","buddy","budget","buffalo","buffer","buffet","bug","buggy","bugle","builder","building","bulb","bulk","bull","bull-fighter","bulldozer","bullet","bump","bumper","bun","bunch","bungalow","bunkhouse","burden","bureau","burglar","burial","burn","burn-out","burning","burrito","burro","burrow","burst","bus","bush","business","businessman","bust","bustle","butane","butcher","butler","butter","butterfly","button","buy","buyer","buying","buzz","buzzard","c-clamp","cabana","cabbage","cabin","cabinet","cable","caboose","cacao","cactus","caddy","cadet","cafe","caffeine","caftan","cage","cake","calcification","calculation","calculator","calculus","calendar","calf","caliber","calibre","calico","call","calm","calorie","camel","cameo","camera","camp","campaign","campaigning","campanile","camper","campus","can","canal","candelabra","candidacy","candidate","candle","candy","cane","cannibal","cannon","canoe","canon","canopy","cantaloupe","canteen","canvas","cap","capability","capacity","cape","caper","capital","capitalism","capitulation","capon","cappelletti","cappuccino","captain","caption","captor","car","carabao","caramel","caravan","carbohydrate","carbon","carboxyl","card","cardboard","cardigan","care","career","cargo","caribou","carload","carnation","carnival","carol","carotene","carp","carpenter","carpet","carpeting","carport","carriage","carrier","carrot","carry","cart","cartel","carter","cartilage","cartload","cartoon","cartridge","carving","cascade","case","casement","cash","cashew","cashier","casino","casket","cassava","casserole","cassock","cast","castanet","castle","casualty","cat","catacomb","catalogue","catalysis","catalyst","catamaran","catastrophe","catch","catcher","category","caterpillar","cathedral","cation","catsup","cattle","cauliflower","causal","cause","causeway","caution","cave","caviar","cayenne","ceiling","celebration","celebrity","celeriac","celery","cell","cellar","cello","celsius","cement","cemetery","cenotaph","census","cent","center","centimeter","centre","centurion","century","cephalopod","ceramic","ceramics","cereal","ceremony","certainty","certificate","certification","cesspool","chafe","chain","chainstay","chair","chairlift","chairman","chairperson","chaise","chalet","chalice","chalk","challenge","chamber","champagne","champion","championship","chance","chandelier","change","channel","chaos","chap","chapel","chaplain","chapter","character","characteristic","characterization","chard","charge","charger","charity","charlatan","charm","charset","chart","charter","chasm","chassis","chastity","chasuble","chateau","chatter","chauffeur","chauvinist","check","checkbook","checking","checkout","checkroom","cheddar","cheek","cheer","cheese","cheesecake","cheetah","chef","chem","chemical","chemistry","chemotaxis","cheque","cherry","chess","chest","chestnut","chick","chicken","chicory","chief","chiffonier","child","childbirth","childhood","chili","chill","chime","chimpanzee","chin","chinchilla","chino","chip","chipmunk","chit-chat","chivalry","chive","chives","chocolate","choice","choir","choker","cholesterol","choosing","chop","chops","chopstick","chopsticks","chord","chorus","chow","chowder","chrome","chromolithograph","chronicle","chronograph","chronometer","chrysalis","chub","chuck","church","churn","chutney","cicada","cigarette","cilantro","cinder","cinema","cinnamon","circadian","circle","circuit","circulation","circumference","circumstance","cirrus","citizen","citizenship","citron","citrus","city","civilian","civilisation","civilization","claim","clam","clamp","clan","clank","clapboard","clarification","clarinet","clarity","clasp","class","classic","classification","classmate","classroom","clause","clave","clavicle","clavier","claw","clay","cleaner","clearance","clearing","cleat","clef","cleft","clergyman","cleric","clerk","click","client","cliff","climate","climb","clinic","clip","clipboard","clipper","cloak","cloakroom","clock","clockwork","clogs","cloister","clone","close","closet","closing","closure","cloth","clothes","clothing","cloud","cloudburst","clove","clover","cloves","club","clue","cluster","clutch","co-producer","coach","coal","coalition","coast","coaster","coat","cob","cobbler","cobweb","cockpit","cockroach","cocktail","cocoa","coconut","cod","code","codepage","codling","codon","coevolution","cofactor","coffee","coffin","cohesion","cohort","coil","coin","coincidence","coinsurance","coke","cold","coleslaw","coliseum","collaboration","collagen","collapse","collar","collard","collateral","colleague","collection","collectivisation","collectivization","collector","college","collision","colloquy","colon","colonial","colonialism","colonisation","colonization","colony","color","colorlessness","colt","column","columnist","comb","combat","combination","combine","comeback","comedy","comestible","comfort","comfortable","comic","comics","comma","command","commander","commandment","comment","commerce","commercial","commission","commitment","committee","commodity","common","commonsense","commotion","communicant","communication","communion","communist","community","commuter","company","comparison","compass","compassion","compassionate","compensation","competence","competition","competitor","complaint","complement","completion","complex","complexity","compliance","complication","complicity","compliment","component","comportment","composer","composite","composition","compost","comprehension","compress","compromise","comptroller","compulsion","computer","comradeship","con","concentrate","concentration","concept","conception","concern","concert","conclusion","concrete","condition","conditioner","condominium","condor","conduct","conductor","cone","confectionery","conference","confidence","confidentiality","configuration","confirmation","conflict","conformation","confusion","conga","congo","congregation","congress","congressman","congressperson","conifer","connection","connotation","conscience","consciousness","consensus","consent","consequence","conservation","conservative","consideration","consignment","consist","consistency","console","consonant","conspiracy","conspirator","constant","constellation","constitution","constraint","construction","consul","consulate","consulting","consumer","consumption","contact","contagion","container","content","contention","contest","context","continent","contingency","continuity","contour","contract","contractor","contrail","contrary","contrast","contribution","contributor","control","controller","controversy","convection","convenience","convention","conversation","conversion","convert","convertible","conviction","cook","cookbook","cookie","cooking","cooperation","coordination","coordinator","cop","cop-out","cope","copper","copy","copying","copyright","copywriter","coral","cord","corduroy","core","cork","cormorant","corn","corner","cornerstone","cornet","cornflakes","cornmeal","corporal","corporation","corporatism","corps","corral","correspondence","correspondent","corridor","corruption","corsage","cosset","cost","costume","cot","cottage","cotton","couch","cougar","cough","council","councilman","councilor","councilperson","counsel","counseling","counselling","counsellor","counselor","count","counter","counter-force","counterpart","countess","country","countryside","county","couple","coupon","courage","course","court","courthouse","courtroom","cousin","covariate","cover","coverage","coverall","cow","cowbell","cowboy","coyote","crab","cradle","craft","craftsman","cranberry","crane","cranky","crate","cravat","craw","crawdad","crayfish","crayon","crazy","cream","creation","creative","creativity","creator","creature","creche","credential","credenza","credibility","credit","creditor","creek","crepe","crest","crew","crewman","crewmate","crewmember","crewmen","cria","crib","cribbage","cricket","cricketer","crime","criminal","crinoline","crisis","crisp","criteria","criterion","critic","criticism","crocodile","crocus","croissant","crook","crop","cross","cross-contamination","cross-stitch","croup","crow","crowd","crown","crude","cruelty","cruise","crumb","crunch","crusader","crush","crust","cry","crystal","crystallography","cub","cube","cuckoo","cucumber","cue","cuff-link","cuisine","cultivar","cultivator","culture","culvert","cummerbund","cup","cupboard","cupcake","cupola","curd","cure","curio","curiosity","curl","curler","currant","currency","current","curriculum","curry","curse","cursor","curtailment","curtain","curve","cushion","custard","custody","custom","customer","cut","cuticle","cutlet","cutover","cutting","cyclamen","cycle","cyclone","cyclooxygenase","cygnet","cylinder","cymbal","cynic","cyst","cytokine","cytoplasm","dad","daddy","daffodil","dagger","dahlia","daikon","daily","dairy","daisy","dam","damage","dame","dance","dancer","dancing","dandelion","danger","dare","dark","darkness","darn","dart","dash","dashboard","data","database","date","daughter","dawn","day","daybed","daylight","dead","deadline","deal","dealer","dealing","dearest","death","deathwatch","debate","debris","debt","debtor","decade","decadence","decency","decimal","decision","decision-making","deck","declaration","declination","decline","decoder","decongestant","decoration","decrease","decryption","dedication","deduce","deduction","deed","deep","deer","default","defeat","defendant","defender","defense","deficit","definition","deformation","degradation","degree","delay","deliberation","delight","delivery","demand","democracy","democrat","demur","den","denim","denominator","density","dentist","deodorant","department","departure","dependency","dependent","deployment","deposit","deposition","depot","depression","depressive","depth","deputy","derby","derivation","derivative","derrick","descendant","descent","description","desert","design","designation","designer","desire","desk","desktop","dessert","destination","destiny","destroyer","destruction","detail","detainee","detainment","detection","detective","detector","detention","determination","detour","devastation","developer","developing","development","developmental","deviance","deviation","device","devil","dew","dhow","diabetes","diadem","diagnosis","diagram","dial","dialect","dialogue","diam","diamond","diaper","diaphragm","diarist","diary","dibble","dickey","dictaphone","dictator","diction","dictionary","die","diesel","diet","difference","differential","difficulty","diffuse","dig","digestion","digestive","digger","digging","digit","dignity","dilapidation","dill","dilution","dime","dimension","dimple","diner","dinghy","dining","dinner","dinosaur","dioxide","dip","diploma","diplomacy","direction","directive","director","directory","dirndl","dirt","disability","disadvantage","disagreement","disappointment","disarmament","disaster","discharge","discipline","disclaimer","disclosure","disco","disconnection","discount","discourse","discovery","discrepancy","discretion","discrimination","discussion","disdain","disease","disembodiment","disengagement","disguise","disgust","dish","dishwasher","disk","disparity","dispatch","displacement","display","disposal","disposer","disposition","dispute","disregard","disruption","dissemination","dissonance","distance","distinction","distortion","distribution","distributor","district","divalent","divan","diver","diversity","divide","dividend","divider","divine","diving","division","divorce","doc","dock","doctor","doctorate","doctrine","document","documentary","documentation","doe","dog","dogsled","dogwood","doing","doll","dollar","dollop","dolman","dolor","dolphin","domain","dome","donation","donkey","donor","donut","door","doorbell","doorknob","doorpost","doorway","dory","dose","dot","double","doubling","doubt","doubter","dough","doughnut","down","downfall","downforce","downgrade","download","downstairs","downtown","downturn","dozen","draft","drag","dragon","dragonfly","dragonfruit","dragster","drain","drainage","drake","drama","dramaturge","drapes","draw","drawbridge","drawer","drawing","dream","dreamer","dredger","dress","dresser","dressing","drill","drink","drinking","drive","driver","driveway","driving","drizzle","dromedary","drop","drudgery","drug","drum","drummer","dryer","duck","duckling","dud","dude","due","duel","dueling","duffel","dugout","dulcimer","dumbwaiter","dump","dune","dungarees","dungeon","duplexer","duration","durian","dusk","dust","duster","duty","dwell","dwelling","dynamics","dynamite","dynamo","dynasty","dysfunction","e-book","e-mail","e-reader","eagle","eaglet","ear","eardrum","earmuffs","earnings","earplug","earring","earrings","earth","earthquake","earthworm","ease","easel","east","eating","eaves","eavesdropper","ecclesia","echidna","eclipse","ecliptic","ecology","economics","economy","ecosystem","ectoderm","ectodermal","ecumenist","eddy","edge","edger","edible","editing","edition","editor","editorial","education","eel","effacement","effect","effective","effectiveness","effector","efficacy","efficiency","effort","egg","egghead","eggnog","eggplant","ego","eicosanoid","ejector","elbow","elderberry","election","electricity","electrocardiogram","electronics","element","elephant","elevation","elevator","eleventh","elf","elicit","eligibility","elimination","elite","elixir","elk","ellipse","elm","elongation","elver","email","emanate","embarrassment","embassy","embellishment","embossing","embryo","emerald","emergence","emergency","emergent","emery","emission","emitter","emotion","emphasis","empire","employ","employee","employer","employment","empowerment","emu","enactment","encirclement","enclave","enclosure","encounter","encouragement","encyclopedia","end","endive","endoderm","endorsement","endothelium","endpoint","enemy","energy","enforcement","engagement","engine","engineer","engineering","enigma","enjoyment","enquiry","enrollment","enterprise","entertainment","enthusiasm","entirety","entity","entrance","entree","entrepreneur","entry","envelope","environment","envy","enzyme","epauliere","epee","ephemera","ephemeris","ephyra","epic","episode","epithelium","epoch","eponym","epoxy","equal","equality","equation","equinox","equipment","equity","equivalent","era","eraser","erosion","error","escalator","escape","espadrille","espalier","essay","essence","essential","establishment","estate","estimate","estrogen","estuary","eternity","ethernet","ethics","ethnicity","ethyl","euphonium","eurocentrism","evaluation","evaluator","evaporation","eve","evening","evening-wear","event","everybody","everyone","everything","eviction","evidence","evil","evocation","evolution","ex-husband","ex-wife","exaggeration","exam","examination","examiner","example","exasperation","excellence","exception","excerpt","excess","exchange","excitement","exclamation","excursion","excuse","execution","executive","executor","exercise","exhaust","exhaustion","exhibit","exhibition","exile","existence","exit","exocrine","expansion","expansionism","expectancy","expectation","expedition","expense","experience","experiment","experimentation","expert","expertise","explanation","exploration","explorer","export","expose","exposition","exposure","expression","extension","extent","exterior","external","extinction","extreme","extremist","eye","eyeball","eyebrow","eyebrows","eyeglasses","eyelash","eyelashes","eyelid","eyelids","eyeliner","eyestrain","eyrie","fabric","face","facelift","facet","facility","facsimile","fact","factor","factory","faculty","fahrenheit","fail","failure","fairness","fairy","faith","faithful","fall","fallacy","falling-out","fame","familiar","familiarity","family","fan","fang","fanlight","fanny-pack","fantasy","farm","farmer","farming","farmland","farrow","fascia","fashion","fat","fate","father","father-in-law","fatigue","fatigues","faucet","fault","fav","fava","favor","favorite","fawn","fax","fear","feast","feather","feature","fedelini","federation","fedora","fee","feed","feedback","feeding","feel","feeling","fellow","felony","female","fen","fence","fencing","fender","feng","fennel","ferret","ferry","ferryboat","fertilizer","festival","fetus","few","fiber","fiberglass","fibre","fibroblast","fibrosis","ficlet","fiction","fiddle","field","fiery","fiesta","fifth","fig","fight","fighter","figure","figurine","file","filing","fill","fillet","filly","film","filter","filth","final","finance","financing","finding","fine","finer","finger","fingerling","fingernail","finish","finisher","fir","fire","fireman","fireplace","firewall","firm","first","fish","fishbone","fisherman","fishery","fishing","fishmonger","fishnet","fit","fitness","fix","fixture","flag","flair","flame","flan","flanker","flare","flash","flat","flatboat","flavor","flax","fleck","fledgling","fleece","flesh","flexibility","flick","flicker","flight","flint","flintlock","flip-flops","flock","flood","floodplain","floor","floozie","flour","flow","flower","flu","flugelhorn","fluke","flume","flung","flute","fly","flytrap","foal","foam","fob","focus","fog","fold","folder","folk","folklore","follower","following","fondue","font","food","foodstuffs","fool","foot","footage","football","footnote","footprint","footrest","footstep","footstool","footwear","forage","forager","foray","force","ford","forearm","forebear","forecast","forehead","foreigner","forelimb","forest","forestry","forever","forgery","fork","form","formal","formamide","format","formation","former","formicarium","formula","fort","forte","fortnight","fortress","fortune","forum","foundation","founder","founding","fountain","fourths","fowl","fox","foxglove","fraction","fragrance","frame","framework","fratricide","fraud","fraudster","freak","freckle","freedom","freelance","freezer","freezing","freight","freighter","frenzy","freon","frequency","fresco","friction","fridge","friend","friendship","fries","frigate","fright","fringe","fritter","frock","frog","front","frontier","frost","frosting","frown","fruit","frustration","fry","fuel","fugato","fulfillment","full","fun","function","functionality","fund","funding","fundraising","fur","furnace","furniture","fusarium","futon","future","gadget","gaffe","gaffer","gain","gaiters","gale","gall-bladder","gallery","galley","gallon","galoshes","gambling","game","gamebird","gaming","gamma-ray","gander","gang","gap","garage","garb","garbage","garden","garlic","garment","garter","gas","gasket","gasoline","gasp","gastronomy","gastropod","gate","gateway","gather","gathering","gator","gauge","gauntlet","gavel","gazebo","gazelle","gear","gearshift","geek","gel","gelatin","gelding","gem","gemsbok","gender","gene","general","generation","generator","generosity","genetics","genie","genius","genre","gentleman","geography","geology","geometry","geranium","gerbil","gesture","geyser","gherkin","ghost","giant","gift","gig","gigantism","giggle","ginger","gingerbread","ginseng","giraffe","girdle","girl","girlfriend","glacier","gladiolus","glance","gland","glass","glasses","glee","glen","glider","gliding","glimpse","globe","glockenspiel","gloom","glory","glove","glow","glucose","glue","glut","glutamate","gnat","gnu","go-kart","goal","goat","gobbler","god","goddess","godfather","godmother","godparent","goggles","going","gold","goldfish","golf","gondola","gong","good","good-bye","goodbye","goodie","goodness","goodnight","goodwill","goose","gopher","gorilla","gosling","gossip","governance","government","governor","gown","grab-bag","grace","grade","gradient","graduate","graduation","graffiti","graft","grain","gram","grammar","gran","grand","grandchild","granddaughter","grandfather","grandma","grandmom","grandmother","grandpa","grandparent","grandson","granny","granola","grant","grape","grapefruit","graph","graphic","grasp","grass","grasshopper","grassland","gratitude","gravel","gravitas","gravity","gravy","gray","grease","great-grandfather","great-grandmother","greatness","greed","green","greenhouse","greens","grenade","grey","grid","grief","grill","grin","grip","gripper","grit","grocery","ground","group","grouper","grouse","grove","growth","grub","guacamole","guarantee","guard","guava","guerrilla","guess","guest","guestbook","guidance","guide","guideline","guilder","guilt","guilty","guinea","guitar","guitarist","gum","gumshoe","gun","gunpowder","gutter","guy","gym","gymnast","gymnastics","gynaecology","gyro","habit","habitat","hacienda","hacksaw","hackwork","hail","hair","haircut","hake","half","half-brother","half-sister","halibut","hall","halloween","hallway","halt","ham","hamburger","hammer","hammock","hamster","hand","hand-holding","handball","handful","handgun","handicap","handle","handlebar","handmaiden","handover","handrail","handsaw","hanger","happening","happiness","harald","harbor","harbour","hard-hat","hardboard","hardcover","hardening","hardhat","hardship","hardware","hare","harm","harmonica","harmonise","harmonize","harmony","harp","harpooner","harpsichord","harvest","harvester","hash","hashtag","hassock","haste","hat","hatbox","hatchet","hatchling","hate","hatred","haunt","haven","haversack","havoc","hawk","hay","haze","hazel","hazelnut","head","headache","headlight","headline","headphones","headquarters","headrest","health","health-care","hearing","hearsay","heart","heart-throb","heartache","heartbeat","hearth","hearthside","heartwood","heat","heater","heating","heaven","heavy","hectare","hedge","hedgehog","heel","heifer","height","heir","heirloom","helicopter","helium","hellcat","hello","helmet","helo","help","hemisphere","hemp","hen","hepatitis","herb","herbs","heritage","hermit","hero","heroine","heron","herring","hesitation","hexagon","heyday","hiccups","hide","hierarchy","high","high-rise","highland","highlight","highway","hike","hiking","hill","hint","hip","hippodrome","hippopotamus","hire","hiring","historian","history","hit","hive","hobbit","hobby","hockey","hog","hold","holder","hole","holiday","home","homeland","homeownership","hometown","homework","homogenate","homonym","honesty","honey","honeybee","honeydew","honor","honoree","hood","hoof","hook","hop","hope","hops","horde","horizon","hormone","horn","hornet","horror","horse","horseradish","horst","hose","hosiery","hospice","hospital","hospitalisation","hospitality","hospitalization","host","hostel","hostess","hotdog","hotel","hound","hour","hourglass","house","houseboat","household","housewife","housework","housing","hovel","hovercraft","howard","howitzer","hub","hubcap","hubris","hug","hugger","hull","human","humanity","humidity","hummus","humor","humour","hundred","hunger","hunt","hunter","hunting","hurdle","hurdler","hurricane","hurry","hurt","husband","hut","hutch","hyacinth","hybridisation","hybridization","hydrant","hydraulics","hydrocarb","hydrocarbon","hydrofoil","hydrogen","hydrolyse","hydrolysis","hydrolyze","hydroxyl","hyena","hygienic","hype","hyphenation","hypochondria","hypothermia","hypothesis","ice","ice-cream","iceberg","icebreaker","icecream","icicle","icing","icon","icy","id","idea","ideal","identification","identity","ideology","idiom","igloo","ignorance","ignorant","ikebana","illiteracy","illness","illusion","illustration","image","imagination","imbalance","imitation","immigrant","immigration","immortal","impact","impairment","impala","impediment","implement","implementation","implication","import","importance","impostor","impress","impression","imprisonment","impropriety","improvement","impudence","impulse","in-joke","in-laws","inability","inauguration","inbox","incandescence","incarnation","incense","incentive","inch","incidence","incident","incision","inclusion","income","incompetence","inconvenience","increase","incubation","independence","independent","index","indication","indicator","indigence","individual","industrialisation","industrialization","industry","inequality","inevitable","infancy","infant","infarction","infection","infiltration","infinite","infix","inflammation","inflation","influence","influx","info","information","infrastructure","infusion","inglenook","ingrate","ingredient","inhabitant","inheritance","inhibition","inhibitor","initial","initialise","initialize","initiative","injunction","injury","injustice","ink","inlay","inn","innervation","innocence","innocent","innovation","input","inquiry","inscription","insect","insectarium","insert","inside","insight","insolence","insomnia","inspection","inspector","inspiration","installation","instance","instant","instinct","institute","institution","instruction","instructor","instrument","instrumentalist","instrumentation","insulation","insurance","insurgence","insurrection","integer","integral","integration","integrity","intellect","intelligence","intensity","intent","intention","intentionality","interaction","interchange","interconnection","interest","interface","interferometer","interior","interject","interloper","internet","interpretation","interpreter","interval","intervenor","intervention","interview","interviewer","intestine","introduction","intuition","invader","invasion","invention","inventor","inventory","inverse","inversion","investigation","investigator","investment","investor","invitation","invite","invoice","involvement","iridescence","iris","iron","ironclad","irony","irrigation","ischemia","island","isogloss","isolation","issue","item","itinerary","ivory","jack","jackal","jacket","jackfruit","jade","jaguar","jail","jailhouse","jalapeño","jam","jar","jasmine","jaw","jazz","jealousy","jeans","jeep","jelly","jellybeans","jellyfish","jet","jewel","jeweller","jewellery","jewelry","jicama","jiffy","job","jockey","jodhpurs","joey","jogging","joint","joke","jot","journal","journalism","journalist","journey","joy","judge","judgment","judo","jug","juggernaut","juice","julienne","jumbo","jump","jumper","jumpsuit","jungle","junior","junk","junker","junket","jury","justice","justification","jute","kale","kangaroo","karate","kayak","kazoo","kebab","keep","keeper","kendo","kennel","ketch","ketchup","kettle","kettledrum","key","keyboard","keyboarding","keystone","kick","kick-off","kid","kidney","kielbasa","kill","killer","killing","kilogram","kilometer","kilt","kimono","kinase","kind","kindness","king","kingdom","kingfish","kiosk","kiss","kit","kitchen","kite","kitsch","kitten","kitty","kiwi","knee","kneejerk","knickers","knife","knife-edge","knight","knitting","knock","knot","know-how","knowledge","knuckle","koala","kohlrabi","lab","label","labor","laboratory","laborer","labour","labourer","lace","lack","lacquerware","lad","ladder","ladle","lady","ladybug","lag","lake","lamb","lambkin","lament","lamp","lanai","land","landform","landing","landmine","landscape","lane","language","lantern","lap","laparoscope","lapdog","laptop","larch","lard","larder","lark","larva","laryngitis","lasagna","lashes","last","latency","latex","lathe","latitude","latte","latter","laugh","laughter","laundry","lava","law","lawmaker","lawn","lawsuit","lawyer","lay","layer","layout","lead","leader","leadership","leading","leaf","league","leaker","leap","learning","leash","leather","leave","leaver","lecture","leek","leeway","left","leg","legacy","legal","legend","legging","legislation","legislator","legislature","legitimacy","legume","leisure","lemon","lemonade","lemur","lender","lending","length","lens","lentil","leopard","leprosy","leptocephalus","lesson","letter","lettuce","level","lever","leverage","leveret","liability","liar","liberty","library","licence","license","licensing","licorice","lid","lie","lieu","lieutenant","life","lifestyle","lifetime","lift","ligand","light","lighting","lightning","lightscreen","ligula","likelihood","likeness","lilac","lily","limb","lime","limestone","limit","limitation","limo","line","linen","liner","linguist","linguistics","lining","link","linkage","linseed","lion","lip","lipid","lipoprotein","lipstick","liquid","liquidity","liquor","list","listening","listing","literate","literature","litigation","litmus","litter","littleneck","liver","livestock","living","lizard","llama","load","loading","loaf","loafer","loan","lobby","lobotomy","lobster","local","locality","location","lock","locker","locket","locomotive","locust","lode","loft","log","loggia","logic","login","logistics","logo","loincloth","lollipop","loneliness","longboat","longitude","look","lookout","loop","loophole","loquat","lord","loss","lot","lotion","lottery","lounge","louse","lout","love","lover","lox","loyalty","luck","luggage","lumber","lumberman","lunch","luncheonette","lunchmeat","lunchroom","lung","lunge","lute","luxury","lychee","lycra","lye","lymphocyte","lynx","lyocell","lyre","lyrics","lysine","mRNA","macadamia","macaroni","macaroon","macaw","machine","machinery","macrame","macro","macrofauna","madam","maelstrom","maestro","magazine","maggot","magic","magnet","magnitude","maid","maiden","mail","mailbox","mailer","mailing","mailman","main","mainland","mainstream","maintainer","maintenance","maize","major","major-league","majority","makeover","maker","makeup","making","male","malice","mall","mallard","mallet","malnutrition","mama","mambo","mammoth","man","manacle","management","manager","manatee","mandarin","mandate","mandolin","mangle","mango","mangrove","manhunt","maniac","manicure","manifestation","manipulation","mankind","manner","manor","mansard","manservant","mansion","mantel","mantle","mantua","manufacturer","manufacturing","many","map","maple","mapping","maracas","marathon","marble","march","mare","margarine","margin","mariachi","marimba","marines","marionberry","mark","marker","market","marketer","marketing","marketplace","marksman","markup","marmalade","marriage","marsh","marshland","marshmallow","marten","marxism","mascara","mask","masonry","mass","massage","mast","masterpiece","mastication","mastoid","mat","match","matchmaker","mate","material","maternity","math","mathematics","matrix","matter","mattock","mattress","max","maximum","maybe","mayonnaise","mayor","meadow","meal","mean","meander","meaning","means","meantime","measles","measure","measurement","meat","meatball","meatloaf","mecca","mechanic","mechanism","med","medal","media","median","medication","medicine","medium","meet","meeting","melatonin","melody","melon","member","membership","membrane","meme","memo","memorial","memory","men","menopause","menorah","mention","mentor","menu","merchandise","merchant","mercury","meridian","meringue","merit","mesenchyme","mess","message","messenger","messy","metabolite","metal","metallurgist","metaphor","meteor","meteorology","meter","methane","method","methodology","metric","metro","metronome","mezzanine","microlending","micronutrient","microphone","microwave","mid-course","midden","middle","middleman","midline","midnight","midwife","might","migrant","migration","mile","mileage","milepost","milestone","military","milk","milkshake","mill","millennium","millet","millimeter","million","millisecond","millstone","mime","mimosa","min","mincemeat","mind","mine","mineral","mineshaft","mini","mini-skirt","minibus","minimalism","minimum","mining","minion","minister","mink","minnow","minor","minor-league","minority","mint","minute","miracle","mirror","miscommunication","misfit","misnomer","misplacement","misreading","misrepresentation","miss","missile","mission","mist","mistake","mister","misunderstand","miter","mitten","mix","mixer","mixture","moai","moat","mob","mobile","mobility","mobster","moccasins","mocha","mochi","mode","model","modeling","modem","modernist","modernity","modification","molar","molasses","molding","mole","molecule","mom","moment","monastery","monasticism","money","monger","monitor","monitoring","monk","monkey","monocle","monopoly","monotheism","monsoon","monster","month","monument","mood","moody","moon","moonlight","moonscape","moose","mop","morale","morbid","morbidity","morning","morphology","morsel","mortal","mortality","mortgage","mortise","mosque","mosquito","most","motel","moth","mother","mother-in-law","motion","motivation","motive","motor","motorboat","motorcar","motorcycle","mound","mountain","mouse","mouser","mousse","moustache","mouth","mouton","movement","mover","movie","mower","mozzarella","mud","muffin","mug","mukluk","mule","multimedia","muscat","muscatel","muscle","musculature","museum","mushroom","music","music-box","music-making","musician","muskrat","mussel","mustache","mustard","mutation","mutt","mutton","mycoplasma","mystery","myth","mythology","nail","name","naming","nanoparticle","napkin","narrative","nasal","nation","nationality","native","naturalisation","nature","navigation","necessity","neck","necklace","necktie","nectar","nectarine","need","needle","neglect","negligee","negotiation","neighbor","neighborhood","neighbour","neighbourhood","neologism","neon","neonate","nephew","nerve","nest","nestling","nestmate","net","netball","netbook","netsuke","network","networking","neurobiologist","neuron","neuropathologist","neuropsychiatry","news","newsletter","newspaper","newsprint","newsstand","nexus","nibble","nicety","niche","nick","nickel","nickname","niece","night","nightclub","nightgown","nightingale","nightlife","nightlight","nightmare","ninja","nit","nitrogen","nobody","nod","node","noir","noise","nonbeliever","nonconformist","nondisclosure","nonsense","noodle","noodles","noon","norm","normal","normalisation","normalization","north","nose","notation","note","notebook","notepad","nothing","notice","notion","notoriety","nougat","noun","nourishment","novel","nucleotidase","nucleotide","nudge","nuke","number","numeracy","numeric","numismatist","nun","nurse","nursery","nursing","nurture","nut","nutmeg","nutrient","nutrition","nylon","oak","oar","oasis","oat","oatmeal","oats","obedience","obesity","obi","object","objection","objective","obligation","oboe","observation","observatory","obsession","obsidian","obstacle","occasion","occupation","occurrence","ocean","ocelot","octagon","octave","octavo","octet","octopus","odometer","odyssey","oeuvre","off-ramp","offence","offense","offer","offering","office","officer","official","offset","oil","okra","oldie","oleo","olive","omega","omelet","omission","omnivore","oncology","onion","online","onset","opening","opera","operating","operation","operator","ophthalmologist","opinion","opossum","opponent","opportunist","opportunity","opposite","opposition","optimal","optimisation","optimist","optimization","option","orange","orangutan","orator","orchard","orchestra","orchid","order","ordinary","ordination","ore","oregano","organ","organisation","organising","organization","organizing","orient","orientation","origin","original","originality","ornament","osmosis","osprey","ostrich","other","otter","ottoman","ounce","outback","outcome","outfielder","outfit","outhouse","outlaw","outlay","outlet","outline","outlook","output","outrage","outrigger","outrun","outset","outside","oval","ovary","oven","overcharge","overclocking","overcoat","overexertion","overflight","overhead","overheard","overload","overnighter","overshoot","oversight","overview","overweight","owl","owner","ownership","ox","oxford","oxygen","oyster","ozone","pace","pacemaker","pack","package","packaging","packet","pad","paddle","paddock","pagan","page","pagoda","pail","pain","paint","painter","painting","paintwork","pair","pajamas","palace","palate","palm","pamphlet","pan","pancake","pancreas","panda","panel","panic","pannier","panpipe","panther","pantologist","pantology","pantry","pants","pantsuit","pantyhose","papa","papaya","paper","paperback","paperwork","parable","parachute","parade","paradise","paragraph","parallelogram","paramecium","paramedic","parameter","paranoia","parcel","parchment","pard","pardon","parent","parenthesis","parenting","park","parka","parking","parliament","parole","parrot","parser","parsley","parsnip","part","participant","participation","particle","particular","partner","partnership","partridge","party","pass","passage","passbook","passenger","passing","passion","passive","passport","password","past","pasta","paste","pastor","pastoralist","pastry","pasture","pat","patch","pate","patent","patentee","path","pathogenesis","pathology","pathway","patience","patient","patina","patio","patriarch","patrimony","patriot","patrol","patroller","patrolling","patron","pattern","patty","pattypan","pause","pavement","pavilion","paw","pawnshop","pay","payee","payment","payoff","pea","peace","peach","peacoat","peacock","peak","peanut","pear","pearl","peasant","pecan","pedal","peek","peen","peer","peer-to-peer","pegboard","pelican","pelt","pen","penalty","pence","pencil","pendant","pendulum","penguin","penicillin","peninsula","pennant","penny","pension","pentagon","peony","people","pepper","pepperoni","percent","percentage","perception","perch","perennial","perfection","performance","perfume","period","periodical","peripheral","permafrost","permission","permit","perp","perpendicular","persimmon","person","personal","personality","personnel","perspective","pest","pet","petal","petition","petitioner","petticoat","pew","pharmacist","pharmacopoeia","phase","pheasant","phenomenon","phenotype","pheromone","philanthropy","philosopher","philosophy","phone","phosphate","photo","photodiode","photograph","photographer","photography","photoreceptor","phrase","phrasing","physical","physics","physiology","pianist","piano","piccolo","pick","pickax","pickaxe","picket","pickle","pickup","picnic","picture","picturesque","pie","piece","pier","piety","pig","pigeon","piglet","pigpen","pigsty","pike","pilaf","pile","pilgrim","pilgrimage","pill","pillar","pillbox","pillow","pilot","pimple","pin","pinafore","pince-nez","pine","pineapple","pinecone","ping","pinkie","pinot","pinstripe","pint","pinto","pinworm","pioneer","pipe","pipeline","piracy","pirate","pit","pita","pitch","pitcher","pitching","pith","pizza","place","placebo","placement","placode","plagiarism","plain","plaintiff","plan","plane","planet","planning","plant","plantation","planter","planula","plaster","plasterboard","plastic","plate","platelet","platform","platinum","platter","platypus","play","player","playground","playroom","playwright","plea","pleasure","pleat","pledge","plenty","plier","pliers","plight","plot","plough","plover","plow","plowman","plug","plugin","plum","plumber","plume","plunger","plywood","pneumonia","pocket","pocket-watch","pocketbook","pod","podcast","poem","poet","poetry","poignance","point","poison","poisoning","poker","polarisation","polarization","pole","polenta","police","policeman","policy","polish","politician","politics","poll","polliwog","pollutant","pollution","polo","polyester","polyp","pomegranate","pomelo","pompom","poncho","pond","pony","pool","poor","pop","popcorn","poppy","popsicle","popularity","population","populist","porcelain","porch","porcupine","pork","porpoise","port","porter","portfolio","porthole","portion","portrait","position","possession","possibility","possible","post","postage","postbox","poster","posterior","postfix","pot","potato","potential","pottery","potty","pouch","poultry","pound","pounding","poverty","powder","power","practice","practitioner","prairie","praise","pray","prayer","precedence","precedent","precipitation","precision","predecessor","preface","preference","prefix","pregnancy","prejudice","prelude","premeditation","premier","premise","premium","preoccupation","preparation","prescription","presence","present","presentation","preservation","preserves","presidency","president","press","pressroom","pressure","pressurisation","pressurization","prestige","presume","pretzel","prevalence","prevention","prey","price","pricing","pride","priest","priesthood","primary","primate","prince","princess","principal","principle","print","printer","printing","prior","priority","prison","prisoner","privacy","private","privilege","prize","prizefight","probability","probation","probe","problem","procedure","proceedings","process","processing","processor","proctor","procurement","produce","producer","product","production","productivity","profession","professional","professor","profile","profit","progenitor","program","programme","programming","progress","progression","prohibition","project","proliferation","promenade","promise","promotion","prompt","pronoun","pronunciation","proof","proof-reader","propane","property","prophet","proponent","proportion","proposal","proposition","proprietor","prose","prosecution","prosecutor","prospect","prosperity","prostacyclin","prostanoid","prostrate","protection","protein","protest","protocol","providence","provider","province","provision","prow","proximal","proximity","prune","pruner","pseudocode","pseudoscience","psychiatrist","psychoanalyst","psychologist","psychology","ptarmigan","pub","public","publication","publicity","publisher","publishing","pudding","puddle","puffin","pug","puggle","pulley","pulse","puma","pump","pumpernickel","pumpkin","pumpkinseed","pun","punch","punctuation","punishment","pup","pupa","pupil","puppet","puppy","purchase","puritan","purity","purpose","purr","purse","pursuit","push","pusher","put","puzzle","pyramid","pyridine","quadrant","quail","qualification","quality","quantity","quart","quarter","quartet","quartz","queen","query","quest","question","questioner","questionnaire","quiche","quicksand","quiet","quill","quilt","quince","quinoa","quit","quiver","quota","quotation","quote","rabbi","rabbit","raccoon","race","racer","racing","rack","radar","radiator","radio","radiosonde","radish","raffle","raft","rag","rage","raid","rail","railing","railroad","railway","raiment","rain","rainbow","raincoat","rainmaker","rainstorm","rainy","raise","raisin","rake","rally","ram","rambler","ramen","ramie","ranch","rancher","randomisation","randomization","range","ranger","rank","rap","raspberry","rat","rate","ratepayer","rating","ratio","rationale","rations","raven","ravioli","rawhide","ray","rayon","razor","reach","reactant","reaction","read","reader","readiness","reading","real","reality","realization","realm","reamer","rear","reason","reasoning","rebel","rebellion","reboot","recall","recapitulation","receipt","receiver","reception","receptor","recess","recession","recipe","recipient","reciprocity","reclamation","recliner","recognition","recollection","recommendation","reconsideration","record","recorder","recording","recovery","recreation","recruit","rectangle","redesign","redhead","redirect","rediscovery","reduction","reef","refectory","reference","referendum","reflection","reform","refreshments","refrigerator","refuge","refund","refusal","refuse","regard","regime","region","regionalism","register","registration","registry","regret","regulation","regulator","rehospitalisation","rehospitalization","reindeer","reinscription","reject","relation","relationship","relative","relaxation","relay","release","reliability","relief","religion","relish","reluctance","remains","remark","reminder","remnant","remote","removal","renaissance","rent","reorganisation","reorganization","repair","reparation","repayment","repeat","replacement","replica","replication","reply","report","reporter","reporting","repository","representation","representative","reprocessing","republic","republican","reputation","request","requirement","resale","rescue","research","researcher","resemblance","reservation","reserve","reservoir","reset","residence","resident","residue","resist","resistance","resolution","resolve","resort","resource","respect","respite","response","responsibility","rest","restaurant","restoration","restriction","restroom","restructuring","result","resume","retailer","retention","rethinking","retina","retirement","retouching","retreat","retrospect","retrospective","retrospectivity","return","reunion","revascularisation","revascularization","reveal","revelation","revenant","revenge","revenue","reversal","reverse","review","revitalisation","revitalization","revival","revolution","revolver","reward","rhetoric","rheumatism","rhinoceros","rhubarb","rhyme","rhythm","rib","ribbon","rice","riddle","ride","rider","ridge","riding","rifle","right","rim","ring","ringworm","riot","rip","ripple","rise","riser","risk","rite","ritual","river","riverbed","rivulet","road","roadway","roar","roast","robe","robin","robot","robotics","rock","rocker","rocket","rocket-ship","rod","role","roll","roller","romaine","romance","roof","room","roommate","rooster","root","rope","rose","rosemary","roster","rostrum","rotation","round","roundabout","route","router","routine","row","rowboat","rowing","rubber","rubbish","rubric","ruby","ruckus","rudiment","ruffle","rug","rugby","ruin","rule","ruler","ruling","rumor","run","runaway","runner","running","runway","rush","rust","rutabaga","rye","sabre","sack","saddle","sadness","safari","safe","safeguard","safety","saffron","sage","sail","sailboat","sailing","sailor","saint","sake","salad","salami","salary","sale","salesman","salmon","salon","saloon","salsa","salt","salute","samovar","sampan","sample","samurai","sanction","sanctity","sanctuary","sand","sandal","sandbar","sandpaper","sandwich","sanity","sardine","sari","sarong","sash","satellite","satin","satire","satisfaction","sauce","saucer","sauerkraut","sausage","savage","savannah","saving","savings","savior","saviour","savory","saw","saxophone","scaffold","scale","scallion","scallops","scalp","scam","scanner","scarecrow","scarf","scarification","scenario","scene","scenery","scent","schedule","scheduling","schema","scheme","schnitzel","scholar","scholarship","school","schoolhouse","schooner","science","scientist","scimitar","scissors","scooter","scope","score","scorn","scorpion","scotch","scout","scow","scrambled","scrap","scraper","scratch","screamer","screen","screening","screenwriting","screw","screw-up","screwdriver","scrim","scrip","script","scripture","scrutiny","sculpting","sculptural","sculpture","sea","seabass","seafood","seagull","seal","seaplane","search","seashore","seaside","season","seat","seaweed","second","secrecy","secret","secretariat","secretary","secretion","section","sectional","sector","security","sediment","seed","seeder","seeker","seep","segment","seizure","selection","self","self-confidence","self-control","self-esteem","seller","selling","semantics","semester","semicircle","semicolon","semiconductor","seminar","senate","senator","sender","senior","sense","sensibility","sensitive","sensitivity","sensor","sentence","sentencing","sentiment","sepal","separation","septicaemia","sequel","sequence","serial","series","sermon","serum","serval","servant","server","service","servitude","sesame","session","set","setback","setting","settlement","settler","severity","sewer","shack","shackle","shade","shadow","shadowbox","shakedown","shaker","shallot","shallows","shame","shampoo","shanty","shape","share","shareholder","shark","shaw","shawl","shear","shearling","sheath","shed","sheep","sheet","shelf","shell","shelter","sherbet","sherry","shield","shift","shin","shine","shingle","ship","shipper","shipping","shipyard","shirt","shirtdress","shoat","shock","shoe","shoe-horn","shoehorn","shoelace","shoemaker","shoes","shoestring","shofar","shoot","shootdown","shop","shopper","shopping","shore","shoreline","short","shortage","shorts","shortwave","shot","shoulder","shout","shovel","show","show-stopper","shower","shred","shrimp","shrine","shutdown","sibling","sick","sickness","side","sideboard","sideburns","sidecar","sidestream","sidewalk","siding","siege","sigh","sight","sightseeing","sign","signal","signature","signet","significance","signify","signup","silence","silica","silicon","silk","silkworm","sill","silly","silo","silver","similarity","simple","simplicity","simplification","simvastatin","sin","singer","singing","singular","sink","sinuosity","sip","sir","sister","sister-in-law","sitar","site","situation","size","skate","skating","skean","skeleton","ski","skiing","skill","skin","skirt","skull","skullcap","skullduggery","skunk","sky","skylight","skyline","skyscraper","skywalk","slang","slapstick","slash","slate","slaw","sled","sledge","sleep","sleepiness","sleeping","sleet","sleuth","slice","slide","slider","slime","slip","slipper","slippers","slope","slot","sloth","slump","smell","smelting","smile","smith","smock","smog","smoke","smoking","smolt","smuggling","snack","snail","snake","snakebite","snap","snarl","sneaker","sneakers","sneeze","sniffle","snob","snorer","snow","snowboarding","snowflake","snowman","snowmobiling","snowplow","snowstorm","snowsuit","snuck","snug","snuggle","soap","soccer","socialism","socialist","society","sociology","sock","socks","soda","sofa","softball","softdrink","softening","software","soil","soldier","sole","solicitation","solicitor","solidarity","solidity","soliloquy","solitaire","solution","solvency","sombrero","somebody","someone","someplace","somersault","something","somewhere","son","sonar","sonata","song","songbird","sonnet","soot","sophomore","soprano","sorbet","sorghum","sorrel","sorrow","sort","soul","soulmate","sound","soundness","soup","source","sourwood","sousaphone","south","southeast","souvenir","sovereignty","sow","soy","soybean","space","spacing","spaghetti","span","spandex","sparerib","spark","sparrow","spasm","spat","spatula","spawn","speaker","speakerphone","speaking","spear","spec","special","specialist","specialty","species","specification","spectacle","spectacles","spectrograph","spectrum","speculation","speech","speed","speedboat","spell","spelling","spelt","spending","sphere","sphynx","spice","spider","spiderling","spike","spill","spinach","spine","spiral","spirit","spiritual","spirituality","spit","spite","spleen","splendor","split","spokesman","spokeswoman","sponge","sponsor","sponsorship","spool","spoon","spork","sport","sportsman","spot","spotlight","spouse","sprag","sprat","spray","spread","spreadsheet","spree","spring","sprinkles","sprinter","sprout","spruce","spud","spume","spur","spy","spyglass","square","squash","squatter","squeegee","squid","squirrel","stab","stability","stable","stack","stacking","stadium","staff","stag","stage","stain","stair","staircase","stake","stalk","stall","stallion","stamen","stamina","stamp","stance","stand","standard","standardisation","standardization","standing","standoff","standpoint","star","starboard","start","starter","state","statement","statin","station","station-wagon","statistic","statistics","statue","status","statute","stay","steak","stealth","steam","steamroller","steel","steeple","stem","stench","stencil","step","step-aunt","step-brother","step-daughter","step-father","step-grandfather","step-grandmother","step-mother","step-sister","step-son","step-uncle","stepdaughter","stepmother","stepping-stone","stepson","stereo","stew","steward","stick","sticker","stiletto","still","stimulation","stimulus","sting","stinger","stir-fry","stitch","stitcher","stock","stock-in-trade","stockings","stole","stomach","stone","stonework","stool","stop","stopsign","stopwatch","storage","store","storey","storm","story","story-telling","storyboard","stot","stove","strait","strand","stranger","strap","strategy","straw","strawberry","strawman","stream","street","streetcar","strength","stress","stretch","strife","strike","string","strip","stripe","strobe","structure","strudel","struggle","stucco","stud","student","studio","study","stuff","stumbling","stump","stupidity","sturgeon","sty","style","styling","stylus","sub","subcomponent","subconscious","subcontractor","subexpression","subgroup","subject","submarine","submitter","subprime","subroutine","subscription","subsection","subset","subsidence","subsidiary","subsidy","substance","substitution","subtitle","suburb","subway","success","succotash","suede","suet","suffocation","sugar","suggestion","suit","suitcase","suite","sulfur","sultan","sum","summary","summer","summit","sun","sunbeam","sunbonnet","sundae","sunday","sundial","sunflower","sunglasses","sunlamp","sunlight","sunrise","sunroom","sunset","sunshine","superiority","supermarket","supernatural","supervision","supervisor","supper","supplement","supplier","supply","support","supporter","suppression","supreme","surface","surfboard","surge","surgeon","surgery","surname","surplus","surprise","surround","surroundings","surrounds","survey","survival","survivor","sushi","suspect","suspenders","suspension","sustainment","sustenance","swamp","swan","swanling","swath","sweat","sweater","sweatshirt","sweatshop","sweatsuit","sweets","swell","swim","swimming","swimsuit","swine","swing","switch","switchboard","switching","swivel","sword","swordfight","swordfish","sycamore","symbol","symmetry","sympathy","symptom","syndicate","syndrome","synergy","synod","synonym","synthesis","syrup","system","t-shirt","tab","tabby","tabernacle","table","tablecloth","tablet","tabletop","tachometer","tackle","taco","tactics","tactile","tadpole","tag","tail","tailbud","tailor","tailspin","take-out","takeover","tale","talent","talk","talking","tam-o'-shanter","tamale","tambour","tambourine","tan","tandem","tangerine","tank","tank-top","tanker","tankful","tap","tape","tapioca","target","taro","tarragon","tart","task","tassel","taste","tatami","tattler","tattoo","tavern","tax","taxi","taxicab","taxpayer","tea","teacher","teaching","team","teammate","teapot","tear","tech","technician","technique","technologist","technology","tectonics","teen","teenager","teepee","telephone","telescreen","teletype","television","tell","teller","temp","temper","temperature","temple","tempo","temporariness","temporary","temptation","temptress","tenant","tendency","tender","tenement","tenet","tennis","tenor","tension","tensor","tent","tentacle","tenth","tepee","teriyaki","term","terminal","termination","terminology","termite","terrace","terracotta","terrapin","terrarium","territory","test","testament","testimonial","testimony","testing","text","textbook","textual","texture","thanks","thaw","theater","theft","theism","theme","theology","theory","therapist","therapy","thermals","thermometer","thermostat","thesis","thickness","thief","thigh","thing","thinking","thirst","thistle","thong","thongs","thorn","thought","thousand","thread","threat","threshold","thrift","thrill","throne","thrush","thumb","thump","thunder","thunderbolt","thunderhead","thunderstorm","thyme","tiara","tic","tick","ticket","tide","tie","tiger","tights","tile","till","tilt","timbale","timber","time","timeline","timeout","timer","timetable","timing","timpani","tin","tinderbox","tintype","tip","tire","tissue","titanium","title","toad","toast","toaster","tobacco","today","toe","toenail","toffee","tofu","tog","toga","toilet","tolerance","tolerant","toll","tom-tom","tomatillo","tomato","tomb","tomography","tomorrow","ton","tonality","tone","tongue","tonic","tonight","tool","toot","tooth","toothbrush","toothpaste","toothpick","top","top-hat","topic","topsail","toque","toreador","tornado","torso","torte","tortellini","tortilla","tortoise","total","tote","touch","tough-guy","tour","tourism","tourist","tournament","tow-truck","towel","tower","town","townhouse","township","toy","trace","trachoma","track","tracking","tracksuit","tract","tractor","trade","trader","trading","tradition","traditionalism","traffic","trafficker","tragedy","trail","trailer","trailpatrol","train","trainer","training","trait","tram","trance","transaction","transcript","transfer","transformation","transit","transition","translation","transmission","transom","transparency","transplantation","transport","transportation","trap","trapdoor","trapezium","trapezoid","trash","travel","traveler","tray","treasure","treasury","treat","treatment","treaty","tree","trek","trellis","tremor","trench","trend","triad","trial","triangle","tribe","tributary","trick","trigger","trigonometry","trillion","trim","trinket","trip","tripod","tritone","triumph","trolley","troop","trooper","trophy","trouble","trousers","trout","trove","trowel","truck","trumpet","trunk","trust","trustee","truth","try","tsunami","tub","tuba","tube","tuber","tug","tugboat","tuition","tulip","tumbler","tummy","tuna","tune","tune-up","tunic","tunnel","turban","turf","turkey","turmeric","turn","turning","turnip","turnover","turnstile","turret","turtle","tusk","tussle","tutu","tuxedo","tweet","tweezers","twig","twilight","twine","twins","twist","twister","twitter","type","typeface","typewriter","typhoon","ukulele","ultimatum","umbrella","unblinking","uncertainty","uncle","underclothes","underestimate","underground","underneath","underpants","underpass","undershirt","understanding","understatement","undertaker","underwear","underweight","underwire","underwriting","unemployment","unibody","uniform","uniformity","union","unique","unit","unity","universe","university","update","upgrade","uplift","upper","upstairs","upward","urge","urgency","urn","usage","use","user","usher","usual","utensil","utilisation","utility","utilization","vacation","vaccine","vacuum","vagrant","valance","valentine","validate","validity","valley","valuable","value","vampire","van","vanadyl","vane","vanilla","vanity","variability","variable","variant","variation","variety","vascular","vase","vault","vaulting","veal","vector","vegetable","vegetarian","vegetarianism","vegetation","vehicle","veil","vein","veldt","vellum","velocity","velodrome","velvet","vendor","veneer","vengeance","venison","venom","venti","venture","venue","veranda","verb","verdict","verification","vermicelli","vernacular","verse","version","vertigo","verve","vessel","vest","vestment","vet","veteran","veterinarian","veto","viability","vibraphone","vibration","vibrissae","vice","vicinity","victim","victory","video","view","viewer","vignette","villa","village","vine","vinegar","vineyard","vintage","vintner","vinyl","viola","violation","violence","violet","violin","virtue","virus","visa","viscose","vise","vision","visit","visitor","visor","vista","visual","vitality","vitamin","vitro","vivo","vogue","voice","void","vol","volatility","volcano","volleyball","volume","volunteer","volunteering","vote","voter","voting","voyage","vulture","wafer","waffle","wage","wagon","waist","waistband","wait","waiter","waiting","waitress","waiver","wake","walk","walker","walking","walkway","wall","wallaby","wallet","walnut","walrus","wampum","wannabe","want","war","warden","wardrobe","warfare","warlock","warlord","warm-up","warming","warmth","warning","warrant","warren","warrior","wasabi","wash","washbasin","washcloth","washer","washtub","wasp","waste","wastebasket","wasting","watch","watcher","watchmaker","water","waterbed","watercress","waterfall","waterfront","watermelon","waterskiing","waterspout","waterwheel","wave","waveform","wax","way","weakness","wealth","weapon","wear","weasel","weather","web","webinar","webmail","webpage","website","wedding","wedge","weeder","weedkiller","week","weekend","weekender","weight","weird","welcome","welfare","well","well-being","west","western","wet-bar","wetland","wetsuit","whack","whale","wharf","wheat","wheel","whelp","whey","whip","whirlpool","whirlwind","whisker","whisper","whistle","whole","wholesale","wholesaler","whorl","wick","widget","widow","width","wife","wifi","wild","wildebeest","wilderness","wildlife","will","willingness","willow","win","wind","wind-chime","windage","window","windscreen","windshield","winery","wing","wingman","wingtip","wink","winner","winter","wire","wiretap","wiring","wisdom","wiseguy","wish","wisteria","wit","witch","witch-hunt","withdrawal","witness","wok","wolf","woman","wombat","wonder","wont","wood","woodchuck","woodland","woodshed","woodwind","wool","woolens","word","wording","work","workbench","worker","workforce","workhorse","working","workout","workplace","workshop","world","worm","worry","worship","worshiper","worth","wound","wrap","wraparound","wrapper","wrapping","wreck","wrecker","wren","wrench","wrestler","wriggler","wrinkle","wrist","writer","writing","wrong","xylophone","yacht","yahoo","yak","yam","yang","yard","yarmulke","yarn","yawl","year","yeast","yellowjacket","yesterday","yew","yin","yoga","yogurt","yoke","yolk","young","youngster","yourself","youth","yoyo","yurt","zampone","zebra","zebrafish","zen","zephyr","zero","ziggurat","zinc","zipper","zither","zombie","zone","zoo","zoologist","zoology","zoot-suit","zucchini"],ove=["a","abaft","aboard","about","above","absent","across","afore","after","against","along","alongside","amid","amidst","among","amongst","an","anenst","anti","apropos","apud","around","as","aside","astride","at","athwart","atop","barring","before","behind","below","beneath","beside","besides","between","beyond","but","by","circa","concerning","considering","despite","down","during","except","excepting","excluding","failing","following","for","forenenst","from","given","in","including","inside","into","lest","like","mid","midst","minus","modulo","near","next","notwithstanding","of","off","on","onto","opposite","out","outside","over","pace","past","per","plus","pro","qua","regarding","round","sans","save","since","than","the","through","throughout","till","times","to","toward","towards","under","underneath","unlike","until","unto","up","upon","versus","via","vice","with","within","without","worth"],sve=["abandon","abase","abate","abbreviate","abdicate","abduct","abet","abhor","abide","abjure","abnegate","abolish","abominate","abort","abound","abrade","abridge","abrogate","abscond","abseil","absent","absolve","absorb","abstain","abstract","abut","accede","accelerate","accent","accentuate","accept","access","accessorise","accessorize","acclaim","acclimate","acclimatise","acclimatize","accommodate","accompany","accomplish","accord","accost","account","accouter","accoutre","accredit","accrue","acculturate","accumulate","accuse","accustom","ace","ache","achieve","acidify","acknowledge","acquaint","acquiesce","acquire","acquit","act","action","activate","actualise","actualize","actuate","adapt","add","addle","address","adduce","adhere","adjoin","adjourn","adjudge","adjudicate","adjure","adjust","administer","admire","admit","admonish","adopt","adore","adorn","adsorb","adulterate","adumbrate","advance","advantage","advertise","advise","advocate","aerate","affect","affiliate","affirm","affix","afflict","afford","afforest","affront","age","agglomerate","aggravate","aggregate","agitate","agonise","agonize","agree","aid","ail","aim","air","airbrush","airdrop","airfreight","airlift","alarm","alert","alienate","alight","align","allay","allege","alleviate","allocate","allot","allow","alloy","allude","ally","alphabetise","alphabetize","alter","alternate","amalgamate","amass","amaze","amble","ambush","ameliorate","amend","amortise","amortize","amount","amplify","amputate","amuse","anaesthetise","anaesthetize","analyse","anchor","anesthetize","anger","angle","anglicise","anglicize","animate","anneal","annex","annihilate","annotate","announce","annoy","annul","anodise","anodize","anoint","anonymise","anonymize","answer","antagonise","antagonize","antedate","anthologise","anthologize","anticipate","ape","apologise","apologize","apostrophise","apostrophize","appal","appall","appeal","appear","appease","append","appertain","applaud","apply","appoint","apportion","appraise","appreciate","apprehend","apprentice","apprise","approach","appropriate","approve","approximate","aquaplane","arbitrate","arc","arch","archive","argue","arise","arm","arraign","arrange","array","arrest","arrive","arrogate","art","articulate","ascend","ascertain","ascribe","ask","asphyxiate","aspirate","aspire","assail","assassinate","assault","assay","assemble","assent","assert","assess","assign","assimilate","assist","associate","assuage","assume","assure","asterisk","astonish","astound","atomise","atomize","atone","atrophy","attach","attack","attain","attempt","attend","attenuate","attest","attract","attribute","auction","audit","audition","augment","augur","authenticate","author","authorise","authorize","autograph","automate","autosave","autowind","avail","avenge","aver","average","avert","avoid","avow","await","awake","awaken","award","awe","ax","axe","baa","babble","baby","babysit","back","backcomb","backdate","backfill","backfire","backlight","backpack","backspace","backtrack","badger","baffle","bag","bail","bait","bake","balance","bale","ball","balloon","ballot","balls","bamboozle","ban","band","bandage","bandy","banish","bank","bankroll","bankrupt","banter","baptise","baptize","bar","barbecue","bare","bargain","barge","bark","barnstorm","barrack","barrel","barricade","barter","base","bash","bask","baste","bat","batch","bath","bathe","batten","batter","battle","baulk","bawl","bay","bayonet","be","beach","beam","bean","bear","beard","beat","beatbox","beatboxer","beatify","beautify","beckon","become","bedazzle","bedeck","bedevil","beef","beep","beetle","befall","befit","befog","befriend","beg","beget","beggar","begin","begrudge","beguile","behave","behold","behoove","behove","belabor","belabour","belay","belch","belie","believe","belittle","bellow","belly","bellyache","belong","belt","bemoan","bemuse","benchmark","bend","benefit","bequeath","berate","bereave","berth","beseech","beset","besiege","besmirch","bespatter","bespeak","best","bestir","bestow","bestride","bet","betake","betide","betoken","betray","better","bewail","beware","bewilder","bewitch","bias","bicker","bicycle","bid","bide","biff","bifurcate","big","bike","bilk","bill","billet","billow","bin","bind","binge","biodegrade","bird","bisect","bite","bitmap","bivouac","bivvy","blab","blabber","blacken","blackmail","blag","blame","blanch","blank","blanket","blare","blaspheme","blast","blather","blaze","blazon","bleach","bleat","bleed","bleep","blemish","blench","blend","bless","blight","blind","blindfold","blindfolded","blindside","blink","bliss","blister","blitz","bloat","block","blockade","blog","blood","bloom","bloop","blossom","blot","blow","blub","blubber","bludge","bludgeon","bluff","blunder","blunt","blur","blurt","blush","bluster","board","boast","bob","bobble","bode","bodge","bog","boggle","boil","bolster","bolt","bomb","bombard","bond","bonk","boo","boogie","book","bookmark","boom","boomerang","boost","boot","bootleg","bop","border","bore","born","borrow","boss","botch","bother","bottle","bottleful","bottom","bounce","bound","bow","bowdlerise","bowdlerize","bowl","bowlful","box","boycott","braai","brace","braces","bracket","brag","braid","brain","brainstorm","brainwash","braise","brake","branch","brand","brandish","brave","brawl","bray","brazen","breach","break","breakfast","breathalyse","breathalyze","breathe","breed","breeze","brew","bribe","brick","bridge","bridle","brief","brighten","brim","bring","bristle","broach","broadcast","broaden","broadside","broil","broker","brood","brook","browbeat","browse","bruise","bruit","brush","brutalise","brutalize","bubble","buck","bucket","bucketful","buckle","bud","buddy","budge","budget","buff","buffer","buffet","bug","build","bulge","bulk","bulldoze","bully","bum","bumble","bump","bunch","bundle","bungle","bunk","bunker","bunt","buoy","burble","burden","burgeon","burglarize","burgle","burn","burnish","burp","burrow","burst","bury","bus","bushwhack","busk","bust","bustle","busy","butcher","butt","butter","button","buttonhole","buttress","buy","buzz","buzzing","bypass","cable","cache","cackle","caddie","cadge","cage","cajole","cake","calcify","calculate","calibrate","call","calm","calve","camouflage","camp","campaign","can","canalise","canalize","cancel","cane","cannibalise","cannibalize","cannon","cannulate","canoe","canonise","canonize","canst","cant","canter","canvass","cap","caper","capitalise","capitalize","capitulate","capsize","captain","caption","captivate","capture","caramelise","caramelize","carbonise","carbonize","carburise","carburize","card","care","careen","career","caress","caricature","carjack","carol","carom","carouse","carp","carpet","carpool","carry","cart","cartwheel","carve","cascade","case","cash","cashier","casserole","cast","castigate","catalog","catalogue","catalyse","catalyze","catapult","catch","categorise","categorize","cater","caterwaul","catnap","caucus","caulk","cause","cauterise","cauterize","caution","cave","cavil","cavort","caw","cc","cease","cede","celebrate","cement","censor","censure","centralise","centralize","centre","certificate","certify","chafe","chaff","chain","chair","chalk","challenge","champ","champion","chance","change","channel","chant","chaperon","chaperone","char","characterise","characterize","charbroil","charge","chargesheet","chargrill","charm","chart","charter","chase","chasten","chastise","chat","chatter","chauffeur","cheapen","cheat","cheater","check","checkmate","cheek","cheep","cheer","cherish","chew","chicken","chide","chill","chillax","chime","chip","chirp","chisel","chivvy","chlorinate","choke","chomp","choose","chop","choreograph","chortle","chorus","christen","chromakey","chronicle","chuck","chuckle","chunder","chunter","churn","cinch","circle","circulate","circumnavigate","circumscribe","circumvent","cite","civilise","civilize","clack","claim","clam","clamber","clamor","clamour","clamp","clang","clank","clap","clarify","clash","clasp","class","classify","clatter","claw","clean","cleanse","clear","cleave","clench","clerk","click","climb","clinch","cling","clink","clinking","clip","cloak","clobber","clock","clog","clone","clonk","close","closet","clot","clothe","cloud","clout","clown","club","cluck","clue","clump","clunk","cluster","clutch","clutter","coach","coagulate","coalesce","coarsen","coast","coat","coax","cobble","cocoon","coddle","code","codify","coerce","coexist","cogitate","cohabit","cohere","coil","coin","coincide","collaborate","collapse","collar","collate","collect","collectivise","collectivize","collide","colligate","collocate","collude","colonise","colonize","colorize","colour","comb","combat","combine","combust","come","comfort","command","commandeer","commemorate","commence","commend","comment","commentate","commercialise","commercialize","commingle","commiserate","commission","commit","commune","communicate","commute","compact","compare","compartmentalise","compartmentalize","compel","compensate","compete","compile","complain","complement","complete","complicate","compliment","comply","comport","compose","compost","compound","comprehend","compress","comprise","compromise","compute","computerise","computerize","con","conceal","concede","conceive","concentrate","conceptualise","conceptualize","concern","concertina","conciliate","conclude","concoct","concrete","concur","concuss","condemn","condense","condescend","condition","condone","conduct","cone","confer","confess","confide","configure","confine","confirm","confiscate","conflate","conflict","conform","confound","confront","confuse","confute","congeal","congratulate","congregate","conjecture","conjoin","conjugate","conjure","conk","connect","connive","connote","conquer","conscientise","conscientize","conscript","consecrate","consent","conserve","consider","consign","consist","console","consolidate","consort","conspire","constitute","constrain","constrict","construct","construe","consult","consume","consummate","contact","contain","contaminate","contemplate","contend","content","contest","contextualise","contextualize","continue","contort","contract","contradict","contraindicate","contrast","contravene","contribute","contrive","control","controvert","convalesce","convene","converge","converse","convert","convey","convict","convince","convoke","convulse","coo","cook","cool","coop","cooperate","coordinate","cop","cope","coppice","copy","copyright","cordon","core","cork","corkscrew","corner","corral","correct","correlate","correspond","corrode","corrupt","coruscate","cosh","cosset","cost","cosy","cotton","couch","cough","counsel","count","countenance","counter","counteract","counterbalance","counterfeit","countermand","counterpoint","countersign","couple","courier","course","court","covenant","cover","covet","cow","cower","cozy","crackle","cradle","craft","cram","cramp","crane","crank","crate","crave","crawl","crayon","creak","creaking","cream","crease","create","credential","credit","creep","cremate","creolise","creolize","creosote","crest","crew","crib","crick","criminalise","criminalize","crimp","cringe","crinkle","cripple","crisp","criticise","criticize","critique","croak","crochet","crook","croon","crop","cross","crouch","crow","crowd","crown","cruise","crumble","crumple","crunch","crusade","crush","cry","crystallise","crystallize","cube","cuddle","cudgel","cue","cuff","cull","culminate","cultivate","culture","cup","curate","curb","curdle","cure","curl","curry","curse","curtail","curtain","curtsy","curve","cushion","cuss","customise","customize","cut","cwtch","cycle","dab","dabble","dally","dam","damage","damp","dampen","dance","dandle","dangle","dare","darken","darn","dart","dash","date","daub","daunt","dawdle","dawn","daydream","dazzle","deactivate","deaden","deadhead","deafen","deal","debar","debase","debate","debilitate","debit","debrief","debug","debunk","debut","decamp","decant","decay","deceive","decelerate","decentralise","decentralize","decide","decimalise","decimalize","decimate","decipher","deck","declaim","declare","declassify","decline","declutter","decode","decommission","decompose","decompress","deconsecrate","deconstruct","decontaminate","decontrol","decorate","decouple","decoy","decrease","decree","decriminalise","decriminalize","decry","decrypt","dedicate","deduce","deduct","deejay","deem","deepen","deface","defame","default","defeat","defect","defend","defer","defile","define","deflate","deflect","defog","defoliate","deforest","deform","defrag","defragment","defraud","defray","defrock","defrost","defuse","defy","degenerate","deglaze","degrade","degrease","dehumanise","dehumanize","dehydrate","deify","deign","delay","delegate","delete","deliberate","delight","delimit","delineate","deliquesce","deliver","delouse","delude","deluge","delve","demand","demarcate","demean","demerge","demilitarise","demilitarize","demineralise","demineralize","demist","demo","demob","demobilise","demobilize","democratise","democratize","demolish","demonise","demonize","demonstrate","demoralise","demoralize","demote","demotivate","demur","demystify","denationalise","denationalize","denigrate","denitrify","denominate","denote","denounce","dent","denude","deny","depart","depend","depersonalise","depersonalize","depict","deplane","deplete","deplore","deploy","depopulate","deport","depose","deposit","deprave","deprecate","depreciate","depress","depressurise","depressurize","deprive","depute","deputise","deputize","deracinate","derail","dereference","deregulate","deride","derive","derogate","descale","descend","describe","descry","desecrate","desegregate","deselect","desensitise","desensitize","desert","deserve","design","designate","desire","desist","deskill","desolate","despair","despise","despoil","destabilise","destabilize","destock","destroy","detach","detail","detain","detect","deter","deteriorate","determine","detest","dethrone","detonate","detour","detoxify","detract","detrain","devalue","devastate","develop","deviate","devise","devoice","devolve","devote","devour","diagnose","dial","dice","dicker","dictate","die","diet","differ","differentiate","diffract","diffuse","dig","digest","digitalise","digitalize","digitise","digitize","dignify","digress","dilate","dilute","diluted","dim","diminish","dimple","dine","ding","dip","diphthongise","diphthongize","direct","dirty","dis","disable","disabuse","disadvantage","disaffiliate","disafforest","disagree","disallow","disambiguate","disappear","disappoint","disapprove","disarm","disarrange","disassemble","disassociate","disavow","disband","disbar","disbelieve","disburse","discard","discern","discharge","discipline","disclaim","disclose","discolor","discolour","discomfit","discomfort","discompose","disconcert","disconnect","discontinue","discount","discourage","discourse","discover","discredit","discriminate","discuss","disdain","disembark","disembowel","disenfranchise","disengage","disentangle","disestablish","disgorge","disgrace","disguise","disgust","dish","dishearten","dishonor","dishonour","disillusion","disincentivise","disincentivize","disinfect","disinherit","disinhibit","disintegrate","disinter","disinvest","dislike","dislocate","dislodge","dismantle","dismay","dismember","dismiss","dismount","disobey","disorient","disorientate","disown","disparage","dispatch","dispel","dispense","disperse","displace","display","displease","disport","dispose","dispossess","disprove","dispute","disqualify","disregard","disrespect","disrobe","disrupt","dissect","dissemble","disseminate","dissent","dissimulate","dissipate","dissociate","dissolve","dissuade","distance","distend","distil","distill","distinguish","distort","distract","distress","distribute","distrust","disturb","disunite","ditch","dither","dive","diverge","diversify","divert","divest","divide","divine","divorce","divulge","divvy","do","dob","dock","doctor","document","dodge","doff","dog","dole","doll","dollarise","dollarize","domesticate","dominate","don","donate","doodle","doom","doorstep","dop","dope","dose","doss","dot","dote","double","doubt","douse","dovetail","down","downchange","downgrade","downlink","download","downplay","downshift","downsize","dowse","doze","draft","drag","dragoon","drain","dramatise","dramatize","drape","draught","draw","drawl","dread","dream","dredge","drench","dress","dribble","drift","drill","drink","drip","drive","drivel","drizzle","drone","drool","droop","drop","drown","drowse","drug","drum","dry","dub","duck","duckie","ducks","duel","duff","dull","dumb","dumbfound","dump","dunk","dunt","dupe","duplicate","dust","dwarf","dwell","dwindle","dye","dynamite","earmark","earn","earth","ease","eat","eavesdrop","ebb","echo","eclipse","economise","economize","eddy","edge","edify","edit","editorialise","editorialize","educate","efface","effect","effectuate","egg","eject","eke","elaborate","elapse","elbow","elect","electrify","electrocute","electroplate","elevate","elicit","elide","eliminate","elongate","elope","elucidate","elude","email","emanate","emancipate","embalm","embargo","embark","embarrass","embed","embellish","embezzle","embitter","emblazon","embody","embolden","emboss","embrace","embroider","embroil","emcee","emend","emerge","emigrate","emit","emote","empathise","empathize","emphasise","emphasize","employ","empower","empty","emulate","emulsify","enable","enact","encamp","encapsulate","encase","encash","enchant","encircle","enclose","encode","encompass","encounter","encourage","encroach","encrypt","encumber","end","endanger","endear","endeavor","endeavour","endorse","endow","endure","energise","energize","enervate","enfeeble","enfold","enforce","enfranchise","engage","engender","engineer","engorge","engrave","engross","engulf","enhance","enjoin","enjoy","enlarge","enlighten","enlist","enliven","enmesh","ennoble","enquire","enrage","enrapture","enrich","enrol","enroll","ensconce","enshrine","enshroud","ensnare","ensue","ensure","entail","entangle","enter","entertain","enthral","enthrall","enthrone","enthuse","entice","entitle","entomb","entrance","entrap","entreat","entrench","entrust","entwine","enumerate","enunciate","envelop","envisage","envision","envy","epitomise","epitomize","equal","equalise","equalize","equate","equip","equivocate","eradicate","erase","erode","err","erupt","escalate","escape","eschew","espouse","espy","essay","establish","esteem","estimate","etch","eulogise","eulogize","euthanise","euthanize","evacuate","evade","evaluate","evangelise","evangelize","evaporate","even","eventuate","evict","evidence","evince","eviscerate","evoke","evolve","exacerbate","exact","exaggerate","exalt","examine","exasperate","excavate","exceed","excel","except","excerpt","exchange","excise","excite","exclaim","exclude","excommunicate","excoriate","excrete","exculpate","excuse","execute","exemplify","exempt","exercise","exert","exeunt","exfoliate","exhale","exhaust","exhibit","exhilarate","exhort","exhume","exile","exist","exit","exonerate","exorcise","exorcize","expand","expatiate","expect","expectorate","expedite","expel","expend","experience","experiment","expiate","expire","explain","explicate","explode","exploit","explore","export","expose","expostulate","expound","express","expropriate","expunge","expurgate","extemporise","extemporize","extend","exterminate","externalise","externalize","extinguish","extirpate","extol","extort","extract","extradite","extrapolate","extricate","extrude","exude","exult","eye","eyeball","eyeglasses","fabricate","face","facilitate","factor","factorise","factorize","fade","faff","fail","faint","fake","fall","falsify","falter","familiarise","familiarize","fan","fancy","fantasise","fantasize","fare","farewell","farm","farrow","fascinate","fashion","fast","fasten","father","fathom","fatten","fault","favor","favour","fawn","fax","faze","fear","feast","feather","feature","federate","feed","feel","feign","feint","fell","feminise","feminize","fence","fend","ferment","ferret","ferry","fertilise","fertilize","fess","fester","festoon","fetch","fete","fetter","feud","fib","fictionalise","fictionalize","fiddle","fidget","field","fight","figure","filch","file","filibuster","fill","fillet","film","filter","finagle","finalise","finalize","finance","find","fine","finesse","fingerprint","finish","fire","firebomb","firm","fish","fishtail","fit","fix","fizz","fizzle","flag","flagellate","flail","flake","flame","flank","flap","flare","flash","flat","flatline","flatten","flatter","flaunt","flavour","flay","fleck","flee","fleece","flesh","flex","flick","flicker","flight","flinch","fling","flip","flirt","flit","float","flock","flog","flood","floodlight","floor","flop","floss","flounce","flounder","flour","flourish","flout","flow","flower","flub","fluctuate","fluff","flummox","flunk","flush","fluster","flutter","fly","foal","foam","fob","focalise","focalize","focus","fog","foil","foist","fold","follow","foment","fool","foot","forage","forbear","forbid","force","ford","forearm","forecast","foreclose","foregather","foreground","foresee","foreshadow","foreshorten","forestall","foretell","forewarn","forfeit","forfend","forgather","forge","forget","forgive","forgo","fork","form","formalise","formalize","format","formulate","forsake","forswear","fortify","forward","forwards","fossick","fossilise","fossilize","foster","foul","found","founder","fox","fracture","fragment","frame","franchise","frank","fraternise","fraternize","fray","freak","free","freelance","freeload","freestyle","freewheel","freeze","freight","frequent","freshen","fret","frighten","fringe","frisk","fritter","frizz","frizzle","frogmarch","frolic","front","frost","froth","frown","fruit","frustrate","fry","fudge","fuel","fulfil","fulfill","fulminate","fumble","fume","fumigate","function","fund","funk","funnel","furl","furlough","furnish","furrow","further","fuse","fuss","gab","gabble","gad","gag","gain","gainsay","gall","gallivant","gallop","galumph","galvanise","galvanize","gamble","gambol","gang","gape","garage","garden","gargle","garland","garner","garnish","garrison","garrote","garrotte","gas","gash","gasp","gatecrash","gather","gauge","gawk","gawp","gaze","gazump","gazunder","gear","gee","gel","geld","gen","generalise","generalize","generate","gentrify","genuflect","germinate","gerrymander","gestate","gesticulate","gesture","get","ghost","ghostwrite","gibber","gift","giggle","gild","ginger","gird","girdle","give","gladden","glamorise","glamorize","glance","glare","glass","glaze","gleam","glean","glide","glimmer","glimmering","glimpse","glint","glisten","glister","glitter","gloat","globalise","globalize","glom","glorify","glory","gloss","glow","glower","glue","glug","glut","gnash","gnaw","go","goad","gobble","goggle","goldbrick","goof","google","goose","gore","gorge","gossip","gouge","govern","grab","grace","grade","graduate","graft","grant","grapple","grasp","grass","grate","gratify","gravitate","graze","grease","green","greet","grey","grieve","grill","grimace","grin","grind","grip","gripe","grit","grizzle","groan","grok","groom","grouch","ground","group","grouse","grout","grovel","grow","growl","grub","grudge","grumble","grunt","guarantee","guard","guess","guest","guffaw","guide","guillotine","guilt","gulp","gum","gun","gurgle","gurn","gush","gussy","gust","gut","gutter","guzzle","gybe","gyrate","hack","haemorrhage","haggle","hail","hallmark","halloo","hallucinate","halt","halve","ham","hammer","hamper","hamstring","hand","handcuff","handicap","handle","hang","hanker","happen","harangue","harass","harbor","harbour","harden","hare","hark","harm","harmonise","harmonize","harness","harp","harpoon","harrow","harrumph","harry","harvest","hash","hassle","hasten","hatch","hate","haul","haunt","have","haw","hawk","hazard","haze","head","headbutt","headhunt","headline","heal","heap","hear","hearken","hearten","heat","heave","heckle","hector","hedge","heed","heel","heft","heighten","heist","help","hem","hemorrhage","herald","herd","hesitate","hew","hex","hibernate","hiccough","hiccup","hide","hie","highball","highlight","hightail","hijack","hike","hinder","hinge","hint","hire","hiss","hit","hitch","hitchhike","hive","hoard","hoax","hobble","hobnob","hock","hog","hoick","hoist","hold","hole","holiday","holler","hollow","holster","home","homeschool","homestead","hone","honeymoon","honk","honour","hoodwink","hoof","hook","hoon","hoot","hoover","hop","hope","horn","horrify","horse","horsewhip","hose","hosepipe","hospitalise","hospitalize","host","hot","hotfoot","hound","house","hover","howl","huddle","huff","hug","hull","hum","humanise","humanize","humble","humiliate","humour","hunch","hunger","hunker","hunt","hurdle","hurl","hurry","hurt","hurtle","husband","hush","husk","hustle","hybridise","hybridize","hydrate","hydroplane","hype","hyperventilate","hyphenate","hypnotise","hypnotize","hypothesise","hypothesize","ice","iconify","idealise","idealize","ideate","identify","idle","idolise","idolize","ignite","ignore","illuminate","illumine","illustrate","imagine","imagineer","imbibe","imbue","imitate","immerse","immigrate","immobilise","immobilize","immolate","immortalise","immortalize","immunise","immunize","immure","impact","impair","impale","impanel","impart","impeach","impede","impel","imperil","impersonate","impinge","implant","implement","implicate","implode","implore","imply","import","importune","impose","impound","impoverish","impress","imprint","imprison","improve","improvise","impugn","inactivate","inaugurate","incapacitate","incarcerate","incarnate","incense","incentivise","incentivize","inch","incinerate","incise","incite","incline","include","incommode","inconvenience","incorporate","increase","incriminate","incubate","inculcate","incur","indemnify","indent","index","indicate","indict","individualise","individualize","individuate","indoctrinate","induce","induct","indulge","industrialise","industrialize","infantilise","infantilize","infect","infer","infest","infill","infiltrate","inflame","inflate","inflect","inflict","influence","inform","infringe","infuriate","infuse","ingest","ingratiate","inhabit","inhale","inhere","inherit","inhibit","initial","initialise","initialize","initiate","inject","injure","ink","inlay","innovate","inoculate","input","inscribe","insert","inset","insinuate","insist","inspect","inspire","install","instance","instigate","instil","instill","institute","institutionalise","institutionalize","instruct","insulate","insult","insure","integrate","intend","intensify","inter","interact","intercede","intercept","interchange","interconnect","intercut","interest","interface","interfere","interject","interlace","interleave","interlink","interlock","intermarry","intermesh","intermingle","intermix","intern","internalise","internalize","internationalise","internationalize","interpenetrate","interpolate","interpose","interpret","interrelate","interrogate","interrupt","intersect","intersperse","intertwine","intervene","interview","interweave","interwork","intimate","intimidate","intone","intoxicate","intrigue","introduce","intrude","intubate","intuit","inundate","inure","invade","invalid","invalidate","inveigh","inveigle","invent","inventory","invert","invest","investigate","invigilate","invigorate","invite","invoice","invoke","involve","ionise","ionize","irk","iron","irradiate","irrigate","irritate","irrupt","isolate","issue","italicise","italicize","itch","itemise","itemize","iterate","jab","jabber","jack","jackknife","jail","jam","jangle","jar","jaw","jaywalk","jazz","jeer","jell","jeopardise","jeopardize","jest","jet","jettison","jib","jibe","jiggle","jilt","jingle","jink","jinx","jive","jockey","jog","joggle","join","joint","joke","jol","jolly","jolt","josh","jostle","jot","journey","joust","judder","judge","juggle","juice","jumble","jump","junk","justify","jut","juxtapose","keel","keelhaul","keen","keep","ken","key","keyboard","kibitz","kick","kid","kindle","kip","kiss","kit","kite","klap","kludge","knacker","knead","knee","kneecap","kneel","knife","knight","knit","knock","knot","know","knuckle","kowtow","kvetch","label","labour","lace","lacerate","lack","lacquer","ladder","ladle","lag","lam","lamb","lambast","lambaste","lament","lamp","lampoon","lance","land","lands","landscape","languish","lap","lapse","lard","large","lark","lash","lasso","last","latch","lather","laud","laugh","launch","launder","lavish","lay","layer","laze","leach","lead","leaf","leaflet","leak","lean","leap","leapfrog","learn","lease","leash","leave","leaven","lecture","leer","leg","legalise","legalize","legislate","legitimise","legitimize","lend","lengthen","lessen","let","letter","letterbox","level","lever","leverage","levitate","levy","liaise","libel","liberalise","liberalize","liberate","license","lick","lie","lift","ligate","light","lighten","like","liken","limber","lime","limit","limp","line","linger","link","lionise","lionize","liquefy","liquidate","liquidise","liquidize","lisp","list","listen","litigate","litter","live","liven","load","loads","loaf","loan","loathe","lob","lobby","lobotomise","lobotomize","localise","localize","locate","lock","lodge","loft","log","loiter","loll","lollop","long","look","looks","loom","loop","loose","loosen","loot","lop","lope","lord","lose","lounge","lour","louse","love","low","lowball","lower","lubricate","luck","lug","lull","lumber","lump","lunch","lunge","lurch","lure","lurk","luxuriate","macerate","machine","madden","magic","magnetise","magnetize","magnify","mail","maim","mainline","mainstream","maintain","major","make","malfunction","malign","malinger","maltreat","man","manacle","manage","mandate","mangle","manhandle","manicure","manifest","manipulate","manoeuvre","mantle","manufacture","manure","map","mar","march","marginalise","marginalize","marinate","mark","market","maroon","marry","marshal","martyr","marvel","masculinise","masculinize","mash","mask","masquerade","mass","massacre","massage","master","mastermind","masticate","match","materialise","materialize","matriculate","matter","mature","maul","maunder","max","maximise","maximize","mean","meander","measure","mechanise","mechanize","medal","meddle","mediate","medicate","meditate","meet","meld","mellow","melt","memorialise","memorialize","memorise","memorize","menace","mend","mention","meow","mercerise","mercerize","merchandise","merge","merit","mesh","mesmerise","mesmerize","mess","message","metabolise","metabolize","metamorphose","mete","meter","methinks","mew","mewl","miaow","microblog","microchip","micromanage","microwave","micturate","migrate","militarise","militarize","militate","milk","mill","mime","mimic","mince","mind","mine","mingle","miniaturise","miniaturize","minimise","minimize","minister","minor","mint","minute","mirror","misapply","misappropriate","misbehave","miscalculate","miscast","misconceive","misconstrue","miscount","misdiagnose","misdial","misdirect","misfile","misfire","misgovern","mishandle","mishear","mishit","misinform","misinterpret","misjudge","miskey","mislay","mislead","mismanage","mismatch","misname","misplace","misplay","mispronounce","misquote","misread","misreport","misrepresent","miss","mission","misspell","misspend","mist","mistake","mistime","mistreat","mistrust","misunderstand","misuse","mitigate","mitre","mix","moan","mob","mobilise","mobilize","mock","mod","model","moderate","modernise","modernize","modify","modulate","moisten","moisturise","moisturize","mold","molder","mollify","mollycoddle","molt","monitor","monopolise","monopolize","moo","mooch","moon","moonlight","moonwalk","moor","moot","mop","mope","moralise","moralize","morph","mortar","mortgage","mortify","mosey","mosh","mothball","mother","motion","motivate","motor","mould","moulder","moult","mount","mourn","mouse","mouth","move","movies","mow","muck","muddle","muddy","muffle","mug","mulch","mull","multicast","multiply","multitask","mumble","mumbling","mummify","munch","murmur","murmuring","murmurings","muscle","muse","mushroom","muss","muster","mutate","mute","mutilate","mutiny","mutter","muzzle","mystify","nab","nag","nail","name","namecheck","nap","narrate","narrow","narrowcast","nasalise","nasalize","nationalise","nationalize","natter","naturalise","naturalize","nauseate","navigate","near","nearer","nearest","neaten","necessitate","neck","necklace","need","needle","negate","negative","neglect","negotiate","neigh","nerve","nest","nestle","net","nettle","network","neuter","neutralise","neutralize","nibble","nick","nickname","nitrify","nix","nobble","nod","nominalize","nominate","norm","normalise","normalize","nose","nosedive","nosh","notarise","notarize","notch","note","notice","notify","nourish","nudge","nuke","nullify","numb","number","nurse","nurture","nut","nuzzle","obey","obfuscate","object","objectify","oblige","obliterate","obscure","observe","obsess","obstruct","obtain","obtrude","obviate","occasion","occlude","occupy","occur","off","offend","offer","officiate","offload","offset","offshore","ogle","oil","okay","omit","ooze","open","operate","opine","oppose","oppress","opt","optimise","optimize","option","orbit","orchestrate","ordain","order","organise","organize","orient","orientate","originate","ornament","orphan","oscillate","ossify","ostracise","ostracize","oust","out","outbid","outclass","outdistance","outdo","outface","outfit","outflank","outfox","outgrow","outgun","outlast","outlaw","outline","outlive","outmaneuver","outmanoeuvre","outnumber","outpace","outperform","outplay","outpoint","output","outrage","outrank","outrun","outsell","outshine","outsmart","outsource","outstay","outstrip","outvote","outweigh","outwit","overachieve","overact","overawe","overbalance","overbook","overburden","overcharge","overcome","overcompensate","overcook","overdevelop","overdo","overdose","overdraw","overdub","overeat","overemphasize","overestimate","overexpose","overextend","overfeed","overflow","overfly","overgeneralise","overgeneralize","overgraze","overhang","overhaul","overhear","overheat","overindulge","overlap","overlay","overlie","overload","overlook","overpay","overplay","overpower","overprint","overproduce","overrate","overreach","overreact","override","overrule","overrun","oversee","oversell","overshadow","overshoot","oversimplify","oversleep","overspend","overstate","overstay","overstep","overstock","overstretch","overtake","overtax","overthrow","overtrain","overturn","overuse","overvalue","overwhelm","overwinter","overwork","overwrite","owe","own","oxidise","oxidize","oxygenate","pace","pacify","pack","package","packetise","packetize","pad","paddle","padlock","page","paginate","pailful","pain","paint","pair","pal","palatalise","palatalize","pale","pall","palliate","palm","palpate","palpitate","pamper","pan","pander","panel","panhandle","panic","pant","paper","parachute","parade","parallel","paralyse","paralyze","paraphrase","parboil","parcel","parch","pardon","pare","park","parlay","parley","parody","parole","parrot","parry","parse","part","partake","participate","particularise","particularize","partition","partner","party","pass","passivise","passivize","paste","pasteurise","pasteurize","pasture","pat","patch","patent","patrol","patronise","patronize","patter","pattern","pause","pave","paw","pawn","pay","peak","peal","pedal","peddle","pedestrianise","pedestrianize","peek","peel","peep","peer","peg","pelt","pen","penalise","penalize","pencil","pension","people","pep","pepper","perambulate","perceive","perch","percolate","perfect","perforate","perform","perfume","perish","perjure","perk","perm","permeate","permit","perpetrate","perpetuate","perplex","persecute","persevere","persist","personalise","personalize","personify","perspire","persuade","pertain","perturb","peruse","pervade","pervert","pester","pet","peter","petition","petrify","phase","philosophise","philosophize","phone","photocopy","photograph","photoshop","photosynthesise","photosynthesize","phrase","pick","picket","pickle","picnic","picture","picturise","picturize","piddle","piece","pierce","pig","pigeonhole","piggyback","pike","pile","pilfer","pill","pillage","pillory","pillow","pilot","pin","pinch","pine","ping","pinion","pink","pinpoint","pioneer","pip","pipe","pique","pirate","pirouette","pit","pitch","pity","pivot","pixelate","pixellate","placate","place","plagiarise","plagiarize","plague","plait","plan","plane","plant","plaster","plasticise","plasticize","plate","plateau","play","plead","please","pledge","plight","plod","plonk","plop","plot","plough","pluck","plug","plumb","plummet","plump","plunder","plunge","plunk","pluralise","pluralize","ply","poach","pocket","point","poise","poison","poke","polarise","polarize","pole","poleax","poleaxe","police","polish","politicise","politicize","poll","pollard","pollinate","pollute","polymerise","polymerize","ponce","ponder","pong","pontificate","pony","pooh","pool","pootle","pop","popularise","popularize","populate","pore","port","portend","portion","portray","pose","posit","position","possess","posset","post","postmark","postpone","postulate","posture","pot","potter","pounce","pound","pour","pout","powder","power","practice","practise","praise","praises","prance","prang","prate","prattle","pray","preach","precede","precipitate","precis","preclude","predate","predecease","predetermine","predicate","predict","predispose","predominate","preen","preface","prefer","prefigure","prefix","preheat","prejudge","prejudice","preload","premaster","premiere","preoccupy","prep","prepare","prepone","preregister","presage","prescind","prescribe","preselect","presell","present","preserve","preset","preside","press","pressure","pressurise","pressurize","presume","presuppose","pretend","pretest","prettify","prevail","prevaricate","prevent","preview","prey","price","prickle","pride","prime","primp","print","prioritise","prioritize","prise","privatise","privatize","privilege","prize","probate","probe","proceed","process","proclaim","procrastinate","procreate","proctor","procure","prod","produce","profane","profess","professionalise","professionalize","proffer","profile","profit","program","programme","progress","prohibit","project","proliferate","prolong","promenade","promise","promote","prompt","promulgate","pronounce","proof","proofread","prop","propagandise","propagandize","propagate","propel","prophesy","propitiate","propose","proposition","propound","proscribe","prosecute","proselytise","proselytize","prospect","prosper","prostrate","protect","protest","protrude","prove","provide","provision","provoke","prowl","prune","pry","psych","psychoanalyse","publicise","publicize","publish","pucker","puff","pull","pullulate","pulp","pulsate","pulse","pulverise","pulverize","pummel","pump","pun","punch","punctuate","puncture","punish","punt","pupate","purchase","purge","purify","purl","purloin","purport","purr","purse","pursue","purvey","push","pussyfoot","put","putrefy","putt","putter","puzzle","quack","quadruple","quaff","quail","quake","qualify","quantify","quarantine","quarrel","quarry","quarter","quarterback","quash","quaver","quell","quench","query","quest","question","queue","quibble","quicken","quiet","quieten","quintuple","quip","quirk","quit","quiver","quiz","quote","quoth","rabbit","race","rack","radiate","radicalise","radicalize","radio","raffle","rag","rage","raid","rail","railroad","rain","raise","rake","rally","ram","ramble","ramp","rampage","randomise","randomize","range","rank","rankle","ransack","ransom","rant","rap","rappel","rasp","rasterise","rasterize","rat","ratchet","rate","ratify","ration","rationalise","rationalize","rattle","ravage","rave","ravel","ravish","raze","razz","reach","reacquaint","react","reactivate","read","readdress","readies","readjust","readmit","ready","reaffirm","realign","realise","realize","reallocate","ream","reanimate","reap","reappear","reapply","reappoint","reappraise","rear","rearm","rearrange","reason","reassemble","reassert","reassess","reassign","reassure","reawaken","rebel","reboot","reborn","rebound","rebrand","rebuff","rebuild","rebuke","rebut","recall","recant","recap","recapitulate","recapture","recast","recede","receive","recess","recharge","reciprocate","recite","reckon","reclaim","reclassify","recline","recognise","recognize","recoil","recollect","recommence","recommend","recompense","reconcile","recondition","reconfigure","reconfirm","reconnect","reconnoitre","reconquer","reconsider","reconstitute","reconstruct","reconvene","record","recount","recoup","recover","recreate","recrudesce","recruit","rectify","recuperate","recur","recycle","redact","redden","redecorate","redeem","redefine","redeploy","redesign","redevelop","redial","redirect","rediscover","redistribute","redistrict","redo","redouble","redound","redraft","redraw","redress","reduce","reduplicate","reef","reek","reel","ref","refer","referee","reference","refill","refinance","refine","refit","reflate","reflect","refloat","refocus","reform","reformat","reformulate","refract","refrain","refresh","refrigerate","refuel","refund","refurbish","refuse","refute","regain","regale","regard","regenerate","register","regress","regret","regroup","regularise","regularize","regulate","regurgitate","rehabilitate","rehash","rehear","rehearse","reheat","rehome","rehouse","reign","reignite","reimburse","rein","reincarnate","reinforce","reinstate","reinterpret","reintroduce","reinvent","reinvest","reinvigorate","reissue","reiterate","reject","rejig","rejigger","rejoice","rejoin","rejuvenate","rekindle","relapse","relate","relaunch","relax","relay","release","relegate","relent","relieve","relinquish","relish","relive","reload","relocate","rely","remain","remainder","remake","remand","remap","remark","remarry","remaster","remediate","remedy","remember","remind","reminisce","remit","remix","remodel","remonstrate","remortgage","remould","remount","remove","remunerate","rename","rend","render","rendezvous","renege","renew","renounce","renovate","rent","reoccur","reoffend","reopen","reorder","reorganise","reorganize","reorient","repackage","repair","repatriate","repay","repeal","repeat","repel","repent","rephrase","replace","replay","replenish","replicate","reply","report","repose","repossess","represent","repress","reprieve","reprimand","reprint","reproach","reprocess","reproduce","reprove","repudiate","repulse","repurpose","request","require","requisition","requite","rerun","reschedule","rescind","rescue","research","researches","resect","resell","resemble","resent","reserve","reset","resettle","reshape","reshuffle","reside","resign","resist","resit","resize","reskill","resolve","resonate","resort","resound","resource","respect","respire","respond","respray","rest","restart","restate","restock","restore","restrain","restrict","restring","restructure","result","resume","resupply","resurface","resurrect","resuscitate","retail","retain","retake","retaliate","retch","retell","retest","rethink","retire","retool","retort","retouch","retrace","retract","retrain","retreat","retrench","retrieve","retrofit","retry","return","reunify","reunite","reuse","rev","revalue","revamp","reveal","revel","revenge","reverberate","revere","reverse","revert","review","revile","revise","revisit","revitalise","revitalize","revive","revivify","revoke","revolt","revolutionise","revolutionize","revolve","reward","rewind","rewire","reword","rework","rewrite","rhapsodise","rhapsodize","rhyme","rib","rick","ricochet","rid","riddle","ride","ridge","ridicule","riffle","rifle","rig","right","rightsize","rile","rim","ring","rinse","riot","rip","ripen","riposte","ripple","rise","risk","ritualise","ritualize","rival","rivet","roam","roar","roast","rob","robe","rock","rocket","roger","roll","romance","romanticise","romanticize","romp","roof","room","roost","root","rope","rosin","roster","rot","rotate","rouge","rough","roughen","roughhouse","round","rouse","roust","rout","route","rove","row","rub","rubberneck","rubbish","ruck","rue","ruffle","ruin","ruins","rule","rumble","ruminate","rummage","rumor","rumour","rumple","run","rupture","rush","rust","rustle","sabotage","sack","sacrifice","sadden","saddle","safeguard","sag","sail","salaam","salivate","sally","salt","salute","salvage","salve","sample","sanctify","sanction","sand","sandbag","sandblast","sandpaper","sandwich","sanitise","sanitize","sap","sashay","sass","sate","satiate","satirise","satirize","satisfy","saturate","saunter","savage","save","savor","savour","saw","say","scald","scale","scallop","scalp","scamper","scan","scandalise","scandalize","scapegoat","scar","scare","scarf","scarify","scarper","scatter","scattering","scavenge","scent","schedule","schematise","schematize","scheme","schlep","schlepp","schmooze","school","schtup","schuss","scoff","scold","scoop","scoot","scope","scorch","score","scorn","scotch","scour","scourge","scout","scowl","scrabble","scram","scramble","scrap","scrape","scratch","scrawl","scream","screech","screen","screw","scribble","scrimp","script","scroll","scrounge","scrub","scrummage","scrunch","scruple","scrutinise","scrutinize","scud","scuff","scuffle","scull","sculpt","scupper","scurry","scuttle","scythe","seal","sealift","sear","search","season","seat","secede","seclude","second","secrete","section","secularise","secularize","secure","sedate","see","seed","seek","seep","seethe","segment","segregate","segue","seize","select","sell","sellotape","semaphore","send","sensationalise","sensationalize","sense","sensitise","sensitize","sentence","sentimentalise","sentimentalize","separate","sequence","sequester","sequestrate","serenade","serialise","serialize","sermonise","sermonize","serve","service","set","settle","sever","sew","shack","shackle","shade","shadow","shaft","shake","shalt","sham","shamble","shame","shampoo","shanghai","shape","share","sharpen","shatter","shave","shear","sheathe","shed","sheer","shell","shellac","shelter","shelve","shepherd","shield","shift","shimmer","shimmy","shin","shine","shinny","ship","shipwreck","shirk","shiver","shock","shoe","shoehorn","shoo","shoot","shop","shoplift","shore","short","shorten","shortlist","shoulder","shout","shove","shovel","show","showboat","showcase","shower","shred","shriek","shrill","shrink","shrivel","shroom","shroud","shrug","shuck","shudder","shuffle","shun","shunt","shush","shut","shuttle","shy","sic","sick","sicken","side","sideline","sidestep","sideswipe","sidetrack","sidle","sieve","sift","sigh","sight","sightsee","sign","signal","signify","signpost","silence","silhouette","silt","silver","simmer","simper","simplify","simulate","simulcast","sin","sing","singe","single","sink","sip","siphon","sire","sit","site","situate","size","sizzle","skate","skateboard","skedaddle","sketch","skew","skewer","ski","skid","skim","skimp","skin","skip","skipper","skirmish","skirt","skitter","skive","skivvy","skulk","sky","skyjack","skyrocket","slack","slacken","slake","slam","slander","slap","slash","slate","slather","sledge","sleek","sleep","sleepwalk","sleet","slew","slice","slick","slide","slight","slim","sling","slink","slip","slit","slither","slob","slobber","slog","slop","slope","slosh","slot","slouch","slough","slow","slug","sluice","slum","slumber","slump","slur","slurp","smart","smarten","smash","smear","smell","smelt","smile","smirk","smite","smoke","smooch","smoodge","smooth","smother","smoulder","smudge","smuggle","snack","snaffle","snag","snaggle","snake","snap","snare","snarf","snarl","sneak","sneer","sneeze","snicker","sniff","sniffle","snip","snipe","snitch","snivel","snooker","snoop","snooper","snooze","snore","snorkel","snort","snow","snowball","snowplough","snowplow","snub","snuffle","snuffling","snuggle","soak","soap","soar","sober","socialise","socialize","sock","sod","soften","soil","sojourn","solace","solder","soldier","sole","solemnise","solemnize","solicit","solidify","soliloquize","solve","somersault","soothe","sorrow","sort","sough","sound","soundproof","soup","sour","source","sow","space","span","spangle","spar","spare","spark","sparkle","spatter","spattering","spawn","spay","speak","spear","spearhead","spec","specialise","specialize","specify","spectacles","spectate","speculate","speed","spell","spellcheck","spend","spew","spice","spiff","spike","spill","spin","spiral","spirit","spit","spite","splash","splatter","splay","splice","splinter","split","splosh","splurge","splutter","spoil","sponge","sponsor","spoof","spook","spool","spoon","sport","sports","spot","spotlight","spout","sprain","sprawl","spray","spread","spring","springboard","sprinkle","sprint","spritz","sprout","spruce","spur","spurn","spurt","sputter","spy","squabble","squall","squander","square","squash","squat","squawk","squeak","squeal","squeeze","squelch","squint","squirm","squirrel","squirt","squish","stab","stabilise","stabilize","stable","stables","stack","staff","stage","stagger","stagnate","stain","stake","stalk","stall","stammer","stamp","stampede","stanch","stand","standardise","standardize","staple","star","starch","stare","start","startle","starve","stash","state","statement","station","staunch","stave","stay","steady","steal","steam","steamroller","steel","steep","steepen","steer","stem","stencil","step","stereotype","sterilise","sterilize","stew","stick","stickybeak","stiff","stiffen","stifle","stigmatise","stigmatize","still","stimulate","sting","stinger","stink","stint","stipple","stipulate","stir","stitch","stock","stockpile","stoke","stomach","stomp","stone","stonewall","stoop","stop","stopper","store","storm","storyboard","stow","straddle","strafe","straggle","straighten","strain","strand","strangle","strap","stratify","stravage","stravaig","stray","streak","stream","streamline","strengthen","stress","stretch","stretcher","strew","stride","strike","string","strip","strive","stroll","structure","struggle","strum","strut","stub","stud","study","stuff","stultify","stumble","stump","stun","stunt","stupefy","stutter","style","stymie","sub","subcontract","subdivide","subdue","subedit","subject","sublet","sublimate","submerge","submit","subordinate","suborn","subpoena","subscribe","subside","subsidise","subsidize","subsist","substantiate","substitute","subsume","subtend","subtitle","subtract","subvert","succeed","succor","succour","succumb","suckle","suction","sue","suffer","suffice","suffocate","suffuse","sugar","suggest","suit","sulk","sulks","sully","sum","summarise","summarize","summon","summons","sun","sunbathe","sunder","sunset","sup","superimpose","superintend","superpose","supersede","supersize","supersized","supervene","supervise","supplant","supplement","supply","support","suppose","suppress","suppurate","surcharge","surf","surface","surge","surmise","surmount","surpass","surprise","surrender","surround","survey","survive","suspect","suspend","suspenders","suss","sustain","suture","swab","swaddle","swagger","swamp","swan","swank","swap","swarm","swat","swath","swathe","sway","swear","sweat","sweep","sweeps","sweeten","swell","swelter","swerve","swig","swill","swim","swindle","swing","swipe","swirl","swish","switch","swivel","swoon","swoop","swoosh","swot","symbolise","symbolize","sympathise","sympathize","symptomize","synchronise","synchronize","syndicate","synthesise","synthesize","syringe","systematise","systematize","tab","table","tabulate","tack","tackle","tag","tail","tailgate","tailor","taint","take","talk","tally","tame","tamp","tamper","tan","tangle","tango","tank","tankful","tantalise","tantalize","tap","tape","taper","tar","target","tarmac","tarnish","tarry","tart","task","taste","tattle","tattoo","taunt","tauten","tax","taxi","taxicab","teach","team","tear","tease","tee","teem","teeter","teethe","telecast","telecommute","teleconference","telegraph","telemeter","teleoperate","telephone","teleport","telescope","televise","telex","tell","telnet","temp","temper","temporise","temporize","tempt","tenant","tend","tender","tenderise","tenderize","tense","tension","tergiversate","term","terminate","terraform","terrify","terrorise","terrorize","test","testify","tether","text","thank","thatch","thaw","theorise","theorize","thicken","thin","think","thirst","thrash","thread","threaten","thresh","thrill","thrive","throb","throbbing","throng","throttle","throw","thud","thumb","thump","thunder","thwack","thwart","tick","ticket","tickle","tide","tidy","tie","tighten","tile","till","tilt","time","timetable","tinge","tingle","tingling","tinker","tinkling","tint","tip","tippex","tipple","tiptoe","tire","titillate","titivate","title","titrate","titter","toady","toast","toboggan","toddle","toe","tog","toggle","toil","tolerate","toll","tone","tongue","tonify","tool","toot","tootle","top","topple","torch","torment","torpedo","toss","tot","total","tote","totter","touch","tough","toughen","tour","tousle","tout","tow","towel","tower","toy","trace","track","trade","traduce","traffic","trail","train","traipse","trammel","trample","trampoline","tranquilize","tranquillize","transact","transcend","transcribe","transfer","transfigure","transfix","transform","transfuse","transgress","transit","translate","transliterate","transmit","transmogrify","transmute","transpire","transplant","transport","transpose","trap","trash","traumatise","traumatize","travel","traverse","trawl","tread","treasure","treat","treble","trek","tremble","trembling","trepan","trespass","trial","trick","trickle","trifle","trigger","trill","trim","trip","triple","triumph","trivialise","trivialize","troll","tromp","troop","trot","trouble","troubleshoot","trounce","trouser","truant","truck","trudge","trump","trumpet","truncate","trundle","truss","trust","try","tuck","tug","tugboat","tumble","tune","tunnel","turbocharge","turf","turn","tussle","tut","tutor","twang","tweak","tweet","twiddle","twig","twin","twine","twinkle","twirl","twist","twitch","twitter","twittering","type","typecast","typeset","typify","tyrannise","tyrannize","ulcerate","ululate","ump","umpire","unbalance","unban","unbend","unblock","unbuckle","unburden","unbutton","uncoil","uncork","uncouple","uncover","uncurl","undelete","underachieve","underbid","undercharge","undercook","undercut","underestimate","underestimation","underexpose","undergo","underlie","underline","undermine","underpay","underperform","underpin","underplay","underrate","underscore","undersell","undershoot","underspend","understand","understate","understudy","undertake","undervalue","underwrite","undo","undock","undress","undulate","unearth","unfasten","unfold","unfreeze","unfurl","unhand","unhinge","unhitch","unhook","unify","uninstall","unionise","unionize","unite","unlace","unlearn","unleash","unload","unlock","unloose","unloosen","unmask","unnerve","unpack","unpick","unplug","unravel","unroll","unsaddle","unscramble","unscrew","unseat","unsettle","unsubscribe","untangle","untie","unveil","unwind","unwrap","unzip","up","upbraid","upchange","upchuck","update","upend","upgrade","uphold","upholster","uplift","upload","uproot","upsell","upset","upshift","upskill","upstage","urge","use","usher","usurp","utilise","utilize","utter","vacate","vacation","vaccinate","vacillate","vacuum","valet","validate","value","vamoose","vandalise","vandalize","vanish","vanquish","vaporise","vaporize","varnish","vary","vault","veer","veg","vegetate","veil","vend","veneer","venerate","vent","ventilate","venture","verbalise","verbalize","verge","verify","versify","vest","vet","veto","vex","vibrate","victimise","victimize","vide","video","videotape","vie","view","viewing","vilify","vindicate","violate","visit","visualise","visualize","vitiate","vitrify","vocalize","voice","void","volley","volumise","volumize","volunteer","vote","vouch","vouchsafe","vow","voyage","vulgarise","vulgarize","waddle","wade","waffle","waft","wag","wage","wager","waggle","wail","wait","waive","wake","wakeboard","waken","walk","wall","wallop","wallow","wallpaper","waltz","wander","wane","wangle","want","warble","ward","warm","warn","warp","warrant","wash","wassail","waste","watch","water","waterproof","waterski","wave","waver","wax","waylay","weaken","wean","weaponise","weaponize","wear","weary","weasel","weather","weatherise","weatherize","weave","wed","wedge","weekend","weep","weigh","weight","weird","welch","welcome","weld","well","welly","wend","westernise","westernize","wet","whack","wheedle","wheel","wheeze","whelp","whet","whiff","while","whilst","whimper","whine","whinge","whinny","whip","whirl","whirr","whirring","whisk","whisper","whispering","whistle","whiten","whitewash","whittle","whoop","whoosh","whup","wick","widen","widow","wield","wig","wiggle","wildcat","will","wilt","wimp","win","wince","winch","wind","winds","windsurf","wine","wing","wink","winkle","winnow","winter","wipe","wire","wiretap","wise","wisecrack","wish","withdraw","wither","withhold","withstand","witness","witter","wobble","wolf","wonder","woo","woof","word","work","worm","worry","worsen","worship","worst","wound","wow","wowee","wrangle","wrap","wreak","wreathe","wreck","wrench","wrest","wrestle","wriggle","wring","wrinkle","writ","write","writhe","wrong","wrought","xerox","yack","yak","yap","yaw","yawn","yearn","yell","yellow","yelp","yield","yodel","yoke","yomp","yowl","yuppify","zap","zero","zigzag","zing","zip","zone","zoom"],lve={adjective:tve,adverb:nve,conjunction:rve,interjection:ave,noun:ive,preposition:ove,verb:sve},uve=lve,cve={airline:ghe,animal:Ohe,app:$he,cell_phone:zhe,color:jhe,commerce:Jhe,company:ome,database:ume,date:pme,finance:kme,hacker:Ome,internet:$me,location:i1e,lorem:l1e,metadata:c1e,music:h1e,person:P1e,phone_number:$1e,science:W1e,team:U1e,vehicle:eve,word:uve},dve=cve,fve=Object.defineProperty,pve=(e,t,n)=>t in e?fve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yn=(e,t,n)=>(pve(e,typeof t!="symbol"?t+"":t,n),n),An=class extends Error{};function hve(e){let t=Object.getPrototypeOf(e);do{for(let n of Object.getOwnPropertyNames(t))typeof e[n]=="function"&&n!=="constructor"&&(e[n]=e[n].bind(e));t=Object.getPrototypeOf(t)}while(t!==Object.prototype)}var t0=class{constructor(t){this.faker=t,hve(this)}},Oa=class extends t0{constructor(t){super(t),this.faker=t}},oY=(e=>(e.Narrowbody="narrowbody",e.Regional="regional",e.Widebody="widebody",e))(oY||{}),mve=["0","1","2","3","4","5","6","7","8","9"],vve=["0","O","1","I","L"],gve={regional:20,narrowbody:35,widebody:60},yve={regional:["A","B","C","D"],narrowbody:["A","B","C","D","E","F"],widebody:["A","B","C","D","E","F","G","H","J","K"]},bve=class extends Oa{airport(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airport)}airline(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airline)}airplane(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airplane)}recordLocator(t={}){let{allowNumerics:n=!1,allowVisuallySimilarCharacters:r=!1}=t,a=[];return n||a.push(...mve),r||a.push(...vve),this.faker.string.alphanumeric({length:6,casing:"upper",exclude:a})}seat(t={}){let{aircraftType:n="narrowbody"}=t,r=gve[n],a=yve[n],i=this.faker.number.int({min:1,max:r}),o=this.faker.helpers.arrayElement(a);return`${i}${o}`}aircraftType(){return this.faker.helpers.enumValue(oY)}flightNumber(t={}){let{length:n={min:1,max:4},addLeadingZeros:r=!1}=t,a=this.faker.string.numeric({length:n,allowLeadingZeros:!1});return r?a.padStart(4,"0"):a}},sY=(e=>(e.SRGB="sRGB",e.DisplayP3="display-p3",e.REC2020="rec2020",e.A98RGB="a98-rgb",e.ProphotoRGB="prophoto-rgb",e))(sY||{}),lY=(e=>(e.RGB="rgb",e.RGBA="rgba",e.HSL="hsl",e.HSLA="hsla",e.HWB="hwb",e.CMYK="cmyk",e.LAB="lab",e.LCH="lch",e.COLOR="color",e))(lY||{});function Fve(e,t){let{prefix:n,casing:r}=t;switch(r){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break}return n&&(e=n+e),e}function uY(e){return e.map(t=>{if(t%1!==0){let n=new ArrayBuffer(4);new DataView(n).setFloat32(0,t);let r=new Uint8Array(n);return uY([...r]).replace(/ /g,"")}return(t>>>0).toString(2).padStart(8,"0")}).join(" ")}function Cve(e,t="rgb",n="sRGB"){let r=a=>Math.round(a*100);switch(t){case"rgba":return`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${e[3]})`;case"color":return`color(${n} ${e[0]} ${e[1]} ${e[2]})`;case"cmyk":return`cmyk(${r(e[0])}%, ${r(e[1])}%, ${r(e[2])}%, ${r(e[3])}%)`;case"hsl":return`hsl(${e[0]}deg ${r(e[1])}% ${r(e[2])}%)`;case"hsla":return`hsl(${e[0]}deg ${r(e[1])}% ${r(e[2])}% / ${r(e[3])})`;case"hwb":return`hwb(${e[0]} ${r(e[1])}% ${r(e[2])}%)`;case"lab":return`lab(${r(e[0])}% ${e[1]} ${e[2]})`;case"lch":return`lch(${r(e[0])}% ${e[1]} ${e[2]})`;case"rgb":default:return`rgb(${e[0]}, ${e[1]}, ${e[2]})`}}function lp(e,t,n="rgb",r="sRGB"){switch(t){case"css":return Cve(e,n,r);case"binary":return uY(e);case"decimal":default:return e}}var wve=class extends Oa{human(){return this.faker.helpers.arrayElement(this.faker.definitions.color.human)}space(){return this.faker.helpers.arrayElement(this.faker.definitions.color.space)}cssSupportedFunction(){return this.faker.helpers.enumValue(lY)}cssSupportedSpace(){return this.faker.helpers.enumValue(sY)}rgb(t={}){let{format:n="hex",includeAlpha:r=!1,prefix:a="#",casing:i="lower"}=t,o,s="rgb";return n==="hex"?(o=this.faker.string.hexadecimal({length:r?8:6,prefix:""}),o=Fve(o,{prefix:a,casing:i}),o):(o=Array.from({length:3},()=>this.faker.number.int(255)),r&&(o.push(this.faker.number.float({multipleOf:.01})),s="rgba"),lp(o,n,s))}cmyk(t){let n=Array.from({length:4},()=>this.faker.number.float({multipleOf:.01}));return lp(n,(t==null?void 0:t.format)||"decimal","cmyk")}hsl(t){let n=[this.faker.number.int(360)];for(let r=0;r<(t!=null&&t.includeAlpha?3:2);r++)n.push(this.faker.number.float({multipleOf:.01}));return lp(n,(t==null?void 0:t.format)||"decimal",t!=null&&t.includeAlpha?"hsla":"hsl")}hwb(t){let n=[this.faker.number.int(360)];for(let r=0;r<2;r++)n.push(this.faker.number.float({multipleOf:.01}));return lp(n,(t==null?void 0:t.format)||"decimal","hwb")}lab(t){let n=[this.faker.number.float({multipleOf:1e-6})];for(let r=0;r<2;r++)n.push(this.faker.number.float({min:-100,max:100,multipleOf:1e-4}));return lp(n,(t==null?void 0:t.format)||"decimal","lab")}lch(t){let n=[this.faker.number.float({multipleOf:1e-6})];for(let r=0;r<2;r++)n.push(this.faker.number.float({max:230,multipleOf:.1}));return lp(n,(t==null?void 0:t.format)||"decimal","lch")}colorByCSSColorSpace(t){(t==null?void 0:t.format)==="css"&&!(t!=null&&t.space)&&(t=Je(ce({},t),{space:"sRGB"}));let n=Array.from({length:3},()=>this.faker.number.float({multipleOf:1e-4}));return lp(n,(t==null?void 0:t.format)||"decimal","color",t==null?void 0:t.space)}},H8=()=>{throw new An("You cannot edit the locale data on the faker instance")};function Eve(e){let t={};return new Proxy(e,{has(){return!0},get(n,r){return typeof r=="symbol"||r==="nodeType"?n[r]:r in t?t[r]:t[r]=Sve(r,n[r])},set:H8,deleteProperty:H8})}function z8(e,...t){if(e===null)throw new An(`The locale data for '${t.join(".")}' aren't applicable to this locale. If you think this is a bug, please report it at: https://github.com/faker-js/faker`);if(e===void 0)throw new An(`The locale data for '${t.join(".")}' are missing in this locale. Please contribute the missing data to the project or use a locale/Faker instance that has these data. @@ -189,9 +189,7 @@ Try adjusting maxTime or maxRetries parameters for faker.helpers.unique().`)}fun background-color: #303133; z-index: 99999;color: #fff; box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px; - `;A.style.cssText=T,A.innerHTML=x==null?void 0:x.value,O.onmousemove=$=>{let z=$.pageX-10,ee=$.pageY+15;A.style.top=ee+"px",A.style.left=z+"px"}};l==null||l.on("mouseover",x=>{(N==="x"&&x.componentType=="xAxis"||N==="y"&&x.componentType=="yAxis"||N.toString()==="true"&&x.componentType.includes("Axis"))&&I(x)}),l==null||l.on("mouseout",()=>{O.onmousemove=null,A.style.cssText="display:none"})}function M(){return{name:n,value:i}}(0,In.watch)(()=>r.value,N=>{l&&(l.dispose(),f(N),p(u.value,...c.value))});function L(){var N,O;l&&mw((O=(N=u.value)==null?void 0:N.delay)!=null?O:300).then(()=>{m()})}return(0,In.onMounted)(()=>{(0,In.nextTick)(()=>{var N,O,A,I,x;if((N=u.value)!=null&&N.container){let T=(A=(O=u.value)==null?void 0:O.delay)!=null?A:40;bGe(u.value.container,m,{time:T}),s=gGe(["body","html","document"],Array.of(u.value.container).flat()),s&&window.addEventListener("resize",L)}else o=(x=(I=u.value)==null?void 0:I.resize)!=null?x:!0,o&&window.addEventListener("resize",L)})}),P6(()=>{var N,O,A;!((N=u.value)!=null&&N.container)&&o&&window.removeEventListener("resize",L),(O=u.value)!=null&&O.container&&s&&window.removeEventListener("resize",L),l&&(l.dispose(),l=null,(A=document.querySelector(`#${a}`))==null||A.remove())}),{echarts:i,setOptions:p,getInstance:w,showLoading:g,hideLoading:v,clear:h,resize:m,getGlobalProperties:M,getDom:E,getWidth:b,getHeight:F,getOption:S,appendData:C,getDataURL:D,getConnectedDataURL:_,addTooltip:k}};function FGe(e){return`${e}-${new Date().getTime()}-${Math.random().toString(36).substr(2,9)}`}function SMt(e=!0){function t(a,i){if(!_a)return;let o=(Array.isArray(a)?a:[a]).map(s=>(Array.isArray(s.src)?s.src:[s.src]).map(l=>{var f;let u=i==="css"?`link[href="${l}"]`:`script[src="${l}"]`,c=document.querySelector(u),d;return c?(d=c.cloneNode(!1),c.replaceWith(d)):(i==="css"?(d=document.createElement("link"),d.rel="stylesheet",d.href=l):(d=document.createElement("script"),d.type="text/javascript",d.src=l),d.id=FGe(i==="css"?"pure-utils-css":"pure-utils-script"),(s.element instanceof HTMLElement?s.element:document[(f=s.element)!=null?f:i==="css"?"head":"body"]).appendChild(d)),new Promise((p,h)=>{d.onload=()=>p({src:l,message:"加载成功"}),d.onerror=()=>h({src:l,message:"加载失败"})})})).flat();return Promise.all(o)}function n(a){return t(a,"css")}function r(a){return t(a,"script")}return P6(()=>{_a&&e&&document.querySelectorAll('link[id^="pure-utils-css"], script[id^="pure-utils-script"]').forEach(a=>a.remove())}),{loadCss:n,loadScript:r}}var CGe=Symbol("watermark-dom"),DMt=(e=(0,In.ref)(_a?document.body:""))=>{let t=CGe.toString(),n=(0,In.shallowRef)(),r=f=>new Promise((p,h)=>{_a||h();let m=new Image;new URL(f,window.location.href).origin!==window.location.origin&&(m.crossOrigin="anonymous",m.referrerPolicy="no-referrer"),m.onload=()=>p(m),m.onerror=h,m.src=f}),a=()=>{let f=(0,In.unref)(n);n.value=void 0;let p=(0,In.unref)(e);p&&f&&p.removeChild(f)};function i(f,p){var F,w,E,S,D,_;if(!_a)return Promise.resolve("");let h=document.createElement("canvas"),m=(F=p==null?void 0:p.width)!=null?F:250,g=(w=p==null?void 0:p.height)!=null?w:100;h.width=m,h.height=g;let v=h.getContext("2d");if(!v)return Promise.resolve("");let C=((E=p==null?void 0:p.rotate)!=null?E:-10)*Math.PI/180;if(v.translate(m/2,g/2),v.rotate(C),p!=null&&p.globalAlpha&&(v.globalAlpha=p.globalAlpha),p==null?void 0:p.shadowConfig){let{shadowConfig:k}=p;v.shadowBlur=k[0],v.shadowColor=(S=k==null?void 0:k[1])!=null?S:"#000000",v.shadowOffsetX=(D=k==null?void 0:k[2])!=null?D:0,v.shadowOffsetY=(_=k==null?void 0:k[3])!=null?_:0}let b=()=>{var O,A,I,x,T,$;v.font=(O=p==null?void 0:p.font)!=null?O:"normal 16px Arial, 'Courier New', 'Droid Sans', sans-serif";let k=f.includes((A=p==null?void 0:p.wrap)!=null?A:"、")?"center":"left",M=(I=p==null?void 0:p.textAlign)!=null?I:k;if(v.textAlign=M,v.textBaseline="middle",(p==null?void 0:p.gradient)&&Tf(p==null?void 0:p.gradient)){let z=v.createLinearGradient(0,0,m,0);p==null||p.gradient.forEach(ee=>{z.addColorStop(ee.value,ee.color)}),v.fillStyle=z}else v.fillStyle=(x=p==null?void 0:p.color)!=null?x:"rgba(128, 128, 128, 0.3)";let L=f.split((T=p==null?void 0:p.wrap)!=null?T:"、"),P=($=p==null?void 0:p.lineHeight)!=null?$:20,N=-(L.length*P/2)+P/2;L.forEach((z,ee)=>{let Q;M==="left"||M==="start"?Q=-m/4:M==="right"||M==="end"?Q=m/4:Q=0,v.fillText(z,Q,N+ee*P)}),v.rotate(-C),v.translate(-m/2,-g/2)};return new Promise(k=>{let M=p==null?void 0:p.image;M?r(M).then(L=>{var O,A;let P=(O=p==null?void 0:p.imageWidth)!=null?O:L.width,N=(A=p==null?void 0:p.imageHeight)!=null?A:L.height;v.drawImage(L,-P/2,-N/2,P,N),k(h.toDataURL("image/png"))}).catch(()=>{b(),k(h.toDataURL("image/png"))}):(b(),k(h.toDataURL("image/png")))})}function o(f={}){let p=(0,In.unref)(n);p&&(s8(f.width)&&(p.style.width=`${f.width}px`),s8(f.height)&&(p.style.height=`${f.height}px`),s8(f.str)&&i(f.str,f.attr).then(h=>{p.style.background=`url(${h}) left top repeat`}))}let s=R6(()=>{let f=(0,In.unref)(e);if(!f)return;let{clientHeight:p,clientWidth:h}=f;o({height:p,width:h})}),l=(f,p)=>{var C,b;if(!_a)return;if((0,In.unref)(n))return o({str:f,attr:p}),t;let h=(0,In.unref)(e),m=document.createElement("div");if(n.value=m,m.id=t,m.style.pointerEvents="none",m.style.top="0px",m.style.left="0px",m.style.position=h===document.body?"fixed":"absolute",m.style.zIndex=(C=p==null?void 0:p.zIndex)!=null?C:"100000",!h)return t;let{clientHeight:g,clientWidth:v}=h;return o({str:f,width:v,height:g,attr:p}),(b=h==null?void 0:h.style)!=null&&b.position||(h.style.position="relative"),h.appendChild(m),t};function u(f,{str:p,attr:h}){f[0].removedNodes[0]&&f[0].removedNodes[0].id===t&&(n.value=void 0,l(p,h))}function c(f,p){let h={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(m=>u(m,{str:f,attr:p})).observe((0,In.unref)(e),h)}function d(f,p){_a&&(l(f,p),window.addEventListener("resize",s),p!=null&&p.forever&&c(f,p),(0,In.getCurrentInstance)()&&a&&a())}return P6(()=>{_a&&window.removeEventListener("resize",s)}),{clear:a,setWatermark:d}};const wGe={width:24,height:24,body:''},qN={width:24,height:24,body:''},EGe={key:0,class:"flex items-center justify-between"},SGe=["id"],DGe=["onClick"],_Ge={key:1},kGe=he({name:"ReDialog",__name:"index",setup(e){const t=j({}),n=j(!1),r=B(()=>s=>{var l;return((l=s==null?void 0:s.footerButtons)==null?void 0:l.length)>0?s.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:u,index:c}})=>{const d=()=>gw(u,c,{command:"cancel"});u!=null&&u.beforeCancel&&Mc(u==null?void 0:u.beforeCancel)?u.beforeCancel(d,{options:u,index:c}):d()}},{label:"确定",type:"primary",text:!0,bg:!0,popconfirm:s==null?void 0:s.popconfirm,btnClick:({dialog:{options:u,index:c}})=>{u!=null&&u.sureBtnLoading&&(t.value[c]=Object.assign({},t.value[c],{loading:!0}));const d=()=>{u!=null&&u.sureBtnLoading&&(t.value[c].loading=!1)},f=()=>{d(),gw(u,c,{command:"sure"})};u!=null&&u.beforeSure&&Mc(u==null?void 0:u.beforeSure)?u.beforeSure(f,{options:u,index:c,closeLoading:d}):f()}}]}),a=B(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function i(s,l,u,c=!1){var d;if(c||(n.value=(d=l==null?void 0:l.fullscreen)!=null?d:!1),l!=null&&l[s]&&Mc(l==null?void 0:l[s]))return l==null?void 0:l[s]({options:l,index:u})}function o(s,l,u={command:"close"}){gw(s,l,u),i("close",s,l)}return(s,l)=>{const u=Bt("IconifyIconOffline"),c=Bt("el-button"),d=Bt("el-popconfirm"),f=Bt("el-dialog");return G(!0),le(St,null,bn(y(Mv),(p,h)=>(G(),Ye(f,un({key:h,ref_for:!0},p,{modelValue:p.visible,"onUpdate:modelValue":m=>p.visible=m,class:"pure-dialog",fullscreen:n.value?!0:!!(p!=null&&p.fullscreen),onClosed:m=>o(p,h),onOpened:m=>i("open",p,h),onOpenAutoFocus:m=>i("openAutoFocus",p,h),onCloseAutoFocus:m=>i("closeAutoFocus",p,h)}),us({default:Oe(()=>[(G(),Ye(on(p.contentRenderer({options:p,index:h})),un({ref_for:!0},p==null?void 0:p.props,{onClose:m=>o(p,h,m)}),null,16,["onClose"]))]),_:2},[p!=null&&p.fullscreenIcon||p!=null&&p.headerRenderer?{name:"header",fn:Oe(({close:m,titleId:g,titleClass:v})=>[p!=null&&p.fullscreenIcon?(G(),le("div",EGe,[be("span",{id:g,class:U(v)},dt(p==null?void 0:p.title),11,SGe),p!=null&&p.fullscreen?Ne("",!0):(G(),le("i",{key:0,class:U(a.value),onClick:()=>{n.value=!n.value,i("fullscreenCallBack",Je(ce({},p),{fullscreen:n.value}),h,!0)}},[ye(u,{class:"pure-dialog-svg",icon:p!=null&&p.fullscreen||n.value?y(qN):y(wGe)},null,8,["icon"])],10,DGe))])):(G(),Ye(on(p==null?void 0:p.headerRenderer({close:m,titleId:g,titleClass:v})),{key:1}))]),key:"0"}:void 0,p!=null&&p.hideFooter?void 0:{name:"footer",fn:Oe(()=>[p!=null&&p.footerRenderer?(G(),Ye(on(p==null?void 0:p.footerRenderer({options:p,index:h})),{key:0})):(G(),le("span",_Ge,[(G(!0),le(St,null,bn(r.value(p),(m,g)=>{var v;return G(),le(St,{key:g},[m.popconfirm?(G(),Ye(d,un({key:0,ref_for:!0},m.popconfirm,{onConfirm:C=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:g}})}),{reference:Oe(()=>[ye(c,un({ref_for:!0},m),{default:Oe(()=>[Fn(dt(m==null?void 0:m.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(G(),Ye(c,un({key:1,ref_for:!0},m,{loading:g===1&&((v=t.value[h])==null?void 0:v.loading),onClick:C=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:g}})}),{default:Oe(()=>[Fn(dt(m==null?void 0:m.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function I6(e){return a0()?(i0(e),!0):!1}function Ka(e){return typeof e=="function"?e():y(e)}const N6=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const AGe=e=>typeof e!="undefined",xGe=Object.prototype.toString,TGe=e=>xGe.call(e)==="[object Object]",z1=()=>{},MGe=BGe();function BGe(){var e,t;return N6&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function LGe(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}function OGe(e,t={}){let n,r,a=z1;const i=s=>{clearTimeout(s),a(),a=z1};return s=>{const l=Ka(e),u=Ka(t.maxWait);return n&&i(n),l<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((c,d)=>{a=t.rejectOnCancel?d:c,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,c(s())},l)})}}function RGe(e,t=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(t?()=>a(n):r,e)})}function vne(e){return e}function gne(e){return Kt()}function _Mt(e,t=200,n={}){return LGe(OGe(t,n),e)}function PGe(e,t=!0,n){gne()?$t(e,n):t?e():Re(e)}function kMt(e,t){gne()&&Lr(e,t)}function Ub(e,t,n={}){const{immediate:r=!0}=n,a=j(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function s(){a.value=!1,o()}function l(...u){o(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,e(...u)},Ka(t))}return r&&(a.value=!0,N6&&l()),I6(s),{isPending:Nf(a),start:l,stop:s}}const RM=N6?window:void 0,IGe=N6?window.document:void 0;function rh(e){var t;const n=Ka(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xl(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=RM):[t,n,r,a]=e,!t)return z1;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),l=Ve(()=>[rh(t),Ka(a)],([c,d])=>{if(o(),!c)return;const f=TGe(d)?ce({},d):d;i.push(...n.flatMap(p=>r.map(h=>s(c,p,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return I6(u),u}let YN=!1;function AMt(e,t,n={}){const{window:r=RM,ignore:a=[],capture:i=!0,detectIframe:o=!1}=n;if(!r)return z1;MGe&&!YN&&(YN=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",z1)),r.document.documentElement.addEventListener("click",z1));let s=!0;const l=p=>Ka(a).some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===p.target||p.composedPath().includes(m));{const m=rh(h);return m&&(p.target===m||p.composedPath().includes(m))}}),u=p=>{const h=rh(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(s=!l(p)),!s){s=!0;return}t(p)}};let c=!1;const d=[xl(r,"click",p=>{c||(c=!0,setTimeout(()=>{c=!1},0),u(p))},{passive:!0,capture:i}),xl(r,"pointerdown",p=>{const h=rh(e);s=!l(p)&&!!(h&&!p.composedPath().includes(h))},{passive:!0}),o&&xl(r,"blur",p=>{setTimeout(()=>{var h;const m=rh(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>d.forEach(p=>p())}function NGe(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xMt(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=RM,eventName:i="keydown",passive:o=!1,dedupe:s=!1}=r,l=NGe(t);return xl(a,i,c=>{c.repeat&&Ka(s)||l(c)&&n(c)},o)}function TMt(e,t=null){const n=Kt();let r=()=>{};const a=Q7((i,o)=>(r=o,{get(){var s,l;return i(),(l=(s=n==null?void 0:n.proxy)==null?void 0:s.$refs[e])!=null?l:t},set(){}}));return PGe(r),Qs(r),a}function $Ge(){const e=j(!1),t=Kt();return t&&$t(()=>{e.value=!0},t),e}function VGe(e){const t=$Ge();return B(()=>(t.value,!!e()))}function HGe(e){return JSON.parse(JSON.stringify(e))}const JN=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function MMt(e,t={}){const{document:n=IGe,autoExit:r=!1}=t,a=B(()=>{var v;return(v=rh(e))!=null?v:n==null?void 0:n.querySelector("html")}),i=j(!1),o=B(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>n&&v in n||a.value&&v in a.value)),s=B(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>n&&v in n||a.value&&v in a.value)),l=B(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>n&&v in n||a.value&&v in a.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>n&&v in n),c=VGe(()=>a.value&&n&&o.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>u?(n==null?void 0:n[u])===a.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const v=a.value;if((v==null?void 0:v[l.value])!=null)return!!v[l.value]}}return!1};function p(){return Qt(this,null,function*(){if(!(!c.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)yield n[s.value]();else{const v=a.value;(v==null?void 0:v[s.value])!=null&&(yield v[s.value]())}i.value=!1}})}function h(){return Qt(this,null,function*(){if(!c.value||i.value)return;f()&&(yield p());const v=a.value;o.value&&(v==null?void 0:v[o.value])!=null&&(yield v[o.value](),i.value=!0)})}function m(){return Qt(this,null,function*(){yield i.value?p():h()})}const g=()=>{const v=f();(!v||v&&d())&&(i.value=v)};return xl(n,JN,g,!1),xl(()=>rh(a),JN,g,!1),r&&I6(p),{isSupported:c,isFullscreen:i,enter:h,exit:p,toggle:m}}const zGe={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},BMt=Object.assign({},{linear:vne},zGe);function WGe([e,t,n,r]){const a=(c,d)=>1-3*d+3*c,i=(c,d)=>3*d-6*c,o=c=>3*c,s=(c,d,f)=>((a(d,f)*c+i(d,f))*c+o(d))*c,l=(c,d,f)=>3*a(d,f)*c*c+2*i(d,f)*c+o(d),u=c=>{let d=c;for(let f=0;f<4;++f){const p=l(d,e,n);if(p===0)return d;const h=s(d,e,n)-c;d-=h/p}return d};return c=>e===t&&n===r?c:s(u(c),t,r)}function XN(e,t,n){return e+n*(t-e)}function vw(e){return(typeof e=="number"?[e]:e)||[]}function GGe(e,t,n,r={}){var a,i;const o=Ka(t),s=Ka(n),l=vw(o),u=vw(s),c=(a=Ka(r.duration))!=null?a:1e3,d=Date.now(),f=Date.now()+c,p=typeof r.transition=="function"?r.transition:(i=Ka(r.transition))!=null?i:vne,h=typeof p=="function"?p:WGe(p);return new Promise(m=>{e.value=o;const g=()=>{var v;if((v=r.abort)!=null&&v.call(r)){m();return}const C=Date.now(),b=h((C-d)/c),F=vw(e.value).map((w,E)=>XN(l[E],u[E],b));Array.isArray(e.value)?e.value=F.map((w,E)=>{var S,D;return XN((S=l[E])!=null?S:0,(D=u[E])!=null?D:0,b)}):typeof e.value=="number"&&(e.value=F[0]),C{const i=Ka(e);return typeof i=="number"?i:i.map(Ka)},a=j(r());return Ve(r,i=>Qt(this,null,function*(){var o,s;if(Ka(t.disabled))return;const l=++n;if(t.delay&&(yield RGe(Ka(t.delay))),l!==n)return;const u=Array.isArray(i)?i.map(Ka):Ka(i);(o=t.onStarted)==null||o.call(t),yield GGe(a,a.value,u,Je(ce({},t),{abort:()=>{var c;return l!==n||((c=t.abort)==null?void 0:c.call(t))}})),(s=t.onFinished)==null||s.call(t)}),{deep:!0}),Ve(()=>Ka(t.disabled),i=>{i&&(n++,a.value=r())}),I6(()=>{n++}),B(()=>Ka(t.disabled)?r():a.value)}function OMt(e,t,n,r={}){var a,i,o;const{clone:s=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:f}=r,p=Kt(),h=n||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((o=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let m=u;m=m||`update:${t.toString()}`;const g=b=>s?typeof s=="function"?s(b):HGe(b):b,v=()=>AGe(e[t])?g(e[t]):d,C=b=>{f?f(b)&&h(m,b):h(m,b)};if(l){const b=v(),F=j(b);let w=!1;return Ve(()=>e[t],E=>{w||(w=!0,F.value=g(E),Re(()=>w=!1))}),Ve(F,E=>{!w&&(E!==e[t]||c)&&C(E)},{deep:c}),F}else return B({get(){return v()},set(b){C(b)}})}const Mv=j([]),RMt=e=>{const t=()=>Mv.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?Ub(()=>{t()},e.openDelay):t()},gw=(e,t,n)=>{var a;Mv.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;Ub(()=>{Mv.value.splice(t,1)},r)},PMt=(e,t="title",n=0)=>{Mv.value[n][t]=e},IMt=()=>{Mv.value=[]},jGe=pne(kGe),KGe={key:1},UGe=he({name:"ReDrawer",__name:"index",setup(e){const t=j({}),n=B(()=>i=>{var o;return((o=i==null?void 0:i.footerButtons)==null?void 0:o.length)>0?i.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({drawer:{options:s,index:l}})=>{const u=()=>yw(s,l,{command:"cancel"});s!=null&&s.beforeCancel&&Mc(s==null?void 0:s.beforeCancel)?s.beforeCancel(u,{options:s,index:l}):u()}},{label:"确定",type:"primary",text:!0,bg:!0,popConfirm:i==null?void 0:i.popConfirm,btnClick:({drawer:{options:s,index:l}})=>{s!=null&&s.sureBtnLoading&&(t.value[l]=Object.assign({},t.value[l],{loading:!0}));const u=()=>{s!=null&&s.sureBtnLoading&&(t.value[l].loading=!1)},c=()=>{u(),yw(s,l,{command:"sure"})};s!=null&&s.beforeSure&&Mc(s==null?void 0:s.beforeSure)?s.beforeSure(c,{options:s,index:l,closeLoading:u}):c()}}]});function r(i,o,s){if(o!=null&&o[i]&&Mc(o==null?void 0:o[i]))return o==null?void 0:o[i]({options:o,index:s})}function a(i,o,s={command:"close"}){yw(i,o,s),r("close",i,o)}return(i,o)=>{const s=Bt("el-button"),l=Bt("el-popconfirm"),u=Bt("el-drawer");return G(!0),le(St,null,bn(y(Bv),(c,d)=>(G(),Ye(u,un({key:d,ref_for:!0},c,{modelValue:c.visible,"onUpdate:modelValue":f=>c.visible=f,class:"pure-drawer","append-to-body":!!(c!=null&&c.appendToBody),"append-to":c!=null&&c.appendTo?c.appendTo:"body","destroy-on-close":!!(c!=null&&c.destroyOnClose),"lock-scroll":!!(c!=null&&c.lockScroll),onClosed:f=>a(c,d),onOpened:f=>r("open",c,d),onOpenAutoFocus:f=>r("openAutoFocus",c,d),onCloseAutoFocus:f=>r("closeAutoFocus",c,d)}),us({default:Oe(()=>[(G(),Ye(on(c.contentRenderer({options:c,index:d})),un({ref_for:!0},c==null?void 0:c.props,{onClose:f=>a(c,d,f)}),null,16,["onClose"]))]),_:2},[c!=null&&c.headerRenderer?{name:"header",fn:Oe(({close:f,titleId:p,titleClass:h})=>[(G(),Ye(on(c==null?void 0:c.headerRenderer({close:f,titleId:p,titleClass:h}))))]),key:"0"}:void 0,c!=null&&c.hideFooter?void 0:{name:"footer",fn:Oe(()=>[c!=null&&c.footerRenderer?(G(),Ye(on(c==null?void 0:c.footerRenderer({options:c,index:d})),{key:0})):(G(),le("span",KGe,[(G(!0),le(St,null,bn(n.value(c),(f,p)=>{var h;return G(),le(St,{key:p},[f.popConfirm?(G(),Ye(l,un({key:0,ref_for:!0},f.popConfirm,{onConfirm:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{reference:Oe(()=>[ye(s,un({ref_for:!0},f),{default:Oe(()=>[Fn(dt(f==null?void 0:f.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(G(),Ye(s,un({key:1,ref_for:!0},f,{loading:p===1&&((h=t.value[d])==null?void 0:h.loading),onClick:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{default:Oe(()=>[Fn(dt(f==null?void 0:f.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","append-to-body","append-to","destroy-on-close","lock-scroll","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}}),Bv=j([]),NMt=e=>{const t=()=>Bv.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?Ub(()=>{t()},e.openDelay):t()},yw=(e,t,n)=>{var a;Bv.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;Ub(()=>{Bv.value.splice(t,1)},r)},$Mt=(e,t="title",n=0)=>{Bv.value[n][t]=e},VMt=()=>{Bv.value=[]},qGe=pne(UGe);var yne={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}},YGe={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}},JGe={name:"zh-cn",plus:{dialog:{confirmText:"确定",cancelText:"取消",title:"弹窗"},datepicker:{startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"},dialogForm:{title:"弹窗表单"},drawerForm:{title:"抽屉表单",confirmText:"确定",cancelText:"取消"},form:{submitText:"提交",resetText:"重置",errorTip:"请完整填写表单然后再次提交!"},field:{pleaseEnter:"请输入",pleaseSelect:"请选择"},popover:{confirmText:"确定",cancelText:"取消"},search:{searchText:"搜索",resetText:"重置",expand:"展开",retract:"收起"},table:{title:"表格",density:"密度",refresh:"刷新",columnSettings:"列设置",selectAll:"全选",default:"默认",loose:"宽松",compact:"紧凑",action:"操作",more:"更多",confirmToPerformThisOperation:"确定执行本次操作?",prompt:"提示",sort:"排序"},stepsForm:{nextText:"下一步",preText:"上一步",submitText:"提交"},inputTag:{placeholder:"请输入关键字后按回车/空格键"},header:{logout:"退出登录"}}};const XGe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"};var ZGe={pkg:{name:"vue-pure-admin",version:"5.8.0",engines:{node:"^18.18.0 || ^20.9.0 || >=21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-10-19 01:37:47"};const QGe=he({name:"app",components:{[pF.name]:pF,ReDialog:jGe,ReDrawer:qGe},computed:{currentLocale(){var e;return((e=this.$storage.locale)==null?void 0:e.locale)==="zh"?ce(ce({},yne),JGe):ce(ce({},kT),YGe)}},beforeCreate(){const{version:e,name:t}=ZGe.pkg,{VITE_PUBLIC_PATH:n,MODE:r}=XGe;r==="production"&&L5e({pollingTime:3e5,localPackageVersion:e,originVersionFileUrl:`${location.origin}${n}version.json`},{title:t,description:"检测到新版本",buttonText:"立即更新"})},mounted(){une({title:"优惠活动已推出",duration:0,style:{width:"200px"},position:"bottom-right",dangerouslyUseHTMLString:!0,message:` - 优质服务 - + `;A.style.cssText=T,A.innerHTML=x==null?void 0:x.value,O.onmousemove=$=>{let z=$.pageX-10,ee=$.pageY+15;A.style.top=ee+"px",A.style.left=z+"px"}};l==null||l.on("mouseover",x=>{(N==="x"&&x.componentType=="xAxis"||N==="y"&&x.componentType=="yAxis"||N.toString()==="true"&&x.componentType.includes("Axis"))&&I(x)}),l==null||l.on("mouseout",()=>{O.onmousemove=null,A.style.cssText="display:none"})}function M(){return{name:n,value:i}}(0,In.watch)(()=>r.value,N=>{l&&(l.dispose(),f(N),p(u.value,...c.value))});function L(){var N,O;l&&mw((O=(N=u.value)==null?void 0:N.delay)!=null?O:300).then(()=>{m()})}return(0,In.onMounted)(()=>{(0,In.nextTick)(()=>{var N,O,A,I,x;if((N=u.value)!=null&&N.container){let T=(A=(O=u.value)==null?void 0:O.delay)!=null?A:40;bGe(u.value.container,m,{time:T}),s=gGe(["body","html","document"],Array.of(u.value.container).flat()),s&&window.addEventListener("resize",L)}else o=(x=(I=u.value)==null?void 0:I.resize)!=null?x:!0,o&&window.addEventListener("resize",L)})}),P6(()=>{var N,O,A;!((N=u.value)!=null&&N.container)&&o&&window.removeEventListener("resize",L),(O=u.value)!=null&&O.container&&s&&window.removeEventListener("resize",L),l&&(l.dispose(),l=null,(A=document.querySelector(`#${a}`))==null||A.remove())}),{echarts:i,setOptions:p,getInstance:w,showLoading:g,hideLoading:v,clear:h,resize:m,getGlobalProperties:M,getDom:E,getWidth:b,getHeight:F,getOption:S,appendData:C,getDataURL:D,getConnectedDataURL:_,addTooltip:k}};function FGe(e){return`${e}-${new Date().getTime()}-${Math.random().toString(36).substr(2,9)}`}function SMt(e=!0){function t(a,i){if(!_a)return;let o=(Array.isArray(a)?a:[a]).map(s=>(Array.isArray(s.src)?s.src:[s.src]).map(l=>{var f;let u=i==="css"?`link[href="${l}"]`:`script[src="${l}"]`,c=document.querySelector(u),d;return c?(d=c.cloneNode(!1),c.replaceWith(d)):(i==="css"?(d=document.createElement("link"),d.rel="stylesheet",d.href=l):(d=document.createElement("script"),d.type="text/javascript",d.src=l),d.id=FGe(i==="css"?"pure-utils-css":"pure-utils-script"),(s.element instanceof HTMLElement?s.element:document[(f=s.element)!=null?f:i==="css"?"head":"body"]).appendChild(d)),new Promise((p,h)=>{d.onload=()=>p({src:l,message:"加载成功"}),d.onerror=()=>h({src:l,message:"加载失败"})})})).flat();return Promise.all(o)}function n(a){return t(a,"css")}function r(a){return t(a,"script")}return P6(()=>{_a&&e&&document.querySelectorAll('link[id^="pure-utils-css"], script[id^="pure-utils-script"]').forEach(a=>a.remove())}),{loadCss:n,loadScript:r}}var CGe=Symbol("watermark-dom"),DMt=(e=(0,In.ref)(_a?document.body:""))=>{let t=CGe.toString(),n=(0,In.shallowRef)(),r=f=>new Promise((p,h)=>{_a||h();let m=new Image;new URL(f,window.location.href).origin!==window.location.origin&&(m.crossOrigin="anonymous",m.referrerPolicy="no-referrer"),m.onload=()=>p(m),m.onerror=h,m.src=f}),a=()=>{let f=(0,In.unref)(n);n.value=void 0;let p=(0,In.unref)(e);p&&f&&p.removeChild(f)};function i(f,p){var F,w,E,S,D,_;if(!_a)return Promise.resolve("");let h=document.createElement("canvas"),m=(F=p==null?void 0:p.width)!=null?F:250,g=(w=p==null?void 0:p.height)!=null?w:100;h.width=m,h.height=g;let v=h.getContext("2d");if(!v)return Promise.resolve("");let C=((E=p==null?void 0:p.rotate)!=null?E:-10)*Math.PI/180;if(v.translate(m/2,g/2),v.rotate(C),p!=null&&p.globalAlpha&&(v.globalAlpha=p.globalAlpha),p==null?void 0:p.shadowConfig){let{shadowConfig:k}=p;v.shadowBlur=k[0],v.shadowColor=(S=k==null?void 0:k[1])!=null?S:"#000000",v.shadowOffsetX=(D=k==null?void 0:k[2])!=null?D:0,v.shadowOffsetY=(_=k==null?void 0:k[3])!=null?_:0}let b=()=>{var O,A,I,x,T,$;v.font=(O=p==null?void 0:p.font)!=null?O:"normal 16px Arial, 'Courier New', 'Droid Sans', sans-serif";let k=f.includes((A=p==null?void 0:p.wrap)!=null?A:"、")?"center":"left",M=(I=p==null?void 0:p.textAlign)!=null?I:k;if(v.textAlign=M,v.textBaseline="middle",(p==null?void 0:p.gradient)&&Tf(p==null?void 0:p.gradient)){let z=v.createLinearGradient(0,0,m,0);p==null||p.gradient.forEach(ee=>{z.addColorStop(ee.value,ee.color)}),v.fillStyle=z}else v.fillStyle=(x=p==null?void 0:p.color)!=null?x:"rgba(128, 128, 128, 0.3)";let L=f.split((T=p==null?void 0:p.wrap)!=null?T:"、"),P=($=p==null?void 0:p.lineHeight)!=null?$:20,N=-(L.length*P/2)+P/2;L.forEach((z,ee)=>{let Q;M==="left"||M==="start"?Q=-m/4:M==="right"||M==="end"?Q=m/4:Q=0,v.fillText(z,Q,N+ee*P)}),v.rotate(-C),v.translate(-m/2,-g/2)};return new Promise(k=>{let M=p==null?void 0:p.image;M?r(M).then(L=>{var O,A;let P=(O=p==null?void 0:p.imageWidth)!=null?O:L.width,N=(A=p==null?void 0:p.imageHeight)!=null?A:L.height;v.drawImage(L,-P/2,-N/2,P,N),k(h.toDataURL("image/png"))}).catch(()=>{b(),k(h.toDataURL("image/png"))}):(b(),k(h.toDataURL("image/png")))})}function o(f={}){let p=(0,In.unref)(n);p&&(s8(f.width)&&(p.style.width=`${f.width}px`),s8(f.height)&&(p.style.height=`${f.height}px`),s8(f.str)&&i(f.str,f.attr).then(h=>{p.style.background=`url(${h}) left top repeat`}))}let s=R6(()=>{let f=(0,In.unref)(e);if(!f)return;let{clientHeight:p,clientWidth:h}=f;o({height:p,width:h})}),l=(f,p)=>{var C,b;if(!_a)return;if((0,In.unref)(n))return o({str:f,attr:p}),t;let h=(0,In.unref)(e),m=document.createElement("div");if(n.value=m,m.id=t,m.style.pointerEvents="none",m.style.top="0px",m.style.left="0px",m.style.position=h===document.body?"fixed":"absolute",m.style.zIndex=(C=p==null?void 0:p.zIndex)!=null?C:"100000",!h)return t;let{clientHeight:g,clientWidth:v}=h;return o({str:f,width:v,height:g,attr:p}),(b=h==null?void 0:h.style)!=null&&b.position||(h.style.position="relative"),h.appendChild(m),t};function u(f,{str:p,attr:h}){f[0].removedNodes[0]&&f[0].removedNodes[0].id===t&&(n.value=void 0,l(p,h))}function c(f,p){let h={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(m=>u(m,{str:f,attr:p})).observe((0,In.unref)(e),h)}function d(f,p){_a&&(l(f,p),window.addEventListener("resize",s),p!=null&&p.forever&&c(f,p),(0,In.getCurrentInstance)()&&a&&a())}return P6(()=>{_a&&window.removeEventListener("resize",s)}),{clear:a,setWatermark:d}};const wGe={width:24,height:24,body:''},qN={width:24,height:24,body:''},EGe={key:0,class:"flex items-center justify-between"},SGe=["id"],DGe=["onClick"],_Ge={key:1},kGe=he({name:"ReDialog",__name:"index",setup(e){const t=j({}),n=j(!1),r=B(()=>s=>{var l;return((l=s==null?void 0:s.footerButtons)==null?void 0:l.length)>0?s.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:u,index:c}})=>{const d=()=>gw(u,c,{command:"cancel"});u!=null&&u.beforeCancel&&Mc(u==null?void 0:u.beforeCancel)?u.beforeCancel(d,{options:u,index:c}):d()}},{label:"确定",type:"primary",text:!0,bg:!0,popconfirm:s==null?void 0:s.popconfirm,btnClick:({dialog:{options:u,index:c}})=>{u!=null&&u.sureBtnLoading&&(t.value[c]=Object.assign({},t.value[c],{loading:!0}));const d=()=>{u!=null&&u.sureBtnLoading&&(t.value[c].loading=!1)},f=()=>{d(),gw(u,c,{command:"sure"})};u!=null&&u.beforeSure&&Mc(u==null?void 0:u.beforeSure)?u.beforeSure(f,{options:u,index:c,closeLoading:d}):f()}}]}),a=B(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function i(s,l,u,c=!1){var d;if(c||(n.value=(d=l==null?void 0:l.fullscreen)!=null?d:!1),l!=null&&l[s]&&Mc(l==null?void 0:l[s]))return l==null?void 0:l[s]({options:l,index:u})}function o(s,l,u={command:"close"}){gw(s,l,u),i("close",s,l)}return(s,l)=>{const u=Bt("IconifyIconOffline"),c=Bt("el-button"),d=Bt("el-popconfirm"),f=Bt("el-dialog");return G(!0),le(St,null,bn(y(Mv),(p,h)=>(G(),Ye(f,un({key:h,ref_for:!0},p,{modelValue:p.visible,"onUpdate:modelValue":m=>p.visible=m,class:"pure-dialog",fullscreen:n.value?!0:!!(p!=null&&p.fullscreen),onClosed:m=>o(p,h),onOpened:m=>i("open",p,h),onOpenAutoFocus:m=>i("openAutoFocus",p,h),onCloseAutoFocus:m=>i("closeAutoFocus",p,h)}),us({default:Oe(()=>[(G(),Ye(on(p.contentRenderer({options:p,index:h})),un({ref_for:!0},p==null?void 0:p.props,{onClose:m=>o(p,h,m)}),null,16,["onClose"]))]),_:2},[p!=null&&p.fullscreenIcon||p!=null&&p.headerRenderer?{name:"header",fn:Oe(({close:m,titleId:g,titleClass:v})=>[p!=null&&p.fullscreenIcon?(G(),le("div",EGe,[be("span",{id:g,class:U(v)},dt(p==null?void 0:p.title),11,SGe),p!=null&&p.fullscreen?Ne("",!0):(G(),le("i",{key:0,class:U(a.value),onClick:()=>{n.value=!n.value,i("fullscreenCallBack",Je(ce({},p),{fullscreen:n.value}),h,!0)}},[ye(u,{class:"pure-dialog-svg",icon:p!=null&&p.fullscreen||n.value?y(qN):y(wGe)},null,8,["icon"])],10,DGe))])):(G(),Ye(on(p==null?void 0:p.headerRenderer({close:m,titleId:g,titleClass:v})),{key:1}))]),key:"0"}:void 0,p!=null&&p.hideFooter?void 0:{name:"footer",fn:Oe(()=>[p!=null&&p.footerRenderer?(G(),Ye(on(p==null?void 0:p.footerRenderer({options:p,index:h})),{key:0})):(G(),le("span",_Ge,[(G(!0),le(St,null,bn(r.value(p),(m,g)=>{var v;return G(),le(St,{key:g},[m.popconfirm?(G(),Ye(d,un({key:0,ref_for:!0},m.popconfirm,{onConfirm:C=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:g}})}),{reference:Oe(()=>[ye(c,un({ref_for:!0},m),{default:Oe(()=>[Fn(dt(m==null?void 0:m.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(G(),Ye(c,un({key:1,ref_for:!0},m,{loading:g===1&&((v=t.value[h])==null?void 0:v.loading),onClick:C=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:g}})}),{default:Oe(()=>[Fn(dt(m==null?void 0:m.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function I6(e){return a0()?(i0(e),!0):!1}function Ka(e){return typeof e=="function"?e():y(e)}const N6=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const AGe=e=>typeof e!="undefined",xGe=Object.prototype.toString,TGe=e=>xGe.call(e)==="[object Object]",z1=()=>{},MGe=BGe();function BGe(){var e,t;return N6&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function LGe(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}function OGe(e,t={}){let n,r,a=z1;const i=s=>{clearTimeout(s),a(),a=z1};return s=>{const l=Ka(e),u=Ka(t.maxWait);return n&&i(n),l<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((c,d)=>{a=t.rejectOnCancel?d:c,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,c(s())},l)})}}function RGe(e,t=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(t?()=>a(n):r,e)})}function vne(e){return e}function gne(e){return Kt()}function _Mt(e,t=200,n={}){return LGe(OGe(t,n),e)}function PGe(e,t=!0,n){gne()?$t(e,n):t?e():Re(e)}function kMt(e,t){gne()&&Lr(e,t)}function Ub(e,t,n={}){const{immediate:r=!0}=n,a=j(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function s(){a.value=!1,o()}function l(...u){o(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,e(...u)},Ka(t))}return r&&(a.value=!0,N6&&l()),I6(s),{isPending:Nf(a),start:l,stop:s}}const RM=N6?window:void 0,IGe=N6?window.document:void 0;function rh(e){var t;const n=Ka(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xl(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=RM):[t,n,r,a]=e,!t)return z1;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),l=Ve(()=>[rh(t),Ka(a)],([c,d])=>{if(o(),!c)return;const f=TGe(d)?ce({},d):d;i.push(...n.flatMap(p=>r.map(h=>s(c,p,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return I6(u),u}let YN=!1;function AMt(e,t,n={}){const{window:r=RM,ignore:a=[],capture:i=!0,detectIframe:o=!1}=n;if(!r)return z1;MGe&&!YN&&(YN=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",z1)),r.document.documentElement.addEventListener("click",z1));let s=!0;const l=p=>Ka(a).some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===p.target||p.composedPath().includes(m));{const m=rh(h);return m&&(p.target===m||p.composedPath().includes(m))}}),u=p=>{const h=rh(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(s=!l(p)),!s){s=!0;return}t(p)}};let c=!1;const d=[xl(r,"click",p=>{c||(c=!0,setTimeout(()=>{c=!1},0),u(p))},{passive:!0,capture:i}),xl(r,"pointerdown",p=>{const h=rh(e);s=!l(p)&&!!(h&&!p.composedPath().includes(h))},{passive:!0}),o&&xl(r,"blur",p=>{setTimeout(()=>{var h;const m=rh(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>d.forEach(p=>p())}function NGe(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xMt(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=RM,eventName:i="keydown",passive:o=!1,dedupe:s=!1}=r,l=NGe(t);return xl(a,i,c=>{c.repeat&&Ka(s)||l(c)&&n(c)},o)}function TMt(e,t=null){const n=Kt();let r=()=>{};const a=Q7((i,o)=>(r=o,{get(){var s,l;return i(),(l=(s=n==null?void 0:n.proxy)==null?void 0:s.$refs[e])!=null?l:t},set(){}}));return PGe(r),Qs(r),a}function $Ge(){const e=j(!1),t=Kt();return t&&$t(()=>{e.value=!0},t),e}function VGe(e){const t=$Ge();return B(()=>(t.value,!!e()))}function HGe(e){return JSON.parse(JSON.stringify(e))}const JN=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function MMt(e,t={}){const{document:n=IGe,autoExit:r=!1}=t,a=B(()=>{var v;return(v=rh(e))!=null?v:n==null?void 0:n.querySelector("html")}),i=j(!1),o=B(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>n&&v in n||a.value&&v in a.value)),s=B(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>n&&v in n||a.value&&v in a.value)),l=B(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>n&&v in n||a.value&&v in a.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>n&&v in n),c=VGe(()=>a.value&&n&&o.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>u?(n==null?void 0:n[u])===a.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const v=a.value;if((v==null?void 0:v[l.value])!=null)return!!v[l.value]}}return!1};function p(){return Qt(this,null,function*(){if(!(!c.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)yield n[s.value]();else{const v=a.value;(v==null?void 0:v[s.value])!=null&&(yield v[s.value]())}i.value=!1}})}function h(){return Qt(this,null,function*(){if(!c.value||i.value)return;f()&&(yield p());const v=a.value;o.value&&(v==null?void 0:v[o.value])!=null&&(yield v[o.value](),i.value=!0)})}function m(){return Qt(this,null,function*(){yield i.value?p():h()})}const g=()=>{const v=f();(!v||v&&d())&&(i.value=v)};return xl(n,JN,g,!1),xl(()=>rh(a),JN,g,!1),r&&I6(p),{isSupported:c,isFullscreen:i,enter:h,exit:p,toggle:m}}const zGe={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},BMt=Object.assign({},{linear:vne},zGe);function WGe([e,t,n,r]){const a=(c,d)=>1-3*d+3*c,i=(c,d)=>3*d-6*c,o=c=>3*c,s=(c,d,f)=>((a(d,f)*c+i(d,f))*c+o(d))*c,l=(c,d,f)=>3*a(d,f)*c*c+2*i(d,f)*c+o(d),u=c=>{let d=c;for(let f=0;f<4;++f){const p=l(d,e,n);if(p===0)return d;const h=s(d,e,n)-c;d-=h/p}return d};return c=>e===t&&n===r?c:s(u(c),t,r)}function XN(e,t,n){return e+n*(t-e)}function vw(e){return(typeof e=="number"?[e]:e)||[]}function GGe(e,t,n,r={}){var a,i;const o=Ka(t),s=Ka(n),l=vw(o),u=vw(s),c=(a=Ka(r.duration))!=null?a:1e3,d=Date.now(),f=Date.now()+c,p=typeof r.transition=="function"?r.transition:(i=Ka(r.transition))!=null?i:vne,h=typeof p=="function"?p:WGe(p);return new Promise(m=>{e.value=o;const g=()=>{var v;if((v=r.abort)!=null&&v.call(r)){m();return}const C=Date.now(),b=h((C-d)/c),F=vw(e.value).map((w,E)=>XN(l[E],u[E],b));Array.isArray(e.value)?e.value=F.map((w,E)=>{var S,D;return XN((S=l[E])!=null?S:0,(D=u[E])!=null?D:0,b)}):typeof e.value=="number"&&(e.value=F[0]),C{const i=Ka(e);return typeof i=="number"?i:i.map(Ka)},a=j(r());return Ve(r,i=>Qt(this,null,function*(){var o,s;if(Ka(t.disabled))return;const l=++n;if(t.delay&&(yield RGe(Ka(t.delay))),l!==n)return;const u=Array.isArray(i)?i.map(Ka):Ka(i);(o=t.onStarted)==null||o.call(t),yield GGe(a,a.value,u,Je(ce({},t),{abort:()=>{var c;return l!==n||((c=t.abort)==null?void 0:c.call(t))}})),(s=t.onFinished)==null||s.call(t)}),{deep:!0}),Ve(()=>Ka(t.disabled),i=>{i&&(n++,a.value=r())}),I6(()=>{n++}),B(()=>Ka(t.disabled)?r():a.value)}function OMt(e,t,n,r={}){var a,i,o;const{clone:s=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:f}=r,p=Kt(),h=n||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((o=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let m=u;m=m||`update:${t.toString()}`;const g=b=>s?typeof s=="function"?s(b):HGe(b):b,v=()=>AGe(e[t])?g(e[t]):d,C=b=>{f?f(b)&&h(m,b):h(m,b)};if(l){const b=v(),F=j(b);let w=!1;return Ve(()=>e[t],E=>{w||(w=!0,F.value=g(E),Re(()=>w=!1))}),Ve(F,E=>{!w&&(E!==e[t]||c)&&C(E)},{deep:c}),F}else return B({get(){return v()},set(b){C(b)}})}const Mv=j([]),RMt=e=>{const t=()=>Mv.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?Ub(()=>{t()},e.openDelay):t()},gw=(e,t,n)=>{var a;Mv.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;Ub(()=>{Mv.value.splice(t,1)},r)},PMt=(e,t="title",n=0)=>{Mv.value[n][t]=e},IMt=()=>{Mv.value=[]},jGe=pne(kGe),KGe={key:1},UGe=he({name:"ReDrawer",__name:"index",setup(e){const t=j({}),n=B(()=>i=>{var o;return((o=i==null?void 0:i.footerButtons)==null?void 0:o.length)>0?i.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({drawer:{options:s,index:l}})=>{const u=()=>yw(s,l,{command:"cancel"});s!=null&&s.beforeCancel&&Mc(s==null?void 0:s.beforeCancel)?s.beforeCancel(u,{options:s,index:l}):u()}},{label:"确定",type:"primary",text:!0,bg:!0,popConfirm:i==null?void 0:i.popConfirm,btnClick:({drawer:{options:s,index:l}})=>{s!=null&&s.sureBtnLoading&&(t.value[l]=Object.assign({},t.value[l],{loading:!0}));const u=()=>{s!=null&&s.sureBtnLoading&&(t.value[l].loading=!1)},c=()=>{u(),yw(s,l,{command:"sure"})};s!=null&&s.beforeSure&&Mc(s==null?void 0:s.beforeSure)?s.beforeSure(c,{options:s,index:l,closeLoading:u}):c()}}]});function r(i,o,s){if(o!=null&&o[i]&&Mc(o==null?void 0:o[i]))return o==null?void 0:o[i]({options:o,index:s})}function a(i,o,s={command:"close"}){yw(i,o,s),r("close",i,o)}return(i,o)=>{const s=Bt("el-button"),l=Bt("el-popconfirm"),u=Bt("el-drawer");return G(!0),le(St,null,bn(y(Bv),(c,d)=>(G(),Ye(u,un({key:d,ref_for:!0},c,{modelValue:c.visible,"onUpdate:modelValue":f=>c.visible=f,class:"pure-drawer","append-to-body":!!(c!=null&&c.appendToBody),"append-to":c!=null&&c.appendTo?c.appendTo:"body","destroy-on-close":!!(c!=null&&c.destroyOnClose),"lock-scroll":!!(c!=null&&c.lockScroll),onClosed:f=>a(c,d),onOpened:f=>r("open",c,d),onOpenAutoFocus:f=>r("openAutoFocus",c,d),onCloseAutoFocus:f=>r("closeAutoFocus",c,d)}),us({default:Oe(()=>[(G(),Ye(on(c.contentRenderer({options:c,index:d})),un({ref_for:!0},c==null?void 0:c.props,{onClose:f=>a(c,d,f)}),null,16,["onClose"]))]),_:2},[c!=null&&c.headerRenderer?{name:"header",fn:Oe(({close:f,titleId:p,titleClass:h})=>[(G(),Ye(on(c==null?void 0:c.headerRenderer({close:f,titleId:p,titleClass:h}))))]),key:"0"}:void 0,c!=null&&c.hideFooter?void 0:{name:"footer",fn:Oe(()=>[c!=null&&c.footerRenderer?(G(),Ye(on(c==null?void 0:c.footerRenderer({options:c,index:d})),{key:0})):(G(),le("span",KGe,[(G(!0),le(St,null,bn(n.value(c),(f,p)=>{var h;return G(),le(St,{key:p},[f.popConfirm?(G(),Ye(l,un({key:0,ref_for:!0},f.popConfirm,{onConfirm:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{reference:Oe(()=>[ye(s,un({ref_for:!0},f),{default:Oe(()=>[Fn(dt(f==null?void 0:f.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(G(),Ye(s,un({key:1,ref_for:!0},f,{loading:p===1&&((h=t.value[d])==null?void 0:h.loading),onClick:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{default:Oe(()=>[Fn(dt(f==null?void 0:f.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","append-to-body","append-to","destroy-on-close","lock-scroll","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}}),Bv=j([]),NMt=e=>{const t=()=>Bv.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?Ub(()=>{t()},e.openDelay):t()},yw=(e,t,n)=>{var a;Bv.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;Ub(()=>{Bv.value.splice(t,1)},r)},$Mt=(e,t="title",n=0)=>{Bv.value[n][t]=e},VMt=()=>{Bv.value=[]},qGe=pne(UGe);var yne={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}},YGe={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}},JGe={name:"zh-cn",plus:{dialog:{confirmText:"确定",cancelText:"取消",title:"弹窗"},datepicker:{startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"},dialogForm:{title:"弹窗表单"},drawerForm:{title:"抽屉表单",confirmText:"确定",cancelText:"取消"},form:{submitText:"提交",resetText:"重置",errorTip:"请完整填写表单然后再次提交!"},field:{pleaseEnter:"请输入",pleaseSelect:"请选择"},popover:{confirmText:"确定",cancelText:"取消"},search:{searchText:"搜索",resetText:"重置",expand:"展开",retract:"收起"},table:{title:"表格",density:"密度",refresh:"刷新",columnSettings:"列设置",selectAll:"全选",default:"默认",loose:"宽松",compact:"紧凑",action:"操作",more:"更多",confirmToPerformThisOperation:"确定执行本次操作?",prompt:"提示",sort:"排序"},stepsForm:{nextText:"下一步",preText:"上一步",submitText:"提交"},inputTag:{placeholder:"请输入关键字后按回车/空格键"},header:{logout:"退出登录"}}};const XGe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"};var ZGe={pkg:{name:"vue-pure-admin",version:"5.8.0",engines:{node:"^18.18.0 || ^20.9.0 || >=21.1.0",pnpm:">=9"},dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.1.6","@infectoone/vue-ganttastic":"^2.3.2","@logicflow/core":"^1.2.28","@logicflow/extension":"^1.2.28","@pureadmin/descriptions":"^1.2.1","@pureadmin/table":"^3.2.1","@pureadmin/utils":"^2.4.8","@vue-flow/background":"^1.3.0","@vue-flow/core":"^1.41.2","@vueuse/core":"^11.1.0","@vueuse/motion":"^2.2.5","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.7.7","china-area-data":"^5.0.1",cropperjs:"^1.6.2",dayjs:"^1.11.13",echarts:"^5.5.1","el-table-infinite-scroll":"^3.0.6","element-plus":"^2.8.5","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",mqtt:"4.3.7",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.2.4","pinyin-pro":"^3.25.0","plus-pro-components":"^0.1.17",qrcode:"^1.5.4",qs:"^6.13.0","responsive-storage":"^2.2.0",sortablejs:"^1.15.3",swiper:"^11.1.14",typeit:"^8.8.5","v-contextmenu":"^3.2.0","v3-infinite-loading":"^1.3.2","version-rocket":"^1.7.3",vue:"^3.5.12","vue-i18n":"^10.0.4","vue-json-pretty":"^2.4.0","vue-pdf-embed":"^2.1.0","vue-router":"^4.4.5","vue-tippy":"^6.4.4","vue-types":"^5.1.3","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.6.0","vue3-danmaku":"^1.6.1","vue3-puzzle-vcode":"^1.1.7",vuedraggable:"^4.1.0","vxe-table":"4.6.21","wavesurfer.js":"^7.8.6",xgplayer:"^3.0.20",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/types":"^19.5.0","@eslint/js":"^9.12.0","@faker-js/faker":"^8.4.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.2","@intlify/unplugin-vue-i18n":"^5.2.0","@pureadmin/theme":"^3.3.0","@types/dagre":"^0.7.52","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.16.11","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.16","@types/sortablejs":"^1.15.8","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1",autoprefixer:"^10.4.20",boxen:"^8.0.1",cssnano:"^7.0.6",dagre:"^0.8.5",eslint:"^9.12.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-vue":"^9.29.0","gradient-string":"^3.0.0",husky:"^9.1.6","lint-staged":"^15.2.10",postcss:"^8.4.47","postcss-html":"^1.7.0","postcss-import":"^16.1.0","postcss-scss":"^4.0.9",prettier:"^3.3.3",rimraf:"^6.0.1","rollup-plugin-visualizer":"^5.12.0",sass:"^1.79.5",stylelint:"^16.10.0","stylelint-config-recess-order":"^5.1.1","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.1.0","stylelint-prettier":"^5.0.2",svgo:"^3.3.2",tailwindcss:"^3.4.13",typescript:"^5.6.3",vite:"^5.4.8","vite-plugin-cdn-import":"^1.0.1","vite-plugin-checker":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"^2.1.2","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-plugin-vue-inspector":"^5.2.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.3","vue-tsc":"^2.1.6"}},lastBuildTime:"2024-11-24 05:59:58"};const QGe=he({name:"app",components:{[pF.name]:pF,ReDialog:jGe,ReDrawer:qGe},computed:{currentLocale(){var e;return((e=this.$storage.locale)==null?void 0:e.locale)==="zh"?ce(ce({},yne),JGe):ce(ce({},kT),YGe)}},beforeCreate(){const{version:e,name:t}=ZGe.pkg,{VITE_PUBLIC_PATH:n,MODE:r}=XGe;r==="production"&&L5e({pollingTime:3e5,localPackageVersion:e,originVersionFileUrl:`${location.origin}${n}version.json`},{title:t,description:"检测到新版本",buttonText:"立即更新"})},mounted(){une({title:"优惠活动即将结束",duration:0,style:{width:"200px"},position:"bottom-right",dangerouslyUseHTMLString:!0,message:` JS版本 @@ -221,7 +219,7 @@ Try adjusting maxTime or maxRetries parameters for faker.helpers.unique().`)}fun `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[L$]=this[L$]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=ag(o);r[s]||(QUe(a,o),r[s]=!0)}return wt.isArray(t)?t.forEach(i):i(t),this}}Po.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);wt.reduceDescriptors(Po.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});wt.freezeMethods(Po);function Ew(e,t){const n=this||Yb,r=t||n,a=Po.from(r.headers);let i=r.data;return wt.forEach(e,function(s){i=s.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Yne(e){return!!(e&&e.__CANCEL__)}function b0(e,t,n){nr.call(this,e==null?"canceled":e,nr.ERR_CANCELED,t,n),this.name="CanceledError"}wt.inherits(b0,nr,{__CANCEL__:!0});function Jne(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new nr("Request failed with status code "+n.status,[nr.ERR_BAD_REQUEST,nr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function eqe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tqe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[i];o||(o=u),n[a]=l,r[a]=u;let d=i,f=0;for(;d!==a;)f+=n[d++],d=d%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o{n=c,a=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?o(u,c):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},r-d)))},()=>a&&o(a)]}const OF=(e,t,n=3)=>{let r=0;const a=tqe(50,250);return nqe(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-r,u=a(l),c=o<=s;r=o;const d={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},O$=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},R$=e=>(...t)=>wt.asap(()=>e(...t)),rqe=Ro.hasStandardBrowserEnv?function(){const t=Ro.navigator&&/(msie|trident)/i.test(Ro.navigator.userAgent),n=document.createElement("a");let r;function a(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(o){const s=wt.isString(o)?a(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),aqe=Ro.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const o=[e+"="+encodeURIComponent(t)];wt.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),wt.isString(r)&&o.push("path="+r),wt.isString(a)&&o.push("domain="+a),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function iqe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oqe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Xne(e,t){return e&&!iqe(t)?oqe(e,t):t}const P$=e=>e instanceof Po?ce({},e):e;function em(e,t){t=t||{};const n={};function r(u,c,d){return wt.isPlainObject(u)&&wt.isPlainObject(c)?wt.merge.call({caseless:d},u,c):wt.isPlainObject(c)?wt.merge({},c):wt.isArray(c)?c.slice():c}function a(u,c,d){if(wt.isUndefined(c)){if(!wt.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function i(u,c){if(!wt.isUndefined(c))return r(void 0,c)}function o(u,c){if(wt.isUndefined(c)){if(!wt.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,c)=>a(P$(u),P$(c),!0)};return wt.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||a,f=d(e[c],t[c],c);wt.isUndefined(f)&&d!==s||(n[c]=f)}),n}const Zne=e=>{const t=em({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;t.headers=o=Po.from(o),t.url=Kne(Xne(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(wt.isFormData(n)){if(Ro.hasStandardBrowserEnv||Ro.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ro.hasStandardBrowserEnv&&(r&&wt.isFunction(r)&&(r=r(t)),r||r!==!1&&rqe(t.url))){const u=a&&i&&aqe.read(i);u&&o.set(a,u)}return t},sqe=typeof XMLHttpRequest!="undefined",lqe=sqe&&function(e){return new Promise(function(n,r){const a=Zne(e);let i=a.data;const o=Po.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,c,d,f,p,h;function m(){p&&p(),h&&h(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(a.method.toUpperCase(),a.url,!0),g.timeout=a.timeout;function v(){if(!g)return;const b=Po.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:b,config:e,request:g};Jne(function(S){n(S),m()},function(S){r(S),m()},w),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(r(new nr("Request aborted",nr.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new nr("Network Error",nr.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let F=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const w=a.transitional||Une;a.timeoutErrorMessage&&(F=a.timeoutErrorMessage),r(new nr(F,w.clarifyTimeoutError?nr.ETIMEDOUT:nr.ECONNABORTED,e,g)),g=null},i===void 0&&o.setContentType(null),"setRequestHeader"in g&&wt.forEach(o.toJSON(),function(F,w){g.setRequestHeader(w,F)}),wt.isUndefined(a.withCredentials)||(g.withCredentials=!!a.withCredentials),s&&s!=="json"&&(g.responseType=a.responseType),u&&([f,h]=OF(u,!0),g.addEventListener("progress",f)),l&&g.upload&&([d,p]=OF(l),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(c=b=>{g&&(r(!b||b.type?new b0(null,e,g):b),g.abort(),g=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const C=eqe(a.url);if(C&&Ro.protocols.indexOf(C)===-1){r(new nr("Unsupported protocol "+C+":",nr.ERR_BAD_REQUEST,e));return}g.send(i||null)})},uqe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,s();const c=u instanceof Error?u:this.reason;r.abort(c instanceof nr?c:new b0(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new nr(`timeout ${t} of ms exceeded`,nr.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>wt.asap(s),l}},cqe=function*(e,t){let n=e.byteLength;if(n{const a=dqe(e,t);let i=0,o,s=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({pull(u){return Qt(this,null,function*(){try{const{done:c,value:d}=yield a.next();if(c){s(),u.close();return}let f=d.byteLength;if(n){let p=i+=f;n(p)}u.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}})},cancel(u){return s(u),a.return()}},{highWaterMark:2})},K6=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Qne=K6&&typeof ReadableStream=="function",pqe=K6&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>Qt(void 0,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),ere=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},hqe=Qne&&ere(()=>{let e=!1;const t=new Request(Ro.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),N$=64*1024,dk=Qne&&ere(()=>wt.isReadableStream(new Response("").body)),RF={stream:dk&&(e=>e.body)};K6&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!RF[t]&&(RF[t]=wt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new nr(`Response type '${t}' is not supported`,nr.ERR_NOT_SUPPORT,r)})})})(new Response);const mqe=e=>Qt(void 0,null,function*(){if(e==null)return 0;if(wt.isBlob(e))return e.size;if(wt.isSpecCompliantForm(e))return(yield new Request(Ro.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(wt.isArrayBufferView(e)||wt.isArrayBuffer(e))return e.byteLength;if(wt.isURLSearchParams(e)&&(e=e+""),wt.isString(e))return(yield pqe(e)).byteLength}),vqe=(e,t)=>Qt(void 0,null,function*(){const n=wt.toFiniteNumber(e.getContentLength());return n==null?mqe(t):n}),gqe=K6&&(e=>Qt(void 0,null,function*(){let{url:t,method:n,data:r,signal:a,cancelToken:i,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:f}=Zne(e);u=u?(u+"").toLowerCase():"text";let p=uqe([a,i&&i.toAbortSignal()],o),h;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&hqe&&n!=="get"&&n!=="head"&&(g=yield vqe(c,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(wt.isFormData(r)&&(E=w.headers.get("content-type"))&&c.setContentType(E),w.body){const[S,D]=O$(g,OF(R$(l)));r=I$(w.body,N$,S,D)}}wt.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;h=new Request(t,Je(ce({},f),{signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:v?d:void 0}));let C=yield fetch(h);const b=dk&&(u==="stream"||u==="response");if(dk&&(s||b&&m)){const w={};["status","statusText","headers"].forEach(_=>{w[_]=C[_]});const E=wt.toFiniteNumber(C.headers.get("content-length")),[S,D]=s&&O$(E,OF(R$(s),!0))||[];C=new Response(I$(C.body,N$,S,()=>{D&&D(),m&&m()}),w)}u=u||"text";let F=yield RF[wt.findKey(RF,u)||"text"](C,e);return!b&&m&&m(),yield new Promise((w,E)=>{Jne(w,E,{data:F,headers:Po.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:h})})}catch(v){throw m&&m(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new nr("Network Error",nr.ERR_NETWORK,e,h),{cause:v.cause||v}):nr.from(v,v&&v.code,e,h)}})),fk={http:BUe,xhr:lqe,fetch:gqe};wt.forEach(fk,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const $$=e=>`- ${e}`,yqe=e=>wt.isFunction(e)||e===null||e===!1,tre={getAdapter:e=>{e=wt.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : `+i.map($$).join(` `):" "+$$(i[0]):"as no adapter specified";throw new nr("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:fk};function Sw(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new b0(null,e)}function V$(e){return Sw(e),e.headers=Po.from(e.headers),e.data=Ew.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tre.getAdapter(e.adapter||Yb.adapter)(e).then(function(r){return Sw(e),r.data=Ew.call(e,e.transformResponse,r),r.headers=Po.from(r.headers),r},function(r){return Yne(r)||(Sw(e),r&&r.response&&(r.response.data=Ew.call(e,e.transformResponse,r.response),r.response.headers=Po.from(r.response.headers))),Promise.reject(r)})}const nre="1.7.7",KM={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{KM[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const H$={};KM.transitional=function(t,n,r){function a(i,o){return"[Axios v"+nre+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(t===!1)throw new nr(a(o," has been removed"+(n?" in "+n:"")),nr.ERR_DEPRECATED);return n&&!H$[o]&&(H$[o]=!0,console.warn(a(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,s):!0}};function bqe(e,t,n){if(typeof e!="object")throw new nr("options must be an object",nr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new nr("option "+i+" must be "+l,nr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new nr("Unknown option "+i,nr.ERR_BAD_OPTION)}}const pk={assertOptions:bqe,validators:KM},ud=pk.validators;class wh{constructor(t){this.defaults=t,this.interceptors={request:new B$,response:new B$}}request(t,n){return Qt(this,null,function*(){try{return yield this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+i):r.stack=i}catch(o){}}throw r}})}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=em(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&pk.assertOptions(r,{silentJSONParsing:ud.transitional(ud.boolean),forcedJSONParsing:ud.transitional(ud.boolean),clarifyTimeoutError:ud.transitional(ud.boolean)},!1),a!=null&&(wt.isFunction(a)?n.paramsSerializer={serialize:a}:pk.assertOptions(a,{encode:ud.function,serialize:ud.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&wt.merge(i.common,i[n.method]);i&&wt.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Po.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[V$.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,s){r.reason||(r.reason=new b0(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new UM(function(a){t=a}),cancel:t}}}function Fqe(e){return function(n){return e.apply(null,n)}}function Cqe(e){return wt.isObject(e)&&e.isAxiosError===!0}const hk={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(hk).forEach(([e,t])=>{hk[t]=e});function rre(e){const t=new wh(e),n=One(wh.prototype.request,t);return wt.extend(n,wh.prototype,t,{allOwnKeys:!0}),wt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return rre(em(e,a))},n}const xa=rre(Yb);xa.Axios=wh;xa.CanceledError=b0;xa.CancelToken=UM;xa.isCancel=Yne;xa.VERSION=nre;xa.toFormData=j6;xa.AxiosError=nr;xa.Cancel=xa.CanceledError;xa.all=function(t){return Promise.all(t)};xa.spread=Fqe;xa.isAxiosError=Cqe;xa.mergeConfig=em;xa.AxiosHeaders=Po;xa.formToJSON=e=>qne(wt.isHTMLForm(e)?new FormData(e):e);xa.getAdapter=tre.getAdapter;xa.HttpStatusCode=hk;xa.default=xa;const wqe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"};let PF={};const{VITE_PUBLIC_PATH:Eqe}=wqe,Sqe=e=>{PF=Object.assign(PF,e)},Eh=e=>{if(typeof e=="string"){const t=e.split(".");if(t&&t.length){let n=PF;return t.forEach(r=>{n&&typeof n[r]!="undefined"?n=n[r]:n=null}),n}}return PF},Dqe=e=>Qt(void 0,null,function*(){return e.config.globalProperties.$config=Eh(),xa({method:"get",url:`${Eqe}platform-config.json`}).then(({data:t})=>{let n=e.config.globalProperties.$config;return e&&n&&typeof t=="object"&&(n=Object.assign(n,t),e.config.globalProperties.$config=n,Sqe(n)),n}).catch(()=>{throw"请在public文件夹下添加platform-config.json配置文件"})}),Nd=()=>Eh().ResponsiveStorageNameSpace,IF=function(){let e=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":ije,"../../locales/zh-CN.yaml":sje})).map(([t,n])=>[t.match(/([A-Za-z0-9-_]+)\./i)[1],n.default]));return(t="zh-CN")=>e[t]}(),_qe={zh:ce(ce({},IF("zh-CN")),yne),en:ce(ce({},IF("en")),kT)};function kqe(e){const t=[],n=new Set;for(t.push({obj:e,key:""});t.length>0;){const{obj:r,key:a}=t.pop();for(const i in r){const o=a?`${a}.${i}`:i;r[i]&&xv(r[i])?t.push({obj:r[i],key:o}):n.add(a)}}return n}const z$=new Map,Aqe=(e="zh-CN")=>{let t=z$.get(e);return t||(t=kqe(IF(e)),z$.set(e,t)),t};function W$(e=""){var n;if(!e)return"";if(typeof e=="object"){const r=f1.global.locale;return e[r==null?void 0:r.value]}const t=(n=e.match(/(\S*)\./))==null?void 0:n.input;return t&&Aqe("zh-CN").has(t)||!t&&Object.hasOwn(IF("zh-CN"),e)?f1.global.t.call(f1.global.locale,e):e}const Tt=e=>e;var nY,rY;const f1=IKe({legacy:!1,locale:(rY=(nY=pa().getItem(`${Nd()}locale`))==null?void 0:nY.locale)!=null?rY:"zh",fallbackLocale:"en",messages:_qe});function xqe(e){e.use(f1)}const Tqe={path:"/able",redirect:"/able/watermark",meta:{icon:"ri:ubuntu-fill",title:Tt("menus.pureAble"),rank:Rpe},children:[{path:"/able/mqtt-client",name:"MqttClient",component:()=>Ie(()=>import("./mqtt-client-j43Q9KKT.js"),__vite__mapDeps([0,1])),meta:{title:Tt("menus.pureMqtt"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/verify",name:"Verify",component:()=>Ie(()=>import("./verify-Bk5ELcBI.js"),__vite__mapDeps([2,3])),meta:{title:Tt("menus.pureVerify")}},{path:"/able/watermark",name:"WaterMark",component:()=>Ie(()=>import("./watermark-DcOgkjve.js"),[]),meta:{title:Tt("menus.pureWatermark")}},{path:"/able/print",name:"Print",component:()=>Ie(()=>import("./index-CLuZ42WN.js"),__vite__mapDeps([4,5,6,7])),meta:{title:Tt("menus.purePrint")}},{path:"/able/download",name:"Download",component:()=>Ie(()=>import("./download-Cuew4mgA.js"),[]),meta:{title:Tt("menus.pureDownload")}},{path:"/able/excel",name:"Excel",component:()=>Ie(()=>import("./excel-Gj9dYvk6.js"),__vite__mapDeps([8,9])),meta:{title:Tt("menus.pureExcel")}},{path:"/components/ripple",name:"Ripple",component:()=>Ie(()=>import("./ripple-BURg_U3C.js"),[]),meta:{title:Tt("menus.pureRipple")}},{path:"/able/debounce",name:"Debounce",component:()=>Ie(()=>import("./debounce-DRUMx91w.js"),[]),meta:{title:Tt("menus.pureDebounce")}},{path:"/able/directives",name:"Directives",component:()=>Ie(()=>import("./directives-pQlzCI3f.js"),[]),meta:{title:Tt("menus.pureOptimize")}},{path:"/able/draggable",name:"Draggable",component:()=>Ie(()=>import("./draggable-BufJXA4z.js"),__vite__mapDeps([10,11,12,13])),meta:{title:Tt("menus.pureDraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/able/pdf",name:"Pdf",component:()=>Ie(()=>import("./pdf-EzbyTW2b.js"),[]),meta:{title:Tt("menus.purePdf")}},{path:"/able/barcode",name:"BarCode",component:()=>Ie(()=>import("./barcode-ChcnN7cJ.js"),[]),meta:{title:Tt("menus.pureBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>Ie(()=>import("./qrcode-CYOy2VTt.js"),__vite__mapDeps([14,15,16,17,18])),meta:{title:Tt("menus.pureQrcode")}},{path:"/able/map",name:"MapPage",component:()=>Ie(()=>import("./map-HN9iG94Y.js"),__vite__mapDeps([19,20,21])),meta:{title:Tt("menus.pureMap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/able/wavesurfer",name:"Wavesurfer",component:()=>Ie(()=>import("./index-DuJ_eT0M.js"),[]),meta:{title:Tt("menus.pureWavesurfer")}},{path:"/able/video",name:"VideoPage",component:()=>Ie(()=>import("./video-CbOSdF8S.js"),__vite__mapDeps([22,23,24])),meta:{title:Tt("menus.pureVideo")}},{path:"/able/video-frame",name:"VideoFrame",component:()=>Ie(()=>import("./index-Cx0D6q7y.js"),__vite__mapDeps([25,26,27])),meta:{title:Tt("menus.pureVideoFrame")}},{path:"/able/danmaku",name:"Danmaku",component:()=>Ie(()=>import("./index-B_CAjgKE.js"),__vite__mapDeps([28,29])),meta:{title:Tt("menus.pureDanmaku")}},{path:"/able/infinite-scroll",name:"InfiniteScroll",component:()=>Ie(()=>import("./infinite-scroll-DgRKgOTp.js"),[]),meta:{title:Tt("menus.pureInfiniteScroll")}},{path:"/able/menu-tree",name:"MenuTree",component:()=>Ie(()=>import("./menu-tree-DD7-osfn.js"),__vite__mapDeps([30,23])),meta:{title:Tt("menus.pureMenuTree")}},{path:"/able/line-tree",name:"LineTree",component:()=>Ie(()=>import("./line-tree-CLj803dT.js"),__vite__mapDeps([31,32])),meta:{title:Tt("menus.pureLineTree")}},{path:"/able/typeit",name:"Typeit",component:()=>Ie(()=>import("./typeit-CxItUGid.js"),__vite__mapDeps([33,34])),meta:{title:Tt("menus.pureTypeit")}},{path:"/able/sensitive",name:"Sensitive",component:()=>Ie(()=>import("./sensitive-7qYcTXtI.js"),[]),meta:{title:Tt("menus.pureSensitive")}},{path:"/able/pinyin",name:"Pinyin",component:()=>Ie(()=>import("./pinyin-BvBX7pIP.js"),__vite__mapDeps([35,36,37])),meta:{title:Tt("menus.purePinyin")}}]},Mqe=Object.freeze(Object.defineProperty({__proto__:null,default:Tqe},Symbol.toStringTag,{value:"Module"})),Bqe={path:"/about",redirect:"/about/index",meta:{icon:"ri:file-info-line",title:Tt("menus.pureAbout"),rank:Upe},children:[{path:"/about/index",name:"About",component:()=>Ie(()=>import("./index-DK4oWLmd.js"),__vite__mapDeps([38,39,40])),meta:{title:Tt("menus.pureAbout")}}]},Lqe=Object.freeze(Object.defineProperty({__proto__:null,default:Bqe},Symbol.toStringTag,{value:"Module"})),Oqe=()=>Ie(()=>import("./frame-CpGMGK3l.js"),__vite__mapDeps([41,42])),Rqe={path:"/board",redirect:"/board/index",meta:{icon:"ri:artboard-line",title:Tt("menus.pureBoard"),rank:Xpe},children:[{path:"/board/index",name:"FrameBoard",component:Oqe,meta:{title:Tt("menus.pureBoard"),keepAlive:!0,frameSrc:"https://songlh.top/paint-board/"}}]},Pqe=Object.freeze(Object.defineProperty({__proto__:null,default:Rqe},Symbol.toStringTag,{value:"Module"})),Iqe={path:"/components",redirect:"/components/dialog",meta:{icon:"ep:menu",title:Tt("menus.pureComponents"),rank:Ope},children:[{path:"/components/dialog",name:"DialogPage",component:()=>Ie(()=>import("./index-DCGfcDpT.js"),__vite__mapDeps([43,44,45])),meta:{title:Tt("menus.pureDialog")}},{path:"/components/drawer",name:"DrawerPage",component:()=>Ie(()=>import("./index-DQ5Mcg6T.js"),__vite__mapDeps([46,47,48])),meta:{title:Tt("menus.pureDrawer")}},{path:"/components/message",name:"Message",component:()=>Ie(()=>import("./message-Cy4wCo2H.js"),__vite__mapDeps([49,23,50])),meta:{title:Tt("menus.pureMessage")}},{path:"/components/upload",name:"PureUpload",component:()=>Ie(()=>import("./index-DqrL1QBV.js"),__vite__mapDeps([51,11,52,20,53,54])),meta:{title:Tt("menus.pureUpload")}},{path:"/components/check-card",name:"CheckCard",component:()=>Ie(()=>import("./check-card-DIV3kA2O.js"),__vite__mapDeps([55,56,57,58])),meta:{title:Tt("menus.pureCheckCard"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/date-picker",name:"DatePicker",component:()=>Ie(()=>import("./date-picker-BDC0bdag.js"),__vite__mapDeps([59,23,60])),meta:{title:Tt("menus.pureDatePicker")}},{path:"/components/datetime-picker",name:"DateTimePicker",component:()=>Ie(()=>import("./datetime-picker-7Xgh0GeS.js"),__vite__mapDeps([61,62])),meta:{title:Tt("menus.pureDateTimePicker")}},{path:"/components/time-picker",name:"TimePicker",component:()=>Ie(()=>import("./time-picker-CHMHubk-.js"),[]),meta:{title:Tt("menus.pureTimePicker")}},{path:"/components/icon-select",name:"IconSelect",component:()=>Ie(()=>import("./icon-select-BudFo4du.js"),[]),meta:{title:Tt("menus.pureIconSelect")}},{path:"/components/animatecss",name:"AnimateCss",component:()=>Ie(()=>import("./animatecss-Xc9tuEGJ.js"),__vite__mapDeps([63,64,65])),meta:{title:Tt("menus.pureAnimatecss")}},{path:"/components/cropping",name:"Cropping",component:()=>Ie(()=>import("./index-D5iCjPOU.js"),__vite__mapDeps([66,67,68])),meta:{title:Tt("menus.pureCropping")}},{path:"/components/segmented",name:"Segmented",component:()=>Ie(()=>import("./segmented-C_6trlMT.js"),__vite__mapDeps([69,70,23,71,72,73])),meta:{title:Tt("menus.pureSegmented")}},{path:"/components/text",name:"PureText",component:()=>Ie(()=>import("./text-5ZVgRnoz.js"),__vite__mapDeps([74,75,76])),meta:{title:Tt("menus.pureText"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/el-button",name:"PureButton",component:()=>Ie(()=>import("./el-button-DzbHFNBD.js"),__vite__mapDeps([77,23,78])),meta:{title:Tt("menus.pureElButton")}},{path:"/components/check-button",name:"CheckButton",component:()=>Ie(()=>import("./check-button-XlJN5YhP.js"),__vite__mapDeps([79,80])),meta:{title:Tt("menus.pureCheckButton"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/button",name:"ButtonPage",component:()=>Ie(()=>import("./button-Cu7QUYEA.js"),[]),meta:{title:Tt("menus.pureButton")}},{path:"/components/progress",name:"PureProgress",component:()=>Ie(()=>import("./progress-84ELKHTx.js"),__vite__mapDeps([81,23,82])),meta:{title:Tt("menus.pureProgress")}},{path:"/components/tag",name:"PureTag",component:()=>Ie(()=>import("./tag-BEvkUo0H.js"),__vite__mapDeps([83,84])),meta:{title:Tt("menus.pureTag")}},{path:"/components/statistic",name:"Statistic",component:()=>Ie(()=>import("./statistic-CJa3qh8a.js"),__vite__mapDeps([85,86,87])),meta:{title:Tt("menus.pureStatistic")}},{path:"/components/collapse",name:"Collapse",component:()=>Ie(()=>import("./collapse-Bp7rqNmh.js"),[]),meta:{title:Tt("menus.pureCollapse")}},{path:"/components/cascader",name:"Cascader",component:()=>Ie(()=>import("./cascader-tM9VTW_g.js"),[]),meta:{title:Tt("menus.pureCascader")}},{path:"/components/color-picker",name:"ColorPicker",component:()=>Ie(()=>import("./color-picker-CQREo1rB.js"),[]),meta:{title:Tt("menus.pureColorPicker")}},{path:"/components/selector",name:"Selector",component:()=>Ie(()=>import("./selector-BrvC8BVA.js"),__vite__mapDeps([88,89])),meta:{title:Tt("menus.pureSelector")}},{path:"/components/waterfall",name:"Waterfall",component:()=>Ie(()=>import("./index-DUmu9ZnI.js"),__vite__mapDeps([90,91,92])),meta:{title:Tt("menus.pureWaterfall")}},{path:"/components/split-pane",name:"SplitPane",component:()=>Ie(()=>import("./split-pane-IhwMoH_O.js"),__vite__mapDeps([93,94])),meta:{title:Tt("menus.pureSplitPane")}},{path:"/components/swiper",name:"Swiper",component:()=>Ie(()=>import("./swiper-Co8_beCy.js"),__vite__mapDeps([95,96])),meta:{title:Tt("menus.pureSwiper")}},{path:"/components/timeline",name:"TimeLine",component:()=>Ie(()=>import("./timeline-BHFA2LNF.js"),__vite__mapDeps([97,98,99,23,100,101])),meta:{title:Tt("menus.pureTimeline")}},{path:"/components/count-to",name:"CountTo",component:()=>Ie(()=>import("./count-to-D_H49llH.js"),__vite__mapDeps([102,103,16,104])),meta:{title:Tt("menus.pureCountTo")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>Ie(()=>import("./index-M7DqAzMo.js"),__vite__mapDeps([105,106,107,108,109,110,111,112,113])),meta:{title:Tt("menus.pureContextmenu")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>Ie(()=>import("./json-editor-DLF-xU-5.js"),__vite__mapDeps([114,115,116])),meta:{title:Tt("menus.pureJsonEditor")}},{path:"/components/seamless-scroll",name:"SeamlessScroll",component:()=>Ie(()=>import("./seamless-scroll-CcIjbdjf.js"),__vite__mapDeps([117,118])),meta:{title:Tt("menus.pureSeamless")}},{path:"/components/virtual-list",name:"VirtualList",component:()=>Ie(()=>import("./index-C_Adml9X.js"),__vite__mapDeps([119,120,121,122,123,124,125])),meta:{title:Tt("menus.pureVirtualList")}}]},Nqe=Object.freeze(Object.defineProperty({__proto__:null,default:Iqe},Symbol.toStringTag,{value:"Module"})),$qe={path:"/editor",redirect:"/editor/index",meta:{icon:"ep:edit",title:Tt("menus.pureEditor"),rank:qpe},children:[{path:"/editor/index",name:"Editor",component:()=>Ie(()=>import("./index-D2nJixOM.js"),__vite__mapDeps([126,127,128,129,130,86,131,132])),meta:{title:Tt("menus.pureEditor"),keepAlive:!0}}]},Vqe=Object.freeze(Object.defineProperty({__proto__:null,default:$qe},Symbol.toStringTag,{value:"Module"})),Hqe={path:"/error",redirect:"/error/403",meta:{icon:"ri:information-line",title:Tt("menus.pureAbnormal"),rank:Vpe},children:[{path:"/error/403",name:"403",component:()=>Ie(()=>import("./403-Bqk49JPx.js"),[]),meta:{title:Tt("menus.pureFourZeroOne")}},{path:"/error/404",name:"404",component:()=>Ie(()=>import("./404-DX8ueleH.js"),[]),meta:{title:Tt("menus.pureFourZeroFour")}},{path:"/error/500",name:"500",component:()=>Ie(()=>import("./500-QlK6gT4G.js"),[]),meta:{title:Tt("menus.pureFive")}}]},zqe=Object.freeze(Object.defineProperty({__proto__:null,default:Hqe},Symbol.toStringTag,{value:"Module"})),Wqe={path:"/flow-chart",redirect:"/flow-chart/index",meta:{icon:"ep:set-up",title:Tt("menus.pureFlowChart"),rank:Ype},children:[{path:"/flow-chart/index",name:"FlowChart",component:()=>Ie(()=>import("./index-sLU0v2yw.js"),__vite__mapDeps([133,134,115,116,135])),meta:{title:Tt("menus.pureFlowChart")}}]},Gqe=Object.freeze(Object.defineProperty({__proto__:null,default:Wqe},Symbol.toStringTag,{value:"Module"})),jqe={path:"/form",redirect:"/form/index",meta:{icon:"ri:edit-box-line",title:Tt("menus.pureSchemaForm"),rank:Ipe},children:[{path:"/form/index",name:"SchemaForm",component:()=>Ie(()=>import("./index-bQMkK_Xr.js"),__vite__mapDeps([136,137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149,150])),meta:{title:Tt("menus.pureSchemaForm"),extraIcon:"IF-pure-iconfont-new svg"}}]},Kqe=Object.freeze(Object.defineProperty({__proto__:null,default:jqe},Symbol.toStringTag,{value:"Module"})),Uqe=()=>Ie(()=>import("./frame-CpGMGK3l.js"),__vite__mapDeps([41,42])),qqe={path:"/form-design",redirect:"/form-design/index",meta:{icon:"ri:terminal-window-line",title:Tt("menus.pureFormDesign"),rank:Jpe},children:[{path:"/form-design/index",name:"FormDesign",component:Uqe,meta:{title:Tt("menus.pureFormDesign"),keepAlive:!0,frameSrc:"https://haixin-fang.github.io/vue-form-design/playground/index.html",frameLoading:!1}}]},Yqe=Object.freeze(Object.defineProperty({__proto__:null,default:qqe},Symbol.toStringTag,{value:"Module"})),Jqe={path:"/ganttastic",redirect:"/ganttastic/index",meta:{icon:"ri:bar-chart-horizontal-line",title:Tt("menus.pureGanttastic"),rank:Lpe},children:[{path:"/ganttastic/index",name:"Ganttastic",component:()=>Ie(()=>import("./index-DIcqFo_G.js"),[]),meta:{title:Tt("menus.pureGanttastic"),extraIcon:"IF-pure-iconfont-new svg"}}]},Xqe=Object.freeze(Object.defineProperty({__proto__:null,default:Jqe},Symbol.toStringTag,{value:"Module"})),Zqe={path:"/guide",redirect:"/guide/index",meta:{icon:"ep:guide",title:Tt("menus.pureGuide"),rank:ehe},children:[{path:"/guide/index",name:"Guide",component:()=>Ie(()=>import("./index-BWpd2JVO.js"),__vite__mapDeps([151,152])),meta:{title:Tt("menus.pureGuide")}}]},Qqe=Object.freeze(Object.defineProperty({__proto__:null,default:Zqe},Symbol.toStringTag,{value:"Module"})),eYe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},{VITE_HIDE_HOME:tYe}=eYe,nYe=()=>Ie(()=>import("./index-CiH_NjpO.js"),__vite__mapDeps([153,154,70,155,156,157,158,26,159,12,160,161,17,162,36,23,11,50,91,71,72,75,163])),rYe={path:"/",name:"Home",component:nYe,redirect:"/welcome",meta:{icon:"ep:home-filled",title:Tt("menus.pureHome"),rank:Mpe},children:[{path:"/welcome",name:"Welcome",component:()=>Ie(()=>import("./index-0fxmVDxO.js"),__vite__mapDeps([164,86,165,166,23,167,103,16,104,98,99,168,169,170,71,72,171])),meta:{title:Tt("menus.pureHome"),showLink:tYe!=="true"}}]},aYe=Object.freeze(Object.defineProperty({__proto__:null,default:rYe},Symbol.toStringTag,{value:"Module"})),iYe={path:"/list",redirect:"/list/card",meta:{icon:"ri:list-check",title:Tt("menus.pureList"),rank:Npe},children:[{path:"/list/card",name:"CardList",component:()=>Ie(()=>import("./index-CZ73tXTB.js"),__vite__mapDeps([172,173,174,175,176,23,177])),meta:{icon:"ri:bank-card-line",title:Tt("menus.pureCardList"),showParent:!0}}]},oYe=Object.freeze(Object.defineProperty({__proto__:null,default:iYe},Symbol.toStringTag,{value:"Module"})),sYe={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:Tt("menus.pureMenuOverflow"),rank:the},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>Ie(()=>import("./index-DTfIS9P0.js"),[]),meta:{title:Tt("menus.pureChildMenuOverflow"),showParent:!0}}]},lYe=Object.freeze(Object.defineProperty({__proto__:null,default:sYe},Symbol.toStringTag,{value:"Module"})),uYe=()=>Ie(()=>import("./frame-CpGMGK3l.js"),__vite__mapDeps([41,42])),cYe={path:"/mind-map",redirect:"/mind-map/index",meta:{icon:"ri:mind-map",title:Tt("menus.pureMindMap"),rank:Qpe},children:[{path:"/mind-map/index",name:"FrameMindMap",component:uYe,meta:{title:Tt("menus.pureMindMap"),keepAlive:!0,frameSrc:"https://wanglin2.github.io/mind-map/#/"}}]},dYe=Object.freeze(Object.defineProperty({__proto__:null,default:cYe},Symbol.toStringTag,{value:"Module"})),fYe={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:Tt("menus.pureMenus"),icon:"ep:histogram",rank:zpe},children:[{path:"/nested/menu1",meta:{title:Tt("menus.pureMenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>Ie(()=>import("./index-BaazyecG.js"),[]),name:"Menu1-1",meta:{title:Tt("menus.pureMenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:Tt("menus.pureMenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>Ie(()=>import("./index-BEWdgvR5.js"),[]),name:"Menu1-2-1",meta:{title:Tt("menus.pureMenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>Ie(()=>import("./index-DTw3Mqw7.js"),[]),name:"Menu1-2-2",meta:{title:Tt("menus.pureMenu1-2-2"),keepAlive:!0}}]},{path:"/nested/menu1/menu1-3",component:()=>Ie(()=>import("./index-d1aObMj3.js"),[]),name:"Menu1-3",meta:{title:Tt("menus.pureMenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>Ie(()=>import("./index-Bt5lejkj.js"),[]),meta:{title:Tt("menus.pureMenu2"),keepAlive:!0}}]},pYe=Object.freeze(Object.defineProperty({__proto__:null,default:fYe},Symbol.toStringTag,{value:"Module"})),hYe=()=>Ie(()=>import("./frame-CpGMGK3l.js"),__vite__mapDeps([41,42])),mYe={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ri:file-ppt-2-line",title:"PPT",rank:Zpe},children:[{path:"/ppt/index",name:"FramePpt",component:hYe,meta:{title:"PPT",keepAlive:!0,frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},vYe=Object.freeze(Object.defineProperty({__proto__:null,default:mYe},Symbol.toStringTag,{value:"Module"})),gYe={path:"/result",redirect:"/result/success",meta:{icon:"ri:checkbox-circle-line",title:Tt("menus.pureResult"),rank:$pe},children:[{path:"/result/success",name:"Success",component:()=>Ie(()=>import("./success-cb0_cmcJ.js"),__vite__mapDeps([178,179])),meta:{title:Tt("menus.pureSuccess")}},{path:"/result/fail",name:"Fail",component:()=>Ie(()=>import("./fail-CwkBMC7T.js"),__vite__mapDeps([180,181,162,182])),meta:{title:Tt("menus.pureFail")}}]},yYe=Object.freeze(Object.defineProperty({__proto__:null,default:gYe},Symbol.toStringTag,{value:"Module"})),bYe={path:"/table",redirect:"/table/index",meta:{icon:"ri:table-line",title:Tt("menus.pureTable"),rank:Ppe},children:[{path:"/table/index",name:"PureTable",component:()=>Ie(()=>import("./index-Dy8WaZ9q.js"),__vite__mapDeps([183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211])),meta:{title:Tt("menus.pureTableBase")}},{path:"/table/high",name:"PureTableHigh",component:()=>Ie(()=>import("./high-9cT5I8aF.js"),__vite__mapDeps([212,213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239,240])),meta:{title:Tt("menus.pureTableHigh")}},{path:"/table/edit",name:"PureTableEdit",component:()=>Ie(()=>import("./edit-DrDRbIlR.js"),__vite__mapDeps([241,242,243,244,245,23,53,246,247,248,249,250,251,252,50,253])),meta:{title:Tt("menus.pureTableEdit"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/table/virtual",name:"VxeTable",component:()=>Ie(()=>import("./virtual-kAdtnFjI.js"),__vite__mapDeps([254,255,256,257,11,160,258,259,260,261])),meta:{title:Tt("menus.pureVxeTable"),extraIcon:"IF-pure-iconfont-new svg"}}]},FYe=Object.freeze(Object.defineProperty({__proto__:null,default:bYe},Symbol.toStringTag,{value:"Module"})),CYe={path:"/vue-flow",redirect:"/vue-flow/index",meta:{icon:"ep:set-up",title:"vue-flow",rank:Bpe},children:[{path:"/vue-flow/index",name:"VueFlow",component:()=>Ie(()=>import("./index-C-LhdMC8.js"),__vite__mapDeps([262,263,1,264,265,266,267,268,269])),meta:{title:"vue-flow",extraIcon:"IF-pure-iconfont-new svg"}}]},wYe=Object.freeze(Object.defineProperty({__proto__:null,default:CYe},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function _5(e){for(var t=1;t{delete i[h]}),n.headers=Po.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[V$.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,s){r.reason||(r.reason=new b0(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new UM(function(a){t=a}),cancel:t}}}function Fqe(e){return function(n){return e.apply(null,n)}}function Cqe(e){return wt.isObject(e)&&e.isAxiosError===!0}const hk={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(hk).forEach(([e,t])=>{hk[t]=e});function rre(e){const t=new wh(e),n=One(wh.prototype.request,t);return wt.extend(n,wh.prototype,t,{allOwnKeys:!0}),wt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return rre(em(e,a))},n}const xa=rre(Yb);xa.Axios=wh;xa.CanceledError=b0;xa.CancelToken=UM;xa.isCancel=Yne;xa.VERSION=nre;xa.toFormData=j6;xa.AxiosError=nr;xa.Cancel=xa.CanceledError;xa.all=function(t){return Promise.all(t)};xa.spread=Fqe;xa.isAxiosError=Cqe;xa.mergeConfig=em;xa.AxiosHeaders=Po;xa.formToJSON=e=>qne(wt.isHTMLForm(e)?new FormData(e):e);xa.getAdapter=tre.getAdapter;xa.HttpStatusCode=hk;xa.default=xa;const wqe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"};let PF={};const{VITE_PUBLIC_PATH:Eqe}=wqe,Sqe=e=>{PF=Object.assign(PF,e)},Eh=e=>{if(typeof e=="string"){const t=e.split(".");if(t&&t.length){let n=PF;return t.forEach(r=>{n&&typeof n[r]!="undefined"?n=n[r]:n=null}),n}}return PF},Dqe=e=>Qt(void 0,null,function*(){return e.config.globalProperties.$config=Eh(),xa({method:"get",url:`${Eqe}platform-config.json`}).then(({data:t})=>{let n=e.config.globalProperties.$config;return e&&n&&typeof t=="object"&&(n=Object.assign(n,t),e.config.globalProperties.$config=n,Sqe(n)),n}).catch(()=>{throw"请在public文件夹下添加platform-config.json配置文件"})}),Nd=()=>Eh().ResponsiveStorageNameSpace,IF=function(){let e=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":ije,"../../locales/zh-CN.yaml":sje})).map(([t,n])=>[t.match(/([A-Za-z0-9-_]+)\./i)[1],n.default]));return(t="zh-CN")=>e[t]}(),_qe={zh:ce(ce({},IF("zh-CN")),yne),en:ce(ce({},IF("en")),kT)};function kqe(e){const t=[],n=new Set;for(t.push({obj:e,key:""});t.length>0;){const{obj:r,key:a}=t.pop();for(const i in r){const o=a?`${a}.${i}`:i;r[i]&&xv(r[i])?t.push({obj:r[i],key:o}):n.add(a)}}return n}const z$=new Map,Aqe=(e="zh-CN")=>{let t=z$.get(e);return t||(t=kqe(IF(e)),z$.set(e,t)),t};function W$(e=""){var n;if(!e)return"";if(typeof e=="object"){const r=f1.global.locale;return e[r==null?void 0:r.value]}const t=(n=e.match(/(\S*)\./))==null?void 0:n.input;return t&&Aqe("zh-CN").has(t)||!t&&Object.hasOwn(IF("zh-CN"),e)?f1.global.t.call(f1.global.locale,e):e}const Tt=e=>e;var nY,rY;const f1=IKe({legacy:!1,locale:(rY=(nY=pa().getItem(`${Nd()}locale`))==null?void 0:nY.locale)!=null?rY:"zh",fallbackLocale:"en",messages:_qe});function xqe(e){e.use(f1)}const Tqe={path:"/able",redirect:"/able/watermark",meta:{icon:"ri:ubuntu-fill",title:Tt("menus.pureAble"),rank:Rpe},children:[{path:"/able/mqtt-client",name:"MqttClient",component:()=>Ie(()=>import("./mqtt-client-TFerwYCu.js"),__vite__mapDeps([0,1])),meta:{title:Tt("menus.pureMqtt"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/able/verify",name:"Verify",component:()=>Ie(()=>import("./verify-BXiTPTCu.js"),__vite__mapDeps([2,3])),meta:{title:Tt("menus.pureVerify")}},{path:"/able/watermark",name:"WaterMark",component:()=>Ie(()=>import("./watermark-BvyKDRG4.js"),[]),meta:{title:Tt("menus.pureWatermark")}},{path:"/able/print",name:"Print",component:()=>Ie(()=>import("./index-BCqTdNcB.js"),__vite__mapDeps([4,5,6,7])),meta:{title:Tt("menus.purePrint")}},{path:"/able/download",name:"Download",component:()=>Ie(()=>import("./download-KCRd0w4h.js"),[]),meta:{title:Tt("menus.pureDownload")}},{path:"/able/excel",name:"Excel",component:()=>Ie(()=>import("./excel-CiD4ZMqP.js"),__vite__mapDeps([8,9])),meta:{title:Tt("menus.pureExcel")}},{path:"/components/ripple",name:"Ripple",component:()=>Ie(()=>import("./ripple-1s0SWwPl.js"),[]),meta:{title:Tt("menus.pureRipple")}},{path:"/able/debounce",name:"Debounce",component:()=>Ie(()=>import("./debounce-OJlUUJ2j.js"),[]),meta:{title:Tt("menus.pureDebounce")}},{path:"/able/directives",name:"Directives",component:()=>Ie(()=>import("./directives-BMXUr4UF.js"),[]),meta:{title:Tt("menus.pureOptimize")}},{path:"/able/draggable",name:"Draggable",component:()=>Ie(()=>import("./draggable-BLR7jlvm.js"),__vite__mapDeps([10,11,12,13])),meta:{title:Tt("menus.pureDraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/able/pdf",name:"Pdf",component:()=>Ie(()=>import("./pdf-Bt1PNxHS.js"),[]),meta:{title:Tt("menus.purePdf")}},{path:"/able/barcode",name:"BarCode",component:()=>Ie(()=>import("./barcode-ydv2t1dY.js"),[]),meta:{title:Tt("menus.pureBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>Ie(()=>import("./qrcode-fJM1M5e8.js"),__vite__mapDeps([14,15,16,17,18])),meta:{title:Tt("menus.pureQrcode")}},{path:"/able/map",name:"MapPage",component:()=>Ie(()=>import("./map-CdwSNwdy.js"),__vite__mapDeps([19,20,21])),meta:{title:Tt("menus.pureMap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/able/wavesurfer",name:"Wavesurfer",component:()=>Ie(()=>import("./index-C9KalBp9.js"),[]),meta:{title:Tt("menus.pureWavesurfer")}},{path:"/able/video",name:"VideoPage",component:()=>Ie(()=>import("./video-DC6M4URL.js"),__vite__mapDeps([22,23,24])),meta:{title:Tt("menus.pureVideo")}},{path:"/able/video-frame",name:"VideoFrame",component:()=>Ie(()=>import("./index-NvLp9pvb.js"),__vite__mapDeps([25,26,27])),meta:{title:Tt("menus.pureVideoFrame")}},{path:"/able/danmaku",name:"Danmaku",component:()=>Ie(()=>import("./index-DVr1E8Yp.js"),__vite__mapDeps([28,29])),meta:{title:Tt("menus.pureDanmaku")}},{path:"/able/infinite-scroll",name:"InfiniteScroll",component:()=>Ie(()=>import("./infinite-scroll-B4JZwzTw.js"),[]),meta:{title:Tt("menus.pureInfiniteScroll")}},{path:"/able/menu-tree",name:"MenuTree",component:()=>Ie(()=>import("./menu-tree-CyTBjPoy.js"),__vite__mapDeps([30,23])),meta:{title:Tt("menus.pureMenuTree")}},{path:"/able/line-tree",name:"LineTree",component:()=>Ie(()=>import("./line-tree-gAfxUp_2.js"),__vite__mapDeps([31,32])),meta:{title:Tt("menus.pureLineTree")}},{path:"/able/typeit",name:"Typeit",component:()=>Ie(()=>import("./typeit-DFUJjnsp.js"),__vite__mapDeps([33,34])),meta:{title:Tt("menus.pureTypeit")}},{path:"/able/sensitive",name:"Sensitive",component:()=>Ie(()=>import("./sensitive-CbFFJvov.js"),[]),meta:{title:Tt("menus.pureSensitive")}},{path:"/able/pinyin",name:"Pinyin",component:()=>Ie(()=>import("./pinyin-CsBTiQiT.js"),__vite__mapDeps([35,36,37])),meta:{title:Tt("menus.purePinyin")}}]},Mqe=Object.freeze(Object.defineProperty({__proto__:null,default:Tqe},Symbol.toStringTag,{value:"Module"})),Bqe={path:"/about",redirect:"/about/index",meta:{icon:"ri:file-info-line",title:Tt("menus.pureAbout"),rank:Upe},children:[{path:"/about/index",name:"About",component:()=>Ie(()=>import("./index-CZVgWSCU.js"),__vite__mapDeps([38,39,40])),meta:{title:Tt("menus.pureAbout")}}]},Lqe=Object.freeze(Object.defineProperty({__proto__:null,default:Bqe},Symbol.toStringTag,{value:"Module"})),Oqe=()=>Ie(()=>import("./frame-BpDq38R9.js"),__vite__mapDeps([41,42])),Rqe={path:"/board",redirect:"/board/index",meta:{icon:"ri:artboard-line",title:Tt("menus.pureBoard"),rank:Xpe},children:[{path:"/board/index",name:"FrameBoard",component:Oqe,meta:{title:Tt("menus.pureBoard"),keepAlive:!0,frameSrc:"https://songlh.top/paint-board/"}}]},Pqe=Object.freeze(Object.defineProperty({__proto__:null,default:Rqe},Symbol.toStringTag,{value:"Module"})),Iqe={path:"/components",redirect:"/components/dialog",meta:{icon:"ep:menu",title:Tt("menus.pureComponents"),rank:Ope},children:[{path:"/components/dialog",name:"DialogPage",component:()=>Ie(()=>import("./index-BTthmtX0.js"),__vite__mapDeps([43,44,45])),meta:{title:Tt("menus.pureDialog")}},{path:"/components/drawer",name:"DrawerPage",component:()=>Ie(()=>import("./index-DwURU8VY.js"),__vite__mapDeps([46,47,48])),meta:{title:Tt("menus.pureDrawer")}},{path:"/components/message",name:"Message",component:()=>Ie(()=>import("./message-DWBWequf.js"),__vite__mapDeps([49,23,50])),meta:{title:Tt("menus.pureMessage")}},{path:"/components/upload",name:"PureUpload",component:()=>Ie(()=>import("./index-DGi8l-e5.js"),__vite__mapDeps([51,11,52,20,53,54])),meta:{title:Tt("menus.pureUpload")}},{path:"/components/check-card",name:"CheckCard",component:()=>Ie(()=>import("./check-card-C4WEypSk.js"),__vite__mapDeps([55,56,57,58])),meta:{title:Tt("menus.pureCheckCard"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/date-picker",name:"DatePicker",component:()=>Ie(()=>import("./date-picker-BRTOdTA9.js"),__vite__mapDeps([59,23,60])),meta:{title:Tt("menus.pureDatePicker")}},{path:"/components/datetime-picker",name:"DateTimePicker",component:()=>Ie(()=>import("./datetime-picker-BEDxUgIT.js"),__vite__mapDeps([61,62])),meta:{title:Tt("menus.pureDateTimePicker")}},{path:"/components/time-picker",name:"TimePicker",component:()=>Ie(()=>import("./time-picker-Df3_tZ2C.js"),[]),meta:{title:Tt("menus.pureTimePicker")}},{path:"/components/icon-select",name:"IconSelect",component:()=>Ie(()=>import("./icon-select-CJekISoV.js"),[]),meta:{title:Tt("menus.pureIconSelect")}},{path:"/components/animatecss",name:"AnimateCss",component:()=>Ie(()=>import("./animatecss-BGKYo2U4.js"),__vite__mapDeps([63,64,65])),meta:{title:Tt("menus.pureAnimatecss")}},{path:"/components/cropping",name:"Cropping",component:()=>Ie(()=>import("./index-DSKh-n_9.js"),__vite__mapDeps([66,67,68])),meta:{title:Tt("menus.pureCropping")}},{path:"/components/segmented",name:"Segmented",component:()=>Ie(()=>import("./segmented-BgwT3_es.js"),__vite__mapDeps([69,70,23,71,72,73])),meta:{title:Tt("menus.pureSegmented")}},{path:"/components/text",name:"PureText",component:()=>Ie(()=>import("./text-BqQO_WKY.js"),__vite__mapDeps([74,75,76])),meta:{title:Tt("menus.pureText"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/el-button",name:"PureButton",component:()=>Ie(()=>import("./el-button-DkSyg_LT.js"),__vite__mapDeps([77,23,78])),meta:{title:Tt("menus.pureElButton")}},{path:"/components/check-button",name:"CheckButton",component:()=>Ie(()=>import("./check-button-DaLd9Dyq.js"),__vite__mapDeps([79,80])),meta:{title:Tt("menus.pureCheckButton"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/button",name:"ButtonPage",component:()=>Ie(()=>import("./button-BjJ23hpw.js"),[]),meta:{title:Tt("menus.pureButton")}},{path:"/components/progress",name:"PureProgress",component:()=>Ie(()=>import("./progress-D8PJE17d.js"),__vite__mapDeps([81,23,82])),meta:{title:Tt("menus.pureProgress")}},{path:"/components/tag",name:"PureTag",component:()=>Ie(()=>import("./tag-BUDz_XzN.js"),__vite__mapDeps([83,84])),meta:{title:Tt("menus.pureTag")}},{path:"/components/statistic",name:"Statistic",component:()=>Ie(()=>import("./statistic-Bh3Ln084.js"),__vite__mapDeps([85,86,87])),meta:{title:Tt("menus.pureStatistic")}},{path:"/components/collapse",name:"Collapse",component:()=>Ie(()=>import("./collapse-DuDhsmTC.js"),[]),meta:{title:Tt("menus.pureCollapse")}},{path:"/components/cascader",name:"Cascader",component:()=>Ie(()=>import("./cascader-x3QK8kzL.js"),[]),meta:{title:Tt("menus.pureCascader")}},{path:"/components/color-picker",name:"ColorPicker",component:()=>Ie(()=>import("./color-picker-7IPesrMH.js"),[]),meta:{title:Tt("menus.pureColorPicker")}},{path:"/components/selector",name:"Selector",component:()=>Ie(()=>import("./selector-iwe3VwKC.js"),__vite__mapDeps([88,89])),meta:{title:Tt("menus.pureSelector")}},{path:"/components/waterfall",name:"Waterfall",component:()=>Ie(()=>import("./index-CssYx8_7.js"),__vite__mapDeps([90,91,92])),meta:{title:Tt("menus.pureWaterfall")}},{path:"/components/split-pane",name:"SplitPane",component:()=>Ie(()=>import("./split-pane-Diaam1l2.js"),__vite__mapDeps([93,94])),meta:{title:Tt("menus.pureSplitPane")}},{path:"/components/swiper",name:"Swiper",component:()=>Ie(()=>import("./swiper-Dw8CtEFy.js"),__vite__mapDeps([95,96])),meta:{title:Tt("menus.pureSwiper")}},{path:"/components/timeline",name:"TimeLine",component:()=>Ie(()=>import("./timeline-qDHWEr6H.js"),__vite__mapDeps([97,98,99,23,100,101])),meta:{title:Tt("menus.pureTimeline")}},{path:"/components/count-to",name:"CountTo",component:()=>Ie(()=>import("./count-to-lA2fZpve.js"),__vite__mapDeps([102,103,16,104])),meta:{title:Tt("menus.pureCountTo")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>Ie(()=>import("./index-DI3zfSsa.js"),__vite__mapDeps([105,106,107,108,109,110,111,112,113])),meta:{title:Tt("menus.pureContextmenu")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>Ie(()=>import("./json-editor-C8NOolfy.js"),__vite__mapDeps([114,115,116])),meta:{title:Tt("menus.pureJsonEditor")}},{path:"/components/seamless-scroll",name:"SeamlessScroll",component:()=>Ie(()=>import("./seamless-scroll-nP7lTgUi.js"),__vite__mapDeps([117,118])),meta:{title:Tt("menus.pureSeamless")}},{path:"/components/virtual-list",name:"VirtualList",component:()=>Ie(()=>import("./index-Cea6h9xr.js"),__vite__mapDeps([119,120,121,122,123,124,125])),meta:{title:Tt("menus.pureVirtualList")}}]},Nqe=Object.freeze(Object.defineProperty({__proto__:null,default:Iqe},Symbol.toStringTag,{value:"Module"})),$qe={path:"/editor",redirect:"/editor/index",meta:{icon:"ep:edit",title:Tt("menus.pureEditor"),rank:qpe},children:[{path:"/editor/index",name:"Editor",component:()=>Ie(()=>import("./index-BXZN_yAk.js"),__vite__mapDeps([126,127,128,129,130,86,131,132])),meta:{title:Tt("menus.pureEditor"),keepAlive:!0}}]},Vqe=Object.freeze(Object.defineProperty({__proto__:null,default:$qe},Symbol.toStringTag,{value:"Module"})),Hqe={path:"/error",redirect:"/error/403",meta:{icon:"ri:information-line",title:Tt("menus.pureAbnormal"),rank:Vpe},children:[{path:"/error/403",name:"403",component:()=>Ie(()=>import("./403-CEBOLY3D.js"),[]),meta:{title:Tt("menus.pureFourZeroOne")}},{path:"/error/404",name:"404",component:()=>Ie(()=>import("./404-qHu2bR-X.js"),[]),meta:{title:Tt("menus.pureFourZeroFour")}},{path:"/error/500",name:"500",component:()=>Ie(()=>import("./500-BKcgy8qk.js"),[]),meta:{title:Tt("menus.pureFive")}}]},zqe=Object.freeze(Object.defineProperty({__proto__:null,default:Hqe},Symbol.toStringTag,{value:"Module"})),Wqe={path:"/flow-chart",redirect:"/flow-chart/index",meta:{icon:"ep:set-up",title:Tt("menus.pureFlowChart"),rank:Ype},children:[{path:"/flow-chart/index",name:"FlowChart",component:()=>Ie(()=>import("./index-Bap_hJ3C.js"),__vite__mapDeps([133,134,115,116,135])),meta:{title:Tt("menus.pureFlowChart")}}]},Gqe=Object.freeze(Object.defineProperty({__proto__:null,default:Wqe},Symbol.toStringTag,{value:"Module"})),jqe={path:"/form",redirect:"/form/index",meta:{icon:"ri:edit-box-line",title:Tt("menus.pureSchemaForm"),rank:Ipe},children:[{path:"/form/index",name:"SchemaForm",component:()=>Ie(()=>import("./index-H9OgFLj4.js"),__vite__mapDeps([136,137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149,150])),meta:{title:Tt("menus.pureSchemaForm"),extraIcon:"IF-pure-iconfont-new svg"}}]},Kqe=Object.freeze(Object.defineProperty({__proto__:null,default:jqe},Symbol.toStringTag,{value:"Module"})),Uqe=()=>Ie(()=>import("./frame-BpDq38R9.js"),__vite__mapDeps([41,42])),qqe={path:"/form-design",redirect:"/form-design/index",meta:{icon:"ri:terminal-window-line",title:Tt("menus.pureFormDesign"),rank:Jpe},children:[{path:"/form-design/index",name:"FormDesign",component:Uqe,meta:{title:Tt("menus.pureFormDesign"),keepAlive:!0,frameSrc:"https://haixin-fang.github.io/vue-form-design/playground/index.html",frameLoading:!1}}]},Yqe=Object.freeze(Object.defineProperty({__proto__:null,default:qqe},Symbol.toStringTag,{value:"Module"})),Jqe={path:"/ganttastic",redirect:"/ganttastic/index",meta:{icon:"ri:bar-chart-horizontal-line",title:Tt("menus.pureGanttastic"),rank:Lpe},children:[{path:"/ganttastic/index",name:"Ganttastic",component:()=>Ie(()=>import("./index-4X8uUmkC.js"),[]),meta:{title:Tt("menus.pureGanttastic"),extraIcon:"IF-pure-iconfont-new svg"}}]},Xqe=Object.freeze(Object.defineProperty({__proto__:null,default:Jqe},Symbol.toStringTag,{value:"Module"})),Zqe={path:"/guide",redirect:"/guide/index",meta:{icon:"ep:guide",title:Tt("menus.pureGuide"),rank:ehe},children:[{path:"/guide/index",name:"Guide",component:()=>Ie(()=>import("./index-BM6vP2IY.js"),__vite__mapDeps([151,152])),meta:{title:Tt("menus.pureGuide")}}]},Qqe=Object.freeze(Object.defineProperty({__proto__:null,default:Zqe},Symbol.toStringTag,{value:"Module"})),eYe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},{VITE_HIDE_HOME:tYe}=eYe,nYe=()=>Ie(()=>import("./index-C8C4lqsr.js"),__vite__mapDeps([153,154,70,155,156,157,158,26,159,12,160,161,17,162,36,23,11,50,91,71,72,75,163])),rYe={path:"/",name:"Home",component:nYe,redirect:"/welcome",meta:{icon:"ep:home-filled",title:Tt("menus.pureHome"),rank:Mpe},children:[{path:"/welcome",name:"Welcome",component:()=>Ie(()=>import("./index-B7bsA-lN.js"),__vite__mapDeps([164,86,165,166,23,167,103,16,104,98,99,168,169,170,71,72,171])),meta:{title:Tt("menus.pureHome"),showLink:tYe!=="true"}}]},aYe=Object.freeze(Object.defineProperty({__proto__:null,default:rYe},Symbol.toStringTag,{value:"Module"})),iYe={path:"/list",redirect:"/list/card",meta:{icon:"ri:list-check",title:Tt("menus.pureList"),rank:Npe},children:[{path:"/list/card",name:"CardList",component:()=>Ie(()=>import("./index-CD3UP9H1.js"),__vite__mapDeps([172,173,174,175,176,23,177])),meta:{icon:"ri:bank-card-line",title:Tt("menus.pureCardList"),showParent:!0}}]},oYe=Object.freeze(Object.defineProperty({__proto__:null,default:iYe},Symbol.toStringTag,{value:"Module"})),sYe={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:Tt("menus.pureMenuOverflow"),rank:the},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>Ie(()=>import("./index-CgcU9_BG.js"),[]),meta:{title:Tt("menus.pureChildMenuOverflow"),showParent:!0}}]},lYe=Object.freeze(Object.defineProperty({__proto__:null,default:sYe},Symbol.toStringTag,{value:"Module"})),uYe=()=>Ie(()=>import("./frame-BpDq38R9.js"),__vite__mapDeps([41,42])),cYe={path:"/mind-map",redirect:"/mind-map/index",meta:{icon:"ri:mind-map",title:Tt("menus.pureMindMap"),rank:Qpe},children:[{path:"/mind-map/index",name:"FrameMindMap",component:uYe,meta:{title:Tt("menus.pureMindMap"),keepAlive:!0,frameSrc:"https://wanglin2.github.io/mind-map/#/"}}]},dYe=Object.freeze(Object.defineProperty({__proto__:null,default:cYe},Symbol.toStringTag,{value:"Module"})),fYe={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:Tt("menus.pureMenus"),icon:"ep:histogram",rank:zpe},children:[{path:"/nested/menu1",meta:{title:Tt("menus.pureMenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>Ie(()=>import("./index-CyDTEcqw.js"),[]),name:"Menu1-1",meta:{title:Tt("menus.pureMenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:Tt("menus.pureMenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>Ie(()=>import("./index-O4BPhhbm.js"),[]),name:"Menu1-2-1",meta:{title:Tt("menus.pureMenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>Ie(()=>import("./index-DmA6MiC1.js"),[]),name:"Menu1-2-2",meta:{title:Tt("menus.pureMenu1-2-2"),keepAlive:!0}}]},{path:"/nested/menu1/menu1-3",component:()=>Ie(()=>import("./index-CoVdZL4w.js"),[]),name:"Menu1-3",meta:{title:Tt("menus.pureMenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>Ie(()=>import("./index-CrSA5P40.js"),[]),meta:{title:Tt("menus.pureMenu2"),keepAlive:!0}}]},pYe=Object.freeze(Object.defineProperty({__proto__:null,default:fYe},Symbol.toStringTag,{value:"Module"})),hYe=()=>Ie(()=>import("./frame-BpDq38R9.js"),__vite__mapDeps([41,42])),mYe={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ri:file-ppt-2-line",title:"PPT",rank:Zpe},children:[{path:"/ppt/index",name:"FramePpt",component:hYe,meta:{title:"PPT",keepAlive:!0,frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},vYe=Object.freeze(Object.defineProperty({__proto__:null,default:mYe},Symbol.toStringTag,{value:"Module"})),gYe={path:"/result",redirect:"/result/success",meta:{icon:"ri:checkbox-circle-line",title:Tt("menus.pureResult"),rank:$pe},children:[{path:"/result/success",name:"Success",component:()=>Ie(()=>import("./success-BxgXRkdD.js"),__vite__mapDeps([178,179])),meta:{title:Tt("menus.pureSuccess")}},{path:"/result/fail",name:"Fail",component:()=>Ie(()=>import("./fail-btWwJM1S.js"),__vite__mapDeps([180,181,162,182])),meta:{title:Tt("menus.pureFail")}}]},yYe=Object.freeze(Object.defineProperty({__proto__:null,default:gYe},Symbol.toStringTag,{value:"Module"})),bYe={path:"/table",redirect:"/table/index",meta:{icon:"ri:table-line",title:Tt("menus.pureTable"),rank:Ppe},children:[{path:"/table/index",name:"PureTable",component:()=>Ie(()=>import("./index-BrPWhHJO.js"),__vite__mapDeps([183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211])),meta:{title:Tt("menus.pureTableBase")}},{path:"/table/high",name:"PureTableHigh",component:()=>Ie(()=>import("./high-BojFCUXg.js"),__vite__mapDeps([212,213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239,240])),meta:{title:Tt("menus.pureTableHigh")}},{path:"/table/edit",name:"PureTableEdit",component:()=>Ie(()=>import("./edit-BO0V0Szo.js"),__vite__mapDeps([241,242,243,244,245,23,53,246,247,248,249,250,251,252,50,253])),meta:{title:Tt("menus.pureTableEdit"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/table/virtual",name:"VxeTable",component:()=>Ie(()=>import("./virtual-CXQsk3eH.js"),__vite__mapDeps([254,255,256,257,11,160,258,259,260,261])),meta:{title:Tt("menus.pureVxeTable"),extraIcon:"IF-pure-iconfont-new svg"}}]},FYe=Object.freeze(Object.defineProperty({__proto__:null,default:bYe},Symbol.toStringTag,{value:"Module"})),CYe={path:"/vue-flow",redirect:"/vue-flow/index",meta:{icon:"ep:set-up",title:"vue-flow",rank:Bpe},children:[{path:"/vue-flow/index",name:"VueFlow",component:()=>Ie(()=>import("./index-XqLXsUZl.js"),__vite__mapDeps([262,263,1,264,265,266,267,268,269])),meta:{title:"vue-flow",extraIcon:"IF-pure-iconfont-new svg"}}]},wYe=Object.freeze(Object.defineProperty({__proto__:null,default:CYe},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function _5(e){for(var t=1;t=0)return!1;return!0}function fZe(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=wu.call(Array(e.indent+1)," ");else return null;return{base:n,prev:wu.call(Array(t+1),n)}}function Dk(e,t){if(e.length===0)return"";var n=` `+t.prev+t.base;return n+wu.call(e,","+n)+` `+t.prev}function k5(e,t){var n=Sk(e),r=[];if(n){r.length=e.length;for(var a=0;a1;){var n=t.pop(),r=n.obj[n.prop];if(Gp(r)){for(var a=[],i=0;i=$w?o.slice(l,l+$w):o,c=[],d=0;d=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===kZe.RFC1738&&(f===40||f===41)){c[c.length]=u.charAt(d);continue}if(f<128){c[c.length]=su[f];continue}if(f<2048){c[c.length]=su[192|f>>6]+su[128|f&63];continue}if(f<55296||f>=57344){c[c.length]=su[224|f>>12]+su[128|f>>6&63]+su[128|f&63];continue}d+=1,f=65536+((f&1023)<<10|u.charCodeAt(d)&1023),c[c.length]=su[240|f>>18]+su[128|f>>12&63]+su[128|f>>6&63]+su[128|f&63]}s+=c.join("")}return s},LZe=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],a=0;a0?b.join(",")||null:void 0}];else if(Fu(c))k=c;else{var M=Object.keys(b);k=d?M.sort(d):M}var L=l?n.replace(/\./g,"%2E"):n,P=a&&Fu(b)&&b.length===1?L+"[]":L;if(i&&Fu(b)&&b.length===0)return P+"[]";for(var N=0;N0?p+f:""},$v=Ore,_k=Object.prototype.hasOwnProperty,jZe=Array.isArray,Ea={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:$v.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},KZe=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},Nre=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},UZe="utf8=%26%2310003%3B",qZe="utf8=%E2%9C%93",YZe=function(t,n){var r={__proto__:null},a=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=n.parameterLimit===1/0?void 0:n.parameterLimit,o=a.split(n.delimiter,i),s=-1,l,u=n.charset;if(n.charsetSentinel)for(l=0;l-1&&(h=jZe(h)?[h]:h);var m=_k.call(r,p);m&&n.duplicates==="combine"?r[p]=$v.combine(r[p],h):(!m||n.duplicates==="last")&&(r[p]=h)}return r},JZe=function(e,t,n,r){for(var a=r?t:Nre(t,n),i=e.length-1;i>=0;--i){var o,s=e[i];if(s==="[]"&&n.parseArrays)o=n.allowEmptyArrays&&(a===""||n.strictNullHandling&&a===null)?[]:[].concat(a);else{o=n.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,u=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,c=parseInt(u,10);!n.parseArrays&&u===""?o={0:a}:!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=a):u!=="__proto__"&&(o[u]=a)}a=o}return a},XZe=function(t,n,r,a){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(i),u=l?i.slice(0,l.index):i,c=[];if(u){if(!r.plainObjects&&_k.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&(l=s.exec(i))!==null&&d
'};n.configure=function(h){var m,g;for(m in h)g=h[m],g!==void 0&&h.hasOwnProperty(m)&&(r[m]=g);return this},n.status=null,n.set=function(h){var m=n.isStarted();h=a(h,r.minimum,1),n.status=h===1?null:h;var g=n.render(!m),v=g.querySelector(r.barSelector),C=r.speed,b=r.easing;return g.offsetWidth,s(function(F){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(v,o(h,C,b)),h===1?(l(g,{transition:"none",opacity:1}),g.offsetWidth,setTimeout(function(){l(g,{transition:"all "+C+"ms linear",opacity:0}),setTimeout(function(){n.remove(),F()},C)},C)):setTimeout(F,C)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var h=function(){setTimeout(function(){n.status&&(n.trickle(),h())},r.trickleSpeed)};return r.trickle&&h(),this},n.done=function(h){return!h&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(h){var m=n.status;return m?(typeof h!="number"&&(h=(1-m)*a(Math.random()*m,.1,.95)),m=a(m+h,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var h=0,m=0;n.promise=function(g){return!g||g.state()==="resolved"?this:(m===0&&n.start(),h++,m++,g.always(function(){m--,m===0?(h=0,n.done()):n.set((h-m)/h)}),this)}}(),n.render=function(h){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=r.template;var g=m.querySelector(r.barSelector),v=h?"-100":i(n.status||0),C=document.querySelector(r.parent),b;return l(g,{transition:"all 0 linear",transform:"translate3d("+v+"%,0,0)"}),r.showSpinner||(b=m.querySelector(r.spinnerSelector),b&&p(b)),C!=document.body&&c(C,"nprogress-custom-parent"),C.appendChild(m),m},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var h=document.getElementById("nprogress");h&&p(h)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var h=document.body.style,m="WebkitTransform"in h?"Webkit":"MozTransform"in h?"Moz":"msTransform"in h?"ms":"OTransform"in h?"O":"";return m+"Perspective"in h?"translate3d":m+"Transform"in h?"translate":"margin"};function a(h,m,g){return hg?g:h}function i(h){return(-1+h)*100}function o(h,m,g){var v;return r.positionUsing==="translate3d"?v={transform:"translate3d("+i(h)+"%,0,0)"}:r.positionUsing==="translate"?v={transform:"translate("+i(h)+"%,0)"}:v={"margin-left":i(h)+"%"},v.transition="all "+m+"ms "+g,v}var s=function(){var h=[];function m(){var g=h.shift();g&&g(m)}return function(g){h.push(g),h.length==1&&m()}}(),l=function(){var h=["Webkit","O","Moz","ms"],m={};function g(F){return F.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(w,E){return E.toUpperCase()})}function v(F){var w=document.body.style;if(F in w)return F;for(var E=h.length,S=F.charAt(0).toUpperCase()+F.slice(1),D;E--;)if(D=h[E]+S,D in w)return D;return F}function C(F){return F=g(F),m[F]||(m[F]=v(F))}function b(F,w,E){w=C(w),F.style[w]=E}return function(F,w){var E=arguments,S,D;if(E.length==2)for(S in w)D=w[S],D!==void 0&&w.hasOwnProperty(S)&&b(F,S,D);else b(F,E[1],E[2])}}();function u(h,m){var g=typeof h=="string"?h:f(h);return g.indexOf(" "+m+" ")>=0}function c(h,m){var g=f(h),v=g+m;u(g,m)||(h.className=v.substring(1))}function d(h,m){var g=f(h),v;u(h,m)&&(v=g.replace(" "+m+" "," "),h.className=v.substring(1,v.length-1))}function f(h){return(" "+(h.className||"")+" ").replace(/\s+/gi," ")}function p(h){h&&h.parentNode&&h.parentNode.removeChild(h)}return n})})($re);var aQe=$re.exports;const _h=Kl(aQe);_h.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const iQe={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:rQe.stringify}},Na=class Na{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(t){return new Promise(n=>{Na.requests.push(r=>{t.headers.Authorization=zw(r),n(t)})})}httpInterceptorsRequest(){Na.axiosInstance.interceptors.request.use(t=>Qt(this,null,function*(){return _h.start(),typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(t),t):Na.initConfig.beforeRequestCallback?(Na.initConfig.beforeRequestCallback(t),t):["/refresh-token","/login"].some(r=>t.url.endsWith(r))?t:new Promise(r=>{const a=yQe();if(a){const i=new Date().getTime();parseInt(a.expires)-i<=0?(Na.isRefreshing||(Na.isRefreshing=!0,Hd().handRefreshToken({refreshToken:a.refreshToken}).then(s=>{const l=s.data.accessToken;t.headers.Authorization=zw(l),Na.requests.forEach(u=>u(l)),Na.requests=[]}).finally(()=>{Na.isRefreshing=!1})),r(Na.retryOriginalRequest(t))):(t.headers.Authorization=zw(a.accessToken),r(t))}else r(t)})}),t=>Promise.reject(t))}httpInterceptorsResponse(){Na.axiosInstance.interceptors.response.use(n=>{const r=n.config;return _h.done(),typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(Na.initConfig.beforeResponseCallback&&Na.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return r.isCancelRequest=xa.isCancel(r),_h.done(),Promise.reject(r)})}request(t,n,r,a){const i=ce(ce({method:t,url:n},r),a);return new Promise((o,s)=>{Na.axiosInstance.request(i).then(l=>{o(l)}).catch(l=>{s(l)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};_m(Na,"requests",[]),_m(Na,"isRefreshing",!1),_m(Na,"initConfig",{}),_m(Na,"axiosInstance",xa.create(iQe));let kk=Na;const Zb=new kk,OV=()=>Zb.request("get","/get-async-routes"),oQe=()=>Ie(()=>import("./frame-CpGMGK3l.js"),__vite__mapDeps([41,42])),RV=Object.assign({"/src/views/able/barcode.vue":()=>Ie(()=>import("./barcode-ChcnN7cJ.js"),[]),"/src/views/able/danmaku/index.vue":()=>Ie(()=>import("./index-B_CAjgKE.js"),__vite__mapDeps([28,29])),"/src/views/able/debounce.vue":()=>Ie(()=>import("./debounce-DRUMx91w.js"),[]),"/src/views/able/directives.vue":()=>Ie(()=>import("./directives-pQlzCI3f.js"),[]),"/src/views/able/download.vue":()=>Ie(()=>import("./download-Cuew4mgA.js"),[]),"/src/views/able/draggable.vue":()=>Ie(()=>import("./draggable-BufJXA4z.js"),__vite__mapDeps([10,11,12,13])),"/src/views/able/excel.vue":()=>Ie(()=>import("./excel-Gj9dYvk6.js"),__vite__mapDeps([8,9])),"/src/views/able/infinite-scroll.vue":()=>Ie(()=>import("./infinite-scroll-DgRKgOTp.js"),[]),"/src/views/able/line-tree.vue":()=>Ie(()=>import("./line-tree-CLj803dT.js"),__vite__mapDeps([31,32])),"/src/views/able/map.vue":()=>Ie(()=>import("./map-HN9iG94Y.js"),__vite__mapDeps([19,20,21])),"/src/views/able/menu-tree.vue":()=>Ie(()=>import("./menu-tree-DD7-osfn.js"),__vite__mapDeps([30,23])),"/src/views/able/mqtt-client.vue":()=>Ie(()=>import("./mqtt-client-j43Q9KKT.js"),__vite__mapDeps([0,1])),"/src/views/able/pdf.vue":()=>Ie(()=>import("./pdf-EzbyTW2b.js"),[]),"/src/views/able/pinyin.vue":()=>Ie(()=>import("./pinyin-BvBX7pIP.js"),__vite__mapDeps([35,36,37])),"/src/views/able/print/index.vue":()=>Ie(()=>import("./index-CLuZ42WN.js"),__vite__mapDeps([4,5,6,7])),"/src/views/able/print/pieChart.vue":()=>Ie(()=>import("./pieChart-D2zuhmdM.js"),__vite__mapDeps([270,6])),"/src/views/able/qrcode.vue":()=>Ie(()=>import("./qrcode-CYOy2VTt.js"),__vite__mapDeps([14,15,16,17,18])),"/src/views/able/ripple.vue":()=>Ie(()=>import("./ripple-BURg_U3C.js"),[]),"/src/views/able/sensitive.vue":()=>Ie(()=>import("./sensitive-7qYcTXtI.js"),[]),"/src/views/able/typeit.vue":()=>Ie(()=>import("./typeit-CxItUGid.js"),__vite__mapDeps([33,34])),"/src/views/able/verify.vue":()=>Ie(()=>import("./verify-Bk5ELcBI.js"),__vite__mapDeps([2,3])),"/src/views/able/video-frame/index.vue":()=>Ie(()=>import("./index-Cx0D6q7y.js"),__vite__mapDeps([25,26,27])),"/src/views/able/video.vue":()=>Ie(()=>import("./video-CbOSdF8S.js"),__vite__mapDeps([22,23,24])),"/src/views/able/watermark.vue":()=>Ie(()=>import("./watermark-DcOgkjve.js"),[]),"/src/views/able/wavesurfer/index.vue":()=>Ie(()=>import("./index-DuJ_eT0M.js"),[]),"/src/views/about/columns.tsx":()=>Ie(()=>import("./columns-mmW5Qp--.js"),[]),"/src/views/about/index.vue":()=>Ie(()=>import("./index-DK4oWLmd.js"),__vite__mapDeps([38,39,40])),"/src/views/account-settings/components/AccountManagement.vue":()=>Ie(()=>import("./AccountManagement-Bwm925hX.js"),__vite__mapDeps([271,272])),"/src/views/account-settings/components/Preferences.vue":()=>Ie(()=>import("./Preferences-yKRq6FQr.js"),__vite__mapDeps([273,274])),"/src/views/account-settings/components/Profile.vue":()=>Ie(()=>import("./Profile-CGv81EmN.js"),__vite__mapDeps([275,276,20,277,67,68,278])),"/src/views/account-settings/components/SecurityLog.vue":()=>Ie(()=>import("./SecurityLog-CdlX45q7.js"),__vite__mapDeps([279,280])),"/src/views/account-settings/index.vue":()=>Ie(()=>import("./index-Dy7B4rCO.js"),__vite__mapDeps([281,75,276,20,277,67,68,278,273,274,280,271,272,161,12,160,157,282])),"/src/views/components/animatecss.vue":()=>Ie(()=>import("./animatecss-Xc9tuEGJ.js"),__vite__mapDeps([63,64,65])),"/src/views/components/button.vue":()=>Ie(()=>import("./button-Cu7QUYEA.js"),[]),"/src/views/components/cascader.vue":()=>Ie(()=>import("./cascader-tM9VTW_g.js"),[]),"/src/views/components/check-button.vue":()=>Ie(()=>import("./check-button-XlJN5YhP.js"),__vite__mapDeps([79,80])),"/src/views/components/check-card.vue":()=>Ie(()=>import("./check-card-DIV3kA2O.js"),__vite__mapDeps([55,56,57,58])),"/src/views/components/collapse.vue":()=>Ie(()=>import("./collapse-Bp7rqNmh.js"),[]),"/src/views/components/color-picker.vue":()=>Ie(()=>import("./color-picker-CQREo1rB.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>Ie(()=>import("./basic-ChpwFBaJ.js"),__vite__mapDeps([106,107,108])),"/src/views/components/contextmenu/index.vue":()=>Ie(()=>import("./index-M7DqAzMo.js"),__vite__mapDeps([105,106,107,108,109,110,111,112,113])),"/src/views/components/contextmenu/menuDynamic.vue":()=>Ie(()=>import("./menuDynamic-CCYM-yhI.js"),__vite__mapDeps([111,107,112])),"/src/views/components/contextmenu/menuGroup.vue":()=>Ie(()=>import("./menuGroup-PkDKTT2E.js"),__vite__mapDeps([109,107,110])),"/src/views/components/count-to.vue":()=>Ie(()=>import("./count-to-D_H49llH.js"),__vite__mapDeps([102,103,16,104])),"/src/views/components/cropping/index.vue":()=>Ie(()=>import("./index-D5iCjPOU.js"),__vite__mapDeps([66,67,68])),"/src/views/components/date-picker.vue":()=>Ie(()=>import("./date-picker-BDC0bdag.js"),__vite__mapDeps([59,23,60])),"/src/views/components/datetime-picker.vue":()=>Ie(()=>import("./datetime-picker-7Xgh0GeS.js"),__vite__mapDeps([61,62])),"/src/views/components/dialog/form.vue":()=>Ie(()=>import("./form-CXi5YpoE.js"),__vite__mapDeps([283,45])),"/src/views/components/dialog/formPrimitive.vue":()=>Ie(()=>import("./formPrimitive-CmmN6i4n.js"),__vite__mapDeps([284,44])),"/src/views/components/dialog/index.vue":()=>Ie(()=>import("./index-DCGfcDpT.js"),__vite__mapDeps([43,44,45])),"/src/views/components/drawer/form.vue":()=>Ie(()=>import("./form-DL5ZxoGs.js"),__vite__mapDeps([285,48])),"/src/views/components/drawer/formPrimitive.vue":()=>Ie(()=>import("./formPrimitive-DU3nkcrF.js"),__vite__mapDeps([286,47])),"/src/views/components/drawer/index.vue":()=>Ie(()=>import("./index-DQ5Mcg6T.js"),__vite__mapDeps([46,47,48])),"/src/views/components/el-button.vue":()=>Ie(()=>import("./el-button-DzbHFNBD.js"),__vite__mapDeps([77,23,78])),"/src/views/components/icon-select.vue":()=>Ie(()=>import("./icon-select-BudFo4du.js"),[]),"/src/views/components/json-editor.vue":()=>Ie(()=>import("./json-editor-DLF-xU-5.js"),__vite__mapDeps([114,115,116])),"/src/views/components/message.vue":()=>Ie(()=>import("./message-Cy4wCo2H.js"),__vite__mapDeps([49,23,50])),"/src/views/components/progress.vue":()=>Ie(()=>import("./progress-84ELKHTx.js"),__vite__mapDeps([81,23,82])),"/src/views/components/seamless-scroll.vue":()=>Ie(()=>import("./seamless-scroll-CcIjbdjf.js"),__vite__mapDeps([117,118])),"/src/views/components/segmented.vue":()=>Ie(()=>import("./segmented-C_6trlMT.js"),__vite__mapDeps([69,70,23,71,72,73])),"/src/views/components/selector.vue":()=>Ie(()=>import("./selector-BrvC8BVA.js"),__vite__mapDeps([88,89])),"/src/views/components/split-pane.vue":()=>Ie(()=>import("./split-pane-IhwMoH_O.js"),__vite__mapDeps([93,94])),"/src/views/components/statistic.vue":()=>Ie(()=>import("./statistic-CJa3qh8a.js"),__vite__mapDeps([85,86,87])),"/src/views/components/swiper.vue":()=>Ie(()=>import("./swiper-Co8_beCy.js"),__vite__mapDeps([95,96])),"/src/views/components/tag.vue":()=>Ie(()=>import("./tag-BEvkUo0H.js"),__vite__mapDeps([83,84])),"/src/views/components/text.vue":()=>Ie(()=>import("./text-5ZVgRnoz.js"),__vite__mapDeps([74,75,76])),"/src/views/components/time-picker.vue":()=>Ie(()=>import("./time-picker-CHMHubk-.js"),[]),"/src/views/components/timeline.vue":()=>Ie(()=>import("./timeline-BHFA2LNF.js"),__vite__mapDeps([97,98,99,23,100,101])),"/src/views/components/upload/form.vue":()=>Ie(()=>import("./form-BOlKdv64.js"),__vite__mapDeps([287,52,20])),"/src/views/components/upload/index.vue":()=>Ie(()=>import("./index-DqrL1QBV.js"),__vite__mapDeps([51,11,52,20,53,54])),"/src/views/components/virtual-list/horizontal.vue":()=>Ie(()=>import("./horizontal-BmHUgCul.js"),__vite__mapDeps([123,121,124])),"/src/views/components/virtual-list/index.vue":()=>Ie(()=>import("./index-C_Adml9X.js"),__vite__mapDeps([119,120,121,122,123,124,125])),"/src/views/components/virtual-list/vertical.vue":()=>Ie(()=>import("./vertical-DIp-8Fgy.js"),__vite__mapDeps([120,121,122])),"/src/views/components/waterfall/index.vue":()=>Ie(()=>import("./index-DUmu9ZnI.js"),__vite__mapDeps([90,91,92])),"/src/views/editor/components/EditorBase.vue":()=>Ie(()=>import("./EditorBase-CdumWmQG.js"),__vite__mapDeps([288,127,128,129])),"/src/views/editor/components/EditorMulti.vue":()=>Ie(()=>import("./EditorMulti-0GRet5Ja.js"),__vite__mapDeps([289,130,86,128,129])),"/src/views/editor/components/EditorUpload.vue":()=>Ie(()=>import("./EditorUpload-CHQEA3s7.js"),__vite__mapDeps([290,131,128,129])),"/src/views/editor/index.vue":()=>Ie(()=>import("./index-D2nJixOM.js"),__vite__mapDeps([126,127,128,129,130,86,131,132])),"/src/views/empty/index.vue":()=>Ie(()=>import("./index-2j2geX_R.js"),__vite__mapDeps([291,292])),"/src/views/error/403.vue":()=>Ie(()=>import("./403-Bqk49JPx.js"),[]),"/src/views/error/404.vue":()=>Ie(()=>import("./404-DX8ueleH.js"),[]),"/src/views/error/500.vue":()=>Ie(()=>import("./500-QlK6gT4G.js"),[]),"/src/views/flow-chart/index.vue":()=>Ie(()=>import("./index-sLU0v2yw.js"),__vite__mapDeps([133,134,115,116,135])),"/src/views/ganttastic/index.vue":()=>Ie(()=>import("./index-DIcqFo_G.js"),[]),"/src/views/guide/index.vue":()=>Ie(()=>import("./index-BWpd2JVO.js"),__vite__mapDeps([151,152])),"/src/views/list/card/components/ListCard.vue":()=>Ie(()=>import("./ListCard-C_5XlKYR.js"),__vite__mapDeps([173,174,175])),"/src/views/list/card/components/ListDialogForm.vue":()=>Ie(()=>import("./ListDialogForm-CJV5_35a.js"),__vite__mapDeps([293,176])),"/src/views/list/card/index.vue":()=>Ie(()=>import("./index-CZ73tXTB.js"),__vite__mapDeps([172,173,174,175,176,23,177])),"/src/views/login/components/LoginPhone.vue":()=>Ie(()=>import("./LoginPhone-BmPrDqaZ.js"),__vite__mapDeps([294,295,296,297,23,100])),"/src/views/login/components/LoginQrCode.vue":()=>Ie(()=>import("./LoginQrCode-lQ3nm2bg.js"),__vite__mapDeps([298,299,296,15,16,17,18])),"/src/views/login/components/LoginRegist.vue":()=>Ie(()=>import("./LoginRegist-CPkZf5Qr.js"),__vite__mapDeps([300,301,296,297,23,302,100])),"/src/views/login/components/LoginUpdate.vue":()=>Ie(()=>import("./LoginUpdate-CBzzysdh.js"),__vite__mapDeps([303,304,296,297,23,302,100])),"/src/views/login/index.vue":()=>Ie(()=>import("./index-BxvHEj1Y.js"),__vite__mapDeps([305,296,297,34,158,26,159,12,160,161,295,23,100,301,302,304,299,15,16,17,18,50,306])),"/src/views/menuoverflow/index.vue":()=>Ie(()=>import("./index-DTfIS9P0.js"),[]),"/src/views/monitor/logs/login/hook.tsx":()=>Ie(()=>import("./hook-Bh8LQbUl.js"),__vite__mapDeps([307,308,309])),"/src/views/monitor/logs/login/index.vue":()=>Ie(()=>import("./index-F2404lV5.js"),__vite__mapDeps([310,307,308,309,311,312,11,160,258,23,246,313])),"/src/views/monitor/logs/operation/hook.tsx":()=>Ie(()=>import("./hook-Dpo6x_Lp.js"),__vite__mapDeps([314,308,309])),"/src/views/monitor/logs/operation/index.vue":()=>Ie(()=>import("./index-C0Cc9DPU.js"),__vite__mapDeps([315,314,308,309,311,312,11,160,258,23,246,316])),"/src/views/monitor/logs/system/detail.vue":()=>Ie(()=>import("./detail-kqJ7foUD.js"),__vite__mapDeps([317,318,115,116])),"/src/views/monitor/logs/system/hook.tsx":()=>Ie(()=>import("./hook-BTIlemgc.js"),__vite__mapDeps([319,318,115,116,308])),"/src/views/monitor/logs/system/index.vue":()=>Ie(()=>import("./index-BCvjJx8_.js"),__vite__mapDeps([320,319,318,115,116,308,311,312,11,160,258,23,246,321])),"/src/views/monitor/online/hook.tsx":()=>Ie(()=>import("./hook-Dzvnqk76.js"),__vite__mapDeps([322,308])),"/src/views/monitor/online/index.vue":()=>Ie(()=>import("./index-BHqehRKF.js"),__vite__mapDeps([323,322,308,312,11,160,258,23,324])),"/src/views/nested/menu1/menu1-1/index.vue":()=>Ie(()=>import("./index-BaazyecG.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>Ie(()=>import("./index-BEWdgvR5.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>Ie(()=>import("./index-DTw3Mqw7.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>Ie(()=>import("./index-d1aObMj3.js"),[]),"/src/views/nested/menu2/index.vue":()=>Ie(()=>import("./index-Bt5lejkj.js"),[]),"/src/views/permission/button/index.vue":()=>Ie(()=>import("./index-D-oBL2dD.js"),[]),"/src/views/permission/button/perms.vue":()=>Ie(()=>import("./perms-CeUoFRHE.js"),[]),"/src/views/permission/page/index.vue":()=>Ie(()=>import("./index-yazkDSWc.js"),[]),"/src/views/result/columns.tsx":()=>Ie(()=>import("./columns-Bt7TvYLZ.js"),__vite__mapDeps([181,162])),"/src/views/result/fail.vue":()=>Ie(()=>import("./fail-CwkBMC7T.js"),__vite__mapDeps([180,181,162,182])),"/src/views/result/success.vue":()=>Ie(()=>import("./success-cb0_cmcJ.js"),__vite__mapDeps([178,179])),"/src/views/schema-form/form/base.vue":()=>Ie(()=>import("./base-B-_9GtrP.js"),__vite__mapDeps([325,138,56,57,139,140])),"/src/views/schema-form/form/dialog.vue":()=>Ie(()=>import("./dialog-FoeeENk5.js"),__vite__mapDeps([326,141,56,57,139,140,142,143])),"/src/views/schema-form/form/drawer.vue":()=>Ie(()=>import("./drawer-drbuq3ka.js"),__vite__mapDeps([327,144,56,57,139,140,145,143])),"/src/views/schema-form/form/search.vue":()=>Ie(()=>import("./search-DcdCSBW8.js"),__vite__mapDeps([328,148,56,57,139,140,134,149])),"/src/views/schema-form/form/steps.vue":()=>Ie(()=>import("./steps-CkdylG8x.js"),__vite__mapDeps([329,146,56,57,139,140,147])),"/src/views/schema-form/index.vue":()=>Ie(()=>import("./index-bQMkK_Xr.js"),__vite__mapDeps([136,137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149,150])),"/src/views/schema-form/list.tsx":()=>Ie(()=>import("./list-CPeGP44p.js"),__vite__mapDeps([137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149])),"/src/views/system/dept/form.vue":()=>Ie(()=>import("./form-DgMx8ZRc.js"),__vite__mapDeps([330,331,86,309])),"/src/views/system/dept/index.vue":()=>Ie(()=>import("./index-DMJ85jnn.js"),__vite__mapDeps([332,333,331,86,309,308,312,11,160,258,23,246,252,177,334])),"/src/views/system/dept/utils/hook.tsx":()=>Ie(()=>import("./hook-Bk3wY7nR.js"),__vite__mapDeps([333,331,86,309,308])),"/src/views/system/menu/form.vue":()=>Ie(()=>import("./form-9NQoJMYe.js"),__vite__mapDeps([335,336,86,71,23,72,64,65])),"/src/views/system/menu/index.vue":()=>Ie(()=>import("./index-stQayN7I.js"),__vite__mapDeps([337,338,336,86,71,23,72,64,65,308,312,11,160,258,246,252,177,339])),"/src/views/system/menu/utils/hook.tsx":()=>Ie(()=>import("./hook-Ch_JvkHg.js"),__vite__mapDeps([338,336,86,71,23,72,64,65,308])),"/src/views/system/role/form.vue":()=>Ie(()=>import("./form-BRuSyItc.js"),__vite__mapDeps([340,341])),"/src/views/system/role/index.vue":()=>Ie(()=>import("./index-CXQqUFyq.js"),__vite__mapDeps([342,343,341,309,308,312,11,160,258,23,246,252,154,177,50,344])),"/src/views/system/role/utils/hook.tsx":()=>Ie(()=>import("./hook-DuIhbc6O.js"),__vite__mapDeps([343,341,309,308])),"/src/views/system/user/form/index.vue":()=>Ie(()=>import("./index-CCjlwUfI.js"),__vite__mapDeps([345,346,86,309])),"/src/views/system/user/form/role.vue":()=>Ie(()=>import("./role-CFR9UNWE.js"),__vite__mapDeps([347,348,86])),"/src/views/system/user/index.vue":()=>Ie(()=>import("./index-hhxSfqIH.js"),__vite__mapDeps([349,350,23,155,174,351,352,348,86,346,309,159,277,67,68,308,353,312,11,160,258,278,156,246,252,177,354])),"/src/views/system/user/tree.vue":()=>Ie(()=>import("./tree-BLkGgvg_.js"),__vite__mapDeps([350,23,155,174,351])),"/src/views/system/user/utils/hook.tsx":()=>Ie(()=>import("./hook-CLM_CVdg.js"),__vite__mapDeps([352,348,86,346,309,159,277,67,68,308,353])),"/src/views/table/base/base.vue":()=>Ie(()=>import("./base-eqOh4Qnt.js"),__vite__mapDeps([355,185,186])),"/src/views/table/base/border.vue":()=>Ie(()=>import("./border-LqbbQBJH.js"),__vite__mapDeps([356,188,186])),"/src/views/table/base/column-template/columns.tsx":()=>Ie(()=>import("./columns-W6b6dVhJ.js"),__vite__mapDeps([200,186])),"/src/views/table/base/column-template/index.vue":()=>Ie(()=>import("./index-DRjwBl8B.js"),__vite__mapDeps([357,199,200,186])),"/src/views/table/base/customIndex.vue":()=>Ie(()=>import("./customIndex-C_nzc73A.js"),__vite__mapDeps([358,207,186])),"/src/views/table/base/expand.vue":()=>Ie(()=>import("./expand-CYI-bVjg.js"),__vite__mapDeps([359,203,186])),"/src/views/table/base/filters.vue":()=>Ie(()=>import("./filters-B1OOUy2i.js"),__vite__mapDeps([360,198])),"/src/views/table/base/fixColumn.vue":()=>Ie(()=>import("./fixColumn-ZnACjYta.js"),__vite__mapDeps([361,192,186])),"/src/views/table/base/fixHeader.vue":()=>Ie(()=>import("./fixHeader-J0tNo_tS.js"),__vite__mapDeps([362,191,186])),"/src/views/table/base/fluidHeight.vue":()=>Ie(()=>import("./fluidHeight-Ckft2G5r.js"),__vite__mapDeps([363,193,186])),"/src/views/table/base/groupHeader.vue":()=>Ie(()=>import("./groupHeader-KkwMdTg1.js"),__vite__mapDeps([364,194,186])),"/src/views/table/base/header-renderer/columns.tsx":()=>Ie(()=>import("./columns-B8xO-q65.js"),__vite__mapDeps([202,186])),"/src/views/table/base/header-renderer/index.vue":()=>Ie(()=>import("./index-BTCtAhSj.js"),__vite__mapDeps([365,201,202,186])),"/src/views/table/base/imgPreview.vue":()=>Ie(()=>import("./imgPreview-BPwUE2u3.js"),__vite__mapDeps([366,210,186])),"/src/views/table/base/layout.vue":()=>Ie(()=>import("./layout-O7xB_nmL.js"),__vite__mapDeps([367,208,186])),"/src/views/table/base/list.tsx":()=>Ie(()=>import("./list-DhWKmiIS.js"),__vite__mapDeps([184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210])),"/src/views/table/base/merge.vue":()=>Ie(()=>import("./merge-PTflCsnp.js"),__vite__mapDeps([368,206])),"/src/views/table/base/multipleChoice.vue":()=>Ie(()=>import("./multipleChoice-PzlUr7wq.js"),__vite__mapDeps([369,196,186])),"/src/views/table/base/nestProp.vue":()=>Ie(()=>import("./nestProp-Ciw2CFPU.js"),__vite__mapDeps([370,209])),"/src/views/table/base/radio.vue":()=>Ie(()=>import("./radio-DGrmoxVU.js"),__vite__mapDeps([371,195,186])),"/src/views/table/base/sortable.vue":()=>Ie(()=>import("./sortable-3_QYwKaZ.js"),__vite__mapDeps([372,197,186])),"/src/views/table/base/status.vue":()=>Ie(()=>import("./status-BtYl3rAY.js"),__vite__mapDeps([373,189,186,190])),"/src/views/table/base/stripe.vue":()=>Ie(()=>import("./stripe-DORE3wPj.js"),__vite__mapDeps([374,187,186])),"/src/views/table/base/totalRow.vue":()=>Ie(()=>import("./totalRow-N7QhcToT.js"),__vite__mapDeps([375,205])),"/src/views/table/base/tree.vue":()=>Ie(()=>import("./tree-BP1f_oy1.js"),__vite__mapDeps([376,204])),"/src/views/table/edit.vue":()=>Ie(()=>import("./edit-DrDRbIlR.js"),__vite__mapDeps([241,242,243,244,245,23,53,246,247,248,249,250,251,252,50,253])),"/src/views/table/edit/demo1/columns.tsx":()=>Ie(()=>import("./columns-DtrYk2Vx.js"),__vite__mapDeps([244,245])),"/src/views/table/edit/demo1/index.vue":()=>Ie(()=>import("./index-BAq3q9Qe.js"),__vite__mapDeps([243,244,245,23,53,246,247])),"/src/views/table/edit/demo2/columns.tsx":()=>Ie(()=>import("./columns-oRfGlFDG.js"),__vite__mapDeps([249,245])),"/src/views/table/edit/demo2/index.vue":()=>Ie(()=>import("./index-CwKPcD4G.js"),__vite__mapDeps([377,248,249,245])),"/src/views/table/edit/demo3/columns.tsx":()=>Ie(()=>import("./columns-DK0OQsND.js"),__vite__mapDeps([251,245,252,50])),"/src/views/table/edit/demo3/index.vue":()=>Ie(()=>import("./index-bOkh4qt6.js"),__vite__mapDeps([378,250,251,245,252,50])),"/src/views/table/edit/list.tsx":()=>Ie(()=>import("./list-BQH5nk9p.js"),__vite__mapDeps([242,243,244,245,23,53,246,247,248,249,250,251,252,50])),"/src/views/table/high.vue":()=>Ie(()=>import("./high-9cT5I8aF.js"),__vite__mapDeps([212,213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239,240])),"/src/views/table/high/adaptive/columns.tsx":()=>Ie(()=>import("./columns-4XfjhWdI.js"),__vite__mapDeps([215,216])),"/src/views/table/high/adaptive/index.vue":()=>Ie(()=>import("./index-B6KuR2Vp.js"),__vite__mapDeps([379,214,215,216])),"/src/views/table/high/contextmenu/columns.tsx":()=>Ie(()=>import("./columns-N69ho3Xb.js"),__vite__mapDeps([226,216])),"/src/views/table/high/contextmenu/index.vue":()=>Ie(()=>import("./index-BOKpa1YJ.js"),__vite__mapDeps([380,225,226,216])),"/src/views/table/high/drag/column/columns.tsx":()=>Ie(()=>import("./columns-DZzMsn5t.js"),__vite__mapDeps([224,11,216])),"/src/views/table/high/drag/column/index.vue":()=>Ie(()=>import("./index-DOYGE0Zk.js"),__vite__mapDeps([381,223,224,11,216])),"/src/views/table/high/drag/row/columns.tsx":()=>Ie(()=>import("./columns-D_FG28Q-.js"),__vite__mapDeps([222,11,216])),"/src/views/table/high/drag/row/index.vue":()=>Ie(()=>import("./index-Dv86riRO.js"),__vite__mapDeps([382,221,222,11,216])),"/src/views/table/high/echarts/columns.tsx":()=>Ie(()=>import("./columns-DfnzjBq4.js"),__vite__mapDeps([234,216])),"/src/views/table/high/echarts/index.vue":()=>Ie(()=>import("./index-UO9G2m0U.js"),__vite__mapDeps([383,233,234,216])),"/src/views/table/high/excel/columns.tsx":()=>Ie(()=>import("./columns-WW1tqWmb.js"),__vite__mapDeps([228,9,216])),"/src/views/table/high/excel/index.vue":()=>Ie(()=>import("./index-n3yD3H1a.js"),__vite__mapDeps([384,227,228,9,216])),"/src/views/table/high/header/columns.tsx":()=>Ie(()=>import("./columns-Bq1kzona.js"),__vite__mapDeps([220,216])),"/src/views/table/high/header/index.vue":()=>Ie(()=>import("./index-CyPgGZDP.js"),__vite__mapDeps([385,219,220,216])),"/src/views/table/high/list.tsx":()=>Ie(()=>import("./list-h8CB_H-q.js"),__vite__mapDeps([213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239])),"/src/views/table/high/page/columns.tsx":()=>Ie(()=>import("./columns-CivT3P5a.js"),__vite__mapDeps([218,216])),"/src/views/table/high/page/index.vue":()=>Ie(()=>import("./index-B-6lN4AZ.js"),__vite__mapDeps([386,217,218,216])),"/src/views/table/high/prints/columns.tsx":()=>Ie(()=>import("./columns-BncLCxvV.js"),__vite__mapDeps([232,5,216])),"/src/views/table/high/prints/index.vue":()=>Ie(()=>import("./index-BUwyf7U5.js"),__vite__mapDeps([387,231,232,5,216])),"/src/views/table/high/table-select/index.vue":()=>Ie(()=>import("./index-BhSXMg4W.js"),__vite__mapDeps([388,235,236,237,216,238,239])),"/src/views/table/high/table-select/multiple/columns.tsx":()=>Ie(()=>import("./columns-D5XW7oQh.js"),__vite__mapDeps([239,216])),"/src/views/table/high/table-select/multiple/index.vue":()=>Ie(()=>import("./index-Dfia82Tx.js"),__vite__mapDeps([389,238,239,216])),"/src/views/table/high/table-select/radio/columns.tsx":()=>Ie(()=>import("./columns-BVO3RVsJ.js"),__vite__mapDeps([237,216])),"/src/views/table/high/table-select/radio/index.vue":()=>Ie(()=>import("./index-DWzZnALD.js"),__vite__mapDeps([390,236,237,216])),"/src/views/table/high/watermark/columns.tsx":()=>Ie(()=>import("./columns-D6eQDAkz.js"),__vite__mapDeps([230,216])),"/src/views/table/high/watermark/index.vue":()=>Ie(()=>import("./index-vMsI3rgr.js"),__vite__mapDeps([391,229,230,216])),"/src/views/table/index.vue":()=>Ie(()=>import("./index-Dy8WaZ9q.js"),__vite__mapDeps([183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211])),"/src/views/table/virtual.vue":()=>Ie(()=>import("./virtual-kAdtnFjI.js"),__vite__mapDeps([254,255,256,257,11,160,258,259,260,261])),"/src/views/table/virtual/list.tsx":()=>Ie(()=>import("./list-0WJoxP2Y.js"),__vite__mapDeps([255,256,257,11,160,258,259,260])),"/src/views/table/virtual/list.vue":()=>Ie(()=>import("./list-Dh_6pVeV.js"),__vite__mapDeps([392,256,257,11,160,258])),"/src/views/table/virtual/pageList.vue":()=>Ie(()=>import("./pageList-DJ5Onm5f.js"),__vite__mapDeps([393,260,257,11,160,258])),"/src/views/table/virtual/treeList.vue":()=>Ie(()=>import("./treeList-Cak_N6vB.js"),__vite__mapDeps([394,259,257,11,160,258])),"/src/views/tabs/index.vue":()=>Ie(()=>import("./index-B2oqbt8z.js"),__vite__mapDeps([395,396])),"/src/views/tabs/params-detail.vue":()=>Ie(()=>import("./params-detail-BGzc9b2S.js"),__vite__mapDeps([397,396])),"/src/views/tabs/query-detail.vue":()=>Ie(()=>import("./query-detail-bg-aVu5e.js"),__vite__mapDeps([398,396])),"/src/views/vue-flow/layouting/animationEdge.vue":()=>Ie(()=>import("./animationEdge-Bsm6EJWI.js"),__vite__mapDeps([267,264,268])),"/src/views/vue-flow/layouting/icon.vue":()=>Ie(()=>import("./icon-BE15Ious.js"),__vite__mapDeps([399,263])),"/src/views/vue-flow/layouting/index.vue":()=>Ie(()=>import("./index-C-LhdMC8.js"),__vite__mapDeps([262,263,1,264,265,266,267,268,269])),"/src/views/vue-flow/layouting/processNode.vue":()=>Ie(()=>import("./processNode-BR98Y4-C.js"),__vite__mapDeps([265,264,266])),"/src/views/welcome/components/charts/ChartBar.vue":()=>Ie(()=>import("./ChartBar-0k5WpS75.js"),__vite__mapDeps([400,168])),"/src/views/welcome/components/charts/ChartLine.vue":()=>Ie(()=>import("./ChartLine-D4xtBZno.js"),__vite__mapDeps([401,169])),"/src/views/welcome/components/charts/ChartRound.vue":()=>Ie(()=>import("./ChartRound-DClOenZF.js"),__vite__mapDeps([402,170])),"/src/views/welcome/components/table/columns.tsx":()=>Ie(()=>import("./columns-N5PCbs1O.js").then(e=>e.a),[]),"/src/views/welcome/components/table/index.vue":()=>Ie(()=>import("./index-BF5jemmp.js"),__vite__mapDeps([165,166,23,167])),"/src/views/welcome/index.vue":()=>Ie(()=>import("./index-0fxmVDxO.js"),__vite__mapDeps([164,86,165,166,23,167,103,16,104,98,99,168,169,170,71,72,171]))});function sQe(e){const{name:t,path:n,parentId:r,meta:a}=e;return _c(r)?!!(_c(a==null?void 0:a.rank)||(a==null?void 0:a.rank)===0&&t!=="Home"&&n!=="/"):!1}function Qb(e){return e.forEach((t,n)=>{sQe(t)&&(t.meta.rank=n+2)}),e.sort((t,n)=>(t==null?void 0:t.meta.rank)-(n==null?void 0:n.meta.rank))}function aB(e){const t=Tv(e).filter(n=>{var r;return((r=n.meta)==null?void 0:r.showLink)!==!1});return t.forEach(n=>n.children&&(n.children=aB(n.children))),t}function lQe(e){const t=Tv(e).filter(n=>{var r;return((r=n==null?void 0:n.children)==null?void 0:r.length)!==0});return t.forEach(n=>n.children&&(n.children=aB(n.children))),t}function Vre(e,t){return Array.isArray(e)&&Array.isArray(t)?mGe(e,t).length>0:!0}function Hre(e){var r,a;const t=(a=(r=pa().getItem(to))==null?void 0:r.roles)!=null?a:[],n=Tv(e).filter(i=>{var o;return Vre((o=i.meta)==null?void 0:o.roles,t)});return n.forEach(i=>i.children&&(i.children=Hre(i.children))),lQe(n)}function jMt(e,t,n="path"){function r(a,i,o){for(let s=0;sr.path==e);if(n)return iv(n)?Kn(n):n;for(let r=0;r0&&(n=zre(e,t[r].children),n))return iv(n)?Kn(n):n;return null}function uQe(){Da.hasRoute("pathMatch")||Da.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function Hw(e){e.length===0||Q6(Gre(e)).map(t=>{if(Da.options.routes[0].children.findIndex(n=>n.path===t.path)===-1){Da.options.routes[0].children.push(t),Qb(Da.options.routes[0].children),Da.hasRoute(t==null?void 0:t.name)||Da.addRoute(t);const n=Da.getRoutes().find(r=>r.path==="/");Da.addRoute(n)}}),Bs().handleWholeMenus(e),cf().getMultiTagsCache||cf().handleTags("equal",[...Y6,...Bs().flatteningRoutes.filter(t=>{var n;return(n=t==null?void 0:t.meta)==null?void 0:n.fixedTag})]),uQe()}function cQe(){var e;if((e=Eh())!=null&&e.CachingAsyncRoutes){const t="async-routes",n=pa().getItem(t);return n&&(n==null?void 0:n.length)>0?new Promise(r=>{Hw(n),r(Da)}):new Promise(r=>{OV().then(({data:a})=>{Hw(Tv(a)),pa().setItem(t,a),r(Da)})})}else return new Promise(t=>{OV().then(({data:n})=>{Hw(Tv(n)),t(Da)})})}function Q6(e){if(e.length===0)return e;let t=Z6(e);for(let n=0;n{var r;n.path==="/"?t.push({component:n.component,name:n.name,path:n.path,redirect:n.redirect,meta:n.meta,children:[]}):(r=t[0])==null||r.children.push(ce({},n))}),t}function PV({name:e},t){switch(t){case"add":Bs().cacheOperate({mode:"add",name:e});break;case"delete":Bs().cacheOperate({mode:"delete",name:e});break;case"refresh":Bs().cacheOperate({mode:"refresh",name:e});break;default:Bs().cacheOperate({mode:"delete",name:e}),Ub(()=>{Bs().cacheOperate({mode:"add",name:e})},100)}}function Gre(e){if(!e||!e.length)return;const t=Object.keys(RV);return e.forEach(n=>{var r;if(n.meta.backstage=!0,n!=null&&n.children&&n.children.length&&!n.redirect&&(n.redirect=n.children[0].path),n!=null&&n.children&&n.children.length&&!n.name&&(n.name=n.children[0].name+"Parent"),(r=n.meta)!=null&&r.frameSrc)n.component=oQe;else{const a=n!=null&&n.component?t.findIndex(i=>i.includes(n.component)):t.findIndex(i=>i.includes(n.path));n.component=RV[t[a]]}n!=null&&n.children&&n.children.length&&Gre(n.children)}),e}function dQe(e){const t=e.split(","),n=t[0],r=t[1];if(t.length===1){if(n==="hash")return X$("");if(n==="h5")return yk("")}else if(t.length===2){if(n==="hash")return X$(r);if(n==="h5")return yk(r)}}function fQe(){return Da.currentRoute.value.meta.auths}function jre(e){if(!e)return!1;const t=fQe();return t?!!(Kb(e)?t.includes(e):mne(e,t)):!1}function pQe(e){return e!=null&&e.children&&e.children.length>1?e.redirect?e.children.filter(t=>t.path===e.redirect)[0]:e.children[0]:e}function hQe(e=!1){var n;const t=pQe((n=Bs().wholeMenus[0])==null?void 0:n.children[0]);return e&&cf().handleTags("push",t),t}const mQe=e=>Zb.request("post","/login",{data:e}),vQe=e=>Zb.request("post","/refresh-token",{data:e}),KMt=e=>Zb.request("get","/mine",{data:e}),UMt=e=>Zb.request("get","/mine-logs",{data:e}),gQe=qM({id:"pure-user",state:()=>{var e,t,n,r,a,i,o,s,l,u;return{avatar:(t=(e=pa().getItem(to))==null?void 0:e.avatar)!=null?t:"",username:(r=(n=pa().getItem(to))==null?void 0:n.username)!=null?r:"",nickname:(i=(a=pa().getItem(to))==null?void 0:a.nickname)!=null?i:"",roles:(s=(o=pa().getItem(to))==null?void 0:o.roles)!=null?s:[],permissions:(u=(l=pa().getItem(to))==null?void 0:l.permissions)!=null?u:[],verifyCode:"",currentPage:0,isRemembered:!1,loginDay:7}},actions:{SET_AVATAR(e){this.avatar=e},SET_USERNAME(e){this.username=e},SET_NICKNAME(e){this.nickname=e},SET_ROLES(e){this.roles=e},SET_PERMS(e){this.permissions=e},SET_VERIFYCODE(e){this.verifyCode=e},SET_CURRENTPAGE(e){this.currentPage=e},SET_ISREMEMBERED(e){this.isRemembered=e},SET_LOGINDAY(e){this.loginDay=Number(e)},loginByUsername(e){return Qt(this,null,function*(){return new Promise((t,n)=>{mQe(e).then(r=>{r!=null&&r.success&&Ak(r.data),t(r)}).catch(r=>{n(r)})})})},logOut(){this.username="",this.roles=[],this.permissions=[],oB(),cf().handleTags("equal",[...Y6]),EQe(),Da.push("/login")},handRefreshToken(e){return Qt(this,null,function*(){return new Promise((t,n)=>{vQe(e).then(r=>{r&&(Ak(r.data),t(r))}).catch(r=>{n(r)})})})}}});function Hd(){return gQe(q6)}const to="user-info",H2="authorized-token",iB="multiple-tabs";function yQe(){return uf.get(H2)?JSON.parse(uf.get(H2)):pa().getItem(to)}function Ak(e){var l,u,c,d,f,p,h,m,g,v,C,b,F;let t=0;const{accessToken:n,refreshToken:r}=e,{isRemembered:a,loginDay:i}=Hd();t=new Date(e.expires).getTime();const o=JSON.stringify({accessToken:n,expires:t,refreshToken:r});t>0?uf.set(H2,o,{expires:(t-Date.now())/864e5}):uf.set(H2,o),uf.set(iB,"true",a?{expires:i}:{});function s({avatar:w,username:E,nickname:S,roles:D,permissions:_}){Hd().SET_AVATAR(w),Hd().SET_USERNAME(E),Hd().SET_NICKNAME(S),Hd().SET_ROLES(D),Hd().SET_PERMS(_),pa().setItem(to,{refreshToken:r,expires:t,avatar:w,username:E,nickname:S,roles:D,permissions:_})}if(e.username&&e.roles){const{username:w,roles:E}=e;s({avatar:(l=e==null?void 0:e.avatar)!=null?l:"",username:w,nickname:(u=e==null?void 0:e.nickname)!=null?u:"",roles:E,permissions:(c=e==null?void 0:e.permissions)!=null?c:[]})}else{const w=(f=(d=pa().getItem(to))==null?void 0:d.avatar)!=null?f:"",E=(h=(p=pa().getItem(to))==null?void 0:p.username)!=null?h:"",S=(g=(m=pa().getItem(to))==null?void 0:m.nickname)!=null?g:"",D=(C=(v=pa().getItem(to))==null?void 0:v.roles)!=null?C:[],_=(F=(b=pa().getItem(to))==null?void 0:b.permissions)!=null?F:[];s({avatar:w,username:E,nickname:S,roles:D,permissions:_})}}function oB(){uf.remove(H2),uf.remove(iB),pa().removeItem(to)}const zw=e=>"Bearer "+e,Kre=e=>{if(!e)return!1;const t="*:*:*",{permissions:n}=Hd();return n?n.length===1&&n[0]===t?!0:!!(Kb(e)?n.includes(e):mne(e,n)):!1};(function(){const e=hGe(location.href),t=["username","roles","accessToken"],n=t.length;if(Object.keys(e).length!==n)return;let r=[],a=0;for(;aIe(()=>import("./index-CiH_NjpO.js"),__vite__mapDeps([153,154,70,155,156,157,158,26,159,12,160,161,17,162,36,23,11,50,91,71,72,75,163])),zF=[{path:"/login",name:"Login",component:()=>Ie(()=>import("./index-BxvHEj1Y.js"),__vite__mapDeps([305,296,297,34,158,26,159,12,160,161,295,23,100,301,302,304,299,15,16,17,18,50,306])),meta:{title:Tt("menus.pureLogin"),showLink:!1,rank:101}},{path:"/redirect",component:bQe,meta:{title:Tt("status.pureLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>Ie(()=>import("./redirect-DaUHYPna.js"),[])}]},{path:"/empty",name:"Empty",component:()=>Ie(()=>import("./index-2j2geX_R.js"),__vite__mapDeps([291,292])),meta:{title:Tt("menus.pureEmpty"),showLink:!1,rank:103}},{path:"/account-settings",name:"AccountSettings",component:()=>Ie(()=>import("./index-Dy7B4rCO.js"),__vite__mapDeps([281,75,276,20,277,67,68,278,273,274,280,271,272,161,12,160,157,282])),meta:{title:Tt("buttons.pureAccountSettings"),showLink:!1,rank:104}}],FQe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},IV=Object.assign({"./modules/able.ts":Mqe,"./modules/about.ts":Lqe,"./modules/board.ts":Pqe,"./modules/components.ts":Nqe,"./modules/editor.ts":Vqe,"./modules/error.ts":zqe,"./modules/flowchart.ts":Gqe,"./modules/form.ts":Kqe,"./modules/formdesign.ts":Yqe,"./modules/ganttastic.ts":Xqe,"./modules/guide.ts":Qqe,"./modules/home.ts":aYe,"./modules/list.ts":oYe,"./modules/menuoverflow.ts":lYe,"./modules/mind.ts":dYe,"./modules/nested.ts":pYe,"./modules/ppt.ts":vYe,"./modules/result.ts":yYe,"./modules/table.ts":FYe,"./modules/vueflow.ts":wYe}),eC=[];Object.keys(IV).forEach(e=>{eC.push(IV[e].default)});const CQe=Wre(Q6(Z6(Qb(eC.flat(1/0))))),wQe=Qb(eC.flat(1/0)).concat(...zF),qMt=Object.keys(zF).map(e=>zF[e].path),Da=BJe({history:dQe("hash"),routes:CQe.concat(...zF),strict:!0,scrollBehavior(e,t,n){return new Promise(r=>{if(n)return n;if(t.meta.saveSrollTop){const a=document.documentElement.scrollTop||document.body.scrollTop;r({left:0,top:a})}})}});function EQe(){Da.getRoutes().forEach(e=>{const{name:t,meta:n}=e;t&&Da.hasRoute(t)&&(n!=null&&n.backstage)&&(Da.removeRoute(t),Da.options.routes=Wre(Q6(Z6(Qb(eC.flat(1/0))))))}),Bs().clearAllCachePage()}const NV=["/login"],{VITE_HIDE_HOME:SQe}=FQe;Da.beforeEach((e,t,n)=>{var o,s,l;(o=e.meta)!=null&&o.keepAlive&&(PV(e,"add"),(t.name===void 0||t.name==="Redirect")&&PV(e));const r=pa().getItem(to);_h.start();const a=LM(e==null?void 0:e.name);a||e.matched.some(u=>{if(!u.meta.title)return"";const c=Eh().Title;c?document.title=`${W$(u.meta.title)} | ${c}`:document.title=W$(u.meta.title)});function i(){NV.includes(e.fullPath)?n(t.fullPath):n()}uf.get(iB)&&r?((s=e.meta)!=null&&s.roles&&!Vre((l=e.meta)==null?void 0:l.roles,r==null?void 0:r.roles)&&n({path:"/error/403"}),SQe==="true"&&e.fullPath==="/welcome"&&n({path:"/error/404"}),t!=null&&t.name?a?(dne(e==null?void 0:e.name),_h.done()):i():(Bs().wholeMenus.length===0&&e.path!=="/login"&&cQe().then(u=>{var c,d;if(!cf().getMultiTagsCache){const{path:f}=e,p=zre(f,u.options.routes[0].children);if(hQe(!0),p&&((c=p.meta)!=null&&c.title))if(_c(p.parentId)&&((d=p.meta)!=null&&d.backstage)){const{path:h,name:m,meta:g}=p.children[0];cf().handleTags("push",{path:h,name:m,meta:g})}else{const{path:h,name:m,meta:g}=p;cf().handleTags("push",{path:h,name:m,meta:g})}}_c(e.name)&&u.push(e.fullPath)}),i())):e.path!=="/login"?NV.indexOf(e.path)!==-1?n():(oB(),n({path:"/login"})):n()});Da.afterEach(()=>{_h.done()});function Ww(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function xk(e,t,n=".",r){if(!Ww(t))return xk(e,{},n,r);const a=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(a,i,o,n)||(Array.isArray(o)&&Array.isArray(a[i])?a[i]=[...o,...a[i]]:Ww(o)&&Ww(a[i])?a[i]=xk(o,a[i],(n?`${n}.`:"")+i.toString(),r):a[i]=o))}return a}function DQe(e){return(...t)=>t.reduce((n,r)=>xk(n,r,"",e),{})}const Ure=DQe();function qre(e){return a0()?(i0(e),!0):!1}function sB(e){return typeof e=="function"?e():y(e)}const _Qe=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const kQe=e=>e!=null,AQe=Object.prototype.toString,WF=e=>AQe.call(e)==="[object Object]",p8=()=>{};function xQe(e){return Kt()}function TQe(e,t){xQe()&&Lr(e,t)}function Ey(e){var t;const n=sB(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Yre=_Qe?window:void 0;function lu(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=Yre):[t,n,r,a]=e,!t)return p8;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),l=Ve(()=>[Ey(t),sB(a)],([c,d])=>{if(o(),!c)return;const f=WF(d)?ce({},d):d;i.push(...n.flatMap(p=>r.map(h=>s(c,p,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return qre(u),u}function MQe(){const e=j(!1),t=Kt();return t&&$t(()=>{e.value=!0},t),e}function BQe(e){const t=MQe();return B(()=>(t.value,!!e()))}function LQe(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=.1,window:o=Yre,immediate:s=!0}=n,l=BQe(()=>o&&"IntersectionObserver"in o),u=B(()=>{const h=sB(e);return(Array.isArray(h)?h:[h]).map(Ey).filter(kQe)});let c=p8;const d=j(s),f=l.value?Ve(()=>[u.value,Ey(r),d.value],([h,m])=>{if(c(),!d.value||!h.length)return;const g=new IntersectionObserver(t,{root:Ey(m),rootMargin:a,threshold:i});h.forEach(v=>v&&g.observe(v)),c=()=>{g.disconnect(),c=p8}},{immediate:s,flush:"post"}):p8,p=()=>{c(),f(),d.value=!1};return qre(p),{isSupported:l,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}const Jre=1/60*1e3,OQe=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Xre=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(OQe()),Jre);function RQe(e){let t=[],n=[],r=0,a=!1,i=!1;const o=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&a,f=d?t:n;return u&&o.add(l),f.indexOf(l)===-1&&(f.push(l),d&&a&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),o.delete(l)},process:l=>{if(a){i=!0;return}if(a=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=RQe(()=>z2=!0),e),{}),Bk=e4.reduce((e,t)=>{const n=tC[t];return e[t]=(r,a=!1,i=!1)=>(z2||$Qe(),n.schedule(r,a,i)),e},{}),IQe=e4.reduce((e,t)=>(e[t]=tC[t].cancel,e),{});e4.reduce((e,t)=>(e[t]=()=>tC[t].process(G1),e),{});const NQe=e=>tC[e].process(G1),Zre=e=>{z2=!1,G1.delta=Tk?Jre:Math.max(Math.min(e-G1.timestamp,PQe),1),G1.timestamp=e,Mk=!0,e4.forEach(NQe),Mk=!1,z2&&(Tk=!1,Xre(Zre))},$Qe=()=>{z2=!0,Tk=!0,Mk||Xre(Zre)},Qre=()=>G1;function eae(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aMath.min(Math.max(n,e),t),Gw=.001,VQe=.01,HQe=10,zQe=.05,WQe=1;function GQe({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let a,i,o=1-t;o=Lk(zQe,WQe,o),e=Lk(VQe,HQe,e/1e3),o<1?(a=u=>{const c=u*o,d=c*e,f=c-n,p=Ok(u,o),h=Math.exp(-d);return Gw-f/p*h},i=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Ok(Math.pow(u,2),o);return(-a(u)+Gw>0?-1:1)*((f-p)*h)/m}):(a=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Gw+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=KQe(a,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const jQe=12;function KQe(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function YQe(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!VV(e,qQe)&&VV(e,UQe)){const n=GQe(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function lB(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:a}=e,i=eae(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=YQe(i),p=HV,h=HV;function m(){const g=c?-(c/1e3):0,v=n-t,C=l/(2*Math.sqrt(s*u)),b=Math.sqrt(s/u)/1e3;if(a===void 0&&(a=Math.min(Math.abs(n-t)/100,.4)),C<1){const F=Ok(b,C);p=w=>{const E=Math.exp(-C*b*w);return n-E*((g+C*b*v)/F*Math.sin(F*w)+v*Math.cos(F*w))},h=w=>{const E=Math.exp(-C*b*w);return C*b*E*(Math.sin(F*w)*(g+C*b*v)/F+v*Math.cos(F*w))-E*(Math.cos(F*w)*(g+C*b*v)-F*v*Math.sin(F*w))}}else if(C===1)p=F=>n-Math.exp(-b*F)*(v+(g+b*v)*F);else{const F=b*Math.sqrt(C*C-1);p=w=>{const E=Math.exp(-C*b*w),S=Math.min(F*w,300);return n-E*((g+C*b*v)*Math.sinh(S)+F*v*Math.cosh(S))/F}}}return m(),{next:g=>{const v=p(g);if(f)o.done=g>=d;else{const C=h(g)*1e3,b=Math.abs(C)<=r,F=Math.abs(n-v)<=a;o.done=b&&F}return o.value=o.done?n:v,o},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}lB.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const HV=e=>0,tae=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},uB=(e,t,n)=>-n*e+n*t+e,nae=(e,t)=>n=>Math.max(Math.min(n,t),e),Sy=e=>e%1?Number(e.toFixed(5)):e,W2=/(-)?([\d]*\.?[\d])+/g,Rk=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,JQe=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function t4(e){return typeof e=="string"}const n4={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dy=Object.assign(Object.assign({},n4),{transform:nae(0,1)}),T5=Object.assign(Object.assign({},n4),{default:1}),cB=e=>({test:t=>t4(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pp=cB("deg"),_y=cB("%"),ar=cB("px"),zV=Object.assign(Object.assign({},_y),{parse:e=>_y.parse(e)/100,transform:e=>_y.transform(e*100)}),dB=(e,t)=>n=>!!(t4(n)&&JQe.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),rae=(e,t,n)=>r=>{if(!t4(r))return r;const[a,i,o,s]=r.match(W2);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},ih={test:dB("hsl","hue"),parse:rae("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+_y.transform(Sy(t))+", "+_y.transform(Sy(n))+", "+Sy(Dy.transform(r))+")"},XQe=nae(0,255),jw=Object.assign(Object.assign({},n4),{transform:e=>Math.round(XQe(e))}),Ud={test:dB("rgb","red"),parse:rae("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+jw.transform(e)+", "+jw.transform(t)+", "+jw.transform(n)+", "+Sy(Dy.transform(r))+")"};function ZQe(e){let t="",n="",r="",a="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),a=e.substr(4,1),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const Pk={test:dB("#"),parse:ZQe,transform:Ud.transform},ko={test:e=>Ud.test(e)||Pk.test(e)||ih.test(e),parse:e=>Ud.test(e)?Ud.parse(e):ih.test(e)?ih.parse(e):Pk.parse(e),transform:e=>t4(e)?e:e.hasOwnProperty("red")?Ud.transform(e):ih.transform(e)},aae="${c}",iae="${n}";function QQe(e){var t,n,r,a;return isNaN(e)&&t4(e)&&((n=(t=e.match(W2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((a=(r=e.match(Rk))===null||r===void 0?void 0:r.length)!==null&&a!==void 0?a:0)>0}function oae(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Rk);r&&(n=r.length,e=e.replace(Rk,aae),t.push(...r.map(ko.parse)));const a=e.match(W2);return a&&(e=e.replace(W2,iae),t.push(...a.map(n4.parse))),{values:t,numColors:n,tokenised:e}}function sae(e){return oae(e).values}function lae(e){const{values:t,numColors:n,tokenised:r}=oae(e),a=t.length;return i=>{let o=r;for(let s=0;stypeof e=="number"?0:e;function tet(e){const t=sae(e);return lae(e)(t.map(eet))}const r4={test:QQe,parse:sae,createTransformer:lae,getAnimatableNone:tet},net=new Set(["brightness","contrast","saturate","opacity"]);function ret(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(W2)||[];if(!r)return e;const a=n.replace(r,"");let i=net.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const aet=/([a-z-]*)\(.*?\)/g,Ik=Object.assign(Object.assign({},r4),{getAnimatableNone:e=>{const t=e.match(aet);return t?t.map(ret).join(" "):e}});function Kw(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function WV({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;a=Kw(l,s,e+1/3),i=Kw(l,s,e),o=Kw(l,s,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const iet=(e,t,n)=>{const r=e*e,a=t*t;return Math.sqrt(Math.max(0,n*(a-r)+r))},oet=[Pk,Ud,ih],GV=e=>oet.find(t=>t.test(e)),uae=(e,t)=>{let n=GV(e),r=GV(t),a=n.parse(e),i=r.parse(t);n===ih&&(a=WV(a),n=Ud),r===ih&&(i=WV(i),r=Ud);const o=Object.assign({},a);return s=>{for(const l in o)l!=="alpha"&&(o[l]=iet(a[l],i[l],s));return o.alpha=uB(a.alpha,i.alpha,s),n.transform(o)}},set=e=>typeof e=="number",uet=(e,t)=>n=>t(e(n)),cae=(...e)=>e.reduce(uet);function dae(e,t){return set(e)?n=>uB(e,t,n):ko.test(e)?uae(e,t):pae(e,t)}const fae=(e,t)=>{const n=[...e],r=n.length,a=e.map((i,o)=>dae(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(r[a]=dae(e[a],t[a]));return a=>{for(const i in r)n[i]=r[i](a);return n}};function jV(e){const t=r4.parse(e),n=t.length;let r=0,a=0,i=0;for(let o=0;o{const n=r4.createTransformer(t),r=jV(e),a=jV(t);return r.numHSL===a.numHSL&&r.numRGB===a.numRGB&&r.numNumbers>=a.numNumbers?cae(fae(r.parsed,a.parsed),n):o=>`${o>0?t:e}`},det=(e,t)=>n=>uB(e,t,n);function fet(e){if(typeof e=="number")return det;if(typeof e=="string")return ko.test(e)?uae:pae;if(Array.isArray(e))return fae;if(typeof e=="object")return cet}function pet(e,t,n){const r=[],a=n||fet(e[0]),i=e.length-1;for(let o=0;on(tae(e,t,r))}function met(e,t){const n=e.length,r=n-1;return a=>{let i=0,o=!1;if(a<=e[0]?o=!0:a>=e[r]&&(i=r-1,o=!0),!o){let l=1;for(;la||l===r);l++);i=l-1}const s=tae(e[i],e[i+1],a);return t[i](s)}}function hae(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const i=e.length;$V(i===t.length),$V(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=pet(t,r,a),s=i===2?het(e,o):met(e,o);return n?l=>s(Lk(e[0],e[i-1],l)):s}const nC=e=>t=>1-e(1-t),fB=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vet=e=>t=>Math.pow(t,e),mae=e=>t=>t*t*((e+1)*t-e),get=e=>{const t=mae(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},vae=1.525,yet=4/11,bet=8/11,Fet=9/10,gae=e=>e,pB=vet(2),Cet=nC(pB),yae=fB(pB),bae=e=>1-Math.sin(Math.acos(e)),Fae=nC(bae),wet=fB(Fae),hB=mae(vae),Eet=nC(hB),Det=fB(hB),_et=get(vae),ket=4356/361,Aet=35442/1805,xet=16061/1805,GF=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-GF(1-e*2)):.5*GF(e*2-1)+.5;function Bet(e,t){return e.map(()=>t||yae).splice(0,e.length-1)}function Let(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Oet(e,t){return e.map(n=>n*t)}function h8({from:e=0,to:t=1,ease:n,offset:r,duration:a=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=Oet(r&&r.length===o.length?r:Let(o),a);function l(){return hae(s,o,{ease:Array.isArray(n)?n:Bet(o,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=a,i),flipTarget:()=>{o.reverse(),u=l()}}}function Ret({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:a=.5,modifyTarget:i}){const o={done:!1,value:t};let s=n*e;const l=t+s,u=i===void 0?l:i(l);return u!==l&&(s=u-t),{next:c=>{const d=-s*Math.exp(-c/r);return o.done=!(d>a||d<-a),o.value=o.done?u:u+d,o},flipTarget:()=>{}}}const KV={keyframes:h8,spring:lB,decay:Ret};function Pet(e){if(Array.isArray(e.to))return h8;if(KV[e.type])return KV[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?h8:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?lB:h8}function Cae(e,t,n=0){return e-t-n}function Iet(e,t,n=0,r=!0){return r?Cae(t+-e,t,n):t-(e-t)+n}function Net(e,t,n,r){return r?e>=t+n:e<=-n}const $et=e=>{const t=({delta:n})=>e(n);return{start:()=>Bk.update(t,!0),stop:()=>IQe.update(t)}};function wae(e){var t,n,{from:r,autoplay:a=!0,driver:i=$et,elapsed:o=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=eae(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:g}=m,v,C=0,b=m.duration,F,w=!1,E=!0,S;const D=Pet(m);!((n=(t=D).needsInterpolation)===null||n===void 0)&&n.call(t,r,g)&&(S=hae([0,100],[r,g],{clamp:!1}),r=0,g=100);const _=D(Object.assign(Object.assign({},m),{from:r,to:g}));function k(){C++,l==="reverse"?(E=C%2===0,o=Iet(o,b,u,E)):(o=Cae(o,b,u),l==="mirror"&&_.flipTarget()),w=!1,p&&p()}function M(){v.stop(),f&&f()}function L(N){if(E||(N=-N),o+=N,!w){const O=_.next(Math.max(0,o));F=O.value,S&&(F=S(F)),w=E?O.done:o<=0}h==null||h(F),w&&(C===0&&(b!=null||(b=o)),C{d==null||d(),v.stop()}}}function Eae(e,t){return t?e*(1e3/t):0}function Vet({from:e=0,velocity:t=0,min:n,max:r,power:a=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(b){return n!==void 0&&br}function g(b){return n===void 0?r:r===void 0||Math.abs(n-b){var w;d==null||d(F),(w=b.onUpdate)===null||w===void 0||w.call(b,F)},onComplete:f,onStop:p}))}function C(b){v(Object.assign({type:"spring",stiffness:o,damping:s,restDelta:l},b))}if(m(e))C({from:e,velocity:t,to:g(e)});else{let b=a*t+e;typeof u!="undefined"&&(b=u(b));const F=g(b),w=F===n?-1:1;let E,S;const D=_=>{E=S,S=_,t=Eae(_-E,Qre().delta),(w===1&&_>F||w===-1&&_h==null?void 0:h.stop()}}const Sae=(e,t)=>1-3*t+3*e,Dae=(e,t)=>3*t-6*e,_ae=e=>3*e,jF=(e,t,n)=>((Sae(t,n)*e+Dae(t,n))*e+_ae(t))*e,kae=(e,t,n)=>3*Sae(t,n)*e*e+2*Dae(t,n)*e+_ae(t),Het=1e-7,zet=10;function Wet(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=jF(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>Het&&++s=jet?Ket(o,d,e,n):f===0?d:Wet(o,s,s+M5,e,n)}return o=>o===0||o===1?o:jF(i(o),t,r)}const Uw={};var qet=Object.defineProperty,Yet=(e,t,n)=>t in e?qet(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jet=(e,t,n)=>(Yet(e,t+"",n),n);class Xet{constructor(){Jet(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const a of this.subscriptions)a(t,n,r)}clear(){this.subscriptions.clear()}}var Zet=Object.defineProperty,Qet=(e,t,n)=>t in e?Zet(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uu=(e,t,n)=>(Qet(e,typeof t!="symbol"?t+"":t,n),n);function UV(e){return!Number.isNaN(Number.parseFloat(e))}class ett{constructor(t){uu(this,"current"),uu(this,"prev"),uu(this,"timeDelta",0),uu(this,"lastUpdated",0),uu(this,"updateSubscribers",new Xet),uu(this,"stopAnimation"),uu(this,"canTrackVelocity",!1),uu(this,"updateAndNotify",n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:a}=Qre();this.lastUpdated!==a&&(this.timeDelta=r,this.lastUpdated=a),Bk.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),uu(this,"scheduleVelocityCheck",()=>Bk.postRender(this.velocityCheck)),uu(this,"velocityCheck",({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=UV(this.current)),n!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=UV(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Eae(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function ttt(e){return new ett(e)}const{isArray:ntt}=Array;function rtt(){const e=j({}),t=r=>{const a=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?ntt(r)?r.forEach(a):a(r):Object.keys(e.value).forEach(a)},n=(r,a,i)=>{if(e.value[r])return e.value[r];const o=ttt(a);return o.onChange(s=>i[r]=s),e.value[r]=o,o};return TQe(t),{motionValues:e,get:n,stop:t}}function att(e){return Array.isArray(e)}function hp(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function qw(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function itt(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function Yw(){return{type:"keyframes",ease:"linear",duration:300}}function ott(e){return{type:"keyframes",duration:800,values:e}}const qV={default:itt,x:hp,y:hp,z:hp,rotate:hp,rotateX:hp,rotateY:hp,rotateZ:hp,scaleX:qw,scaleY:qw,scale:qw,backgroundColor:Yw,color:Yw,opacity:Yw};function Aae(e,t){let n;return att(t)?n=ott:n=qV[e]||qV.default,ce({to:t},n(t))}const YV=Je(ce({},n4),{transform:Math.round}),xae={color:ko,backgroundColor:ko,outlineColor:ko,fill:ko,stroke:ko,borderColor:ko,borderTopColor:ko,borderRightColor:ko,borderBottomColor:ko,borderLeftColor:ko,borderWidth:ar,borderTopWidth:ar,borderRightWidth:ar,borderBottomWidth:ar,borderLeftWidth:ar,borderRadius:ar,radius:ar,borderTopLeftRadius:ar,borderTopRightRadius:ar,borderBottomRightRadius:ar,borderBottomLeftRadius:ar,width:ar,maxWidth:ar,height:ar,maxHeight:ar,size:ar,top:ar,right:ar,bottom:ar,left:ar,padding:ar,paddingTop:ar,paddingRight:ar,paddingBottom:ar,paddingLeft:ar,margin:ar,marginTop:ar,marginRight:ar,marginBottom:ar,marginLeft:ar,rotate:pp,rotateX:pp,rotateY:pp,rotateZ:pp,scale:T5,scaleX:T5,scaleY:T5,scaleZ:T5,skew:pp,skewX:pp,skewY:pp,distance:ar,translateX:ar,translateY:ar,translateZ:ar,x:ar,y:ar,z:ar,perspective:ar,transformPerspective:ar,opacity:Dy,originX:zV,originY:zV,originZ:ar,zIndex:YV,filter:Ik,WebkitFilter:Ik,fillOpacity:Dy,strokeOpacity:Dy,numOctaves:YV},mB=e=>xae[e];function Nk(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function stt(e,t){let n=mB(e);return n!==Ik&&(n=r4),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ltt={linear:gae,easeIn:pB,easeInOut:yae,easeOut:Cet,circIn:bae,circInOut:wet,circOut:Fae,backIn:hB,backInOut:Det,backOut:Eet,anticipate:_et,bounceIn:Tet,bounceInOut:Met,bounceOut:GF};function JV(e){if(Array.isArray(e)){const[t,n,r,a]=e;return Uet(t,n,r,a)}else if(typeof e=="string")return ltt[e];return e}function utt(e){return Array.isArray(e)&&typeof e[0]!="number"}function XV(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&r4.test(t)&&!t.startsWith("url("))}function ctt(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function dtt(a){var i=a,{ease:e,times:t,delay:n}=i,r=qo(i,["ease","times","delay"]);const o=ce({},r);return t&&(o.offset=t),e&&(o.ease=utt(e)?e.map(JV):JV(e)),n&&(o.elapsed=-n),o}function ftt(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),ctt(t),ptt(e)||(e=ce(ce({},e),Aae(n,t.to))),ce(ce({},t),dtt(e))}function ptt(o){var s=o,{delay:e,repeat:t,repeatType:n,repeatDelay:r,from:a}=s,i=qo(s,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(i).length}function htt(e,t){return e[t]||e.default||e}function mtt(e,t,n,r,a){const i=htt(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const s=XV(e,n);o==="none"&&s&&typeof n=="string"&&(o=stt(e,n));const l=XV(e,o);function u(d){const f={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:p=>t.set(p)};return i.type==="inertia"||i.type==="decay"?Vet(ce(ce({},f),i)):wae(Je(ce({},ftt(i,f,e)),{onUpdate:p=>{f.onUpdate(p),i.onUpdate&&i.onUpdate(p)},onComplete:()=>{a&&a(),d&&d()}}))}function c(d){return t.set(n),a&&a(),d&&d(),{stop:()=>{}}}return!l||!s||i.type===!1?c:u}function vtt(){const{motionValues:e,stop:t,get:n}=rtt();return{motionValues:e,stop:t,push:(a,i,o,s={},l)=>{const u=o[a],c=n(a,u,o);if(s&&s.immediate){c.set(i);return}const d=mtt(a,c,i,s,l);c.start(d)}}}function gtt(e,t={},{motionValues:n,push:r,stop:a}=vtt()){const i=y(t),o=j(!1);Ve(n,d=>{o.value=Object.values(d).filter(f=>f.isAnimating()).length>0},{immediate:!0,deep:!0});const s=d=>{if(!i||!i[d])throw new Error(`The variant ${d} does not exist.`);return i[d]},l=d=>{typeof d=="string"&&(d=s(d));const f=Object.entries(d).map(([h,m])=>{if(h!=="transition")return new Promise(g=>r(h,m,e,d.transition||Aae(h,d[h]),g))}).filter(Boolean);function p(){return Qt(this,null,function*(){var h,m;yield Promise.all(f),(m=(h=d.transition)==null?void 0:h.onComplete)==null||m.call(h)})}return Promise.all([p()])};return{isAnimating:o,apply:l,set:d=>{const f=WF(d)?d:s(d);Object.entries(f).forEach(([p,h])=>{p!=="transition"&&r(p,h,e,{immediate:!0})})},leave:d=>Qt(this,null,function*(){let f;if(i&&(i.leave&&(f=i.leave),!i.leave&&i.initial&&(f=i.initial)),!f){d();return}yield l(f),d()}),stop:a}}const vB=typeof window!="undefined",ytt=()=>vB&&(window.onpointerdown===null||void 0),btt=()=>vB&&(window.ontouchstart===null||void 0),Ftt=()=>vB&&(window.onmousedown===null||void 0);function Ctt({target:e,state:t,variants:n,apply:r}){const a=y(n),i=j(!1),o=j(!1),s=j(!1),l=B(()=>{let c=[...Object.keys(t.value||{})];return a&&(a.hovered&&(c=[...c,...Object.keys(a.hovered)]),a.tapped&&(c=[...c,...Object.keys(a.tapped)]),a.focused&&(c=[...c,...Object.keys(a.focused)])),c}),u=B(()=>{const c={};Object.assign(c,t.value),i.value&&a.hovered&&Object.assign(c,a.hovered),o.value&&a.tapped&&Object.assign(c,a.tapped),s.value&&a.focused&&Object.assign(c,a.focused);for(const d in c)l.value.includes(d)||delete c[d];return c});a.hovered&&(lu(e,"mouseenter",()=>i.value=!0),lu(e,"mouseleave",()=>{i.value=!1,o.value=!1})),a.tapped&&(Ftt()&&(lu(e,"mousedown",()=>o.value=!0),lu(e,"mouseup",()=>o.value=!1)),ytt()&&(lu(e,"pointerdown",()=>o.value=!0),lu(e,"pointerup",()=>o.value=!1)),btt()&&(lu(e,"touchstart",()=>o.value=!0),lu(e,"touchend",()=>o.value=!1))),a.focused&&(lu(e,"focus",()=>s.value=!0),lu(e,"blur",()=>s.value=!1)),Ve([i,o,s],()=>{r(u.value)})}function wtt({set:e,target:t,variants:n,variant:r}){const a=y(n);Ve(()=>t,()=>{a&&(a.initial&&(e("initial"),r.value="initial"),a.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function Ett({state:e,apply:t}){Ve(e,n=>{n&&t(n)},{immediate:!0})}function Tae({target:e,variants:t,variant:n}){const r=y(t);r&&(r.visible||r.visibleOnce)&&LQe(e,([{isIntersecting:a}])=>{r.visible?a?n.value="visible":n.value="initial":r.visibleOnce&&(a&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Stt(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&wtt(e),t.syncVariants&&Ett(e),t.visibilityHooks&&Tae(e),t.eventListeners&&Ctt(e)}function Mae(e={}){const t=an(ce({},e)),n=j({});return Ve(t,()=>{const r={};for(const[a,i]of Object.entries(t)){const o=mB(a),s=Nk(i,o);r[a]=s}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function gB(e,t){Ve(()=>Ey(e),n=>{n&&t(n)},{immediate:!0})}const Dtt={x:"translateX",y:"translateY",z:"translateZ"};function Bae(e={},t=!0){const n=an(ce({},e)),r=j("");return Ve(n,a=>{let i="",o=!1;if(t&&(a.x||a.y||a.z)){const s=[a.x||0,a.y||0,a.z||0].map(l=>Nk(l,ar)).join(",");i+=`translate3d(${s}) `,o=!0}for(const[s,l]of Object.entries(a)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const u=mB(s),c=Nk(l,u);i+=`${Dtt[s]||s}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const _tt=["","X","Y","Z"],ktt=["perspective","translate","scale","rotate","skew"],Lae=["transformPerspective","x","y","z"];ktt.forEach(e=>{_tt.forEach(t=>{const n=e+t;Lae.push(n)})});const Att=new Set(Lae);function yB(e){return Att.has(e)}const xtt=new Set(["originX","originY","originZ"]);function Oae(e){return xtt.has(e)}function Ttt(e){const t={},n={};return Object.entries(e).forEach(([r,a])=>{yB(r)||Oae(r)?t[r]=a:n[r]=a}),{transform:t,style:n}}function rC(e){const{transform:t,style:n}=Ttt(e),{transform:r}=Bae(t),{style:a}=Mae(n);return r.value&&(a.value.transform=r.value),a.value}function Mtt(e,t){let n,r;const{state:a,style:i}=Mae();return gB(e,o=>{r=o;for(const s of Object.keys(xae))o.style[s]===null||o.style[s]===""||yB(s)||Oae(s)||(a[s]=o.style[s]);n&&Object.entries(n).forEach(([s,l])=>o.style[s]=l),t&&t(a)}),Ve(i,o=>{if(!r){n=o;return}for(const s in o)r.style[s]=o[s]},{immediate:!0}),{style:a}}function Btt(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,a)=>{if(!a)return r;const[i,o]=a.split("("),l=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=l.length===1?l[0]:l;return Je(ce({},r),{[i]:u})},{})}function Ltt(e,t){Object.entries(Btt(t)).forEach(([n,r])=>{const a=["x","y","z"];if(n==="translate3d"){if(r===0){a.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[a[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Ott(e,t){let n,r;const{state:a,transform:i}=Bae();return gB(e,o=>{r=o,o.style.transform&&Ltt(a,o.style.transform),n&&(o.style.transform=n),t&&t(a)}),Ve(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:a}}function Rtt(e){return Object.entries(e)}function Ptt(e,t){const n=an({}),r=o=>Object.entries(o).forEach(([s,l])=>n[s]=l),{style:a}=Mtt(e,r),{transform:i}=Ott(e,r);return Ve(n,o=>{Rtt(o).forEach(([s,l])=>{const u=yB(s)?i:a;u[s]&&u[s]===l||(u[s]=l)})},{immediate:!0,deep:!0}),gB(e,()=>t),{motionProperties:n,style:a,transform:i}}function Itt(e={}){const t=y(e),n=j();return{state:B(()=>{if(n.value)return t[n.value]}),variant:n}}function Rae(e,t={},n){const{motionProperties:r}=Ptt(e),{variant:a,state:i}=Itt(t),o=gtt(r,t),s=ce({target:e,variant:a,variants:t,state:i,motionProperties:r},o);return Stt(s,n),s}const Pae=["delay","duration"],Ntt=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...Pae];function $tt(e){return Pae.includes(e)}function Vtt(e,t){var r;const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&WF(n.variants)&&(t.value=ce(ce({},t.value),n.variants));for(let a of Ntt)if(!(!n||!n[a])){if($tt(a)&&typeof n[a]=="number"){for(const i of["enter","visible","visibleOnce"]){const o=t.value[i];o!=null&&((r=o.transition)!=null||(o.transition={}),o.transition[a]=n[a])}continue}if(WF(n[a])){const i=n[a];a==="visible-once"&&(a="visibleOnce"),t.value[a]=i}}}}function Jw(e,t=!1){return{created:(a,i,o)=>{const s=i.value&&typeof i.value=="string"?i.value:o.key;s&&Uw[s]&&Uw[s].stop();const l=t?structuredClone(Kn(e)||{}):e||{},u=j(l);typeof i.value=="object"&&(u.value=i.value),Vtt(o,u);const d=Rae(a,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});a.motionInstance=d,s&&(Uw[s]=d)},mounted:(a,i,o)=>{a.motionInstance&&Tae(a.motionInstance)},getSSRProps(a,i){let{initial:o}=a.value||i&&(i==null?void 0:i.props)||{};o=y(o);const s=Ure({},(e==null?void 0:e.initial)||{},o||{});return!s||Object.keys(s).length===0?void 0:{style:rC(s)}}}}const Htt={initial:{opacity:0},enter:{opacity:1}},ztt={initial:{opacity:0},visible:{opacity:1}},Wtt={initial:{opacity:0},visibleOnce:{opacity:1}},Gtt={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},jtt={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Ktt={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Utt={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},qtt={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Ytt={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Jtt={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xtt={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Ztt={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Qtt={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ent={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},tnt={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},nnt={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rnt={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ant={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},int={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},ont={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},snt={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},lnt={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},unt={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},cnt={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},dnt={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},fnt={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},pnt={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},hnt={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},mnt={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},vnt={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},KF={__proto__:null,fade:Htt,fadeVisible:ztt,fadeVisibleOnce:Wtt,pop:Gtt,popVisible:jtt,popVisibleOnce:Ktt,rollBottom:nnt,rollLeft:Utt,rollRight:Jtt,rollTop:Qtt,rollVisibleBottom:rnt,rollVisibleLeft:qtt,rollVisibleOnceBottom:ant,rollVisibleOnceLeft:Ytt,rollVisibleOnceRight:Ztt,rollVisibleOnceTop:tnt,rollVisibleRight:Xtt,rollVisibleTop:ent,slideBottom:hnt,slideLeft:int,slideRight:lnt,slideTop:dnt,slideVisibleBottom:mnt,slideVisibleLeft:ont,slideVisibleOnceBottom:vnt,slideVisibleOnceLeft:snt,slideVisibleOnceRight:cnt,slideVisibleOnceTop:pnt,slideVisibleRight:unt,slideVisibleTop:fnt};function gnt(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,a=>`-${a}`).toLowerCase().replace(/\s+/g,"-").replace(r,a=>n.charAt(t.indexOf(a))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Iae=Symbol(import.meta.dev?"motionCustomPresets":""),Nae={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function ynt(e){return Object.prototype.toString.call(e)==="[object Object]"}function $k(e){if(Array.isArray(e))return e.map($k);if(ynt(e)){const t={};for(const n in e)t[n]=$k(e[n]);return t}return e}function $ae(e){const t=an({}),n=ot(Iae),r=B(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(Kn(n)[e.preset]):e.preset in KF?structuredClone(KF[e.preset]):{}),a=B(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(l,u){var c;for(const d of["delay","duration"]){if(u[d]==null)continue;const f=Number.parseInt(u[d]);for(const p of["enter","visible","visibleOnce"]){const h=l[p];h!=null&&((c=h.transition)!=null||(h.transition={}),h.transition[d]=f)}}return l}const o=B(()=>{const l=Ure({},a.value,r.value,e.variants||{});return i(ce({},l),e)});function s(l,u,c){var p,h;var d;(p=l.props)!=null||(l.props={}),(h=(d=l.props).style)!=null||(d.style={}),l.props.style=ce(ce({},l.props.style),c);const f=i($k(o.value),l.props);return l.props.onVnodeMounted=({el:m})=>{t[u]=Rae(m,f)},l.props.onVnodeUpdated=({el:m})=>{const g=rC(t[u].state);for(const[v,C]of Object.entries(g))m.style[v]=C},l}return{motionConfig:o,setNodeInstance:s}}const bnt=he({name:"Motion",props:Je(ce({},Nae),{is:{type:[String,Object],default:"div"}}),setup(e){const t=Ca(),{motionConfig:n,setNodeInstance:r}=$ae(e);return()=>{const a=rC(n.value.initial||{}),i=V(e.is,void 0,t);return r(i,0,a),i}}}),Fnt=he({name:"MotionGroup",props:Je(ce({},Nae),{is:{type:[String,Object],required:!1}}),setup(e){const t=Ca(),{motionConfig:n,setNodeInstance:r}=$ae(e);return()=>{var o;const a=rC(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let s=0;s
'};n.configure=function(h){var m,g;for(m in h)g=h[m],g!==void 0&&h.hasOwnProperty(m)&&(r[m]=g);return this},n.status=null,n.set=function(h){var m=n.isStarted();h=a(h,r.minimum,1),n.status=h===1?null:h;var g=n.render(!m),v=g.querySelector(r.barSelector),C=r.speed,b=r.easing;return g.offsetWidth,s(function(F){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(v,o(h,C,b)),h===1?(l(g,{transition:"none",opacity:1}),g.offsetWidth,setTimeout(function(){l(g,{transition:"all "+C+"ms linear",opacity:0}),setTimeout(function(){n.remove(),F()},C)},C)):setTimeout(F,C)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var h=function(){setTimeout(function(){n.status&&(n.trickle(),h())},r.trickleSpeed)};return r.trickle&&h(),this},n.done=function(h){return!h&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(h){var m=n.status;return m?(typeof h!="number"&&(h=(1-m)*a(Math.random()*m,.1,.95)),m=a(m+h,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var h=0,m=0;n.promise=function(g){return!g||g.state()==="resolved"?this:(m===0&&n.start(),h++,m++,g.always(function(){m--,m===0?(h=0,n.done()):n.set((h-m)/h)}),this)}}(),n.render=function(h){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=r.template;var g=m.querySelector(r.barSelector),v=h?"-100":i(n.status||0),C=document.querySelector(r.parent),b;return l(g,{transition:"all 0 linear",transform:"translate3d("+v+"%,0,0)"}),r.showSpinner||(b=m.querySelector(r.spinnerSelector),b&&p(b)),C!=document.body&&c(C,"nprogress-custom-parent"),C.appendChild(m),m},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var h=document.getElementById("nprogress");h&&p(h)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var h=document.body.style,m="WebkitTransform"in h?"Webkit":"MozTransform"in h?"Moz":"msTransform"in h?"ms":"OTransform"in h?"O":"";return m+"Perspective"in h?"translate3d":m+"Transform"in h?"translate":"margin"};function a(h,m,g){return hg?g:h}function i(h){return(-1+h)*100}function o(h,m,g){var v;return r.positionUsing==="translate3d"?v={transform:"translate3d("+i(h)+"%,0,0)"}:r.positionUsing==="translate"?v={transform:"translate("+i(h)+"%,0)"}:v={"margin-left":i(h)+"%"},v.transition="all "+m+"ms "+g,v}var s=function(){var h=[];function m(){var g=h.shift();g&&g(m)}return function(g){h.push(g),h.length==1&&m()}}(),l=function(){var h=["Webkit","O","Moz","ms"],m={};function g(F){return F.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(w,E){return E.toUpperCase()})}function v(F){var w=document.body.style;if(F in w)return F;for(var E=h.length,S=F.charAt(0).toUpperCase()+F.slice(1),D;E--;)if(D=h[E]+S,D in w)return D;return F}function C(F){return F=g(F),m[F]||(m[F]=v(F))}function b(F,w,E){w=C(w),F.style[w]=E}return function(F,w){var E=arguments,S,D;if(E.length==2)for(S in w)D=w[S],D!==void 0&&w.hasOwnProperty(S)&&b(F,S,D);else b(F,E[1],E[2])}}();function u(h,m){var g=typeof h=="string"?h:f(h);return g.indexOf(" "+m+" ")>=0}function c(h,m){var g=f(h),v=g+m;u(g,m)||(h.className=v.substring(1))}function d(h,m){var g=f(h),v;u(h,m)&&(v=g.replace(" "+m+" "," "),h.className=v.substring(1,v.length-1))}function f(h){return(" "+(h.className||"")+" ").replace(/\s+/gi," ")}function p(h){h&&h.parentNode&&h.parentNode.removeChild(h)}return n})})($re);var aQe=$re.exports;const _h=Kl(aQe);_h.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const iQe={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:rQe.stringify}},Na=class Na{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(t){return new Promise(n=>{Na.requests.push(r=>{t.headers.Authorization=zw(r),n(t)})})}httpInterceptorsRequest(){Na.axiosInstance.interceptors.request.use(t=>Qt(this,null,function*(){return _h.start(),typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(t),t):Na.initConfig.beforeRequestCallback?(Na.initConfig.beforeRequestCallback(t),t):["/refresh-token","/login"].some(r=>t.url.endsWith(r))?t:new Promise(r=>{const a=yQe();if(a){const i=new Date().getTime();parseInt(a.expires)-i<=0?(Na.isRefreshing||(Na.isRefreshing=!0,Hd().handRefreshToken({refreshToken:a.refreshToken}).then(s=>{const l=s.data.accessToken;t.headers.Authorization=zw(l),Na.requests.forEach(u=>u(l)),Na.requests=[]}).finally(()=>{Na.isRefreshing=!1})),r(Na.retryOriginalRequest(t))):(t.headers.Authorization=zw(a.accessToken),r(t))}else r(t)})}),t=>Promise.reject(t))}httpInterceptorsResponse(){Na.axiosInstance.interceptors.response.use(n=>{const r=n.config;return _h.done(),typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(Na.initConfig.beforeResponseCallback&&Na.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return r.isCancelRequest=xa.isCancel(r),_h.done(),Promise.reject(r)})}request(t,n,r,a){const i=ce(ce({method:t,url:n},r),a);return new Promise((o,s)=>{Na.axiosInstance.request(i).then(l=>{o(l)}).catch(l=>{s(l)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};_m(Na,"requests",[]),_m(Na,"isRefreshing",!1),_m(Na,"initConfig",{}),_m(Na,"axiosInstance",xa.create(iQe));let kk=Na;const Zb=new kk,OV=()=>Zb.request("get","/get-async-routes"),oQe=()=>Ie(()=>import("./frame-BpDq38R9.js"),__vite__mapDeps([41,42])),RV=Object.assign({"/src/views/able/barcode.vue":()=>Ie(()=>import("./barcode-ydv2t1dY.js"),[]),"/src/views/able/danmaku/index.vue":()=>Ie(()=>import("./index-DVr1E8Yp.js"),__vite__mapDeps([28,29])),"/src/views/able/debounce.vue":()=>Ie(()=>import("./debounce-OJlUUJ2j.js"),[]),"/src/views/able/directives.vue":()=>Ie(()=>import("./directives-BMXUr4UF.js"),[]),"/src/views/able/download.vue":()=>Ie(()=>import("./download-KCRd0w4h.js"),[]),"/src/views/able/draggable.vue":()=>Ie(()=>import("./draggable-BLR7jlvm.js"),__vite__mapDeps([10,11,12,13])),"/src/views/able/excel.vue":()=>Ie(()=>import("./excel-CiD4ZMqP.js"),__vite__mapDeps([8,9])),"/src/views/able/infinite-scroll.vue":()=>Ie(()=>import("./infinite-scroll-B4JZwzTw.js"),[]),"/src/views/able/line-tree.vue":()=>Ie(()=>import("./line-tree-gAfxUp_2.js"),__vite__mapDeps([31,32])),"/src/views/able/map.vue":()=>Ie(()=>import("./map-CdwSNwdy.js"),__vite__mapDeps([19,20,21])),"/src/views/able/menu-tree.vue":()=>Ie(()=>import("./menu-tree-CyTBjPoy.js"),__vite__mapDeps([30,23])),"/src/views/able/mqtt-client.vue":()=>Ie(()=>import("./mqtt-client-TFerwYCu.js"),__vite__mapDeps([0,1])),"/src/views/able/pdf.vue":()=>Ie(()=>import("./pdf-Bt1PNxHS.js"),[]),"/src/views/able/pinyin.vue":()=>Ie(()=>import("./pinyin-CsBTiQiT.js"),__vite__mapDeps([35,36,37])),"/src/views/able/print/index.vue":()=>Ie(()=>import("./index-BCqTdNcB.js"),__vite__mapDeps([4,5,6,7])),"/src/views/able/print/pieChart.vue":()=>Ie(()=>import("./pieChart-0Io2ilTJ.js"),__vite__mapDeps([270,6])),"/src/views/able/qrcode.vue":()=>Ie(()=>import("./qrcode-fJM1M5e8.js"),__vite__mapDeps([14,15,16,17,18])),"/src/views/able/ripple.vue":()=>Ie(()=>import("./ripple-1s0SWwPl.js"),[]),"/src/views/able/sensitive.vue":()=>Ie(()=>import("./sensitive-CbFFJvov.js"),[]),"/src/views/able/typeit.vue":()=>Ie(()=>import("./typeit-DFUJjnsp.js"),__vite__mapDeps([33,34])),"/src/views/able/verify.vue":()=>Ie(()=>import("./verify-BXiTPTCu.js"),__vite__mapDeps([2,3])),"/src/views/able/video-frame/index.vue":()=>Ie(()=>import("./index-NvLp9pvb.js"),__vite__mapDeps([25,26,27])),"/src/views/able/video.vue":()=>Ie(()=>import("./video-DC6M4URL.js"),__vite__mapDeps([22,23,24])),"/src/views/able/watermark.vue":()=>Ie(()=>import("./watermark-BvyKDRG4.js"),[]),"/src/views/able/wavesurfer/index.vue":()=>Ie(()=>import("./index-C9KalBp9.js"),[]),"/src/views/about/columns.tsx":()=>Ie(()=>import("./columns-Djzxeu8D.js"),[]),"/src/views/about/index.vue":()=>Ie(()=>import("./index-CZVgWSCU.js"),__vite__mapDeps([38,39,40])),"/src/views/account-settings/components/AccountManagement.vue":()=>Ie(()=>import("./AccountManagement-DJvVwQr-.js"),__vite__mapDeps([271,272])),"/src/views/account-settings/components/Preferences.vue":()=>Ie(()=>import("./Preferences-rKooaX3X.js"),__vite__mapDeps([273,274])),"/src/views/account-settings/components/Profile.vue":()=>Ie(()=>import("./Profile-Cl0Cjac9.js"),__vite__mapDeps([275,276,20,277,67,68,278])),"/src/views/account-settings/components/SecurityLog.vue":()=>Ie(()=>import("./SecurityLog-C-O1R22k.js"),__vite__mapDeps([279,280])),"/src/views/account-settings/index.vue":()=>Ie(()=>import("./index-DeOjFkOE.js"),__vite__mapDeps([281,75,276,20,277,67,68,278,273,274,280,271,272,161,12,160,157,282])),"/src/views/components/animatecss.vue":()=>Ie(()=>import("./animatecss-BGKYo2U4.js"),__vite__mapDeps([63,64,65])),"/src/views/components/button.vue":()=>Ie(()=>import("./button-BjJ23hpw.js"),[]),"/src/views/components/cascader.vue":()=>Ie(()=>import("./cascader-x3QK8kzL.js"),[]),"/src/views/components/check-button.vue":()=>Ie(()=>import("./check-button-DaLd9Dyq.js"),__vite__mapDeps([79,80])),"/src/views/components/check-card.vue":()=>Ie(()=>import("./check-card-C4WEypSk.js"),__vite__mapDeps([55,56,57,58])),"/src/views/components/collapse.vue":()=>Ie(()=>import("./collapse-DuDhsmTC.js"),[]),"/src/views/components/color-picker.vue":()=>Ie(()=>import("./color-picker-7IPesrMH.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>Ie(()=>import("./basic-bI2BOlqM.js"),__vite__mapDeps([106,107,108])),"/src/views/components/contextmenu/index.vue":()=>Ie(()=>import("./index-DI3zfSsa.js"),__vite__mapDeps([105,106,107,108,109,110,111,112,113])),"/src/views/components/contextmenu/menuDynamic.vue":()=>Ie(()=>import("./menuDynamic-TXnfFl_k.js"),__vite__mapDeps([111,107,112])),"/src/views/components/contextmenu/menuGroup.vue":()=>Ie(()=>import("./menuGroup-F6qhjyI_.js"),__vite__mapDeps([109,107,110])),"/src/views/components/count-to.vue":()=>Ie(()=>import("./count-to-lA2fZpve.js"),__vite__mapDeps([102,103,16,104])),"/src/views/components/cropping/index.vue":()=>Ie(()=>import("./index-DSKh-n_9.js"),__vite__mapDeps([66,67,68])),"/src/views/components/date-picker.vue":()=>Ie(()=>import("./date-picker-BRTOdTA9.js"),__vite__mapDeps([59,23,60])),"/src/views/components/datetime-picker.vue":()=>Ie(()=>import("./datetime-picker-BEDxUgIT.js"),__vite__mapDeps([61,62])),"/src/views/components/dialog/form.vue":()=>Ie(()=>import("./form-D_LKnimC.js"),__vite__mapDeps([283,45])),"/src/views/components/dialog/formPrimitive.vue":()=>Ie(()=>import("./formPrimitive-OpV8hymT.js"),__vite__mapDeps([284,44])),"/src/views/components/dialog/index.vue":()=>Ie(()=>import("./index-BTthmtX0.js"),__vite__mapDeps([43,44,45])),"/src/views/components/drawer/form.vue":()=>Ie(()=>import("./form-BShU2orT.js"),__vite__mapDeps([285,48])),"/src/views/components/drawer/formPrimitive.vue":()=>Ie(()=>import("./formPrimitive-CXS4BHOR.js"),__vite__mapDeps([286,47])),"/src/views/components/drawer/index.vue":()=>Ie(()=>import("./index-DwURU8VY.js"),__vite__mapDeps([46,47,48])),"/src/views/components/el-button.vue":()=>Ie(()=>import("./el-button-DkSyg_LT.js"),__vite__mapDeps([77,23,78])),"/src/views/components/icon-select.vue":()=>Ie(()=>import("./icon-select-CJekISoV.js"),[]),"/src/views/components/json-editor.vue":()=>Ie(()=>import("./json-editor-C8NOolfy.js"),__vite__mapDeps([114,115,116])),"/src/views/components/message.vue":()=>Ie(()=>import("./message-DWBWequf.js"),__vite__mapDeps([49,23,50])),"/src/views/components/progress.vue":()=>Ie(()=>import("./progress-D8PJE17d.js"),__vite__mapDeps([81,23,82])),"/src/views/components/seamless-scroll.vue":()=>Ie(()=>import("./seamless-scroll-nP7lTgUi.js"),__vite__mapDeps([117,118])),"/src/views/components/segmented.vue":()=>Ie(()=>import("./segmented-BgwT3_es.js"),__vite__mapDeps([69,70,23,71,72,73])),"/src/views/components/selector.vue":()=>Ie(()=>import("./selector-iwe3VwKC.js"),__vite__mapDeps([88,89])),"/src/views/components/split-pane.vue":()=>Ie(()=>import("./split-pane-Diaam1l2.js"),__vite__mapDeps([93,94])),"/src/views/components/statistic.vue":()=>Ie(()=>import("./statistic-Bh3Ln084.js"),__vite__mapDeps([85,86,87])),"/src/views/components/swiper.vue":()=>Ie(()=>import("./swiper-Dw8CtEFy.js"),__vite__mapDeps([95,96])),"/src/views/components/tag.vue":()=>Ie(()=>import("./tag-BUDz_XzN.js"),__vite__mapDeps([83,84])),"/src/views/components/text.vue":()=>Ie(()=>import("./text-BqQO_WKY.js"),__vite__mapDeps([74,75,76])),"/src/views/components/time-picker.vue":()=>Ie(()=>import("./time-picker-Df3_tZ2C.js"),[]),"/src/views/components/timeline.vue":()=>Ie(()=>import("./timeline-qDHWEr6H.js"),__vite__mapDeps([97,98,99,23,100,101])),"/src/views/components/upload/form.vue":()=>Ie(()=>import("./form-Bb99bg-g.js"),__vite__mapDeps([287,52,20])),"/src/views/components/upload/index.vue":()=>Ie(()=>import("./index-DGi8l-e5.js"),__vite__mapDeps([51,11,52,20,53,54])),"/src/views/components/virtual-list/horizontal.vue":()=>Ie(()=>import("./horizontal-D8lO_Mmt.js"),__vite__mapDeps([123,121,124])),"/src/views/components/virtual-list/index.vue":()=>Ie(()=>import("./index-Cea6h9xr.js"),__vite__mapDeps([119,120,121,122,123,124,125])),"/src/views/components/virtual-list/vertical.vue":()=>Ie(()=>import("./vertical-BspLGo6R.js"),__vite__mapDeps([120,121,122])),"/src/views/components/waterfall/index.vue":()=>Ie(()=>import("./index-CssYx8_7.js"),__vite__mapDeps([90,91,92])),"/src/views/editor/components/EditorBase.vue":()=>Ie(()=>import("./EditorBase-CT536XJv.js"),__vite__mapDeps([288,127,128,129])),"/src/views/editor/components/EditorMulti.vue":()=>Ie(()=>import("./EditorMulti-CpGLZWXu.js"),__vite__mapDeps([289,130,86,128,129])),"/src/views/editor/components/EditorUpload.vue":()=>Ie(()=>import("./EditorUpload-C5nJPFyO.js"),__vite__mapDeps([290,131,128,129])),"/src/views/editor/index.vue":()=>Ie(()=>import("./index-BXZN_yAk.js"),__vite__mapDeps([126,127,128,129,130,86,131,132])),"/src/views/empty/index.vue":()=>Ie(()=>import("./index-DBfZyh5_.js"),__vite__mapDeps([291,292])),"/src/views/error/403.vue":()=>Ie(()=>import("./403-CEBOLY3D.js"),[]),"/src/views/error/404.vue":()=>Ie(()=>import("./404-qHu2bR-X.js"),[]),"/src/views/error/500.vue":()=>Ie(()=>import("./500-BKcgy8qk.js"),[]),"/src/views/flow-chart/index.vue":()=>Ie(()=>import("./index-Bap_hJ3C.js"),__vite__mapDeps([133,134,115,116,135])),"/src/views/ganttastic/index.vue":()=>Ie(()=>import("./index-4X8uUmkC.js"),[]),"/src/views/guide/index.vue":()=>Ie(()=>import("./index-BM6vP2IY.js"),__vite__mapDeps([151,152])),"/src/views/list/card/components/ListCard.vue":()=>Ie(()=>import("./ListCard-C--d7u8w.js"),__vite__mapDeps([173,174,175])),"/src/views/list/card/components/ListDialogForm.vue":()=>Ie(()=>import("./ListDialogForm-DKEDYC5Q.js"),__vite__mapDeps([293,176])),"/src/views/list/card/index.vue":()=>Ie(()=>import("./index-CD3UP9H1.js"),__vite__mapDeps([172,173,174,175,176,23,177])),"/src/views/login/components/LoginPhone.vue":()=>Ie(()=>import("./LoginPhone-DGF7XC5M.js"),__vite__mapDeps([294,295,296,297,23,100])),"/src/views/login/components/LoginQrCode.vue":()=>Ie(()=>import("./LoginQrCode-DkSLofHI.js"),__vite__mapDeps([298,299,296,15,16,17,18])),"/src/views/login/components/LoginRegist.vue":()=>Ie(()=>import("./LoginRegist-uCwwpuNT.js"),__vite__mapDeps([300,301,296,297,23,302,100])),"/src/views/login/components/LoginUpdate.vue":()=>Ie(()=>import("./LoginUpdate-Ciln_Ad_.js"),__vite__mapDeps([303,304,296,297,23,302,100])),"/src/views/login/index.vue":()=>Ie(()=>import("./index-BokGuoha.js"),__vite__mapDeps([305,296,297,34,158,26,159,12,160,161,295,23,100,301,302,304,299,15,16,17,18,50,306])),"/src/views/menuoverflow/index.vue":()=>Ie(()=>import("./index-CgcU9_BG.js"),[]),"/src/views/monitor/logs/login/hook.tsx":()=>Ie(()=>import("./hook-CoPdYjap.js"),__vite__mapDeps([307,308,309])),"/src/views/monitor/logs/login/index.vue":()=>Ie(()=>import("./index-CeIUEiQe.js"),__vite__mapDeps([310,307,308,309,311,312,11,160,258,23,246,313])),"/src/views/monitor/logs/operation/hook.tsx":()=>Ie(()=>import("./hook-3sUn2oql.js"),__vite__mapDeps([314,308,309])),"/src/views/monitor/logs/operation/index.vue":()=>Ie(()=>import("./index-a8zx5bys.js"),__vite__mapDeps([315,314,308,309,311,312,11,160,258,23,246,316])),"/src/views/monitor/logs/system/detail.vue":()=>Ie(()=>import("./detail-Asp0aJQV.js"),__vite__mapDeps([317,318,115,116])),"/src/views/monitor/logs/system/hook.tsx":()=>Ie(()=>import("./hook-CBcnYByc.js"),__vite__mapDeps([319,318,115,116,308])),"/src/views/monitor/logs/system/index.vue":()=>Ie(()=>import("./index-BxWaCh97.js"),__vite__mapDeps([320,319,318,115,116,308,311,312,11,160,258,23,246,321])),"/src/views/monitor/online/hook.tsx":()=>Ie(()=>import("./hook-vIEwZE0X.js"),__vite__mapDeps([322,308])),"/src/views/monitor/online/index.vue":()=>Ie(()=>import("./index-B7g2O0Fv.js"),__vite__mapDeps([323,322,308,312,11,160,258,23,324])),"/src/views/nested/menu1/menu1-1/index.vue":()=>Ie(()=>import("./index-CyDTEcqw.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>Ie(()=>import("./index-O4BPhhbm.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>Ie(()=>import("./index-DmA6MiC1.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>Ie(()=>import("./index-CoVdZL4w.js"),[]),"/src/views/nested/menu2/index.vue":()=>Ie(()=>import("./index-CrSA5P40.js"),[]),"/src/views/permission/button/index.vue":()=>Ie(()=>import("./index-BIntu8lU.js"),[]),"/src/views/permission/button/perms.vue":()=>Ie(()=>import("./perms-BIrkgh-O.js"),[]),"/src/views/permission/page/index.vue":()=>Ie(()=>import("./index-Bah6OOSX.js"),[]),"/src/views/result/columns.tsx":()=>Ie(()=>import("./columns-CrHQyfdd.js"),__vite__mapDeps([181,162])),"/src/views/result/fail.vue":()=>Ie(()=>import("./fail-btWwJM1S.js"),__vite__mapDeps([180,181,162,182])),"/src/views/result/success.vue":()=>Ie(()=>import("./success-BxgXRkdD.js"),__vite__mapDeps([178,179])),"/src/views/schema-form/form/base.vue":()=>Ie(()=>import("./base-C5EgVQI3.js"),__vite__mapDeps([325,138,56,57,139,140])),"/src/views/schema-form/form/dialog.vue":()=>Ie(()=>import("./dialog-CMu208yW.js"),__vite__mapDeps([326,141,56,57,139,140,142,143])),"/src/views/schema-form/form/drawer.vue":()=>Ie(()=>import("./drawer-ChIxO17M.js"),__vite__mapDeps([327,144,56,57,139,140,145,143])),"/src/views/schema-form/form/search.vue":()=>Ie(()=>import("./search-C-PWU2BD.js"),__vite__mapDeps([328,148,56,57,139,140,134,149])),"/src/views/schema-form/form/steps.vue":()=>Ie(()=>import("./steps-CrFT7lNO.js"),__vite__mapDeps([329,146,56,57,139,140,147])),"/src/views/schema-form/index.vue":()=>Ie(()=>import("./index-H9OgFLj4.js"),__vite__mapDeps([136,137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149,150])),"/src/views/schema-form/list.tsx":()=>Ie(()=>import("./list-CE6GPu7k.js"),__vite__mapDeps([137,138,56,57,139,140,141,142,143,144,145,146,147,148,134,149])),"/src/views/system/dept/form.vue":()=>Ie(()=>import("./form-Dhpu2FGq.js"),__vite__mapDeps([330,331,86,309])),"/src/views/system/dept/index.vue":()=>Ie(()=>import("./index-BMnmlGIy.js"),__vite__mapDeps([332,333,331,86,309,308,312,11,160,258,23,246,252,177,334])),"/src/views/system/dept/utils/hook.tsx":()=>Ie(()=>import("./hook-LUmTCl-r.js"),__vite__mapDeps([333,331,86,309,308])),"/src/views/system/menu/form.vue":()=>Ie(()=>import("./form-D0kUWXiv.js"),__vite__mapDeps([335,336,86,71,23,72,64,65])),"/src/views/system/menu/index.vue":()=>Ie(()=>import("./index-DICHdd3y.js"),__vite__mapDeps([337,338,336,86,71,23,72,64,65,308,312,11,160,258,246,252,177,339])),"/src/views/system/menu/utils/hook.tsx":()=>Ie(()=>import("./hook-DUP9kbD9.js"),__vite__mapDeps([338,336,86,71,23,72,64,65,308])),"/src/views/system/role/form.vue":()=>Ie(()=>import("./form-MKfzIl9-.js"),__vite__mapDeps([340,341])),"/src/views/system/role/index.vue":()=>Ie(()=>import("./index-CaY-QzZ2.js"),__vite__mapDeps([342,343,341,309,308,312,11,160,258,23,246,252,154,177,50,344])),"/src/views/system/role/utils/hook.tsx":()=>Ie(()=>import("./hook-BL8N91Xt.js"),__vite__mapDeps([343,341,309,308])),"/src/views/system/user/form/index.vue":()=>Ie(()=>import("./index-nESnaIA_.js"),__vite__mapDeps([345,346,86,309])),"/src/views/system/user/form/role.vue":()=>Ie(()=>import("./role-DBHpMvmE.js"),__vite__mapDeps([347,348,86])),"/src/views/system/user/index.vue":()=>Ie(()=>import("./index-CkId8F2B.js"),__vite__mapDeps([349,350,23,155,174,351,352,348,86,346,309,159,277,67,68,308,353,312,11,160,258,278,156,246,252,177,354])),"/src/views/system/user/tree.vue":()=>Ie(()=>import("./tree-DWzH8n2D.js"),__vite__mapDeps([350,23,155,174,351])),"/src/views/system/user/utils/hook.tsx":()=>Ie(()=>import("./hook-BsG9z_pb.js"),__vite__mapDeps([352,348,86,346,309,159,277,67,68,308,353])),"/src/views/table/base/base.vue":()=>Ie(()=>import("./base-WujxiGfu.js"),__vite__mapDeps([355,185,186])),"/src/views/table/base/border.vue":()=>Ie(()=>import("./border-DUE8HD_H.js"),__vite__mapDeps([356,188,186])),"/src/views/table/base/column-template/columns.tsx":()=>Ie(()=>import("./columns-CgHMBxUf.js"),__vite__mapDeps([200,186])),"/src/views/table/base/column-template/index.vue":()=>Ie(()=>import("./index-CJL7jaU-.js"),__vite__mapDeps([357,199,200,186])),"/src/views/table/base/customIndex.vue":()=>Ie(()=>import("./customIndex-CQR72Os_.js"),__vite__mapDeps([358,207,186])),"/src/views/table/base/expand.vue":()=>Ie(()=>import("./expand-gnxJLXYZ.js"),__vite__mapDeps([359,203,186])),"/src/views/table/base/filters.vue":()=>Ie(()=>import("./filters-BhimNzKN.js"),__vite__mapDeps([360,198])),"/src/views/table/base/fixColumn.vue":()=>Ie(()=>import("./fixColumn-Q0eGY8g5.js"),__vite__mapDeps([361,192,186])),"/src/views/table/base/fixHeader.vue":()=>Ie(()=>import("./fixHeader-BjiMgOIO.js"),__vite__mapDeps([362,191,186])),"/src/views/table/base/fluidHeight.vue":()=>Ie(()=>import("./fluidHeight-BZ-EVC11.js"),__vite__mapDeps([363,193,186])),"/src/views/table/base/groupHeader.vue":()=>Ie(()=>import("./groupHeader-Cuw_FDBW.js"),__vite__mapDeps([364,194,186])),"/src/views/table/base/header-renderer/columns.tsx":()=>Ie(()=>import("./columns-pDchs0BE.js"),__vite__mapDeps([202,186])),"/src/views/table/base/header-renderer/index.vue":()=>Ie(()=>import("./index-Dt1qAIvV.js"),__vite__mapDeps([365,201,202,186])),"/src/views/table/base/imgPreview.vue":()=>Ie(()=>import("./imgPreview-BeFZ7Gue.js"),__vite__mapDeps([366,210,186])),"/src/views/table/base/layout.vue":()=>Ie(()=>import("./layout-BpWeLEeQ.js"),__vite__mapDeps([367,208,186])),"/src/views/table/base/list.tsx":()=>Ie(()=>import("./list-Cgg6ByBQ.js"),__vite__mapDeps([184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210])),"/src/views/table/base/merge.vue":()=>Ie(()=>import("./merge-jTCKdeqf.js"),__vite__mapDeps([368,206])),"/src/views/table/base/multipleChoice.vue":()=>Ie(()=>import("./multipleChoice-ClQO8eMV.js"),__vite__mapDeps([369,196,186])),"/src/views/table/base/nestProp.vue":()=>Ie(()=>import("./nestProp-DVFbT6d9.js"),__vite__mapDeps([370,209])),"/src/views/table/base/radio.vue":()=>Ie(()=>import("./radio-CALWhvrN.js"),__vite__mapDeps([371,195,186])),"/src/views/table/base/sortable.vue":()=>Ie(()=>import("./sortable-CAy6GIRu.js"),__vite__mapDeps([372,197,186])),"/src/views/table/base/status.vue":()=>Ie(()=>import("./status-KHLCtGvN.js"),__vite__mapDeps([373,189,186,190])),"/src/views/table/base/stripe.vue":()=>Ie(()=>import("./stripe-HKZJvzJw.js"),__vite__mapDeps([374,187,186])),"/src/views/table/base/totalRow.vue":()=>Ie(()=>import("./totalRow-BPwTtUvb.js"),__vite__mapDeps([375,205])),"/src/views/table/base/tree.vue":()=>Ie(()=>import("./tree-gzmB_zti.js"),__vite__mapDeps([376,204])),"/src/views/table/edit.vue":()=>Ie(()=>import("./edit-BO0V0Szo.js"),__vite__mapDeps([241,242,243,244,245,23,53,246,247,248,249,250,251,252,50,253])),"/src/views/table/edit/demo1/columns.tsx":()=>Ie(()=>import("./columns-z4dZqzYq.js"),__vite__mapDeps([244,245])),"/src/views/table/edit/demo1/index.vue":()=>Ie(()=>import("./index-B44tj9fy.js"),__vite__mapDeps([243,244,245,23,53,246,247])),"/src/views/table/edit/demo2/columns.tsx":()=>Ie(()=>import("./columns-DTyfIJ71.js"),__vite__mapDeps([249,245])),"/src/views/table/edit/demo2/index.vue":()=>Ie(()=>import("./index-BE_FhVpN.js"),__vite__mapDeps([377,248,249,245])),"/src/views/table/edit/demo3/columns.tsx":()=>Ie(()=>import("./columns-BWE-vVXR.js"),__vite__mapDeps([251,245,252,50])),"/src/views/table/edit/demo3/index.vue":()=>Ie(()=>import("./index-Ohhn1lTL.js"),__vite__mapDeps([378,250,251,245,252,50])),"/src/views/table/edit/list.tsx":()=>Ie(()=>import("./list-VPZJ20Sx.js"),__vite__mapDeps([242,243,244,245,23,53,246,247,248,249,250,251,252,50])),"/src/views/table/high.vue":()=>Ie(()=>import("./high-BojFCUXg.js"),__vite__mapDeps([212,213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239,240])),"/src/views/table/high/adaptive/columns.tsx":()=>Ie(()=>import("./columns-DPyYTQWT.js"),__vite__mapDeps([215,216])),"/src/views/table/high/adaptive/index.vue":()=>Ie(()=>import("./index-DMHy-rsy.js"),__vite__mapDeps([379,214,215,216])),"/src/views/table/high/contextmenu/columns.tsx":()=>Ie(()=>import("./columns-Du5B4AnY.js"),__vite__mapDeps([226,216])),"/src/views/table/high/contextmenu/index.vue":()=>Ie(()=>import("./index-BNinRoAM.js"),__vite__mapDeps([380,225,226,216])),"/src/views/table/high/drag/column/columns.tsx":()=>Ie(()=>import("./columns-Dvo-0eGO.js"),__vite__mapDeps([224,11,216])),"/src/views/table/high/drag/column/index.vue":()=>Ie(()=>import("./index-BD09Q0hb.js"),__vite__mapDeps([381,223,224,11,216])),"/src/views/table/high/drag/row/columns.tsx":()=>Ie(()=>import("./columns-D9x1xpmu.js"),__vite__mapDeps([222,11,216])),"/src/views/table/high/drag/row/index.vue":()=>Ie(()=>import("./index-BAbgAHvI.js"),__vite__mapDeps([382,221,222,11,216])),"/src/views/table/high/echarts/columns.tsx":()=>Ie(()=>import("./columns-Dh4byXvk.js"),__vite__mapDeps([234,216])),"/src/views/table/high/echarts/index.vue":()=>Ie(()=>import("./index-DuDD7RdW.js"),__vite__mapDeps([383,233,234,216])),"/src/views/table/high/excel/columns.tsx":()=>Ie(()=>import("./columns-FB2NJ8pL.js"),__vite__mapDeps([228,9,216])),"/src/views/table/high/excel/index.vue":()=>Ie(()=>import("./index-D-N1x-50.js"),__vite__mapDeps([384,227,228,9,216])),"/src/views/table/high/header/columns.tsx":()=>Ie(()=>import("./columns-ByNo9D3g.js"),__vite__mapDeps([220,216])),"/src/views/table/high/header/index.vue":()=>Ie(()=>import("./index-DmPCTGTm.js"),__vite__mapDeps([385,219,220,216])),"/src/views/table/high/list.tsx":()=>Ie(()=>import("./list-XaEhGcdh.js"),__vite__mapDeps([213,214,215,216,217,218,219,220,221,222,11,223,224,225,226,227,228,9,229,230,231,232,5,233,234,235,236,237,238,239])),"/src/views/table/high/page/columns.tsx":()=>Ie(()=>import("./columns-D6cChJAy.js"),__vite__mapDeps([218,216])),"/src/views/table/high/page/index.vue":()=>Ie(()=>import("./index-DvYOfRbw.js"),__vite__mapDeps([386,217,218,216])),"/src/views/table/high/prints/columns.tsx":()=>Ie(()=>import("./columns-z1tHx2lb.js"),__vite__mapDeps([232,5,216])),"/src/views/table/high/prints/index.vue":()=>Ie(()=>import("./index-CDoAcQAy.js"),__vite__mapDeps([387,231,232,5,216])),"/src/views/table/high/table-select/index.vue":()=>Ie(()=>import("./index-Bv-fMfN7.js"),__vite__mapDeps([388,235,236,237,216,238,239])),"/src/views/table/high/table-select/multiple/columns.tsx":()=>Ie(()=>import("./columns-DjJFz-0d.js"),__vite__mapDeps([239,216])),"/src/views/table/high/table-select/multiple/index.vue":()=>Ie(()=>import("./index-DW02V-rA.js"),__vite__mapDeps([389,238,239,216])),"/src/views/table/high/table-select/radio/columns.tsx":()=>Ie(()=>import("./columns-BR0-Komp.js"),__vite__mapDeps([237,216])),"/src/views/table/high/table-select/radio/index.vue":()=>Ie(()=>import("./index-C2ZA2qBT.js"),__vite__mapDeps([390,236,237,216])),"/src/views/table/high/watermark/columns.tsx":()=>Ie(()=>import("./columns-BvShHYbm.js"),__vite__mapDeps([230,216])),"/src/views/table/high/watermark/index.vue":()=>Ie(()=>import("./index-0uauXpYW.js"),__vite__mapDeps([391,229,230,216])),"/src/views/table/index.vue":()=>Ie(()=>import("./index-BrPWhHJO.js"),__vite__mapDeps([183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211])),"/src/views/table/virtual.vue":()=>Ie(()=>import("./virtual-CXQsk3eH.js"),__vite__mapDeps([254,255,256,257,11,160,258,259,260,261])),"/src/views/table/virtual/list.tsx":()=>Ie(()=>import("./list-FSD6k58R.js"),__vite__mapDeps([255,256,257,11,160,258,259,260])),"/src/views/table/virtual/list.vue":()=>Ie(()=>import("./list-Dwz42MXn.js"),__vite__mapDeps([392,256,257,11,160,258])),"/src/views/table/virtual/pageList.vue":()=>Ie(()=>import("./pageList-DePqOq8E.js"),__vite__mapDeps([393,260,257,11,160,258])),"/src/views/table/virtual/treeList.vue":()=>Ie(()=>import("./treeList-Oao74f5G.js"),__vite__mapDeps([394,259,257,11,160,258])),"/src/views/tabs/index.vue":()=>Ie(()=>import("./index-SA0clldc.js"),__vite__mapDeps([395,396])),"/src/views/tabs/params-detail.vue":()=>Ie(()=>import("./params-detail-CFSxKTUx.js"),__vite__mapDeps([397,396])),"/src/views/tabs/query-detail.vue":()=>Ie(()=>import("./query-detail-DjQouZKG.js"),__vite__mapDeps([398,396])),"/src/views/vue-flow/layouting/animationEdge.vue":()=>Ie(()=>import("./animationEdge-CBc3d34U.js"),__vite__mapDeps([267,264,268])),"/src/views/vue-flow/layouting/icon.vue":()=>Ie(()=>import("./icon-CPzAth-j.js"),__vite__mapDeps([399,263])),"/src/views/vue-flow/layouting/index.vue":()=>Ie(()=>import("./index-XqLXsUZl.js"),__vite__mapDeps([262,263,1,264,265,266,267,268,269])),"/src/views/vue-flow/layouting/processNode.vue":()=>Ie(()=>import("./processNode-DfLkmtD7.js"),__vite__mapDeps([265,264,266])),"/src/views/welcome/components/charts/ChartBar.vue":()=>Ie(()=>import("./ChartBar-CEVK98Tr.js"),__vite__mapDeps([400,168])),"/src/views/welcome/components/charts/ChartLine.vue":()=>Ie(()=>import("./ChartLine-D3OHvydx.js"),__vite__mapDeps([401,169])),"/src/views/welcome/components/charts/ChartRound.vue":()=>Ie(()=>import("./ChartRound-Bd4PVLwz.js"),__vite__mapDeps([402,170])),"/src/views/welcome/components/table/columns.tsx":()=>Ie(()=>import("./columns-B-FkQK58.js").then(e=>e.a),[]),"/src/views/welcome/components/table/index.vue":()=>Ie(()=>import("./index-Dms5VVRE.js"),__vite__mapDeps([165,166,23,167])),"/src/views/welcome/index.vue":()=>Ie(()=>import("./index-B7bsA-lN.js"),__vite__mapDeps([164,86,165,166,23,167,103,16,104,98,99,168,169,170,71,72,171]))});function sQe(e){const{name:t,path:n,parentId:r,meta:a}=e;return _c(r)?!!(_c(a==null?void 0:a.rank)||(a==null?void 0:a.rank)===0&&t!=="Home"&&n!=="/"):!1}function Qb(e){return e.forEach((t,n)=>{sQe(t)&&(t.meta.rank=n+2)}),e.sort((t,n)=>(t==null?void 0:t.meta.rank)-(n==null?void 0:n.meta.rank))}function aB(e){const t=Tv(e).filter(n=>{var r;return((r=n.meta)==null?void 0:r.showLink)!==!1});return t.forEach(n=>n.children&&(n.children=aB(n.children))),t}function lQe(e){const t=Tv(e).filter(n=>{var r;return((r=n==null?void 0:n.children)==null?void 0:r.length)!==0});return t.forEach(n=>n.children&&(n.children=aB(n.children))),t}function Vre(e,t){return Array.isArray(e)&&Array.isArray(t)?mGe(e,t).length>0:!0}function Hre(e){var r,a;const t=(a=(r=pa().getItem(to))==null?void 0:r.roles)!=null?a:[],n=Tv(e).filter(i=>{var o;return Vre((o=i.meta)==null?void 0:o.roles,t)});return n.forEach(i=>i.children&&(i.children=Hre(i.children))),lQe(n)}function jMt(e,t,n="path"){function r(a,i,o){for(let s=0;sr.path==e);if(n)return iv(n)?Kn(n):n;for(let r=0;r0&&(n=zre(e,t[r].children),n))return iv(n)?Kn(n):n;return null}function uQe(){Da.hasRoute("pathMatch")||Da.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function Hw(e){e.length===0||Q6(Gre(e)).map(t=>{if(Da.options.routes[0].children.findIndex(n=>n.path===t.path)===-1){Da.options.routes[0].children.push(t),Qb(Da.options.routes[0].children),Da.hasRoute(t==null?void 0:t.name)||Da.addRoute(t);const n=Da.getRoutes().find(r=>r.path==="/");Da.addRoute(n)}}),Bs().handleWholeMenus(e),cf().getMultiTagsCache||cf().handleTags("equal",[...Y6,...Bs().flatteningRoutes.filter(t=>{var n;return(n=t==null?void 0:t.meta)==null?void 0:n.fixedTag})]),uQe()}function cQe(){var e;if((e=Eh())!=null&&e.CachingAsyncRoutes){const t="async-routes",n=pa().getItem(t);return n&&(n==null?void 0:n.length)>0?new Promise(r=>{Hw(n),r(Da)}):new Promise(r=>{OV().then(({data:a})=>{Hw(Tv(a)),pa().setItem(t,a),r(Da)})})}else return new Promise(t=>{OV().then(({data:n})=>{Hw(Tv(n)),t(Da)})})}function Q6(e){if(e.length===0)return e;let t=Z6(e);for(let n=0;n{var r;n.path==="/"?t.push({component:n.component,name:n.name,path:n.path,redirect:n.redirect,meta:n.meta,children:[]}):(r=t[0])==null||r.children.push(ce({},n))}),t}function PV({name:e},t){switch(t){case"add":Bs().cacheOperate({mode:"add",name:e});break;case"delete":Bs().cacheOperate({mode:"delete",name:e});break;case"refresh":Bs().cacheOperate({mode:"refresh",name:e});break;default:Bs().cacheOperate({mode:"delete",name:e}),Ub(()=>{Bs().cacheOperate({mode:"add",name:e})},100)}}function Gre(e){if(!e||!e.length)return;const t=Object.keys(RV);return e.forEach(n=>{var r;if(n.meta.backstage=!0,n!=null&&n.children&&n.children.length&&!n.redirect&&(n.redirect=n.children[0].path),n!=null&&n.children&&n.children.length&&!n.name&&(n.name=n.children[0].name+"Parent"),(r=n.meta)!=null&&r.frameSrc)n.component=oQe;else{const a=n!=null&&n.component?t.findIndex(i=>i.includes(n.component)):t.findIndex(i=>i.includes(n.path));n.component=RV[t[a]]}n!=null&&n.children&&n.children.length&&Gre(n.children)}),e}function dQe(e){const t=e.split(","),n=t[0],r=t[1];if(t.length===1){if(n==="hash")return X$("");if(n==="h5")return yk("")}else if(t.length===2){if(n==="hash")return X$(r);if(n==="h5")return yk(r)}}function fQe(){return Da.currentRoute.value.meta.auths}function jre(e){if(!e)return!1;const t=fQe();return t?!!(Kb(e)?t.includes(e):mne(e,t)):!1}function pQe(e){return e!=null&&e.children&&e.children.length>1?e.redirect?e.children.filter(t=>t.path===e.redirect)[0]:e.children[0]:e}function hQe(e=!1){var n;const t=pQe((n=Bs().wholeMenus[0])==null?void 0:n.children[0]);return e&&cf().handleTags("push",t),t}const mQe=e=>Zb.request("post","/login",{data:e}),vQe=e=>Zb.request("post","/refresh-token",{data:e}),KMt=e=>Zb.request("get","/mine",{data:e}),UMt=e=>Zb.request("get","/mine-logs",{data:e}),gQe=qM({id:"pure-user",state:()=>{var e,t,n,r,a,i,o,s,l,u;return{avatar:(t=(e=pa().getItem(to))==null?void 0:e.avatar)!=null?t:"",username:(r=(n=pa().getItem(to))==null?void 0:n.username)!=null?r:"",nickname:(i=(a=pa().getItem(to))==null?void 0:a.nickname)!=null?i:"",roles:(s=(o=pa().getItem(to))==null?void 0:o.roles)!=null?s:[],permissions:(u=(l=pa().getItem(to))==null?void 0:l.permissions)!=null?u:[],verifyCode:"",currentPage:0,isRemembered:!1,loginDay:7}},actions:{SET_AVATAR(e){this.avatar=e},SET_USERNAME(e){this.username=e},SET_NICKNAME(e){this.nickname=e},SET_ROLES(e){this.roles=e},SET_PERMS(e){this.permissions=e},SET_VERIFYCODE(e){this.verifyCode=e},SET_CURRENTPAGE(e){this.currentPage=e},SET_ISREMEMBERED(e){this.isRemembered=e},SET_LOGINDAY(e){this.loginDay=Number(e)},loginByUsername(e){return Qt(this,null,function*(){return new Promise((t,n)=>{mQe(e).then(r=>{r!=null&&r.success&&Ak(r.data),t(r)}).catch(r=>{n(r)})})})},logOut(){this.username="",this.roles=[],this.permissions=[],oB(),cf().handleTags("equal",[...Y6]),EQe(),Da.push("/login")},handRefreshToken(e){return Qt(this,null,function*(){return new Promise((t,n)=>{vQe(e).then(r=>{r&&(Ak(r.data),t(r))}).catch(r=>{n(r)})})})}}});function Hd(){return gQe(q6)}const to="user-info",H2="authorized-token",iB="multiple-tabs";function yQe(){return uf.get(H2)?JSON.parse(uf.get(H2)):pa().getItem(to)}function Ak(e){var l,u,c,d,f,p,h,m,g,v,C,b,F;let t=0;const{accessToken:n,refreshToken:r}=e,{isRemembered:a,loginDay:i}=Hd();t=new Date(e.expires).getTime();const o=JSON.stringify({accessToken:n,expires:t,refreshToken:r});t>0?uf.set(H2,o,{expires:(t-Date.now())/864e5}):uf.set(H2,o),uf.set(iB,"true",a?{expires:i}:{});function s({avatar:w,username:E,nickname:S,roles:D,permissions:_}){Hd().SET_AVATAR(w),Hd().SET_USERNAME(E),Hd().SET_NICKNAME(S),Hd().SET_ROLES(D),Hd().SET_PERMS(_),pa().setItem(to,{refreshToken:r,expires:t,avatar:w,username:E,nickname:S,roles:D,permissions:_})}if(e.username&&e.roles){const{username:w,roles:E}=e;s({avatar:(l=e==null?void 0:e.avatar)!=null?l:"",username:w,nickname:(u=e==null?void 0:e.nickname)!=null?u:"",roles:E,permissions:(c=e==null?void 0:e.permissions)!=null?c:[]})}else{const w=(f=(d=pa().getItem(to))==null?void 0:d.avatar)!=null?f:"",E=(h=(p=pa().getItem(to))==null?void 0:p.username)!=null?h:"",S=(g=(m=pa().getItem(to))==null?void 0:m.nickname)!=null?g:"",D=(C=(v=pa().getItem(to))==null?void 0:v.roles)!=null?C:[],_=(F=(b=pa().getItem(to))==null?void 0:b.permissions)!=null?F:[];s({avatar:w,username:E,nickname:S,roles:D,permissions:_})}}function oB(){uf.remove(H2),uf.remove(iB),pa().removeItem(to)}const zw=e=>"Bearer "+e,Kre=e=>{if(!e)return!1;const t="*:*:*",{permissions:n}=Hd();return n?n.length===1&&n[0]===t?!0:!!(Kb(e)?n.includes(e):mne(e,n)):!1};(function(){const e=hGe(location.href),t=["username","roles","accessToken"],n=t.length;if(Object.keys(e).length!==n)return;let r=[],a=0;for(;aIe(()=>import("./index-C8C4lqsr.js"),__vite__mapDeps([153,154,70,155,156,157,158,26,159,12,160,161,17,162,36,23,11,50,91,71,72,75,163])),zF=[{path:"/login",name:"Login",component:()=>Ie(()=>import("./index-BokGuoha.js"),__vite__mapDeps([305,296,297,34,158,26,159,12,160,161,295,23,100,301,302,304,299,15,16,17,18,50,306])),meta:{title:Tt("menus.pureLogin"),showLink:!1,rank:101}},{path:"/redirect",component:bQe,meta:{title:Tt("status.pureLoad"),showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>Ie(()=>import("./redirect-CaiA3hw6.js"),[])}]},{path:"/empty",name:"Empty",component:()=>Ie(()=>import("./index-DBfZyh5_.js"),__vite__mapDeps([291,292])),meta:{title:Tt("menus.pureEmpty"),showLink:!1,rank:103}},{path:"/account-settings",name:"AccountSettings",component:()=>Ie(()=>import("./index-DeOjFkOE.js"),__vite__mapDeps([281,75,276,20,277,67,68,278,273,274,280,271,272,161,12,160,157,282])),meta:{title:Tt("buttons.pureAccountSettings"),showLink:!1,rank:104}}],FQe={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},IV=Object.assign({"./modules/able.ts":Mqe,"./modules/about.ts":Lqe,"./modules/board.ts":Pqe,"./modules/components.ts":Nqe,"./modules/editor.ts":Vqe,"./modules/error.ts":zqe,"./modules/flowchart.ts":Gqe,"./modules/form.ts":Kqe,"./modules/formdesign.ts":Yqe,"./modules/ganttastic.ts":Xqe,"./modules/guide.ts":Qqe,"./modules/home.ts":aYe,"./modules/list.ts":oYe,"./modules/menuoverflow.ts":lYe,"./modules/mind.ts":dYe,"./modules/nested.ts":pYe,"./modules/ppt.ts":vYe,"./modules/result.ts":yYe,"./modules/table.ts":FYe,"./modules/vueflow.ts":wYe}),eC=[];Object.keys(IV).forEach(e=>{eC.push(IV[e].default)});const CQe=Wre(Q6(Z6(Qb(eC.flat(1/0))))),wQe=Qb(eC.flat(1/0)).concat(...zF),qMt=Object.keys(zF).map(e=>zF[e].path),Da=BJe({history:dQe("hash"),routes:CQe.concat(...zF),strict:!0,scrollBehavior(e,t,n){return new Promise(r=>{if(n)return n;if(t.meta.saveSrollTop){const a=document.documentElement.scrollTop||document.body.scrollTop;r({left:0,top:a})}})}});function EQe(){Da.getRoutes().forEach(e=>{const{name:t,meta:n}=e;t&&Da.hasRoute(t)&&(n!=null&&n.backstage)&&(Da.removeRoute(t),Da.options.routes=Wre(Q6(Z6(Qb(eC.flat(1/0))))))}),Bs().clearAllCachePage()}const NV=["/login"],{VITE_HIDE_HOME:SQe}=FQe;Da.beforeEach((e,t,n)=>{var o,s,l;(o=e.meta)!=null&&o.keepAlive&&(PV(e,"add"),(t.name===void 0||t.name==="Redirect")&&PV(e));const r=pa().getItem(to);_h.start();const a=LM(e==null?void 0:e.name);a||e.matched.some(u=>{if(!u.meta.title)return"";const c=Eh().Title;c?document.title=`${W$(u.meta.title)} | ${c}`:document.title=W$(u.meta.title)});function i(){NV.includes(e.fullPath)?n(t.fullPath):n()}uf.get(iB)&&r?((s=e.meta)!=null&&s.roles&&!Vre((l=e.meta)==null?void 0:l.roles,r==null?void 0:r.roles)&&n({path:"/error/403"}),SQe==="true"&&e.fullPath==="/welcome"&&n({path:"/error/404"}),t!=null&&t.name?a?(dne(e==null?void 0:e.name),_h.done()):i():(Bs().wholeMenus.length===0&&e.path!=="/login"&&cQe().then(u=>{var c,d;if(!cf().getMultiTagsCache){const{path:f}=e,p=zre(f,u.options.routes[0].children);if(hQe(!0),p&&((c=p.meta)!=null&&c.title))if(_c(p.parentId)&&((d=p.meta)!=null&&d.backstage)){const{path:h,name:m,meta:g}=p.children[0];cf().handleTags("push",{path:h,name:m,meta:g})}else{const{path:h,name:m,meta:g}=p;cf().handleTags("push",{path:h,name:m,meta:g})}}_c(e.name)&&u.push(e.fullPath)}),i())):e.path!=="/login"?NV.indexOf(e.path)!==-1?n():(oB(),n({path:"/login"})):n()});Da.afterEach(()=>{_h.done()});function Ww(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function xk(e,t,n=".",r){if(!Ww(t))return xk(e,{},n,r);const a=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(a,i,o,n)||(Array.isArray(o)&&Array.isArray(a[i])?a[i]=[...o,...a[i]]:Ww(o)&&Ww(a[i])?a[i]=xk(o,a[i],(n?`${n}.`:"")+i.toString(),r):a[i]=o))}return a}function DQe(e){return(...t)=>t.reduce((n,r)=>xk(n,r,"",e),{})}const Ure=DQe();function qre(e){return a0()?(i0(e),!0):!1}function sB(e){return typeof e=="function"?e():y(e)}const _Qe=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const kQe=e=>e!=null,AQe=Object.prototype.toString,WF=e=>AQe.call(e)==="[object Object]",p8=()=>{};function xQe(e){return Kt()}function TQe(e,t){xQe()&&Lr(e,t)}function Ey(e){var t;const n=sB(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Yre=_Qe?window:void 0;function lu(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=Yre):[t,n,r,a]=e,!t)return p8;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),l=Ve(()=>[Ey(t),sB(a)],([c,d])=>{if(o(),!c)return;const f=WF(d)?ce({},d):d;i.push(...n.flatMap(p=>r.map(h=>s(c,p,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return qre(u),u}function MQe(){const e=j(!1),t=Kt();return t&&$t(()=>{e.value=!0},t),e}function BQe(e){const t=MQe();return B(()=>(t.value,!!e()))}function LQe(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=.1,window:o=Yre,immediate:s=!0}=n,l=BQe(()=>o&&"IntersectionObserver"in o),u=B(()=>{const h=sB(e);return(Array.isArray(h)?h:[h]).map(Ey).filter(kQe)});let c=p8;const d=j(s),f=l.value?Ve(()=>[u.value,Ey(r),d.value],([h,m])=>{if(c(),!d.value||!h.length)return;const g=new IntersectionObserver(t,{root:Ey(m),rootMargin:a,threshold:i});h.forEach(v=>v&&g.observe(v)),c=()=>{g.disconnect(),c=p8}},{immediate:s,flush:"post"}):p8,p=()=>{c(),f(),d.value=!1};return qre(p),{isSupported:l,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}const Jre=1/60*1e3,OQe=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Xre=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(OQe()),Jre);function RQe(e){let t=[],n=[],r=0,a=!1,i=!1;const o=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&a,f=d?t:n;return u&&o.add(l),f.indexOf(l)===-1&&(f.push(l),d&&a&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),o.delete(l)},process:l=>{if(a){i=!0;return}if(a=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=RQe(()=>z2=!0),e),{}),Bk=e4.reduce((e,t)=>{const n=tC[t];return e[t]=(r,a=!1,i=!1)=>(z2||$Qe(),n.schedule(r,a,i)),e},{}),IQe=e4.reduce((e,t)=>(e[t]=tC[t].cancel,e),{});e4.reduce((e,t)=>(e[t]=()=>tC[t].process(G1),e),{});const NQe=e=>tC[e].process(G1),Zre=e=>{z2=!1,G1.delta=Tk?Jre:Math.max(Math.min(e-G1.timestamp,PQe),1),G1.timestamp=e,Mk=!0,e4.forEach(NQe),Mk=!1,z2&&(Tk=!1,Xre(Zre))},$Qe=()=>{z2=!0,Tk=!0,Mk||Xre(Zre)},Qre=()=>G1;function eae(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aMath.min(Math.max(n,e),t),Gw=.001,VQe=.01,HQe=10,zQe=.05,WQe=1;function GQe({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let a,i,o=1-t;o=Lk(zQe,WQe,o),e=Lk(VQe,HQe,e/1e3),o<1?(a=u=>{const c=u*o,d=c*e,f=c-n,p=Ok(u,o),h=Math.exp(-d);return Gw-f/p*h},i=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Ok(Math.pow(u,2),o);return(-a(u)+Gw>0?-1:1)*((f-p)*h)/m}):(a=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Gw+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=KQe(a,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const jQe=12;function KQe(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function YQe(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!VV(e,qQe)&&VV(e,UQe)){const n=GQe(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function lB(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:a}=e,i=eae(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=YQe(i),p=HV,h=HV;function m(){const g=c?-(c/1e3):0,v=n-t,C=l/(2*Math.sqrt(s*u)),b=Math.sqrt(s/u)/1e3;if(a===void 0&&(a=Math.min(Math.abs(n-t)/100,.4)),C<1){const F=Ok(b,C);p=w=>{const E=Math.exp(-C*b*w);return n-E*((g+C*b*v)/F*Math.sin(F*w)+v*Math.cos(F*w))},h=w=>{const E=Math.exp(-C*b*w);return C*b*E*(Math.sin(F*w)*(g+C*b*v)/F+v*Math.cos(F*w))-E*(Math.cos(F*w)*(g+C*b*v)-F*v*Math.sin(F*w))}}else if(C===1)p=F=>n-Math.exp(-b*F)*(v+(g+b*v)*F);else{const F=b*Math.sqrt(C*C-1);p=w=>{const E=Math.exp(-C*b*w),S=Math.min(F*w,300);return n-E*((g+C*b*v)*Math.sinh(S)+F*v*Math.cosh(S))/F}}}return m(),{next:g=>{const v=p(g);if(f)o.done=g>=d;else{const C=h(g)*1e3,b=Math.abs(C)<=r,F=Math.abs(n-v)<=a;o.done=b&&F}return o.value=o.done?n:v,o},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}lB.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const HV=e=>0,tae=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},uB=(e,t,n)=>-n*e+n*t+e,nae=(e,t)=>n=>Math.max(Math.min(n,t),e),Sy=e=>e%1?Number(e.toFixed(5)):e,W2=/(-)?([\d]*\.?[\d])+/g,Rk=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,JQe=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function t4(e){return typeof e=="string"}const n4={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dy=Object.assign(Object.assign({},n4),{transform:nae(0,1)}),T5=Object.assign(Object.assign({},n4),{default:1}),cB=e=>({test:t=>t4(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pp=cB("deg"),_y=cB("%"),ar=cB("px"),zV=Object.assign(Object.assign({},_y),{parse:e=>_y.parse(e)/100,transform:e=>_y.transform(e*100)}),dB=(e,t)=>n=>!!(t4(n)&&JQe.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),rae=(e,t,n)=>r=>{if(!t4(r))return r;const[a,i,o,s]=r.match(W2);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},ih={test:dB("hsl","hue"),parse:rae("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+_y.transform(Sy(t))+", "+_y.transform(Sy(n))+", "+Sy(Dy.transform(r))+")"},XQe=nae(0,255),jw=Object.assign(Object.assign({},n4),{transform:e=>Math.round(XQe(e))}),Ud={test:dB("rgb","red"),parse:rae("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+jw.transform(e)+", "+jw.transform(t)+", "+jw.transform(n)+", "+Sy(Dy.transform(r))+")"};function ZQe(e){let t="",n="",r="",a="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),a=e.substr(4,1),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const Pk={test:dB("#"),parse:ZQe,transform:Ud.transform},ko={test:e=>Ud.test(e)||Pk.test(e)||ih.test(e),parse:e=>Ud.test(e)?Ud.parse(e):ih.test(e)?ih.parse(e):Pk.parse(e),transform:e=>t4(e)?e:e.hasOwnProperty("red")?Ud.transform(e):ih.transform(e)},aae="${c}",iae="${n}";function QQe(e){var t,n,r,a;return isNaN(e)&&t4(e)&&((n=(t=e.match(W2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((a=(r=e.match(Rk))===null||r===void 0?void 0:r.length)!==null&&a!==void 0?a:0)>0}function oae(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Rk);r&&(n=r.length,e=e.replace(Rk,aae),t.push(...r.map(ko.parse)));const a=e.match(W2);return a&&(e=e.replace(W2,iae),t.push(...a.map(n4.parse))),{values:t,numColors:n,tokenised:e}}function sae(e){return oae(e).values}function lae(e){const{values:t,numColors:n,tokenised:r}=oae(e),a=t.length;return i=>{let o=r;for(let s=0;stypeof e=="number"?0:e;function tet(e){const t=sae(e);return lae(e)(t.map(eet))}const r4={test:QQe,parse:sae,createTransformer:lae,getAnimatableNone:tet},net=new Set(["brightness","contrast","saturate","opacity"]);function ret(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(W2)||[];if(!r)return e;const a=n.replace(r,"");let i=net.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const aet=/([a-z-]*)\(.*?\)/g,Ik=Object.assign(Object.assign({},r4),{getAnimatableNone:e=>{const t=e.match(aet);return t?t.map(ret).join(" "):e}});function Kw(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function WV({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;a=Kw(l,s,e+1/3),i=Kw(l,s,e),o=Kw(l,s,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const iet=(e,t,n)=>{const r=e*e,a=t*t;return Math.sqrt(Math.max(0,n*(a-r)+r))},oet=[Pk,Ud,ih],GV=e=>oet.find(t=>t.test(e)),uae=(e,t)=>{let n=GV(e),r=GV(t),a=n.parse(e),i=r.parse(t);n===ih&&(a=WV(a),n=Ud),r===ih&&(i=WV(i),r=Ud);const o=Object.assign({},a);return s=>{for(const l in o)l!=="alpha"&&(o[l]=iet(a[l],i[l],s));return o.alpha=uB(a.alpha,i.alpha,s),n.transform(o)}},set=e=>typeof e=="number",uet=(e,t)=>n=>t(e(n)),cae=(...e)=>e.reduce(uet);function dae(e,t){return set(e)?n=>uB(e,t,n):ko.test(e)?uae(e,t):pae(e,t)}const fae=(e,t)=>{const n=[...e],r=n.length,a=e.map((i,o)=>dae(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(r[a]=dae(e[a],t[a]));return a=>{for(const i in r)n[i]=r[i](a);return n}};function jV(e){const t=r4.parse(e),n=t.length;let r=0,a=0,i=0;for(let o=0;o{const n=r4.createTransformer(t),r=jV(e),a=jV(t);return r.numHSL===a.numHSL&&r.numRGB===a.numRGB&&r.numNumbers>=a.numNumbers?cae(fae(r.parsed,a.parsed),n):o=>`${o>0?t:e}`},det=(e,t)=>n=>uB(e,t,n);function fet(e){if(typeof e=="number")return det;if(typeof e=="string")return ko.test(e)?uae:pae;if(Array.isArray(e))return fae;if(typeof e=="object")return cet}function pet(e,t,n){const r=[],a=n||fet(e[0]),i=e.length-1;for(let o=0;on(tae(e,t,r))}function met(e,t){const n=e.length,r=n-1;return a=>{let i=0,o=!1;if(a<=e[0]?o=!0:a>=e[r]&&(i=r-1,o=!0),!o){let l=1;for(;la||l===r);l++);i=l-1}const s=tae(e[i],e[i+1],a);return t[i](s)}}function hae(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const i=e.length;$V(i===t.length),$V(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=pet(t,r,a),s=i===2?het(e,o):met(e,o);return n?l=>s(Lk(e[0],e[i-1],l)):s}const nC=e=>t=>1-e(1-t),fB=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vet=e=>t=>Math.pow(t,e),mae=e=>t=>t*t*((e+1)*t-e),get=e=>{const t=mae(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},vae=1.525,yet=4/11,bet=8/11,Fet=9/10,gae=e=>e,pB=vet(2),Cet=nC(pB),yae=fB(pB),bae=e=>1-Math.sin(Math.acos(e)),Fae=nC(bae),wet=fB(Fae),hB=mae(vae),Eet=nC(hB),Det=fB(hB),_et=get(vae),ket=4356/361,Aet=35442/1805,xet=16061/1805,GF=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-GF(1-e*2)):.5*GF(e*2-1)+.5;function Bet(e,t){return e.map(()=>t||yae).splice(0,e.length-1)}function Let(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Oet(e,t){return e.map(n=>n*t)}function h8({from:e=0,to:t=1,ease:n,offset:r,duration:a=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=Oet(r&&r.length===o.length?r:Let(o),a);function l(){return hae(s,o,{ease:Array.isArray(n)?n:Bet(o,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=a,i),flipTarget:()=>{o.reverse(),u=l()}}}function Ret({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:a=.5,modifyTarget:i}){const o={done:!1,value:t};let s=n*e;const l=t+s,u=i===void 0?l:i(l);return u!==l&&(s=u-t),{next:c=>{const d=-s*Math.exp(-c/r);return o.done=!(d>a||d<-a),o.value=o.done?u:u+d,o},flipTarget:()=>{}}}const KV={keyframes:h8,spring:lB,decay:Ret};function Pet(e){if(Array.isArray(e.to))return h8;if(KV[e.type])return KV[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?h8:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?lB:h8}function Cae(e,t,n=0){return e-t-n}function Iet(e,t,n=0,r=!0){return r?Cae(t+-e,t,n):t-(e-t)+n}function Net(e,t,n,r){return r?e>=t+n:e<=-n}const $et=e=>{const t=({delta:n})=>e(n);return{start:()=>Bk.update(t,!0),stop:()=>IQe.update(t)}};function wae(e){var t,n,{from:r,autoplay:a=!0,driver:i=$et,elapsed:o=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=eae(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:g}=m,v,C=0,b=m.duration,F,w=!1,E=!0,S;const D=Pet(m);!((n=(t=D).needsInterpolation)===null||n===void 0)&&n.call(t,r,g)&&(S=hae([0,100],[r,g],{clamp:!1}),r=0,g=100);const _=D(Object.assign(Object.assign({},m),{from:r,to:g}));function k(){C++,l==="reverse"?(E=C%2===0,o=Iet(o,b,u,E)):(o=Cae(o,b,u),l==="mirror"&&_.flipTarget()),w=!1,p&&p()}function M(){v.stop(),f&&f()}function L(N){if(E||(N=-N),o+=N,!w){const O=_.next(Math.max(0,o));F=O.value,S&&(F=S(F)),w=E?O.done:o<=0}h==null||h(F),w&&(C===0&&(b!=null||(b=o)),C{d==null||d(),v.stop()}}}function Eae(e,t){return t?e*(1e3/t):0}function Vet({from:e=0,velocity:t=0,min:n,max:r,power:a=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(b){return n!==void 0&&br}function g(b){return n===void 0?r:r===void 0||Math.abs(n-b){var w;d==null||d(F),(w=b.onUpdate)===null||w===void 0||w.call(b,F)},onComplete:f,onStop:p}))}function C(b){v(Object.assign({type:"spring",stiffness:o,damping:s,restDelta:l},b))}if(m(e))C({from:e,velocity:t,to:g(e)});else{let b=a*t+e;typeof u!="undefined"&&(b=u(b));const F=g(b),w=F===n?-1:1;let E,S;const D=_=>{E=S,S=_,t=Eae(_-E,Qre().delta),(w===1&&_>F||w===-1&&_h==null?void 0:h.stop()}}const Sae=(e,t)=>1-3*t+3*e,Dae=(e,t)=>3*t-6*e,_ae=e=>3*e,jF=(e,t,n)=>((Sae(t,n)*e+Dae(t,n))*e+_ae(t))*e,kae=(e,t,n)=>3*Sae(t,n)*e*e+2*Dae(t,n)*e+_ae(t),Het=1e-7,zet=10;function Wet(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=jF(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>Het&&++s=jet?Ket(o,d,e,n):f===0?d:Wet(o,s,s+M5,e,n)}return o=>o===0||o===1?o:jF(i(o),t,r)}const Uw={};var qet=Object.defineProperty,Yet=(e,t,n)=>t in e?qet(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jet=(e,t,n)=>(Yet(e,t+"",n),n);class Xet{constructor(){Jet(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const a of this.subscriptions)a(t,n,r)}clear(){this.subscriptions.clear()}}var Zet=Object.defineProperty,Qet=(e,t,n)=>t in e?Zet(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uu=(e,t,n)=>(Qet(e,typeof t!="symbol"?t+"":t,n),n);function UV(e){return!Number.isNaN(Number.parseFloat(e))}class ett{constructor(t){uu(this,"current"),uu(this,"prev"),uu(this,"timeDelta",0),uu(this,"lastUpdated",0),uu(this,"updateSubscribers",new Xet),uu(this,"stopAnimation"),uu(this,"canTrackVelocity",!1),uu(this,"updateAndNotify",n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:a}=Qre();this.lastUpdated!==a&&(this.timeDelta=r,this.lastUpdated=a),Bk.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),uu(this,"scheduleVelocityCheck",()=>Bk.postRender(this.velocityCheck)),uu(this,"velocityCheck",({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=UV(this.current)),n!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=UV(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Eae(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function ttt(e){return new ett(e)}const{isArray:ntt}=Array;function rtt(){const e=j({}),t=r=>{const a=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?ntt(r)?r.forEach(a):a(r):Object.keys(e.value).forEach(a)},n=(r,a,i)=>{if(e.value[r])return e.value[r];const o=ttt(a);return o.onChange(s=>i[r]=s),e.value[r]=o,o};return TQe(t),{motionValues:e,get:n,stop:t}}function att(e){return Array.isArray(e)}function hp(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function qw(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function itt(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function Yw(){return{type:"keyframes",ease:"linear",duration:300}}function ott(e){return{type:"keyframes",duration:800,values:e}}const qV={default:itt,x:hp,y:hp,z:hp,rotate:hp,rotateX:hp,rotateY:hp,rotateZ:hp,scaleX:qw,scaleY:qw,scale:qw,backgroundColor:Yw,color:Yw,opacity:Yw};function Aae(e,t){let n;return att(t)?n=ott:n=qV[e]||qV.default,ce({to:t},n(t))}const YV=Je(ce({},n4),{transform:Math.round}),xae={color:ko,backgroundColor:ko,outlineColor:ko,fill:ko,stroke:ko,borderColor:ko,borderTopColor:ko,borderRightColor:ko,borderBottomColor:ko,borderLeftColor:ko,borderWidth:ar,borderTopWidth:ar,borderRightWidth:ar,borderBottomWidth:ar,borderLeftWidth:ar,borderRadius:ar,radius:ar,borderTopLeftRadius:ar,borderTopRightRadius:ar,borderBottomRightRadius:ar,borderBottomLeftRadius:ar,width:ar,maxWidth:ar,height:ar,maxHeight:ar,size:ar,top:ar,right:ar,bottom:ar,left:ar,padding:ar,paddingTop:ar,paddingRight:ar,paddingBottom:ar,paddingLeft:ar,margin:ar,marginTop:ar,marginRight:ar,marginBottom:ar,marginLeft:ar,rotate:pp,rotateX:pp,rotateY:pp,rotateZ:pp,scale:T5,scaleX:T5,scaleY:T5,scaleZ:T5,skew:pp,skewX:pp,skewY:pp,distance:ar,translateX:ar,translateY:ar,translateZ:ar,x:ar,y:ar,z:ar,perspective:ar,transformPerspective:ar,opacity:Dy,originX:zV,originY:zV,originZ:ar,zIndex:YV,filter:Ik,WebkitFilter:Ik,fillOpacity:Dy,strokeOpacity:Dy,numOctaves:YV},mB=e=>xae[e];function Nk(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function stt(e,t){let n=mB(e);return n!==Ik&&(n=r4),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ltt={linear:gae,easeIn:pB,easeInOut:yae,easeOut:Cet,circIn:bae,circInOut:wet,circOut:Fae,backIn:hB,backInOut:Det,backOut:Eet,anticipate:_et,bounceIn:Tet,bounceInOut:Met,bounceOut:GF};function JV(e){if(Array.isArray(e)){const[t,n,r,a]=e;return Uet(t,n,r,a)}else if(typeof e=="string")return ltt[e];return e}function utt(e){return Array.isArray(e)&&typeof e[0]!="number"}function XV(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&r4.test(t)&&!t.startsWith("url("))}function ctt(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function dtt(a){var i=a,{ease:e,times:t,delay:n}=i,r=qo(i,["ease","times","delay"]);const o=ce({},r);return t&&(o.offset=t),e&&(o.ease=utt(e)?e.map(JV):JV(e)),n&&(o.elapsed=-n),o}function ftt(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),ctt(t),ptt(e)||(e=ce(ce({},e),Aae(n,t.to))),ce(ce({},t),dtt(e))}function ptt(o){var s=o,{delay:e,repeat:t,repeatType:n,repeatDelay:r,from:a}=s,i=qo(s,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(i).length}function htt(e,t){return e[t]||e.default||e}function mtt(e,t,n,r,a){const i=htt(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const s=XV(e,n);o==="none"&&s&&typeof n=="string"&&(o=stt(e,n));const l=XV(e,o);function u(d){const f={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:p=>t.set(p)};return i.type==="inertia"||i.type==="decay"?Vet(ce(ce({},f),i)):wae(Je(ce({},ftt(i,f,e)),{onUpdate:p=>{f.onUpdate(p),i.onUpdate&&i.onUpdate(p)},onComplete:()=>{a&&a(),d&&d()}}))}function c(d){return t.set(n),a&&a(),d&&d(),{stop:()=>{}}}return!l||!s||i.type===!1?c:u}function vtt(){const{motionValues:e,stop:t,get:n}=rtt();return{motionValues:e,stop:t,push:(a,i,o,s={},l)=>{const u=o[a],c=n(a,u,o);if(s&&s.immediate){c.set(i);return}const d=mtt(a,c,i,s,l);c.start(d)}}}function gtt(e,t={},{motionValues:n,push:r,stop:a}=vtt()){const i=y(t),o=j(!1);Ve(n,d=>{o.value=Object.values(d).filter(f=>f.isAnimating()).length>0},{immediate:!0,deep:!0});const s=d=>{if(!i||!i[d])throw new Error(`The variant ${d} does not exist.`);return i[d]},l=d=>{typeof d=="string"&&(d=s(d));const f=Object.entries(d).map(([h,m])=>{if(h!=="transition")return new Promise(g=>r(h,m,e,d.transition||Aae(h,d[h]),g))}).filter(Boolean);function p(){return Qt(this,null,function*(){var h,m;yield Promise.all(f),(m=(h=d.transition)==null?void 0:h.onComplete)==null||m.call(h)})}return Promise.all([p()])};return{isAnimating:o,apply:l,set:d=>{const f=WF(d)?d:s(d);Object.entries(f).forEach(([p,h])=>{p!=="transition"&&r(p,h,e,{immediate:!0})})},leave:d=>Qt(this,null,function*(){let f;if(i&&(i.leave&&(f=i.leave),!i.leave&&i.initial&&(f=i.initial)),!f){d();return}yield l(f),d()}),stop:a}}const vB=typeof window!="undefined",ytt=()=>vB&&(window.onpointerdown===null||void 0),btt=()=>vB&&(window.ontouchstart===null||void 0),Ftt=()=>vB&&(window.onmousedown===null||void 0);function Ctt({target:e,state:t,variants:n,apply:r}){const a=y(n),i=j(!1),o=j(!1),s=j(!1),l=B(()=>{let c=[...Object.keys(t.value||{})];return a&&(a.hovered&&(c=[...c,...Object.keys(a.hovered)]),a.tapped&&(c=[...c,...Object.keys(a.tapped)]),a.focused&&(c=[...c,...Object.keys(a.focused)])),c}),u=B(()=>{const c={};Object.assign(c,t.value),i.value&&a.hovered&&Object.assign(c,a.hovered),o.value&&a.tapped&&Object.assign(c,a.tapped),s.value&&a.focused&&Object.assign(c,a.focused);for(const d in c)l.value.includes(d)||delete c[d];return c});a.hovered&&(lu(e,"mouseenter",()=>i.value=!0),lu(e,"mouseleave",()=>{i.value=!1,o.value=!1})),a.tapped&&(Ftt()&&(lu(e,"mousedown",()=>o.value=!0),lu(e,"mouseup",()=>o.value=!1)),ytt()&&(lu(e,"pointerdown",()=>o.value=!0),lu(e,"pointerup",()=>o.value=!1)),btt()&&(lu(e,"touchstart",()=>o.value=!0),lu(e,"touchend",()=>o.value=!1))),a.focused&&(lu(e,"focus",()=>s.value=!0),lu(e,"blur",()=>s.value=!1)),Ve([i,o,s],()=>{r(u.value)})}function wtt({set:e,target:t,variants:n,variant:r}){const a=y(n);Ve(()=>t,()=>{a&&(a.initial&&(e("initial"),r.value="initial"),a.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function Ett({state:e,apply:t}){Ve(e,n=>{n&&t(n)},{immediate:!0})}function Tae({target:e,variants:t,variant:n}){const r=y(t);r&&(r.visible||r.visibleOnce)&&LQe(e,([{isIntersecting:a}])=>{r.visible?a?n.value="visible":n.value="initial":r.visibleOnce&&(a&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Stt(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&wtt(e),t.syncVariants&&Ett(e),t.visibilityHooks&&Tae(e),t.eventListeners&&Ctt(e)}function Mae(e={}){const t=an(ce({},e)),n=j({});return Ve(t,()=>{const r={};for(const[a,i]of Object.entries(t)){const o=mB(a),s=Nk(i,o);r[a]=s}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function gB(e,t){Ve(()=>Ey(e),n=>{n&&t(n)},{immediate:!0})}const Dtt={x:"translateX",y:"translateY",z:"translateZ"};function Bae(e={},t=!0){const n=an(ce({},e)),r=j("");return Ve(n,a=>{let i="",o=!1;if(t&&(a.x||a.y||a.z)){const s=[a.x||0,a.y||0,a.z||0].map(l=>Nk(l,ar)).join(",");i+=`translate3d(${s}) `,o=!0}for(const[s,l]of Object.entries(a)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const u=mB(s),c=Nk(l,u);i+=`${Dtt[s]||s}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const _tt=["","X","Y","Z"],ktt=["perspective","translate","scale","rotate","skew"],Lae=["transformPerspective","x","y","z"];ktt.forEach(e=>{_tt.forEach(t=>{const n=e+t;Lae.push(n)})});const Att=new Set(Lae);function yB(e){return Att.has(e)}const xtt=new Set(["originX","originY","originZ"]);function Oae(e){return xtt.has(e)}function Ttt(e){const t={},n={};return Object.entries(e).forEach(([r,a])=>{yB(r)||Oae(r)?t[r]=a:n[r]=a}),{transform:t,style:n}}function rC(e){const{transform:t,style:n}=Ttt(e),{transform:r}=Bae(t),{style:a}=Mae(n);return r.value&&(a.value.transform=r.value),a.value}function Mtt(e,t){let n,r;const{state:a,style:i}=Mae();return gB(e,o=>{r=o;for(const s of Object.keys(xae))o.style[s]===null||o.style[s]===""||yB(s)||Oae(s)||(a[s]=o.style[s]);n&&Object.entries(n).forEach(([s,l])=>o.style[s]=l),t&&t(a)}),Ve(i,o=>{if(!r){n=o;return}for(const s in o)r.style[s]=o[s]},{immediate:!0}),{style:a}}function Btt(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,a)=>{if(!a)return r;const[i,o]=a.split("("),l=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=l.length===1?l[0]:l;return Je(ce({},r),{[i]:u})},{})}function Ltt(e,t){Object.entries(Btt(t)).forEach(([n,r])=>{const a=["x","y","z"];if(n==="translate3d"){if(r===0){a.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[a[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Ott(e,t){let n,r;const{state:a,transform:i}=Bae();return gB(e,o=>{r=o,o.style.transform&&Ltt(a,o.style.transform),n&&(o.style.transform=n),t&&t(a)}),Ve(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:a}}function Rtt(e){return Object.entries(e)}function Ptt(e,t){const n=an({}),r=o=>Object.entries(o).forEach(([s,l])=>n[s]=l),{style:a}=Mtt(e,r),{transform:i}=Ott(e,r);return Ve(n,o=>{Rtt(o).forEach(([s,l])=>{const u=yB(s)?i:a;u[s]&&u[s]===l||(u[s]=l)})},{immediate:!0,deep:!0}),gB(e,()=>t),{motionProperties:n,style:a,transform:i}}function Itt(e={}){const t=y(e),n=j();return{state:B(()=>{if(n.value)return t[n.value]}),variant:n}}function Rae(e,t={},n){const{motionProperties:r}=Ptt(e),{variant:a,state:i}=Itt(t),o=gtt(r,t),s=ce({target:e,variant:a,variants:t,state:i,motionProperties:r},o);return Stt(s,n),s}const Pae=["delay","duration"],Ntt=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...Pae];function $tt(e){return Pae.includes(e)}function Vtt(e,t){var r;const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&WF(n.variants)&&(t.value=ce(ce({},t.value),n.variants));for(let a of Ntt)if(!(!n||!n[a])){if($tt(a)&&typeof n[a]=="number"){for(const i of["enter","visible","visibleOnce"]){const o=t.value[i];o!=null&&((r=o.transition)!=null||(o.transition={}),o.transition[a]=n[a])}continue}if(WF(n[a])){const i=n[a];a==="visible-once"&&(a="visibleOnce"),t.value[a]=i}}}}function Jw(e,t=!1){return{created:(a,i,o)=>{const s=i.value&&typeof i.value=="string"?i.value:o.key;s&&Uw[s]&&Uw[s].stop();const l=t?structuredClone(Kn(e)||{}):e||{},u=j(l);typeof i.value=="object"&&(u.value=i.value),Vtt(o,u);const d=Rae(a,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});a.motionInstance=d,s&&(Uw[s]=d)},mounted:(a,i,o)=>{a.motionInstance&&Tae(a.motionInstance)},getSSRProps(a,i){let{initial:o}=a.value||i&&(i==null?void 0:i.props)||{};o=y(o);const s=Ure({},(e==null?void 0:e.initial)||{},o||{});return!s||Object.keys(s).length===0?void 0:{style:rC(s)}}}}const Htt={initial:{opacity:0},enter:{opacity:1}},ztt={initial:{opacity:0},visible:{opacity:1}},Wtt={initial:{opacity:0},visibleOnce:{opacity:1}},Gtt={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},jtt={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Ktt={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Utt={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},qtt={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Ytt={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Jtt={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xtt={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Ztt={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Qtt={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ent={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},tnt={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},nnt={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rnt={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ant={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},int={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},ont={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},snt={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},lnt={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},unt={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},cnt={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},dnt={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},fnt={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},pnt={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},hnt={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},mnt={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},vnt={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},KF={__proto__:null,fade:Htt,fadeVisible:ztt,fadeVisibleOnce:Wtt,pop:Gtt,popVisible:jtt,popVisibleOnce:Ktt,rollBottom:nnt,rollLeft:Utt,rollRight:Jtt,rollTop:Qtt,rollVisibleBottom:rnt,rollVisibleLeft:qtt,rollVisibleOnceBottom:ant,rollVisibleOnceLeft:Ytt,rollVisibleOnceRight:Ztt,rollVisibleOnceTop:tnt,rollVisibleRight:Xtt,rollVisibleTop:ent,slideBottom:hnt,slideLeft:int,slideRight:lnt,slideTop:dnt,slideVisibleBottom:mnt,slideVisibleLeft:ont,slideVisibleOnceBottom:vnt,slideVisibleOnceLeft:snt,slideVisibleOnceRight:cnt,slideVisibleOnceTop:pnt,slideVisibleRight:unt,slideVisibleTop:fnt};function gnt(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,a=>`-${a}`).toLowerCase().replace(/\s+/g,"-").replace(r,a=>n.charAt(t.indexOf(a))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Iae=Symbol(import.meta.dev?"motionCustomPresets":""),Nae={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function ynt(e){return Object.prototype.toString.call(e)==="[object Object]"}function $k(e){if(Array.isArray(e))return e.map($k);if(ynt(e)){const t={};for(const n in e)t[n]=$k(e[n]);return t}return e}function $ae(e){const t=an({}),n=ot(Iae),r=B(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(Kn(n)[e.preset]):e.preset in KF?structuredClone(KF[e.preset]):{}),a=B(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(l,u){var c;for(const d of["delay","duration"]){if(u[d]==null)continue;const f=Number.parseInt(u[d]);for(const p of["enter","visible","visibleOnce"]){const h=l[p];h!=null&&((c=h.transition)!=null||(h.transition={}),h.transition[d]=f)}}return l}const o=B(()=>{const l=Ure({},a.value,r.value,e.variants||{});return i(ce({},l),e)});function s(l,u,c){var p,h;var d;(p=l.props)!=null||(l.props={}),(h=(d=l.props).style)!=null||(d.style={}),l.props.style=ce(ce({},l.props.style),c);const f=i($k(o.value),l.props);return l.props.onVnodeMounted=({el:m})=>{t[u]=Rae(m,f)},l.props.onVnodeUpdated=({el:m})=>{const g=rC(t[u].state);for(const[v,C]of Object.entries(g))m.style[v]=C},l}return{motionConfig:o,setNodeInstance:s}}const bnt=he({name:"Motion",props:Je(ce({},Nae),{is:{type:[String,Object],default:"div"}}),setup(e){const t=Ca(),{motionConfig:n,setNodeInstance:r}=$ae(e);return()=>{const a=rC(n.value.initial||{}),i=V(e.is,void 0,t);return r(i,0,a),i}}}),Fnt=he({name:"MotionGroup",props:Je(ce({},Nae),{is:{type:[String,Object],required:!1}}),setup(e){const t=Ca(),{motionConfig:n,setNodeInstance:r}=$ae(e);return()=>{var o;const a=rC(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let s=0;s{const n=f("el-image"),B=f("el-popover"),S=V("loading");return v((p(),u("div",z,[d(B,{ref_key:"popoverRef",ref:l,visible:o.value,placement:"right",width:"18vw"},{reference:m(()=>[t("div",A,[d(_(j),{ref_key:"refCropper",ref:x,src:w.imgSrc,circled:"",onCropper:R,onReadied:a[0]||(a[0]=q=>o.value=!0)},null,8,["src"]),v(t("p",M," 温馨提示:右键上方裁剪区可开启功能菜单 ",512),[[b,o.value]])])]),default:m(()=>[t("div",E,[s.value?(p(),D(n,{key:0,src:s.value,"preview-src-list":Array.of(s.value),fit:"cover"},null,8,["src","preview-src-list"])):h("",!0),e.value?(p(),u("div",J,[t("p",null," 图像大小:"+i(parseInt(e.value.width))+" × "+i(parseInt(e.value.height))+"像素 ",1),t("p",null," 文件大小:"+i(_(I)(e.value.size))+"("+i(e.value.size)+" 字节) ",1)])):h("",!0)])]),_:1},8,["visible"])])),[[S,!o.value]])}}}),H=N($);export{H as R}; +import{d as P,a as r,B as v,k as u,i as d,w as m,e as f,A as V,f as p,g as t,u as _,a0 as b,b as D,j as h,t as i,aM as I,V as N}from"./index-DqH6biyS.js";import{R as j}from"./index-BCC60M31.js";const z={"element-loading-background":"transparent"},A={class:"w-[18vw]"},M={class:"mt-1 text-center"},E={class:"flex flex-wrap justify-center items-center text-center"},J={key:1,class:"mt-1"},$=P({name:"ReCropperPreview",__name:"index",props:{imgSrc:String},emits:["cropper"],setup(w,{expose:g,emit:C}){const k=C,e=r(),l=r(),x=r(),o=r(!1),s=r("");function R({base64:c,blob:a,info:n}){e.value=n,s.value=c,k("cropper",{base64:c,blob:a,info:n})}function y(){l.value.hide()}return g({hidePopover:y}),(c,a)=>{const n=f("el-image"),B=f("el-popover"),S=V("loading");return v((p(),u("div",z,[d(B,{ref_key:"popoverRef",ref:l,visible:o.value,placement:"right",width:"18vw"},{reference:m(()=>[t("div",A,[d(_(j),{ref_key:"refCropper",ref:x,src:w.imgSrc,circled:"",onCropper:R,onReadied:a[0]||(a[0]=q=>o.value=!0)},null,8,["src"]),v(t("p",M," 温馨提示:右键上方裁剪区可开启功能菜单 ",512),[[b,o.value]])])]),default:m(()=>[t("div",E,[s.value?(p(),D(n,{key:0,src:s.value,"preview-src-list":Array.of(s.value),fit:"cover"},null,8,["src","preview-src-list"])):h("",!0),e.value?(p(),u("div",J,[t("p",null," 图像大小:"+i(parseInt(e.value.width))+" × "+i(parseInt(e.value.height))+"像素 ",1),t("p",null," 文件大小:"+i(_(I)(e.value.size))+"("+i(e.value.size)+" 字节) ",1)])):h("",!0)])]),_:1},8,["visible"])])),[[S,!o.value]])}}}),H=N($);export{H as R}; diff --git a/static/js/index-XjHH2uHF.js b/static/js/index-DtSzCQP4.js similarity index 98% rename from static/js/index-XjHH2uHF.js rename to static/js/index-DtSzCQP4.js index 1fa7194d52..296f0452b8 100644 --- a/static/js/index-XjHH2uHF.js +++ b/static/js/index-DtSzCQP4.js @@ -1 +1 @@ -import{d as M,aK as C,aL as x,a as s,ad as V,p as m,b as j,w as h,e as u,f as r,g as c,i as g,k as I,l as T,v as O,s as $,q as b,t as A,F as X,B as E,a0 as F,V as N}from"./index-AFhnwzwZ.js";const Y=["bounce","flash","pulse","rubberBand","shakeX","headShake","swing","tada","wobble","jello","heartBeat","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInUpBig","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","hinge","jackInTheBox","rollIn","rollOut","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp"],q={class:"w-[280px]"},K={class:"flex flex-wrap justify-around mb-1"},G=["onMouseenter","onClick"],H=M({name:"ReAnimateSelector",__name:"index",props:C({placeholder:{type:String,default:"请选择动画"}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(d){const a=x(d,"modelValue"),f=s(),n=s(Y),v=V(n),w=m(()=>["mt-1","flex","border","w-[130px]","h-[100px]","items-center","cursor-pointer","transition-all","justify-center","border-[#e5e7eb]","hover:text-primary","hover:duration-[700ms]"]),_=m(()=>e=>a.value===e?{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}:"");function L(e){a.value=e}function R(){a.value=""}function B(e){f.value=e,n.value=v.value.filter(o=>o.includes(e))}const t=s({});function k(e){var o;t.value[e]=(o=t.value[e])!=null&&o.loading?Object.assign({},t.value[e],{loading:!1}):Object.assign({},t.value[e],{loading:!0})}function D(){t.value={}}return(e,o)=>{const y=u("el-empty"),U=u("el-scrollbar"),z=u("el-select");return r(),j(z,{clearable:"",filterable:"",placeholder:d.placeholder,"popper-class":"pure-animate-popper","model-value":a.value,"filter-method":B,onClear:R},{empty:h(()=>[c("div",q,[g(U,{noresize:"",height:"212px","view-style":{overflow:"hidden"},class:"border-t border-[#e5e7eb]"},{default:h(()=>[c("ul",K,[(r(!0),I(X,null,T(n.value,(l,i)=>{var p;return r(),I("li",{key:i,class:O(w.value),style:$(_.value(l)),onMouseenter:b(S=>k(i),["prevent"]),onMouseleave:b(D,["prevent"]),onClick:S=>L(l)},[c("h4",{class:O([`animate__animated animate__${(p=t.value[i])!=null&&p.loading?l+" animate__infinite":""} `])},A(l),3)],46,G)}),128))]),E(g(y,{description:`${f.value} 动画不存在`,"image-size":60},null,8,["description"]),[[F,n.value.length===0]])]),_:1})])]),_:1},8,["placeholder","model-value"])}}}),P=N(H);export{P as R}; +import{d as M,aK as C,aL as x,a as s,ad as V,p as m,b as j,w as h,e as u,f as r,g as c,i as g,k as I,l as T,v as O,s as $,q as b,t as A,F as X,B as E,a0 as F,V as N}from"./index-DqH6biyS.js";const Y=["bounce","flash","pulse","rubberBand","shakeX","headShake","swing","tada","wobble","jello","heartBeat","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInUpBig","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","hinge","jackInTheBox","rollIn","rollOut","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp"],q={class:"w-[280px]"},K={class:"flex flex-wrap justify-around mb-1"},G=["onMouseenter","onClick"],H=M({name:"ReAnimateSelector",__name:"index",props:C({placeholder:{type:String,default:"请选择动画"}},{modelValue:{type:String},modelModifiers:{}}),emits:["update:modelValue"],setup(d){const a=x(d,"modelValue"),f=s(),n=s(Y),v=V(n),w=m(()=>["mt-1","flex","border","w-[130px]","h-[100px]","items-center","cursor-pointer","transition-all","justify-center","border-[#e5e7eb]","hover:text-primary","hover:duration-[700ms]"]),_=m(()=>e=>a.value===e?{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}:"");function L(e){a.value=e}function R(){a.value=""}function B(e){f.value=e,n.value=v.value.filter(o=>o.includes(e))}const t=s({});function k(e){var o;t.value[e]=(o=t.value[e])!=null&&o.loading?Object.assign({},t.value[e],{loading:!1}):Object.assign({},t.value[e],{loading:!0})}function D(){t.value={}}return(e,o)=>{const y=u("el-empty"),U=u("el-scrollbar"),z=u("el-select");return r(),j(z,{clearable:"",filterable:"",placeholder:d.placeholder,"popper-class":"pure-animate-popper","model-value":a.value,"filter-method":B,onClear:R},{empty:h(()=>[c("div",q,[g(U,{noresize:"",height:"212px","view-style":{overflow:"hidden"},class:"border-t border-[#e5e7eb]"},{default:h(()=>[c("ul",K,[(r(!0),I(X,null,T(n.value,(l,i)=>{var p;return r(),I("li",{key:i,class:O(w.value),style:$(_.value(l)),onMouseenter:b(S=>k(i),["prevent"]),onMouseleave:b(D,["prevent"]),onClick:S=>L(l)},[c("h4",{class:O([`animate__animated animate__${(p=t.value[i])!=null&&p.loading?l+" animate__infinite":""} `])},A(l),3)],46,G)}),128))]),E(g(y,{description:`${f.value} 动画不存在`,"image-size":60},null,8,["description"]),[[F,n.value.length===0]])]),_:1})])]),_:1},8,["placeholder","model-value"])}}}),P=N(H);export{P as R}; diff --git a/static/js/index-DuDD7RdW.js b/static/js/index-DuDD7RdW.js new file mode 100644 index 0000000000..5378a8c4e3 --- /dev/null +++ b/static/js/index-DuDD7RdW.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CVXfCMb3.js";import"./columns-Dh4byXvk.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-Dv86riRO.js b/static/js/index-Dv86riRO.js deleted file mode 100644 index 0331dea5da..0000000000 --- a/static/js/index-Dv86riRO.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CHOr-SQF.js";import"./columns-D_FG28Q-.js";import"./sortable.esm-Br3T5NCo.js";import"./index-AFhnwzwZ.js";import"./data-BCF1-ihA.js";export{o as default}; diff --git a/static/js/index-DvYOfRbw.js b/static/js/index-DvYOfRbw.js new file mode 100644 index 0000000000..bbc5f9fbd6 --- /dev/null +++ b/static/js/index-DvYOfRbw.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-D4hqcQBq.js";import"./columns-D6cChJAy.js";import"./data-BAnvZeM5.js";import"./index-DqH6biyS.js";export{o as default}; diff --git a/static/js/index-DQ5Mcg6T.js b/static/js/index-DwURU8VY.js similarity index 98% rename from static/js/index-DQ5Mcg6T.js rename to static/js/index-DwURU8VY.js index eb9cf94486..e115dc6320 100644 --- a/static/js/index-DQ5Mcg6T.js +++ b/static/js/index-DwURU8VY.js @@ -1 +1 @@ -import{d as h,a as d,ad as C,b as uu,w as o,e as s,f as eu,g as D,h as n,i as e,u as nu,aj as r,W as lu,ak as v,F as A,al as E,J as a,am as tu,L as R}from"./index-AFhnwzwZ.js";import{_ as ou}from"./formPrimitive.vue_vue_type_script_setup_true_lang-BB8Ek89i.js";import{_ as p}from"./form.vue_vue_type_script_setup_true_lang-DcswILmb.js";const ru={class:"card-header"},iu={class:"font-medium"},Bu=h({__name:"index",setup(su){function b(){r({title:"基础用法",contentRenderer:()=>e("p",null,[n("抽屉内容-基础用法")])})}function w(){r({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-无背景遮罩层")])})}const $=lu(()=>r({title:"延时2秒打开抽屉",openDelay:1400,contentRenderer:()=>e("p",null,[n("抽屉内容-延时2秒打开抽屉")])}),600);function x(){r({title:"延时2秒关闭抽屉",closeDelay:2e3,contentRenderer:()=>e("p",null,[n("抽屉内容-延时2秒关闭抽屉")])})}function z(){r({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-不显示右上角关闭按钮图标")])})}function I(){r({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-禁止通过键盘ESC关闭")])})}function P(){r({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-禁止通过点击modal关闭")])})}function _(){r({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[n("抽屉内容-隐藏底部取消、确定按钮")])})}function y(){r({title:"自定义头部",showClose:!1,headerRenderer:({close:t,titleId:u,titleClass:i})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:u,class:i},[n("自定义头部")]),e(s("el-button"),{type:"danger",onClick:t},{default:()=>[n("关闭")]})]),contentRenderer:()=>e("p",null,[n("抽屉内容-自定义头部")])})}function S(){r({title:"自定义底部",footerRenderer:({options:t,index:u})=>e(s("el-button"),{onClick:()=>E(t,u)},{default:()=>[t.title,n("-"),u]}),contentRenderer:()=>e("p",null,[n("抽屉内容-自定义底部")])})}function g(){r({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}},{label:"按钮2",text:!0,bg:!0,btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}},{label:"按钮3",size:"large",type:"warning",btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}}],contentRenderer:()=>e("p",null,[n("抽屉内容-自定义底部按钮")])})}function O(){r({title:"打开后的回调",open:({options:t,index:u})=>a({options:t,index:u}),contentRenderer:()=>e("p",null,[n("抽屉内容-打开后的回调")])})}function T(){r({title:"关闭后的回调",closeCallBack:({options:t,index:u,args:i})=>{let l="";(i==null?void 0:i.command)==="cancel"?l="您点击了取消按钮":(i==null?void 0:i.command)==="sure"?l="您点击了确定按钮":l="您点击了右上角关闭按钮或空白页或按下了esc键",a(l)},contentRenderer:()=>e("p",null,[n("抽屉内容-关闭后的回调")])})}function N(){r({title:"嵌套的抽屉",size:"50%",contentRenderer:({index:t})=>e(s("el-button"),{onClick:()=>r({title:`第${t+1}个子抽屉`,size:"40%",contentRenderer:({index:u})=>e(s("el-button"),{onClick:()=>r({title:`第${u+1}个子抽屉`,size:"30%",contentRenderer:()=>e(A,null,[e(s("el-button"),{round:!0,onClick:()=>tu()},{default:()=>[n("哎呦,你干嘛,赶快关闭所有抽屉")]})])})},{default:()=>[n("点击打开第"),u+1,n("个子抽屉")]})})},{default:()=>[n("点击打开第"),t+1,n("个子抽屉")]})})}function L(){const t=d(1);r({title:`第${t.value}页`,contentRenderer:()=>e(A,null,[e(s("el-button"),{disabled:t.value<=1,onClick:()=>{t.value-=1,v(`第${t.value}页`)}},{default:()=>[n("上一页")]}),e(s("el-button"),{onClick:()=>{t.value+=1,v(`第${t.value}页`)}},{default:()=>[n("下一页")]})])})}function H(){r({size:"30%",title:"Popconfirm确认框示例",popConfirm:{title:"是否确认修改当前数据"},contentRenderer:()=>e("p",null,[n("点击右下方确定按钮看看效果吧")])})}function M(){r({size:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>p,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:t,args:u})=>{const{formInline:i}=t.props,l=`姓名:${i.user} 城市:${i.region}`;(u==null?void 0:u.command)==="cancel"?a(`您点击了取消按钮,当前表单数据为 ${l}`):(u==null?void 0:u.command)==="sure"?a(`您点击了确定按钮,当前表单数据为 ${l}`):a(`您点击了右上角关闭按钮或空白页或按下了esc键,当前表单数据为 ${l}`)}})}const B=d({user:"菜虚鲲",region:"浙江"}),V=C(B.value);function j(){r({size:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>R(p,{formInline:B.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${B.value.user} 城市:${B.value.region}`),B.value=C(V)}})}const f=d({user:"菜虚鲲",region:"浙江"}),U=C(f.value);function W(){r({size:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(p,{formInline:f.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${f.value.user} 城市:${f.value.region}`),f.value=C(U)}})}const c=d({user:"菜虚鲲",region:"浙江"}),J=C(c.value);function q(){r({size:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(p,{formInline:c.value},null),closeCallBack:()=>{a(`当前表单数据为 姓名:${c.value.user} 城市:${c.value.region}`),c.value=C(J)}})}const m=d("Hello World"),G=d(m.value);function K(){r({size:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>R(ou,{data:m.value,"onUpdate:data":t=>m.value=t}),closeCallBack:()=>{a(`当前表单内容:${m.value}`),m.value=G.value}})}function Q(){r({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部取消按钮的回调(会暂停抽屉的关闭)")]),beforeCancel:(t,{options:u,index:i})=>{}})}function X(){r({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部确定按钮的回调(会暂停抽屉的关闭,经常用于新增、修改抽屉内容后调用接口)")]),beforeSure:(t,{options:u,index:i})=>{}})}function Y(){r({sureBtnLoading:!0,title:"点击底部确定按钮可开启按钮动画",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部确定按钮可开启按钮动画")]),beforeSure:(t,{closeLoading:u})=>{setTimeout(()=>t(),800)}})}return(t,u)=>{const i=s("el-link"),l=s("el-button"),k=s("el-space"),F=s("el-divider"),Z=s("el-card");return eu(),uu(Z,{shadow:"never"},{header:o(()=>[D("div",ru,[D("span",iu,[u[1]||(u[1]=n(" 二次封装 Element Plus 的 ")),e(i,{href:"https://element-plus.org/zh-CN/component/drawer.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:o(()=>u[0]||(u[0]=[n(" Drawer ")])),_:1})])]),e(i,{href:"https://github.com/pure-admin/vue-pure-admin/tree/main/src/views/components/drawer",target:"_blank"},{default:o(()=>u[2]||(u[2]=[n(" 代码位置 src/views/components/drawer ")])),_:1})]),default:o(()=>[e(k,{wrap:""},{default:o(()=>[e(l,{onClick:b},{default:o(()=>u[3]||(u[3]=[n("基础用法")])),_:1}),e(l,{onClick:w},{default:o(()=>u[4]||(u[4]=[n(" 无背景遮罩层 ")])),_:1}),e(l,{onClick:nu($)},{default:o(()=>u[5]||(u[5]=[n(" 延时2秒打开抽屉 ")])),_:1},8,["onClick"]),e(l,{onClick:x},{default:o(()=>u[6]||(u[6]=[n(" 延时2秒关闭抽屉 ")])),_:1}),e(l,{onClick:z},{default:o(()=>u[7]||(u[7]=[n(" 不显示右上角关闭按钮图标 ")])),_:1}),e(l,{onClick:I},{default:o(()=>u[8]||(u[8]=[n(" 禁止通过键盘ESC关闭 ")])),_:1}),e(l,{onClick:P},{default:o(()=>u[9]||(u[9]=[n(" 禁止通过点击modal关闭 ")])),_:1}),e(l,{onClick:_},{default:o(()=>u[10]||(u[10]=[n(" 隐藏底部取消、确定按钮 ")])),_:1}),e(l,{onClick:y},{default:o(()=>u[11]||(u[11]=[n(" 自定义头部 ")])),_:1}),e(l,{onClick:S},{default:o(()=>u[12]||(u[12]=[n(" 自定义底部 ")])),_:1}),e(l,{onClick:g},{default:o(()=>u[13]||(u[13]=[n(" 自定义底部按钮 ")])),_:1}),e(l,{onClick:O},{default:o(()=>u[14]||(u[14]=[n(" 打开后的回调 ")])),_:1}),e(l,{onClick:T},{default:o(()=>u[15]||(u[15]=[n(" 关闭后的回调 ")])),_:1}),e(l,{onClick:N},{default:o(()=>u[16]||(u[16]=[n(" 嵌套的抽屉 ")])),_:1}),e(l,{onClick:L},{default:o(()=>u[17]||(u[17]=[n(" 更改抽屉自身属性值 ")])),_:1}),e(l,{onClick:H},{default:o(()=>u[18]||(u[18]=[n("Popconfirm确认框")])),_:1})]),_:1}),e(F),e(k,{wrap:""},{default:o(()=>[e(l,{onClick:M},{default:o(()=>u[19]||(u[19]=[n(" 结合Form表单(第一种方式) ")])),_:1}),e(l,{onClick:j},{default:o(()=>u[20]||(u[20]=[n(" 结合Form表单(第二种方式) ")])),_:1}),e(l,{onClick:W},{default:o(()=>u[21]||(u[21]=[n(" 结合Form表单(第三种方式) ")])),_:1}),e(l,{onClick:q},{default:o(()=>u[22]||(u[22]=[n(" 结合Form表单(第四种方式) ")])),_:1}),e(l,{onClick:K},{default:o(()=>u[23]||(u[23]=[n(" 子组件 prop 为 primitive 类型 ")])),_:1})]),_:1}),e(F),e(k,{wrap:""},{default:o(()=>[e(l,{onClick:Q},{default:o(()=>u[24]||(u[24]=[n(" 点击底部取消按钮的回调(会暂停抽屉的关闭) ")])),_:1}),e(l,{onClick:X},{default:o(()=>u[25]||(u[25]=[n(" 点击底部确定按钮的回调(会暂停抽屉的关闭,经常用于新增、修改抽屉内容后调用接口) ")])),_:1}),e(l,{onClick:Y},{default:o(()=>u[26]||(u[26]=[n(" 点击底部确定按钮可开启按钮动画 ")])),_:1})]),_:1})]),_:1})}}});export{Bu as default}; +import{d as h,a as d,ad as C,b as uu,w as o,e as s,f as eu,g as D,h as n,i as e,u as nu,aj as r,W as lu,ak as v,F as A,al as E,J as a,am as tu,L as R}from"./index-DqH6biyS.js";import{_ as ou}from"./formPrimitive.vue_vue_type_script_setup_true_lang-Bh1KaKM7.js";import{_ as p}from"./form.vue_vue_type_script_setup_true_lang-D6jHmrO-.js";const ru={class:"card-header"},iu={class:"font-medium"},Bu=h({__name:"index",setup(su){function b(){r({title:"基础用法",contentRenderer:()=>e("p",null,[n("抽屉内容-基础用法")])})}function w(){r({title:"无背景遮罩层",modal:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-无背景遮罩层")])})}const $=lu(()=>r({title:"延时2秒打开抽屉",openDelay:1400,contentRenderer:()=>e("p",null,[n("抽屉内容-延时2秒打开抽屉")])}),600);function x(){r({title:"延时2秒关闭抽屉",closeDelay:2e3,contentRenderer:()=>e("p",null,[n("抽屉内容-延时2秒关闭抽屉")])})}function z(){r({title:"不显示右上角关闭按钮图标",showClose:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-不显示右上角关闭按钮图标")])})}function I(){r({title:"禁止通过键盘ESC关闭",closeOnPressEscape:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-禁止通过键盘ESC关闭")])})}function P(){r({title:"禁止通过点击modal关闭",closeOnClickModal:!1,contentRenderer:()=>e("p",null,[n("抽屉内容-禁止通过点击modal关闭")])})}function _(){r({title:"隐藏底部取消、确定按钮",hideFooter:!0,contentRenderer:()=>e("p",null,[n("抽屉内容-隐藏底部取消、确定按钮")])})}function y(){r({title:"自定义头部",showClose:!1,headerRenderer:({close:t,titleId:u,titleClass:i})=>e("div",{class:"flex flex-row justify-between"},[e("h4",{id:u,class:i},[n("自定义头部")]),e(s("el-button"),{type:"danger",onClick:t},{default:()=>[n("关闭")]})]),contentRenderer:()=>e("p",null,[n("抽屉内容-自定义头部")])})}function S(){r({title:"自定义底部",footerRenderer:({options:t,index:u})=>e(s("el-button"),{onClick:()=>E(t,u)},{default:()=>[t.title,n("-"),u]}),contentRenderer:()=>e("p",null,[n("抽屉内容-自定义底部")])})}function g(){r({title:"自定义底部按钮",footerButtons:[{label:"按钮1",size:"small",type:"success",btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}},{label:"按钮2",text:!0,bg:!0,btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}},{label:"按钮3",size:"large",type:"warning",btnClick:({drawer:{options:t,index:u},button:i})=>{E(t,u)}}],contentRenderer:()=>e("p",null,[n("抽屉内容-自定义底部按钮")])})}function O(){r({title:"打开后的回调",open:({options:t,index:u})=>a({options:t,index:u}),contentRenderer:()=>e("p",null,[n("抽屉内容-打开后的回调")])})}function T(){r({title:"关闭后的回调",closeCallBack:({options:t,index:u,args:i})=>{let l="";(i==null?void 0:i.command)==="cancel"?l="您点击了取消按钮":(i==null?void 0:i.command)==="sure"?l="您点击了确定按钮":l="您点击了右上角关闭按钮或空白页或按下了esc键",a(l)},contentRenderer:()=>e("p",null,[n("抽屉内容-关闭后的回调")])})}function N(){r({title:"嵌套的抽屉",size:"50%",contentRenderer:({index:t})=>e(s("el-button"),{onClick:()=>r({title:`第${t+1}个子抽屉`,size:"40%",contentRenderer:({index:u})=>e(s("el-button"),{onClick:()=>r({title:`第${u+1}个子抽屉`,size:"30%",contentRenderer:()=>e(A,null,[e(s("el-button"),{round:!0,onClick:()=>tu()},{default:()=>[n("哎呦,你干嘛,赶快关闭所有抽屉")]})])})},{default:()=>[n("点击打开第"),u+1,n("个子抽屉")]})})},{default:()=>[n("点击打开第"),t+1,n("个子抽屉")]})})}function L(){const t=d(1);r({title:`第${t.value}页`,contentRenderer:()=>e(A,null,[e(s("el-button"),{disabled:t.value<=1,onClick:()=>{t.value-=1,v(`第${t.value}页`)}},{default:()=>[n("上一页")]}),e(s("el-button"),{onClick:()=>{t.value+=1,v(`第${t.value}页`)}},{default:()=>[n("下一页")]})])})}function H(){r({size:"30%",title:"Popconfirm确认框示例",popConfirm:{title:"是否确认修改当前数据"},contentRenderer:()=>e("p",null,[n("点击右下方确定按钮看看效果吧")])})}function M(){r({size:"30%",title:"结合Form表单(第一种方式)",contentRenderer:()=>p,props:{formInline:{user:"菜虚鲲",region:"浙江"}},closeCallBack:({options:t,args:u})=>{const{formInline:i}=t.props,l=`姓名:${i.user} 城市:${i.region}`;(u==null?void 0:u.command)==="cancel"?a(`您点击了取消按钮,当前表单数据为 ${l}`):(u==null?void 0:u.command)==="sure"?a(`您点击了确定按钮,当前表单数据为 ${l}`):a(`您点击了右上角关闭按钮或空白页或按下了esc键,当前表单数据为 ${l}`)}})}const B=d({user:"菜虚鲲",region:"浙江"}),V=C(B.value);function j(){r({size:"30%",title:"结合Form表单(第二种方式)",contentRenderer:()=>R(p,{formInline:B.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${B.value.user} 城市:${B.value.region}`),B.value=C(V)}})}const f=d({user:"菜虚鲲",region:"浙江"}),U=C(f.value);function W(){r({size:"30%",title:"结合Form表单(第三种方式)",contentRenderer:()=>e(p,{formInline:f.value}),closeCallBack:()=>{a(`当前表单数据为 姓名:${f.value.user} 城市:${f.value.region}`),f.value=C(U)}})}const c=d({user:"菜虚鲲",region:"浙江"}),J=C(c.value);function q(){r({size:"30%",title:"结合Form表单(第四种方式)",contentRenderer:()=>e(p,{formInline:c.value},null),closeCallBack:()=>{a(`当前表单数据为 姓名:${c.value.user} 城市:${c.value.region}`),c.value=C(J)}})}const m=d("Hello World"),G=d(m.value);function K(){r({size:"30%",title:"子组件 prop 为 primitive 类型 demo",contentRenderer:()=>R(ou,{data:m.value,"onUpdate:data":t=>m.value=t}),closeCallBack:()=>{a(`当前表单内容:${m.value}`),m.value=G.value}})}function Q(){r({title:"点击底部取消按钮的回调",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部取消按钮的回调(会暂停抽屉的关闭)")]),beforeCancel:(t,{options:u,index:i})=>{}})}function X(){r({title:"点击底部确定按钮的回调",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部确定按钮的回调(会暂停抽屉的关闭,经常用于新增、修改抽屉内容后调用接口)")]),beforeSure:(t,{options:u,index:i})=>{}})}function Y(){r({sureBtnLoading:!0,title:"点击底部确定按钮可开启按钮动画",contentRenderer:()=>e("p",null,[n("抽屉内容-点击底部确定按钮可开启按钮动画")]),beforeSure:(t,{closeLoading:u})=>{setTimeout(()=>t(),800)}})}return(t,u)=>{const i=s("el-link"),l=s("el-button"),k=s("el-space"),F=s("el-divider"),Z=s("el-card");return eu(),uu(Z,{shadow:"never"},{header:o(()=>[D("div",ru,[D("span",iu,[u[1]||(u[1]=n(" 二次封装 Element Plus 的 ")),e(i,{href:"https://element-plus.org/zh-CN/component/drawer.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:o(()=>u[0]||(u[0]=[n(" Drawer ")])),_:1})])]),e(i,{href:"https://github.com/pure-admin/vue-pure-admin/tree/main/src/views/components/drawer",target:"_blank"},{default:o(()=>u[2]||(u[2]=[n(" 代码位置 src/views/components/drawer ")])),_:1})]),default:o(()=>[e(k,{wrap:""},{default:o(()=>[e(l,{onClick:b},{default:o(()=>u[3]||(u[3]=[n("基础用法")])),_:1}),e(l,{onClick:w},{default:o(()=>u[4]||(u[4]=[n(" 无背景遮罩层 ")])),_:1}),e(l,{onClick:nu($)},{default:o(()=>u[5]||(u[5]=[n(" 延时2秒打开抽屉 ")])),_:1},8,["onClick"]),e(l,{onClick:x},{default:o(()=>u[6]||(u[6]=[n(" 延时2秒关闭抽屉 ")])),_:1}),e(l,{onClick:z},{default:o(()=>u[7]||(u[7]=[n(" 不显示右上角关闭按钮图标 ")])),_:1}),e(l,{onClick:I},{default:o(()=>u[8]||(u[8]=[n(" 禁止通过键盘ESC关闭 ")])),_:1}),e(l,{onClick:P},{default:o(()=>u[9]||(u[9]=[n(" 禁止通过点击modal关闭 ")])),_:1}),e(l,{onClick:_},{default:o(()=>u[10]||(u[10]=[n(" 隐藏底部取消、确定按钮 ")])),_:1}),e(l,{onClick:y},{default:o(()=>u[11]||(u[11]=[n(" 自定义头部 ")])),_:1}),e(l,{onClick:S},{default:o(()=>u[12]||(u[12]=[n(" 自定义底部 ")])),_:1}),e(l,{onClick:g},{default:o(()=>u[13]||(u[13]=[n(" 自定义底部按钮 ")])),_:1}),e(l,{onClick:O},{default:o(()=>u[14]||(u[14]=[n(" 打开后的回调 ")])),_:1}),e(l,{onClick:T},{default:o(()=>u[15]||(u[15]=[n(" 关闭后的回调 ")])),_:1}),e(l,{onClick:N},{default:o(()=>u[16]||(u[16]=[n(" 嵌套的抽屉 ")])),_:1}),e(l,{onClick:L},{default:o(()=>u[17]||(u[17]=[n(" 更改抽屉自身属性值 ")])),_:1}),e(l,{onClick:H},{default:o(()=>u[18]||(u[18]=[n("Popconfirm确认框")])),_:1})]),_:1}),e(F),e(k,{wrap:""},{default:o(()=>[e(l,{onClick:M},{default:o(()=>u[19]||(u[19]=[n(" 结合Form表单(第一种方式) ")])),_:1}),e(l,{onClick:j},{default:o(()=>u[20]||(u[20]=[n(" 结合Form表单(第二种方式) ")])),_:1}),e(l,{onClick:W},{default:o(()=>u[21]||(u[21]=[n(" 结合Form表单(第三种方式) ")])),_:1}),e(l,{onClick:q},{default:o(()=>u[22]||(u[22]=[n(" 结合Form表单(第四种方式) ")])),_:1}),e(l,{onClick:K},{default:o(()=>u[23]||(u[23]=[n(" 子组件 prop 为 primitive 类型 ")])),_:1})]),_:1}),e(F),e(k,{wrap:""},{default:o(()=>[e(l,{onClick:Q},{default:o(()=>u[24]||(u[24]=[n(" 点击底部取消按钮的回调(会暂停抽屉的关闭) ")])),_:1}),e(l,{onClick:X},{default:o(()=>u[25]||(u[25]=[n(" 点击底部确定按钮的回调(会暂停抽屉的关闭,经常用于新增、修改抽屉内容后调用接口) ")])),_:1}),e(l,{onClick:Y},{default:o(()=>u[26]||(u[26]=[n(" 点击底部确定按钮可开启按钮动画 ")])),_:1})]),_:1})]),_:1})}}});export{Bu as default}; diff --git a/static/js/index-bQMkK_Xr.js b/static/js/index-H9OgFLj4.js similarity index 67% rename from static/js/index-bQMkK_Xr.js rename to static/js/index-H9OgFLj4.js index c995772fa5..fca51ca3b6 100644 --- a/static/js/index-bQMkK_Xr.js +++ b/static/js/index-H9OgFLj4.js @@ -1 +1 @@ -import{list as k}from"./list-CPeGP44p.js";import{d as x,a as y,b as r,w as t,e as a,A as g,f as o,g as d,h as n,i as l,k as _,l as C,B as w,t as B,U as N,j as D,u as V,F,_ as S}from"./index-AFhnwzwZ.js";import"./base.vue_vue_type_script_setup_true_lang-D6U7h6Aa.js";import"./_plugin-vue_export-helper-C_DISmKY.js";import"./plus-form-kZ-6J13C.js";import"./dialog.vue_vue_type_script_setup_true_lang-C8prCNt3.js";/* empty css */import"./drawer.vue_vue_type_script_setup_true_lang-BMDwjJix.js";import"./steps.vue_vue_type_script_setup_true_lang-B_pmieP8.js";import"./search.vue_vue_type_script_setup_true_lang-0PK0dRAp.js";import"./orderBy-CFx0eenJ.js";const z={class:"card-header"},P={class:"font-medium"},T=x({name:"SchemaForm",__name:"index",setup($){const m=y(0);function u({index:p}){m.value=p}return(p,e)=>{const i=a("el-link"),f=a("el-tab-pane"),b=a("el-tabs"),v=a("el-card"),h=g("tippy");return o(),r(v,{shadow:"never","body-style":{height:"calc(100vh - 260px)"}},{header:t(()=>[d("div",z,[d("span",P,[e[1]||(e[1]=n(" JSON 格式配置表单,采用优秀开源的 ")),l(i,{href:"https://plus-pro-components.com/components/form.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[n(" PlusProComponents ")])),_:1}),e[2]||(e[2]=n(" ,维护整体表单只需操作 columns 配置即可 "))])]),l(i,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/schema-form",target:"_blank"},{default:t(()=>e[3]||(e[3]=[n(" 代码位置 src/views/schema-form ")])),_:1})]),default:t(()=>[l(b,{onTabClick:u},{default:t(()=>[(o(!0),_(F,null,C(V(k),(s,c)=>(o(),r(f,{key:s.key,lazy:!0},{label:t(()=>[w((o(),_("span",null,[n(B(s.title),1)])),[[h,{maxWidth:"none",content:`(第 ${c+1} 个示例)${s.content}`}]])]),default:t(()=>[m.value==c?(o(),r(N(s.component),{key:0})):D("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}}),H=S(T,[["__scopeId","data-v-67b227bf"]]);export{H as default}; +import{list as k}from"./list-CE6GPu7k.js";import{d as x,a as y,b as r,w as t,e as a,A as g,f as o,g as d,h as n,i as l,k as _,l as C,B as w,t as B,U as N,j as D,u as V,F,_ as S}from"./index-DqH6biyS.js";import"./base.vue_vue_type_script_setup_true_lang-BnkhJDnC.js";import"./_plugin-vue_export-helper-C_DISmKY.js";import"./plus-form-Cy3_segO.js";import"./dialog.vue_vue_type_script_setup_true_lang-DBLU781X.js";/* empty css */import"./drawer.vue_vue_type_script_setup_true_lang-Bb-0Miqa.js";import"./steps.vue_vue_type_script_setup_true_lang-DZWkQoHZ.js";import"./search.vue_vue_type_script_setup_true_lang-D2A0JsCu.js";import"./orderBy-BdSTuyc1.js";const z={class:"card-header"},P={class:"font-medium"},T=x({name:"SchemaForm",__name:"index",setup($){const m=y(0);function u({index:p}){m.value=p}return(p,e)=>{const i=a("el-link"),f=a("el-tab-pane"),b=a("el-tabs"),v=a("el-card"),h=g("tippy");return o(),r(v,{shadow:"never","body-style":{height:"calc(100vh - 260px)"}},{header:t(()=>[d("div",z,[d("span",P,[e[1]||(e[1]=n(" JSON 格式配置表单,采用优秀开源的 ")),l(i,{href:"https://plus-pro-components.com/components/form.html",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:t(()=>e[0]||(e[0]=[n(" PlusProComponents ")])),_:1}),e[2]||(e[2]=n(" ,维护整体表单只需操作 columns 配置即可 "))])]),l(i,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/schema-form",target:"_blank"},{default:t(()=>e[3]||(e[3]=[n(" 代码位置 src/views/schema-form ")])),_:1})]),default:t(()=>[l(b,{onTabClick:u},{default:t(()=>[(o(!0),_(F,null,C(V(k),(s,c)=>(o(),r(f,{key:s.key,lazy:!0},{label:t(()=>[w((o(),_("span",null,[n(B(s.title),1)])),[[h,{maxWidth:"none",content:`(第 ${c+1} 个示例)${s.content}`}]])]),default:t(()=>[m.value==c?(o(),r(N(s.component),{key:0})):D("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}}),H=S(T,[["__scopeId","data-v-67b227bf"]]);export{H as default}; diff --git a/static/js/index-DI5uoZkq.js b/static/js/index-Md1Qe70c.js similarity index 87% rename from static/js/index-DI5uoZkq.js rename to static/js/index-Md1Qe70c.js index ef418845b4..83b64c1422 100644 --- a/static/js/index-DI5uoZkq.js +++ b/static/js/index-Md1Qe70c.js @@ -1 +1 @@ -import{d as c,L as l}from"./index-AFhnwzwZ.js";function h(e){return c({name:"ReFlicker",render(){var i,n,o,d,p;return l("div",{class:"point point-flicker",style:{"--point-width":(i=e==null?void 0:e.width)!=null?i:"12px","--point-height":(n=e==null?void 0:e.height)!=null?n:"12px","--point-background":(o=e==null?void 0:e.background)!=null?o:"var(--el-color-primary)","--point-border-radius":(d=e==null?void 0:e.borderRadius)!=null?d:"50%","--point-scale":(p=e==null?void 0:e.scale)!=null?p:"2"}},{default:()=>[]})}})}export{h as u}; +import{d as c,L as l}from"./index-DqH6biyS.js";function h(e){return c({name:"ReFlicker",render(){var i,n,o,d,p;return l("div",{class:"point point-flicker",style:{"--point-width":(i=e==null?void 0:e.width)!=null?i:"12px","--point-height":(n=e==null?void 0:e.height)!=null?n:"12px","--point-background":(o=e==null?void 0:e.background)!=null?o:"var(--el-color-primary)","--point-border-radius":(d=e==null?void 0:e.borderRadius)!=null?d:"50%","--point-scale":(p=e==null?void 0:e.scale)!=null?p:"2"}},{default:()=>[]})}})}export{h as u}; diff --git a/static/js/index-Cx0D6q7y.js b/static/js/index-NvLp9pvb.js similarity index 99% rename from static/js/index-Cx0D6q7y.js rename to static/js/index-NvLp9pvb.js index d018154f74..1ed00ed9ff 100644 --- a/static/js/index-Cx0D6q7y.js +++ b/static/js/index-NvLp9pvb.js @@ -1 +1 @@ -var X=Object.defineProperty;var y=(c,t,s)=>t in c?X(c,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[t]=s;var a=(c,t,s)=>y(c,typeof t!="symbol"?t+"":t,s);import{e as _}from"./mitt-E5P-NQ8u.js";import{d as S,a as g,a1 as P,m as L,z as R,b,w as r,e as f,A as U,f as E,g as d,h as i,i as u,j as F,B,_ as H}from"./index-AFhnwzwZ.js";class O{constructor(t){a(this,"canvas");a(this,"ctx");a(this,"images");a(this,"container");a(this,"positionX");a(this,"isDragging");a(this,"startX");a(this,"handleClick",t=>{this.drawTick(t)});a(this,"handleMouseDown",t=>{this.startDrag(t.clientX)});a(this,"handleMouseMove",t=>{this.drag(t.clientX)});a(this,"handleMouseUp",()=>{this.endDrag()});a(this,"handleTouchStart",t=>{t.touches.length===1&&(t.preventDefault(),this.startDrag(t.touches[0].clientX))});a(this,"handleTouchMove",t=>{t.touches.length===1&&(t.preventDefault(),this.drag(t.touches[0].clientX))});a(this,"handleTouchEnd",()=>{this.endDrag()});this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.images=[],this.positionX=0,this.isDragging=!1,this.startX=0,this.container=document.getElementById(t),this.container&&(this.container.appendChild(this.canvas),this.canvas.width=this.container.clientWidth,this.canvas.height=this.container.clientHeight)}addImage(t,s,n,o,v){const p=new Image;p.src=t,this.images.push({img:p,x:s,y:n,width:o,height:v}),this.render()}render(){this.clearRect(),this.images.forEach(t=>{const s=t.x+this.positionX;this.ctx.drawImage(t.img,s,t.y,t.width,t.height)})}clearImages(){this.images=[]}clearRect(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}drawTick(t){this.render();const s=Math.ceil((Math.abs(this.positionX)+t.offsetX)/this.images[0].width)-1,n=t.offsetX,o=t.offsetY;this.ctx.strokeStyle="red",this.ctx.lineWidth=4,this.ctx.lineCap="round",this.ctx.beginPath(),this.ctx.moveTo(n-10,o),this.ctx.lineTo(n,o+10),this.ctx.lineTo(n+15,o-10),this.ctx.stroke(),_.emit("imageInfo",this.images[s])}addListener(){this.canvas&&(this.canvas.addEventListener("click",this.handleClick),this.canvas.addEventListener("mousedown",this.handleMouseDown),this.canvas.addEventListener("mousemove",this.handleMouseMove),this.canvas.addEventListener("mouseup",this.handleMouseUp),this.canvas.addEventListener("touchstart",this.handleTouchStart),this.canvas.addEventListener("touchmove",this.handleTouchMove),this.canvas.addEventListener("touchend",this.handleTouchEnd))}startDrag(t){this.canvas.style.cursor="grabbing",this.canvas.style.userSelect="none",this.startX=t,this.isDragging=!0}drag(t){if(!this.isDragging)return;const s=t-this.startX,n=this.images.length*this.images[0].width-this.container.clientWidth;this.positionX=Math.max(Math.min(this.positionX+s,0),-n),this.startX=t,this.render()}endDrag(){this.canvas.style.cursor="grab",this.canvas.style.userSelect="auto",this.isDragging=!1}}const A={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},z={class:"card-header"},N={class:"font-medium"},W={class:"flex flex-wrap"},j={id:"canvas-container","element-loading-text":"温馨提示:可左右拖拽图片并单击选取所需的帧图片",class:"w-full h-[200px] overflow-hidden mt-6"},m=200,Y=S({name:"VideoFrame",__name:"index",setup(c){const t=g(""),s=g(),n=g(),o=g(!1),{loadScript:v}=P(),{VITE_PUBLIC_PATH:p}=A,x=l=>`${p}wasm/${l}`,M=x("index.js"),T=x("capture.worker.js"),I=x("capture.worker.wasm");v({src:M}).then(l=>{l[0].message==="加载成功"&&(n.value=cheetahCapture.initCapture({workerPath:T,wasmPath:I}))}),L(()=>{s.value=new O("canvas-container"),_.on("imageInfo",l=>t.value=l.img.src)});function k(l){return t.value="",o.value=!0,s.value.clearImages(),n.value.then(e=>{e.capture({file:l,info:16,onChange:(h,{url:w})=>{s.value.addImage(w,m*h.url.length,0,m,m)},onSuccess:()=>{s.value.addListener(),s.value.drawTick({offsetX:m/2,offsetY:m/2}),o.value=!1},onError:()=>{o.value=!1}})}),!1}return R(()=>{_.off("imageInfo")}),(l,e)=>{const h=f("el-link"),w=f("el-upload"),D=f("el-image"),V=f("el-card"),C=U("loading");return E(),b(V,{shadow:"never"},{header:r(()=>[d("div",z,[d("span",N,[d("p",null,[e[1]||(e[1]=i(" 基于自定义编译 ")),u(h,{href:"https://github.com/FFmpeg/FFmpeg",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[0]||(e[0]=[i(" FFmpeg ")])),_:1}),e[2]||(e[2]=i(" 的截帧工具,支持MP4、MOV、AVI、WebM、MKV等主流格式,支持 H.264(AVC)、H.265(HEVC)、MPEG-2、MPEG-4、VP8、VP9、WMV3编码格式 "))]),e[11]||(e[11]=i(" 当然还可以支持更多视频格式,只要FFmpeg支持的,按理都能支持,您也可参考 ")),u(h,{href:"https://github.com/wanwu/cheetah-capture",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[3]||(e[3]=[i(" cheetah-capture ")])),_:1}),e[12]||(e[12]=i(" 和 ")),u(h,{href:"https://github.com/jordiwang/web-capture",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[4]||(e[4]=[i(" web-capture ")])),_:1}),e[13]||(e[13]=i(" 修改并编译wasm等文件(强烈推荐在Ubuntu系统进行编译) ")),d("p",null,[e[6]||(e[6]=i(" mac系统推荐安装 ")),u(h,{href:"https://github.com/utmapp/UTM",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[5]||(e[5]=[i(" UTM ")])),_:1}),e[7]||(e[7]=i(" 虚拟机,windows系统推荐安装VMware虚拟机 "))]),d("p",null,[e[9]||(e[9]=i(" 当然这只是一个视频帧截取工具,如果您想要更多操作可以研究下 ")),u(h,{href:"https://ffmpegwasm.netlify.app/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[8]||(e[8]=[i(" ffmpeg.wasm ")])),_:1}),e[10]||(e[10]=i(" ,它是基于 FFmpeg 的纯 WebAssembly / JavaScript 工具,可以在浏览器内进行视频和音频录制、转换和流式传输等,不过通过一些实践,对于时长较长的视频性能还是不太行,不过用于时长较短的短视频还是可以上生产的 "))])]),u(h,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/video-frame",target:"_blank"},{default:r(()=>e[14]||(e[14]=[i(" 代码位置 src/views/able/video-frame ")])),_:1})])]),default:r(()=>[d("div",W,[u(w,{drag:"","show-file-list":!1,accept:".mp4,.mov,.avi,.webm,.mkv","before-upload":k},{default:r(()=>e[15]||(e[15]=[d("div",{class:"el-upload__text"}," 可拖拽上传视频(默认截取16张帧图片,可在代码中自行修改) ",-1)])),_:1}),t.value?(E(),b(D,{key:0,src:t.value,"preview-src-list":Array.of(t.value),class:"w-[180px] h-[180px] ml-2 rounded-[6px]"},null,8,["src","preview-src-list"])):F("",!0)]),B(d("div",j,null,512),[[C,o.value]])]),_:1})}}}),K=H(Y,[["__scopeId","data-v-c9074338"]]);export{K as default}; +var X=Object.defineProperty;var y=(c,t,s)=>t in c?X(c,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[t]=s;var a=(c,t,s)=>y(c,typeof t!="symbol"?t+"":t,s);import{e as _}from"./mitt-E5P-NQ8u.js";import{d as S,a as g,a1 as P,m as L,z as R,b,w as r,e as f,A as U,f as E,g as d,h as i,i as u,j as F,B,_ as H}from"./index-DqH6biyS.js";class O{constructor(t){a(this,"canvas");a(this,"ctx");a(this,"images");a(this,"container");a(this,"positionX");a(this,"isDragging");a(this,"startX");a(this,"handleClick",t=>{this.drawTick(t)});a(this,"handleMouseDown",t=>{this.startDrag(t.clientX)});a(this,"handleMouseMove",t=>{this.drag(t.clientX)});a(this,"handleMouseUp",()=>{this.endDrag()});a(this,"handleTouchStart",t=>{t.touches.length===1&&(t.preventDefault(),this.startDrag(t.touches[0].clientX))});a(this,"handleTouchMove",t=>{t.touches.length===1&&(t.preventDefault(),this.drag(t.touches[0].clientX))});a(this,"handleTouchEnd",()=>{this.endDrag()});this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.images=[],this.positionX=0,this.isDragging=!1,this.startX=0,this.container=document.getElementById(t),this.container&&(this.container.appendChild(this.canvas),this.canvas.width=this.container.clientWidth,this.canvas.height=this.container.clientHeight)}addImage(t,s,n,o,v){const p=new Image;p.src=t,this.images.push({img:p,x:s,y:n,width:o,height:v}),this.render()}render(){this.clearRect(),this.images.forEach(t=>{const s=t.x+this.positionX;this.ctx.drawImage(t.img,s,t.y,t.width,t.height)})}clearImages(){this.images=[]}clearRect(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}drawTick(t){this.render();const s=Math.ceil((Math.abs(this.positionX)+t.offsetX)/this.images[0].width)-1,n=t.offsetX,o=t.offsetY;this.ctx.strokeStyle="red",this.ctx.lineWidth=4,this.ctx.lineCap="round",this.ctx.beginPath(),this.ctx.moveTo(n-10,o),this.ctx.lineTo(n,o+10),this.ctx.lineTo(n+15,o-10),this.ctx.stroke(),_.emit("imageInfo",this.images[s])}addListener(){this.canvas&&(this.canvas.addEventListener("click",this.handleClick),this.canvas.addEventListener("mousedown",this.handleMouseDown),this.canvas.addEventListener("mousemove",this.handleMouseMove),this.canvas.addEventListener("mouseup",this.handleMouseUp),this.canvas.addEventListener("touchstart",this.handleTouchStart),this.canvas.addEventListener("touchmove",this.handleTouchMove),this.canvas.addEventListener("touchend",this.handleTouchEnd))}startDrag(t){this.canvas.style.cursor="grabbing",this.canvas.style.userSelect="none",this.startX=t,this.isDragging=!0}drag(t){if(!this.isDragging)return;const s=t-this.startX,n=this.images.length*this.images[0].width-this.container.clientWidth;this.positionX=Math.max(Math.min(this.positionX+s,0),-n),this.startX=t,this.render()}endDrag(){this.canvas.style.cursor="grab",this.canvas.style.userSelect="auto",this.isDragging=!1}}const A={BASE_URL:"/vue-pure-admin/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/vue-pure-admin/",VITE_ROUTER_HISTORY:"hash"},z={class:"card-header"},N={class:"font-medium"},W={class:"flex flex-wrap"},j={id:"canvas-container","element-loading-text":"温馨提示:可左右拖拽图片并单击选取所需的帧图片",class:"w-full h-[200px] overflow-hidden mt-6"},m=200,Y=S({name:"VideoFrame",__name:"index",setup(c){const t=g(""),s=g(),n=g(),o=g(!1),{loadScript:v}=P(),{VITE_PUBLIC_PATH:p}=A,x=l=>`${p}wasm/${l}`,M=x("index.js"),T=x("capture.worker.js"),I=x("capture.worker.wasm");v({src:M}).then(l=>{l[0].message==="加载成功"&&(n.value=cheetahCapture.initCapture({workerPath:T,wasmPath:I}))}),L(()=>{s.value=new O("canvas-container"),_.on("imageInfo",l=>t.value=l.img.src)});function k(l){return t.value="",o.value=!0,s.value.clearImages(),n.value.then(e=>{e.capture({file:l,info:16,onChange:(h,{url:w})=>{s.value.addImage(w,m*h.url.length,0,m,m)},onSuccess:()=>{s.value.addListener(),s.value.drawTick({offsetX:m/2,offsetY:m/2}),o.value=!1},onError:()=>{o.value=!1}})}),!1}return R(()=>{_.off("imageInfo")}),(l,e)=>{const h=f("el-link"),w=f("el-upload"),D=f("el-image"),V=f("el-card"),C=U("loading");return E(),b(V,{shadow:"never"},{header:r(()=>[d("div",z,[d("span",N,[d("p",null,[e[1]||(e[1]=i(" 基于自定义编译 ")),u(h,{href:"https://github.com/FFmpeg/FFmpeg",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[0]||(e[0]=[i(" FFmpeg ")])),_:1}),e[2]||(e[2]=i(" 的截帧工具,支持MP4、MOV、AVI、WebM、MKV等主流格式,支持 H.264(AVC)、H.265(HEVC)、MPEG-2、MPEG-4、VP8、VP9、WMV3编码格式 "))]),e[11]||(e[11]=i(" 当然还可以支持更多视频格式,只要FFmpeg支持的,按理都能支持,您也可参考 ")),u(h,{href:"https://github.com/wanwu/cheetah-capture",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[3]||(e[3]=[i(" cheetah-capture ")])),_:1}),e[12]||(e[12]=i(" 和 ")),u(h,{href:"https://github.com/jordiwang/web-capture",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[4]||(e[4]=[i(" web-capture ")])),_:1}),e[13]||(e[13]=i(" 修改并编译wasm等文件(强烈推荐在Ubuntu系统进行编译) ")),d("p",null,[e[6]||(e[6]=i(" mac系统推荐安装 ")),u(h,{href:"https://github.com/utmapp/UTM",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[5]||(e[5]=[i(" UTM ")])),_:1}),e[7]||(e[7]=i(" 虚拟机,windows系统推荐安装VMware虚拟机 "))]),d("p",null,[e[9]||(e[9]=i(" 当然这只是一个视频帧截取工具,如果您想要更多操作可以研究下 ")),u(h,{href:"https://ffmpegwasm.netlify.app/",target:"_blank",style:{margin:"0 4px 5px","font-size":"16px"}},{default:r(()=>e[8]||(e[8]=[i(" ffmpeg.wasm ")])),_:1}),e[10]||(e[10]=i(" ,它是基于 FFmpeg 的纯 WebAssembly / JavaScript 工具,可以在浏览器内进行视频和音频录制、转换和流式传输等,不过通过一些实践,对于时长较长的视频性能还是不太行,不过用于时长较短的短视频还是可以上生产的 "))])]),u(h,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/video-frame",target:"_blank"},{default:r(()=>e[14]||(e[14]=[i(" 代码位置 src/views/able/video-frame ")])),_:1})])]),default:r(()=>[d("div",W,[u(w,{drag:"","show-file-list":!1,accept:".mp4,.mov,.avi,.webm,.mkv","before-upload":k},{default:r(()=>e[15]||(e[15]=[d("div",{class:"el-upload__text"}," 可拖拽上传视频(默认截取16张帧图片,可在代码中自行修改) ",-1)])),_:1}),t.value?(E(),b(D,{key:0,src:t.value,"preview-src-list":Array.of(t.value),class:"w-[180px] h-[180px] ml-2 rounded-[6px]"},null,8,["src","preview-src-list"])):F("",!0)]),B(d("div",j,null,512),[[C,o.value]])]),_:1})}}}),K=H(Y,[["__scopeId","data-v-c9074338"]]);export{K as default}; diff --git a/static/js/index-BEWdgvR5.js b/static/js/index-O4BPhhbm.js similarity index 88% rename from static/js/index-BEWdgvR5.js rename to static/js/index-O4BPhhbm.js index b41a0c58c3..3f6f5e9d95 100644 --- a/static/js/index-BEWdgvR5.js +++ b/static/js/index-O4BPhhbm.js @@ -1 +1 @@ -import{d as p,a as r,R as d,k as i,g as t,t as n,u as s,i as m,e as _,f as c}from"./index-AFhnwzwZ.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},V={style:{"text-indent":"4em"}},h=p({name:"Menu1-2-1",__name:"index",setup(k){const o=r(""),{t:e}=d();return(v,a)=>{const u=_("el-input");return c(),i("div",f,[t("p",null,n(s(e)("menus.pureMenu1")),1),t("p",x,n(s(e)("menus.pureMenu1-2")),1),t("p",V,n(s(e)("menus.pureMenu1-2-1")),1),m(u,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},null,8,["modelValue"])])}}});export{h as default}; +import{d as p,a as r,R as d,k as i,g as t,t as n,u as s,i as m,e as _,f as c}from"./index-DqH6biyS.js";const f={class:"dark:text-white"},x={style:{"text-indent":"2em"}},V={style:{"text-indent":"4em"}},h=p({name:"Menu1-2-1",__name:"index",setup(k){const o=r(""),{t:e}=d();return(v,a)=>{const u=_("el-input");return c(),i("div",f,[t("p",null,n(s(e)("menus.pureMenu1")),1),t("p",x,n(s(e)("menus.pureMenu1-2")),1),t("p",V,n(s(e)("menus.pureMenu1-2-1")),1),m(u,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},null,8,["modelValue"])])}}});export{h as default}; diff --git a/static/js/index-Ohhn1lTL.js b/static/js/index-Ohhn1lTL.js new file mode 100644 index 0000000000..3b0cafb573 --- /dev/null +++ b/static/js/index-Ohhn1lTL.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BYnDJUy8.js";import"./columns-BWE-vVXR.js";import"./index-DqH6biyS.js";import"./data-Dd4sCrbk.js";import"./edit-pen-Ci7W0xNM.js";import"./check-CIQVCvCT.js";export{o as default}; diff --git a/static/js/index-B2oqbt8z.js b/static/js/index-SA0clldc.js similarity index 96% rename from static/js/index-B2oqbt8z.js rename to static/js/index-SA0clldc.js index 8e58f201b0..a400c80cd2 100644 --- a/static/js/index-B2oqbt8z.js +++ b/static/js/index-SA0clldc.js @@ -1 +1 @@ -import{d as I,a6 as M,a7 as N,p as y,gp as H,a9 as S,a as U,fH as E,e as p,f as g,b as j,w as l,g as i,i as n,h as s,k as B,F as x,l as q,u as a,t as b,aa as w,gq as $}from"./index-AFhnwzwZ.js";import{u as L}from"./hooks-CCVbvWD9.js";const P={class:"flex flex-wrap items-center"},_={class:"flex flex-wrap items-center"},K=I({name:"Tabs",__name:"index",setup(z){const{toDetail:v,router:o}=L(),D=M(N().wholeMenus,!0),k=y(()=>H(S(D),0,{disabled:!0})),f=U([]),C=y(()=>{var r;return(r=E())==null?void 0:r.multiTags});function T(){f.value.length!==0&&f.value.forEach(r=>{var d;const e=(d=$(k.value,r).redirect)!=null?d:$(k.value,r).path;E().handleTags("splice",e),e==="/tabs/index"&&o.push({path:C.value[C.value.length-1].path})})}return(r,e)=>{const d=p("el-link"),u=p("el-button"),m=p("el-divider"),V=p("el-tree-select"),A=p("el-card");return g(),j(A,{shadow:"never"},{header:l(()=>[e[9]||(e[9]=i("div",{class:"font-medium"},"标签页复用,超出限制自动关闭",-1)),n(d,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/tabs",target:"_blank"},{default:l(()=>e[8]||(e[8]=[s(" 代码位置 src/views/tabs ")])),_:1})]),default:l(()=>[i("div",P,[e[11]||(e[11]=i("p",null,"query传参模式:",-1)),(g(),B(x,null,q(6,t=>n(u,{key:t,class:"m-2",onClick:F=>a(v)({id:t},"query")},{default:l(()=>[s(" 打开"+b(t)+"详情页 ",1)]),_:2},1032,["onClick"])),64)),n(u,{onClick:e[0]||(e[0]=t=>a(v)({id:666,name:"小明",age:18,job:"工程师"},"query"))},{default:l(()=>e[10]||(e[10]=[s(" 多个参数 ")])),_:1})]),n(m),i("div",_,[e[12]||(e[12]=i("p",null,"params传参模式:",-1)),(g(),B(x,null,q(6,t=>n(u,{key:t,class:"m-2",onClick:F=>a(v)({id:t},"params")},{default:l(()=>[s(" 打开"+b(t)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),n(m),n(V,{modelValue:f.value,"onUpdate:modelValue":e[1]||(e[1]=t=>f.value=t),class:"!w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:t=>a(w)(t.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:k.value},{default:l(({data:t})=>[i("span",null,b(a(w)(t.meta.title)),1)]),_:1},8,["modelValue","props","data"]),n(u,{class:"m-2",onClick:T},{default:l(()=>e[13]||(e[13]=[s("关闭标签")])),_:1}),n(m),n(u,{onClick:e[2]||(e[2]=t=>a(o).push({name:"Menu1-2-2"}))},{default:l(()=>e[14]||(e[14]=[s(" 跳转页内菜单(传name对象,优先推荐) ")])),_:1}),n(u,{onClick:e[3]||(e[3]=t=>a(o).push("/nested/menu1/menu1-2/menu1-2-2"))},{default:l(()=>e[15]||(e[15]=[s(" 跳转页内菜单(直接传要跳转的路径) ")])),_:1}),n(u,{onClick:e[4]||(e[4]=t=>a(o).push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:l(()=>e[16]||(e[16]=[s(" 跳转页内菜单(传path对象) ")])),_:1}),n(m),n(u,{onClick:e[5]||(e[5]=t=>a(o).push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:l(()=>e[17]||(e[17]=[s(" 携参跳转页内菜单(传name对象,优先推荐) ")])),_:1}),n(u,{onClick:e[6]||(e[6]=t=>a(o).push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:l(()=>e[18]||(e[18]=[s(" 携参跳转页内菜单(传path对象) ")])),_:1}),n(d,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:l(()=>e[19]||(e[19]=[s(" 点击查看更多跳转方式 ")])),_:1}),n(m),n(u,{onClick:e[7]||(e[7]=t=>a(o).push({name:"Empty"}))},{default:l(()=>e[20]||(e[20]=[s(" 跳转无Layout的空白页面 ")])),_:1})]),_:1})}}});export{K as default}; +import{d as I,a6 as M,a7 as N,p as y,gp as H,a9 as S,a as U,fH as E,e as p,f as g,b as j,w as l,g as i,i as n,h as s,k as B,F as x,l as q,u as a,t as b,aa as w,gq as $}from"./index-DqH6biyS.js";import{u as L}from"./hooks-BhaKDZih.js";const P={class:"flex flex-wrap items-center"},_={class:"flex flex-wrap items-center"},K=I({name:"Tabs",__name:"index",setup(z){const{toDetail:v,router:o}=L(),D=M(N().wholeMenus,!0),k=y(()=>H(S(D),0,{disabled:!0})),f=U([]),C=y(()=>{var r;return(r=E())==null?void 0:r.multiTags});function T(){f.value.length!==0&&f.value.forEach(r=>{var d;const e=(d=$(k.value,r).redirect)!=null?d:$(k.value,r).path;E().handleTags("splice",e),e==="/tabs/index"&&o.push({path:C.value[C.value.length-1].path})})}return(r,e)=>{const d=p("el-link"),u=p("el-button"),m=p("el-divider"),V=p("el-tree-select"),A=p("el-card");return g(),j(A,{shadow:"never"},{header:l(()=>[e[9]||(e[9]=i("div",{class:"font-medium"},"标签页复用,超出限制自动关闭",-1)),n(d,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/tabs",target:"_blank"},{default:l(()=>e[8]||(e[8]=[s(" 代码位置 src/views/tabs ")])),_:1})]),default:l(()=>[i("div",P,[e[11]||(e[11]=i("p",null,"query传参模式:",-1)),(g(),B(x,null,q(6,t=>n(u,{key:t,class:"m-2",onClick:F=>a(v)({id:t},"query")},{default:l(()=>[s(" 打开"+b(t)+"详情页 ",1)]),_:2},1032,["onClick"])),64)),n(u,{onClick:e[0]||(e[0]=t=>a(v)({id:666,name:"小明",age:18,job:"工程师"},"query"))},{default:l(()=>e[10]||(e[10]=[s(" 多个参数 ")])),_:1})]),n(m),i("div",_,[e[12]||(e[12]=i("p",null,"params传参模式:",-1)),(g(),B(x,null,q(6,t=>n(u,{key:t,class:"m-2",onClick:F=>a(v)({id:t},"params")},{default:l(()=>[s(" 打开"+b(t)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),n(m),n(V,{modelValue:f.value,"onUpdate:modelValue":e[1]||(e[1]=t=>f.value=t),class:"!w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:t=>a(w)(t.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:k.value},{default:l(({data:t})=>[i("span",null,b(a(w)(t.meta.title)),1)]),_:1},8,["modelValue","props","data"]),n(u,{class:"m-2",onClick:T},{default:l(()=>e[13]||(e[13]=[s("关闭标签")])),_:1}),n(m),n(u,{onClick:e[2]||(e[2]=t=>a(o).push({name:"Menu1-2-2"}))},{default:l(()=>e[14]||(e[14]=[s(" 跳转页内菜单(传name对象,优先推荐) ")])),_:1}),n(u,{onClick:e[3]||(e[3]=t=>a(o).push("/nested/menu1/menu1-2/menu1-2-2"))},{default:l(()=>e[15]||(e[15]=[s(" 跳转页内菜单(直接传要跳转的路径) ")])),_:1}),n(u,{onClick:e[4]||(e[4]=t=>a(o).push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:l(()=>e[16]||(e[16]=[s(" 跳转页内菜单(传path对象) ")])),_:1}),n(m),n(u,{onClick:e[5]||(e[5]=t=>a(o).push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:l(()=>e[17]||(e[17]=[s(" 携参跳转页内菜单(传name对象,优先推荐) ")])),_:1}),n(u,{onClick:e[6]||(e[6]=t=>a(o).push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:l(()=>e[18]||(e[18]=[s(" 携参跳转页内菜单(传path对象) ")])),_:1}),n(d,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:l(()=>e[19]||(e[19]=[s(" 点击查看更多跳转方式 ")])),_:1}),n(m),n(u,{onClick:e[7]||(e[7]=t=>a(o).push({name:"Empty"}))},{default:l(()=>e[20]||(e[20]=[s(" 跳转无Layout的空白页面 ")])),_:1})]),_:1})}}});export{K as default}; diff --git a/static/js/index-UO9G2m0U.js b/static/js/index-UO9G2m0U.js deleted file mode 100644 index 4c5c36015b..0000000000 --- a/static/js/index-UO9G2m0U.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CL6ssXl7.js";import"./columns-DfnzjBq4.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-DCLVZHw7.js b/static/js/index-VuOdZNJM.js similarity index 94% rename from static/js/index-DCLVZHw7.js rename to static/js/index-VuOdZNJM.js index f42675db4c..e0aba1ad66 100644 --- a/static/js/index-DCLVZHw7.js +++ b/static/js/index-VuOdZNJM.js @@ -1 +1 @@ -var d=Object.defineProperty;var i=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var p=(n,e,t)=>e in n?d(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,o=(n,e)=>{for(var t in e||(e={}))h.call(e,t)&&p(n,t,e[t]);if(i)for(var t of i(e))x.call(e,t)&&p(n,t,e[t]);return n};import{d as v,aY as y,a as c,m as C,aQ as g,b,w as P,a3 as R,q as T,L as _,e as M,f as $,Q as k,V as w}from"./index-AFhnwzwZ.js";const H=v({name:"ReText",__name:"index",props:{lineClamp:{type:[String,Number]},tippyProps:{type:Object,default:()=>({})}},setup(n){const e=n,t=y(),l=c(),a=c(),u=s=>e.lineClamp?s.scrollHeight>s.clientHeight:s.scrollWidth>s.clientWidth,r=()=>o({content:_(t.content||t.default)},e.tippyProps);function f(s){u(s.target)?(a.value.setProps(r()),a.value.enable()):a.value.disable()}return C(()=>{var s;a.value=g((s=l.value)==null?void 0:s.$el,r())}),(s,S)=>{const m=M("el-text");return $(),b(m,R(o({truncated:!n.lineClamp,lineClamp:n.lineClamp},s.$attrs),{ref_key:"textRef",ref:l,onMouseover:T(f,["self"])}),{default:P(()=>[k(s.$slots,"default")]),_:3},16)}}}),W=w(H);export{W as R}; +var d=Object.defineProperty;var i=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var p=(n,e,t)=>e in n?d(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,o=(n,e)=>{for(var t in e||(e={}))h.call(e,t)&&p(n,t,e[t]);if(i)for(var t of i(e))x.call(e,t)&&p(n,t,e[t]);return n};import{d as v,aY as y,a as c,m as C,aQ as g,b,w as P,a3 as R,q as T,L as _,e as M,f as $,Q as k,V as w}from"./index-DqH6biyS.js";const H=v({name:"ReText",__name:"index",props:{lineClamp:{type:[String,Number]},tippyProps:{type:Object,default:()=>({})}},setup(n){const e=n,t=y(),l=c(),a=c(),u=s=>e.lineClamp?s.scrollHeight>s.clientHeight:s.scrollWidth>s.clientWidth,r=()=>o({content:_(t.content||t.default)},e.tippyProps);function f(s){u(s.target)?(a.value.setProps(r()),a.value.enable()):a.value.disable()}return C(()=>{var s;a.value=g((s=l.value)==null?void 0:s.$el,r())}),(s,S)=>{const m=M("el-text");return $(),b(m,R(o({truncated:!n.lineClamp,lineClamp:n.lineClamp},s.$attrs),{ref_key:"textRef",ref:l,onMouseover:T(f,["self"])}),{default:P(()=>[k(s.$slots,"default")]),_:3},16)}}}),W=w(H);export{W as R}; diff --git a/static/js/index-C-LhdMC8.js b/static/js/index-XqLXsUZl.js similarity index 99% rename from static/js/index-C-LhdMC8.js rename to static/js/index-XqLXsUZl.js index 451a1bf896..4547d62288 100644 --- a/static/js/index-C-LhdMC8.js +++ b/static/js/index-XqLXsUZl.js @@ -1 +1 @@ -var nv=Object.defineProperty,tv=Object.defineProperties;var av=Object.getOwnPropertyDescriptors;var Qu=Object.getOwnPropertySymbols;var iv=Object.prototype.hasOwnProperty,uv=Object.prototype.propertyIsEnumerable;var es=(e,r,n)=>r in e?nv(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,Ir=(e,r)=>{for(var n in r||(r={}))iv.call(r,n)&&es(e,n,r[n]);if(Qu)for(var n of Qu(r))uv.call(r,n)&&es(e,n,r[n]);return e},Tr=(e,r)=>tv(e,av(r));var Q=(e,r,n)=>new Promise((t,a)=>{var i=o=>{try{s(n.next(o))}catch(c){a(c)}},u=o=>{try{s(n.throw(o))}catch(c){a(c)}},s=o=>o.done?t(o.value):Promise.resolve(o.value).then(i,u);s((n=n.apply(e,r)).next())});import{_ as Pe}from"./icon.vue_vue_type_script_setup_true_lang-msD6PBdr.js";import{c as Ye,S as sv,a as Te,P as Ru,O as rs,d as ch,p as ov,f as pe,k as De,Q as Cr,g as fe,u as D,b as ns,j as ts,s as fv,L as dh,i as H,w as Xe,y as as,_ as cv}from"./index-AFhnwzwZ.js";import{c as Cu}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{u as ar,P as Ze,_ as dv,a as hv}from"./vue-flow-core-BWd71HaQ.js";import lv from"./processNode-BR98Y4-C.js";import vv from"./animationEdge-Bsm6EJWI.js";var Ar,is;function pv(){if(is)return Ar;is=1;function e(){this.__data__=[],this.size=0}return Ar=e,Ar}var Sr,us;function Ce(){if(us)return Sr;us=1;function e(r,n){return r===n||r!==r&&n!==n}return Sr=e,Sr}var Or,ss;function ir(){if(ss)return Or;ss=1;var e=Ce();function r(n,t){for(var a=n.length;a--;)if(e(n[a][0],t))return a;return-1}return Or=r,Or}var xr,os;function _v(){if(os)return xr;os=1;var e=ir(),r=Array.prototype,n=r.splice;function t(a){var i=this.__data__,u=e(i,a);if(u<0)return!1;var s=i.length-1;return u==s?i.pop():n.call(i,u,1),--this.size,!0}return xr=t,xr}var Pr,fs;function gv(){if(fs)return Pr;fs=1;var e=ir();function r(n){var t=this.__data__,a=e(t,n);return a<0?void 0:t[a][1]}return Pr=r,Pr}var Mr,cs;function bv(){if(cs)return Mr;cs=1;var e=ir();function r(n){return e(this.__data__,n)>-1}return Mr=r,Mr}var Lr,ds;function yv(){if(ds)return Lr;ds=1;var e=ir();function r(n,t){var a=this.__data__,i=e(a,n);return i<0?(++this.size,a.push([n,t])):a[i][1]=t,this}return Lr=r,Lr}var kr,hs;function ur(){if(hs)return kr;hs=1;var e=pv(),r=_v(),n=gv(),t=bv(),a=yv();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s-1&&t%1==0&&t-1&&n%1==0&&n<=e}return xn=r,xn}var Pn,fo;function Vv(){if(fo)return Pn;fo=1;var e=ge(),r=xu(),n=Z(),t="[object Arguments]",a="[object Array]",i="[object Boolean]",u="[object Date]",s="[object Error]",o="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",h="[object RegExp]",l="[object Set]",p="[object String]",v="[object WeakMap]",_="[object ArrayBuffer]",g="[object DataView]",b="[object Float32Array]",m="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",q="[object Int32Array]",y="[object Uint8Array]",T="[object Uint8ClampedArray]",S="[object Uint16Array]",x="[object Uint32Array]",E={};E[b]=E[m]=E[w]=E[C]=E[q]=E[y]=E[T]=E[S]=E[x]=!0,E[t]=E[a]=E[_]=E[i]=E[g]=E[u]=E[s]=E[o]=E[c]=E[f]=E[d]=E[h]=E[l]=E[p]=E[v]=!1;function L(N){return n(N)&&r(N.length)&&!!E[e(N)]}return Pn=L,Pn}var Mn,co;function lr(){if(co)return Mn;co=1;function e(r){return function(n){return r(n)}}return Mn=e,Mn}var Le={exports:{}};Le.exports;var ho;function Pu(){return ho||(ho=1,function(e,r){var n=hh(),t=r&&!r.nodeType&&r,a=t&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===t,u=i&&n.process,s=function(){try{var o=a&&a.require&&a.require("util").types;return o||u&&u.binding&&u.binding("util")}catch(c){}}();e.exports=s}(Le,Le.exports)),Le.exports}var Ln,lo;function Ue(){if(lo)return Ln;lo=1;var e=Vv(),r=lr(),n=Pu(),t=n&&n.isTypedArray,a=t?r(t):e;return Ln=a,Ln}var kn,vo;function ph(){if(vo)return kn;vo=1;var e=Uv(),r=$e(),n=k(),t=Se(),a=hr(),i=Ue(),u=Object.prototype,s=u.hasOwnProperty;function o(c,f){var d=n(c),h=!d&&r(c),l=!d&&!h&&t(c),p=!d&&!h&&!l&&i(c),v=d||h||l||p,_=v?e(c.length,String):[],g=_.length;for(var b in c)(f||s.call(c,b))&&!(v&&(b=="length"||l&&(b=="offset"||b=="parent")||p&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||a(b,g)))&&_.push(b);return _}return kn=o,kn}var Nn,po;function vr(){if(po)return Nn;po=1;var e=Object.prototype;function r(n){var t=n&&n.constructor,a=typeof t=="function"&&t.prototype||e;return n===a}return Nn=r,Nn}var Fn,_o;function _h(){if(_o)return Fn;_o=1;function e(r,n){return function(t){return r(n(t))}}return Fn=e,Fn}var jn,go;function Hv(){if(go)return jn;go=1;var e=_h(),r=e(Object.keys,Object);return jn=r,jn}var Dn,bo;function Mu(){if(bo)return Dn;bo=1;var e=vr(),r=Hv(),n=Object.prototype,t=n.hasOwnProperty;function a(i){if(!e(i))return r(i);var u=[];for(var s in Object(i))t.call(i,s)&&s!="constructor"&&u.push(s);return u}return Dn=a,Dn}var Gn,yo;function ae(){if(yo)return Gn;yo=1;var e=Ge(),r=xu();function n(t){return t!=null&&r(t.length)&&!e(t)}return Gn=n,Gn}var Bn,mo;function le(){if(mo)return Bn;mo=1;var e=ph(),r=Mu(),n=ae();function t(a){return n(a)?e(a):r(a)}return Bn=t,Bn}var $n,qo;function Wv(){if(qo)return $n;qo=1;var e=Be(),r=le();function n(t,a){return t&&e(a,r(a),t)}return $n=n,$n}var Un,wo;function Yv(){if(wo)return Un;wo=1;function e(r){var n=[];if(r!=null)for(var t in Object(r))n.push(t);return n}return Un=e,Un}var zn,Ro;function Xv(){if(Ro)return zn;Ro=1;var e=B(),r=vr(),n=Yv(),t=Object.prototype,a=t.hasOwnProperty;function i(u){if(!e(u))return n(u);var s=r(u),o=[];for(var c in u)c=="constructor"&&(s||!a.call(u,c))||o.push(c);return o}return zn=i,zn}var Kn,Eo;function ye(){if(Eo)return Kn;Eo=1;var e=ph(),r=Xv(),n=ae();function t(a){return n(a)?e(a,!0):r(a)}return Kn=t,Kn}var Vn,Io;function Zv(){if(Io)return Vn;Io=1;var e=Be(),r=ye();function n(t,a){return t&&e(a,r(a),t)}return Vn=n,Vn}var ke={exports:{}};ke.exports;var To;function gh(){return To||(To=1,function(e,r){var n=K(),t=r&&!r.nodeType&&r,a=t&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===t,u=i?n.Buffer:void 0,s=u?u.allocUnsafe:void 0;function o(c,f){if(f)return c.slice();var d=c.length,h=s?s(d):new c.constructor(d);return c.copy(h),h}e.exports=o}(ke,ke.exports)),ke.exports}var Hn,Co;function bh(){if(Co)return Hn;Co=1;function e(r,n){var t=-1,a=r.length;for(n||(n=Array(a));++tl))return!1;var v=d.get(u),_=d.get(s);if(v&&_)return v==s&&_==u;var g=-1,b=!0,m=o&a?new e:void 0;for(d.set(u,s),d.set(s,u);++g0&&i(f)?a>1?n(f,a-1,i,u,s):e(s,f):u||(s[s.length]=f)}return s}return ja=n,ja}var Da,mc;function Wp(){if(mc)return Da;mc=1;function e(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}return Da=e,Da}var Ga,qc;function Yh(){if(qc)return Ga;qc=1;var e=Wp(),r=Math.max;function n(t,a,i){return a=r(a===void 0?t.length-1:a,0),function(){for(var u=arguments,s=-1,o=r(u.length-a,0),c=Array(o);++s0){if(++i>=e)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}return $a=t,$a}var Ua,Ec;function Xh(){if(Ec)return Ua;Ec=1;var e=Yp(),r=Xp(),n=r(e);return Ua=n,Ua}var za,Ic;function mr(){if(Ic)return za;Ic=1;var e=me(),r=Yh(),n=Xh();function t(a,i){return n(r(a,i,e),a+"")}return za=t,za}var Ka,Tc;function Zh(){if(Tc)return Ka;Tc=1;function e(r,n,t,a){for(var i=r.length,u=t+(a?1:-1);a?u--:++u-1}return Ya=r,Ya}var Xa,xc;function r_(){if(xc)return Xa;xc=1;function e(r,n,t){for(var a=-1,i=r==null?0:r.length;++a=u){var g=c?null:a(o);if(g)return i(g);p=!1,h=t,_=new e}else _=c?[]:v;e:for(;++d1?l.setNode(p,d):l.setNode(p)}),this},a.prototype.setNode=function(f,d){return e.has(this._nodes,f)?(arguments.length>1&&(this._nodes[f]=d),this):(this._nodes[f]=arguments.length>1?d:this._defaultNodeLabelFn(f),this._isCompound&&(this._parent[f]=n,this._children[f]={},this._children[n][f]=!0),this._in[f]={},this._preds[f]={},this._out[f]={},this._sucs[f]={},++this._nodeCount,this)},a.prototype.node=function(f){return this._nodes[f]},a.prototype.hasNode=function(f){return e.has(this._nodes,f)},a.prototype.removeNode=function(f){var d=this;if(e.has(this._nodes,f)){var h=function(l){d.removeEdge(d._edgeObjs[l])};delete this._nodes[f],this._isCompound&&(this._removeFromParentsChildList(f),delete this._parent[f],e.each(this.children(f),function(l){d.setParent(l)}),delete this._children[f]),e.each(e.keys(this._in[f]),h),delete this._in[f],delete this._preds[f],e.each(e.keys(this._out[f]),h),delete this._out[f],delete this._sucs[f],--this._nodeCount}return this},a.prototype.setParent=function(f,d){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(e.isUndefined(d))d=n;else{d+="";for(var h=d;!e.isUndefined(h);h=this.parent(h))if(h===f)throw new Error("Setting "+d+" as parent of "+f+" would create a cycle");this.setNode(d)}return this.setNode(f),this._removeFromParentsChildList(f),this._parent[f]=d,this._children[d][f]=!0,this},a.prototype._removeFromParentsChildList=function(f){delete this._children[this._parent[f]][f]},a.prototype.parent=function(f){if(this._isCompound){var d=this._parent[f];if(d!==n)return d}},a.prototype.children=function(f){if(e.isUndefined(f)&&(f=n),this._isCompound){var d=this._children[f];if(d)return e.keys(d)}else{if(f===n)return this.nodes();if(this.hasNode(f))return[]}},a.prototype.predecessors=function(f){var d=this._preds[f];if(d)return e.keys(d)},a.prototype.successors=function(f){var d=this._sucs[f];if(d)return e.keys(d)},a.prototype.neighbors=function(f){var d=this.predecessors(f);if(d)return e.union(d,this.successors(f))},a.prototype.isLeaf=function(f){var d;return this.isDirected()?d=this.successors(f):d=this.neighbors(f),d.length===0},a.prototype.filterNodes=function(f){var d=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});d.setGraph(this.graph());var h=this;e.each(this._nodes,function(v,_){f(_)&&d.setNode(_,v)}),e.each(this._edgeObjs,function(v){d.hasNode(v.v)&&d.hasNode(v.w)&&d.setEdge(v,h.edge(v))});var l={};function p(v){var _=h.parent(v);return _===void 0||d.hasNode(_)?(l[v]=_,_):_ in l?l[_]:p(_)}return this._isCompound&&e.each(d.nodes(),function(v){d.setParent(v,p(v))}),d},a.prototype.setDefaultEdgeLabel=function(f){return e.isFunction(f)||(f=e.constant(f)),this._defaultEdgeLabelFn=f,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return e.values(this._edgeObjs)},a.prototype.setPath=function(f,d){var h=this,l=arguments;return e.reduce(f,function(p,v){return l.length>1?h.setEdge(p,v,d):h.setEdge(p,v),v}),this},a.prototype.setEdge=function(){var f,d,h,l,p=!1,v=arguments[0];typeof v=="object"&&v!==null&&"v"in v?(f=v.v,d=v.w,h=v.name,arguments.length===2&&(l=arguments[1],p=!0)):(f=v,d=arguments[1],h=arguments[3],arguments.length>2&&(l=arguments[2],p=!0)),f=""+f,d=""+d,e.isUndefined(h)||(h=""+h);var _=s(this._isDirected,f,d,h);if(e.has(this._edgeLabels,_))return p&&(this._edgeLabels[_]=l),this;if(!e.isUndefined(h)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(f),this.setNode(d),this._edgeLabels[_]=p?l:this._defaultEdgeLabelFn(f,d,h);var g=o(this._isDirected,f,d,h);return f=g.v,d=g.w,Object.freeze(g),this._edgeObjs[_]=g,i(this._preds[d],f),i(this._sucs[f],d),this._in[d][_]=g,this._out[f][_]=g,this._edgeCount++,this},a.prototype.edge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h);return this._edgeLabels[l]},a.prototype.hasEdge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h);return e.has(this._edgeLabels,l)},a.prototype.removeEdge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h),p=this._edgeObjs[l];return p&&(f=p.v,d=p.w,delete this._edgeLabels[l],delete this._edgeObjs[l],u(this._preds[d],f),u(this._sucs[f],d),delete this._in[d][l],delete this._out[f][l],this._edgeCount--),this},a.prototype.inEdges=function(f,d){var h=this._in[f];if(h){var l=e.values(h);return d?e.filter(l,function(p){return p.v===d}):l}},a.prototype.outEdges=function(f,d){var h=this._out[f];if(h){var l=e.values(h);return d?e.filter(l,function(p){return p.w===d}):l}},a.prototype.nodeEdges=function(f,d){var h=this.inEdges(f,d);if(h)return h.concat(this.outEdges(f,d))};function i(f,d){f[d]?f[d]++:f[d]=1}function u(f,d){--f[d]||delete f[d]}function s(f,d,h,l){var p=""+d,v=""+h;if(!f&&p>v){var _=p;p=v,v=_}return p+t+v+t+(e.isUndefined(l)?r:l)}function o(f,d,h,l){var p=""+d,v=""+h;if(!f&&p>v){var _=p;p=v,v=_}var g={v:p,w:v};return l&&(g.name=l),g}function c(f,d){return s(f,d.v,d.w,d.name)}return ii}var ui,Bc;function s_(){return Bc||(Bc=1,ui="2.1.8"),ui}var si,$c;function o_(){return $c||($c=1,si={Graph:Uu(),version:s_()}),si}var oi,Uc;function f_(){if(Uc)return oi;Uc=1;var e=$(),r=Uu();oi={write:n,read:i};function n(u){var s={options:{directed:u.isDirected(),multigraph:u.isMultigraph(),compound:u.isCompound()},nodes:t(u),edges:a(u)};return e.isUndefined(u.graph())||(s.value=e.clone(u.graph())),s}function t(u){return e.map(u.nodes(),function(s){var o=u.node(s),c=u.parent(s),f={v:s};return e.isUndefined(o)||(f.value=o),e.isUndefined(c)||(f.parent=c),f})}function a(u){return e.map(u.edges(),function(s){var o=u.edge(s),c={v:s.v,w:s.w};return e.isUndefined(s.name)||(c.name=s.name),e.isUndefined(o)||(c.value=o),c})}function i(u){var s=new r(u.options).setGraph(u.value);return e.each(u.nodes,function(o){s.setNode(o.v,o.value),o.parent&&s.setParent(o.v,o.parent)}),e.each(u.edges,function(o){s.setEdge({v:o.v,w:o.w,name:o.name},o.value)}),s}return oi}var fi,zc;function c_(){if(zc)return fi;zc=1;var e=$();fi=r;function r(n){var t={},a=[],i;function u(s){e.has(t,s)||(t[s]=!0,i.push(s),e.each(n.successors(s),u),e.each(n.predecessors(s),u))}return e.each(n.nodes(),function(s){i=[],u(s),i.length&&a.push(i)}),a}return fi}var ci,Kc;function el(){if(Kc)return ci;Kc=1;var e=$();ci=r;function r(){this._arr=[],this._keyIndices={}}return r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(n){return n.key})},r.prototype.has=function(n){return e.has(this._keyIndices,n)},r.prototype.priority=function(n){var t=this._keyIndices[n];if(t!==void 0)return this._arr[t].priority},r.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(n,t){var a=this._keyIndices;if(n=String(n),!e.has(a,n)){var i=this._arr,u=i.length;return a[n]=u,i.push({key:n,priority:t}),this._decrease(u),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},r.prototype.decrease=function(n,t){var a=this._keyIndices[n];if(t>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+t);this._arr[a].priority=t,this._decrease(a)},r.prototype._heapify=function(n){var t=this._arr,a=2*n,i=a+1,u=n;a>1,!(t[i].priority0&&(d=f.removeMin(),h=c[d],h.distance!==Number.POSITIVE_INFINITY);)o(d).forEach(l);return c}return di}var hi,Hc;function d_(){if(Hc)return hi;Hc=1;var e=rl(),r=$();hi=n;function n(t,a,i){return r.transform(t.nodes(),function(u,s){u[s]=e(t,s,a,i)},{})}return hi}var li,Wc;function nl(){if(Wc)return li;Wc=1;var e=$();li=r;function r(n){var t=0,a=[],i={},u=[];function s(o){var c=i[o]={onStack:!0,lowlink:t,index:t++};if(a.push(o),n.successors(o).forEach(function(h){e.has(i,h)?i[h].onStack&&(c.lowlink=Math.min(c.lowlink,i[h].index)):(s(h),c.lowlink=Math.min(c.lowlink,i[h].lowlink))}),c.lowlink===c.index){var f=[],d;do d=a.pop(),i[d].onStack=!1,f.push(d);while(o!==d);u.push(f)}}return n.nodes().forEach(function(o){e.has(i,o)||s(o)}),u}return li}var vi,Yc;function h_(){if(Yc)return vi;Yc=1;var e=$(),r=nl();vi=n;function n(t){return e.filter(r(t),function(a){return a.length>1||a.length===1&&t.hasEdge(a[0],a[0])})}return vi}var pi,Xc;function l_(){if(Xc)return pi;Xc=1;var e=$();pi=n;var r=e.constant(1);function n(a,i,u){return t(a,i||r,u||function(s){return a.outEdges(s)})}function t(a,i,u){var s={},o=a.nodes();return o.forEach(function(c){s[c]={},s[c][c]={distance:0},o.forEach(function(f){c!==f&&(s[c][f]={distance:Number.POSITIVE_INFINITY})}),u(c).forEach(function(f){var d=f.v===c?f.w:f.v,h=i(f);s[c][d]={distance:h,predecessor:c}})}),o.forEach(function(c){var f=s[c];o.forEach(function(d){var h=s[d];o.forEach(function(l){var p=h[c],v=f[l],_=h[l],g=p.distance+v.distance;g<_.distance&&(_.distance=g,_.predecessor=v.predecessor)})})}),s}return pi}var _i,Zc;function tl(){if(Zc)return _i;Zc=1;var e=$();_i=r,r.CycleException=n;function r(t){var a={},i={},u=[];function s(o){if(e.has(i,o))throw new n;e.has(a,o)||(i[o]=!0,a[o]=!0,e.each(t.predecessors(o),s),delete i[o],u.push(o))}if(e.each(t.sinks(),s),e.size(a)!==t.nodeCount())throw new n;return u}function n(){}return n.prototype=new Error,_i}var gi,Jc;function v_(){if(Jc)return gi;Jc=1;var e=tl();gi=r;function r(n){try{e(n)}catch(t){if(t instanceof e.CycleException)return!1;throw t}return!0}return gi}var bi,Qc;function al(){if(Qc)return bi;Qc=1;var e=$();bi=r;function r(t,a,i){e.isArray(a)||(a=[a]);var u=(t.isDirected()?t.successors:t.neighbors).bind(t),s=[],o={};return e.each(a,function(c){if(!t.hasNode(c))throw new Error("Graph does not have node: "+c);n(t,c,i==="post",o,u,s)}),s}function n(t,a,i,u,s,o){e.has(u,a)||(u[a]=!0,i||o.push(a),e.each(s(a),function(c){n(t,c,i,u,s,o)}),i&&o.push(a))}return bi}var yi,ed;function p_(){if(ed)return yi;ed=1;var e=al();yi=r;function r(n,t){return e(n,t,"post")}return yi}var mi,rd;function __(){if(rd)return mi;rd=1;var e=al();mi=r;function r(n,t){return e(n,t,"pre")}return mi}var qi,nd;function g_(){if(nd)return qi;nd=1;var e=$(),r=Uu(),n=el();qi=t;function t(a,i){var u=new r,s={},o=new n,c;function f(h){var l=h.v===c?h.w:h.v,p=o.priority(l);if(p!==void 0){var v=i(h);v0;){if(c=o.removeMin(),e.has(s,c))u.setEdge(c,s[c]);else{if(d)throw new Error("Input graph is not connected: "+a);d=!0}a.nodeEdges(c).forEach(f)}return u}return qi}var wi,td;function b_(){return td||(td=1,wi={components:c_(),dijkstra:rl(),dijkstraAll:d_(),findCycles:h_(),floydWarshall:l_(),isAcyclic:v_(),postorder:p_(),preorder:__(),prim:g_(),tarjan:nl(),topsort:tl()}),wi}var Ri,ad;function y_(){if(ad)return Ri;ad=1;var e=o_();return Ri={Graph:e.Graph,json:f_(),alg:b_(),version:e.version},Ri}var er;if(typeof Cu=="function")try{er=y_()}catch(e){}er||(er=window.graphlib);var V=er,Ei,id;function m_(){if(id)return Ei;id=1;var e=Sh(),r=1,n=4;function t(a){return e(a,r|n)}return Ei=t,Ei}var Ii,ud;function qr(){if(ud)return Ii;ud=1;var e=Ce(),r=ae(),n=hr(),t=B();function a(i,u,s){if(!t(s))return!1;var o=typeof u;return(o=="number"?r(s)&&n(u,s.length):o=="string"&&u in s)?e(s[u],i):!1}return Ii=a,Ii}var Ti,sd;function q_(){if(sd)return Ti;sd=1;var e=mr(),r=Ce(),n=qr(),t=ye(),a=Object.prototype,i=a.hasOwnProperty,u=e(function(s,o){s=Object(s);var c=-1,f=o.length,d=f>2?o[2]:void 0;for(d&&n(o[0],o[1],d)&&(f=1);++c-1?o[c?i[f]:f]:void 0}}return Ci=t,Ci}var Ai,fd;function R_(){if(fd)return Ai;fd=1;var e=/\s/;function r(n){for(var t=n.length;t--&&e.test(n.charAt(t)););return t}return Ai=r,Ai}var Si,cd;function E_(){if(cd)return Si;cd=1;var e=R_(),r=/^\s+/;function n(t){return t&&t.slice(0,e(t)+1).replace(r,"")}return Si=n,Si}var Oi,dd;function I_(){if(dd)return Oi;dd=1;var e=E_(),r=B(),n=xe(),t=NaN,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;function o(c){if(typeof c=="number")return c;if(n(c))return t;if(r(c)){var f=typeof c.valueOf=="function"?c.valueOf():c;c=r(f)?f+"":f}if(typeof c!="string")return c===0?c:+c;c=e(c);var d=i.test(c);return d||u.test(c)?s(c.slice(2),d?2:8):a.test(c)?t:+c}return Oi=o,Oi}var xi,hd;function il(){if(hd)return xi;hd=1;var e=I_(),r=1/0,n=17976931348623157e292;function t(a){if(!a)return a===0?a:0;if(a=e(a),a===r||a===-r){var i=a<0?-1:1;return i*n}return a===a?a:0}return xi=t,xi}var Pi,ld;function T_(){if(ld)return Pi;ld=1;var e=il();function r(n){var t=e(n),a=t%1;return t===t?a?t-a:t:0}return Pi=r,Pi}var Mi,vd;function C_(){if(vd)return Mi;vd=1;var e=Zh(),r=ie(),n=T_(),t=Math.max;function a(i,u,s){var o=i==null?0:i.length;if(!o)return-1;var c=s==null?0:n(s);return c<0&&(c=t(o+c,0)),e(i,r(u,3),c)}return Mi=a,Mi}var Li,pd;function A_(){if(pd)return Li;pd=1;var e=w_(),r=C_(),n=e(r);return Li=n,Li}var ki,_d;function ul(){if(_d)return ki;_d=1;var e=$u();function r(n){var t=n==null?0:n.length;return t?e(n,1):[]}return ki=r,ki}var Ni,gd;function S_(){if(gd)return Ni;gd=1;var e=ju(),r=Oh(),n=ye();function t(a,i){return a==null?a:e(a,r(i),n)}return Ni=t,Ni}var Fi,bd;function O_(){if(bd)return Fi;bd=1;function e(r){var n=r==null?0:r.length;return n?r[n-1]:void 0}return Fi=e,Fi}var ji,yd;function x_(){if(yd)return ji;yd=1;var e=cr(),r=Du(),n=ie();function t(a,i){var u={};return i=n(i,3),r(a,function(s,o,c){e(u,o,i(s,o,c))}),u}return ji=t,ji}var Di,md;function zu(){if(md)return Di;md=1;var e=xe();function r(n,t,a){for(var i=-1,u=n.length;++in}return Gi=e,Gi}var Bi,wd;function M_(){if(wd)return Bi;wd=1;var e=zu(),r=P_(),n=me();function t(a){return a&&a.length?e(a,n,r):void 0}return Bi=t,Bi}var $i,Rd;function sl(){if(Rd)return $i;Rd=1;var e=cr(),r=Ce();function n(t,a,i){(i!==void 0&&!r(t[a],i)||i===void 0&&!(a in t))&&e(t,a,i)}return $i=n,$i}var Ui,Ed;function L_(){if(Ed)return Ui;Ed=1;var e=ge(),r=pr(),n=Z(),t="[object Object]",a=Function.prototype,i=Object.prototype,u=a.toString,s=i.hasOwnProperty,o=u.call(Object);function c(f){if(!n(f)||e(f)!=t)return!1;var d=r(f);if(d===null)return!0;var h=s.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&u.call(h)==o}return Ui=c,Ui}var zi,Id;function ol(){if(Id)return zi;Id=1;function e(r,n){if(!(n==="constructor"&&typeof r[n]=="function")&&n!="__proto__")return r[n]}return zi=e,zi}var Ki,Td;function k_(){if(Td)return Ki;Td=1;var e=Be(),r=ye();function n(t){return e(t,r(t))}return Ki=n,Ki}var Vi,Cd;function N_(){if(Cd)return Vi;Cd=1;var e=sl(),r=gh(),n=Th(),t=bh(),a=Ah(),i=$e(),u=k(),s=Jh(),o=Se(),c=Ge(),f=B(),d=L_(),h=Ue(),l=ol(),p=k_();function v(_,g,b,m,w,C,q){var y=l(_,b),T=l(g,b),S=q.get(T);if(S){e(_,b,S);return}var x=C?C(y,T,b+"",_,g,q):void 0,E=x===void 0;if(E){var L=u(T),N=!L&&o(T),J=!L&&!N&&h(T);x=T,L||N||J?u(y)?x=y:s(y)?x=t(y):N?(E=!1,x=r(T,!0)):J?(E=!1,x=n(T,!0)):x=[]:d(T)||i(T)?(x=y,i(y)?x=p(y):(!f(y)||c(y))&&(x=a(T))):E=!1}E&&(q.set(T,x),w(x,T,m,C,q),q.delete(T)),e(_,b,x)}return Vi=v,Vi}var Hi,Ad;function F_(){if(Ad)return Hi;Ad=1;var e=fr(),r=sl(),n=ju(),t=N_(),a=B(),i=ye(),u=ol();function s(o,c,f,d,h){o!==c&&n(c,function(l,p){if(h||(h=new e),a(l))t(o,c,p,f,s,d,h);else{var v=d?d(u(o,p),l,p+"",o,c,h):void 0;v===void 0&&(v=l),r(o,p,v)}},i)}return Hi=s,Hi}var Wi,Sd;function j_(){if(Sd)return Wi;Sd=1;var e=mr(),r=qr();function n(t){return e(function(a,i){var u=-1,s=i.length,o=s>1?i[s-1]:void 0,c=s>2?i[2]:void 0;for(o=t.length>3&&typeof o=="function"?(s--,o):void 0,c&&r(i[0],i[1],c)&&(o=s<3?void 0:o,s=1),a=Object(a);++ut||s&&o&&f&&!c&&!d||i&&o&&f||!a&&f||!u)return 1;if(!i&&!s&&!d&&n=c)return f;var d=a[i];return f*(d=="desc"?-1:1)}}return n.index-t.index}return cu=r,cu}var du,Vd;function eg(){if(Vd)return du;Vd=1;var e=gr(),r=yr(),n=ie(),t=Vh(),a=Z_(),i=lr(),u=Q_(),s=me(),o=k();function c(f,d,h){d.length?d=e(d,function(v){return o(v)?function(_){return r(_,v.length===1?v[0]:v)}:v}):d=[s];var l=-1;d=e(d,i(n));var p=t(f,function(v,_,g){var b=e(d,function(m){return m(v)});return{criteria:b,index:++l,value:v}});return a(p,function(v,_){return u(v,_,h)})}return du=c,du}var hu,Hd;function rg(){if(Hd)return hu;Hd=1;var e=$u(),r=eg(),n=mr(),t=qr(),a=n(function(i,u){if(i==null)return[];var s=u.length;return s>1&&t(i,u[0],u[1])?u=[]:s>2&&t(u[0],u[1],u[2])&&(u=[u[0]]),r(i,e(u,1),[])});return hu=a,hu}var lu,Wd;function ng(){if(Wd)return lu;Wd=1;var e=Dh(),r=0;function n(t){var a=++r;return e(t)+a}return lu=n,lu}var vu,Yd;function tg(){if(Yd)return vu;Yd=1;function e(r,n,t){for(var a=-1,i=r.length,u=n.length,s={};++a0;--s)if(u=r[s].dequeue(),u){t=t.concat(_u(e,r,n,u,!0));break}}}return t}function _u(e,r,n,t,a){var i=a?[]:void 0;return re.forEach(e.inEdges(t.v),function(u){var s=e.edge(u),o=e.node(u.v);a&&i.push({v:u.v,w:u.w}),o.out-=s,Eu(r,n,o)}),re.forEach(e.outEdges(t.v),function(u){var s=e.edge(u),o=u.w,c=e.node(o);c.in-=s,Eu(r,n,c)}),e.removeNode(t.v),i}function lg(e,r){var n=new sg,t=0,a=0;re.forEach(e.nodes(),function(s){n.setNode(s,{v:s,in:0,out:0})}),re.forEach(e.edges(),function(s){var o=n.edge(s.v,s.w)||0,c=r(s),f=o+c;n.setEdge(s.v,s.w,f),a=Math.max(a,n.node(s.v).out+=c),t=Math.max(t,n.node(s.w).in+=c)});var i=re.range(a+t+3).map(function(){return new og}),u=t+1;return re.forEach(n.nodes(),function(s){Eu(i,u,n.node(s))}),{graph:n,buckets:i,zeroIdx:u}}function Eu(e,r,n){n.out?n.in?e[n.out-n.in+r].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}var _e=M,vg=fg,pg={run:_g,undo:bg};function _g(e){var r=e.graph().acyclicer==="greedy"?vg(e,n(e)):gg(e);_e.forEach(r,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,_e.uniqueId("rev"))});function n(t){return function(a){return t.edge(a).weight}}}function gg(e){var r=[],n={},t={};function a(i){_e.has(t,i)||(t[i]=!0,n[i]=!0,_e.forEach(e.outEdges(i),function(u){_e.has(n,u.w)?r.push(u):a(u.w)}),delete n[i])}return _e.forEach(e.nodes(),a),r}function bg(e){_e.forEach(e.edges(),function(r){var n=e.edge(r);if(n.reversed){e.removeEdge(r);var t=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(r.w,r.v,n,t)}})}var A=M,dl=V.Graph,j={addDummyNode:hl,simplify:yg,asNonCompoundGraph:mg,successorWeights:qg,predecessorWeights:wg,intersectRect:Rg,buildLayerMatrix:Eg,normalizeRanks:Ig,removeEmptyRanks:Tg,addBorderNode:Cg,maxRank:ll,partition:Ag,time:Sg,notime:Og};function hl(e,r,n,t){var a;do a=A.uniqueId(t);while(e.hasNode(a));return n.dummy=r,e.setNode(a,n),a}function yg(e){var r=new dl().setGraph(e.graph());return A.forEach(e.nodes(),function(n){r.setNode(n,e.node(n))}),A.forEach(e.edges(),function(n){var t=r.edge(n.v,n.w)||{weight:0,minlen:1},a=e.edge(n);r.setEdge(n.v,n.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),r}function mg(e){var r=new dl({multigraph:e.isMultigraph()}).setGraph(e.graph());return A.forEach(e.nodes(),function(n){e.children(n).length||r.setNode(n,e.node(n))}),A.forEach(e.edges(),function(n){r.setEdge(n,e.edge(n))}),r}function qg(e){var r=A.map(e.nodes(),function(n){var t={};return A.forEach(e.outEdges(n),function(a){t[a.w]=(t[a.w]||0)+e.edge(a).weight}),t});return A.zipObject(e.nodes(),r)}function wg(e){var r=A.map(e.nodes(),function(n){var t={};return A.forEach(e.inEdges(n),function(a){t[a.v]=(t[a.v]||0)+e.edge(a).weight}),t});return A.zipObject(e.nodes(),r)}function Rg(e,r){var n=e.x,t=e.y,a=r.x-n,i=r.y-t,u=e.width/2,s=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var o,c;return Math.abs(i)*u>Math.abs(a)*s?(i<0&&(s=-s),o=s*a/i,c=s):(a<0&&(u=-u),o=u,c=u*i/a),{x:n+o,y:t+c}}function Eg(e){var r=A.map(A.range(ll(e)+1),function(){return[]});return A.forEach(e.nodes(),function(n){var t=e.node(n),a=t.rank;A.isUndefined(a)||(r[a][t.order]=n)}),r}function Ig(e){var r=A.min(A.map(e.nodes(),function(n){return e.node(n).rank}));A.forEach(e.nodes(),function(n){var t=e.node(n);A.has(t,"rank")&&(t.rank-=r)})}function Tg(e){var r=A.min(A.map(e.nodes(),function(i){return e.node(i).rank})),n=[];A.forEach(e.nodes(),function(i){var u=e.node(i).rank-r;n[u]||(n[u]=[]),n[u].push(i)});var t=0,a=e.graph().nodeRankFactor;A.forEach(n,function(i,u){A.isUndefined(i)&&u%a!==0?--t:t&&A.forEach(i,function(s){e.node(s).rank+=t})})}function Cg(e,r,n,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=n,a.order=t),hl(e,"border",a,r)}function ll(e){return A.max(A.map(e.nodes(),function(r){var n=e.node(r).rank;if(!A.isUndefined(n))return n}))}function Ag(e,r){var n={lhs:[],rhs:[]};return A.forEach(e,function(t){r(t)?n.lhs.push(t):n.rhs.push(t)}),n}function Sg(e,r){var n=A.now();try{return r()}finally{console.log(e+" time: "+(A.now()-n)+"ms")}}function Og(e,r){return r()}var vl=M,xg=j,Pg={run:Mg,undo:kg};function Mg(e){e.graph().dummyChains=[],vl.forEach(e.edges(),function(r){Lg(e,r)})}function Lg(e,r){var n=r.v,t=e.node(n).rank,a=r.w,i=e.node(a).rank,u=r.name,s=e.edge(r),o=s.labelRank;if(i!==t+1){e.removeEdge(r);var c,f,d;for(d=0,++t;tu.lim&&(s=u,o=!0);var c=te.filter(r.edges(),function(f){return o===Zd(e,e.node(f.v),s)&&o!==Zd(e,e.node(f.w),s)});return te.minBy(c,function(f){return zg(r,f)})}function ml(e,r,n,t){var a=n.v,i=n.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),Vu(e),Ku(e,r),Zg(e,r)}function Zg(e,r){var n=te.find(e.nodes(),function(a){return!r.node(a).parent}),t=Vg(e,n);t=t.slice(1),te.forEach(t,function(a){var i=e.node(a).parent,u=r.edge(a,i),s=!1;u||(u=r.edge(i,a),s=!0),r.node(a).rank=r.node(i).rank+(s?u.minlen:-u.minlen)})}function Jg(e,r,n){return e.hasEdge(r,n)}function Zd(e,r,n){return n.low<=r.lim&&r.lim<=n.lim}var Qg=Rr,ql=Qg.longestPath,eb=pl,rb=Yg,nb=tb;function tb(e){switch(e.graph().ranker){case"network-simplex":Jd(e);break;case"tight-tree":ib(e);break;case"longest-path":ab(e);break;default:Jd(e)}}var ab=ql;function ib(e){ql(e),eb(e)}function Jd(e){rb(e)}var Iu=M,ub=sb;function sb(e){var r=fb(e);Iu.forEach(e.graph().dummyChains,function(n){for(var t=e.node(n),a=t.edgeObj,i=ob(e,r,a.v,a.w),u=i.path,s=i.lca,o=0,c=u[o],f=!0;n!==a.w;){if(t=e.node(n),f){for(;(c=u[o])!==s&&e.node(c).maxRanku||s>r[o].lim));for(c=o,o=t;(o=e.parent(o))!==c;)i.push(o);return{path:a.concat(i.reverse()),lca:c}}function fb(e){var r={},n=0;function t(a){var i=n;Iu.forEach(e.children(a),t),r[a]={low:i,lim:n++}}return Iu.forEach(e.children(),t),r}var ne=M,Tu=j,cb={run:db,cleanup:vb};function db(e){var r=Tu.addDummyNode(e,"root",{},"_root"),n=hb(e),t=ne.max(ne.values(n))-1,a=2*t+1;e.graph().nestingRoot=r,ne.forEach(e.edges(),function(u){e.edge(u).minlen*=a});var i=lb(e)+1;ne.forEach(e.children(),function(u){wl(e,r,a,i,t,n,u)}),e.graph().nodeRankFactor=a}function wl(e,r,n,t,a,i,u){var s=e.children(u);if(!s.length){u!==r&&e.setEdge(r,u,{weight:0,minlen:n});return}var o=Tu.addBorderNode(e,"_bt"),c=Tu.addBorderNode(e,"_bb"),f=e.node(u);e.setParent(o,u),f.borderTop=o,e.setParent(c,u),f.borderBottom=c,ne.forEach(s,function(d){wl(e,r,n,t,a,i,d);var h=e.node(d),l=h.borderTop?h.borderTop:d,p=h.borderBottom?h.borderBottom:d,v=h.borderTop?t:2*t,_=l!==p?1:a-i[u]+1;e.setEdge(o,l,{weight:v,minlen:_,nestingEdge:!0}),e.setEdge(p,c,{weight:v,minlen:_,nestingEdge:!0})}),e.parent(u)||e.setEdge(r,o,{weight:0,minlen:a+i[u]})}function hb(e){var r={};function n(t,a){var i=e.children(t);i&&i.length&&ne.forEach(i,function(u){n(u,a+1)}),r[t]=a}return ne.forEach(e.children(),function(t){n(t,1)}),r}function lb(e){return ne.reduce(e.edges(),function(r,n){return r+e.edge(n).weight},0)}function vb(e){var r=e.graph();e.removeNode(r.nestingRoot),delete r.nestingRoot,ne.forEach(e.edges(),function(n){var t=e.edge(n);t.nestingEdge&&e.removeEdge(n)})}var gu=M,pb=j,_b=gb;function gb(e){function r(n){var t=e.children(n),a=e.node(n);if(t.length&&gu.forEach(t,r),gu.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,u=a.maxRank+1;i0;)f%2&&(d+=s[f+1]),f=f-1>>1,s[f]+=c.weight;o+=c.weight*d})),o}var rh=M,Ab=Sb;function Sb(e,r){return rh.map(r,function(n){var t=e.inEdges(n);if(t.length){var a=rh.reduce(t,function(i,u){var s=e.edge(u),o=e.node(u.v);return{sum:i.sum+s.weight*o.order,weight:i.weight+s.weight}},{sum:0,weight:0});return{v:n,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:n}})}var G=M,Ob=xb;function xb(e,r){var n={};G.forEach(e,function(a,i){var u=n[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};G.isUndefined(a.barycenter)||(u.barycenter=a.barycenter,u.weight=a.weight)}),G.forEach(r.edges(),function(a){var i=n[a.v],u=n[a.w];!G.isUndefined(i)&&!G.isUndefined(u)&&(u.indegree++,i.out.push(n[a.w]))});var t=G.filter(n,function(a){return!a.indegree});return Pb(t)}function Pb(e){var r=[];function n(i){return function(u){u.merged||(G.isUndefined(u.barycenter)||G.isUndefined(i.barycenter)||u.barycenter>=i.barycenter)&&Mb(i,u)}}function t(i){return function(u){u.in.push(i),--u.indegree===0&&e.push(u)}}for(;e.length;){var a=e.pop();r.push(a),G.forEach(a.in.reverse(),n(a)),G.forEach(a.out,t(a))}return G.map(G.filter(r,function(i){return!i.merged}),function(i){return G.pick(i,["vs","i","barycenter","weight"])})}function Mb(e,r){var n=0,t=0;e.weight&&(n+=e.barycenter*e.weight,t+=e.weight),r.weight&&(n+=r.barycenter*r.weight,t+=r.weight),e.vs=r.vs.concat(e.vs),e.barycenter=n/t,e.weight=t,e.i=Math.min(r.i,e.i),r.merged=!0}var Ne=M,Lb=j,kb=Nb;function Nb(e,r){var n=Lb.partition(e,function(f){return Ne.has(f,"barycenter")}),t=n.lhs,a=Ne.sortBy(n.rhs,function(f){return-f.i}),i=[],u=0,s=0,o=0;t.sort(Fb(!!r)),o=nh(i,a,o),Ne.forEach(t,function(f){o+=f.vs.length,i.push(f.vs),u+=f.barycenter*f.weight,s+=f.weight,o=nh(i,a,o)});var c={vs:Ne.flatten(i,!0)};return s&&(c.barycenter=u/s,c.weight=s),c}function nh(e,r,n){for(var t;r.length&&(t=Ne.last(r)).i<=n;)r.pop(),e.push(t.vs),n++;return n}function Fb(e){return function(r,n){return r.barycentern.barycenter?1:e?n.i-r.i:r.i-n.i}}var ce=M,jb=Ab,Db=Ob,Gb=kb,Bb=El;function El(e,r,n,t){var a=e.children(r),i=e.node(r),u=i?i.borderLeft:void 0,s=i?i.borderRight:void 0,o={};u&&(a=ce.filter(a,function(p){return p!==u&&p!==s}));var c=jb(e,a);ce.forEach(c,function(p){if(e.children(p.v).length){var v=El(e,p.v,n,t);o[p.v]=v,ce.has(v,"barycenter")&&Ub(p,v)}});var f=Db(c,n);$b(f,o);var d=Gb(f,t);if(u&&(d.vs=ce.flatten([u,d.vs,s],!0),e.predecessors(u).length)){var h=e.node(e.predecessors(u)[0]),l=e.node(e.predecessors(s)[0]);ce.has(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+h.order+l.order)/(d.weight+2),d.weight+=2}return d}function $b(e,r){ce.forEach(e,function(n){n.vs=ce.flatten(n.vs.map(function(t){return r[t]?r[t].vs:t}),!0)})}function Ub(e,r){ce.isUndefined(e.barycenter)?(e.barycenter=r.barycenter,e.weight=r.weight):(e.barycenter=(e.barycenter*e.weight+r.barycenter*r.weight)/(e.weight+r.weight),e.weight+=r.weight)}var Fe=M,zb=V.Graph,Kb=Vb;function Vb(e,r,n){var t=Hb(e),a=new zb({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return Fe.forEach(e.nodes(),function(i){var u=e.node(i),s=e.parent(i);(u.rank===r||u.minRank<=r&&r<=u.maxRank)&&(a.setNode(i),a.setParent(i,s||t),Fe.forEach(e[n](i),function(o){var c=o.v===i?o.w:o.v,f=a.edge(c,i),d=Fe.isUndefined(f)?0:f.weight;a.setEdge(c,i,{weight:e.edge(o).weight+d})}),Fe.has(u,"minRank")&&a.setNode(i,{borderLeft:u.borderLeft[r],borderRight:u.borderRight[r]}))}),a}function Hb(e){for(var r;e.hasNode(r=Fe.uniqueId("_root")););return r}var Wb=M,Yb=Xb;function Xb(e,r,n){var t={},a;Wb.forEach(n,function(i){for(var u=e.parent(i),s,o;u;){if(s=e.parent(u),s?(o=t[s],t[s]=u):(o=a,a=u),o&&o!==u){r.setEdge(o,u);return}u=s}})}var de=M,Zb=Rb,Jb=Ib,Qb=Bb,ey=Kb,ry=Yb,ny=V.Graph,th=j,ty=ay;function ay(e){var r=th.maxRank(e),n=ah(e,de.range(1,r+1),"inEdges"),t=ah(e,de.range(r-1,-1,-1),"outEdges"),a=Zb(e);ih(e,a);for(var i=Number.POSITIVE_INFINITY,u,s=0,o=0;o<4;++s,++o){iy(s%2?n:t,s%4>=2),a=th.buildLayerMatrix(e);var c=Jb(e,a);cc)&&Hu(n,h,f)})})}function a(i,u){var s=-1,o,c=0;return R.forEach(u,function(f,d){if(e.node(f).dummy==="border"){var h=e.predecessors(f);h.length&&(o=e.node(h[0]).order,t(u,c,d,s,o),c=d,s=o)}t(u,c,u.length,o,i.length)}),u}return R.reduce(r,a),n}function fy(e,r){if(e.node(r).dummy)return R.find(e.predecessors(r),function(n){return e.node(n).dummy})}function Hu(e,r,n){if(r>n){var t=r;r=n,n=t}var a=e[r];a||(e[r]=a={}),a[n]=!0}function Cl(e,r,n){if(r>n){var t=r;r=n,n=t}return R.has(e[r],n)}function Al(e,r,n,t){var a={},i={},u={};return R.forEach(r,function(s){R.forEach(s,function(o,c){a[o]=o,i[o]=o,u[o]=c})}),R.forEach(r,function(s){var o=-1;R.forEach(s,function(c){var f=t(c);if(f.length){f=R.sortBy(f,function(v){return u[v]});for(var d=(f.length-1)/2,h=Math.floor(d),l=Math.ceil(d);h<=l;++h){var p=f[h];i[c]===c&&o({}));const o=u==="LR";s.setGraph({rankdir:u}),n.value=u;for(const c of a){const f=e(c.id);s.setNode(c.id,{width:f.dimensions.width||150,height:f.dimensions.height||50})}for(const c of i)s.setEdge(c.source,c.target);return wu.layout(s),a.map(c=>{const f=s.node(c.id);return Tr(Ir({},c),{targetPosition:o?Ze.Left:Ze.Top,sourcePosition:o?Ze.Right:Ze.Bottom,position:{x:f.x,y:f.y}})})}return{graph:r,layout:t,previousDirection:n}}function am(e){for(let r=e.length-1;r>0;r--){const n=Math.floor(Math.random()*(r+1));[e[r],e[n]]=[e[n],e[r]]}}function im(e){const r=[];for(const n of e)for(const t of e)if(n.id!==t.id){const a=`e${n.id}-${t.id}`;r.push({id:a,source:n.id,target:t.id,type:"animation",animated:!0})}return r}function um(){return e=>{const r=im(e);am(r);const n=new Set,t=[];for(const a of r)!n.has(a.target)&&(n.size===0||n.has(a.source))&&(t.push(a),n.add(a.source),n.add(a.target));return t}}function sm({graph:e,cancelOnError:r=!0}){const{updateNodeData:n,getConnectedEdges:t}=ar(),a=Ru(()=>rs(e)),i=Te(!1),u=new Set,s=new Map,o=new Set;function c(v,_=!1){return Q(this,null,function*(){if(u.has(v.id))return;o.add(v.id);const g=t(v.id).filter(m=>m.target===v.id);if(yield Promise.all(g.map(m=>om(()=>!m.data.isAnimating))),o.clear(),!i.value)return;u.add(v.id),n(v.id,{isRunning:!0,isFinished:!1,hasError:!1,isCancelled:!1});const b=Math.floor(Math.random()*2e3)+1e3;return new Promise(m=>{const w=setTimeout(()=>Q(this,null,function*(){const C=a.value.successors(v.id),q=Math.random()<.15;if(!_&&q&&(n(v.id,{isRunning:!1,hasError:!0}),rs(r))){yield h(v.id),s.delete(v.id),m();return}n(v.id,{isRunning:!1,isFinished:!0}),s.delete(v.id),C.length>0&&(yield Promise.all(C.map(y=>c({id:y})))),m()}),_?0:b);s.set(v.id,w)})})}function f(v){return Q(this,null,function*(){if(i.value)return;d(v),i.value=!0;const _=v.filter(g=>{var b;return((b=a.value.predecessors(g.id))==null?void 0:b.length)===0});yield Promise.all(_.map(g=>c(g,!0))),p()})}function d(v){p();for(const _ of v)n(_.id,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!1})}function h(v){return Q(this,null,function*(){const _=a.value.successors(v);for(const g of _)n(g,{isRunning:!1,isSkipped:!0}),yield h(g)})}function l(){return Q(this,null,function*(){i.value=!1;for(const v of o)clearTimeout(s.get(v)),s.delete(v),n(v,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!0}),yield h(v);for(const[v,_]of s)clearTimeout(_),s.delete(v),n(v,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!0}),yield h(v);u.clear(),o.clear()})}function p(){i.value=!1,u.clear(),s.clear()}return{run:f,stop:l,reset:d,isRunning:i}}function om(e){return Q(this,null,function*(){return new Promise(r=>{const n=setInterval(()=>{e()&&(clearInterval(n),r())},100)})})}var Y=(e=>(e.Lines="lines",e.Dots="dots",e))(Y||{});const Ll=function({dimensions:e,size:r,color:n}){return dh("path",{stroke:n,"stroke-width":r,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},kl=function({radius:e,color:r}){return dh("circle",{cx:e,cy:e,r:e,fill:r})};Y.Lines+"",Y.Dots+"";const fm={[Y.Dots]:"#81818a",[Y.Lines]:"#eee"},cm=["id","x","y","width","height","patternTransform"],dm={key:2,height:"100",width:"100"},hm=["fill"],lm=["x","y","fill"],vm={name:"Background",compatConfig:{MODE:3}},pm=ch(Tr(Ir({},vm),{props:{id:{},variant:{default:()=>Y.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:2}},setup(e){const{id:r,viewport:n}=ar(),t=ov(()=>{const[u,s]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],o=[u*n.value.zoom||1,s*n.value.zoom||1],c=e.size*n.value.zoom,f=e.variant===Y.Dots?[c/e.offset,c/e.offset]:[o[0]/e.offset,o[1]/e.offset];return{scaledGap:o,offset:f,size:c}}),a=Ru(()=>`pattern-${r}${e.id?`-${e.id}`:""}`),i=Ru(()=>e.color||e.patternColor||fm[e.variant||Y.Dots]);return(u,s)=>(pe(),De("svg",{class:"vue-flow__background vue-flow__container",style:fv({height:`${u.height>100?100:u.height}%`,width:`${u.width>100?100:u.width}%`})},[Cr(u.$slots,"pattern-container",{id:a.value},()=>[fe("pattern",{id:a.value,x:D(n).x%t.value.scaledGap[0],y:D(n).y%t.value.scaledGap[1],width:t.value.scaledGap[0],height:t.value.scaledGap[1],patternTransform:`translate(-${t.value.offset[0]},-${t.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[Cr(u.$slots,"pattern",{},()=>[u.variant===D(Y).Lines?(pe(),ns(D(Ll),{key:0,size:u.lineWidth,color:i.value,dimensions:t.value.scaledGap},null,8,["size","color","dimensions"])):u.variant===D(Y).Dots?(pe(),ns(D(kl),{key:1,color:i.value,radius:t.value.size/u.offset},null,8,["color","radius"])):ts("",!0),u.bgColor?(pe(),De("svg",dm,[fe("rect",{width:"100%",height:"100%",fill:u.bgColor},null,8,hm)])):ts("",!0)])],8,cm)]),fe("rect",{x:u.x,y:u.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,lm),Cr(u.$slots,"default",{id:a.value})],4))}})),U={x:0,y:0},z="process",W="animation",_m=[{id:"1",position:U,type:z},{id:"2",position:U,type:z},{id:"2a",position:U,type:z},{id:"2b",position:U,type:z},{id:"2c",position:U,type:z},{id:"2d",position:U,type:z},{id:"3",position:U,type:z},{id:"4",position:U,type:z},{id:"5",position:U,type:z},{id:"6",position:U,type:z},{id:"7",position:U,type:z}],gm=[{id:"e1-2",source:"1",target:"2",type:W,animated:!0},{id:"e1-3",source:"1",target:"3",type:W,animated:!0},{id:"e2-2a",source:"2",target:"2a",type:W,animated:!0},{id:"e2-2b",source:"2",target:"2b",type:W,animated:!0},{id:"e2-2c",source:"2",target:"2c",type:W,animated:!0},{id:"e2c-2d",source:"2c",target:"2d",type:W,animated:!0},{id:"e3-7",source:"3",target:"4",type:W,animated:!0},{id:"e4-5",source:"4",target:"5",type:W,animated:!0},{id:"e5-6",source:"5",target:"6",type:W,animated:!0},{id:"e5-7",source:"5",target:"7",type:W,animated:!0}],bm={class:"layout-flow"},ym={class:"layout-panel"},mm=ch({__name:"index",setup(e){const r=Te(_m),n=Te(gm),t=Te(!0),a=um(),{graph:i,layout:u,previousDirection:s}=tm(),{run:o,stop:c,reset:f,isRunning:d}=sm({graph:i,cancelOnError:t}),{fitView:h}=ar();function l(){return Q(this,null,function*(){yield c(),f(r.value),n.value=a(r.value),as(()=>{p(s.value)})})}function p(v){return Q(this,null,function*(){yield c(),f(r.value),r.value=u(r.value,n.value,v),as(()=>{h(),o(r.value)})})}return(v,_)=>(pe(),De("div",bm,[H(D(hv),{nodes:r.value,edges:n.value,onNodesInitialized:_[4]||(_[4]=g=>p("LR"))},{"node-process":Xe(g=>[H(lv,{data:g.data,"source-position":g.sourcePosition,"target-position":g.targetPosition},null,8,["data","source-position","target-position"])]),"edge-animation":Xe(g=>[H(vv,{id:g.id,source:g.source,target:g.target,"source-x":g.sourceX,"source-y":g.sourceY,targetX:g.targetX,targetY:g.targetY,"source-position":g.sourcePosition,"target-position":g.targetPosition},null,8,["id","source","target","source-x","source-y","targetX","targetY","source-position","target-position"])]),default:Xe(()=>[H(D(pm)),H(D(dv),{class:"process-panel",position:"top-left"},{default:Xe(()=>[fe("div",ym,[D(d)?(pe(),De("button",{key:0,class:"stop-btn",title:"stop",onClick:_[0]||(_[0]=(...g)=>D(c)&&D(c)(...g))},[H(Pe,{name:"stop"}),_[5]||(_[5]=fe("span",{class:"spinner"},null,-1))])):(pe(),De("button",{key:1,title:"start",onClick:_[1]||(_[1]=g=>D(o)(r.value))},[H(Pe,{name:"play"})])),fe("button",{title:"set horizontal layout",onClick:_[2]||(_[2]=g=>p("LR"))},[H(Pe,{name:"horizontal"})]),fe("button",{title:"set vertical layout",onClick:_[3]||(_[3]=g=>p("TB"))},[H(Pe,{name:"vertical"})]),fe("button",{title:"shuffle graph",onClick:l},[H(Pe,{name:"shuffle"})])])]),_:1})]),_:1},8,["nodes","edges"])]))}}),Am=cv(mm,[["__scopeId","data-v-6094ddc5"]]);export{Am as default}; +var nv=Object.defineProperty,tv=Object.defineProperties;var av=Object.getOwnPropertyDescriptors;var Qu=Object.getOwnPropertySymbols;var iv=Object.prototype.hasOwnProperty,uv=Object.prototype.propertyIsEnumerable;var es=(e,r,n)=>r in e?nv(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,Ir=(e,r)=>{for(var n in r||(r={}))iv.call(r,n)&&es(e,n,r[n]);if(Qu)for(var n of Qu(r))uv.call(r,n)&&es(e,n,r[n]);return e},Tr=(e,r)=>tv(e,av(r));var Q=(e,r,n)=>new Promise((t,a)=>{var i=o=>{try{s(n.next(o))}catch(c){a(c)}},u=o=>{try{s(n.throw(o))}catch(c){a(c)}},s=o=>o.done?t(o.value):Promise.resolve(o.value).then(i,u);s((n=n.apply(e,r)).next())});import{_ as Pe}from"./icon.vue_vue_type_script_setup_true_lang-BzrpV5aJ.js";import{c as Ye,S as sv,a as Te,P as Ru,O as rs,d as ch,p as ov,f as pe,k as De,Q as Cr,g as fe,u as D,b as ns,j as ts,s as fv,L as dh,i as H,w as Xe,y as as,_ as cv}from"./index-DqH6biyS.js";import{c as Cu}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{u as ar,P as Ze,_ as dv,a as hv}from"./vue-flow-core-DtD1IO7M.js";import lv from"./processNode-DfLkmtD7.js";import vv from"./animationEdge-CBc3d34U.js";var Ar,is;function pv(){if(is)return Ar;is=1;function e(){this.__data__=[],this.size=0}return Ar=e,Ar}var Sr,us;function Ce(){if(us)return Sr;us=1;function e(r,n){return r===n||r!==r&&n!==n}return Sr=e,Sr}var Or,ss;function ir(){if(ss)return Or;ss=1;var e=Ce();function r(n,t){for(var a=n.length;a--;)if(e(n[a][0],t))return a;return-1}return Or=r,Or}var xr,os;function _v(){if(os)return xr;os=1;var e=ir(),r=Array.prototype,n=r.splice;function t(a){var i=this.__data__,u=e(i,a);if(u<0)return!1;var s=i.length-1;return u==s?i.pop():n.call(i,u,1),--this.size,!0}return xr=t,xr}var Pr,fs;function gv(){if(fs)return Pr;fs=1;var e=ir();function r(n){var t=this.__data__,a=e(t,n);return a<0?void 0:t[a][1]}return Pr=r,Pr}var Mr,cs;function bv(){if(cs)return Mr;cs=1;var e=ir();function r(n){return e(this.__data__,n)>-1}return Mr=r,Mr}var Lr,ds;function yv(){if(ds)return Lr;ds=1;var e=ir();function r(n,t){var a=this.__data__,i=e(a,n);return i<0?(++this.size,a.push([n,t])):a[i][1]=t,this}return Lr=r,Lr}var kr,hs;function ur(){if(hs)return kr;hs=1;var e=pv(),r=_v(),n=gv(),t=bv(),a=yv();function i(u){var s=-1,o=u==null?0:u.length;for(this.clear();++s-1&&t%1==0&&t-1&&n%1==0&&n<=e}return xn=r,xn}var Pn,fo;function Vv(){if(fo)return Pn;fo=1;var e=ge(),r=xu(),n=Z(),t="[object Arguments]",a="[object Array]",i="[object Boolean]",u="[object Date]",s="[object Error]",o="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",h="[object RegExp]",l="[object Set]",p="[object String]",v="[object WeakMap]",_="[object ArrayBuffer]",g="[object DataView]",b="[object Float32Array]",m="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",q="[object Int32Array]",y="[object Uint8Array]",T="[object Uint8ClampedArray]",S="[object Uint16Array]",x="[object Uint32Array]",E={};E[b]=E[m]=E[w]=E[C]=E[q]=E[y]=E[T]=E[S]=E[x]=!0,E[t]=E[a]=E[_]=E[i]=E[g]=E[u]=E[s]=E[o]=E[c]=E[f]=E[d]=E[h]=E[l]=E[p]=E[v]=!1;function L(N){return n(N)&&r(N.length)&&!!E[e(N)]}return Pn=L,Pn}var Mn,co;function lr(){if(co)return Mn;co=1;function e(r){return function(n){return r(n)}}return Mn=e,Mn}var Le={exports:{}};Le.exports;var ho;function Pu(){return ho||(ho=1,function(e,r){var n=hh(),t=r&&!r.nodeType&&r,a=t&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===t,u=i&&n.process,s=function(){try{var o=a&&a.require&&a.require("util").types;return o||u&&u.binding&&u.binding("util")}catch(c){}}();e.exports=s}(Le,Le.exports)),Le.exports}var Ln,lo;function Ue(){if(lo)return Ln;lo=1;var e=Vv(),r=lr(),n=Pu(),t=n&&n.isTypedArray,a=t?r(t):e;return Ln=a,Ln}var kn,vo;function ph(){if(vo)return kn;vo=1;var e=Uv(),r=$e(),n=k(),t=Se(),a=hr(),i=Ue(),u=Object.prototype,s=u.hasOwnProperty;function o(c,f){var d=n(c),h=!d&&r(c),l=!d&&!h&&t(c),p=!d&&!h&&!l&&i(c),v=d||h||l||p,_=v?e(c.length,String):[],g=_.length;for(var b in c)(f||s.call(c,b))&&!(v&&(b=="length"||l&&(b=="offset"||b=="parent")||p&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||a(b,g)))&&_.push(b);return _}return kn=o,kn}var Nn,po;function vr(){if(po)return Nn;po=1;var e=Object.prototype;function r(n){var t=n&&n.constructor,a=typeof t=="function"&&t.prototype||e;return n===a}return Nn=r,Nn}var Fn,_o;function _h(){if(_o)return Fn;_o=1;function e(r,n){return function(t){return r(n(t))}}return Fn=e,Fn}var jn,go;function Hv(){if(go)return jn;go=1;var e=_h(),r=e(Object.keys,Object);return jn=r,jn}var Dn,bo;function Mu(){if(bo)return Dn;bo=1;var e=vr(),r=Hv(),n=Object.prototype,t=n.hasOwnProperty;function a(i){if(!e(i))return r(i);var u=[];for(var s in Object(i))t.call(i,s)&&s!="constructor"&&u.push(s);return u}return Dn=a,Dn}var Gn,yo;function ae(){if(yo)return Gn;yo=1;var e=Ge(),r=xu();function n(t){return t!=null&&r(t.length)&&!e(t)}return Gn=n,Gn}var Bn,mo;function le(){if(mo)return Bn;mo=1;var e=ph(),r=Mu(),n=ae();function t(a){return n(a)?e(a):r(a)}return Bn=t,Bn}var $n,qo;function Wv(){if(qo)return $n;qo=1;var e=Be(),r=le();function n(t,a){return t&&e(a,r(a),t)}return $n=n,$n}var Un,wo;function Yv(){if(wo)return Un;wo=1;function e(r){var n=[];if(r!=null)for(var t in Object(r))n.push(t);return n}return Un=e,Un}var zn,Ro;function Xv(){if(Ro)return zn;Ro=1;var e=B(),r=vr(),n=Yv(),t=Object.prototype,a=t.hasOwnProperty;function i(u){if(!e(u))return n(u);var s=r(u),o=[];for(var c in u)c=="constructor"&&(s||!a.call(u,c))||o.push(c);return o}return zn=i,zn}var Kn,Eo;function ye(){if(Eo)return Kn;Eo=1;var e=ph(),r=Xv(),n=ae();function t(a){return n(a)?e(a,!0):r(a)}return Kn=t,Kn}var Vn,Io;function Zv(){if(Io)return Vn;Io=1;var e=Be(),r=ye();function n(t,a){return t&&e(a,r(a),t)}return Vn=n,Vn}var ke={exports:{}};ke.exports;var To;function gh(){return To||(To=1,function(e,r){var n=K(),t=r&&!r.nodeType&&r,a=t&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===t,u=i?n.Buffer:void 0,s=u?u.allocUnsafe:void 0;function o(c,f){if(f)return c.slice();var d=c.length,h=s?s(d):new c.constructor(d);return c.copy(h),h}e.exports=o}(ke,ke.exports)),ke.exports}var Hn,Co;function bh(){if(Co)return Hn;Co=1;function e(r,n){var t=-1,a=r.length;for(n||(n=Array(a));++tl))return!1;var v=d.get(u),_=d.get(s);if(v&&_)return v==s&&_==u;var g=-1,b=!0,m=o&a?new e:void 0;for(d.set(u,s),d.set(s,u);++g0&&i(f)?a>1?n(f,a-1,i,u,s):e(s,f):u||(s[s.length]=f)}return s}return ja=n,ja}var Da,mc;function Wp(){if(mc)return Da;mc=1;function e(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}return Da=e,Da}var Ga,qc;function Yh(){if(qc)return Ga;qc=1;var e=Wp(),r=Math.max;function n(t,a,i){return a=r(a===void 0?t.length-1:a,0),function(){for(var u=arguments,s=-1,o=r(u.length-a,0),c=Array(o);++s0){if(++i>=e)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}return $a=t,$a}var Ua,Ec;function Xh(){if(Ec)return Ua;Ec=1;var e=Yp(),r=Xp(),n=r(e);return Ua=n,Ua}var za,Ic;function mr(){if(Ic)return za;Ic=1;var e=me(),r=Yh(),n=Xh();function t(a,i){return n(r(a,i,e),a+"")}return za=t,za}var Ka,Tc;function Zh(){if(Tc)return Ka;Tc=1;function e(r,n,t,a){for(var i=r.length,u=t+(a?1:-1);a?u--:++u-1}return Ya=r,Ya}var Xa,xc;function r_(){if(xc)return Xa;xc=1;function e(r,n,t){for(var a=-1,i=r==null?0:r.length;++a=u){var g=c?null:a(o);if(g)return i(g);p=!1,h=t,_=new e}else _=c?[]:v;e:for(;++d1?l.setNode(p,d):l.setNode(p)}),this},a.prototype.setNode=function(f,d){return e.has(this._nodes,f)?(arguments.length>1&&(this._nodes[f]=d),this):(this._nodes[f]=arguments.length>1?d:this._defaultNodeLabelFn(f),this._isCompound&&(this._parent[f]=n,this._children[f]={},this._children[n][f]=!0),this._in[f]={},this._preds[f]={},this._out[f]={},this._sucs[f]={},++this._nodeCount,this)},a.prototype.node=function(f){return this._nodes[f]},a.prototype.hasNode=function(f){return e.has(this._nodes,f)},a.prototype.removeNode=function(f){var d=this;if(e.has(this._nodes,f)){var h=function(l){d.removeEdge(d._edgeObjs[l])};delete this._nodes[f],this._isCompound&&(this._removeFromParentsChildList(f),delete this._parent[f],e.each(this.children(f),function(l){d.setParent(l)}),delete this._children[f]),e.each(e.keys(this._in[f]),h),delete this._in[f],delete this._preds[f],e.each(e.keys(this._out[f]),h),delete this._out[f],delete this._sucs[f],--this._nodeCount}return this},a.prototype.setParent=function(f,d){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(e.isUndefined(d))d=n;else{d+="";for(var h=d;!e.isUndefined(h);h=this.parent(h))if(h===f)throw new Error("Setting "+d+" as parent of "+f+" would create a cycle");this.setNode(d)}return this.setNode(f),this._removeFromParentsChildList(f),this._parent[f]=d,this._children[d][f]=!0,this},a.prototype._removeFromParentsChildList=function(f){delete this._children[this._parent[f]][f]},a.prototype.parent=function(f){if(this._isCompound){var d=this._parent[f];if(d!==n)return d}},a.prototype.children=function(f){if(e.isUndefined(f)&&(f=n),this._isCompound){var d=this._children[f];if(d)return e.keys(d)}else{if(f===n)return this.nodes();if(this.hasNode(f))return[]}},a.prototype.predecessors=function(f){var d=this._preds[f];if(d)return e.keys(d)},a.prototype.successors=function(f){var d=this._sucs[f];if(d)return e.keys(d)},a.prototype.neighbors=function(f){var d=this.predecessors(f);if(d)return e.union(d,this.successors(f))},a.prototype.isLeaf=function(f){var d;return this.isDirected()?d=this.successors(f):d=this.neighbors(f),d.length===0},a.prototype.filterNodes=function(f){var d=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});d.setGraph(this.graph());var h=this;e.each(this._nodes,function(v,_){f(_)&&d.setNode(_,v)}),e.each(this._edgeObjs,function(v){d.hasNode(v.v)&&d.hasNode(v.w)&&d.setEdge(v,h.edge(v))});var l={};function p(v){var _=h.parent(v);return _===void 0||d.hasNode(_)?(l[v]=_,_):_ in l?l[_]:p(_)}return this._isCompound&&e.each(d.nodes(),function(v){d.setParent(v,p(v))}),d},a.prototype.setDefaultEdgeLabel=function(f){return e.isFunction(f)||(f=e.constant(f)),this._defaultEdgeLabelFn=f,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return e.values(this._edgeObjs)},a.prototype.setPath=function(f,d){var h=this,l=arguments;return e.reduce(f,function(p,v){return l.length>1?h.setEdge(p,v,d):h.setEdge(p,v),v}),this},a.prototype.setEdge=function(){var f,d,h,l,p=!1,v=arguments[0];typeof v=="object"&&v!==null&&"v"in v?(f=v.v,d=v.w,h=v.name,arguments.length===2&&(l=arguments[1],p=!0)):(f=v,d=arguments[1],h=arguments[3],arguments.length>2&&(l=arguments[2],p=!0)),f=""+f,d=""+d,e.isUndefined(h)||(h=""+h);var _=s(this._isDirected,f,d,h);if(e.has(this._edgeLabels,_))return p&&(this._edgeLabels[_]=l),this;if(!e.isUndefined(h)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(f),this.setNode(d),this._edgeLabels[_]=p?l:this._defaultEdgeLabelFn(f,d,h);var g=o(this._isDirected,f,d,h);return f=g.v,d=g.w,Object.freeze(g),this._edgeObjs[_]=g,i(this._preds[d],f),i(this._sucs[f],d),this._in[d][_]=g,this._out[f][_]=g,this._edgeCount++,this},a.prototype.edge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h);return this._edgeLabels[l]},a.prototype.hasEdge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h);return e.has(this._edgeLabels,l)},a.prototype.removeEdge=function(f,d,h){var l=arguments.length===1?c(this._isDirected,arguments[0]):s(this._isDirected,f,d,h),p=this._edgeObjs[l];return p&&(f=p.v,d=p.w,delete this._edgeLabels[l],delete this._edgeObjs[l],u(this._preds[d],f),u(this._sucs[f],d),delete this._in[d][l],delete this._out[f][l],this._edgeCount--),this},a.prototype.inEdges=function(f,d){var h=this._in[f];if(h){var l=e.values(h);return d?e.filter(l,function(p){return p.v===d}):l}},a.prototype.outEdges=function(f,d){var h=this._out[f];if(h){var l=e.values(h);return d?e.filter(l,function(p){return p.w===d}):l}},a.prototype.nodeEdges=function(f,d){var h=this.inEdges(f,d);if(h)return h.concat(this.outEdges(f,d))};function i(f,d){f[d]?f[d]++:f[d]=1}function u(f,d){--f[d]||delete f[d]}function s(f,d,h,l){var p=""+d,v=""+h;if(!f&&p>v){var _=p;p=v,v=_}return p+t+v+t+(e.isUndefined(l)?r:l)}function o(f,d,h,l){var p=""+d,v=""+h;if(!f&&p>v){var _=p;p=v,v=_}var g={v:p,w:v};return l&&(g.name=l),g}function c(f,d){return s(f,d.v,d.w,d.name)}return ii}var ui,Bc;function s_(){return Bc||(Bc=1,ui="2.1.8"),ui}var si,$c;function o_(){return $c||($c=1,si={Graph:Uu(),version:s_()}),si}var oi,Uc;function f_(){if(Uc)return oi;Uc=1;var e=$(),r=Uu();oi={write:n,read:i};function n(u){var s={options:{directed:u.isDirected(),multigraph:u.isMultigraph(),compound:u.isCompound()},nodes:t(u),edges:a(u)};return e.isUndefined(u.graph())||(s.value=e.clone(u.graph())),s}function t(u){return e.map(u.nodes(),function(s){var o=u.node(s),c=u.parent(s),f={v:s};return e.isUndefined(o)||(f.value=o),e.isUndefined(c)||(f.parent=c),f})}function a(u){return e.map(u.edges(),function(s){var o=u.edge(s),c={v:s.v,w:s.w};return e.isUndefined(s.name)||(c.name=s.name),e.isUndefined(o)||(c.value=o),c})}function i(u){var s=new r(u.options).setGraph(u.value);return e.each(u.nodes,function(o){s.setNode(o.v,o.value),o.parent&&s.setParent(o.v,o.parent)}),e.each(u.edges,function(o){s.setEdge({v:o.v,w:o.w,name:o.name},o.value)}),s}return oi}var fi,zc;function c_(){if(zc)return fi;zc=1;var e=$();fi=r;function r(n){var t={},a=[],i;function u(s){e.has(t,s)||(t[s]=!0,i.push(s),e.each(n.successors(s),u),e.each(n.predecessors(s),u))}return e.each(n.nodes(),function(s){i=[],u(s),i.length&&a.push(i)}),a}return fi}var ci,Kc;function el(){if(Kc)return ci;Kc=1;var e=$();ci=r;function r(){this._arr=[],this._keyIndices={}}return r.prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(n){return n.key})},r.prototype.has=function(n){return e.has(this._keyIndices,n)},r.prototype.priority=function(n){var t=this._keyIndices[n];if(t!==void 0)return this._arr[t].priority},r.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(n,t){var a=this._keyIndices;if(n=String(n),!e.has(a,n)){var i=this._arr,u=i.length;return a[n]=u,i.push({key:n,priority:t}),this._decrease(u),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},r.prototype.decrease=function(n,t){var a=this._keyIndices[n];if(t>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+t);this._arr[a].priority=t,this._decrease(a)},r.prototype._heapify=function(n){var t=this._arr,a=2*n,i=a+1,u=n;a>1,!(t[i].priority0&&(d=f.removeMin(),h=c[d],h.distance!==Number.POSITIVE_INFINITY);)o(d).forEach(l);return c}return di}var hi,Hc;function d_(){if(Hc)return hi;Hc=1;var e=rl(),r=$();hi=n;function n(t,a,i){return r.transform(t.nodes(),function(u,s){u[s]=e(t,s,a,i)},{})}return hi}var li,Wc;function nl(){if(Wc)return li;Wc=1;var e=$();li=r;function r(n){var t=0,a=[],i={},u=[];function s(o){var c=i[o]={onStack:!0,lowlink:t,index:t++};if(a.push(o),n.successors(o).forEach(function(h){e.has(i,h)?i[h].onStack&&(c.lowlink=Math.min(c.lowlink,i[h].index)):(s(h),c.lowlink=Math.min(c.lowlink,i[h].lowlink))}),c.lowlink===c.index){var f=[],d;do d=a.pop(),i[d].onStack=!1,f.push(d);while(o!==d);u.push(f)}}return n.nodes().forEach(function(o){e.has(i,o)||s(o)}),u}return li}var vi,Yc;function h_(){if(Yc)return vi;Yc=1;var e=$(),r=nl();vi=n;function n(t){return e.filter(r(t),function(a){return a.length>1||a.length===1&&t.hasEdge(a[0],a[0])})}return vi}var pi,Xc;function l_(){if(Xc)return pi;Xc=1;var e=$();pi=n;var r=e.constant(1);function n(a,i,u){return t(a,i||r,u||function(s){return a.outEdges(s)})}function t(a,i,u){var s={},o=a.nodes();return o.forEach(function(c){s[c]={},s[c][c]={distance:0},o.forEach(function(f){c!==f&&(s[c][f]={distance:Number.POSITIVE_INFINITY})}),u(c).forEach(function(f){var d=f.v===c?f.w:f.v,h=i(f);s[c][d]={distance:h,predecessor:c}})}),o.forEach(function(c){var f=s[c];o.forEach(function(d){var h=s[d];o.forEach(function(l){var p=h[c],v=f[l],_=h[l],g=p.distance+v.distance;g<_.distance&&(_.distance=g,_.predecessor=v.predecessor)})})}),s}return pi}var _i,Zc;function tl(){if(Zc)return _i;Zc=1;var e=$();_i=r,r.CycleException=n;function r(t){var a={},i={},u=[];function s(o){if(e.has(i,o))throw new n;e.has(a,o)||(i[o]=!0,a[o]=!0,e.each(t.predecessors(o),s),delete i[o],u.push(o))}if(e.each(t.sinks(),s),e.size(a)!==t.nodeCount())throw new n;return u}function n(){}return n.prototype=new Error,_i}var gi,Jc;function v_(){if(Jc)return gi;Jc=1;var e=tl();gi=r;function r(n){try{e(n)}catch(t){if(t instanceof e.CycleException)return!1;throw t}return!0}return gi}var bi,Qc;function al(){if(Qc)return bi;Qc=1;var e=$();bi=r;function r(t,a,i){e.isArray(a)||(a=[a]);var u=(t.isDirected()?t.successors:t.neighbors).bind(t),s=[],o={};return e.each(a,function(c){if(!t.hasNode(c))throw new Error("Graph does not have node: "+c);n(t,c,i==="post",o,u,s)}),s}function n(t,a,i,u,s,o){e.has(u,a)||(u[a]=!0,i||o.push(a),e.each(s(a),function(c){n(t,c,i,u,s,o)}),i&&o.push(a))}return bi}var yi,ed;function p_(){if(ed)return yi;ed=1;var e=al();yi=r;function r(n,t){return e(n,t,"post")}return yi}var mi,rd;function __(){if(rd)return mi;rd=1;var e=al();mi=r;function r(n,t){return e(n,t,"pre")}return mi}var qi,nd;function g_(){if(nd)return qi;nd=1;var e=$(),r=Uu(),n=el();qi=t;function t(a,i){var u=new r,s={},o=new n,c;function f(h){var l=h.v===c?h.w:h.v,p=o.priority(l);if(p!==void 0){var v=i(h);v0;){if(c=o.removeMin(),e.has(s,c))u.setEdge(c,s[c]);else{if(d)throw new Error("Input graph is not connected: "+a);d=!0}a.nodeEdges(c).forEach(f)}return u}return qi}var wi,td;function b_(){return td||(td=1,wi={components:c_(),dijkstra:rl(),dijkstraAll:d_(),findCycles:h_(),floydWarshall:l_(),isAcyclic:v_(),postorder:p_(),preorder:__(),prim:g_(),tarjan:nl(),topsort:tl()}),wi}var Ri,ad;function y_(){if(ad)return Ri;ad=1;var e=o_();return Ri={Graph:e.Graph,json:f_(),alg:b_(),version:e.version},Ri}var er;if(typeof Cu=="function")try{er=y_()}catch(e){}er||(er=window.graphlib);var V=er,Ei,id;function m_(){if(id)return Ei;id=1;var e=Sh(),r=1,n=4;function t(a){return e(a,r|n)}return Ei=t,Ei}var Ii,ud;function qr(){if(ud)return Ii;ud=1;var e=Ce(),r=ae(),n=hr(),t=B();function a(i,u,s){if(!t(s))return!1;var o=typeof u;return(o=="number"?r(s)&&n(u,s.length):o=="string"&&u in s)?e(s[u],i):!1}return Ii=a,Ii}var Ti,sd;function q_(){if(sd)return Ti;sd=1;var e=mr(),r=Ce(),n=qr(),t=ye(),a=Object.prototype,i=a.hasOwnProperty,u=e(function(s,o){s=Object(s);var c=-1,f=o.length,d=f>2?o[2]:void 0;for(d&&n(o[0],o[1],d)&&(f=1);++c-1?o[c?i[f]:f]:void 0}}return Ci=t,Ci}var Ai,fd;function R_(){if(fd)return Ai;fd=1;var e=/\s/;function r(n){for(var t=n.length;t--&&e.test(n.charAt(t)););return t}return Ai=r,Ai}var Si,cd;function E_(){if(cd)return Si;cd=1;var e=R_(),r=/^\s+/;function n(t){return t&&t.slice(0,e(t)+1).replace(r,"")}return Si=n,Si}var Oi,dd;function I_(){if(dd)return Oi;dd=1;var e=E_(),r=B(),n=xe(),t=NaN,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;function o(c){if(typeof c=="number")return c;if(n(c))return t;if(r(c)){var f=typeof c.valueOf=="function"?c.valueOf():c;c=r(f)?f+"":f}if(typeof c!="string")return c===0?c:+c;c=e(c);var d=i.test(c);return d||u.test(c)?s(c.slice(2),d?2:8):a.test(c)?t:+c}return Oi=o,Oi}var xi,hd;function il(){if(hd)return xi;hd=1;var e=I_(),r=1/0,n=17976931348623157e292;function t(a){if(!a)return a===0?a:0;if(a=e(a),a===r||a===-r){var i=a<0?-1:1;return i*n}return a===a?a:0}return xi=t,xi}var Pi,ld;function T_(){if(ld)return Pi;ld=1;var e=il();function r(n){var t=e(n),a=t%1;return t===t?a?t-a:t:0}return Pi=r,Pi}var Mi,vd;function C_(){if(vd)return Mi;vd=1;var e=Zh(),r=ie(),n=T_(),t=Math.max;function a(i,u,s){var o=i==null?0:i.length;if(!o)return-1;var c=s==null?0:n(s);return c<0&&(c=t(o+c,0)),e(i,r(u,3),c)}return Mi=a,Mi}var Li,pd;function A_(){if(pd)return Li;pd=1;var e=w_(),r=C_(),n=e(r);return Li=n,Li}var ki,_d;function ul(){if(_d)return ki;_d=1;var e=$u();function r(n){var t=n==null?0:n.length;return t?e(n,1):[]}return ki=r,ki}var Ni,gd;function S_(){if(gd)return Ni;gd=1;var e=ju(),r=Oh(),n=ye();function t(a,i){return a==null?a:e(a,r(i),n)}return Ni=t,Ni}var Fi,bd;function O_(){if(bd)return Fi;bd=1;function e(r){var n=r==null?0:r.length;return n?r[n-1]:void 0}return Fi=e,Fi}var ji,yd;function x_(){if(yd)return ji;yd=1;var e=cr(),r=Du(),n=ie();function t(a,i){var u={};return i=n(i,3),r(a,function(s,o,c){e(u,o,i(s,o,c))}),u}return ji=t,ji}var Di,md;function zu(){if(md)return Di;md=1;var e=xe();function r(n,t,a){for(var i=-1,u=n.length;++in}return Gi=e,Gi}var Bi,wd;function M_(){if(wd)return Bi;wd=1;var e=zu(),r=P_(),n=me();function t(a){return a&&a.length?e(a,n,r):void 0}return Bi=t,Bi}var $i,Rd;function sl(){if(Rd)return $i;Rd=1;var e=cr(),r=Ce();function n(t,a,i){(i!==void 0&&!r(t[a],i)||i===void 0&&!(a in t))&&e(t,a,i)}return $i=n,$i}var Ui,Ed;function L_(){if(Ed)return Ui;Ed=1;var e=ge(),r=pr(),n=Z(),t="[object Object]",a=Function.prototype,i=Object.prototype,u=a.toString,s=i.hasOwnProperty,o=u.call(Object);function c(f){if(!n(f)||e(f)!=t)return!1;var d=r(f);if(d===null)return!0;var h=s.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&u.call(h)==o}return Ui=c,Ui}var zi,Id;function ol(){if(Id)return zi;Id=1;function e(r,n){if(!(n==="constructor"&&typeof r[n]=="function")&&n!="__proto__")return r[n]}return zi=e,zi}var Ki,Td;function k_(){if(Td)return Ki;Td=1;var e=Be(),r=ye();function n(t){return e(t,r(t))}return Ki=n,Ki}var Vi,Cd;function N_(){if(Cd)return Vi;Cd=1;var e=sl(),r=gh(),n=Th(),t=bh(),a=Ah(),i=$e(),u=k(),s=Jh(),o=Se(),c=Ge(),f=B(),d=L_(),h=Ue(),l=ol(),p=k_();function v(_,g,b,m,w,C,q){var y=l(_,b),T=l(g,b),S=q.get(T);if(S){e(_,b,S);return}var x=C?C(y,T,b+"",_,g,q):void 0,E=x===void 0;if(E){var L=u(T),N=!L&&o(T),J=!L&&!N&&h(T);x=T,L||N||J?u(y)?x=y:s(y)?x=t(y):N?(E=!1,x=r(T,!0)):J?(E=!1,x=n(T,!0)):x=[]:d(T)||i(T)?(x=y,i(y)?x=p(y):(!f(y)||c(y))&&(x=a(T))):E=!1}E&&(q.set(T,x),w(x,T,m,C,q),q.delete(T)),e(_,b,x)}return Vi=v,Vi}var Hi,Ad;function F_(){if(Ad)return Hi;Ad=1;var e=fr(),r=sl(),n=ju(),t=N_(),a=B(),i=ye(),u=ol();function s(o,c,f,d,h){o!==c&&n(c,function(l,p){if(h||(h=new e),a(l))t(o,c,p,f,s,d,h);else{var v=d?d(u(o,p),l,p+"",o,c,h):void 0;v===void 0&&(v=l),r(o,p,v)}},i)}return Hi=s,Hi}var Wi,Sd;function j_(){if(Sd)return Wi;Sd=1;var e=mr(),r=qr();function n(t){return e(function(a,i){var u=-1,s=i.length,o=s>1?i[s-1]:void 0,c=s>2?i[2]:void 0;for(o=t.length>3&&typeof o=="function"?(s--,o):void 0,c&&r(i[0],i[1],c)&&(o=s<3?void 0:o,s=1),a=Object(a);++ut||s&&o&&f&&!c&&!d||i&&o&&f||!a&&f||!u)return 1;if(!i&&!s&&!d&&n=c)return f;var d=a[i];return f*(d=="desc"?-1:1)}}return n.index-t.index}return cu=r,cu}var du,Vd;function eg(){if(Vd)return du;Vd=1;var e=gr(),r=yr(),n=ie(),t=Vh(),a=Z_(),i=lr(),u=Q_(),s=me(),o=k();function c(f,d,h){d.length?d=e(d,function(v){return o(v)?function(_){return r(_,v.length===1?v[0]:v)}:v}):d=[s];var l=-1;d=e(d,i(n));var p=t(f,function(v,_,g){var b=e(d,function(m){return m(v)});return{criteria:b,index:++l,value:v}});return a(p,function(v,_){return u(v,_,h)})}return du=c,du}var hu,Hd;function rg(){if(Hd)return hu;Hd=1;var e=$u(),r=eg(),n=mr(),t=qr(),a=n(function(i,u){if(i==null)return[];var s=u.length;return s>1&&t(i,u[0],u[1])?u=[]:s>2&&t(u[0],u[1],u[2])&&(u=[u[0]]),r(i,e(u,1),[])});return hu=a,hu}var lu,Wd;function ng(){if(Wd)return lu;Wd=1;var e=Dh(),r=0;function n(t){var a=++r;return e(t)+a}return lu=n,lu}var vu,Yd;function tg(){if(Yd)return vu;Yd=1;function e(r,n,t){for(var a=-1,i=r.length,u=n.length,s={};++a0;--s)if(u=r[s].dequeue(),u){t=t.concat(_u(e,r,n,u,!0));break}}}return t}function _u(e,r,n,t,a){var i=a?[]:void 0;return re.forEach(e.inEdges(t.v),function(u){var s=e.edge(u),o=e.node(u.v);a&&i.push({v:u.v,w:u.w}),o.out-=s,Eu(r,n,o)}),re.forEach(e.outEdges(t.v),function(u){var s=e.edge(u),o=u.w,c=e.node(o);c.in-=s,Eu(r,n,c)}),e.removeNode(t.v),i}function lg(e,r){var n=new sg,t=0,a=0;re.forEach(e.nodes(),function(s){n.setNode(s,{v:s,in:0,out:0})}),re.forEach(e.edges(),function(s){var o=n.edge(s.v,s.w)||0,c=r(s),f=o+c;n.setEdge(s.v,s.w,f),a=Math.max(a,n.node(s.v).out+=c),t=Math.max(t,n.node(s.w).in+=c)});var i=re.range(a+t+3).map(function(){return new og}),u=t+1;return re.forEach(n.nodes(),function(s){Eu(i,u,n.node(s))}),{graph:n,buckets:i,zeroIdx:u}}function Eu(e,r,n){n.out?n.in?e[n.out-n.in+r].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}var _e=M,vg=fg,pg={run:_g,undo:bg};function _g(e){var r=e.graph().acyclicer==="greedy"?vg(e,n(e)):gg(e);_e.forEach(r,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,_e.uniqueId("rev"))});function n(t){return function(a){return t.edge(a).weight}}}function gg(e){var r=[],n={},t={};function a(i){_e.has(t,i)||(t[i]=!0,n[i]=!0,_e.forEach(e.outEdges(i),function(u){_e.has(n,u.w)?r.push(u):a(u.w)}),delete n[i])}return _e.forEach(e.nodes(),a),r}function bg(e){_e.forEach(e.edges(),function(r){var n=e.edge(r);if(n.reversed){e.removeEdge(r);var t=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(r.w,r.v,n,t)}})}var A=M,dl=V.Graph,j={addDummyNode:hl,simplify:yg,asNonCompoundGraph:mg,successorWeights:qg,predecessorWeights:wg,intersectRect:Rg,buildLayerMatrix:Eg,normalizeRanks:Ig,removeEmptyRanks:Tg,addBorderNode:Cg,maxRank:ll,partition:Ag,time:Sg,notime:Og};function hl(e,r,n,t){var a;do a=A.uniqueId(t);while(e.hasNode(a));return n.dummy=r,e.setNode(a,n),a}function yg(e){var r=new dl().setGraph(e.graph());return A.forEach(e.nodes(),function(n){r.setNode(n,e.node(n))}),A.forEach(e.edges(),function(n){var t=r.edge(n.v,n.w)||{weight:0,minlen:1},a=e.edge(n);r.setEdge(n.v,n.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),r}function mg(e){var r=new dl({multigraph:e.isMultigraph()}).setGraph(e.graph());return A.forEach(e.nodes(),function(n){e.children(n).length||r.setNode(n,e.node(n))}),A.forEach(e.edges(),function(n){r.setEdge(n,e.edge(n))}),r}function qg(e){var r=A.map(e.nodes(),function(n){var t={};return A.forEach(e.outEdges(n),function(a){t[a.w]=(t[a.w]||0)+e.edge(a).weight}),t});return A.zipObject(e.nodes(),r)}function wg(e){var r=A.map(e.nodes(),function(n){var t={};return A.forEach(e.inEdges(n),function(a){t[a.v]=(t[a.v]||0)+e.edge(a).weight}),t});return A.zipObject(e.nodes(),r)}function Rg(e,r){var n=e.x,t=e.y,a=r.x-n,i=r.y-t,u=e.width/2,s=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var o,c;return Math.abs(i)*u>Math.abs(a)*s?(i<0&&(s=-s),o=s*a/i,c=s):(a<0&&(u=-u),o=u,c=u*i/a),{x:n+o,y:t+c}}function Eg(e){var r=A.map(A.range(ll(e)+1),function(){return[]});return A.forEach(e.nodes(),function(n){var t=e.node(n),a=t.rank;A.isUndefined(a)||(r[a][t.order]=n)}),r}function Ig(e){var r=A.min(A.map(e.nodes(),function(n){return e.node(n).rank}));A.forEach(e.nodes(),function(n){var t=e.node(n);A.has(t,"rank")&&(t.rank-=r)})}function Tg(e){var r=A.min(A.map(e.nodes(),function(i){return e.node(i).rank})),n=[];A.forEach(e.nodes(),function(i){var u=e.node(i).rank-r;n[u]||(n[u]=[]),n[u].push(i)});var t=0,a=e.graph().nodeRankFactor;A.forEach(n,function(i,u){A.isUndefined(i)&&u%a!==0?--t:t&&A.forEach(i,function(s){e.node(s).rank+=t})})}function Cg(e,r,n,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=n,a.order=t),hl(e,"border",a,r)}function ll(e){return A.max(A.map(e.nodes(),function(r){var n=e.node(r).rank;if(!A.isUndefined(n))return n}))}function Ag(e,r){var n={lhs:[],rhs:[]};return A.forEach(e,function(t){r(t)?n.lhs.push(t):n.rhs.push(t)}),n}function Sg(e,r){var n=A.now();try{return r()}finally{console.log(e+" time: "+(A.now()-n)+"ms")}}function Og(e,r){return r()}var vl=M,xg=j,Pg={run:Mg,undo:kg};function Mg(e){e.graph().dummyChains=[],vl.forEach(e.edges(),function(r){Lg(e,r)})}function Lg(e,r){var n=r.v,t=e.node(n).rank,a=r.w,i=e.node(a).rank,u=r.name,s=e.edge(r),o=s.labelRank;if(i!==t+1){e.removeEdge(r);var c,f,d;for(d=0,++t;tu.lim&&(s=u,o=!0);var c=te.filter(r.edges(),function(f){return o===Zd(e,e.node(f.v),s)&&o!==Zd(e,e.node(f.w),s)});return te.minBy(c,function(f){return zg(r,f)})}function ml(e,r,n,t){var a=n.v,i=n.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),Vu(e),Ku(e,r),Zg(e,r)}function Zg(e,r){var n=te.find(e.nodes(),function(a){return!r.node(a).parent}),t=Vg(e,n);t=t.slice(1),te.forEach(t,function(a){var i=e.node(a).parent,u=r.edge(a,i),s=!1;u||(u=r.edge(i,a),s=!0),r.node(a).rank=r.node(i).rank+(s?u.minlen:-u.minlen)})}function Jg(e,r,n){return e.hasEdge(r,n)}function Zd(e,r,n){return n.low<=r.lim&&r.lim<=n.lim}var Qg=Rr,ql=Qg.longestPath,eb=pl,rb=Yg,nb=tb;function tb(e){switch(e.graph().ranker){case"network-simplex":Jd(e);break;case"tight-tree":ib(e);break;case"longest-path":ab(e);break;default:Jd(e)}}var ab=ql;function ib(e){ql(e),eb(e)}function Jd(e){rb(e)}var Iu=M,ub=sb;function sb(e){var r=fb(e);Iu.forEach(e.graph().dummyChains,function(n){for(var t=e.node(n),a=t.edgeObj,i=ob(e,r,a.v,a.w),u=i.path,s=i.lca,o=0,c=u[o],f=!0;n!==a.w;){if(t=e.node(n),f){for(;(c=u[o])!==s&&e.node(c).maxRanku||s>r[o].lim));for(c=o,o=t;(o=e.parent(o))!==c;)i.push(o);return{path:a.concat(i.reverse()),lca:c}}function fb(e){var r={},n=0;function t(a){var i=n;Iu.forEach(e.children(a),t),r[a]={low:i,lim:n++}}return Iu.forEach(e.children(),t),r}var ne=M,Tu=j,cb={run:db,cleanup:vb};function db(e){var r=Tu.addDummyNode(e,"root",{},"_root"),n=hb(e),t=ne.max(ne.values(n))-1,a=2*t+1;e.graph().nestingRoot=r,ne.forEach(e.edges(),function(u){e.edge(u).minlen*=a});var i=lb(e)+1;ne.forEach(e.children(),function(u){wl(e,r,a,i,t,n,u)}),e.graph().nodeRankFactor=a}function wl(e,r,n,t,a,i,u){var s=e.children(u);if(!s.length){u!==r&&e.setEdge(r,u,{weight:0,minlen:n});return}var o=Tu.addBorderNode(e,"_bt"),c=Tu.addBorderNode(e,"_bb"),f=e.node(u);e.setParent(o,u),f.borderTop=o,e.setParent(c,u),f.borderBottom=c,ne.forEach(s,function(d){wl(e,r,n,t,a,i,d);var h=e.node(d),l=h.borderTop?h.borderTop:d,p=h.borderBottom?h.borderBottom:d,v=h.borderTop?t:2*t,_=l!==p?1:a-i[u]+1;e.setEdge(o,l,{weight:v,minlen:_,nestingEdge:!0}),e.setEdge(p,c,{weight:v,minlen:_,nestingEdge:!0})}),e.parent(u)||e.setEdge(r,o,{weight:0,minlen:a+i[u]})}function hb(e){var r={};function n(t,a){var i=e.children(t);i&&i.length&&ne.forEach(i,function(u){n(u,a+1)}),r[t]=a}return ne.forEach(e.children(),function(t){n(t,1)}),r}function lb(e){return ne.reduce(e.edges(),function(r,n){return r+e.edge(n).weight},0)}function vb(e){var r=e.graph();e.removeNode(r.nestingRoot),delete r.nestingRoot,ne.forEach(e.edges(),function(n){var t=e.edge(n);t.nestingEdge&&e.removeEdge(n)})}var gu=M,pb=j,_b=gb;function gb(e){function r(n){var t=e.children(n),a=e.node(n);if(t.length&&gu.forEach(t,r),gu.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,u=a.maxRank+1;i0;)f%2&&(d+=s[f+1]),f=f-1>>1,s[f]+=c.weight;o+=c.weight*d})),o}var rh=M,Ab=Sb;function Sb(e,r){return rh.map(r,function(n){var t=e.inEdges(n);if(t.length){var a=rh.reduce(t,function(i,u){var s=e.edge(u),o=e.node(u.v);return{sum:i.sum+s.weight*o.order,weight:i.weight+s.weight}},{sum:0,weight:0});return{v:n,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:n}})}var G=M,Ob=xb;function xb(e,r){var n={};G.forEach(e,function(a,i){var u=n[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};G.isUndefined(a.barycenter)||(u.barycenter=a.barycenter,u.weight=a.weight)}),G.forEach(r.edges(),function(a){var i=n[a.v],u=n[a.w];!G.isUndefined(i)&&!G.isUndefined(u)&&(u.indegree++,i.out.push(n[a.w]))});var t=G.filter(n,function(a){return!a.indegree});return Pb(t)}function Pb(e){var r=[];function n(i){return function(u){u.merged||(G.isUndefined(u.barycenter)||G.isUndefined(i.barycenter)||u.barycenter>=i.barycenter)&&Mb(i,u)}}function t(i){return function(u){u.in.push(i),--u.indegree===0&&e.push(u)}}for(;e.length;){var a=e.pop();r.push(a),G.forEach(a.in.reverse(),n(a)),G.forEach(a.out,t(a))}return G.map(G.filter(r,function(i){return!i.merged}),function(i){return G.pick(i,["vs","i","barycenter","weight"])})}function Mb(e,r){var n=0,t=0;e.weight&&(n+=e.barycenter*e.weight,t+=e.weight),r.weight&&(n+=r.barycenter*r.weight,t+=r.weight),e.vs=r.vs.concat(e.vs),e.barycenter=n/t,e.weight=t,e.i=Math.min(r.i,e.i),r.merged=!0}var Ne=M,Lb=j,kb=Nb;function Nb(e,r){var n=Lb.partition(e,function(f){return Ne.has(f,"barycenter")}),t=n.lhs,a=Ne.sortBy(n.rhs,function(f){return-f.i}),i=[],u=0,s=0,o=0;t.sort(Fb(!!r)),o=nh(i,a,o),Ne.forEach(t,function(f){o+=f.vs.length,i.push(f.vs),u+=f.barycenter*f.weight,s+=f.weight,o=nh(i,a,o)});var c={vs:Ne.flatten(i,!0)};return s&&(c.barycenter=u/s,c.weight=s),c}function nh(e,r,n){for(var t;r.length&&(t=Ne.last(r)).i<=n;)r.pop(),e.push(t.vs),n++;return n}function Fb(e){return function(r,n){return r.barycentern.barycenter?1:e?n.i-r.i:r.i-n.i}}var ce=M,jb=Ab,Db=Ob,Gb=kb,Bb=El;function El(e,r,n,t){var a=e.children(r),i=e.node(r),u=i?i.borderLeft:void 0,s=i?i.borderRight:void 0,o={};u&&(a=ce.filter(a,function(p){return p!==u&&p!==s}));var c=jb(e,a);ce.forEach(c,function(p){if(e.children(p.v).length){var v=El(e,p.v,n,t);o[p.v]=v,ce.has(v,"barycenter")&&Ub(p,v)}});var f=Db(c,n);$b(f,o);var d=Gb(f,t);if(u&&(d.vs=ce.flatten([u,d.vs,s],!0),e.predecessors(u).length)){var h=e.node(e.predecessors(u)[0]),l=e.node(e.predecessors(s)[0]);ce.has(d,"barycenter")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+h.order+l.order)/(d.weight+2),d.weight+=2}return d}function $b(e,r){ce.forEach(e,function(n){n.vs=ce.flatten(n.vs.map(function(t){return r[t]?r[t].vs:t}),!0)})}function Ub(e,r){ce.isUndefined(e.barycenter)?(e.barycenter=r.barycenter,e.weight=r.weight):(e.barycenter=(e.barycenter*e.weight+r.barycenter*r.weight)/(e.weight+r.weight),e.weight+=r.weight)}var Fe=M,zb=V.Graph,Kb=Vb;function Vb(e,r,n){var t=Hb(e),a=new zb({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return Fe.forEach(e.nodes(),function(i){var u=e.node(i),s=e.parent(i);(u.rank===r||u.minRank<=r&&r<=u.maxRank)&&(a.setNode(i),a.setParent(i,s||t),Fe.forEach(e[n](i),function(o){var c=o.v===i?o.w:o.v,f=a.edge(c,i),d=Fe.isUndefined(f)?0:f.weight;a.setEdge(c,i,{weight:e.edge(o).weight+d})}),Fe.has(u,"minRank")&&a.setNode(i,{borderLeft:u.borderLeft[r],borderRight:u.borderRight[r]}))}),a}function Hb(e){for(var r;e.hasNode(r=Fe.uniqueId("_root")););return r}var Wb=M,Yb=Xb;function Xb(e,r,n){var t={},a;Wb.forEach(n,function(i){for(var u=e.parent(i),s,o;u;){if(s=e.parent(u),s?(o=t[s],t[s]=u):(o=a,a=u),o&&o!==u){r.setEdge(o,u);return}u=s}})}var de=M,Zb=Rb,Jb=Ib,Qb=Bb,ey=Kb,ry=Yb,ny=V.Graph,th=j,ty=ay;function ay(e){var r=th.maxRank(e),n=ah(e,de.range(1,r+1),"inEdges"),t=ah(e,de.range(r-1,-1,-1),"outEdges"),a=Zb(e);ih(e,a);for(var i=Number.POSITIVE_INFINITY,u,s=0,o=0;o<4;++s,++o){iy(s%2?n:t,s%4>=2),a=th.buildLayerMatrix(e);var c=Jb(e,a);cc)&&Hu(n,h,f)})})}function a(i,u){var s=-1,o,c=0;return R.forEach(u,function(f,d){if(e.node(f).dummy==="border"){var h=e.predecessors(f);h.length&&(o=e.node(h[0]).order,t(u,c,d,s,o),c=d,s=o)}t(u,c,u.length,o,i.length)}),u}return R.reduce(r,a),n}function fy(e,r){if(e.node(r).dummy)return R.find(e.predecessors(r),function(n){return e.node(n).dummy})}function Hu(e,r,n){if(r>n){var t=r;r=n,n=t}var a=e[r];a||(e[r]=a={}),a[n]=!0}function Cl(e,r,n){if(r>n){var t=r;r=n,n=t}return R.has(e[r],n)}function Al(e,r,n,t){var a={},i={},u={};return R.forEach(r,function(s){R.forEach(s,function(o,c){a[o]=o,i[o]=o,u[o]=c})}),R.forEach(r,function(s){var o=-1;R.forEach(s,function(c){var f=t(c);if(f.length){f=R.sortBy(f,function(v){return u[v]});for(var d=(f.length-1)/2,h=Math.floor(d),l=Math.ceil(d);h<=l;++h){var p=f[h];i[c]===c&&o({}));const o=u==="LR";s.setGraph({rankdir:u}),n.value=u;for(const c of a){const f=e(c.id);s.setNode(c.id,{width:f.dimensions.width||150,height:f.dimensions.height||50})}for(const c of i)s.setEdge(c.source,c.target);return wu.layout(s),a.map(c=>{const f=s.node(c.id);return Tr(Ir({},c),{targetPosition:o?Ze.Left:Ze.Top,sourcePosition:o?Ze.Right:Ze.Bottom,position:{x:f.x,y:f.y}})})}return{graph:r,layout:t,previousDirection:n}}function am(e){for(let r=e.length-1;r>0;r--){const n=Math.floor(Math.random()*(r+1));[e[r],e[n]]=[e[n],e[r]]}}function im(e){const r=[];for(const n of e)for(const t of e)if(n.id!==t.id){const a=`e${n.id}-${t.id}`;r.push({id:a,source:n.id,target:t.id,type:"animation",animated:!0})}return r}function um(){return e=>{const r=im(e);am(r);const n=new Set,t=[];for(const a of r)!n.has(a.target)&&(n.size===0||n.has(a.source))&&(t.push(a),n.add(a.source),n.add(a.target));return t}}function sm({graph:e,cancelOnError:r=!0}){const{updateNodeData:n,getConnectedEdges:t}=ar(),a=Ru(()=>rs(e)),i=Te(!1),u=new Set,s=new Map,o=new Set;function c(v,_=!1){return Q(this,null,function*(){if(u.has(v.id))return;o.add(v.id);const g=t(v.id).filter(m=>m.target===v.id);if(yield Promise.all(g.map(m=>om(()=>!m.data.isAnimating))),o.clear(),!i.value)return;u.add(v.id),n(v.id,{isRunning:!0,isFinished:!1,hasError:!1,isCancelled:!1});const b=Math.floor(Math.random()*2e3)+1e3;return new Promise(m=>{const w=setTimeout(()=>Q(this,null,function*(){const C=a.value.successors(v.id),q=Math.random()<.15;if(!_&&q&&(n(v.id,{isRunning:!1,hasError:!0}),rs(r))){yield h(v.id),s.delete(v.id),m();return}n(v.id,{isRunning:!1,isFinished:!0}),s.delete(v.id),C.length>0&&(yield Promise.all(C.map(y=>c({id:y})))),m()}),_?0:b);s.set(v.id,w)})})}function f(v){return Q(this,null,function*(){if(i.value)return;d(v),i.value=!0;const _=v.filter(g=>{var b;return((b=a.value.predecessors(g.id))==null?void 0:b.length)===0});yield Promise.all(_.map(g=>c(g,!0))),p()})}function d(v){p();for(const _ of v)n(_.id,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!1})}function h(v){return Q(this,null,function*(){const _=a.value.successors(v);for(const g of _)n(g,{isRunning:!1,isSkipped:!0}),yield h(g)})}function l(){return Q(this,null,function*(){i.value=!1;for(const v of o)clearTimeout(s.get(v)),s.delete(v),n(v,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!0}),yield h(v);for(const[v,_]of s)clearTimeout(_),s.delete(v),n(v,{isRunning:!1,isFinished:!1,hasError:!1,isSkipped:!1,isCancelled:!0}),yield h(v);u.clear(),o.clear()})}function p(){i.value=!1,u.clear(),s.clear()}return{run:f,stop:l,reset:d,isRunning:i}}function om(e){return Q(this,null,function*(){return new Promise(r=>{const n=setInterval(()=>{e()&&(clearInterval(n),r())},100)})})}var Y=(e=>(e.Lines="lines",e.Dots="dots",e))(Y||{});const Ll=function({dimensions:e,size:r,color:n}){return dh("path",{stroke:n,"stroke-width":r,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},kl=function({radius:e,color:r}){return dh("circle",{cx:e,cy:e,r:e,fill:r})};Y.Lines+"",Y.Dots+"";const fm={[Y.Dots]:"#81818a",[Y.Lines]:"#eee"},cm=["id","x","y","width","height","patternTransform"],dm={key:2,height:"100",width:"100"},hm=["fill"],lm=["x","y","fill"],vm={name:"Background",compatConfig:{MODE:3}},pm=ch(Tr(Ir({},vm),{props:{id:{},variant:{default:()=>Y.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:2}},setup(e){const{id:r,viewport:n}=ar(),t=ov(()=>{const[u,s]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],o=[u*n.value.zoom||1,s*n.value.zoom||1],c=e.size*n.value.zoom,f=e.variant===Y.Dots?[c/e.offset,c/e.offset]:[o[0]/e.offset,o[1]/e.offset];return{scaledGap:o,offset:f,size:c}}),a=Ru(()=>`pattern-${r}${e.id?`-${e.id}`:""}`),i=Ru(()=>e.color||e.patternColor||fm[e.variant||Y.Dots]);return(u,s)=>(pe(),De("svg",{class:"vue-flow__background vue-flow__container",style:fv({height:`${u.height>100?100:u.height}%`,width:`${u.width>100?100:u.width}%`})},[Cr(u.$slots,"pattern-container",{id:a.value},()=>[fe("pattern",{id:a.value,x:D(n).x%t.value.scaledGap[0],y:D(n).y%t.value.scaledGap[1],width:t.value.scaledGap[0],height:t.value.scaledGap[1],patternTransform:`translate(-${t.value.offset[0]},-${t.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[Cr(u.$slots,"pattern",{},()=>[u.variant===D(Y).Lines?(pe(),ns(D(Ll),{key:0,size:u.lineWidth,color:i.value,dimensions:t.value.scaledGap},null,8,["size","color","dimensions"])):u.variant===D(Y).Dots?(pe(),ns(D(kl),{key:1,color:i.value,radius:t.value.size/u.offset},null,8,["color","radius"])):ts("",!0),u.bgColor?(pe(),De("svg",dm,[fe("rect",{width:"100%",height:"100%",fill:u.bgColor},null,8,hm)])):ts("",!0)])],8,cm)]),fe("rect",{x:u.x,y:u.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,lm),Cr(u.$slots,"default",{id:a.value})],4))}})),U={x:0,y:0},z="process",W="animation",_m=[{id:"1",position:U,type:z},{id:"2",position:U,type:z},{id:"2a",position:U,type:z},{id:"2b",position:U,type:z},{id:"2c",position:U,type:z},{id:"2d",position:U,type:z},{id:"3",position:U,type:z},{id:"4",position:U,type:z},{id:"5",position:U,type:z},{id:"6",position:U,type:z},{id:"7",position:U,type:z}],gm=[{id:"e1-2",source:"1",target:"2",type:W,animated:!0},{id:"e1-3",source:"1",target:"3",type:W,animated:!0},{id:"e2-2a",source:"2",target:"2a",type:W,animated:!0},{id:"e2-2b",source:"2",target:"2b",type:W,animated:!0},{id:"e2-2c",source:"2",target:"2c",type:W,animated:!0},{id:"e2c-2d",source:"2c",target:"2d",type:W,animated:!0},{id:"e3-7",source:"3",target:"4",type:W,animated:!0},{id:"e4-5",source:"4",target:"5",type:W,animated:!0},{id:"e5-6",source:"5",target:"6",type:W,animated:!0},{id:"e5-7",source:"5",target:"7",type:W,animated:!0}],bm={class:"layout-flow"},ym={class:"layout-panel"},mm=ch({__name:"index",setup(e){const r=Te(_m),n=Te(gm),t=Te(!0),a=um(),{graph:i,layout:u,previousDirection:s}=tm(),{run:o,stop:c,reset:f,isRunning:d}=sm({graph:i,cancelOnError:t}),{fitView:h}=ar();function l(){return Q(this,null,function*(){yield c(),f(r.value),n.value=a(r.value),as(()=>{p(s.value)})})}function p(v){return Q(this,null,function*(){yield c(),f(r.value),r.value=u(r.value,n.value,v),as(()=>{h(),o(r.value)})})}return(v,_)=>(pe(),De("div",bm,[H(D(hv),{nodes:r.value,edges:n.value,onNodesInitialized:_[4]||(_[4]=g=>p("LR"))},{"node-process":Xe(g=>[H(lv,{data:g.data,"source-position":g.sourcePosition,"target-position":g.targetPosition},null,8,["data","source-position","target-position"])]),"edge-animation":Xe(g=>[H(vv,{id:g.id,source:g.source,target:g.target,"source-x":g.sourceX,"source-y":g.sourceY,targetX:g.targetX,targetY:g.targetY,"source-position":g.sourcePosition,"target-position":g.targetPosition},null,8,["id","source","target","source-x","source-y","targetX","targetY","source-position","target-position"])]),default:Xe(()=>[H(D(pm)),H(D(dv),{class:"process-panel",position:"top-left"},{default:Xe(()=>[fe("div",ym,[D(d)?(pe(),De("button",{key:0,class:"stop-btn",title:"stop",onClick:_[0]||(_[0]=(...g)=>D(c)&&D(c)(...g))},[H(Pe,{name:"stop"}),_[5]||(_[5]=fe("span",{class:"spinner"},null,-1))])):(pe(),De("button",{key:1,title:"start",onClick:_[1]||(_[1]=g=>D(o)(r.value))},[H(Pe,{name:"play"})])),fe("button",{title:"set horizontal layout",onClick:_[2]||(_[2]=g=>p("LR"))},[H(Pe,{name:"horizontal"})]),fe("button",{title:"set vertical layout",onClick:_[3]||(_[3]=g=>p("TB"))},[H(Pe,{name:"vertical"})]),fe("button",{title:"shuffle graph",onClick:l},[H(Pe,{name:"shuffle"})])])]),_:1})]),_:1},8,["nodes","edges"])]))}}),Am=cv(mm,[["__scopeId","data-v-6094ddc5"]]);export{Am as default}; diff --git a/static/js/index-C0Cc9DPU.js b/static/js/index-a8zx5bys.js similarity index 91% rename from static/js/index-C0Cc9DPU.js rename to static/js/index-a8zx5bys.js index 84517d9152..8b90686aca 100644 --- a/static/js/index-C0Cc9DPU.js +++ b/static/js/index-a8zx5bys.js @@ -1 +1 @@ -var G=Object.defineProperty,H=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var v=(r,l,a)=>l in r?G(r,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[l]=a,x=(r,l)=>{for(var a in l||(l={}))K.call(l,a)&&v(r,a,l[a]);if(h)for(var a of h(l))M.call(l,a)&&v(r,a,l[a]);return r},k=(r,l)=>H(r,J(l));import{useRole as Q}from"./hook-Dpo6x_Lp.js";import{g as W}from"./utils-NlcLu7mC.js";import{d as X,P as Y}from"./refresh-lSteXGJu.js";import{u}from"./hooks-CaC3u4N2.js";import{d as Z}from"./delete-Ce0TSdK5.js";import{d as ee,a as y,e as s,A as oe,f as V,k as w,i as o,w as n,u as e,h as p,B as te,g as S,t as le,j as ne,_ as ae}from"./index-AFhnwzwZ.js";import"./system-ByM4snMa.js";import"./hooks-DZOKHTKM.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-rJf1qnVw.js";import"./collapse-BIaolCul.js";const re={class:"main"},ie={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},se={class:"flex-auto"},me={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},de=ee({name:"OperationLog",__name:"index",setup(r){const l=y(),a=y(),{form:m,loading:f,columns:R,dataList:P,pagination:B,selectedNum:_,onSearch:g,clearAll:z,resetForm:N,onbatchDel:T,handleSizeChange:D,onSelectionCancel:U,handleCurrentChange:A,handleSelectionChange:I}=Q(a);return(pe,t)=>{const L=s("el-input"),c=s("el-form-item"),C=s("el-option"),$=s("el-select"),j=s("el-date-picker"),d=s("el-button"),E=s("el-form"),b=s("el-popconfirm"),F=s("pure-table"),O=oe("motion-fade");return V(),w("div",re,[o(E,{ref_key:"formRef",ref:l,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[o(c,{label:"所属模块",prop:"module"},{default:n(()=>[o(L,{modelValue:e(m).module,"onUpdate:modelValue":t[0]||(t[0]=i=>e(m).module=i),placeholder:"请输入所属模块",clearable:"",class:"!w-[170px]"},null,8,["modelValue"])]),_:1}),o(c,{label:"操作状态",prop:"status"},{default:n(()=>[o($,{modelValue:e(m).status,"onUpdate:modelValue":t[1]||(t[1]=i=>e(m).status=i),placeholder:"请选择",clearable:"",class:"!w-[150px]"},{default:n(()=>[o(C,{label:"成功",value:"1"}),o(C,{label:"失败",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"操作时间",prop:"operatingTime"},{default:n(()=>[o(j,{modelValue:e(m).operatingTime,"onUpdate:modelValue":t[2]||(t[2]=i=>e(m).operatingTime=i),shortcuts:e(W)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),o(c,null,{default:n(()=>[o(d,{type:"primary",icon:e(u)("ri:search-line"),loading:e(f),onClick:e(g)},{default:n(()=>t[4]||(t[4]=[p(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(d,{icon:e(u)(e(X)),onClick:t[3]||(t[3]=i=>e(N)(l.value))},{default:n(()=>t[5]||(t[5]=[p(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(Y),{title:"操作日志(仅演示,操作后不生效)",columns:e(R),onRefresh:e(g)},{buttons:n(()=>[o(b,{title:"确定要删除所有日志数据吗?",onConfirm:e(z)},{reference:n(()=>[o(d,{type:"danger",icon:e(u)(e(Z))},{default:n(()=>t[6]||(t[6]=[p(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:n(({size:i,dynamicColumns:q})=>[e(_)>0?te((V(),w("div",ie,[S("div",se,[S("span",me," 已选 "+le(e(_))+" 项 ",1),o(d,{type:"primary",text:"",onClick:e(U)},{default:n(()=>t[7]||(t[7]=[p(" 取消选择 ")])),_:1},8,["onClick"])]),o(b,{title:"是否确认删除?",onConfirm:e(T)},{reference:n(()=>[o(d,{type:"danger",text:"",class:"mr-1"},{default:n(()=>t[8]||(t[8]=[p(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[O]]):ne("",!0),o(F,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:q,pagination:k(x({},e(B)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(I),onPageSizeChange:e(D),onPageCurrentChange:e(A)},null,8,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),Ve=ae(de,[["__scopeId","data-v-fac4efc2"]]);export{Ve as default}; +var G=Object.defineProperty,H=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var v=(r,l,a)=>l in r?G(r,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[l]=a,x=(r,l)=>{for(var a in l||(l={}))K.call(l,a)&&v(r,a,l[a]);if(h)for(var a of h(l))M.call(l,a)&&v(r,a,l[a]);return r},k=(r,l)=>H(r,J(l));import{useRole as Q}from"./hook-3sUn2oql.js";import{g as W}from"./utils-NlcLu7mC.js";import{d as X,P as Y}from"./refresh-DeEyTuf-.js";import{u}from"./hooks-BoDRUKFd.js";import{d as Z}from"./delete-Ce0TSdK5.js";import{d as ee,a as y,e as s,A as oe,f as V,k as w,i as o,w as n,u as e,h as p,B as te,g as S,t as le,j as ne,_ as ae}from"./index-DqH6biyS.js";import"./system-Q00uAIzG.js";import"./hooks-CT5JiEcI.js";import"./sortable.esm-Br3T5NCo.js";import"./epTheme-tM--YJJd.js";import"./collapse-DYh2XMRr.js";const re={class:"main"},ie={key:0,class:"bg-[var(--el-fill-color-light)] w-full h-[46px] mb-2 pl-4 flex items-center"},se={class:"flex-auto"},me={style:{"font-size":"var(--el-font-size-base)"},class:"text-[rgba(42,46,54,0.5)] dark:text-[rgba(220,220,242,0.5)]"},de=ee({name:"OperationLog",__name:"index",setup(r){const l=y(),a=y(),{form:m,loading:f,columns:R,dataList:P,pagination:B,selectedNum:_,onSearch:g,clearAll:z,resetForm:N,onbatchDel:T,handleSizeChange:D,onSelectionCancel:U,handleCurrentChange:A,handleSelectionChange:I}=Q(a);return(pe,t)=>{const L=s("el-input"),c=s("el-form-item"),C=s("el-option"),$=s("el-select"),j=s("el-date-picker"),d=s("el-button"),E=s("el-form"),b=s("el-popconfirm"),F=s("pure-table"),O=oe("motion-fade");return V(),w("div",re,[o(E,{ref_key:"formRef",ref:l,inline:!0,model:e(m),class:"search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"},{default:n(()=>[o(c,{label:"所属模块",prop:"module"},{default:n(()=>[o(L,{modelValue:e(m).module,"onUpdate:modelValue":t[0]||(t[0]=i=>e(m).module=i),placeholder:"请输入所属模块",clearable:"",class:"!w-[170px]"},null,8,["modelValue"])]),_:1}),o(c,{label:"操作状态",prop:"status"},{default:n(()=>[o($,{modelValue:e(m).status,"onUpdate:modelValue":t[1]||(t[1]=i=>e(m).status=i),placeholder:"请选择",clearable:"",class:"!w-[150px]"},{default:n(()=>[o(C,{label:"成功",value:"1"}),o(C,{label:"失败",value:"0"})]),_:1},8,["modelValue"])]),_:1}),o(c,{label:"操作时间",prop:"operatingTime"},{default:n(()=>[o(j,{modelValue:e(m).operatingTime,"onUpdate:modelValue":t[2]||(t[2]=i=>e(m).operatingTime=i),shortcuts:e(W)(),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期时间","end-placeholder":"结束日期时间"},null,8,["modelValue","shortcuts"])]),_:1}),o(c,null,{default:n(()=>[o(d,{type:"primary",icon:e(u)("ri:search-line"),loading:e(f),onClick:e(g)},{default:n(()=>t[4]||(t[4]=[p(" 搜索 ")])),_:1},8,["icon","loading","onClick"]),o(d,{icon:e(u)(e(X)),onClick:t[3]||(t[3]=i=>e(N)(l.value))},{default:n(()=>t[5]||(t[5]=[p(" 重置 ")])),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),o(e(Y),{title:"操作日志(仅演示,操作后不生效)",columns:e(R),onRefresh:e(g)},{buttons:n(()=>[o(b,{title:"确定要删除所有日志数据吗?",onConfirm:e(z)},{reference:n(()=>[o(d,{type:"danger",icon:e(u)(e(Z))},{default:n(()=>t[6]||(t[6]=[p(" 清空日志 ")])),_:1},8,["icon"])]),_:1},8,["onConfirm"])]),default:n(({size:i,dynamicColumns:q})=>[e(_)>0?te((V(),w("div",ie,[S("div",se,[S("span",me," 已选 "+le(e(_))+" 项 ",1),o(d,{type:"primary",text:"",onClick:e(U)},{default:n(()=>t[7]||(t[7]=[p(" 取消选择 ")])),_:1},8,["onClick"])]),o(b,{title:"是否确认删除?",onConfirm:e(T)},{reference:n(()=>[o(d,{type:"danger",text:"",class:"mr-1"},{default:n(()=>t[8]||(t[8]=[p(" 批量删除 ")])),_:1})]),_:1},8,["onConfirm"])])),[[O]]):ne("",!0),o(F,{ref_key:"tableRef",ref:a,"row-key":"id","align-whole":"center","table-layout":"auto",loading:e(f),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:q,pagination:k(x({},e(B)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(I),onPageSizeChange:e(D),onPageCurrentChange:e(A)},null,8,["loading","size","data","columns","pagination","onSelectionChange","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["columns","onRefresh"])])}}}),Ve=ae(de,[["__scopeId","data-v-fac4efc2"]]);export{Ve as default}; diff --git a/static/js/index-bOkh4qt6.js b/static/js/index-bOkh4qt6.js deleted file mode 100644 index 6618e16d1d..0000000000 --- a/static/js/index-bOkh4qt6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-B0q0buFC.js";import"./columns-DK0OQsND.js";import"./index-AFhnwzwZ.js";import"./data-Dd4sCrbk.js";import"./edit-pen-Ci7W0xNM.js";import"./check-CIQVCvCT.js";export{o as default}; diff --git a/static/js/index-n3yD3H1a.js b/static/js/index-n3yD3H1a.js deleted file mode 100644 index ddb40440a9..0000000000 --- a/static/js/index-n3yD3H1a.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-SWR9yajI.js";import"./columns-WW1tqWmb.js";import"./xlsx-DaVhO591.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-nESnaIA_.js b/static/js/index-nESnaIA_.js new file mode 100644 index 0000000000..0b98c90362 --- /dev/null +++ b/static/js/index-nESnaIA_.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-Beaol_5o.js";import"./index-DZtY49CB.js";import"./index-DqH6biyS.js";import"./hooks-CT5JiEcI.js";export{o as default}; diff --git a/static/js/index-vMsI3rgr.js b/static/js/index-vMsI3rgr.js deleted file mode 100644 index 7a664a6ba8..0000000000 --- a/static/js/index-vMsI3rgr.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BdaofWVl.js";import"./columns-D6eQDAkz.js";import"./data-BCF1-ihA.js";import"./index-AFhnwzwZ.js";export{o as default}; diff --git a/static/js/index-CzqPEx3Y.js b/static/js/index-zeZagYtQ.js similarity index 97% rename from static/js/index-CzqPEx3Y.js rename to static/js/index-zeZagYtQ.js index b679f8d79c..c80f87dee8 100644 --- a/static/js/index-CzqPEx3Y.js +++ b/static/js/index-zeZagYtQ.js @@ -1,4 +1,4 @@ -import{p as n}from"./propTypes-D_I3dZnw.js";import{d as T,r as N,p as C,n as v,aW as z,m as A,i as l,F as x,u as g,a as y,Y as R,z as w,h as r,V as F}from"./index-AFhnwzwZ.js";const q={startVal:n.number.def(0),endVal:n.number.def(2020),duration:n.number.def(1300),autoplay:n.bool.def(!0),decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},color:n.string.def(),fontSize:n.string.def(),decimal:n.string.def("."),separator:n.string.def(","),prefix:n.string.def(""),suffix:n.string.def(""),useEasing:n.bool.def(!0),easingFn:{type:Function,default(a,s,t,u){return t*(-Math.pow(2,-10*a/u)+1)*1024/1023+s}}},M=T({name:"ReNormalCountTo",props:q,emits:["mounted","callback"],setup(a,{emit:s}){const t=N({localStartVal:a.startVal,displayValue:m(a.startVal),printVal:null,paused:!1,localDuration:a.duration,startTime:null,timestamp:null,remaining:null,rAF:null,color:null,fontSize:"16px"}),u=C(()=>a.startVal>a.endVal);v([()=>a.startVal,()=>a.endVal],()=>{a.autoplay&&f()});function f(){const{startVal:o,duration:d,color:c,fontSize:e}=a;t.localStartVal=o,t.startTime=null,t.localDuration=d,t.paused=!1,t.color=c,t.fontSize=e,t.rAF=requestAnimationFrame(b)}function b(o){const{useEasing:d,easingFn:c,endVal:e}=a;t.startTime||(t.startTime=o),t.timestamp=o;const i=o-t.startTime;t.remaining=t.localDuration-i,d?g(u)?t.printVal=t.localStartVal-c(i,0,t.localStartVal-e,t.localDuration):t.printVal=c(i,t.localStartVal,e-t.localStartVal,t.localDuration):g(u)?t.printVal=t.localStartVal-(t.localStartVal-e)*(i/t.localDuration):t.printVal=t.localStartVal+(e-t.localStartVal)*(i/t.localDuration),g(u)?t.printVal=t.printVale?e:t.printVal,t.displayValue=m(t.printVal),i1?c+p[1]:"",S=/(\d+)(\d{3})/;if(e&&!z(e))for(;S.test(V);)V=V.replace(S,"$1"+e+"$2");return h+V+D+i}return A(()=>{a.autoplay&&f(),s("mounted")}),()=>l(x,null,[l("span",{style:{color:a.color,fontSize:a.fontSize}},[t.displayValue])])}}),B={delay:n.number.def(1),blur:n.number.def(2),i:{type:Number,required:!1,default:0,validator(a){return a<10&&a>=0&&Number.isInteger(a)}}},$=T({name:"ReboundCountTo",props:B,setup(a){const s=y(),t=y(null);return R(()=>{const u=navigator.userAgent.toLowerCase(),f=m=>m.test(u);f(/safari/g)&&!f(/chrome/g)&&(t.value=setTimeout(()=>{s.value.setAttribute("style",` +import{p as n}from"./propTypes-D_I3dZnw.js";import{d as T,r as N,p as C,n as v,aW as z,m as A,i as l,F as x,u as g,a as y,Y as R,z as w,h as r,V as F}from"./index-DqH6biyS.js";const q={startVal:n.number.def(0),endVal:n.number.def(2020),duration:n.number.def(1300),autoplay:n.bool.def(!0),decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},color:n.string.def(),fontSize:n.string.def(),decimal:n.string.def("."),separator:n.string.def(","),prefix:n.string.def(""),suffix:n.string.def(""),useEasing:n.bool.def(!0),easingFn:{type:Function,default(a,s,t,u){return t*(-Math.pow(2,-10*a/u)+1)*1024/1023+s}}},M=T({name:"ReNormalCountTo",props:q,emits:["mounted","callback"],setup(a,{emit:s}){const t=N({localStartVal:a.startVal,displayValue:m(a.startVal),printVal:null,paused:!1,localDuration:a.duration,startTime:null,timestamp:null,remaining:null,rAF:null,color:null,fontSize:"16px"}),u=C(()=>a.startVal>a.endVal);v([()=>a.startVal,()=>a.endVal],()=>{a.autoplay&&f()});function f(){const{startVal:o,duration:d,color:c,fontSize:e}=a;t.localStartVal=o,t.startTime=null,t.localDuration=d,t.paused=!1,t.color=c,t.fontSize=e,t.rAF=requestAnimationFrame(b)}function b(o){const{useEasing:d,easingFn:c,endVal:e}=a;t.startTime||(t.startTime=o),t.timestamp=o;const i=o-t.startTime;t.remaining=t.localDuration-i,d?g(u)?t.printVal=t.localStartVal-c(i,0,t.localStartVal-e,t.localDuration):t.printVal=c(i,t.localStartVal,e-t.localStartVal,t.localDuration):g(u)?t.printVal=t.localStartVal-(t.localStartVal-e)*(i/t.localDuration):t.printVal=t.localStartVal+(e-t.localStartVal)*(i/t.localDuration),g(u)?t.printVal=t.printVale?e:t.printVal,t.displayValue=m(t.printVal),i1?c+p[1]:"",S=/(\d+)(\d{3})/;if(e&&!z(e))for(;S.test(V);)V=V.replace(S,"$1"+e+"$2");return h+V+D+i}return A(()=>{a.autoplay&&f(),s("mounted")}),()=>l(x,null,[l("span",{style:{color:a.color,fontSize:a.fontSize}},[t.displayValue])])}}),B={delay:n.number.def(1),blur:n.number.def(2),i:{type:Number,required:!1,default:0,validator(a){return a<10&&a>=0&&Number.isInteger(a)}}},$=T({name:"ReboundCountTo",props:B,setup(a){const s=y(),t=y(null);return R(()=>{const u=navigator.userAgent.toLowerCase(),f=m=>m.test(u);f(/safari/g)&&!f(/chrome/g)&&(t.value=setTimeout(()=>{s.value.setAttribute("style",` animation: none; transform: translateY(calc(var(--i) * -9.09%)) `)},a.delay*1e3))}),w(()=>{clearTimeout(g(t))}),()=>l(x,null,[l("div",{class:"scroll-num",style:{"--i":a.i,"--delay":a.delay}},[l("ul",{ref:"ulRef",style:{fontSize:"32px"}},[l("li",null,[r("0")]),l("li",null,[r("1")]),l("li",null,[r("2")]),l("li",null,[r("3")]),l("li",null,[r("4")]),l("li",null,[r("5")]),l("li",null,[r("6")]),l("li",null,[r("7")]),l("li",null,[r("8")]),l("li",null,[r("9")]),l("li",null,[r("0")])]),l("svg",{width:"0",height:"0"},[l("filter",{id:"blur"},[l("feGaussianBlur",{in:"SourceGraphic",stdDeviation:`0 ${a.blur}`},null)])])])])}}),G=F(M),P=F($);export{G as R,P as a}; diff --git a/static/js/index.esm-CPkU7_3x.js b/static/js/index.esm--zOXc_VX.js similarity index 99% rename from static/js/index.esm-CPkU7_3x.js rename to static/js/index.esm--zOXc_VX.js index 62a0a43a2f..9e9f32ce95 100644 --- a/static/js/index.esm-CPkU7_3x.js +++ b/static/js/index.esm--zOXc_VX.js @@ -1,4 +1,4 @@ -var a$=Object.defineProperty,u$=Object.defineProperties;var s$=Object.getOwnPropertyDescriptors;var gx=Object.getOwnPropertySymbols;var l$=Object.prototype.hasOwnProperty,c$=Object.prototype.propertyIsEnumerable;var Ly=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),f$=t=>{throw TypeError(t)};var vx=(t,e,n)=>e in t?a$(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Z=(t,e)=>{for(var n in e||(e={}))l$.call(e,n)&&vx(t,n,e[n]);if(gx)for(var n of gx(e))c$.call(e,n)&&vx(t,n,e[n]);return t},Zt=(t,e)=>u$(t,s$(e));var Ry=(t,e,n)=>new Promise((r,o)=>{var i=s=>{try{u(n.next(s))}catch(l){o(l)}},a=s=>{try{u(n.throw(s))}catch(l){o(l)}},u=s=>s.done?r(s.value):Promise.resolve(s.value).then(i,a);u((n=n.apply(t,e)).next())}),d$=function(t,e){this[0]=t,this[1]=e};var My=t=>{var e=t[Ly("asyncIterator")],n=!1,r,o={};return e==null?(e=t[Ly("iterator")](),r=i=>o[i]=a=>e[i](a)):(e=e.call(t),r=i=>o[i]=a=>{if(n){if(n=!1,i==="throw")throw a;return a}return n=!0,{done:!1,value:new d$(new Promise(u=>{var s=e[i](a);s instanceof Object||f$("Object expected"),u(s)}),1)}}),o[Ly("iterator")]=()=>o,r("next"),"throw"in e?r("throw"):o.throw=i=>{throw i},"return"in e&&r("return"),o};import{d as sP,a as v4,M as p$,m as h$,n as g$,f as lP,k as cP,N as v$,bo as y$}from"./index-AFhnwzwZ.js";var se=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function m$(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ss(t){var e={exports:{}};return t(e,e.exports),e.exports}var bi,j0,Bh=function(t){return t&&t.Math==Math&&t},Bt=Bh(typeof globalThis=="object"&&globalThis)||Bh(typeof window=="object"&&window)||Bh(typeof self=="object"&&self)||Bh(typeof se=="object"&&se)||function(){return this}()||Function("return this")(),t5=Function.prototype,yx=t5.apply,b$=t5.bind,mx=t5.call,fP=typeof Reflect=="object"&&Reflect.apply||(b$?mx.bind(yx):function(){return mx.apply(yx,arguments)}),dP=Function.prototype,y4=dP.bind,m4=dP.call,w$=y4&&y4.bind(m4),ge=y4?function(t){return t&&w$(m4,t)}:function(t){return t&&function(){return m4.apply(t,arguments)}},gn=function(t){return typeof t=="function"},qn=function(t){try{return!!t()}catch(e){return!0}},Vn=!qn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Oc=Function.prototype.call,nr=Oc.bind?Oc.bind(Oc):function(){return Oc.apply(Oc,arguments)},bx={}.propertyIsEnumerable,wx=Object.getOwnPropertyDescriptor,E$=wx&&!bx.call({1:2},1)?function(t){var e=wx(this,t);return!!e&&e.enumerable}:bx,e5={f:E$},Kr=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},D$=ge({}.toString),C$=ge("".slice),Du=function(t){return C$(D$(t),8,-1)},zy=Bt.Object,x$=ge("".split),pP=qn(function(){return!zy("z").propertyIsEnumerable(0)})?function(t){return Du(t)=="String"?x$(t,""):zy(t)}:zy,S$=Bt.TypeError,n5=function(t){if(t==null)throw S$("Can't call method on "+t);return t},jo=function(t){return pP(n5(t))},Dr=function(t){return typeof t=="object"?t!==null:gn(t)},tr={},Ex=function(t){return gn(t)?t:void 0},rc=function(t,e){return arguments.length<2?Ex(tr[t])||Ex(Bt[t]):tr[t]&&tr[t][e]||Bt[t]&&Bt[t][e]},Td=ge({}.isPrototypeOf),$y=rc("navigator","userAgent")||"",Dx=Bt.process,Cx=Bt.Deno,xx=Dx&&Dx.versions||Cx&&Cx.version,Sx=xx&&xx.v8;Sx&&(j0=(bi=Sx.split("."))[0]>0&&bi[0]<4?1:+(bi[0]+bi[1])),!j0&&$y&&(!(bi=$y.match(/Edge\/(\d+)/))||bi[1]>=74)&&(bi=$y.match(/Chrome\/(\d+)/))&&(j0=+bi[1]);var Fh,hg=j0,fo=!!Object.getOwnPropertySymbols&&!qn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&hg&&hg<41}),r5=fo&&!Symbol.sham&&typeof Symbol.iterator=="symbol",A$=Bt.Object,gl=r5?function(t){return typeof t=="symbol"}:function(t){var e=rc("Symbol");return gn(e)&&Td(e.prototype,A$(t))},O$=Bt.String,b4=function(t){try{return O$(t)}catch(e){return"Object"}},k$=Bt.TypeError,o5=function(t){if(gn(t))return t;throw k$(b4(t)+" is not a function")},gg=function(t,e){var n=t[e];return n==null?void 0:o5(n)},B$=Bt.TypeError,F$=Object.defineProperty,na=Bt["__core-js_shared__"]||function(t,e){try{F$(Bt,t,{value:e,configurable:!0,writable:!0})}catch(n){Bt[t]=e}return e}("__core-js_shared__",{}),ls=ss(function(t){(t.exports=function(e,n){return na[e]||(na[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),T$=Bt.Object,Bp=function(t){return T$(n5(t))},_$=ge({}.hasOwnProperty),Ut=Object.hasOwn||function(t,e){return _$(Bp(t),e)},P$=0,j$=Math.random(),N$=ge(1 .toString),vg=function(t){return"Symbol("+(t===void 0?"":t)+")_"+N$(++P$+j$,36)},kc=ls("wks"),Cu=Bt.Symbol,Ax=Cu&&Cu.for,I$=r5?Cu:Cu&&Cu.withoutSetter||vg,Fn=function(t){if(!Ut(kc,t)||!fo&&typeof kc[t]!="string"){var e="Symbol."+t;fo&&Ut(Cu,t)?kc[t]=Cu[t]:kc[t]=r5&&Ax?Ax(e):I$(e)}return kc[t]},L$=Bt.TypeError,R$=Fn("toPrimitive"),M$=function(t,e){if(!Dr(t)||gl(t))return t;var n,r=gg(t,R$);if(r){if(n=nr(r,t,e),!Dr(n)||gl(n))return n;throw L$("Can't convert object to primitive value")}return function(o,i){var a,u;if(gn(a=o.toString)&&!Dr(u=nr(a,o))||gn(a=o.valueOf)&&!Dr(u=nr(a,o)))return u;throw B$("Can't convert object to primitive value")}(t)},oc=function(t){var e=M$(t,"string");return gl(e)?e:e+""},w4=Bt.document,z$=Dr(w4)&&Dr(w4.createElement),hP=function(t){return z$?w4.createElement(t):{}},gP=!Vn&&!qn(function(){return Object.defineProperty(hP("div"),"a",{get:function(){return 7}}).a!=7}),Ox=Object.getOwnPropertyDescriptor,$$=Vn?Ox:function(t,e){if(t=jo(t),e=oc(e),gP)try{return Ox(t,e)}catch(n){}if(Ut(t,e))return Kr(!nr(e5.f,t,e),t[e])},k1={f:$$},H$=/#|\.prototype\./,Fp=function(t,e){var n=U$[V$(t)];return n==G$||n!=W$&&(gn(e)?qn(e):!!e)},V$=Fp.normalize=function(t){return String(t).replace(H$,".").toLowerCase()},U$=Fp.data={},W$=Fp.NATIVE="N",G$=Fp.POLYFILL="P",q$=Fp,kx=ge(ge.bind),i5=function(t,e){return o5(t),e===void 0?t:kx?kx(t,e):function(){return t.apply(e,arguments)}},K$=Bt.String,Y$=Bt.TypeError,ir=function(t){if(Dr(t))return t;throw Y$(K$(t)+" is not an object")},X$=Bt.TypeError,Bx=Object.defineProperty,Z$=Vn?Bx:function(t,e,n){if(ir(t),e=oc(e),ir(n),gP)try{return Bx(t,e,n)}catch(r){}if("get"in n||"set"in n)throw X$("Accessors not supported");return"value"in n&&(t[e]=n.value),t},Na={f:Z$},Pn=Vn?function(t,e,n){return Na.f(t,e,Kr(1,n))}:function(t,e,n){return t[e]=n,t},J$=k1.f,Q$=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return fP(t,this,arguments)};return e.prototype=t.prototype,e},Ko=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,d=t.stat,p=t.proto,v=f?Bt:d?Bt[c]:(Bt[c]||{}).prototype,y=f?tr:tr[c]||Pn(tr,c,{})[c],g=y.prototype;for(o in e)n=!q$(f?o:c+(d?".":"#")+o,t.forced)&&v&&Ut(v,o),a=y[o],n&&(u=t.noTargetGet?(l=J$(v,o))&&l.value:v[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?i5(i,Bt):t.wrap&&n?Q$(i):p&&gn(i)?ge(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Pn(s,"sham",!0),Pn(y,o,s),p&&(Ut(tr,r=c+"Prototype")||Pn(tr,r,{}),Pn(tr[r],o,i),t.real&&g&&!g[o]&&Pn(g,o,i)))},Fx=ls("keys"),B1=function(t){return Fx[t]||(Fx[t]=vg(t))},tH=!qn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Tx=B1("IE_PROTO"),E4=Bt.Object,eH=E4.prototype,yg=tH?E4.getPrototypeOf:function(t){var e=Bp(t);if(Ut(e,Tx))return e[Tx];var n=e.constructor;return gn(n)&&e instanceof n?n.prototype:e instanceof E4?eH:null},nH=Bt.String,rH=Bt.TypeError,mg=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=ge(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return ir(r),function(i){if(typeof i=="object"||gn(i))return i;throw rH("Can't set "+nH(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),oH=Math.ceil,iH=Math.floor,a5=function(t){var e=+t;return e!=e||e===0?0:(e>0?iH:oH)(e)},aH=Math.max,uH=Math.min,D4=function(t,e){var n=a5(t);return n<0?aH(n+e,0):uH(n,e)},sH=Math.min,Tp=function(t){return(e=t.length)>0?sH(a5(e),9007199254740991):0;var e},_x=function(t){return function(e,n,r){var o,i=jo(e),a=Tp(i),u=D4(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},lH={includes:_x(!0),indexOf:_x(!1)},_p={},cH=lH.indexOf,Px=ge([].push),vP=function(t,e){var n,r=jo(t),o=0,i=[];for(n in r)!Ut(_p,n)&&Ut(r,n)&&Px(i,n);for(;e.length>o;)Ut(r,n=e[o++])&&(~cH(i,n)||Px(i,n));return i},bg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fH=bg.concat("length","prototype"),dH=Object.getOwnPropertyNames||function(t){return vP(t,fH)},u5={f:dH},N0={f:Object.getOwnPropertySymbols},pH=ge([].concat),hH=rc("Reflect","ownKeys")||function(t){var e=u5.f(ir(t)),n=N0.f;return n?pH(e,n(t)):e},s5=Object.keys||function(t){return vP(t,bg)},gH=Vn?Object.defineProperties:function(t,e){ir(t);for(var n,r=jo(e),o=s5(e),i=o.length,a=0;i>a;)Na.f(t,n=o[a++],r[n]);return t},vH=rc("document","documentElement"),yP=B1("IE_PROTO"),Hy=function(){},mP=function(t){return"