ranui
Version:
A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.
22 lines (21 loc) • 831 B
JavaScript
import { n } from "./mermaid-parser.core-uIDZYuBu.js";
import { n as t } from "./chunk-Y2CYZVJY-0JxdZxki.js";
import { m as o } from "./src-DtRLxcYO.js";
import { c as i } from "./chunk-WYO6CB5R-DDHkKowO.js";
import { t as m } from "./chunk-VAUOI2AC-izt0o4id.js";
var p = { parse: /* @__PURE__ */ t(async (r) => {
const e = await n("info", r);
o.debug(e);
}, "parse") }, d = { version: "11.16.0" }, x = {
parser: p,
db: { getVersion: /* @__PURE__ */ t(() => d.version, "getVersion") },
renderer: { draw: /* @__PURE__ */ t((r, e, s) => {
o.debug(`rendering info diagram
` + r);
const a = m(e);
i(a, 100, 400, !0), a.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${s}`);
}, "draw") }
};
export {
x as diagram
};