@countermeasure-platform/web-components 1.2.1 → 1.2.2-dev.8.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 (313) hide show
  1. package/dist/{arc-jVbrWVYZ.js → arc-DOJ9myHo.js} +21 -21
  2. package/dist/{arc-jVbrWVYZ.js.map → arc-DOJ9myHo.js.map} +1 -1
  3. package/dist/architecture-7EHR7CIX-RjIwnEbG.js +3 -0
  4. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js → architectureDiagram-3BPJPVTR-cYFnhp15.js} +165 -152
  5. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js.map → architectureDiagram-3BPJPVTR-cYFnhp15.js.map} +1 -1
  6. package/dist/{array-DXadUs1s.js → array-BLp0zq5K.js} +1 -1
  7. package/dist/{array-DXadUs1s.js.map → array-BLp0zq5K.js.map} +1 -1
  8. package/dist/{blockDiagram-WCTKOSBZ-BH3jwWeU.js → blockDiagram-GPEHLZMM-DNLPMFXL.js} +994 -864
  9. package/dist/blockDiagram-GPEHLZMM-DNLPMFXL.js.map +1 -0
  10. package/dist/{c4Diagram-IC4MRINW-OFLrunYI.js → c4Diagram-AAUBKEIU-G8g3OBBg.js} +232 -235
  11. package/dist/c4Diagram-AAUBKEIU-G8g3OBBg.js.map +1 -0
  12. package/dist/channel-MTYqUJFm.js +7 -0
  13. package/dist/{channel-LRbq43st.js.map → channel-MTYqUJFm.js.map} +1 -1
  14. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js → chunk-2J33WTMH-BKsVIUnb.js} +4 -4
  15. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js.map → chunk-2J33WTMH-BKsVIUnb.js.map} +1 -1
  16. package/dist/chunk-3OPIFGDE-CcNRL44h.js +3669 -0
  17. package/dist/chunk-3OPIFGDE-CcNRL44h.js.map +1 -0
  18. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js → chunk-4BX2VUAB-BeLKo9Pn.js} +2 -2
  19. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js.map → chunk-4BX2VUAB-BeLKo9Pn.js.map} +1 -1
  20. package/dist/{chunk-R5LLSJPH-c1IfaK5D.js → chunk-4EGX6M5U-Bh9as06l.js} +13 -13
  21. package/dist/chunk-4EGX6M5U-Bh9as06l.js.map +1 -0
  22. package/dist/{chunk-55IACEB6-DZ-UBhHX.js → chunk-55IACEB6-CuKbiO89.js} +3 -3
  23. package/dist/{chunk-55IACEB6-DZ-UBhHX.js.map → chunk-55IACEB6-CuKbiO89.js.map} +1 -1
  24. package/dist/chunk-5DO6E6H7-CAB8pWf5.js +25 -0
  25. package/dist/chunk-5DO6E6H7-CAB8pWf5.js.map +1 -0
  26. package/dist/{chunk-GEFDOKGD-DGJJEGSm.js → chunk-5ZQYHXKU-CjOcwRY6.js} +570 -326
  27. package/dist/chunk-5ZQYHXKU-CjOcwRY6.js.map +1 -0
  28. package/dist/{chunk-WL4C6EOR-BV-op7zg.js → chunk-727SXJPM-kowsFLrz.js} +724 -569
  29. package/dist/chunk-727SXJPM-kowsFLrz.js.map +1 -0
  30. package/dist/{chunk-NQ4KR5QH-C0nWShNk.js → chunk-AQP2D5EJ-Bc1gUIeA.js} +384 -362
  31. package/dist/chunk-AQP2D5EJ-Bc1gUIeA.js.map +1 -0
  32. package/dist/{chunk-OZEHJAEY-BsQ56PV-.js → chunk-BR22UD5L-BCFxmd5-.js} +16 -16
  33. package/dist/chunk-BR22UD5L-BCFxmd5-.js.map +1 -0
  34. package/dist/{chunk-MX3YWQON-D43mcq1f.js → chunk-BSJP7CBP-Bl94i3-1.js} +7 -5
  35. package/dist/chunk-BSJP7CBP-Bl94i3-1.js.map +1 -0
  36. package/dist/chunk-CSCIHK7Q-DyRIc27i.js +2868 -0
  37. package/dist/chunk-CSCIHK7Q-DyRIc27i.js.map +1 -0
  38. package/dist/chunk-FHYWG6QK-kLWdRarG.js +25 -0
  39. package/dist/chunk-FHYWG6QK-kLWdRarG.js.map +1 -0
  40. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js → chunk-FMBD7UC4-IdpWVRCU.js} +2 -2
  41. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js.map → chunk-FMBD7UC4-IdpWVRCU.js.map} +1 -1
  42. package/dist/chunk-KSCS5N6A-CVcDS9QV.js +563 -0
  43. package/dist/chunk-KSCS5N6A-CVcDS9QV.js.map +1 -0
  44. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js → chunk-L5ZTLDWV-Day0EgsR.js} +9 -9
  45. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js.map → chunk-L5ZTLDWV-Day0EgsR.js.map} +1 -1
  46. package/dist/chunk-LZXEDZCA-BO_GpQSR.js +51 -0
  47. package/dist/chunk-LZXEDZCA-BO_GpQSR.js.map +1 -0
  48. package/dist/chunk-MPE355IW-BkN6MrMO.js +25 -0
  49. package/dist/chunk-MPE355IW-BkN6MrMO.js.map +1 -0
  50. package/dist/chunk-MZUSXYTE-94iWO-dh.js +32 -0
  51. package/dist/chunk-MZUSXYTE-94iWO-dh.js.map +1 -0
  52. package/dist/chunk-N66VUXT2-QbIUkiJZ.js +56 -0
  53. package/dist/chunk-N66VUXT2-QbIUkiJZ.js.map +1 -0
  54. package/dist/{chunk-JSJVCQXG-Do17yYig.js → chunk-ND2GUHAM-Boh7GenS.js} +6 -6
  55. package/dist/{chunk-JSJVCQXG-Do17yYig.js.map → chunk-ND2GUHAM-Boh7GenS.js.map} +1 -1
  56. package/dist/chunk-NNHCCRGN-CNU0zvRn.js +20603 -0
  57. package/dist/chunk-NNHCCRGN-CNU0zvRn.js.map +1 -0
  58. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js → chunk-NZK2D7GU-D4Ird7wv.js} +4 -4
  59. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js.map → chunk-NZK2D7GU-D4Ird7wv.js.map} +1 -1
  60. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js → chunk-O5CBEL6O-DThtyjPO.js} +85 -74
  61. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js.map → chunk-O5CBEL6O-DThtyjPO.js.map} +1 -1
  62. package/dist/chunk-PUPMXCY4-DsO2K8st.js +25 -0
  63. package/dist/chunk-PUPMXCY4-DsO2K8st.js.map +1 -0
  64. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js → chunk-QZHKN3VN-DC5aJQQT.js} +2 -2
  65. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js.map → chunk-QZHKN3VN-DC5aJQQT.js.map} +1 -1
  66. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js +25 -0
  67. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js.map +1 -0
  68. package/dist/chunk-WCWK7LTN-DpMt57Ty.js +33 -0
  69. package/dist/chunk-WCWK7LTN-DpMt57Ty.js.map +1 -0
  70. package/dist/chunk-WU5MYG2G-mzocEmS2.js +12 -0
  71. package/dist/{chunk-HHEYEP7N-DJ1b-gA8.js.map → chunk-WU5MYG2G-mzocEmS2.js.map} +1 -1
  72. package/dist/{chunk-XPW4576I-BqiPnb3d.js → chunk-XPW4576I-BwxN5U1_.js} +2 -2
  73. package/dist/{chunk-XPW4576I-BqiPnb3d.js.map → chunk-XPW4576I-BwxN5U1_.js.map} +1 -1
  74. package/dist/classDiagram-4FO5ZUOK-CZv04EX-.js +31 -0
  75. package/dist/{classDiagram-VBA2DB6C-DZfC0xPM.js.map → classDiagram-4FO5ZUOK-CZv04EX-.js.map} +1 -1
  76. package/dist/classDiagram-v2-Q7XG4LA2-aOPSPoxt.js +31 -0
  77. package/dist/{classDiagram-v2-RAHNMMFH-CtWRD1ax.js.map → classDiagram-v2-Q7XG4LA2-aOPSPoxt.js.map} +1 -1
  78. package/dist/component-CBXhVCNE.js +163 -0
  79. package/dist/component-CBXhVCNE.js.map +1 -0
  80. package/dist/components/brand/index.d.ts +8 -2
  81. package/dist/components/brand/index.d.ts.map +1 -1
  82. package/dist/components/brand/index.js +58 -31
  83. package/dist/components/brand/index.js.map +1 -1
  84. package/dist/components/brand/types.d.ts +8 -0
  85. package/dist/components/brand/types.d.ts.map +1 -1
  86. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js → cose-bilkent-S5V4N54A-D_hwzCJc.js} +7 -8
  87. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js.map → cose-bilkent-S5V4N54A-D_hwzCJc.js.map} +1 -1
  88. package/dist/{cytoscape.esm-2vKMh7AJ.js → cytoscape.esm-C85eXBIz.js} +1 -1
  89. package/dist/{cytoscape.esm-2vKMh7AJ.js.map → cytoscape.esm-C85eXBIz.js.map} +1 -1
  90. package/dist/dagre-BM42HDAG-DBqY2dVf.js +299 -0
  91. package/dist/dagre-BM42HDAG-DBqY2dVf.js.map +1 -0
  92. package/dist/dagre-IxFkiJHF.js +1938 -0
  93. package/dist/dagre-IxFkiJHF.js.map +1 -0
  94. package/dist/{defaultLocale-PLHpRrsr.js → defaultLocale-DSDxELFN.js} +1 -1
  95. package/dist/{defaultLocale-PLHpRrsr.js.map → defaultLocale-DSDxELFN.js.map} +1 -1
  96. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js → diagram-2AECGRRQ-BwC5Qbme.js} +39 -39
  97. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js.map → diagram-2AECGRRQ-BwC5Qbme.js.map} +1 -1
  98. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js +103 -0
  99. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js.map +1 -0
  100. package/dist/diagram-KO2AKTUF-kSLn21uw.js +434 -0
  101. package/dist/diagram-KO2AKTUF-kSLn21uw.js.map +1 -0
  102. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js → diagram-LMA3HP47-BRqyGMLP.js} +43 -43
  103. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js.map → diagram-LMA3HP47-BRqyGMLP.js.map} +1 -1
  104. package/dist/{diagram-E7M64L7V-Co7O3gub.js → diagram-OG6HWLK6-BsskLXHm.js} +171 -174
  105. package/dist/diagram-OG6HWLK6-BsskLXHm.js.map +1 -0
  106. package/dist/{dist-BrNloUiz.js → dist-BScrlPBC.js} +32 -23
  107. package/dist/dist-BScrlPBC.js.map +1 -0
  108. package/dist/{erDiagram-INFDFZHY-C42JeR9I.js → erDiagram-TEJ5UH35-DzB7hnCi.js} +198 -164
  109. package/dist/erDiagram-TEJ5UH35-DzB7hnCi.js.map +1 -0
  110. package/dist/eventmodeling-FCH6USID-HcA67HMu.js +3 -0
  111. package/dist/{flowDiagram-PKNHOUZH-DInJjOz3.js → flowDiagram-I6XJVG4X-RYkPtPRG.js} +453 -469
  112. package/dist/flowDiagram-I6XJVG4X-RYkPtPRG.js.map +1 -0
  113. package/dist/{ganttDiagram-A5KZAMGK-Dgp-4Yss.js → ganttDiagram-6RSMTGT7-BfjlFVNd.js} +340 -333
  114. package/dist/ganttDiagram-6RSMTGT7-BfjlFVNd.js.map +1 -0
  115. package/dist/gitGraph-WXDBUCRP-D60yP8mT.js +3 -0
  116. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js +731 -0
  117. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js.map +1 -0
  118. package/dist/graphlib-k-wJtbbK.js +1268 -0
  119. package/dist/graphlib-k-wJtbbK.js.map +1 -0
  120. package/dist/icons/lucide.d.ts +1 -2
  121. package/dist/icons/lucide.d.ts.map +1 -1
  122. package/dist/icons/lucide.js.map +1 -1
  123. package/dist/info-J43DQDTF-DDmtkMBG.js +3 -0
  124. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js → infoDiagram-5YYISTIA-C0TqWTrr.js} +7 -7
  125. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js.map → infoDiagram-5YYISTIA-C0TqWTrr.js.map} +1 -1
  126. package/dist/{init-DcLTaNW1.js → init-CGzIZb6J.js} +1 -1
  127. package/dist/{init-DcLTaNW1.js.map → init-CGzIZb6J.js.map} +1 -1
  128. package/dist/{ishikawaDiagram-PHBUUO56-qHBJm2LT.js → ishikawaDiagram-YF4QCWOH-Cyk_Antz.js} +98 -97
  129. package/dist/ishikawaDiagram-YF4QCWOH-Cyk_Antz.js.map +1 -0
  130. package/dist/{journeyDiagram-4ABVD52K-PgfYdoDM.js → journeyDiagram-JHISSGLW-CTl8eDDe.js} +78 -78
  131. package/dist/journeyDiagram-JHISSGLW-CTl8eDDe.js.map +1 -0
  132. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js → kanban-definition-UN3LZRKU-homeDoHF.js} +46 -44
  133. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js.map → kanban-definition-UN3LZRKU-homeDoHF.js.map} +1 -1
  134. package/dist/{katex-BZdHnXin.js → katex-CgkxVokH.js} +1 -1
  135. package/dist/{katex-BZdHnXin.js.map → katex-CgkxVokH.js.map} +1 -1
  136. package/dist/line-k_aZSToM.js +36 -0
  137. package/dist/{line-Cq1AZT4f.js.map → line-k_aZSToM.js.map} +1 -1
  138. package/dist/{linear-BnJD01Xn.js → linear-Dpcbf4VP.js} +5 -5
  139. package/dist/{linear-BnJD01Xn.js.map → linear-Dpcbf4VP.js.map} +1 -1
  140. package/dist/{mermaid-parser.core-Dz5qv4CI.js → mermaid-parser.core-B_q76LYz.js} +32 -17
  141. package/dist/mermaid-parser.core-B_q76LYz.js.map +1 -0
  142. package/dist/mermaid.core-DAh-gNcn.js +997 -0
  143. package/dist/mermaid.core-DAh-gNcn.js.map +1 -0
  144. package/dist/{mindmap-definition-YRQLILUH-D95OPRMh.js → mindmap-definition-RKZ34NQL-Cjglmmr7.js} +153 -108
  145. package/dist/mindmap-definition-RKZ34NQL-Cjglmmr7.js.map +1 -0
  146. package/dist/{ordinal-CC9tfh_g.js → ordinal-DHGdAr1Y.js} +2 -2
  147. package/dist/{ordinal-CC9tfh_g.js.map → ordinal-DHGdAr1Y.js.map} +1 -1
  148. package/dist/packet-YPE3B663-Bo9N32Mb.js +3 -0
  149. package/dist/{path-y0uQCOMW.js → path-D-DDb3Wo.js} +1 -1
  150. package/dist/{path-y0uQCOMW.js.map → path-D-DDb3Wo.js.map} +1 -1
  151. package/dist/pie-LRSECV5Y-DndCyILX.js +3 -0
  152. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js +167 -0
  153. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js.map +1 -0
  154. package/dist/{quadrantDiagram-337W2JSQ-CcKc-h2o.js → quadrantDiagram-W4KKPZXB-kyt1iJkC.js} +359 -332
  155. package/dist/quadrantDiagram-W4KKPZXB-kyt1iJkC.js.map +1 -0
  156. package/dist/radar-GUYGQ44K-DpLG1fRN.js +3 -0
  157. package/dist/react/brand/index.d.ts +13 -1
  158. package/dist/react/brand/index.d.ts.map +1 -1
  159. package/dist/react/brand.js +28 -3
  160. package/dist/react/brand.js.map +1 -1
  161. package/dist/react/sidebar.d.ts +22 -1
  162. package/dist/react/sidebar.d.ts.map +1 -1
  163. package/dist/react/sidebar.js +26 -2
  164. package/dist/react/sidebar.js.map +1 -1
  165. package/dist/react/topology.js +1 -1
  166. package/dist/react.js +100 -100
  167. package/dist/{requirementDiagram-Z7DCOOCP-aPcaPduF.js → requirementDiagram-4Y6WPE33-DWRks7dz.js} +153 -133
  168. package/dist/requirementDiagram-4Y6WPE33-DWRks7dz.js.map +1 -0
  169. package/dist/{rough.esm-C9rQ9YkE.js → rough.esm-C7tiDdBn.js} +1 -1
  170. package/dist/{rough.esm-C9rQ9YkE.js.map → rough.esm-C7tiDdBn.js.map} +1 -1
  171. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js → sankeyDiagram-5OEKKPKP-J_SVMd-0.js} +125 -76
  172. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js.map → sankeyDiagram-5OEKKPKP-J_SVMd-0.js.map} +1 -1
  173. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js +4167 -0
  174. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js.map +1 -0
  175. package/dist/sidebar/component.d.ts +5 -0
  176. package/dist/sidebar/component.d.ts.map +1 -1
  177. package/dist/sidebar/index.d.ts +1 -1
  178. package/dist/sidebar/index.d.ts.map +1 -1
  179. package/dist/sidebar/index.js +1 -1
  180. package/dist/sidebar/index.js.map +1 -1
  181. package/dist/sidebar/types.d.ts +59 -0
  182. package/dist/sidebar/types.d.ts.map +1 -1
  183. package/dist/{src-D1EMXotX.js → src-CWnvxuyh.js} +603 -591
  184. package/dist/{src-D1EMXotX.js.map → src-CWnvxuyh.js.map} +1 -1
  185. package/dist/{src-BhNgmpel.js → src-DngnQkx_.js} +4 -5
  186. package/dist/{src-BhNgmpel.js.map → src-DngnQkx_.js.map} +1 -1
  187. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js +220 -0
  188. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js.map +1 -0
  189. package/dist/stateDiagram-v2-BHNVJYJU-CO93vpHl.js +29 -0
  190. package/dist/{stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js.map → stateDiagram-v2-BHNVJYJU-CO93vpHl.js.map} +1 -1
  191. package/dist/styles/components/brand.css +30 -0
  192. package/dist/styles/sidebar.css +568 -0
  193. package/dist/styles/tenant-ui.css +3 -4
  194. package/dist/styles/threat-library.css +0 -1
  195. package/dist/styles/tokens.css +0 -1
  196. package/dist/{timeline-definition-YZTLITO2-CjxxCuOg.js → timeline-definition-PNZ67QCA-rsiMN1-p.js} +517 -279
  197. package/dist/timeline-definition-PNZ67QCA-rsiMN1-p.js.map +1 -0
  198. package/dist/{topology-C8cyIHlB.js → topology-B9Lv-y1-.js} +181 -182
  199. package/dist/{topology-C8cyIHlB.js.map → topology-B9Lv-y1-.js.map} +1 -1
  200. package/dist/treeView-BLDUP644-mJdM3Q6x.js +3 -0
  201. package/dist/treemap-LRROVOQU-BbNMhR6z.js +3 -0
  202. package/dist/{value-gSPnIECy.js → value-CnwEagIg.js} +2 -2
  203. package/dist/{value-gSPnIECy.js.map → value-CnwEagIg.js.map} +1 -1
  204. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js → vennDiagram-CIIHVFJN-JUCgWboO.js} +98 -98
  205. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js.map → vennDiagram-CIIHVFJN-JUCgWboO.js.map} +1 -1
  206. package/dist/visualization/mermaid-diagram/index.js +1 -1
  207. package/dist/wardley-L42UT6IY-DB53GwcN.js +3 -0
  208. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js +646 -0
  209. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js.map +1 -0
  210. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js → xychartDiagram-2RQKCTM6-D3ufsY0S.js} +146 -143
  211. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js.map → xychartDiagram-2RQKCTM6-D3ufsY0S.js.map} +1 -1
  212. package/package.json +1 -1
  213. package/src/components/brand/index.ts +63 -0
  214. package/src/components/brand/types.ts +9 -0
  215. package/src/components/theme/theme-studio-review.test.ts +34 -0
  216. package/src/icons/lucide.ts +1 -2
  217. package/src/react/brand/index.test.tsx +28 -0
  218. package/src/react/brand/index.tsx +38 -0
  219. package/src/react/sidebar.test.tsx +30 -0
  220. package/src/react/sidebar.tsx +52 -1
  221. package/src/sidebar/component.test.ts +109 -0
  222. package/src/sidebar/component.ts +231 -42
  223. package/src/sidebar/index.ts +1 -0
  224. package/src/sidebar/types.ts +60 -0
  225. package/src/styles/components/brand.css +30 -0
  226. package/src/styles/sidebar.css +568 -0
  227. package/src/styles/tenant-ui.css +3 -4
  228. package/src/styles/threat-library.css +0 -1
  229. package/src/styles/tokens.css +0 -1
  230. package/dist/_basePickBy-BQMPE4-n.js +0 -168
  231. package/dist/_basePickBy-BQMPE4-n.js.map +0 -1
  232. package/dist/_baseUniq-Bdp_vFUv.js +0 -684
  233. package/dist/_baseUniq-Bdp_vFUv.js.map +0 -1
  234. package/dist/architecture-PBZL5I3N-Zk3GmKE8.js +0 -3
  235. package/dist/blockDiagram-WCTKOSBZ-BH3jwWeU.js.map +0 -1
  236. package/dist/c4Diagram-IC4MRINW-OFLrunYI.js.map +0 -1
  237. package/dist/channel-LRbq43st.js +0 -7
  238. package/dist/chunk-7E7YKBS2-BsywoVTt.js +0 -25
  239. package/dist/chunk-7E7YKBS2-BsywoVTt.js.map +0 -1
  240. package/dist/chunk-7R4GIKGN-DJmroLCH.js +0 -2054
  241. package/dist/chunk-7R4GIKGN-DJmroLCH.js.map +0 -1
  242. package/dist/chunk-C72U2L5F-BwPwVDcP.js +0 -25
  243. package/dist/chunk-C72U2L5F-BwPwVDcP.js.map +0 -1
  244. package/dist/chunk-EGIJ26TM-DKd5cEgn.js +0 -25
  245. package/dist/chunk-EGIJ26TM-DKd5cEgn.js.map +0 -1
  246. package/dist/chunk-GEFDOKGD-DGJJEGSm.js.map +0 -1
  247. package/dist/chunk-GLR3WWYH-BDwmgwCA.js +0 -43
  248. package/dist/chunk-GLR3WWYH-BDwmgwCA.js.map +0 -1
  249. package/dist/chunk-HHEYEP7N-DJ1b-gA8.js +0 -12
  250. package/dist/chunk-KYZI473N-BXYCe83A.js +0 -3437
  251. package/dist/chunk-KYZI473N-BXYCe83A.js.map +0 -1
  252. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js +0 -25
  253. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js.map +0 -1
  254. package/dist/chunk-MX3YWQON-D43mcq1f.js.map +0 -1
  255. package/dist/chunk-NBPlniwU.js +0 -23
  256. package/dist/chunk-NQ4KR5QH-C0nWShNk.js.map +0 -1
  257. package/dist/chunk-O4XLMI2P-DtGEm9QX.js +0 -514
  258. package/dist/chunk-O4XLMI2P-DtGEm9QX.js.map +0 -1
  259. package/dist/chunk-OZEHJAEY-BsQ56PV-.js.map +0 -1
  260. package/dist/chunk-R5LLSJPH-c1IfaK5D.js.map +0 -1
  261. package/dist/chunk-WL4C6EOR-BV-op7zg.js.map +0 -1
  262. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js +0 -32
  263. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js.map +0 -1
  264. package/dist/chunk-XZSTWKYB-C7maKWEr.js +0 -15799
  265. package/dist/chunk-XZSTWKYB-C7maKWEr.js.map +0 -1
  266. package/dist/classDiagram-VBA2DB6C-DZfC0xPM.js +0 -31
  267. package/dist/classDiagram-v2-RAHNMMFH-CtWRD1ax.js +0 -31
  268. package/dist/clone-CliVdNc8.js +0 -10
  269. package/dist/clone-CliVdNc8.js.map +0 -1
  270. package/dist/component-C1Jiz1Ki.js +0 -103
  271. package/dist/component-C1Jiz1Ki.js.map +0 -1
  272. package/dist/dagre-BqC9mhMk.js +0 -1485
  273. package/dist/dagre-BqC9mhMk.js.map +0 -1
  274. package/dist/dagre-KLK3FWXG-DTKcsol6.js +0 -296
  275. package/dist/dagre-KLK3FWXG-DTKcsol6.js.map +0 -1
  276. package/dist/diagram-E7M64L7V-Co7O3gub.js.map +0 -1
  277. package/dist/dist-BrNloUiz.js.map +0 -1
  278. package/dist/erDiagram-INFDFZHY-C42JeR9I.js.map +0 -1
  279. package/dist/flowDiagram-PKNHOUZH-DInJjOz3.js.map +0 -1
  280. package/dist/ganttDiagram-A5KZAMGK-Dgp-4Yss.js.map +0 -1
  281. package/dist/gitGraph-HDMCJU4V-D_QsK6Rt.js +0 -3
  282. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js +0 -628
  283. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js.map +0 -1
  284. package/dist/graphlib-ecencZTG.js +0 -227
  285. package/dist/graphlib-ecencZTG.js.map +0 -1
  286. package/dist/info-3K5VOQVL-BbLiZXwn.js +0 -3
  287. package/dist/isArrayLikeObject-Bjsxaqj7.js +0 -580
  288. package/dist/isArrayLikeObject-Bjsxaqj7.js.map +0 -1
  289. package/dist/isEmpty-CeZZUVts.js +0 -37
  290. package/dist/isEmpty-CeZZUVts.js.map +0 -1
  291. package/dist/ishikawaDiagram-PHBUUO56-qHBJm2LT.js.map +0 -1
  292. package/dist/journeyDiagram-4ABVD52K-PgfYdoDM.js.map +0 -1
  293. package/dist/line-Cq1AZT4f.js +0 -36
  294. package/dist/math-D4gdAuwG.js +0 -12
  295. package/dist/math-D4gdAuwG.js.map +0 -1
  296. package/dist/mermaid-parser.core-Dz5qv4CI.js.map +0 -1
  297. package/dist/mermaid.core-DTiIXVKa.js +0 -923
  298. package/dist/mermaid.core-DTiIXVKa.js.map +0 -1
  299. package/dist/mindmap-definition-YRQLILUH-D95OPRMh.js.map +0 -1
  300. package/dist/packet-RMMSAZCW-D72DRs1N.js +0 -3
  301. package/dist/pie-UPGHQEXC-C8RDLrEi.js +0 -3
  302. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js +0 -167
  303. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js.map +0 -1
  304. package/dist/quadrantDiagram-337W2JSQ-CcKc-h2o.js.map +0 -1
  305. package/dist/radar-KQ55EAFF-DhmvjiyN.js +0 -3
  306. package/dist/requirementDiagram-Z7DCOOCP-aPcaPduF.js.map +0 -1
  307. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js +0 -4112
  308. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js.map +0 -1
  309. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js +0 -220
  310. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js.map +0 -1
  311. package/dist/stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js +0 -29
  312. package/dist/timeline-definition-YZTLITO2-CjxxCuOg.js.map +0 -1
  313. package/dist/treemap-KZPCXAKY-BvLvHb2t.js +0 -3
