This commit is contained in:
Silent YANG 2024-05-23 23:48:41 +08:00
parent 7f886e6bdd
commit 5acb9d266f
78 changed files with 68 additions and 68 deletions

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

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{h as P,c as l,d as h}from"./arco.b289f6bb.js";import{d as S,a4 as w,a5 as A,a6 as E,a7 as L,a8 as $,M as j,E as x,a9 as F,aa as D,ab as z,ac as I,ad as N}from"./index.b999f3ae.js";import{v as O,w as M,x as R}from"./index.bb275d34.js";function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?u(Object(t),!0).forEach(function(r){p(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function K(e){var n=["fillOpacity","fillRule","clipRule"];return n.includes(e)?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():e}function m(e,n){var t=Object.keys(e.attrs).reduce((r,a)=>(r[K(a)]=e.attrs[a],r),{});return P(e.tag,f(f({},t),n),(e.children||[]).map(r=>m(r,{})))}var T="t",G="zh-CN",U={classPrefix:T,locale:G};const k=U;function Z(){var{classPrefix:e}=k;return{SIZE:{default:"",xs:"".concat(e,"-size-xs"),small:"".concat(e,"-size-s"),medium:"".concat(e,"-size-m"),large:"".concat(e,"-size-l"),xl:"".concat(e,"-size-xl"),block:"".concat(e,"-size-full-width")},STATUS:{loading:"".concat(e,"-is-loading"),disabled:"".concat(e,"-is-disabled"),focused:"".concat(e,"-is-focused"),success:"".concat(e,"-is-success"),error:"".concat(e,"-is-error"),warning:"".concat(e,"-is-warning"),selected:"".concat(e,"-is-selected"),active:"".concat(e,"-is-active"),checked:"".concat(e,"-is-checked"),current:"".concat(e,"-is-current"),hidden:"".concat(e,"-is-hidden"),visible:"".concat(e,"-is-visible"),expanded:"".concat(e,"-is-expanded"),indeterminate:"".concat(e,"-is-indeterminate")}}}function B(e){var n=Z().SIZE,t=l(()=>e.value in n?n[e.value]:""),r=l(()=>e.value===void 0||e.value in n?{}:{fontSize:e.value});return{style:r,className:t}}function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?v(Object(t),!0).forEach(function(r){p(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var X={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.05 5.64L12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z"}}]},Y=h({name:"CloseIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:t}=n,r=l(()=>e.size),{className:a,style:s}=B(r),c=l(()=>["t-icon","t-icon-close",a.value]),i=l(()=>b(b({},s.value),t.style)),C=l(()=>({class:c.value,style:i.value,onClick:y=>{var o;return(o=e.onClick)===null||o===void 0?void 0:o.call(e,{e:y})}}));return()=>m(X,C.value)}});const Ke=Y;/** import{h as P,c as l,d as h}from"./arco.b289f6bb.js";import{d as S,a4 as w,a5 as A,a6 as E,a7 as L,a8 as $,M as j,E as x,a9 as F,aa as D,ab as z,ac as I,ad as N}from"./index.3a834e58.js";import{v as O,w as M,x as R}from"./index.9e72de03.js";function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?u(Object(t),!0).forEach(function(r){p(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function K(e){var n=["fillOpacity","fillRule","clipRule"];return n.includes(e)?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():e}function m(e,n){var t=Object.keys(e.attrs).reduce((r,a)=>(r[K(a)]=e.attrs[a],r),{});return P(e.tag,f(f({},t),n),(e.children||[]).map(r=>m(r,{})))}var T="t",G="zh-CN",U={classPrefix:T,locale:G};const k=U;function Z(){var{classPrefix:e}=k;return{SIZE:{default:"",xs:"".concat(e,"-size-xs"),small:"".concat(e,"-size-s"),medium:"".concat(e,"-size-m"),large:"".concat(e,"-size-l"),xl:"".concat(e,"-size-xl"),block:"".concat(e,"-size-full-width")},STATUS:{loading:"".concat(e,"-is-loading"),disabled:"".concat(e,"-is-disabled"),focused:"".concat(e,"-is-focused"),success:"".concat(e,"-is-success"),error:"".concat(e,"-is-error"),warning:"".concat(e,"-is-warning"),selected:"".concat(e,"-is-selected"),active:"".concat(e,"-is-active"),checked:"".concat(e,"-is-checked"),current:"".concat(e,"-is-current"),hidden:"".concat(e,"-is-hidden"),visible:"".concat(e,"-is-visible"),expanded:"".concat(e,"-is-expanded"),indeterminate:"".concat(e,"-is-indeterminate")}}}function B(e){var n=Z().SIZE,t=l(()=>e.value in n?n[e.value]:""),r=l(()=>e.value===void 0||e.value in n?{}:{fontSize:e.value});return{style:r,className:t}}function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?v(Object(t),!0).forEach(function(r){p(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var X={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M7.05 5.64L12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z"}}]},Y=h({name:"CloseIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,n){var{attrs:t}=n,r=l(()=>e.size),{className:a,style:s}=B(r),c=l(()=>["t-icon","t-icon-close",a.value]),i=l(()=>b(b({},s.value),t.style)),C=l(()=>({class:c.value,style:i.value,onClick:y=>{var o;return(o=e.onClick)===null||o===void 0?void 0:o.call(e,{e:y})}}));return()=>m(X,C.value)}});const Ke=Y;/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{t as Xe,_ as w,u as ae}from"./useConfig.2ab888a5.js";import{d as I,c as m,f as k,p as Ve,bI as Ke,aI as g,bH as M,g as Ge,w as ge,o as pe,b as he,z as Ue,n as Ze,bx as Je,bo as oe,bp as Ye,bL as Re,bN as qe}from"./arco.b289f6bb.js";import{u as H,r as X,_ as V,o as Qe,b as en,C as nn}from"./dep-281dbb92.c00ad94f.js";import{c as ye,y as re,J as A,G as z,b as tn,d as an}from"./index.b999f3ae.js";import{B as $}from"./index.75c3a3c9.js";import{j as on,z as rn}from"./index.bb275d34.js";function le(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?le(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var ln={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"}}]},cn=I({name:"CheckCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-check-circle-filled",o.value]),d=m(()=>ie(ie({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(ln,s.value)}});const un=cn;function ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ce(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var sn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"}}]},dn=I({name:"ErrorCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-error-circle-filled",o.value]),d=m(()=>ue(ue({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(sn,s.value)}});const vn=dn;function se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function de(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?se(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var fn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM11 8.5v-2h2v2h-2zm2 1.5v7.5h-2V10h2z"}}]},mn=I({name:"InfoCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-info-circle-filled",o.value]),d=m(()=>de(de({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(fn,s.value)}});const gn=mn;/** import{t as Xe,_ as w,u as ae}from"./useConfig.1a69b527.js";import{d as I,c as m,f as k,p as Ve,bI as Ke,aI as g,bH as M,g as Ge,w as ge,o as pe,b as he,z as Ue,n as Ze,bx as Je,bo as oe,bp as Ye,bL as Re,bN as qe}from"./arco.b289f6bb.js";import{u as H,r as X,_ as V,o as Qe,b as en,C as nn}from"./dep-281dbb92.fa8dfc7c.js";import{c as ye,y as re,J as A,G as z,b as tn,d as an}from"./index.3a834e58.js";import{B as $}from"./index.1865e741.js";import{j as on,z as rn}from"./index.9e72de03.js";function le(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?le(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var ln={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"}}]},cn=I({name:"CheckCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-check-circle-filled",o.value]),d=m(()=>ie(ie({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(ln,s.value)}});const un=cn;function ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ce(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var sn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"}}]},dn=I({name:"ErrorCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-error-circle-filled",o.value]),d=m(()=>ue(ue({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(sn,s.value)}});const vn=dn;function se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,a)}return n}function de(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?se(Object(n),!0).forEach(function(a){V(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var fn={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M12 23a11 11 0 100-22 11 11 0 000 22zM11 8.5v-2h2v2h-2zm2 1.5v7.5h-2V10h2z"}}]},mn=I({name:"InfoCircleFilledIcon",props:{size:{type:String},onClick:{type:Function}},setup(t,e){var{attrs:n}=e,a=m(()=>t.size),{className:o,style:v}=H(a),p=m(()=>["t-icon","t-icon-info-circle-filled",o.value]),d=m(()=>de(de({},v.value),n.style)),s=m(()=>({class:p.value,style:d.value,onClick:i=>{var l;return(l=t.onClick)===null||l===void 0?void 0:l.call(t,{e:i})}}));return()=>X(fn,s.value)}});const gn=mn;/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{_}from"./index.b999f3ae.js";/* empty css */import{d as F,r as f,o as h,bB as g,a$ as m,D as y,bo as i,bp as c,G as o,aM as s,aI as a,aN as d,aH as v,be as A,bf as b,C as D}from"./arco.b289f6bb.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const l=u=>(A("data-v-9a7d1078"),u=u(),b(),u),S={class:"container"},B={style:{"background-color":"#fff",padding:"10%"}},C=l(()=>o("br",null,null,-1)),E={style:{"background-color":"#fff",padding:"10%"}},x=l(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(u){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const r=async()=>{await fetch("https://k5.vicicode.com/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,I)=>{const n=g,p=m;return D(),y("div",S,[i(o("div",B,[s(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),C,s(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[c,t.type!=0]]),i(o("div",E,[x,a(n),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+d(t.lng),1),a(n),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+d(t.lat),1),a(n),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+d(t.alt),1),a(n),a(p,{type:"primary",onClick:r},{default:v(()=>[s("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[c,t.type==0]])])}}});const U=_(w,[["__scopeId","data-v-9a7d1078"]]);export{U as default}; import{_}from"./index.3a834e58.js";/* empty css */import{d as F,r as f,o as h,bB as g,a$ as m,D as y,bo as i,bp as c,G as o,aM as s,aI as a,aN as d,aH as v,be as A,bf as b,C as D}from"./arco.b289f6bb.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const l=u=>(A("data-v-9a7d1078"),u=u(),b(),u),S={class:"container"},B={style:{"background-color":"#fff",padding:"10%"}},C=l(()=>o("br",null,null,-1)),E={style:{"background-color":"#fff",padding:"10%"}},x=l(()=>o("p",{style:{"font-size":"1.5rem","font-weight":"bold"}}," \u83B7\u53D6\u4FE1\u606F\uFF08Information\uFF09 ",-1)),k={name:"SatLoc"},w=F({...k,setup(u){const t=f({lat:0,lng:0,alt:0,type:0,uuid:""});h(()=>{t.uuid=new URLSearchParams(location.hash.replace("#/satloc?","")).get("uuid"),navigator.geolocation.getCurrentPosition(e=>{e.coords&&(t.lat=e.coords.latitude,t.lng=e.coords.longitude,e.coords.altitude&&(t.alt=e.coords.altitude))})});const r=async()=>{await fetch("https://k5.vicicode.com/api/lol",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({func:0,uuid:t.uuid,cache:JSON.stringify([t.lng,t.lat,t.alt])})}),t.type=1};return(e,I)=>{const n=g,p=m;return D(),y("div",S,[i(o("div",B,[s(" \u8BF7\u70B9\u51FB\u7F51\u9875\u201C\u5DF2\u626B\u7801\u4E0A\u4F20\u201D\u6309\u94AE "),C,s(' Please click on the "Scanned and Uploaded" button on PC page. ')],512),[[c,t.type!=0]]),i(o("div",E,[x,a(n),o("p",null," \u53F0\u7AD9\u7ECF\u5EA6\uFF08Longitude\uFF09\uFF1A"+d(t.lng),1),a(n),o("p",null," \u53F0\u7AD9\u7EAC\u5EA6\uFF08Latitude\uFF09\uFF1A"+d(t.lat),1),a(n),o("p",null," \u53F0\u7AD9\u6D77\u62D4\uFF08Altitude\uFF09\uFF1A"+d(t.alt),1),a(n),a(p,{type:"primary",onClick:r},{default:v(()=>[s("\u4E0A\u4F20\uFF08Upload\uFF09")]),_:1})],512),[[c,t.type==0]])])}}});const U=_(w,[["__scopeId","data-v-9a7d1078"]]);export{U as default};

BIN
assets/index.0107a7e5.js.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{h as B,Y as E,_ as k}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as v,r as A,o as C,bD as N,C as $,D,aI as i,aH as c,aM as p,aN as f,G as I,n as y,a$ as P,ba as S,bB as T,bE as H,bJ as M}from"./arco.b289f6bb.js";import{h as V}from"./vue.e0867ae8.js";import{d as b,c as q,r as _,j as x,k as h,l as R,m as j}from"./serial.c741fbda.js";import"./chart.7501771f.js";const L={class:"container"},U=["innerHTML"],O={name:"Flash"},z=v({...O,setup(G){const m=B(),e=A({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907<br/><br/>",binaryFile:void 0,binaryName:""}),d=V();C(async()=>{var t;if(d.query.url){const o=await fetch(d.query.url),r=(t=o==null?void 0:o.body)==null?void 0:t.getReader();if(r){const n=[];for(;;){const{done:u,value:l}=await r.read();if(u)break;n.push(...l)}const a=new Uint8Array(n);e.binaryFile=a,e.binaryName=d.query.url.substring(d.query.url.lastIndexOf("/")+1)}}});const F=()=>{const t=document.createElement("input");t.type="file",t.onchange=async()=>{const o=new Blob([t.files[0]],{type:"application/octet-stream"}),r=new Uint8Array(await o.arrayBuffer());e.binaryFile=r,e.binaryName=t.files[0].name},t.click()},g=async()=>{if(!e.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}m.connectPort&&await b(m.connectPort);let t=await q();await _(t,24,1e3);const o=x(e.binaryFile),r=new Uint8Array([48,5,o.length,0,...o]);await h(t,r),await _(t,24);const n=R(e.binaryFile);if(n.length>61439)throw new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let a=0;a<n.length;a+=256){const u=n.slice(a,a+256),l=j(u,a,n.length);try{await h(t,l),await _(t,26)}catch(s){return console.log("Flash command rejected. Aborting."),Promise.reject(s)}e.status=e.status+`\u66F4\u65B0\u8FDB\u5EA6 ${(a/n.length*100).toFixed(1)}%<br/>`,y(()=>{const s=document==null?void 0:document.getElementById("statusArea");s&&(s.scrollTop=s==null?void 0:s.scrollHeight)})}e.status=e.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0%<br/>",e.status=e.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",y(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)}),b(t),m.updateSettings({connectState:!1})};return(t,o)=>{const r=E,n=P,a=S,u=T,l=N,s=H,w=M;return $(),D("div",L,[i(r,{items:[t.$t("menu.list"),t.$t("menu.flash")]},null,8,["items"]),i(w,{gutter:20,align:"stretch"},{default:c(()=>[i(s,{span:24},{default:c(()=>[i(l,{class:"general-card",title:t.$t("menu.flash")+t.$t("global.onBoot")},{default:c(()=>[i(a,null,{default:c(()=>[i(n,{onClick:F},{default:c(()=>[p(f(e.binaryFile?e.binaryName:t.$t("tool.selectFirmware")),1)]),_:1}),i(n,{type:"primary",disabled:!e.binaryFile,onClick:g},{default:c(()=>[p(f(t.$t("tool.flash")),1)]),_:1},8,["disabled"])]),_:1}),i(u),I("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,U)]),_:1},8,["title"])]),_:1})]),_:1})])}}});const at=k(z,[["__scopeId","data-v-20389da6"]]);export{at as default}; import{h as B,Y as E,_ as k}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as v,r as A,o as C,bD as N,C as $,D,aI as i,aH as c,aM as p,aN as f,G as I,n as y,a$ as P,ba as S,bB as T,bE as H,bJ as M}from"./arco.b289f6bb.js";import{h as V}from"./vue.e0867ae8.js";import{d as b,c as q,r as _,j as x,k as h,l as R,m as j}from"./serial.c741fbda.js";import"./chart.7501771f.js";const L={class:"container"},U=["innerHTML"],O={name:"Flash"},z=v({...O,setup(G){const m=B(),e=A({status:"\u70B9\u51FB\u66F4\u65B0\u6309\u94AE\u66F4\u65B0\u56FA\u4EF6\u5230\u8BBE\u5907<br/><br/>",binaryFile:void 0,binaryName:""}),d=V();C(async()=>{var t;if(d.query.url){const o=await fetch(d.query.url),r=(t=o==null?void 0:o.body)==null?void 0:t.getReader();if(r){const n=[];for(;;){const{done:u,value:l}=await r.read();if(u)break;n.push(...l)}const a=new Uint8Array(n);e.binaryFile=a,e.binaryName=d.query.url.substring(d.query.url.lastIndexOf("/")+1)}}});const F=()=>{const t=document.createElement("input");t.type="file",t.onchange=async()=>{const o=new Blob([t.files[0]],{type:"application/octet-stream"}),r=new Uint8Array(await o.arrayBuffer());e.binaryFile=r,e.binaryName=t.files[0].name},t.click()},g=async()=>{if(!e.binaryFile){alert("\u8BF7\u9009\u62E9\u6587\u4EF6");return}m.connectPort&&await b(m.connectPort);let t=await q();await _(t,24,1e3);const o=x(e.binaryFile),r=new Uint8Array([48,5,o.length,0,...o]);await h(t,r),await _(t,24);const n=R(e.binaryFile);if(n.length>61439)throw new Error("Last resort boundary check failed. Whoever touched the code is an idiot.");for(let a=0;a<n.length;a+=256){const u=n.slice(a,a+256),l=j(u,a,n.length);try{await h(t,l),await _(t,26)}catch(s){return console.log("Flash command rejected. Aborting."),Promise.reject(s)}e.status=e.status+`\u66F4\u65B0\u8FDB\u5EA6 ${(a/n.length*100).toFixed(1)}%<br/>`,y(()=>{const s=document==null?void 0:document.getElementById("statusArea");s&&(s.scrollTop=s==null?void 0:s.scrollHeight)})}e.status=e.status+"\u66F4\u65B0\u8FDB\u5EA6 100.0%<br/>",e.status=e.status+"\u56FA\u4EF6\u66F4\u65B0\u6210\u529F",y(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)}),b(t),m.updateSettings({connectState:!1})};return(t,o)=>{const r=E,n=P,a=S,u=T,l=N,s=H,w=M;return $(),D("div",L,[i(r,{items:[t.$t("menu.list"),t.$t("menu.flash")]},null,8,["items"]),i(w,{gutter:20,align:"stretch"},{default:c(()=>[i(s,{span:24},{default:c(()=>[i(l,{class:"general-card",title:t.$t("menu.flash")+t.$t("global.onBoot")},{default:c(()=>[i(a,null,{default:c(()=>[i(n,{onClick:F},{default:c(()=>[p(f(e.binaryFile?e.binaryName:t.$t("tool.selectFirmware")),1)]),_:1}),i(n,{type:"primary",disabled:!e.binaryFile,onClick:g},{default:c(()=>[p(f(t.$t("tool.flash")),1)]),_:1},8,["disabled"])]),_:1}),i(u),I("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:e.status},null,8,U)]),_:1},8,["title"])]),_:1})]),_:1})])}}});const at=k(z,[["__scopeId","data-v-20389da6"]]);export{at as default};

BIN
assets/index.0cf2db14.js.gz Normal file

Binary file not shown.

1
assets/index.1535c848.js Normal file
View File

@ -0,0 +1 @@
import{h as P,Y as F,_ as L}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css */import{d as R,r as V,o as A,bD as H,bO as O,C as b,D as w,aI as g,aH as _,G as v,aK as C,aJ as E,F as T,aM as M,aN as $,a$ as U,ba as q,bE as z,bJ as J,be as K,bf as j}from"./arco.b289f6bb.js";import{h as G}from"./vue.e0867ae8.js";import{e as Y,b as Q,g as W}from"./serial.c741fbda.js";import"./chart.7501771f.js";const B=y=>(K("data-v-2d8f1ddd"),y=y(),j(),y),X={class:"container"},Z=B(()=>v("div",{id:"canvasDiv",style:{zoom:"250%",display:"none"}},null,-1)),tt={style:{padding:"0",margin:"0","border-spacing":"0"}},et=["onMousedown","onMouseover"],ot=B(()=>v("br",null,null,-1)),nt={name:"Backup"},at=R({...nt,setup(y){const f=P(),i=V({binaryFile:void 0,loading:!1,matrix:[],mousedown:!1}),I=G();A(()=>{I.query.url&&D(I.query.url)});const S=(e,s)=>{if(i.mousedown){const l=i.matrix;l[s][e]=i.matrix[s][e]=="#fff"?"#000":"#fff",i.matrix=l}},D=e=>{const s=document.createElement("canvas");s.width=128,s.height=64;const l=s.cloneNode(),o=document.getElementById("canvasDiv");o.innerHTML="",o==null||o.append(s,l);const p=new Image;p.src=e,p.onload=()=>{const r=s.getContext("2d");r==null||r.drawImage(p,0,0,128,64);const m=r==null?void 0:r.getImageData(0,0,s.width,s.height).data;function d(t,n){const a=(n*128+t)*4;return m[a]+m[a+1]+m[a+2]>128*3?0:1}const u=[];for(let t=0;t<64;t++){u.push([]),u[t]=[];for(let n=0;n<128;n++){const c=!d(n,t);u[t][n]=c?"#fff":"#000"}}i.matrix=u}},N=()=>{const e=document.createElement("input");e.type="file",e.onchange=async()=>{const s=new Blob([e.files[0]],{type:"application/octet-stream"}),l=URL.createObjectURL(s),o=document.createElement("canvas");o.width=128,o.height=64;const p=o.cloneNode(),r=document.getElementById("canvasDiv");r.innerHTML="",r==null||r.append(o,p);const m=new Image;m.src=l,m.onload=()=>{const d=o.getContext("2d");d==null||d.drawImage(m,0,0,128,64);const u=d==null?void 0:d.getImageData(0,0,o.width,o.height).data;function t(c,a){const x=(a*128+c)*4;return u[x]+u[x+1]+u[x+2]>128*3?0:1}const n=[];for(let c=0;c<64;c++){n.push([]),n[c]=[];for(let a=0;a<128;a++){const h=!t(a,c);n[c][a]=h?"#fff":"#000"}}i.matrix=n}},e.click()},k=async()=>{var p,r,m,d,u;const e=new Uint8Array(1024);let s=0;for(let t=0;t<64;t+=8)for(let n=0;n<128;n++){let c=0;for(let a=0;a<8;a++)c|=(i.matrix[t+a][n]=="#000"?1:0)<<a;e[s++]=c}if(i.binaryFile=e,f.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((p=f.configuration)==null?void 0:p.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}if(((r=f.configuration)==null?void 0:r.charset)!="losehu"&&((m=f.configuration)==null?void 0:m.charset)!="gb2312"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}i.loading=!0;let l=123728;((d=f.configuration)==null?void 0:d.charset)=="gb2312"&&(l=8320),await Y(f.connectPort);const o=i.binaryFile;for(let t=l;t<o.length+l;t+=128)await Q(f.connectPort,t,o.slice(t-l,t-l+128),128,(u=f.configuration)==null?void 0:u.uart);await W(f.connectPort),i.loading=!1};return(e,s)=>{const l=F,o=U,p=q,r=H,m=O,d=z,u=J;return b(),w("div",X,[g(l,{items:[e.$t("menu.list"),e.$t("menu.image")]},null,8,["items"]),g(u,{gutter:20,align:"stretch"},{default:_(()=>[g(d,{span:24},{default:_(()=>[g(m,{loading:i.loading,tip:"\u5199\u5165\u4E2D...",style:{width:"100%"}},{default:_(()=>[g(r,{class:"general-card",title:e.$t("menu.image")+e.$t("global.onStart")},{default:_(()=>[Z,v("div",null,[v("table",tt,[(b(!0),w(C,null,E(i.matrix,(t,n)=>(b(),w("tr",null,[(b(!0),w(C,null,E(t,(c,a)=>(b(),w("td",{onMousedown:h=>{i.mousedown=!0,S(a,n)},onMouseup:s[0]||(s[0]=h=>{i.mousedown=!1}),onMouseover:h=>S(a,n),style:T("background-color: "+c+"; height: 5px; width: 3.5px;")},null,44,et))),256))]))),256))])]),ot,g(p,null,{default:_(()=>[g(o,{onClick:N},{default:_(()=>[M($(e.$t("tool.selectImage")),1)]),_:1}),g(o,{type:"primary",disabled:i.matrix.length<64,onClick:k},{default:_(()=>[M($(e.$t("tool.write")),1)]),_:1},8,["disabled"])]),_:1})]),_:1},8,["title"])]),_:1},8,["loading"])]),_:1})]),_:1})])}}});const pt=L(at,[["__scopeId","data-v-2d8f1ddd"]]);export{pt as default};

BIN
assets/index.1535c848.js.gz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{u as A,a as B,_ as d,b as N}from"./useConfig.2ab888a5.js";import{f as R,o as I,bs as z,d as D,c as P,aI as k,h as F}from"./arco.b289f6bb.js";import{L as M}from"./index.bb275d34.js";import{a3 as w,d as X,c as $,b as K,w as U}from"./index.b999f3ae.js";import{u as V}from"./useDisabled.8ccdf362.js";/** import{u as A,a as B,_ as d,b as N}from"./useConfig.1a69b527.js";import{f as R,o as I,bs as z,d as D,c as P,aI as k,h as F}from"./arco.b289f6bb.js";import{L as M}from"./index.9e72de03.js";import{a3 as w,d as X,c as $,b as K,w as U}from"./index.3a834e58.js";import{u as V}from"./useDisabled.e7ff81a3.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.1865e741.js.gz Normal file

Binary file not shown.

View File

@ -1 +0,0 @@
import{h as F,Y as P,_ as A}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css */import{d as M,r as R,o as V,bD as L,bO as U,C as H,D as O,aI as h,aH as w,aM as S,aN as C,a$ as T,ba as q,bE as j,bJ as z,be as G,bf as J,G as E}from"./arco.b289f6bb.js";import{h as K}from"./vue.e0867ae8.js";import{e as Y,b as Q,g as W}from"./serial.c741fbda.js";import"./chart.7501771f.js";const B=x=>(G("data-v-ace1b18a"),x=x(),J(),x),X={class:"container"},Z=B(()=>E("div",{id:"canvasDiv",style:{zoom:"250%"}},null,-1)),tt=B(()=>E("br",null,null,-1)),et={name:"Backup"},at=M({...et,setup(x){const m=F(),b=R({binaryFile:void 0,loading:!1}),D=K();V(()=>{D.query.url&&N(D.query.url)});const N=e=>{const s=document.createElement("canvas");s.width=128,s.height=64;const p=s.cloneNode(),a=document.getElementById("canvasDiv");a.innerHTML="",a==null||a.append(s,p);const c=new Image;c.src=e,c.onload=()=>{const n=s.getContext("2d");n==null||n.drawImage(c,0,0,128,64);const d=n==null?void 0:n.getImageData(0,0,s.width,s.height).data;function o(r,u){const t=(u*128+r)*4;return d[t]+d[t+1]+d[t+2]>128*3?0:1}const g=p.getContext("2d"),_=g.getImageData(0,0,p.width,p.height);for(let r=0;r<64;r++)for(let u=0;u<128;u++){const t=(r*128+u)*4,f=!o(u,r);_.data[t]=f*255,_.data[t+1]=f*255,_.data[t+2]=f*255,_.data[t+3]=255}g.putImageData(_,0,0);const I=new Uint8Array(1024);let y=0;for(let r=0;r<64;r+=8)for(let u=0;u<128;u++){let i=0;for(let t=0;t<8;t++)i|=o(u,r+t)<<t;I[y++]=i}b.binaryFile=I}},$=()=>{const e=document.createElement("input");e.type="file",e.onchange=async()=>{const s=new Blob([e.files[0]],{type:"application/octet-stream"}),p=URL.createObjectURL(s),a=document.createElement("canvas");a.width=128,a.height=64;const c=a.cloneNode(),n=document.getElementById("canvasDiv");n.innerHTML="",n==null||n.append(a,c);const d=new Image;d.src=p,d.onload=()=>{const o=a.getContext("2d");o==null||o.drawImage(d,0,0,128,64);const g=o==null?void 0:o.getImageData(0,0,a.width,a.height).data;function _(i,t){const l=(t*128+i)*4;return g[l]+g[l+1]+g[l+2]>128*3?0:1}const I=c.getContext("2d"),y=I.getImageData(0,0,c.width,c.height);for(let i=0;i<64;i++)for(let t=0;t<128;t++){const l=(i*128+t)*4,v=!_(t,i);y.data[l]=v*255,y.data[l+1]=v*255,y.data[l+2]=v*255,y.data[l+3]=255}I.putImageData(y,0,0);const r=new Uint8Array(1024);let u=0;for(let i=0;i<64;i+=8)for(let t=0;t<128;t++){let f=0;for(let l=0;l<8;l++)f|=_(t,i+l)<<l;r[u++]=f}b.binaryFile=r}},e.click()},k=async()=>{var p,a,c,n,d;if(m.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((p=m.configuration)==null?void 0:p.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}if(((a=m.configuration)==null?void 0:a.charset)!="losehu"&&((c=m.configuration)==null?void 0:c.charset)!="gb2312"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}b.loading=!0;let e=123728;((n=m.configuration)==null?void 0:n.charset)=="gb2312"&&(e=8320),await Y(m.connectPort);const s=b.binaryFile;for(let o=e;o<s.length+e;o+=128)await Q(m.connectPort,o,s.slice(o-e,o-e+128),128,(d=m.configuration)==null?void 0:d.uart);await W(m.connectPort),b.loading=!1};return(e,s)=>{const p=P,a=T,c=q,n=L,d=U,o=j,g=z;return H(),O("div",X,[h(p,{items:[e.$t("menu.list"),e.$t("menu.image")]},null,8,["items"]),h(g,{gutter:20,align:"stretch"},{default:w(()=>[h(o,{span:24},{default:w(()=>[h(d,{loading:b.loading,tip:"\u5199\u5165\u4E2D...",style:{width:"100%"}},{default:w(()=>[h(n,{class:"general-card",title:e.$t("menu.image")+e.$t("global.onStart")},{default:w(()=>[Z,tt,h(c,null,{default:w(()=>[h(a,{onClick:$},{default:w(()=>[S(C(e.$t("tool.selectImage")),1)]),_:1}),h(a,{type:"primary",disabled:!b.binaryFile,onClick:k},{default:w(()=>[S(C(e.$t("tool.write")),1)]),_:1},8,["disabled"])]),_:1})]),_:1},8,["title"])]),_:1},8,["loading"])]),_:1})]),_:1})])}}});const ut=A(at,[["__scopeId","data-v-ace1b18a"]]);export{ut as default};

Binary file not shown.

View File

@ -0,0 +1 @@
.container[data-v-2d8f1ddd]{padding:0 20px 20px}.container[data-v-2d8f1ddd] .arco-list-content{overflow-x:hidden}.container[data-v-2d8f1ddd] .arco-card-meta-title{font-size:14px}[data-v-2d8f1ddd] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-2d8f1ddd] .arco-list-item{width:33%}[data-v-2d8f1ddd] .block-title{margin:0 0 12px;font-size:14px}[data-v-2d8f1ddd] .list-wrap .list-row{align-items:stretch}[data-v-2d8f1ddd] .list-wrap .list-row .list-col{margin-bottom:16px}[data-v-2d8f1ddd] .list-wrap :deep(.arco-space){width:100%}[data-v-2d8f1ddd] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View File

@ -1 +1 @@
import{h as E,Y as h,_ as w}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as F,r as k,bP as v,bD as L,C as H,D as S,aI as t,aH as e,aM as l,aN as r,bQ as $,b9 as y,bR as O,bE as U,bJ as C}from"./arco.b289f6bb.js";import{f as P}from"./vue.e0867ae8.js";import{h as A}from"./index.65e0d8b9.js";import"./chart.7501771f.js";import"./index.bb275d34.js";import"./useConfig.2ab888a5.js";import"./dep-281dbb92.c00ad94f.js";import"./index.75c3a3c9.js";import"./useDisabled.8ccdf362.js";const K={class:"container"},B={name:"Backup"},I=F({...B,setup(N){E();const p=P();k({binaryFile:void 0,loading:!1});const s=o=>{p.push({path:"/tool/flash",query:{url:o}})};return(o,i)=>{const _=h,n=$,a=y,u=O,c=v,d=A,f=L,b=U,g=C;return H(),S("div",K,[t(_,{items:[o.$t("menu.workshop"),o.$t("menu.firmware")]},null,8,["items"]),t(g,{gutter:20,align:"stretch"},{default:e(()=>[t(b,{span:24},{default:e(()=>[t(f,{class:"general-card",title:o.$t("menu.firmware")},{default:e(()=>[t(c,null,{default:e(()=>[t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[0]||(i[0]=m=>s("/LOSEHU126.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[1]||(i[1]=m=>s("/LOSEHU126K.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126K.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[2]||(i[2]=m=>s("/LOSEHU126H.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126H.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[3]||(i[3]=m=>s("/LOSEHU117P6.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU117P6\uFF08\u6211\u57FA\u4E8E LOSEHU117 \u4FEE\u6539\u7684\u56FA\u4EF6\uFF09",description:"https://github.com/silenty4ng/uv-k5-firmware-chinese-lts"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[4]||(i[4]=m=>s("/LOSEHU117P6K.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU117P6K\uFF08\u6211\u57FA\u4E8E LOSEHU117K \u4FEE\u6539\u7684\u56FA\u4EF6\uFF09",description:"https://github.com/silenty4ng/uv-k5-firmware-chinese-lts"})]),_:1})]),_:1}),t(d,{style:{margin:"10px"},total:5,showPageNumber:"",showPageSize:!1})]),_:1},8,["title"])]),_:1})]),_:1})])}}});const et=w(I,[["__scopeId","data-v-0828accd"]]);export{et as default}; import{h as E,Y as h,_ as w}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as F,r as k,bP as v,bD as L,C as H,D as S,aI as t,aH as e,aM as l,aN as r,bQ as $,b9 as y,bR as O,bE as U,bJ as C}from"./arco.b289f6bb.js";import{f as P}from"./vue.e0867ae8.js";import{h as A}from"./index.a4c8797a.js";import"./chart.7501771f.js";import"./index.9e72de03.js";import"./useConfig.1a69b527.js";import"./dep-281dbb92.fa8dfc7c.js";import"./index.1865e741.js";import"./useDisabled.e7ff81a3.js";const K={class:"container"},B={name:"Backup"},I=F({...B,setup(N){E();const p=P();k({binaryFile:void 0,loading:!1});const s=o=>{p.push({path:"/tool/flash",query:{url:o}})};return(o,i)=>{const _=h,n=$,a=y,u=O,c=v,d=A,f=L,b=U,g=C;return H(),S("div",K,[t(_,{items:[o.$t("menu.workshop"),o.$t("menu.firmware")]},null,8,["items"]),t(g,{gutter:20,align:"stretch"},{default:e(()=>[t(b,{span:24},{default:e(()=>[t(f,{class:"general-card",title:o.$t("menu.firmware")},{default:e(()=>[t(c,null,{default:e(()=>[t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[0]||(i[0]=m=>s("/LOSEHU126.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[1]||(i[1]=m=>s("/LOSEHU126K.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126K.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[2]||(i[2]=m=>s("/LOSEHU126H.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU126H.bin",description:"https://github.com/losehu/uv-k5-firmware-custom"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[3]||(i[3]=m=>s("/LOSEHU117P6.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU117P6\uFF08\u6211\u57FA\u4E8E LOSEHU117 \u4FEE\u6539\u7684\u56FA\u4EF6\uFF09",description:"https://github.com/silenty4ng/uv-k5-firmware-chinese-lts"})]),_:1}),t(u,{style:{width:"100%"}},{actions:e(()=>[t(a,{onClick:i[4]||(i[4]=m=>s("/LOSEHU117P6K.bin"))},{default:e(()=>[l(r(o.$t("global.use")),1)]),_:1})]),default:e(()=>[t(n,{title:"LOSEHU117P6K\uFF08\u6211\u57FA\u4E8E LOSEHU117K \u4FEE\u6539\u7684\u56FA\u4EF6\uFF09",description:"https://github.com/silenty4ng/uv-k5-firmware-chinese-lts"})]),_:1})]),_:1}),t(d,{style:{margin:"10px"},total:5,showPageNumber:"",showPageSize:!1})]),_:1},8,["title"])]),_:1})]),_:1})])}}});const et=w(I,[["__scopeId","data-v-0828accd"]]);export{et as default};

BIN
assets/index.2ef3fec6.js.gz Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
assets/index.3a834e58.js.gz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{d as R,c as t,aI as a,aU as V}from"./arco.b289f6bb.js";import{u,a as W}from"./useConfig.2ab888a5.js";import{c as X,J as Z,w as U}from"./index.b999f3ae.js";import{L as k}from"./index.bb275d34.js";/** import{d as R,c as t,aI as a,aU as V}from"./arco.b289f6bb.js";import{u,a as W}from"./useConfig.1a69b527.js";import{c as X,J as Z,w as U}from"./index.3a834e58.js";import{L as k}from"./index.9e72de03.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.417ea4e6.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
.container[data-v-ac553c64]{padding:0 20px 20px}.container[data-v-ac553c64] .arco-list-content{overflow-x:hidden}.container[data-v-ac553c64] .arco-card-meta-title{font-size:14px}[data-v-ac553c64] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-ac553c64] .arco-list-item{width:33%}[data-v-ac553c64] .block-title{margin:0 0 12px;font-size:14px}[data-v-ac553c64] .list-wrap .list-row{align-items:stretch}[data-v-ac553c64] .list-wrap .list-row .list-col{margin-bottom:16px}[data-v-ac553c64] .list-wrap :deep(.arco-space){width:100%}[data-v-ac553c64] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

View File

@ -1,4 +1,4 @@
import{G as y,M as P,c as M,w as R,h as q,Y as X,_ as W}from"./index.b999f3ae.js";/* empty css *//* empty css */import{d as g,c as m,o as Y,b as Q,f as Z,t as ee,p as te,r as z,aI as p,aU as I,i as ne,bD as re,C as w,D as C,aH as b,aK as ae,aJ as oe,aE as ce,G as se,u as x,bE as ie,bJ as ue}from"./arco.b289f6bb.js";import{f as le}from"./vue.e0867ae8.js";import{u as T,r as L,_ as V}from"./dep-281dbb92.c00ad94f.js";import{B as pe}from"./index.75c3a3c9.js";import{_ as f,u as G}from"./useConfig.2ab888a5.js";import{i as j,h as fe}from"./index.65e0d8b9.js";import{d as O,i as S}from"./index.bb275d34.js";import{C as de}from"./index.0c95277f.js";import"./chart.7501771f.js";import"./useDisabled.8ccdf362.js";function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(r){V(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var be={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M17.66 7.17l-5.3 5.3-1.42-1.41 5.3-5.3 1.42 1.41zm5.65 0l-10.6 10.6-6.37-6.36L7.76 10l4.95 4.95 9.19-9.2 1.41 1.42zM2.11 10l4.94 4.95.35-.35L8.82 16l-1.77 1.77L.69 11.4 2.1 10z"}}]},me=g({name:"CheckDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=m(()=>e.size),{className:c,style:s}=T(r),o=m(()=>["t-icon","t-icon-check-double",c.value]),a=m(()=>E(E({},s.value),n.style)),u=m(()=>({class:o.value,style:a.value,onClick:l=>{var i;return(i=e.onClick)===null||i===void 0?void 0:i.call(e,{e:l})}}));return()=>L(be,u.value)}});const ve=me;function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(r){V(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ye={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M10.88 1.38l1.28.22a4 4 0 013.34 3.94V8h5.32a2 2 0 011.97 2.33l-1.66 10A2 2 0 0119.15 22H7V10.8l3.88-9.42zm1.23 2.26L9 11.2V20h10.15l1.67-10H13.5V5.54a2 2 0 00-1.39-1.9zM4 10v12H2V10h2z"}}]},Oe=g({name:"ThumbUpIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=m(()=>e.size),{className:c,style:s}=T(r),o=m(()=>["t-icon","t-icon-thumb-up",c.value]),a=m(()=>k(k({},s.value),n.style)),u=m(()=>({class:o.value,style:a.value,onClick:l=>{var i;return(i=e.onClick)===null||i===void 0?void 0:i.call(e,{e:l})}}));return()=>L(ye,u.value)}});const ge=Oe;/** import{G as y,M as P,c as M,w as R,h as q,Y as X,_ as W}from"./index.3a834e58.js";/* empty css *//* empty css */import{d as g,c as m,o as Y,b as Q,f as Z,t as ee,p as te,r as z,aI as p,aU as I,i as ne,bD as re,C as w,D as C,aH as b,aK as ae,aJ as oe,aE as ce,G as se,u as x,bE as ie,bJ as ue}from"./arco.b289f6bb.js";import{f as le}from"./vue.e0867ae8.js";import{u as T,r as L,_ as V}from"./dep-281dbb92.fa8dfc7c.js";import{B as pe}from"./index.1865e741.js";import{_ as f,u as G}from"./useConfig.1a69b527.js";import{i as j,h as fe}from"./index.a4c8797a.js";import{d as O,i as S}from"./index.9e72de03.js";import{C as de}from"./index.417ea4e6.js";import"./chart.7501771f.js";import"./useDisabled.e7ff81a3.js";function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(r){V(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var be={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M17.66 7.17l-5.3 5.3-1.42-1.41 5.3-5.3 1.42 1.41zm5.65 0l-10.6 10.6-6.37-6.36L7.76 10l4.95 4.95 9.19-9.2 1.41 1.42zM2.11 10l4.94 4.95.35-.35L8.82 16l-1.77 1.77L.69 11.4 2.1 10z"}}]},me=g({name:"CheckDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=m(()=>e.size),{className:c,style:s}=T(r),o=m(()=>["t-icon","t-icon-check-double",c.value]),a=m(()=>E(E({},s.value),n.style)),u=m(()=>({class:o.value,style:a.value,onClick:l=>{var i;return(i=e.onClick)===null||i===void 0?void 0:i.call(e,{e:l})}}));return()=>L(be,u.value)}});const ve=me;function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(r){V(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ye={tag:"svg",attrs:{fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M10.88 1.38l1.28.22a4 4 0 013.34 3.94V8h5.32a2 2 0 011.97 2.33l-1.66 10A2 2 0 0119.15 22H7V10.8l3.88-9.42zm1.23 2.26L9 11.2V20h10.15l1.67-10H13.5V5.54a2 2 0 00-1.39-1.9zM4 10v12H2V10h2z"}}]},Oe=g({name:"ThumbUpIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,r=m(()=>e.size),{className:c,style:s}=T(r),o=m(()=>["t-icon","t-icon-thumb-up",c.value]),a=m(()=>k(k({},s.value),n.style)),u=m(()=>({class:o.value,style:a.value,onClick:l=>{var i;return(i=e.onClick)===null||i===void 0?void 0:i.call(e,{e:l})}}));return()=>L(ye,u.value)}});const ge=Oe;/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.52821fcc.js.gz Normal file

Binary file not shown.

View File

@ -1 +0,0 @@
.container[data-v-ace1b18a]{padding:0 20px 20px}.container[data-v-ace1b18a] .arco-list-content{overflow-x:hidden}.container[data-v-ace1b18a] .arco-card-meta-title{font-size:14px}[data-v-ace1b18a] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-ace1b18a] .arco-list-item{width:33%}[data-v-ace1b18a] .block-title{margin:0 0 12px;font-size:14px}[data-v-ace1b18a] .list-wrap .list-row{align-items:stretch}[data-v-ace1b18a] .list-wrap .list-row .list-col{margin-bottom:16px}[data-v-ace1b18a] .list-wrap :deep(.arco-space){width:100%}[data-v-ace1b18a] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
import{h as y,Y as B,_ as v}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as k,r as C,bD as $,C as E,D as A,aI as r,aH as n,G as h,aN as m,aM as w,a$ as F,ba as S,bB as D,bE as H,bJ as T,n as I}from"./arco.b289f6bb.js";import{e as N,b as R,g as P}from"./serial.c741fbda.js";import{C as V}from"./index.0c95277f.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";import"./useConfig.2ab888a5.js";import"./index.bb275d34.js";const M={class:"container"},U=["innerHTML"],x={name:"Chi"},L=k({...x,setup(z){const i=y(),u=C({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907<br/><br/>",eepromType:"",showHide:0}),b=async(e=0,t)=>{var c;await N(i.connectPort);for(let o=e;o<t.length+e;o+=128)await R(i.connectPort,o,t.slice(o-e,o-e+128),128,(c=i.configuration)==null?void 0:c.uart),u.status=u.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A"+((o-e)/t.length*100).toFixed(1)+"%<br/>",I(()=>{const a=document==null?void 0:document.getElementById("statusArea");a&&(a.scrollTop=a==null?void 0:a.scrollHeight)});u.status=u.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0%<br/>",await P(i.connectPort)},g=async(e=1)=>{var c,o,a,f;if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((c=i.configuration)==null?void 0:c.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}u.status=u.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93...<br />";let t;if(e==4){(o=i.configuration)!=null&&o.newpinyin?t=await fetch("/pinyin_plus.bin"):t=await fetch("/pinyin.bin");const l=t.body.getReader(),s=[];for(;;){const{done:p,value:_}=await l.read();if(p)break;s.push(..._)}const d=new Uint8Array(s);await b(131072,d);return}if(e==1){if(((a=i.configuration)==null?void 0:a.charset)=="losehu"){t=await fetch("/old_font.bin");const l=t.body.getReader(),s=[];for(;;){const{done:p,value:_}=await l.read();if(p)break;s.push(..._)}const d=new Uint8Array(s);await b(8192,d);return}if(((f=i.configuration)==null?void 0:f.charset)=="gb2312"){t=await fetch("/new_font_k.bin");const l=t.body.getReader(),s=[];for(;;){const{done:p,value:_}=await l.read();if(p)break;s.push(..._)}const d=new Uint8Array(s);await b(9344,d);return}}};return(e,t)=>{const c=B,o=F,a=V,f=S,l=D,s=$,d=H,p=T;return E(),A("div",M,[r(c,{items:[e.$t("menu.list"),e.$t("menu.font")]},null,8,["items"]),r(p,{gutter:20,align:"stretch"},{default:n(()=>[r(d,{span:24},{default:n(()=>[r(s,{class:"general-card"},{title:n(()=>[h("span",{onClick:t[0]||(t[0]=()=>{u.showHide+=1})},m(e.$t("menu.font")+e.$t("global.onStart")),1)]),default:n(()=>[r(f,null,{default:n(()=>[r(a,{bordered:""},{header:n(()=>[w(m(e.$t("tool.fontwrite")),1)]),default:n(()=>[r(o,{onClick:t[1]||(t[1]=_=>g(1))},{default:n(()=>[w(m(e.$t("tool.writefontwrite")),1)]),_:1})]),_:1}),r(a,{bordered:""},{header:n(()=>[w(m(e.$t("tool.pinyinwrite")),1)]),default:n(()=>[r(f,null,{default:n(()=>[r(o,{onClick:t[2]||(t[2]=_=>g(4))},{default:n(()=>[w(m(e.$t("tool.writepinyin")),1)]),_:1})]),_:1})]),_:1})]),_:1}),r(l),h("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:u.status},null,8,U)]),_:1})]),_:1})]),_:1})])}}});const et=v(L,[["__scopeId","data-v-ac553c64"]]);export{et as default};

Binary file not shown.

View File

@ -1 +1 @@
import{h as k,Y as B,_ as N}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as T,r as E,aX as K,bO as L,bD as R,C as F,D as H,aI as e,aH as r,aM as V,aN as A,u as J,a6 as M,a$ as O,ba as W,bE as X,bJ as Y,b7 as j,bc as q}from"./arco.b289f6bb.js";import{u as x}from"./loading.78cf5ab2.js";import{e as $,a as S,f as w,s as h,b as P,g as z}from"./serial.c741fbda.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const G={class:"container"},Q={name:"Chi"},Z=T({...Q,setup(oo){const o=k(),{loading:I,setLoading:C}=x(!1),t=E({logo_line1:"",logo_line2:"",mdc_audio_local:!0}),v=async()=>{var n,i,f,c,u,m,_,g,d,s,b,y;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await $(o.connectPort),C(!0),((n=o.configuration)==null?void 0:n.charset)=="losehu"){let a=new Uint8Array(38);a.set(await S(o.connectPort,123680,38,(i=o.configuration)==null?void 0:i.uart),0),t.logo_line1=w(a.subarray(0,19),(f=o.configuration)==null?void 0:f.charset),t.logo_line2=w(a.subarray(19,38),(c=o.configuration)==null?void 0:c.charset)}else if(((u=o.configuration)==null?void 0:u.charset)=="gb2312"){let a=new Uint8Array(36);a.set(await S(o.connectPort,8192,36,(m=o.configuration)==null?void 0:m.uart),0),t.logo_line1=w(a.subarray(0,18),(_=o.configuration)==null?void 0:_.charset),t.logo_line2=w(a.subarray(18,36),(g=o.configuration)==null?void 0:g.charset)}else{let a=new Uint8Array(32);a.set(await S(o.connectPort,3760,32,(d=o.configuration)==null?void 0:d.uart),0),t.logo_line1=w(a.subarray(0,16),(s=o.configuration)==null?void 0:s.charset),t.logo_line2=w(a.subarray(16,32),(b=o.configuration)==null?void 0:b.charset)}parseInt(await S(o.connectPort,8189,1,(y=o.configuration)==null?void 0:y.uart))==0?t.mdc_audio_local=!1:t.mdc_audio_local=!0,C(!1)},D=async()=>{var n,i,f,c,u,m,_,g,d,s,b,y,a,p,U;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(C(!0),await $(o.connectPort),((n=o.configuration)==null?void 0:n.charset)=="losehu"){let l=new Uint8Array(38);l.set(h(t.logo_line1,(i=o.configuration)==null?void 0:i.charset).subarray(0,19),0),l.set(h(t.logo_line2,(f=o.configuration)==null?void 0:f.charset).subarray(0,19),19),await P(o.connectPort,123678,[18,18],2,(c=o.configuration)==null?void 0:c.uart),await P(o.connectPort,123680,l,38,(u=o.configuration)==null?void 0:u.uart)}else if(((m=o.configuration)==null?void 0:m.charset)=="gb2312"){let l=new Uint8Array(36);l.set(h(t.logo_line1,(_=o.configuration)==null?void 0:_.charset).subarray(0,18),0),l.set(h(t.logo_line2,(g=o.configuration)==null?void 0:g.charset).subarray(0,18),18),await P(o.connectPort,8228,[18,18],2,(d=o.configuration)==null?void 0:d.uart),await P(o.connectPort,8192,l,36,(s=o.configuration)==null?void 0:s.uart)}else{let l=new Uint8Array(32);l.set(h(t.logo_line1,(b=o.configuration)==null?void 0:b.charset).subarray(0,16),0),l.set(h(t.logo_line2,(y=o.configuration)==null?void 0:y.charset).subarray(0,16),16),await P(o.connectPort,3760,l,32,(a=o.configuration)==null?void 0:a.uart)}(p=o.configuration)!=null&&p.localmdc&&await P(o.connectPort,8189,new Uint8Array([t.mdc_audio_local?1:0]),1,(U=o.configuration)==null?void 0:U.uart),await z(o.connectPort),C(!1)};return(n,i)=>{const f=B,c=M,u=O,m=W,_=X,g=Y,d=j,s=q,b=K,y=L,a=R;return F(),H("div",G,[e(f,{items:[n.$t("menu.dashboard"),n.$t("menu.cps.settings")]},null,8,["items"]),e(g,{gutter:20,align:"stretch"},{default:r(()=>[e(_,{span:24},{default:r(()=>[e(a,{class:"general-card",title:n.$t("menu.cps.settings")+n.$t("global.onStart")},{default:r(()=>[e(g,{style:{"margin-bottom":"16px"}},{default:r(()=>[e(_,{span:12},{default:r(()=>[e(m,null,{default:r(()=>[e(u,{type:"primary",onClick:v},{icon:r(()=>[e(c)]),default:r(()=>[V(" "+A(n.$t("cps.onDeviceRead")),1)]),_:1}),e(u,{onClick:D},{icon:r(()=>[e(c)]),default:r(()=>[V(" "+A(n.$t("cps.onDeviceWrite")),1)]),_:1})]),_:1})]),_:1})]),_:1}),e(y,{loading:J(I),style:{width:"100%"}},{default:r(()=>[e(s,{"label-col-style":{width:"25%"},field:"logo_line1",label:n.$t("cps.line1")},{default:r(()=>[e(d,{modelValue:t.logo_line1,"onUpdate:modelValue":i[0]||(i[0]=p=>t.logo_line1=p)},null,8,["modelValue"])]),_:1},8,["label"]),e(s,{"label-col-style":{width:"25%"},field:"logo_line2",label:n.$t("cps.line2")},{default:r(()=>[e(d,{modelValue:t.logo_line2,"onUpdate:modelValue":i[1]||(i[1]=p=>t.logo_line2=p)},null,8,["modelValue"])]),_:1},8,["label"]),e(s,{"label-col-style":{width:"25%"},field:"logo_line2",label:n.$t("cps.mdclocplay")},{default:r(()=>[e(b,{modelValue:t.mdc_audio_local,"onUpdate:modelValue":i[2]||(i[2]=p=>t.mdc_audio_local=p),type:"round"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["loading"])]),_:1},8,["title"])]),_:1})]),_:1})])}}});const _o=N(Z,[["__scopeId","data-v-739b81b7"]]);export{_o as default}; import{h as k,Y as B,_ as N}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as T,r as E,aX as K,bO as L,bD as R,C as F,D as H,aI as e,aH as r,aM as V,aN as A,u as J,a6 as M,a$ as O,ba as W,bE as X,bJ as Y,b7 as j,bc as q}from"./arco.b289f6bb.js";import{u as x}from"./loading.78cf5ab2.js";import{e as $,a as S,f as w,s as h,b as P,g as z}from"./serial.c741fbda.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const G={class:"container"},Q={name:"Chi"},Z=T({...Q,setup(oo){const o=k(),{loading:I,setLoading:C}=x(!1),t=E({logo_line1:"",logo_line2:"",mdc_audio_local:!0}),v=async()=>{var n,i,f,c,u,m,_,g,d,s,b,y;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(await $(o.connectPort),C(!0),((n=o.configuration)==null?void 0:n.charset)=="losehu"){let a=new Uint8Array(38);a.set(await S(o.connectPort,123680,38,(i=o.configuration)==null?void 0:i.uart),0),t.logo_line1=w(a.subarray(0,19),(f=o.configuration)==null?void 0:f.charset),t.logo_line2=w(a.subarray(19,38),(c=o.configuration)==null?void 0:c.charset)}else if(((u=o.configuration)==null?void 0:u.charset)=="gb2312"){let a=new Uint8Array(36);a.set(await S(o.connectPort,8192,36,(m=o.configuration)==null?void 0:m.uart),0),t.logo_line1=w(a.subarray(0,18),(_=o.configuration)==null?void 0:_.charset),t.logo_line2=w(a.subarray(18,36),(g=o.configuration)==null?void 0:g.charset)}else{let a=new Uint8Array(32);a.set(await S(o.connectPort,3760,32,(d=o.configuration)==null?void 0:d.uart),0),t.logo_line1=w(a.subarray(0,16),(s=o.configuration)==null?void 0:s.charset),t.logo_line2=w(a.subarray(16,32),(b=o.configuration)==null?void 0:b.charset)}parseInt(await S(o.connectPort,8189,1,(y=o.configuration)==null?void 0:y.uart))==0?t.mdc_audio_local=!1:t.mdc_audio_local=!0,C(!1)},D=async()=>{var n,i,f,c,u,m,_,g,d,s,b,y,a,p,U;if(o.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(C(!0),await $(o.connectPort),((n=o.configuration)==null?void 0:n.charset)=="losehu"){let l=new Uint8Array(38);l.set(h(t.logo_line1,(i=o.configuration)==null?void 0:i.charset).subarray(0,19),0),l.set(h(t.logo_line2,(f=o.configuration)==null?void 0:f.charset).subarray(0,19),19),await P(o.connectPort,123678,[18,18],2,(c=o.configuration)==null?void 0:c.uart),await P(o.connectPort,123680,l,38,(u=o.configuration)==null?void 0:u.uart)}else if(((m=o.configuration)==null?void 0:m.charset)=="gb2312"){let l=new Uint8Array(36);l.set(h(t.logo_line1,(_=o.configuration)==null?void 0:_.charset).subarray(0,18),0),l.set(h(t.logo_line2,(g=o.configuration)==null?void 0:g.charset).subarray(0,18),18),await P(o.connectPort,8228,[18,18],2,(d=o.configuration)==null?void 0:d.uart),await P(o.connectPort,8192,l,36,(s=o.configuration)==null?void 0:s.uart)}else{let l=new Uint8Array(32);l.set(h(t.logo_line1,(b=o.configuration)==null?void 0:b.charset).subarray(0,16),0),l.set(h(t.logo_line2,(y=o.configuration)==null?void 0:y.charset).subarray(0,16),16),await P(o.connectPort,3760,l,32,(a=o.configuration)==null?void 0:a.uart)}(p=o.configuration)!=null&&p.localmdc&&await P(o.connectPort,8189,new Uint8Array([t.mdc_audio_local?1:0]),1,(U=o.configuration)==null?void 0:U.uart),await z(o.connectPort),C(!1)};return(n,i)=>{const f=B,c=M,u=O,m=W,_=X,g=Y,d=j,s=q,b=K,y=L,a=R;return F(),H("div",G,[e(f,{items:[n.$t("menu.dashboard"),n.$t("menu.cps.settings")]},null,8,["items"]),e(g,{gutter:20,align:"stretch"},{default:r(()=>[e(_,{span:24},{default:r(()=>[e(a,{class:"general-card",title:n.$t("menu.cps.settings")+n.$t("global.onStart")},{default:r(()=>[e(g,{style:{"margin-bottom":"16px"}},{default:r(()=>[e(_,{span:12},{default:r(()=>[e(m,null,{default:r(()=>[e(u,{type:"primary",onClick:v},{icon:r(()=>[e(c)]),default:r(()=>[V(" "+A(n.$t("cps.onDeviceRead")),1)]),_:1}),e(u,{onClick:D},{icon:r(()=>[e(c)]),default:r(()=>[V(" "+A(n.$t("cps.onDeviceWrite")),1)]),_:1})]),_:1})]),_:1})]),_:1}),e(y,{loading:J(I),style:{width:"100%"}},{default:r(()=>[e(s,{"label-col-style":{width:"25%"},field:"logo_line1",label:n.$t("cps.line1")},{default:r(()=>[e(d,{modelValue:t.logo_line1,"onUpdate:modelValue":i[0]||(i[0]=p=>t.logo_line1=p)},null,8,["modelValue"])]),_:1},8,["label"]),e(s,{"label-col-style":{width:"25%"},field:"logo_line2",label:n.$t("cps.line2")},{default:r(()=>[e(d,{modelValue:t.logo_line2,"onUpdate:modelValue":i[1]||(i[1]=p=>t.logo_line2=p)},null,8,["modelValue"])]),_:1},8,["label"]),e(s,{"label-col-style":{width:"25%"},field:"logo_line2",label:n.$t("cps.mdclocplay")},{default:r(()=>[e(b,{modelValue:t.mdc_audio_local,"onUpdate:modelValue":i[2]||(i[2]=p=>t.mdc_audio_local=p),type:"round"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["loading"])]),_:1},8,["title"])]),_:1})]),_:1})])}}});const _o=N(Z,[["__scopeId","data-v-739b81b7"]]);export{_o as default};

BIN
assets/index.78a4487a.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{_ as t}from"./index.b999f3ae.js";import{C as a,aE as s,aH as _,bg as c,be as n,bf as r,G as d}from"./arco.b289f6bb.js";const p={},f=e=>(n("data-v-77ebf61d"),e=e(),r(),e),i=f(()=>d("a",{href:"https://github.com/silenty4ng/k5web",target:"_blank"},"K5Web - V0.1.202405130020",-1));function b(e,l){const o=c;return a(),s(o,{class:"footer"},{default:_(()=>[i]),_:1})}const m=t(p,[["render",b],["__scopeId","data-v-77ebf61d"]]);export{m as F}; import{_ as t}from"./index.3a834e58.js";import{C as a,aE as s,aH as _,bg as c,be as n,bf as r,G as d}from"./arco.b289f6bb.js";const p={},f=e=>(n("data-v-77ebf61d"),e=e(),r(),e),i=f(()=>d("a",{href:"https://github.com/silenty4ng/k5web",target:"_blank"},"K5Web - V0.1.202405130020",-1));function b(e,l){const o=c;return a(),s(o,{class:"footer"},{default:_(()=>[i]),_:1})}const m=t(p,[["render",b],["__scopeId","data-v-77ebf61d"]]);export{m as F};

View File

@ -1 +1 @@
import{d as x,c as q,b5 as R,C as i,D as m,G as s,aI as e,aH as n,aK as D,aJ as E,aE as j,aN as r,b6 as z,f as A,r as G,b7 as H,b8 as J,b9 as K,ba as Q,bb as T,u as C,aM as f,a_ as W,bc as O,bd as X,a$ as Y,be as Z,bf as ee}from"./arco.b289f6bb.js";import{F as oe}from"./index.2316962c.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{f as te,g as re}from"./vue.e0867ae8.js";import{u as le}from"./loading.78cf5ab2.js";import"./chart.7501771f.js";const S=""+new URL("login-banner.426fb77f.png",import.meta.url).href,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=q(()=>[{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=z,h=R;return i(),m("div",ce,[s("div",ie,[e(h,{class:"carousel","animation-name":"fade"},{default:n(()=>[(i(!0),m(D,null,E(g.value,a=>(i(),j(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-741ef175"]]),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=A(""),{loading:v,setLoading:p}=le(),h=se(),a=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),d=G({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}}),W.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=O,$=ne,y=X,B=J,N=K,P=Y,M=Q,U=T;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(U,{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-12db3177"]]),ye=c=>(Z("data-v-24cebde1"),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 je=k(Ce,[["__scopeId","data-v-24cebde1"]]);export{je as default}; import{d as x,c as q,b5 as R,C as i,D as m,G as s,aI as e,aH as n,aK as D,aJ as E,aE as j,aN as r,b6 as z,f as A,r as G,b7 as H,b8 as J,b9 as K,ba as Q,bb as T,u as C,aM as f,a_ as W,bc as O,bd as X,a$ as Y,be as Z,bf as ee}from"./arco.b289f6bb.js";import{F as oe}from"./index.7e4d0707.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{f as te,g as re}from"./vue.e0867ae8.js";import{u as le}from"./loading.78cf5ab2.js";import"./chart.7501771f.js";const S=""+new URL("login-banner.426fb77f.png",import.meta.url).href,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=q(()=>[{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=z,h=R;return i(),m("div",ce,[s("div",ie,[e(h,{class:"carousel","animation-name":"fade"},{default:n(()=>[(i(!0),m(D,null,E(g.value,a=>(i(),j(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-741ef175"]]),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=A(""),{loading:v,setLoading:p}=le(),h=se(),a=re("login-config",{rememberPassword:!0,username:"admin",password:"admin"}),d=G({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}}),W.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=O,$=ne,y=X,B=J,N=K,P=Y,M=Q,U=T;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(U,{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-12db3177"]]),ye=c=>(Z("data-v-24cebde1"),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 je=k(Ce,[["__scopeId","data-v-24cebde1"]]);export{je as default};

BIN
assets/index.9a8c0d58.js.gz Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
assets/index.9d23f8b4.js.gz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{ae as $e,af as rn,a4 as an,A as Se,ag as Ee,ah as tn,ai as sn,M as D,aj as ln,ak as on,al as un,am as cn,O as Te,y as Pe,a8 as fn,a1 as vn,an as dn,z as gn,ao as Le,C as N,J as xe,a2 as ie,P as hn,ap as yn,G as Ie,aq as pn,ar as Me,N as mn,as as _n,w as Cn}from"./index.b999f3ae.js";import{d as wn,b as J,_ as R,u as p,a as bn}from"./useConfig.2ab888a5.js";import{d as ee,o as ne,g as An,n as On,aI as h,c as y,f as z,w as Re,t as $n,bH as G,bL as le,r as Sn,h as En,b4 as Tn}from"./arco.b289f6bb.js";/** import{ae as $e,af as rn,a4 as an,A as Se,ag as Ee,ah as tn,ai as sn,M as D,aj as ln,ak as on,al as un,am as cn,O as Te,y as Pe,a8 as fn,a1 as vn,an as dn,z as gn,ao as Le,C as N,J as xe,a2 as ie,P as hn,ap as yn,G as Ie,aq as pn,ar as Me,N as mn,as as _n,w as Cn}from"./index.3a834e58.js";import{d as wn,b as J,_ as R,u as p,a as bn}from"./useConfig.1a69b527.js";import{d as ee,o as ne,g as An,n as On,aI as h,c as y,f as z,w as Re,t as $n,bH as G,bL as le,r as Sn,h as En,b4 as Tn}from"./arco.b289f6bb.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.9e72de03.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{_ as fe,q as ll,f as il,a as ga,r as ol,o as bn,s as Rn,d as kt,t as ul,e as Bn,u as cl,v as ha,w as sl,x as vl,y as fl,b as dl,c as pl,L as ma,l as Tt,j as gl}from"./index.bb275d34.js";import{d as le,c as O,g as jt,aK as Ct,f as X,r as kn,w as ce,o as qe,t as Ce,n as nt,b as Nt,bK as ba,aI as j,bL as hl,aU as Et,bM as ml,bI as bl,i as at,p as en,bs as ya,bo as Oa,bp as Ca,bH as je,bx as yl,h as ft,a as Ol}from"./arco.b289f6bb.js";import{_ as L,b as lt,u as ue,a as it}from"./useConfig.2ab888a5.js";import{u as Pe,r as _e,_ as xe,b as Mt,c as Cl,C as Sl,o as wl}from"./dep-281dbb92.c00ad94f.js";import{B as Vt,u as Sa}from"./index.75c3a3c9.js";import{M as He,G as Ne,O as Pl,Z as _l,d as ht,$ as wa,C as We,J as Ue,c as Ee,b as Ht,w as Se,a0 as xl,a1 as Il,S as kl,E as Pa,F as jl,U as Nl,a2 as Xt,y as _a,X as xa,K as El}from"./index.b999f3ae.js";import{u as Ml}from"./useDisabled.8ccdf362.js";/** import{_ as fe,q as ll,f as il,a as ga,r as ol,o as bn,s as Rn,d as kt,t as ul,e as Bn,u as cl,v as ha,w as sl,x as vl,y as fl,b as dl,c as pl,L as ma,l as Tt,j as gl}from"./index.9e72de03.js";import{d as le,c as O,g as jt,aK as Ct,f as X,r as kn,w as ce,o as qe,t as Ce,n as nt,b as Nt,bK as ba,aI as j,bL as hl,aU as Et,bM as ml,bI as bl,i as at,p as en,bs as ya,bo as Oa,bp as Ca,bH as je,bx as yl,h as ft,a as Ol}from"./arco.b289f6bb.js";import{_ as L,b as lt,u as ue,a as it}from"./useConfig.1a69b527.js";import{u as Pe,r as _e,_ as xe,b as Mt,c as Cl,C as Sl,o as wl}from"./dep-281dbb92.fa8dfc7c.js";import{B as Vt,u as Sa}from"./index.1865e741.js";import{M as He,G as Ne,O as Pl,Z as _l,d as ht,$ as wa,C as We,J as Ue,c as Ee,b as Ht,w as Se,a0 as xl,a1 as Il,S as kl,E as Pa,F as jl,U as Nl,a2 as Xt,y as _a,X as xa,K as El}from"./index.3a834e58.js";import{u as Ml}from"./useDisabled.e7ff81a3.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.a4c8797a.js.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{_ as n}from"./index.b999f3ae.js";import{d as c,bC as _,a$ as r,D as u,aI as e,G as p,aH as i,C as d,aM as l}from"./arco.b289f6bb.js";import{f as m}from"./vue.e0867ae8.js";import"./chart.7501771f.js";const f={class:"content"},x={class:"operation-row"},b=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,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 E=n(b,[["__scopeId","data-v-8bef407f"]]);export{E as default}; import{_ as n}from"./index.3a834e58.js";import{d as c,bC as _,a$ as r,D as u,aI as e,G as p,aH as i,C as d,aM as l}from"./arco.b289f6bb.js";import{f as m}from"./vue.e0867ae8.js";import"./chart.7501771f.js";const f={class:"content"},x={class:"operation-row"},b=c({__name:"index",setup(k){const t=m(),o=()=>{t.push({name:"Workplace"})};return(h,v)=>{const s=_,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 E=n(b,[["__scopeId","data-v-8bef407f"]]);export{E as default};

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{d as U,r as Q,bD as W,C as j,aE as X,aH as s,aI as i,aM as d,aN as c,u as w,bo as Y,bp as Z,bn as tt,bE as ot,bB as at,a$ as nt,ba as et,be as rt,bf as ct,G as u,D as it}from"./arco.b289f6bb.js";import{v as st,h as ut,_ as G}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as _t,a as n,b as e}from"./serial.c741fbda.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const pt=""+new URL("../gy.png",import.meta.url).href,S=_=>(rt("data-v-769c6935"),_=_(),ct(),_),lt=S(()=>u("br",null,null,-1)),dt=S(()=>u("br",null,null,-1)),mt=S(()=>u("div",null,[u("img",{style:{"margin-bottom":"10px"},width:"600px",src:pt})],-1)),ft=U({__name:"banner",setup(_){const{t:r}=st.exports.useI18n(),t=ut(),P=Q({eepromSize:r("workplace.clickCheck")}),H=async()=>{var p,m,f,g,h,l,y,M,$,I,x,B,C,z,D,E,N,T,V,A,R;let o=r("workplace.unk");const v=[Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256)];await _t(t.connectPort);const a=new Uint8Array(v);if(((p=t.configuration)==null?void 0:p.uart)=="official"){const b=await n(t.connectPort,0,8,(m=t.configuration)==null?void 0:m.uart);await e(t.connectPort,0,a,8,(f=t.configuration)==null?void 0:f.uart);const k=await n(t.connectPort,0,8,(g=t.configuration)==null?void 0:g.uart);a.toString()==k.toString()&&(o=r("global.8kb")),await e(t.connectPort,0,b,8,(h=t.configuration)==null?void 0:h.uart)}else{const b=await n(t.connectPort,0,8,(l=t.configuration)==null?void 0:l.uart);await e(t.connectPort,0,a,8,(y=t.configuration)==null?void 0:y.uart);const k=await n(t.connectPort,0,8,(M=t.configuration)==null?void 0:M.uart);a.toString()==k.toString()&&(o=r("global.8kb")),await e(t.connectPort,0,b,8,($=t.configuration)==null?void 0:$.uart);const L=await n(t.connectPort,131064,8,(I=t.configuration)==null?void 0:I.uart);await e(t.connectPort,131064,a,8,(x=t.configuration)==null?void 0:x.uart);const O=await n(t.connectPort,131064,8,(B=t.configuration)==null?void 0:B.uart);a.toString()==O.toString()&&(o=r("global.128kb")),await e(t.connectPort,131064,L,8,(C=t.configuration)==null?void 0:C.uart);const q=await n(t.connectPort,262136,8,(z=t.configuration)==null?void 0:z.uart);await e(t.connectPort,262136,a,8,(D=t.configuration)==null?void 0:D.uart);const F=await n(t.connectPort,262136,8,(E=t.configuration)==null?void 0:E.uart);a.toString()==F.toString()&&(o=r("global.256kb")),await e(t.connectPort,262136,q,8,(N=t.configuration)==null?void 0:N.uart);const J=await n(t.connectPort,524280,8,(T=t.configuration)==null?void 0:T.uart);await e(t.connectPort,524280,a,8,(V=t.configuration)==null?void 0:V.uart);const K=await n(t.connectPort,524280,8,(A=t.configuration)==null?void 0:A.uart);a.toString()==K.toString()&&(o=r("global.512kb")),await e(t.connectPort,524280,J,8,(R=t.configuration)==null?void 0:R.uart)}P.eepromSize=o};return(o,v)=>{const a=tt,p=ot,m=at,f=nt,g=W,h=et;return j(),X(p,{class:"banner"},{default:s(()=>[i(p,null,{default:s(()=>[i(a,{heading:5,style:{"margin-top":"0"}},{default:s(()=>[d(c(w(t).connectState?o.$t("workplace.welcomeSuc"):o.$t("workplace.welcome")),1)]),_:1})]),_:1}),i(m,{class:"panel-border"}),i(h,null,{default:s(()=>[Y(i(g,{style:{marginTop:"2em",marginBottom:"2em"},title:o.$t("workplace.info")},{default:s(()=>{var l;return[d(c(o.$t("workplace.current"))+c(w(t).firmwareVersion)+" ",1),lt,d(" "+c(o.$t("workplace.writeconfig"))+c((l=w(t).configuration)==null?void 0:l.name)+" ",1),dt,d(" "+c(o.$t("workplace.eepromSize"))+c(P.eepromSize)+" ",1),i(f,{size:"mini",type:"primary",onClick:H},{default:s(()=>[d(c(o.$t("workplace.checkIt")),1)]),_:1})]}),_:1},8,["title"]),[[Z,w(t).connectState]])]),_:1}),mt]),_:1})}}});const gt=G(ft,[["__scopeId","data-v-769c6935"]]),ht={class:"container"},wt={class:"left-side"},bt={class:"panel"},kt={name:"Dashboard"},St=U({...kt,setup(_){return(r,t)=>(j(),it("div",ht,[u("div",wt,[u("div",bt,[i(gt)])])]))}});const Et=G(St,[["__scopeId","data-v-8f743d99"]]);export{Et as default}; import{d as U,r as Q,bD as W,C as j,aE as X,aH as s,aI as i,aM as d,aN as c,u as w,bo as Y,bp as Z,bn as tt,bE as ot,bB as at,a$ as nt,ba as et,be as rt,bf as ct,G as u,D as it}from"./arco.b289f6bb.js";import{v as st,h as ut,_ as G}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as _t,a as n,b as e}from"./serial.c741fbda.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";const pt=""+new URL("../gy.png",import.meta.url).href,S=_=>(rt("data-v-769c6935"),_=_(),ct(),_),lt=S(()=>u("br",null,null,-1)),dt=S(()=>u("br",null,null,-1)),mt=S(()=>u("div",null,[u("img",{style:{"margin-bottom":"10px"},width:"600px",src:pt})],-1)),ft=U({__name:"banner",setup(_){const{t:r}=st.exports.useI18n(),t=ut(),P=Q({eepromSize:r("workplace.clickCheck")}),H=async()=>{var p,m,f,g,h,l,y,M,$,I,x,B,C,z,D,E,N,T,V,A,R;let o=r("workplace.unk");const v=[Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256)];await _t(t.connectPort);const a=new Uint8Array(v);if(((p=t.configuration)==null?void 0:p.uart)=="official"){const b=await n(t.connectPort,0,8,(m=t.configuration)==null?void 0:m.uart);await e(t.connectPort,0,a,8,(f=t.configuration)==null?void 0:f.uart);const k=await n(t.connectPort,0,8,(g=t.configuration)==null?void 0:g.uart);a.toString()==k.toString()&&(o=r("global.8kb")),await e(t.connectPort,0,b,8,(h=t.configuration)==null?void 0:h.uart)}else{const b=await n(t.connectPort,0,8,(l=t.configuration)==null?void 0:l.uart);await e(t.connectPort,0,a,8,(y=t.configuration)==null?void 0:y.uart);const k=await n(t.connectPort,0,8,(M=t.configuration)==null?void 0:M.uart);a.toString()==k.toString()&&(o=r("global.8kb")),await e(t.connectPort,0,b,8,($=t.configuration)==null?void 0:$.uart);const L=await n(t.connectPort,131064,8,(I=t.configuration)==null?void 0:I.uart);await e(t.connectPort,131064,a,8,(x=t.configuration)==null?void 0:x.uart);const O=await n(t.connectPort,131064,8,(B=t.configuration)==null?void 0:B.uart);a.toString()==O.toString()&&(o=r("global.128kb")),await e(t.connectPort,131064,L,8,(C=t.configuration)==null?void 0:C.uart);const q=await n(t.connectPort,262136,8,(z=t.configuration)==null?void 0:z.uart);await e(t.connectPort,262136,a,8,(D=t.configuration)==null?void 0:D.uart);const F=await n(t.connectPort,262136,8,(E=t.configuration)==null?void 0:E.uart);a.toString()==F.toString()&&(o=r("global.256kb")),await e(t.connectPort,262136,q,8,(N=t.configuration)==null?void 0:N.uart);const J=await n(t.connectPort,524280,8,(T=t.configuration)==null?void 0:T.uart);await e(t.connectPort,524280,a,8,(V=t.configuration)==null?void 0:V.uart);const K=await n(t.connectPort,524280,8,(A=t.configuration)==null?void 0:A.uart);a.toString()==K.toString()&&(o=r("global.512kb")),await e(t.connectPort,524280,J,8,(R=t.configuration)==null?void 0:R.uart)}P.eepromSize=o};return(o,v)=>{const a=tt,p=ot,m=at,f=nt,g=W,h=et;return j(),X(p,{class:"banner"},{default:s(()=>[i(p,null,{default:s(()=>[i(a,{heading:5,style:{"margin-top":"0"}},{default:s(()=>[d(c(w(t).connectState?o.$t("workplace.welcomeSuc"):o.$t("workplace.welcome")),1)]),_:1})]),_:1}),i(m,{class:"panel-border"}),i(h,null,{default:s(()=>[Y(i(g,{style:{marginTop:"2em",marginBottom:"2em"},title:o.$t("workplace.info")},{default:s(()=>{var l;return[d(c(o.$t("workplace.current"))+c(w(t).firmwareVersion)+" ",1),lt,d(" "+c(o.$t("workplace.writeconfig"))+c((l=w(t).configuration)==null?void 0:l.name)+" ",1),dt,d(" "+c(o.$t("workplace.eepromSize"))+c(P.eepromSize)+" ",1),i(f,{size:"mini",type:"primary",onClick:H},{default:s(()=>[d(c(o.$t("workplace.checkIt")),1)]),_:1})]}),_:1},8,["title"]),[[Z,w(t).connectState]])]),_:1}),mt]),_:1})}}});const gt=G(ft,[["__scopeId","data-v-769c6935"]]),ht={class:"container"},wt={class:"left-side"},bt={class:"panel"},kt={name:"Dashboard"},St=U({...kt,setup(_){return(r,t)=>(j(),it("div",ht,[u("div",wt,[u("div",bt,[i(gt)])])]))}});const Et=G(St,[["__scopeId","data-v-8f743d99"]]);export{Et as default};

BIN
assets/index.d0292aba.js.gz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{w as O,h as z,Y as L,_ as N}from"./index.b999f3ae.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as j,r as q,bS as G,bT as J,bD as Y,C as Q,D as W,aI as o,aH as n,G as C,aN as p,aM as d,bo as X,bp as Z,n as _,a$ as x,ba as tt,bU as et,b7 as ot,bV as at,bB as nt,bE as it,bJ as rt}from"./arco.b289f6bb.js";import{i as E,b as h,g as F,e as S,a as st}from"./serial.c741fbda.js";import{_ as lt}from"./dialog.d71e9813.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";import"./useConfig.2ab888a5.js";import"./dep-281dbb92.c00ad94f.js";import"./index.bb275d34.js";import"./index.75c3a3c9.js";import"./useDisabled.8ccdf362.js";/** import{w as O,h as z,Y as L,_ as N}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as j,r as q,bS as G,bT as J,bD as Y,C as Q,D as W,aI as o,aH as n,G as C,aN as p,aM as d,bo as X,bp as Z,n as _,a$ as x,ba as tt,bU as et,b7 as ot,bV as at,bB as nt,bE as it,bJ as rt}from"./arco.b289f6bb.js";import{i as E,b as h,g as F,e as S,a as st}from"./serial.c741fbda.js";import{_ as lt}from"./dialog.3aea52d2.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";import"./useConfig.1a69b527.js";import"./dep-281dbb92.fa8dfc7c.js";import"./index.9e72de03.js";import"./index.1865e741.js";import"./useDisabled.e7ff81a3.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

BIN
assets/index.d6c0531c.js.gz Normal file

Binary file not shown.

1
assets/index.db6d42f8.js Normal file
View File

@ -0,0 +1 @@
import{h as v,Y as B,_ as E}from"./index.3a834e58.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as $,r as C,bD as A,C as F,D as S,aI as n,aH as o,G as y,aN as _,aM as b,a$ as D,ba as R,bB as H,bE as P,bJ as T,n as I}from"./arco.b289f6bb.js";import{i as M,e as N,b as U,g as V}from"./serial.c741fbda.js";import{C as z}from"./index.417ea4e6.js";import"./chart.7501771f.js";import"./vue.e0867ae8.js";import"./useConfig.1a69b527.js";import"./index.9e72de03.js";const L={class:"container"},G=["innerHTML"],J={name:"Chi"},K=$({...J,setup(O){const i=v(),u=C({status:"\u70B9\u51FB\u5199\u5165\u6309\u94AE\u5199\u5165\u5B57\u5E93\u5230\u8BBE\u5907<br/><br/>",eepromType:"",showHide:0}),w=async(e=0,t)=>{var p;await N(i.connectPort);for(let a=e;a<t.length+e;a+=128)await U(i.connectPort,a,t.slice(a-e,a-e+128),128,(p=i.configuration)==null?void 0:p.uart),u.status=u.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A"+((a-e)/t.length*100).toFixed(1)+"%<br/>",I(()=>{const r=document==null?void 0:document.getElementById("statusArea");r&&(r.scrollTop=r==null?void 0:r.scrollHeight)});u.status=u.status+"\u5199\u5165\u8FDB\u5EA6\uFF1A100.0%<br/>",await V(i.connectPort)},g=async(e=1)=>{var p,a,r,m,h;if(i.connectState!=!0){alert(sessionStorage.getItem("noticeConnectK5"));return}if(((p=i.configuration)==null?void 0:p.uart)=="official"){alert(sessionStorage.getItem("noticeVersionNoSupport"));return}u.status=u.status+"\u6B63\u5728\u4E0B\u8F7D\u5B57\u5E93...<br />";let t;if(e==4){(a=i.configuration)!=null&&a.newpinyin?t=await fetch("/pinyin_plus.bin"):t=await fetch("/pinyin.bin");const c=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await c.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await w(131072,l);return}if(e==5){const c=await M(i.connectPort,(r=i.configuration)==null?void 0:r.uart);if(c!=262144&&c!=262144){u.status=u.status+"\u53EA\u652F\u6301 2Mbit \u4EE5\u4E0A EEPROM \u5199\u5165<br/>";return}t=await fetch("/ssb.bin");const s=t.body.getReader(),l=[];for(;;){const{done:f,value:k}=await s.read();if(f)break;l.push(...k)}const d=new Uint8Array(l);await w(246312,d);return}if(e==1){if(((m=i.configuration)==null?void 0:m.charset)=="losehu"){t=await fetch("/old_font.bin");const c=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await c.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await w(8192,l);return}if(((h=i.configuration)==null?void 0:h.charset)=="gb2312"){t=await fetch("/new_font_k.bin");const c=t.body.getReader(),s=[];for(;;){const{done:d,value:f}=await c.read();if(d)break;s.push(...f)}const l=new Uint8Array(s);await w(9344,l);return}}};return(e,t)=>{const p=B,a=D,r=z,m=R,h=H,c=A,s=P,l=T;return F(),S("div",L,[n(p,{items:[e.$t("menu.list"),e.$t("menu.font")]},null,8,["items"]),n(l,{gutter:20,align:"stretch"},{default:o(()=>[n(s,{span:24},{default:o(()=>[n(c,{class:"general-card"},{title:o(()=>[y("span",{onClick:t[0]||(t[0]=()=>{u.showHide+=1})},_(e.$t("menu.font")+e.$t("global.onStart")),1)]),default:o(()=>[n(m,null,{default:o(()=>[n(r,{bordered:""},{header:o(()=>[b(_(e.$t("tool.fontwrite")),1)]),default:o(()=>[n(a,{onClick:t[1]||(t[1]=d=>g(1))},{default:o(()=>[b(_(e.$t("tool.writefontwrite")),1)]),_:1})]),_:1}),n(r,{bordered:""},{header:o(()=>[b(_(e.$t("tool.pinyinwrite")),1)]),default:o(()=>[n(m,null,{default:o(()=>[n(a,{onClick:t[2]||(t[2]=d=>g(4))},{default:o(()=>[b(_(e.$t("tool.writepinyin")),1)]),_:1})]),_:1})]),_:1}),n(r,{bordered:""},{header:o(()=>[b(_(e.$t("tool.ssbpatch")),1)]),default:o(()=>[n(m,null,{default:o(()=>[n(a,{onClick:t[3]||(t[3]=d=>g(5))},{default:o(()=>[b(_(e.$t("tool.writessbpatch")),1)]),_:1})]),_:1})]),_:1})]),_:1}),n(h),y("div",{id:"statusArea",style:{height:"20em","background-color":"azure",color:"silver",overflow:"auto",padding:"20px"},innerHTML:u.status},null,8,G)]),_:1})]),_:1})]),_:1})])}}});const at=E(K,[["__scopeId","data-v-02011918"]]);export{at as default};

BIN
assets/index.db6d42f8.js.gz Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
.container[data-v-02011918]{padding:0 20px 20px}.container[data-v-02011918] .arco-list-content{overflow-x:hidden}.container[data-v-02011918] .arco-card-meta-title{font-size:14px}[data-v-02011918] .arco-list-col{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}[data-v-02011918] .arco-list-item{width:33%}[data-v-02011918] .block-title{margin:0 0 12px;font-size:14px}[data-v-02011918] .list-wrap .list-row{align-items:stretch}[data-v-02011918] .list-wrap .list-row .list-col{margin-bottom:16px}[data-v-02011918] .list-wrap :deep(.arco-space){width:100%}[data-v-02011918] .list-wrap :deep(.arco-space) .arco-space-item:last-child{flex:1}

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{y as n,d as o}from"./index.b999f3ae.js";import{c as i}from"./arco.b289f6bb.js";/** import{y as n,d as o}from"./index.3a834e58.js";import{c as i}from"./arco.b289f6bb.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{c as s,i as o,g as n}from"./arco.b289f6bb.js";import{z as d,A as b}from"./index.b999f3ae.js";/** import{c as s,i as o,g as n}from"./arco.b289f6bb.js";import{z as d,A as b}from"./index.3a834e58.js";/**
* tdesign v1.9.4 * tdesign v1.9.4
* (c) 2024 tdesign * (c) 2024 tdesign
* @license MIT * @license MIT

View File

@ -23,7 +23,7 @@
} }
</style> </style>
<script src="serial.js"></script> <script src="serial.js"></script>
<script type="module" crossorigin src="./assets/index.b999f3ae.js"></script> <script type="module" crossorigin src="./assets/index.3a834e58.js"></script>
<link rel="modulepreload" crossorigin href="./assets/arco.b289f6bb.js"> <link rel="modulepreload" crossorigin href="./assets/arco.b289f6bb.js">
<link rel="modulepreload" crossorigin href="./assets/chart.7501771f.js"> <link rel="modulepreload" crossorigin href="./assets/chart.7501771f.js">
<link rel="modulepreload" crossorigin href="./assets/vue.e0867ae8.js"> <link rel="modulepreload" crossorigin href="./assets/vue.e0867ae8.js">

Binary file not shown.

BIN
ssb.bin Normal file

Binary file not shown.