@diagrammo/dgmo 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/dist/advanced.d.cts +3 -855
  2. package/dist/advanced.d.ts +3 -855
  3. package/dist/advanced.js +541 -70107
  4. package/dist/analyzer-UYKBXAKR.js +15 -0
  5. package/dist/auto.cjs +1 -1
  6. package/dist/auto.js +1 -1
  7. package/dist/auto.mjs +1 -1
  8. package/dist/block.js +83 -69417
  9. package/dist/calculator-LDYQCDDY.js +11 -0
  10. package/dist/charts-d3-QOZHKTCT.js +25 -0
  11. package/dist/chunk-2DXMZRWJ.js +800 -0
  12. package/dist/chunk-2LACINWN.js +786 -0
  13. package/dist/chunk-33LCUH4H.js +893 -0
  14. package/dist/chunk-3CIOJ5YJ.js +35 -0
  15. package/dist/chunk-3HDBAXF5.js +86 -0
  16. package/dist/chunk-3JLKYGBQ.js +290 -0
  17. package/dist/chunk-3MQQNXPD.js +415 -0
  18. package/dist/chunk-3R5POCTZ.js +967 -0
  19. package/dist/chunk-3SMGIJDD.js +112 -0
  20. package/dist/chunk-44CM72SQ.js +409 -0
  21. package/dist/chunk-4GRI7MEB.js +1604 -0
  22. package/dist/chunk-4OHACBGX.js +606 -0
  23. package/dist/chunk-5DH3KYFH.js +21 -0
  24. package/dist/chunk-5MLYVTYM.js +76 -0
  25. package/dist/chunk-5QXL4NYS.js +553 -0
  26. package/dist/chunk-5WRI5ZAA.js +31 -0
  27. package/dist/chunk-6EK55ART.js +117 -0
  28. package/dist/chunk-6FZYCKXB.js +2065 -0
  29. package/dist/chunk-6HO5ZTXK.js +277 -0
  30. package/dist/chunk-6KFWC4CO.js +7 -0
  31. package/dist/chunk-6MTWIQVO.js +121 -0
  32. package/dist/chunk-6NYWYNBI.js +329 -0
  33. package/dist/chunk-6SM5NJQH.js +620 -0
  34. package/dist/chunk-725LDASD.js +422 -0
  35. package/dist/chunk-76OWZ3BA.js +130 -0
  36. package/dist/chunk-7JEGTRLD.js +338 -0
  37. package/dist/chunk-A44USUV7.js +923 -0
  38. package/dist/chunk-A4GOY3PE.js +25 -0
  39. package/dist/chunk-A4VFQH5G.js +251 -0
  40. package/dist/chunk-AELOBFW5.js +375 -0
  41. package/dist/chunk-AN2MOO5T.js +522 -0
  42. package/dist/chunk-BMR4CIEO.js +41 -0
  43. package/dist/chunk-BS7SV7C3.js +51 -0
  44. package/dist/chunk-BUPDIHML.js +613 -0
  45. package/dist/chunk-BUVJFRPY.js +887 -0
  46. package/dist/chunk-C3Z4DX3V.js +112 -0
  47. package/dist/chunk-CI2G3OEB.js +1818 -0
  48. package/dist/chunk-CKNVO24D.js +54 -0
  49. package/dist/chunk-CUVHQHZ7.js +391 -0
  50. package/dist/chunk-CXK4DZH3.js +114 -0
  51. package/dist/chunk-DKEPS5LH.js +315 -0
  52. package/dist/chunk-DU7W62N5.js +487 -0
  53. package/dist/chunk-DZAQBW35.js +751 -0
  54. package/dist/chunk-EB6FPQUP.js +316 -0
  55. package/dist/chunk-EMS2SK26.js +376 -0
  56. package/dist/chunk-ERLBPDGU.js +510 -0
  57. package/dist/chunk-EVCVDTXE.js +732 -0
  58. package/dist/chunk-FCIIHT24.js +384 -0
  59. package/dist/chunk-FFUN5D66.js +97 -0
  60. package/dist/chunk-FITOLXSX.js +714 -0
  61. package/dist/chunk-FMDSF3OV.js +68 -0
  62. package/dist/chunk-FNB3PNGF.js +410 -0
  63. package/dist/chunk-G2H74XJZ.js +2104 -0
  64. package/dist/chunk-GMR5MFHJ.js +339 -0
  65. package/dist/chunk-H6PI3KJT.js +305 -0
  66. package/dist/chunk-I46X5VUA.js +59 -0
  67. package/dist/chunk-I5IGB56C.js +255 -0
  68. package/dist/chunk-IH6ZMVQ5.js +3950 -0
  69. package/dist/chunk-IJZFN3HM.js +463 -0
  70. package/dist/chunk-IPWPWM6R.js +3079 -0
  71. package/dist/chunk-IYULMRBE.js +23 -0
  72. package/dist/chunk-IZMRON6C.js +167 -0
  73. package/dist/chunk-J5FIXQRT.js +813 -0
  74. package/dist/chunk-JED6ZDEE.js +73 -0
  75. package/dist/chunk-JEUJOX5X.js +136 -0
  76. package/dist/chunk-JM4LEPY3.js +436 -0
  77. package/dist/chunk-L3UHP6TD.js +101 -0
  78. package/dist/chunk-L66GEFB6.js +524 -0
  79. package/dist/chunk-LIOHW36Z.js +469 -0
  80. package/dist/chunk-LP7EC4MI.js +16 -0
  81. package/dist/chunk-MITI6NOL.js +548 -0
  82. package/dist/chunk-MO5YHHMQ.js +168 -0
  83. package/dist/chunk-MZSBFAPJ.js +885 -0
  84. package/dist/chunk-NNAAJVBU.js +9 -0
  85. package/dist/chunk-NOTA6TEI.js +47 -0
  86. package/dist/chunk-NURGB5Z4.js +335 -0
  87. package/dist/chunk-NX4EQS3U.js +1062 -0
  88. package/dist/chunk-NXMESY4J.js +1 -0
  89. package/dist/chunk-OJR3MQYV.js +1458 -0
  90. package/dist/chunk-OURHMODR.js +454 -0
  91. package/dist/chunk-P235SVAH.js +1057 -0
  92. package/dist/chunk-P4RH4OSP.js +1038 -0
  93. package/dist/chunk-P6T66CCZ.js +226 -0
  94. package/dist/chunk-PBAHEPLQ.js +223 -0
  95. package/dist/chunk-PBHE5UG6.js +1530 -0
  96. package/dist/chunk-PDKUANDZ.js +35 -0
  97. package/dist/chunk-PWIHZ6NJ.js +296 -0
  98. package/dist/chunk-QEBUY5NY.js +1685 -0
  99. package/dist/chunk-QLCCJEJI.js +253 -0
  100. package/dist/chunk-QOOUC2J5.js +52 -0
  101. package/dist/chunk-QYTPPDAO.js +402 -0
  102. package/dist/chunk-R3XI2VC7.js +801 -0
  103. package/dist/chunk-RCERWOJR.js +154 -0
  104. package/dist/chunk-RJE5JTVK.js +362 -0
  105. package/dist/chunk-RTLBSQ3G.js +1155 -0
  106. package/dist/chunk-RUNNI6VE.js +448 -0
  107. package/dist/chunk-RVMRZAPB.js +354 -0
  108. package/dist/chunk-RYEGFMUO.js +955 -0
  109. package/dist/chunk-RZCF2VVM.js +528 -0
  110. package/dist/chunk-SML67VPV.js +1025 -0
  111. package/dist/chunk-SQ7IY53Q.js +44 -0
  112. package/dist/chunk-SQAG3UXH.js +161 -0
  113. package/dist/chunk-SRTU6HMQ.js +1851 -0
  114. package/dist/chunk-T2OE3YQB.js +550 -0
  115. package/dist/chunk-T3UBLACL.js +299 -0
  116. package/dist/chunk-TLVIHFRO.js +296 -0
  117. package/dist/chunk-TYS6CSS5.js +52 -0
  118. package/dist/chunk-U6EQI3U6.js +130 -0
  119. package/dist/chunk-UJ4FJLBF.js +86 -0
  120. package/dist/chunk-ULOEATBZ.js +347 -0
  121. package/dist/chunk-UNCCZ3NU.js +127 -0
  122. package/dist/chunk-USZW2HHU.js +197 -0
  123. package/dist/chunk-UWN33VNX.js +1610 -0
  124. package/dist/chunk-UZ7EZW3B.js +40 -0
  125. package/dist/chunk-VOKGH627.js +37 -0
  126. package/dist/chunk-WBRZJOEC.js +204 -0
  127. package/dist/chunk-WCSOJFU3.js +380 -0
  128. package/dist/chunk-WCT3NYCV.js +160 -0
  129. package/dist/chunk-WVAJFAIA.js +529 -0
  130. package/dist/chunk-X5LCYCL5.js +394 -0
  131. package/dist/chunk-XAKEUMEJ.js +1256 -0
  132. package/dist/chunk-Y2ZE3MSG.js +590 -0
  133. package/dist/chunk-Y3J7VR52.js +646 -0
  134. package/dist/chunk-Y5QGVTVC.js +33 -0
  135. package/dist/chunk-YAA6IID3.js +548 -0
  136. package/dist/chunk-YGJTDXVR.js +692 -0
  137. package/dist/chunk-YRYKTYMQ.js +186 -0
  138. package/dist/chunk-YYVTBZZC.js +61 -0
  139. package/dist/chunk-Z5CGSFJB.js +647 -0
  140. package/dist/chunk-Z72XRXD4.js +787 -0
  141. package/dist/chunk-ZGR7ULFJ.js +978 -0
  142. package/dist/chunk-ZJEL4H2R.js +851 -0
  143. package/dist/chunk-ZO27FGJS.js +554 -0
  144. package/dist/collapse-CLPJD2RL.js +11 -0
  145. package/dist/collapse-SLINJQW6.js +9 -0
  146. package/dist/collapse-ZWUFFCK2.js +9 -0
  147. package/dist/compute-G55RG53N.js +8 -0
  148. package/dist/dgmo-router-DZCIDUO5.js +73 -0
  149. package/dist/dimensions-J3FHIMJ6.js +22 -0
  150. package/dist/element.cjs +1 -1
  151. package/dist/element.js +1 -1
  152. package/dist/element.mjs +1 -1
  153. package/dist/flowchart-parser-ZNSKIBVR.js +21 -0
  154. package/dist/flowchart-renderer-ZAEOL4DX.js +35 -0
  155. package/dist/index.cjs +3 -3
  156. package/dist/index.d.cts +3 -469
  157. package/dist/index.d.ts +3 -469
  158. package/dist/index.js +137 -69685
  159. package/dist/layout-46N4JJYK.js +17 -0
  160. package/dist/layout-5RA6QWR6.js +26 -0
  161. package/dist/layout-5T6RH5M6.js +14 -0
  162. package/dist/layout-7QXCNOVS.js +13 -0
  163. package/dist/layout-EE6GE46Y.js +17 -0
  164. package/dist/layout-G23F7LDH.js +9 -0
  165. package/dist/layout-HRBZPFCN.js +23 -0
  166. package/dist/layout-HWDSRX5E.js +20 -0
  167. package/dist/layout-HYZPWAK5.js +18 -0
  168. package/dist/layout-N76NR4ZO.js +19 -0
  169. package/dist/layout-OB3RI63S.js +14 -0
  170. package/dist/layout-S2QBYSK2.js +15 -0
  171. package/dist/layout-UM5F4DJB.js +15 -0
  172. package/dist/layout-search-OYV77HHS.js +1655 -0
  173. package/dist/load-data-EHDDZ5ZS.js +8 -0
  174. package/dist/palettes-PRJ2RI6D.js +56 -0
  175. package/dist/parser-2MFP2H2E.js +11 -0
  176. package/dist/parser-3STE62GB.js +21 -0
  177. package/dist/parser-4FL2CMDG.js +18 -0
  178. package/dist/parser-4OGOBJJ4.js +13 -0
  179. package/dist/parser-6BTRLKRZ.js +15 -0
  180. package/dist/parser-AQETEVRW.js +21 -0
  181. package/dist/parser-CFZD5IBL.js +12 -0
  182. package/dist/parser-FUSKFGZN.js +16 -0
  183. package/dist/parser-I6KXEYFK.js +13 -0
  184. package/dist/parser-IXSZZQHY.js +18 -0
  185. package/dist/parser-JAL2HD4I.js +13 -0
  186. package/dist/parser-KNSQSKQO.js +20 -0
  187. package/dist/parser-N5O4IHUN.js +13 -0
  188. package/dist/parser-NGU3ETO6.js +16 -0
  189. package/dist/parser-NRAI6O25.js +19 -0
  190. package/dist/parser-O5J4VBII.js +11 -0
  191. package/dist/parser-OV7NOBW6.js +21 -0
  192. package/dist/parser-PQ3POX45.js +23 -0
  193. package/dist/parser-TFZFBVWN.js +11 -0
  194. package/dist/parser-TRTHDFPP.js +18 -0
  195. package/dist/parser-VQP2UJ6W.js +11 -0
  196. package/dist/parser-XDVELHRK.js +13 -0
  197. package/dist/parser-XKRP7QKP.js +11 -0
  198. package/dist/parser-Y6WTBU76.js +14 -0
  199. package/dist/parser-ZSDPZYQP.js +12 -0
  200. package/dist/renderer-2XQQQ6QR.js +28 -0
  201. package/dist/renderer-5NDVNDAZ.js +26 -0
  202. package/dist/renderer-6EEZHMH4.js +26 -0
  203. package/dist/renderer-6W5462RB.js +43 -0
  204. package/dist/renderer-7MVLWWQD.js +22 -0
  205. package/dist/renderer-AWWAF6XD.js +33 -0
  206. package/dist/renderer-BYCNMBF7.js +34 -0
  207. package/dist/renderer-CLJHQPBJ.js +29 -0
  208. package/dist/renderer-GHPZMFU2.js +15 -0
  209. package/dist/renderer-JGBKUCZD.js +16 -0
  210. package/dist/renderer-KQB7UGDS.js +19 -0
  211. package/dist/renderer-PGX2TKVS.js +24 -0
  212. package/dist/renderer-QIWVHWZO.js +15 -0
  213. package/dist/renderer-RPOA5YPZ.js +35 -0
  214. package/dist/renderer-SMIBCRVB.js +24 -0
  215. package/dist/renderer-T7YKC5VP.js +28 -0
  216. package/dist/renderer-TOCOVLHS.js +37 -0
  217. package/dist/renderer-UWA5XS74.js +39 -0
  218. package/dist/renderer-VACVQYML.js +25 -0
  219. package/dist/renderer-W4M6QLIJ.js +37 -0
  220. package/dist/renderer-WZRREQ2P.js +23 -0
  221. package/dist/renderer-YY2OSF6E.js +27 -0
  222. package/dist/renderer-Z7I3W2PP.js +24 -0
  223. package/dist/renderer-ZGNTUWC4.js +22 -0
  224. package/dist/renderer-ZTR3DER3.js +19 -0
  225. package/dist/renderer-radial-C32GPJQ7.js +21 -0
  226. package/dist/resolver-NOAA7ID7.js +13 -0
  227. package/dist/state-collapse-HCGD6IVJ.js +8 -0
  228. package/dist/state-parser-Z2V23ATR.js +18 -0
  229. package/dist/state-renderer-RFYHSP4K.js +34 -0
  230. package/dist/themes-1-CuKpeH.d.cts +908 -0
  231. package/dist/themes-1-CuKpeH.d.ts +908 -0
  232. package/package.json +1 -1
