@aiderdesk/aiderdesk 0.61.0-dev → 0.61.1

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 (196) hide show
  1. package/out/renderer/assets/__vite-browser-external-2447137e-DYxpcVy9.js +4 -0
  2. package/out/renderer/assets/{_baseUniq-Z8t1Ab1g.js → _baseUniq-BPF2Herp.js} +21 -197
  3. package/out/renderer/assets/{arc-CwESpVYE.js → arc-DfPLteHF.js} +1 -1
  4. package/out/renderer/assets/{architectureDiagram-2XIMDMQ5-C490EQr5.js → architectureDiagram-Q4EWVU46-Bw0u-sSH.js} +34 -20
  5. package/out/renderer/assets/{blockDiagram-WCTKOSBZ-DbHssxrQ.js → blockDiagram-DXYQGD6D-CkfB9if8.js} +21 -8
  6. package/out/renderer/assets/{c4Diagram-IC4MRINW-BxE3GUKu.js → c4Diagram-AHTNJAMY-DweK9Liz.js} +31 -35
  7. package/out/renderer/assets/{channel-C9hJq_Xr.js → channel-C5wwrRof.js} +1 -1
  8. package/out/renderer/assets/{chunk-4BX2VUAB-ChcKNpL6.js → chunk-4BX2VUAB-0KM14cFd.js} +1 -1
  9. package/out/renderer/assets/{chunk-WL4C6EOR-vhby2fZi.js → chunk-4TB4RGXK-CmVtCVL4.js} +121 -82
  10. package/out/renderer/assets/{chunk-55IACEB6-oLT9lXTt.js → chunk-55IACEB6-BzVYZvBM.js} +1 -1
  11. package/out/renderer/assets/{chunk-KX2RTZJC-D32tV7H-.js → chunk-EDXVE4YY-BryQl5Kv.js} +1 -1
  12. package/out/renderer/assets/{chunk-FMBD7UC4-B5k8rETe.js → chunk-FMBD7UC4-CRiLea_e.js} +1 -1
  13. package/out/renderer/assets/{chunk-NQ4KR5QH-Bmqo2FpL.js → chunk-OYMX7WX6-Cpi4N3NO.js} +32 -15
  14. package/out/renderer/assets/{chunk-QZHKN3VN-8BpGifjS.js → chunk-QZHKN3VN-BT8kABWC.js} +1 -1
  15. package/out/renderer/assets/{chunk-JSJVCQXG-DtjSx6Cj.js → chunk-YZCP3GAM-OLZV_Sef.js} +1 -1
  16. package/out/renderer/assets/{classDiagram-VBA2DB6C-BxRSSb9e.js → classDiagram-6PBFFD2Q-VdE6G90i.js} +6 -6
  17. package/out/renderer/assets/{classDiagram-v2-RAHNMMFH-BxRSSb9e.js → classDiagram-v2-HSJHXN6E-VdE6G90i.js} +6 -6
  18. package/out/renderer/assets/{clone-D9a-uIZa.js → clone-DwQZ86nS.js} +1 -1
  19. package/out/renderer/assets/{cose-bilkent-S5V4N54A-CUqqQ-6R.js → cose-bilkent-S5V4N54A-BEcAKM9H.js} +1 -1
  20. package/out/renderer/assets/{dagre-KLK3FWXG-ORIwMMhq.js → dagre-KV5264BT-BcFQYL1M.js} +6 -6
  21. package/out/renderer/assets/diagram-5BDNPKRD-GrUNdC1u.js +171 -0
  22. package/out/renderer/assets/{diagram-E7M64L7V-bS9HcoDQ.js → diagram-G4DWMVQ6-CG4S-ov5.js} +15 -13
  23. package/out/renderer/assets/{diagram-IFDJBPK2-BRlTIR0J.js → diagram-MMDJMWI5-9ogY3MRC.js} +5 -6
  24. package/out/renderer/assets/{diagram-P4PSJMXO-jsjGwH-p.js → diagram-TYMM5635-Ck7mI1bS.js} +5 -6
  25. package/out/renderer/assets/{erDiagram-INFDFZHY-DGlgjHOQ.js → erDiagram-SMLLAGMA-Dvf_c-7M.js} +81 -35
  26. package/out/renderer/assets/{flowDiagram-PKNHOUZH-CzLC87bM.js → flowDiagram-DWJPFMVM-CPDjOXYp.js} +27 -45
  27. package/out/renderer/assets/{ganttDiagram-A5KZAMGK-BbDv36wT.js → ganttDiagram-T4ZO3ILL-B4dJrK-3.js} +17 -8
  28. package/out/renderer/assets/{gitGraphDiagram-K3NZZRJ6-CBQnBjEi.js → gitGraphDiagram-UUTBAWPF-De2eCfMN.js} +244 -67
  29. package/out/renderer/assets/{graph-Dl5N6maZ.js → graph-BFn23kR_.js} +175 -3
  30. package/out/renderer/assets/{index-MDHavDF9.js → index-BL-57WPa.js} +15877 -20787
  31. package/out/renderer/assets/{index-CDCy_DhA.css → index-BkntVzTm.css} +114 -301
  32. package/out/renderer/assets/{infoDiagram-LFFYTUFH-GtEDBEmz.js → infoDiagram-42DDH7IO-BIt9B6mQ.js} +5 -6
  33. package/out/renderer/assets/{ishikawaDiagram-PHBUUO56-Uj90gr3I.js → ishikawaDiagram-UXIWVN3A-CXZs0KGV.js} +3 -3
  34. package/out/renderer/assets/{journeyDiagram-4ABVD52K-DekFuOwS.js → journeyDiagram-VCZTEJTY-B-EXuj5b.js} +14 -13
  35. package/out/renderer/assets/{kanban-definition-K7BYSVSG-Hfz2L6NS.js → kanban-definition-6JOO6SKY-ByvN0qaD.js} +5 -2
  36. package/out/renderer/assets/{layout-B9K2VT39.js → layout-BpybWUv6.js} +117 -4
  37. package/out/renderer/assets/min-DB8ixvoT.js +41 -0
  38. package/out/renderer/assets/{mindmap-definition-YRQLILUH-DDcS7_GH.js → mindmap-definition-QFDTVHPH-Do-I-At8.js} +69 -13
  39. package/out/renderer/assets/{pieDiagram-SKSYHLDU-DwjEcJ0Q.js → pieDiagram-DEJITSTG-Cnpf6Gt6.js} +20 -13
  40. package/out/renderer/assets/{quadrantDiagram-337W2JSQ-CpGqN7vo.js → quadrantDiagram-34T5L4WZ-VcOb1qLd.js} +1 -1
  41. package/out/renderer/assets/{requirementDiagram-Z7DCOOCP-qDRUf1ip.js → requirementDiagram-MS252O5E-VJs9Hpaw.js} +42 -11
  42. package/out/renderer/assets/{sankeyDiagram-WA2Y5GQK-DRKS8C1H.js → sankeyDiagram-XADWPNL6-BoXxgLvi.js} +1 -1
  43. package/out/renderer/assets/{sequenceDiagram-2WXFIKYE-DhVN2ug2.js → sequenceDiagram-FGHM5R23-b69hQjSp.js} +446 -220
  44. package/out/renderer/assets/{stateDiagram-RAJIS63D-BpP4eSqu.js → stateDiagram-FHFEXIEX-BK7E-REm.js} +10 -9
  45. package/out/renderer/assets/{stateDiagram-v2-FVOUBMTO-B_qQJqra.js → stateDiagram-v2-QKLJ7IA2-Cd2wfCQu.js} +4 -4
  46. package/out/renderer/assets/{timeline-definition-YZTLITO2-UoWXE_76.js → timeline-definition-GMOUNBTQ-Bl-MTfK5.js} +445 -71
  47. package/out/renderer/assets/{vennDiagram-LZ73GAT5-Dp1FZ609.js → vennDiagram-DHZGUBPP-DNmr1k2L.js} +1 -1
  48. package/out/renderer/assets/{treemap-KZPCXAKY-W2a2L6ff.js → wardley-RL74JXVD-DTbxPMj9.js} +1474 -977
  49. package/out/renderer/assets/wardleyDiagram-NUSXRM2D-BWw08wtD.js +901 -0
  50. package/out/renderer/assets/{xychartDiagram-JWTSCODW-CTzYHTbD.js → xychartDiagram-5P7HB3ND-EEYPnLDT.js} +20 -4
  51. package/out/renderer/index.html +3 -3
  52. package/out/renderer/progress.html +212 -62
  53. package/out/resources/mcp-server/aider-desk-mcp-server.js +642 -402
  54. package/out/resources/skills/extension-creator/SKILL.md +320 -0
  55. package/out/resources/skills/extension-creator/assets/templates/Component.jsx.template +76 -0
  56. package/out/resources/skills/extension-creator/assets/templates/ConfigComponent.jsx.template +38 -0
  57. package/out/resources/skills/extension-creator/assets/templates/folder-extension/config.ts.template +29 -0
  58. package/out/resources/skills/extension-creator/assets/templates/folder-extension/index.ts.template +42 -0
  59. package/out/resources/skills/extension-creator/assets/templates/folder-extension/package.json +12 -0
  60. package/out/resources/skills/extension-creator/assets/templates/folder-extension/tsconfig.json +23 -0
  61. package/out/resources/skills/extension-creator/assets/templates/folder-extension-with-config/index.ts.template +80 -0
  62. package/out/resources/skills/extension-creator/assets/templates/single-file.ts.template +30 -0
  63. package/out/resources/skills/extension-creator/assets/templates/ui-component-external.ts.template +91 -0
  64. package/out/resources/skills/extension-creator/assets/templates/ui-component.ts.template +79 -0
  65. package/out/resources/skills/extension-creator/references/command-definition.md +170 -0
  66. package/out/resources/skills/extension-creator/references/config-components.md +427 -0
  67. package/out/resources/skills/extension-creator/references/event-types.md +156 -0
  68. package/out/resources/skills/extension-creator/references/examples-gallery.md +583 -0
  69. package/out/resources/skills/extension-creator/references/extension-interface.md +240 -0
  70. package/out/resources/skills/extension-creator/references/extension-types.md +186 -0
  71. package/out/resources/skills/extension-creator/references/in-repo-flow.md +132 -0
  72. package/out/resources/skills/extension-creator/references/install-targets.md +96 -0
  73. package/out/resources/skills/extension-creator/references/project-global-flow.md +76 -0
  74. package/out/resources/skills/extension-creator/references/ui-components.md +663 -0
  75. package/out/runner.js +976 -386
  76. package/package.json +2 -3
  77. package/out/renderer/assets/_basePickBy-BWoXHZ8Z.js +0 -161
  78. package/out/renderer/assets/apl-fqmucPXA.js +0 -140
  79. package/out/renderer/assets/asciiarmor-DucZyvP0.js +0 -56
  80. package/out/renderer/assets/asn1-BnOEsgAm.js +0 -144
  81. package/out/renderer/assets/asterisk-QAlztEwS.js +0 -345
  82. package/out/renderer/assets/brainfuck-DZVCuF_t.js +0 -53
  83. package/out/renderer/assets/clike-xqXYL6ge.js +0 -805
  84. package/out/renderer/assets/clojure-BhXMqnxz.js +0 -849
  85. package/out/renderer/assets/cmake-BGaNd9E7.js +0 -71
  86. package/out/renderer/assets/cobol-4yqQntpt.js +0 -120
  87. package/out/renderer/assets/coffeescript-D2dXvhEc.js +0 -308
  88. package/out/renderer/assets/commonlisp-CF_VNHQR.js +0 -130
  89. package/out/renderer/assets/crystal-DyuLTqLs.js +0 -398
  90. package/out/renderer/assets/css-c-jst79C.js +0 -1783
  91. package/out/renderer/assets/cypher-Dlu_3r4V.js +0 -121
  92. package/out/renderer/assets/d-UURgV0Ux.js +0 -179
  93. package/out/renderer/assets/diff-B_Bi2Crb.js +0 -25
  94. package/out/renderer/assets/dockerfile-Bvk733Ga.js +0 -201
  95. package/out/renderer/assets/dtd-Dy74G54E.js +0 -114
  96. package/out/renderer/assets/dylan-TSb-Nfix.js +0 -314
  97. package/out/renderer/assets/ebnf-4fKAGW3a.js +0 -140
  98. package/out/renderer/assets/ecl-B59qGGVg.js +0 -178
  99. package/out/renderer/assets/eiffel-Dze7nlu3.js +0 -134
  100. package/out/renderer/assets/elm-DG7jkhNZ.js +0 -176
  101. package/out/renderer/assets/erlang-BO6gOnGA.js +0 -674
  102. package/out/renderer/assets/factor-CMxFHDqz.js +0 -65
  103. package/out/renderer/assets/fcl-CDDUNjTj.js +0 -141
  104. package/out/renderer/assets/forth-B9D2JCeE.js +0 -116
  105. package/out/renderer/assets/fortran-CAG2BFbe.js +0 -467
  106. package/out/renderer/assets/gas-d3KEcW3x.js +0 -294
  107. package/out/renderer/assets/gherkin-DhZlEZiy.js +0 -115
  108. package/out/renderer/assets/groovy-CpwJiBl7.js +0 -223
  109. package/out/renderer/assets/haskell-ySd-OUo8.js +0 -459
  110. package/out/renderer/assets/haxe-7MlzfeYV.js +0 -514
  111. package/out/renderer/assets/http-BqypyemW.js +0 -79
  112. package/out/renderer/assets/idl-4HIGJlDI.js +0 -985
  113. package/out/renderer/assets/index-6qedlt0q.js +0 -689
  114. package/out/renderer/assets/index-86jDpUJn.js +0 -385
  115. package/out/renderer/assets/index-BRjO8ber.js +0 -332
  116. package/out/renderer/assets/index-BVgw7j0d.js +0 -312
  117. package/out/renderer/assets/index-BhkyI1q3.js +0 -642
  118. package/out/renderer/assets/index-BqrmLPkg.js +0 -82
  119. package/out/renderer/assets/index-BuPbw4xM.js +0 -178
  120. package/out/renderer/assets/index-CTO-LPBg.js +0 -311
  121. package/out/renderer/assets/index-CTO4SzlI.js +0 -97
  122. package/out/renderer/assets/index-CZ9IQK_0.js +0 -2488
  123. package/out/renderer/assets/index-CZxsVxBZ.js +0 -1765
  124. package/out/renderer/assets/index-DIXV-3Xn.js +0 -406
  125. package/out/renderer/assets/index-DNzOtZX5.js +0 -61
  126. package/out/renderer/assets/index-DZtJe7oC.js +0 -1019
  127. package/out/renderer/assets/index-DaWjZz_g.js +0 -291
  128. package/out/renderer/assets/index-De056HHR.js +0 -151
  129. package/out/renderer/assets/index-Dk3wSDSN.js +0 -117
  130. package/out/renderer/assets/index-Dy4VRsnA.js +0 -1041
  131. package/out/renderer/assets/index-FnnayPBc.js +0 -82
  132. package/out/renderer/assets/index-MZb_zy6R.js +0 -704
  133. package/out/renderer/assets/index-chzQl8rJ.js +0 -157
  134. package/out/renderer/assets/index-s-Owx3Pm.js +0 -327
  135. package/out/renderer/assets/javascript-C_OHM9hj.js +0 -994
  136. package/out/renderer/assets/julia-Bs6JJhYG.js +0 -407
  137. package/out/renderer/assets/livescript-DmzgM3Yt.js +0 -296
  138. package/out/renderer/assets/lua-8cJgIlqe.js +0 -256
  139. package/out/renderer/assets/mathematica-DNLOL9PQ.js +0 -110
  140. package/out/renderer/assets/mbox-Ga7d4MMN.js +0 -117
  141. package/out/renderer/assets/mirc-Dma3B8rS.js +0 -107
  142. package/out/renderer/assets/mllike-DHn7xckP.js +0 -334
  143. package/out/renderer/assets/modelica-0d55jYY0.js +0 -147
  144. package/out/renderer/assets/mscgen-DdqZYINH.js +0 -135
  145. package/out/renderer/assets/mumps-Btr8VblO.js +0 -93
  146. package/out/renderer/assets/nginx-DTDtBDVN.js +0 -141
  147. package/out/renderer/assets/nsis-3zG7tgur.js +0 -62
  148. package/out/renderer/assets/ntriples-CvgOYMpL.js +0 -153
  149. package/out/renderer/assets/octave-DYBj3-tl.js +0 -200
  150. package/out/renderer/assets/oz-R_e8WMIi.js +0 -231
  151. package/out/renderer/assets/pascal-GD8iposT.js +0 -105
  152. package/out/renderer/assets/perl-DL9mHpoi.js +0 -1105
  153. package/out/renderer/assets/pig-C_4T4YIV.js +0 -101
  154. package/out/renderer/assets/powershell-B0suO7Vd.js +0 -328
  155. package/out/renderer/assets/properties-BR-vP1aU.js +0 -58
  156. package/out/renderer/assets/protobuf-BxgpyhoW.js +0 -77
  157. package/out/renderer/assets/pug-CTXt1f8z.js +0 -405
  158. package/out/renderer/assets/puppet-Bdao66PW.js +0 -137
  159. package/out/renderer/assets/python-CvWbmiX4.js +0 -427
  160. package/out/renderer/assets/q-CrbCVq4a.js +0 -131
  161. package/out/renderer/assets/r-V7nswm59.js +0 -170
  162. package/out/renderer/assets/rpm-C-DLY-If.js +0 -109
  163. package/out/renderer/assets/ruby-JDKLJNK0.js +0 -330
  164. package/out/renderer/assets/sas-D2UG-yhZ.js +0 -207
  165. package/out/renderer/assets/scheme-BKzrkGJD.js +0 -222
  166. package/out/renderer/assets/shell-BlsXDxCn.js +0 -222
  167. package/out/renderer/assets/sieve-CjwBwOY5.js +0 -135
  168. package/out/renderer/assets/simple-mode-DMneyfDu.js +0 -130
  169. package/out/renderer/assets/smalltalk-BOIGQuhN.js +0 -121
  170. package/out/renderer/assets/solr-CwD7U71z.js +0 -69
  171. package/out/renderer/assets/sparql-DYskk2vE.js +0 -249
  172. package/out/renderer/assets/spreadsheet-Bgtt3oLP.js +0 -87
  173. package/out/renderer/assets/sql-BSrOzCRI.js +0 -354
  174. package/out/renderer/assets/stex-B6LNC55o.js +0 -231
  175. package/out/renderer/assets/stylus-BkS-boTH.js +0 -565
  176. package/out/renderer/assets/swift-FRZi1uvB.js +0 -291
  177. package/out/renderer/assets/tcl-CUcaCdmq.js +0 -114
  178. package/out/renderer/assets/textile-BnFpjsrl.js +0 -414
  179. package/out/renderer/assets/tiddlywiki-CjprD-Qp.js +0 -218
  180. package/out/renderer/assets/tiki-DK9DOeWn.js +0 -268
  181. package/out/renderer/assets/toml-BOuWGMcf.js +0 -76
  182. package/out/renderer/assets/troff-E1bJ0PPL.js +0 -61
  183. package/out/renderer/assets/ttcn-cfg-Dc39-fIP.js +0 -133
  184. package/out/renderer/assets/ttcn-tKd4HLu4.js +0 -192
  185. package/out/renderer/assets/turtle-Dq7-1WAf.js +0 -124
  186. package/out/renderer/assets/vb-Dp90gtsv.js +0 -196
  187. package/out/renderer/assets/vbscript-CI6_mxxU.js +0 -479
  188. package/out/renderer/assets/velocity-BwIZK1TH.js +0 -149
  189. package/out/renderer/assets/verilog-DDCYnHN8.js +0 -430
  190. package/out/renderer/assets/vhdl-DCkMIyT9.js +0 -158
  191. package/out/renderer/assets/webidl-BTLTThCm.js +0 -204
  192. package/out/renderer/assets/xquery-BrBUuxMR.js +0 -525
  193. package/out/renderer/assets/yacas-b5lAVEIl.js +0 -130
  194. package/out/renderer/assets/z80-BZV19vqv.js +0 -93
  195. package/scripts/download-uv.mjs +0 -147
  196. /package/patches/{ai+5.0.161.patch → ai+5.0.167.patch} +0 -0
