@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,719 +0,0 @@
1
- import { h as e } from "./src-Dm6r9c7l.js";
2
- import { B as t, C as n, V as r, W as i, _ as a, a as o, b as s, c, s as l, v as u } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
3
- import { f as d } from "./chunk-GEFDOKGD-BNgT40Ex.js";
4
- import { t as f } from "./chunk-HHEYEP7N-DO1AYIZw.js";
5
- import { t as p } from "./rough.esm-DBHP55VQ.js";
6
- //#region node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-PHBUUO56.mjs
7
- var m = (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 = [1, 4], r = [1, 14], i = [1, 12], a = [1, 13], o = [
12
- 6,
13
- 7,
14
- 8
15
- ], s = [1, 20], c = [1, 18], l = [1, 19], u = [
16
- 6,
17
- 7,
18
- 11
19
- ], d = [
20
- 1,
21
- 6,
22
- 13,
23
- 14
24
- ], f = [1, 23], p = [1, 24], m = [
25
- 1,
26
- 6,
27
- 7,
28
- 11,
29
- 13,
30
- 14
31
- ], h = {
32
- trace: /* @__PURE__ */ e(function() {}, "trace"),
33
- yy: {},
34
- symbols_: {
35
- error: 2,
36
- start: 3,
37
- ishikawa: 4,
38
- spaceLines: 5,
39
- SPACELINE: 6,
40
- NL: 7,
41
- ISHIKAWA: 8,
42
- document: 9,
43
- stop: 10,
44
- EOF: 11,
45
- statement: 12,
46
- SPACELIST: 13,
47
- TEXT: 14,
48
- $accept: 0,
49
- $end: 1
50
- },
51
- terminals_: {
52
- 2: "error",
53
- 6: "SPACELINE",
54
- 7: "NL",
55
- 8: "ISHIKAWA",
56
- 11: "EOF",
57
- 13: "SPACELIST",
58
- 14: "TEXT"
59
- },
60
- productions_: [
61
- 0,
62
- [3, 1],
63
- [3, 2],
64
- [5, 1],
65
- [5, 2],
66
- [5, 2],
67
- [4, 2],
68
- [4, 3],
69
- [10, 1],
70
- [10, 1],
71
- [10, 1],
72
- [10, 2],
73
- [10, 2],
74
- [9, 3],
75
- [9, 2],
76
- [12, 2],
77
- [12, 1],
78
- [12, 1],
79
- [12, 1]
80
- ],
81
- performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
82
- var s = a.length - 1;
83
- switch (i) {
84
- case 6:
85
- case 7: return r;
86
- case 15:
87
- r.addNode(a[s - 1].length, a[s].trim());
88
- break;
89
- case 16:
90
- r.addNode(0, a[s].trim());
91
- break;
92
- }
93
- }, "anonymous"),
94
- table: [
95
- {
96
- 3: 1,
97
- 4: 2,
98
- 5: 3,
99
- 6: [1, 5],
100
- 8: n
101
- },
102
- { 1: [3] },
103
- { 1: [2, 1] },
104
- {
105
- 4: 6,
106
- 6: [1, 7],
107
- 7: [1, 8],
108
- 8: n
109
- },
110
- {
111
- 6: r,
112
- 7: [1, 10],
113
- 9: 9,
114
- 12: 11,
115
- 13: i,
116
- 14: a
117
- },
118
- t(o, [2, 3]),
119
- { 1: [2, 2] },
120
- t(o, [2, 4]),
121
- t(o, [2, 5]),
122
- {
123
- 1: [2, 6],
124
- 6: r,
125
- 12: 15,
126
- 13: i,
127
- 14: a
128
- },
129
- {
130
- 6: r,
131
- 9: 16,
132
- 12: 11,
133
- 13: i,
134
- 14: a
135
- },
136
- {
137
- 6: s,
138
- 7: c,
139
- 10: 17,
140
- 11: l
141
- },
142
- t(u, [2, 18], { 14: [1, 21] }),
143
- t(u, [2, 16]),
144
- t(u, [2, 17]),
145
- {
146
- 6: s,
147
- 7: c,
148
- 10: 22,
149
- 11: l
150
- },
151
- {
152
- 1: [2, 7],
153
- 6: r,
154
- 12: 15,
155
- 13: i,
156
- 14: a
157
- },
158
- t(d, [2, 14], {
159
- 7: f,
160
- 11: p
161
- }),
162
- t(m, [2, 8]),
163
- t(m, [2, 9]),
164
- t(m, [2, 10]),
165
- t(u, [2, 15]),
166
- t(d, [2, 13], {
167
- 7: f,
168
- 11: p
169
- }),
170
- t(m, [2, 11]),
171
- t(m, [2, 12])
172
- ],
173
- defaultActions: {
174
- 2: [2, 1],
175
- 6: [2, 2]
176
- },
177
- parseError: /* @__PURE__ */ e(function(e, t) {
178
- if (t.recoverable) this.trace(e);
179
- else {
180
- var n = Error(e);
181
- throw n.hash = t, n;
182
- }
183
- }, "parseError"),
184
- parse: /* @__PURE__ */ e(function(t) {
185
- 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: {} };
186
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
187
- h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
188
- var v = h.yylloc;
189
- o.push(v);
190
- var y = h.options && h.options.ranges;
191
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
192
- function b(e) {
193
- r.length -= 2 * e, a.length -= e, o.length -= e;
194
- }
195
- e(b, "popStack");
196
- function x() {
197
- var e = i.pop() || h.lex() || p;
198
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
199
- }
200
- e(x, "lex");
201
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
202
- 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]) {
203
- var M = "";
204
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
205
- 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, {
206
- text: h.match,
207
- token: this.terminals_[S] || S,
208
- line: h.yylineno,
209
- loc: v,
210
- expected: j
211
- });
212
- }
213
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
214
- switch (T[0]) {
215
- case 1:
216
- 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--);
217
- break;
218
- case 2:
219
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
220
- first_line: o[o.length - (k || 1)].first_line,
221
- last_line: o[o.length - 1].last_line,
222
- first_column: o[o.length - (k || 1)].first_column,
223
- last_column: o[o.length - 1].last_column
224
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
225
- c,
226
- u,
227
- l,
228
- g.yy,
229
- T[1],
230
- a,
231
- o
232
- ].concat(m)), E !== void 0) return E;
233
- 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);
234
- break;
235
- case 3: return !0;
236
- }
237
- }
238
- return !0;
239
- }, "parse")
240
- };
241
- h.lexer = /* @__PURE__ */ (function() {
242
- return {
243
- EOF: 1,
244
- parseError: /* @__PURE__ */ e(function(e, t) {
245
- if (this.yy.parser) this.yy.parser.parseError(e, t);
246
- else throw Error(e);
247
- }, "parseError"),
248
- setInput: /* @__PURE__ */ e(function(e, t) {
249
- 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 = {
250
- first_line: 1,
251
- first_column: 0,
252
- last_line: 1,
253
- last_column: 0
254
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
255
- }, "setInput"),
256
- input: /* @__PURE__ */ e(function() {
257
- var e = this._input[0];
258
- 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;
259
- }, "input"),
260
- unput: /* @__PURE__ */ e(function(e) {
261
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
262
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
263
- var r = this.match.split(/(?:\r\n?|\n)/g);
264
- 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);
265
- var i = this.yylloc.range;
266
- return this.yylloc = {
267
- first_line: this.yylloc.first_line,
268
- last_line: this.yylineno + 1,
269
- first_column: this.yylloc.first_column,
270
- 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
271
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
272
- }, "unput"),
273
- more: /* @__PURE__ */ e(function() {
274
- return this._more = !0, this;
275
- }, "more"),
276
- reject: /* @__PURE__ */ e(function() {
277
- if (this.options.backtrack_lexer) this._backtrack = !0;
278
- 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(), {
279
- text: "",
280
- token: null,
281
- line: this.yylineno
282
- });
283
- return this;
284
- }, "reject"),
285
- less: /* @__PURE__ */ e(function(e) {
286
- this.unput(this.match.slice(e));
287
- }, "less"),
288
- pastInput: /* @__PURE__ */ e(function() {
289
- var e = this.matched.substr(0, this.matched.length - this.match.length);
290
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
291
- }, "pastInput"),
292
- upcomingInput: /* @__PURE__ */ e(function() {
293
- var e = this.match;
294
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
295
- }, "upcomingInput"),
296
- showPosition: /* @__PURE__ */ e(function() {
297
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
298
- return e + this.upcomingInput() + "\n" + t + "^";
299
- }, "showPosition"),
300
- test_match: /* @__PURE__ */ e(function(e, t) {
301
- var n, r, i;
302
- if (this.options.backtrack_lexer && (i = {
303
- yylineno: this.yylineno,
304
- yylloc: {
305
- first_line: this.yylloc.first_line,
306
- last_line: this.last_line,
307
- first_column: this.yylloc.first_column,
308
- last_column: this.yylloc.last_column
309
- },
310
- yytext: this.yytext,
311
- match: this.match,
312
- matches: this.matches,
313
- matched: this.matched,
314
- yyleng: this.yyleng,
315
- offset: this.offset,
316
- _more: this._more,
317
- _input: this._input,
318
- yy: this.yy,
319
- conditionStack: this.conditionStack.slice(0),
320
- done: this.done
321
- }, 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 = {
322
- first_line: this.yylloc.last_line,
323
- last_line: this.yylineno + 1,
324
- first_column: this.yylloc.last_column,
325
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
326
- }, 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;
327
- if (this._backtrack) {
328
- for (var a in i) this[a] = i[a];
329
- return !1;
330
- }
331
- return !1;
332
- }, "test_match"),
333
- next: /* @__PURE__ */ e(function() {
334
- if (this.done) return this.EOF;
335
- this._input || (this.done = !0);
336
- var e, t, n, r;
337
- this._more || (this.yytext = "", this.match = "");
338
- 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)) {
339
- if (t = n, r = a, this.options.backtrack_lexer) {
340
- if (e = this.test_match(n, i[a]), e !== !1) return e;
341
- if (this._backtrack) {
342
- t = !1;
343
- continue;
344
- } else return !1;
345
- } else if (!this.options.flex) break;
346
- }
347
- 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(), {
348
- text: "",
349
- token: null,
350
- line: this.yylineno
351
- });
352
- }, "next"),
353
- lex: /* @__PURE__ */ e(function() {
354
- return this.next() || this.lex();
355
- }, "lex"),
356
- begin: /* @__PURE__ */ e(function(e) {
357
- this.conditionStack.push(e);
358
- }, "begin"),
359
- popState: /* @__PURE__ */ e(function() {
360
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
361
- }, "popState"),
362
- _currentRules: /* @__PURE__ */ e(function() {
363
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
364
- }, "_currentRules"),
365
- topState: /* @__PURE__ */ e(function(e) {
366
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
367
- }, "topState"),
368
- pushState: /* @__PURE__ */ e(function(e) {
369
- this.begin(e);
370
- }, "pushState"),
371
- stateStackSize: /* @__PURE__ */ e(function() {
372
- return this.conditionStack.length;
373
- }, "stateStackSize"),
374
- options: { "case-insensitive": !0 },
375
- performAction: /* @__PURE__ */ e(function(e, t, n, r) {
376
- switch (n) {
377
- case 0: return 6;
378
- case 1: return 8;
379
- case 2: return 8;
380
- case 3: return 6;
381
- case 4: return 7;
382
- case 5: return 13;
383
- case 6: return 14;
384
- case 7: return 11;
385
- }
386
- }, "anonymous"),
387
- rules: [
388
- /^(?:\s*%%.*)/i,
389
- /^(?:ishikawa-beta\b)/i,
390
- /^(?:ishikawa\b)/i,
391
- /^(?:[\s]+[\n])/i,
392
- /^(?:[\n]+)/i,
393
- /^(?:[\s]+)/i,
394
- /^(?:[^\n]+)/i,
395
- /^(?:$)/i
396
- ],
397
- conditions: { INITIAL: {
398
- rules: [
399
- 0,
400
- 1,
401
- 2,
402
- 3,
403
- 4,
404
- 5,
405
- 6,
406
- 7
407
- ],
408
- inclusive: !0
409
- } }
410
- };
411
- })();
412
- function g() {
413
- this.yy = {};
414
- }
415
- return e(g, "Parser"), g.prototype = h, h.Parser = g, new g();
416
- })();
417
- m.parser = m;
418
- var h = m, g = class {
419
- constructor() {
420
- this.stack = [], this.clear = this.clear.bind(this), this.addNode = this.addNode.bind(this), this.getRoot = this.getRoot.bind(this);
421
- }
422
- static {
423
- e(this, "IshikawaDB");
424
- }
425
- clear() {
426
- this.root = void 0, this.stack = [], this.baseLevel = void 0, o();
427
- }
428
- getRoot() {
429
- return this.root;
430
- }
431
- addNode(e, t) {
432
- let n = l.sanitizeText(t, s());
433
- if (!this.root) {
434
- this.baseLevel = e, this.root = {
435
- text: n,
436
- children: []
437
- }, this.stack = [{
438
- level: 0,
439
- node: this.root
440
- }], i(n);
441
- return;
442
- }
443
- let r = e - (this.baseLevel ?? 0);
444
- for (r <= 0 && (r = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= r;) this.stack.pop();
445
- let a = this.stack[this.stack.length - 1].node, o = {
446
- text: n,
447
- children: []
448
- };
449
- a.children.push(o), this.stack.push({
450
- level: r,
451
- node: o
452
- });
453
- }
454
- getAccTitle() {
455
- return u();
456
- }
457
- setAccTitle(e) {
458
- r(e);
459
- }
460
- getAccDescription() {
461
- return a();
462
- }
463
- setAccDescription(e) {
464
- t(e);
465
- }
466
- getDiagramTitle() {
467
- return n();
468
- }
469
- setDiagramTitle(e) {
470
- i(e);
471
- }
472
- }, _ = 14, v = 250, y = 30, b = 60, x = 5, S = 82 * Math.PI / 180, C = Math.cos(S), w = Math.sin(S), T = /* @__PURE__ */ e((e, t, n) => {
473
- let r = e.node().getBBox(), i = r.width + t * 2, a = r.height + t * 2;
474
- c(e, a, i, n), e.attr("viewBox", `${r.x - t} ${r.y - t} ${i} ${a}`);
475
- }, "applyPaddedViewBox"), E = /* @__PURE__ */ e((e, t, n, r) => {
476
- let i = r.db.getRoot();
477
- if (!i) return;
478
- let a = s(), { look: o, handDrawnSeed: c, themeVariables: l } = a, u = d(a.fontSize)[0] ?? _, m = o === "handDrawn", h = i.children ?? [], g = a.ishikawa?.diagramPadding ?? 20, y = a.ishikawa?.useMaxWidth ?? !1, b = f(t), x = b.append("g").attr("class", "ishikawa"), S = m ? p.svg(b.node()) : void 0, C = S ? {
479
- roughSvg: S,
480
- seed: c ?? 0,
481
- lineColor: l?.lineColor ?? "#333",
482
- fillColor: l?.mainBkg ?? "#fff"
483
- } : void 0, w = `ishikawa-arrow-${t}`;
484
- m || x.append("defs").append("marker").attr("id", w).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
485
- let E = 0, k = v, A = m ? void 0 : L(x, E, k, E, k, "ishikawa-spine");
486
- if (O(x, E, k, i.text, u, C), !h.length) {
487
- m && L(x, E, k, E, k, "ishikawa-spine", C), T(b, g, y);
488
- return;
489
- }
490
- E -= 20;
491
- let j = h.filter((e, t) => t % 2 == 0), N = h.filter((e, t) => t % 2 == 1), P = D(j), F = D(N), I = P.total + F.total, R = v, z = v;
492
- if (I > 0) {
493
- let e = v * 2, t = v * .3;
494
- R = Math.max(t, e * (P.total / I)), z = Math.max(t, e * (F.total / I));
495
- }
496
- let B = u * 2;
497
- R = Math.max(R, P.max * B), z = Math.max(z, F.max * B), k = Math.max(R, v), A && A.attr("y1", k).attr("y2", k), x.select(".ishikawa-head-group").attr("transform", `translate(0,${k})`);
498
- let V = Math.ceil(h.length / 2);
499
- for (let e = 0; e < V; e++) {
500
- let t = x.append("g").attr("class", "ishikawa-pair");
501
- for (let [n, r, i] of [[
502
- h[e * 2],
503
- -1,
504
- R
505
- ], [
506
- h[e * 2 + 1],
507
- 1,
508
- z
509
- ]]) n && M(t, n, E, k, r, i, u, C);
510
- E = t.selectAll("text").nodes().reduce((e, t) => Math.min(e, t.getBBox().x), Infinity);
511
- }
512
- if (m) L(x, E, k, 0, k, "ishikawa-spine", C);
513
- else {
514
- A.attr("x1", E);
515
- let e = `url(#${w})`;
516
- x.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start", e);
517
- }
518
- T(b, g, y);
519
- }, "draw"), D = /* @__PURE__ */ e((t) => {
520
- let n = /* @__PURE__ */ e((e) => e.children.reduce((e, t) => e + 1 + n(t), 0), "countDescendants");
521
- return t.reduce((e, t) => {
522
- let r = n(t);
523
- return e.total += r, e.max = Math.max(e.max, r), e;
524
- }, {
525
- total: 0,
526
- max: 0
527
- });
528
- }, "sideStats"), O = /* @__PURE__ */ e((e, t, n, r, i, a) => {
529
- let o = Math.max(6, Math.floor(110 / (i * .6))), s = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${t},${n})`), c = F(s, P(r, o), 0, 0, "ishikawa-head-label", "start", i), l = c.node().getBBox(), u = Math.max(60, l.width + 6), d = Math.max(40, l.height * 2 + 40), f = `M 0 ${-d / 2} L 0 ${d / 2} Q ${u * 2.4} 0 0 ${-d / 2} Z`;
530
- if (a) {
531
- let e = a.roughSvg.path(f, {
532
- roughness: 1.5,
533
- seed: a.seed,
534
- fill: a.fillColor,
535
- fillStyle: "hachure",
536
- fillWeight: 2.5,
537
- hachureGap: 5,
538
- stroke: a.lineColor,
539
- strokeWidth: 2
540
- });
541
- s.insert(() => e, ":first-child").attr("class", "ishikawa-head");
542
- } else s.insert("path", ":first-child").attr("class", "ishikawa-head").attr("d", f);
543
- c.attr("transform", `translate(${(u - l.width) / 2 - l.x + 3},${-l.y - l.height / 2})`);
544
- }, "drawHead"), k = /* @__PURE__ */ e((t, n) => {
545
- let r = [], i = [], a = /* @__PURE__ */ e((e, t, o) => {
546
- let s = n === -1 ? [...e].reverse() : e;
547
- for (let e of s) {
548
- let n = r.length, s = e.children ?? [];
549
- r.push({
550
- depth: o,
551
- text: P(e.text, 15),
552
- parentIndex: t,
553
- childCount: s.length
554
- }), o % 2 == 0 ? (i.push(n), s.length && a(s, n, o + 1)) : (s.length && a(s, n, o + 1), i.push(n));
555
- }
556
- }, "walk");
557
- return a(t, -1, 2), {
558
- entries: r,
559
- yOrder: i
560
- };
561
- }, "flattenTree"), A = /* @__PURE__ */ e((e, t, n, r, i, a, o) => {
562
- let s = e.append("g").attr("class", "ishikawa-label-group"), c = F(s, t, n, r + 11 * i, "ishikawa-label cause", "middle", a).node().getBBox();
563
- if (o) {
564
- let e = o.roughSvg.rectangle(c.x - 20, c.y - 2, c.width + 40, c.height + 4, {
565
- roughness: 1.5,
566
- seed: o.seed,
567
- fill: o.fillColor,
568
- fillStyle: "hachure",
569
- fillWeight: 2.5,
570
- hachureGap: 5,
571
- stroke: o.lineColor,
572
- strokeWidth: 2
573
- });
574
- s.insert(() => e, ":first-child").attr("class", "ishikawa-label-box");
575
- } else s.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", c.x - 20).attr("y", c.y - 2).attr("width", c.width + 40).attr("height", c.height + 4);
576
- }, "drawCauseLabel"), j = /* @__PURE__ */ e((e, t, n, r, i, a) => {
577
- let o = Math.sqrt(r * r + i * i);
578
- if (o === 0) return;
579
- let s = r / o, c = i / o, l = -c * 6, u = s * 6, d = t, f = n, p = `M ${d} ${f} L ${d - s * 6 * 2 + l} ${f - c * 6 * 2 + u} L ${d - s * 6 * 2 - l} ${f - c * 6 * 2 - u} Z`, m = a.roughSvg.path(p, {
580
- roughness: 1,
581
- seed: a.seed,
582
- fill: a.lineColor,
583
- fillStyle: "solid",
584
- stroke: a.lineColor,
585
- strokeWidth: 1
586
- });
587
- e.append(() => m);
588
- }, "drawArrowMarker"), M = /* @__PURE__ */ e((e, t, n, r, i, a, o, s) => {
589
- let c = t.children ?? [], l = a * (c.length ? 1 : .2), u = -C * l, d = w * l * i, f = n + u, p = r + d;
590
- if (L(e, n, r, f, p, "ishikawa-branch", s), s && j(e, n, r, n - f, r - p, s), A(e, t.text, f, p, i, o, s), !c.length) return;
591
- let { entries: m, yOrder: h } = k(c, i), g = m.length, _ = Array(g);
592
- for (let [e, t] of h.entries()) _[t] = r + d * ((e + 1) / (g + 1));
593
- let v = /* @__PURE__ */ new Map();
594
- v.set(-1, {
595
- x0: n,
596
- y0: r,
597
- x1: f,
598
- y1: p,
599
- childCount: c.length,
600
- childrenDrawn: 0
601
- });
602
- let S = -C, T = w * i, E = i < 0 ? "ishikawa-label up" : "ishikawa-label down";
603
- for (let [t, n] of m.entries()) {
604
- let r = _[t], i = v.get(n.parentIndex), a = e.append("g").attr("class", "ishikawa-sub-group"), c = 0, l = 0, u = 0;
605
- if (n.depth % 2 == 0) {
606
- let e = i.y1 - i.y0;
607
- c = I(i.x0, i.x1, e ? (r - i.y0) / e : .5), l = r, u = c - (n.childCount > 0 ? b + n.childCount * x : y), L(a, c, r, u, r, "ishikawa-sub-branch", s), s && j(a, c, r, 1, 0, s), F(a, n.text, u, r, "ishikawa-label align", "end", o);
608
- } else {
609
- let e = i.childrenDrawn++;
610
- c = I(i.x0, i.x1, (i.childCount - e) / (i.childCount + 1)), l = i.y0, u = c + S * ((r - l) / T), L(a, c, l, u, r, "ishikawa-sub-branch", s), s && j(a, c, l, c - u, l - r, s), F(a, n.text, u, r, E, "end", o);
611
- }
612
- n.childCount > 0 && v.set(t, {
613
- x0: c,
614
- y0: l,
615
- x1: u,
616
- y1: r,
617
- childCount: n.childCount,
618
- childrenDrawn: 0
619
- });
620
- }
621
- }, "drawBranch"), N = /* @__PURE__ */ e((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), P = /* @__PURE__ */ e((e, t) => {
622
- if (e.length <= t) return e;
623
- let n = [];
624
- for (let r of e.split(/\s+/)) {
625
- let e = n.length - 1;
626
- e >= 0 && n[e].length + 1 + r.length <= t ? n[e] += " " + r : n.push(r);
627
- }
628
- return n.join("\n");
629
- }, "wrapText"), F = /* @__PURE__ */ e((e, t, n, r, i, a, o) => {
630
- let s = N(t), c = o * 1.05, l = e.append("text").attr("class", i).attr("text-anchor", a).attr("x", n).attr("y", r - (s.length - 1) * c / 2);
631
- for (let [e, t] of s.entries()) l.append("tspan").attr("x", n).attr("dy", e === 0 ? 0 : c).text(t);
632
- return l;
633
- }, "drawMultilineText"), I = /* @__PURE__ */ e((e, t, n) => e + (t - e) * n, "lerp"), L = /* @__PURE__ */ e((e, t, n, r, i, a, o) => {
634
- if (o) {
635
- let s = o.roughSvg.line(t, n, r, i, {
636
- roughness: 1.5,
637
- seed: o.seed,
638
- stroke: o.lineColor,
639
- strokeWidth: 2
640
- });
641
- e.append(() => s).attr("class", a);
642
- return;
643
- }
644
- return e.append("line").attr("class", a).attr("x1", t).attr("y1", n).attr("x2", r).attr("y2", i);
645
- }, "drawLine"), R = {
646
- parser: h,
647
- get db() {
648
- return new g();
649
- },
650
- renderer: { draw: E },
651
- styles: /* @__PURE__ */ e((e) => `
652
- .ishikawa .ishikawa-spine,
653
- .ishikawa .ishikawa-branch,
654
- .ishikawa .ishikawa-sub-branch {
655
- stroke: ${e.lineColor};
656
- stroke-width: 2;
657
- fill: none;
658
- }
659
-
660
- .ishikawa .ishikawa-sub-branch {
661
- stroke-width: 1;
662
- }
663
-
664
- .ishikawa .ishikawa-arrow {
665
- fill: ${e.lineColor};
666
- }
667
-
668
- .ishikawa .ishikawa-head {
669
- fill: ${e.mainBkg};
670
- stroke: ${e.lineColor};
671
- stroke-width: 2;
672
- }
673
-
674
- .ishikawa .ishikawa-label-box {
675
- fill: ${e.mainBkg};
676
- stroke: ${e.lineColor};
677
- stroke-width: 2;
678
- }
679
-
680
- .ishikawa text {
681
- font-family: ${e.fontFamily};
682
- font-size: ${e.fontSize};
683
- fill: ${e.textColor};
684
- }
685
-
686
- .ishikawa .ishikawa-head-label {
687
- font-weight: 600;
688
- text-anchor: middle;
689
- dominant-baseline: middle;
690
- font-size: 14px;
691
- }
692
-
693
- .ishikawa .ishikawa-label {
694
- text-anchor: end;
695
- }
696
-
697
- .ishikawa .ishikawa-label.cause {
698
- text-anchor: middle;
699
- dominant-baseline: middle;
700
- }
701
-
702
- .ishikawa .ishikawa-label.align {
703
- text-anchor: end;
704
- dominant-baseline: middle;
705
- }
706
-
707
- .ishikawa .ishikawa-label.up {
708
- dominant-baseline: baseline;
709
- }
710
-
711
- .ishikawa .ishikawa-label.down {
712
- dominant-baseline: hanging;
713
- }
714
- `, "getStyles")
715
- };
716
- //#endregion
717
- export { R as diagram };
718
-
719
- //# sourceMappingURL=ishikawaDiagram-PHBUUO56-DLaOkz38.js.map