@spteck/react-controls-v2 2.3.9 → 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 (319) 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/DataGridV2/useDataGridV2Styles.d.ts +1 -1
  14. package/dist/components/dropDownField/IOption.d.ts +2 -0
  15. package/dist/cs-B0C33FJt.cjs +2 -0
  16. package/dist/{cs-MrS2bH7F.js → cs-VHWnqXwJ.js} +1 -1
  17. package/dist/cy-BNabORao.cjs +2 -0
  18. package/dist/{cy-BX97Tgwk.js → cy-qF-aNCW-.js} +1 -1
  19. package/dist/da-BmgXTEXm.cjs +2 -0
  20. package/dist/{da-BnewPPrh.js → da-rR5TnSBw.js} +1 -1
  21. package/dist/de-B4w38-0d.cjs +2 -0
  22. package/dist/{de-BSZuzGTL.js → de-DbeDjRNp.js} +1 -1
  23. package/dist/el-Cgk6VsxL.cjs +2 -0
  24. package/dist/{el-DrOk3N7-.js → el-DDeD6FiX.js} +1 -1
  25. package/dist/es-3ugMIZuA.cjs +2 -0
  26. package/dist/{es-CGqzubZ2.js → es-dvKffn6Q.js} +1 -1
  27. package/dist/et-CIIzxbat.cjs +2 -0
  28. package/dist/{et-DGqkocuq.js → et-DgZFBtK7.js} +1 -1
  29. package/dist/eu-BUNUOJ7E.cjs +2 -0
  30. package/dist/{eu-DEo7fdTW.js → eu-C6r1_PRy.js} +1 -1
  31. package/dist/{fi-DxErwnd5.js → fi-CzOKgmjK.js} +1 -1
  32. package/dist/fi-q6BFPHtt.cjs +2 -0
  33. package/dist/fr-BEnCZ733.cjs +2 -0
  34. package/dist/{fr-zrtSZX0o.js → fr-D0cDkdbn.js} +1 -1
  35. package/dist/{ga-CbHxGc9_.js → ga-0A7ndSzw.js} +1 -1
  36. package/dist/ga-BXyKTnJr.cjs +2 -0
  37. package/dist/{gl--w0P3RY4.js → gl-BNwj4XAu.js} +1 -1
  38. package/dist/gl-DR1C-hSi.cjs +2 -0
  39. package/dist/{he-DY19lzWp.js → he-BPiZ6D5h.js} +1 -1
  40. package/dist/he-OD1Ex2Fw.cjs +2 -0
  41. package/dist/{hi-CFSsoO_8.js → hi-CSgtp9Yg.js} +1 -1
  42. package/dist/hi-Dt9FvBmh.cjs +2 -0
  43. package/dist/{hr-DIRJ1Z8e.js → hr-CDSSj52Q.js} +1 -1
  44. package/dist/hr-DMzwNhar.cjs +2 -0
  45. package/dist/hu-Bc-rChfV.cjs +2 -0
  46. package/dist/{hu-DqYPRWZh.js → hu-TDJYiDOB.js} +1 -1
  47. package/dist/{id-Dgj7SUCi.js → id-B3IF5pnh.js} +1 -1
  48. package/dist/id-CwndN9HH.cjs +2 -0
  49. package/dist/index.cjs +105 -130
  50. package/dist/index.js +5983 -18453
  51. package/dist/{it-QdChHqVN.js → it-BLET318M.js} +1 -1
  52. package/dist/it-DaYS5Vil.cjs +2 -0
  53. package/dist/ja-BYA2LXHy.cjs +2 -0
  54. package/dist/{ja-BNS0BbY-.js → ja-NxwXLaKV.js} +1 -1
  55. package/dist/{kk-Dhkax68h.js → kk-CceJcjtl.js} +1 -1
  56. package/dist/kk-Ctrvuqlz.cjs +2 -0
  57. package/dist/{ko-heRMHZWp.js → ko-cS_OE967.js} +1 -1
  58. package/dist/ko-evIcpTG8.cjs +2 -0
  59. package/dist/lt-CYTLGgh6.cjs +2 -0
  60. package/dist/{lt-Decqbo8S.js → lt-CZ-kk_5b.js} +1 -1
  61. package/dist/{lv-wZASv0Lw.js → lv-BTvPpEjc.js} +1 -1
  62. package/dist/lv-COjitD3w.cjs +2 -0
  63. package/dist/mk-B-LF5gVL.cjs +2 -0
  64. package/dist/{mk-BTsLGTJT.js → mk-CSSyI3El.js} +1 -1
  65. package/dist/ms-CzEvkib0.cjs +2 -0
  66. package/dist/{ms-C0cVNwky.js → ms-Dz5JnKJ1.js} +1 -1
  67. package/dist/nb-B1KWSX94.cjs +2 -0
  68. package/dist/{nb-DGX4q4tS.js → nb-DkgTg1et.js} +1 -1
  69. package/dist/{nl-CnXZa8tZ.js → nl-CQ5eoxw2.js} +1 -1
  70. package/dist/nl-knWqo2aX.cjs +2 -0
  71. package/dist/{pl-DbIdTNpg.js → pl-BQJfOizT.js} +1 -1
  72. package/dist/pl-Ce6dq53t.cjs +2 -0
  73. package/dist/providers.cjs +1 -1
  74. package/dist/providers.js +1 -1
  75. package/dist/pt-BVqTnGkF.cjs +2 -0
  76. package/dist/{pt-CcKYweQk.js → pt-b0p7DoD0.js} +1 -1
  77. package/dist/ro-DqJMfhmX.cjs +2 -0
  78. package/dist/{ro-C-8tiqgA.js → ro-sbBtUVJV.js} +1 -1
  79. package/dist/ru-Dm2NAQyK.cjs +2 -0
  80. package/dist/{ru-Dhnz96q2.js → ru-ofzbka6D.js} +1 -1
  81. package/dist/sk-BNe6CHG-.cjs +2 -0
  82. package/dist/{sk-BU-Z5EsC.js → sk-BtpdNCPC.js} +1 -1
  83. package/dist/{sl-CcfjJFxo.js → sl-B4GsKLu6.js} +1 -1
  84. package/dist/sl-BKmEUGyu.cjs +2 -0
  85. package/dist/{sr-S53unrLA.js → sr-C76YVpkQ.js} +1 -1
  86. package/dist/sr-Dwya5lwF.cjs +2 -0
  87. package/dist/sv-BGL2G9Vm.cjs +2 -0
  88. package/dist/{sv-BiJrVfZr.js → sv-PesX57cX.js} +1 -1
  89. package/dist/{th-vQ7LQ7nD.js → th-CbCNOBnR.js} +1 -1
  90. package/dist/th-DEv6shFI.cjs +2 -0
  91. package/dist/{tr-C5RrNGLz.js → tr-B0TPxXKS.js} +1 -1
  92. package/dist/tr-BB-QonGE.cjs +2 -0
  93. package/dist/uk-B-3fLKpR.cjs +2 -0
  94. package/dist/{uk-WGCFH0fY.js → uk-_9cNoBNe.js} +1 -1
  95. package/dist/{vi-Waa7HkXq.js → vi-B8SfqLW6.js} +1 -1
  96. package/dist/vi-Dx6pJ0ir.cjs +2 -0
  97. package/dist/zh-DD0ml2HG.cjs +2 -0
  98. package/dist/{zh-BmUS7Wn_.js → zh-DqHnbp6B.js} +1 -1
  99. package/package.json +3 -2
  100. package/dist/LocalizationProvider-B6NxHbu2.cjs +0 -2
  101. package/dist/_arrayEach-BuSFKyFt.js +0 -54
  102. package/dist/_arrayEach-ChR-TejB.cjs +0 -2
  103. package/dist/_getTag-BRuLtYrv.js +0 -28
  104. package/dist/_getTag-D6VVyrEu.cjs +0 -2
  105. package/dist/ar-ip3bGOX3.cjs +0 -2
  106. package/dist/arc-4yb49ncY.js +0 -82
  107. package/dist/arc-djsA8IT0.cjs +0 -2
  108. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +0 -3
  109. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +0 -1
  110. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +0 -37
  111. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +0 -4047
  112. package/dist/array-BNB_vRFv.cjs +0 -2
  113. package/dist/array-DP0duYiO.js +0 -8
  114. package/dist/az-CyVLdUDz.cjs +0 -2
  115. package/dist/bg-Bexoz3hL.cjs +0 -2
  116. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +0 -3165
  117. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +0 -133
  118. package/dist/bs-MMcvhwLv.cjs +0 -2
  119. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +0 -2966
  120. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +0 -11
  121. package/dist/ca-BspMSeHN.cjs +0 -2
  122. package/dist/channel-2Bqnb1FY.js +0 -7
  123. package/dist/channel-5_aP1EVB.cjs +0 -2
  124. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +0 -10
  125. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +0 -2
  126. package/dist/chunk-55IACEB6-4ind_ByS.cjs +0 -2
  127. package/dist/chunk-55IACEB6-Pcyz_aR_.js +0 -10
  128. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +0 -2
  129. package/dist/chunk-7E7YKBS2-VHdgsed6.js +0 -25
  130. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +0 -81
  131. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +0 -2598
  132. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +0 -2
  133. package/dist/chunk-C72U2L5F-MjJQTOMh.js +0 -25
  134. package/dist/chunk-D-IZpNpi.cjs +0 -1
  135. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +0 -2
  136. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +0 -25
  137. package/dist/chunk-FMBD7UC4-BvqqU04Z.cjs +0 -16
  138. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +0 -7
  139. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +0 -1302
  140. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +0 -3
  141. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +0 -2
  142. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +0 -43
  143. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +0 -11
  144. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +0 -2
  145. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +0 -2
  146. package/dist/chunk-JSJVCQXG-DowfYWcD.js +0 -62
  147. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +0 -2
  148. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +0 -27
  149. package/dist/chunk-KYZI473N-DEPuSXaW.js +0 -3436
  150. package/dist/chunk-KYZI473N-DzBMFOER.cjs +0 -54
  151. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +0 -25
  152. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +0 -2
  153. package/dist/chunk-MX3YWQON-CAsnAj2e.js +0 -82
  154. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +0 -2
  155. package/dist/chunk-NBPlniwU.js +0 -23
  156. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +0 -221
  157. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +0 -2004
  158. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +0 -8
  159. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +0 -513
  160. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +0 -2
  161. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +0 -66
  162. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +0 -2
  163. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +0 -69
  164. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +0 -1887
  165. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +0 -71
  166. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +0 -2
  167. package/dist/chunk-QZHKN3VN-x258g6EH.js +0 -17
  168. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +0 -2
  169. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +0 -37
  170. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +0 -190
  171. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +0 -3196
  172. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +0 -2
  173. package/dist/chunk-XIRO2GV7-DXlO8X82.js +0 -32
  174. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +0 -1148
  175. package/dist/chunk-XPW4576I-C68T-WIW.cjs +0 -33
  176. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +0 -95
  177. package/dist/chunk-XZSTWKYB-jD9M1izK.js +0 -16132
  178. package/dist/chunk-YBOYWFTD-B6CeuteH.js +0 -34
  179. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +0 -2
  180. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +0 -2
  181. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +0 -31
  182. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +0 -2
  183. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +0 -31
  184. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +0 -2252
  185. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +0 -2
  186. package/dist/cs-FZSeHYld.cjs +0 -2
  187. package/dist/cy-CzQmM2lQ.cjs +0 -2
  188. package/dist/cytoscape.esm-CcJAI0wG.cjs +0 -322
  189. package/dist/cytoscape.esm-D9EjU25_.js +0 -18102
  190. package/dist/da-CexFt-Oj.cjs +0 -2
  191. package/dist/dagre-CpEPaL3r.cjs +0 -2
  192. package/dist/dagre-Dd8wCGc6.js +0 -1305
  193. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +0 -294
  194. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +0 -5
  195. package/dist/de-B68HwuYu.cjs +0 -2
  196. package/dist/defaultLocale-CYOzCjwh.js +0 -203
  197. package/dist/defaultLocale-DSgylVA1.cjs +0 -2
  198. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +0 -25
  199. package/dist/diagram-E7M64L7V-oX07GVAD.js +0 -529
  200. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +0 -44
  201. package/dist/diagram-IFDJBPK2-lCNF06_S.js +0 -215
  202. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +0 -135
  203. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +0 -25
  204. package/dist/dist-CV9Ez7cn.js +0 -52
  205. package/dist/dist-DVthN7lF.cjs +0 -2
  206. package/dist/el-DQc4jSMd.cjs +0 -2
  207. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +0 -71
  208. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +0 -1668
  209. package/dist/es-DI8Y4Bv1.cjs +0 -2
  210. package/dist/et-DfaryKvp.cjs +0 -2
  211. package/dist/eu-BVOSXciF.cjs +0 -2
  212. package/dist/fi-C5L-OzaI.cjs +0 -2
  213. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +0 -163
  214. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +0 -4163
  215. package/dist/fr-yFvjqx8B.cjs +0 -2
  216. package/dist/ga-6mVQhlWi.cjs +0 -2
  217. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +0 -293
  218. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +0 -3074
  219. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +0 -3
  220. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +0 -1
  221. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +0 -627
  222. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +0 -66
  223. package/dist/gl-BJzJe1sq.cjs +0 -2
  224. package/dist/graphlib-CPo7oIsu.js +0 -223
  225. package/dist/graphlib-CmUS4Qin.cjs +0 -2
  226. package/dist/he-B3Bw3qr0.cjs +0 -2
  227. package/dist/hi-kofL-mD8.cjs +0 -2
  228. package/dist/hr-CDxqA9Jm.cjs +0 -2
  229. package/dist/hu-Defen_75.cjs +0 -2
  230. package/dist/id-DcwMRgmX.cjs +0 -2
  231. package/dist/identity-6JlhFhuM.cjs +0 -2
  232. package/dist/identity-C1jKsMoW.js +0 -395
  233. package/dist/info-3K5VOQVL-DfN_3mKd.js +0 -3
  234. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +0 -1
  235. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +0 -3
  236. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +0 -21
  237. package/dist/init-BAFZAp9S.cjs +0 -2
  238. package/dist/init-m0TwgR4W.js +0 -17
  239. package/dist/isEmpty-BTp1uKIj.cjs +0 -2
  240. package/dist/isEmpty-uXVYZZYe.js +0 -17
  241. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +0 -719
  242. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +0 -71
  243. package/dist/it-D5nM6KCi.cjs +0 -2
  244. package/dist/ja-BtuHirv7.cjs +0 -2
  245. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +0 -140
  246. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +0 -885
  247. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +0 -90
  248. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +0 -973
  249. package/dist/katex-B-Nju2J8.js +0 -22002
  250. package/dist/katex-WY67Rp7A.cjs +0 -266
  251. package/dist/kk-BSl8IqgQ.cjs +0 -2
  252. package/dist/ko-eplb1GD0.cjs +0 -2
  253. package/dist/line-CbEBKCYr.js +0 -36
  254. package/dist/line-DqSdvtRR.cjs +0 -2
  255. package/dist/linear-DvLDpS6A.cjs +0 -2
  256. package/dist/linear-Eb79THx6.js +0 -291
  257. package/dist/lt-DsYAWFbF.cjs +0 -2
  258. package/dist/lv-DHmTjCb8.cjs +0 -2
  259. package/dist/maplibre-gl-qSrG75fp.js +0 -33003
  260. package/dist/maplibre-gl-tm_pVdmb.cjs +0 -757
  261. package/dist/math-DR9t6ixc.cjs +0 -2
  262. package/dist/math-DyURnvXC.js +0 -12
  263. package/dist/mermaid-parser.core-BdTB9qx-.js +0 -61
  264. package/dist/mermaid-parser.core-BlzF5RRD.cjs +0 -4
  265. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +0 -966
  266. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +0 -69
  267. package/dist/mk-CCV_308U.cjs +0 -2
  268. package/dist/ms-CH83xVYN.cjs +0 -2
  269. package/dist/nb-DZ-DlwcL.cjs +0 -2
  270. package/dist/nl-Xdf-A19i.cjs +0 -2
  271. package/dist/ordinal-BAWGEQkf.js +0 -67
  272. package/dist/ordinal-CL2X4e2C.cjs +0 -2
  273. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +0 -1
  274. package/dist/packet-RMMSAZCW-DUN6t9lN.js +0 -3
  275. package/dist/path-Bt6guLtL.cjs +0 -2
  276. package/dist/path-DSzKK8fH.js +0 -87
  277. package/dist/pie-UPGHQEXC-DjqNO54R.js +0 -3
  278. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +0 -1
  279. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +0 -31
  280. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +0 -167
  281. package/dist/pl-BStql1S-.cjs +0 -2
  282. package/dist/pt-Dk4jELuZ.cjs +0 -2
  283. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +0 -8
  284. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +0 -1976
  285. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +0 -1
  286. package/dist/radar-KQ55EAFF-C6zhEkCz.js +0 -3
  287. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +0 -2203
  288. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +0 -74
  289. package/dist/ro-BvhMyTKh.cjs +0 -2
  290. package/dist/rough.esm-BjJ_weyP.cjs +0 -2
  291. package/dist/rough.esm-DBHP55VQ.js +0 -1354
  292. package/dist/ru-BQosng8l.cjs +0 -2
  293. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +0 -922
  294. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +0 -11
  295. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +0 -146
  296. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +0 -4111
  297. package/dist/sk-BhA7UeAk.cjs +0 -2
  298. package/dist/sl-6Mczv4jG.cjs +0 -2
  299. package/dist/sr-CxObZdu0.cjs +0 -2
  300. package/dist/src-DFxq-N5I.cjs +0 -2
  301. package/dist/src-Dm6r9c7l.js +0 -2148
  302. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +0 -219
  303. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +0 -2
  304. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +0 -29
  305. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +0 -2
  306. package/dist/sv-BfiunVuX.cjs +0 -2
  307. package/dist/th-BqLGltZi.cjs +0 -2
  308. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +0 -832
  309. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +0 -62
  310. package/dist/tr-Brwl4o_Z.cjs +0 -2
  311. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +0 -1
  312. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +0 -3
  313. package/dist/uk-CV49TRvS.cjs +0 -2
  314. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +0 -1860
  315. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +0 -35
  316. package/dist/vi-JzM7bjn_.cjs +0 -2
  317. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +0 -8
  318. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +0 -2043
  319. package/dist/zh-DEm0SGzZ.cjs +0 -2