@@ -1,6 +1,6 @@
1
- import { g as getDiagramElement } from "./chunk-55IACEB6-oLT9lXTt.js";
2
- import { s as setupViewPortForSVG } from "./chunk-KX2RTZJC-D32tV7H-.js";
3
- import { _ as __name, l as log, c as getConfig2, r as render, u as utils_default, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, p as setDiagramTitle, q as getDiagramTitle, W as generateId, k as common_default, z as clear } from "./index-MDHavDF9.js";
1
+ import { g as getDiagramElement } from "./chunk-55IACEB6-BzVYZvBM.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-EDXVE4YY-BryQl5Kv.js";
3
+ import { _ as __name, l as log, c as getConfig2, r as render, u as utils_default, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, p as setDiagramTitle, q as getDiagramTitle, W as generateId, k as common_default, z as clear } from "./index-BL-57WPa.js";
4
4
  var parser = (function() {
5
5
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
6
6
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
@@ -803,7 +803,7 @@ var parser = (function() {
803
803
  }
804
804
  }, "anonymous"),
805
805
  rules: [/^(?:click\b)/i, /^(?:href\b)/i, /^(?:"[^"]*")/i, /^(?:default\b)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:classDef\s+)/i, /^(?:DEFAULT\s+)/i, /^(?:\w+\s+)/i, /^(?:[^\n]*)/i, /^(?:class\s+)/i, /^(?:(\w+)+((,\s*\w+)*))/i, /^(?:[^\n]*)/i, /^(?:style\s+)/i, /^(?:[\w,]+\s+)/i, /^(?:[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:state\s+)/i, /^(?:.*<<fork>>)/i, /^(?:.*<<join>>)/i, /^(?:.*<<choice>>)/i, /^(?:.*\[\[fork\]\])/i, /^(?:.*\[\[join\]\])/i, /^(?:.*\[\[choice\]\])/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:["])/i, /^(?:\s*as\s+)/i, /^(?:[^\n\{]*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n\s\{]+)/i, /^(?:\n)/i, /^(?:\{)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:\})/i, /^(?:[\n])/i, /^(?:note\s+)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:")/i, /^(?:\s*as\s*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n]*)/i, /^(?:\s*[^:\n\s\-]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:[\s\S]*?end note\b)/i, /^(?:stateDiagram\s+)/i, /^(?:stateDiagram-v2\s+)/i, /^(?:hide empty description\b)/i, /^(?:\[\*\])/i, /^(?:[^:\n\s\-\{]+)/i, /^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],
