Deploying to gh-pages from @ pure-admin/vue-pure-admin@c2ae49a2e6 🚀

This commit is contained in:
xiaoxian521 2025-05-12 08:08:47 +00:00
parent c37d813b01
commit 44ba5a6dd7
447 changed files with 426 additions and 433 deletions

View File

@ -18,7 +18,7 @@
s.parentNode.insertBefore(hm, s)
})();
</script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-DI6gHrBb.js"></script>
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-BY53z-3q.js"></script>
<link rel="stylesheet" crossorigin href="/vue-pure-admin/static/css/index-ZhUEs-It.css">
</head>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as v,a as b,k as s,e as n,v as g,u as k,X as y,g as t,F as C,l as w,f as a,t as o,h as l,w as i,j as r,J as h,_ as A}from"./index-DI6gHrBb.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 _(d){h("请根据具体业务自行实现",{type:"success"})}return(d,c)=>{const m=l("el-text"),p=l("el-button"),f=l("el-divider");return n(),s("div",{class:g(["min-w-[180px]",k(y)()?"max-w-[100%]":"max-w-[70%]"])},[c[0]||(c[0]=t("h3",{class:"my-8!"},"账户管理",-1)),(n(!0),s(C,null,w(u.value,(e,x)=>(n(),s("div",{key:x},[t("div",B,[t("div",M,[t("p",null,o(e.title),1),a(m,{class:"mx-1",type:"info"},{default:i(()=>[r(o(e.illustrate),1)]),_:2},1024)]),a(p,{type:"primary",text:"",onClick:F=>_()},{default:i(()=>[r(o(e.button),1)]),_:2},1032,["onClick"])]),a(f)]))),128))],2)}}}),z=A(N,[["__scopeId","data-v-f415dfdd"]]);export{z as default};
import{d as v,a as b,k as s,e as n,v as g,u as k,X as y,g as t,F as C,l as w,f as a,t as o,h as l,w as i,j as r,J as h,_ as A}from"./index-BY53z-3q.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 _(d){h("请根据具体业务自行实现",{type:"success"})}return(d,c)=>{const m=l("el-text"),p=l("el-button"),f=l("el-divider");return n(),s("div",{class:g(["min-w-[180px]",k(y)()?"max-w-[100%]":"max-w-[70%]"])},[c[0]||(c[0]=t("h3",{class:"my-8!"},"账户管理",-1)),(n(!0),s(C,null,w(u.value,(e,x)=>(n(),s("div",{key:x},[t("div",B,[t("div",M,[t("p",null,o(e.title),1),a(m,{class:"mx-1",type:"info"},{default:i(()=>[r(o(e.illustrate),1)]),_:2},1024)]),a(p,{type:"primary",text:"",onClick:F=>_()},{default:i(()=>[r(o(e.button),1)]),_:2},1032,["onClick"])]),a(f)]))),128))],2)}}}),z=A(N,[["__scopeId","data-v-f415dfdd"]]);export{z as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Bard.vue_vue_type_script_setup_true_lang-CXUzpCTd.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Bard.vue_vue_type_script_setup_true_lang-CGc77fpw.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +1 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as a,k as s,e as n}from"./index-DI6gHrBb.js";const u=r({__name:"Bard",setup(i){const e=o();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,d)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"background-color":"#f3f6fc","border-color":"#dcdcdc","border-radius":"10px"},textInput:{styles:{container:{borderRadius:"20px",border:"1px solid #969696",boxShadow:"unset",width:"78%",marginLeft:"-15px"},text:{padding:"10px",paddingLeft:"15px",paddingRight:"34px"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},messageStyles:{default:{shared:{bubble:{maxWidth:"100%",backgroundColor:"unset",marginTop:"10px",marginBottom:"10px"}},user:{bubble:{marginLeft:"0px",color:"black"}},ai:{innerContainer:{borderRadius:"15px",backgroundColor:"white"}}}},avatars:{default:{styles:{position:"left",container:{marginLeft:"12px",marginRight:"5px"}}},ai:{src:"https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/gemini.png",styles:{position:"left",avatar:{paddingTop:"6px"}}}},speechToText:{webSpeech:{language:"zh-CN"},button:{default:{container:{default:{bottom:"1em",right:"0.6em",borderRadius:"20px",width:"1.9em",height:"1.9em"}},svg:{styles:{default:{bottom:"0.35em",left:"0.35em"}}}},position:"inside-right"}},submitButtonStyles:{position:"outside-right",submit:{container:{default:{bottom:"0.9em",borderRadius:"25px",padding:"6px 5px 4px",backgroundColor:"#f3f6fc"},hover:{backgroundColor:"#b0deff4f"},click:{backgroundColor:"#b0deffb5"}},svg:{content:'<?xml version="1.0" encoding="utf-8"?> <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m21.426 11.095-17-8A.999.999 0 0 0 3.03 4.242L4.969 12 3.03 19.758a.998.998 0 0 0 1.396 1.147l17-8a1 1 0 0 0 0-1.81zM5.481 18.197l.839-3.357L12 12 6.32 9.16l-.839-3.357L18.651 12l-13.17 6.197z"/></svg>',styles:{default:{filter:"brightness(0) saturate(100%) invert(10%) sepia(86%) saturate(6044%) hue-rotate(205deg) brightness(100%) contrast(100%)"}}}},loading:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}},stop:{container:{hover:{backgroundColor:"#ededed"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(59%) sepia(0%) saturate(0%) hue-rotate(348deg) brightness(96%) contrast(93%)"}}}}},history:[{text:"韩信是谁?",role:"user"},{text:"韩信约前231年前196年是秦末汉初时期的杰出军事家和战略家被后世誉为“兵仙”。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{u as _};
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as a,k as s,e as n}from"./index-BY53z-3q.js";const u=r({__name:"Bard",setup(i){const e=o();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,d)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"background-color":"#f3f6fc","border-color":"#dcdcdc","border-radius":"10px"},textInput:{styles:{container:{borderRadius:"20px",border:"1px solid #969696",boxShadow:"unset",width:"78%",marginLeft:"-15px"},text:{padding:"10px",paddingLeft:"15px",paddingRight:"34px"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},messageStyles:{default:{shared:{bubble:{maxWidth:"100%",backgroundColor:"unset",marginTop:"10px",marginBottom:"10px"}},user:{bubble:{marginLeft:"0px",color:"black"}},ai:{innerContainer:{borderRadius:"15px",backgroundColor:"white"}}}},avatars:{default:{styles:{position:"left",container:{marginLeft:"12px",marginRight:"5px"}}},ai:{src:"https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/gemini.png",styles:{position:"left",avatar:{paddingTop:"6px"}}}},speechToText:{webSpeech:{language:"zh-CN"},button:{default:{container:{default:{bottom:"1em",right:"0.6em",borderRadius:"20px",width:"1.9em",height:"1.9em"}},svg:{styles:{default:{bottom:"0.35em",left:"0.35em"}}}},position:"inside-right"}},submitButtonStyles:{position:"outside-right",submit:{container:{default:{bottom:"0.9em",borderRadius:"25px",padding:"6px 5px 4px",backgroundColor:"#f3f6fc"},hover:{backgroundColor:"#b0deff4f"},click:{backgroundColor:"#b0deffb5"}},svg:{content:'<?xml version="1.0" encoding="utf-8"?> <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m21.426 11.095-17-8A.999.999 0 0 0 3.03 4.242L4.969 12 3.03 19.758a.998.998 0 0 0 1.396 1.147l17-8a1 1 0 0 0 0-1.81zM5.481 18.197l.839-3.357L12 12 6.32 9.16l-.839-3.357L18.651 12l-13.17 6.197z"/></svg>',styles:{default:{filter:"brightness(0) saturate(100%) invert(10%) sepia(86%) saturate(6044%) hue-rotate(205deg) brightness(100%) contrast(100%)"}}}},loading:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}},stop:{container:{hover:{backgroundColor:"#ededed"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(59%) sepia(0%) saturate(0%) hue-rotate(348deg) brightness(96%) contrast(93%)"}}}}},history:[{text:"韩信是谁?",role:"user"},{text:"韩信约前231年前196年是秦末汉初时期的杰出军事家和战略家被后世誉为“兵仙”。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{u as _};

View File

@ -1 +1 @@
import{d as v,a,k as V,e as f,g as e,f as t,h as k,F as b,_}from"./index-DI6gHrBb.js";const B={class:"slider-demo-block"},U={class:"slider-demo-block"},x={class:"slider-demo-block"},T={class:"slider-demo-block"},g={class:"slider-demo-block"},C=v({__name:"Base",setup(F){const d=a(0),n=a(10),u=a(0),m=a(0),i=a(0),p=r=>r/100;return(r,l)=>{const s=k("el-slider");return f(),V(b,null,[e("div",B,[l[5]||(l[5]=e("span",{class:"demonstration"},"默认值",-1)),t(s,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=o=>d.value=o)},null,8,["modelValue"])]),e("div",U,[l[6]||(l[6]=e("span",{class:"demonstration"},"自定义初始值",-1)),t(s,{modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=o=>n.value=o)},null,8,["modelValue"])]),e("div",x,[l[7]||(l[7]=e("span",{class:"demonstration"},"隐藏 Tooltip 提示",-1)),t(s,{modelValue:u.value,"onUpdate:modelValue":l[2]||(l[2]=o=>u.value=o),"show-tooltip":!1},null,8,["modelValue"])]),e("div",T,[l[8]||(l[8]=e("span",{class:"demonstration"},"格式化 Tooltip 提示",-1)),t(s,{modelValue:m.value,"onUpdate:modelValue":l[3]||(l[3]=o=>m.value=o),"format-tooltip":p},null,8,["modelValue"])]),e("div",g,[l[9]||(l[9]=e("span",{class:"demonstration"},"禁用",-1)),t(s,{modelValue:i.value,"onUpdate:modelValue":l[4]||(l[4]=o=>i.value=o),disabled:""},null,8,["modelValue"])])],64)}}}),c=_(C,[["__scopeId","data-v-ef42b126"]]);export{c as default};
import{d as v,a,k as V,e as f,g as e,f as t,h as k,F as b,_}from"./index-BY53z-3q.js";const B={class:"slider-demo-block"},U={class:"slider-demo-block"},x={class:"slider-demo-block"},T={class:"slider-demo-block"},g={class:"slider-demo-block"},C=v({__name:"Base",setup(F){const d=a(0),n=a(10),u=a(0),m=a(0),i=a(0),p=r=>r/100;return(r,l)=>{const s=k("el-slider");return f(),V(b,null,[e("div",B,[l[5]||(l[5]=e("span",{class:"demonstration"},"默认值",-1)),t(s,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=o=>d.value=o)},null,8,["modelValue"])]),e("div",U,[l[6]||(l[6]=e("span",{class:"demonstration"},"自定义初始值",-1)),t(s,{modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=o=>n.value=o)},null,8,["modelValue"])]),e("div",x,[l[7]||(l[7]=e("span",{class:"demonstration"},"隐藏 Tooltip 提示",-1)),t(s,{modelValue:u.value,"onUpdate:modelValue":l[2]||(l[2]=o=>u.value=o),"show-tooltip":!1},null,8,["modelValue"])]),e("div",T,[l[8]||(l[8]=e("span",{class:"demonstration"},"格式化 Tooltip 提示",-1)),t(s,{modelValue:m.value,"onUpdate:modelValue":l[3]||(l[3]=o=>m.value=o),"format-tooltip":p},null,8,["modelValue"])]),e("div",g,[l[9]||(l[9]=e("span",{class:"demonstration"},"禁用",-1)),t(s,{modelValue:i.value,"onUpdate:modelValue":l[4]||(l[4]=o=>i.value=o),disabled:""},null,8,["modelValue"])])],64)}}}),c=_(C,[["__scopeId","data-v-ef42b126"]]);export{c as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Bing.vue_vue_type_script_setup_true_lang-B_AFKagp.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Bing.vue_vue_type_script_setup_true_lang-BhWW4eip.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a as n,m as a,k as o,e as s}from"./index-DI6gHrBb.js";const p=r({__name:"Bing",setup(g){const e=n();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,d)=>(s(),o("deep-chat",{ref_key:"chatRef",ref:e,style:{background:`linear-gradient(
import"./deepChat-CFsW3Wnh.js";import{d as r,a as n,m as a,k as o,e as s}from"./index-BY53z-3q.js";const p=r({__name:"Bing",setup(g){const e=n();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,d)=>(s(),o("deep-chat",{ref_key:"chatRef",ref:e,style:{background:`linear-gradient(
90deg,
rgb(239 242 247) 0%,
7.6029%,

View File

@ -0,0 +1 @@
import{_ as o}from"./Blue.vue_vue_type_script_setup_true_lang-BOKhcdrf.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Blue.vue_vue_type_script_setup_true_lang-BN10E8xB.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as a,k as s,e as n}from"./index-DI6gHrBb.js";const d=r({__name:"Blue",setup(u){const e=o();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px",border:"unset","background-image":'url("https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/blue.jpg")',"background-size":"cover"},messageStyles:{default:{user:{bubble:{backgroundColor:"#2670ff"}},ai:{bubble:{backgroundColor:"#004f97",color:"white"}}}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(60%) sepia(79%) saturate(643%) hue-rotate(185deg) brightness(102%) contrast(100%)"}}}}},textInput:{styles:{container:{backgroundColor:"#004f97",color:"white",boxShadow:"unset"}},placeholder:{text:"发送消息",style:{color:"#d1d1d1"}}},auxiliaryStyle:`
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as a,k as s,e as n}from"./index-BY53z-3q.js";const d=r({__name:"Blue",setup(u){const e=o();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px",border:"unset","background-image":'url("https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/blue.jpg")',"background-size":"cover"},messageStyles:{default:{user:{bubble:{backgroundColor:"#2670ff"}},ai:{bubble:{backgroundColor:"#004f97",color:"white"}}}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(60%) sepia(79%) saturate(643%) hue-rotate(185deg) brightness(102%) contrast(100%)"}}}}},textInput:{styles:{container:{backgroundColor:"#004f97",color:"white",boxShadow:"unset"}},placeholder:{text:"发送消息",style:{color:"#d1d1d1"}}},auxiliaryStyle:`
::-webkit-scrollbar-thumb {
background-color: #0174db;
}

View File

@ -1 +1 @@
import{_ as m}from"./ChartBar.vue_vue_type_script_setup_true_lang-cUdc-k98.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./ChartBar.vue_vue_type_script_setup_true_lang-BDnKHQD0.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -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,af as f,p as m,a as y,ar as u,n as x,k as h,e as b,x as g}from"./index-DI6gHrBb.js";const S=d({__name:"ChartBar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=m(()=>t.value?"dark":"light"),r=y(),{setOptions:n}=u(r,{theme:s});return x(()=>a,()=>l(this,null,function*(){yield g(),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(),h("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,af as f,p as m,a as y,ar as u,n as x,k as h,e as b,x as g}from"./index-BY53z-3q.js";const S=d({__name:"ChartBar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=m(()=>t.value?"dark":"light"),r=y(),{setOptions:n}=u(r,{theme:s});return x(()=>a,()=>l(this,null,function*(){yield g(),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(),h("div",{ref_key:"chartRef",ref:r,style:{width:"100%",height:"365px"}},null,512))}});export{S as _};

View File

@ -1 +1 @@
import{_ as m}from"./ChartLine.vue_vue_type_script_setup_true_lang-4sbT6nLA.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./ChartLine.vue_vue_type_script_setup_true_lang-DvVtI1qU.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -1 +1 @@
import{d as n,af as l,p as c,a as i,ar as p,k as d,e as f}from"./index-DI6gHrBb.js";const u=n({__name:"ChartLine",props:{data:{type:Array,default:()=>[]},color:{type:String,default:"#41b6ff"}},setup(a){const e=a,{isDark:o}=l(),r=c(()=>o.value?"dark":"light"),t=i(),{setOptions:s}=p(t,{theme:r,renderer:"svg"});return s({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,y)=>(f(),d("div",{ref_key:"chartRef",ref:t,style:{width:"100%",height:"60px"}},null,512))}});export{u as _};
import{d as n,af as l,p as c,a as i,ar as p,k as d,e as f}from"./index-BY53z-3q.js";const u=n({__name:"ChartLine",props:{data:{type:Array,default:()=>[]},color:{type:String,default:"#41b6ff"}},setup(a){const e=a,{isDark:o}=l(),r=c(()=>o.value?"dark":"light"),t=i(),{setOptions:s}=p(t,{theme:r,renderer:"svg"});return s({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,y)=>(f(),d("div",{ref_key:"chartRef",ref:t,style:{width:"100%",height:"60px"}},null,512))}});export{u as _};

View File

@ -1 +1 @@
import{_ as m}from"./ChartRound.vue_vue_type_script_setup_true_lang-BRtxK4bM.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./ChartRound.vue_vue_type_script_setup_true_lang-Dp8WWgDs.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -1 +1 @@
import{d as o,af as r,p as n,a as i,ar as l,k as c,e as d}from"./index-DI6gHrBb.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)=>(d(),c("div",{ref_key:"chartRef",ref:e,style:{width:"100%",height:"60px"}},null,512))}});export{x as _};
import{d as o,af as r,p as n,a as i,ar as l,k as c,e as d}from"./index-BY53z-3q.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)=>(d(),c("div",{ref_key:"chartRef",ref:e,style:{width:"100%",height:"60px"}},null,512))}});export{x as _};

View File

@ -0,0 +1 @@
import{_ as o}from"./ChatGPT.vue_vue_type_script_setup_true_lang-Bc9ia7S5.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./ChatGPT.vue_vue_type_script_setup_true_lang-Bi19AzA8.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1 +1 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as o,k as s,e as n}from"./index-DI6gHrBb.js";const g=r({__name:"ChatGPT",setup(i){const e=a();return o(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px"},messageStyles:{default:{shared:{bubble:{maxWidth:"100%",backgroundColor:"unset",marginTop:"10px",marginBottom:"10px"}},user:{bubble:{marginLeft:"0px",color:"black"}},ai:{outerContainer:{backgroundColor:"rgba(247,247,248)",borderTop:"1px solid rgba(0,0,0,.1)",borderBottom:"1px solid rgba(0,0,0,.1)"}}}},avatars:{default:{styles:{position:"left"}},ai:{src:"https://xiaoxian521.github.io/hyperlink/svg/openai.svg"}},submitButtonStyles:{submit:{container:{default:{padding:"1px 0 0 5px",backgroundColor:"#19c37d"},hover:{backgroundColor:"#0bab69"},click:{backgroundColor:"#068e56"}},svg:{content:'<?xml version="1.0" ?> <svg viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M21.66,12a2,2,0,0,1-1.14,1.81L5.87,20.75A2.08,2.08,0,0,1,5,21a2,2,0,0,1-1.82-2.82L5.46,13H11a1,1,0,0,0,0-2H5.46L3.18,5.87A2,2,0,0,1,5.86,3.25h0l14.65,6.94A2,2,0,0,1,21.66,12Z"> </path> </g> </svg>',styles:{default:{filter:"brightness(0) saturate(100%) invert(100%) sepia(28%) saturate(2%) hue-rotate(69deg) brightness(107%) contrast(100%)"}}}},loading:{container:{default:{backgroundColor:"white"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}},stop:{container:{default:{backgroundColor:"white"},hover:{backgroundColor:"#dadada52"}},svg:{content:'<?xml version="1.0" encoding="utf-8"?> <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <rect width="24" height="24" rx="4" ry="4" /> </svg>',styles:{default:{width:"0.95em",marginTop:"0.32em",filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}}},textInput:{placeholder:{text:"发送消息"}},history:[{text:"李白是谁?",role:"user"},{text:"李白701年2月28日762年号青莲居士又号“谪仙人”是唐代著名的浪漫主义诗人被后人誉为“诗仙”。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{g as _};
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as o,k as s,e as n}from"./index-BY53z-3q.js";const g=r({__name:"ChatGPT",setup(i){const e=a();return o(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),s("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px"},messageStyles:{default:{shared:{bubble:{maxWidth:"100%",backgroundColor:"unset",marginTop:"10px",marginBottom:"10px"}},user:{bubble:{marginLeft:"0px",color:"black"}},ai:{outerContainer:{backgroundColor:"rgba(247,247,248)",borderTop:"1px solid rgba(0,0,0,.1)",borderBottom:"1px solid rgba(0,0,0,.1)"}}}},avatars:{default:{styles:{position:"left"}},ai:{src:"https://xiaoxian521.github.io/hyperlink/svg/openai.svg"}},submitButtonStyles:{submit:{container:{default:{padding:"1px 0 0 5px",backgroundColor:"#19c37d"},hover:{backgroundColor:"#0bab69"},click:{backgroundColor:"#068e56"}},svg:{content:'<?xml version="1.0" ?> <svg viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M21.66,12a2,2,0,0,1-1.14,1.81L5.87,20.75A2.08,2.08,0,0,1,5,21a2,2,0,0,1-1.82-2.82L5.46,13H11a1,1,0,0,0,0-2H5.46L3.18,5.87A2,2,0,0,1,5.86,3.25h0l14.65,6.94A2,2,0,0,1,21.66,12Z"> </path> </g> </svg>',styles:{default:{filter:"brightness(0) saturate(100%) invert(100%) sepia(28%) saturate(2%) hue-rotate(69deg) brightness(107%) contrast(100%)"}}}},loading:{container:{default:{backgroundColor:"white"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}},stop:{container:{default:{backgroundColor:"white"},hover:{backgroundColor:"#dadada52"}},svg:{content:'<?xml version="1.0" encoding="utf-8"?> <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <rect width="24" height="24" rx="4" ry="4" /> </svg>',styles:{default:{width:"0.95em",marginTop:"0.32em",filter:"brightness(0) saturate(100%) invert(72%) sepia(0%) saturate(3044%) hue-rotate(322deg) brightness(100%) contrast(96%)"}}}}},textInput:{placeholder:{text:"发送消息"}},history:[{text:"李白是谁?",role:"user"},{text:"李白701年2月28日762年号青莲居士又号“谪仙人”是唐代著名的浪漫主义诗人被后人誉为“诗仙”。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{g as _};

View File

@ -1 +0,0 @@
import{_ as o}from"./Dark.vue_vue_type_script_setup_true_lang-C0mBSZUx.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Dark.vue_vue_type_script_setup_true_lang-CtjVUi7H.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as s,k as a,e as n}from"./index-DI6gHrBb.js";const d=r({__name:"Dark",setup(c){const e=o();return s(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"background-color":"#292929",border:"unset","border-radius":"10px"},messageStyles:{default:{ai:{bubble:{backgroundColor:"#545454",color:"white"}}},loading:{message:{styles:{bubble:{backgroundColor:"#545454",color:"white"}}}}},textInput:{styles:{container:{backgroundColor:"#666666",border:"unset",color:"#e8e8e8"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},submitButtonStyles:{submit:{container:{default:{bottom:"0.7rem"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(70%) sepia(52%) saturate(5617%) hue-rotate(185deg) brightness(101%) contrast(101%)"}}}}},auxiliaryStyle:`
import"./deepChat-CFsW3Wnh.js";import{d as r,a as o,m as s,k as a,e as n}from"./index-BY53z-3q.js";const d=r({__name:"Dark",setup(c){const e=o();return s(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,l)=>(n(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"background-color":"#292929",border:"unset","border-radius":"10px"},messageStyles:{default:{ai:{bubble:{backgroundColor:"#545454",color:"white"}}},loading:{message:{styles:{bubble:{backgroundColor:"#545454",color:"white"}}}}},textInput:{styles:{container:{backgroundColor:"#666666",border:"unset",color:"#e8e8e8"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},submitButtonStyles:{submit:{container:{default:{bottom:"0.7rem"}},svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(70%) sepia(52%) saturate(5617%) hue-rotate(185deg) brightness(101%) contrast(101%)"}}}}},auxiliaryStyle:`
::-webkit-scrollbar {
width: 10px;
height: 10px;

View File

@ -0,0 +1 @@
import{_ as o}from"./EditorBase.vue_vue_type_script_setup_true_lang-DLHIRExL.js";import"./index.esm-vdoXZ9_i.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./EditorBase.vue_vue_type_script_setup_true_lang-B3IjDWTG.js";import"./index.esm-C0RiOznW.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1 +1 @@
import{T as c,E as f}from"./index.esm-C0RiOznW.js";import{d as m,M as p,a as v,m as _,y as C,k as g,e as h,f as l,u as n}from"./index-DI6gHrBb.js";const y={class:"wangeditor"},r="default",b=m({name:"BaseEditor",__name:"EditorBase",setup(x){const o=p(),t=v("<p>你好</p>");_(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return C(()=>{const e=o.value;e!=null&&e.destroy()}),(e,a)=>(h(),g("div",y,[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-vdoXZ9_i.js";import{d as m,M as p,a as v,m as _,y as C,k as g,e as h,f as l,u as n}from"./index-BY53z-3q.js";const y={class:"wangeditor"},r="default",b=m({name:"BaseEditor",__name:"EditorBase",setup(x){const o=p(),t=v("<p>你好</p>");_(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return C(()=>{const e=o.value;e!=null&&e.destroy()}),(e,a)=>(h(),g("div",y,[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 _};

View File

@ -1 +0,0 @@
import{_ as o}from"./EditorMulti.vue_vue_type_script_setup_true_lang-7jdB5d5A.js";import"./index-KRrBLK8V.js";import"./index-DI6gHrBb.js";import"./index.esm-C0RiOznW.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./EditorMulti.vue_vue_type_script_setup_true_lang-DDcGWzzz.js";import"./index-CohjqMsN.js";import"./index-BY53z-3q.js";import"./index.esm-vdoXZ9_i.js";export{o as default};

View File

@ -1 +1 @@
import{R as h}from"./index-KRrBLK8V.js";import{T as C,E as g}from"./index.esm-C0RiOznW.js";import{d as y,a as R,M as w,y as E,b as u,e as l,h as V,w as d,k as b,l as k,u as r,g as x,f as i,F as B}from"./index-DI6gHrBb.js";const L={class:"wangeditor"},c="default",O=y({name:"MultiEditor",__name:"EditorMulti",setup(M){const f=[{value:"<p>测试一</p>"},{value:"<p>测试二</p>"},{value:"<p>测试三</p>"},{value:"<p>测试四</p>"}],o=R([]);f.forEach(e=>{o.value.push({value:e.value,editorRef:w()})});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-CohjqMsN.js";import{T as C,E as g}from"./index.esm-vdoXZ9_i.js";import{d as y,a as R,M as w,y as E,b as u,e as l,h as V,w as d,k as b,l as k,u as r,g as x,f as i,F as B}from"./index-BY53z-3q.js";const L={class:"wangeditor"},c="default",O=y({name:"MultiEditor",__name:"EditorMulti",setup(M){const f=[{value:"<p>测试一</p>"},{value:"<p>测试二</p>"},{value:"<p>测试三</p>"},{value:"<p>测试四</p>"}],o=R([]);f.forEach(e=>{o.value.push({value:e.value,editorRef:w()})});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 _};

View File

@ -1 +0,0 @@
import{_ as o}from"./EditorUpload.vue_vue_type_script_setup_true_lang-5Dwe4c88.js";import"./index.esm-C0RiOznW.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./EditorUpload.vue_vue_type_script_setup_true_lang-C_2Y-jwm.js";import"./index.esm-vdoXZ9_i.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +1 @@
import{T as f,E as m}from"./index.esm-C0RiOznW.js";import{d as c,M as p,a as g,y as _,k as v,e as C,f as n,u as r}from"./index-DI6gHrBb.js";const y={class:"wangeditor"},d="default",U=c({name:"picUpload",__name:"EditorUpload",setup(h){const a=p(),t=g("<p>仅提供代码参考,暂不可上传图片,可根据实际业务改写</p>"),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)=>(C(),v("div",y,[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-vdoXZ9_i.js";import{d as c,M as p,a as g,y as _,k as v,e as C,f as n,u as r}from"./index-BY53z-3q.js";const y={class:"wangeditor"},d="default",U=c({name:"picUpload",__name:"EditorUpload",setup(h){const a=p(),t=g("<p>仅提供代码参考,暂不可上传图片,可根据实际业务改写</p>"),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)=>(C(),v("div",y,[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 _};

View File

@ -0,0 +1 @@
import{_ as o}from"./FullInput.vue_vue_type_script_setup_true_lang-Bdgl9vIr.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./FullInput.vue_vue_type_script_setup_true_lang-DPyJ9Jrx.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1 +1 @@
import"./deepChat-CFsW3Wnh.js";import{d as o,a as r,m as n,k as a,e as s}from"./index-DI6gHrBb.js";const m=o({__name:"FullInput",setup(d){const e=r();return n(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,p)=>(s(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px"},textInput:{styles:{container:{width:"100%",margin:"0",border:"unset",borderTop:"1px solid #d5d5d5",borderRadius:"0px",boxShadow:"unset"},text:{fontSize:"1.05em",paddingTop:"11px",paddingBottom:"13px",paddingLeft:"12px",paddingRight:"2.4em"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},submitButtonStyles:{submit:{container:{default:{transform:"scale(1.21)",marginBottom:"-3px",marginRight:"0.4em"}}}},history:[{text:"预防心梗、脑梗的方法?",role:"user"},{text:"预防心梗和脑梗的关键方法包括保持健康的生活方式,如均衡饮食、定期锻炼、控制血压和血脂、戒烟限酒以及管理压力。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{m as _};
import"./deepChat-CFsW3Wnh.js";import{d as o,a as r,m as n,k as a,e as s}from"./index-BY53z-3q.js";const m=o({__name:"FullInput",setup(d){const e=r();return n(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,p)=>(s(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px"},textInput:{styles:{container:{width:"100%",margin:"0",border:"unset",borderTop:"1px solid #d5d5d5",borderRadius:"0px",boxShadow:"unset"},text:{fontSize:"1.05em",paddingTop:"11px",paddingBottom:"13px",paddingLeft:"12px",paddingRight:"2.4em"}},placeholder:{text:"发送消息",style:{color:"#bcbcbc"}}},submitButtonStyles:{submit:{container:{default:{transform:"scale(1.21)",marginBottom:"-3px",marginRight:"0.4em"}}}},history:[{text:"预防心梗、脑梗的方法?",role:"user"},{text:"预防心梗和脑梗的关键方法包括保持健康的生活方式,如均衡饮食、定期锻炼、控制血压和血脂、戒烟限酒以及管理压力。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{m as _};

View File

@ -0,0 +1 @@
import{_ as o}from"./Group.vue_vue_type_script_setup_true_lang-U8Sf9vEy.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Group.vue_vue_type_script_setup_true_lang-D2nX9vmd.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as o,a as r,m as a,k as p,e as s}from"./index-DI6gHrBb.js";const l=o({__name:"Group",setup(n){const e=r();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,m)=>(s(),p("deep-chat",{ref_key:"chatRef",ref:e,auxiliaryStyle:`
import"./deepChat-CFsW3Wnh.js";import{d as o,a as r,m as a,k as p,e as s}from"./index-BY53z-3q.js";const l=o({__name:"Group",setup(n){const e=r();return a(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,m)=>(s(),p("deep-chat",{ref_key:"chatRef",ref:e,auxiliaryStyle:`
.deep-chat-top-message .message-bubble {
border-top-left-radius: 5px !important;
border-top-right-radius: 5px !important;

View File

@ -1 +1 @@
import{d as a,a as l,k as n,e as d,f as c,h as r,_}from"./index-DI6gHrBb.js";const p={class:"slider-demo-block"},u=a({__name:"Input",setup(m){const e=l(0);return(f,o)=>{const s=r("el-slider");return d(),n("div",p,[c(s,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=t=>e.value=t),"show-input":""},null,8,["modelValue"])])}}}),v=_(u,[["__scopeId","data-v-f86dc4cf"]]);export{v as default};
import{d as a,a as l,k as n,e as d,f as c,h as r,_}from"./index-BY53z-3q.js";const p={class:"slider-demo-block"},u=a({__name:"Input",setup(m){const e=l(0);return(f,o)=>{const s=r("el-slider");return d(),n("div",p,[c(s,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=t=>e.value=t),"show-input":""},null,8,["modelValue"])])}}}),v=_(u,[["__scopeId","data-v-f86dc4cf"]]);export{v as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./IntroPanel.vue_vue_type_script_setup_true_lang-N9xF0dTq.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./IntroPanel.vue_vue_type_script_setup_true_lang-Du4ACtG5.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +1 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as s,k as d,e as p,g as e}from"./index-DI6gHrBb.js";const x=r({__name:"IntroPanel",setup(i){const t=a();return s(()=>{t.value.demo={response:n=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(n,o)=>(p(),d("deep-chat",{ref_key:"chatRef",ref:t,textInput:{placeholder:{text:"发送消息"}},demo:"true",style:{"border-radius":"8px"}},o[0]||(o[0]=[e("div",{style:{display:"none",width:"200px",padding:"12px","padding-bottom":"15px","background-color":"#f3f3f3","border-radius":"10px"}},[e("div",null,[e("div",{style:{"margin-bottom":"8px","font-size":"16px","text-align":"center"}},[e("b",null,"简介面板")]),e("div",{style:{"font-size":"15px","line-height":"20px"}}," 插入描述以帮助您的用户了解如何使用该组件 ")])],-1)]),512))}});export{x as _};
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as s,k as d,e as p,g as e}from"./index-BY53z-3q.js";const x=r({__name:"IntroPanel",setup(i){const t=a();return s(()=>{t.value.demo={response:n=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(n,o)=>(p(),d("deep-chat",{ref_key:"chatRef",ref:t,textInput:{placeholder:{text:"发送消息"}},demo:"true",style:{"border-radius":"8px"}},o[0]||(o[0]=[e("div",{style:{display:"none",width:"200px",padding:"12px","padding-bottom":"15px","background-color":"#f3f3f3","border-radius":"10px"}},[e("div",null,[e("div",{style:{"margin-bottom":"8px","font-size":"16px","text-align":"center"}},[e("b",null,"简介面板")]),e("div",{style:{"font-size":"15px","line-height":"20px"}}," 插入描述以帮助您的用户了解如何使用该组件 ")])],-1)]),512))}});export{x as _};

View File

@ -1 +1 @@
import{k as c,e as o,g as n,a1 as B,d as I,p as g,v as w,f as a,h as r,w as i,b as d,i as u,u as s,j as h,t as p,_ as S}from"./index-DI6gHrBb.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(),c("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(),c("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},R={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"};function E(e,t){return o(),c("svg",R,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 F={render:E},T={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"};function q(e,t){return o(),c("svg",T,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:q},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(),c("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={viewBox:"0 0 24 24",width:"1em",height:"1em"};function U(e,t){return o(),c("svg",Q,t[0]||(t[0]=[n("path",{fill:"currentColor",d:"M12 3c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0 14c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0-7c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2"},null,-1)]))}const W=B({name:"ri-more-2-fill",render:U}),X={class:"list-card-item_detail bg-bg_color"},Y={class:"list-card-item_detail--operation"},Z={class:"list-card-item_detail--name text-text_color_primary"},ee={class:"list-card-item_detail--desc text-text_color_regular"},te=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}]),k=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(m,l)=>{const y=r("el-tag"),M=r("IconifyIconOffline"),_=r("el-dropdown-item"),z=r("el-dropdown-menu"),H=r("el-dropdown"),$=r("el-row");return o(),c("div",{class:w(V.value)},[n("div",X,[a($,{justify:"space-between"},{default:i(()=>[n("div",{class:w(k.value)},[e.product.type===1?(o(),d(s(j),{key:0})):u("",!0),e.product.type===2?(o(),d(s(G),{key:1})):u("",!0),e.product.type===3?(o(),d(s(F),{key:2})):u("",!0),e.product.type===4?(o(),d(s(P),{key:3})):u("",!0),e.product.type===5?(o(),d(s(D),{key:4})):u("",!0)],2),n("div",Y,[a(y,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:i(()=>[h(p(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),a(H,{trigger:"click",disabled:!e.product.isSetup},{dropdown:i(()=>[a(z,{disabled:!e.product.isSetup},{default:i(()=>[a(_,{onClick:l[0]||(l[0]=b=>x(e.product))},{default:i(()=>l[2]||(l[2]=[h(" 管理 ")])),_:1}),a(_,{onClick:l[1]||(l[1]=b=>C(e.product))},{default:i(()=>l[3]||(l[3]=[h(" 删除 ")])),_:1})]),_:1},8,["disabled"])]),default:i(()=>[a(M,{icon:s(W),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),n("p",Z,p(e.product.name),1),n("p",ee,p(e.product.description),1)])],2)}}}),ne=S(te,[["__scopeId","data-v-28137412"]]);export{ne as default};
import{k as c,e as o,g as n,a1 as B,d as I,p as g,v as w,f as a,h as r,w as i,b as d,i as u,u as s,j as h,t as p,_ as S}from"./index-BY53z-3q.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(),c("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(),c("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},R={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"};function E(e,t){return o(),c("svg",R,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 F={render:E},T={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"};function q(e,t){return o(),c("svg",T,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:q},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(),c("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={viewBox:"0 0 24 24",width:"1em",height:"1em"};function U(e,t){return o(),c("svg",Q,t[0]||(t[0]=[n("path",{fill:"currentColor",d:"M12 3c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0 14c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m0-7c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2"},null,-1)]))}const W=B({name:"ri-more-2-fill",render:U}),X={class:"list-card-item_detail bg-bg_color"},Y={class:"list-card-item_detail--operation"},Z={class:"list-card-item_detail--name text-text_color_primary"},ee={class:"list-card-item_detail--desc text-text_color_regular"},te=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}]),k=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!v.product.isSetup}]);return(m,l)=>{const y=r("el-tag"),M=r("IconifyIconOffline"),_=r("el-dropdown-item"),z=r("el-dropdown-menu"),H=r("el-dropdown"),$=r("el-row");return o(),c("div",{class:w(V.value)},[n("div",X,[a($,{justify:"space-between"},{default:i(()=>[n("div",{class:w(k.value)},[e.product.type===1?(o(),d(s(j),{key:0})):u("",!0),e.product.type===2?(o(),d(s(G),{key:1})):u("",!0),e.product.type===3?(o(),d(s(F),{key:2})):u("",!0),e.product.type===4?(o(),d(s(P),{key:3})):u("",!0),e.product.type===5?(o(),d(s(D),{key:4})):u("",!0)],2),n("div",Y,[a(y,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:i(()=>[h(p(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),a(H,{trigger:"click",disabled:!e.product.isSetup},{dropdown:i(()=>[a(z,{disabled:!e.product.isSetup},{default:i(()=>[a(_,{onClick:l[0]||(l[0]=b=>x(e.product))},{default:i(()=>l[2]||(l[2]=[h(" 管理 ")])),_:1}),a(_,{onClick:l[1]||(l[1]=b=>C(e.product))},{default:i(()=>l[3]||(l[3]=[h(" 删除 ")])),_:1})]),_:1},8,["disabled"])]),default:i(()=>[a(M,{icon:s(W),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),n("p",Z,p(e.product.name),1),n("p",ee,p(e.product.description),1)])],2)}}}),ne=S(te,[["__scopeId","data-v-28137412"]]);export{ne as default};

View File

@ -1 +1 @@
import{_ as m}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-I_NVJuSH.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./ListDialogForm.vue_vue_type_script_setup_true_lang-BRy_mbma.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -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 j,a as b,n as g,b as R,e as C,w as a,f as t,h as s,j as _,k as q,F as I,l as J,t as M,J as P}from"./index-DI6gHrBb.js";const A=j({__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(),R(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(I,null,J(r,(l,T)=>t(L,{key:T,value:l.value,label:l.label},{default:a(()=>[_(M(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 j,a as b,n as g,b as R,e as C,w as a,f as t,h as s,j as _,k as q,F as I,l as J,t as M,J as P}from"./index-BY53z-3q.js";const A=j({__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(),R(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(I,null,J(r,(l,T)=>t(L,{key:T,value:l.value,label:l.label},{default:a(()=>[_(M(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 _};

View File

@ -0,0 +1 @@
import{_ as o}from"./LoFi.vue_vue_type_script_setup_true_lang-Bm1TOJlC.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./LoFi.vue_vue_type_script_setup_true_lang-CqA-jHCZ.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as t,a,m as o,k as n,e as s}from"./index-DI6gHrBb.js";const b=t({__name:"LoFi",setup(i){const e=a();return o(()=>{e.value.demo={response:r=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(r,l)=>(s(),n("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px",border:"unset","background-image":'url("https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/lofi.png")',"background-size":"cover"},messageStyles:{default:{user:{bubble:{background:"linear-gradient(90deg, rgb(225 37 255) 0%, rgb(161, 99, 233) 100%)",color:"white"}},ai:{bubble:{background:"linear-gradient(90deg, rgb(0, 162, 255) 30%, rgb(197 119 255) 100%)",color:"white"}}},loading:{message:{styles:{bubble:{background:"linear-gradient(90deg, rgb(0, 162, 255) 30%, rgb(197 119 255) 100%)",color:"white"}}}}},textInput:{placeholder:{text:"发送消息"},styles:{container:{backgroundColor:"rgb(239 245 255)",color:"#0d008d"}}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(6989%) hue-rotate(288deg) brightness(107%) contrast(122%)"}}}}},auxiliaryStyle:`
import"./deepChat-CFsW3Wnh.js";import{d as t,a,m as o,k as n,e as s}from"./index-BY53z-3q.js";const b=t({__name:"LoFi",setup(i){const e=a();return o(()=>{e.value.demo={response:r=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(r,l)=>(s(),n("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"10px",border:"unset","background-image":'url("https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/lofi.png")',"background-size":"cover"},messageStyles:{default:{user:{bubble:{background:"linear-gradient(90deg, rgb(225 37 255) 0%, rgb(161, 99, 233) 100%)",color:"white"}},ai:{bubble:{background:"linear-gradient(90deg, rgb(0, 162, 255) 30%, rgb(197 119 255) 100%)",color:"white"}}},loading:{message:{styles:{bubble:{background:"linear-gradient(90deg, rgb(0, 162, 255) 30%, rgb(197 119 255) 100%)",color:"white"}}}}},textInput:{placeholder:{text:"发送消息"},styles:{container:{backgroundColor:"rgb(239 245 255)",color:"#0d008d"}}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(26%) sepia(95%) saturate(6989%) hue-rotate(288deg) brightness(107%) contrast(122%)"}}}}},auxiliaryStyle:`
::-webkit-scrollbar {
width: 10px;
height: 10px;

View File

@ -0,0 +1 @@
import{_ as o}from"./LoginPhone.vue_vue_type_script_setup_true_lang-9NWYzyRx.js";import"./motion-Dtb-81ZO.js";import"./index-BY53z-3q.js";import"./shield-keyhole-line-C1Rll1VI.js";import"./hooks-BOlDpg3C.js";import"./iphone-DpqeZ_uQ.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./LoginPhone.vue_vue_type_script_setup_true_lang-Cicm86Nj.js";import"./motion-Br0jS5f7.js";import"./index-DI6gHrBb.js";import"./shield-keyhole-line-8b_Q2wWd.js";import"./hooks-CCgmh5KY.js";import"./iphone-DZ42QAI-.js";export{o as default};

View File

@ -1 +1 @@
var x=(h,s,n)=>new Promise((r,i)=>{var g=t=>{try{d(n.next(t))}catch(u){i(u)}},p=t=>{try{d(n.throw(t))}catch(u){i(u)}},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-Br0jS5f7.js";import{d as I,R as B,a as k,r as S,h as _,b as L,e as N,u as e,w as l,f as o,g as T,j as v,t as C,J as U,ab as z,g0 as F,go as P}from"./index-DI6gHrBb.js";import{p as $,K as j,u as V}from"./shield-keyhole-line-8b_Q2wWd.js";import{u as w}from"./hooks-CCgmh5KY.js";import{I as D}from"./iphone-DZ42QAI-.js";const E={class:"w-full flex justify-between"},q=I({__name:"LoginPhone",setup(h){const{t:s}=B(),n=k(!1),r=S({phone:"",verifyCode:""}),i=k(),{isDisabled:g,text:p}=V(),d=u=>x(this,null,function*(){n.value=!0,u&&(yield u.validate(a=>{a?setTimeout(()=>{U(z(F("login.pureLoginSuccess")),{type:"success"}),n.value=!1},2e3):n.value=!1}))});function t(){V().end(),P().SET_CURRENTPAGE(0)}return(u,a)=>{const b=_("el-input"),m=_("el-form-item"),y=_("el-button"),R=_("el-form");return N(),L(R,{ref_key:"ruleFormRef",ref:i,model:r,rules:e($),size:"large"},{default:l(()=>[o(e(c),null,{default:l(()=>[o(m,{prop:"phone"},{default:l(()=>[o(b,{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(()=>[T("div",E,[o(b,{modelValue:r.verifyCode,"onUpdate:modelValue":a[1]||(a[1]=f=>r.verifyCode=f),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(w)(e(j))},null,8,["modelValue","placeholder","prefix-icon"]),o(y,{disabled:e(g),class:"ml-2!",onClick:a[2]||(a[2]=f=>e(V)().start(i.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(i.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,i)=>{var g=t=>{try{d(n.next(t))}catch(u){i(u)}},p=t=>{try{d(n.throw(t))}catch(u){i(u)}},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-Dtb-81ZO.js";import{d as I,R as B,a as k,r as S,h as _,b as L,e as N,u as e,w as l,f as o,g as T,j as v,t as C,J as U,ab as z,g0 as F,go as P}from"./index-BY53z-3q.js";import{p as $,K as j,u as V}from"./shield-keyhole-line-C1Rll1VI.js";import{u as w}from"./hooks-BOlDpg3C.js";import{I as D}from"./iphone-DpqeZ_uQ.js";const E={class:"w-full flex justify-between"},q=I({__name:"LoginPhone",setup(h){const{t:s}=B(),n=k(!1),r=S({phone:"",verifyCode:""}),i=k(),{isDisabled:g,text:p}=V(),d=u=>x(this,null,function*(){n.value=!0,u&&(yield u.validate(a=>{a?setTimeout(()=>{U(z(F("login.pureLoginSuccess")),{type:"success"}),n.value=!1},2e3):n.value=!1}))});function t(){V().end(),P().SET_CURRENTPAGE(0)}return(u,a)=>{const b=_("el-input"),m=_("el-form-item"),y=_("el-button"),R=_("el-form");return N(),L(R,{ref_key:"ruleFormRef",ref:i,model:r,rules:e($),size:"large"},{default:l(()=>[o(e(c),null,{default:l(()=>[o(m,{prop:"phone"},{default:l(()=>[o(b,{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(()=>[T("div",E,[o(b,{modelValue:r.verifyCode,"onUpdate:modelValue":a[1]||(a[1]=f=>r.verifyCode=f),clearable:"",placeholder:e(s)("login.pureSmsVerifyCode"),"prefix-icon":e(w)(e(j))},null,8,["modelValue","placeholder","prefix-icon"]),o(y,{disabled:e(g),class:"ml-2!",onClick:a[2]||(a[2]=f=>e(V)().start(i.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(i.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 _};

View File

@ -0,0 +1 @@
import{_ as o}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-CvIE4-hs.js";import"./motion-Dtb-81ZO.js";import"./index-BY53z-3q.js";import"./index-EqixUPZh.js";import"./propTypes-B9jTUFW5.js";import"./refresh-right-CWQcVoUp.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./LoginQrCode.vue_vue_type_script_setup_true_lang-CA0GA_F_.js";import"./motion-Br0jS5f7.js";import"./index-DI6gHrBb.js";import"./index-DgL8-KNP.js";import"./propTypes-B9jTUFW5.js";import"./refresh-right-rMUb0Mev.js";export{o as default};

View File

@ -1 +1 @@
import{M as a}from"./motion-Br0jS5f7.js";import{R as i}from"./index-DgL8-KNP.js";import{d as c,R as d,h as l,k as p,e as m,F as f,f as t,w as o,u as e,g,t as r,go as x,j as k}from"./index-DI6gHrBb.js";const C={class:"text-gray-500 text-xs"},N=c({__name:"LoginQrCode",setup(R){const{t:s}=d();return(T,n)=>{const u=l("el-divider"),_=l("el-button");return m(),p(f,null,[t(e(a),{class:"-mt-2 -mb-2"},{default:o(()=>[t(e(i),{text:e(s)("login.pureTest")},null,8,["text"])]),_:1}),t(e(a),{delay:100},{default:o(()=>[t(u,null,{default:o(()=>[g("p",C,r(e(s)("login.pureTip")),1)]),_:1})]),_:1}),t(e(a),{delay:150},{default:o(()=>[t(_,{class:"w-full mt-4!",onClick:n[0]||(n[0]=v=>e(x)().SET_CURRENTPAGE(0))},{default:o(()=>[k(r(e(s)("login.pureBack")),1)]),_:1})]),_:1})],64)}}});export{N as _};
import{M as a}from"./motion-Dtb-81ZO.js";import{R as i}from"./index-EqixUPZh.js";import{d as c,R as d,h as l,k as p,e as m,F as f,f as t,w as o,u as e,g,t as r,go as x,j as k}from"./index-BY53z-3q.js";const C={class:"text-gray-500 text-xs"},N=c({__name:"LoginQrCode",setup(R){const{t:s}=d();return(T,n)=>{const u=l("el-divider"),_=l("el-button");return m(),p(f,null,[t(e(a),{class:"-mt-2 -mb-2"},{default:o(()=>[t(e(i),{text:e(s)("login.pureTest")},null,8,["text"])]),_:1}),t(e(a),{delay:100},{default:o(()=>[t(u,null,{default:o(()=>[g("p",C,r(e(s)("login.pureTip")),1)]),_:1})]),_:1}),t(e(a),{delay:150},{default:o(()=>[t(_,{class:"w-full mt-4!",onClick:n[0]||(n[0]=v=>e(x)().SET_CURRENTPAGE(0))},{default:o(()=>[k(r(e(s)("login.pureBack")),1)]),_:1})]),_:1})],64)}}});export{N as _};

View File

@ -0,0 +1 @@
import{_ as o}from"./LoginRegist.vue_vue_type_script_setup_true_lang-_PDV-czn.js";import"./motion-Dtb-81ZO.js";import"./index-BY53z-3q.js";import"./shield-keyhole-line-C1Rll1VI.js";import"./hooks-BOlDpg3C.js";import"./lock-fill-CthPZ-kj.js";import"./iphone-DpqeZ_uQ.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./LoginRegist.vue_vue_type_script_setup_true_lang-DwbiCPzT.js";import"./motion-Br0jS5f7.js";import"./index-DI6gHrBb.js";import"./shield-keyhole-line-8b_Q2wWd.js";import"./hooks-CCgmh5KY.js";import"./lock-fill-BXmNUKAN.js";import"./iphone-DZ42QAI-.js";export{o as default};

View File

@ -1 +1 @@
var U=(b,r,d)=>new Promise((f,s)=>{var c=t=>{try{m(d.next(t))}catch(g){s(g)}},C=t=>{try{m(d.throw(t))}catch(g){s(g)}},m=t=>t.done?f(t.value):Promise.resolve(t.value).then(c,C);m((d=d.apply(b,r)).next())});import{M as p}from"./motion-Br0jS5f7.js";import{a1 as N,k as $,e as I,g as E,d as F,R as L,a as R,r as M,h as _,b as j,u as e,w as o,f as l,ab as w,g0 as y,j as v,t as V,J as B,go as A}from"./index-DI6gHrBb.js";import{u as P,a as G,K as H}from"./shield-keyhole-line-8b_Q2wWd.js";import{u as x}from"./hooks-CCgmh5KY.js";import{L as S}from"./lock-fill-BXmNUKAN.js";import{I as K}from"./iphone-DZ42QAI-.js";const W={viewBox:"0 0 24 24",width:"1em",height:"1em"};function q(b,r){return I(),$("svg",W,r[0]||(r[0]=[E("path",{fill:"currentColor",d:"M20 22H4v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5zm-8-9a6 6 0 1 1 0-12a6 6 0 0 1 0 12"},null,-1)]))}const J=N({name:"ri-user-3-fill",render:q}),O={class:"w-full flex justify-between"},ae=F({__name:"LoginRegist",setup(b){const{t:r}=L(),d=R(!1),f=R(!1),s=M({username:"",phone:"",verifyCode:"",password:"",repeatPassword:""}),c=R(),{isDisabled:C,text:m}=P(),t=[{validator:(h,a,u)=>{a===""?u(new Error(w(y("login.purePassWordSureReg")))):s.password!==a?u(new Error(w(y("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],g=h=>U(this,null,function*(){f.value=!0,h&&(yield h.validate(a=>{a?d.value?setTimeout(()=>{B(w(y("login.pureRegisterSuccess")),{type:"success"}),f.value=!1},2e3):(f.value=!1,B(w(y("login.pureTickPrivacy")),{type:"warning"})):f.value=!1}))});function T(){P().end(),A().SET_CURRENTPAGE(0)}return(h,a)=>{const u=_("el-input"),i=_("el-form-item"),k=_("el-button"),z=_("el-checkbox"),D=_("el-form");return I(),j(D,{ref_key:"ruleFormRef",ref:c,model:s,rules:e(G),size:"large"},{default:o(()=>[l(e(p),null,{default:o(()=>[l(i,{rules:[{required:!0,message:e(w)(e(y)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:o(()=>[l(u,{modelValue:s.username,"onUpdate:modelValue":a[0]||(a[0]=n=>s.username=n),clearable:"",placeholder:e(r)("login.pureUsername"),"prefix-icon":e(x)(e(J))},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:s.phone,"onUpdate:modelValue":a[1]||(a[1]=n=>s.phone=n),clearable:"",placeholder:e(r)("login.purePhone"),"prefix-icon":e(x)(e(K))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:150},{default:o(()=>[l(i,{prop:"verifyCode"},{default:o(()=>[E("div",O,[l(u,{modelValue:s.verifyCode,"onUpdate:modelValue":a[2]||(a[2]=n=>s.verifyCode=n),clearable:"",placeholder:e(r)("login.pureSmsVerifyCode"),"prefix-icon":e(x)(e(H))},null,8,["modelValue","placeholder","prefix-icon"]),l(k,{disabled:e(C),class:"ml-2!",onClick:a[3]||(a[3]=n=>e(P)().start(c.value,"phone"))},{default:o(()=>[v(V(e(m).length>0?e(m)+e(r)("login.pureInfo"):e(r)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),l(e(p),{delay:200},{default:o(()=>[l(i,{prop:"password"},{default:o(()=>[l(u,{modelValue:s.password,"onUpdate:modelValue":a[4]||(a[4]=n=>s.password=n),clearable:"","show-password":"",placeholder:e(r)("login.purePassword"),"prefix-icon":e(x)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:250},{default:o(()=>[l(i,{rules:t,prop:"repeatPassword"},{default:o(()=>[l(u,{modelValue:s.repeatPassword,"onUpdate:modelValue":a[5]||(a[5]=n=>s.repeatPassword=n),clearable:"","show-password":"",placeholder:e(r)("login.pureSure"),"prefix-icon":e(x)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:300},{default:o(()=>[l(i,null,{default:o(()=>[l(z,{modelValue:d.value,"onUpdate:modelValue":a[6]||(a[6]=n=>d.value=n)},{default:o(()=>[v(V(e(r)("login.pureReadAccept")),1)]),_:1},8,["modelValue"]),l(k,{link:"",type:"primary"},{default:o(()=>[v(V(e(r)("login.purePrivacyPolicy")),1)]),_:1})]),_:1})]),_:1}),l(e(p),{delay:350},{default:o(()=>[l(i,null,{default:o(()=>[l(k,{class:"w-full",size:"default",type:"primary",loading:f.value,onClick:a[7]||(a[7]=n=>g(c.value))},{default:o(()=>[v(V(e(r)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),l(e(p),{delay:400},{default:o(()=>[l(i,null,{default:o(()=>[l(k,{class:"w-full",size:"default",onClick:T},{default:o(()=>[v(V(e(r)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{J as U,ae as _};
var U=(b,r,d)=>new Promise((f,s)=>{var c=t=>{try{m(d.next(t))}catch(g){s(g)}},C=t=>{try{m(d.throw(t))}catch(g){s(g)}},m=t=>t.done?f(t.value):Promise.resolve(t.value).then(c,C);m((d=d.apply(b,r)).next())});import{M as p}from"./motion-Dtb-81ZO.js";import{a1 as N,k as $,e as I,g as E,d as F,R as L,a as R,r as M,h as _,b as j,u as e,w as o,f as l,ab as w,g0 as y,j as v,t as V,J as B,go as A}from"./index-BY53z-3q.js";import{u as P,a as G,K as H}from"./shield-keyhole-line-C1Rll1VI.js";import{u as x}from"./hooks-BOlDpg3C.js";import{L as S}from"./lock-fill-CthPZ-kj.js";import{I as K}from"./iphone-DpqeZ_uQ.js";const W={viewBox:"0 0 24 24",width:"1em",height:"1em"};function q(b,r){return I(),$("svg",W,r[0]||(r[0]=[E("path",{fill:"currentColor",d:"M20 22H4v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5zm-8-9a6 6 0 1 1 0-12a6 6 0 0 1 0 12"},null,-1)]))}const J=N({name:"ri-user-3-fill",render:q}),O={class:"w-full flex justify-between"},ae=F({__name:"LoginRegist",setup(b){const{t:r}=L(),d=R(!1),f=R(!1),s=M({username:"",phone:"",verifyCode:"",password:"",repeatPassword:""}),c=R(),{isDisabled:C,text:m}=P(),t=[{validator:(h,a,u)=>{a===""?u(new Error(w(y("login.purePassWordSureReg")))):s.password!==a?u(new Error(w(y("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],g=h=>U(this,null,function*(){f.value=!0,h&&(yield h.validate(a=>{a?d.value?setTimeout(()=>{B(w(y("login.pureRegisterSuccess")),{type:"success"}),f.value=!1},2e3):(f.value=!1,B(w(y("login.pureTickPrivacy")),{type:"warning"})):f.value=!1}))});function T(){P().end(),A().SET_CURRENTPAGE(0)}return(h,a)=>{const u=_("el-input"),i=_("el-form-item"),k=_("el-button"),z=_("el-checkbox"),D=_("el-form");return I(),j(D,{ref_key:"ruleFormRef",ref:c,model:s,rules:e(G),size:"large"},{default:o(()=>[l(e(p),null,{default:o(()=>[l(i,{rules:[{required:!0,message:e(w)(e(y)("login.pureUsernameReg")),trigger:"blur"}],prop:"username"},{default:o(()=>[l(u,{modelValue:s.username,"onUpdate:modelValue":a[0]||(a[0]=n=>s.username=n),clearable:"",placeholder:e(r)("login.pureUsername"),"prefix-icon":e(x)(e(J))},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:s.phone,"onUpdate:modelValue":a[1]||(a[1]=n=>s.phone=n),clearable:"",placeholder:e(r)("login.purePhone"),"prefix-icon":e(x)(e(K))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:150},{default:o(()=>[l(i,{prop:"verifyCode"},{default:o(()=>[E("div",O,[l(u,{modelValue:s.verifyCode,"onUpdate:modelValue":a[2]||(a[2]=n=>s.verifyCode=n),clearable:"",placeholder:e(r)("login.pureSmsVerifyCode"),"prefix-icon":e(x)(e(H))},null,8,["modelValue","placeholder","prefix-icon"]),l(k,{disabled:e(C),class:"ml-2!",onClick:a[3]||(a[3]=n=>e(P)().start(c.value,"phone"))},{default:o(()=>[v(V(e(m).length>0?e(m)+e(r)("login.pureInfo"):e(r)("login.pureGetVerifyCode")),1)]),_:1},8,["disabled"])])]),_:1})]),_:1}),l(e(p),{delay:200},{default:o(()=>[l(i,{prop:"password"},{default:o(()=>[l(u,{modelValue:s.password,"onUpdate:modelValue":a[4]||(a[4]=n=>s.password=n),clearable:"","show-password":"",placeholder:e(r)("login.purePassword"),"prefix-icon":e(x)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:250},{default:o(()=>[l(i,{rules:t,prop:"repeatPassword"},{default:o(()=>[l(u,{modelValue:s.repeatPassword,"onUpdate:modelValue":a[5]||(a[5]=n=>s.repeatPassword=n),clearable:"","show-password":"",placeholder:e(r)("login.pureSure"),"prefix-icon":e(x)(e(S))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),l(e(p),{delay:300},{default:o(()=>[l(i,null,{default:o(()=>[l(z,{modelValue:d.value,"onUpdate:modelValue":a[6]||(a[6]=n=>d.value=n)},{default:o(()=>[v(V(e(r)("login.pureReadAccept")),1)]),_:1},8,["modelValue"]),l(k,{link:"",type:"primary"},{default:o(()=>[v(V(e(r)("login.purePrivacyPolicy")),1)]),_:1})]),_:1})]),_:1}),l(e(p),{delay:350},{default:o(()=>[l(i,null,{default:o(()=>[l(k,{class:"w-full",size:"default",type:"primary",loading:f.value,onClick:a[7]||(a[7]=n=>g(c.value))},{default:o(()=>[v(V(e(r)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),l(e(p),{delay:400},{default:o(()=>[l(i,null,{default:o(()=>[l(k,{class:"w-full",size:"default",onClick:T},{default:o(()=>[v(V(e(r)("login.pureBack")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{J as U,ae as _};

View File

@ -1 +0,0 @@
import{_ as o}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-g3cL9hUb.js";import"./motion-Br0jS5f7.js";import"./index-DI6gHrBb.js";import"./shield-keyhole-line-8b_Q2wWd.js";import"./hooks-CCgmh5KY.js";import"./lock-fill-BXmNUKAN.js";import"./iphone-DZ42QAI-.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./LoginUpdate.vue_vue_type_script_setup_true_lang-48AEXU3l.js";import"./motion-Dtb-81ZO.js";import"./index-BY53z-3q.js";import"./shield-keyhole-line-C1Rll1VI.js";import"./hooks-BOlDpg3C.js";import"./lock-fill-CthPZ-kj.js";import"./iphone-DpqeZ_uQ.js";export{o as default};

View File

@ -1 +1 @@
var U=(R,s,t)=>new Promise((r,p)=>{var V=n=>{try{m(t.next(n))}catch(c){p(c)}},_=n=>{try{m(t.throw(n))}catch(c){p(c)}},m=n=>n.done?r(n.value):Promise.resolve(n.value).then(V,_);m((t=t.apply(R,s)).next())});import{M as f}from"./motion-Br0jS5f7.js";import{d as B,R as D,a as k,r as E,h as w,b as N,e as T,u as e,w as a,f as o,g as z,j as x,t as C,ab as b,g0 as h,J as F,go as L}from"./index-DI6gHrBb.js";import{u as P,a as W,K as $}from"./shield-keyhole-line-8b_Q2wWd.js";import{u as y}from"./hooks-CCgmh5KY.js";import{L as I}from"./lock-fill-BXmNUKAN.js";import{I as j}from"./iphone-DZ42QAI-.js";const G={class:"w-full flex justify-between"},Q=B({__name:"LoginUpdate",setup(R){const{t:s}=D(),t=k(!1),r=E({phone:"",verifyCode:"",password:"",repeatPassword:""}),p=k(),{isDisabled:V,text:_}=P(),m=[{validator:(g,l,u)=>{l===""?u(new Error(b(h("login.purePassWordSureReg")))):r.password!==l?u(new Error(b(h("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],n=g=>U(this,null,function*(){t.value=!0,g&&(yield g.validate(l=>{l?setTimeout(()=>{F(b(h("login.purePassWordUpdateReg")),{type:"success"}),t.value=!1},2e3):t.value=!1}))});function c(){P().end(),L().SET_CURRENTPAGE(0)}return(g,l)=>{const u=w("el-input"),i=w("el-form-item"),v=w("el-button"),S=w("el-form");return T(),N(S,{ref_key:"ruleFormRef",ref:p,model:r,rules:e(W),size:"large"},{default:a(()=>[o(e(f),null,{default:a(()=>[o(i,{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(j))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:100},{default:a(()=>[o(i,{prop:"verifyCode"},{default:a(()=>[z("div",G,[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)(e($))},null,8,["modelValue","placeholder","prefix-icon"]),o(v,{disabled:e(V),class:"ml-2!",onClick:l[2]||(l[2]=d=>e(P)().start(p.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(i,{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(I))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:200},{default:a(()=>[o(i,{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(I))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:250},{default:a(()=>[o(i,null,{default:a(()=>[o(v,{class:"w-full",size:"default",type:"primary",loading:t.value,onClick:l[5]||(l[5]=d=>n(p.value))},{default:a(()=>[x(C(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(f),{delay:300},{default:a(()=>[o(i,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{Q as _};
var U=(R,s,t)=>new Promise((r,p)=>{var V=n=>{try{m(t.next(n))}catch(c){p(c)}},_=n=>{try{m(t.throw(n))}catch(c){p(c)}},m=n=>n.done?r(n.value):Promise.resolve(n.value).then(V,_);m((t=t.apply(R,s)).next())});import{M as f}from"./motion-Dtb-81ZO.js";import{d as B,R as D,a as k,r as E,h as w,b as N,e as T,u as e,w as a,f as o,g as z,j as x,t as C,ab as b,g0 as h,J as F,go as L}from"./index-BY53z-3q.js";import{u as P,a as W,K as $}from"./shield-keyhole-line-C1Rll1VI.js";import{u as y}from"./hooks-BOlDpg3C.js";import{L as I}from"./lock-fill-CthPZ-kj.js";import{I as j}from"./iphone-DpqeZ_uQ.js";const G={class:"w-full flex justify-between"},Q=B({__name:"LoginUpdate",setup(R){const{t:s}=D(),t=k(!1),r=E({phone:"",verifyCode:"",password:"",repeatPassword:""}),p=k(),{isDisabled:V,text:_}=P(),m=[{validator:(g,l,u)=>{l===""?u(new Error(b(h("login.purePassWordSureReg")))):r.password!==l?u(new Error(b(h("login.purePassWordDifferentReg")))):u()},trigger:"blur"}],n=g=>U(this,null,function*(){t.value=!0,g&&(yield g.validate(l=>{l?setTimeout(()=>{F(b(h("login.purePassWordUpdateReg")),{type:"success"}),t.value=!1},2e3):t.value=!1}))});function c(){P().end(),L().SET_CURRENTPAGE(0)}return(g,l)=>{const u=w("el-input"),i=w("el-form-item"),v=w("el-button"),S=w("el-form");return T(),N(S,{ref_key:"ruleFormRef",ref:p,model:r,rules:e(W),size:"large"},{default:a(()=>[o(e(f),null,{default:a(()=>[o(i,{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(j))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:100},{default:a(()=>[o(i,{prop:"verifyCode"},{default:a(()=>[z("div",G,[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)(e($))},null,8,["modelValue","placeholder","prefix-icon"]),o(v,{disabled:e(V),class:"ml-2!",onClick:l[2]||(l[2]=d=>e(P)().start(p.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(i,{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(I))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:200},{default:a(()=>[o(i,{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(I))},null,8,["modelValue","placeholder","prefix-icon"])]),_:1})]),_:1}),o(e(f),{delay:250},{default:a(()=>[o(i,null,{default:a(()=>[o(v,{class:"w-full",size:"default",type:"primary",loading:t.value,onClick:l[5]||(l[5]=d=>n(p.value))},{default:a(()=>[x(C(e(s)("login.pureDefinite")),1)]),_:1},8,["loading"])]),_:1})]),_:1}),o(e(f),{delay:300},{default:a(()=>[o(i,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{Q as _};

View File

@ -1 +1 @@
import{d as t,a as r,r as n,k as c,e as d,f as _,h as m,_ as p}from"./index-DI6gHrBb.js";const u={class:"slider-demo-block"},i=t({__name:"Marks",setup(k){const e=r([30,60]),s=n({0:"0°C",8:"8°C",37:"37°C",50:{style:{color:"#1989FA"},label:"50%"}});return(f,o)=>{const a=m("el-slider");return d(),c("div",u,[_(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),range:"",marks:s},null,8,["modelValue","marks"])])}}}),C=p(i,[["__scopeId","data-v-c838b341"]]);export{C as default};
import{d as t,a as r,r as n,k as c,e as d,f as _,h as m,_ as p}from"./index-BY53z-3q.js";const u={class:"slider-demo-block"},i=t({__name:"Marks",setup(k){const e=r([30,60]),s=n({0:"0°C",8:"8°C",37:"37°C",50:{style:{color:"#1989FA"},label:"50%"}});return(f,o)=>{const a=m("el-slider");return d(),c("div",u,[_(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),range:"",marks:s},null,8,["modelValue","marks"])])}}}),C=p(i,[["__scopeId","data-v-c838b341"]]);export{C as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./MessageCode.vue_vue_type_script_setup_true_lang-CHi9zzpG.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./MessageCode.vue_vue_type_script_setup_true_lang-B5ozC3zl.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +1 @@
import{d as r,a,k as p,e as i,g as l,f as t,h as v,F as V,_ as f}from"./index-DI6gHrBb.js";const c={class:"slider-demo-block"},b={class:"slider-demo-block"},_={class:"slider-demo-block"},k={class:"slider-demo-block"},U=r({__name:"Placement",setup(g){const n=a(0),d=a(0),m=a(0),u=a(0);return(x,e)=>{const s=v("el-slider");return i(),p(V,null,[l("div",c,[e[4]||(e[4]=l("span",{class:"mr-2"},"上",-1)),t(s,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=o=>n.value=o)},null,8,["modelValue"])]),l("div",b,[e[5]||(e[5]=l("span",{class:"mr-2"},"下",-1)),t(s,{modelValue:d.value,"onUpdate:modelValue":e[1]||(e[1]=o=>d.value=o),placement:"bottom"},null,8,["modelValue"])]),l("div",_,[e[6]||(e[6]=l("span",{class:"mr-2"},"左",-1)),t(s,{modelValue:u.value,"onUpdate:modelValue":e[2]||(e[2]=o=>u.value=o),placement:"left"},null,8,["modelValue"])]),l("div",k,[e[7]||(e[7]=l("span",{class:"mr-2"},"右",-1)),t(s,{modelValue:m.value,"onUpdate:modelValue":e[3]||(e[3]=o=>m.value=o),placement:"right"},null,8,["modelValue"])])],64)}}}),C=f(U,[["__scopeId","data-v-bf3bbcf9"]]);export{C as default};
import{d as r,a,k as p,e as i,g as l,f as t,h as v,F as V,_ as f}from"./index-BY53z-3q.js";const c={class:"slider-demo-block"},b={class:"slider-demo-block"},_={class:"slider-demo-block"},k={class:"slider-demo-block"},U=r({__name:"Placement",setup(g){const n=a(0),d=a(0),m=a(0),u=a(0);return(x,e)=>{const s=v("el-slider");return i(),p(V,null,[l("div",c,[e[4]||(e[4]=l("span",{class:"mr-2"},"上",-1)),t(s,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=o=>n.value=o)},null,8,["modelValue"])]),l("div",b,[e[5]||(e[5]=l("span",{class:"mr-2"},"下",-1)),t(s,{modelValue:d.value,"onUpdate:modelValue":e[1]||(e[1]=o=>d.value=o),placement:"bottom"},null,8,["modelValue"])]),l("div",_,[e[6]||(e[6]=l("span",{class:"mr-2"},"左",-1)),t(s,{modelValue:u.value,"onUpdate:modelValue":e[2]||(e[2]=o=>u.value=o),placement:"left"},null,8,["modelValue"])]),l("div",k,[e[7]||(e[7]=l("span",{class:"mr-2"},"右",-1)),t(s,{modelValue:m.value,"onUpdate:modelValue":e[3]||(e[3]=o=>m.value=o),placement:"right"},null,8,["modelValue"])])],64)}}}),C=f(U,[["__scopeId","data-v-bf3bbcf9"]]);export{C as default};

View File

@ -1 +1 @@
import{d as h,a as x,k as l,e as n,v,u as k,X as w,g as t,F as g,l as C,f as c,t as r,h as o,w as V,j as y,J as B,_ as N}from"./index-DI6gHrBb.js";const P={class:"flex items-center"},F={class:"flex-1"},U={class:"wp-4"},j=h({name:"Preferences",__name:"Preferences",setup(z){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=o("el-text"),p=o("el-switch"),m=o("el-divider");return n(),l("div",{class:v(["min-w-[180px]",k(w)()?"max-w-[100%]":"max-w-[70%]"])},[s[0]||(s[0]=t("h3",{class:"my-8!"},"偏好设置",-1)),(n(!0),l(g,null,C(i.value,(e,f)=>(n(),l("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:V(()=>[y(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)}}}),E=N(j,[["__scopeId","data-v-c240ec83"]]);export{E as default};
import{d as h,a as x,k as l,e as n,v,u as k,X as w,g as t,F as g,l as C,f as c,t as r,h as o,w as V,j as y,J as B,_ as N}from"./index-BY53z-3q.js";const P={class:"flex items-center"},F={class:"flex-1"},U={class:"wp-4"},j=h({name:"Preferences",__name:"Preferences",setup(z){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=o("el-text"),p=o("el-switch"),m=o("el-divider");return n(),l("div",{class:v(["min-w-[180px]",k(w)()?"max-w-[100%]":"max-w-[70%]"])},[s[0]||(s[0]=t("h3",{class:"my-8!"},"偏好设置",-1)),(n(!0),l(g,null,C(i.value,(e,f)=>(n(),l("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:V(()=>[y(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)}}}),E=N(j,[["__scopeId","data-v-c240ec83"]]);export{E as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Profile.vue_vue_type_script_setup_true_lang-BFrFGgt4.js";import"./mock-D1ecRZ_W.js";import"./index-DI6gHrBb.js";import"./index-D6DusCoB.js";import"./index-DOjNLtoH.js";import"./upload-line-BkMebU6e.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Profile.vue_vue_type_script_setup_true_lang-BoD2Lq9V.js";import"./mock-Dy9gsdnL.js";import"./index-BY53z-3q.js";import"./index-uRDdt0Q4.js";import"./index-9eVOgihy.js";import"./upload-line-DYCMug1Y.js";export{o as default};

View File

@ -1 +1 @@
var h=(I,g,u)=>new Promise((w,f)=>{var d=s=>{try{o(u.next(s))}catch(c){f(c)}},b=s=>{try{o(u.throw(s))}catch(c){f(c)}},o=s=>s.done?w(s.value):Promise.resolve(s.value).then(d,b);o((u=u.apply(I,g)).next())});import{f as N}from"./mock-D1ecRZ_W.js";import{d as j,a as p,r as F,gE as A,k as D,e as M,v as $,u as y,X as L,g as R,f as l,h as r,w as t,j as U,aH as H,J as k}from"./index-DI6gHrBb.js";import{R as J}from"./index-D6DusCoB.js";import{U as T}from"./upload-line-BkMebU6e.js";const X={class:"dialog-footer"},Z=j({name:"Profile",__name:"Profile",setup(I){const g=p(""),u=p(),w=p(),f=p(),d=p(!1),b=p(),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(),f.value.clearFiles(),d.value=!1},B=({blob:a})=>u.value=a,P=()=>{const a=H({files:new File([u.value],"avatar")});N(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 A().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"),E=r("el-dialog");return M(),D("div",{class:$(["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:f,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(T)},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]=[U(" 更新信息 ")])),_:1})]),_:1},8,["rules","model"]),l(E,{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",X,[l(i,{bg:"",text:"",onClick:C},{default:t(()=>e[8]||(e[8]=[U("取消")])),_:1}),l(i,{bg:"",text:"",type:"primary",onClick:P},{default:t(()=>e[9]||(e[9]=[U(" 确定 ")])),_:1})])]),default:t(()=>[l(y(J),{ref_key:"cropRef",ref:w,imgSrc:g.value,onCropper:B},null,8,["imgSrc"])]),_:1},8,["modelValue","fullscreen"])],2)}}});export{Z as _};
var h=(I,g,u)=>new Promise((w,f)=>{var d=s=>{try{o(u.next(s))}catch(c){f(c)}},b=s=>{try{o(u.throw(s))}catch(c){f(c)}},o=s=>s.done?w(s.value):Promise.resolve(s.value).then(d,b);o((u=u.apply(I,g)).next())});import{f as N}from"./mock-Dy9gsdnL.js";import{d as j,a as p,r as F,gE as A,k as D,e as M,v as $,u as y,X as L,g as R,f as l,h as r,w as t,j as U,aH as H,J as k}from"./index-BY53z-3q.js";import{R as J}from"./index-uRDdt0Q4.js";import{U as T}from"./upload-line-DYCMug1Y.js";const X={class:"dialog-footer"},Z=j({name:"Profile",__name:"Profile",setup(I){const g=p(""),u=p(),w=p(),f=p(),d=p(!1),b=p(),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(),f.value.clearFiles(),d.value=!1},B=({blob:a})=>u.value=a,P=()=>{const a=H({files:new File([u.value],"avatar")});N(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 A().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"),E=r("el-dialog");return M(),D("div",{class:$(["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:f,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(T)},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]=[U(" 更新信息 ")])),_:1})]),_:1},8,["rules","model"]),l(E,{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",X,[l(i,{bg:"",text:"",onClick:C},{default:t(()=>e[8]||(e[8]=[U("取消")])),_:1}),l(i,{bg:"",text:"",type:"primary",onClick:P},{default:t(()=>e[9]||(e[9]=[U(" 确定 ")])),_:1})])]),default:t(()=>[l(y(J),{ref_key:"cropRef",ref:w,imgSrc:g.value,onCropper:B},null,8,["imgSrc"])]),_:1},8,["modelValue","fullscreen"])],2)}}});export{Z as _};

View File

@ -1 +1 @@
import{d as l,a as n,k as t,e as r,f as d,h as _,_ as c}from"./index-DI6gHrBb.js";const m={class:"slider-demo-block"},p=l({__name:"Range",setup(u){const e=n([4,8]);return(f,o)=>{const a=_("el-slider");return r(),t("div",m,[d(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=s=>e.value=s),range:"","show-stops":"",max:10},null,8,["modelValue"])])}}}),v=c(p,[["__scopeId","data-v-fec3249a"]]);export{v as default};
import{d as l,a as n,k as t,e as r,f as d,h as _,_ as c}from"./index-BY53z-3q.js";const m={class:"slider-demo-block"},p=l({__name:"Range",setup(u){const e=n([4,8]);return(f,o)=>{const a=_("el-slider");return r(),t("div",m,[d(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=s=>e.value=s),range:"","show-stops":"",max:10},null,8,["modelValue"])])}}}),v=c(p,[["__scopeId","data-v-fec3249a"]]);export{v as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Red.vue_vue_type_script_setup_true_lang-C9P38l0q.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Red.vue_vue_type_script_setup_true_lang-BGHINhPe.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1,4 +1,4 @@
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as s,k as o,e as n}from"./index-DI6gHrBb.js";const d=r({__name:"Red",setup(c){const e=a();return s(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,u)=>(n(),o("deep-chat",{ref_key:"chatRef",ref:e,messageStyles:{default:{user:{bubble:{backgroundColor:"#ff2020"}}}},avatars:{ai:{src:"https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/robot.png"}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(6203%) hue-rotate(352deg) brightness(111%) contrast(127%)"}}}}},textInput:{styles:{container:{border:"1px solid #ffd9d9",backgroundColor:"#fffcfc"}},placeholder:{text:"发送消息"}},auxiliaryStyle:`
import"./deepChat-CFsW3Wnh.js";import{d as r,a,m as s,k as o,e as n}from"./index-BY53z-3q.js";const d=r({__name:"Red",setup(c){const e=a();return s(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,u)=>(n(),o("deep-chat",{ref_key:"chatRef",ref:e,messageStyles:{default:{user:{bubble:{backgroundColor:"#ff2020"}}}},avatars:{ai:{src:"https://xiaoxian521.github.io/hyperlink/img/vue-pure-admin/chatai/robot.png"}},submitButtonStyles:{submit:{svg:{styles:{default:{filter:"brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(6203%) hue-rotate(352deg) brightness(111%) contrast(127%)"}}}}},textInput:{styles:{container:{border:"1px solid #ffd9d9",backgroundColor:"#fffcfc"}},placeholder:{text:"发送消息"}},auxiliaryStyle:`
::-webkit-scrollbar-thumb {
background-color: red;
}`,history:[{text:"健身的最佳时间?",role:"user"},{text:"健身的最佳时间是根据个人作息和偏好而定,但一般建议在下午或傍晚进行锻炼以达到最佳状态。",role:"ai"}],demo:!0,connect:{stream:!0}},null,512))}});export{d as _};

View File

@ -1 +1 @@
import{_ as m}from"./SecurityLog.vue_vue_type_script_setup_true_lang-Bb8ZXmP4.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./SecurityLog.vue_vue_type_script_setup_true_lang-DqgQXhUE.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -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,k as b,e as f,v,u as y,X as _,g as h,f as w,h as x,aZ as S,gF as W}from"./index-DI6gHrBb.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=x("pure-table");return f(),b("div",{class:v(["min-w-[180px]",y(_)()?"max-w-[100%]":"max-w-[70%]"])},[n[0]||(n[0]=h("h3",{class:"my-8!"},"安全日志",-1)),w(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,k as b,e as f,v,u as y,X as _,g as h,f as w,h as x,aZ as S,gF as W}from"./index-BY53z-3q.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=x("pure-table");return f(),b("div",{class:v(["min-w-[180px]",y(_)()?"max-w-[100%]":"max-w-[70%]"])},[n[0]||(n[0]=h("h3",{class:"my-8!"},"安全日志",-1)),w(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 _};

View File

@ -1 +1 @@
import{a1 as i,k as n,e as t,g as r,d as u,R as f,u as l,f as v,h}from"./index-DI6gHrBb.js";const p={viewBox:"0 0 24 24",width:"1em",height:"1em"};function _(o,e){return t(),n("svg",p,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.415L8 12l6.364-6.364l1.414 1.414z"},null,-1)]))}const I=i({name:"ri-arrow-left-s-line",render:_}),g={viewBox:"0 0 24 24",width:"1em",height:"1em"};function C(o,e){return t(),n("svg",g,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M3.34 17a10 10 0 0 1-.979-2.326a3 3 0 0 0 .003-5.347a10 10 0 0 1 2.5-4.337a3 3 0 0 0 4.632-2.674a10 10 0 0 1 5.007.003a3 3 0 0 0 4.632 2.671a10.06 10.06 0 0 1 2.503 4.336a3 3 0 0 0-.002 5.347a10 10 0 0 1-2.501 4.337a3 3 0 0 0-4.632 2.674a10 10 0 0 1-5.007-.002a3 3 0 0 0-4.631-2.672A10 10 0 0 1 3.339 17m5.66.196a5 5 0 0 1 2.25 2.77q.75.07 1.499.002a5 5 0 0 1 2.25-2.772a5 5 0 0 1 3.526-.564q.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.5-.001A5 5 0 0 1 9 6.804a5 5 0 0 1-3.526.564q-.436.614-.747 1.298A5 5 0 0 1 6 12c0 1.26-.471 2.437-1.273 3.334a8 8 0 0 0 .75 1.298A5 5 0 0 1 9 17.196M12 15a3 3 0 1 1 0-6a3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2a1 1 0 0 0 0 2"},null,-1)]))}const q=i({name:"ri-settings-3-line",render:C}),k={viewBox:"0 0 24 24",width:"1em",height:"1em"};function x(o,e){return t(),n("svg",k,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M21 18v2H3v-2zM7 3.5v10l-5-5zM21 11v2h-9v-2zm0-7v2h-9V4z"},null,-1)]))}const w=i({name:"ri-menu-fold-fill",render:x}),M={viewBox:"0 0 24 24",width:"1em",height:"1em"};function z(o,e){return t(),n("svg",M,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M21 18v2H3v-2zM17 3.5l5 5l-5 5zM12 11v2H3v-2zm0-7v2H3V4z"},null,-1)]))}const A=i({name:"ri-menu-unfold-fill",render:z}),B=["title"],y=u({__name:"SidebarTopCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(o,{emit:e}){const{t:a}=f(),c=e,d=()=>{c("toggleClick")};return(s,$)=>{const m=h("IconifyIconOffline");return t(),n("div",{class:"px-3 mr-1 navbar-bg-hover",title:s.isActive?l(a)("buttons.pureClickCollapse"):l(a)("buttons.pureClickExpand"),onClick:d},[v(m,{icon:s.isActive?l(w):l(A),class:"inline-block! align-middle hover:text-primary dark:hover:text-white!"},null,8,["icon"])],8,B)}}});export{w as M,q as P,y as _,I as l};
import{a1 as i,k as n,e as t,g as r,d as u,R as f,u as l,f as v,h}from"./index-BY53z-3q.js";const p={viewBox:"0 0 24 24",width:"1em",height:"1em"};function _(o,e){return t(),n("svg",p,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.415L8 12l6.364-6.364l1.414 1.414z"},null,-1)]))}const I=i({name:"ri-arrow-left-s-line",render:_}),g={viewBox:"0 0 24 24",width:"1em",height:"1em"};function C(o,e){return t(),n("svg",g,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M3.34 17a10 10 0 0 1-.979-2.326a3 3 0 0 0 .003-5.347a10 10 0 0 1 2.5-4.337a3 3 0 0 0 4.632-2.674a10 10 0 0 1 5.007.003a3 3 0 0 0 4.632 2.671a10.06 10.06 0 0 1 2.503 4.336a3 3 0 0 0-.002 5.347a10 10 0 0 1-2.501 4.337a3 3 0 0 0-4.632 2.674a10 10 0 0 1-5.007-.002a3 3 0 0 0-4.631-2.672A10 10 0 0 1 3.339 17m5.66.196a5 5 0 0 1 2.25 2.77q.75.07 1.499.002a5 5 0 0 1 2.25-2.772a5 5 0 0 1 3.526-.564q.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.5-.001A5 5 0 0 1 9 6.804a5 5 0 0 1-3.526.564q-.436.614-.747 1.298A5 5 0 0 1 6 12c0 1.26-.471 2.437-1.273 3.334a8 8 0 0 0 .75 1.298A5 5 0 0 1 9 17.196M12 15a3 3 0 1 1 0-6a3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2a1 1 0 0 0 0 2"},null,-1)]))}const q=i({name:"ri-settings-3-line",render:C}),k={viewBox:"0 0 24 24",width:"1em",height:"1em"};function x(o,e){return t(),n("svg",k,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M21 18v2H3v-2zM7 3.5v10l-5-5zM21 11v2h-9v-2zm0-7v2h-9V4z"},null,-1)]))}const w=i({name:"ri-menu-fold-fill",render:x}),M={viewBox:"0 0 24 24",width:"1em",height:"1em"};function z(o,e){return t(),n("svg",M,e[0]||(e[0]=[r("path",{fill:"currentColor",d:"M21 18v2H3v-2zM17 3.5l5 5l-5 5zM12 11v2H3v-2zm0-7v2H3V4z"},null,-1)]))}const A=i({name:"ri-menu-unfold-fill",render:z}),B=["title"],y=u({__name:"SidebarTopCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(o,{emit:e}){const{t:a}=f(),c=e,d=()=>{c("toggleClick")};return(s,$)=>{const m=h("IconifyIconOffline");return t(),n("div",{class:"px-3 mr-1 navbar-bg-hover",title:s.isActive?l(a)("buttons.pureClickCollapse"):l(a)("buttons.pureClickExpand"),onClick:d},[v(m,{icon:s.isActive?l(w):l(A),class:"inline-block! align-middle hover:text-primary dark:hover:text-white!"},null,8,["icon"])],8,B)}}});export{w as M,q as P,y as _,I as l};

View File

@ -1 +1 @@
import{d as n,a as t,k as u,e as d,f as s,h as m,_ as p}from"./index-DI6gHrBb.js";const r={class:"max-w-[600px] ml-4"},i=n({__name:"Size",setup(_){const e=t(0);return(v,l)=>{const a=m("el-slider");return d(),u("div",r,[s(a,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=o=>e.value=o),"show-input":"",size:"large"},null,8,["modelValue"]),s(a,{modelValue:e.value,"onUpdate:modelValue":l[1]||(l[1]=o=>e.value=o),"show-input":""},null,8,["modelValue"]),s(a,{modelValue:e.value,"onUpdate:modelValue":l[2]||(l[2]=o=>e.value=o),"show-input":"",size:"small"},null,8,["modelValue"])])}}}),c=p(i,[["__scopeId","data-v-a60e8dcc"]]);export{c as default};
import{d as n,a as t,k as u,e as d,f as s,h as m,_ as p}from"./index-BY53z-3q.js";const r={class:"max-w-[600px] ml-4"},i=n({__name:"Size",setup(_){const e=t(0);return(v,l)=>{const a=m("el-slider");return d(),u("div",r,[s(a,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=o=>e.value=o),"show-input":"",size:"large"},null,8,["modelValue"]),s(a,{modelValue:e.value,"onUpdate:modelValue":l[1]||(l[1]=o=>e.value=o),"show-input":""},null,8,["modelValue"]),s(a,{modelValue:e.value,"onUpdate:modelValue":l[2]||(l[2]=o=>e.value=o),"show-input":"",size:"small"},null,8,["modelValue"])])}}}),c=p(i,[["__scopeId","data-v-a60e8dcc"]]);export{c as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./Speech.vue_vue_type_script_setup_true_lang-YOJLIiO6.js";import"./deepChat-CFsW3Wnh.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./Speech.vue_vue_type_script_setup_true_lang-23wZHfpq.js";import"./deepChat-CFsW3Wnh.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1 +1 @@
import"./deepChat-CFsW3Wnh.js";import{d as o,a as s,m as n,k as a,e as r}from"./index-DI6gHrBb.js";const h=o({__name:"Speech",setup(c){const e=s();return n(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,p)=>(r(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"8px"},speechToText:{webSpeech:{language:"zh-CN"},button:{position:"outside-left"}},textInput:{placeholder:{text:"发送消息"}},introMessage:{text:"单击左下角麦克风开始转录您的讲话。"},demo:!0},null,512))}});export{h as _};
import"./deepChat-CFsW3Wnh.js";import{d as o,a as s,m as n,k as a,e as r}from"./index-BY53z-3q.js";const h=o({__name:"Speech",setup(c){const e=s();return n(()=>{e.value.demo={response:t=>({text:"仅演示如需AI服务请参考 https://deepchat.dev/docs/connect"})}}),(t,p)=>(r(),a("deep-chat",{ref_key:"chatRef",ref:e,style:{"border-radius":"8px"},speechToText:{webSpeech:{language:"zh-CN"},button:{position:"outside-left"}},textInput:{placeholder:{text:"发送消息"}},introMessage:{text:"单击左下角麦克风开始转录您的讲话。"},demo:!0},null,512))}});export{h as _};

View File

@ -1 +1 @@
import{d as r,a as n,k as p,e as m,g as s,f as d,h as u,F as i,_}from"./index-DI6gHrBb.js";const f={class:"slider-demo-block"},v={class:"slider-demo-block"},c=r({__name:"Step",setup(V){const l=n(0),t=n(0);return(k,e)=>{const a=u("el-slider");return m(),p(i,null,[s("div",f,[e[2]||(e[2]=s("span",{class:"demonstration"},"不显示断点",-1)),d(a,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=o=>l.value=o),step:10},null,8,["modelValue"])]),s("div",v,[e[3]||(e[3]=s("span",{class:"demonstration"},"显示断点",-1)),d(a,{modelValue:t.value,"onUpdate:modelValue":e[1]||(e[1]=o=>t.value=o),step:10,"show-stops":""},null,8,["modelValue"])])],64)}}}),x=_(c,[["__scopeId","data-v-f2f8eebf"]]);export{x as default};
import{d as r,a as n,k as p,e as m,g as s,f as d,h as u,F as i,_}from"./index-BY53z-3q.js";const f={class:"slider-demo-block"},v={class:"slider-demo-block"},c=r({__name:"Step",setup(V){const l=n(0),t=n(0);return(k,e)=>{const a=u("el-slider");return m(),p(i,null,[s("div",f,[e[2]||(e[2]=s("span",{class:"demonstration"},"不显示断点",-1)),d(a,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=o=>l.value=o),step:10},null,8,["modelValue"])]),s("div",v,[e[3]||(e[3]=s("span",{class:"demonstration"},"显示断点",-1)),d(a,{modelValue:t.value,"onUpdate:modelValue":e[1]||(e[1]=o=>t.value=o),step:10,"show-stops":""},null,8,["modelValue"])])],64)}}}),x=_(c,[["__scopeId","data-v-f2f8eebf"]]);export{x as default};

View File

@ -1 +1 @@
import{_ as m}from"./Vditor.vue_vue_type_script_setup_true_lang-CdBpHwkz.js";import"./index-DI6gHrBb.js";export{m as default};
import{_ as m}from"./Vditor.vue_vue_type_script_setup_true_lang-BwaBPk5-.js";import"./index-BY53z-3q.js";export{m as default};

View File

@ -1,4 +1,4 @@
var ki=Object.defineProperty,Ti=Object.defineProperties;var _i=Object.getOwnPropertyDescriptors;var Rn=Object.getOwnPropertySymbols;var Ai=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable;var In=(De,ke,me)=>ke in De?ki(De,ke,{enumerable:!0,configurable:!0,writable:!0,value:me}):De[ke]=me,Pn=(De,ke)=>{for(var me in ke||(ke={}))Ai.call(ke,me)&&In(De,me,ke[me]);if(Rn)for(var me of Rn(ke))xi.call(ke,me)&&In(De,me,ke[me]);return De},jn=(De,ke)=>Ti(De,_i(ke));import{S as Di,d as Hi,af as Oi,a as Bn,m as Ni,bp as Ri,n as Un,o as Ii,k as Pi,e as ji,gq as Bi}from"./index-DI6gHrBb.js";var kt={exports:{}};/*!
var ki=Object.defineProperty,Ti=Object.defineProperties;var _i=Object.getOwnPropertyDescriptors;var Rn=Object.getOwnPropertySymbols;var Ai=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable;var In=(De,ke,me)=>ke in De?ki(De,ke,{enumerable:!0,configurable:!0,writable:!0,value:me}):De[ke]=me,Pn=(De,ke)=>{for(var me in ke||(ke={}))Ai.call(ke,me)&&In(De,me,ke[me]);if(Rn)for(var me of Rn(ke))xi.call(ke,me)&&In(De,me,ke[me]);return De},jn=(De,ke)=>Ti(De,_i(ke));import{S as Di,d as Hi,af as Oi,a as Bn,m as Ni,bp as Ri,n as Un,o as Ii,k as Pi,e as ji,gq as Bi}from"./index-BY53z-3q.js";var kt={exports:{}};/*!
* Vditor v3.11.0 - A markdown editor written in TypeScript.
*
* MIT License

View File

@ -1 +1 @@
import{d as t,a as s,k as n,e as r,f as c,h as d,_}from"./index-DI6gHrBb.js";const p={class:"slider-demo-block"},i=t({__name:"Vertical",setup(m){const e=s(0);return(u,o)=>{const a=d("el-slider");return r(),n("div",p,[c(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),vertical:"",height:"200px"},null,8,["modelValue"])])}}}),v=_(i,[["__scopeId","data-v-47bf51a3"]]);export{v as default};
import{d as t,a as s,k as n,e as r,f as c,h as d,_}from"./index-BY53z-3q.js";const p={class:"slider-demo-block"},i=t({__name:"Vertical",setup(m){const e=s(0);return(u,o)=>{const a=d("el-slider");return r(),n("div",p,[c(a,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),vertical:"",height:"200px"},null,8,["modelValue"])])}}}),v=_(i,[["__scopeId","data-v-47bf51a3"]]);export{v as default};

View File

@ -1 +1 @@
import{a1 as a,k as r,e as t,g as o}from"./index-DI6gHrBb.js";const l={viewBox:"0 0 24 24",width:"1em",height:"1em"};function n(s,e){return t(),r("svg",l,e[0]||(e[0]=[o("path",{fill:"currentColor",d:"M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16"},null,-1)]))}const c=a({name:"ri-add-circle-line",render:n});export{c as A};
import{a1 as a,k as r,e as t,g as o}from"./index-BY53z-3q.js";const l={viewBox:"0 0 24 24",width:"1em",height:"1em"};function n(s,e){return t(),r("svg",l,e[0]||(e[0]=[o("path",{fill:"currentColor",d:"M11 11V7h2v4h4v2h-4v4h-2v-4H7v-2zm1 11C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16"},null,-1)]))}const c=a({name:"ri-add-circle-line",render:n});export{c as A};

View File

@ -1 +1 @@
import{R as d}from"./index-C4kWlOf1.js";import{d as p,a as u,n as c,b as f,e as _,w as a,f as t,u as v,g as l,j as n,h as r}from"./index-DI6gHrBb.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=r("el-link"),m=r("el-card");return _(),f(m,{shadow:"never"},{header:a(()=>[l("div",x,[l("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-CstABig3.js";import{d as p,a as u,n as c,b as f,e as _,w as a,f as t,u as v,g as l,j as n,h as r}from"./index-BY53z-3q.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=r("el-link"),m=r("el-card");return _(),f(m,{shadow:"never"},{header:a(()=>[l("div",x,[l("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};

View File

@ -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,k=(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},P=(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,N as p,p as X,n as h,k as Y,e as S,F as j,f as z,b as M,i as O,u as C,s as L,w as G,g as y,j as H,gu as J,gv as K,x as Q,_ as U}from"./index-DI6gHrBb.js";import{P as q,u as W,d as Z,g as ee,e as te,f as ae}from"./vue-flow-core-ByV97Blr.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&&b()}),h(l,r=>{const a=t(e.id);a&&(a.data=P(k({},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){x();return}o.value=a.getPointAtLength(r)}),h(A,r=>{r&&x()});function x(){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 J(u,m,a,{transition:K.easeInOutCubic,duration:Math.max(1500,a/2),abort:()=>!l.value}),b()})}function b(){Q(()=>{u.value=0,i.value=0,o.value={x:0,y:0},l.value=!1})}return(r,a)=>(S(),Y(j,null,[z(C(te),{id:n.id,ref_key:"edgeRef",ref:c,path:w.value[0],style:L({stroke:T.value})},null,8,["id","path","style"]),l.value?(S(),M(C(ae),{key:0},{default:G(()=>[y("div",{style:L({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"},"📦"),H(" 🚚 ")],-1)]),4)]),_:1})):O("",!0)],64))}}),ue=U(ne,[["__scopeId","data-v-bf803707"]]);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,k=(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},P=(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,N as p,p as X,n as h,k as Y,e as S,F as j,f as z,b as M,i as O,u as C,s as L,w as G,g as y,j as H,gu as J,gv as K,x as Q,_ as U}from"./index-BY53z-3q.js";import{P as q,u as W,d as Z,g as ee,e as te,f as ae}from"./vue-flow-core-9uesK9XZ.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&&b()}),h(l,r=>{const a=t(e.id);a&&(a.data=P(k({},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){x();return}o.value=a.getPointAtLength(r)}),h(A,r=>{r&&x()});function x(){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 J(u,m,a,{transition:K.easeInOutCubic,duration:Math.max(1500,a/2),abort:()=>!l.value}),b()})}function b(){Q(()=>{u.value=0,i.value=0,o.value={x:0,y:0},l.value=!1})}return(r,a)=>(S(),Y(j,null,[z(C(te),{id:n.id,ref_key:"edgeRef",ref:c,path:w.value[0],style:L({stroke:T.value})},null,8,["id","path","style"]),l.value?(S(),M(C(ae),{key:0},{default:G(()=>[y("div",{style:L({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"},"📦"),H(" 🚚 ")],-1)]),4)]),_:1})):O("",!0)],64))}}),ue=U(ne,[["__scopeId","data-v-bf803707"]]);export{ue as default};

View File

@ -1 +1 @@
var p=(e,i,t)=>new Promise((a,n)=>{var l=s=>{try{u(t.next(s))}catch(d){n(d)}},S=s=>{try{u(t.throw(s))}catch(d){n(d)}},u=s=>s.done?a(s.value):Promise.resolve(s.value).then(l,S);u((t=t.apply(e,i)).next())});import{as as b,at as c,au as o,av as h,aw as r,X as g}from"./index-DI6gHrBb.js";const m=b("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 v(){return m(c)}export{v as u};
var p=(e,i,t)=>new Promise((a,n)=>{var l=s=>{try{u(t.next(s))}catch(d){n(d)}},S=s=>{try{u(t.throw(s))}catch(d){n(d)}},u=s=>s.done?a(s.value):Promise.resolve(s.value).then(l,S);u((t=t.apply(e,i)).next())});import{as as b,at as c,au as o,av as h,aw as r,X as g}from"./index-BY53z-3q.js";const m=b("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 v(){return m(c)}export{v as u};

View File

@ -1 +1 @@
import{a1 as r,k as t,e as o,g as a}from"./index-DI6gHrBb.js";const l={viewBox:"0 0 24 24",width:"1em",height:"1em"};function n(i,e){return o(),t("svg",l,e[0]||(e[0]=[a("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z"},null,-1)]))}const m=r({name:"ri-arrow-right-s-line",render:n});export{m as A};
import{a1 as r,k as t,e as o,g as a}from"./index-BY53z-3q.js";const l={viewBox:"0 0 24 24",width:"1em",height:"1em"};function n(i,e){return o(),t("svg",l,e[0]||(e[0]=[a("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z"},null,-1)]))}const m=r({name:"ri-arrow-right-s-line",render:n});export{m as A};

View File

@ -1 +1 @@
import{k as t,e as n,g as a}from"./index-DI6gHrBb.js";const o={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function l(r,e){return n(),t("svg",o,e[0]||(e[0]=[a("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),a("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{k as t,e as n,g as a}from"./index-BY53z-3q.js";const o={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function l(r,e){return n(),t("svg",o,e[0]||(e[0]=[a("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),a("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};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-B3CqKXJb.js";import"./data-nWhaHp21.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-Bcw3Ofz5.js";import"./data-DL9-7W-2.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-20PyR0oQ.js";import"./_plugin-vue_export-helper-BGOXmsV2.js";import"./plus-form-DnakSuh5.js";import"./index-BY53z-3q.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-BS7YqsT6.js";import"./_plugin-vue_export-helper-BGOXmsV2.js";import"./plus-form-COg4yRo5.js";import"./index-DI6gHrBb.js";export{o as default};

View File

@ -1 +1 @@
import"./_plugin-vue_export-helper-BGOXmsV2.js";import{P as i}from"./plus-form-COg4yRo5.js";import{d as m,a as d,b as c,e as b,u as v}from"./index-DI6gHrBb.js";const f=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)=>(b(),c(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{f as _};
import"./_plugin-vue_export-helper-BGOXmsV2.js";import{P as i}from"./plus-form-DnakSuh5.js";import{d as m,a as d,b as c,e as b,u as v}from"./index-BY53z-3q.js";const f=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)=>(b(),c(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{f as _};

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