import{resolveComponent as m,createBlock as c,openBlock as s,withCtx as e,createVNode as l,createElementVNode as t,toDisplayString as o,unref as u,createElementBlock as p,Fragment as g,renderList as w}from"/vue.js";import{u as N}from"./nc-plugin.B-Fw6sGF.js";import"./nc-main.DEgIQeOo.js";import"./nc-grid.BdeHjjgT.js";import"./nc-sql.DpfKNhOJ.js";import"./service-worker.DGZzV4eE.js";const j=Object.assign({name:"nc-nats-test"},{__name:"nc-nats-test",setup(k){const{data:f,natsMessage:d,natsInfo:i}=N("work-center-test");return(x,r)=>{const n=m("nc-row"),_=m("nc-form");return s(),c(_,{id:"nats-test"},{default:e(()=>[l(n,null,{default:e(()=>[...r[0]||(r[0]=[t("h4",null,"Nats info",-1)])]),_:1}),l(n,null,{default:e(()=>[t("pre",null,o(u(i)),1)]),_:1}),l(n,null,{default:e(()=>[...r[1]||(r[1]=[t("h4",null,"Data",-1)])]),_:1}),l(n,null,{default:e(()=>[t("table",null,[(s(!0),p(g,null,w(u(f),a=>(s(),p("tr",null,[t("td",null,o(a.name),1),t("td",null,o(a.time),1),t("td",null,o(a.data),1)]))),256))])]),_:1}),l(n),l(n,null,{default:e(()=>[...r[2]||(r[2]=[t("h4",null,"Nats messages, last 100 rows",-1)])]),_:1}),l(n,null,{default:e(()=>[t("pre",null,o(u(d)),1)]),_:1})]),_:1})}}});export{j as default};
