feat: 联网时间
This commit is contained in:
1 parent
c2ca365312
commit
5ace10d39f
25 files changed
+27
-117
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
import{x as i,o as l,c as _,w as s,a as e,f as a,S as m,V as c,b as t,t as u,a6 as p,B as n,a7 as o,j as f}from"./index-78c50a9e.js";const b={class:"text-h3"},h={class:"d-flex align-center"},g={class:"d-flex align-center"},V=i({__name:"BaseBreadcrumb",props:{title:String,breadcrumbs:Array,icon:String},setup(d){const r=d;return(x,B)=>(l(),_(c,{class:"page-breadcrumb mb-1 mt-1"},{default:s(()=>[e(a,{cols:"12",md:"12"},{default:s(()=>[e(m,{variant:"outlined",elevation:"0",class:"px-4 py-3 withbg"},{default:s(()=>[e(c,{"no-gutters":"",class:"align-center"},{default:s(()=>[e(a,{md:"5"},{default:s(()=>[t("h3",b,u(r.title),1)]),_:1}),e(a,{md:"7",sm:"12",cols:"12"},{default:s(()=>[e(p,{items:r.breadcrumbs,class:"text-h5 justify-md-end pa-1"},{divider:s(()=>[t("div",h,[e(n(o),{size:"17"})])]),prepend:s(()=>[e(f,{size:"small",icon:"mdi-home",class:"text-secondary mr-2"}),t("div",g,[e(n(o),{size:"17"})])]),_:1},8,["items"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{V as _};
|
||||
import{x as i,o as l,c as _,w as s,a as e,f as a,S as m,V as c,b as t,t as u,a5 as p,B as n,a6 as o,j as f}from"./index-96c19dfb.js";const b={class:"text-h3"},h={class:"d-flex align-center"},g={class:"d-flex align-center"},V=i({__name:"BaseBreadcrumb",props:{title:String,breadcrumbs:Array,icon:String},setup(d){const r=d;return(x,B)=>(l(),_(c,{class:"page-breadcrumb mb-1 mt-1"},{default:s(()=>[e(a,{cols:"12",md:"12"},{default:s(()=>[e(m,{variant:"outlined",elevation:"0",class:"px-4 py-3 withbg"},{default:s(()=>[e(c,{"no-gutters":"",class:"align-center"},{default:s(()=>[e(a,{md:"5"},{default:s(()=>[t("h3",b,u(r.title),1)]),_:1}),e(a,{md:"7",sm:"12",cols:"12"},{default:s(()=>[e(p,{items:r.breadcrumbs,class:"text-h5 justify-md-end pa-1"},{divider:s(()=>[t("div",h,[e(n(o),{size:"17"})])]),prepend:s(()=>[e(f,{size:"small",icon:"mdi-home",class:"text-secondary mr-2"}),t("div",g,[e(n(o),{size:"17"})])]),_:1},8,["items"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{V as _};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{x as e,o as a,c as t,w as o,a as s,B as n,R as r,I as c}from"./index-78c50a9e.js";const f=e({__name:"BlankLayout",setup(p){return(u,_)=>(a(),t(c,null,{default:o(()=>[s(n(r))]),_:1}))}});export{f as default};
|
||||
import{x as e,o as a,c as t,w as o,a as s,B as n,R as r,I as c}from"./index-96c19dfb.js";const f=e({__name:"BlankLayout",setup(p){return(u,_)=>(a(),t(c,null,{default:o(()=>[s(n(r))]),_:1}))}});export{f as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as m}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as p,D as a,o as r,s,a as e,w as t,f as o,V as i,F as n,u as g,c as h,Q as b,e as x,t as y}from"./index-78c50a9e.js";const P=p({__name:"ColorPage",setup(C){const c=a({title:"Colors Page"}),d=a([{title:"Utilities",disabled:!1,href:"#"},{title:"Colors",disabled:!0,href:"#"}]),u=a(["primary","lightprimary","secondary","lightsecondary","info","success","accent","warning","error","darkText","lightText","borderLight","inputBorder","containerBg"]);return(V,k)=>(r(),s(n,null,[e(m,{title:c.value.title,breadcrumbs:d.value},null,8,["title","breadcrumbs"]),e(i,null,{default:t(()=>[e(o,{cols:"12",md:"12"},{default:t(()=>[e(_,{title:"Color Palette"},{default:t(()=>[e(i,null,{default:t(()=>[(r(!0),s(n,null,g(u.value,(l,f)=>(r(),h(o,{md:"3",cols:"12",key:f},{default:t(()=>[e(b,{rounded:"md",class:"align-center justify-center d-flex",height:"100",width:"100%",color:l},{default:t(()=>[x("class: "+y(l),1)]),_:2},1032,["color"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{P as default};
|
||||
import{_ as m}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as p,D as a,o as r,s,a as e,w as t,f as o,V as i,F as n,u as g,c as h,Q as b,e as x,t as y}from"./index-96c19dfb.js";const P=p({__name:"ColorPage",setup(C){const c=a({title:"Colors Page"}),d=a([{title:"Utilities",disabled:!1,href:"#"},{title:"Colors",disabled:!0,href:"#"}]),u=a(["primary","lightprimary","secondary","lightsecondary","info","success","accent","warning","error","darkText","lightText","borderLight","inputBorder","containerBg"]);return(V,k)=>(r(),s(n,null,[e(m,{title:c.value.title,breadcrumbs:d.value},null,8,["title","breadcrumbs"]),e(i,null,{default:t(()=>[e(o,{cols:"12",md:"12"},{default:t(()=>[e(_,{title:"Color Palette"},{default:t(()=>[e(i,null,{default:t(()=>[(r(!0),s(n,null,g(u.value,(l,f)=>(r(),h(o,{md:"3",cols:"12",key:f},{default:t(()=>[e(b,{rounded:"md",class:"align-center justify-center d-flex",height:"100",width:"100%",color:l},{default:t(()=>[x("class: "+y(l),1)]),_:2},1032,["color"])]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{P as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{_ as p}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{a as m}from"./axios-28bc18a3.js";import{o as a,s as l,a as i,w as d,f,F as n,u as g,V as v,d as V,e as h,t as k,a2 as y,c as r,a3 as b,a4 as C,k as _,A as x}from"./index-96c19dfb.js";const U={name:"ConfigPage",components:{UiParentCard:p},data(){return{config_data:{data:[]},save_message_snack:!1,save_message:"",save_message_success:""}},mounted(){this.getConfig()},methods:{getConfig(){m.get("/api/configs").then(s=>{this.config_data=s.data.data,console.log(this.config_data)})},updateConfig(){m.post("/api/configs",this.config_data).then(s=>{console.log(this.config_data),s.data.status==="success"?(this.save_message=s.data.message,this.save_message_snack=!0,this.save_message_success="success"):(this.save_message=s.data.message,this.save_message_snack=!0,this.save_message_success="error")})}}},N=Object.assign(U,{setup(s){return(t,c)=>(a(),l(n,null,[i(v,null,{default:d(()=>[i(f,{cols:"12",md:"12"},{default:d(()=>[(a(!0),l(n,null,g(t.config_data.data,o=>(a(),r(p,{key:o.name,title:o.name,style:{"margin-bottom":"16px"}},{default:d(()=>[(a(!0),l(n,null,g(o.body,e=>(a(),l(n,null,[e.config_type==="item"?(a(),l(n,{key:0},[e.val_type==="bool"?(a(),r(b,{key:0,modelValue:e.value,"onUpdate:modelValue":u=>e.value=u,label:e.name,hint:e.description,color:"primary",inset:""},null,8,["modelValue","onUpdate:modelValue","label","hint"])):e.val_type==="string"?(a(),r(C,{key:1,modelValue:e.value,"onUpdate:modelValue":u=>e.value=u,label:e.name,hint:e.description,style:{"margin-bottom":"8px"},variant:"outlined"},null,8,["modelValue","onUpdate:modelValue","label","hint"])):_("",!0)],64)):e.config_type==="divider"?(a(),r(x,{key:1,style:{"margin-top":"8px","margin-bottom":"8px"}})):_("",!0)],64))),256))]),_:2},1032,["title"]))),128))]),_:1})]),_:1}),i(V,{icon:"mdi-content-save",size:"x-large",style:{position:"fixed",right:"52px",bottom:"52px"},color:"darkprimary",onClick:t.updateConfig},null,8,["onClick"]),i(y,{timeout:2e3,elevation:"24",color:t.save_message_success,modelValue:t.save_message_snack,"onUpdate:modelValue":c[0]||(c[0]=o=>t.save_message_snack=o)},{default:d(()=>[h(k(t.save_message),1)]),_:1},8,["color","modelValue"])],64))}});export{N as default};
|
||||
@@ -1 +0,0 @@
|
||||
import{_ as h}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{a as g}from"./axios-21b846bc.js";import{o as a,s as t,a as n,w as i,f as b,F as d,u as _,V as C,d as U,e as x,t as c,a2 as B,c as r,a3 as w,a4 as v,b as V,a5 as N,i as F,q as P,k as f,A as S}from"./index-78c50a9e.js";const D={name:"ConfigPage",components:{UiParentCard:h},data(){return{config_data:{data:[]},save_message_snack:!1,save_message:"",save_message_success:""}},mounted(){this.getConfig()},methods:{getConfig(){g.get("/api/configs").then(o=>{this.config_data=o.data.data,console.log(this.config_data)})},updateConfig(){g.post("/api/configs",this.config_data).then(o=>{console.log(this.config_data),o.data.status==="success"?(this.save_message=o.data.message,this.save_message_snack=!0,this.save_message_success="success"):(this.save_message=o.data.message,this.save_message_snack=!0,this.save_message_success="error")})}}},z=Object.assign(D,{setup(o){return(s,m)=>(a(),t(d,null,[n(C,null,{default:i(()=>[n(b,{cols:"12",md:"12"},{default:i(()=>[(a(!0),t(d,null,_(s.config_data.data,u=>(a(),r(h,{key:u.name,title:u.name,style:{"margin-bottom":"16px"}},{default:i(()=>[(a(!0),t(d,null,_(u.body,e=>(a(),t(d,null,[e.config_type==="item"?(a(),t(d,{key:0},[e.val_type==="bool"?(a(),r(w,{key:0,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l,label:e.name,hint:e.description,color:"primary",inset:""},null,8,["modelValue","onUpdate:modelValue","label","hint"])):e.val_type==="string"?(a(),r(v,{key:1,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l,label:e.name,hint:e.description,style:{"margin-bottom":"8px"},variant:"outlined"},null,8,["modelValue","onUpdate:modelValue","label","hint"])):e.val_type==="int"?(a(),r(v,{key:2,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l,label:e.name,hint:e.description,style:{"margin-bottom":"8px"},variant:"outlined"},null,8,["modelValue","onUpdate:modelValue","label","hint"])):e.val_type==="list"?(a(),t(d,{key:3},[V("span",null,c(e.name),1),n(N,{modelValue:e.value,"onUpdate:modelValue":l=>e.value=l,chips:"",clearable:"",label:"请添加",multiple:"","prepend-icon":"mdi-tag-multiple-outline"},{selection:i(({attrs:l,item:p,select:k,selected:y})=>[n(F,P(l,{"model-value":y,closable:"",onClick:k,"onClick:close":T=>s.remove(p)}),{default:i(()=>[V("strong",null,c(p),1)]),_:2},1040,["model-value","onClick","onClick:close"])]),_:2},1032,["modelValue","onUpdate:modelValue"])],64)):f("",!0)],64)):e.config_type==="divider"?(a(),r(S,{key:1,style:{"margin-top":"8px","margin-bottom":"8px"}})):f("",!0)],64))),256))]),_:2},1032,["title"]))),128))]),_:1})]),_:1}),n(U,{icon:"mdi-content-save",size:"x-large",style:{position:"fixed",right:"52px",bottom:"52px"},color:"darkprimary",onClick:s.updateConfig},null,8,["onClick"]),n(B,{timeout:2e3,elevation:"24",color:s.save_message_success,modelValue:s.save_message_snack,"onUpdate:modelValue":m[0]||(m[0]=u=>s.save_message_snack=u)},{default:i(()=>[x(c(s.save_message),1)]),_:1},8,["color","modelValue"])],64))}});export{z as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{y as R,p as c,o as m,c as h,w as e,a as t,O as y,b as a,d as p,j as w,P as z,q as F,Q as j,z as C,s as D,F as M,u as B,n as x,r as N,l as V,e as g,t as $,S as b,T as U,D as O,U as k,W,X as L,Y as X,Z as I,V as T,f as u,G as E,_ as G}from"./index-96c19dfb.js";import{_ as P}from"./_plugin-vue_export-helper-c27b6911.js";import{a as Y}from"./axios-28bc18a3.js";const q={class:"d-flex align-start mb-6"},A={class:"ml-auto z-1"},H=a("h2",{class:"text-h1 font-weight-medium"}," ?? ",-1),Z=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"消息总数",-1),J={name:"TotalMessage",components:{},props:["stat"],data:()=>({stat:{}}),mounted(){}},K=Object.assign(J,{setup(s){const l=R([{title:"移除",icon:U}]);return(_,f)=>{const r=c("DotsIcon");return m(),h(b,{elevation:"0",class:"bg-secondary overflow-hidden bubble-shape bubble-secondary-shape"},{default:e(()=>[t(y,null,{default:e(()=>[a("div",q,[t(p,{icon:"",rounded:"sm",color:"darksecondary",variant:"flat"},{default:e(()=>[t(w,{icon:"mdi-message"})]),_:1}),a("div",A,[t(z,{"close-on-content-click":!1},{activator:e(({props:n})=>[t(p,F({icon:"",rounded:"sm",color:"secondary",variant:"flat",size:"small"},n),{default:e(()=>[t(r,{"stroke-width":"1.5",width:"20"})]),_:2},1040)]),default:e(()=>[t(j,{rounded:"md",width:"150",class:"elevation-10"},{default:e(()=>[t(C,{density:"compact"},{default:e(()=>[(m(!0),D(M,null,B(l.value,(n,i)=>(m(),h(x,{key:i,value:i},{prepend:e(()=>[(m(),h(N(n.icon),{"stroke-width":"1.5",size:"20"}))]),default:e(()=>[t(V,{class:"ml-2"},{default:e(()=>[g($(n.title),1)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})])]),H,Z]),_:1})]),_:1})}}}),tt={class:"d-flex align-start mb-3"},et={class:"ml-auto z-1"},at=a("h2",{class:"text-h1 font-weight-medium"}," ?? ",-1),st=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"会话总数",-1),ot=a("h2",{class:"text-h1 font-weight-medium"}," 198 ",-1),lt=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"会话总数",-1),nt={name:"TotalSession",components:{},props:["stat"],data:()=>({stat:{}}),mounted(){}},it=Object.assign(nt,{setup(s){const l=O("1"),_=k(()=>({chart:{type:"bar",height:90,fontFamily:"inherit",foreColor:"#a1aab2",sparkline:{enabled:!0}},dataLabels:{enabled:!1},colors:["#fff"],fill:{type:"solid",opacity:1},stroke:{curve:"smooth",width:3},yaxis:{min:0,max:100},tooltip:{theme:"dark",fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:()=>"会话总数"}},marker:{show:!1}}})),f={series:[{name:"series1",data:[45,66,41,89,25,44,9,54]}]},r=k(()=>({chart:{type:"bar",height:90,fontFamily:"inherit",foreColor:"#a1aab2",sparkline:{enabled:!0}},dataLabels:{enabled:!1},colors:["#fff"],fill:{type:"solid",opacity:1},stroke:{curve:"smooth",width:3},yaxis:{min:0,max:100},tooltip:{theme:"dark",fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:()=>"会话总数"}},marker:{show:!1}}})),n={series:[{name:"series1",data:[35,44,9,54,45,66,41,69]}]};return(i,o)=>{const d=c("apexchart");return m(),h(b,{elevation:"0",class:"bg-primary overflow-hidden bubble-shape bubble-primary-shape"},{default:e(()=>[t(y,null,{default:e(()=>[a("div",tt,[t(p,{icon:"",rounded:"sm",color:"darkprimary",variant:"flat"},{default:e(()=>[t(w,{icon:"mdi-account-multiple-outline"})]),_:1}),a("div",et,[t(W,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=v=>l.value=v),class:"theme-tab",density:"compact",end:""},{default:e(()=>[t(L,{value:"1","hide-slider":"",color:"transparent"},{default:e(()=>[g("按日")]),_:1}),t(L,{value:"2","hide-slider":"",color:"transparent"},{default:e(()=>[g("按月")]),_:1})]),_:1},8,["modelValue"])])]),t(X,{modelValue:l.value,"onUpdate:modelValue":o[1]||(o[1]=v=>l.value=v),class:"z-1"},{default:e(()=>[t(I,{value:"1"},{default:e(()=>[t(T,null,{default:e(()=>[t(u,{cols:"6"},{default:e(()=>[at,st]),_:1}),t(u,{cols:"6"},{default:e(()=>[t(d,{type:"line",height:"90",options:_.value,series:f.series},null,8,["options","series"])]),_:1})]),_:1})]),_:1}),t(I,{value:"2"},{default:e(()=>[t(T,null,{default:e(()=>[t(u,{cols:"6"},{default:e(()=>[ot,lt]),_:1}),t(u,{cols:"6"},{default:e(()=>[t(d,{type:"line",height:"90",options:r.value,series:n.series},null,8,["options","series"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})}}}),rt={name:"OnlineTime",components:{},props:["stat"],watch:{stat:{handler:function(s,l){this.memory=s.sys_perf.memory,this.runtime_str=s.sys_start_time;let _=new Date().getTime(),f=new Date(s.sys_start_time*1e3).getTime(),r=_-f,n=Math.floor(r/(24*3600*1e3)),i=r%(24*3600*1e3),o=Math.floor(i/(3600*1e3)),d=i%(3600*1e3),v=Math.floor(d/(60*1e3)),S=d%(60*1e3),Q=Math.round(S/1e3);this.runtime_str=n+"天"+o+"小时"+v+"分"+Q+"秒"},deep:!0}},data:()=>({_stat:{},memory:"Loading",runtime_str:"Loading"}),mounted(){}},dt={class:"d-flex align-center gap-3"},ct={class:"text-h4 font-weight-medium"},ut=a("span",{class:"text-subtitle-2 text-medium-emphasis text-white"},"运行时间",-1),mt={class:"d-flex align-center gap-3"},_t={classLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
import{y as Q,p as i,o as r,c as _,w as e,a as t,O as g,b as a,d as f,j as w,P as M,q as z,Q as F,z as T,s as C,F as D,u as j,n as y,r as R,l as $,e as v,t as V,S as h,T as N,D as O,U as k,W as U,X as I,Y as W,Z as L,V as S,f as d,G as X,_ as E}from"./index-78c50a9e.js";import{_ as B}from"./_plugin-vue_export-helper-c27b6911.js";import{a as G}from"./axios-21b846bc.js";const Y={class:"d-flex align-start mb-6"},q={class:"ml-auto z-1"},A=a("h2",{class:"text-h1 font-weight-medium"}," ?? ",-1),H=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"消息总数",-1),Z={name:"TotalMessage",components:{},props:["stat"],data:()=>({stat:{}}),mounted(){}},J=Object.assign(Z,{setup(s){const o=Q([{title:"移除",icon:N}]);return(p,b)=>{const u=i("DotsIcon");return r(),_(h,{elevation:"0",class:"bg-secondary overflow-hidden bubble-shape bubble-secondary-shape"},{default:e(()=>[t(g,null,{default:e(()=>[a("div",Y,[t(f,{icon:"",rounded:"sm",color:"darksecondary",variant:"flat"},{default:e(()=>[t(w,{icon:"mdi-message"})]),_:1}),a("div",q,[t(M,{"close-on-content-click":!1},{activator:e(({props:n})=>[t(f,z({icon:"",rounded:"sm",color:"secondary",variant:"flat",size:"small"},n),{default:e(()=>[t(u,{"stroke-width":"1.5",width:"20"})]),_:2},1040)]),default:e(()=>[t(F,{rounded:"md",width:"150",class:"elevation-10"},{default:e(()=>[t(T,{density:"compact"},{default:e(()=>[(r(!0),C(D,null,j(o.value,(n,c)=>(r(),_(y,{key:c,value:c},{prepend:e(()=>[(r(),_(R(n.icon),{"stroke-width":"1.5",size:"20"}))]),default:e(()=>[t($,{class:"ml-2"},{default:e(()=>[v(V(n.title),1)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})])]),A,H]),_:1})]),_:1})}}}),K={class:"d-flex align-start mb-3"},tt={class:"ml-auto z-1"},et=a("h2",{class:"text-h1 font-weight-medium"}," ?? ",-1),at=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"会话总数",-1),st=a("h2",{class:"text-h1 font-weight-medium"}," 198 ",-1),ot=a("span",{class:"text-subtitle-1 text-medium-emphasis text-white"},"会话总数",-1),lt={name:"TotalSession",components:{},props:["stat"],data:()=>({stat:{}}),mounted(){}},nt=Object.assign(lt,{setup(s){const o=O("1"),p=k(()=>({chart:{type:"bar",height:90,fontFamily:"inherit",foreColor:"#a1aab2",sparkline:{enabled:!0}},dataLabels:{enabled:!1},colors:["#fff"],fill:{type:"solid",opacity:1},stroke:{curve:"smooth",width:3},yaxis:{min:0,max:100},tooltip:{theme:"dark",fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:()=>"会话总数"}},marker:{show:!1}}})),b={series:[{name:"series1",data:[45,66,41,89,25,44,9,54]}]},u=k(()=>({chart:{type:"bar",height:90,fontFamily:"inherit",foreColor:"#a1aab2",sparkline:{enabled:!0}},dataLabels:{enabled:!1},colors:["#fff"],fill:{type:"solid",opacity:1},stroke:{curve:"smooth",width:3},yaxis:{min:0,max:100},tooltip:{theme:"dark",fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:()=>"会话总数"}},marker:{show:!1}}})),n={series:[{name:"series1",data:[35,44,9,54,45,66,41,69]}]};return(c,l)=>{const m=i("apexchart");return r(),_(h,{elevation:"0",class:"bg-primary overflow-hidden bubble-shape bubble-primary-shape"},{default:e(()=>[t(g,null,{default:e(()=>[a("div",K,[t(f,{icon:"",rounded:"sm",color:"darkprimary",variant:"flat"},{default:e(()=>[t(w,{icon:"mdi-account-multiple-outline"})]),_:1}),a("div",tt,[t(U,{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=x=>o.value=x),class:"theme-tab",density:"compact",end:""},{default:e(()=>[t(I,{value:"1","hide-slider":"",color:"transparent"},{default:e(()=>[v("按日")]),_:1}),t(I,{value:"2","hide-slider":"",color:"transparent"},{default:e(()=>[v("按月")]),_:1})]),_:1},8,["modelValue"])])]),t(W,{modelValue:o.value,"onUpdate:modelValue":l[1]||(l[1]=x=>o.value=x),class:"z-1"},{default:e(()=>[t(L,{value:"1"},{default:e(()=>[t(S,null,{default:e(()=>[t(d,{cols:"6"},{default:e(()=>[et,at]),_:1}),t(d,{cols:"6"},{default:e(()=>[t(m,{type:"line",height:"90",options:p.value,series:b.series},null,8,["options","series"])]),_:1})]),_:1})]),_:1}),t(L,{value:"2"},{default:e(()=>[t(S,null,{default:e(()=>[t(d,{cols:"6"},{default:e(()=>[st,ot]),_:1}),t(d,{cols:"6"},{default:e(()=>[t(m,{type:"line",height:"90",options:u.value,series:n.series},null,8,["options","series"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})}}}),it={name:"OnlineTime",components:{},props:["stat"],watch:{stat:{handler:function(s,o){this.memory=s.sys_perf.memory},deep:!0}},data:()=>({_stat:{},memory:"Loading"}),mounted(){}},dt={class:"d-flex align-center gap-3"},rt=a("div",null,[a("h4",{class:"text-h4 font-weight-medium"},"?? 天 ?? 时 ?? 秒"),a("span",{class:"text-subtitle-2 text-medium-emphasis text-white"},"运行时间")],-1),ct={class:"d-flex align-center gap-3"},ut={class:"text-h4 font-weight-medium"},mt=a("span",{class:"text-subtitle-2 text-disabled font-weight-medium"},"占用内存",-1);function _t(s,o,p,b,u,n){return r(),C(D,null,[t(h,{elevation:"0",class:"bg-primary overflow-hidden bubble-shape-sm bubble-primary mb-6"},{default:e(()=>[t(g,{class:Line truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as t}from"./_plugin-vue_export-helper-c27b6911.js";import{o,c,w as s,V as i,a as r,b as e,d as l,e as a,f as d}from"./index-78c50a9e.js";const n="/assets/img-error-bg-ab6474a0.svg",_="/assets/img-error-blue-2675a7a9.svg",m="/assets/img-error-text-a6aebfa0.svg",g="/assets/img-error-purple-edee3fbc.svg";const p={},u={class:"text-center"},f=e("div",{class:"CardMediaWrapper"},[e("img",{src:n,alt:"grid",class:"w-100"}),e("img",{src:_,alt:"grid",class:"CardMediaParts"}),e("img",{src:m,alt:"build",class:"CardMediaBuild"}),e("img",{src:g,alt:"build",class:"CardMediaBuild"})],-1),h=e("h1",{class:"text-h1"},"Something is wrong",-1),v=e("p",null,[e("small",null,[a("The page you are looking was moved, removed, "),e("br"),a("renamed, or might never exist! ")])],-1);function x(b,V){return o(),c(i,{"no-gutters":"",class:"h-100vh"},{default:s(()=>[r(d,{class:"d-flex align-center justify-center"},{default:s(()=>[e("div",u,[f,h,v,r(l,{variant:"flat",color:"primary",class:"mt-4",to:"/","prepend-icon":"mdi-home"},{default:s(()=>[a(" Home")]),_:1})])]),_:1})]),_:1})}const C=t(p,[["render",x]]);export{C as default};
|
||||
import{_ as t}from"./_plugin-vue_export-helper-c27b6911.js";import{o,c,w as s,V as i,a as r,b as e,d as l,e as a,f as d}from"./index-96c19dfb.js";const n="/assets/img-error-bg-ab6474a0.svg",_="/assets/img-error-blue-2675a7a9.svg",m="/assets/img-error-text-a6aebfa0.svg",g="/assets/img-error-purple-edee3fbc.svg";const p={},u={class:"text-center"},f=e("div",{class:"CardMediaWrapper"},[e("img",{src:n,alt:"grid",class:"w-100"}),e("img",{src:_,alt:"grid",class:"CardMediaParts"}),e("img",{src:m,alt:"build",class:"CardMediaBuild"}),e("img",{src:g,alt:"build",class:"CardMediaBuild"})],-1),h=e("h1",{class:"text-h1"},"Something is wrong",-1),v=e("p",null,[e("small",null,[a("The page you are looking was moved, removed, "),e("br"),a("renamed, or might never exist! ")])],-1);function x(b,V){return o(),c(i,{"no-gutters":"",class:"h-100vh"},{default:s(()=>[r(d,{class:"d-flex align-center justify-center"},{default:s(()=>[e("div",u,[f,h,v,r(l,{variant:"flat",color:"primary",class:"mt-4",to:"/","prepend-icon":"mdi-home"},{default:s(()=>[a(" Home")]),_:1})])]),_:1})]),_:1})}const C=t(p,[["render",x]]);export{C as default};
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import{x as _,o as s,c as l,w as t,a as e,$ as f,b as r,a0 as h,e as i,t as d,G as g,d as m,A as V,O as v,a1 as x,S as k,D as p,s as C,F as w,u as S,f as y,j as b,V as B}from"./index-78c50a9e.js";const P={class:"d-sm-flex align-center justify-space-between"},$=_({__name:"ExtensionCard",props:{title:String,link:String},setup(u){const n=u,c=o=>{window.open(o,"_blank")};return(o,a)=>(s(),l(k,{variant:"outlined",elevation:"0",class:"withbg"},{default:t(()=>[e(f,{style:{padding:"10px 20px"}},{default:t(()=>[r("div",P,[e(h,null,{default:t(()=>[i(d(n.title),1)]),_:1}),e(g),e(m,{icon:"mdi-link",variant:"plain",onClick:a[0]||(a[0]=E=>c(n.link))})])]),_:1}),e(V),e(v,null,{default:t(()=>[x(o.$slots,"default")]),_:3})]),_:3}))}}),G={style:{"min-height":"180px","max-height":"180px",overflow:"hidden"}},N={class:"d-flex align-center gap-3"},D=`
|
||||
import{x as _,o as s,c as l,w as t,a as e,$ as f,b as r,a0 as h,e as i,t as d,G as g,d as m,A as V,O as v,a1 as x,S as k,D as p,s as C,F as w,u as S,f as y,j as b,V as B}from"./index-96c19dfb.js";const P={class:"d-sm-flex align-center justify-space-between"},$=_({__name:"ExtensionCard",props:{title:String,link:String},setup(u){const n=u,c=o=>{window.open(o,"_blank")};return(o,a)=>(s(),l(k,{variant:"outlined",elevation:"0",class:"withbg"},{default:t(()=>[e(f,{style:{padding:"10px 20px"}},{default:t(()=>[r("div",P,[e(h,null,{default:t(()=>[i(d(n.title),1)]),_:1}),e(g),e(m,{icon:"mdi-link",variant:"plain",onClick:a[0]||(a[0]=E=>c(n.link))})])]),_:1}),e(V),e(v,null,{default:t(()=>[x(o.$slots,"default")]),_:3})]),_:3}))}}),G={style:{"min-height":"180px","max-height":"180px",overflow:"hidden"}},N={class:"d-flex align-center gap-3"},D=`
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{o as i,c as n,w as t,e as m,t as u,g as D,h as E,a as l,i as g,j as z,k as _,l as w,m as S,n as I,r as V,p as N,q as M,s as p,F as h,u as B,v as R,x as y,y as T,b,z as A,A as j,B as s,C as P,D as O,d as v,E as C,M as x,G as F,H as G,I as H,J as W,K as q,L as J,R as K,N as U}from"./index-78c50a9e.js";import{_ as Q,u as k}from"./LogoDark.vue_vue_type_script_setup_true_lang-ca677c1b.js";const X=[{title:"面板",icon:"mdi-view-dashboard",to:"/dashboard/default"},{title:"配置",icon:"mdi-cog",to:"/config"},{title:"插件",icon:"mdi-puzzle",to:"/extension"},{title:"控制台",icon:"mdi-console",to:"/console"}],Y={__name:"NavGroup",props:{item:Object},setup(e){const a=e;return(r,c)=>(i(),n(D,{color:"darkText",class:"smallCap"},{default:t(()=>[m(u(a.item.header),1)]),_:1}))}},L={__name:"NavItem",props:{item:Object,level:Number},setup(e){return(a,r)=>(i(),n(I,{to:e.item.type==="external"?"":e.item.to,href:e.item.type==="external"?e.item.to:"",rounded:"",class:"mb-1",color:"secondary",disabled:e.item.disabled,target:e.item.type==="external"?"_blank":""},E({prepend:t(()=>[e.item.icon?(i(),n(z,{key:0,color:e.item.iconColor,size:e.item.iconSize,class:"hide-menu",icon:e.item.icon},null,8,["color","size","icon"])):_("",!0)]),default:t(()=>[l(w,null,{default:t(()=>[m(u(e.item.title),1)]),_:1}),e.item.subCaption?(i(),n(S,{key:0,class:"text-caption mt-n1 hide-menu"},{default:t(()=>[m(u(e.item.subCaption),1)]),_:1})):_("",!0)]),_:2},[e.item.chip?{name:"append",fn:t(()=>[l(g,{color:e.item.chipColor,class:"sidebarchip hide-menu",size:e.item.chipIcon?"small":"default",variant:e.item.chipVariant,"prepend-icon":e.item.chipIcon},{default:t(()=>[m(u(e.item.chip),1)]),_:1},8,["color","size","variant","prepend-icon"])]),key:"0"}:void 0]),1032,["to","href","disabled","target"]))}},Z={__name:"IconSet",props:{item:Object,level:Number},setup(e){const a=e;return(r,c)=>a.level>0?(i(),n(V(a.item),{key:0,size:"5",fill:"currentColor","stroke-width":"1.5",class:"iconClass"})):(i(),n(V(a.item),{key:1,size:"20","stroke-width":"1.5",class:"iconClass"}))}},ee={__name:"NavCollapse",props:{item:Object,level:Number},setup(e){const a=e;return(r,c)=>{const f=N("NavCollapse",!0);return i(),n(R,{"no-action":""},{activator:t(({props:d})=>[l(I,M(d,{value:e.item.title,rounded:"",class:"mb-1",color:"secondary"}),{prepend:t(()=>[l(Z,{item:e.item.icon,level:e.level},null,8,["item","level"])]),default:t(()=>[l(w,{class:"mr-auto"},{default:t(()=>[m(u(e.item.title),1)]),_:1}),e.item.subCaption?(i(),n(S,{key:0,class:"text-caption mt-n1 hide-menu"},{default:t(()=>[m(u(e.item.subCaption),1)]),_:1})):_("",!0)]),_:2},1040,["value"])]),default:t(()=>[(i(!0),p(h,null,B(e.item.children,(d,o)=>(i(),p(h,{key:o},[d.children?(i(),n(f,{key:0,item:d,level:a.level+1},null,8,["item","level"])):(i(),n(L,{key:1,item:d,level:a.level+1},null,8,["item","level"]))],64))),128))]),_:1})}}},te={__name:"LogoMain",setup(e){return(a,r)=>(i(),n(Q))}},ae={class:"pa-5"},ie={class:"pa-4 text-center"},le=y({__name:"VerticalSidebar",setup(e){const a=k(),r=T(X);return(c,f)=>{const d=N("perfect-scrollbar");return i(),n(P,{left:"",modelValue:s(a).Sidebar_drawer,"onUpdate:modelValue":f[0]||(f[0]=o=>s(a).Sidebar_drawer=o),elevation:"0","rail-width":"105","mobile-breakpoint":"960",app:"",class:"leftSidebar",rail:s(a).mini_sidebar,"expand-on-hover":""},{default:t(()=>[b("div",ae,[l(te)]),l(d,{class:"scrollnavbar"},{default:t(()=>[l(A,{class:"pa-4"},{default:t(()=>[(i(!0),p(h,null,B(r.value,(o,$)=>(i(),p(h,{key:$},[o.header?(i(),n(Y,{item:o,key:o.title},null,8,["item"])):o.divider?(i(),n(j,{key:1,class:"my-3"})):o.children?(i(),n(ee,{key:2,class:"leftPadding",item:o,level:0},null,8,["item"])):(i(),n(L,{key:3,item:o,class:"leftPadding"},null,8,["item"]))],64))),128))]),_:1}),b("div",ie,[l(g,{color:"inputBorder",size:"small"},{default:t(()=>[m(" v1.0.0 ")]),_:1})])]),_:1})]),_:1},8,["modelValue","rail"])}}}),ne=y({__name:"VerticalHeader",setup(e){const a=k();return O(!1),(r,c)=>(i(),n(G,{elevation:"0",height:"80"},{default:t(()=>[l(v,{class:"hidden-md-and-down text-secondary",color:"lightsecondary",icon:"",rounded:"sm",variant:"flat",onClick:c[0]||(c[0]=C(f=>s(a).SET_MINI_SIDEBAR(!s(a).mini_sidebar),["stop"])),size:"small"},{default:t(()=>[l(s(x),{size:"20","stroke-width":"1.5"})]),_:1}),l(v,{class:"hidden-lg-and-up text-secondary ms-3",color:"lightsecondary",icon:"",rounded:"sm",variant:"flat",onClick:C(s(a).SET_SIDEBAR_DRAWER,["stop"]),size:"small"},{default:t(()=>[l(s(x),{size:"20","stroke-width":"1.5"})]),_:1},8,["onClick"]),l(F),l(v,{class:"profileBtn text-primary",color:"lightprimary",variant:"flat",rounded:"pill"},{default:t(()=>[l(z,{icon:"mdi-github",size:"25"})]),_:1})]),_:1}))}}),re=y({__name:"FullLayout",setup(e){const a=k();return(r,c)=>(i(),n(U,null,{default:t(()=>[l(H,{theme:"PurpleTheme",class:W([s(a).fontTheme,s(a).mini_sidebar?"mini-sidebar":"",s(a).inputBg?"inputWithbg":""])},{default:t(()=>[l(le),l(ne),l(q,null,{default:t(()=>[l(J,{fluid:"",class:"page-wrapper"},{default:t(()=>[Line truncated
|
||||
import{o as i,c as n,w as t,e as m,t as u,g as D,h as E,a as l,i as g,j as z,k as _,l as w,m as S,n as I,r as V,p as N,q as M,s as p,F as h,u as B,v as R,x as y,y as T,b,z as A,A as j,B as s,C as P,D as O,d as v,E as C,M as x,G as F,H as G,I as H,J as W,K as q,L as J,R as K,N as U}from"./index-96c19dfb.js";import{_ as Q,u as k}from"./LogoDark.vue_vue_type_script_setup_true_lang-36c35b56.js";const X=[{title:"面板",icon:"mdi-view-dashboard",to:"/dashboard/default"},{title:"配置",icon:"mdi-cog",to:"/config"},{title:"插件",icon:"mdi-puzzle",to:"/extension"},{title:"控制台",icon:"mdi-console",to:"/console"}],Y={__name:"NavGroup",props:{item:Object},setup(e){const a=e;return(r,c)=>(i(),n(D,{color:"darkText",class:"smallCap"},{default:t(()=>[m(u(a.item.header),1)]),_:1}))}},L={__name:"NavItem",props:{item:Object,level:Number},setup(e){return(a,r)=>(i(),n(I,{to:e.item.type==="external"?"":e.item.to,href:e.item.type==="external"?e.item.to:"",rounded:"",class:"mb-1",color:"secondary",disabled:e.item.disabled,target:e.item.type==="external"?"_blank":""},E({prepend:t(()=>[e.item.icon?(i(),n(z,{key:0,color:e.item.iconColor,size:e.item.iconSize,class:"hide-menu",icon:e.item.icon},null,8,["color","size","icon"])):_("",!0)]),default:t(()=>[l(w,null,{default:t(()=>[m(u(e.item.title),1)]),_:1}),e.item.subCaption?(i(),n(S,{key:0,class:"text-caption mt-n1 hide-menu"},{default:t(()=>[m(u(e.item.subCaption),1)]),_:1})):_("",!0)]),_:2},[e.item.chip?{name:"append",fn:t(()=>[l(g,{color:e.item.chipColor,class:"sidebarchip hide-menu",size:e.item.chipIcon?"small":"default",variant:e.item.chipVariant,"prepend-icon":e.item.chipIcon},{default:t(()=>[m(u(e.item.chip),1)]),_:1},8,["color","size","variant","prepend-icon"])]),key:"0"}:void 0]),1032,["to","href","disabled","target"]))}},Z={__name:"IconSet",props:{item:Object,level:Number},setup(e){const a=e;return(r,c)=>a.level>0?(i(),n(V(a.item),{key:0,size:"5",fill:"currentColor","stroke-width":"1.5",class:"iconClass"})):(i(),n(V(a.item),{key:1,size:"20","stroke-width":"1.5",class:"iconClass"}))}},ee={__name:"NavCollapse",props:{item:Object,level:Number},setup(e){const a=e;return(r,c)=>{const f=N("NavCollapse",!0);return i(),n(R,{"no-action":""},{activator:t(({props:d})=>[l(I,M(d,{value:e.item.title,rounded:"",class:"mb-1",color:"secondary"}),{prepend:t(()=>[l(Z,{item:e.item.icon,level:e.level},null,8,["item","level"])]),default:t(()=>[l(w,{class:"mr-auto"},{default:t(()=>[m(u(e.item.title),1)]),_:1}),e.item.subCaption?(i(),n(S,{key:0,class:"text-caption mt-n1 hide-menu"},{default:t(()=>[m(u(e.item.subCaption),1)]),_:1})):_("",!0)]),_:2},1040,["value"])]),default:t(()=>[(i(!0),p(h,null,B(e.item.children,(d,o)=>(i(),p(h,{key:o},[d.children?(i(),n(f,{key:0,item:d,level:a.level+1},null,8,["item","level"])):(i(),n(L,{key:1,item:d,level:a.level+1},null,8,["item","level"]))],64))),128))]),_:1})}}},te={__name:"LogoMain",setup(e){return(a,r)=>(i(),n(Q))}},ae={class:"pa-5"},ie={class:"pa-4 text-center"},le=y({__name:"VerticalSidebar",setup(e){const a=k(),r=T(X);return(c,f)=>{const d=N("perfect-scrollbar");return i(),n(P,{left:"",modelValue:s(a).Sidebar_drawer,"onUpdate:modelValue":f[0]||(f[0]=o=>s(a).Sidebar_drawer=o),elevation:"0","rail-width":"105","mobile-breakpoint":"960",app:"",class:"leftSidebar",rail:s(a).mini_sidebar,"expand-on-hover":""},{default:t(()=>[b("div",ae,[l(te)]),l(d,{class:"scrollnavbar"},{default:t(()=>[l(A,{class:"pa-4"},{default:t(()=>[(i(!0),p(h,null,B(r.value,(o,$)=>(i(),p(h,{key:$},[o.header?(i(),n(Y,{item:o,key:o.title},null,8,["item"])):o.divider?(i(),n(j,{key:1,class:"my-3"})):o.children?(i(),n(ee,{key:2,class:"leftPadding",item:o,level:0},null,8,["item"])):(i(),n(L,{key:3,item:o,class:"leftPadding"},null,8,["item"]))],64))),128))]),_:1}),b("div",ie,[l(g,{color:"inputBorder",size:"small"},{default:t(()=>[m(" v1.0.0 ")]),_:1})])]),_:1})]),_:1},8,["modelValue","rail"])}}}),ne=y({__name:"VerticalHeader",setup(e){const a=k();return O(!1),(r,c)=>(i(),n(G,{elevation:"0",height:"80"},{default:t(()=>[l(v,{class:"hidden-md-and-down text-secondary",color:"lightsecondary",icon:"",rounded:"sm",variant:"flat",onClick:c[0]||(c[0]=C(f=>s(a).SET_MINI_SIDEBAR(!s(a).mini_sidebar),["stop"])),size:"small"},{default:t(()=>[l(s(x),{size:"20","stroke-width":"1.5"})]),_:1}),l(v,{class:"hidden-lg-and-up text-secondary ms-3",color:"lightsecondary",icon:"",rounded:"sm",variant:"flat",onClick:C(s(a).SET_SIDEBAR_DRAWER,["stop"]),size:"small"},{default:t(()=>[l(s(x),{size:"20","stroke-width":"1.5"})]),_:1},8,["onClick"]),l(F),l(v,{class:"profileBtn text-primary",color:"lightprimary",variant:"flat",rounded:"pill"},{default:t(()=>[l(z,{icon:"mdi-github",size:"25"})]),_:1})]),_:1}))}}),re=y({__name:"FullLayout",setup(e){const a=k();return(r,c)=>(i(),n(U,null,{default:t(()=>[l(H,{theme:"PurpleTheme",class:W([s(a).fontTheme,s(a).mini_sidebar?"mini-sidebar":"",s(a).inputBg?"inputWithbg":""])},{default:t(()=>[l(le),l(ne),l(q,null,{default:t(()=>[l(J,{fluid:"",class:"page-wrapper"},{default:t(()=>[Line truncated
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import{_ as _t}from"./LogoDark.vue_vue_type_script_setup_true_lang-ca677c1b.js";import{x as ke,a8 as we,r as Ot,a9 as Vt,D as A,aa as Be,U as P,B as I,ab as Q,ac as St,ad as Ne,ae as Ie,af as Et,ag as jt,ah as At,ai as G,y as wt,o as Re,c as tt,w as C,a as j,a4 as qe,b as ge,aj as Ft,d as Pt,e as Ge,s as Ct,ak as Tt,t as Bt,k as Nt,al as It,f as Fe,L as Rt,V as Pe,S as Ye,O as kt}from"./index-78c50a9e.js";/**
|
||||
import{_ as _t}from"./LogoDark.vue_vue_type_script_setup_true_lang-36c35b56.js";import{x as ke,a7 as we,r as Ot,a8 as Vt,D as A,a9 as Be,U as P,B as I,aa as Q,ab as St,ac as Ne,ad as Ie,ae as Et,af as jt,ag as At,ah as G,y as wt,o as Re,c as tt,w as C,a as j,a4 as qe,b as ge,ai as Ft,d as Pt,e as Ge,s as Ct,aj as Tt,t as Bt,k as Nt,ak as It,f as Fe,L as Rt,V as Pe,S as Ye,O as kt}from"./index-96c19dfb.js";/**
|
||||
* vee-validate v4.11.3
|
||||
* (c) 2023 Abdelrahman Awad
|
||||
* @license MIT
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{an as _,x as d,D as n,o as c,s as m,a as p,w as f,ao as r,b as a,ap as o,B as t,aq as h}from"./index-78c50a9e.js";const s={Sidebar_drawer:!0,Customizer_drawer:!1,mini_sidebar:!1,fontTheme:"Roboto",inputBg:!1},l=_({id:"customizer",state:()=>({Sidebar_drawer:s.Sidebar_drawer,Customizer_drawer:s.Customizer_drawer,mini_sidebar:s.mini_sidebar,fontTheme:"Poppins",inputBg:s.inputBg}),getters:{},actions:{SET_SIDEBAR_DRAWER(){this.Sidebar_drawer=!this.Sidebar_drawer},SET_MINI_SIDEBAR(e){this.mini_sidebar=e},SET_FONT(e){this.fontTheme=e}}}),u={class:"logo",style:{display:"flex","align-items":"center"}},b={style:{"font-size":"24px","font-weight":"1000"}},w={style:{"font-size":"20px","font-weight":"1000"}},S={style:{"font-size":"20px"}},z=d({__name:"LogoDark",setup(e){n("rgb(var(--v-theme-primary))"),n("rgb(var(--v-theme-secondary))");const i=l();return(g,B)=>(c(),m("div",u,[p(t(h),{to:"/",style:{"text-decoration":"none",color:"black"}},{default:f(()=>[r(a("span",b,"AstrBot 仪表盘",512),[[o,!t(i).mini_sidebar]]),r(a("span",w,"Astr",512),[[o,t(i).mini_sidebar]]),r(a("span",S,"Bot",512),[[o,t(i).mini_sidebar]])]),_:1})]))}});export{z as _,l as u};
|
||||
import{am as _,x as d,D as n,o as c,s as m,a as p,w as f,an as r,b as a,ao as o,B as t,ap as h}from"./index-96c19dfb.js";const s={Sidebar_drawer:!0,Customizer_drawer:!1,mini_sidebar:!1,fontTheme:"Roboto",inputBg:!1},l=_({id:"customizer",state:()=>({Sidebar_drawer:s.Sidebar_drawer,Customizer_drawer:s.Customizer_drawer,mini_sidebar:s.mini_sidebar,fontTheme:"Poppins",inputBg:s.inputBg}),getters:{},actions:{SET_SIDEBAR_DRAWER(){this.Sidebar_drawer=!this.Sidebar_drawer},SET_MINI_SIDEBAR(e){this.mini_sidebar=e},SET_FONT(e){this.fontTheme=e}}}),u={class:"logo",style:{display:"flex","align-items":"center"}},b={style:{"font-size":"24px","font-weight":"1000"}},w={style:{"font-size":"20px","font-weight":"1000"}},S={style:{"font-size":"20px"}},z=d({__name:"LogoDark",setup(e){n("rgb(var(--v-theme-primary))"),n("rgb(var(--v-theme-secondary))");const i=l();return(g,B)=>(c(),m("div",u,[p(t(h),{to:"/",style:{"text-decoration":"none",color:"black"}},{default:f(()=>[r(a("span",b,"AstrBot 仪表盘",512),[[o,!t(i).mini_sidebar]]),r(a("span",w,"Astr",512),[[o,t(i).mini_sidebar]]),r(a("span",S,"Bot",512),[[o,t(i).mini_sidebar]])]),_:1})]))}});export{z as _,l as u};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as o}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_ as i}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as n,D as a,o as c,s as m,a as e,w as t,f as d,b as f,V as _,F as u}from"./index-78c50a9e.js";const p=["innerHTML"],v=n({__name:"MaterialIcons",setup(b){const s=a({title:"Material Icons"}),r=a('<iframe src="https://materialdesignicons.com/" frameborder="0" width="100%" height="1000"></iframe>'),l=a([{title:"Icons",disabled:!1,href:"#"},{title:"Material Icons",disabled:!0,href:"#"}]);return(h,M)=>(c(),m(u,null,[e(o,{title:s.value.title,breadcrumbs:l.value},null,8,["title","breadcrumbs"]),e(_,null,{default:t(()=>[e(d,{cols:"12",md:"12"},{default:t(()=>[e(i,{title:"Material Icons"},{default:t(()=>[f("div",{innerHTML:r.value},null,8,p)]),_:1})]),_:1})]),_:1})],64))}});export{v as default};
|
||||
import{_ as o}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_ as i}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as n,D as a,o as c,s as m,a as e,w as t,f as d,b as f,V as _,F as u}from"./index-96c19dfb.js";const p=["innerHTML"],v=n({__name:"MaterialIcons",setup(b){const s=a({title:"Material Icons"}),r=a('<iframe src="https://materialdesignicons.com/" frameborder="0" width="100%" height="1000"></iframe>'),l=a([{title:"Icons",disabled:!1,href:"#"},{title:"Material Icons",disabled:!0,href:"#"}]);return(h,M)=>(c(),m(u,null,[e(o,{title:s.value.title,breadcrumbs:l.value},null,8,["title","breadcrumbs"]),e(_,null,{default:t(()=>[e(d,{cols:"12",md:"12"},{default:t(()=>[e(i,{title:"Material Icons"},{default:t(()=>[f("div",{innerHTML:r.value},null,8,p)]),_:1})]),_:1})]),_:1})],64))}});export{v as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as B}from"./LogoDark.vue_vue_type_script_setup_true_lang-ca677c1b.js";import{x as y,D as o,o as b,s as U,a as e,w as a,b as n,B as $,d as u,f as d,A as _,e as f,V as r,a4 as m,aj as A,am as E,F,c as T,L as q,S as V,O as P}from"./index-78c50a9e.js";const S="/assets/social-google-a359a253.svg",z=["src"],N=n("span",{class:"ml-2"},"Sign up with Google",-1),j=n("h5",{class:"text-h5 text-center my-4 mb-8"},"Sign up with Email address",-1),D={class:"d-sm-inline-flex align-center mt-2 mb-7 mb-sm-0 font-weight-bold"},G=n("a",{href:"#",class:"ml-1 text-lightText"},"Terms and Condition",-1),L={class:"mt-5 text-right"},O=y({__name:"AuthRegister",setup(w){const c=o(!1),i=o(!1),p=o(""),v=o(""),g=o(),h=o(""),x=o(""),k=o([s=>!!s||"Password is required",s=>s&&s.length<=10||"Password must be less than 10 characters"]),C=o([s=>!!s||"E-mail is required",s=>/.+@.+\..+/.test(s)||"E-mail must be valid"]);function R(){g.value.validate()}return(s,l)=>(b(),U(F,null,[e(u,{block:"",color:"primary",variant:"outlined",class:"text-lightText googleBtn"},{default:a(()=>[n("img",{src:$(S),alt:"google"},null,8,z),N]),_:1}),e(r,null,{default:a(()=>[e(d,{class:"d-flex align-center"},{default:a(()=>[e(_,{class:"custom-devider"}),e(u,{variant:"outlined",class:"orbtn",rounded:"md",size:"small"},{default:a(()=>[f("OR")]),_:1}),e(_,{class:"custom-devider"})]),_:1})]),_:1}),j,e(E,{ref_key:"Regform",ref:g,"lazy-validation":"",action:"/dashboards/analytical",class:"mt-7 loginForm"},{default:a(()=>[e(r,null,{default:a(()=>[e(d,{cols:"12",sm:"6"},{default:a(()=>[e(m,{modelValue:h.value,"onUpdate:modelValue":l[0]||(l[0]=t=>h.value=t),density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary",label:"Firstname"},null,8,["modelValue"])]),_:1}),e(d,{cols:"12",sm:"6"},{default:a(()=>[e(m,{modelValue:x.value,"onUpdate:modelValue":l[1]||(l[1]=t=>x.value=t),density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary",label:"Lastname"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{modelValue:v.value,"onUpdate:modelValue":l[2]||(l[2]=t=>v.value=t),rules:C.value,label:"Email Address / Username",class:"mt-4 mb-4",required:"",density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary"},null,8,["modelValue","rules"]),e(m,{modelValue:p.value,"onUpdate:modelValue":l[3]||(l[3]=t=>p.value=t),rules:k.value,label:"Password",required:"",density:"comfortable",variant:"outlined",color:"primary","hide-details":"auto","append-icon":i.value?"mdi-eye":"mdi-eye-off",type:i.value?"text":"password","onClick:append":l[4]||(l[4]=t=>i.value=!i.value),class:"pwdInput"},null,8,["modelValue","rules","append-icon","type"]),n("div",D,[e(A,{modelValue:c.value,"onUpdate:modelValue":l[5]||(l[5]=t=>c.value=t),rules:[t=>!!t||"You must agree to continue!"],label:"Agree with?",required:"",color:"primary",class:"ms-n2","hide-details":""},null,8,["modelValue","rules"]),G]),e(u,{color:"secondary",block:"",class:"mt-2",variant:"flat",size:"large",onClick:l[6]||(l[6]=t=>R())},{default:a(()=>[f("Sign Up")]),_:1})]),_:1},512),n("div",L,[e(_),e(u,{variant:"plain",to:"/auth/login",class:"mt-2 text-capitalize mr-n2"},{default:a(()=>[f("Already have an account?")]),_:1})])],64))}});const I={class:"pa-7 pa-sm-12"},Y=n("h2",{class:"text-secondary text-h2 mt-8"},"Sign up",-1),H=n("h4",{class:"text-disabled text-h4 mt-3"},"Enter credentials to continue",-1),M=y({__name:"RegisterPage",setup(w){return(c,i)=>(b(),T(r,{class:"h-100vh","no-gutters":""},{default:a(()=>[e(d,{cols:"12",class:"d-flex align-center bg-lightprimary"},{default:a(()=>[e(q,null,{default:a(()=>[n("div",I,[e(r,{justify:"center"},{default:a(()=>[e(d,{cols:"12",lg:"10",xl:"6",md:"7"},{default:a(()=>[e(V,{elevation:"0",class:"loginBox"},{default:a(()=>[e(V,{variant:"outlined"},{default:a(()=>[e(P,{class:"pa-9"},{default:a(()=>[e(r,null,{default:a(()=>[e(d,{cols:"12",class:"text-center"},{default:a(()=>[e(B),Y,H]),_:1})]),_:1}),e(O)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})]),_:1})]),_:1}))}});export{M as default};
|
||||
import{_ as B}from"./LogoDark.vue_vue_type_script_setup_true_lang-36c35b56.js";import{x as y,D as o,o as b,s as U,a as e,w as a,b as n,B as $,d as u,f as i,A as _,e as f,V as r,a4 as m,ai as A,al as E,F,c as T,L as q,S as V,O as P}from"./index-96c19dfb.js";const S="/assets/social-google-a359a253.svg",z=["src"],N=n("span",{class:"ml-2"},"Sign up with Google",-1),D=n("h5",{class:"text-h5 text-center my-4 mb-8"},"Sign up with Email address",-1),G={class:"d-sm-inline-flex align-center mt-2 mb-7 mb-sm-0 font-weight-bold"},L=n("a",{href:"#",class:"ml-1 text-lightText"},"Terms and Condition",-1),O={class:"mt-5 text-right"},j=y({__name:"AuthRegister",setup(w){const c=o(!1),d=o(!1),p=o(""),v=o(""),g=o(),h=o(""),x=o(""),k=o([s=>!!s||"Password is required",s=>s&&s.length<=10||"Password must be less than 10 characters"]),C=o([s=>!!s||"E-mail is required",s=>/.+@.+\..+/.test(s)||"E-mail must be valid"]);function R(){g.value.validate()}return(s,l)=>(b(),U(F,null,[e(u,{block:"",color:"primary",variant:"outlined",class:"text-lightText googleBtn"},{default:a(()=>[n("img",{src:$(S),alt:"google"},null,8,z),N]),_:1}),e(r,null,{default:a(()=>[e(i,{class:"d-flex align-center"},{default:a(()=>[e(_,{class:"custom-devider"}),e(u,{variant:"outlined",class:"orbtn",rounded:"md",size:"small"},{default:a(()=>[f("OR")]),_:1}),e(_,{class:"custom-devider"})]),_:1})]),_:1}),D,e(E,{ref_key:"Regform",ref:g,"lazy-validation":"",action:"/dashboards/analytical",class:"mt-7 loginForm"},{default:a(()=>[e(r,null,{default:a(()=>[e(i,{cols:"12",sm:"6"},{default:a(()=>[e(m,{modelValue:h.value,"onUpdate:modelValue":l[0]||(l[0]=t=>h.value=t),density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary",label:"Firstname"},null,8,["modelValue"])]),_:1}),e(i,{cols:"12",sm:"6"},{default:a(()=>[e(m,{modelValue:x.value,"onUpdate:modelValue":l[1]||(l[1]=t=>x.value=t),density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary",label:"Lastname"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{modelValue:v.value,"onUpdate:modelValue":l[2]||(l[2]=t=>v.value=t),rules:C.value,label:"Email Address / Username",class:"mt-4 mb-4",required:"",density:"comfortable","hide-details":"auto",variant:"outlined",color:"primary"},null,8,["modelValue","rules"]),e(m,{modelValue:p.value,"onUpdate:modelValue":l[3]||(l[3]=t=>p.value=t),rules:k.value,label:"Password",required:"",density:"comfortable",variant:"outlined",color:"primary","hide-details":"auto","append-icon":d.value?"mdi-eye":"mdi-eye-off",type:d.value?"text":"password","onClick:append":l[4]||(l[4]=t=>d.value=!d.value),class:"pwdInput"},null,8,["modelValue","rules","append-icon","type"]),n("div",G,[e(A,{modelValue:c.value,"onUpdate:modelValue":l[5]||(l[5]=t=>c.value=t),rules:[t=>!!t||"You must agree to continue!"],label:"Agree with?",required:"",color:"primary",class:"ms-n2","hide-details":""},null,8,["modelValue","rules"]),L]),e(u,{color:"secondary",block:"",class:"mt-2",variant:"flat",size:"large",onClick:l[6]||(l[6]=t=>R())},{default:a(()=>[f("Sign Up")]),_:1})]),_:1},512),n("div",O,[e(_),e(u,{variant:"plain",to:"/auth/login",class:"mt-2 text-capitalize mr-n2"},{default:a(()=>[f("Already have an account?")]),_:1})])],64))}});const I={class:"pa-7 pa-sm-12"},Y=n("h2",{class:"text-secondary text-h2 mt-8"},"Sign up",-1),H=n("h4",{class:"text-disabled text-h4 mt-3"},"Enter credentials to continue",-1),M=y({__name:"RegisterPage",setup(w){return(c,d)=>(b(),T(r,{class:"h-100vh","no-gutters":""},{default:a(()=>[e(i,{cols:"12",class:"d-flex align-center bg-lightprimary"},{default:a(()=>[e(q,null,{default:a(()=>[n("div",I,[e(r,{justify:"center"},{default:a(()=>[e(i,{cols:"12",lg:"10",xl:"6",md:"7"},{default:a(()=>[e(V,{elevation:"0",class:"loginBox"},{default:a(()=>[e(V,{variant:"outlined"},{default:a(()=>[e(P,{class:"pa-9"},{default:a(()=>[e(r,null,{default:a(()=>[e(i,{cols:"12",class:"text-center"},{default:a(()=>[e(B),Y,H]),_:1})]),_:1}),e(j)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})]),_:1})]),_:1}))}});export{M as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as c}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_ as f}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as m,D as s,o as l,s as r,a as e,w as a,f as i,V as o,F as d,u as _,S as p,J as b,b as h,t as g}from"./index-78c50a9e.js";const v=m({__name:"ShadowPage",setup(w){const n=s({title:"Shadow Page"}),u=s([{title:"Utilities",disabled:!1,href:"#"},{title:"Shadow",disabled:!0,href:"#"}]);return(S,V)=>(l(),r(d,null,[e(c,{title:n.value.title,breadcrumbs:u.value},null,8,["title","breadcrumbs"]),e(o,null,{default:a(()=>[e(i,{cols:"12",md:"12"},{default:a(()=>[e(f,{title:"Basic Shadow"},{default:a(()=>[e(o,{justify:"center"},{default:a(()=>[(l(),r(d,null,_(25,t=>e(i,{key:t,cols:"auto"},{default:a(()=>[e(p,{height:"100",width:"100",class:b(["mb-5",["d-flex justify-center align-center bg-primary",`elevation-${t}`]])},{default:a(()=>[h("div",null,g(t-1),1)]),_:2},1032,["class"])]),_:2},1024)),64))]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{v as default};
|
||||
import{_ as c}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_ as f}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as m,D as s,o as l,s as r,a as e,w as a,f as i,V as o,F as d,u as _,S as p,J as b,b as h,t as g}from"./index-96c19dfb.js";const v=m({__name:"ShadowPage",setup(w){const n=s({title:"Shadow Page"}),u=s([{title:"Utilities",disabled:!1,href:"#"},{title:"Shadow",disabled:!0,href:"#"}]);return(S,V)=>(l(),r(d,null,[e(c,{title:n.value.title,breadcrumbs:u.value},null,8,["title","breadcrumbs"]),e(o,null,{default:a(()=>[e(i,{cols:"12",md:"12"},{default:a(()=>[e(f,{title:"Basic Shadow"},{default:a(()=>[e(o,{justify:"center"},{default:a(()=>[(l(),r(d,null,_(25,t=>e(i,{key:t,cols:"auto"},{default:a(()=>[e(p,{height:"100",width:"100",class:b(["mb-5",["d-flex justify-center align-center bg-primary",`elevation-${t}`]])},{default:a(()=>[h("div",null,g(t-1),1)]),_:2},1032,["class"])]),_:2},1024)),64))]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{v as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as s}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_ as l}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as n,D as o,y as r,o as u,s as m,a as e,w as a,f as c,e as d,V as p,F as f}from"./index-78c50a9e.js";const V=n({__name:"StarterPage",setup(_){const t=o({title:"Sample Page"}),i=r([{title:"Others",disabled:!1,href:"#"},{title:"Sample Page",disabled:!0,href:"#"}]);return(b,g)=>(u(),m(f,null,[e(s,{title:t.value.title,breadcrumbs:i.value},null,8,["title","breadcrumbs"]),e(p,null,{default:a(()=>[e(c,{cols:"12",md:"12"},{default:a(()=>[e(l,{title:"Simple Title"},{default:a(()=>[d(" Lorem ipsum dolor sit amen, consenter nipissing eli, sed do elusion tempos incident ut laborers et doolie magna alissa. Ut enif ad minim venice, quin nostrum exercitation illampu laborings nisi ut liquid ex ea commons construal. Duos aube grue dolor in reprehended in voltage veil esse colum doolie eu fujian bulla parian. Exceptive sin ocean cuspidate non president, sunk in culpa qui officiate descent molls anim id est labours. ")]),_:1})]),_:1})]),_:1})],64))}});export{V as default};
|
||||
import{_ as s}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_ as l}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as n,D as o,y as r,o as u,s as m,a as e,w as a,f as c,e as d,V as p,F as f}from"./index-96c19dfb.js";const V=n({__name:"StarterPage",setup(_){const t=o({title:"Sample Page"}),i=r([{title:"Others",disabled:!1,href:"#"},{title:"Sample Page",disabled:!0,href:"#"}]);return(b,g)=>(u(),m(f,null,[e(s,{title:t.value.title,breadcrumbs:i.value},null,8,["title","breadcrumbs"]),e(p,null,{default:a(()=>[e(c,{cols:"12",md:"12"},{default:a(()=>[e(l,{title:"Simple Title"},{default:a(()=>[d(" Lorem ipsum dolor sit amen, consenter nipissing eli, sed do elusion tempos incident ut laborers et doolie magna alissa. Ut enif ad minim venice, quin nostrum exercitation illampu laborings nisi ut liquid ex ea commons construal. Duos aube grue dolor in reprehended in voltage veil esse colum doolie eu fujian bulla parian. Exceptive sin ocean cuspidate non president, sunk in culpa qui officiate descent molls anim id est labours. ")]),_:1})]),_:1})]),_:1})],64))}});export{V as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as o}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_ as n}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as c,D as a,o as i,s as m,a as e,w as t,f as d,b as f,V as _,F as u}from"./index-78c50a9e.js";const b=["innerHTML"],w=c({__name:"TablerIcons",setup(p){const s=a({title:"Tabler Icons"}),r=a('<iframe src="https://tablericons.com/" frameborder="0" width="100%" height="600"></iframe>'),l=a([{title:"Icons",disabled:!1,href:"#"},{title:"Tabler Icons",disabled:!0,href:"#"}]);return(h,T)=>(i(),m(u,null,[e(o,{title:s.value.title,breadcrumbs:l.value},null,8,["title","breadcrumbs"]),e(_,null,{default:t(()=>[e(d,{cols:"12",md:"12"},{default:t(()=>[e(n,{title:"Tabler Icons"},{default:t(()=>[f("div",{innerHTML:r.value},null,8,b)]),_:1})]),_:1})]),_:1})],64))}});export{w as default};
|
||||
import{_ as o}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_ as n}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as c,D as a,o as i,s as m,a as e,w as t,f as d,b as f,V as _,F as u}from"./index-96c19dfb.js";const b=["innerHTML"],w=c({__name:"TablerIcons",setup(p){const s=a({title:"Tabler Icons"}),r=a('<iframe src="https://tablericons.com/" frameborder="0" width="100%" height="600"></iframe>'),l=a([{title:"Icons",disabled:!1,href:"#"},{title:"Tabler Icons",disabled:!0,href:"#"}]);return(h,T)=>(i(),m(u,null,[e(o,{title:s.value.title,breadcrumbs:l.value},null,8,["title","breadcrumbs"]),e(_,null,{default:t(()=>[e(d,{cols:"12",md:"12"},{default:t(()=>[e(n,{title:"Tabler Icons"},{default:t(()=>[f("div",{innerHTML:r.value},null,8,b)]),_:1})]),_:1})]),_:1})],64))}});export{w as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{_ as m}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-9e4c303d.js";import{_ as v}from"./UiParentCard.vue_vue_type_script_setup_true_lang-4ffca123.js";import{x as f,o as i,c as g,w as e,a,$ as y,a0 as b,e as w,t as d,A as C,O as V,a1 as L,S as _,D as o,s as h,f as k,b as t,F as x,u as B,J as H,V as T}from"./index-78c50a9e.js";const s=f({__name:"UiChildCard",props:{title:String},setup(r){const l=r;return(n,c)=>(i(),g(_,{variant:"outlined"},{default:e(()=>[a(y,{class:"py-3"},{default:e(()=>[a(b,{class:"text-h5"},{default:e(()=>[w(d(l.title),1)]),_:1})]),_:1}),a(C),a(V,null,{default:e(()=>[L(n.$slots,"default")]),_:3})]),_:3}))}}),S={class:"d-flex flex-column gap-1"},D={class:"text-caption pa-2 bg-lightprimary"},$=t("div",{class:"text-grey"},"Class",-1),z={class:"font-weight-medium"},N=t("div",null,[t("p",{class:"text-left"},"Left aligned on all viewport sizes."),t("p",{class:"text-center"},"Center aligned on all viewport sizes."),t("p",{class:"text-right"},"Right aligned on all viewport sizes."),t("p",{class:"text-sm-left"},"Left aligned on viewports SM (small) or wider."),t("p",{class:"text-right text-md-left"},"Left aligned on viewports MD (medium) or wider."),t("p",{class:"text-right text-lg-left"},"Left aligned on viewports LG (large) or wider."),t("p",{class:"text-right text-xl-left"},"Left aligned on viewports XL (extra-large) or wider.")],-1),O=t("div",{class:"d-flex justify-space-between flex-row"},[t("a",{href:"#",class:"text-decoration-none"},"Non-underlined link"),t("div",{class:"text-decoration-line-through"},"Line-through text"),t("div",{class:"text-decoration-overline"},"Overline text"),t("div",{class:"text-decoration-underline"},"Underline text")],-1),M=t("div",null,[t("p",{class:"text-high-emphasis"},"High-emphasis has an opacity of 87% in light theme and 100% in dark."),t("p",{class:"text-medium-emphasis"},"Medium-emphasis text and hint text have opacities of 60% in light theme and 70% in dark."),t("p",{class:"text-disabled"},"Disabled text has an opacity of 38% in light theme and 50% in dark.")],-1),A=f({__name:"TypographyPage",setup(r){const l=o({title:"Typography Page"}),n=o([["Heading 1","text-h1"],["Heading 2","text-h2"],["Heading 3","text-h3"],["Heading 4","text-h4"],["Heading 5","text-h5"],["Heading 6","text-h6"],["Subtitle 1","text-subtitle-1"],["Subtitle 2","text-subtitle-2"],["Body 1","text-body-1"],["Body 2","text-body-2"],["Button","text-button"],["Caption","text-caption"],["Overline","text-overline"]]),c=o([{title:"Utilities",disabled:!1,href:"#"},{title:"Typography",disabled:!0,href:"#"}]);return(U,F)=>(i(),h(x,null,[a(m,{title:l.value.title,breadcrumbs:c.value},null,8,["title","breadcrumbs"]),a(T,null,{default:e(()=>[a(k,{cols:"12",md:"12"},{default:e(()=>[a(v,{title:"Basic Typography"},{default:e(()=>[a(s,{title:"Heading"},{default:e(()=>[t("div",S,[(i(!0),h(x,null,B(n.value,([p,u])=>(i(),g(_,{variant:"outlined",key:p,class:"my-4"},{default:e(()=>[t("div",{class:H([u,"pa-2"])},d(p),3),t("div",D,[$,t("div",z,d(u),1)])]),_:2},1024))),128))])]),_:1}),a(s,{title:"Text-alignment",class:"mt-8"},{default:e(()=>[N]),_:1}),a(s,{title:"Decoration",class:"mt-8"},{default:e(()=>[O]),_:1}),a(s,{title:"Opacity",class:"mt-8"},{default:e(()=>[M]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{A as default};
|
||||
import{_ as m}from"./BaseBreadcrumb.vue_vue_type_style_index_0_lang-4b2e13a6.js";import{_ as v}from"./UiParentCard.vue_vue_type_script_setup_true_lang-b218ce2f.js";import{x as f,o as i,c as g,w as e,a,$ as y,a0 as b,e as w,t as d,A as C,O as V,a1 as L,S as _,D as o,s as h,f as k,b as t,F as x,u as B,J as H,V as T}from"./index-96c19dfb.js";const s=f({__name:"UiChildCard",props:{title:String},setup(r){const l=r;return(n,c)=>(i(),g(_,{variant:"outlined"},{default:e(()=>[a(y,{class:"py-3"},{default:e(()=>[a(b,{class:"text-h5"},{default:e(()=>[w(d(l.title),1)]),_:1})]),_:1}),a(C),a(V,null,{default:e(()=>[L(n.$slots,"default")]),_:3})]),_:3}))}}),S={class:"d-flex flex-column gap-1"},D={class:"text-caption pa-2 bg-lightprimary"},$=t("div",{class:"text-grey"},"Class",-1),z={class:"font-weight-medium"},N=t("div",null,[t("p",{class:"text-left"},"Left aligned on all viewport sizes."),t("p",{class:"text-center"},"Center aligned on all viewport sizes."),t("p",{class:"text-right"},"Right aligned on all viewport sizes."),t("p",{class:"text-sm-left"},"Left aligned on viewports SM (small) or wider."),t("p",{class:"text-right text-md-left"},"Left aligned on viewports MD (medium) or wider."),t("p",{class:"text-right text-lg-left"},"Left aligned on viewports LG (large) or wider."),t("p",{class:"text-right text-xl-left"},"Left aligned on viewports XL (extra-large) or wider.")],-1),O=t("div",{class:"d-flex justify-space-between flex-row"},[t("a",{href:"#",class:"text-decoration-none"},"Non-underlined link"),t("div",{class:"text-decoration-line-through"},"Line-through text"),t("div",{class:"text-decoration-overline"},"Overline text"),t("div",{class:"text-decoration-underline"},"Underline text")],-1),M=t("div",null,[t("p",{class:"text-high-emphasis"},"High-emphasis has an opacity of 87% in light theme and 100% in dark."),t("p",{class:"text-medium-emphasis"},"Medium-emphasis text and hint text have opacities of 60% in light theme and 70% in dark."),t("p",{class:"text-disabled"},"Disabled text has an opacity of 38% in light theme and 50% in dark.")],-1),A=f({__name:"TypographyPage",setup(r){const l=o({title:"Typography Page"}),n=o([["Heading 1","text-h1"],["Heading 2","text-h2"],["Heading 3","text-h3"],["Heading 4","text-h4"],["Heading 5","text-h5"],["Heading 6","text-h6"],["Subtitle 1","text-subtitle-1"],["Subtitle 2","text-subtitle-2"],["Body 1","text-body-1"],["Body 2","text-body-2"],["Button","text-button"],["Caption","text-caption"],["Overline","text-overline"]]),c=o([{title:"Utilities",disabled:!1,href:"#"},{title:"Typography",disabled:!0,href:"#"}]);return(U,F)=>(i(),h(x,null,[a(m,{title:l.value.title,breadcrumbs:c.value},null,8,["title","breadcrumbs"]),a(T,null,{default:e(()=>[a(k,{cols:"12",md:"12"},{default:e(()=>[a(v,{title:"Basic Typography"},{default:e(()=>[a(s,{title:"Heading"},{default:e(()=>[t("div",S,[(i(!0),h(x,null,B(n.value,([p,u])=>(i(),g(_,{variant:"outlined",key:p,class:"my-4"},{default:e(()=>[t("div",{class:H([u,"pa-2"])},d(p),3),t("div",D,[$,t("div",z,d(u),1)])]),_:2},1024))),128))])]),_:1}),a(s,{title:"Text-alignment",class:"mt-8"},{default:e(()=>[N]),_:1}),a(s,{title:"Decoration",class:"mt-8"},{default:e(()=>[O]),_:1}),a(s,{title:"Opacity",class:"mt-8"},{default:e(()=>[M]),_:1})]),_:1})]),_:1})]),_:1})],64))}});export{A as default};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{x as n,o,c as i,w as e,a,$ as d,b as c,a0 as u,e as p,t as _,a1 as s,A as f,O as V,S as m}from"./index-78c50a9e.js";const C={class:"d-sm-flex align-center justify-space-between"},h=n({__name:"UiParentCard",props:{title:String},setup(l){const r=l;return(t,x)=>(o(),i(m,{variant:"outlined",elevation:"0",class:"withbg"},{default:e(()=>[a(d,null,{default:e(()=>[c("div",C,[a(u,null,{default:e(()=>[p(_(r.title),1)]),_:1}),s(t.$slots,"action")])]),_:3}),a(f),a(V,null,{default:e(()=>[s(t.$slots,"default")]),_:3})]),_:3}))}});export{h as _};
|
||||
import{x as n,o,c as i,w as e,a,$ as d,b as c,a0 as u,e as p,t as _,a1 as s,A as f,O as V,S as m}from"./index-96c19dfb.js";const C={class:"d-sm-flex align-center justify-space-between"},h=n({__name:"UiParentCard",props:{title:String},setup(l){const r=l;return(t,x)=>(o(),i(m,{variant:"outlined",elevation:"0",class:"withbg"},{default:e(()=>[a(d,null,{default:e(()=>[c("div",C,[a(u,null,{default:e(()=>[p(_(r.title),1)]),_:1}),s(t.$slots,"action")])]),_:3}),a(f),a(V,null,{default:e(()=>[s(t.$slots,"default")]),_:3})]),_:3}))}});export{h as _};
|
||||
@@ -1,5 +0,0 @@
|
||||
function me(e,t){return function(){return e.apply(t,arguments)}}const{toString:je}=Object.prototype,{getPrototypeOf:Z}=Object,H=(e=>t=>{const n=je.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>H(t)===e),I=e=>t=>typeof t===e,{isArray:P}=Array,F=I("undefined");function ke(e){return e!==null&&!F(e)&&e.constructor!==null&&!F(e.constructor)&&S(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ye=A("ArrayBuffer");function He(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ye(e.buffer),t}const Ie=I("string"),S=I("function"),Ee=I("number"),q=e=>e!==null&&typeof e=="object",qe=e=>e===!0||e===!1,L=e=>{if(H(e)!=="object")return!1;const t=Z(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Me=A("Date"),ze=A("File"),Je=A("Blob"),$e=A("FileList"),Ve=e=>q(e)&&S(e.pipe),We=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||S(e.append)&&((t=H(e))==="formdata"||t==="object"&&S(e.toString)&&e.toString()==="[object FormData]"))},Ke=A("URLSearchParams"),Ge=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),P(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let u;for(r=0;r<i;r++)u=o[r],t.call(null,e[u],u,e)}}function we(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const be=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Se=e=>!F(e)&&e!==be;function K(){const{caseless:e}=Se(this)&&this||{},t={},n=(r,s)=>{const o=e&&we(t,s)||s;L(t[o])&&L(r)?t[o]=K(t[o],r):L(r)?t[o]=K({},r):P(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&B(arguments[r],n);return t}const Xe=(e,t,n,{allOwnKeys:r}={})=>(B(t,(s,o)=>{n&&S(s)?e[o]=me(s,n):e[o]=s},{allOwnKeys:r}),e),ve=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Qe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ze=(e,t,n,r)=>{let s,o,i;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=n!==!1&&Z(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ye=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},et=e=>{if(!e)return null;if(P(e))return e;let t=e.length;if(!Ee(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},tt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Z(Uint8Array)),nt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},rt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},st=A("HTMLFormElement"),ot=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),se=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),it=A("RegExp"),Re=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};B(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},at=e=>{Re(e,(t,n)=>{if(S(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(S(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ct=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return P(e)?r(e):r(String(e).split(t)),n},ut=()=>{},lt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),J="abcdefghijklmnopqrstuvwxyz",oe="0123456789",Oe={DIGIT:oe,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+oe},ft=(e=16,t=Oe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function dt(e){return!!(e&&S(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pt=e=>{const t=new Array(10),n=(r,s)=>{if(q(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=P(r)?[]:{};return B(r,(i,u)=>{const f=n(i,s+1);!F(f)&&(o[u]=f)}),t[s]=void 0,o}}return r};return n(e,0)},ht=A("AsyncFunction"),mt=e=>e&&(q(e)||S(e))&&S(e.then)&&S(e.catch),a={isArray:P,isArrayBuffer:ye,isBuffer:ke,isFormData:We,isArrayBufferView:He,isString:Ie,isNumber:Ee,isBoolean:qe,isObject:q,isPlainObject:L,isUndefined:F,isDate:Me,isFile:ze,isBlob:Je,isRegExp:it,isFunction:S,isStream:Ve,isURLSearchParams:Ke,isTypedArray:tt,isFileList:$e,forEach:B,merge:K,extend:Xe,trim:Ge,stripBOM:ve,inherits:Qe,toFlatObject:Ze,kindOf:H,kindOfTest:A,endsWith:Ye,toArray:et,forEachEntry:nt,matchAll:rt,isHTMLForm:st,hasOwnProperty:se,hasOwnProp:se,reduceDescriptors:Re,freezeMethods:at,toObjectSet:ct,toCamelCase:ot,noop:ut,toFiniteNumber:lt,findKey:we,globaLine truncated
|
||||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Ft[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ue=Symbol("internals");function C(e){return e&&String(e).trim().toLowerCase()}function U(e){return e===!1||e==null?e:a.isArray(e)?e.map(U):String(e)}function Dt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const _t=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function Lt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ut(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class z{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(u,f,d){const c=C(f);if(!c)throw new Error("header name must be a non-empty string");const p=a.findKey(s,c);(!p||s[p]===void 0||d===!0||d===void 0&&s[p]!==!1)&&(s[p||f]=U(u))}const i=(u,f)=>a.forEach(u,(d,c)=>o(d,c,f));return a.isPlainObject(t)||t instanceof this.constructor?i(t,n):a.isString(t)&&(t=t.trim())&&!_t(t)?i(Bt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=C(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Dt(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=C(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=C(i),i){const u=a.findKey(r,i);u&&(!n||$(r,r[u],u,n))&&(delete r[u],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||$(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=U(s),delete n[o];return}const u=t?Lt(o):String(o).trim();u!==o&&delete n[o],n[u]=U(s),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ue]=this[ue]={accessors:{}}).accessors,s=this.prototype;function o(i){const u=C(i);r[u]||(Ut(s,i),r[u]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(z.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(z);const g=z;function V(e,t){const n=this||te,r=t||n,s=g.from(r.headers);let o=r.data;return a.forEach(e,function(u){o=u.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Fe(e){return!!(e&&e.__CANCEL__)}function D(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(D,m,{__CANCEL__:!0});function jt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const kt=O.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,u){const f=[];f.push(n+"="+encodeURIComponent(r)),a.isNumber(s)&&f.push("expires="+new Date(s).toGMTString()),a.isString(o)&&f.push("path="+o),a.isString(i)&&f.push("domain="+i),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ht(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function It(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Be(e,t){return e&&!Ht(t)?It(e,t):t}const qt=O.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const u=a.isString(i)?s(i):i;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function Mt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function zt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),c=r[o];i||(i=d),n[s]=f,r[s]=d;let p=o,E=0;for(;p!==s;)E+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),d-i<t)return;const w=c&&d-c;return w?Math.round(E*1e3/w):void 0}}function le(e,t){let n=0;const r=zt(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,u=o-n,f=r(u),d=o<=i;n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:u,rate:f||void 0,estimated:f&&i&&d?(i-o)/f:void 0,event:s};c[t?"download":"upload"]=!0,e(c)}}const Jt=typeof XMLHttpRequest<"u",$t=Jt&&function(e){return new Promise(function(n,r){let s=e.data;const o=g.from(e.headers).normalize(),i=e.responseType;let u;function f(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let d;a.isFormData(s)&&(O.isStandardBrowserEnv||O.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?a.isString(d=o.getContentType())&&o.setContentType(d.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const l=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(l+":"+h))}const p=Be(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ne(p,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function E(){if(!c)return;const l=g.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:l,config:e,request:c};jt(function(R){n(R),f()},function(R){r(R),f()},b),c=null}if("onloadend"in c?c.onloadend=E:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(E)},c.onabort=function(){c&&(r(new m("Request aborted",m.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Pe;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new m(h,b.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,c)),c=null},O.isStandardBrowserEnv){const l=(e.withCredentials||qt(p))&&e.x
Line truncated
|
||||
`+o.map(fe).join(`
|
||||
`):" "+fe(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:X};function W(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D(null,e)}function de(e){return W(e),e.headers=g.from(e.headers),e.data=V.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),De.getAdapter(e.adapter||te.adapter)(e).then(function(r){return W(e),r.data=V.call(e,e.transformResponse,r),r.headers=g.from(r.headers),r},function(r){return Fe(r)||(W(e),r&&r.response&&(r.response.data=V.call(e,e.transformResponse,r.response),r.response.headers=g.from(r.response.headers))),Promise.reject(r)})}const pe=e=>e instanceof g?e.toJSON():e;function N(e,t){t=t||{};const n={};function r(d,c,p){return a.isPlainObject(d)&&a.isPlainObject(c)?a.merge.call({caseless:p},d,c):a.isPlainObject(c)?a.merge({},c):a.isArray(c)?c.slice():c}function s(d,c,p){if(a.isUndefined(c)){if(!a.isUndefined(d))return r(void 0,d,p)}else return r(d,c,p)}function o(d,c){if(!a.isUndefined(c))return r(void 0,c)}function i(d,c){if(a.isUndefined(c)){if(!a.isUndefined(d))return r(void 0,d)}else return r(void 0,c)}function u(d,c,p){if(p in t)return r(d,c);if(p in e)return r(void 0,d)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(d,c)=>s(pe(d),pe(c),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(c){const p=f[c]||s,E=p(e[c],t[c],c);a.isUndefined(E)&&p!==u||(n[c]=E)}),n}const _e="1.5.1",ne={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ne[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const he={};ne.transitional=function(t,n,r){function s(o,i){return"[Axios v"+_e+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,u)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!he[i]&&(he[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,u):!0}};function Wt(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const u=e[o],f=u===void 0||i(u,o,e);if(f!==!0)throw new m("option "+o+" must be "+f,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const v={assertOptions:Wt,validators:ne},x=v.validators;class k{constructor(t){this.defaults=t,this.interceptors={request:new ce,response:new ce}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=N(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&v.assertOptions(r,{silentJSONParsing:x.transitional(x.boolean),forcedJSONParsing:x.transitional(x.boolean),clarifyTimeoutError:x.transitional(x.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:v.assertOptions(s,{encode:x.function,serialize:x.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],l=>{delete o[l]}),n.headers=g.concat(i,o);const u=[];let f=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(f=f&&h.synchronous,u.unshift(h.fulfilled,h.rejected))});const d=[];this.interceptors.response.forEach(function(h){d.push(h.fulfilled,h.rejected)});let c,p=0,E;if(!f){const l=[de.bind(this),void 0];for(l.unshift.apply(l,u),l.push.apply(l,d),E=l.length,c=Promise.resolve(n);p<E;)c=c.then(l[p++],l[p++]);return c}E=u.length;let w=n;for(p=0;p<E;){const l=u[p++],h=u[p++];try{w=l(w)}catch(b){h.call(this,b);break}}try{c=de.call(this,w)}catch(l){return Promise.reject(l)}for(p=0,E=d.length;p<E;)c=c.then(d[p++],d[p++]);return c}getUri(t){t=N(this.defaults,t);const n=Be(t.baseURL,t.url);return Ne(n,t.params,t.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){k.prototype[t]=function(n,r){return this.request(N(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,u){return this.request(N(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}k.prototype[t]=n(),k.prototype[t+"Form"]=n(!0)});const j=k;class re{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listene
Line truncated
|
||||
@@ -0,0 +1,5 @@
|
||||
function me(e,t){return function(){return e.apply(t,arguments)}}const{toString:ke}=Object.prototype,{getPrototypeOf:Z}=Object,H=(e=>t=>{const n=ke.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>H(t)===e),I=e=>t=>typeof t===e,{isArray:C}=Array,_=I("undefined");function He(e){return e!==null&&!_(e)&&e.constructor!==null&&!_(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ye=A("ArrayBuffer");function Ie(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ye(e.buffer),t}const qe=I("string"),R=I("function"),Ee=I("number"),q=e=>e!==null&&typeof e=="object",Me=e=>e===!0||e===!1,L=e=>{if(H(e)!=="object")return!1;const t=Z(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ze=A("Date"),Je=A("File"),$e=A("Blob"),Ve=A("FileList"),We=e=>q(e)&&R(e.pipe),Ke=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((t=H(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},Ge=A("URLSearchParams"),Xe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),C(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function be(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const we=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Se=e=>!_(e)&&e!==we;function K(){const{caseless:e}=Se(this)&&this||{},t={},n=(r,s)=>{const o=e&&be(t,s)||s;L(t[o])&&L(r)?t[o]=K(t[o],r):L(r)?t[o]=K({},r):C(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&B(arguments[r],n);return t}const ve=(e,t,n,{allOwnKeys:r}={})=>(B(t,(s,o)=>{n&&R(s)?e[o]=me(s,n):e[o]=s},{allOwnKeys:r}),e),Qe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ze=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ye=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&Z(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},et=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tt=e=>{if(!e)return null;if(C(e))return e;let t=e.length;if(!Ee(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Z(Uint8Array)),rt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},st=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ot=A("HTMLFormElement"),it=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),se=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),at=A("RegExp"),Re=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};B(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},ct=e=>{Re(e,(t,n)=>{if(R(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(R(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ut=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return C(e)?r(e):r(String(e).split(t)),n},lt=()=>{},ft=(e,t)=>(e=+e,Number.isFinite(e)?e:t),J="abcdefghijklmnopqrstuvwxyz",oe="0123456789",Oe={DIGIT:oe,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+oe},dt=(e=16,t=Oe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function pt(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ht=e=>{const t=new Array(10),n=(r,s)=>{if(q(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=C(r)?[]:{};return B(r,(i,c)=>{const p=n(i,s+1);!_(p)&&(o[c]=p)}),t[s]=void 0,o}}return r};return n(e,0)},mt=A("AsyncFunction"),yt=e=>e&&(q(e)||R(e))&&R(e.then)&&R(e.catch),a={isArray:C,isArrayBuffer:ye,isBuffer:He,isFormData:Ke,isArrayBufferView:Ie,isString:qe,isNumber:Ee,isBoolean:Me,isObject:q,isPlainObject:L,isUndefined:_,isDate:ze,isFile:Je,isBlob:$e,isRegExp:at,isFunction:R,isStream:We,isURLSearchParams:Ge,isTypedArray:nt,isFileList:Ve,forEach:B,merge:K,extend:ve,trim:Xe,stripBOM:Qe,inherits:Ze,toFlatObject:Ye,kindOf:H,kindOfTest:A,endsWith:et,toArray:tt,forEachEntry:rt,matchAll:st,isHTMLForm:ot,hasOwnProperty:se,hasOwnProp:se,reduceDescriptors:Re,freezeMethods:ct,toObjectSet:ut,toCamelCase:it,noop:lt,toFiniteNumber:ft,findKey:be,globaLine truncated
|
||||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Dt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ue=Symbol("internals");function F(e){return e&&String(e).trim().toLowerCase()}function U(e){return e===!1||e==null?e:a.isArray(e)?e.map(U):String(e)}function Ut(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const jt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function kt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ht(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class z{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,p,h){const l=F(p);if(!l)throw new Error("header name must be a non-empty string");const u=a.findKey(s,l);(!u||s[u]===void 0||h===!0||h===void 0&&s[u]!==!1)&&(s[u||p]=U(c))}const i=(c,p)=>a.forEach(c,(h,l)=>o(h,l,p));return a.isPlainObject(t)||t instanceof this.constructor?i(t,n):a.isString(t)&&(t=t.trim())&&!jt(t)?i(Lt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=F(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Ut(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=F(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=F(i),i){const c=a.findKey(r,i);c&&(!n||$(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||$(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=U(s),delete n[o];return}const c=t?kt(o):String(o).trim();c!==o&&delete n[o],n[c]=U(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ue]=this[ue]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=F(i);r[c]||(Ht(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(z.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(z);const T=z;function V(e,t){const n=this||te,r=t||n,s=T.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function _e(e){return!!(e&&e.__CANCEL__)}function D(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(D,m,{__CANCEL__:!0});function It(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const qt=O.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zt(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Be(e,t){return e&&!Mt(t)?zt(e,t):t}const Jt=O.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const c=a.isString(i)?s(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function $t(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Vt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(p){const h=Date.now(),l=r[o];i||(i=h),n[s]=p,r[s]=h;let u=o,E=0;for(;u!==s;)E+=n[u++],u=u%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),h-i<t)return;const S=l&&h-l;return S?Math.round(E*1e3/S):void 0}}function le(e,t){let n=0;const r=Vt(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,c=o-n,p=r(c),h=o<=i;n=o;const l={loaded:o,total:i,progress:i?o/i:void 0,bytes:c,rate:p||void 0,estimated:p&&i&&h?(i-o)/p:void 0,event:s};l[t?"download":"upload"]=!0,e(l)}}const Wt=typeof XMLHttpRequest<"u",Kt=Wt&&function(e){return new Promise(function(n,r){let s=e.data;const o=T.from(e.headers).normalize();let{responseType:i,withXSRFToken:c}=e,p;function h(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}let l;if(a.isFormData(s)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((l=o.getContentType())!==!1){const[d,...b]=l?l.split(";").map(w=>w.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...b].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(d+":"+b))}const E=Be(e.baseURL,e.url);u.open(e.method.toUpperCase(),Ne(E,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function S(){if(!u)return;const d=T.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),w={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:d,config:e,request:u};It(function(x){n(x),h()},function(x){r(x),h()},w),u=null}if("onloadend"in u?u.onloadend=S:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(S)},u.onabort=function(){u&&(r(new m("Request aborted",m.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Pe;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new m(b,w.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,u)),u=null},O.hasStandardBrowserEnv&&(c&&a.isFunction(c)&&(c=c(e)),c||c!==!1&&Jt(E))){const d=e.xsrfHeaderName&&e.xsrfCookieName&&qt.read(e.xsrfCookieName);d&&o.set(e.xsrfHe
Line truncated
|
||||
`+o.map(fe).join(`
|
||||
`):" "+fe(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:X};function W(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D(null,e)}function de(e){return W(e),e.headers=T.from(e.headers),e.data=V.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),De.getAdapter(e.adapter||te.adapter)(e).then(function(r){return W(e),r.data=V.call(e,e.transformResponse,r),r.headers=T.from(r.headers),r},function(r){return _e(r)||(W(e),r&&r.response&&(r.response.data=V.call(e,e.transformResponse,r.response),r.response.headers=T.from(r.response.headers))),Promise.reject(r)})}const pe=e=>e instanceof T?e.toJSON():e;function P(e,t){t=t||{};const n={};function r(h,l,u){return a.isPlainObject(h)&&a.isPlainObject(l)?a.merge.call({caseless:u},h,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(h,l,u){if(a.isUndefined(l)){if(!a.isUndefined(h))return r(void 0,h,u)}else return r(h,l,u)}function o(h,l){if(!a.isUndefined(l))return r(void 0,l)}function i(h,l){if(a.isUndefined(l)){if(!a.isUndefined(h))return r(void 0,h)}else return r(void 0,l)}function c(h,l,u){if(u in t)return r(h,l);if(u in e)return r(void 0,h)}const p={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(h,l)=>s(pe(h),pe(l),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=p[l]||s,E=u(e[l],t[l],l);a.isUndefined(E)&&u!==c||(n[l]=E)}),n}const Le="1.6.2",ne={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ne[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const he={};ne.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Le+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!he[i]&&(he[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};function Xt(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],p=c===void 0||i(c,o,e);if(p!==!0)throw new m("option "+o+" must be "+p,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const v={assertOptions:Xt,validators:ne},N=v.validators;class k{constructor(t){this.defaults=t,this.interceptors={request:new ce,response:new ce}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=P(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&v.assertOptions(r,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:v.assertOptions(s,{encode:N.function,serialize:N.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),n.headers=T.concat(i,o);const c=[];let p=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(p=p&&d.synchronous,c.unshift(d.fulfilled,d.rejected))});const h=[];this.interceptors.response.forEach(function(d){h.push(d.fulfilled,d.rejected)});let l,u=0,E;if(!p){const f=[de.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,h),E=f.length,l=Promise.resolve(n);u<E;)l=l.then(f[u++],f[u++]);return l}E=c.length;let S=n;for(u=0;u<E;){const f=c[u++],d=c[u++];try{S=f(S)}catch(b){d.call(this,b);break}}try{l=de.call(this,S)}catch(f){return Promise.reject(f)}for(u=0,E=h.length;u<E;)l=l.then(h[u++],h[u++]);return l}getUri(t){t=P(this.defaults,t);const n=Be(t.baseURL,t.url);return Ne(n,t.params,t.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){k.prototype[t]=function(n,r){return this.request(P(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,c){return this.request(P(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}k.prototype[t]=n(),k.prototype[t+"Form"]=n(!0)});const j=k;class re{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[
Line truncated
|
||||
Vendored
+2
-2
@@ -6,7 +6,7 @@
|
||||
* vue-router v4.2.4
|
||||
* (c) 2023 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/const Dr=typeof window<"u";function T3(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const we=Object.assign;function pi(n,l){const r={};for(const h in l){const u=l[h];r[h]=Yn(u)?u.map(n):n(u)}return r}const jo=()=>{},Yn=Array.isArray,R3=/\/$/,E3=n=>n.replace(R3,"");function gi(n,l,r="/"){let h,u={},g="",v="";const b=l.indexOf("#");let z=l.indexOf("?");return b<z&&b>=0&&(z=-1),z>-1&&(h=l.slice(0,z),g=l.slice(z+1,b>-1?b:l.length),u=n(g)),b>-1&&(h=h||l.slice(0,b),v=l.slice(b,l.length)),h=X3(h??l,r),{fullPath:h+(g&&"?")+g+v,path:h,query:u,hash:v}}function V3(n,l){const r=l.query?n(l.query):"";return l.path+(r&&"?")+r+(l.hash||"")}function Y2(n,l){return!l||!n.toLowerCase().startsWith(l.toLowerCase())?n:n.slice(l.length)||"/"}function _3(n,l,r){const h=l.matched.length-1,u=r.matched.length-1;return h>-1&&h===u&&Yr(l.matched[h],r.matched[u])&&Jc(l.params,r.params)&&n(l.query)===n(r.query)&&l.hash===r.hash}function Yr(n,l){return(n.aliasOf||n)===(l.aliasOf||l)}function Jc(n,l){if(Object.keys(n).length!==Object.keys(l).length)return!1;for(const r in n)if(!W3(n[r],l[r]))return!1;return!0}function W3(n,l){return Yn(n)?G2(n,l):Yn(l)?G2(l,n):n===l}function G2(n,l){return Yn(l)?n.length===l.length&&n.every((r,h)=>r===l[h]):n.length===1&&n[0]===l}function X3(n,l){if(n.startsWith("/"))return n;if(!n)return l;const r=l.split("/"),h=n.split("/"),u=h[h.length-1];(u===".."||u===".")&&h.push("");let g=r.length-1,v,b;for(v=0;v<h.length;v++)if(b=h[v],b!==".")if(b==="..")g>1&&g--;else break;return r.slice(0,g).join("/")+"/"+h.slice(v-(v===h.length?1:0)).join("/")}var Yo;(function(n){n.pop="pop",n.push="push"})(Yo||(Yo={}));var Po;(function(n){n.back="back",n.forward="forward",n.unknown=""})(Po||(Po={}));function q3(n){if(!n)if(Dr){const l=document.querySelector("base");n=l&&l.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),E3(n)}const Y3=/^[^#]+#/;function G3(n,l){return n.replace(Y3,"#")+l}function U3(n,l){const r=document.documentElement.getBoundingClientRect(),h=n.getBoundingClientRect();return{behavior:l.behavior,left:h.left-r.left-(l.left||0),top:h.top-r.top-(l.top||0)}}const Na=()=>({left:window.pageXOffset,top:window.pageYOffset});function Z3(n){let l;if("el"in n){const r=n.el,h=typeof r=="string"&&r.startsWith("#"),u=typeof r=="string"?h?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!u)return;l=U3(u,n)}else l=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(l):window.scrollTo(l.left!=null?l.left:window.pageXOffset,l.top!=null?l.top:window.pageYOffset)}function U2(n,l){return(history.state?history.state.position-l:-1)+n}const Zi=new Map;function K3(n,l){Zi.set(n,l)}function Q3(n){const l=Zi.get(n);return Zi.delete(n),l}let J3=()=>location.protocol+"//"+location.host;function tu(n,l){const{pathname:r,search:h,hash:u}=l,g=n.indexOf("#");if(g>-1){let b=u.includes(n.slice(g))?n.slice(g).length:1,z=u.slice(b);return z[0]!=="/"&&(z="/"+z),Y2(z,"")}return Y2(r,n)+h+u}function tf(n,l,r,h){let u=[],g=[],v=null;const b=({state:B})=>{const P=tu(n,location),D=r.value,E=l.value;let Y=0;if(B){if(r.value=P,l.value=B,v&&v===D){v=null;return}Y=E?B.position-E.position:0}else h(P);u.forEach(O=>{O(r.value,D,{delta:Y,type:Yo.pop,direction:Y?Y>0?Po.forward:Po.back:Po.unknown})})};function z(){v=r.value}function C(B){u.push(B);const P=()=>{const D=u.indexOf(B);D>-1&&u.splice(D,1)};return g.push(P),P}function S(){const{history:B}=window;B.state&&B.replaceState(we({},B.state,{scroll:Na()}),"")}function A(){for(const B of g)B();g=[],window.removeEventListener("popstate",b),window.removeEventListener("beforeunload",S)}return window.addEventListener("popstate",b),window.addEventListener("beforeunload",S,{passive:!0}),{pauseListeners:z,listen:C,destroy:A}}function Z2(n,l,r,h=!1,u=!1){return{back:n,current:l,forward:r,replaced:h,position:window.history.length,scroll:u?Na():null}}function ef(n){const{history:l,location:r}=window,h={value:tu(n,r)},u={value:l.state};u.value||g(h.value,{back:null,current:h.value,forward:null,position:l.length-1,replaced:!0,scroll:null},!0);function g(z,C,S){const A=n.indexOf("#"),B=A>-1?(r.host&&document.querySelector("base")?n:n.slice(A))+z:J3()+n+z;try{l[S?"replaceState":"pushState"](C,"",B),u.value=C}catch(P){console.error(P),r[S?"replace":"assign"](B)}}function v(z,C){const S=we({},l.state,Z2(u.value.back,z,u.value.forward,!0),C,{position:u.value.position});g(z,S,!0),h.value=z}function b(z,C){const S=we({},u.value,l.state,{forward:z,scroll:Na()});g(S.current,S,!0);const A=we({},Z2(h.value,z,null),{position:S.position+1},C);g(z,A,!1),h.value=z}return{location:h,state:u,push:b,replace:v}}function nf(n){n=q3(n);const l=ef(n),r=tf(n,l.state,l.location,l.replace);function h(g,v=!0){v||r.pauseListeners(),history.go(g)}const u=we({location:"",base:n,go:h,createHref:G3.bind(null,n)},l,r);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>l.location.value}),Object.defineProperty(u,"state",{enumerLine truncated
|
||||
*/const Dr=typeof window<"u";function T3(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const we=Object.assign;function pi(n,l){const r={};for(const h in l){const u=l[h];r[h]=Yn(u)?u.map(n):n(u)}return r}const jo=()=>{},Yn=Array.isArray,R3=/\/$/,E3=n=>n.replace(R3,"");function gi(n,l,r="/"){let h,u={},g="",v="";const b=l.indexOf("#");let z=l.indexOf("?");return b<z&&b>=0&&(z=-1),z>-1&&(h=l.slice(0,z),g=l.slice(z+1,b>-1?b:l.length),u=n(g)),b>-1&&(h=h||l.slice(0,b),v=l.slice(b,l.length)),h=X3(h??l,r),{fullPath:h+(g&&"?")+g+v,path:h,query:u,hash:v}}function V3(n,l){const r=l.query?n(l.query):"";return l.path+(r&&"?")+r+(l.hash||"")}function Y2(n,l){return!l||!n.toLowerCase().startsWith(l.toLowerCase())?n:n.slice(l.length)||"/"}function _3(n,l,r){const h=l.matched.length-1,u=r.matched.length-1;return h>-1&&h===u&&Yr(l.matched[h],r.matched[u])&&Jc(l.params,r.params)&&n(l.query)===n(r.query)&&l.hash===r.hash}function Yr(n,l){return(n.aliasOf||n)===(l.aliasOf||l)}function Jc(n,l){if(Object.keys(n).length!==Object.keys(l).length)return!1;for(const r in n)if(!W3(n[r],l[r]))return!1;return!0}function W3(n,l){return Yn(n)?G2(n,l):Yn(l)?G2(l,n):n===l}function G2(n,l){return Yn(l)?n.length===l.length&&n.every((r,h)=>r===l[h]):n.length===1&&n[0]===l}function X3(n,l){if(n.startsWith("/"))return n;if(!n)return l;const r=l.split("/"),h=n.split("/"),u=h[h.length-1];(u===".."||u===".")&&h.push("");let g=r.length-1,v,b;for(v=0;v<h.length;v++)if(b=h[v],b!==".")if(b==="..")g>1&&g--;else break;return r.slice(0,g).join("/")+"/"+h.slice(v-(v===h.length?1:0)).join("/")}var Yo;(function(n){n.pop="pop",n.push="push"})(Yo||(Yo={}));var Po;(function(n){n.back="back",n.forward="forward",n.unknown=""})(Po||(Po={}));function q3(n){if(!n)if(Dr){const l=document.querySelector("base");n=l&&l.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),E3(n)}const Y3=/^[^#]+#/;function G3(n,l){return n.replace(Y3,"#")+l}function U3(n,l){const r=document.documentElement.getBoundingClientRect(),h=n.getBoundingClientRect();return{behavior:l.behavior,left:h.left-r.left-(l.left||0),top:h.top-r.top-(l.top||0)}}const Na=()=>({left:window.pageXOffset,top:window.pageYOffset});function Z3(n){let l;if("el"in n){const r=n.el,h=typeof r=="string"&&r.startsWith("#"),u=typeof r=="string"?h?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!u)return;l=U3(u,n)}else l=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(l):window.scrollTo(l.left!=null?l.left:window.pageXOffset,l.top!=null?l.top:window.pageYOffset)}function U2(n,l){return(history.state?history.state.position-l:-1)+n}const Zi=new Map;function K3(n,l){Zi.set(n,l)}function Q3(n){const l=Zi.get(n);return Zi.delete(n),l}let J3=()=>location.protocol+"//"+location.host;function tu(n,l){const{pathname:r,search:h,hash:u}=l,g=n.indexOf("#");if(g>-1){let b=u.includes(n.slice(g))?n.slice(g).length:1,z=u.slice(b);return z[0]!=="/"&&(z="/"+z),Y2(z,"")}return Y2(r,n)+h+u}function tf(n,l,r,h){let u=[],g=[],v=null;const b=({state:B})=>{const P=tu(n,location),D=r.value,E=l.value;let Y=0;if(B){if(r.value=P,l.value=B,v&&v===D){v=null;return}Y=E?B.position-E.position:0}else h(P);u.forEach(O=>{O(r.value,D,{delta:Y,type:Yo.pop,direction:Y?Y>0?Po.forward:Po.back:Po.unknown})})};function z(){v=r.value}function C(B){u.push(B);const P=()=>{const D=u.indexOf(B);D>-1&&u.splice(D,1)};return g.push(P),P}function S(){const{history:B}=window;B.state&&B.replaceState(we({},B.state,{scroll:Na()}),"")}function A(){for(const B of g)B();g=[],window.removeEventListener("popstate",b),window.removeEventListener("beforeunload",S)}return window.addEventListener("popstate",b),window.addEventListener("beforeunload",S,{passive:!0}),{pauseListeners:z,listen:C,destroy:A}}function Z2(n,l,r,h=!1,u=!1){return{back:n,current:l,forward:r,replaced:h,position:window.history.length,scroll:u?Na():null}}function ef(n){const{history:l,location:r}=window,h={value:tu(n,r)},u={value:l.state};u.value||g(h.value,{back:null,current:h.value,forward:null,position:l.length-1,replaced:!0,scroll:null},!0);function g(z,C,S){const A=n.indexOf("#"),B=A>-1?(r.host&&document.querySelector("base")?n:n.slice(A))+z:J3()+n+z;try{l[S?"replaceState":"pushState"](C,"",B),u.value=C}catch(P){console.error(P),r[S?"replace":"assign"](B)}}function v(z,C){const S=we({},l.state,Z2(u.value.back,z,u.value.forward,!0),C,{position:u.value.position});g(z,S,!0),h.value=z}function b(z,C){const S=we({},u.value,l.state,{forward:z,scroll:Na()});g(S.current,S,!0);const A=we({},Z2(h.value,z,null),{position:S.position+1},C);g(z,A,!1),h.value=z}return{location:h,state:u,push:b,replace:v}}function nf(n){n=q3(n);const l=ef(n),r=tf(n,l.state,l.location,l.replace);function h(g,v=!0){v||r.pauseListeners(),history.go(g)}const u=we({location:"",base:n,go:h,createHref:G3.bind(null,n)},l,r);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>l.location.value}),Object.defineProperty(u,"state",{enumerLine truncated
|
||||
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function pl(n){const{h:l,s:r,v:h,a:u}=n,g=b=>{const z=(b+l/60)%6;return h-h*r*Math.max(Math.min(z,4-z,1),0)},v=[g(5),g(3),g(1)].map(b=>Math.round(b*255));return{r:v[0],g:v[1],b:v[2],a:u}}function A1(n){return pl(zh(n))}function ja(n){if(!n)return{h:0,s:1,v:1,a:1};const l=n.r/255,r=n.g/255,h=n.b/255,u=Math.max(l,r,h),g=Math.min(l,r,h);let v=0;u!==g&&(u===l?v=60*(0+(r-h)/(u-g)):u===r?v=60*(2+(h-l)/(u-g)):u===h&&(v=60*(4+(l-r)/(u-g)))),v<0&&(v=v+360);const b=u===0?0:(u-g)/u,z=[v,b,u];return{h:z[0],s:z[1],v:z[2],a:n.a}}function zu(n){const{h:l,s:r,v:h,a:u}=n,g=h-h*r/2,v=g===1||g===0?0:(h-g)/Math.min(g,1-g);return{h:l,s:v,l:g,a:u}}function zh(n){const{h:l,s:r,l:h,a:u}=n,g=h+r*Math.min(h,1-h),v=g===0?0:2-2*h/g;return{h:l,s:v,v:g,a:u}}function Iu(n){let{r:l,g:r,b:h,a:u}=n;return u===void 0?`rgb(${l}, ${r}, ${h})`:`rgba(${l}, ${r}, ${h}, ${u})`}function yu(n){return Iu(pl(n))}function Os(n){const l=Math.round(n).toString(16);return("00".substr(0,2-l.length)+l).toUpperCase()}function Cu(n){let{r:l,g:r,b:h,a:u}=n;return`#${[Os(l),Os(r),Os(h),u!==void 0?Os(Math.round(u*255)):""].join("")}`}function Su(n){n=y5(n);let[l,r,h,u]=l5(n,2).map(g=>parseInt(g,16));return u=u===void 0?u:u/255,{r:l,g:r,b:h,a:u}}function I5(n){const l=Su(n);return ja(l)}function $u(n){return Cu(pl(n))}function y5(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(l=>l+l).join("")),n.length!==6&&(n=p1(p1(n,6),8,"F")),n}function C5(n,l){const r=bu(xh(n));return r[0]=r[0]+l*10,xu(Mu(r))}function S5(n,l){const r=bu(xh(n));return r[0]=r[0]-l*10,xu(Mu(r))}function o0(n){const l=_n(n);return xh(l)[1]}function $5(n,l){const r=o0(n),h=o0(l),u=Math.max(r,h),g=Math.min(r,h);return(u+.05)/(g+.05)}function Au(n){const l=Math.abs(C1(_n(0),_n(n)));return Math.abs(C1(_n(16777215),_n(n)))>Math.min(l,50)?"#fff":"#000"}function mt(n,l){return r=>Object.keys(n).reduce((h,u)=>{const v=typeof n[u]=="object"&&n[u]!=null&&!Array.isArray(n[u])?n[u]:{type:n[u]};return r&&u in r?h[u]={...v,default:r[u]}:h[u]=v,l&&!h[u].source&&(h[u].source=l),h},{})}const Wt=mt({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function Pn(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=mt(n.props??{},n.name)();const l=Object.keys(n.props);n.filterProps=function(h){return pr(h,l,["class","style"])},n.props._as=String,n.setup=function(h,u){const g=Ch();if(!g.value)return n._setup(h,u);const{props:v,provideSubDefaults:b}=D5(h,h._as??n.name,g),z=n._setup(v,u);return b(),z}}return n}function At(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return l=>(n?Pn:mr)(l)}function Gn(n){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return At()({name:r??fl(In(n.replace(/__/g,"-"))),props:{tag:{type:String,default:l},...Wt()},setup(h,u){let{slots:g}=u;return()=>{var v;return Hn(h.tag,{class:[n,h.class],style:h.style},(v=g.default)==null?void 0:v.call(g))}}})}function Bu(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const l=n.getRootNode();return l!==document&&l.getRootNode({composed:!0})!==document?null:l}const Uo="cubic-bezier(0.4, 0, 0.2, 1)",A5="cubic-bezier(0.0, 0, 0.2, 1)",B5="cubic-bezier(0.4, 0, 1, 1)";function We(n,l){const r=nl();if(!r)throw new Error(`[Vuetify] ${n} ${l||"must be called from inside a setup function"}`);return r}function kl(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const l=We(n).type;return ir((l==null?void 0:l.aliasName)||(l==null?void 0:l.name))}let Hu=0,qs=new WeakMap;function on(){const n=We("getUid");if(qs.has(n))return qs.get(n);{const l=Hu++;return qs.set(n,l),l}}on.reset=()=>{Hu=0,qs=new WeakMap};function Ih(n){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(l?H5(n):yh(n))return n;n=n.parentElement}return document.scrollingElement}function ra(n,l){const r=[];if(l&&n&&!l.contains(n))return r;for(;n&&(yh(n)&&r.push(n),n!==l);)n=n.parentElement;return r}function yh(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const l=window.getComputedStyle(n);return l.overflowY==="scroll"||l.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function H5(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const l=window.getComputedStyle(n);return["scroll","auto"].includes(l.overflowY)}function N5(n){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:We("injectSelf");const{provides:r}=l;if(r&&n in r)return r[n]}function j5(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Lt(n){const l=We("useRender");l.render=n}const Zr=Symbol.for("vuetify:defaults");function P5(n){return Pt(n)}function Ch(){const n=he(Zr);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function Fe(n,l){const r=Ch(),h=Pt(n),u=X(
Line truncated
|
||||
`,...r.map(h=>` ${h};
|
||||
`),`}
|
||||
@@ -713,4 +713,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
||||
|
||||
.apexcharts-rangebar-goals-markers{
|
||||
pointer-events: none
|
||||
}`,p?c.prepend(s.css):w.head.appendChild(s.css))}var k=s.create(s.w.config.series,{});if(!k)return a(s);s.mount(k).then(function(){typeof s.w.config.chart.events.mounted=="function"&&s.w.config.chart.events.mounted(s,s.w),s.events.fireEvent("mounted",[s,s.w]),a(k)}).catch(function(M){i(M)})}else i(new Error("Element not found"))})}},{key:"create",value:function(s,a){var i=this.w;new l2(this).initModules();var d=this.w.globals;if(d.noData=!1,d.animationEnded=!1,this.responsive.checkResponsiveConfig(a),i.config.xaxis.convertedCatToNumeric&&new gt(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),d.svgWidth===0))return d.animationEnded=!0,null;var c=tt.checkComboSeries(s);d.comboCharts=c.comboCharts,d.comboBarCount=c.comboBarCount;var p=s.every(function(M){return M.data&&M.data.length===0});(s.length===0||p)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(s),this.theme.init(),new Kt(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),d.noData&&d.collapsedSeries.length!==d.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),d.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new tt(this).getLargestMarkerSize(),this.dimensions.plotCoords();var w=this.core.xySettings();this.grid.createGridMask();var f=this.core.plotChartType(s,w),k=new Rt(this);return k.bringForward(),i.config.dataLabels.background.enabled&&k.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:f,xyRatios:w,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var s=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,d=i.w;return new Promise(function(c,p){if(i.el===null)return p(new Error("Not enough data to display or target element not found"));(a===null||d.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new ft(i);var w,f,k=i.grid.drawGrid();if(i.annotations=new ht(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),d.config.grid.position==="back"&&(k&&d.globals.dom.elGraphical.add(k.el),k!=null&&(w=k.elGridBorders)!==null&&w!==void 0&&w.node&&d.globals.dom.elGraphical.add(k.elGridBorders)),Array.isArray(a.elGraph))for(var M=0;M<a.elGraph.length;M++)d.globals.dom.elGraphical.add(a.elGraph[M]);else d.globals.dom.elGraphical.add(a.elGraph);d.config.grid.position==="front"&&(k&&d.globals.dom.elGraphical.add(k.el),k!=null&&(f=k.elGridBorders)!==null&&f!==void 0&&f.node&&d.globals.dom.elGraphical.add(k.elGridBorders)),d.config.xaxis.crosshairs.position==="front"&&i.crosshairs.drawXCrosshairs(),d.config.yaxis[0].crosshairs.position==="front"&&i.crosshairs.drawYCrosshairs(),d.config.chart.type!=="treemap"&&i.axes.drawAxis(d.config.chart.type,k);var x=new bt(s.ctx,k),I=new at(s.ctx,k);if(k!==null&&(x.xAxisLabelCorrections(k.xAxisTickWidth),I.setYAxisTextAlignments(),d.config.yaxis.map(function(N,L){d.globals.ignoreYAxisIndexes.indexOf(L)===-1&&I.yAxisTitleRotate(L,N.opposite)})),i.annotations.drawAxesAnnotations(),!d.globals.noData){if(d.config.tooltip.enabled&&!d.globals.noData&&i.w.globals.tooltip.drawTooltip(a.xyRatios),d.globals.axisCharts&&(d.globals.isXNumeric||d.config.xaxis.convertedCatToNumeric||d.globals.isRangeBar))(d.config.chart.zoom.enabled||d.config.chart.selection&&d.config.chart.selection.enabled||d.config.chart.pan&&d.config.chart.pan.enabled)&&i.zoomPanSelection.init({xyRatios:a.xyRatios});else{var $=d.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(N){$[N]=!1})}d.config.chart.toolbar.show&&!d.globals.allSeriesCollapsed&&i.toolbar.createToolbar()}d.globals.memory.methodsToExec.length>0&&d.globals.memory.methodsToExec.forEach(function(N){N.method(N.params,!1,N.context)}),d.globals.axisCharts||d.globals.noData||i.core.resizeNonAxisCharts(),c(i)})}},{key:"destroy",value:function(){var s,a;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,s=this.parentResizeHandler,(a=ti.get(s))&&(a.disconnect(),ti.delete(s));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(d,c){d.id===H.escapeString(i)&&Apex._chartInstances.splice(c,1)}),new r2(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(s){var a=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],p=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],w=this.w;return w.globals.selection=void 0,s.series&&(this.series.resetSeries(!1,!0,!1),s.series.length&&s.
Line truncated
|
||||
}`,p?c.prepend(s.css):w.head.appendChild(s.css))}var k=s.create(s.w.config.series,{});if(!k)return a(s);s.mount(k).then(function(){typeof s.w.config.chart.events.mounted=="function"&&s.w.config.chart.events.mounted(s,s.w),s.events.fireEvent("mounted",[s,s.w]),a(k)}).catch(function(M){i(M)})}else i(new Error("Element not found"))})}},{key:"create",value:function(s,a){var i=this.w;new l2(this).initModules();var d=this.w.globals;if(d.noData=!1,d.animationEnded=!1,this.responsive.checkResponsiveConfig(a),i.config.xaxis.convertedCatToNumeric&&new gt(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.el===null||(this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),d.svgWidth===0))return d.animationEnded=!0,null;var c=tt.checkComboSeries(s);d.comboCharts=c.comboCharts,d.comboBarCount=c.comboBarCount;var p=s.every(function(M){return M.data&&M.data.length===0});(s.length===0||p)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(s),this.theme.init(),new Kt(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),d.noData&&d.collapsedSeries.length!==d.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),d.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new tt(this).getLargestMarkerSize(),this.dimensions.plotCoords();var w=this.core.xySettings();this.grid.createGridMask();var f=this.core.plotChartType(s,w),k=new Rt(this);return k.bringForward(),i.config.dataLabels.background.enabled&&k.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:f,xyRatios:w,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var s=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,d=i.w;return new Promise(function(c,p){if(i.el===null)return p(new Error("Not enough data to display or target element not found"));(a===null||d.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new ft(i);var w,f,k=i.grid.drawGrid();if(i.annotations=new ht(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),d.config.grid.position==="back"&&(k&&d.globals.dom.elGraphical.add(k.el),k!=null&&(w=k.elGridBorders)!==null&&w!==void 0&&w.node&&d.globals.dom.elGraphical.add(k.elGridBorders)),Array.isArray(a.elGraph))for(var M=0;M<a.elGraph.length;M++)d.globals.dom.elGraphical.add(a.elGraph[M]);else d.globals.dom.elGraphical.add(a.elGraph);d.config.grid.position==="front"&&(k&&d.globals.dom.elGraphical.add(k.el),k!=null&&(f=k.elGridBorders)!==null&&f!==void 0&&f.node&&d.globals.dom.elGraphical.add(k.elGridBorders)),d.config.xaxis.crosshairs.position==="front"&&i.crosshairs.drawXCrosshairs(),d.config.yaxis[0].crosshairs.position==="front"&&i.crosshairs.drawYCrosshairs(),d.config.chart.type!=="treemap"&&i.axes.drawAxis(d.config.chart.type,k);var x=new bt(s.ctx,k),I=new at(s.ctx,k);if(k!==null&&(x.xAxisLabelCorrections(k.xAxisTickWidth),I.setYAxisTextAlignments(),d.config.yaxis.map(function(N,L){d.globals.ignoreYAxisIndexes.indexOf(L)===-1&&I.yAxisTitleRotate(L,N.opposite)})),i.annotations.drawAxesAnnotations(),!d.globals.noData){if(d.config.tooltip.enabled&&!d.globals.noData&&i.w.globals.tooltip.drawTooltip(a.xyRatios),d.globals.axisCharts&&(d.globals.isXNumeric||d.config.xaxis.convertedCatToNumeric||d.globals.isRangeBar))(d.config.chart.zoom.enabled||d.config.chart.selection&&d.config.chart.selection.enabled||d.config.chart.pan&&d.config.chart.pan.enabled)&&i.zoomPanSelection.init({xyRatios:a.xyRatios});else{var $=d.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach(function(N){$[N]=!1})}d.config.chart.toolbar.show&&!d.globals.allSeriesCollapsed&&i.toolbar.createToolbar()}d.globals.memory.methodsToExec.length>0&&d.globals.memory.methodsToExec.forEach(function(N){N.method(N.params,!1,N.context)}),d.globals.axisCharts||d.globals.noData||i.core.resizeNonAxisCharts(),c(i)})}},{key:"destroy",value:function(){var s,a;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,s=this.parentResizeHandler,(a=ti.get(s))&&(a.disconnect(),ti.delete(s));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(d,c){d.id===H.escapeString(i)&&Apex._chartInstances.splice(c,1)}),new r2(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(s){var a=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],d=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],c=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],p=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],w=this.w;return w.globals.selection=void 0,s.series&&(this.series.resetSeries(!1,!0,!1),s.series.length&&s.
Line truncated
|
||||
Vendored
+1
-1
@@ -11,7 +11,7 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap"
|
||||
/>
|
||||
<title>AstrBot - 仪表盘</title>
|
||||
<script type="module" crossorigin src="/assets/index-78c50a9e.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-96c19dfb.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-0f1523f3.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -120,98 +120,6 @@ class DashBoardHelper():
|
||||
)
|
||||
]
|
||||
)
|
||||
'''
|
||||
{
|
||||
"qq_forward_threshold": 200,
|
||||
"qq_welcome": "欢迎加入本群!\n欢迎给https://github.com/Soulter/QQChannelChatGPT项目一个Star😊~\n输入help查看帮助~\n",
|
||||
"bing_proxy": "",
|
||||
"qq_pic_mode": false,
|
||||
"rev_chatgpt_model": "",
|
||||
"rev_chatgpt_plugin_ids": [],
|
||||
"rev_chatgpt_PUID": "",
|
||||
"rev_chatgpt_unverified_plugin_domains": [],
|
||||
"gocq_host": "127.0.0.1",
|
||||
"gocq_http_port": 5700,
|
||||
"gocq_websocket_port": 6700,
|
||||
"gocq_react_group": true,
|
||||
"gocq_react_guild": true,
|
||||
"gocq_react_friend": true,
|
||||
"gocq_react_group_increase": true,
|
||||
"gocq_qqchan_admin": "",
|
||||
"other_admins": [],
|
||||
"CHATGPT_BASE_URL": "",
|
||||
"qqbot_appid": "",
|
||||
"qqbot_secret": "",
|
||||
"llm_env_prompt": "> hint: 末尾根据内容和心情添加 1-2 个emoji",
|
||||
"default_personality_str": "",
|
||||
"openai_image_generate": {
|
||||
"model": "dall-e-3",
|
||||
"size": "1024x1024",
|
||||
"style": "vivid",
|
||||
"quality": "standard"
|
||||
},
|
||||
"http_proxy": "",
|
||||
"https_proxy": "",
|
||||
"qqbot": {
|
||||
"enable": true,
|
||||
"appid": "102041113",
|
||||
"token": "JNni9hqaLM0rhwmocCE1F3Q8l8gW2r70"
|
||||
},
|
||||
"gocqbot": {
|
||||
"enable": false
|
||||
},
|
||||
"uniqueSessionMode": false,
|
||||
"version": 3.0,
|
||||
"dump_history_interval": 10,
|
||||
"limit": {
|
||||
"time": 60,
|
||||
"count": 5
|
||||
},
|
||||
"notice": "此机器人由Github项目QQChannelChatGPT驱动。",
|
||||
"direct_message_mode": true,
|
||||
"reply_prefix": {
|
||||
"openai_official": "[GPT]",
|
||||
"rev_chatgpt": "[Rev]",
|
||||
"rev_edgegpt": "[RevBing]"
|
||||
},
|
||||
"baidu_aip": {
|
||||
"enable": false,
|
||||
"app_id": null,
|
||||
"api_key": null,
|
||||
"secret_key": null
|
||||
},
|
||||
"openai": {
|
||||
"key": [
|
||||
null
|
||||
],
|
||||
"api_base": "none",
|
||||
"chatGPTConfigs": {
|
||||
"model": "gpt-3.5-turbo",
|
||||
"max_tokens": 3000,
|
||||
"temperature": 0.9,
|
||||
"top_p": 1,
|
||||
"frequency_penalty": 0,
|
||||
"presence_penalty": 0
|
||||
},
|
||||
"total_tokens_limit": 5000
|
||||
},
|
||||
"rev_ernie": {
|
||||
"enable": false
|
||||
},
|
||||
"rev_edgegpt": {
|
||||
"enable": false
|
||||
},
|
||||
"rev_ChatGPT": {
|
||||
"enable": false,
|
||||
"account": [
|
||||
{
|
||||
"access_token": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"proxy": ""
|
||||
}
|
||||
'''
|
||||
general_platform_detail_group = DashBoardConfig(
|
||||
config_type="group",
|
||||
name="通用平台配置",
|
||||
|
||||
@@ -10,6 +10,7 @@ import time
|
||||
|
||||
def run_monitor(global_object: GlobalObject):
|
||||
'''运行监测'''
|
||||
start_time = time.time()
|
||||
while True:
|
||||
stat = global_object.dashboard_data.stats
|
||||
# 程序占用的内存大小
|
||||
@@ -18,4 +19,5 @@ def run_monitor(global_object: GlobalObject):
|
||||
'memory': mem,
|
||||
'cpu': psutil.cpu_percent()
|
||||
}
|
||||
stat['sys_start_time'] = start_time
|
||||
time.sleep(30)
|
||||
Reference in new issue
Block a user