@spteck/react-controls-v2 2.3.91 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/dist/LocalizationProvider-BbfcY9z3.cjs +2 -0
  2. package/dist/{LocalizationProvider-te5iu_6z.js → LocalizationProvider-CvSHuk0e.js} +46 -46
  3. package/dist/{ar-Blifx2MN.js → ar-BPzd6WER.js} +1 -1
  4. package/dist/ar-CBSdRr5Q.cjs +2 -0
  5. package/dist/az-DoZjCfF0.cjs +2 -0
  6. package/dist/{az-CMhDjtnj.js → az-MWX-WDgc.js} +1 -1
  7. package/dist/{bg-C96WirSv.js → bg-CvRGS4sF.js} +1 -1
  8. package/dist/bg-DI8UD_HF.cjs +2 -0
  9. package/dist/bs-DQhZlEEo.cjs +2 -0
  10. package/dist/{bs-_St1wBE_.js → bs-aXQgChJT.js} +1 -1
  11. package/dist/{ca-QlLcV4wf.js → ca-BCXCXzgh.js} +1 -1
  12. package/dist/ca-DSC32tOX.cjs +2 -0
  13. package/dist/components/dropDownField/IOption.d.ts +2 -0
  14. package/dist/cs-B0C33FJt.cjs +2 -0
  15. package/dist/{cs-MrS2bH7F.js → cs-VHWnqXwJ.js} +1 -1
  16. package/dist/cy-BNabORao.cjs +2 -0
  17. package/dist/{cy-BX97Tgwk.js → cy-qF-aNCW-.js} +1 -1
  18. package/dist/da-BmgXTEXm.cjs +2 -0
  19. package/dist/{da-BnewPPrh.js → da-rR5TnSBw.js} +1 -1
  20. package/dist/de-B4w38-0d.cjs +2 -0
  21. package/dist/{de-BSZuzGTL.js → de-DbeDjRNp.js} +1 -1
  22. package/dist/el-Cgk6VsxL.cjs +2 -0
  23. package/dist/{el-DrOk3N7-.js → el-DDeD6FiX.js} +1 -1
  24. package/dist/es-3ugMIZuA.cjs +2 -0
  25. package/dist/{es-CGqzubZ2.js → es-dvKffn6Q.js} +1 -1
  26. package/dist/et-CIIzxbat.cjs +2 -0
  27. package/dist/{et-DGqkocuq.js → et-DgZFBtK7.js} +1 -1
  28. package/dist/eu-BUNUOJ7E.cjs +2 -0
  29. package/dist/{eu-DEo7fdTW.js → eu-C6r1_PRy.js} +1 -1
  30. package/dist/{fi-DxErwnd5.js → fi-CzOKgmjK.js} +1 -1
  31. package/dist/fi-q6BFPHtt.cjs +2 -0
  32. package/dist/fr-BEnCZ733.cjs +2 -0
  33. package/dist/{fr-zrtSZX0o.js → fr-D0cDkdbn.js} +1 -1
  34. package/dist/{ga-CbHxGc9_.js → ga-0A7ndSzw.js} +1 -1
  35. package/dist/ga-BXyKTnJr.cjs +2 -0
  36. package/dist/{gl--w0P3RY4.js → gl-BNwj4XAu.js} +1 -1
  37. package/dist/gl-DR1C-hSi.cjs +2 -0
  38. package/dist/{he-DY19lzWp.js → he-BPiZ6D5h.js} +1 -1
  39. package/dist/he-OD1Ex2Fw.cjs +2 -0
  40. package/dist/{hi-CFSsoO_8.js → hi-CSgtp9Yg.js} +1 -1
  41. package/dist/hi-Dt9FvBmh.cjs +2 -0
  42. package/dist/{hr-DIRJ1Z8e.js → hr-CDSSj52Q.js} +1 -1
  43. package/dist/hr-DMzwNhar.cjs +2 -0
  44. package/dist/hu-Bc-rChfV.cjs +2 -0
  45. package/dist/{hu-DqYPRWZh.js → hu-TDJYiDOB.js} +1 -1
  46. package/dist/{id-Dgj7SUCi.js → id-B3IF5pnh.js} +1 -1
  47. package/dist/id-CwndN9HH.cjs +2 -0
  48. package/dist/index.cjs +105 -114
  49. package/dist/index.js +5052 -17522
  50. package/dist/{it-QdChHqVN.js → it-BLET318M.js} +1 -1
  51. package/dist/it-DaYS5Vil.cjs +2 -0
  52. package/dist/ja-BYA2LXHy.cjs +2 -0
  53. package/dist/{ja-BNS0BbY-.js → ja-NxwXLaKV.js} +1 -1
  54. package/dist/{kk-Dhkax68h.js → kk-CceJcjtl.js} +1 -1
  55. package/dist/kk-Ctrvuqlz.cjs +2 -0
  56. package/dist/{ko-heRMHZWp.js → ko-cS_OE967.js} +1 -1
  57. package/dist/ko-evIcpTG8.cjs +2 -0
  58. package/dist/lt-CYTLGgh6.cjs +2 -0
  59. package/dist/{lt-Decqbo8S.js → lt-CZ-kk_5b.js} +1 -1
  60. package/dist/{lv-wZASv0Lw.js → lv-BTvPpEjc.js} +1 -1
  61. package/dist/lv-COjitD3w.cjs +2 -0
  62. package/dist/mk-B-LF5gVL.cjs +2 -0
  63. package/dist/{mk-BTsLGTJT.js → mk-CSSyI3El.js} +1 -1
  64. package/dist/ms-CzEvkib0.cjs +2 -0
  65. package/dist/{ms-C0cVNwky.js → ms-Dz5JnKJ1.js} +1 -1
  66. package/dist/nb-B1KWSX94.cjs +2 -0
  67. package/dist/{nb-DGX4q4tS.js → nb-DkgTg1et.js} +1 -1
  68. package/dist/{nl-CnXZa8tZ.js → nl-CQ5eoxw2.js} +1 -1
  69. package/dist/nl-knWqo2aX.cjs +2 -0
  70. package/dist/{pl-DbIdTNpg.js → pl-BQJfOizT.js} +1 -1
  71. package/dist/pl-Ce6dq53t.cjs +2 -0
  72. package/dist/providers.cjs +1 -1
  73. package/dist/providers.js +1 -1
  74. package/dist/pt-BVqTnGkF.cjs +2 -0
  75. package/dist/{pt-CcKYweQk.js → pt-b0p7DoD0.js} +1 -1
  76. package/dist/ro-DqJMfhmX.cjs +2 -0
  77. package/dist/{ro-C-8tiqgA.js → ro-sbBtUVJV.js} +1 -1
  78. package/dist/ru-Dm2NAQyK.cjs +2 -0
  79. package/dist/{ru-Dhnz96q2.js → ru-ofzbka6D.js} +1 -1
  80. package/dist/sk-BNe6CHG-.cjs +2 -0
  81. package/dist/{sk-BU-Z5EsC.js → sk-BtpdNCPC.js} +1 -1
  82. package/dist/{sl-CcfjJFxo.js → sl-B4GsKLu6.js} +1 -1
  83. package/dist/sl-BKmEUGyu.cjs +2 -0
  84. package/dist/{sr-S53unrLA.js → sr-C76YVpkQ.js} +1 -1
  85. package/dist/sr-Dwya5lwF.cjs +2 -0
  86. package/dist/sv-BGL2G9Vm.cjs +2 -0
  87. package/dist/{sv-BiJrVfZr.js → sv-PesX57cX.js} +1 -1
  88. package/dist/{th-vQ7LQ7nD.js → th-CbCNOBnR.js} +1 -1
  89. package/dist/th-DEv6shFI.cjs +2 -0
  90. package/dist/{tr-C5RrNGLz.js → tr-B0TPxXKS.js} +1 -1
  91. package/dist/tr-BB-QonGE.cjs +2 -0
  92. package/dist/uk-B-3fLKpR.cjs +2 -0
  93. package/dist/{uk-WGCFH0fY.js → uk-_9cNoBNe.js} +1 -1
  94. package/dist/{vi-Waa7HkXq.js → vi-B8SfqLW6.js} +1 -1
  95. package/dist/vi-Dx6pJ0ir.cjs +2 -0
  96. package/dist/zh-DD0ml2HG.cjs +2 -0
  97. package/dist/{zh-BmUS7Wn_.js → zh-DqHnbp6B.js} +1 -1
  98. package/package.json +3 -2
  99. package/dist/LocalizationProvider-B6NxHbu2.cjs +0 -2
  100. package/dist/_arrayEach-BuSFKyFt.js +0 -54
  101. package/dist/_arrayEach-ChR-TejB.cjs +0 -2
  102. package/dist/_getTag-BRuLtYrv.js +0 -28
  103. package/dist/_getTag-D6VVyrEu.cjs +0 -2
  104. package/dist/ar-ip3bGOX3.cjs +0 -2
  105. package/dist/arc-4yb49ncY.js +0 -82
  106. package/dist/arc-djsA8IT0.cjs +0 -2
  107. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +0 -3
  108. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +0 -1
  109. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +0 -37
  110. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +0 -4047
  111. package/dist/array-BNB_vRFv.cjs +0 -2
  112. package/dist/array-DP0duYiO.js +0 -8
  113. package/dist/az-CyVLdUDz.cjs +0 -2
  114. package/dist/bg-Bexoz3hL.cjs +0 -2
  115. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +0 -3165
  116. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +0 -133
  117. package/dist/bs-MMcvhwLv.cjs +0 -2
  118. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +0 -2966
  119. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +0 -11
  120. package/dist/ca-BspMSeHN.cjs +0 -2
  121. package/dist/channel-2Bqnb1FY.js +0 -7
  122. package/dist/channel-5_aP1EVB.cjs +0 -2
  123. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +0 -10
  124. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +0 -2
  125. package/dist/chunk-55IACEB6-4ind_ByS.cjs +0 -2
  126. package/dist/chunk-55IACEB6-Pcyz_aR_.js +0 -10
  127. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +0 -2
  128. package/dist/chunk-7E7YKBS2-VHdgsed6.js +0 -25
  129. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +0 -81
  130. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +0 -2598
  131. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +0 -2
  132. package/dist/chunk-C72U2L5F-MjJQTOMh.js +0 -25
  133. package/dist/chunk-D-IZpNpi.cjs +0 -1
  134. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +0 -2
  135. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +0 -25
  136. package/dist/chunk-FMBD7UC4-BvqqU04Z.cjs +0 -16
  137. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +0 -7
  138. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +0 -1302
  139. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +0 -3
  140. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +0 -2
  141. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +0 -43
  142. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +0 -11
  143. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +0 -2
  144. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +0 -2
  145. package/dist/chunk-JSJVCQXG-DowfYWcD.js +0 -62
  146. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +0 -2
  147. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +0 -27
  148. package/dist/chunk-KYZI473N-DEPuSXaW.js +0 -3436
  149. package/dist/chunk-KYZI473N-DzBMFOER.cjs +0 -54
  150. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +0 -25
  151. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +0 -2
  152. package/dist/chunk-MX3YWQON-CAsnAj2e.js +0 -82
  153. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +0 -2
  154. package/dist/chunk-NBPlniwU.js +0 -23
  155. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +0 -221
  156. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +0 -2004
  157. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +0 -8
  158. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +0 -513
  159. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +0 -2
  160. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +0 -66
  161. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +0 -2
  162. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +0 -69
  163. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +0 -1887
  164. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +0 -71
  165. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +0 -2
  166. package/dist/chunk-QZHKN3VN-x258g6EH.js +0 -17
  167. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +0 -2
  168. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +0 -37
  169. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +0 -190
  170. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +0 -3196
  171. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +0 -2
  172. package/dist/chunk-XIRO2GV7-DXlO8X82.js +0 -32
  173. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +0 -1148
  174. package/dist/chunk-XPW4576I-C68T-WIW.cjs +0 -33
  175. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +0 -95
  176. package/dist/chunk-XZSTWKYB-jD9M1izK.js +0 -16132
  177. package/dist/chunk-YBOYWFTD-B6CeuteH.js +0 -34
  178. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +0 -2
  179. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +0 -2
  180. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +0 -31
  181. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +0 -2
  182. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +0 -31
  183. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +0 -2252
  184. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +0 -2
  185. package/dist/cs-FZSeHYld.cjs +0 -2
  186. package/dist/cy-CzQmM2lQ.cjs +0 -2
  187. package/dist/cytoscape.esm-CcJAI0wG.cjs +0 -322
  188. package/dist/cytoscape.esm-D9EjU25_.js +0 -18102
  189. package/dist/da-CexFt-Oj.cjs +0 -2
  190. package/dist/dagre-CpEPaL3r.cjs +0 -2
  191. package/dist/dagre-Dd8wCGc6.js +0 -1305
  192. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +0 -294
  193. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +0 -5
  194. package/dist/de-B68HwuYu.cjs +0 -2
  195. package/dist/defaultLocale-CYOzCjwh.js +0 -203
  196. package/dist/defaultLocale-DSgylVA1.cjs +0 -2
  197. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +0 -25
  198. package/dist/diagram-E7M64L7V-oX07GVAD.js +0 -529
  199. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +0 -44
  200. package/dist/diagram-IFDJBPK2-lCNF06_S.js +0 -215
  201. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +0 -135
  202. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +0 -25
  203. package/dist/dist-CV9Ez7cn.js +0 -52
  204. package/dist/dist-DVthN7lF.cjs +0 -2
  205. package/dist/el-DQc4jSMd.cjs +0 -2
  206. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +0 -71
  207. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +0 -1668
  208. package/dist/es-DI8Y4Bv1.cjs +0 -2
  209. package/dist/et-DfaryKvp.cjs +0 -2
  210. package/dist/eu-BVOSXciF.cjs +0 -2
  211. package/dist/fi-C5L-OzaI.cjs +0 -2
  212. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +0 -163
  213. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +0 -4163
  214. package/dist/fr-yFvjqx8B.cjs +0 -2
  215. package/dist/ga-6mVQhlWi.cjs +0 -2
  216. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +0 -293
  217. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +0 -3074
  218. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +0 -3
  219. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +0 -1
  220. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +0 -627
  221. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +0 -66
  222. package/dist/gl-BJzJe1sq.cjs +0 -2
  223. package/dist/graphlib-CPo7oIsu.js +0 -223
  224. package/dist/graphlib-CmUS4Qin.cjs +0 -2
  225. package/dist/he-B3Bw3qr0.cjs +0 -2
  226. package/dist/hi-kofL-mD8.cjs +0 -2
  227. package/dist/hr-CDxqA9Jm.cjs +0 -2
  228. package/dist/hu-Defen_75.cjs +0 -2
  229. package/dist/id-DcwMRgmX.cjs +0 -2
  230. package/dist/identity-6JlhFhuM.cjs +0 -2
  231. package/dist/identity-C1jKsMoW.js +0 -395
  232. package/dist/info-3K5VOQVL-DfN_3mKd.js +0 -3
  233. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +0 -1
  234. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +0 -3
  235. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +0 -21
  236. package/dist/init-BAFZAp9S.cjs +0 -2
  237. package/dist/init-m0TwgR4W.js +0 -17
  238. package/dist/isEmpty-BTp1uKIj.cjs +0 -2
  239. package/dist/isEmpty-uXVYZZYe.js +0 -17
  240. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +0 -719
  241. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +0 -71
  242. package/dist/it-D5nM6KCi.cjs +0 -2
  243. package/dist/ja-BtuHirv7.cjs +0 -2
  244. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +0 -140
  245. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +0 -885
  246. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +0 -90
  247. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +0 -973
  248. package/dist/katex-B-Nju2J8.js +0 -22002
  249. package/dist/katex-WY67Rp7A.cjs +0 -266
  250. package/dist/kk-BSl8IqgQ.cjs +0 -2
  251. package/dist/ko-eplb1GD0.cjs +0 -2
  252. package/dist/line-CbEBKCYr.js +0 -36
  253. package/dist/line-DqSdvtRR.cjs +0 -2
  254. package/dist/linear-DvLDpS6A.cjs +0 -2
  255. package/dist/linear-Eb79THx6.js +0 -291
  256. package/dist/lt-DsYAWFbF.cjs +0 -2
  257. package/dist/lv-DHmTjCb8.cjs +0 -2
  258. package/dist/maplibre-gl-qSrG75fp.js +0 -33003
  259. package/dist/maplibre-gl-tm_pVdmb.cjs +0 -757
  260. package/dist/math-DR9t6ixc.cjs +0 -2
  261. package/dist/math-DyURnvXC.js +0 -12
  262. package/dist/mermaid-parser.core-BdTB9qx-.js +0 -61
  263. package/dist/mermaid-parser.core-BlzF5RRD.cjs +0 -4
  264. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +0 -966
  265. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +0 -69
  266. package/dist/mk-CCV_308U.cjs +0 -2
  267. package/dist/ms-CH83xVYN.cjs +0 -2
  268. package/dist/nb-DZ-DlwcL.cjs +0 -2
  269. package/dist/nl-Xdf-A19i.cjs +0 -2
  270. package/dist/ordinal-BAWGEQkf.js +0 -67
  271. package/dist/ordinal-CL2X4e2C.cjs +0 -2
  272. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +0 -1
  273. package/dist/packet-RMMSAZCW-DUN6t9lN.js +0 -3
  274. package/dist/path-Bt6guLtL.cjs +0 -2
  275. package/dist/path-DSzKK8fH.js +0 -87
  276. package/dist/pie-UPGHQEXC-DjqNO54R.js +0 -3
  277. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +0 -1
  278. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +0 -31
  279. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +0 -167
  280. package/dist/pl-BStql1S-.cjs +0 -2
  281. package/dist/pt-Dk4jELuZ.cjs +0 -2
  282. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +0 -8
  283. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +0 -1976
  284. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +0 -1
  285. package/dist/radar-KQ55EAFF-C6zhEkCz.js +0 -3
  286. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +0 -2203
  287. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +0 -74
  288. package/dist/ro-BvhMyTKh.cjs +0 -2
  289. package/dist/rough.esm-BjJ_weyP.cjs +0 -2
  290. package/dist/rough.esm-DBHP55VQ.js +0 -1354
  291. package/dist/ru-BQosng8l.cjs +0 -2
  292. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +0 -922
  293. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +0 -11
  294. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +0 -146
  295. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +0 -4111
  296. package/dist/sk-BhA7UeAk.cjs +0 -2
  297. package/dist/sl-6Mczv4jG.cjs +0 -2
  298. package/dist/sr-CxObZdu0.cjs +0 -2
  299. package/dist/src-DFxq-N5I.cjs +0 -2
  300. package/dist/src-Dm6r9c7l.js +0 -2148
  301. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +0 -219
  302. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +0 -2
  303. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +0 -29
  304. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +0 -2
  305. package/dist/sv-BfiunVuX.cjs +0 -2
  306. package/dist/th-BqLGltZi.cjs +0 -2
  307. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +0 -832
  308. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +0 -62
  309. package/dist/tr-Brwl4o_Z.cjs +0 -2
  310. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +0 -1
  311. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +0 -3
  312. package/dist/uk-CV49TRvS.cjs +0 -2
  313. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +0 -1860
  314. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +0 -35
  315. package/dist/vi-JzM7bjn_.cjs +0 -2
  316. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +0 -8
  317. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +0 -2043
  318. package/dist/zh-DEm0SGzZ.cjs +0 -2
