@diagrammo/dgmo 0.56.0 → 0.57.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 (128) hide show
  1. package/dist/advanced.js +138 -138
  2. package/dist/auto.css +24 -0
  3. package/dist/auto.js +139 -115
  4. package/dist/auto.mjs +177 -104
  5. package/dist/block.css +24 -0
  6. package/dist/block.d.ts +12 -0
  7. package/dist/block.js +55 -26
  8. package/dist/chart-meta.js +21 -21
  9. package/dist/{charts-d3-D67V6KHE.js → charts-d3-Z6FOKUAL.js} +4 -4
  10. package/dist/{chunk-SOBGK35Z.js → chunk-3D6LDLIH.js} +8 -8
  11. package/dist/{chunk-A4DAZO3U.js → chunk-3G7BCZ4J.js} +12 -12
  12. package/dist/{chunk-R7ECJQTB.js → chunk-3M6MKHIQ.js} +3 -3
  13. package/dist/{chunk-UZ6L5VQJ.js → chunk-3NSOKT7C.js} +3 -3
  14. package/dist/{chunk-23THM67F.js → chunk-3ZONSZOX.js} +5 -5
  15. package/dist/{chunk-QDOYT6UW.js → chunk-44GBBTMU.js} +4 -4
  16. package/dist/{chunk-D3WTEBGT.js → chunk-46NVO5UA.js} +2 -2
  17. package/dist/{chunk-KIGV66SP.js → chunk-57RE4N22.js} +6 -6
  18. package/dist/{chunk-U7ZQTUZT.js → chunk-5LBCOFA5.js} +4 -4
  19. package/dist/{chunk-2JMNOEAU.js → chunk-6DR2GMDM.js} +59 -59
  20. package/dist/{chunk-OWLGERJL.js → chunk-6HSRT6WI.js} +6 -6
  21. package/dist/{chunk-HODUM6LY.js → chunk-6PRLPGJB.js} +10 -10
  22. package/dist/{chunk-ZMMYCERO.js → chunk-7Q35X3AL.js} +2 -2
  23. package/dist/{chunk-HPJITTF7.js → chunk-7YPSFQFA.js} +14 -14
  24. package/dist/{chunk-HKKPUUNK.js → chunk-A6XELFU6.js} +10 -10
  25. package/dist/{chunk-Y2L2LET6.js → chunk-ADKDIWCW.js} +4 -4
  26. package/dist/{chunk-NVQXIDLE.js → chunk-BIWMOFSE.js} +7 -7
  27. package/dist/{chunk-GG7TK3IA.js → chunk-BQLJAYVB.js} +5 -5
  28. package/dist/{chunk-KSPCR75O.js → chunk-CQJ5SE5T.js} +6 -6
  29. package/dist/{chunk-VU3DOZ6C.js → chunk-D76B4DMV.js} +4 -4
  30. package/dist/{chunk-GUVVQW3Y.js → chunk-FMPYKUKI.js} +6 -6
  31. package/dist/{chunk-3R67RRPC.js → chunk-G3L4GWLA.js} +7 -7
  32. package/dist/{chunk-U2BKSEKU.js → chunk-H52HJ26L.js} +2 -2
  33. package/dist/{chunk-JXFB3APA.js → chunk-HBRGNLF5.js} +13 -13
  34. package/dist/{chunk-YWPWRR7W.js → chunk-INU6ANOH.js} +2 -2
  35. package/dist/{chunk-5ZDHXS5N.js → chunk-J6V3SMR3.js} +9 -9
  36. package/dist/{chunk-ULONXAOD.js → chunk-K2GDF2ZR.js} +6 -6
  37. package/dist/{chunk-HOPTF3ZP.js → chunk-KH74OWHU.js} +7 -7
  38. package/dist/{chunk-HIMDUQT7.js → chunk-KRKU6WRS.js} +6 -6
  39. package/dist/{chunk-5HWPEYWB.js → chunk-LDVUPGWC.js} +2 -2
  40. package/dist/{chunk-SK7PCW4F.js → chunk-LSFZDBAP.js} +2 -2
  41. package/dist/{chunk-W2I2EXSC.js → chunk-LZX3RLRP.js} +14 -14
  42. package/dist/{chunk-N2KO445N.js → chunk-M3IYDSI7.js} +15 -15
  43. package/dist/{chunk-JE3SMHRZ.js → chunk-M65UOFJA.js} +9 -9
  44. package/dist/{chunk-FXVPSTDT.js → chunk-MXDT446P.js} +4 -4
  45. package/dist/chunk-NCT22MOD.js +93 -0
  46. package/dist/{chunk-FCA2UGJT.js → chunk-NIUE5VWY.js} +4 -4
  47. package/dist/{chunk-BR2VSKHI.js → chunk-OFEUXZPI.js} +4 -4
  48. package/dist/{chunk-CQOC2MD6.js → chunk-ORZQVUGW.js} +17 -16
  49. package/dist/{chunk-YH62K5D4.js → chunk-OYCIVSL3.js} +13 -13
  50. package/dist/{chunk-RBIX3HQQ.js → chunk-PKFW6GJD.js} +9 -9
  51. package/dist/{chunk-AIH6M5J6.js → chunk-PRKPFRC2.js} +3 -3
  52. package/dist/{chunk-XN4ZSACM.js → chunk-PUGUOFM6.js} +7 -7
  53. package/dist/{chunk-YM2ZQIVG.js → chunk-Q772PVKH.js} +9 -17
  54. package/dist/{chunk-RK3Y4WMV.js → chunk-QMOX5I3G.js} +13 -13
  55. package/dist/{chunk-2UZVMWSQ.js → chunk-RB4HOOKP.js} +4 -4
  56. package/dist/{chunk-AOJJSGXE.js → chunk-SADYIA5Q.js} +7 -7
  57. package/dist/{chunk-PECYPUJJ.js → chunk-SFVG4AIG.js} +6 -6
  58. package/dist/{chunk-P6XFQVYY.js → chunk-SQWWYGPT.js} +16 -16
  59. package/dist/{chunk-AN465MXC.js → chunk-SZCZOA2L.js} +2 -2
  60. package/dist/{chunk-VKN7YW4Q.js → chunk-T2VMOWAM.js} +6 -6
  61. package/dist/{chunk-HE57UQHL.js → chunk-TZ72UBOA.js} +4 -4
  62. package/dist/{chunk-C3BWDEYN.js → chunk-U3DGAE7L.js} +7 -7
  63. package/dist/{chunk-WK3UFCZC.js → chunk-U4FSWAOJ.js} +11 -11
  64. package/dist/{chunk-AMC2OGXF.js → chunk-UG4MWUXE.js} +13 -13
  65. package/dist/{chunk-UU6LUYUH.js → chunk-VJARCVMH.js} +2 -2
  66. package/dist/{chunk-YG5KQ55U.js → chunk-VS7DGDT3.js} +12 -20
  67. package/dist/{chunk-GDGOVO2I.js → chunk-VYCV5WKH.js} +21 -21
  68. package/dist/{chunk-3HDBAXF5.js → chunk-WGC42WJU.js} +8 -1
  69. package/dist/{chunk-YJUF2N3C.js → chunk-X3ON4M5S.js} +9 -9
  70. package/dist/{chunk-WFX6AUQO.js → chunk-XBTJJLAU.js} +6 -1
  71. package/dist/cli.cjs +137 -137
  72. package/dist/cloud-reference.d.ts +69 -0
  73. package/dist/cloud-reference.js +49 -0
  74. package/dist/{dgmo-router-GSWUPLP2.js → dgmo-router-PMEKTIJ7.js} +17 -17
  75. package/dist/{dimensions-PLECMFTR.js → dimensions-XRWIPAFO.js} +5 -5
  76. package/dist/element.js +140 -116
  77. package/dist/element.mjs +177 -104
  78. package/dist/{flowchart-renderer-UQVXOUW4.js → flowchart-renderer-JGLZB5P5.js} +9 -9
  79. package/dist/index.js +27 -27
  80. package/dist/{layout-UXMNKETK.js → layout-5CX27X7I.js} +6 -5
  81. package/dist/{layout-HIK4ZJFQ.js → layout-AO3TPZUS.js} +3 -3
  82. package/dist/{layout-WDXNSQQF.js → layout-AQXLQVAJ.js} +4 -4
  83. package/dist/{layout-A5UVXINF.js → layout-EQTOVNEE.js} +4 -4
  84. package/dist/{layout-2BJDECLZ.js → layout-NU5LQ4UP.js} +7 -6
  85. package/dist/{layout-UFZQI6SX.js → layout-RIS5VTGL.js} +7 -6
  86. package/dist/{layout-3XFPPFXI.js → layout-TCWNJ2OZ.js} +7 -6
  87. package/dist/{layout-QRVYYYZ3.js → layout-TZKPVXKJ.js} +3 -3
  88. package/dist/{layout-SNIEAZ2I.js → layout-WHOOLGPO.js} +4 -4
  89. package/dist/{layout-search-I4VNIRGT.js → layout-search-6CVR2MTZ.js} +7 -6
  90. package/dist/{parser-LNEAHGXF.js → parser-5WMH55UA.js} +4 -4
  91. package/dist/{parser-GGCDY65M.js → parser-DTXM5ROT.js} +2 -2
  92. package/dist/{parser-LQDEU22S.js → parser-IQLLBMBQ.js} +3 -3
  93. package/dist/{parser-VVTCMQWY.js → parser-LMNFVTIV.js} +3 -3
  94. package/dist/{parser-JWAGGYLL.js → parser-XQNM7BGD.js} +3 -3
  95. package/dist/{renderer-I5MAFUKX.js → renderer-2TEGR3RX.js} +6 -6
  96. package/dist/{renderer-5CU6GYF2.js → renderer-3WYLLPQL.js} +7 -7
  97. package/dist/{renderer-JNC6VJMN.js → renderer-5BFS4NBL.js} +7 -7
  98. package/dist/{renderer-FRBPMKPP.js → renderer-6OFPEBHG.js} +6 -6
  99. package/dist/{renderer-O4ECS2BI.js → renderer-AK2X3VRY.js} +9 -9
  100. package/dist/{renderer-TOKGYFTG.js → renderer-B6XOO6EE.js} +5 -5
  101. package/dist/{renderer-P7O6OUYC.js → renderer-BNEO5W3E.js} +9 -9
  102. package/dist/{renderer-YVCD55ZX.js → renderer-BZZKS7KQ.js} +8 -8
  103. package/dist/{renderer-52S6JM5R.js → renderer-EJ3FETD2.js} +8 -8
  104. package/dist/{renderer-DZ5N6BHW.js → renderer-FQLFE3TQ.js} +5 -5
  105. package/dist/{renderer-J5TL5ZX4.js → renderer-HDLM6OY6.js} +13 -13
  106. package/dist/{renderer-4VLQKKTV.js → renderer-I2P5FTZ2.js} +12 -12
  107. package/dist/{renderer-3IETIUZB.js → renderer-IAJMS5U5.js} +7 -7
  108. package/dist/{renderer-KUIZNLAQ.js → renderer-JHYUK5TN.js} +5 -5
  109. package/dist/{renderer-CL4SAUA5.js → renderer-KXMKAXPQ.js} +5 -5
  110. package/dist/{renderer-Q3A7572V.js → renderer-LMLSA457.js} +5 -5
  111. package/dist/{renderer-J5MMVCGN.js → renderer-LNOBG226.js} +7 -7
  112. package/dist/{renderer-WWC5VGHH.js → renderer-LRQ3OPNJ.js} +6 -6
  113. package/dist/{renderer-YWYX6WAI.js → renderer-LU4R3BP2.js} +3 -3
  114. package/dist/{renderer-OZIPP7VF.js → renderer-N4V7XVC3.js} +10 -10
  115. package/dist/{renderer-SYT4L7GE.js → renderer-ND7YIUHD.js} +3 -3
  116. package/dist/{renderer-IWNHBIZ6.js → renderer-NKVIQA3C.js} +4 -4
  117. package/dist/{renderer-2NU7M5PN.js → renderer-PLRNQ6T3.js} +7 -7
  118. package/dist/{renderer-M6AFKVLS.js → renderer-Q6TJ52B4.js} +5 -5
  119. package/dist/{renderer-53FU55KK.js → renderer-TIIHLRMM.js} +5 -5
  120. package/dist/{renderer-5G3PORFD.js → renderer-VWBNIZV3.js} +8 -8
  121. package/dist/{renderer-QRX7Q2YN.js → renderer-W3JK5YVD.js} +6 -6
  122. package/dist/{renderer-CB2DOQ2O.js → renderer-W5GF5USI.js} +5 -5
  123. package/dist/{renderer-MLDGFZDW.js → renderer-XKMG3SYD.js} +6 -6
  124. package/dist/{renderer-CRAIC4ER.js → renderer-XSZ5MUIF.js} +6 -6
  125. package/dist/{renderer-radial-QG644QYY.js → renderer-radial-LZAPQVM5.js} +6 -6
  126. package/dist/{state-renderer-NKV5B3KH.js → state-renderer-KSAKMFQ2.js} +11 -11
  127. package/package.json +5 -1
  128. package/dist/chunk-BMR4CIEO.js +0 -41
