This commit is contained in:
Silent YANG 2024-05-19 12:18:55 +08:00
parent 3c78edc32f
commit e3b1efa7af
66 changed files with 63 additions and 63 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.76776ef0.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.aa4cef55.js";import{v as O,w as M,x as R}from"./index.ee7dcbab.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.76776ef0.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.9ccc7a96.js";import{v as O,w as M,x as R}from"./index.637d6475.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
* (c) 2024 tdesign
* @license MIT

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{t as Xe,_ as w,u as ae}from"./useConfig.93c19403.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.76776ef0.js";import{u as H,r as X,_ as V,o as Qe,b as en,C as nn}from"./dep-281dbb92.526b06bd.js";import{c as ye,y as re,J as A,G as z,b as tn,d as an}from"./index.aa4cef55.js";import{B as $}from"./index.3a9d9ed5.js";import{j as on,z as rn}from"./index.ee7dcbab.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.3732b994.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.76776ef0.js";import{u as H,r as X,_ as V,o as Qe,b as en,C as nn}from"./dep-281dbb92.70a36bee.js";import{c as ye,y as re,J as A,G as z,b as tn,d as an}from"./index.9ccc7a96.js";import{B as $}from"./index.036e8889.js";import{j as on,z as rn}from"./index.637d6475.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
* (c) 2024 tdesign
* @license MIT

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{u as A,a as B,_ as d,b as N}from"./useConfig.93c19403.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.76776ef0.js";import{L as M}from"./index.ee7dcbab.js";import{a3 as w,d as X,c as $,b as K,w as U}from"./index.aa4cef55.js";import{u as V}from"./useDisabled.103ae1d5.js";/**
import{u as A,a as B,_ as d,b as N}from"./useConfig.3732b994.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.76776ef0.js";import{L as M}from"./index.637d6475.js";import{a3 as w,d as X,c as $,b as K,w as U}from"./index.9ccc7a96.js";import{u as V}from"./useDisabled.a85787f7.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.036e8889.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,4 +1,4 @@
import{d as R,c as t,aI as a,aU as V}from"./arco.76776ef0.js";import{u,a as W}from"./useConfig.93c19403.js";import{c as X,J as Z,w as U}from"./index.aa4cef55.js";import{L as k}from"./index.ee7dcbab.js";/**
import{d as R,c as t,aI as a,aU as V}from"./arco.76776ef0.js";import{u,a as W}from"./useConfig.3732b994.js";import{c as X,J as Z,w as U}from"./index.9ccc7a96.js";import{L as k}from"./index.637d6475.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.397bb365.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{h as y,Y as B,_ as v}from"./index.aa4cef55.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.76776ef0.js";import{e as N,b as R,g as P}from"./serial.c741fbda.js";import{C as V}from"./index.5e61a6e4.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useConfig.93c19403.js";import"./index.ee7dcbab.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};
import{h as y,Y as B,_ as v}from"./index.9ccc7a96.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.76776ef0.js";import{e as N,b as R,g as P}from"./serial.c741fbda.js";import{C as V}from"./index.397bb365.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useConfig.3732b994.js";import"./index.637d6475.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};

BIN
assets/index.4aaf648c.js.gz Normal file

Binary file not shown.

View File

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

BIN
assets/index.5b6bd672.js.gz Normal file

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.ee7dcbab.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.76776ef0.js";import{_ as L,b as lt,u as ue,a as it}from"./useConfig.93c19403.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.526b06bd.js";import{B as Vt,u as Sa}from"./index.3a9d9ed5.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.aa4cef55.js";import{u as Ml}from"./useDisabled.103ae1d5.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.637d6475.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.76776ef0.js";import{_ as L,b as lt,u as ue,a as it}from"./useConfig.3732b994.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.70a36bee.js";import{B as Vt,u as Sa}from"./index.036e8889.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.9ccc7a96.js";import{u as Ml}from"./useDisabled.a85787f7.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.5d96b5b3.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{w as O,h as z,Y as L,_ as N}from"./index.aa4cef55.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as j,r as q,bP as G,bQ as J,bD as Q,C as Y,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,bR as et,b7 as ot,bS as at,bB as nt,bE as it,bJ as rt}from"./arco.76776ef0.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.4b4e1953.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useConfig.93c19403.js";import"./dep-281dbb92.526b06bd.js";import"./index.ee7dcbab.js";import"./index.3a9d9ed5.js";import"./useDisabled.103ae1d5.js";/**
import{w as O,h as z,Y as L,_ as N}from"./index.9ccc7a96.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as j,r as q,bP as G,bQ as J,bD as Q,C as Y,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,bR as et,b7 as ot,bS as at,bB as nt,bE as it,bJ as rt}from"./arco.76776ef0.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.9f47bbdf.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useConfig.3732b994.js";import"./dep-281dbb92.70a36bee.js";import"./index.637d6475.js";import"./index.036e8889.js";import"./useDisabled.a85787f7.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.60eae170.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.aa4cef55.js";import{d as wn,b as J,_ as R,u as p,a as bn}from"./useConfig.93c19403.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.76776ef0.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.9ccc7a96.js";import{d as wn,b as J,_ as R,u as p,a as bn}from"./useConfig.3732b994.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.76776ef0.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.637d6475.js.gz Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
assets/index.6b390828.js.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{_}from"./index.aa4cef55.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.76776ef0.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.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.9ccc7a96.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.76776ef0.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.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.76389686.js.gz Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{G as E,M as B,c as Y,w as Q,h as it,Y as st,_ as lt}from"./index.aa4cef55.js";/* empty css *//* empty css *//* empty css */import{d as I,c as w,o as ut,b as pt,f as ft,t as dt,p as mt,r as Z,aI as g,aU as tt,i as gt,bD as bt,bO as yt,C as A,D as R,aH as y,aK as vt,aJ as Ot,aE as _t,G as M,u as z,aM as L,aN as T,bE as ht,bJ as jt,a$ as wt,ba as Pt,be as Ct,bf as St}from"./arco.76776ef0.js";import{e as xt,b as Dt,g as Et}from"./serial.c741fbda.js";import{u as et,r as nt,_ as at}from"./dep-281dbb92.526b06bd.js";import{B as Nt}from"./index.3a9d9ed5.js";import{_ as v,u as ot}from"./useConfig.93c19403.js";import{i as $,h as It}from"./index.23e71fba.js";import{d as N,i as V}from"./index.ee7dcbab.js";import{C as $t}from"./index.5e61a6e4.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useDisabled.103ae1d5.js";function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?U(Object(n),!0).forEach(function(a){at(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var kt={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"}}]},At=I({name:"CheckDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,a=w(()=>e.size),{className:i,style:f}=et(a),c=w(()=>["t-icon","t-icon-check-double",i.value]),o=w(()=>G(G({},f.value),n.style)),s=w(()=>({class:c.value,style:o.value,onClick:u=>{var r;return(r=e.onClick)===null||r===void 0?void 0:r.call(e,{e:u})}}));return()=>nt(kt,s.value)}});const Ft=At;function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(a){at(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var Bt={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"}}]},Mt=I({name:"ThumbUpIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,a=w(()=>e.size),{className:i,style:f}=et(a),c=w(()=>["t-icon","t-icon-thumb-up",i.value]),o=w(()=>H(H({},f.value),n.style)),s=w(()=>({class:c.value,style:o.value,onClick:u=>{var r;return(r=e.onClick)===null||r===void 0?void 0:r.call(e,{e:u})}}));return()=>nt(Bt,s.value)}});const Rt=Mt;/**
import{G as E,M as B,c as Y,w as Q,h as it,Y as st,_ as lt}from"./index.9ccc7a96.js";/* empty css *//* empty css *//* empty css */import{d as I,c as w,o as ut,b as pt,f as ft,t as dt,p as mt,r as Z,aI as g,aU as tt,i as gt,bD as bt,bO as yt,C as A,D as R,aH as y,aK as vt,aJ as Ot,aE as _t,G as M,u as z,aM as L,aN as T,bE as ht,bJ as jt,a$ as wt,ba as Pt,be as Ct,bf as St}from"./arco.76776ef0.js";import{e as xt,b as Dt,g as Et}from"./serial.c741fbda.js";import{u as et,r as nt,_ as at}from"./dep-281dbb92.70a36bee.js";import{B as Nt}from"./index.036e8889.js";import{_ as v,u as ot}from"./useConfig.3732b994.js";import{i as $,h as It}from"./index.5d96b5b3.js";import{d as N,i as V}from"./index.637d6475.js";import{C as $t}from"./index.397bb365.js";import"./chart.ce50b7a1.js";import"./vue.5cc47a17.js";import"./useDisabled.a85787f7.js";function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?U(Object(n),!0).forEach(function(a){at(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var kt={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"}}]},At=I({name:"CheckDoubleIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,a=w(()=>e.size),{className:i,style:f}=et(a),c=w(()=>["t-icon","t-icon-check-double",i.value]),o=w(()=>G(G({},f.value),n.style)),s=w(()=>({class:c.value,style:o.value,onClick:u=>{var r;return(r=e.onClick)===null||r===void 0?void 0:r.call(e,{e:u})}}));return()=>nt(kt,s.value)}});const Ft=At;function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(a){at(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var Bt={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"}}]},Mt=I({name:"ThumbUpIcon",props:{size:{type:String},onClick:{type:Function}},setup(e,t){var{attrs:n}=t,a=w(()=>e.size),{className:i,style:f}=et(a),c=w(()=>["t-icon","t-icon-thumb-up",i.value]),o=w(()=>H(H({},f.value),n.style)),s=w(()=>({class:c.value,style:o.value,onClick:u=>{var r;return(r=e.onClick)===null||r===void 0?void 0:r.call(e,{e:u})}}));return()=>nt(Bt,s.value)}});const Rt=Mt;/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

BIN
assets/index.7b98fee5.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
import{_ as n}from"./index.aa4cef55.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.76776ef0.js";import{f as m}from"./vue.5cc47a17.js";import"./chart.ce50b7a1.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.9ccc7a96.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.76776ef0.js";import{f as m}from"./vue.5cc47a17.js";import"./chart.ce50b7a1.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.

File diff suppressed because one or more lines are too long

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

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.76776ef0.js";import{v as st,h as ut,_ as G}from"./index.aa4cef55.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.ce50b7a1.js";import"./vue.5cc47a17.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.76776ef0.js";import{v as st,h as ut,_ as G}from"./index.9ccc7a96.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.ce50b7a1.js";import"./vue.5cc47a17.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.a0f177a9.js.gz Normal file

Binary file not shown.

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.76776ef0.js";import{F as oe}from"./index.e54ecb37.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.aa4cef55.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{f as te,g as re}from"./vue.5cc47a17.js";import{u as le}from"./loading.25eefc63.js";import"./chart.ce50b7a1.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.76776ef0.js";import{F as oe}from"./index.4bab391b.js";import{v as V,_ as k,u as se,I as ae,a as ne}from"./index.9ccc7a96.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{f as te,g as re}from"./vue.5cc47a17.js";import{u as le}from"./loading.25eefc63.js";import"./chart.ce50b7a1.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.a1a51f1b.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.e33b8ffb.js.gz Normal file

Binary file not shown.

View File

@ -1 +1 @@
import{h as k,Y as B,_ as N}from"./index.aa4cef55.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.76776ef0.js";import{u as x}from"./loading.25eefc63.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.ce50b7a1.js";import"./vue.5cc47a17.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.9ccc7a96.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.76776ef0.js";import{u as x}from"./loading.25eefc63.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.ce50b7a1.js";import"./vue.5cc47a17.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.ee1beb14.js.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,4 @@
import{y as n,d as o}from"./index.aa4cef55.js";import{c as i}from"./arco.76776ef0.js";/**
import{y as n,d as o}from"./index.9ccc7a96.js";import{c as i}from"./arco.76776ef0.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @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.76776ef0.js";import{z as d,A as b}from"./index.aa4cef55.js";/**
import{c as s,i as o,g as n}from"./arco.76776ef0.js";import{z as d,A as b}from"./index.9ccc7a96.js";/**
* tdesign v1.9.4
* (c) 2024 tdesign
* @license MIT

View File

@ -23,7 +23,7 @@
}
</style>
<script src="serial.js"></script>
<script type="module" crossorigin src="./assets/index.aa4cef55.js"></script>
<script type="module" crossorigin src="./assets/index.9ccc7a96.js"></script>
<link rel="modulepreload" crossorigin href="./assets/arco.76776ef0.js">
<link rel="modulepreload" crossorigin href="./assets/chart.ce50b7a1.js">
<link rel="modulepreload" crossorigin href="./assets/vue.5cc47a17.js">

Binary file not shown.