@@ -1,885 +0,0 @@
1
- import { h as e, p 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, c as l, v as u } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
- import { t as d } from "./arc-4yb49ncY.js";
4
- import { t as f } from "./chunk-FMBD7UC4-xjRtkFXe.js";
5
- import { a as p, n as m, o as h, s as g } from "./chunk-JSJVCQXG-DowfYWcD.js";
6
- //#region node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-4ABVD52K.mjs
7
- var _ = (function() {
8
- var t = /* @__PURE__ */ e(function(e, t, n, r) {
9
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
10
- return n;
11
- }, "o"), n = [
12
- 6,
13
- 8,
14
- 10,
15
- 11,
16
- 12,
17
- 14,
18
- 16,
19
- 17,
20
- 18
21
- ], r = [1, 9], i = [1, 10], a = [1, 11], o = [1, 12], s = [1, 13], c = [1, 14], l = {
22
- trace: /* @__PURE__ */ e(function() {}, "trace"),
23
- yy: {},
24
- symbols_: {
25
- error: 2,
26
- start: 3,
27
- journey: 4,
28
- document: 5,
29
- EOF: 6,
30
- line: 7,
31
- SPACE: 8,
32
- statement: 9,
33
- NEWLINE: 10,
34
- title: 11,
35
- acc_title: 12,
36
- acc_title_value: 13,
37
- acc_descr: 14,
38
- acc_descr_value: 15,
39
- acc_descr_multiline_value: 16,
40
- section: 17,
41
- taskName: 18,
42
- taskData: 19,
43
- $accept: 0,
44
- $end: 1
45
- },
46
- terminals_: {
47
- 2: "error",
48
- 4: "journey",
49
- 6: "EOF",
50
- 8: "SPACE",
51
- 10: "NEWLINE",
52
- 11: "title",
53
- 12: "acc_title",
54
- 13: "acc_title_value",
55
- 14: "acc_descr",
56
- 15: "acc_descr_value",
57
- 16: "acc_descr_multiline_value",
58
- 17: "section",
59
- 18: "taskName",
60
- 19: "taskData"
61
- },
62
- productions_: [
63
- 0,
64
- [3, 3],
65
- [5, 0],
66
- [5, 2],
67
- [7, 2],
68
- [7, 1],
69
- [7, 1],
70
- [7, 1],
71
- [9, 1],
72
- [9, 2],
73
- [9, 2],
74
- [9, 1],
75
- [9, 1],
76
- [9, 2]
77
- ],
78
- performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
79
- var s = a.length - 1;
80
- switch (i) {
81
- case 1: return a[s - 1];
82
- case 2:
83
- this.$ = [];
84
- break;
85
- case 3:
86
- a[s - 1].push(a[s]), this.$ = a[s - 1];
87
- break;
88
- case 4:
89
- case 5:
90
- this.$ = a[s];
91
- break;
92
- case 6:
93
- case 7:
94
- this.$ = [];
95
- break;
96
- case 8:
97
- r.setDiagramTitle(a[s].substr(6)), this.$ = a[s].substr(6);
98
- break;
99
- case 9:
100
- this.$ = a[s].trim(), r.setAccTitle(this.$);
101
- break;
102
- case 10:
103
- case 11:
104
- this.$ = a[s].trim(), r.setAccDescription(this.$);
105
- break;
106
- case 12:
107
- r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
108
- break;
109
- case 13:
110
- r.addTask(a[s - 1], a[s]), this.$ = "task";
111
- break;
112
- }
113
- }, "anonymous"),
114
- table: [
115
- {
116
- 3: 1,
117
- 4: [1, 2]
118
- },
119
- { 1: [3] },
120
- t(n, [2, 2], { 5: 3 }),
121
- {
122
- 6: [1, 4],
123
- 7: 5,
124
- 8: [1, 6],
125
- 9: 7,
126
- 10: [1, 8],
127
- 11: r,
128
- 12: i,
129
- 14: a,
130
- 16: o,
131
- 17: s,
132
- 18: c
133
- },
134
- t(n, [2, 7], { 1: [2, 1] }),
135
- t(n, [2, 3]),
136
- {
137
- 9: 15,
138
- 11: r,
139
- 12: i,
140
- 14: a,
141
- 16: o,
142
- 17: s,
143
- 18: c
144
- },
145
- t(n, [2, 5]),
146
- t(n, [2, 6]),
147
- t(n, [2, 8]),
148
- { 13: [1, 16] },
149
- { 15: [1, 17] },
150
- t(n, [2, 11]),
151
- t(n, [2, 12]),
152
- { 19: [1, 18] },
153
- t(n, [2, 4]),
154
- t(n, [2, 9]),
155
- t(n, [2, 10]),
156
- t(n, [2, 13])
157
- ],
158
- defaultActions: {},
159
- parseError: /* @__PURE__ */ e(function(e, t) {
160
- if (t.recoverable) this.trace(e);
161
- else {
162
- var n = Error(e);
163
- throw n.hash = t, n;
164
- }
165
- }, "parseError"),
166
- parse: /* @__PURE__ */ e(function(t) {
167
- 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: {} };
168
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
169
- h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
170
- var v = h.yylloc;
171
- o.push(v);
172
- var y = h.options && h.options.ranges;
173
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
174
- function b(e) {
175
- r.length -= 2 * e, a.length -= e, o.length -= e;
176
- }
177
- e(b, "popStack");
178
- function x() {
179
- var e = i.pop() || h.lex() || p;
180
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
181
- }
182
- e(x, "lex");
183
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
184
- 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]) {
185
- var M = "";
186
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
187
- 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, {
188
- text: h.match,
189
- token: this.terminals_[S] || S,
190
- line: h.yylineno,
191
- loc: v,
192
- expected: j
193
- });
194
- }
195
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
196
- switch (T[0]) {
197
- case 1:
198
- 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--);
199
- break;
200
- case 2:
201
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
202
- first_line: o[o.length - (k || 1)].first_line,
203
- last_line: o[o.length - 1].last_line,
204
- first_column: o[o.length - (k || 1)].first_column,
205
- last_column: o[o.length - 1].last_column
206
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
207
- c,
208
- u,
209
- l,
210
- g.yy,
211
- T[1],
212
- a,
213
- o
214
- ].concat(m)), E !== void 0) return E;
215
- 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);
216
- break;
217
- case 3: return !0;
218
- }
219
- }
220
- return !0;
221
- }, "parse")
222
- };
223
- l.lexer = /* @__PURE__ */ (function() {
224
- return {
225
- EOF: 1,
226
- parseError: /* @__PURE__ */ e(function(e, t) {
227
- if (this.yy.parser) this.yy.parser.parseError(e, t);
228
- else throw Error(e);
229
- }, "parseError"),
230
- setInput: /* @__PURE__ */ e(function(e, t) {
231
- 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 = {
232
- first_line: 1,
233
- first_column: 0,
234
- last_line: 1,
235
- last_column: 0
236
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
237
- }, "setInput"),
238
- input: /* @__PURE__ */ e(function() {
239
- var e = this._input[0];
240
- 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;
241
- }, "input"),
242
- unput: /* @__PURE__ */ e(function(e) {
243
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
244
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
245
- var r = this.match.split(/(?:\r\n?|\n)/g);
246
- 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);
247
- var i = this.yylloc.range;
248
- return this.yylloc = {
249
- first_line: this.yylloc.first_line,
250
- last_line: this.yylineno + 1,
251
- first_column: this.yylloc.first_column,
252
- 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
253
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
254
- }, "unput"),
255
- more: /* @__PURE__ */ e(function() {
256
- return this._more = !0, this;
257
- }, "more"),
258
- reject: /* @__PURE__ */ e(function() {
259
- if (this.options.backtrack_lexer) this._backtrack = !0;
260
- 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(), {
261
- text: "",
262
- token: null,
263
- line: this.yylineno
264
- });
265
- return this;
266
- }, "reject"),
267
- less: /* @__PURE__ */ e(function(e) {
268
- this.unput(this.match.slice(e));
269
- }, "less"),
270
- pastInput: /* @__PURE__ */ e(function() {
271
- var e = this.matched.substr(0, this.matched.length - this.match.length);
272
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
273
- }, "pastInput"),
274
- upcomingInput: /* @__PURE__ */ e(function() {
275
- var e = this.match;
276
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
277
- }, "upcomingInput"),
278
- showPosition: /* @__PURE__ */ e(function() {
279
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
280
- return e + this.upcomingInput() + "\n" + t + "^";
281
- }, "showPosition"),
282
- test_match: /* @__PURE__ */ e(function(e, t) {
283
- var n, r, i;
284
- if (this.options.backtrack_lexer && (i = {
285
- yylineno: this.yylineno,
286
- yylloc: {
287
- first_line: this.yylloc.first_line,
288
- last_line: this.last_line,
289
- first_column: this.yylloc.first_column,
290
- last_column: this.yylloc.last_column
291
- },
292
- yytext: this.yytext,
293
- match: this.match,
294
- matches: this.matches,
295
- matched: this.matched,
296
- yyleng: this.yyleng,
297
- offset: this.offset,
298
- _more: this._more,
299
- _input: this._input,
300
- yy: this.yy,
301
- conditionStack: this.conditionStack.slice(0),
302
- done: this.done
303
- }, 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 = {
304
- first_line: this.yylloc.last_line,
305
- last_line: this.yylineno + 1,
306
- first_column: this.yylloc.last_column,
307
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
308
- }, 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;
309
- if (this._backtrack) {
310
- for (var a in i) this[a] = i[a];
311
- return !1;
312
- }
313
- return !1;
314
- }, "test_match"),
315
- next: /* @__PURE__ */ e(function() {
316
- if (this.done) return this.EOF;
317
- this._input || (this.done = !0);
318
- var e, t, n, r;
319
- this._more || (this.yytext = "", this.match = "");
320
- 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)) {
321
- if (t = n, r = a, this.options.backtrack_lexer) {
322
- if (e = this.test_match(n, i[a]), e !== !1) return e;
323
- if (this._backtrack) {
324
- t = !1;
325
- continue;
326
- } else return !1;
327
- } else if (!this.options.flex) break;
328
- }
329
- 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(), {
330
- text: "",
331
- token: null,
332
- line: this.yylineno
333
- });
334
- }, "next"),
335
- lex: /* @__PURE__ */ e(function() {
336
- return this.next() || this.lex();
337
- }, "lex"),
338
- begin: /* @__PURE__ */ e(function(e) {
339
- this.conditionStack.push(e);
340
- }, "begin"),
341
- popState: /* @__PURE__ */ e(function() {
342
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
343
- }, "popState"),
344
- _currentRules: /* @__PURE__ */ e(function() {
345
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
346
- }, "_currentRules"),
347
- topState: /* @__PURE__ */ e(function(e) {
348
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
349
- }, "topState"),
350
- pushState: /* @__PURE__ */ e(function(e) {
351
- this.begin(e);
352
- }, "pushState"),
353
- stateStackSize: /* @__PURE__ */ e(function() {
354
- return this.conditionStack.length;
355
- }, "stateStackSize"),
356
- options: { "case-insensitive": !0 },
357
- performAction: /* @__PURE__ */ e(function(e, t, n, r) {
358
- switch (n) {
359
- case 0: break;
360
- case 1: break;
361
- case 2: return 10;
362
- case 3: break;
363
- case 4: break;
364
- case 5: return 4;
365
- case 6: return 11;
366
- case 7: return this.begin("acc_title"), 12;
367
- case 8: return this.popState(), "acc_title_value";
368
- case 9: return this.begin("acc_descr"), 14;
369
- case 10: return this.popState(), "acc_descr_value";
370
- case 11:
371
- this.begin("acc_descr_multiline");
372
- break;
373
- case 12:
374
- this.popState();
375
- break;
376
- case 13: return "acc_descr_multiline_value";
377
- case 14: return 17;
378
- case 15: return 18;
379
- case 16: return 19;
380
- case 17: return ":";
381
- case 18: return 6;
382
- case 19: return "INVALID";
383
- }
384
- }, "anonymous"),
385
- rules: [
386
- /^(?:%(?!\{)[^\n]*)/i,
387
- /^(?:[^\}]%%[^\n]*)/i,
388
- /^(?:[\n]+)/i,
389
- /^(?:\s+)/i,
390
- /^(?:#[^\n]*)/i,
391
- /^(?:journey\b)/i,
392
- /^(?:title\s[^#\n;]+)/i,
393
- /^(?:accTitle\s*:\s*)/i,
394
- /^(?:(?!\n||)*[^\n]*)/i,
395
- /^(?:accDescr\s*:\s*)/i,
396
- /^(?:(?!\n||)*[^\n]*)/i,
397
- /^(?:accDescr\s*\{\s*)/i,
398
- /^(?:[\}])/i,
399
- /^(?:[^\}]*)/i,
400
- /^(?:section\s[^#:\n;]+)/i,
401
- /^(?:[^#:\n;]+)/i,
402
- /^(?::[^#\n;]+)/i,
403
- /^(?::)/i,
404
- /^(?:$)/i,
405
- /^(?:.)/i
406
- ],
407
- conditions: {
408
- acc_descr_multiline: {
409
- rules: [12, 13],
410
- inclusive: !1
411
- },
412
- acc_descr: {
413
- rules: [10],
414
- inclusive: !1
415
- },
416
- acc_title: {
417
- rules: [8],
418
- inclusive: !1
419
- },
420
- INITIAL: {
421
- rules: [
422
- 0,
423
- 1,
424
- 2,
425
- 3,
426
- 4,
427
- 5,
428
- 6,
429
- 7,
430
- 9,
431
- 11,
432
- 14,
433
- 15,
434
- 16,
435
- 17,
436
- 18,
437
- 19
438
- ],
439
- inclusive: !0
440
- }
441
- }
442
- };
443
- })();
444
- function u() {
445
- this.yy = {};
446
- }
447
- return e(u, "Parser"), u.prototype = l, l.Parser = u, new u();
448
- })();
449
- _.parser = _;
450
- var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
451
- b.length = 0, x.length = 0, y = "", S.length = 0, s();
452
- }, "clear"), w = /* @__PURE__ */ e(function(e) {
453
- y = e, b.push(e);
454
- }, "addSection"), T = /* @__PURE__ */ e(function() {
455
- return b;
456
- }, "getSections"), E = /* @__PURE__ */ e(function() {
457
- let e = A(), t = 0;
458
- for (; !e && t < 100;) e = A(), t++;
459
- return x.push(...S), x;
460
- }, "getTasks"), D = /* @__PURE__ */ e(function() {
461
- let e = [];
462
- return x.forEach((t) => {
463
- t.people && e.push(...t.people);
464
- }), [...new Set(e)].sort();
465
- }, "updateActors"), O = /* @__PURE__ */ e(function(e, t) {
466
- let n = t.substr(1).split(":"), r = 0, i = [];
467
- n.length === 1 ? (r = Number(n[0]), i = []) : (r = Number(n[0]), i = n[1].split(","));
468
- let a = i.map((e) => e.trim()), o = {
469
- section: y,
470
- type: y,
471
- people: a,
472
- task: e,
473
- score: r
474
- };
475
- S.push(o);
476
- }, "addTask"), k = /* @__PURE__ */ e(function(e) {
477
- let t = {
478
- section: y,
479
- type: y,
480
- description: e,
481
- task: e,
482
- classes: []
483
- };
484
- x.push(t);
485
- }, "addTaskOrg"), A = /* @__PURE__ */ e(function() {
486
- let t = /* @__PURE__ */ e(function(e) {
487
- return S[e].processed;
488
- }, "compileTask"), n = !0;
489
- for (let [e, r] of S.entries()) t(e), n &&= r.processed;
490
- return n;
491
- }, "compileTasks"), j = {
492
- getConfig: /* @__PURE__ */ e(() => c().journey, "getConfig"),
493
- clear: C,
494
- setDiagramTitle: a,
495
- getDiagramTitle: r,
496
- setAccTitle: i,
497
- getAccTitle: u,
498
- setAccDescription: n,
499
- getAccDescription: o,
500
- addSection: w,
501
- getSections: T,
502
- getTasks: E,
503
- addTask: O,
504
- addTaskOrg: k,
505
- getActors: /* @__PURE__ */ e(function() {
506
- return D();
507
- }, "getActors")
508
- }, M = /* @__PURE__ */ e((e) => `.label {
509
- font-family: ${e.fontFamily};
510
- color: ${e.textColor};
511
- }
512
- .mouth {
513
- stroke: #666;
514
- }
515
-
516
- line {
517
- stroke: ${e.textColor}
518
- }
519
-
520
- .legend {
521
- fill: ${e.textColor};
522
- font-family: ${e.fontFamily};
523
- }
524
-
525
- .label text {
526
- fill: #333;
527
- }
528
- .label {
529
- color: ${e.textColor}
530
- }
531
-
532
- .face {
533
- ${e.faceColor ? `fill: ${e.faceColor}` : "fill: #FFF8DC"};
534
- stroke: #999;
535
- }
536
-
537
- .node rect,
538
- .node circle,
539
- .node ellipse,
540
- .node polygon,
541
- .node path {
542
- fill: ${e.mainBkg};
543
- stroke: ${e.nodeBorder};
544
- stroke-width: 1px;
545
- }
546
-
547
- .node .label {
548
- text-align: center;
549
- }
550
- .node.clickable {
551
- cursor: pointer;
552
- }
553
-
554
- .arrowheadPath {
555
- fill: ${e.arrowheadColor};
556
- }
557
-
558
- .edgePath .path {
559
- stroke: ${e.lineColor};
560
- stroke-width: 1.5px;
561
- }
562
-
563
- .flowchart-link {
564
- stroke: ${e.lineColor};
565
- fill: none;
566
- }
567
-
568
- .edgeLabel {
569
- background-color: ${e.edgeLabelBackground};
570
- rect {
571
- opacity: 0.5;
572
- }
573
- text-align: center;
574
- }
575
-
576
- .cluster rect {
577
- }
578
-
579
- .cluster text {
580
- fill: ${e.titleColor};
581
- }
582
-
583
- div.mermaidTooltip {
584
- position: absolute;
585
- text-align: center;
586
- max-width: 200px;
587
- padding: 2px;
588
- font-family: ${e.fontFamily};
589
- font-size: 12px;
590
- background: ${e.tertiaryColor};
591
- border: 1px solid ${e.border2};
592
- border-radius: 2px;
593
- pointer-events: none;
594
- z-index: 100;
595
- }
596
-
597
- .task-type-0, .section-type-0 {
598
- ${e.fillType0 ? `fill: ${e.fillType0}` : ""};
599
- }
600
- .task-type-1, .section-type-1 {
601
- ${e.fillType0 ? `fill: ${e.fillType1}` : ""};
602
- }
603
- .task-type-2, .section-type-2 {
604
- ${e.fillType0 ? `fill: ${e.fillType2}` : ""};
605
- }
606
- .task-type-3, .section-type-3 {
607
- ${e.fillType0 ? `fill: ${e.fillType3}` : ""};
608
- }
609
- .task-type-4, .section-type-4 {
610
- ${e.fillType0 ? `fill: ${e.fillType4}` : ""};
611
- }
612
- .task-type-5, .section-type-5 {
613
- ${e.fillType0 ? `fill: ${e.fillType5}` : ""};
614
- }
615
- .task-type-6, .section-type-6 {
616
- ${e.fillType0 ? `fill: ${e.fillType6}` : ""};
617
- }
618
- .task-type-7, .section-type-7 {
619
- ${e.fillType0 ? `fill: ${e.fillType7}` : ""};
620
- }
621
-
622
- .actor-0 {
623
- ${e.actor0 ? `fill: ${e.actor0}` : ""};
624
- }
625
- .actor-1 {
626
- ${e.actor1 ? `fill: ${e.actor1}` : ""};
627
- }
628
- .actor-2 {
629
- ${e.actor2 ? `fill: ${e.actor2}` : ""};
630
- }
631
- .actor-3 {
632
- ${e.actor3 ? `fill: ${e.actor3}` : ""};
633
- }
634
- .actor-4 {
635
- ${e.actor4 ? `fill: ${e.actor4}` : ""};
636
- }
637
- .actor-5 {
638
- ${e.actor5 ? `fill: ${e.actor5}` : ""};
639
- }
640
- ${f()}
641
- `, "getStyles"), N = /* @__PURE__ */ e(function(e, t) {
642
- return p(e, t);
643
- }, "drawRect"), P = /* @__PURE__ */ e(function(t, n) {
644
- let r = t.append("circle").attr("cx", n.cx).attr("cy", n.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
645
- i.append("circle").attr("cx", n.cx - 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", n.cx + 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
646
- function a(e) {
647
- let t = d().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
648
- e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 2) + ")");
649
- }
650
- e(a, "smile");
651
- function o(e) {
652
- let t = d().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
653
- e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 7) + ")");
654
- }
655
- e(o, "sad");
656
- function s(e) {
657
- e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", n.cx - 5).attr("y1", n.cy + 7).attr("x2", n.cx + 5).attr("y2", n.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
658
- }
659
- return e(s, "ambivalent"), n.score > 3 ? a(i) : n.score < 3 ? o(i) : s(i), r;
660
- }, "drawFace"), F = /* @__PURE__ */ e(function(e, t) {
661
- let n = e.append("circle");
662
- return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
663
- }, "drawCircle"), I = /* @__PURE__ */ e(function(e, t) {
664
- return h(e, t);
665
- }, "drawText"), L = /* @__PURE__ */ e(function(t, n) {
666
- function r(e, t, n, r, i) {
667
- return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
668
- }
669
- e(r, "genPoints");
670
- let i = t.append("polygon");
671
- i.attr("points", r(n.x, n.y, 50, 20, 7)), i.attr("class", "labelBox"), n.y += n.labelMargin, n.x += .5 * n.labelMargin, I(t, n);
672
- }, "drawLabel"), ee = /* @__PURE__ */ e(function(e, t, n) {
673
- let r = e.append("g"), i = g();
674
- i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width * t.taskCount + n.diagramMarginX * (t.taskCount - 1), i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, N(r, i), V(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
675
- }, "drawSection"), R = -1, z = /* @__PURE__ */ e(function(e, t, n) {
676
- let r = t.x + n.width / 2, i = e.append("g");
677
- R++, i.append("line").attr("id", "task" + R).attr("x1", r).attr("y1", t.y).attr("x2", r).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), P(i, {
678
- cx: r,
679
- cy: 300 + (5 - t.score) * 30,
680
- score: t.score
681
- });
682
- let a = g();
683
- a.x = t.x, a.y = t.y, a.fill = t.fill, a.width = n.width, a.height = n.height, a.class = "task task-type-" + t.num, a.rx = 3, a.ry = 3, N(i, a);
684
- let o = t.x + 14;
685
- t.people.forEach((e) => {
686
- let n = t.actors[e].color;
687
- F(i, {
688
- cx: o,
689
- cy: t.y,
690
- r: 7,
691
- fill: n,
692
- stroke: "#000",
693
- title: e,
694
- pos: t.actors[e].position
695
- }), o += 10;
696
- }), V(n)(t.task, i, a.x, a.y, a.width, a.height, { class: "task" }, n, t.colour);
697
- }, "drawTask"), B = /* @__PURE__ */ e(function(e, t) {
698
- m(e, t);
699
- }, "drawBackgroundRect"), V = /* @__PURE__ */ (function() {
700
- function t(e, t, n, r, a, o, s, c) {
701
- i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
702
- }
703
- e(t, "byText");
704
- function n(e, t, n, r, a, o, s, c, l) {
705
- let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
706
- for (let e = 0; e < f.length; e++) {
707
- let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", r).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
708
- p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(p, s);
709
- }
710
- }
711
- e(n, "byTspan");
712
- function r(e, t, r, a, o, s, c, l) {
713
- let u = t.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
714
- d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, u, r, a, o, s, c, l), i(d, c);
715
- }
716
- e(r, "byFo");
717
- function i(e, t) {
718
- for (let n in t) n in t && e.attr(n, t[n]);
719
- }
720
- return e(i, "_setTextAttrs"), function(e) {
721
- return e.textPlacement === "fo" ? r : e.textPlacement === "old" ? t : n;
722
- };
723
- })(), H = {
724
- drawRect: N,
725
- drawCircle: F,
726
- drawSection: ee,
727
- drawText: I,
728
- drawLabel: L,
729
- drawTask: z,
730
- drawBackgroundRect: B,
731
- initGraphics: /* @__PURE__ */ e(function(e) {
732
- e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
733
- }, "initGraphics")
734
- }, U = /* @__PURE__ */ e(function(e) {
735
- Object.keys(e).forEach(function(t) {
736
- q[t] = e[t];
737
- });
738
- }, "setConf"), W = {}, G = 0;
739
- function K(e) {
740
- let t = c().journey, n = t.maxLabelWidth;
741
- G = 0;
742
- let r = 60;
743
- Object.keys(W).forEach((i) => {
744
- let a = W[i].color, o = {
745
- cx: 20,
746
- cy: r,
747
- r: 7,
748
- fill: a,
749
- stroke: "#000",
750
- pos: W[i].position
751
- };
752
- H.drawCircle(e, o);
753
- let s = e.append("text").attr("visibility", "hidden").text(i), c = s.node().getBoundingClientRect().width;
754
- s.remove();
755
- let l = [];
756
- if (c <= n) l = [i];
757
- else {
758
- let t = i.split(" "), r = "";
759
- s = e.append("text").attr("visibility", "hidden"), t.forEach((e) => {
760
- let t = r ? `${r} ${e}` : e;
761
- if (s.text(t), s.node().getBoundingClientRect().width > n) {
762
- if (r && l.push(r), r = e, s.text(e), s.node().getBoundingClientRect().width > n) {
763
- let t = "";
764
- for (let r of e) t += r, s.text(t + "-"), s.node().getBoundingClientRect().width > n && (l.push(t.slice(0, -1) + "-"), t = r);
765
- r = t;
766
- }
767
- } else r = t;
768
- }), r && l.push(r), s.remove();
769
- }
770
- l.forEach((n, i) => {
771
- let a = {
772
- x: 40,
773
- y: r + 7 + i * 20,
774
- fill: "#666",
775
- text: n,
776
- textMargin: t.boxTextMargin ?? 5
777
- }, o = H.drawText(e, a).node().getBoundingClientRect().width;
778
- o > G && o > t.leftMargin - o && (G = o);
779
- }), r += Math.max(20, l.length * 20);
780
- });
781
- }
782
- e(K, "drawActorLegend");
783
- var q = c().journey, J = 0, Y = /* @__PURE__ */ e(function(e, n, r, i) {
784
- let a = c(), o = a.journey.titleColor, s = a.journey.titleFontSize, u = a.journey.titleFontFamily, d = a.securityLevel, f;
785
- d === "sandbox" && (f = t("#i" + n));
786
- let p = t(d === "sandbox" ? f.nodes()[0].contentDocument.body : "body");
787
- X.init();
788
- let m = p.select("#" + n);
789
- H.initGraphics(m);
790
- let h = i.db.getTasks(), g = i.db.getDiagramTitle(), _ = i.db.getActors();
791
- for (let e in W) delete W[e];
792
- let v = 0;
793
- _.forEach((e) => {
794
- W[e] = {
795
- color: q.actorColours[v % q.actorColours.length],
796
- position: v
797
- }, v++;
798
- }), K(m), J = q.leftMargin + G, X.insert(0, 0, J, Object.keys(W).length * 50), te(m, h, 0);
799
- let y = X.getBounds();
800
- g && m.append("text").text(g).attr("x", J).attr("font-size", s).attr("font-weight", "bold").attr("y", 25).attr("fill", o).attr("font-family", u);
801
- let b = y.stopy - y.starty + 2 * q.diagramMarginY, x = J + y.stopx + 2 * q.diagramMarginX;
802
- l(m, b, x, q.useMaxWidth), m.append("line").attr("x1", J).attr("y1", q.height * 4).attr("x2", x - J - 4).attr("y2", q.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
803
- let S = g ? 70 : 0;
804
- m.attr("viewBox", `${y.startx} -25 ${x} ${b + S}`), m.attr("preserveAspectRatio", "xMinYMin meet"), m.attr("height", b + S + 25);
805
- }, "draw"), X = {
806
- data: {
807
- startx: void 0,
808
- stopx: void 0,
809
- starty: void 0,
810
- stopy: void 0
811
- },
812
- verticalPos: 0,
813
- sequenceItems: [],
814
- init: /* @__PURE__ */ e(function() {
815
- this.sequenceItems = [], this.data = {
816
- startx: void 0,
817
- stopx: void 0,
818
- starty: void 0,
819
- stopy: void 0
820
- }, this.verticalPos = 0;
821
- }, "init"),
822
- updateVal: /* @__PURE__ */ e(function(e, t, n, r) {
823
- e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
824
- }, "updateVal"),
825
- updateBounds: /* @__PURE__ */ e(function(t, n, r, i) {
826
- let a = c().journey, o = this, s = 0;
827
- function l(c) {
828
- return /* @__PURE__ */ e(function(e) {
829
- s++;
830
- let l = o.sequenceItems.length - s + 1;
831
- o.updateVal(e, "starty", n - l * a.boxMargin, Math.min), o.updateVal(e, "stopy", i + l * a.boxMargin, Math.max), o.updateVal(X.data, "startx", t - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopx", r + l * a.boxMargin, Math.max), c !== "activation" && (o.updateVal(e, "startx", t - l * a.boxMargin, Math.min), o.updateVal(e, "stopx", r + l * a.boxMargin, Math.max), o.updateVal(X.data, "starty", n - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopy", i + l * a.boxMargin, Math.max));
832
- }, "updateItemBounds");
833
- }
834
- e(l, "updateFn"), this.sequenceItems.forEach(l());
835
- }, "updateBounds"),
836
- insert: /* @__PURE__ */ e(function(e, t, n, r) {
837
- let i = Math.min(e, n), a = Math.max(e, n), o = Math.min(t, r), s = Math.max(t, r);
838
- this.updateVal(X.data, "startx", i, Math.min), this.updateVal(X.data, "starty", o, Math.min), this.updateVal(X.data, "stopx", a, Math.max), this.updateVal(X.data, "stopy", s, Math.max), this.updateBounds(i, o, a, s);
839
- }, "insert"),
840
- bumpVerticalPos: /* @__PURE__ */ e(function(e) {
841
- this.verticalPos += e, this.data.stopy = this.verticalPos;
842
- }, "bumpVerticalPos"),
843
- getVerticalPos: /* @__PURE__ */ e(function() {
844
- return this.verticalPos;
845
- }, "getVerticalPos"),
846
- getBounds: /* @__PURE__ */ e(function() {
847
- return this.data;
848
- }, "getBounds")
849
- }, Z = q.sectionFills, Q = q.sectionColours, te = /* @__PURE__ */ e(function(e, t, n) {
850
- let r = c().journey, i = "", a = n + (r.height * 2 + r.diagramMarginY), o = 0, s = "#CCC", l = "black", u = 0;
851
- for (let [n, c] of t.entries()) {
852
- if (i !== c.section) {
853
- s = Z[o % Z.length], u = o % Z.length, l = Q[o % Q.length];
854
- let a = 0, d = c.section;
855
- for (let e = n; e < t.length && t[e].section == d; e++) a += 1;
856
- let f = {
857
- x: n * r.taskMargin + n * r.width + J,
858
- y: 50,
859
- text: c.section,
860
- fill: s,
861
- num: u,
862
- colour: l,
863
- taskCount: a
864
- };
865
- H.drawSection(e, f, r), i = c.section, o++;
866
- }
867
- let d = c.people.reduce((e, t) => (W[t] && (e[t] = W[t]), e), {});
868
- c.x = n * r.taskMargin + n * r.width + J, c.y = a, c.width = r.diagramMarginX, c.height = r.diagramMarginY, c.colour = l, c.fill = s, c.num = u, c.actors = d, H.drawTask(e, c, r), X.insert(c.x, c.y, c.x + c.width + r.taskMargin, 450);
869
- }
870
- }, "drawTasks"), $ = {
871
- setConf: U,
872
- draw: Y
873
- }, ne = {
874
- parser: v,
875
- db: j,
876
- renderer: $,
877
- styles: M,
878
- init: /* @__PURE__ */ e((e) => {
879
- $.setConf(e.journey), j.clear();
880
- }, "init")
881
- };
882
- //#endregion
883
- export { ne as diagram };
884
-
885
- //# sourceMappingURL=journeyDiagram-4ABVD52K-DYmmcNK4.js.map