package/dist/auto.mjs CHANGED
@@ -9677,88 +9677,6 @@ var init_constants = __esm({
9677
9677
  }
9678
9678
  });
9679
9679
 
9680
- // src/utils/wrapped-desc.ts
9681
- function wrapDescriptionLines(lines, charsPerLine, lengthFn = (s) => s.length) {
9682
- const result = [];
9683
- for (const line11 of lines) {
9684
- if (!line11.startsWith(BULLET_PREFIX)) {
9685
- const wrapped2 = wrapPlainLine(line11, charsPerLine, lengthFn);
9686
- for (const w of wrapped2) result.push({ text: w, kind: "plain" });
9687
- continue;
9688
- }
9689
- const body = line11.slice(BULLET_PREFIX.length);
9690
- const bodyLimit = Math.max(8, charsPerLine - BULLET_INDENT_CHARS);
9691
- const wrapped = wrapPlainLine(body, bodyLimit, lengthFn);
9692
- wrapped.forEach((w, i) => {
9693
- result.push({ text: w, kind: i === 0 ? "bullet-first" : "bullet-cont" });
9694
- });
9695
- }
9696
- return result;
9697
- }
9698
- function wrapPlainLine(line11, charsPerLine, lengthFn) {
9699
- const words = line11.split(/\s+/);
9700
- const result = [];
9701
- let current = "";
9702
- for (const word of words) {
9703
- const test = current ? `${current} ${word}` : word;
9704
- if (lengthFn(test) > charsPerLine && current) {
9705
- result.push(current);
9706
- current = word;
9707
- } else {
9708
- current = test;
9709
- }
9710
- }
9711
- if (current) result.push(current);
9712
- return result;
9713
- }
9714
- var BULLET_PREFIX, BULLET_INDENT_CHARS;
9715
- var init_wrapped_desc = __esm({
9716
- "src/utils/wrapped-desc.ts"() {
9717
- "use strict";
9718
- BULLET_PREFIX = "\u2022 ";
9719
- BULLET_INDENT_CHARS = 2;
9720
- }
9721
- });
9722
-
9723
- // src/utils/note-box/metrics.ts
9724
- function normalizeBulletLine(line11) {
9725
- return line11.replace(/^\s*[-*]\s+/, "\u2022 ");
9726
- }
9727
- function wrapNoteBody(body, textMaxWidth, fontSize = NOTE_FONT_SIZE) {
9728
- const sourceLines = body.split("\n").map(normalizeBulletLine);
9729
- return wrapDescriptionLines(
9730
- sourceLines,
9731
- textMaxWidth,
9732
- (s) => measureText(s, fontSize)
9733
- );
9734
- }
9735
- function noteBoxSize(body, opts = {}) {
9736
- const fontSize = opts.fontSize ?? NOTE_FONT_SIZE;
9737
- const maxW = opts.maxW ?? NOTE_MAX_W;
9738
- const textMaxWidth = maxW - NOTE_PAD_H * 2;
9739
- const lines = wrapNoteBody(body, textMaxWidth, fontSize);
9740
- let maxLineW = 0;
9741
- for (const line11 of lines) {
9742
- const indent = line11.kind === "plain" ? 0 : NOTE_BULLET_INDENT;
9743
- const w = measureText(line11.text, fontSize) + indent;
9744
- if (w > maxLineW) maxLineW = w;
9745
- }
9746
- const width = Math.min(
9747
- maxW,
9748
- Math.max(80, maxLineW + NOTE_PAD_H * 2 + NOTE_FOLD)
9749
- );
9750
- const height = Math.max(1, lines.length) * NOTE_LINE_H + NOTE_PAD_V * 2;
9751
- return { width, height, lines };
9752
- }
9753
- var init_metrics = __esm({
9754
- "src/utils/note-box/metrics.ts"() {
9755
- "use strict";
9756
- init_wrapped_desc();
9757
- init_text_measure();
9758
- init_constants();
9759
- }
9760
- });
9761
-
9762
9680
  // src/utils/safe-href.ts