@@ -1,53 +1,53 @@
1
- import { w as e } from "./src-D1EMXotX.js";
2
- import { r as t } from "./chunk-GEFDOKGD-DGJJEGSm.js";
3
- import { n, r } from "./src-BhNgmpel.js";
4
- import { B as i, C as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-7R4GIKGN-DJmroLCH.js";
5
- import { t as m } from "./ordinal-CC9tfh_g.js";
6
- import { t as h } from "./defaultLocale-PLHpRrsr.js";
7
- import { t as g } from "./chunk-HHEYEP7N-DJ1b-gA8.js";
8
- import { t as _ } from "./chunk-4BX2VUAB-BS9gpN-y.js";
9
- import { t as v } from "./mermaid-parser.core-Dz5qv4CI.js";
10
- import { t as y } from "./chunk-KX2RTZJC-d9jFqUAY.js";
11
- import { i as b, n as x } from "./chunk-PQ6SQG4A-Cpfc5F4u.js";
1
+ import { w as e } from "./src-CWnvxuyh.js";
2
+ import { n as t, r as n } from "./src-DngnQkx_.js";
3
+ import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, f as u, v as d, w as f, y as p } from "./chunk-CSCIHK7Q-DyRIc27i.js";
4
+ import { t as m } from "./ordinal-DHGdAr1Y.js";
5
+ import { t as h } from "./defaultLocale-DSDxELFN.js";
6
+ import { i as g } from "./chunk-5ZQYHXKU-CjOcwRY6.js";
7
+ import { t as _ } from "./chunk-WU5MYG2G-mzocEmS2.js";
8
+ import { t as v } from "./chunk-4BX2VUAB-BeLKo9Pn.js";
9
+ import { t as y } from "./mermaid-parser.core-B_q76LYz.js";
10
+ import { t as b } from "./chunk-2J33WTMH-BKsVIUnb.js";
11
+ import { i as x, n as S } from "./chunk-NZK2D7GU-D4Ird7wv.js";
12
12
  //#region node_modules/d3-hierarchy/src/hierarchy/count.js
