mirror of
https://github.com/silenty4ng/k5web
synced 2024-11-13 22:22:22 +00:00
update
This commit is contained in:
parent
b075d76a78
commit
3b5bb9c5d2
BIN
LOSEHU117P6.bin
Normal file
BIN
LOSEHU117P6.bin
Normal file
Binary file not shown.
BIN
LOSEHU117P6K.bin
Normal file
BIN
LOSEHU117P6K.bin
Normal file
Binary file not shown.
49
assets/arco.cd87ac27.js
Normal file
49
assets/arco.cd87ac27.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/arco.cd87ac27.js.gz
Normal file
BIN
assets/arco.cd87ac27.js.gz
Normal file
Binary file not shown.
54
assets/chart.19f3a5b6.js
Normal file
54
assets/chart.19f3a5b6.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/chart.19f3a5b6.js.gz
Normal file
BIN
assets/chart.19f3a5b6.js.gz
Normal file
Binary file not shown.
BIN
assets/cj1.1b825a4f.png
Normal file
BIN
assets/cj1.1b825a4f.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
assets/cj2.b4e01954.png
Normal file
BIN
assets/cj2.b4e01954.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
BIN
assets/cj3.5c1e5f90.png
Normal file
BIN
assets/cj3.5c1e5f90.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
1
assets/default-layout.133cfed7.css
Normal file
1
assets/default-layout.133cfed7.css
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/default-layout.133cfed7.css.gz
Normal file
BIN
assets/default-layout.133cfed7.css.gz
Normal file
Binary file not shown.
27
assets/default-layout.3f21988c.js
Normal file
27
assets/default-layout.3f21988c.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/default-layout.3f21988c.js.gz
Normal file
BIN
assets/default-layout.3f21988c.js.gz
Normal file
Binary file not shown.
1
assets/index.14ec6633.css
Normal file
1
assets/index.14ec6633.css
Normal file
@ -0,0 +1 @@
|
||||
.arco-radio>input[type=radio],.arco-radio-button>input[type=radio]{position:absolute;top:0;left:0;width:0;height:0;opacity:0}.arco-radio>input[type=radio]:focus+.arco-radio-icon-hover:before,.arco-radio-button>input[type=radio]:focus+.arco-radio-icon-hover:before{background-color:var(--color-fill-2)}.arco-icon-hover.arco-radio-icon-hover:before{width:24px;height:24px}.arco-radio{position:relative;display:inline-flex;align-items:center;padding-left:5px;font-size:14px;line-height:unset;cursor:pointer}.arco-radio-label{margin-left:8px;color:var(--color-text-1)}.arco-radio-icon{position:relative;display:block;box-sizing:border-box;width:14px;height:14px;line-height:14px;border:2px solid var(--color-neutral-3);border-radius:var(--border-radius-circle)}.arco-radio-icon:after{position:absolute;top:0;left:0;display:inline-block;box-sizing:border-box;width:10px;height:10px;background-color:var(--color-bg-2);border-radius:var(--border-radius-circle);transform:scale(1);transition:transform .3s cubic-bezier(.3,1.3,.3,1);content:""}.arco-radio:hover .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-checked .arco-radio-icon{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6))}.arco-radio-checked .arco-radio-icon:after{background-color:var(--color-white);transform:scale(.4)}.arco-radio-checked:hover .arco-radio-icon{border-color:rgb(var(--primary-6))}.arco-radio-disabled,.arco-radio-disabled .arco-radio-icon-hover{cursor:not-allowed}.arco-radio-disabled .arco-radio-label{color:var(--color-text-4)}.arco-radio-disabled .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-disabled .arco-radio-icon:after{background-color:var(--color-fill-2)}.arco-radio-disabled:hover .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-checked.arco-radio-disabled .arco-radio-icon,.arco-radio-checked.arco-radio-disabled:hover .arco-radio-icon{background-color:var(--color-primary-light-3);border-color:transparent}.arco-radio-checked.arco-radio-disabled .arco-radio-icon:after{background-color:var(--color-fill-2)}.arco-radio-checked.arco-radio-disabled .arco-radio-label{color:var(--color-text-4)}.arco-radio:hover .arco-radio-icon-hover:before{background-color:var(--color-fill-2)}.arco-radio-group{display:inline-block;box-sizing:border-box}.arco-radio-group .arco-radio{margin-right:20px}.arco-radio-group-button{display:inline-flex;padding:1.5px;line-height:26px;background-color:var(--color-fill-2);border-radius:var(--border-radius-small)}.arco-radio-button{position:relative;display:inline-block;margin:1.5px;color:var(--color-text-2);font-size:14px;line-height:26px;background-color:transparent;border-radius:var(--border-radius-small);cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-radio-button-content{position:relative;display:block;padding:0 12px}.arco-radio-button:not(:first-of-type):before{position:absolute;top:50%;left:-2px;display:block;width:1px;height:14px;background-color:var(--color-neutral-3);transform:translateY(-50%);transition:all .1s cubic-bezier(0,0,1,1);content:""}.arco-radio-button:hover:before,.arco-radio-button:hover+.arco-radio-button:before,.arco-radio-button.arco-radio-checked:before,.arco-radio-button.arco-radio-checked+.arco-radio-button:before{opacity:0}.arco-radio-button:hover{color:var(--color-text-1);background-color:var(--color-bg-5)}.arco-radio-button.arco-radio-checked{color:rgb(var(--primary-6));background-color:var(--color-bg-5)}.arco-radio-button.arco-radio-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-radio-button.arco-radio-disabled.arco-radio-checked{color:var(--color-primary-light-3);background-color:var(--color-bg-5)}.arco-radio-group-size-small{line-height:28px}.arco-radio-group-size-small.arco-radio-group-button,.arco-radio-group-size-small .arco-radio-button{font-size:14px;line-height:22px}.arco-radio-group-size-large{line-height:36px}.arco-radio-group-size-large.arco-radio-group-button,.arco-radio-group-size-large .arco-radio-button{font-size:14px;line-height:30px}.arco-radio-group-size-mini{line-height:24px}.arco-radio-group-size-mini.arco-radio-group-button,.arco-radio-group-size-mini .arco-radio-button{font-size:12px;line-height:18px}.arco-radio-group-direction-vertical .arco-radio{display:flex;margin-right:0;line-height:32px}body[arco-theme=dark] .arco-radio-button.arco-radio-checked,body[arco-theme=dark] .arco-radio-button:not(.arco-radio-disabled):hover{background-color:var(--color-fill-3)}body[arco-theme=dark] .arco-radio-button:after{background-color:var(--color-bg-3)}
|
BIN
assets/index.14ec6633.css.gz
Normal file
BIN
assets/index.14ec6633.css.gz
Normal file
Binary file not shown.
1
assets/index.1ee6a94f.js
Normal file
1
assets/index.1ee6a94f.js
Normal file
@ -0,0 +1 @@
|
||||
import{d as o,D as r,C as a}from"./arco.cd87ac27.js";import{f as s,h as n}from"./vue.a1682e6c.js";const i=o({__name:"index",setup(c){const e=s(),t=n().params.path;return e.replace({path:t}),(u,m)=>(a(),r("div"))}});export{i as default};
|
1
assets/index.27ab35af.css
Normal file
1
assets/index.27ab35af.css
Normal file
@ -0,0 +1 @@
|
||||
.arco-result{box-sizing:border-box;width:100%;padding:32px 32px 24px}.arco-result-icon{margin-bottom:16px;font-size:20px;text-align:center}.arco-result-icon-tip{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:50%;margin:0 auto}.arco-result-icon-custom .arco-result-icon-tip{font-size:45px;color:inherit;width:unset;height:unset}.arco-result-icon-success .arco-result-icon-tip{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.arco-result-icon-error .arco-result-icon-tip{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.arco-result-icon-info .arco-result-icon-tip{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1)}.arco-result-icon-warning .arco-result-icon-tip{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.arco-result-icon-404,.arco-result-icon-403,.arco-result-icon-500{padding-top:24px}.arco-result-icon-404 .arco-result-icon-tip,.arco-result-icon-403 .arco-result-icon-tip,.arco-result-icon-500 .arco-result-icon-tip{width:92px;height:92px;line-height:92px}.arco-result-title{color:var(--color-text-1);font-weight:500;font-size:14px;line-height:1.5715;text-align:center}.arco-result-subtitle{color:var(--color-text-2);font-size:14px;line-height:1.5715;text-align:center}.arco-result-extra{margin-top:20px;text-align:center}.arco-result-content{margin-top:20px}
|
BIN
assets/index.27ab35af.css.gz
Normal file
BIN
assets/index.27ab35af.css.gz
Normal file
Binary file not shown.
15
assets/index.29040ae3.js
Normal file
15
assets/index.29040ae3.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.29040ae3.js.gz
Normal file
BIN
assets/index.29040ae3.js.gz
Normal file
Binary file not shown.
1
assets/index.2c355f7c.css
Normal file
1
assets/index.2c355f7c.css
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.2c355f7c.css.gz
Normal file
BIN
assets/index.2c355f7c.css.gz
Normal file
Binary file not shown.
1
assets/index.32e06a67.css
Normal file
1
assets/index.32e06a67.css
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.32e06a67.css.gz
Normal file
BIN
assets/index.32e06a67.css.gz
Normal file
Binary file not shown.
1
assets/index.348828e6.css
Normal file
1
assets/index.348828e6.css
Normal file
@ -0,0 +1 @@
|
||||
.content[data-v-8bef407f]{position:absolute;top:50%;left:50%;margin-left:-95px;margin-top:-121px;text-align:center}
|
1
assets/index.3ea786d7.css
Normal file
1
assets/index.3ea786d7.css
Normal file
@ -0,0 +1 @@
|
||||
.arco-layout{display:flex;flex:1;flex-direction:column;margin:0;padding:0}.arco-layout-sider{position:relative;flex:none;width:auto;margin:0;padding:0;background:var(--color-menu-dark-bg);transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-layout-sider-children{height:100%;overflow:auto}.arco-layout-sider-collapsed .arco-layout-sider-children::-webkit-scrollbar{width:0}.arco-layout-sider-has-trigger{box-sizing:border-box;padding-bottom:48px}.arco-layout-sider-trigger{z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:48px;color:var(--color-white);background:rgba(255,255,255,.2);cursor:pointer;transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-layout-sider-trigger-light{color:var(--color-text-1);background:var(--color-menu-light-bg);border-top:1px solid var(--color-bg-5)}.arco-layout-sider-light{background:var(--color-menu-light-bg);box-shadow:0 2px 5px #00000014}.arco-layout-header{flex:0 0 auto;box-sizing:border-box;margin:0}.arco-layout-content{flex:1}.arco-layout-footer{flex:0 0 auto;margin:0}.arco-layout-has-sider{flex-direction:row}.arco-layout-has-sider>.arco-layout,.arco-layout-has-sider>.arco-layout-content{overflow-x:hidden}.footer[data-v-4da2ee18]{display:flex;align-items:center;justify-content:center;height:40px;color:var(--color-text-2);text-align:center}
|
BIN
assets/index.3ea786d7.css.gz
Normal file
BIN
assets/index.3ea786d7.css.gz
Normal file
Binary file not shown.
1
assets/index.550b61ae.js
Normal file
1
assets/index.550b61ae.js
Normal file
@ -0,0 +1 @@
|
||||
import{e as T,_ as R}from"./index.29040ae3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as S,r as M,b0 as P,C as H,D as O,aI as e,aH as t,aM as l,G as U,aX as L,bb as V,bQ as I,bG as K,bH as z,bR as N,bD as j,bE as G,bC as Q,bF as X,n as f}from"./arco.cd87ac27.js";import{m as $,e as E,a as q,f as J,g as W}from"./serial.7f1ff1f5.js";import"./chart.19f3a5b6.js";import"./vue.a1682e6c.js";const Y={class:"container"},Z=["innerHTML"],ee={name:"Backup"},te=S({...ee,setup(ue){const n=T(),c=M({status:"\u70B9\u51FB\u5907\u4EFD\u6309\u94AE\u5C06\u751F\u6210 EEPROM \u5907\u4EFD\u6587\u4EF6<br/><br/>",eepromType:""}),B=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await $()},d=async(u,s,_=new Date+"_backup.bin")=>{await E(n.connectPort);let a=new Uint8Array(s-u);for(let o=u;o<s;o+=128){const b=await q(n.connectPort,o);a.set(b,o-u),c.status=c.status+"\u5907\u4EFD\u8FDB\u5EA6\uFF1A"+((o-u)/a.length*100).toFixed(1)+"%<br/>",f(()=>{const F=document==null?void 0:document.getElementById("statusArea");F&&(F.scrollTop=F==null?void 0:F.scrollHeight)})}c.status=c.status+"\u5907\u4EFD\u8FDB\u5EA6\uFF1A100.0%<br/>",f(()=>{const o=document==null?void 0:document.getElementById("statusArea");o&&(o.scrollTop=o==null?void 0:o.scrollHeight)}),console.log(a);const r=new Blob([a],{type:"application/octet-stream"}),i=URL.createObjectURL(r),p=document.createElement("a");p.href=i,p.download=_,document.body.appendChild(p),p.click(),document.body.removeChild(p),URL.revokeObjectURL(i)},m=async(u=0)=>{await E(n.connectPort);const s=document.createElement("input");s.type="file",s.onchange=async()=>{const _=new Blob([s.files[0]],{type:"application/octet-stream"}),a=new Uint8Array(await _.arrayBuffer());for(let r=u;r<s.files[0].size+u;r+=128)await J(n.connectPort,r,a.slice(r-u,r-u+128)),c.status=c.status+"\u6062\u590D\u8FDB\u5EA6\uFF1A"+((r-u)/s.files[0].size*100).toFixed(1)+"%<br/>",f(()=>{const i=document==null?void 0:document.getElementById("statusArea");i&&(i.scrollTop=i==null?void 0:i.scrollHeight)});c.status=c.status+"\u6062\u590D\u8FDB\u5EA6\uFF1A100.0%<br/>",await W(n.connectPort)},s.click()},y=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await d(0,7680,"config.bin")},D=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await d(7680,8192,"calibration.bin")},k=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m()},w=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m(7680)},C=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}let u=8192;switch(c.eepromType){case"1":u=8192;break;case"2":u=131072;break;case"3":u=262144;break;case"4":u=524288;break;default:u=8192}await d(0,u)},A=async()=>{if(n.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}await m()};return(u,s)=>{const _=P("Breadcrumb"),a=L,r=V,i=I,p=K,o=z,b=N,F=j,g=G,h=Q,v=X;return H(),O("div",Y,[e(_,{items:["\u5C0F\u5DE5\u5177","\u5907\u4EFD/\u8FD8\u539F"]}),e(v,{gutter:20,align:"stretch"},{default:t(()=>[e(h,{span:24},{default:t(()=>[e(g,{class:"general-card",title:"\u5907\u4EFD/\u8FD8\u539F"},{default:t(()=>[e(b,{"default-active-key":"1"},{default:t(()=>[e(i,{key:"1",title:"\u5FEB\u6377\u5907\u4EFD"},{default:t(()=>[e(r,null,{default:t(()=>[e(a,{type:"primary",onClick:y},{default:t(()=>[l("\u5907\u4EFD\u914D\u7F6E")]),_:1}),e(a,{onClick:k},{default:t(()=>[l("\u6062\u590D\u914D\u7F6E")]),_:1}),e(a,{type:"primary",onClick:D},{default:t(()=>[l("\u5907\u4EFD\u6821\u51C6")]),_:1}),e(a,{onClick:w},{default:t(()=>[l("\u6062\u590D\u6821\u51C6")]),_:1})]),_:1})]),_:1}),e(i,{key:"2",title:"\u5B8C\u6574\u5907\u4EFD"},{default:t(()=>[e(r,null,{default:t(()=>[e(a,{type:"primary",onClick:C},{default:t(()=>[l("\u5907\u4EFD")]),_:1}),e(a,{onClick:A},{default:t(()=>[l("\u6062\u590D")]),_:1}),e(o,{modelValue:c.eepromType,"onUpdate:modelValue":s[0]||(s[0]=x=>c.eepromType=x),style:{width:"320px"},placeholder:"\u9009\u62E9EEPROM\u5927\u5C0F"},{default:t(()=>[e(p,{value:"1"},{default:t(()=>[l("8KB\uFF0864Kbit\uFF09")]),_:1}),e(p,{value:"2"},{default:t(()=>[l("128KB\uFF081Mbit\uFF09")]),_:1}),e(p,{value:"3"},{default:t(()=>[l("256KB\uFF082Mbit\uFF09")]),_:1}),e(p,{value:"4"},{default:t(()=>[l("512KB\uFF084Mbit\uFF09")]),_:1})]),_:1},8,["modelValue"]),e(a,{type:"text",onClick:B},{default:t(()=>[l("\u81EA\u52A8\u68C0\u6D4B")]),_:1})]),_:1})]),_:1})]),_:1}),e(F),U("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:c.status},null,8,Z)]),_:1})]),_:1})]),_:1})])}}});const be=R(te,[["__scopeId","data-v-de906e10"]]);export{be as default};
|
BIN
assets/index.550b61ae.js.gz
Normal file
BIN
assets/index.550b61ae.js.gz
Normal file
Binary file not shown.
1
assets/index.5ab869ac.css
Normal file
1
assets/index.5ab869ac.css
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.5ab869ac.css.gz
Normal file
BIN
assets/index.5ab869ac.css.gz
Normal file
Binary file not shown.
1
assets/index.6095bac4.js
Normal file
1
assets/index.6095bac4.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as n}from"./index.29040ae3.js";/* empty css */import{d as _,bB as c,aX as r,D as u,aI as e,G as p,aH as i,C as d,aM as l}from"./arco.cd87ac27.js";import{f as m}from"./vue.a1682e6c.js";import"./chart.19f3a5b6.js";const f={class:"content"},x={class:"operation-row"},b=_({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=c,a=r;return d(),u("div",f,[e(s,{class:"result",status:"404",subtitle:"\u627E\u4E0D\u5230\u7F51\u9875"}),p("div",x,[e(a,{key:"back",type:"primary",onClick:o},{default:i(()=>[l(" \u8FD4\u56DE ")]),_:1})])])}}});const N=n(b,[["__scopeId","data-v-8bef407f"]]);export{N as default};
|
1
assets/index.6256c0e0.js
Normal file
1
assets/index.6256c0e0.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.6256c0e0.js.gz
Normal file
BIN
assets/index.6256c0e0.js.gz
Normal file
Binary file not shown.
1
assets/index.7a296943.js
Normal file
1
assets/index.7a296943.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.7a296943.js.gz
Normal file
BIN
assets/index.7a296943.js.gz
Normal file
Binary file not shown.
1
assets/index.8107320e.css
Normal file
1
assets/index.8107320e.css
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/index.8107320e.css.gz
Normal file
BIN
assets/index.8107320e.css.gz
Normal file
Binary file not shown.
1
assets/index.98445517.js
Normal file
1
assets/index.98445517.js
Normal file
@ -0,0 +1 @@
|
||||
import{d as p,r as C,C as d,aE as D,aH as o,aI as e,aM as u,aN as n,u as s,bw as b,bx as y,bl as E,bC as x,bD as A,aX as g,bE as S,bd as w,be as I,G as _,D as k}from"./arco.cd87ac27.js";import{e as N,_ as l}from"./index.29040ae3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./chart.19f3a5b6.js";import"./vue.a1682e6c.js";const m=t=>(w("data-v-19872a30"),t=t(),I(),t),T=m(()=>_("br",null,null,-1)),V=m(()=>_("br",null,null,-1)),z=p({__name:"banner",setup(t){const a=N(),c=C({eepromSize:"\u70B9\u51FB\u68C0\u6D4B\u6309\u94AE\u68C0\u6D4B"}),F=async()=>{};return(q,J)=>{const f=E,r=x,B=A,h=g,v=S;return d(),D(r,{class:"banner"},{default:o(()=>[e(r,null,{default:o(()=>[e(f,{heading:5,style:{"margin-top":"0"}},{default:o(()=>[u(n(s(a).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(B,{class:"panel-border"}),b(e(v,{style:{width:"360px",marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:o(()=>{var i;return[u(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+n(s(a).firmwareVersion)+" ",1),T,u(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+n((i=s(a).configuration)==null?void 0:i.name)+" ",1),V,u(" \u5B58\u50A8\u5927\u5C0F\uFF1A"+n(c.eepromSize)+" ",1),e(h,{size:"mini",type:"primary",onClick:F},{default:o(()=>[u("\u68C0\u6D4B")]),_:1})]}),_:1},512),[[y,s(a).connectState]])]),_:1})}}});const $=l(z,[["__scopeId","data-v-19872a30"]]),G={class:"container"},H={class:"left-side"},M={class:"panel"},X={name:"Dashboard"},j=p({...X,setup(t){return(a,c)=>(d(),k("div",G,[_("div",H,[_("div",M,[e($)])])]))}});const ee=l(j,[["__scopeId","data-v-8f743d99"]]);export{ee as default};
|
BIN
assets/index.98445517.js.gz
Normal file
BIN
assets/index.98445517.js.gz
Normal file
Binary file not shown.
1
assets/index.9dc3a609.js
Normal file
1
assets/index.9dc3a609.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as t}from"./index.29040ae3.js";import{C as a,aE as s,aH as _,bf as c,bd as n,be as r,G as d}from"./arco.cd87ac27.js";const p={},i=e=>(n("data-v-4da2ee18"),e=e(),r(),e),f=i(()=>d("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 m=t(p,[["render",l],["__scopeId","data-v-4da2ee18"]]);export{m as F};
|
1
assets/index.cbbf0b22.js
Normal file
1
assets/index.cbbf0b22.js
Normal file
@ -0,0 +1 @@
|
||||
import{d as x,c as U,C as i,D as m,G as s,aI as e,aH as n,aK as D,aJ as R,b4 as E,aE as W,aN as r,b5 as j,f as z,r as A,u as C,aM as f,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.cd87ac27.js";import{F as oe}from"./index.9dc3a609.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.29040ae3.js";/* empty css *//* empty css *//* empty css */import{f as te,g as re}from"./vue.a1682e6c.js";import{u as le}from"./loading.1ec94507.js";import"./chart.19f3a5b6.js";const S="/assets/login-banner.426fb77f.png",ce={class:"banner"},ie={class:"banner-inner"},de={class:"carousel-title"},_e={class:"carousel-sub-title"},ue=["src"],me=x({__name:"banner",setup(c){const{t}=V.exports.useI18n(),g=U(()=>[{slogan:t("login.banner.slogan1"),subSlogan:t("login.banner.subSlogan1"),image:S},{slogan:t("login.banner.slogan2"),subSlogan:t("login.banner.subSlogan2"),image:S},{slogan:t("login.banner.slogan3"),subSlogan:t("login.banner.subSlogan3"),image:S}]);return(b,v)=>{const p=j,h=E;return i(),m("div",ce,[s("div",ie,[e(h,{class:"carousel","animation-name":"fade"},{default:n(()=>[(i(!0),m(D,null,R(g.value,a=>(i(),W(p,{key:a.slogan},{default:n(()=>[(i(),m("div",{key:a.slogan,class:"carousel-item"},[s("div",de,r(a.slogan),1),s("div",_e,r(a.subSlogan),1),s("img",{class:"carousel-image",src:a.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=x({__name:"login-form",setup(c){const t=te(),{t:g}=V.exports.useI18n(),b=z(""),{loading:v,setLoading:p}=le(),h=se(),a=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),d=A({username:a.value.username,password:a.value.password}),F=async({errors:o,values:l})=>{if(!v.value&&!o){p(!0);try{await h.login(l);const{redirect:_,...w}=t.currentRoute.value.query;t.push({name:_||"Workplace",query:{...w}}),G.success(g("login.form.login.success"));const{rememberPassword:u}=a.value,{username:$,password:y}=l;a.value.username=u?$:"",a.value.password=u?y:""}catch(_){b.value=_.message}finally{p(!1)}}},L=o=>{a.value.rememberPassword=o};return(o,l)=>{const _=ae,w=H,u=J,$=ne,y=K,B=Q,N=T,P=X,M=O,q=Y;return i(),m("div",pe,[s("div",fe,r(o.$t("login.form.title")),1),s("div",be,r(o.$t("login.form.title")),1),s("div",ve,r(b.value),1),e(q,{ref:"loginForm",model:d,class:"login-form",layout:"vertical",onSubmit:F},{default:n(()=>[e(u,{field:"username",rules:[{required:!0,message:o.$t("login.form.userName.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(w,{modelValue:d.username,"onUpdate:modelValue":l[0]||(l[0]=I=>d.username=I),placeholder:o.$t("login.form.userName.placeholder")},{prefix:n(()=>[e(_)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(u,{field:"password",rules:[{required:!0,message:o.$t("login.form.password.errMsg")}],"validate-trigger":["change","blur"],"hide-label":""},{default:n(()=>[e(y,{modelValue:d.password,"onUpdate:modelValue":l[1]||(l[1]=I=>d.password=I),placeholder:o.$t("login.form.password.placeholder"),"allow-clear":""},{prefix:n(()=>[e($)]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),e(M,{size:16,direction:"vertical"},{default:n(()=>[s("div",he,[e(B,{checked:"rememberPassword","model-value":C(a).rememberPassword,onChange:L},{default:n(()=>[f(r(o.$t("login.form.rememberPassword")),1)]),_:1},8,["model-value","onChange"]),e(N,null,{default:n(()=>[f(r(o.$t("login.form.forgetPassword")),1)]),_:1})]),e(P,{type:"primary","html-type":"submit",long:"",loading:C(v)},{default:n(()=>[f(r(o.$t("login.form.login")),1)]),_:1},8,["loading"]),e(P,{type:"text",long:"",class:"login-form-register-btn"},{default:n(()=>[f(r(o.$t("login.form.register")),1)]),_:1})]),_:1})]),_:1},8,["model"])])}}});const $e=k(we,[["__scopeId","data-v-0c627d4f"]]),ye=c=>(Z("data-v-7183afbd"),c=c(),ee(),c),Ie={class:"container"},Se=ye(()=>s("div",{class:"logo"},[s("img",{alt:"logo",src:"//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image"}),s("div",{class:"logo-text"},"Arco Design Pro")],-1)),xe={class:"content"},ke={class:"content-inner"},Pe={class:"footer"},Ce=x({__name:"index",setup(c){return(t,g)=>(i(),m("div",Ie,[Se,e(ge),s("div",xe,[s("div",ke,[e($e)]),s("div",Pe,[e(oe)])])]))}});const Re=k(Ce,[["__scopeId","data-v-7183afbd"]]);export{Re as default};
|
BIN
assets/index.cbbf0b22.js.gz
Normal file
BIN
assets/index.cbbf0b22.js.gz
Normal file
Binary file not shown.
1
assets/index.eaf96ae1.js
Normal file
1
assets/index.eaf96ae1.js
Normal file
@ -0,0 +1 @@
|
||||
import{e as b,_ as B}from"./index.29040ae3.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as E,r as v,b0 as g,C as w,D as C,aI as u,aH as s,aM as d,G as k,aX as h,bb as x,bD as D,bE as y,bC as A,bF as T,n as H}from"./arco.cd87ac27.js";import{e as P,f as S,g as I}from"./serial.7f1ff1f5.js";import"./chart.19f3a5b6.js";import"./vue.a1682e6c.js";const M={class:"container"},N=["innerHTML"],R={name:"Chi"},V=E({...R,setup($){const r=b(),n=v({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907<br/><br/>",eepromType:""}),m=async(a=0,t)=>{await P(r.connectPort);for(let o=a;o<t.length+a;o+=128)await S(r.connectPort,o,t.slice(o-a,o-a+128)),n.status=n.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A"+((o-a)/t.length*100).toFixed(1)+"%<br/>",H(()=>{const e=document==null?void 0:document.getElementById("statusArea");e&&(e.scrollTop=e==null?void 0:e.scrollHeight)});n.status=n.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0%<br/>",await I(r.connectPort)},c=async(a=1)=>{if(r.connectState!=!0){alert("\u8BF7\u5148\u8FDE\u63A5\u624B\u53F0\uFF01");return}n.status=n.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93...<br />";let t;switch(a){case 1:t=await fetch("/old_font.bin");break;default:alert("TODO");return}const o=t.body.getReader(),e=[];for(;;){const{done:_,value:l}=await o.read();if(_)break;e.push(...l)}const i=new Uint8Array(e);await m(8192,i)};return(a,t)=>{const o=g("Breadcrumb"),e=h,i=x,_=D,l=y,F=A,f=T;return w(),C("div",M,[u(o,{items:["\u5C0F\u5DE5\u5177","\u5B57\u5E93\u5199\u5165"]}),u(f,{gutter:20,align:"stretch"},{default:s(()=>[u(F,{span:24},{default:s(()=>[u(l,{class:"general-card",title:"\u5B57\u5E93\u5199\u5165"},{default:s(()=>[u(i,null,{default:s(()=>[u(e,{onClick:t[0]||(t[0]=p=>c(1))},{default:s(()=>[d("\u5199\u5165 117 \u5B57\u5E93\uFF08K\uFF09")]),_:1}),u(e,{onClick:t[1]||(t[1]=p=>c(2))},{default:s(()=>[d("\u5199\u5165 118 \u5B57\u5E93\uFF08K\uFF09")]),_:1}),u(e,{onClick:t[2]||(t[2]=p=>c(3))},{default:s(()=>[d("\u5199\u5165 118 \u5B57\u5E93\uFF08H\uFF09")]),_:1})]),_:1}),u(_),k("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:n.status},null,8,N)]),_:1})]),_:1})]),_:1})])}}});const J=B(V,[["__scopeId","data-v-04409b57"]]);export{J as default};
|
BIN
assets/index.eaf96ae1.js.gz
Normal file
BIN
assets/index.eaf96ae1.js.gz
Normal file
Binary file not shown.
1
assets/loading.1ec94507.js
Normal file
1
assets/loading.1ec94507.js
Normal file
@ -0,0 +1 @@
|
||||
import{f as a}from"./arco.cd87ac27.js";function l(e=!1){const o=a(e);return{loading:o,setLoading:t=>{o.value=t},toggle:()=>{o.value=!o.value}}}export{l as u};
|
3
assets/serial.7f1ff1f5.js
Normal file
3
assets/serial.7f1ff1f5.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/serial.7f1ff1f5.js.gz
Normal file
BIN
assets/serial.7f1ff1f5.js.gz
Normal file
Binary file not shown.
22
assets/vue.a1682e6c.js
Normal file
22
assets/vue.a1682e6c.js
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/vue.a1682e6c.js.gz
Normal file
BIN
assets/vue.a1682e6c.js.gz
Normal file
Binary file not shown.
10
index.html
10
index.html
@ -5,11 +5,11 @@
|
||||
<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.132300a0.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/arco.d15c1506.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/chart.4422206f.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/vue.295dbc7d.js">
|
||||
<link rel="stylesheet" href="/assets/index.09383935.css">
|
||||
<script type="module" crossorigin src="/assets/index.29040ae3.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/arco.cd87ac27.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/chart.19f3a5b6.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/vue.a1682e6c.js">
|
||||
<link rel="stylesheet" href="/assets/index.5ab869ac.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user