9763
9681
  function safeHref(url) {
9764
9682
  if (typeof url !== "string") return null;
@@ -9818,6 +9736,12 @@ function truncateBareUrl(url) {
9818
9736
  if (stripped.length <= BARE_URL_MAX_DISPLAY) return stripped;
9819
9737
  return stripped.slice(0, BARE_URL_MAX_DISPLAY - 1) + "\u2026";
9820
9738
  }
9739
+ function stripInlineMarkdown(text) {
9740
+ return text.replace(/\[([^\]]+)\]\(([^)]+)\)/g, "$1").replace(
9741
+ /https?:\/\/[^\s)>\]]+|www\.[^\s)>\]]+/g,
9742
+ (u) => truncateBareUrl(u)
9743
+ ).replace(/\*\*|__|[*_`]/g, "");
9744
+ }
9821
9745
  function renderInlineText(textEl, text, palette, fontSize) {
9822
9746
  const spans = parseInlineMarkdown(text);
9823
9747
  for (const span of spans) {
@@ -9851,6 +9775,137 @@ var init_inline_markdown = __esm({
9851
9775
  }
9852
9776
  });
9853
9777
 
9778
+ // src/utils/wrapped-desc.ts
9779
+ function reflowDescriptionLines(lines) {
9780
+ const blocks = [];
9781
+ let open = null;
9782
+ let gapPending = false;
9783
+ let breakPending = false;
9784
+ const openBlock = (kind, text) => {
9785
+ const block = {
9786
+ kind,
9787
+ segments: [text],
9788
+ gapBefore: gapPending && blocks.length > 0
9789
+ };
9790
+ blocks.push(block);
9791
+ gapPending = false;
9792
+ return block;
9793
+ };
9794
+ for (const raw of lines) {
9795
+ const line11 = raw.trimEnd();
9796
+ if (!line11) {
9797
+ open = null;
9798
+ breakPending = false;
9799
+ gapPending = blocks.length > 0;
9800
+ continue;
9801
+ }
9802
+ const hard = line11.endsWith(HARD_BREAK);
9803
+ const text = hard ? line11.slice(0, -1).trimEnd() : line11;
9804
+ if (!text) {
9805
+ breakPending = hard;
9806
+ continue;
9807
+ }
9808
+ if (text.startsWith(BULLET_PREFIX)) {
9809
+ open = openBlock("bullet", text.slice(BULLET_PREFIX.length));
9810
+ } else if (open) {
9811
+ if (breakPending) open.segments.push(text);
9812
+ else open.segments[open.segments.length - 1] += ` ${text}`;
9813
+ } else {
9814
+ open = openBlock("plain", text);
9815
+ }
9816
+ breakPending = hard;
9817
+ }
9818
+ return blocks;
9819
+ }
9820
+ function wrapDescriptionLines(lines, charsPerLine, lengthFn = (s) => s.length) {
9821
+ const measure = (s) => lengthFn(stripInlineMarkdown(s));
9822
+ const result = [];
9823
+ for (const block of reflowDescriptionLines(lines)) {
9824
+ if (block.gapBefore && result.length > 0)
9825
+ result.push({ text: "", kind: "plain" });
9826
+ if (block.kind === "plain") {
9827
+ for (const segment of block.segments)
9828
+ for (const w of wrapPlainLine(segment, charsPerLine, measure))
9829
+ result.push({ text: w, kind: "plain" });
9830
+ continue;
9831
+ }
9832
+ const bodyLimit = Math.max(8, charsPerLine - BULLET_INDENT_CHARS);
9833
+ let first = true;
9834
+ for (const segment of block.segments) {
9835
+ for (const w of wrapPlainLine(segment, bodyLimit, measure)) {
9836
+ result.push({ text: w, kind: first ? "bullet-first" : "bullet-cont" });
9837
+ first = false;
9838
+ }
9839
+ }
9840
+ }
9841
+ return result;
9842
+ }
9843
+ function wrapPlainLine(line11, charsPerLine, lengthFn) {
9844
+ const words = line11.split(/\s+/);
9845
+ const result = [];
9846
+ let current = "";
9847
+ for (const word of words) {
9848
+ const test = current ? `${current} ${word}` : word;
9849
+ if (lengthFn(test) > charsPerLine && current) {
9850
+ result.push(current);
9851
+ current = word;
9852
+ } else {
9853
+ current = test;
9854
+ }
9855
+ }
9856
+ if (current) result.push(current);
9857
+ return result;
9858
+ }
9859
+ var BULLET_PREFIX, BULLET_INDENT_CHARS, HARD_BREAK;
9860
+ var init_wrapped_desc = __esm({
9861
+ "src/utils/wrapped-desc.ts"() {
9862
+ "use strict";
9863
+ init_inline_markdown();
9864
+ BULLET_PREFIX = "\u2022 ";
9865
+ BULLET_INDENT_CHARS = 2;
9866
+ HARD_BREAK = "\\";
9867
+ }
9868
+ });
9869
+
9870
+ // src/utils/note-box/metrics.ts
9871
+ function normalizeBulletLine(line11) {
9872
+ return line11.replace(/^\s*[-*]\s+/, "\u2022 ");
9873
+ }
9874
+ function wrapNoteBody(body, textMaxWidth, fontSize = NOTE_FONT_SIZE) {
9875
+ const sourceLines = body.split("\n").map(normalizeBulletLine);
9876
+ return wrapDescriptionLines(
9877
+ sourceLines,
9878
+ textMaxWidth,
9879
+ (s) => measureText(s, fontSize)
9880
+ );
9881
+ }
9882
+ function noteBoxSize(body, opts = {}) {
9883
+ const fontSize = opts.fontSize ?? NOTE_FONT_SIZE;
9884
+ const maxW = opts.maxW ?? NOTE_MAX_W;
9885
+ const textMaxWidth = maxW - NOTE_PAD_H * 2;
9886
+ const lines = wrapNoteBody(body, textMaxWidth, fontSize);
9887
+ let maxLineW = 0;
9888
+ for (const line11 of lines) {
9889
+ const indent = line11.kind === "plain" ? 0 : NOTE_BULLET_INDENT;
9890
+ const w = measureText(line11.text, fontSize) + indent;
9891
+ if (w > maxLineW) maxLineW = w;
9892
+ }
9893
+ const width = Math.min(
9894
+ maxW,
9895
+ Math.max(80, maxLineW + NOTE_PAD_H * 2 + NOTE_FOLD)
9896
+ );
9897
+ const height = Math.max(1, lines.length) * NOTE_LINE_H + NOTE_PAD_V * 2;
9898
+ return { width, height, lines };
9899
+ }
9900
+ var init_metrics = __esm({
9901
+ "src/utils/note-box/metrics.ts"() {
9902
+ "use strict";
9903
+ init_wrapped_desc();
9904
+ init_text_measure();
9905
+ init_constants();
9906
+ }
9907
+ });
9908
+
9854
9909
  // src/utils/note-box/svg.ts
9855
9910
  function renderNoteConnector(parent, x1, y1, x2, y2, palette) {
9856
9911
  parent.append("line").attr("x1", x1).attr("y1", y1).attr("x2", x2).attr("y2", y2).attr("stroke", palette.textMuted).attr("stroke-width", NOTE_STROKE_WIDTH).attr("stroke-opacity", NOTE_STROKE_OPACITY).attr("class", "note-connector").style("pointer-events", "none");
@@ -16114,6 +16169,7 @@ function parseEventLine(content, palette) {
16114
16169
  let currentEra = null;
16115
16170
  let eraIndent = -1;
16116
16171
  let currentEventIndent = 0;
16172
+ let pendingDescBreak = false;
16117
16173
  const aliasMap = /* @__PURE__ */ new Map();
16118
16174
  for (let i = 0; i < lines.length; i++) {
16119
16175
  const line11 = lines[i];
@@ -16121,6 +16177,7 @@ function parseEventLine(content, palette) {
16121
16177
  const trimmed = line11.trim();
16122
16178
  if (!trimmed) {
16123
16179
  currentTagGroup = null;
16180
+ pendingDescBreak = true;
16124
16181
  continue;
16125
16182
  }
16126
16183
  if (trimmed.startsWith("//")) continue;
@@ -16188,6 +16245,9 @@ function parseEventLine(content, palette) {
16188
16245
  continue;
16189
16246
  }
16190
16247
  if (currentEvent && indent > currentEventIndent) {
16248
+ if (pendingDescBreak && currentEvent.description.length > 0)
16249
+ currentEvent.description.push("");
16250
+ pendingDescBreak = false;
16191
16251
  const descLine = trimmed.startsWith("- ") ? `\u2022 ${trimmed.substring(2)}` : trimmed;
16192
16252
  currentEvent.description.push(descLine);
16193
16253
  continue;
@@ -37010,15 +37070,7 @@ function axisBreakPaths(cx, cy) {
37010
37070
  return [wave(cx - BREAK_GAP / 2), wave(cx + BREAK_GAP / 2)];
37011
37071
  }
37012
37072
  function wrapDescription(lines, charsPerLine) {
37013
- const out = [];
37014
- for (const line11 of lines) {
37015
- if (line11 === "") {
37016
- out.push({ text: "", kind: "plain" });
37017
- continue;
37018
- }
37019
- out.push(...wrapDescriptionLines([line11], charsPerLine));
37020
- }
37021
- return out;
37073
+ return wrapDescriptionLines([...lines], charsPerLine);
37022
37074
  }
37023
37075
  function renderBody(cardG, lines, bodyColor, palette, startBaseline = CARD_BODY_TOP + DESC_FONT, bulletColors = [], bulletMeta = []) {
37024
37076
  let y = startBaseline;
@@ -44984,7 +45036,7 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
44984
45036
  maxTextWidth / (sDescFontSize * CHAR_WIDTH_RATIO)
44985
45037
  );
44986
45038
  const descLineH = sDescFontSize * DESC_LINE_HEIGHT;
44987
- const displayLen2 = (text) => text.replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/\*\*(.+?)\*\*/g, "$1").replace(/\*(.+?)\*/g, "$1").replace(/`(.+?)`/g, "$1").replace(/https?:\/\/\S+/g, (u) => u.slice(0, 20)).length;
45039
+ const displayLen2 = (text) => stripInlineMarkdown(text).length;
44988
45040
  const normalizedLines = [];
44989
45041
  for (const descLine of desc) {
44990
45042
  let normalized = descLine.startsWith("- ") ? "\u2022 " + descLine.slice(2) : descLine;
@@ -74512,15 +74564,7 @@ function wrapDescription2(lines, maxWidth, fontSize) {
74512
74564
  const normalized = lines.map(
74513
74565
  (l) => l.startsWith("- ") ? "\u2022 " + l.slice(2) : l
74514
74566
  );
74515
- const out = [];
74516
- for (const line11 of normalized) {
74517
- if (line11 === "") {
74518
- out.push({ text: "", kind: "plain" });
74519
- continue;
74520
- }
74521
- out.push(...wrapDescriptionLines([line11], maxChars));
74522
- }
74523
- return out;
74567
+ return wrapDescriptionLines(normalized, maxChars);
74524
74568
  }
74525
74569
  function clamp2(x, lo, hi) {
74526
74570
  return Math.max(lo, Math.min(hi, x));
@@ -77372,7 +77416,7 @@ function renderCountdown(container, parsed, palette, isDark, exportDims) {
77372
77416
  const w = estWidth2(t, base);
77373
77417
  return w <= maxW ? base : Math.max(min, Math.floor(base * maxW / w));
77374
77418
  };
77375
- const dispLen = (s) => parseInlineMarkdown(s).reduce((n, sp) => n + sp.text.length, 0);
77419
+ const dispLen = (s) => stripInlineMarkdown(s).length;
77376
77420
  const padX = Math.max(30, Math.round(width * 0.045));
77377
77421
  const padY = Math.max(26, Math.round(width * 0.03));
77378
77422
  const contentW = width - 2 * padX;
@@ -87135,6 +87179,30 @@ var BLOCK_CSS = `
87135
87179
  color: #616e88;
87136
87180
  font-style: italic;
87137
87181
  }
87182
+
87183
+ /* === Cloud references ===
87184
+ * A withdrawn reference's placeholder, and the "this moved" affordance a host's
87185
+ * client script falls back to when it can see a diagram has changed but cannot
87186
+ * safely swap it in. Both are deliberately quiet: a page peppered with badges
87187
+ * is worse than one that is a few days behind. */
87188
+ .dgmo--tombstone {
87189
+ border: 1px dashed currentColor;
87190
+ border-radius: 6px;
87191
+ opacity: 0.6;
87192
+ padding: 1.5rem;
87193
+ text-align: center;
87194
+ }
87195
+ .dgmo-tombstone-text {
87196
+ font-size: 0.9em;
87197
+ margin: 0;
87198
+ }
87199
+ .dgmo-updated {
87200
+ display: block;
87201
+ font-size: 0.8em;
87202
+ margin-top: 0.4rem;
87203
+ opacity: 0.7;
87204
+ text-align: right;
87205
+ }
87138
87206
  `;
87139
87207
 
87140
87208
  // src/embed/index.ts
@@ -87155,6 +87223,7 @@ function resolveBlockOptions(opts) {
87155
87223
  wrapper: opts.wrapper ?? "figure",
87156
87224
  className: opts.className ?? "dgmo",
87157
87225
  legacyClassNames: opts.legacyClassNames ?? [],
87226
+ dataAttributes: opts.dataAttributes ?? {},
87158
87227
  title: opts.title,
87159
87228
  onWarn: opts.onWarn ?? ((message) => console.warn(message))
87160
87229
  };
@@ -87180,8 +87249,12 @@ function assembleBlock(source, svgsHtml, opts) {
87180
87249
  const showcase = opts.mode === "showcase";
87181
87250
  const variant = showcase ? "showcase" : "diagram";
87182
87251
  const ariaAttr = opts.title ? ` aria-label="${escapeAttr(opts.title)}"` : "";
87252
+ const dataAttrs = dataAttributeString(opts.dataAttributes);
87183
87253
  const sourceHtml = sourceDisclosure(source, opts);
87184
- return `<${Wrapper} class="${escapeAttr(wrapperClasses(opts, variant))}"${ariaAttr}>` + svgsHtml + sourceHtml + `</${Wrapper}>`;
87254
+ return `<${Wrapper} class="${escapeAttr(wrapperClasses(opts, variant))}"${ariaAttr}${dataAttrs}>` + svgsHtml + sourceHtml + `</${Wrapper}>`;
87255
+ }
87256
+ function dataAttributeString(attrs) {
87257
+ return Object.entries(attrs).filter(([name]) => /^[a-z][a-z0-9-]*$/.test(name)).map(([name, value]) => ` data-${name}="${escapeAttr(value)}"`).join("");
87185
87258
  }
87186
87259
  var CODE_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m10 4.5 4 3.5-4 3.5"/><path d="m6 4.5-4 3.5 4 3.5"/></svg>`;
87187
87260
  var COPY_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5"/><path d="M10.5 5.5V3a1.5 1.5 0 0 0-1.5-1.5H3A1.5 1.5 0 0 0 1.5 3v6A1.5 1.5 0 0 0 3 10.5h2.5"/></svg>`;
@@ -87254,7 +87327,7 @@ var CSS = AUTO_BASE_CSS + "\n" + BLOCK_CSS + "\n" + darkScopedBlockCss(BLOCK_CSS
87254
87327
 
87255
87328
  // src/auto/shared.ts
87256
87329
  init_safe_href();
87257
- var VERSION = "0.56.0";
87330
+ var VERSION = "0.57.0";
87258
87331
  var ARIA_LABEL_MAX = 200;
87259
87332
  var COPIED_INTERACTION_MS = 1500;
87260
87333
  var LOG_PREFIX = "[dgmo]";
package/dist/block.css CHANGED
@@ -385,3 +385,27 @@
385
385
  color: #616e88;
386
386
  font-style: italic;
387
387
  }
388
+
389
+ /* === Cloud references ===
390
+ * A withdrawn reference's placeholder, and the "this moved" affordance a host's
391
+ * client script falls back to when it can see a diagram has changed but cannot
392
+ * safely swap it in. Both are deliberately quiet: a page peppered with badges
393
+ * is worse than one that is a few days behind. */
394
+ .dgmo--tombstone {
395
+ border: 1px dashed currentColor;
396
+ border-radius: 6px;
397
+ opacity: 0.6;
398
+ padding: 1.5rem;
399
+ text-align: center;
400
+ }
401
+ .dgmo-tombstone-text {
402
+ font-size: 0.9em;
403
+ margin: 0;
404
+ }
405
+ .dgmo-updated {
406
+ display: block;
407
+ font-size: 0.8em;
408
+ margin-top: 0.4rem;
409
+ opacity: 0.7;
410
+ text-align: right;
411
+ }
package/dist/block.d.ts CHANGED
@@ -94,6 +94,18 @@ interface DgmoBlockOptions {
94
94
  * visually — the chart's visible title belongs in the DGMO source itself.
95
95
  */
96
96
  title?: string;
97
+ /**
98
+ * Extra `data-*` attributes for the outer wrapper, as bare names → values
99
+ * (`{ 'dgmo-ref': 'dgm_01H…' }` emits `data-dgmo-ref="dgm_01H…"`).
100
+ *
101
+ * Exists so a surface can mark a block for its own client code without
102
+ * string-patching the emitted HTML — remark-dgmo's cloud references stamp the
103
+ * diagram id and the revision they were baked from here, and its client script
104
+ * reads them back to decide whether a refresh is even worth a fetch. Values are
105
+ * attribute-escaped; a key that isn't a plain identifier is dropped rather than
106
+ * trusted, since these end up in markup verbatim.
107
+ */
108
+ dataAttributes?: Record<string, string>;
97
109
  /** Receives palette-fallback warnings. Default: console.warn. */
98
110
  onWarn?: (message: string) => void;
99
111
  }
package/dist/block.js CHANGED
@@ -3,30 +3,32 @@ import {
3
3
  docsLink,
4
4
  normalizeSvgForEmbed,
5
5
  renderErrorCard
6
- } from "./chunk-ZMMYCERO.js";
6
+ } from "./chunk-7Q35X3AL.js";
7
7
  import {
8
8
  render
9
- } from "./chunk-2JMNOEAU.js";
10
- import "./chunk-BR2VSKHI.js";
9
+ } from "./chunk-6DR2GMDM.js";
10
+ import "./chunk-OFEUXZPI.js";
11
11
  import "./chunk-VHO3YBTB.js";
