2024-02-06 05:00:47 +00:00
|
|
|
import{d,r as y,bB as D,bC as C,C as l,aE as g,aH as t,aI as e,aM as s,aN as u,u as _,bw as x,bx as E,bl as A,bD as S,aZ as w,b8 as I,bc as k,bd as T,G as o,D as N}from"./arco.beabb834.js";import{e as V,_ as m}from"./index.313d02b5.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./chart.83b8c11b.js";import"./vue.30c84055.js";const $=""+new URL("../gy.png",import.meta.url).href,c=a=>(k("data-v-ec38e55a"),a=a(),T(),a),z=c(()=>o("br",null,null,-1)),O=c(()=>o("br",null,null,-1)),G=c(()=>o("div",null,[o("img",{style:{"margin-bottom":"10px"},width:"600px",src:$})],-1)),H=d({__name:"banner",setup(a){const n=V(),r=y({eepromSize:"\u70B9\u51FB\u68C0\u6D4B\u6309\u94AE\u68C0\u6D4B"}),F=async()=>{alert("TODO")};return(q,J)=>{const f=A,i=S,h=D,B=w,b=C,v=I;return l(),g(i,{class:"banner"},{default:t(()=>[e(i,null,{default:t(()=>[e(f,{heading:5,style:{"margin-top":"0"}},{default:t(()=>[s(u(_(n).connectState?"\u6B22\u8FCE\u4F60~\uFF0C\u8FDE\u63A5\u6210\u529F\uFF01":"\u6B22\u8FCE\u4F60~\uFF0C\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002"),1)]),_:1})]),_:1}),e(h,{class:"panel-border"}),e(v,null,{default:t(()=>[x(e(b,{style:{marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:t(()=>{var p;return[s(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+u(_(n).firmwareVersion)+" ",1),z,s(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+u((p=_(n).configuration)==null?void 0:p.name)+" ",1),O,s(" \u5B58\u50A8\u5927\u5C0F\uFF1A"+u(r.eepromSize)+" ",1),e(B,{size:"mini",type:"primary",onClick:F},{default:t(()=>[s("\u68C0\u6D4B")]),_:1})]}),_:1},512),[[E,_(n).connectState]])]),_:1}),G]),_:1})}}});const L=m(H,[["__scopeId","data-v-ec38e55a"]]),M={class:"container"},R={class:"left-side"},U={class:"panel"},Z={name:"Dashboard"},j=d({...Z,setup(a){return(n,r)=>(l(),N("div",M,[o("div",R,[o("div",U,[e(L)])])]))}});const ne=m(j,[["__scopeId","data-v-8f743d99"]]);export{ne as default};
|