@@ -0,0 +1,554 @@
1
+ import {
2
+ ScaleContext
3
+ } from "./chunk-YYVTBZZC.js";
4
+ import {
5
+ TITLE_FONT_SIZE,
6
+ TITLE_FONT_WEIGHT
7
+ } from "./chunk-A4GOY3PE.js";
8
+ import {
9
+ FONT_FAMILY
10
+ } from "./chunk-6KFWC4CO.js";
11
+ import {
12
+ measureText
13
+ } from "./chunk-WCT3NYCV.js";
14
+ import {
15
+ contrastText,
16
+ mix,
17
+ shapeFill
18
+ } from "./chunk-P6T66CCZ.js";
19
+
20
+ // src/wireframe/renderer.ts
21
+ import * as d3Selection from "d3-selection";
22
+ var INPUT_CORNER = 4;
23
+ var BUTTON_CORNER = 6;
24
+ var GROUP_CORNER = 8;
25
+ var SEMANTIC_COLORS = {
26
+ destructive: (p) => p.destructive,
27
+ success: (p) => p.colors.green,
28
+ warning: (p) => p.colors.yellow,
29
+ info: (p) => p.colors.blue
30
+ };
31
+ function getSemanticColor(state, palette) {
32
+ const fn = SEMANTIC_COLORS[state];
33
+ return fn ? fn(palette) : null;
34
+ }
35
+ function getElementSemanticColor(el, palette) {
36
+ for (const s of el.states) {
37
+ const c = getSemanticColor(s, palette);
38
+ if (c) return c;
39
+ }
40
+ return null;
41
+ }
42
+ function renderWireframe(container, parsed, layout, palette, isDark, _onClickItem, exportDims, theme, options) {
43
+ const opts = options ?? {};
44
+ const effectiveExportDims = opts.exportDims ?? exportDims;
45
+ const effectiveTheme = opts.theme ?? theme;
46
+ d3Selection.select(container).selectAll(":not([data-d3-tooltip])").remove();
47
+ const isExport = !!effectiveExportDims;
48
+ const width = effectiveExportDims?.width ?? container.clientWidth;
49
+ const height = effectiveExportDims?.height ?? container.clientHeight;
50
+ const sctx = isExport ? ScaleContext.identity() : ScaleContext.from(width, layout.width);
51
+ const svg = d3Selection.select(container).append("svg").attr("viewBox", `0 0 ${layout.width} ${layout.height}`).attr("preserveAspectRatio", "xMidYMin meet").attr("xmlns", "http://www.w3.org/2000/svg").style("font-family", FONT_FAMILY);
52
+ if (isExport) {
53
+ svg.attr("width", width).attr("height", height);
54
+ } else {
55
+ svg.attr("width", "100%").attr("height", "auto").style("display", "block");
56
+ }
57
+ const ctx = {
58
+ palette,
59
+ isTransparent: effectiveTheme === "transparent",
60
+ isDark,
61
+ showGroupLabels: opts.showGroupLabels ?? true,
62
+ solid: parsed.options["solid-fill"] === "on"
63
+ };
64
+ if (!ctx.isTransparent) {
65
+ svg.append("rect").attr("width", layout.width).attr("height", layout.height).attr("fill", palette.bg).attr("rx", 8);
66
+ }
67
+ const mainG = svg.append("g").attr("transform", `translate(20, 20)`);
68
+ let titleOffset = 0;
69
+ const showTitle = !!parsed.title && parsed.options["no-title"] !== "on";
70
+ const sTitleFontSize = sctx.text(TITLE_FONT_SIZE);
71
+ if (isExport && showTitle) {
72
+ mainG.append("text").attr("x", 0).attr("y", sTitleFontSize).attr("fill", palette.text).attr("font-size", sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).text(parsed.title);
73
+ titleOffset = layout.titleHeight;
74
+ }
75
+ const contentG = mainG.append("g").attr("transform", `translate(0, ${titleOffset})`);
76
+ for (const node of layout.nodes) {
77
+ renderNode(contentG, node, ctx, 0);
78
+ }
79
+ if (layout.modalNodes.length > 0) {
80
+ const modalG = contentG.append("g").attr("class", "wireframe-modals");
81
+ for (const modalNode of layout.modalNodes) {
82
+ renderModal(modalG, modalNode, ctx);
83
+ }
84
+ }
85
+ }
86
+ function renderNode(parent, node, ctx, depth) {
87
+ const el = node.element;
88
+ const g = parent.append("g").attr("transform", `translate(${node.x}, ${node.y})`).attr("data-line-number", el.lineNumber);
89
+ if (el.states.includes("disabled")) {
90
+ g.attr("opacity", 0.5);
91
+ }
92
+ if (el.isSkeleton && el.type !== "skeleton") {
93
+ renderSkeletonPlaceholder(g, node, ctx);
94
+ return;
95
+ }
96
+ switch (el.type) {
97
+ case "group":
98
+ renderGroup(g, node, ctx, depth);
99
+ break;
100
+ case "textInput":
101
+ renderTextInput(g, node, ctx);
102
+ break;
103
+ case "button":
104
+ renderButton(g, node, ctx);
105
+ break;
106
+ case "dropdown":
107
+ renderDropdown(g, node, ctx);
108
+ break;
109
+ case "checkbox":
110
+ renderCheckbox(g, node, ctx);
111
+ break;
112
+ case "radio":
113
+ renderRadio(g, node, ctx);
114
+ break;
115
+ case "heading":
116
+ renderHeading(g, node, ctx);
117
+ break;
118
+ case "divider":
119
+ renderDivider(g, node, ctx);
120
+ break;
121
+ case "text":
122
+ renderText(g, node, ctx);
123
+ break;
124
+ case "listItem":
125
+ renderListItem(g, node, ctx);
126
+ break;
127
+ case "nav":
128
+ renderNav(g, node, ctx);
129
+ break;
130
+ case "tabs":
131
+ renderTabs(g, node, ctx);
132
+ break;
133
+ case "table":
134
+ renderTable(g, node, ctx);
135
+ break;
136
+ case "image":
137
+ renderImage(g, node, ctx);
138
+ break;
139
+ case "skeleton":
140
+ renderSkeletonBlock(g, node, ctx);
141
+ break;
142
+ case "alert":
143
+ renderAlert(g, node, ctx);
144
+ break;
145
+ case "progress":
146
+ renderProgress(g, node, ctx);
147
+ break;
148
+ case "chart":
149
+ renderChart(g, node, ctx);
150
+ break;
151
+ default:
152
+ renderText(g, node, ctx);
153
+ }
154
+ }
155
+ function renderGroup(g, node, ctx, depth) {
156
+ const { palette, isTransparent } = ctx;
157
+ const el = node.element;
158
+ if (el.metadata["_inlineRow"] === "true" || el.metadata["_labelField"] === "true") {
159
+ for (const child of node.children) {
160
+ renderNode(g, child, ctx, depth);
161
+ }
162
+ return;
163
+ }
164
+ const tintSteps = [12, 7, 4, 2];
165
+ const tintPct = tintSteps[Math.min(depth, tintSteps.length - 1)];
166
+ const fillColor = mix(palette.textMuted, palette.bg, tintPct);
167
+ if (isTransparent) {
168
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", "none").attr("stroke", palette.border).attr("stroke-width", 1).attr("rx", GROUP_CORNER);
169
+ } else {
170
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", fillColor).attr("stroke", palette.border).attr("stroke-width", 1).attr("rx", GROUP_CORNER);
171
+ }
172
+ if (el.label && ctx.showGroupLabels) {
173
+ g.append("text").attr("x", 10).attr("y", 18).attr("fill", palette.textMuted).attr("font-size", 11).attr("font-weight", "600").attr("letter-spacing", "0.5px").text(el.label.toUpperCase());
174
+ }
175
+ if (el.states.includes("collapsed")) {
176
+ g.append("text").attr("x", node.width - 20).attr("y", 18).attr("fill", palette.textMuted).attr("font-size", 12).attr("opacity", 0.6).text("\u25B6");
177
+ return;
178
+ }
179
+ if (el.states.includes("scrollable")) {
180
+ g.append("rect").attr("x", node.width - 6).attr("y", 28).attr("width", 3).attr("height", Math.min(node.height - 36, 40)).attr("fill", palette.border).attr("rx", 1.5);
181
+ }
182
+ for (const child of node.children) {
183
+ renderNode(g, child, ctx, depth + 1);
184
+ }
185
+ }
186
+ function renderTextInput(g, node, ctx) {
187
+ const { palette, isTransparent } = ctx;
188
+ const el = node.element;
189
+ const h = node.height;
190
+ g.append("rect").attr("width", node.width).attr("height", h).attr("fill", isTransparent ? "none" : palette.bg).attr("stroke", palette.border).attr("rx", INPUT_CORNER);
191
+ if (el.fieldVariant === "password") {
192
+ g.append("text").attr("x", 10).attr("y", h / 2 + 4).attr("fill", palette.text).attr("font-size", 16).text("\u2022 \u2022 \u2022 \u2022 \u2022 \u2022");
193
+ } else {
194
+ g.append("text").attr("x", 10).attr("y", h / 2 + 4).attr("fill", palette.textMuted).attr("font-size", 13).text(el.label || "Text input");
195
+ }
196
+ if (el.fieldVariant !== "password") {
197
+ const textWidth = Math.min(
198
+ measureText(el.label || "Text input", 13) + 14,
199
+ node.width - 20
200
+ );
201
+ g.append("line").attr("x1", textWidth).attr("y1", 8).attr("x2", textWidth).attr("y2", h - 8).attr("stroke", palette.primary).attr("stroke-width", 1.5).attr("opacity", 0.6);
202
+ }
203
+ if (el.fieldVariant === "textarea") {
204
+ for (let i = 0; i < 3; i++) {
205
+ g.append("line").attr("x1", node.width - 12 + i * 3).attr("y1", h - 4).attr("x2", node.width - 4).attr("y2", h - 12 + i * 3).attr("stroke", palette.border).attr("stroke-width", 1);
206
+ }
207
+ }
208
+ }
209
+ function renderButton(g, node, ctx) {
210
+ const { palette, isTransparent } = ctx;
211
+ const el = node.element;
212
+ const isGhost = el.states.includes("ghost");
213
+ const semanticColor = getElementSemanticColor(el, palette);
214
+ const isPrimary = el.states.includes("primary");
215
+ let fill = isPrimary ? palette.primary : palette.secondary;
216
+ let textColor = palette.bg;
217
+ if (semanticColor) {
218
+ fill = semanticColor;
219
+ }
220
+ if (isGhost || isTransparent) {
221
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", "none").attr("stroke", fill).attr("stroke-width", 1.5).attr("rx", BUTTON_CORNER);
222
+ textColor = fill;
223
+ } else {
224
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", fill).attr("rx", BUTTON_CORNER);
225
+ }
226
+ g.append("text").attr("x", node.width / 2).attr("y", node.height / 2 + 4).attr("fill", textColor).attr("font-size", 13).attr("font-weight", "600").attr("text-anchor", "middle").text(el.label);
227
+ }
228
+ function renderDropdown(g, node, ctx) {
229
+ const { palette, isTransparent } = ctx;
230
+ const el = node.element;
231
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", isTransparent ? "none" : palette.bg).attr("stroke", palette.border).attr("rx", INPUT_CORNER);
232
+ g.append("text").attr("x", 10).attr("y", node.height / 2 + 4).attr("fill", palette.text).attr("font-size", 13).text(el.label || (el.options?.[0] ?? "Select..."));
233
+ const cx = node.width - 16;
234
+ const cy = node.height / 2;
235
+ g.append("path").attr("d", `M${cx - 4},${cy - 2} L${cx},${cy + 2} L${cx + 4},${cy - 2}`).attr("fill", "none").attr("stroke", palette.textMuted).attr("stroke-width", 1.5);
236
+ }
237
+ function renderCheckbox(g, node, ctx) {
238
+ const { palette } = ctx;
239
+ const el = node.element;
240
+ const isToggle = el.states.includes("toggle");
241
+ if (isToggle) {
242
+ const trackW = 32;
243
+ const trackH = 18;
244
+ const cy = node.height / 2;
245
+ g.append("rect").attr("x", 0).attr("y", cy - trackH / 2).attr("width", trackW).attr("height", trackH).attr("rx", trackH / 2).attr("fill", el.checked ? palette.primary : palette.border);
246
+ g.append("circle").attr("cx", el.checked ? trackW - trackH / 2 : trackH / 2).attr("cy", cy).attr("r", trackH / 2 - 2).attr("fill", palette.bg);
247
+ if (el.label) {
248
+ g.append("text").attr("x", trackW + 8).attr("y", cy + 4).attr("fill", palette.text).attr("font-size", 13).text(el.label);
249
+ }
250
+ } else {
251
+ const boxSize = 16;
252
+ const cy = node.height / 2;
253
+ g.append("rect").attr("x", 0).attr("y", cy - boxSize / 2).attr("width", boxSize).attr("height", boxSize).attr("fill", el.checked ? palette.primary : "none").attr("stroke", el.checked ? palette.primary : palette.border).attr("rx", 3);
254
+ if (el.checked) {
255
+ g.append("path").attr("d", `M${3},${cy} L${6},${cy + 3} L${13},${cy - 4}`).attr("fill", "none").attr("stroke", palette.bg).attr("stroke-width", 2);
256
+ }
257
+ if (el.label) {
258
+ g.append("text").attr("x", boxSize + 8).attr("y", cy + 4).attr("fill", palette.text).attr("font-size", 13).text(el.label);
259
+ }
260
+ }
261
+ }
262
+ function renderRadio(g, node, ctx) {
263
+ const { palette } = ctx;
264
+ const el = node.element;
265
+ const r = 8;
266
+ const cy = node.height / 2;
267
+ g.append("circle").attr("cx", r).attr("cy", cy).attr("r", r).attr("fill", "none").attr("stroke", el.selected ? palette.primary : palette.border).attr("stroke-width", 1.5);
268
+ if (el.selected) {
269
+ g.append("circle").attr("cx", r).attr("cy", cy).attr("r", 4).attr("fill", palette.primary);
270
+ }
271
+ g.append("text").attr("x", r * 2 + 8).attr("y", cy + 4).attr("fill", palette.text).attr("font-size", 13).text(el.label);
272
+ }
273
+ function renderHeading(g, node, ctx) {
274
+ const { palette } = ctx;
275
+ const el = node.element;
276
+ const isH1 = el.headingLevel === 1;
277
+ g.append("text").attr("x", 0).attr("y", isH1 ? 28 : 22).attr("fill", palette.text).attr("font-size", isH1 ? 22 : 16).attr("font-weight", "bold").text(el.label);
278
+ }
279
+ function renderDivider(g, node, ctx) {
280
+ const { palette } = ctx;
281
+ g.append("line").attr("x1", 0).attr("y1", node.height / 2).attr("x2", node.width).attr("y2", node.height / 2).attr("stroke", palette.border).attr("stroke-width", 1);
282
+ }
283
+ function renderText(g, node, ctx) {
284
+ const { palette } = ctx;
285
+ const el = node.element;
286
+ if (el.metadata["_labelField"] === "true" && el.children.length >= 2) {
287
+ for (const child of node.children) {
288
+ renderNode(g, child, ctx, 0);
289
+ }
290
+ return;
291
+ }
292
+ const color = el.labelFor ? palette.textMuted : palette.text;
293
+ g.append("text").attr("x", 0).attr("y", 15).attr("fill", color).attr("font-size", 13).text(el.label);
294
+ }
295
+ function renderListItem(g, node, ctx) {
296
+ const { palette } = ctx;
297
+ const el = node.element;
298
+ g.append("circle").attr("cx", 4).attr("cy", node.height / 2).attr("r", 2.5).attr("fill", palette.textMuted);
299
+ g.append("text").attr("x", 14).attr("y", node.height / 2 + 4).attr("fill", palette.text).attr("font-size", 13).text(el.label);
300
+ }
301
+ function renderNav(g, node, ctx) {
302
+ const { palette } = ctx;
303
+ const el = node.element;
304
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", mix(palette.textMuted, palette.bg, 8)).attr("rx", 4);
305
+ let x = 12;
306
+ for (const child of el.children) {
307
+ const isActive = child.states.includes("active");
308
+ g.append("text").attr("x", x).attr("y", node.height / 2 + 4).attr("fill", isActive ? palette.primary : palette.text).attr("font-size", 13).attr("font-weight", isActive ? "600" : "normal").text(child.label);
309
+ const labelW = measureText(child.label, 13);
310
+ if (isActive) {
311
+ g.append("line").attr("x1", x).attr("y1", node.height - 4).attr("x2", x + labelW).attr("y2", node.height - 4).attr("stroke", palette.primary).attr("stroke-width", 2);
312
+ }
313
+ x += labelW + 24;
314
+ }
315
+ }
316
+ function renderTabs(g, node, ctx) {
317
+ const { palette } = ctx;
318
+ const el = node.element;
319
+ g.append("line").attr("x1", 0).attr("y1", node.height - 1).attr("x2", node.width).attr("y2", node.height - 1).attr("stroke", palette.border).attr("stroke-width", 1);
320
+ let x = 0;
321
+ for (const child of el.children) {
322
+ const isActive = child.states.includes("active");
323
+ const tabW = measureText(child.label, 13) + 24;
324
+ if (isActive) {
325
+ g.append("line").attr("x1", x).attr("y1", node.height - 1).attr("x2", x + tabW).attr("y2", node.height - 1).attr("stroke", palette.primary).attr("stroke-width", 2);
326
+ }
327
+ g.append("text").attr("x", x + 12).attr("y", node.height / 2 + 4).attr("fill", isActive ? palette.primary : palette.textMuted).attr("font-size", 13).attr("font-weight", isActive ? "600" : "normal").text(child.label);
328
+ x += tabW;
329
+ }
330
+ }
331
+ function renderTable(g, node, ctx) {
332
+ const { palette, isTransparent } = ctx;
333
+ const el = node.element;
334
+ const headers = el.tableHeaders || [];
335
+ const data = el.tableData || [];
336
+ const isSkeleton = el.tableRows !== void 0 && el.tableCols !== void 0;
337
+ const cols = headers.length || el.tableCols || 3;
338
+ const colW = node.width / cols;
339
+ const headerH = 32;
340
+ const rowH = 28;
341
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", "none").attr("stroke", palette.border).attr("rx", 4);
342
+ g.append("rect").attr("width", node.width).attr("height", headerH).attr(
343
+ "fill",
344
+ isTransparent ? "none" : mix(palette.textMuted, palette.bg, 8)
345
+ ).attr("rx", 4);
346
+ for (let c = 0; c < cols; c++) {
347
+ const label = headers[c] || `Col ${c + 1}`;
348
+ g.append("text").attr("x", c * colW + 10).attr("y", headerH / 2 + 4).attr("fill", palette.text).attr("font-size", 12).attr("font-weight", "600").text(label);
349
+ }
350
+ g.append("line").attr("x1", 0).attr("y1", headerH).attr("x2", node.width).attr("y2", headerH).attr("stroke", palette.border);
351
+ const rowCount = isSkeleton ? el.tableRows || 3 : data.length;
352
+ for (let r = 0; r < rowCount; r++) {
353
+ const ry = headerH + r * rowH;
354
+ if (r > 0) {
355
+ g.append("line").attr("x1", 0).attr("y1", ry).attr("x2", node.width).attr("y2", ry).attr("stroke", palette.border).attr("opacity", 0.3);
356
+ }
357
+ for (let c = 0; c < cols; c++) {
358
+ if (isSkeleton) {
359
+ g.append("rect").attr("x", c * colW + 10).attr("y", ry + 8).attr("width", colW * 0.6).attr("height", 12).attr("fill", palette.textMuted).attr("opacity", 0.25).attr("rx", 2);
360
+ } else if (data[r]) {
361
+ const cellText = data[r][c] || "";
362
+ renderTableCell(g, cellText, c * colW + 10, ry, colW - 20, rowH, ctx);
363
+ }
364
+ }
365
+ }
366
+ }
367
+ function renderTableCell(g, text, x, y, maxW, rowH, ctx) {
368
+ const { palette } = ctx;
369
+ const trimmed = text.trim();
370
+ const btnMatch = trimmed.match(/^\(([^)]+)\)(?:\s*\|\s*(.+))?$/);
371
+ if (btnMatch) {
372
+ const label = btnMatch[1];
373
+ const stateStr = btnMatch[2]?.trim().toLowerCase();
374
+ const isGhost = stateStr === "ghost";
375
+ const isDestructive = stateStr === "destructive";
376
+ const fill = isDestructive ? palette.destructive : palette.primary;
377
+ const btnW = Math.min(measureText(label, 10) + 16, maxW);
378
+ const btnH = 20;
379
+ const by = y + (rowH - btnH) / 2;
380
+ if (isGhost) {
381
+ g.append("rect").attr("x", x).attr("y", by).attr("width", btnW).attr("height", btnH).attr("fill", "none").attr("stroke", fill).attr("stroke-width", 1).attr("rx", 3);
382
+ g.append("text").attr("x", x + btnW / 2).attr("y", by + btnH / 2 + 3).attr("fill", fill).attr("font-size", 10).attr("font-weight", "600").attr("text-anchor", "middle").text(label);
383
+ } else {
384
+ g.append("rect").attr("x", x).attr("y", by).attr("width", btnW).attr("height", btnH).attr("fill", fill).attr("rx", 3);
385
+ g.append("text").attr("x", x + btnW / 2).attr("y", by + btnH / 2 + 3).attr("fill", palette.bg).attr("font-size", 10).attr("font-weight", "600").attr("text-anchor", "middle").text(label);
386
+ }
387
+ return;
388
+ }
389
+ if (/^<\s*x?\s*>$/.test(trimmed)) {
390
+ const checked = /x/i.test(trimmed);
391
+ const boxSize = 12;
392
+ const bx = x;
393
+ const by = y + (rowH - boxSize) / 2;
394
+ g.append("rect").attr("x", bx).attr("y", by).attr("width", boxSize).attr("height", boxSize).attr("fill", checked ? palette.primary : "none").attr("stroke", checked ? palette.primary : palette.border).attr("rx", 2);
395
+ if (checked) {
396
+ g.append("path").attr(
397
+ "d",
398
+ `M${bx + 2},${by + boxSize / 2} L${bx + 4},${by + boxSize / 2 + 2} L${bx + 10},${by + 2}`
399
+ ).attr("fill", "none").attr("stroke", palette.bg).attr("stroke-width", 1.5);
400
+ }
401
+ return;
402
+ }
403
+ g.append("text").attr("x", x).attr("y", y + rowH / 2 + 4).attr("fill", palette.text).attr("font-size", 12).text(trimmed);
404
+ }
405
+ function renderImage(g, node, ctx) {
406
+ const { palette, isTransparent } = ctx;
407
+ const el = node.element;
408
+ const isRound = el.imageHint === "round";
409
+ if (isRound) {
410
+ const r = Math.min(node.width, node.height) / 2;
411
+ const cx = node.width / 2;
412
+ const cy = node.height / 2;
413
+ g.append("circle").attr("cx", cx).attr("cy", cy).attr("r", r).attr(
414
+ "fill",
415
+ isTransparent ? "none" : mix(palette.border, palette.bg, 30)
416
+ ).attr("stroke", palette.border);
417
+ g.append("line").attr("x1", cx - r * 0.7).attr("y1", cy - r * 0.7).attr("x2", cx + r * 0.7).attr("y2", cy + r * 0.7).attr("stroke", palette.border);
418
+ g.append("line").attr("x1", cx + r * 0.7).attr("y1", cy - r * 0.7).attr("x2", cx - r * 0.7).attr("y2", cy + r * 0.7).attr("stroke", palette.border);
419
+ } else {
420
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr(
421
+ "fill",
422
+ isTransparent ? "none" : mix(palette.border, palette.bg, 30)
423
+ ).attr("stroke", palette.border).attr("rx", 4);
424
+ g.append("line").attr("x1", 0).attr("y1", 0).attr("x2", node.width).attr("y2", node.height).attr("stroke", palette.border);
425
+ g.append("line").attr("x1", node.width).attr("y1", 0).attr("x2", 0).attr("y2", node.height).attr("stroke", palette.border);
426
+ }
427
+ }
428
+ function renderSkeletonBlock(g, node, ctx) {
429
+ for (const child of node.children) {
430
+ renderSkeletonPlaceholder(g, child, ctx);
431
+ }
432
+ }
433
+ function renderSkeletonPlaceholder(g, node, ctx) {
434
+ const { palette, isTransparent } = ctx;
435
+ const pg = g.append("g").attr("transform", `translate(${node.x}, ${node.y})`);
436
+ if (isTransparent) {
437
+ pg.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", palette.border).attr("opacity", 0.1).attr("rx", 4);
438
+ } else {
439
+ pg.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", palette.border).attr("opacity", 0.2).attr("rx", 4);
440
+ }
441
+ }
442
+ function renderAlert(g, node, ctx) {
443
+ const { palette, isDark, isTransparent } = ctx;
444
+ const el = node.element;
445
+ const color = getElementSemanticColor(el, palette) || palette.accent;
446
+ const fill = isTransparent ? null : shapeFill(palette, color, isDark, { solid: ctx.solid });
447
+ if (fill) {
448
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", fill).attr("rx", 4);
449
+ }
450
+ g.append("rect").attr("width", 3).attr("height", node.height).attr("fill", color).attr("rx", 1.5);
451
+ if (isTransparent) {
452
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", "none").attr("stroke", color).attr("rx", 4);
453
+ }
454
+ const labelFill = fill ? contrastText(fill, palette.textOnFillLight, palette.textOnFillDark) : palette.text;
455
+ g.append("text").attr("x", 12).attr("y", node.height / 2 + 4).attr("fill", labelFill).attr("font-size", 13).text(el.label);
456
+ }
457
+ function renderProgress(g, node, ctx) {
458
+ const { palette, isTransparent } = ctx;
459
+ const el = node.element;
460
+ const val = el.progressValue ?? 0;
461
+ const barH = 8;
462
+ const cy = node.height / 2;
463
+ g.append("rect").attr("width", node.width - 40).attr("height", barH).attr("y", cy - barH / 2).attr("fill", isTransparent ? "none" : mix(palette.border, palette.bg, 30)).attr("stroke", isTransparent ? palette.border : "none").attr("rx", barH / 2);
464
+ const fillW = (node.width - 40) * val / 100;
465
+ if (fillW > 0) {
466
+ g.append("rect").attr("width", fillW).attr("height", barH).attr("y", cy - barH / 2).attr("fill", palette.primary).attr("rx", barH / 2);
467
+ }
468
+ g.append("text").attr("x", node.width - 32).attr("y", cy + 4).attr("fill", palette.textMuted).attr("font-size", 11).text(`${val}%`);
469
+ }
470
+ function renderChart(g, node, ctx) {
471
+ const { palette, isTransparent } = ctx;
472
+ const el = node.element;
473
+ const hint = el.chartHint || "line";
474
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr(
475
+ "fill",
476
+ isTransparent ? "none" : mix(palette.textMuted, palette.bg, 8)
477
+ ).attr("stroke", palette.border).attr("rx", 4);
478
+ const padX = 20;
479
+ const padY = 20;
480
+ const innerW = node.width - padX * 2;
481
+ const innerH = node.height - padY * 2;
482
+ if (hint === "line") {
483
+ const points = [
484
+ [0, innerH * 0.7],
485
+ [innerW * 0.2, innerH * 0.4],
486
+ [innerW * 0.4, innerH * 0.6],
487
+ [innerW * 0.6, innerH * 0.2],
488
+ [innerW * 0.8, innerH * 0.3],
489
+ [innerW, innerH * 0.1]
490
+ ];
491
+ const path = points.map(
492
+ ([x, y], i) => i === 0 ? `M${padX + x},${padY + y}` : `L${padX + x},${padY + y}`
493
+ ).join(" ");
494
+ g.append("path").attr("d", path).attr("fill", "none").attr("stroke", palette.primary).attr("stroke-width", 2);
495
+ } else if (hint === "bar") {
496
+ const barCount = 5;
497
+ const barW = innerW / (barCount * 2);
498
+ const barHeights = [0.6, 0.8, 0.5, 0.9, 0.7];
499
+ for (let i = 0; i < barCount; i++) {
500
+ const bh = innerH * barHeights[i];
501
+ g.append("rect").attr("x", padX + i * (innerW / barCount) + barW / 2).attr("y", padY + innerH - bh).attr("width", barW).attr("height", bh).attr("fill", palette.primary).attr("opacity", 0.7).attr("rx", 2);
502
+ }
503
+ } else if (hint === "pie") {
504
+ const cx = node.width / 2;
505
+ const cy = node.height / 2;
506
+ const r = Math.min(innerW, innerH) / 2;
507
+ const slices = [0.35, 0.25, 0.2, 0.2];
508
+ const colors = [
509
+ palette.primary,
510
+ palette.secondary,
511
+ palette.accent,
512
+ palette.border
513
+ ];
514
+ let startAngle = 0;
515
+ for (let i = 0; i < slices.length; i++) {
516
+ const endAngle = startAngle + slices[i] * Math.PI * 2;
517
+ const x1 = cx + r * Math.cos(startAngle);
518
+ const y1 = cy + r * Math.sin(startAngle);
519
+ const x2 = cx + r * Math.cos(endAngle);
520
+ const y2 = cy + r * Math.sin(endAngle);
521
+ const largeArc = slices[i] > 0.5 ? 1 : 0;
522
+ g.append("path").attr(
523
+ "d",
524
+ `M${cx},${cy} L${x1},${y1} A${r},${r} 0 ${largeArc},1 ${x2},${y2} Z`
525
+ ).attr("fill", colors[i]).attr("opacity", 0.7);
526
+ startAngle = endAngle;
527
+ }
528
+ }
529
+ }
530
+ function renderModal(parent, node, ctx) {
531
+ const { palette, isTransparent } = ctx;
532
+ const el = node.element;
533
+ const g = parent.append("g").attr("transform", `translate(${node.x}, ${node.y})`).attr("data-line-number", el.lineNumber);
534
+ if (!isTransparent) {
535
+ g.append("rect").attr("x", 4).attr("y", 4).attr("width", node.width).attr("height", node.height).attr("fill", "rgba(0,0,0,0.1)").attr("rx", GROUP_CORNER);
536
+ }
537
+ g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", isTransparent ? "none" : palette.surface).attr("stroke", palette.border).attr("rx", GROUP_CORNER);
538
+ g.append("rect").attr("width", node.width).attr("height", 36).attr(
539
+ "fill",
540
+ isTransparent ? "none" : mix(palette.textMuted, palette.bg, 15)
541
+ ).attr("rx", GROUP_CORNER);
542
+ g.append("text").attr("x", 12).attr("y", 24).attr("fill", palette.text).attr("font-size", 14).attr("font-weight", "600").text(el.label || "Modal");
543
+ const cx = node.width - 16;
544
+ g.append("text").attr("x", cx).attr("y", 24).attr("fill", palette.textMuted).attr("font-size", 16).text("\xD7");
545
+ for (const child of node.children) {
546
+ const childG = g.append("g").attr("transform", "translate(0, 36)");
547
+ renderNode(childG, child, ctx, 1);
548
+ }
549
+ }
550
+
551
+ export {
552
+ renderWireframe
553
+ };
554
+ //# sourceMappingURL=chunk-ZO27FGJS.js.map
@@ -0,0 +1,11 @@
1
+ import {
2
+ collapseOrgTree,
3
+ focusOrgTree
4
+ } from "./chunk-UJ4FJLBF.js";
5
+ import "./chunk-BS7SV7C3.js";
6
+ import "./chunk-5WRI5ZAA.js";
7
+ export {
8
+ collapseOrgTree,
9
+ focusOrgTree
10
+ };
11
+ //# sourceMappingURL=collapse-CLPJD2RL.js.map
@@ -0,0 +1,9 @@
1
+ import {
2
+ collapseMindmapTree
3
+ } from "./chunk-UZ7EZW3B.js";
4
+ import "./chunk-BS7SV7C3.js";
5
+ import "./chunk-5WRI5ZAA.js";
6
+ export {
7
+ collapseMindmapTree
8
+ };
9
+ //# sourceMappingURL=collapse-SLINJQW6.js.map
@@ -0,0 +1,9 @@
1
+ import {
2
+ collapseSitemapTree
3
+ } from "./chunk-UNCCZ3NU.js";
4
+ import "./chunk-BS7SV7C3.js";
5
+ import "./chunk-5WRI5ZAA.js";
6
+ export {
7
+ collapseSitemapTree
8
+ };
9
+ //# sourceMappingURL=collapse-ZWUFFCK2.js.map
@@ -0,0 +1,8 @@
1
+ import {
2
+ computeInfra
3
+ } from "./chunk-A44USUV7.js";
4
+ import "./chunk-5WRI5ZAA.js";
5
+ export {
6
+ computeInfra
7
+ };
8
+ //# sourceMappingURL=compute-G55RG53N.js.map
@@ -0,0 +1,73 @@
1
+ import {
2
+ CHART_TYPE_DESCRIPTIONS,
3
+ chartTypeParsers,
4
+ getAllChartTypes,
5
+ getRenderCategory,
6
+ isExtendedChartType,
7
+ knownChartTypeIds,
8
+ looksLikeC4,
9
+ looksLikeGantt,
10
+ parseDgmo,
11
+ parseDgmoChartType
12
+ } from "./chunk-6FZYCKXB.js";
13
+ import "./chunk-P235SVAH.js";
14
+ import "./chunk-6HO5ZTXK.js";
15
+ import "./chunk-44CM72SQ.js";
16
+ import "./chunk-76OWZ3BA.js";
17
+ import "./chunk-MO5YHHMQ.js";
18
+ import "./chunk-WCSOJFU3.js";
19
+ import "./chunk-7JEGTRLD.js";
20
+ import "./chunk-NNAAJVBU.js";
21
+ import "./chunk-RYEGFMUO.js";
22
+ import "./chunk-33LCUH4H.js";
23
+ import "./chunk-XAKEUMEJ.js";
24
+ import "./chunk-BUPDIHML.js";
25
+ import "./chunk-DKEPS5LH.js";
26
+ import "./chunk-BUVJFRPY.js";
27
+ import "./chunk-WVAJFAIA.js";
28
+ import "./chunk-EB6FPQUP.js";
29
+ import "./chunk-EVCVDTXE.js";
30
+ import "./chunk-NURGB5Z4.js";
31
+ import "./chunk-L66GEFB6.js";
32
+ import "./chunk-RVMRZAPB.js";
33
+ import "./chunk-AN2MOO5T.js";
34
+ import "./chunk-RTLBSQ3G.js";
35
+ import "./chunk-L3UHP6TD.js";
36
+ import "./chunk-USZW2HHU.js";
37
+ import "./chunk-5QXL4NYS.js";
38
+ import "./chunk-GMR5MFHJ.js";
39
+ import "./chunk-ERLBPDGU.js";
40
+ import "./chunk-AELOBFW5.js";
41
+ import "./chunk-2DXMZRWJ.js";
42
+ import "./chunk-IYULMRBE.js";
43
+ import "./chunk-R3XI2VC7.js";
44
+ import "./chunk-P6T66CCZ.js";
45
+ import "./chunk-SML67VPV.js";
46
+ import "./chunk-C3Z4DX3V.js";
47
+ import "./chunk-QLCCJEJI.js";
48
+ import "./chunk-LIOHW36Z.js";
49
+ import "./chunk-I46X5VUA.js";
50
+ import "./chunk-3MQQNXPD.js";
51
+ import "./chunk-NXMESY4J.js";
52
+ import "./chunk-RUNNI6VE.js";
53
+ import "./chunk-5MLYVTYM.js";
54
+ import "./chunk-FMDSF3OV.js";
55
+ import "./chunk-FFUN5D66.js";
56
+ import "./chunk-NOTA6TEI.js";
57
+ import "./chunk-Y3J7VR52.js";
58
+ import "./chunk-TLVIHFRO.js";
59
+ import "./chunk-CXK4DZH3.js";
60
+ import "./chunk-5WRI5ZAA.js";
61
+ export {
62
+ CHART_TYPE_DESCRIPTIONS,
63
+ chartTypeParsers,
64
+ getAllChartTypes,
65
+ getRenderCategory,
66
+ isExtendedChartType,
67
+ knownChartTypeIds,
68
+ looksLikeC4,
69
+ looksLikeGantt,
70
+ parseDgmo,
71
+ parseDgmoChartType
72
+ };
73
+ //# sourceMappingURL=dgmo-router-DZCIDUO5.js.map