@@ -1,529 +0,0 @@
1
- import { g as e, h as t, p as n } from "./src-Dm6r9c7l.js";
2
- import { B as r, C as i, V as a, W as o, _ as s, a as c, c as l, d as u, v as d, y as f } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
- import { t as p } from "./ordinal-BAWGEQkf.js";
4
- import { t as m } from "./defaultLocale-CYOzCjwh.js";
5
- import { r as h } from "./chunk-GEFDOKGD-BNgT40Ex.js";
6
- import { t as g } from "./chunk-HHEYEP7N-DO1AYIZw.js";
7
- import { i as _, n as v } from "./chunk-PQ6SQG4A-ObFGkauo.js";
8
- import { t as y } from "./chunk-4BX2VUAB-B5Va_oZz.js";
9
- import { t as b } from "./mermaid-parser.core-BdTB9qx-.js";
10
- import { t as x } from "./chunk-KX2RTZJC-D-bUTSNy.js";
11
- //#region node_modules/d3-hierarchy/src/hierarchy/count.js
12
- function S(e) {
13
- var t = 0, n = e.children, r = n && n.length;
14
- if (!r) t = 1;
15
- else for (; --r >= 0;) t += n[r].value;
16
- e.value = t;
17
- }
18
- function C() {
19
- return this.eachAfter(S);
20
- }
21
- //#endregion
22
- //#region node_modules/d3-hierarchy/src/hierarchy/each.js
23
- function w(e, t) {
24
- let n = -1;
25
- for (let r of this) e.call(t, r, ++n, this);
26
- return this;
27
- }
28
- //#endregion
29
- //#region node_modules/d3-hierarchy/src/hierarchy/eachBefore.js
30
- function T(e, t) {
31
- 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]);
32
- return this;
33
- }
34
- //#endregion
35
- //#region node_modules/d3-hierarchy/src/hierarchy/eachAfter.js
36
- function E(e, t) {
37
- 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]);
38
- for (; n = i.pop();) e.call(t, n, ++c, this);
39
- return this;
40
- }
41
- //#endregion
42
- //#region node_modules/d3-hierarchy/src/hierarchy/find.js
43
- function D(e, t) {
44
- let n = -1;
45
- for (let r of this) if (e.call(t, r, ++n, this)) return r;
46
- }
47
- //#endregion
48
- //#region node_modules/d3-hierarchy/src/hierarchy/sum.js
49
- function O(e) {
50
- return this.eachAfter(function(t) {
51
- for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0;) n += r[i].value;
52
- t.value = n;
53
- });
54
- }
55
- //#endregion
56
- //#region node_modules/d3-hierarchy/src/hierarchy/sort.js
57
- function k(e) {
58
- return this.eachBefore(function(t) {
59
- t.children && t.children.sort(e);
60
- });
61
- }
62
- //#endregion
63
- //#region node_modules/d3-hierarchy/src/hierarchy/path.js
64
- function A(e) {
65
- for (var t = this, n = j(t, e), r = [t]; t !== n;) t = t.parent, r.push(t);
66
- for (var i = r.length; e !== n;) r.splice(i, 0, e), e = e.parent;
67
- return r;
68
- }
69
- function j(e, t) {
70
- if (e === t) return e;
71
- var n = e.ancestors(), r = t.ancestors(), i = null;
72
- for (e = n.pop(), t = r.pop(); e === t;) i = e, e = n.pop(), t = r.pop();
73
- return i;
74
- }
75
- //#endregion
76
- //#region node_modules/d3-hierarchy/src/hierarchy/ancestors.js
77
- function M() {
78
- for (var e = this, t = [e]; e = e.parent;) t.push(e);
79
- return t;
80
- }
81
- //#endregion
82
- //#region node_modules/d3-hierarchy/src/hierarchy/descendants.js
83
- function N() {
84
- return Array.from(this);
85
- }
86
- //#endregion
87
- //#region node_modules/d3-hierarchy/src/hierarchy/leaves.js
88
- function P() {
89
- var e = [];
90
- return this.eachBefore(function(t) {
91
- t.children || e.push(t);
92
- }), e;
93
- }
94
- //#endregion
95
- //#region node_modules/d3-hierarchy/src/hierarchy/links.js
96
- function F() {
97
- var e = this, t = [];
98
- return e.each(function(n) {
99
- n !== e && t.push({
100
- source: n.parent,
101
- target: n
102
- });
103
- }), t;
104
- }
105
- //#endregion
106
- //#region node_modules/d3-hierarchy/src/hierarchy/iterator.js
107
- function* I() {
108
- var e = this, t, n = [e], r, i, a;
109
- do
110
- 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]);
111
- while (n.length);
112
- }
113
- //#endregion
114
- //#region node_modules/d3-hierarchy/src/hierarchy/index.js
115
- function L(e, t) {
116
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = B)) : t === void 0 && (t = z);
117
- 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;
118
- return n.eachBefore(H);
119
- }
120
- function R() {
121
- return L(this).eachBefore(V);
122
- }
123
- function z(e) {
124
- return e.children;
125
- }
126
- function B(e) {
127
- return Array.isArray(e) ? e[1] : null;
128
- }
129
- function V(e) {
130
- e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
131
- }
132
- function H(e) {
133
- var t = 0;
134
- do
135
- e.height = t;
136
- while ((e = e.parent) && e.height < ++t);
137
- }
138
- function U(e) {
139
- this.data = e, this.depth = this.height = 0, this.parent = null;
140
- }
141
- U.prototype = L.prototype = {
142
- constructor: U,
143
- count: C,
144
- each: w,
145
- eachAfter: E,
146
- eachBefore: T,
147
- find: D,
148
- sum: O,
149
- sort: k,
150
- path: A,
151
- ancestors: M,
152
- descendants: N,
153
- leaves: P,
154
- links: F,
155
- copy: R,
156
- [Symbol.iterator]: I
157
- };
158
- //#endregion
159
- //#region node_modules/d3-hierarchy/src/accessors.js
160
- function W(e) {
161
- if (typeof e != "function") throw Error();
162
- return e;
163
- }
164
- //#endregion
165
- //#region node_modules/d3-hierarchy/src/constant.js
166
- function G() {
167
- return 0;
168
- }
169
- function K(e) {
170
- return function() {
171
- return e;
172
- };
173
- }
174
- //#endregion
175
- //#region node_modules/d3-hierarchy/src/treemap/round.js
176
- function q(e) {
177
- e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
178
- }
179
- //#endregion
180
- //#region node_modules/d3-hierarchy/src/treemap/dice.js
181
- function J(e, t, n, r, i) {
182
- 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;
183
- }
184
- //#endregion
185
- //#region node_modules/d3-hierarchy/src/treemap/slice.js
186
- function ee(e, t, n, r, i) {
187
- 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;
188
- }
189
- //#endregion
190
- //#region node_modules/d3-hierarchy/src/treemap/squarify.js
191
- var te = (1 + Math.sqrt(5)) / 2;
192
- function ne(e, t, n, r, i, a) {
193
- 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;) {
194
- p = i - n, m = a - r;
195
- do
196
- g = s[d++].value;
197
- while (!g && d < f);
198
- for (_ = v = g, x = Math.max(m / p, p / m) / (h * e), S = g * g * x, b = Math.max(v / S, S / _); d < f; ++d) {
199
- if (g += l = s[d].value, l < _ && (_ = l), l > v && (v = l), S = g * g * x, y = Math.max(v / S, S / _), y > b) {
200
- g -= l;
201
- break;
202
- }
203
- b = y;
204
- }
205
- o.push(c = {
206
- value: g,
207
- dice: p < m,
208
- children: s.slice(u, d)
209
- }), 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
- }
211
- return o;
212
- }
213
- var re = (function e(t) {
214
- function n(e, n, r, i, a) {
215
- ne(t, e, n, r, i, a);
216
- }
217
- return n.ratio = function(t) {
218
- return e((t = +t) > 1 ? t : 1);
219
- }, n;
220
- })(te);
221
- //#endregion
222
- //#region node_modules/d3-hierarchy/src/treemap/index.js
223
- function ie() {
224
- var e = re, t = !1, n = 1, r = 1, i = [0], a = G, o = G, s = G, c = G, l = G;
225
- function u(e) {
226
- return e.x0 = e.y0 = 0, e.x1 = n, e.y1 = r, e.eachBefore(d), i = [0], t && e.eachBefore(q), e;
227
- }
228
- function d(t) {
229
- var n = i[t.depth], r = t.x0 + n, u = t.y0 + n, d = t.x1 - n, f = t.y1 - n;
230
- d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), t.x0 = r, t.y0 = u, t.x1 = d, t.y1 = f, t.children && (n = i[t.depth + 1] = a(t) / 2, r += l(t) - n, u += o(t) - n, d -= s(t) - n, f -= c(t) - n, d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), e(t, r, u, d, f));
231
- }
232
- return u.round = function(e) {
233
- return arguments.length ? (t = !!e, u) : t;
234
- }, u.size = function(e) {
235
- return arguments.length ? (n = +e[0], r = +e[1], u) : [n, r];
236
- }, u.tile = function(t) {
237
- return arguments.length ? (e = W(t), u) : e;
238
- }, u.padding = function(e) {
239
- return arguments.length ? u.paddingInner(e).paddingOuter(e) : u.paddingInner();
240
- }, u.paddingInner = function(e) {
241
- return arguments.length ? (a = typeof e == "function" ? e : K(+e), u) : a;
242
- }, u.paddingOuter = function(e) {
243
- return arguments.length ? u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e) : u.paddingTop();
244
- }, u.paddingTop = function(e) {
245
- return arguments.length ? (o = typeof e == "function" ? e : K(+e), u) : o;
246
- }, u.paddingRight = function(e) {
247
- return arguments.length ? (s = typeof e == "function" ? e : K(+e), u) : s;
248
- }, u.paddingBottom = function(e) {
249
- return arguments.length ? (c = typeof e == "function" ? e : K(+e), u) : c;
250
- }, u.paddingLeft = function(e) {
251
- return arguments.length ? (l = typeof e == "function" ? e : K(+e), u) : l;
252
- }, u;
253
- }
254
- //#endregion
255
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-E7M64L7V.mjs
256
- var Y = class {
257
- constructor() {
258
- this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = a, this.getAccTitle = d, this.setDiagramTitle = o, this.getDiagramTitle = i, this.getAccDescription = s, this.setAccDescription = r;
259
- }
260
- static {
261
- t(this, "TreeMapDB");
262
- }
263
- getNodes() {
264
- return this.nodes;
265
- }
266
- getConfig() {
267
- let e = u, t = f();
268
- return h({
269
- ...e.treemap,
270
- ...t.treemap ?? {}
271
- });
272
- }
273
- addNode(e, t) {
274
- this.nodes.push(e), this.levels.set(e, t), t === 0 && (this.outerNodes.push(e), this.root ??= e);
275
- }
276
- getRoot() {
277
- return {
278
- name: "",
279
- children: this.outerNodes
280
- };
281
- }
282
- addClass(e, t) {
283
- let n = this.classes.get(e) ?? {
284
- id: e,
285
- styles: [],
286
- textStyles: []
287
- }, r = t.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
288
- r && r.forEach((e) => {
289
- v(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
290
- }), this.classes.set(e, n);
291
- }
292
- getClasses() {
293
- return this.classes;
294
- }
295
- getStylesForClass(e) {
296
- return this.classes.get(e)?.styles ?? [];
297
- }
298
- clear() {
299
- c(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
300
- }
301
- };
302
- function X(e) {
303
- if (!e.length) return [];
304
- let t = [], n = [];
305
- return e.forEach((e) => {
306
- let r = {
307
- name: e.name,
308
- children: e.type === "Leaf" ? void 0 : []
309
- };
310
- for (r.classSelector = e?.classSelector, e?.cssCompiledStyles && (r.cssCompiledStyles = e.cssCompiledStyles), e.type === "Leaf" && e.value !== void 0 && (r.value = e.value); n.length > 0 && n[n.length - 1].level >= e.level;) n.pop();
311
- if (n.length === 0) t.push(r);
312
- else {
313
- let e = n[n.length - 1].node;
314
- e.children ? e.children.push(r) : e.children = [r];
315
- }
316
- e.type !== "Leaf" && n.push({
317
- node: r,
318
- level: e.level
319
- });
320
- }), t;
321
- }
322
- t(X, "buildHierarchy");
323
- var ae = /* @__PURE__ */ t((e, n) => {
324
- y(e, n);
325
- let r = [];
326
- for (let t of e.TreemapRows ?? []) t.$type === "ClassDefStatement" && n.addClass(t.className ?? "", t.styleText ?? "");
327
- for (let t of e.TreemapRows ?? []) {
328
- let e = t.item;
329
- if (!e) continue;
330
- let i = t.indent ? parseInt(t.indent) : 0, a = oe(e), o = e.classSelector ? n.getStylesForClass(e.classSelector) : [], s = o.length > 0 ? o : void 0, c = {
331
- level: i,
332
- name: a,
333
- type: e.$type,
334
- value: e.value,
335
- classSelector: e.classSelector,
336
- cssCompiledStyles: s
337
- };
338
- r.push(c);
339
- }
340
- let i = X(r), a = /* @__PURE__ */ t((e, t) => {
341
- for (let r of e) n.addNode(r, t), r.children && r.children.length > 0 && a(r.children, t + 1);
342
- }, "addNodesRecursively");
343
- a(i, 0);
344
- }, "populate"), oe = /* @__PURE__ */ t((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
345
- parser: { yy: void 0 },
346
- parse: /* @__PURE__ */ t(async (t) => {
347
- try {
348
- let n = await b("treemap", t);
349
- e.debug("Treemap AST:", n);
350
- let r = Z.parser?.yy;
351
- 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.");
352
- ae(n, r);
353
- } catch (t) {
354
- throw e.error("Error parsing treemap:", t), t;
355
- }
356
- }, "parse")
357
- }, se = 10, Q = 10, $ = 25, ce = {
358
- draw: /* @__PURE__ */ t((r, i, a, o) => {
359
- let s = o.db, c = s.getConfig(), u = c.padding ?? se, d = s.getDiagramTitle(), h = s.getRoot(), { themeVariables: v } = f();
360
- if (!h) return;
361
- let y = d ? 30 : 0, b = g(i), S = c.nodeWidth ? c.nodeWidth * Q : 960, C = c.nodeHeight ? c.nodeHeight * Q : 500, w = S, T = C + y;
362
- b.attr("viewBox", `0 0 ${w} ${T}`), l(b, T, w, c.useMaxWidth);
363
- let E;
364
- try {
365
- let e = c.valueFormat || ",";
366
- if (e === "$0,0") E = /* @__PURE__ */ t((e) => "$" + m(",")(e), "valueFormat");
367
- else if (e.startsWith("$") && e.includes(",")) {
368
- let n = /\.\d+/.exec(e), r = n ? n[0] : "";
369
- E = /* @__PURE__ */ t((e) => "$" + m("," + r)(e), "valueFormat");
370
- } else if (e.startsWith("$")) {
371
- let n = e.substring(1);
372
- E = /* @__PURE__ */ t((e) => "$" + m(n || "")(e), "valueFormat");
373
- } else E = m(e);
374
- } catch (t) {
375
- e.error("Error creating format function:", t), E = m(",");
376
- }
377
- let D = p().range([
378
- "transparent",
379
- v.cScale0,
380
- v.cScale1,
381
- v.cScale2,
382
- v.cScale3,
383
- v.cScale4,
384
- v.cScale5,
385
- v.cScale6,
386
- v.cScale7,
387
- v.cScale8,
388
- v.cScale9,
389
- v.cScale10,
390
- v.cScale11
391
- ]), O = p().range([
392
- "transparent",
393
- v.cScalePeer0,
394
- v.cScalePeer1,
395
- v.cScalePeer2,
396
- v.cScalePeer3,
397
- v.cScalePeer4,
398
- v.cScalePeer5,
399
- v.cScalePeer6,
400
- v.cScalePeer7,
401
- v.cScalePeer8,
402
- v.cScalePeer9,
403
- v.cScalePeer10,
404
- v.cScalePeer11
405
- ]), k = p().range([
406
- v.cScaleLabel0,
407
- v.cScaleLabel1,
408
- v.cScaleLabel2,
409
- v.cScaleLabel3,
410
- v.cScaleLabel4,
411
- v.cScaleLabel5,
412
- v.cScaleLabel6,
413
- v.cScaleLabel7,
414
- v.cScaleLabel8,
415
- v.cScaleLabel9,
416
- v.cScaleLabel10,
417
- v.cScaleLabel11
418
- ]);
419
- d && b.append("text").attr("x", w / 2).attr("y", y / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(d);
420
- let A = b.append("g").attr("transform", `translate(0, ${y})`).attr("class", "treemapContainer"), j = L(h).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(u).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})`);
421
- 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) => {
422
- if (e.depth === 0) return "display: none;";
423
- let t = _({ cssCompiledStyles: e.data.cssCompiledStyles });
424
- return t.nodeStyles + ";" + t.borderStyles.join(";");
425
- }), 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;" + _({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
426
- if (e.depth === 0) return;
427
- let t = n(this), r = e.data.name;
428
- t.text(r);
429
- let i = e.x1 - e.x0, a;
430
- a = c.showValues !== !1 && e.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
431
- let o = Math.max(15, a), s = t.node();
432
- if (s.getComputedTextLength() > o) {
433
- let e = r;
434
- for (; e.length > 0;) {
435
- if (e = r.substring(0, e.length - 1), e.length === 0) {
436
- t.text("..."), s.getComputedTextLength() > o && t.text("");
437
- break;
438
- }
439
- if (t.text(e + "..."), s.getComputedTextLength() <= o) break;
440
- }
441
- }
442
- }), 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;" + _({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
443
- 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})`);
444
- 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) => _({ 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) + ";" + _({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(e) {
445
- let t = n(this), r = e.x1 - e.x0, i = e.y1 - e.y0, a = t.node(), o = r - 8, s = i - 8;
446
- if (o < 10 || s < 10) {
447
- t.style("display", "none");
448
- return;
449
- }
450
- let c = parseInt(t.style("font-size"), 10), l = .6;
451
- for (; a.getComputedTextLength() > o && c > 8;) c--, t.style("font-size", `${c}px`);
452
- let u = Math.max(6, Math.min(28, Math.round(c * l))), d = c + 2 + u;
453
- for (; d > s && c > 8 && (c--, u = Math.max(6, Math.min(28, Math.round(c * l))), !(u < 6 && c === 8));) t.style("font-size", `${c}px`), d = c + 2 + u;
454
- t.style("font-size", `${c}px`), (a.getComputedTextLength() > o || c < 8 || s < c) && t.style("display", "none");
455
- }), c.showValues !== !1 && I.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
456
- return (e.y1 - e.y0) / 2;
457
- }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" + _({ 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(e) {
458
- let t = n(this), r = this.parentNode;
459
- if (!r) {
460
- t.style("display", "none");
461
- return;
462
- }
463
- let i = n(r).select(".treemapLabel");
464
- if (i.empty() || i.style("display") === "none") {
465
- t.style("display", "none");
466
- return;
467
- }
468
- let a = parseFloat(i.style("font-size")), o = Math.max(6, Math.min(28, Math.round(a * .6)));
469
- t.style("font-size", `${o}px`);
470
- let s = (e.y1 - e.y0) / 2 + a / 2 + 2;
471
- t.attr("y", s);
472
- let c = e.x1 - e.x0, l = e.y1 - e.y0 - 4, u = c - 8;
473
- t.node().getComputedTextLength() > u || s + o > l || o < 6 ? t.style("display", "none") : t.style("display", null);
474
- }), x(b, c.diagramPadding ?? 8, "flowchart", c?.useMaxWidth || !1);
475
- }, "draw"),
476
- getClasses: /* @__PURE__ */ t(function(e, t) {
477
- return t.db.getClasses();
478
- }, "getClasses")
479
- }, le = {
480
- sectionStrokeColor: "black",
481
- sectionStrokeWidth: "1",
482
- sectionFillColor: "#efefef",
483
- leafStrokeColor: "black",
484
- leafStrokeWidth: "1",
485
- leafFillColor: "#efefef",
486
- labelColor: "black",
487
- labelFontSize: "12px",
488
- valueFontSize: "10px",
489
- valueColor: "black",
490
- titleColor: "black",
491
- titleFontSize: "14px"
492
- }, ue = {
493
- parser: Z,
494
- get db() {
495
- return new Y();
496
- },
497
- renderer: ce,
498
- styles: /* @__PURE__ */ t(({ treemap: e } = {}) => {
499
- let t = h(le, e);
500
- return `
501
- .treemapNode.section {
502
- stroke: ${t.sectionStrokeColor};
503
- stroke-width: ${t.sectionStrokeWidth};
504
- fill: ${t.sectionFillColor};
505
- }
506
- .treemapNode.leaf {
507
- stroke: ${t.leafStrokeColor};
508
- stroke-width: ${t.leafStrokeWidth};
509
- fill: ${t.leafFillColor};
510
- }
511
- .treemapLabel {
512
- fill: ${t.labelColor};
513
- font-size: ${t.labelFontSize};
514
- }
515
- .treemapValue {
516
- fill: ${t.valueColor};
517
- font-size: ${t.valueFontSize};
518
- }
519
- .treemapTitle {
520
- fill: ${t.titleColor};
521
- font-size: ${t.titleFontSize};
522
- }
523
- `;
524
- }, "getStyles")
525
- };
526
- //#endregion
527
- export { ue as diagram };
528
-
529
- //# sourceMappingURL=diagram-E7M64L7V-oX07GVAD.js.map
@@ -1,44 +0,0 @@
1
- require(`./chunk-D-IZpNpi.cjs`);const e=require(`./src-DFxq-N5I.cjs`),t=require(`./chunk-7R4GIKGN-BKoqTTU_.cjs`),n=require(`./chunk-GEFDOKGD-BOwd6Jqp.cjs`),r=require(`./chunk-HHEYEP7N-pdmgQZzP.cjs`),i=require(`./chunk-4BX2VUAB-BWDW-gYk.cjs`),a=require(`./mermaid-parser.core-BlzF5RRD.cjs`);var o={showLegend:!0,ticks:5,max:null,min:0,graticule:`circle`},s={axes:[],curves:[],options:o},c=structuredClone(s),l=t.d.radar,u=e.h(()=>n.r({...l,...t.y().radar}),`getConfig`),d=e.h(()=>c.axes,`getAxes`),f=e.h(()=>c.curves,`getCurves`),p=e.h(()=>c.options,`getOptions`),m=e.h(e=>{c.axes=e.map(e=>({name:e.name,label:e.label??e.name}))},`setAxes`),h=e.h(e=>{c.curves=e.map(e=>({name:e.name,label:e.label??e.name,entries:g(e.entries)}))},`setCurves`),g=e.h(e=>{if(e[0].axis==null)return e.map(e=>e.value);let t=d();if(t.length===0)throw Error(`Axes must be populated before curves for reference entries`);return t.map(t=>{let n=e.find(e=>e.axis?.$refText===t.name);if(n===void 0)throw Error(`Missing entry for axis `+t.label);return n.value})},`computeCurveEntries`),_={getAxes:d,getCurves:f,getOptions:p,setAxes:m,setCurves:h,setOptions:e.h(e=>{let t=e.reduce((e,t)=>(e[t.name]=t,e),{});c.options={showLegend:t.showLegend?.value??o.showLegend,ticks:t.ticks?.value??o.ticks,max:t.max?.value??o.max,min:t.min?.value??o.min,graticule:t.graticule?.value??o.graticule}},`setOptions`),getConfig:u,clear:e.h(()=>{t.a(),c=structuredClone(s)},`clear`),setAccTitle:t.V,getAccTitle:t.v,setDiagramTitle:t.W,getDiagramTitle:t.C,getAccDescription:t._,setAccDescription:t.B},v=e.h(e=>{i.t(e,_);let{axes:t,curves:n,options:r}=e;_.setAxes(t),_.setCurves(n),_.setOptions(r)},`populate`),y={parse:e.h(async t=>{let n=await a.t(`radar`,t);e.g.debug(n),v(n)},`parse`)},b=e.h((e,t,n,i)=>{let a=i.db,o=a.getAxes(),s=a.getCurves(),c=a.getOptions(),l=a.getConfig(),u=a.getDiagramTitle(),d=x(r.t(t),l),f=c.max??Math.max(...s.map(e=>Math.max(...e.entries))),p=c.min,m=Math.min(l.width,l.height)/2;S(d,o,m,c.ticks,c.graticule),C(d,o,m,l),w(d,o,s,p,f,c.graticule,l),D(d,s,c.showLegend,l),d.append(`text`).attr(`class`,`radarTitle`).text(u).attr(`x`,0).attr(`y`,-l.height/2-l.marginTop)},`draw`),x=e.h((e,n)=>{let r=n.width+n.marginLeft+n.marginRight,i=n.height+n.marginTop+n.marginBottom,a={x:n.marginLeft+n.width/2,y:n.marginTop+n.height/2};return t.c(e,i,r,n.useMaxWidth??!0),e.attr(`viewBox`,`0 0 ${r} ${i}`),e.append(`g`).attr(`transform`,`translate(${a.x}, ${a.y})`)},`drawFrame`),S=e.h((e,t,n,r,i)=>{if(i===`circle`)for(let t=0;t<r;t++){let i=n*(t+1)/r;e.append(`circle`).attr(`r`,i).attr(`class`,`radarGraticule`)}else if(i===`polygon`){let i=t.length;for(let a=0;a<r;a++){let o=n*(a+1)/r,s=t.map((e,t)=>{let n=2*t*Math.PI/i-Math.PI/2;return`${o*Math.cos(n)},${o*Math.sin(n)}`}).join(` `);e.append(`polygon`).attr(`points`,s).attr(`class`,`radarGraticule`)}}},`drawGraticule`),C=e.h((e,t,n,r)=>{let i=t.length;for(let a=0;a<i;a++){let o=t[a].label,s=2*a*Math.PI/i-Math.PI/2;e.append(`line`).attr(`x1`,0).attr(`y1`,0).attr(`x2`,n*r.axisScaleFactor*Math.cos(s)).attr(`y2`,n*r.axisScaleFactor*Math.sin(s)).attr(`class`,`radarAxisLine`),e.append(`text`).text(o).attr(`x`,n*r.axisLabelFactor*Math.cos(s)).attr(`y`,n*r.axisLabelFactor*Math.sin(s)).attr(`class`,`radarAxisLabel`)}},`drawAxes`);function w(e,t,n,r,i,a,o){let s=t.length,c=Math.min(o.width,o.height)/2;n.forEach((t,n)=>{if(t.entries.length!==s)return;let l=t.entries.map((e,t)=>{let n=2*Math.PI*t/s-Math.PI/2,a=T(e,r,i,c);return{x:a*Math.cos(n),y:a*Math.sin(n)}});a===`circle`?e.append(`path`).attr(`d`,E(l,o.curveTension)).attr(`class`,`radarCurve-${n}`):a===`polygon`&&e.append(`polygon`).attr(`points`,l.map(e=>`${e.x},${e.y}`).join(` `)).attr(`class`,`radarCurve-${n}`)})}e.h(w,`drawCurves`);function T(e,t,n,r){return r*(Math.min(Math.max(e,t),n)-t)/(n-t)}e.h(T,`relativeRadius`);function E(e,t){let n=e.length,r=`M${e[0].x},${e[0].y}`;for(let i=0;i<n;i++){let a=e[(i-1+n)%n],o=e[i],s=e[(i+1)%n],c=e[(i+2)%n],l={x:o.x+(s.x-a.x)*t,y:o.y+(s.y-a.y)*t},u={x:s.x-(c.x-o.x)*t,y:s.y-(c.y-o.y)*t};r+=` C${l.x},${l.y} ${u.x},${u.y} ${s.x},${s.y}`}return`${r} Z`}e.h(E,`closedRoundCurve`);function D(e,t,n,r){if(!n)return;let i=(r.width/2+r.marginRight)*3/4,a=-(r.height/2+r.marginTop)*3/4;t.forEach((t,n)=>{let r=e.append(`g`).attr(`transform`,`translate(${i}, ${a+n*20})`);r.append(`rect`).attr(`width`,12).attr(`height`,12).attr(`class`,`radarLegendBox-${n}`),r.append(`text`).attr(`x`,16).attr(`y`,0).attr(`class`,`radarLegendText`).text(t.label)})}e.h(D,`drawLegend`);var O={draw:b},k=e.h((e,t)=>{let n=``;for(let r=0;r<e.THEME_COLOR_LIMIT;r++){let i=e[`cScale${r}`];n+=`
2
- .radarCurve-${r} {
3
- color: ${i};
4
- fill: ${i};
5
- fill-opacity: ${t.curveOpacity};
6
- stroke: ${i};
7
- stroke-width: ${t.curveStrokeWidth};
8
- }
9
- .radarLegendBox-${r} {
10
- fill: ${i};
11
- fill-opacity: ${t.curveOpacity};
12
- stroke: ${i};
13
- }
14
- `}return n},`genIndexStyles`),A=e.h(e=>{let r=n.r(t.E(),t.y().themeVariables);return{themeVariables:r,radarOptions:n.r(r.radar,e)}},`buildRadarStyleOptions`),j={parser:y,db:_,renderer:O,styles:e.h(({radar:e}={})=>{let{themeVariables:t,radarOptions:n}=A(e);return`
15
- .radarTitle {
16
- font-size: ${t.fontSize};
17
- color: ${t.titleColor};
18
- dominant-baseline: hanging;
19
- text-anchor: middle;
20
- }
21
- .radarAxisLine {
22
- stroke: ${n.axisColor};
23
- stroke-width: ${n.axisStrokeWidth};
24
- }
25
- .radarAxisLabel {
26
- dominant-baseline: middle;
27
- text-anchor: middle;
28
- font-size: ${n.axisLabelFontSize}px;
29
- color: ${n.axisColor};
30
- }
31
- .radarGraticule {
32
- fill: ${n.graticuleColor};
33
- fill-opacity: ${n.graticuleOpacity};
34
- stroke: ${n.graticuleColor};
35
- stroke-width: ${n.graticuleStrokeWidth};
36
- }
37
- .radarLegendText {
38
- text-anchor: start;
39
- font-size: ${n.legendFontSize}px;
40
- dominant-baseline: hanging;
41
- }
42
- ${k(t,n)}
43
- `},`styles`)};exports.diagram=j;
44
- //# sourceMappingURL=diagram-IFDJBPK2-CriVAAmI.cjs.map