@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,2004 +0,0 @@
1
- import { g as e, h as t } from "./src-Dm6r9c7l.js";
2
- import { B as n, C as r, V as i, W as a, _ as o, a as s, b as c, s as l, v as u } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
- import { h as d, o as f } from "./chunk-GEFDOKGD-BNgT40Ex.js";
4
- import { r as p } from "./chunk-GLR3WWYH-kyo6BUtq.js";
5
- import { t as m } from "./chunk-55IACEB6-Pcyz_aR_.js";
6
- import { t as h } from "./chunk-KX2RTZJC-D-bUTSNy.js";
7
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-NQ4KR5QH.mjs
8
- var g = (function() {
9
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
10
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
- return n;
12
- }, "o"), n = [1, 2], r = [1, 3], i = [1, 4], a = [2, 4], o = [1, 9], s = [1, 11], c = [1, 16], l = [1, 17], u = [1, 18], d = [1, 19], f = [1, 33], p = [1, 20], m = [1, 21], h = [1, 22], g = [1, 23], _ = [1, 24], v = [1, 26], y = [1, 27], b = [1, 28], x = [1, 29], S = [1, 30], C = [1, 31], w = [1, 32], T = [1, 35], E = [1, 36], D = [1, 37], O = [1, 38], k = [1, 34], A = [
13
- 1,
14
- 4,
15
- 5,
16
- 16,
17
- 17,
18
- 19,
19
- 21,
20
- 22,
21
- 24,
22
- 25,
23
- 26,
24
- 27,
25
- 28,
26
- 29,
27
- 33,
28
- 35,
29
- 37,
30
- 38,
31
- 41,
32
- 45,
33
- 48,
34
- 51,
35
- 52,
36
- 53,
37
- 54,
38
- 57
39
- ], j = [
40
- 1,
41
- 4,
42
- 5,
43
- 14,
44
- 15,
45
- 16,
46
- 17,
47
- 19,
48
- 21,
49
- 22,
50
- 24,
51
- 25,
52
- 26,
53
- 27,
54
- 28,
55
- 29,
56
- 33,
57
- 35,
58
- 37,
59
- 38,
60
- 39,
61
- 40,
62
- 41,
63
- 45,
64
- 48,
65
- 51,
66
- 52,
67
- 53,
68
- 54,
69
- 57
70
- ], M = [
71
- 4,
72
- 5,
73
- 16,
74
- 17,
75
- 19,
76
- 21,
77
- 22,
78
- 24,
79
- 25,
80
- 26,
81
- 27,
82
- 28,
83
- 29,
84
- 33,
85
- 35,
86
- 37,
87
- 38,
88
- 41,
89
- 45,
90
- 48,
91
- 51,
92
- 52,
93
- 53,
94
- 54,
95
- 57
96
- ], N = {
97
- trace: /* @__PURE__ */ t(function() {}, "trace"),
98
- yy: {},
99
- symbols_: {
100
- error: 2,
101
- start: 3,
102
- SPACE: 4,
103
- NL: 5,
104
- SD: 6,
105
- document: 7,
106
- line: 8,
107
- statement: 9,
108
- classDefStatement: 10,
109
- styleStatement: 11,
110
- cssClassStatement: 12,
111
- idStatement: 13,
112
- DESCR: 14,
113
- "-->": 15,
114
- HIDE_EMPTY: 16,
115
- scale: 17,
116
- WIDTH: 18,
117
- COMPOSIT_STATE: 19,
118
- STRUCT_START: 20,
119
- STRUCT_STOP: 21,
120
- STATE_DESCR: 22,
121
- AS: 23,
122
- ID: 24,
123
- FORK: 25,
124
- JOIN: 26,
125
- CHOICE: 27,
126
- CONCURRENT: 28,
127
- note: 29,
128
- notePosition: 30,
129
- NOTE_TEXT: 31,
130
- direction: 32,
131
- acc_title: 33,
132
- acc_title_value: 34,
133
- acc_descr: 35,
134
- acc_descr_value: 36,
135
- acc_descr_multiline_value: 37,
136
- CLICK: 38,
137
- STRING: 39,
138
- HREF: 40,
139
- classDef: 41,
140
- CLASSDEF_ID: 42,
141
- CLASSDEF_STYLEOPTS: 43,
142
- DEFAULT: 44,
143
- style: 45,
144
- STYLE_IDS: 46,
145
- STYLEDEF_STYLEOPTS: 47,
146
- class: 48,
147
- CLASSENTITY_IDS: 49,
148
- STYLECLASS: 50,
149
- direction_tb: 51,
150
- direction_bt: 52,
151
- direction_rl: 53,
152
- direction_lr: 54,
153
- eol: 55,
154
- ";": 56,
155
- EDGE_STATE: 57,
156
- STYLE_SEPARATOR: 58,
157
- left_of: 59,
158
- right_of: 60,
159
- $accept: 0,
160
- $end: 1
161
- },
162
- terminals_: {
163
- 2: "error",
164
- 4: "SPACE",
165
- 5: "NL",
166
- 6: "SD",
167
- 14: "DESCR",
168
- 15: "-->",
169
- 16: "HIDE_EMPTY",
170
- 17: "scale",
171
- 18: "WIDTH",
172
- 19: "COMPOSIT_STATE",
173
- 20: "STRUCT_START",
174
- 21: "STRUCT_STOP",
175
- 22: "STATE_DESCR",
176
- 23: "AS",
177
- 24: "ID",
178
- 25: "FORK",
179
- 26: "JOIN",
180
- 27: "CHOICE",
181
- 28: "CONCURRENT",
182
- 29: "note",
183
- 31: "NOTE_TEXT",
184
- 33: "acc_title",
185
- 34: "acc_title_value",
186
- 35: "acc_descr",
187
- 36: "acc_descr_value",
188
- 37: "acc_descr_multiline_value",
189
- 38: "CLICK",
190
- 39: "STRING",
191
- 40: "HREF",
192
- 41: "classDef",
193
- 42: "CLASSDEF_ID",
194
- 43: "CLASSDEF_STYLEOPTS",
195
- 44: "DEFAULT",
196
- 45: "style",
197
- 46: "STYLE_IDS",
198
- 47: "STYLEDEF_STYLEOPTS",
199
- 48: "class",
200
- 49: "CLASSENTITY_IDS",
201
- 50: "STYLECLASS",
202
- 51: "direction_tb",
203
- 52: "direction_bt",
204
- 53: "direction_rl",
205
- 54: "direction_lr",
206
- 56: ";",
207
- 57: "EDGE_STATE",
208
- 58: "STYLE_SEPARATOR",
209
- 59: "left_of",
210
- 60: "right_of"
211
- },
212
- productions_: [
213
- 0,
214
- [3, 2],
215
- [3, 2],
216
- [3, 2],
217
- [7, 0],
218
- [7, 2],
219
- [8, 2],
220
- [8, 1],
221
- [8, 1],
222
- [9, 1],
223
- [9, 1],
224
- [9, 1],
225
- [9, 1],
226
- [9, 2],
227
- [9, 3],
228
- [9, 4],
229
- [9, 1],
230
- [9, 2],
231
- [9, 1],
232
- [9, 4],
233
- [9, 3],
234
- [9, 6],
235
- [9, 1],
236
- [9, 1],
237
- [9, 1],
238
- [9, 1],
239
- [9, 4],
240
- [9, 4],
241
- [9, 1],
242
- [9, 2],
243
- [9, 2],
244
- [9, 1],
245
- [9, 5],
246
- [9, 5],
247
- [10, 3],
248
- [10, 3],
249
- [11, 3],
250
- [12, 3],
251
- [32, 1],
252
- [32, 1],
253
- [32, 1],
254
- [32, 1],
255
- [55, 1],
256
- [55, 1],
257
- [13, 1],
258
- [13, 1],
259
- [13, 3],
260
- [13, 3],
261
- [30, 1],
262
- [30, 1]
263
- ],
264
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
265
- var s = a.length - 1;
266
- switch (i) {
267
- case 3: return r.setRootDoc(a[s]), a[s];
268
- case 4:
269
- this.$ = [];
270
- break;
271
- case 5:
272
- a[s] != "nl" && (a[s - 1].push(a[s]), this.$ = a[s - 1]);
273
- break;
274
- case 6:
275
- case 7:
276
- this.$ = a[s];
277
- break;
278
- case 8:
279
- this.$ = "nl";
280
- break;
281
- case 12:
282
- this.$ = a[s];
283
- break;
284
- case 13:
285
- let e = a[s - 1];
286
- e.description = r.trimColon(a[s]), this.$ = e;
287
- break;
288
- case 14:
289
- this.$ = {
290
- stmt: "relation",
291
- state1: a[s - 2],
292
- state2: a[s]
293
- };
294
- break;
295
- case 15:
296
- let t = r.trimColon(a[s]);
297
- this.$ = {
298
- stmt: "relation",
299
- state1: a[s - 3],
300
- state2: a[s - 1],
301
- description: t
302
- };
303
- break;
304
- case 19:
305
- this.$ = {
306
- stmt: "state",
307
- id: a[s - 3],
308
- type: "default",
309
- description: "",
310
- doc: a[s - 1]
311
- };
312
- break;
313
- case 20:
314
- var c = a[s], l = a[s - 2].trim();
315
- if (a[s].match(":")) {
316
- var u = a[s].split(":");
317
- c = u[0], l = [l, u[1]];
318
- }
319
- this.$ = {
320
- stmt: "state",
321
- id: c,
322
- type: "default",
323
- description: l
324
- };
325
- break;
326
- case 21:
327
- this.$ = {
328
- stmt: "state",
329
- id: a[s - 3],
330
- type: "default",
331
- description: a[s - 5],
332
- doc: a[s - 1]
333
- };
334
- break;
335
- case 22:
336
- this.$ = {
337
- stmt: "state",
338
- id: a[s],
339
- type: "fork"
340
- };
341
- break;
342
- case 23:
343
- this.$ = {
344
- stmt: "state",
345
- id: a[s],
346
- type: "join"
347
- };
348
- break;
349
- case 24:
350
- this.$ = {
351
- stmt: "state",
352
- id: a[s],
353
- type: "choice"
354
- };
355
- break;
356
- case 25:
357
- this.$ = {
358
- stmt: "state",
359
- id: r.getDividerId(),
360
- type: "divider"
361
- };
362
- break;
363
- case 26:
364
- this.$ = {
365
- stmt: "state",
366
- id: a[s - 1].trim(),
367
- note: {
368
- position: a[s - 2].trim(),
369
- text: a[s].trim()
370
- }
371
- };
372
- break;
373
- case 29:
374
- this.$ = a[s].trim(), r.setAccTitle(this.$);
375
- break;
376
- case 30:
377
- case 31:
378
- this.$ = a[s].trim(), r.setAccDescription(this.$);
379
- break;
380
- case 32:
381
- this.$ = {
382
- stmt: "click",
383
- id: a[s - 3],
384
- url: a[s - 2],
385
- tooltip: a[s - 1]
386
- };
387
- break;
388
- case 33:
389
- this.$ = {
390
- stmt: "click",
391
- id: a[s - 3],
392
- url: a[s - 1],
393
- tooltip: ""
394
- };
395
- break;
396
- case 34:
397
- case 35:
398
- this.$ = {
399
- stmt: "classDef",
400
- id: a[s - 1].trim(),
401
- classes: a[s].trim()
402
- };
403
- break;
404
- case 36:
405
- this.$ = {
406
- stmt: "style",
407
- id: a[s - 1].trim(),
408
- styleClass: a[s].trim()
409
- };
410
- break;
411
- case 37:
412
- this.$ = {
413
- stmt: "applyClass",
414
- id: a[s - 1].trim(),
415
- styleClass: a[s].trim()
416
- };
417
- break;
418
- case 38:
419
- r.setDirection("TB"), this.$ = {
420
- stmt: "dir",
421
- value: "TB"
422
- };
423
- break;
424
- case 39:
425
- r.setDirection("BT"), this.$ = {
426
- stmt: "dir",
427
- value: "BT"
428
- };
429
- break;
430
- case 40:
431
- r.setDirection("RL"), this.$ = {
432
- stmt: "dir",
433
- value: "RL"
434
- };
435
- break;
436
- case 41:
437
- r.setDirection("LR"), this.$ = {
438
- stmt: "dir",
439
- value: "LR"
440
- };
441
- break;
442
- case 44:
443
- case 45:
444
- this.$ = {
445
- stmt: "state",
446
- id: a[s].trim(),
447
- type: "default",
448
- description: ""
449
- };
450
- break;
451
- case 46:
452
- this.$ = {
453
- stmt: "state",
454
- id: a[s - 2].trim(),
455
- classes: [a[s].trim()],
456
- type: "default",
457
- description: ""
458
- };
459
- break;
460
- case 47:
461
- this.$ = {
462
- stmt: "state",
463
- id: a[s - 2].trim(),
464
- classes: [a[s].trim()],
465
- type: "default",
466
- description: ""
467
- };
468
- break;
469
- }
470
- }, "anonymous"),
471
- table: [
472
- {
473
- 3: 1,
474
- 4: n,
475
- 5: r,
476
- 6: i
477
- },
478
- { 1: [3] },
479
- {
480
- 3: 5,
481
- 4: n,
482
- 5: r,
483
- 6: i
484
- },
485
- {
486
- 3: 6,
487
- 4: n,
488
- 5: r,
489
- 6: i
490
- },
491
- e([
492
- 1,
493
- 4,
494
- 5,
495
- 16,
496
- 17,
497
- 19,
498
- 22,
499
- 24,
500
- 25,
501
- 26,
502
- 27,
503
- 28,
504
- 29,
505
- 33,
506
- 35,
507
- 37,
508
- 38,
509
- 41,
510
- 45,
511
- 48,
512
- 51,
513
- 52,
514
- 53,
515
- 54,
516
- 57
517
- ], a, { 7: 7 }),
518
- { 1: [2, 1] },
519
- { 1: [2, 2] },
520
- {
521
- 1: [2, 3],
522
- 4: o,
523
- 5: s,
524
- 8: 8,
525
- 9: 10,
526
- 10: 12,
527
- 11: 13,
528
- 12: 14,
529
- 13: 15,
530
- 16: c,
531
- 17: l,
532
- 19: u,
533
- 22: d,
534
- 24: f,
535
- 25: p,
536
- 26: m,
537
- 27: h,
538
- 28: g,
539
- 29: _,
540
- 32: 25,
541
- 33: v,
542
- 35: y,
543
- 37: b,
544
- 38: x,
545
- 41: S,
546
- 45: C,
547
- 48: w,
548
- 51: T,
549
- 52: E,
550
- 53: D,
551
- 54: O,
552
- 57: k
553
- },
554
- e(A, [2, 5]),
555
- {
556
- 9: 39,
557
- 10: 12,
558
- 11: 13,
559
- 12: 14,
560
- 13: 15,
561
- 16: c,
562
- 17: l,
563
- 19: u,
564
- 22: d,
565
- 24: f,
566
- 25: p,
567
- 26: m,
568
- 27: h,
569
- 28: g,
570
- 29: _,
571
- 32: 25,
572
- 33: v,
573
- 35: y,
574
- 37: b,
575
- 38: x,
576
- 41: S,
577
- 45: C,
578
- 48: w,
579
- 51: T,
580
- 52: E,
581
- 53: D,
582
- 54: O,
583
- 57: k
584
- },
585
- e(A, [2, 7]),
586
- e(A, [2, 8]),
587
- e(A, [2, 9]),
588
- e(A, [2, 10]),
589
- e(A, [2, 11]),
590
- e(A, [2, 12], {
591
- 14: [1, 40],
592
- 15: [1, 41]
593
- }),
594
- e(A, [2, 16]),
595
- { 18: [1, 42] },
596
- e(A, [2, 18], { 20: [1, 43] }),
597
- { 23: [1, 44] },
598
- e(A, [2, 22]),
599
- e(A, [2, 23]),
600
- e(A, [2, 24]),
601
- e(A, [2, 25]),
602
- {
603
- 30: 45,
604
- 31: [1, 46],
605
- 59: [1, 47],
606
- 60: [1, 48]
607
- },
608
- e(A, [2, 28]),
609
- { 34: [1, 49] },
610
- { 36: [1, 50] },
611
- e(A, [2, 31]),
612
- {
613
- 13: 51,
614
- 24: f,
615
- 57: k
616
- },
617
- {
618
- 42: [1, 52],
619
- 44: [1, 53]
620
- },
621
- { 46: [1, 54] },
622
- { 49: [1, 55] },
623
- e(j, [2, 44], { 58: [1, 56] }),
624
- e(j, [2, 45], { 58: [1, 57] }),
625
- e(A, [2, 38]),
626
- e(A, [2, 39]),
627
- e(A, [2, 40]),
628
- e(A, [2, 41]),
629
- e(A, [2, 6]),
630
- e(A, [2, 13]),
631
- {
632
- 13: 58,
633
- 24: f,
634
- 57: k
635
- },
636
- e(A, [2, 17]),
637
- e(M, a, { 7: 59 }),
638
- { 24: [1, 60] },
639
- { 24: [1, 61] },
640
- { 23: [1, 62] },
641
- { 24: [2, 48] },
642
- { 24: [2, 49] },
643
- e(A, [2, 29]),
644
- e(A, [2, 30]),
645
- {
646
- 39: [1, 63],
647
- 40: [1, 64]
648
- },
649
- { 43: [1, 65] },
650
- { 43: [1, 66] },
651
- { 47: [1, 67] },
652
- { 50: [1, 68] },
653
- { 24: [1, 69] },
654
- { 24: [1, 70] },
655
- e(A, [2, 14], { 14: [1, 71] }),
656
- {
657
- 4: o,
658
- 5: s,
659
- 8: 8,
660
- 9: 10,
661
- 10: 12,
662
- 11: 13,
663
- 12: 14,
664
- 13: 15,
665
- 16: c,
666
- 17: l,
667
- 19: u,
668
- 21: [1, 72],
669
- 22: d,
670
- 24: f,
671
- 25: p,
672
- 26: m,
673
- 27: h,
674
- 28: g,
675
- 29: _,
676
- 32: 25,
677
- 33: v,
678
- 35: y,
679
- 37: b,
680
- 38: x,
681
- 41: S,
682
- 45: C,
683
- 48: w,
684
- 51: T,
685
- 52: E,
686
- 53: D,
687
- 54: O,
688
- 57: k
689
- },
690
- e(A, [2, 20], { 20: [1, 73] }),
691
- { 31: [1, 74] },
692
- { 24: [1, 75] },
693
- { 39: [1, 76] },
694
- { 39: [1, 77] },
695
- e(A, [2, 34]),
696
- e(A, [2, 35]),
697
- e(A, [2, 36]),
698
- e(A, [2, 37]),
699
- e(j, [2, 46]),
700
- e(j, [2, 47]),
701
- e(A, [2, 15]),
702
- e(A, [2, 19]),
703
- e(M, a, { 7: 78 }),
704
- e(A, [2, 26]),
705
- e(A, [2, 27]),
706
- { 5: [1, 79] },
707
- { 5: [1, 80] },
708
- {
709
- 4: o,
710
- 5: s,
711
- 8: 8,
712
- 9: 10,
713
- 10: 12,
714
- 11: 13,
715
- 12: 14,
716
- 13: 15,
717
- 16: c,
718
- 17: l,
719
- 19: u,
720
- 21: [1, 81],
721
- 22: d,
722
- 24: f,
723
- 25: p,
724
- 26: m,
725
- 27: h,
726
- 28: g,
727
- 29: _,
728
- 32: 25,
729
- 33: v,
730
- 35: y,
731
- 37: b,
732
- 38: x,
733
- 41: S,
734
- 45: C,
735
- 48: w,
736
- 51: T,
737
- 52: E,
738
- 53: D,
739
- 54: O,
740
- 57: k
741
- },
742
- e(A, [2, 32]),
743
- e(A, [2, 33]),
744
- e(A, [2, 21])
745
- ],
746
- defaultActions: {
747
- 5: [2, 1],
748
- 6: [2, 2],
749
- 47: [2, 48],
750
- 48: [2, 49]
751
- },
752
- parseError: /* @__PURE__ */ t(function(e, t) {
753
- if (t.recoverable) this.trace(e);
754
- else {
755
- var n = Error(e);
756
- throw n.hash = t, n;
757
- }
758
- }, "parseError"),
759
- parse: /* @__PURE__ */ t(function(e) {
760
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
761
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
762
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
763
- var v = h.yylloc;
764
- o.push(v);
765
- var y = h.options && h.options.ranges;
766
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
767
- function b(e) {
768
- r.length -= 2 * e, a.length -= e, o.length -= e;
769
- }
770
- t(b, "popStack");
771
- function x() {
772
- var e = i.pop() || h.lex() || p;
773
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
774
- }
775
- t(x, "lex");
776
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
777
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
778
- var M = "";
779
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
780
- M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
781
- text: h.match,
782
- token: this.terminals_[S] || S,
783
- line: h.yylineno,
784
- loc: v,
785
- expected: j
786
- });
787
- }
788
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
789
- switch (T[0]) {
790
- case 1:
791
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
792
- break;
793
- case 2:
794
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
795
- first_line: o[o.length - (k || 1)].first_line,
796
- last_line: o[o.length - 1].last_line,
797
- first_column: o[o.length - (k || 1)].first_column,
798
- last_column: o[o.length - 1].last_column
799
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
800
- c,
801
- u,
802
- l,
803
- g.yy,
804
- T[1],
805
- a,
806
- o
807
- ].concat(m)), E !== void 0) return E;
808
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
809
- break;
810
- case 3: return !0;
811
- }
812
- }
813
- return !0;
814
- }, "parse")
815
- };
816
- N.lexer = /* @__PURE__ */ (function() {
817
- return {
818
- EOF: 1,
819
- parseError: /* @__PURE__ */ t(function(e, t) {
820
- if (this.yy.parser) this.yy.parser.parseError(e, t);
821
- else throw Error(e);
822
- }, "parseError"),
823
- setInput: /* @__PURE__ */ t(function(e, t) {
824
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
825
- first_line: 1,
826
- first_column: 0,
827
- last_line: 1,
828
- last_column: 0
829
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
830
- }, "setInput"),
831
- input: /* @__PURE__ */ t(function() {
832
- var e = this._input[0];
833
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
834
- }, "input"),
835
- unput: /* @__PURE__ */ t(function(e) {
836
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
837
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
838
- var r = this.match.split(/(?:\r\n?|\n)/g);
839
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
840
- var i = this.yylloc.range;
841
- return this.yylloc = {
842
- first_line: this.yylloc.first_line,
843
- last_line: this.yylineno + 1,
844
- first_column: this.yylloc.first_column,
845
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
846
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
847
- }, "unput"),
848
- more: /* @__PURE__ */ t(function() {
849
- return this._more = !0, this;
850
- }, "more"),
851
- reject: /* @__PURE__ */ t(function() {
852
- if (this.options.backtrack_lexer) this._backtrack = !0;
853
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
854
- text: "",
855
- token: null,
856
- line: this.yylineno
857
- });
858
- return this;
859
- }, "reject"),
860
- less: /* @__PURE__ */ t(function(e) {
861
- this.unput(this.match.slice(e));
862
- }, "less"),
863
- pastInput: /* @__PURE__ */ t(function() {
864
- var e = this.matched.substr(0, this.matched.length - this.match.length);
865
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
866
- }, "pastInput"),
867
- upcomingInput: /* @__PURE__ */ t(function() {
868
- var e = this.match;
869
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
870
- }, "upcomingInput"),
871
- showPosition: /* @__PURE__ */ t(function() {
872
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
873
- return e + this.upcomingInput() + "\n" + t + "^";
874
- }, "showPosition"),
875
- test_match: /* @__PURE__ */ t(function(e, t) {
876
- var n, r, i;
877
- if (this.options.backtrack_lexer && (i = {
878
- yylineno: this.yylineno,
879
- yylloc: {
880
- first_line: this.yylloc.first_line,
881
- last_line: this.last_line,
882
- first_column: this.yylloc.first_column,
883
- last_column: this.yylloc.last_column
884
- },
885
- yytext: this.yytext,
886
- match: this.match,
887
- matches: this.matches,
888
- matched: this.matched,
889
- yyleng: this.yyleng,
890
- offset: this.offset,
891
- _more: this._more,
892
- _input: this._input,
893
- yy: this.yy,
894
- conditionStack: this.conditionStack.slice(0),
895
- done: this.done
896
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
897
- first_line: this.yylloc.last_line,
898
- last_line: this.yylineno + 1,
899
- first_column: this.yylloc.last_column,
900
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
901
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
902
- if (this._backtrack) {
903
- for (var a in i) this[a] = i[a];
904
- return !1;
905
- }
906
- return !1;
907
- }, "test_match"),
908
- next: /* @__PURE__ */ t(function() {
909
- if (this.done) return this.EOF;
910
- this._input || (this.done = !0);
911
- var e, t, n, r;
912
- this._more || (this.yytext = "", this.match = "");
913
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
914
- if (t = n, r = a, this.options.backtrack_lexer) {
915
- if (e = this.test_match(n, i[a]), e !== !1) return e;
916
- if (this._backtrack) {
917
- t = !1;
918
- continue;
919
- } else return !1;
920
- } else if (!this.options.flex) break;
921
- }
922
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
923
- text: "",
924
- token: null,
925
- line: this.yylineno
926
- });
927
- }, "next"),
928
- lex: /* @__PURE__ */ t(function() {
929
- return this.next() || this.lex();
930
- }, "lex"),
931
- begin: /* @__PURE__ */ t(function(e) {
932
- this.conditionStack.push(e);
933
- }, "begin"),
934
- popState: /* @__PURE__ */ t(function() {
935
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
936
- }, "popState"),
937
- _currentRules: /* @__PURE__ */ t(function() {
938
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
939
- }, "_currentRules"),
940
- topState: /* @__PURE__ */ t(function(e) {
941
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
942
- }, "topState"),
943
- pushState: /* @__PURE__ */ t(function(e) {
944
- this.begin(e);
945
- }, "pushState"),
946
- stateStackSize: /* @__PURE__ */ t(function() {
947
- return this.conditionStack.length;
948
- }, "stateStackSize"),
949
- options: { "case-insensitive": !0 },
950
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
951
- switch (n) {
952
- case 0: return 38;
953
- case 1: return 40;
954
- case 2: return 39;
955
- case 3: return 44;
956
- case 4: return 51;
957
- case 5: return 52;
958
- case 6: return 53;
959
- case 7: return 54;
960
- case 8: break;
961
- case 9: break;
962
- case 10: return 5;
963
- case 11: break;
964
- case 12: break;
965
- case 13: break;
966
- case 14: break;
967
- case 15: return this.pushState("SCALE"), 17;
968
- case 16: return 18;
969
- case 17:
970
- this.popState();
971
- break;
972
- case 18: return this.begin("acc_title"), 33;
973
- case 19: return this.popState(), "acc_title_value";
974
- case 20: return this.begin("acc_descr"), 35;
975
- case 21: return this.popState(), "acc_descr_value";
976
- case 22:
977
- this.begin("acc_descr_multiline");
978
- break;
979
- case 23:
980
- this.popState();
981
- break;
982
- case 24: return "acc_descr_multiline_value";
983
- case 25: return this.pushState("CLASSDEF"), 41;
984
- case 26: return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
985
- case 27: return this.popState(), this.pushState("CLASSDEFID"), 42;
986
- case 28: return this.popState(), 43;
987
- case 29: return this.pushState("CLASS"), 48;
988
- case 30: return this.popState(), this.pushState("CLASS_STYLE"), 49;
989
- case 31: return this.popState(), 50;
990
- case 32: return this.pushState("STYLE"), 45;
991
- case 33: return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
992
- case 34: return this.popState(), 47;
993
- case 35: return this.pushState("SCALE"), 17;
994
- case 36: return 18;
995
- case 37:
996
- this.popState();
997
- break;
998
- case 38:
999
- this.pushState("STATE");
1000
- break;
1001
- case 39: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
1002
- case 40: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
1003
- case 41: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
1004
- case 42: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
1005
- case 43: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
1006
- case 44: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
1007
- case 45: return 51;
1008
- case 46: return 52;
1009
- case 47: return 53;
1010
- case 48: return 54;
1011
- case 49:
1012
- this.pushState("STATE_STRING");
1013
- break;
1014
- case 50: return this.pushState("STATE_ID"), "AS";
1015
- case 51: return this.popState(), "ID";
1016
- case 52:
1017
- this.popState();
1018
- break;
1019
- case 53: return "STATE_DESCR";
1020
- case 54: return 19;
1021
- case 55:
1022
- this.popState();
1023
- break;
1024
- case 56: return this.popState(), this.pushState("struct"), 20;
1025
- case 57: break;
1026
- case 58: return this.popState(), 21;
1027
- case 59: break;
1028
- case 60: return this.begin("NOTE"), 29;
1029
- case 61: return this.popState(), this.pushState("NOTE_ID"), 59;
1030
- case 62: return this.popState(), this.pushState("NOTE_ID"), 60;
1031
- case 63:
1032
- this.popState(), this.pushState("FLOATING_NOTE");
1033
- break;
1034
- case 64: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1035
- case 65: break;
1036
- case 66: return "NOTE_TEXT";
1037
- case 67: return this.popState(), "ID";
1038
- case 68: return this.popState(), this.pushState("NOTE_TEXT"), 24;
1039
- case 69: return this.popState(), t.yytext = t.yytext.substr(2).trim(), 31;
1040
- case 70: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 31;
1041
- case 71: return 6;
1042
- case 72: return 6;
1043
- case 73: return 16;
1044
- case 74: return 57;
1045
- case 75: return 24;
1046
- case 76: return t.yytext = t.yytext.trim(), 14;
1047
- case 77: return 15;
1048
- case 78: return 28;
1049
- case 79: return 58;
1050
- case 80: return 5;
1051
- case 81: return "INVALID";
1052
- }
1053
- }, "anonymous"),
1054
- rules: [
1055
- /^(?:click\b)/i,
1056
- /^(?:href\b)/i,
1057
- /^(?:"[^"]*")/i,
1058
- /^(?:default\b)/i,
1059
- /^(?:.*direction\s+TB[^\n]*)/i,
1060
- /^(?:.*direction\s+BT[^\n]*)/i,
1061
- /^(?:.*direction\s+RL[^\n]*)/i,
1062
- /^(?:.*direction\s+LR[^\n]*)/i,
1063
- /^(?:%%(?!\{)[^\n]*)/i,
1064
- /^(?:[^\}]%%[^\n]*)/i,
1065
- /^(?:[\n]+)/i,
1066
- /^(?:[\s]+)/i,
1067
- /^(?:((?!\n)\s)+)/i,
1068
- /^(?:#[^\n]*)/i,
1069
- /^(?:%[^\n]*)/i,
1070
- /^(?:scale\s+)/i,
1071
- /^(?:\d+)/i,
1072
- /^(?:\s+width\b)/i,
1073
- /^(?:accTitle\s*:\s*)/i,
1074
- /^(?:(?!\n||)*[^\n]*)/i,
1075
- /^(?:accDescr\s*:\s*)/i,
1076
- /^(?:(?!\n||)*[^\n]*)/i,
1077
- /^(?:accDescr\s*\{\s*)/i,
1078
- /^(?:[\}])/i,
1079
- /^(?:[^\}]*)/i,
1080
- /^(?:classDef\s+)/i,
1081
- /^(?:DEFAULT\s+)/i,
1082
- /^(?:\w+\s+)/i,
1083
- /^(?:[^\n]*)/i,
1084
- /^(?:class\s+)/i,
1085
- /^(?:(\w+)+((,\s*\w+)*))/i,
1086
- /^(?:[^\n]*)/i,
1087
- /^(?:style\s+)/i,
1088
- /^(?:[\w,]+\s+)/i,
1089
- /^(?:[^\n]*)/i,
1090
- /^(?:scale\s+)/i,
1091
- /^(?:\d+)/i,
1092
- /^(?:\s+width\b)/i,
1093
- /^(?:state\s+)/i,
1094
- /^(?:.*<<fork>>)/i,
1095
- /^(?:.*<<join>>)/i,
1096
- /^(?:.*<<choice>>)/i,
1097
- /^(?:.*\[\[fork\]\])/i,
1098
- /^(?:.*\[\[join\]\])/i,
1099
- /^(?:.*\[\[choice\]\])/i,
1100
- /^(?:.*direction\s+TB[^\n]*)/i,
1101
- /^(?:.*direction\s+BT[^\n]*)/i,
1102
- /^(?:.*direction\s+RL[^\n]*)/i,
1103
- /^(?:.*direction\s+LR[^\n]*)/i,
1104
- /^(?:["])/i,
1105
- /^(?:\s*as\s+)/i,
1106
- /^(?:[^\n\{]*)/i,
1107
- /^(?:["])/i,
1108
- /^(?:[^"]*)/i,
1109
- /^(?:[^\n\s\{]+)/i,
1110
- /^(?:\n)/i,
1111
- /^(?:\{)/i,
1112
- /^(?:%%(?!\{)[^\n]*)/i,
1113
- /^(?:\})/i,
1114
- /^(?:[\n])/i,
1115
- /^(?:note\s+)/i,
1116
- /^(?:left of\b)/i,
1117
- /^(?:right of\b)/i,
1118
- /^(?:")/i,
1119
- /^(?:\s*as\s*)/i,
1120
- /^(?:["])/i,
1121
- /^(?:[^"]*)/i,
1122
- /^(?:[^\n]*)/i,
1123
- /^(?:\s*[^:\n\s\-]+)/i,
1124
- /^(?:\s*:[^:\n;]+)/i,
1125
- /^(?:[\s\S]*?end note\b)/i,
1126
- /^(?:stateDiagram\s+)/i,
1127
- /^(?:stateDiagram-v2\s+)/i,
1128
- /^(?:hide empty description\b)/i,
1129
- /^(?:\[\*\])/i,
1130
- /^(?:[^:\n\s\-\{]+)/i,
1131
- /^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,
1132
- /^(?:-->)/i,
1133
- /^(?:--)/i,
1134
- /^(?::::)/i,
1135
- /^(?:$)/i,
1136
- /^(?:.)/i
1137
- ],
1138
- conditions: {
1139
- LINE: {
1140
- rules: [12, 13],
1141
- inclusive: !1
1142
- },
1143
- struct: {
1144
- rules: [
1145
- 12,
1146
- 13,
1147
- 25,
1148
- 29,
1149
- 32,
1150
- 38,
1151
- 45,
1152
- 46,
1153
- 47,
1154
- 48,
1155
- 57,
1156
- 58,
1157
- 59,
1158
- 60,
1159
- 74,
1160
- 75,
1161
- 76,
1162
- 77,
1163
- 78
1164
- ],
1165
- inclusive: !1
1166
- },
1167
- FLOATING_NOTE_ID: {
1168
- rules: [67],
1169
- inclusive: !1
1170
- },
1171
- FLOATING_NOTE: {
1172
- rules: [
1173
- 64,
1174
- 65,
1175
- 66
1176
- ],
1177
- inclusive: !1
1178
- },
1179
- NOTE_TEXT: {
1180
- rules: [69, 70],
1181
- inclusive: !1
1182
- },
1183
- NOTE_ID: {
1184
- rules: [68],
1185
- inclusive: !1
1186
- },
1187
- NOTE: {
1188
- rules: [
1189
- 61,
1190
- 62,
1191
- 63
1192
- ],
1193
- inclusive: !1
1194
- },
1195
- STYLEDEF_STYLEOPTS: {
1196
- rules: [],
1197
- inclusive: !1
1198
- },
1199
- STYLEDEF_STYLES: {
1200
- rules: [34],
1201
- inclusive: !1
1202
- },
1203
- STYLE_IDS: {
1204
- rules: [],
1205
- inclusive: !1
1206
- },
1207
- STYLE: {
1208
- rules: [33],
1209
- inclusive: !1
1210
- },
1211
- CLASS_STYLE: {
1212
- rules: [31],
1213
- inclusive: !1
1214
- },
1215
- CLASS: {
1216
- rules: [30],
1217
- inclusive: !1
1218
- },
1219
- CLASSDEFID: {
1220
- rules: [28],
1221
- inclusive: !1
1222
- },
1223
- CLASSDEF: {
1224
- rules: [26, 27],
1225
- inclusive: !1
1226
- },
1227
- acc_descr_multiline: {
1228
- rules: [23, 24],
1229
- inclusive: !1
1230
- },
1231
- acc_descr: {
1232
- rules: [21],
1233
- inclusive: !1
1234
- },
1235
- acc_title: {
1236
- rules: [19],
1237
- inclusive: !1
1238
- },
1239
- SCALE: {
1240
- rules: [
1241
- 16,
1242
- 17,
1243
- 36,
1244
- 37
1245
- ],
1246
- inclusive: !1
1247
- },
1248
- ALIAS: {
1249
- rules: [],
1250
- inclusive: !1
1251
- },
1252
- STATE_ID: {
1253
- rules: [51],
1254
- inclusive: !1
1255
- },
1256
- STATE_STRING: {
1257
- rules: [52, 53],
1258
- inclusive: !1
1259
- },
1260
- FORK_STATE: {
1261
- rules: [],
1262
- inclusive: !1
1263
- },
1264
- STATE: {
1265
- rules: [
1266
- 12,
1267
- 13,
1268
- 39,
1269
- 40,
1270
- 41,
1271
- 42,
1272
- 43,
1273
- 44,
1274
- 49,
1275
- 50,
1276
- 54,
1277
- 55,
1278
- 56
1279
- ],
1280
- inclusive: !1
1281
- },
1282
- ID: {
1283
- rules: [12, 13],
1284
- inclusive: !1
1285
- },
1286
- INITIAL: {
1287
- rules: [
1288
- 0,
1289
- 1,
1290
- 2,
1291
- 3,
1292
- 4,
1293
- 5,
1294
- 6,
1295
- 7,
1296
- 8,
1297
- 9,
1298
- 10,
1299
- 11,
1300
- 13,
1301
- 14,
1302
- 15,
1303
- 18,
1304
- 20,
1305
- 22,
1306
- 25,
1307
- 29,
1308
- 32,
1309
- 35,
1310
- 38,
1311
- 56,
1312
- 60,
1313
- 71,
1314
- 72,
1315
- 73,
1316
- 74,
1317
- 75,
1318
- 76,
1319
- 77,
1320
- 79,
1321
- 80,
1322
- 81
1323
- ],
1324
- inclusive: !0
1325
- }
1326
- }
1327
- };
1328
- })();
1329
- function P() {
1330
- this.yy = {};
1331
- }
1332
- return t(P, "Parser"), P.prototype = N, N.Parser = P, new P();
1333
- })();
1334
- g.parser = g;
1335
- var _ = g, v = "TB", y = "TB", b = "dir", x = "state", S = "root", C = "relation", w = "classDef", T = "style", E = "applyClass", D = "default", O = "divider", k = "fill:none", A = "fill: #333", j = "c", M = "markdown", N = "normal", P = "rect", F = "rectWithTitle", ee = "stateStart", te = "stateEnd", I = "divider", L = "roundedWithTitle", ne = "note", re = "noteGroup", R = "statediagram", ie = `${R}-state`, ae = "transition", oe = "note", se = `${ae} note-edge`, ce = `${R}-${oe}`, le = `${R}-cluster`, ue = `${R}-cluster-alt`, z = "parent", B = "note", de = "state", V = "----", fe = `${V}${B}`, H = `${V}${z}`, U = /* @__PURE__ */ t((e, t = y) => {
1336
- if (!e.doc) return t;
1337
- let n = t;
1338
- for (let t of e.doc) t.stmt === "dir" && (n = t.value);
1339
- return n;
1340
- }, "getDir"), pe = {
1341
- getClasses: /* @__PURE__ */ t(function(e, t) {
1342
- return t.db.getClasses();
1343
- }, "getClasses"),
1344
- draw: /* @__PURE__ */ t(async function(t, n, r, i) {
1345
- e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
1346
- let { securityLevel: a, state: o, layout: s } = c();
1347
- i.db.extract(i.db.getRootDocV2());
1348
- let l = i.db.getData(), u = m(n, a);
1349
- l.type = i.type, l.layoutAlgorithm = s, l.nodeSpacing = o?.nodeSpacing || 50, l.rankSpacing = o?.rankSpacing || 50, l.markers = ["barb"], l.diagramId = n, await p(l, u);
1350
- try {
1351
- (typeof i.db.getLinks == "function" ? i.db.getLinks() : /* @__PURE__ */ new Map()).forEach((t, n) => {
1352
- let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "";
1353
- if (!r) {
1354
- e.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(n));
1355
- return;
1356
- }
1357
- let i = u.node()?.querySelectorAll("g"), a;
1358
- if (i?.forEach((e) => {
1359
- e.textContent?.trim() === r && (a = e);
1360
- }), !a) {
1361
- e.warn("⚠️ Could not find node matching text:", r);
1362
- return;
1363
- }
1364
- let o = a.parentNode;
1365
- if (!o) {
1366
- e.warn("⚠️ Node has no parent, cannot wrap:", r);
1367
- return;
1368
- }
1369
- let s = document.createElementNS("http://www.w3.org/2000/svg", "a"), c = t.url.replace(/^"+|"+$/g, "");
1370
- if (s.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", c), s.setAttribute("target", "_blank"), t.tooltip) {
1371
- let e = t.tooltip.replace(/^"+|"+$/g, "");
1372
- s.setAttribute("title", e);
1373
- }
1374
- o.replaceChild(s, a), s.appendChild(a), e.info("🔗 Wrapped node in <a> tag for:", r, t.url);
1375
- });
1376
- } catch (t) {
1377
- e.error("❌ Error injecting clickable links:", t);
1378
- }
1379
- d.insertTitle(u, "statediagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), h(u, 8, R, o?.useMaxWidth ?? !0);
1380
- }, "draw"),
1381
- getDir: U
1382
- }, W = /* @__PURE__ */ new Map(), G = 0;
1383
- function K(e = "", t = 0, n = "", r = V) {
1384
- return `${de}-${e}${n !== null && n.length > 0 ? `${r}${n}` : ""}-${t}`;
1385
- }
1386
- t(K, "stateDomId");
1387
- var me = /* @__PURE__ */ t((t, n, r, i, a, o, s, u) => {
1388
- e.trace("items", n), n.forEach((e) => {
1389
- switch (e.stmt) {
1390
- case x:
1391
- X(t, e, r, i, a, o, s, u);
1392
- break;
1393
- case D:
1394
- X(t, e, r, i, a, o, s, u);
1395
- break;
1396
- case C:
1397
- {
1398
- X(t, e.state1, r, i, a, o, s, u), X(t, e.state2, r, i, a, o, s, u);
1399
- let n = {
1400
- id: "edge" + G,
1401
- start: e.state1.id,
1402
- end: e.state2.id,
1403
- arrowhead: "normal",
1404
- arrowTypeEnd: "arrow_barb",
1405
- style: k,
1406
- labelStyle: "",
1407
- label: l.sanitizeText(e.description ?? "", c()),
1408
- arrowheadStyle: A,
1409
- labelpos: j,
1410
- labelType: M,
1411
- thickness: N,
1412
- classes: ae,
1413
- look: s
1414
- };
1415
- a.push(n), G++;
1416
- }
1417
- break;
1418
- }
1419
- });
1420
- }, "setupDoc"), q = /* @__PURE__ */ t((e, t = y) => {
1421
- let n = t;
1422
- if (e.doc) for (let t of e.doc) t.stmt === "dir" && (n = t.value);
1423
- return n;
1424
- }, "getDir");
1425
- function J(e, t, n) {
1426
- if (!t.id || t.id === "</join></fork>" || t.id === "</choice>") return;
1427
- t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((e) => {
1428
- let r = n.get(e);
1429
- r && (t.cssCompiledStyles = [...t.cssCompiledStyles ?? [], ...r.styles]);
1430
- }));
1431
- let r = e.find((e) => e.id === t.id);
1432
- r ? Object.assign(r, t) : e.push(t);
1433
- }
1434
- t(J, "insertOrUpdateNode");
1435
- function Y(e) {
1436
- return e?.classes?.join(" ") ?? "";
1437
- }
1438
- t(Y, "getClassesFromDbInfo");
1439
- function he(e) {
1440
- return e?.styles ?? [];
1441
- }
1442
- t(he, "getStylesFromDbInfo");
1443
- var X = /* @__PURE__ */ t((t, n, r, i, a, o, s, u) => {
1444
- let d = n.id, f = r.get(d), p = Y(f), m = he(f), h = c();
1445
- if (e.info("dataFetcher parsedItem", n, f, m), d !== "root") {
1446
- let r = P;
1447
- n.start === !0 ? r = ee : n.start === !1 && (r = te), n.type !== D && (r = n.type), W.get(d) || W.set(d, {
1448
- id: d,
1449
- shape: r,
1450
- description: l.sanitizeText(d, h),
1451
- cssClasses: `${p} ${ie}`,
1452
- cssStyles: m
1453
- });
1454
- let c = W.get(d);
1455
- n.description && (Array.isArray(c.description) ? (c.shape = F, c.description.push(n.description)) : c.description?.length && c.description.length > 0 ? (c.shape = F, c.description === d ? c.description = [n.description] : c.description = [c.description, n.description]) : (c.shape = P, c.description = n.description), c.description = l.sanitizeTextOrArray(c.description, h)), c.description?.length === 1 && c.shape === F && (c.type === "group" ? c.shape = L : c.shape = P), !c.type && n.doc && (e.info("Setting cluster for XCX", d, q(n)), c.type = "group", c.isGroup = !0, c.dir = q(n), c.shape = n.type === O ? I : L, c.cssClasses = `${c.cssClasses} ${le} ${o ? ue : ""}`);
1456
- let f = {
1457
- labelStyle: "",
1458
- shape: c.shape,
1459
- label: c.description,
1460
- cssClasses: c.cssClasses,
1461
- cssCompiledStyles: [],
1462
- cssStyles: c.cssStyles,
1463
- id: d,
1464
- dir: c.dir,
1465
- domId: K(d, G),
1466
- type: c.type,
1467
- isGroup: c.type === "group",
1468
- padding: 8,
1469
- rx: 10,
1470
- ry: 10,
1471
- look: s,
1472
- labelType: "markdown"
1473
- };
1474
- if (f.shape === I && (f.label = ""), t && t.id !== "root" && (e.trace("Setting node ", d, " to be child of its parent ", t.id), f.parentId = t.id), f.centerLabel = !0, n.note) {
1475
- let e = {
1476
- labelStyle: "",
1477
- shape: ne,
1478
- label: n.note.text,
1479
- labelType: "markdown",
1480
- cssClasses: ce,
1481
- cssStyles: [],
1482
- cssCompiledStyles: [],
1483
- id: d + fe + "-" + G,
1484
- domId: K(d, G, B),
1485
- type: c.type,
1486
- isGroup: c.type === "group",
1487
- padding: h.flowchart?.padding,
1488
- look: s,
1489
- position: n.note.position
1490
- }, t = d + H, r = {
1491
- labelStyle: "",
1492
- shape: re,
1493
- label: n.note.text,
1494
- cssClasses: c.cssClasses,
1495
- cssStyles: [],
1496
- id: d + H,
1497
- domId: K(d, G, z),
1498
- type: "group",
1499
- isGroup: !0,
1500
- padding: 16,
1501
- look: s,
1502
- position: n.note.position
1503
- };
1504
- G++, r.id = t, e.parentId = t, J(i, r, u), J(i, e, u), J(i, f, u);
1505
- let o = d, l = e.id;
1506
- n.note.position === "left of" && (o = e.id, l = d), a.push({
1507
- id: o + "-" + l,
1508
- start: o,
1509
- end: l,
1510
- arrowhead: "none",
1511
- arrowTypeEnd: "",
1512
- style: k,
1513
- labelStyle: "",
1514
- classes: se,
1515
- arrowheadStyle: A,
1516
- labelpos: j,
1517
- labelType: M,
1518
- thickness: N,
1519
- look: s
1520
- });
1521
- } else J(i, f, u);
1522
- }
1523
- n.doc && (e.trace("Adding nodes children "), me(n, n.doc, r, i, a, !o, s, u));
1524
- }, "dataFetcher"), ge = /* @__PURE__ */ t(() => {
1525
- W.clear(), G = 0;
1526
- }, "reset"), Z = {
1527
- START_NODE: "[*]",
1528
- START_TYPE: "start",
1529
- END_NODE: "[*]",
1530
- END_TYPE: "end",
1531
- COLOR_KEYWORD: "color",
1532
- FILL_KEYWORD: "fill",
1533
- BG_FILL: "bgFill",
1534
- STYLECLASS_SEP: ","
1535
- }, _e = /* @__PURE__ */ t(() => /* @__PURE__ */ new Map(), "newClassesList"), Q = /* @__PURE__ */ t(() => ({
1536
- relations: [],
1537
- states: /* @__PURE__ */ new Map(),
1538
- documents: {}
1539
- }), "newDoc"), $ = /* @__PURE__ */ t((e) => JSON.parse(JSON.stringify(e)), "clone"), ve = class {
1540
- constructor(e) {
1541
- this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = _e(), this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = u, this.setAccTitle = i, this.getAccDescription = o, this.setAccDescription = n, this.setDiagramTitle = a, this.getDiagramTitle = r, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
1542
- }
1543
- static {
1544
- t(this, "StateDB");
1545
- }
1546
- static {
1547
- this.relationType = {
1548
- AGGREGATION: 0,
1549
- EXTENSION: 1,
1550
- COMPOSITION: 2,
1551
- DEPENDENCY: 3
1552
- };
1553
- }
1554
- extract(e) {
1555
- this.clear(!0);
1556
- for (let t of Array.isArray(e) ? e : e.doc) switch (t.stmt) {
1557
- case x:
1558
- this.addState(t.id.trim(), t.type, t.doc, t.description, t.note);
1559
- break;
1560
- case C:
1561
- this.addRelation(t.state1, t.state2, t.description);
1562
- break;
1563
- case w:
1564
- this.addStyleClass(t.id.trim(), t.classes);
1565
- break;
1566
- case T:
1567
- this.handleStyleDef(t);
1568
- break;
1569
- case E:
1570
- this.setCssClass(t.id.trim(), t.styleClass);
1571
- break;
1572
- case "click":
1573
- this.addLink(t.id, t.url, t.tooltip);
1574
- break;
1575
- }
1576
- let t = this.getStates(), n = c();
1577
- ge(), X(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
1578
- for (let e of this.nodes) if (Array.isArray(e.label)) {
1579
- if (e.description = e.label.slice(1), e.isGroup && e.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);
1580
- e.label = e.label[0];
1581
- }
1582
- }
1583
- handleStyleDef(e) {
1584
- let t = e.id.trim().split(","), n = e.styleClass.split(",");
1585
- for (let e of t) {
1586
- let t = this.getState(e);
1587
- if (!t) {
1588
- let n = e.trim();
1589
- this.addState(n), t = this.getState(n);
1590
- }
1591
- t && (t.styles = n.map((e) => e.replace(/;/g, "")?.trim()));
1592
- }
1593
- }
1594
- setRootDoc(t) {
1595
- e.info("Setting root doc", t), this.rootDoc = t, this.version === 1 ? this.extract(t) : this.extract(this.getRootDocV2());
1596
- }
1597
- docTranslator(e, t, n) {
1598
- if (t.stmt === C) {
1599
- this.docTranslator(e, t.state1, !0), this.docTranslator(e, t.state2, !1);
1600
- return;
1601
- }
1602
- if (t.stmt === x && (t.id === Z.START_NODE ? (t.id = e.id + (n ? "_start" : "_end"), t.start = n) : t.id = t.id.trim()), t.stmt !== S && t.stmt !== x || !t.doc) return;
1603
- let r = [], i = [];
1604
- for (let e of t.doc) if (e.type === O) {
1605
- let t = $(e);
1606
- t.doc = $(i), r.push(t), i = [];
1607
- } else i.push(e);
1608
- if (r.length > 0 && i.length > 0) {
1609
- let e = {
1610
- stmt: x,
1611
- id: f(),
1612
- type: "divider",
1613
- doc: $(i)
1614
- };
1615
- r.push($(e)), t.doc = r;
1616
- }
1617
- t.doc.forEach((e) => this.docTranslator(t, e, !0));
1618
- }
1619
- getRootDocV2() {
1620
- return this.docTranslator({
1621
- id: S,
1622
- stmt: S
1623
- }, {
1624
- id: S,
1625
- stmt: S,
1626
- doc: this.rootDoc
1627
- }, !0), {
1628
- id: S,
1629
- doc: this.rootDoc
1630
- };
1631
- }
1632
- addState(t, n = D, r = void 0, i = void 0, a = void 0, o = void 0, s = void 0, u = void 0) {
1633
- let d = t?.trim();
1634
- if (!this.currentDocument.states.has(d)) e.info("Adding state ", d, i), this.currentDocument.states.set(d, {
1635
- stmt: x,
1636
- id: d,
1637
- descriptions: [],
1638
- type: n,
1639
- doc: r,
1640
- note: a,
1641
- classes: [],
1642
- styles: [],
1643
- textStyles: []
1644
- });
1645
- else {
1646
- let e = this.currentDocument.states.get(d);
1647
- if (!e) throw Error(`State not found: ${d}`);
1648
- e.doc ||= r, e.type ||= n;
1649
- }
1650
- if (i && (e.info("Setting state description", d, i), (Array.isArray(i) ? i : [i]).forEach((e) => this.addDescription(d, e.trim()))), a) {
1651
- let e = this.currentDocument.states.get(d);
1652
- if (!e) throw Error(`State not found: ${d}`);
1653
- e.note = a, e.note.text = l.sanitizeText(e.note.text, c());
1654
- }
1655
- o && (e.info("Setting state classes", d, o), (Array.isArray(o) ? o : [o]).forEach((e) => this.setCssClass(d, e.trim()))), s && (e.info("Setting state styles", d, s), (Array.isArray(s) ? s : [s]).forEach((e) => this.setStyle(d, e.trim()))), u && (e.info("Setting state styles", d, s), (Array.isArray(u) ? u : [u]).forEach((e) => this.setTextStyle(d, e.trim())));
1656
- }
1657
- clear(e) {
1658
- this.nodes = [], this.edges = [], this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = _e(), e || (this.links = /* @__PURE__ */ new Map(), s());
1659
- }
1660
- getState(e) {
1661
- return this.currentDocument.states.get(e);
1662
- }
1663
- getStates() {
1664
- return this.currentDocument.states;
1665
- }
1666
- logDocuments() {
1667
- e.info("Documents = ", this.documents);
1668
- }
1669
- getRelations() {
1670
- return this.currentDocument.relations;
1671
- }
1672
- addLink(t, n, r) {
1673
- this.links.set(t, {
1674
- url: n,
1675
- tooltip: r
1676
- }), e.warn("Adding link", t, n, r);
1677
- }
1678
- getLinks() {
1679
- return this.links;
1680
- }
1681
- startIdIfNeeded(e = "") {
1682
- return e === Z.START_NODE ? (this.startEndCount++, `${Z.START_TYPE}${this.startEndCount}`) : e;
1683
- }
1684
- startTypeIfNeeded(e = "", t = D) {
1685
- return e === Z.START_NODE ? Z.START_TYPE : t;
1686
- }
1687
- endIdIfNeeded(e = "") {
1688
- return e === Z.END_NODE ? (this.startEndCount++, `${Z.END_TYPE}${this.startEndCount}`) : e;
1689
- }
1690
- endTypeIfNeeded(e = "", t = D) {
1691
- return e === Z.END_NODE ? Z.END_TYPE : t;
1692
- }
1693
- addRelationObjs(e, t, n = "") {
1694
- let r = this.startIdIfNeeded(e.id.trim()), i = this.startTypeIfNeeded(e.id.trim(), e.type), a = this.startIdIfNeeded(t.id.trim()), o = this.startTypeIfNeeded(t.id.trim(), t.type);
1695
- this.addState(r, i, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(a, o, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), this.currentDocument.relations.push({
1696
- id1: r,
1697
- id2: a,
1698
- relationTitle: l.sanitizeText(n, c())
1699
- });
1700
- }
1701
- addRelation(e, t, n) {
1702
- if (typeof e == "object" && typeof t == "object") this.addRelationObjs(e, t, n);
1703
- else if (typeof e == "string" && typeof t == "string") {
1704
- let r = this.startIdIfNeeded(e.trim()), i = this.startTypeIfNeeded(e), a = this.endIdIfNeeded(t.trim()), o = this.endTypeIfNeeded(t);
1705
- this.addState(r, i), this.addState(a, o), this.currentDocument.relations.push({
1706
- id1: r,
1707
- id2: a,
1708
- relationTitle: n ? l.sanitizeText(n, c()) : void 0
1709
- });
1710
- }
1711
- }
1712
- addDescription(e, t) {
1713
- let n = this.currentDocument.states.get(e), r = t.startsWith(":") ? t.replace(":", "").trim() : t;
1714
- n?.descriptions?.push(l.sanitizeText(r, c()));
1715
- }
1716
- cleanupLabel(e) {
1717
- return e.startsWith(":") ? e.slice(2).trim() : e.trim();
1718
- }
1719
- getDividerId() {
1720
- return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
1721
- }
1722
- addStyleClass(e, t = "") {
1723
- this.classes.has(e) || this.classes.set(e, {
1724
- id: e,
1725
- styles: [],
1726
- textStyles: []
1727
- });
1728
- let n = this.classes.get(e);
1729
- t && n && t.split(Z.STYLECLASS_SEP).forEach((e) => {
1730
- let t = e.replace(/([^;]*);/, "$1").trim();
1731
- if (RegExp(Z.COLOR_KEYWORD).exec(e)) {
1732
- let e = t.replace(Z.FILL_KEYWORD, Z.BG_FILL).replace(Z.COLOR_KEYWORD, Z.FILL_KEYWORD);
1733
- n.textStyles.push(e);
1734
- }
1735
- n.styles.push(t);
1736
- });
1737
- }
1738
- getClasses() {
1739
- return this.classes;
1740
- }
1741
- setCssClass(e, t) {
1742
- e.split(",").forEach((e) => {
1743
- let n = this.getState(e);
1744
- if (!n) {
1745
- let t = e.trim();
1746
- this.addState(t), n = this.getState(t);
1747
- }
1748
- n?.classes?.push(t);
1749
- });
1750
- }
1751
- setStyle(e, t) {
1752
- this.getState(e)?.styles?.push(t);
1753
- }
1754
- setTextStyle(e, t) {
1755
- this.getState(e)?.textStyles?.push(t);
1756
- }
1757
- getDirectionStatement() {
1758
- return this.rootDoc.find((e) => e.stmt === b);
1759
- }
1760
- getDirection() {
1761
- return this.getDirectionStatement()?.value ?? v;
1762
- }
1763
- setDirection(e) {
1764
- let t = this.getDirectionStatement();
1765
- t ? t.value = e : this.rootDoc.unshift({
1766
- stmt: b,
1767
- value: e
1768
- });
1769
- }
1770
- trimColon(e) {
1771
- return e.startsWith(":") ? e.slice(1).trim() : e.trim();
1772
- }
1773
- getData() {
1774
- let e = c();
1775
- return {
1776
- nodes: this.nodes,
1777
- edges: this.edges,
1778
- other: {},
1779
- config: e,
1780
- direction: U(this.getRootDocV2())
1781
- };
1782
- }
1783
- getConfig() {
1784
- return c().state;
1785
- }
1786
- }, ye = /* @__PURE__ */ t((e) => `
1787
- defs #statediagram-barbEnd {
1788
- fill: ${e.transitionColor};
1789
- stroke: ${e.transitionColor};
1790
- }
1791
- g.stateGroup text {
1792
- fill: ${e.nodeBorder};
1793
- stroke: none;
1794
- font-size: 10px;
1795
- }
1796
- g.stateGroup text {
1797
- fill: ${e.textColor};
1798
- stroke: none;
1799
- font-size: 10px;
1800
-
1801
- }
1802
- g.stateGroup .state-title {
1803
- font-weight: bolder;
1804
- fill: ${e.stateLabelColor};
1805
- }
1806
-
1807
- g.stateGroup rect {
1808
- fill: ${e.mainBkg};
1809
- stroke: ${e.nodeBorder};
1810
- }
1811
-
1812
- g.stateGroup line {
1813
- stroke: ${e.lineColor};
1814
- stroke-width: 1;
1815
- }
1816
-
1817
- .transition {
1818
- stroke: ${e.transitionColor};
1819
- stroke-width: 1;
1820
- fill: none;
1821
- }
1822
-
1823
- .stateGroup .composit {
1824
- fill: ${e.background};
1825
- border-bottom: 1px
1826
- }
1827
-
1828
- .stateGroup .alt-composit {
1829
- fill: #e0e0e0;
1830
- border-bottom: 1px
1831
- }
1832
-
1833
- .state-note {
1834
- stroke: ${e.noteBorderColor};
1835
- fill: ${e.noteBkgColor};
1836
-
1837
- text {
1838
- fill: ${e.noteTextColor};
1839
- stroke: none;
1840
- font-size: 10px;
1841
- }
1842
- }
1843
-
1844
- .stateLabel .box {
1845
- stroke: none;
1846
- stroke-width: 0;
1847
- fill: ${e.mainBkg};
1848
- opacity: 0.5;
1849
- }
1850
-
1851
- .edgeLabel .label rect {
1852
- fill: ${e.labelBackgroundColor};
1853
- opacity: 0.5;
1854
- }
1855
- .edgeLabel {
1856
- background-color: ${e.edgeLabelBackground};
1857
- p {
1858
- background-color: ${e.edgeLabelBackground};
1859
- }
1860
- rect {
1861
- opacity: 0.5;
1862
- background-color: ${e.edgeLabelBackground};
1863
- fill: ${e.edgeLabelBackground};
1864
- }
1865
- text-align: center;
1866
- }
1867
- .edgeLabel .label text {
1868
- fill: ${e.transitionLabelColor || e.tertiaryTextColor};
1869
- }
1870
- .label div .edgeLabel {
1871
- color: ${e.transitionLabelColor || e.tertiaryTextColor};
1872
- }
1873
-
1874
- .stateLabel text {
1875
- fill: ${e.stateLabelColor};
1876
- font-size: 10px;
1877
- font-weight: bold;
1878
- }
1879
-
1880
- .node circle.state-start {
1881
- fill: ${e.specialStateColor};
1882
- stroke: ${e.specialStateColor};
1883
- }
1884
-
1885
- .node .fork-join {
1886
- fill: ${e.specialStateColor};
1887
- stroke: ${e.specialStateColor};
1888
- }
1889
-
1890
- .node circle.state-end {
1891
- fill: ${e.innerEndBackground};
1892
- stroke: ${e.background};
1893
- stroke-width: 1.5
1894
- }
1895
- .end-state-inner {
1896
- fill: ${e.compositeBackground || e.background};
1897
- // stroke: ${e.background};
1898
- stroke-width: 1.5
1899
- }
1900
-
1901
- .node rect {
1902
- fill: ${e.stateBkg || e.mainBkg};
1903
- stroke: ${e.stateBorder || e.nodeBorder};
1904
- stroke-width: 1px;
1905
- }
1906
- .node polygon {
1907
- fill: ${e.mainBkg};
1908
- stroke: ${e.stateBorder || e.nodeBorder};;
1909
- stroke-width: 1px;
1910
- }
1911
- #statediagram-barbEnd {
1912
- fill: ${e.lineColor};
1913
- }
1914
-
1915
- .statediagram-cluster rect {
1916
- fill: ${e.compositeTitleBackground};
1917
- stroke: ${e.stateBorder || e.nodeBorder};
1918
- stroke-width: 1px;
1919
- }
1920
-
1921
- .cluster-label, .nodeLabel {
1922
- color: ${e.stateLabelColor};
1923
- // line-height: 1;
1924
- }
1925
-
1926
- .statediagram-cluster rect.outer {
1927
- rx: 5px;
1928
- ry: 5px;
1929
- }
1930
- .statediagram-state .divider {
1931
- stroke: ${e.stateBorder || e.nodeBorder};
1932
- }
1933
-
1934
- .statediagram-state .title-state {
1935
- rx: 5px;
1936
- ry: 5px;
1937
- }
1938
- .statediagram-cluster.statediagram-cluster .inner {
1939
- fill: ${e.compositeBackground || e.background};
1940
- }
1941
- .statediagram-cluster.statediagram-cluster-alt .inner {
1942
- fill: ${e.altBackground ? e.altBackground : "#efefef"};
1943
- }
1944
-
1945
- .statediagram-cluster .inner {
1946
- rx:0;
1947
- ry:0;
1948
- }
1949
-
1950
- .statediagram-state rect.basic {
1951
- rx: 5px;
1952
- ry: 5px;
1953
- }
1954
- .statediagram-state rect.divider {
1955
- stroke-dasharray: 10,10;
1956
- fill: ${e.altBackground ? e.altBackground : "#efefef"};
1957
- }
1958
-
1959
- .note-edge {
1960
- stroke-dasharray: 5;
1961
- }
1962
-
1963
- .statediagram-note rect {
1964
- fill: ${e.noteBkgColor};
1965
- stroke: ${e.noteBorderColor};
1966
- stroke-width: 1px;
1967
- rx: 0;
1968
- ry: 0;
1969
- }
1970
- .statediagram-note rect {
1971
- fill: ${e.noteBkgColor};
1972
- stroke: ${e.noteBorderColor};
1973
- stroke-width: 1px;
1974
- rx: 0;
1975
- ry: 0;
1976
- }
1977
-
1978
- .statediagram-note text {
1979
- fill: ${e.noteTextColor};
1980
- }
1981
-
1982
- .statediagram-note .nodeLabel {
1983
- color: ${e.noteTextColor};
1984
- }
1985
- .statediagram .edgeLabel {
1986
- color: red; // ${e.noteTextColor};
1987
- }
1988
-
1989
- #dependencyStart, #dependencyEnd {
1990
- fill: ${e.lineColor};
1991
- stroke: ${e.lineColor};
1992
- stroke-width: 1;
1993
- }
1994
-
1995
- .statediagramTitleText {
1996
- text-anchor: middle;
1997
- font-size: 18px;
1998
- fill: ${e.textColor};
1999
- }
2000
- `, "getStyles");
2001
- //#endregion
2002
- export { ye as i, _ as n, pe as r, ve as t };
2003
-
2004
- //# sourceMappingURL=chunk-NQ4KR5QH-DFem-ORD.js.map