12
- import "./chunk-HIMDUQT7.js";
12
+ import "./chunk-KRKU6WRS.js";
13
13
  import "./chunk-YRYKTYMQ.js";
14
14
  import "./chunk-YYVTBZZC.js";
15
15
  import "./chunk-CQ7Y3O67.js";
16
16
  import "./chunk-6VJCURWU.js";
17
17
  import "./chunk-NZ5QVASG.js";
18
- import "./chunk-QDOYT6UW.js";
18
+ import "./chunk-44GBBTMU.js";
19
19
  import "./chunk-ES66QH6J.js";
20
20
  import "./chunk-A4GOY3PE.js";
21
21
  import "./chunk-6KFWC4CO.js";
22
22
  import {
23
23
  encodeDiagramUrl
24
24
  } from "./chunk-U7VO6JAA.js";
25
- import "./chunk-GDGOVO2I.js";
25
+ import "./chunk-VYCV5WKH.js";
26
+ import "./chunk-BQLJAYVB.js";
26
27
  import "./chunk-EEKGMS63.js";
27
28
  import "./chunk-CY5KE2P5.js";
28
29
  import "./chunk-2CW5ZTNH.js";
29
30
  import "./chunk-BDXC7MDK.js";
31
+ import "./chunk-MGLJA5TK.js";
30
32
  import "./chunk-RV2N7COG.js";
