UNPKG

@bloxbean/yaci-viewer

Version:

A Cardano blockchain data viewer for developers. It works with the Yaci-Store backend, supporting both a local devnet and public networks.

2 lines (1 loc) 850 B
import{a as w,t as g,r as _}from"./disclose-version.BTC8Bk4r.js";import"./legacy.DKpsC3nd.js";import{c as b,g as v,t as h,m as J,d as s,r}from"./runtime.NVyxXVLy.js";import{a as y}from"./attributes.CqauuZ_8.js";import{p as l}from"./props.Btle0pBM.js";var C=g('<div class="p-4 w-full w"><div class="flex flex-col mt-4"><div class="md:flex-grow"><textarea></textarea></div></div></div>');function Y(f,t){let e=J({id:"message",name:"message",label:"Your message",rows:30,cols:100,placeholder:"Leave a comment..."}),n=l(t,"text",24,()=>({})),x=l(t,"rows",8,30),p=l(t,"cols",8,100);function u(c){return c?JSON.stringify(c,null,2):"{}"}b(e,{...v(e),rows:x(),cols:p()});var a=C(),o=s(a),i=s(o),m=s(i);_(m);let d;r(i),r(o),r(a),h(()=>d=y(m,d,{...v(e),value:u(n()),class:"w-full h-max textarea-info text-sm md:text-base",disabled:!0})),w(f,a)}export{Y as J};