2024-02-04 21:01:58 +00:00
|
|
|
import{d as i,r as v,bB as C,bC as y,C as d,aE as E,aH as t,aI as e,aM as u,aN as n,u as s,bw as x,bx as A,bl as S,bD as g,aZ as w,b8 as I,bc as k,bd as T,G as _,D as N}from"./arco.f883ed21.js";import{e as V,_ as l}from"./index.cddd8fd4.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./chart.977fd17b.js";import"./vue.170d1f1d.js";const m=a=>(k("data-v-cd6bb881"),a=a(),T(),a),z=m(()=>_("br",null,null,-1)),$=m(()=>_("br",null,null,-1)),O=i({__name:"banner",setup(a){const o=V(),c=v({eepromSize:"\u70B9\u51FB\u68C0\u6D4B\u6309\u94AE\u68C0\u6D4B"}),F=async()=>{alert("TODO")};return(J,K)=>{const b=S,r=g,f=C,B=w,D=y,h=I;return d(),E(r,{class:"banner"},{default:t(()=>[e(r,null,{default:t(()=>[e(b,{heading:5,style:{"margin-top":"0"}},{default:t(()=>[u(n(s(o).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(f,{class:"panel-border"}),e(h,null,{default:t(()=>[x(e(D,{style:{marginTop:"2em",marginBottom:"2em"},title:"\u624B\u53F0\u4FE1\u606F"},{default:t(()=>{var p;return[u(" \u5F53\u524D\u56FA\u4EF6\u7248\u672C\uFF1A"+n(s(o).firmwareVersion)+" ",1),z,u(" \u5339\u914D\u5199\u9891\u914D\u7F6E\uFF1A"+n((p=s(o).configuration)==null?void 0:p.name)+" ",1),$,u(" \u5B58\u50A8\u5927\u5C0F\uFF1A"+n(c.eepromSize)+" ",1),e(B,{size:"mini",type:"primary",onClick:F},{default:t(()=>[u("\u68C0\u6D4B")]),_:1})]}),_:1},512),[[A,s(o).connectState]])]),_:1})]),_:1})}}});const G=l(O,[["__scopeId","data-v-cd6bb881"]]),H={class:"container"},M={class:"left-side"},Z={class:"panel"},j={name:"Dashboard"},q=i({...j,setup(a){return(o,c)=>(d(),N("div",H,[_("div",M,[_("div",Z,[e(G)])])]))}});const ae=l(q,[["__scopeId","data-v-8f743d99"]]);export{ae as default};
|