31
33
  import "./chunk-VSFAJUEF.js";
32
34
  import "./chunk-5J2RQGFG.js";
@@ -40,7 +42,8 @@ import {
40
42
  import "./chunk-YNAHUNMA.js";
41
43
  import "./chunk-A2RUBBVT.js";
42
44
  import "./chunk-NFAHDPCG.js";
43
- import "./chunk-GG7TK3IA.js";
45
+ import "./chunk-USFZQPJ2.js";
46
+ import "./chunk-RT7ACF77.js";
44
47
  import "./chunk-5VLUAAAE.js";
45
48
  import "./chunk-ES3MUYRX.js";
46
49
  import "./chunk-QQJUTGQH.js";
@@ -48,16 +51,17 @@ import "./chunk-KF575IXC.js";
48
51
  import "./chunk-CXI6X54X.js";
49
52
  import "./chunk-4MB4UOT5.js";
50
53
  import "./chunk-RQGNELB3.js";
51
- import "./chunk-MGLJA5TK.js";
54
+ import "./chunk-XBTJJLAU.js";
55
+ import "./chunk-4MJOBVY7.js";
52
56
  import "./chunk-D64FRGKU.js";
53
57
  import "./chunk-X32RDWT5.js";
54
- import "./chunk-FCA2UGJT.js";
55
- import "./chunk-FXVPSTDT.js";
56
- import "./chunk-Y2L2LET6.js";
58
+ import "./chunk-NIUE5VWY.js";
59
+ import "./chunk-MXDT446P.js";
60
+ import "./chunk-ADKDIWCW.js";
57
61
  import "./chunk-WOMXS5R7.js";
58
62
  import "./chunk-NHZAYL2X.js";
59
- import "./chunk-USFZQPJ2.js";
60
- import "./chunk-RT7ACF77.js";
63
+ import "./chunk-FERE46TP.js";
64
+ import "./chunk-C3Z4DX3V.js";
61
65
  import "./chunk-LV5BFA24.js";
62
66
  import "./chunk-7TF3QOOD.js";
63
67
  import "./chunk-APD52YJV.js";
@@ -66,30 +70,20 @@ import "./chunk-VYEQPPS6.js";
66
70
  import "./chunk-ULR3BVNH.js";
67
71
  import "./chunk-ST3ZNEUQ.js";
68
72
  import "./chunk-7NK42OIB.js";
73
+ import "./chunk-RRX4Z4TH.js";
69
74
  import "./chunk-PFG3EVRD.js";
70
75
  import "./chunk-OHBIN74X.js";
71
76
  import "./chunk-IYULMRBE.js";
72
77
  import "./chunk-DIKIHU52.js";
73
78
  import "./chunk-3TYUXC7D.js";
74
79
  import "./chunk-EQW6HOP4.js";
75
- import "./chunk-WFX6AUQO.js";
76
- import "./chunk-4MJOBVY7.js";
77
80
  import {
78
81
  scanMonthNameDates
79
82
  } from "./chunk-DAOFNU6J.js";
83
+ import "./chunk-NOTA6TEI.js";
80
84
  import "./chunk-TGOMHUOV.js";
81
85
  import "./chunk-I55PVEIX.js";
82
86
  import "./chunk-FZECLCCU.js";
83
- import {
84
- resolvePaletteOrFallback
85
- } from "./chunk-R3XI2VC7.js";
86
- import "./chunk-SCJ7CAJF.js";
87
- import "./chunk-4ASYQ347.js";
88
- import "./chunk-42IT4BG2.js";
89
- import "./chunk-FERE46TP.js";
90
- import "./chunk-C3Z4DX3V.js";
91
- import "./chunk-RRX4Z4TH.js";
92
- import "./chunk-NOTA6TEI.js";
93
87
  import "./chunk-D5FANMSG.js";
94
88
  import {
95
89
  REGISTRY_COLON_KEY_TOKENS,
@@ -98,6 +92,12 @@ import {
98
92
  REGISTRY_MODIFIER_TOKENS,
99
93
  REGISTRY_STATUS_TOKENS
100
94
  } from "./chunk-3KOPPSUQ.js";
95
+ import {
96
+ resolvePaletteOrFallback
97
+ } from "./chunk-R3XI2VC7.js";
98
+ import "./chunk-SCJ7CAJF.js";
99
+ import "./chunk-4ASYQ347.js";
100
+ import "./chunk-42IT4BG2.js";
101
101
  import "./chunk-EXNKNJ65.js";
102
102
  import "./chunk-OLMWTJVU.js";
103
103
  import "./chunk-5WRI5ZAA.js";
@@ -1019,6 +1019,30 @@ var BLOCK_CSS = `
1019
1019
  color: #616e88;
1020
1020
  font-style: italic;
1021
1021
  }
1022
+
1023
+ /* === Cloud references ===
1024
+ * A withdrawn reference's placeholder, and the "this moved" affordance a host's
1025
+ * client script falls back to when it can see a diagram has changed but cannot
1026
+ * safely swap it in. Both are deliberately quiet: a page peppered with badges
1027
+ * is worse than one that is a few days behind. */
1028
+ .dgmo--tombstone {
1029
+ border: 1px dashed currentColor;
1030
+ border-radius: 6px;
1031
+ opacity: 0.6;
1032
+ padding: 1.5rem;
1033
+ text-align: center;
1034
+ }
1035
+ .dgmo-tombstone-text {
1036
+ font-size: 0.9em;
1037
+ margin: 0;
1038
+ }
1039
+ .dgmo-updated {
1040
+ display: block;
1041
+ font-size: 0.8em;
1042
+ margin-top: 0.4rem;
1043
+ opacity: 0.7;
1044
+ text-align: right;
1045
+ }
1022
1046
  `;
1023
1047
 
1024
1048
  // src/embed/index.ts
@@ -1039,6 +1063,7 @@ function resolveBlockOptions(opts) {
1039
1063
  wrapper: opts.wrapper ?? "figure",
1040
1064
  className: opts.className ?? "dgmo",
1041
1065
  legacyClassNames: opts.legacyClassNames ?? [],
1066
+ dataAttributes: opts.dataAttributes ?? {},
1042
1067
  title: opts.title,
1043
1068
  onWarn: opts.onWarn ?? ((message) => console.warn(message))
1044
1069
  };
@@ -1097,8 +1122,12 @@ function assembleBlock(source, svgsHtml, opts) {
1097
1122
  const showcase = opts.mode === "showcase";
1098
1123
  const variant = showcase ? "showcase" : "diagram";
1099
1124
  const ariaAttr = opts.title ? ` aria-label="${escapeAttr(opts.title)}"` : "";
1125
+ const dataAttrs = dataAttributeString(opts.dataAttributes);
1100
1126
  const sourceHtml = sourceDisclosure(source, opts);
1101
- return `<${Wrapper} class="${escapeAttr(wrapperClasses(opts, variant))}"${ariaAttr}>` + svgsHtml + sourceHtml + `</${Wrapper}>`;
1127
+ return `<${Wrapper} class="${escapeAttr(wrapperClasses(opts, variant))}"${ariaAttr}${dataAttrs}>` + svgsHtml + sourceHtml + `</${Wrapper}>`;
1128
+ }
1129
+ function dataAttributeString(attrs) {
1130
+ return Object.entries(attrs).filter(([name]) => /^[a-z][a-z0-9-]*$/.test(name)).map(([name, value]) => ` data-${name}="${escapeAttr(value)}"`).join("");
1102
1131
  }
1103
1132
  var CODE_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m10 4.5 4 3.5-4 3.5"/><path d="m6 4.5-4 3.5 4 3.5"/></svg>`;
1104
1133
  var COPY_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5"/><path d="M10.5 5.5V3a1.5 1.5 0 0 0-1.5-1.5H3A1.5 1.5 0 0 0 1.5 3v6A1.5 1.5 0 0 0 3 10.5h2.5"/></svg>`;
@@ -10,11 +10,15 @@ import {
10
10
  } from "./chunk-U7VO6JAA.js";
11
11
  import {
12
12
  parseDgmoChartType
13
- } from "./chunk-GDGOVO2I.js";
13
+ } from "./chunk-VYCV5WKH.js";
14
+ import {
15
+ parseRaci
16
+ } from "./chunk-BQLJAYVB.js";
14
17
  import "./chunk-EEKGMS63.js";
15
18
  import "./chunk-CY5KE2P5.js";
16
19
  import "./chunk-2CW5ZTNH.js";
17
20
  import "./chunk-BDXC7MDK.js";
21
+ import "./chunk-MGLJA5TK.js";
18
22
  import "./chunk-RV2N7COG.js";
19
23
  import "./chunk-VSFAJUEF.js";
20
24
  import "./chunk-5J2RQGFG.js";
@@ -25,9 +29,8 @@ import "./chunk-OQKP2X3D.js";
25
29
  import "./chunk-YNAHUNMA.js";
26
30
  import "./chunk-A2RUBBVT.js";
27
31
  import "./chunk-NFAHDPCG.js";
28
- import {
29
- parseRaci
30
- } from "./chunk-GG7TK3IA.js";
32
+ import "./chunk-USFZQPJ2.js";
33
+ import "./chunk-RT7ACF77.js";
31
34
  import "./chunk-5VLUAAAE.js";
32
35
  import "./chunk-ES3MUYRX.js";
33
36
  import "./chunk-QQJUTGQH.js";
@@ -35,16 +38,17 @@ import "./chunk-KF575IXC.js";
35
38
  import "./chunk-CXI6X54X.js";
36
39
  import "./chunk-4MB4UOT5.js";
37
40
  import "./chunk-RQGNELB3.js";
38
- import "./chunk-MGLJA5TK.js";
41
+ import "./chunk-XBTJJLAU.js";
42
+ import "./chunk-4MJOBVY7.js";
39
43
  import "./chunk-D64FRGKU.js";
40
44
  import "./chunk-X32RDWT5.js";
41
- import "./chunk-FCA2UGJT.js";
42
- import "./chunk-FXVPSTDT.js";
43
- import "./chunk-Y2L2LET6.js";
45
+ import "./chunk-NIUE5VWY.js";
46
+ import "./chunk-MXDT446P.js";
47
+ import "./chunk-ADKDIWCW.js";
44
48
  import "./chunk-WOMXS5R7.js";
45
49
  import "./chunk-NHZAYL2X.js";
46
- import "./chunk-USFZQPJ2.js";
47
- import "./chunk-RT7ACF77.js";
50
+ import "./chunk-FERE46TP.js";
51
+ import "./chunk-C3Z4DX3V.js";
48
52
  import "./chunk-LV5BFA24.js";
49
53
  import "./chunk-7TF3QOOD.js";
50
54
  import "./chunk-APD52YJV.js";
@@ -53,6 +57,7 @@ import "./chunk-VYEQPPS6.js";
53
57
  import "./chunk-ULR3BVNH.js";
54
58
  import "./chunk-ST3ZNEUQ.js";
55
59
  import "./chunk-7NK42OIB.js";
60
+ import "./chunk-RRX4Z4TH.js";
56
61
  import {
57
62
  parseOrg
58
63
  } from "./chunk-PFG3EVRD.js";
@@ -61,14 +66,18 @@ import "./chunk-IYULMRBE.js";
61
66
  import "./chunk-DIKIHU52.js";
62
67
  import "./chunk-3TYUXC7D.js";
63
68
  import "./chunk-EQW6HOP4.js";
64
- import "./chunk-WFX6AUQO.js";
65
- import "./chunk-4MJOBVY7.js";
66
69
  import "./chunk-DAOFNU6J.js";
70
+ import "./chunk-NOTA6TEI.js";
67
71
  import {
68
72
  chartTypes
69
73
  } from "./chunk-TGOMHUOV.js";
70
74
  import "./chunk-I55PVEIX.js";
71
75
  import "./chunk-FZECLCCU.js";
76
+ import "./chunk-D5FANMSG.js";
77
+ import {
78
+ ALL_CHART_TYPES,
79
+ parseFirstLine
80
+ } from "./chunk-3KOPPSUQ.js";
72
81
  import {
73
82
  getAvailablePalettes,
74
83
  getPalette
@@ -76,15 +85,6 @@ import {
76
85
  import {
77
86
  hexToHSLString
78
87
  } from "./chunk-42IT4BG2.js";
79
- import "./chunk-FERE46TP.js";
80
- import "./chunk-C3Z4DX3V.js";
81
- import "./chunk-RRX4Z4TH.js";
82
- import "./chunk-NOTA6TEI.js";
83
- import "./chunk-D5FANMSG.js";
84
- import {
85
- ALL_CHART_TYPES,
86
- parseFirstLine
87
- } from "./chunk-3KOPPSUQ.js";
88
88
  import "./chunk-EXNKNJ65.js";
89
89
  import "./chunk-OLMWTJVU.js";
90
90
  import "./chunk-5WRI5ZAA.js";