806
- conditions: { "LINE": { "rules": [12, 13], "inclusive": false }, "struct": { "rules": [12, 13, 25, 29, 32, 38, 45, 46, 47, 48, 57, 58, 59, 60, 74, 75, 76, 77, 78], "inclusive": false }, "FLOATING_NOTE_ID": { "rules": [67], "inclusive": false }, "FLOATING_NOTE": { "rules": [64, 65, 66], "inclusive": false }, "NOTE_TEXT": { "rules": [69, 70], "inclusive": false }, "NOTE_ID": { "rules": [68], "inclusive": false }, "NOTE": { "rules": [61, 62, 63], "inclusive": false }, "STYLEDEF_STYLEOPTS": { "rules": [], "inclusive": false }, "STYLEDEF_STYLES": { "rules": [34], "inclusive": false }, "STYLE_IDS": { "rules": [], "inclusive": false }, "STYLE": { "rules": [33], "inclusive": false }, "CLASS_STYLE": { "rules": [31], "inclusive": false }, "CLASS": { "rules": [30], "inclusive": false }, "CLASSDEFID": { "rules": [28], "inclusive": false }, "CLASSDEF": { "rules": [26, 27], "inclusive": false }, "acc_descr_multiline": { "rules": [23, 24], "inclusive": false }, "acc_descr": { "rules": [21], "inclusive": false }, "acc_title": { "rules": [19], "inclusive": false }, "SCALE": { "rules": [16, 17, 36, 37], "inclusive": false }, "ALIAS": { "rules": [], "inclusive": false }, "STATE_ID": { "rules": [51], "inclusive": false }, "STATE_STRING": { "rules": [52, 53], "inclusive": false }, "FORK_STATE": { "rules": [], "inclusive": false }, "STATE": { "rules": [12, 13, 39, 40, 41, 42, 43, 44, 49, 50, 54, 55, 56], "inclusive": false }, "ID": { "rules": [12, 13], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 18, 20, 22, 25, 29, 32, 35, 38, 56, 60, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81], "inclusive": true } }
806
+ conditions: { "LINE": { "rules": [12, 13], "inclusive": false }, "struct": { "rules": [12, 13, 25, 29, 32, 38, 45, 46, 47, 48, 57, 58, 59, 60, 74, 75, 76, 77, 78, 79], "inclusive": false }, "FLOATING_NOTE_ID": { "rules": [67], "inclusive": false }, "FLOATING_NOTE": { "rules": [64, 65, 66], "inclusive": false }, "NOTE_TEXT": { "rules": [69, 70], "inclusive": false }, "NOTE_ID": { "rules": [68], "inclusive": false }, "NOTE": { "rules": [61, 62, 63], "inclusive": false }, "STYLEDEF_STYLEOPTS": { "rules": [], "inclusive": false }, "STYLEDEF_STYLES": { "rules": [34], "inclusive": false }, "STYLE_IDS": { "rules": [], "inclusive": false }, "STYLE": { "rules": [33], "inclusive": false }, "CLASS_STYLE": { "rules": [31], "inclusive": false }, "CLASS": { "rules": [30], "inclusive": false }, "CLASSDEFID": { "rules": [28], "inclusive": false }, "CLASSDEF": { "rules": [26, 27], "inclusive": false }, "acc_descr_multiline": { "rules": [23, 24], "inclusive": false }, "acc_descr": { "rules": [21], "inclusive": false }, "acc_title": { "rules": [19], "inclusive": false }, "SCALE": { "rules": [16, 17, 36, 37], "inclusive": false }, "ALIAS": { "rules": [], "inclusive": false }, "STATE_ID": { "rules": [51], "inclusive": false }, "STATE_STRING": { "rules": [52, 53], "inclusive": false }, "FORK_STATE": { "rules": [], "inclusive": false }, "STATE": { "rules": [12, 13, 39, 40, 41, 42, 43, 44, 49, 50, 54, 55, 56], "inclusive": false }, "ID": { "rules": [12, 13], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 18, 20, 22, 25, 29, 32, 35, 38, 56, 60, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81], "inclusive": true } }
807
807
  };