13
- function S(e) {
13
+ function C(e) {
14
14
  var t = 0, n = e.children, r = n && n.length;
15
15
  if (!r) t = 1;
16
16
  else for (; --r >= 0;) t += n[r].value;
17
17
  e.value = t;
18
18
  }
19
- function C() {
20
- return this.eachAfter(S);
19
+ function w() {
20
+ return this.eachAfter(C);
21
21
  }
22
22
  //#endregion
23
23
  //#region node_modules/d3-hierarchy/src/hierarchy/each.js
24
- function w(e, t) {
24
+ function T(e, t) {
25
25
  let n = -1;
26
26
  for (let r of this) e.call(t, r, ++n, this);
27
27
  return this;
28
28
  }
29
29
  //#endregion
30
30
  //#region node_modules/d3-hierarchy/src/hierarchy/eachBefore.js
31
- function T(e, t) {
31
+ function E(e, t) {
32
32
  for (var n = this, r = [n], i, a, o = -1; n = r.pop();) if (e.call(t, n, ++o, this), i = n.children) for (a = i.length - 1; a >= 0; --a) r.push(i[a]);
33
33
  return this;
34
34
  }
35
35
  //#endregion
36
36
  //#region node_modules/d3-hierarchy/src/hierarchy/eachAfter.js
37
- function E(e, t) {
37
+ function D(e, t) {
38
38
  for (var n = this, r = [n], i = [], a, o, s, c = -1; n = r.pop();) if (i.push(n), a = n.children) for (o = 0, s = a.length; o < s; ++o) r.push(a[o]);
39
39
  for (; n = i.pop();) e.call(t, n, ++c, this);
40
40
  return this;
41
41
  }
42
42
  //#endregion
43
43
  //#region node_modules/d3-hierarchy/src/hierarchy/find.js
44
- function D(e, t) {
44
+ function O(e, t) {
45
45
  let n = -1;
46
46
  for (let r of this) if (e.call(t, r, ++n, this)) return r;
47
47
  }
48
48
  //#endregion
49
49
  //#region node_modules/d3-hierarchy/src/hierarchy/sum.js
50
- function O(e) {
50
+ function k(e) {
51
51
  return this.eachAfter(function(t) {
52
52
  for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0;) n += r[i].value;
53
53
  t.value = n;
@@ -55,19 +55,19 @@ function O(e) {
55
55
  }
56
56
  //#endregion
57
57
  //#region node_modules/d3-hierarchy/src/hierarchy/sort.js
58
- function k(e) {
58
+ function A(e) {
59
59
  return this.eachBefore(function(t) {
60
60
  t.children && t.children.sort(e);
61
61
  });
62
62
  }
63
63
  //#endregion
64
64
  //#region node_modules/d3-hierarchy/src/hierarchy/path.js
65
- function A(e) {
66
- for (var t = this, n = j(t, e), r = [t]; t !== n;) t = t.parent, r.push(t);
65
+ function j(e) {
66
+ for (var t = this, n = M(t, e), r = [t]; t !== n;) t = t.parent, r.push(t);
67
67
  for (var i = r.length; e !== n;) r.splice(i, 0, e), e = e.parent;
68
68
  return r;
69
69
  }
70
- function j(e, t) {
70
+ function M(e, t) {
71
71
  if (e === t) return e;
72
72
  var n = e.ancestors(), r = t.ancestors(), i = null;
73
73
  for (e = n.pop(), t = r.pop(); e === t;) i = e, e = n.pop(), t = r.pop();
@@ -75,18 +75,18 @@ function j(e, t) {
75
75
  }
76
76
  //#endregion
77
77
  //#region node_modules/d3-hierarchy/src/hierarchy/ancestors.js
78
- function M() {
78
+ function N() {
79
79
  for (var e = this, t = [e]; e = e.parent;) t.push(e);
80
80
  return t;
81
81
  }
82
82
  //#endregion
83
83
  //#region node_modules/d3-hierarchy/src/hierarchy/descendants.js
84
- function N() {
84
+ function P() {
85
85
  return Array.from(this);
86
86
  }
87
87
  //#endregion
88
88
  //#region node_modules/d3-hierarchy/src/hierarchy/leaves.js
89
- function P() {
89
+ function F() {
90
90
  var e = [];
91
91
  return this.eachBefore(function(t) {
92
92
  t.children || e.push(t);
@@ -94,7 +94,7 @@ function P() {
94
94
  }
95
95
  //#endregion
96
96
  //#region node_modules/d3-hierarchy/src/hierarchy/links.js
97
- function F() {
97
+ function I() {
98
98
  var e = this, t = [];
99
99
  return e.each(function(n) {
100
100
  n !== e && t.push({
@@ -105,7 +105,7 @@ function F() {
105
105
  }
106
106
  //#endregion
107
107
  //#region node_modules/d3-hierarchy/src/hierarchy/iterator.js
108
- function* I() {
108
+ function* L() {
109
109
  var e = this, t, n = [e], r, i, a;
110
110
  do
111
111
  for (t = n.reverse(), n = []; e = t.pop();) if (yield e, r = e.children) for (i = 0, a = r.length; i < a; ++i) n.push(r[i]);
@@ -113,84 +113,84 @@ function* I() {
113
113
  }
114
114
  //#endregion
115
115
  //#region node_modules/d3-hierarchy/src/hierarchy/index.js
116
- function L(e, t) {
117
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = B)) : t === void 0 && (t = z);
118
- for (var n = new U(e), r, i = [n], a, o, s, c; r = i.pop();) if ((o = t(r.data)) && (c = (o = Array.from(o)).length)) for (r.children = o, s = c - 1; s >= 0; --s) i.push(a = o[s] = new U(o[s])), a.parent = r, a.depth = r.depth + 1;
119
- return n.eachBefore(H);
116
+ function R(e, t) {
117
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = V)) : t === void 0 && (t = B);
118
+ for (var n = new W(e), r, i = [n], a, o, s, c; r = i.pop();) if ((o = t(r.data)) && (c = (o = Array.from(o)).length)) for (r.children = o, s = c - 1; s >= 0; --s) i.push(a = o[s] = new W(o[s])), a.parent = r, a.depth = r.depth + 1;
119
+ return n.eachBefore(U);
120
120
  }
121
- function R() {
122
- return L(this).eachBefore(V);
121
+ function z() {
122
+ return R(this).eachBefore(H);
123
123
  }
124
- function z(e) {
124
+ function B(e) {
125
125
  return e.children;
126
126
  }
127
- function B(e) {
127
+ function V(e) {
128
128
  return Array.isArray(e) ? e[1] : null;
129
129
  }
130
- function V(e) {
130
+ function H(e) {
131
131
  e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
132
132
  }
133
- function H(e) {
133
+ function U(e) {
134
134
  var t = 0;
135
135
  do
136
136
  e.height = t;
137
137
  while ((e = e.parent) && e.height < ++t);
138
138
  }
139
- function U(e) {
139
+ function W(e) {
140
140
  this.data = e, this.depth = this.height = 0, this.parent = null;
141
141
  }
142
- U.prototype = L.prototype = {
143
- constructor: U,
144
- count: C,
145
- each: w,
146
- eachAfter: E,
147
- eachBefore: T,
148
- find: D,
149
- sum: O,
150
- sort: k,
151
- path: A,
152
- ancestors: M,
153
- descendants: N,
154
- leaves: P,
155
- links: F,
156
- copy: R,
157
- [Symbol.iterator]: I
142
+ W.prototype = R.prototype = {
143
+ constructor: W,
144
+ count: w,
145
+ each: T,
146
+ eachAfter: D,
147
+ eachBefore: E,
148
+ find: O,
149
+ sum: k,
150
+ sort: A,
151
+ path: j,
152
+ ancestors: N,
153
+ descendants: P,
154
+ leaves: F,
155
+ links: I,
156
+ copy: z,
157
+ [Symbol.iterator]: L
158
158
  };
159
159
  //#endregion
160
160
  //#region node_modules/d3-hierarchy/src/accessors.js
161
- function W(e) {
161
+ function G(e) {
162
162
  if (typeof e != "function") throw Error();
163
163
  return e;
164
164
  }
165
165
  //#endregion
166
166
  //#region node_modules/d3-hierarchy/src/constant.js
167
- function G() {
167
+ function K() {
168
168
  return 0;
169
169
  }
170
- function K(e) {
170
+ function q(e) {
171
171
  return function() {
172
172
  return e;
173
173
  };
174
174
  }
175
175
  //#endregion
176
176
  //#region node_modules/d3-hierarchy/src/treemap/round.js
177
- function q(e) {
177
+ function J(e) {
178
178
  e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
179
179
  }
180
180
  //#endregion
181
181
  //#region node_modules/d3-hierarchy/src/treemap/dice.js
182
- function J(e, t, n, r, i) {
182
+ function ee(e, t, n, r, i) {
183
183
  for (var a = e.children, o, s = -1, c = a.length, l = e.value && (r - t) / e.value; ++s < c;) o = a[s], o.y0 = n, o.y1 = i, o.x0 = t, o.x1 = t += o.value * l;
184
184
  }
185
185
  //#endregion
186
186
  //#region node_modules/d3-hierarchy/src/treemap/slice.js
187
- function ee(e, t, n, r, i) {
187
+ function te(e, t, n, r, i) {
188
188
  for (var a = e.children, o, s = -1, c = a.length, l = e.value && (i - n) / e.value; ++s < c;) o = a[s], o.x0 = t, o.x1 = r, o.y0 = n, o.y1 = n += o.value * l;
189
189
  }
190
190
  //#endregion
191
191
  //#region node_modules/d3-hierarchy/src/treemap/squarify.js
192
- var te = (1 + Math.sqrt(5)) / 2;
193
- function ne(e, t, n, r, i, a) {
192
+ var ne = (1 + Math.sqrt(5)) / 2;
193
+ function re(e, t, n, r, i, a) {
194
194
  for (var o = [], s = t.children, c, l, u = 0, d = 0, f = s.length, p, m, h = t.value, g, _, v, y, b, x, S; u < f;) {
195
195
  p = i - n, m = a - r;
196
196
  do
@@ -207,24 +207,24 @@ function ne(e, t, n, r, i, a) {
207
207
  value: g,
208
208
  dice: p < m,
209
209
  children: s.slice(u, d)
210
- }), c.dice ? J(c, n, r, i, h ? r += m * g / h : a) : ee(c, n, r, h ? n += p * g / h : i, a), h -= g, u = d;
210
+ }), c.dice ? ee(c, n, r, i, h ? r += m * g / h : a) : te(c, n, r, h ? n += p * g / h : i, a), h -= g, u = d;
211
211
  }
212
212
  return o;
213
213
  }
214
- var re = (function e(t) {
214
+ var ie = (function e(t) {
215
215
  function n(e, n, r, i, a) {
216
- ne(t, e, n, r, i, a);
216
+ re(t, e, n, r, i, a);
217
217
  }
218
218
  return n.ratio = function(t) {
219
219
  return e((t = +t) > 1 ? t : 1);
220
220
  }, n;
221
- })(te);
221
+ })(ne);
222
222
  //#endregion
223
223
  //#region node_modules/d3-hierarchy/src/treemap/index.js
224
- function ie() {
225
- var e = re, t = !1, n = 1, r = 1, i = [0], a = G, o = G, s = G, c = G, l = G;
224
+ function ae() {
225
+ var e = ie, t = !1, n = 1, r = 1, i = [0], a = K, o = K, s = K, c = K, l = K;
226
226
  function u(e) {
227
- return e.x0 = e.y0 = 0, e.x1 = n, e.y1 = r, e.eachBefore(d), i = [0], t && e.eachBefore(q), e;
227
+ return e.x0 = e.y0 = 0, e.x1 = n, e.y1 = r, e.eachBefore(d), i = [0], t && e.eachBefore(J), e;
228
228
  }
229
229
  function d(t) {
230
230
  var n = i[t.depth], r = t.x0 + n, u = t.y0 + n, d = t.x1 - n, f = t.y1 - n;
@@ -235,40 +235,40 @@ function ie() {
235
235
  }, u.size = function(e) {
236
236
  return arguments.length ? (n = +e[0], r = +e[1], u) : [n, r];
237
237
  }, u.tile = function(t) {
238
- return arguments.length ? (e = W(t), u) : e;
238
+ return arguments.length ? (e = G(t), u) : e;
239
239
  }, u.padding = function(e) {
240
240
  return arguments.length ? u.paddingInner(e).paddingOuter(e) : u.paddingInner();
241
241
  }, u.paddingInner = function(e) {
242
- return arguments.length ? (a = typeof e == "function" ? e : K(+e), u) : a;
242
+ return arguments.length ? (a = typeof e == "function" ? e : q(+e), u) : a;
243
243
  }, u.paddingOuter = function(e) {
244
244
  return arguments.length ? u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e) : u.paddingTop();
245
245
  }, u.paddingTop = function(e) {
246
- return arguments.length ? (o = typeof e == "function" ? e : K(+e), u) : o;
246
+ return arguments.length ? (o = typeof e == "function" ? e : q(+e), u) : o;
247
247
  }, u.paddingRight = function(e) {
248
- return arguments.length ? (s = typeof e == "function" ? e : K(+e), u) : s;
248
+ return arguments.length ? (s = typeof e == "function" ? e : q(+e), u) : s;
249
249
  }, u.paddingBottom = function(e) {
250
- return arguments.length ? (c = typeof e == "function" ? e : K(+e), u) : c;
250
+ return arguments.length ? (c = typeof e == "function" ? e : q(+e), u) : c;
251
251
  }, u.paddingLeft = function(e) {
252
- return arguments.length ? (l = typeof e == "function" ? e : K(+e), u) : l;
252
+ return arguments.length ? (l = typeof e == "function" ? e : q(+e), u) : l;
253
253
  }, u;
254
254
  }
255
255
  //#endregion
256
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-E7M64L7V.mjs
256
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-OG6HWLK6.mjs
257
257
  var Y = class {
258
258
  constructor() {
259
- this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = o, this.getAccTitle = f, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getAccDescription = c, this.setAccDescription = i;
259
+ this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = o, this.getAccTitle = p, this.setDiagramTitle = a, this.getDiagramTitle = f, this.getAccDescription = d, this.setAccDescription = i;
260
260
  }
261
261
  static {
262
- n(this, "TreeMapDB");
262
+ t(this, "TreeMapDB");
263
263
  }
264
264
  getNodes() {
265
265
  return this.nodes;
266
266
  }
267
267
  getConfig() {
268
- let e = d, n = p();
269
- return t({
268
+ let e = u, t = c();
269
+ return g({
270
270
  ...e.treemap,
271
- ...n.treemap ?? {}
271
+ ...t.treemap ?? {}
272
272
  });
273
273
  }
274
274
  addNode(e, t) {
@@ -287,7 +287,7 @@ var Y = class {
287
287
  textStyles: []
288
288
  }, r = t.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
289
289
  r && r.forEach((e) => {
290
- x(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
290
+ S(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
291
291
  }), this.classes.set(e, n);
292
292
  }
293
293
  getClasses() {
@@ -297,7 +297,7 @@ var Y = class {
297
297
  return this.classes.get(e)?.styles ?? [];
298
298
  }
299
299
  clear() {
300
- l(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
300
+ s(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
301
301
  }
302
302
  };
303
303
  function X(e) {
@@ -320,15 +320,15 @@ function X(e) {
320
320
  });
321
321
  }), t;
322
322
  }
323
- n(X, "buildHierarchy");
324
- var ae = /* @__PURE__ */ n((e, t) => {
325
- _(e, t);
323
+ t(X, "buildHierarchy");
324
+ var oe = /* @__PURE__ */ t((e, n) => {
325
+ v(e, n);
326
326
  let r = [];
327
- for (let n of e.TreemapRows ?? []) n.$type === "ClassDefStatement" && t.addClass(n.className ?? "", n.styleText ?? "");
328
- for (let n of e.TreemapRows ?? []) {
329
- let e = n.item;
327
+ for (let t of e.TreemapRows ?? []) t.$type === "ClassDefStatement" && n.addClass(t.className ?? "", t.styleText ?? "");
328
+ for (let t of e.TreemapRows ?? []) {
329
+ let e = t.item;
330
330
  if (!e) continue;
331
- let i = n.indent ? parseInt(n.indent) : 0, a = oe(e), o = e.classSelector ? t.getStylesForClass(e.classSelector) : [], s = o.length > 0 ? o : void 0, c = {
331
+ let i = t.indent ? parseInt(t.indent) : 0, a = se(e), o = e.classSelector ? n.getStylesForClass(e.classSelector) : [], s = o.length > 0 ? o : void 0, c = {
332
332
  level: i,
333
333
  name: a,
334
334
  type: e.$type,
@@ -338,97 +338,97 @@ var ae = /* @__PURE__ */ n((e, t) => {
338
338
  };
339
339
  r.push(c);
340
340
  }
341
- let i = X(r), a = /* @__PURE__ */ n((e, n) => {
342
- for (let r of e) t.addNode(r, n), r.children && r.children.length > 0 && a(r.children, n + 1);
341
+ let i = X(r), a = /* @__PURE__ */ t((e, t) => {
342
+ for (let r of e) n.addNode(r, t), r.children && r.children.length > 0 && a(r.children, t + 1);
343
343
  }, "addNodesRecursively");
344
344
  a(i, 0);
345
- }, "populate"), oe = /* @__PURE__ */ n((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
345
+ }, "populate"), se = /* @__PURE__ */ t((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
346
346
  parser: { yy: void 0 },
347
- parse: /* @__PURE__ */ n(async (e) => {
347
+ parse: /* @__PURE__ */ t(async (e) => {
348
348
  try {
349
- let t = await v("treemap", e);
350
- r.debug("Treemap AST:", t);
351
- let n = Z.parser?.yy;
352
- if (!(n instanceof Y)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
353
- ae(t, n);
349
+ let t = await y("treemap", e);
350
+ n.debug("Treemap AST:", t);
351
+ let r = Z.parser?.yy;
352
+ if (!(r instanceof Y)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
353
+ oe(t, r);
354
354
  } catch (e) {
355
- throw r.error("Error parsing treemap:", e), e;
355
+ throw n.error("Error parsing treemap:", e), e;
356
356
  }
357
357
  }, "parse")
358
- }, se = 10, Q = 10, $ = 25, ce = {
359
- draw: /* @__PURE__ */ n((t, i, a, o) => {
360
- let s = o.db, c = s.getConfig(), l = c.padding ?? se, d = s.getDiagramTitle(), f = s.getRoot(), { themeVariables: _ } = p();
361
- if (!f) return;
362
- let v = d ? 30 : 0, x = g(i), S = c.nodeWidth ? c.nodeWidth * Q : 960, C = c.nodeHeight ? c.nodeHeight * Q : 500, w = S, T = C + v;
363
- x.attr("viewBox", `0 0 ${w} ${T}`), u(x, T, w, c.useMaxWidth);
358
+ }, ce = 10, Q = 10, $ = 25, le = {
359
+ draw: /* @__PURE__ */ t((r, i, a, o) => {
360
+ let s = o.db, u = s.getConfig(), d = u.padding ?? ce, f = s.getDiagramTitle(), p = s.getRoot(), { themeVariables: g } = c();
361
+ if (!p) return;
362
+ let v = f ? 30 : 0, y = _(i), S = u.nodeWidth ? u.nodeWidth * Q : 960, C = u.nodeHeight ? u.nodeHeight * Q : 500, w = S, T = C + v;
363
+ y.attr("viewBox", `0 0 ${w} ${T}`), l(y, T, w, u.useMaxWidth);
364
364
  let E;
365
365
  try {
366
- let e = c.valueFormat || ",";
367
- if (e === "$0,0") E = /* @__PURE__ */ n((e) => "$" + h(",")(e), "valueFormat");
366
+ let e = u.valueFormat || ",";
367
+ if (e === "$0,0") E = /* @__PURE__ */ t((e) => "$" + h(",")(e), "valueFormat");
368
368
  else if (e.startsWith("$") && e.includes(",")) {
369
- let t = /\.\d+/.exec(e), r = t ? t[0] : "";
370
- E = /* @__PURE__ */ n((e) => "$" + h("," + r)(e), "valueFormat");
369
+ let n = /\.\d+/.exec(e), r = n ? n[0] : "";
370
+ E = /* @__PURE__ */ t((e) => "$" + h("," + r)(e), "valueFormat");
371
371
  } else if (e.startsWith("$")) {
372
- let t = e.substring(1);
373
- E = /* @__PURE__ */ n((e) => "$" + h(t || "")(e), "valueFormat");
372
+ let n = e.substring(1);
373
+ E = /* @__PURE__ */ t((e) => "$" + h(n || "")(e), "valueFormat");
374
374
  } else E = h(e);
375
375
  } catch (e) {
376
- r.error("Error creating format function:", e), E = h(",");
376
+ n.error("Error creating format function:", e), E = h(",");
377
377
  }
378
378
  let D = m().range([
379
379
  "transparent",
380
- _.cScale0,
381
- _.cScale1,
382
- _.cScale2,
383
- _.cScale3,
384
- _.cScale4,
385
- _.cScale5,
386
- _.cScale6,
387
- _.cScale7,
388
- _.cScale8,
389
- _.cScale9,
390
- _.cScale10,
391
- _.cScale11
380
+ g.cScale0,
381
+ g.cScale1,
382
+ g.cScale2,
383
+ g.cScale3,
384
+ g.cScale4,
385
+ g.cScale5,
386
+ g.cScale6,
387
+ g.cScale7,
388
+ g.cScale8,
389
+ g.cScale9,
390
+ g.cScale10,
391
+ g.cScale11
392
392
  ]), O = m().range([
393
393
  "transparent",
394
- _.cScalePeer0,
395
- _.cScalePeer1,
396
- _.cScalePeer2,
397
- _.cScalePeer3,
398
- _.cScalePeer4,
399
- _.cScalePeer5,
400
- _.cScalePeer6,
401
- _.cScalePeer7,
402
- _.cScalePeer8,
403
- _.cScalePeer9,
404
- _.cScalePeer10,
405
- _.cScalePeer11
394
+ g.cScalePeer0,
395
+ g.cScalePeer1,
396
+ g.cScalePeer2,
397
+ g.cScalePeer3,
398
+ g.cScalePeer4,
399
+ g.cScalePeer5,
400
+ g.cScalePeer6,
401
+ g.cScalePeer7,
402
+ g.cScalePeer8,
403
+ g.cScalePeer9,
404
+ g.cScalePeer10,
405
+ g.cScalePeer11
406
406
  ]), k = m().range([
407
- _.cScaleLabel0,
408
- _.cScaleLabel1,
409
- _.cScaleLabel2,
410
- _.cScaleLabel3,
411
- _.cScaleLabel4,
412
- _.cScaleLabel5,
413
- _.cScaleLabel6,
414
- _.cScaleLabel7,
415
- _.cScaleLabel8,
416
- _.cScaleLabel9,
417
- _.cScaleLabel10,
418
- _.cScaleLabel11
407
+ g.cScaleLabel0,
408
+ g.cScaleLabel1,
409
+ g.cScaleLabel2,
410
+ g.cScaleLabel3,
411
+ g.cScaleLabel4,
412
+ g.cScaleLabel5,
413
+ g.cScaleLabel6,
414
+ g.cScaleLabel7,
415
+ g.cScaleLabel8,
416
+ g.cScaleLabel9,
417
+ g.cScaleLabel10,
418
+ g.cScaleLabel11
419
419
  ]);
420
- d && x.append("text").attr("x", w / 2).attr("y", v / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(d);
421
- let A = x.append("g").attr("transform", `translate(0, ${v})`).attr("class", "treemapContainer"), j = L(f).sum((e) => e.value ?? 0).sort((e, t) => (t.value ?? 0) - (e.value ?? 0)), M = ie().size([S, C]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(l).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(j), N = M.descendants().filter((e) => e.children && e.children.length > 0), P = A.selectAll(".treemapSection").data(N).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
420
+ f && y.append("text").attr("x", w / 2).attr("y", v / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(f);
421
+ let A = y.append("g").attr("transform", `translate(0, ${v})`).attr("class", "treemapContainer"), j = R(p).sum((e) => e.value ?? 0).sort((e, t) => (t.value ?? 0) - (e.value ?? 0)), M = ae().size([S, C]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(j), N = M.descendants().filter((e) => e.children && e.children.length > 0), P = A.selectAll(".treemapSection").data(N).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
422
422
  P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), P.append("clipPath").attr("id", (e, t) => `clip-section-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => D(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => O(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
423
423
  if (e.depth === 0) return "display: none;";
424
- let t = b({ cssCompiledStyles: e.data.cssCompiledStyles });
424
+ let t = x({ cssCompiledStyles: e.data.cssCompiledStyles });
425
425
  return t.nodeStyles + ";" + t.borderStyles.join(";");
426
- }), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(t) {
426
+ }), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + x({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(t) {
427
427
  if (t.depth === 0) return;
428
428
  let n = e(this), r = t.data.name;
429
429
  n.text(r);
430
430
  let i = t.x1 - t.x0, a;
431
- a = c.showValues !== !1 && t.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
431
+ a = u.showValues !== !1 && t.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
432
432
  let o = Math.max(15, a), s = n.node();
433
433
  if (s.getComputedTextLength() > o) {
434
434
  let e = r;
@@ -440,9 +440,9 @@ var ae = /* @__PURE__ */ n((e, t) => {
440
440
  if (n.text(e + "..."), s.getComputedTextLength() <= o) break;
441
441
  }
442
442
  }
443
- }), c.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
443
+ }), u.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + x({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
444
444
  let F = M.leaves(), I = A.selectAll(".treemapLeafGroup").data(F).enter().append("g").attr("class", (e, t) => `treemapNode treemapLeafGroup leaf${t}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
445
- I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) => b({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("stroke-width", 3), I.append("clipPath").attr("id", (e, t) => `clip-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), I.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(t) {
445
+ I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) => x({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("stroke-width", 3), I.append("clipPath").attr("id", (e, t) => `clip-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), I.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";" + x({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(t) {
446
446
  let n = e(this), r = t.x1 - t.x0, i = t.y1 - t.y0, a = n.node(), o = r - 8, s = i - 8;
447
447
  if (o < 10 || s < 10) {
448
448
  n.style("display", "none");
@@ -453,9 +453,9 @@ var ae = /* @__PURE__ */ n((e, t) => {
453
453
  let u = Math.max(6, Math.min(28, Math.round(c * l))), d = c + 2 + u;
454
454
  for (; d > s && c > 8 && (c--, u = Math.max(6, Math.min(28, Math.round(c * l))), !(u < 6 && c === 8));) n.style("font-size", `${c}px`), d = c + 2 + u;
455
455
  n.style("font-size", `${c}px`), (a.getComputedTextLength() > o || c < 8 || s < c) && n.style("display", "none");
456
- }), c.showValues !== !1 && I.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
456
+ }), u.showValues !== !1 && I.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
457
457
  return (e.y1 - e.y0) / 2;
458
- }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.value ? E(e.value) : "").each(function(t) {
458
+ }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" + x({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.value ? E(e.value) : "").each(function(t) {
459
459
  let n = e(this), r = this.parentNode;
460
460
  if (!r) {
461
461
  n.style("display", "none");
@@ -472,32 +472,29 @@ var ae = /* @__PURE__ */ n((e, t) => {
472
472
  n.attr("y", s);
473
473
  let c = t.x1 - t.x0, l = t.y1 - t.y0 - 4, u = c - 8;
474
474
  n.node().getComputedTextLength() > u || s + o > l || o < 6 ? n.style("display", "none") : n.style("display", null);
475
- }), y(x, c.diagramPadding ?? 8, "flowchart", c?.useMaxWidth || !1);
475
+ }), b(y, u.diagramPadding ?? 8, "flowchart", u?.useMaxWidth || !1);
476
476
  }, "draw"),
477
- getClasses: /* @__PURE__ */ n(function(e, t) {
477
+ getClasses: /* @__PURE__ */ t(function(e, t) {
478
478
  return t.db.getClasses();
479
479
  }, "getClasses")
480
- }, le = {
480
+ }, ue = {
481
481
  sectionStrokeColor: "black",
482
482
  sectionStrokeWidth: "1",
483
483
  sectionFillColor: "#efefef",
484
484
  leafStrokeColor: "black",
485
485
  leafStrokeWidth: "1",
486
486
  leafFillColor: "#efefef",
487
- labelColor: "black",
488
487
  labelFontSize: "12px",
489
488
  valueFontSize: "10px",
490
- valueColor: "black",
491
- titleColor: "black",
492
489
  titleFontSize: "14px"
493
- }, ue = {
490
+ }, de = {
494
491
  parser: Z,
495
492
  get db() {
496
493
  return new Y();
497
494
  },
498
- renderer: ce,
499
- styles: /* @__PURE__ */ n(({ treemap: e } = {}) => {
500
- let n = t(le, e);
495
+ renderer: le,
496
+ styles: /* @__PURE__ */ t(({ treemap: e } = {}) => {
497
+ let t = g(r(), c().themeVariables), n = g(ue, e), i = n.titleColor ?? t.titleColor, a = n.labelColor ?? t.textColor, o = n.valueColor ?? t.textColor;
501
498
  return `
502
499
  .treemapNode.section {
503
500
  stroke: ${n.sectionStrokeColor};
@@ -510,21 +507,21 @@ var ae = /* @__PURE__ */ n((e, t) => {
510
507
  fill: ${n.leafFillColor};
511
508
  }
512
509
  .treemapLabel {
513
- fill: ${n.labelColor};
510
+ fill: ${a};
514
511
  font-size: ${n.labelFontSize};
515
512
  }
516
513
  .treemapValue {
517
- fill: ${n.valueColor};
514
+ fill: ${o};
518
515
  font-size: ${n.valueFontSize};
519
516
  }
520
517
  .treemapTitle {
521
- fill: ${n.titleColor};
518
+ fill: ${i};
522
519
  font-size: ${n.titleFontSize};
523
520
  }
524
521
  `;
525
522
  }, "getStyles")
526
523
  };
527
524
  //#endregion
528
- export { ue as diagram };
525
+ export { de as diagram };
529
526
 
530
- //# sourceMappingURL=diagram-E7M64L7V-Co7O3gub.js.map
527
+ //# sourceMappingURL=diagram-OG6HWLK6-BsskLXHm.js.map