mirror of
https://github.com/silenty4ng/k5web
synced 2024-11-14 14:33:23 +00:00
update
This commit is contained in:
parent
f959339655
commit
5554365d7d
27
assets/default-layout.1fb6959a.js
Normal file
27
assets/default-layout.1fb6959a.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/default-layout.1fb6959a.js.gz
Normal file
BIN
assets/default-layout.1fb6959a.js.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
assets/default-layout.6f20e6ed.css.gz
Normal file
BIN
assets/default-layout.6f20e6ed.css.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
import{d as c,C as r,aE as f,aH as a,aI as e,aM as _,aN as o,u as n,bw as x,bx as v,bl as b,bC as h,bD as y,bE as B,D as C,G as u}from"./arco.d4fda7ae.js";import{e as D,_ as d}from"./index.26f026e1.js";/* empty css *//* empty css */import"./chart.2986432a.js";import"./vue.207f026c.js";const E=c({__name:"banner",setup(i){const t=D();return(p,V)=>{const l=b,s=h,m=y,F=B;return r(),f(s,{class:"banner"},{default:a(()=>[e(s,null,{default:a(()=>[e(l,{heading:5,style:{"margin-top":"0"}},{default:a(()=>[_(o(n(t).connectState?"\u6B22\u8FCE\u4F60~\uFF0C\u8FDE\u63A5\u6210\u529F\uFF01":"\u6B22\u8FCE\u4F60~\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002"),1)]),_:1})]),_:1}),e(m,{class:"panel-border"}),x(e(F,{style:{width:"360px",marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:a(()=>[_(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+o(n(t).firmwareVersion),1)]),_:1},512),[[v,n(t).connectState]])]),_:1})}}});const g=d(E,[["__scopeId","data-v-b2ed6855"]]),A={class:"container"},w={class:"left-side"},S={class:"panel"},N={name:"Dashboard"},T=c({...N,setup(i){return(t,p)=>(r(),C("div",A,[u("div",w,[u("div",S,[e(g)])])]))}});const j=d(T,[["__scopeId","data-v-8f743d99"]]);export{j as default};
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
assets/index.425d0526.js.gz
Normal file
BIN
assets/index.425d0526.js.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
import{_ as n}from"./index.26f026e1.js";import{d as c,bB as _,aX as r,D as d,aI as e,G as p,aH as i,C as u,aM as l}from"./arco.d4fda7ae.js";import{f as m}from"./vue.207f026c.js";import"./chart.2986432a.js";const b={class:"content"},f={class:"operation-row"},x=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,a=r;return u(),d("div",b,[e(s,{class:"result",status:"404",subtitle:"not found"}),p("div",f,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" back ")]),_:1})])])}}});const V=n(x,[["__scopeId","data-v-018ad3bb"]]);export{V as default};
|
||||
import{_ as n}from"./index.425d0526.js";import{d as c,bB as _,aX as r,D as d,aI as e,G as p,aH as i,C as u,aM as l}from"./arco.d4fda7ae.js";import{f as m}from"./vue.207f026c.js";import"./chart.2986432a.js";const b={class:"content"},f={class:"operation-row"},x=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,a=r;return u(),d("div",b,[e(s,{class:"result",status:"404",subtitle:"not found"}),p("div",f,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" back ")]),_:1})])])}}});const V=n(x,[["__scopeId","data-v-018ad3bb"]]);export{V as default};
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +1 @@
|
||||
import{f as L,d as S,c as D,C as i,D as p,G as a,aI as e,aH as t,aK as R,aJ as E,b4 as W,aE as j,aN as r,b5 as z,r as A,u as C,aM as v,aW as G,b6 as H,b7 as J,b8 as K,b9 as Q,ba as T,aX as X,bb as O,bc as Y,bd as Z,be as ee}from"./arco.d4fda7ae.js";import{F as oe}from"./index.7a354f4a.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.26f026e1.js";/* empty css */import{f as te,g as re}from"./vue.207f026c.js";import"./chart.2986432a.js";function le(l=!1){const o=L(l);return{loading:o,setLoading:_=>{o.value=_},toggle:()=>{o.value=!o.value}}}const x="/assets/login-banner.426fb77f.png",ce={class:"banner"},ie={class:"banner-inner"},de={class:"carousel-title"},_e={class:"carousel-sub-title"},ue=["src"],me=S({__name:"banner",setup(l){const{t:o}=V.exports.useI18n(),d=D(()=>[{slogan:o("login.banner.slogan1"),subSlogan:o("login.banner.subSlogan1"),image:x},{slogan:o("login.banner.slogan2"),subSlogan:o("login.banner.subSlogan2"),image:x},{slogan:o("login.banner.slogan3"),subSlogan:o("login.banner.subSlogan3"),image:x}]);return(f,_)=>{const b=z,h=W;return i(),p("div",ce,[a("div",ie,[e(h,{class:"carousel","animation-name":"fade"},{default:t(()=>[(i(!0),p(R,null,E(d.value,n=>(i(),j(b,{key:n.slogan},{default:t(()=>[(i(),p("div",{key:n.slogan,class:"carousel-item"},[a("div",de,r(n.slogan),1),a("div",_e,r(n.subSlogan),1),a("img",{class:"carousel-image",src:n.image},null,8,ue)]))]),_:2},1024))),128))]),_:1})])])}}});const ge=k(me,[["__scopeId","data-v-2ce84fe6"]]),pe={class:"login-form-wrapper"},fe={class:"login-form-title"},be={class:"login-form-sub-title"},ve={class:"login-form-error-msg"},he={class:"login-form-password-actions"},we=S({__name:"login-form",setup(l){const o=te(),{t:d}=V.exports.useI18n(),f=L(""),{loading:_,setLoading:b}=le(),h=se(),n=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),u=A({username:n.value.username,password:n.value.password}),F=async({errors:s,values:c})=>{if(!_.value&&!s){b(!0);try{await h.login(c);const{redirect:m,...w}=o.currentRoute.value.query;o.push({name:m||"Workplace",query:{...w}}),G.success(d("login.form.login.success"));const{rememberPassword:g}=n.value,{username:$,password:y}=c;n.value.username=g?$:"",n.value.password=g?y:""}catch(m){f.value=m.message}finally{b(!1)}}},B=s=>{n.value.rememberPassword=s};return(s,c)=>{const m=ae,w=H,g=J,$=ne,y=K,N=Q,M=T,P=X,q=O,U=Y;return i(),p("div",pe,[a("div",fe,r(s.$t("login.form.title")),1),a("div",be,r(s.$t("login.form.title")),1),a("div",ve,r(f.value),1),e(U,{ref:"loginForm",model:u,class:"login-form",layout:"vertical",onSubmit:F},{default:t(()=>[e(g,{field:"username",rules:[{required:!0,message:s.$t("login.form.userName.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:t(()=>[e(w,{modelValue:u.username,"onUpdate:modelValue":c[0]||(c[0]=I=>u.username=I),placeholder:s.$t("login.form.userName.placeholder")},{prefix:t(()=>[e(m)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(g,{field:"password",rules:[{required:!0,message:s.$t("login.form.password.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:t(()=>[e(y,{modelValue:u.password,"onUpdate:modelValue":c[1]||(c[1]=I=>u.password=I),placeholder:s.$t("login.form.password.placeholder"),"allow-clear":""},{prefix:t(()=>[e($)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(q,{size:16,direction:"vertical"},{default:t(()=>[a("div",he,[e(N,{checked:"rememberPassword","model-value":C(n).rememberPassword,onChange:B},{default:t(()=>[v(r(s.$t("login.form.rememberPassword")),1)]),_:1},8,["model-value","onChange"]),e(M,null,{default:t(()=>[v(r(s.$t("login.form.forgetPassword")),1)]),_:1})]),e(P,{type:"primary","html-type":"submit",long:"",loading:C(_)},{default:t(()=>[v(r(s.$t("login.form.login")),1)]),_:1},8,["loading"]),e(P,{type:"text",long:"",class:"login-form-register-btn"},{default:t(()=>[v(r(s.$t("login.form.register")),1)]),_:1})]),_:1})]),_:1},8,["model"])])}}});const $e=k(we,[["__scopeId","data-v-0c627d4f"]]),ye=l=>(Z("data-v-7183afbd"),l=l(),ee(),l),Ie={class:"container"},xe=ye(()=>a("div",{class:"logo"},[a("img",{alt:"logo",src:"//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image"}),a("div",{class:"logo-text"},"Arco Design Pro")],-1)),Se={class:"content"},ke={class:"content-inner"},Pe={class:"footer"},Ce=S({__name:"index",setup(l){return(o,d)=>(i(),p("div",Ie,[xe,e(ge),a("div",Se,[a("div",ke,[e($e)]),a("div",Pe,[e(oe)])])]))}});const qe=k(Ce,[["__scopeId","data-v-7183afbd"]]);export{qe as default};
|
||||
import{f as L,d as S,c as D,C as i,D as p,G as a,aI as e,aH as t,aK as R,aJ as E,b4 as W,aE as j,aN as r,b5 as z,r as A,u as C,aM as v,aW as G,b6 as H,b7 as J,b8 as K,b9 as Q,ba as T,aX as X,bb as O,bc as Y,bd as Z,be as ee}from"./arco.d4fda7ae.js";import{F as oe}from"./index.e6451188.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.425d0526.js";/* empty css */import{f as te,g as re}from"./vue.207f026c.js";import"./chart.2986432a.js";function le(l=!1){const o=L(l);return{loading:o,setLoading:_=>{o.value=_},toggle:()=>{o.value=!o.value}}}const x="/assets/login-banner.426fb77f.png",ce={class:"banner"},ie={class:"banner-inner"},de={class:"carousel-title"},_e={class:"carousel-sub-title"},ue=["src"],me=S({__name:"banner",setup(l){const{t:o}=V.exports.useI18n(),d=D(()=>[{slogan:o("login.banner.slogan1"),subSlogan:o("login.banner.subSlogan1"),image:x},{slogan:o("login.banner.slogan2"),subSlogan:o("login.banner.subSlogan2"),image:x},{slogan:o("login.banner.slogan3"),subSlogan:o("login.banner.subSlogan3"),image:x}]);return(f,_)=>{const b=z,h=W;return i(),p("div",ce,[a("div",ie,[e(h,{class:"carousel","animation-name":"fade"},{default:t(()=>[(i(!0),p(R,null,E(d.value,n=>(i(),j(b,{key:n.slogan},{default:t(()=>[(i(),p("div",{key:n.slogan,class:"carousel-item"},[a("div",de,r(n.slogan),1),a("div",_e,r(n.subSlogan),1),a("img",{class:"carousel-image",src:n.image},null,8,ue)]))]),_:2},1024))),128))]),_:1})])])}}});const ge=k(me,[["__scopeId","data-v-2ce84fe6"]]),pe={class:"login-form-wrapper"},fe={class:"login-form-title"},be={class:"login-form-sub-title"},ve={class:"login-form-error-msg"},he={class:"login-form-password-actions"},we=S({__name:"login-form",setup(l){const o=te(),{t:d}=V.exports.useI18n(),f=L(""),{loading:_,setLoading:b}=le(),h=se(),n=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),u=A({username:n.value.username,password:n.value.password}),F=async({errors:s,values:c})=>{if(!_.value&&!s){b(!0);try{await h.login(c);const{redirect:m,...w}=o.currentRoute.value.query;o.push({name:m||"Workplace",query:{...w}}),G.success(d("login.form.login.success"));const{rememberPassword:g}=n.value,{username:$,password:y}=c;n.value.username=g?$:"",n.value.password=g?y:""}catch(m){f.value=m.message}finally{b(!1)}}},B=s=>{n.value.rememberPassword=s};return(s,c)=>{const m=ae,w=H,g=J,$=ne,y=K,N=Q,M=T,P=X,q=O,U=Y;return i(),p("div",pe,[a("div",fe,r(s.$t("login.form.title")),1),a("div",be,r(s.$t("login.form.title")),1),a("div",ve,r(f.value),1),e(U,{ref:"loginForm",model:u,class:"login-form",layout:"vertical",onSubmit:F},{default:t(()=>[e(g,{field:"username",rules:[{required:!0,message:s.$t("login.form.userName.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:t(()=>[e(w,{modelValue:u.username,"onUpdate:modelValue":c[0]||(c[0]=I=>u.username=I),placeholder:s.$t("login.form.userName.placeholder")},{prefix:t(()=>[e(m)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(g,{field:"password",rules:[{required:!0,message:s.$t("login.form.password.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:t(()=>[e(y,{modelValue:u.password,"onUpdate:modelValue":c[1]||(c[1]=I=>u.password=I),placeholder:s.$t("login.form.password.placeholder"),"allow-clear":""},{prefix:t(()=>[e($)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(q,{size:16,direction:"vertical"},{default:t(()=>[a("div",he,[e(N,{checked:"rememberPassword","model-value":C(n).rememberPassword,onChange:B},{default:t(()=>[v(r(s.$t("login.form.rememberPassword")),1)]),_:1},8,["model-value","onChange"]),e(M,null,{default:t(()=>[v(r(s.$t("login.form.forgetPassword")),1)]),_:1})]),e(P,{type:"primary","html-type":"submit",long:"",loading:C(_)},{default:t(()=>[v(r(s.$t("login.form.login")),1)]),_:1},8,["loading"]),e(P,{type:"text",long:"",class:"login-form-register-btn"},{default:t(()=>[v(r(s.$t("login.form.register")),1)]),_:1})]),_:1})]),_:1},8,["model"])])}}});const $e=k(we,[["__scopeId","data-v-0c627d4f"]]),ye=l=>(Z("data-v-7183afbd"),l=l(),ee(),l),Ie={class:"container"},xe=ye(()=>a("div",{class:"logo"},[a("img",{alt:"logo",src:"//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image"}),a("div",{class:"logo-text"},"Arco Design Pro")],-1)),Se={class:"content"},ke={class:"content-inner"},Pe={class:"footer"},Ce=S({__name:"index",setup(l){return(o,d)=>(i(),p("div",Ie,[xe,e(ge),a("div",Se,[a("div",ke,[e($e)]),a("div",Pe,[e(oe)])])]))}});const qe=k(Ce,[["__scopeId","data-v-7183afbd"]]);export{qe as default};
|
BIN
assets/index.c81a136a.js.gz
Normal file
BIN
assets/index.c81a136a.js.gz
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
import{_ as t}from"./index.26f026e1.js";import{C as a,aE as s,aH as _,bf as c,bd as n,be as d,G as r}from"./arco.d4fda7ae.js";const p={},i=e=>(n("data-v-4da2ee18"),e=e(),d(),e),f=i(()=>r("a",{href:"https://github.com/silenty4ng/k5web",target:"_blank"},"K5Web",-1));function l(e,u){const o=c;return a(),s(o,{class:"footer"},{default:_(()=>[f]),_:1})}const b=t(p,[["render",l],["__scopeId","data-v-4da2ee18"]]);export{b as F};
|
||||
import{_ as t}from"./index.425d0526.js";import{C as a,aE as s,aH as _,bf as c,bd as n,be as d,G as r}from"./arco.d4fda7ae.js";const p={},i=e=>(n("data-v-4da2ee18"),e=e(),d(),e),f=i(()=>r("a",{href:"https://github.com/silenty4ng/k5web",target:"_blank"},"K5Web",-1));function l(e,u){const o=c;return a(),s(o,{class:"footer"},{default:_(()=>[f]),_:1})}const b=t(p,[["render",l],["__scopeId","data-v-4da2ee18"]]);export{b as F};
|
1
assets/index.ec0f03da.js
Normal file
1
assets/index.ec0f03da.js
Normal file
@ -0,0 +1 @@
|
||||
import{d as r,C as i,aE as x,aH as o,aI as a,aM as s,aN as _,u as n,bw as h,bx as v,bl as b,bC as D,bD as y,bE as E,bd as B,be as C,G as u,D as g}from"./arco.d4fda7ae.js";import{e as A,_ as p}from"./index.425d0526.js";/* empty css *//* empty css */import"./chart.2986432a.js";import"./vue.207f026c.js";const S=e=>(B("data-v-7cf03418"),e=e(),C(),e),w=S(()=>u("br",null,null,-1)),I=r({__name:"banner",setup(e){const t=A();return(l,H)=>{const F=b,c=D,m=y,f=E;return i(),x(c,{class:"banner"},{default:o(()=>[a(c,null,{default:o(()=>[a(F,{heading:5,style:{"margin-top":"0"}},{default:o(()=>[s(_(n(t).connectState?"\u6B22\u8FCE\u4F60~\uFF0C\u8FDE\u63A5\u6210\u529F\uFF01":"\u6B22\u8FCE\u4F60~\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002"),1)]),_:1})]),_:1}),a(m,{class:"panel-border"}),h(a(f,{style:{width:"360px",marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:o(()=>{var d;return[s(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+_(n(t).firmwareVersion)+" ",1),w,s(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+_((d=n(t).configuration)==null?void 0:d.name),1)]}),_:1},512),[[v,n(t).connectState]])]),_:1})}}});const $=p(I,[["__scopeId","data-v-7cf03418"]]),N={class:"container"},T={class:"left-side"},V={class:"panel"},k={name:"Dashboard"},G=r({...k,setup(e){return(t,l)=>(i(),g("div",N,[u("div",T,[u("div",V,[a($)])])]))}});const L=p(G,[["__scopeId","data-v-8f743d99"]]);export{L as default};
|
BIN
assets/index.ec0f03da.js.gz
Normal file
BIN
assets/index.ec0f03da.js.gz
Normal file
Binary file not shown.
@ -5,7 +5,7 @@
|
||||
<link rel="shortcut icon" type="image/x-icon" href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>K5Web</title>
|
||||
<script type="module" crossorigin src="/assets/index.26f026e1.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.425d0526.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/arco.d4fda7ae.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/chart.2986432a.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/vue.207f026c.js">
|
||||
|
Loading…
Reference in New Issue
Block a user