808
808
  return lexer2;
809
809
  })();
@@ -886,7 +886,12 @@ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
886
886
  data4Layout.layoutAlgorithm = layout;
887
887
  data4Layout.nodeSpacing = conf?.nodeSpacing || 50;
888
888
  data4Layout.rankSpacing = conf?.rankSpacing || 50;
889
- data4Layout.markers = ["barb"];
889
+ const config = getConfig2();
890
+ if (config.look === "neo") {
891
+ data4Layout.markers = ["barbNeo"];
892
+ } else {
893
+ data4Layout.markers = ["barb"];
894
+ }
890
895
  data4Layout.diagramId = id;
891
896
  await render(data4Layout, svg);
892
897
  const padding = 8;
@@ -982,12 +987,13 @@ var setupDoc = /* @__PURE__ */ __name((parentParsedItem, doc, diagramStates, nod
982
987
  look,
983
988
  classes
984
989
  );
990
+ const isNeo = look === "neo";
985
991
  const edgeData = {
986
992
  id: "edge" + graphItemCount,
987
993
  start: item.state1.id,
988
994
  end: item.state2.id,
989
995
  arrowhead: "normal",
990
- arrowTypeEnd: "arrow_barb",
996
+ arrowTypeEnd: isNeo ? "arrow_barb_neo" : "arrow_barb",
991
997
  style: G_EDGE_STYLE,
992
998
  labelStyle: "",
993
999
  label: common_default.sanitizeText(item.description ?? "", getConfig2()),
@@ -1699,7 +1705,7 @@ var StateDB = class {
1699
1705
  }
1700
1706
  };
1701
1707
  var getStyles = /* @__PURE__ */ __name((options) => `
1702
- defs #statediagram-barbEnd {
1708
+ defs [id$="-barbEnd"] {
1703
1709
  fill: ${options.transitionColor};
1704
1710
  stroke: ${options.transitionColor};
1705
1711
  }
@@ -1726,12 +1732,12 @@ g.stateGroup rect {
1726
1732
 
1727
1733
  g.stateGroup line {
1728
1734
  stroke: ${options.lineColor};
1729
- stroke-width: 1;
1735
+ stroke-width: ${options.strokeWidth || 1};
1730
1736
  }
1731
1737
 
1732
1738
  .transition {
1733
1739
  stroke: ${options.transitionColor};
1734
- stroke-width: 1;
1740
+ stroke-width: ${options.strokeWidth || 1};
1735
1741
  fill: none;
1736
1742
  }
1737
1743
 
@@ -1816,21 +1822,21 @@ g.stateGroup line {
1816
1822
  .node rect {
1817
1823
  fill: ${options.stateBkg || options.mainBkg};
1818
1824
  stroke: ${options.stateBorder || options.nodeBorder};
1819
- stroke-width: 1px;
1825
+ stroke-width: ${options.strokeWidth || 1}px;
1820
1826
  }
1821
1827
  .node polygon {
1822
1828
  fill: ${options.mainBkg};
1823
1829
  stroke: ${options.stateBorder || options.nodeBorder};;
1824
- stroke-width: 1px;
1830
+ stroke-width: ${options.strokeWidth || 1}px;
1825
1831
  }
1826
- #statediagram-barbEnd {
1832
+ [id$="-barbEnd"] {
1827
1833
  fill: ${options.lineColor};
1828
1834
  }
1829
1835
 
1830
1836
  .statediagram-cluster rect {
1831
1837
  fill: ${options.compositeTitleBackground};
1832
1838
  stroke: ${options.stateBorder || options.nodeBorder};
1833
- stroke-width: 1px;
1839
+ stroke-width: ${options.strokeWidth || 1}px;
1834
1840
  }
1835
1841
 
1836
1842
  .cluster-label, .nodeLabel {
@@ -1901,10 +1907,10 @@ g.stateGroup line {
1901
1907
  color: red; // ${options.noteTextColor};
1902
1908
  }
1903
1909
 
1904
- #dependencyStart, #dependencyEnd {
1910
+ [id$="-dependencyStart"], [id$="-dependencyEnd"] {
1905
1911
  fill: ${options.lineColor};
1906
1912
  stroke: ${options.lineColor};
1907
- stroke-width: 1;
1913
+ stroke-width: ${options.strokeWidth || 1};
1908
1914
  }
1909
1915
 
1910
1916
  .statediagramTitleText {
@@ -1912,6 +1918,17 @@ g.stateGroup line {
1912
1918
  font-size: 18px;
1913
1919
  fill: ${options.textColor};
1914
1920
  }
1921
+
1922
+ [data-look="neo"].statediagram-cluster rect {
1923
+ fill: ${options.mainBkg};
1924
+ stroke: ${options.useGradient ? "url(" + options.svgId + "-gradient)" : options.stateBorder || options.nodeBorder};
1925
+ stroke-width: ${options.strokeWidth ?? 1};
1926
+ }
1927
+ [data-look="neo"].statediagram-cluster rect.outer {
1928
+ rx: ${options.radius}px;
1929
+ ry: ${options.radius}px;
1930
+ filter: ${options.dropShadow ? options.dropShadow.replace("url(#drop-shadow)", `url(${options.svgId}-drop-shadow)`) : "none"}
1931
+ }
1915
1932
  `, "getStyles");
1916
1933
  var styles_default = getStyles;
1917
1934
  export {
@@ -1,4 +1,4 @@
1
- import { _ as __name } from "./index-MDHavDF9.js";
1
+ import { _ as __name } from "./index-BL-57WPa.js";
2
2
  var ImperativeState = class {
3
3
  /**
4
4
  * @param init - Function that creates the default state.
@@ -1,4 +1,4 @@
1
- import { _ as __name, d as select, X as lineBreakRegex, j as distExports } from "./index-MDHavDF9.js";
1
+ import { _ as __name, d as select, X as lineBreakRegex, j as distExports } from "./index-BL-57WPa.js";
2
2
  var drawRect = /* @__PURE__ */ __name((element, rectData) => {
3
3
  const rectElement = element.append("rect");
4
4
  rectElement.attr("x", rectData.x);
@@ -1,9 +1,9 @@
1
- import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-WL4C6EOR-vhby2fZi.js";
2
- import { _ as __name } from "./index-MDHavDF9.js";
3
- import "./chunk-FMBD7UC4-B5k8rETe.js";
4
- import "./chunk-JSJVCQXG-DtjSx6Cj.js";
5
- import "./chunk-55IACEB6-oLT9lXTt.js";
6
- import "./chunk-KX2RTZJC-D32tV7H-.js";
1
+ import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-4TB4RGXK-CmVtCVL4.js";
2
+ import { _ as __name } from "./index-BL-57WPa.js";
3
+ import "./chunk-FMBD7UC4-CRiLea_e.js";
4
+ import "./chunk-YZCP3GAM-OLZV_Sef.js";
5
+ import "./chunk-55IACEB6-BzVYZvBM.js";
6
+ import "./chunk-EDXVE4YY-BryQl5Kv.js";
7
7
  var diagram = {
8
8
  parser: classDiagram_default,
9
9
  get db() {
@@ -1,9 +1,9 @@
1
- import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-WL4C6EOR-vhby2fZi.js";
2
- import { _ as __name } from "./index-MDHavDF9.js";
3
- import "./chunk-FMBD7UC4-B5k8rETe.js";
4
- import "./chunk-JSJVCQXG-DtjSx6Cj.js";
5
- import "./chunk-55IACEB6-oLT9lXTt.js";
6
- import "./chunk-KX2RTZJC-D32tV7H-.js";
1
+ import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-4TB4RGXK-CmVtCVL4.js";
2
+ import { _ as __name } from "./index-BL-57WPa.js";
3
+ import "./chunk-FMBD7UC4-CRiLea_e.js";
4
+ import "./chunk-YZCP3GAM-OLZV_Sef.js";
5
+ import "./chunk-55IACEB6-BzVYZvBM.js";
6
+ import "./chunk-EDXVE4YY-BryQl5Kv.js";
7
7
  var diagram = {
8
8
  parser: classDiagram_default,
9
9
  get db() {
@@ -1,4 +1,4 @@
1
- import { b as baseClone } from "./_baseUniq-Z8t1Ab1g.js";
1
+ import { b as baseClone } from "./graph-BFn23kR_.js";
2
2
  var CLONE_SYMBOLS_FLAG = 4;
3
3
  function clone(value) {
4
4
  return baseClone(value, CLONE_SYMBOLS_FLAG);
@@ -1,4 +1,4 @@
1
- import { bs as getDefaultExportFromCjs, _ as __name, l as log, d as select } from "./index-MDHavDF9.js";
1
+ import { aO as getDefaultExportFromCjs, _ as __name, l as log, d as select } from "./index-BL-57WPa.js";
2
2
  import { c as cytoscape$1 } from "./cytoscape.esm-Bm8DJGmZ.js";
3
3
  var cytoscapeCoseBilkent$1 = { exports: {} };
4
4
  var coseBase$1 = { exports: {} };
@@ -1,9 +1,9 @@
1
- import { _ as __name, bg as markers_default, bh as clear2, bi as clear, bj as clear$1, l as log, c as getConfig2, bk as updateNodeBounds, bl as setNodeElem, al as insertNode, ar as getSubGraphTitleMargins, am as positionNode, ak as insertCluster, bm as insertEdge, bn as positionEdgeLabel, bo as insertEdgeLabel } from "./index-MDHavDF9.js";
2
- import { G as Graph } from "./graph-Dl5N6maZ.js";
3
- import { l as layout } from "./layout-B9K2VT39.js";
4
- import { i as isUndefined } from "./_baseUniq-Z8t1Ab1g.js";
5
- import { c as clone } from "./clone-D9a-uIZa.js";
6
- import { m as map } from "./_basePickBy-BWoXHZ8Z.js";
1
+ import { _ as __name, ay as markers_default, az as clear2, aA as clear, aB as clear$1, l as log, c as getConfig2, aC as updateNodeBounds, aD as setNodeElem, al as insertNode, ar as getSubGraphTitleMargins, am as positionNode, ak as insertCluster, aE as insertEdge, aF as positionEdgeLabel, aG as insertEdgeLabel } from "./index-BL-57WPa.js";
2
+ import { i as isUndefined, G as Graph } from "./graph-BFn23kR_.js";
3
+ import { l as layout } from "./layout-BpybWUv6.js";
4
+ import { c as clone } from "./clone-DwQZ86nS.js";
5
+ import { m as map } from "./min-DB8ixvoT.js";
6
+ import "./_baseUniq-BPF2Herp.js";
7
7
  function write(g) {
8
8
  var json = {
9
9
  options: {
@@ -0,0 +1,171 @@
1
+ import { p as setDiagramTitle, b as setAccTitle, s as setAccDescription, q as getDiagramTitle, g as getAccDescription, a as getAccTitle, _ as __name, F as cleanAndMerge, l as log, I as selectSvgElement, e as configureSvgSize, D as getConfig, G as defaultConfig_default, z as clear } from "./index-BL-57WPa.js";
2
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-0KM14cFd.js";
3
+ import { I as ImperativeState } from "./chunk-QZHKN3VN-BT8kABWC.js";
4
+ import { p as parse } from "./wardley-RL74JXVD-DTbxPMj9.js";
5
+ import "./min-DB8ixvoT.js";
6
+ import "./_baseUniq-BPF2Herp.js";
7
+ var state = new ImperativeState(() => ({
8
+ cnt: 1,
9
+ stack: [
10
+ {
11
+ id: 0,
12
+ level: -1,
13
+ name: "/",
14
+ children: []
15
+ }
16
+ ]
17
+ }));
18
+ var clear2 = /* @__PURE__ */ __name(() => {
19
+ state.reset();
20
+ clear();
21
+ }, "clear");
22
+ var getRoot = /* @__PURE__ */ __name(() => {
23
+ return state.records.stack[0];
24
+ }, "getRoot");
25
+ var getCount = /* @__PURE__ */ __name(() => state.records.cnt, "getCount");
26
+ var defaultConfig = defaultConfig_default.treeView;
27
+ var getConfig2 = /* @__PURE__ */ __name(() => {
28
+ return cleanAndMerge(defaultConfig, getConfig().treeView);
29
+ }, "getConfig");
30
+ var addNode = /* @__PURE__ */ __name((level, name) => {
31
+ while (level <= state.records.stack[state.records.stack.length - 1].level) {
32
+ state.records.stack.pop();
33
+ }
34
+ const node = {
35
+ id: state.records.cnt++,
36
+ level,
37
+ name,
38
+ children: []
39
+ };
40
+ state.records.stack[state.records.stack.length - 1].children.push(node);
41
+ state.records.stack.push(node);
42
+ }, "addNode");
43
+ var db = {
44
+ clear: clear2,
45
+ addNode,
46
+ getRoot,
47
+ getCount,
48
+ getConfig: getConfig2,
49
+ getAccTitle,
50
+ getAccDescription,
51
+ getDiagramTitle,
52
+ setAccDescription,
53
+ setAccTitle,
54
+ setDiagramTitle
55
+ };
56
+ var db_default = db;
57
+ var populate = /* @__PURE__ */ __name((ast) => {
58
+ populateCommonDb(ast, db_default);
59
+ ast.nodes.map((node) => db_default.addNode(node.indent ? parseInt(node.indent) : 0, node.name));
60
+ }, "populate");
61
+ var parser = {
62
+ parse: /* @__PURE__ */ __name(async (input) => {
63
+ const ast = await parse("treeView", input);
64
+ log.debug(ast);
65
+ populate(ast);
66
+ }, "parse")
67
+ };
68
+ var positionLabel = /* @__PURE__ */ __name((x, y, node, domElem, config) => {
69
+ const label = domElem.append("text").text(node.name).attr("dominant-baseline", "middle").attr("class", "treeView-node-label");
70
+ const { height: labelHeight, width: labelWidth } = label.node().getBBox();
71
+ const height = labelHeight + config.paddingY * 2;
72
+ const width = labelWidth + config.paddingX * 2;
73
+ label.attr("x", x + config.paddingX);
74
+ label.attr("y", y + height / 2);
75
+ node.BBox = {
76
+ x,
77
+ y,
78
+ width,
79
+ height
80
+ };
81
+ }, "positionLabel");
82
+ var positionLine = /* @__PURE__ */ __name((domElem, x1, y1, x2, y2, lineThickness) => {
83
+ return domElem.append("line").attr("x1", x1).attr("y1", y1).attr("x2", x2).attr("y2", y2).attr("stroke-width", lineThickness).attr("class", "treeView-node-line");
84
+ }, "positionLine");
85
+ var drawTree = /* @__PURE__ */ __name((elem, root, config) => {
86
+ let totalHeight = 0;
87
+ let totalWidth = 0;
88
+ const drawNode = /* @__PURE__ */ __name((elem2, node, config2, depth) => {
89
+ const indent = depth * (config2.rowIndent + config2.paddingX);
90
+ positionLabel(indent, totalHeight, node, elem2, config2);
91
+ const { height, width } = node.BBox;
92
+ positionLine(
93
+ elem2,
94
+ indent - config2.rowIndent,
95
+ totalHeight + height / 2,
96
+ indent,
97
+ totalHeight + height / 2,
98
+ config2.lineThickness
99
+ );
100
+ totalWidth = Math.max(totalWidth, indent + width);
101
+ totalHeight += height;
102
+ }, "drawNode");
103
+ const processNode = /* @__PURE__ */ __name((node, depth = 0) => {
104
+ drawNode(elem, node, config, depth);
105
+ node.children.forEach((child) => {
106
+ processNode(child, depth + 1);
107
+ });
108
+ const { x, y, height } = node.BBox;
109
+ if (node.children.length) {
110
+ const { y: endY, height: endHeight } = node.children[node.children.length - 1].BBox;
111
+ positionLine(
112
+ elem,
113
+ x + config.paddingX,
114
+ y + height,
115
+ x + config.paddingX,
116
+ endY + endHeight / 2 + config.lineThickness / 2,
117
+ config.lineThickness
118
+ );
119
+ }
120
+ }, "processNode");
121
+ processNode(root);
122
+ return { totalHeight, totalWidth };
123
+ }, "drawTree");
124
+ var draw = /* @__PURE__ */ __name((text, id, _ver, diagObj) => {
125
+ log.debug("Rendering treeView diagram\n" + text);
126
+ const db2 = diagObj.db;
127
+ const root = db2.getRoot();
128
+ const config = db2.getConfig();
129
+ const svg = selectSvgElement(id);
130
+ const treeElem = svg.append("g");
131
+ treeElem.attr("class", "tree-view");
132
+ const { totalHeight, totalWidth } = drawTree(treeElem, root, config);
133
+ svg.attr("viewBox", `-${config.lineThickness / 2} 0 ${totalWidth} ${totalHeight}`);
134
+ configureSvgSize(svg, totalHeight, totalWidth, config.useMaxWidth);
135
+ }, "draw");
136
+ var renderer = {
137
+ draw
138
+ };
139
+ var renderer_default = renderer;
140
+ var defaultTreeViewDiagramStyles = {
141
+ labelFontSize: "16px",
142
+ labelColor: "black",
143
+ lineColor: "black"
144
+ };
145
+ var styles = /* @__PURE__ */ __name(({
146
+ treeView
147
+ }) => {
148
+ const { labelFontSize, labelColor, lineColor } = cleanAndMerge(
149
+ defaultTreeViewDiagramStyles,
150
+ treeView
151
+ );
152
+ return `
153
+ .treeView-node-label {
154
+ font-size: ${labelFontSize};
155
+ fill: ${labelColor};
156
+ }
157
+ .treeView-node-line {
158
+ stroke: ${lineColor};
159
+ }
160
+ `;
161
+ }, "styles");
162
+ var styles_default = styles;
163
+ var diagram = {
164
+ db: db_default,
165
+ renderer: renderer_default,
166
+ parser,
167
+ styles: styles_default
168
+ };
169
+ export {
170
+ diagram
171
+ };
@@ -1,10 +1,9 @@
1
- import { _ as __name, E as cleanAndMerge, G as getConfig, I as selectSvgElement, e as configureSvgSize, c4 as format, l as log, br as ordinal, c5 as styles2String, d as select, b as setAccTitle, a as getAccTitle, p as setDiagramTitle, q as getDiagramTitle, g as getAccDescription, s as setAccDescription, F as defaultConfig_default, c6 as isLabelStyle, z as clear } from "./index-MDHavDF9.js";
2
- import { s as setupViewPortForSVG } from "./chunk-KX2RTZJC-D32tV7H-.js";
3
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-ChcKNpL6.js";
4
- import { p as parse } from "./treemap-KZPCXAKY-W2a2L6ff.js";
5
- import "./_baseUniq-Z8t1Ab1g.js";
6
- import "./_basePickBy-BWoXHZ8Z.js";
7
- import "./clone-D9a-uIZa.js";
1
+ import { _ as __name, L as getThemeVariables3, D as getConfig, F as cleanAndMerge, I as selectSvgElement, e as configureSvgSize, bH as format, l as log, aJ as ordinal, bI as styles2String, d as select, b as setAccTitle, a as getAccTitle, p as setDiagramTitle, q as getDiagramTitle, g as getAccDescription, s as setAccDescription, G as defaultConfig_default, bJ as isLabelStyle, z as clear } from "./index-BL-57WPa.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-EDXVE4YY-BryQl5Kv.js";
3
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-0KM14cFd.js";
4
+ import { p as parse } from "./wardley-RL74JXVD-DTbxPMj9.js";
5
+ import "./min-DB8ixvoT.js";
6
+ import "./_baseUniq-BPF2Herp.js";
8
7
  function count(node) {
9
8
  var sum = 0, children = node.children, i = children && children.length;
10
9
  if (!i) sum = 1;
@@ -798,17 +797,20 @@ var defaultTreemapStyleOptions = {
798
797
  leafStrokeColor: "black",
799
798
  leafStrokeWidth: "1",
800
799
  leafFillColor: "#efefef",
801
- labelColor: "black",
802
800
  labelFontSize: "12px",
803
801
  valueFontSize: "10px",
804
- valueColor: "black",
805
- titleColor: "black",
806
802
  titleFontSize: "14px"
807
803
  };
808
804
  var getStyles = /* @__PURE__ */ __name(({
809
805
  treemap: treemap2
810
806
  } = {}) => {
807
+ const defaultThemeVariables = getThemeVariables3();
808
+ const currentConfig = getConfig();
809
+ const themeVariables = cleanAndMerge(defaultThemeVariables, currentConfig.themeVariables);
811
810
  const options = cleanAndMerge(defaultTreemapStyleOptions, treemap2);
811
+ const titleColor = options.titleColor ?? themeVariables.titleColor;
812
+ const labelColor = options.labelColor ?? themeVariables.textColor;
813
+ const valueColor = options.valueColor ?? themeVariables.textColor;
812
814
  return `
813
815
  .treemapNode.section {
814
816
  stroke: ${options.sectionStrokeColor};
@@ -821,15 +823,15 @@ var getStyles = /* @__PURE__ */ __name(({
821
823
  fill: ${options.leafFillColor};
822
824
  }
823
825
  .treemapLabel {
824
- fill: ${options.labelColor};
826
+ fill: ${labelColor};
825
827
  font-size: ${options.labelFontSize};
826
828
  }
827
829
  .treemapValue {
828
- fill: ${options.valueColor};
830
+ fill: ${valueColor};
829
831
  font-size: ${options.valueFontSize};
830
832
  }
831
833
  .treemapTitle {
832
- fill: ${options.titleColor};
834
+ fill: ${titleColor};
833
835
  font-size: ${options.titleFontSize};
834
836
  }
835
837
  `;
@@ -1,9 +1,8 @@
1
- import { s as setAccDescription, g as getAccDescription, q as getDiagramTitle, p as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, I as selectSvgElement, z as clear, E as cleanAndMerge, F as defaultConfig_default, G as getConfig, l as log, L as getThemeVariables3, e as configureSvgSize } from "./index-MDHavDF9.js";
2
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-ChcKNpL6.js";
3
- import { p as parse } from "./treemap-KZPCXAKY-W2a2L6ff.js";
4
- import "./_baseUniq-Z8t1Ab1g.js";
5
- import "./_basePickBy-BWoXHZ8Z.js";
6
- import "./clone-D9a-uIZa.js";
1
+ import { s as setAccDescription, g as getAccDescription, q as getDiagramTitle, p as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, I as selectSvgElement, z as clear, F as cleanAndMerge, G as defaultConfig_default, D as getConfig, l as log, L as getThemeVariables3, e as configureSvgSize } from "./index-BL-57WPa.js";
2
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-0KM14cFd.js";
3
+ import { p as parse } from "./wardley-RL74JXVD-DTbxPMj9.js";
4
+ import "./min-DB8ixvoT.js";
5
+ import "./_baseUniq-BPF2Herp.js";
7
6
  var defaultOptions = {
8
7
  showLegend: true,
9
8
  ticks: 5,
@@ -1,9 +1,8 @@
1
- import { _ as __name, E as cleanAndMerge, I as selectSvgElement, e as configureSvgSize, l as log, b as setAccTitle, a as getAccTitle, p as setDiagramTitle, q as getDiagramTitle, g as getAccDescription, s as setAccDescription, F as defaultConfig_default, G as getConfig, z as clear } from "./index-MDHavDF9.js";
2
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-ChcKNpL6.js";
3
- import { p as parse } from "./treemap-KZPCXAKY-W2a2L6ff.js";
4
- import "./_baseUniq-Z8t1Ab1g.js";
5
- import "./_basePickBy-BWoXHZ8Z.js";
6
- import "./clone-D9a-uIZa.js";
1
+ import { _ as __name, F as cleanAndMerge, I as selectSvgElement, e as configureSvgSize, l as log, b as setAccTitle, a as getAccTitle, p as setDiagramTitle, q as getDiagramTitle, g as getAccDescription, s as setAccDescription, G as defaultConfig_default, D as getConfig, z as clear } from "./index-BL-57WPa.js";
2
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-0KM14cFd.js";
3
+ import { p as parse } from "./wardley-RL74JXVD-DTbxPMj9.js";
4
+ import "./min-DB8ixvoT.js";
5
+ import "./_baseUniq-BPF2Herp.js";
7
6
  var DEFAULT_PACKET_CONFIG = defaultConfig_default.packet;
8
7
  var PacketDB = class {
9
8
  constructor() {