@sme.up/ketchup2 2.7.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
  2. package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
  5. package/dist/assets/svg/functions.svg +1 -0
  6. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  7. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  8. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  9. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  11. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  12. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  13. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  14. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  16. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  17. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  18. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  19. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  21. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  22. package/dist/basic-components/list/list.d.ts.map +1 -1
  23. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  28. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  29. package/dist/basic-components/select/select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
  31. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
  32. package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
  33. package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
  34. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  35. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
  36. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  37. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
  38. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
  39. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
  40. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
  41. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
  42. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
  43. package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
  44. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
  45. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  46. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
  47. package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
  48. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
  49. package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
  50. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
  51. package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
  52. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
  53. package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
  54. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
  55. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
  56. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
  57. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  58. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  59. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  60. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  61. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  62. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  63. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  64. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  65. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  66. package/dist/components/chat/chat.d.ts.map +1 -1
  67. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  68. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  69. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  71. package/dist/components/data-table/data-table-types.d.ts +52 -1
  72. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  73. package/dist/components/data-table/data-table.d.ts.map +1 -1
  74. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  75. package/dist/components/data-table/header/header-types.d.ts +7 -1
  76. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  77. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  78. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  79. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  80. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  81. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  82. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  83. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  84. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  85. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  86. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  87. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  88. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  89. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  90. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  91. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  92. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  93. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
  94. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  95. package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
  96. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
  97. package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
  98. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
  99. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  100. package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
  101. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
  102. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
  103. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
  104. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
  105. package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
  106. package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
  107. package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
  108. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  109. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  110. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  111. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  112. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  113. package/dist/functional-components/row/row-types.d.ts +5 -0
  114. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  115. package/dist/functional-components/row/row.d.ts.map +1 -1
  116. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  117. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  118. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  119. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  120. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  121. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  122. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  123. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
  124. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  125. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
  126. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  127. package/dist/index.d.ts +4 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  130. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
  131. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  132. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
  133. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
  134. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
  135. package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
  136. package/dist/ketchup2.css +1 -1
  137. package/dist/ketchup2.es.js +34744 -32755
  138. package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
  139. package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
  140. package/dist/locale/en/translation.json.d.ts +16 -0
  141. package/dist/locale/it/translation.json.d.ts +16 -0
  142. package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
  143. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
  144. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  145. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  146. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  147. package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
  148. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  149. package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
  150. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
  151. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  152. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  153. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  154. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  155. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  156. package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
  157. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
  158. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  159. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
  160. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
  161. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  162. package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
  163. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
  164. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  165. package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
  166. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  167. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
  168. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  169. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  170. package/dist/types/translation.d.ts +17 -1
  171. package/dist/types/translation.d.ts.map +1 -1
  172. package/dist/utils/data-structures.d.ts +2 -1
  173. package/dist/utils/data-structures.d.ts.map +1 -1
  174. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  175. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
  176. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  177. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
  178. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
  179. package/package.json +41 -38
  180. package/dist/arc-w3BipdfE.cjs +0 -1
  181. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  182. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  183. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  184. package/dist/array-DZSRzHA_.cjs +0 -1
  185. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  186. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  187. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  188. package/dist/channel-DJpMBAs-.cjs +0 -1
  189. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  190. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  191. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  192. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  193. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  194. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  195. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  196. package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
  197. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  198. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  199. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  200. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  201. package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
  202. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  203. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  204. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  205. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  206. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  207. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  208. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  209. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  210. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  211. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  212. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  213. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  214. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  215. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  216. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  217. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  218. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  219. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  220. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  221. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  222. package/dist/dagre-B2BBwKNb.cjs +0 -1
  223. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  224. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  225. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  226. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  227. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  228. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  229. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  230. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  231. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  232. package/dist/dist-D8RD2QWc.cjs +0 -1
  233. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  234. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  235. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  236. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  237. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  238. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  239. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  240. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  241. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  242. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  243. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  244. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  245. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  246. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  247. package/dist/init-07zIhv_j.cjs +0 -1
  248. package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
  249. package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
  250. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  251. package/dist/katex-CkiTumqg.cjs +0 -257
  252. package/dist/ketchup2.cjs.js +0 -485
  253. package/dist/line-CzwncDY3.cjs +0 -1
  254. package/dist/linear-1lpO_WlJ.cjs +0 -1
  255. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  256. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  257. package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
  258. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  259. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  260. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  261. package/dist/path-Kklx0M1v.cjs +0 -1
  262. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  263. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  264. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  265. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  266. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  267. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  268. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  269. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  270. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  271. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  272. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  273. package/dist/src-DEmZ9bFr.cjs +0 -1
  274. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  275. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  276. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  277. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  278. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  279. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  280. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  281. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  282. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  283. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  284. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  285. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  286. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  287. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  288. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,12 +1,14 @@
1
- import { g as e, h as t } from "./src-DjDATEq3.js";
2
- import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f, z as p } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- import { t as m } from "./linear-DUAteVwl.js";
4
- import { t as h } from "./ordinal-D_ZgubzR.js";
5
- import { t as g } from "./init-MwSGRDIl.js";
6
- import { i as _ } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
7
- import { t as v } from "./line-DIhSUgmA.js";
8
- import { t as y } from "./chunk-WU5MYG2G-DuCEb9G-.js";
9
- import { t as b } from "./chunk-O5CBEL6O-DbWeP4Au.js";
1
+ import { m as e } from "./src-DQoflmwT.js";
2
+ import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d, z as f } from "./chunk-DU6HZSFF-waeanndy.js";
3
+ import { n as p } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { t as m } from "./linear-CXc5xaa6.js";
5
+ import { t as h } from "./ordinal-BubEveRk.js";
6
+ import { t as g } from "./init-CsQUQz36.js";
7
+ import { i as _ } from "./chunk-75Z2AOVW-Drsj7a97.js";
8
+ import { t as v } from "./line-DTqYMLoX.js";
9
+ import { t as y } from "./chunk-CLGD4ZFX-CLGio9rD.js";
10
+ import "./chunk-PWAF6VOD-D37VoZ8H.js";
11
+ import { t as b } from "./chunk-GMAD6QVW-D80II4AD.js";
10
12
  //#region node_modules/d3-array/src/range.js
11
13
  function x(e, t, n) {
12
14
  e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
@@ -51,12 +53,12 @@ function S() {
51
53
  }, g.apply(d(), arguments);
52
54
  }
53
55
  //#endregion
54
- //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-2RQKCTM6.mjs
56
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-S5SC5T6Z.mjs
55
57
  var C = (function() {
56
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
58
+ var e = /* @__PURE__ */ p(function(e, t, n, r) {
57
59
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
58
60
  return n;
59
- }, "o"), n = [
61
+ }, "o"), t = [
60
62
  1,
61
63
  10,
62
64
  12,
@@ -66,7 +68,7 @@ var C = (function() {
66
68
  19,
67
69
  21,
68
70
  23
69
- ], r = [2, 6], i = [1, 3], a = [1, 5], o = [1, 6], s = [1, 7], c = [
71
+ ], n = [2, 6], r = [1, 3], i = [1, 5], a = [1, 6], o = [1, 7], s = [
70
72
  1,
71
73
  5,
72
74
  10,
@@ -77,10 +79,10 @@ var C = (function() {
77
79
  19,
78
80
  21,
79
81
  23,
80
- 34,
81
- 35,
82
- 36
83
- ], l = [1, 25], u = [1, 26], d = [1, 28], f = [1, 29], p = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
82
+ 36,
83
+ 37,
84
+ 38
85
+ ], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29], f = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
84
86
  1,
85
87
  10,
86
88
  12,
@@ -90,9 +92,9 @@ var C = (function() {
90
92
  19,
91
93
  21,
92
94
  23,
93
- 34,
94
- 35,
95
- 36
95
+ 36,
96
+ 37,
97
+ 38
96
98
  ], E = [
97
99
  1,
98
100
  10,
@@ -105,11 +107,11 @@ var C = (function() {
105
107
  23,
106
108
  24,
107
109
  26,
108
- 27,
109
110
  28,
110
- 34,
111
- 35,
112
- 36
111
+ 29,
112
+ 36,
113
+ 37,
114
+ 38
113
115
  ], D = [
114
116
  1,
115
117
  10,
@@ -122,12 +124,11 @@ var C = (function() {
122
124
  23,
123
125
  24,
124
126
  26,
125
- 27,
126
127
  28,
127
- 34,
128
- 35,
128
+ 29,
129
129
  36,
130
- 41,
130
+ 37,
131
+ 38,
131
132
  42,
132
133
  43,
133
134
  44,
@@ -136,9 +137,10 @@ var C = (function() {
136
137
  47,
137
138
  48,
138
139
  49,
139
- 50
140
- ], O = [1, 64], k = {
141
- trace: /* @__PURE__ */ t(function() {}, "trace"),
140
+ 50,
141
+ 51
142
+ ], O = [1, 65], k = [26, 28], A = {
143
+ trace: /* @__PURE__ */ p(function() {}, "trace"),
142
144
  yy: {},
143
145
  symbols_: {
144
146
  error: 2,
@@ -164,32 +166,33 @@ var C = (function() {
164
166
  acc_descr_value: 22,
165
167
  acc_descr_multiline_value: 23,
166
168
  SQUARE_BRACES_START: 24,
167
- commaSeparatedNumbers: 25,
169
+ dataPoints: 25,
168
170
  SQUARE_BRACES_END: 26,
169
- NUMBER_WITH_DECIMAL: 27,
171
+ dataPoint: 27,
170
172
  COMMA: 28,
171
- xAxisData: 29,
172
- bandData: 30,
173
- ARROW_DELIMITER: 31,
174
- commaSeparatedTexts: 32,
175
- yAxisData: 33,
176
- NEWLINE: 34,
177
- SEMI: 35,
178
- EOF: 36,
179
- alphaNum: 37,
180
- STR: 38,
181
- MD_STR: 39,
182
- alphaNumToken: 40,
183
- AMP: 41,
184
- NUM: 42,
185
- ALPHA: 43,
186
- PLUS: 44,
187
- EQUALS: 45,
188
- MULT: 46,
189
- DOT: 47,
190
- BRKT: 48,
191
- MINUS: 49,
192
- UNDERSCORE: 50,
173
+ NUMBER_WITH_DECIMAL: 29,
174
+ STR: 30,
175
+ xAxisData: 31,
176
+ bandData: 32,
177
+ ARROW_DELIMITER: 33,
178
+ commaSeparatedTexts: 34,
179
+ yAxisData: 35,
180
+ NEWLINE: 36,
181
+ SEMI: 37,
182
+ EOF: 38,
183
+ alphaNum: 39,
184
+ MD_STR: 40,
185
+ alphaNumToken: 41,
186
+ AMP: 42,
187
+ NUM: 43,
188
+ ALPHA: 44,
189
+ PLUS: 45,
190
+ EQUALS: 46,
191
+ MULT: 47,
192
+ DOT: 48,
193
+ BRKT: 49,
194
+ MINUS: 50,
195
+ UNDERSCORE: 51,
193
196
  $accept: 0,
194
197
  $end: 1
195
198
  },
@@ -209,24 +212,24 @@ var C = (function() {
209
212
  23: "acc_descr_multiline_value",
210
213
  24: "SQUARE_BRACES_START",
211
214
  26: "SQUARE_BRACES_END",
212
- 27: "NUMBER_WITH_DECIMAL",
213
215
  28: "COMMA",
214
- 31: "ARROW_DELIMITER",
215
- 34: "NEWLINE",
216
- 35: "SEMI",
217
- 36: "EOF",
218
- 38: "STR",
219
- 39: "MD_STR",
220
- 41: "AMP",
221
- 42: "NUM",
222
- 43: "ALPHA",
223
- 44: "PLUS",
224
- 45: "EQUALS",
225
- 46: "MULT",
226
- 47: "DOT",
227
- 48: "BRKT",
228
- 49: "MINUS",
229
- 50: "UNDERSCORE"
216
+ 29: "NUMBER_WITH_DECIMAL",
217
+ 30: "STR",
218
+ 33: "ARROW_DELIMITER",
219
+ 36: "NEWLINE",
220
+ 37: "SEMI",
221
+ 38: "EOF",
222
+ 40: "MD_STR",
223
+ 42: "AMP",
224
+ 43: "NUM",
225
+ 44: "ALPHA",
226
+ 45: "PLUS",
227
+ 46: "EQUALS",
228
+ 47: "MULT",
229
+ 48: "DOT",
230
+ 49: "BRKT",
231
+ 50: "MINUS",
232
+ 51: "UNDERSCORE"
230
233
  },
231
234
  productions_: [
232
235
  0,
@@ -251,38 +254,40 @@ var C = (function() {
251
254
  [17, 3],
252
255
  [25, 3],
253
256
  [25, 1],
257
+ [27, 2],
258
+ [27, 1],
254
259
  [13, 1],
255
260
  [13, 2],
256
261
  [13, 1],
257
- [29, 1],
258
- [29, 3],
259
- [30, 3],
262
+ [31, 1],
263
+ [31, 3],
260
264
  [32, 3],
261
- [32, 1],
265
+ [34, 3],
266
+ [34, 1],
262
267
  [15, 1],
263
268
  [15, 2],
264
269
  [15, 1],
265
- [33, 3],
270
+ [35, 3],
266
271
  [4, 1],
267
272
  [4, 1],
268
273
  [4, 1],
269
274
  [11, 1],
270
275
  [11, 1],
271
276
  [11, 1],
272
- [37, 1],
273
- [37, 2],
274
- [40, 1],
275
- [40, 1],
276
- [40, 1],
277
- [40, 1],
278
- [40, 1],
279
- [40, 1],
280
- [40, 1],
281
- [40, 1],
282
- [40, 1],
283
- [40, 1]
277
+ [39, 1],
278
+ [39, 2],
279
+ [41, 1],
280
+ [41, 1],
281
+ [41, 1],
282
+ [41, 1],
283
+ [41, 1],
284
+ [41, 1],
285
+ [41, 1],
286
+ [41, 1],
287
+ [41, 1],
288
+ [41, 1]
284
289
  ],
285
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
290
+ performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
286
291
  var s = a.length - 1;
287
292
  switch (i) {
288
293
  case 5:
@@ -320,109 +325,115 @@ var C = (function() {
320
325
  this.$ = a[s - 1];
321
326
  break;
322
327
  case 20:
323
- this.$ = [Number(a[s - 2]), ...a[s]];
328
+ case 30:
329
+ this.$ = [a[s - 2], ...a[s]];
324
330
  break;
325
331
  case 21:
326
- this.$ = [Number(a[s])];
332
+ case 31:
333
+ this.$ = [a[s]];
327
334
  break;
328
335
  case 22:
329
- r.setXAxisTitle(a[s]);
336
+ this.$ = {
337
+ value: Number(a[s - 1]),
338
+ label: a[s]
339
+ };
330
340
  break;
331
341
  case 23:
332
- r.setXAxisTitle(a[s - 1]);
342
+ this.$ = {
343
+ value: Number(a[s]),
344
+ label: ""
345
+ };
333
346
  break;
334
347
  case 24:
335
- r.setXAxisTitle({
336
- type: "text",
337
- text: ""
338
- });
348
+ r.setXAxisTitle(a[s]);
339
349
  break;
340
350
  case 25:
341
- r.setXAxisBand(a[s]);
351
+ r.setXAxisTitle(a[s - 1]);
342
352
  break;
343
353
  case 26:
344
- r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
354
+ r.setXAxisTitle({
355
+ type: "text",
356
+ text: ""
357
+ });
345
358
  break;
346
359
  case 27:
347
- this.$ = a[s - 1];
360
+ r.setXAxisBand(a[s]);
348
361
  break;
349
362
  case 28:
350
- this.$ = [a[s - 2], ...a[s]];
363
+ r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
351
364
  break;
352
365
  case 29:
353
- this.$ = [a[s]];
366
+ this.$ = a[s - 1];
354
367
  break;
355
- case 30:
368
+ case 32:
356
369
  r.setYAxisTitle(a[s]);
357
370
  break;
358
- case 31:
371
+ case 33:
359
372
  r.setYAxisTitle(a[s - 1]);
360
373
  break;
361
- case 32:
374
+ case 34:
362
375
  r.setYAxisTitle({
363
376
  type: "text",
364
377
  text: ""
365
378
  });
366
379
  break;
367
- case 33:
380
+ case 35:
368
381
  r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
369
382
  break;
370
- case 37:
383
+ case 39:
371
384
  this.$ = {
372
385
  text: a[s],
373
386
  type: "text"
374
387
  };
375
388
  break;
376
- case 38:
389
+ case 40:
377
390
  this.$ = {
378
391
  text: a[s],
379
392
  type: "text"
380
393
  };
381
394
  break;
382
- case 39:
395
+ case 41:
383
396
  this.$ = {
384
397
  text: a[s],
385
398
  type: "markdown"
386
399
  };
387
400
  break;
388
- case 40:
401
+ case 42:
389
402
  this.$ = a[s];
390
403
  break;
391
- case 41:
392
- this.$ = a[s - 1] + "" + a[s];
393
- break;
404
+ case 43: this.$ = a[s - 1] + "" + a[s];
394
405
  }
395
406
  }, "anonymous"),
396
407
  table: [
397
- e(n, r, {
408
+ e(t, n, {
398
409
  3: 1,
399
410
  4: 2,
400
411
  7: 4,
401
- 5: i,
402
- 34: a,
403
- 35: o,
404
- 36: s
412
+ 5: r,
413
+ 36: i,
414
+ 37: a,
415
+ 38: o
405
416
  }),
406
417
  { 1: [3] },
407
- e(n, r, {
418
+ e(t, n, {
408
419
  4: 2,
409
420
  7: 4,
410
421
  3: 8,
411
- 5: i,
412
- 34: a,
413
- 35: o,
414
- 36: s
422
+ 5: r,
423
+ 36: i,
424
+ 37: a,
425
+ 38: o
415
426
  }),
416
- e(n, r, {
427
+ e(t, n, {
417
428
  4: 2,
418
429
  7: 4,
419
430
  6: 9,
420
431
  3: 10,
421
- 5: i,
432
+ 5: r,
422
433
  8: [1, 11],
423
- 34: a,
424
- 35: o,
425
- 36: s
434
+ 36: i,
435
+ 37: a,
436
+ 38: o
426
437
  }),
427
438
  {
428
439
  1: [2, 4],
@@ -436,123 +447,123 @@ var C = (function() {
436
447
  21: [1, 19],
437
448
  23: [1, 20]
438
449
  },
439
- e(c, [2, 34]),
440
- e(c, [2, 35]),
441
- e(c, [2, 36]),
450
+ e(s, [2, 36]),
451
+ e(s, [2, 37]),
452
+ e(s, [2, 38]),
442
453
  { 1: [2, 1] },
443
- e(n, r, {
454
+ e(t, n, {
444
455
  4: 2,
445
456
  7: 4,
446
457
  3: 21,
447
- 5: i,
448
- 34: a,
449
- 35: o,
450
- 36: s
458
+ 5: r,
459
+ 36: i,
460
+ 37: a,
461
+ 38: o
451
462
  }),
452
463
  { 1: [2, 3] },
453
- e(c, [2, 5]),
454
- e(n, [2, 7], {
464
+ e(s, [2, 5]),
465
+ e(t, [2, 7], {
455
466
  4: 22,
456
- 34: a,
457
- 35: o,
458
- 36: s
467
+ 36: i,
468
+ 37: a,
469
+ 38: o
459
470
  }),
460
471
  {
461
472
  11: 23,
462
- 37: 24,
463
- 38: l,
464
- 39: u,
465
- 40: 27,
466
- 41: d,
467
- 42: f,
468
- 43: p,
469
- 44: m,
470
- 45: h,
471
- 46: g,
472
- 47: _,
473
- 48: v,
474
- 49: y,
475
- 50: b
473
+ 30: c,
474
+ 39: 24,
475
+ 40: l,
476
+ 41: 27,
477
+ 42: u,
478
+ 43: d,
479
+ 44: f,
480
+ 45: m,
481
+ 46: h,
482
+ 47: g,
483
+ 48: _,
484
+ 49: v,
485
+ 50: y,
486
+ 51: b
476
487
  },
477
488
  {
478
489
  11: 39,
479
490
  13: 38,
480
491
  24: x,
481
- 27: S,
482
- 29: 40,
483
- 30: 41,
484
- 37: 24,
485
- 38: l,
486
- 39: u,
487
- 40: 27,
488
- 41: d,
489
- 42: f,
490
- 43: p,
491
- 44: m,
492
- 45: h,
493
- 46: g,
494
- 47: _,
495
- 48: v,
496
- 49: y,
497
- 50: b
492
+ 29: S,
493
+ 30: c,
494
+ 31: 40,
495
+ 32: 41,
496
+ 39: 24,
497
+ 40: l,
498
+ 41: 27,
499
+ 42: u,
500
+ 43: d,
501
+ 44: f,
502
+ 45: m,
503
+ 46: h,
504
+ 47: g,
505
+ 48: _,
506
+ 49: v,
507
+ 50: y,
508
+ 51: b
498
509
  },
499
510
  {
500
511
  11: 45,
501
512
  15: 44,
502
- 27: C,
503
- 33: 46,
504
- 37: 24,
505
- 38: l,
506
- 39: u,
507
- 40: 27,
508
- 41: d,
509
- 42: f,
510
- 43: p,
511
- 44: m,
512
- 45: h,
513
- 46: g,
514
- 47: _,
515
- 48: v,
516
- 49: y,
517
- 50: b
513
+ 29: C,
514
+ 30: c,
515
+ 35: 46,
516
+ 39: 24,
517
+ 40: l,
518
+ 41: 27,
519
+ 42: u,
520
+ 43: d,
521
+ 44: f,
522
+ 45: m,
523
+ 46: h,
524
+ 47: g,
525
+ 48: _,
526
+ 49: v,
527
+ 50: y,
528
+ 51: b
518
529
  },
519
530
  {
520
531
  11: 49,
521
532
  17: 48,
522
533
  24: w,
523
- 37: 24,
524
- 38: l,
525
- 39: u,
526
- 40: 27,
527
- 41: d,
528
- 42: f,
529
- 43: p,
530
- 44: m,
531
- 45: h,
532
- 46: g,
533
- 47: _,
534
- 48: v,
535
- 49: y,
536
- 50: b
534
+ 30: c,
535
+ 39: 24,
536
+ 40: l,
537
+ 41: 27,
538
+ 42: u,
539
+ 43: d,
540
+ 44: f,
541
+ 45: m,
542
+ 46: h,
543
+ 47: g,
544
+ 48: _,
545
+ 49: v,
546
+ 50: y,
547
+ 51: b
537
548
  },
538
549
  {
539
550
  11: 52,
540
551
  17: 51,
541
552
  24: w,
542
- 37: 24,
543
- 38: l,
544
- 39: u,
545
- 40: 27,
546
- 41: d,
547
- 42: f,
548
- 43: p,
549
- 44: m,
550
- 45: h,
551
- 46: g,
552
- 47: _,
553
- 48: v,
554
- 49: y,
555
- 50: b
553
+ 30: c,
554
+ 39: 24,
555
+ 40: l,
556
+ 41: 27,
557
+ 42: u,
558
+ 43: d,
559
+ 44: f,
560
+ 45: m,
561
+ 46: h,
562
+ 47: g,
563
+ 48: _,
564
+ 49: v,
565
+ 50: y,
566
+ 51: b
556
567
  },
557
568
  { 20: [1, 53] },
558
569
  { 22: [1, 54] },
@@ -560,24 +571,22 @@ var C = (function() {
560
571
  { 1: [2, 2] },
561
572
  e(T, [2, 8]),
562
573
  e(T, [2, 9]),
563
- e(E, [2, 37], {
564
- 40: 55,
565
- 41: d,
566
- 42: f,
567
- 43: p,
568
- 44: m,
569
- 45: h,
570
- 46: g,
571
- 47: _,
572
- 48: v,
573
- 49: y,
574
- 50: b
574
+ e(E, [2, 39], {
575
+ 41: 55,
576
+ 42: u,
577
+ 43: d,
578
+ 44: f,
579
+ 45: m,
580
+ 46: h,
581
+ 47: g,
582
+ 48: _,
583
+ 49: v,
584
+ 50: y,
585
+ 51: b
575
586
  }),
576
- e(E, [2, 38]),
577
- e(E, [2, 39]),
578
- e(D, [2, 40]),
587
+ e(E, [2, 40]),
588
+ e(E, [2, 41]),
579
589
  e(D, [2, 42]),
580
- e(D, [2, 43]),
581
590
  e(D, [2, 44]),
582
591
  e(D, [2, 45]),
583
592
  e(D, [2, 46]),
@@ -586,41 +595,43 @@ var C = (function() {
586
595
  e(D, [2, 49]),
587
596
  e(D, [2, 50]),
588
597
  e(D, [2, 51]),
598
+ e(D, [2, 52]),
599
+ e(D, [2, 53]),
589
600
  e(T, [2, 10]),
590
- e(T, [2, 22], {
591
- 30: 41,
592
- 29: 56,
601
+ e(T, [2, 24], {
602
+ 32: 41,
603
+ 31: 56,
593
604
  24: x,
594
- 27: S
605
+ 29: S
595
606
  }),
596
- e(T, [2, 24]),
597
- e(T, [2, 25]),
598
- { 31: [1, 57] },
607
+ e(T, [2, 26]),
608
+ e(T, [2, 27]),
609
+ { 33: [1, 57] },
599
610
  {
600
611
  11: 59,
601
- 32: 58,
602
- 37: 24,
603
- 38: l,
604
- 39: u,
605
- 40: 27,
606
- 41: d,
607
- 42: f,
608
- 43: p,
609
- 44: m,
610
- 45: h,
611
- 46: g,
612
- 47: _,
613
- 48: v,
614
- 49: y,
615
- 50: b
612
+ 30: c,
613
+ 34: 58,
614
+ 39: 24,
615
+ 40: l,
616
+ 41: 27,
617
+ 42: u,
618
+ 43: d,
619
+ 44: f,
620
+ 45: m,
621
+ 46: h,
622
+ 47: g,
623
+ 48: _,
624
+ 49: v,
625
+ 50: y,
626
+ 51: b
616
627
  },
617
628
  e(T, [2, 11]),
618
- e(T, [2, 30], {
619
- 33: 60,
620
- 27: C
629
+ e(T, [2, 32], {
630
+ 35: 60,
631
+ 29: C
621
632
  }),
622
- e(T, [2, 32]),
623
- { 31: [1, 61] },
633
+ e(T, [2, 34]),
634
+ { 33: [1, 61] },
624
635
  e(T, [2, 12]),
625
636
  {
626
637
  17: 62,
@@ -628,97 +639,101 @@ var C = (function() {
628
639
  },
629
640
  {
630
641
  25: 63,
631
- 27: O
642
+ 27: 64,
643
+ 29: O
632
644
  },
633
645
  e(T, [2, 14]),
634
646
  {
635
- 17: 65,
647
+ 17: 66,
636
648
  24: w
637
649
  },
638
650
  e(T, [2, 16]),
639
651
  e(T, [2, 17]),
640
- e(D, [2, 41]),
641
- e(T, [2, 23]),
642
- { 27: [1, 66] },
643
- { 26: [1, 67] },
652
+ e(D, [2, 43]),
653
+ e(T, [2, 25]),
654
+ { 29: [1, 67] },
655
+ { 26: [1, 68] },
644
656
  {
645
- 26: [2, 29],
646
- 28: [1, 68]
657
+ 26: [2, 31],
658
+ 28: [1, 69]
647
659
  },
648
- e(T, [2, 31]),
649
- { 27: [1, 69] },
660
+ e(T, [2, 33]),
661
+ { 29: [1, 70] },
650
662
  e(T, [2, 13]),
651
- { 26: [1, 70] },
663
+ { 26: [1, 71] },
652
664
  {
653
665
  26: [2, 21],
654
- 28: [1, 71]
666
+ 28: [1, 72]
655
667
  },
668
+ e(k, [2, 23], { 30: [1, 73] }),
656
669
  e(T, [2, 15]),
657
- e(T, [2, 26]),
658
- e(T, [2, 27]),
670
+ e(T, [2, 28]),
671
+ e(T, [2, 29]),
659
672
  {
660
673
  11: 59,
661
- 32: 72,
662
- 37: 24,
663
- 38: l,
664
- 39: u,
665
- 40: 27,
666
- 41: d,
667
- 42: f,
668
- 43: p,
669
- 44: m,
670
- 45: h,
671
- 46: g,
672
- 47: _,
673
- 48: v,
674
- 49: y,
675
- 50: b
674
+ 30: c,
675
+ 34: 74,
676
+ 39: 24,
677
+ 40: l,
678
+ 41: 27,
679
+ 42: u,
680
+ 43: d,
681
+ 44: f,
682
+ 45: m,
683
+ 46: h,
684
+ 47: g,
685
+ 48: _,
686
+ 49: v,
687
+ 50: y,
688
+ 51: b
676
689
  },
677
- e(T, [2, 33]),
690
+ e(T, [2, 35]),
678
691
  e(T, [2, 19]),
679
692
  {
680
- 25: 73,
681
- 27: O
693
+ 25: 75,
694
+ 27: 64,
695
+ 29: O
682
696
  },
683
- { 26: [2, 28] },
697
+ e(k, [2, 22]),
698
+ { 26: [2, 30] },
684
699
  { 26: [2, 20] }
685
700
  ],
686
701
  defaultActions: {
687
702
  8: [2, 1],
688
703
  10: [2, 3],
689
704
  21: [2, 2],
690
- 72: [2, 28],
691
- 73: [2, 20]
705
+ 74: [2, 30],
706
+ 75: [2, 20]
692
707
  },
693
- parseError: /* @__PURE__ */ t(function(e, t) {
708
+ parseError: /* @__PURE__ */ p(function(e, t) {
694
709
  if (t.recoverable) this.trace(e);
695
710
  else {
696
711
  var n = Error(e);
697
712
  throw n.hash = t, n;
698
713
  }
699
714
  }, "parseError"),
700
- parse: /* @__PURE__ */ t(function(e) {
701
- 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: {} };
715
+ parse: /* @__PURE__ */ p(function(e) {
716
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
702
717
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
703
718
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
704
719
  var v = h.yylloc;
705
- o.push(v);
720
+ a.push(v);
706
721
  var y = h.options && h.options.ranges;
707
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
722
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
708
723
  function b(e) {
709
- r.length -= 2 * e, a.length -= e, o.length -= e;
724
+ n.length -= 2 * e, i.length -= e, a.length -= e;
710
725
  }
711
- t(b, "popStack");
726
+ p(b, "popStack");
712
727
  function x() {
713
- var e = i.pop() || h.lex() || p;
714
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
728
+ var e = r.pop() || h.lex() || f;
729
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
715
730
  }
716
- t(x, "lex");
731
+ p(x, "lex");
717
732
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
718
- 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]) {
733
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
719
734
  var M = "";
720
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
721
- 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, {
735
+ for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
736
+ M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
722
737
  text: h.match,
723
738
  token: this.terminals_[S] || S,
724
739
  line: h.yylineno,
@@ -729,24 +744,24 @@ var C = (function() {
729
744
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
730
745
  switch (T[0]) {
731
746
  case 1:
732
- 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--);
747
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
733
748
  break;
734
749
  case 2:
735
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
736
- first_line: o[o.length - (k || 1)].first_line,
737
- last_line: o[o.length - 1].last_line,
738
- first_column: o[o.length - (k || 1)].first_column,
739
- last_column: o[o.length - 1].last_column
740
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
741
- c,
742
- u,
750
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
751
+ first_line: a[a.length - (k || 1)].first_line,
752
+ last_line: a[a.length - 1].last_line,
753
+ first_column: a[a.length - (k || 1)].first_column,
754
+ last_column: a[a.length - 1].last_column
755
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
756
+ s,
743
757
  l,
758
+ c,
744
759
  g.yy,
745
760
  T[1],
746
- a,
747
- o
761
+ i,
762
+ a
748
763
  ].concat(m)), E !== void 0) return E;
749
- 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);
764
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
750
765
  break;
751
766
  case 3: return !0;
752
767
  }
@@ -754,14 +769,14 @@ var C = (function() {
754
769
  return !0;
755
770
  }, "parse")
756
771
  };
757
- k.lexer = /* @__PURE__ */ (function() {
772
+ A.lexer = /* @__PURE__ */ (function() {
758
773
  return {
759
774
  EOF: 1,
760
- parseError: /* @__PURE__ */ t(function(e, t) {
775
+ parseError: /* @__PURE__ */ p(function(e, t) {
761
776
  if (this.yy.parser) this.yy.parser.parseError(e, t);
762
777
  else throw Error(e);
763
778
  }, "parseError"),
764
- setInput: /* @__PURE__ */ t(function(e, t) {
779
+ setInput: /* @__PURE__ */ p(function(e, t) {
765
780
  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 = {
766
781
  first_line: 1,
767
782
  first_column: 0,
@@ -769,11 +784,11 @@ var C = (function() {
769
784
  last_column: 0
770
785
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
771
786
  }, "setInput"),
772
- input: /* @__PURE__ */ t(function() {
787
+ input: /* @__PURE__ */ p(function() {
773
788
  var e = this._input[0];
774
789
  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;
775
790
  }, "input"),
776
- unput: /* @__PURE__ */ t(function(e) {
791
+ unput: /* @__PURE__ */ p(function(e) {
777
792
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
778
793
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
779
794
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -786,10 +801,10 @@ var C = (function() {
786
801
  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
787
802
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
788
803
  }, "unput"),
789
- more: /* @__PURE__ */ t(function() {
804
+ more: /* @__PURE__ */ p(function() {
790
805
  return this._more = !0, this;
791
806
  }, "more"),
792
- reject: /* @__PURE__ */ t(function() {
807
+ reject: /* @__PURE__ */ p(function() {
793
808
  if (this.options.backtrack_lexer) this._backtrack = !0;
794
809
  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(), {
795
810
  text: "",
@@ -798,22 +813,22 @@ var C = (function() {
798
813
  });
799
814
  return this;
800
815
  }, "reject"),
801
- less: /* @__PURE__ */ t(function(e) {
816
+ less: /* @__PURE__ */ p(function(e) {
802
817
  this.unput(this.match.slice(e));
803
818
  }, "less"),
804
- pastInput: /* @__PURE__ */ t(function() {
819
+ pastInput: /* @__PURE__ */ p(function() {
805
820
  var e = this.matched.substr(0, this.matched.length - this.match.length);
806
821
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
807
822
  }, "pastInput"),
808
- upcomingInput: /* @__PURE__ */ t(function() {
823
+ upcomingInput: /* @__PURE__ */ p(function() {
809
824
  var e = this.match;
810
825
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
811
826
  }, "upcomingInput"),
812
- showPosition: /* @__PURE__ */ t(function() {
827
+ showPosition: /* @__PURE__ */ p(function() {
813
828
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
814
829
  return e + this.upcomingInput() + "\n" + t + "^";
815
830
  }, "showPosition"),
816
- test_match: /* @__PURE__ */ t(function(e, t) {
831
+ test_match: /* @__PURE__ */ p(function(e, t) {
817
832
  var n, r, i;
818
833
  if (this.options.backtrack_lexer && (i = {
819
834
  yylineno: this.yylineno,
@@ -846,7 +861,7 @@ var C = (function() {
846
861
  }
847
862
  return !1;
848
863
  }, "test_match"),
849
- next: /* @__PURE__ */ t(function() {
864
+ next: /* @__PURE__ */ p(function() {
850
865
  if (this.done) return this.EOF;
851
866
  this._input || (this.done = !0);
852
867
  var e, t, n, r;
@@ -857,44 +872,46 @@ var C = (function() {
857
872
  if (this._backtrack) {
858
873
  t = !1;
859
874
  continue;
860
- } else return !1;
861
- } else if (!this.options.flex) break;
875
+ }
876
+ return !1;
877
+ }
878
+ if (!this.options.flex) break;
862
879
  }
863
- 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(), {
880
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
864
881
  text: "",
865
882
  token: null,
866
883
  line: this.yylineno
867
884
  });
868
885
  }, "next"),
869
- lex: /* @__PURE__ */ t(function() {
886
+ lex: /* @__PURE__ */ p(function() {
870
887
  return this.next() || this.lex();
871
888
  }, "lex"),
872
- begin: /* @__PURE__ */ t(function(e) {
889
+ begin: /* @__PURE__ */ p(function(e) {
873
890
  this.conditionStack.push(e);
874
891
  }, "begin"),
875
- popState: /* @__PURE__ */ t(function() {
892
+ popState: /* @__PURE__ */ p(function() {
876
893
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
877
894
  }, "popState"),
878
- _currentRules: /* @__PURE__ */ t(function() {
895
+ _currentRules: /* @__PURE__ */ p(function() {
879
896
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
880
897
  }, "_currentRules"),
881
- topState: /* @__PURE__ */ t(function(e) {
898
+ topState: /* @__PURE__ */ p(function(e) {
882
899
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
883
900
  }, "topState"),
884
- pushState: /* @__PURE__ */ t(function(e) {
901
+ pushState: /* @__PURE__ */ p(function(e) {
885
902
  this.begin(e);
886
903
  }, "pushState"),
887
- stateStackSize: /* @__PURE__ */ t(function() {
904
+ stateStackSize: /* @__PURE__ */ p(function() {
888
905
  return this.conditionStack.length;
889
906
  }, "stateStackSize"),
890
907
  options: { "case-insensitive": !0 },
891
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
908
+ performAction: /* @__PURE__ */ p(function(e, t, n, r) {
892
909
  switch (n) {
893
910
  case 0: break;
894
911
  case 1: break;
895
- case 2: return this.popState(), 34;
896
- case 3: return this.popState(), 34;
897
- case 4: return 34;
912
+ case 2: return this.popState(), 36;
913
+ case 3: return this.popState(), 36;
914
+ case 4: return 36;
898
915
  case 5: break;
899
916
  case 6: return 10;
900
917
  case 7: return this.pushState("acc_title"), 19;
@@ -914,11 +931,11 @@ var C = (function() {
914
931
  case 17: return this.pushState("axis_data"), "X_AXIS";
915
932
  case 18: return this.pushState("axis_data"), "Y_AXIS";
916
933
  case 19: return this.pushState("axis_band_data"), 24;
917
- case 20: return 31;
934
+ case 20: return 33;
918
935
  case 21: return this.pushState("data"), 16;
919
936
  case 22: return this.pushState("data"), 18;
920
937
  case 23: return this.pushState("data_inner"), 24;
921
- case 24: return 27;
938
+ case 24: return 29;
922
939
  case 25: return this.popState(), 26;
923
940
  case 26:
924
941
  this.popState();
@@ -932,21 +949,21 @@ var C = (function() {
932
949
  case 29: return "STR";
933
950
  case 30: return 24;
934
951
  case 31: return 26;
935
- case 32: return 43;
952
+ case 32: return 44;
936
953
  case 33: return "COLON";
937
- case 34: return 44;
954
+ case 34: return 45;
938
955
  case 35: return 28;
939
- case 36: return 45;
940
- case 37: return 46;
941
- case 38: return 48;
942
- case 39: return 50;
943
- case 40: return 47;
944
- case 41: return 41;
945
- case 42: return 49;
946
- case 43: return 42;
956
+ case 36: return 46;
957
+ case 37: return 47;
958
+ case 38: return 49;
959
+ case 39: return 51;
960
+ case 40: return 48;
961
+ case 41: return 42;
962
+ case 42: return 50;
963
+ case 43: return 43;
947
964
  case 44: break;
948
- case 45: return 35;
949
- case 46: return 36;
965
+ case 45: return 37;
966
+ case 46: return 38;
950
967
  }
951
968
  }, "anonymous"),
952
969
  rules: [
@@ -1230,31 +1247,31 @@ var C = (function() {
1230
1247
  }
1231
1248
  };
1232
1249
  })();
1233
- function A() {
1250
+ function j() {
1234
1251
  this.yy = {};
1235
1252
  }
1236
- return t(A, "Parser"), A.prototype = k, k.Parser = A, new A();
1253
+ return p(j, "Parser"), j.prototype = A, A.Parser = j, new j();
1237
1254
  })();
1238
1255
  C.parser = C;
1239
1256
  var w = C;
1240
1257
  function T(e) {
1241
1258
  return e.type === "bar";
1242
1259
  }
1243
- t(T, "isBarPlot");
1260
+ p(T, "isBarPlot");
1244
1261
  function E(e) {
1245
1262
  return e.type === "band";
1246
1263
  }
1247
- t(E, "isBandAxisData");
1264
+ p(E, "isBandAxisData");
1248
1265
  function D(e) {
1249
1266
  return e.type === "linear";
1250
1267
  }
1251
- t(D, "isLinearAxisData");
1268
+ p(D, "isLinearAxisData");
1252
1269
  var O = class {
1253
1270
  constructor(e) {
1254
1271
  this.parentGroup = e;
1255
1272
  }
1256
1273
  static {
1257
- t(this, "TextDimensionCalculatorWithFont");
1274
+ p(this, "TextDimensionCalculatorWithFont");
1258
1275
  }
1259
1276
  getMaxDimension(e, t) {
1260
1277
  if (!this.parentGroup) return {
@@ -1278,15 +1295,15 @@ var O = class {
1278
1295
  y: 0,
1279
1296
  width: 0,
1280
1297
  height: 0
1281
- }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
1298
+ }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.normalizedLabelRotationInRad = 0, this.range = [0, 10], this.boundingRect = {
1282
1299
  x: 0,
1283
1300
  y: 0,
1284
1301
  width: 0,
1285
1302
  height: 0
1286
- }, this.axisPosition = "left";
1303
+ }, this.axisPosition = "left", this.normalizedLabelRotationInRad = this.axisConfig.labelRotation >= -90 && this.axisConfig.labelRotation <= 90 ? this.axisConfig.labelRotation * Math.PI / 180 : 0;
1287
1304
  }
1288
1305
  static {
1289
- t(this, "BaseAxis");
1306
+ p(this, "BaseAxis");
1290
1307
  }
1291
1308
  setRange(e) {
1292
1309
  this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
@@ -1315,8 +1332,8 @@ var O = class {
1315
1332
  if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1316
1333
  let n = this.getLabelDimension(), r = A * e.width;
1317
1334
  this.outerPadding = Math.min(n.width / 2, r);
1318
- let i = n.height + this.axisConfig.labelPadding * 2;
1319
- this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1335
+ let i = n.height;
1336
+ this.axisPosition === "bottom" && this.normalizedLabelRotationInRad !== 0 && (i = Math.max(i, Math.abs(Math.sin(this.normalizedLabelRotationInRad) * n.width) + Math.abs(Math.cos(this.normalizedLabelRotationInRad) * n.height))), i += this.axisConfig.labelPadding * 2, this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1320
1337
  }
1321
1338
  if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1322
1339
  let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
@@ -1347,6 +1364,10 @@ var O = class {
1347
1364
  setBoundingBoxXY(e) {
1348
1365
  this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1349
1366
  }
1367
+ calculateOffsetByRotation(e) {
1368
+ let t = this.normalizedLabelRotationInRad;
1369
+ return t === 0 ? 0 : Math.sin(t) * this.getLabelDimension()[e] / 2;
1370
+ }
1350
1371
  getDrawableElementsForLeftAxis() {
1351
1372
  let e = [];
1352
1373
  if (this.showAxisLine) {
@@ -1420,11 +1441,11 @@ var O = class {
1420
1441
  groupTexts: ["bottom-axis", "label"],
1421
1442
  data: this.getTickValues().map((e) => ({
1422
1443
  text: e.toString(),
1423
- x: this.getScaleValue(e),
1424
- y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1444
+ x: this.getScaleValue(e) + this.calculateOffsetByRotation("height"),
1445
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0) + Math.abs(this.calculateOffsetByRotation("width")),
1425
1446
  fill: this.axisThemeConfig.labelColor,
1426
1447
  fontSize: this.axisConfig.labelFontSize,
1427
- rotation: 0,
1448
+ rotation: this.normalizedLabelRotationInRad * 180 / Math.PI,
1428
1449
  verticalPos: "top",
1429
1450
  horizontalPos: "center"
1430
1451
  }))
@@ -1516,7 +1537,7 @@ var O = class {
1516
1537
  }
1517
1538
  }, M = class extends j {
1518
1539
  static {
1519
- t(this, "BandAxis");
1540
+ p(this, "BandAxis");
1520
1541
  }
1521
1542
  constructor(e, t, n, r, i) {
1522
1543
  super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
@@ -1535,7 +1556,7 @@ var O = class {
1535
1556
  }
1536
1557
  }, ee = class extends j {
1537
1558
  static {
1538
- t(this, "LinearAxis");
1559
+ p(this, "LinearAxis");
1539
1560
  }
1540
1561
  constructor(e, t, n, r, i) {
1541
1562
  super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
@@ -1555,7 +1576,7 @@ function N(e, t, n, r) {
1555
1576
  let i = new O(r);
1556
1577
  return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
1557
1578
  }
1558
- t(N, "getAxis");
1579
+ p(N, "getAxis");
1559
1580
  var te = class {
1560
1581
  constructor(e, t, n, r) {
1561
1582
  this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
@@ -1566,7 +1587,7 @@ var te = class {
1566
1587
  }, this.showChartTitle = !1;
1567
1588
  }
1568
1589
  static {
1569
- t(this, "ChartTitle");
1590
+ p(this, "ChartTitle");
1570
1591
  }
1571
1592
  setBoundingBoxXY(e) {
1572
1593
  this.boundingRect.x = e.x, this.boundingRect.y = e.y;
@@ -1596,20 +1617,109 @@ var te = class {
1596
1617
  }), e;
1597
1618
  }
1598
1619
  };
1599
- function ne(e, t, n, r) {
1620
+ function P(e, t, n, r) {
1600
1621
  return new te(new O(r), e, t, n);
1601
1622
  }
1602
- t(ne, "getChartTitleComponent");
1603
- var re = class {
1623
+ p(P, "getChartTitleComponent");
1624
+ var ne = .75, re = .5, ie = .35;
1625
+ function F(e) {
1626
+ return {
1627
+ fontSize: e,
1628
+ markerSize: e * ne,
1629
+ markerSpacing: e * ie,
1630
+ itemSpacing: e * re
1631
+ };
1632
+ }
1633
+ p(F, "getLegendLayout");
1634
+ var ae = class {
1635
+ constructor(e, t, n, r) {
1636
+ this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
1637
+ x: 0,
1638
+ y: 0,
1639
+ width: 0,
1640
+ height: 0
1641
+ }, this.visiblePlots = [];
1642
+ }
1643
+ static {
1644
+ p(this, "ChartLegend");
1645
+ }
1646
+ setBoundingBoxXY(e) {
1647
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1648
+ }
1649
+ calculateSpace(e) {
1650
+ if (this.visiblePlots = this.chartConfig.showLegend ? this.chartData.plots.filter((e) => e.title) : [], this.visiblePlots.length === 0) return this.boundingRect.width = 0, this.boundingRect.height = 0, {
1651
+ width: 0,
1652
+ height: 0
1653
+ };
1654
+ let { fontSize: t, markerSize: n, markerSpacing: r, itemSpacing: i } = F(this.chartConfig.legendFontSize), a = this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((e) => e.title), t), o = this.chartConfig.legendPadding * 2 + n + r + a.width, s = this.chartConfig.legendPadding * 2 + this.visiblePlots.length * t + (this.visiblePlots.length - 1) * i;
1655
+ return o <= e.width && s <= e.height ? (this.boundingRect.width = o, this.boundingRect.height = s) : (this.visiblePlots = [], this.boundingRect.width = 0, this.boundingRect.height = 0), {
1656
+ width: this.boundingRect.width,
1657
+ height: this.boundingRect.height
1658
+ };
1659
+ }
1660
+ getDrawableElements() {
1661
+ if (this.visiblePlots.length === 0) return [];
1662
+ let { fontSize: e, markerSize: t, markerSpacing: n, itemSpacing: r } = F(this.chartConfig.legendFontSize), i = e + r, a = this.boundingRect.x + this.chartConfig.legendPadding, o = this.boundingRect.y + this.chartConfig.legendPadding, s = [], c = [];
1663
+ for (let [e, n] of this.visiblePlots.entries()) if (T(n)) s.push({
1664
+ x: a,
1665
+ y: o + e * i,
1666
+ width: t,
1667
+ height: t,
1668
+ fill: n.fill,
1669
+ strokeFill: n.fill,
1670
+ strokeWidth: 0
1671
+ });
1672
+ else {
1673
+ let r = o + e * i + t / 2;
1674
+ c.push({
1675
+ path: `M ${a},${r} L ${a + t},${r}`,
1676
+ strokeFill: n.strokeFill,
1677
+ strokeWidth: n.strokeWidth
1678
+ });
1679
+ }
1680
+ return [
1681
+ {
1682
+ groupTexts: ["legend", "markers"],
1683
+ type: "rect",
1684
+ data: s
1685
+ },
1686
+ {
1687
+ groupTexts: ["legend", "markers"],
1688
+ type: "path",
1689
+ data: c
1690
+ },
1691
+ {
1692
+ groupTexts: ["legend", "label"],
1693
+ type: "text",
1694
+ data: this.visiblePlots.map((r, s) => ({
1695
+ text: r.title,
1696
+ x: a + t + n,
1697
+ y: o + s * i + t / 2,
1698
+ fill: this.chartThemeConfig.legendTextColor,
1699
+ fontSize: e,
1700
+ rotation: 0,
1701
+ verticalPos: "middle",
1702
+ horizontalPos: "left"
1703
+ }))
1704
+ }
1705
+ ];
1706
+ }
1707
+ };
1708
+ function I(e, t, n, r) {
1709
+ return new ae(new O(r), e, t, n);
1710
+ }
1711
+ p(I, "getChartLegendComponent");
1712
+ var oe = class {
1604
1713
  constructor(e, t, n, r, i) {
1605
1714
  this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
1606
1715
  }
1607
1716
  static {
1608
- t(this, "LinePlot");
1717
+ p(this, "LinePlot");
1609
1718
  }
1610
1719
  getDrawableElement() {
1611
1720
  let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
1612
- return t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), t ? [{
1721
+ if (t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), !t) return [];
1722
+ let n = [{
1613
1723
  groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1614
1724
  type: "path",
1615
1725
  data: [{
@@ -1617,14 +1727,49 @@ var re = class {
1617
1727
  strokeFill: this.plotData.strokeFill,
1618
1728
  strokeWidth: this.plotData.strokeWidth
1619
1729
  }]
1620
- }] : [];
1730
+ }];
1731
+ if (this.plotData.pointLabels && this.plotData.pointLabels.length > 0) {
1732
+ let t = [];
1733
+ for (let [n, [r, i]] of e.entries()) {
1734
+ let e = this.plotData.pointLabels[n];
1735
+ e && (this.orientation === "horizontal" ? t.push({
1736
+ x: i + 10,
1737
+ y: r,
1738
+ text: e,
1739
+ fill: this.plotData.strokeFill,
1740
+ verticalPos: "middle",
1741
+ horizontalPos: "left",
1742
+ fontSize: 12,
1743
+ rotation: 0
1744
+ }) : t.push({
1745
+ x: r,
1746
+ y: i - 10,
1747
+ text: e,
1748
+ fill: this.plotData.strokeFill,
1749
+ verticalPos: "middle",
1750
+ horizontalPos: "center",
1751
+ fontSize: 12,
1752
+ rotation: 0
1753
+ }));
1754
+ }
1755
+ t.length > 0 && n.push({
1756
+ groupTexts: [
1757
+ "plot",
1758
+ `line-plot-${this.plotIndex}`,
1759
+ "labels"
1760
+ ],
1761
+ type: "text",
1762
+ data: t
1763
+ });
1764
+ }
1765
+ return n;
1621
1766
  }
1622
- }, ie = class {
1767
+ }, se = class {
1623
1768
  constructor(e, t, n, r, i, a) {
1624
1769
  this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
1625
1770
  }
1626
1771
  static {
1627
- t(this, "BarPlot");
1772
+ p(this, "BarPlot");
1628
1773
  }
1629
1774
  getDrawableElement() {
1630
1775
  let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
@@ -1654,7 +1799,7 @@ var re = class {
1654
1799
  }))
1655
1800
  }];
1656
1801
  }
1657
- }, ae = class {
1802
+ }, ce = class {
1658
1803
  constructor(e, t, n) {
1659
1804
  this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
1660
1805
  x: 0,
@@ -1664,7 +1809,7 @@ var re = class {
1664
1809
  };
1665
1810
  }
1666
1811
  static {
1667
- t(this, "BasePlot");
1812
+ p(this, "BasePlot");
1668
1813
  }
1669
1814
  setAxes(e, t) {
1670
1815
  this.xAxis = e, this.yAxis = t;
@@ -1684,29 +1829,28 @@ var re = class {
1684
1829
  for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
1685
1830
  case "line":
1686
1831
  {
1687
- let r = new re(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1688
- e.push(...r.getDrawableElement());
1689
- }
1690
- break;
1691
- case "bar":
1692
- {
1693
- let r = new ie(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1832
+ let r = new oe(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1694
1833
  e.push(...r.getDrawableElement());
1695
1834
  }
1696
1835
  break;
1836
+ case "bar": {
1837
+ let r = new se(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1838
+ e.push(...r.getDrawableElement());
1839
+ }
1697
1840
  }
1698
1841
  return e;
1699
1842
  }
1700
1843
  };
1701
- function P(e, t, n) {
1702
- return new ae(e, t, n);
1844
+ function le(e, t, n) {
1845
+ return new ce(e, t, n);
1703
1846
  }
1704
- t(P, "getPlotComponent");
1705
- var oe = class {
1847
+ p(le, "getPlotComponent");
1848
+ var ue = class {
1706
1849
  constructor(e, t, n, r) {
1707
1850
  this.chartConfig = e, this.chartData = t, this.componentStore = {
1708
- title: ne(e, t, n, r),
1709
- plot: P(e, t, n),
1851
+ title: P(e, t, n, r),
1852
+ plot: le(e, t, n),
1853
+ legend: I(e, t, n, r),
1710
1854
  xAxis: N(t.xAxis, e.xAxis, {
1711
1855
  titleColor: n.xAxisTitleColor,
1712
1856
  labelColor: n.xAxisLabelColor,
@@ -1722,60 +1866,78 @@ var oe = class {
1722
1866
  };
1723
1867
  }
1724
1868
  static {
1725
- t(this, "Orchestrator");
1869
+ p(this, "Orchestrator");
1726
1870
  }
1727
1871
  calculateVerticalSpace() {
1728
- let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1729
- width: i,
1730
- height: a
1872
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = {
1873
+ width: 0,
1874
+ height: 0
1875
+ }, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1876
+ width: a,
1877
+ height: o
1731
1878
  });
1732
- e -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1879
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1733
1880
  width: this.chartConfig.width,
1734
1881
  height: t
1735
- }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
1882
+ }), r = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("bottom"), s = this.componentStore.xAxis.calculateSpace({
1736
1883
  width: e,
1737
1884
  height: t
1738
- }), t -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1885
+ }), t -= s.height, this.componentStore.yAxis.setAxisPosition("left"), s = this.componentStore.yAxis.calculateSpace({
1739
1886
  width: e,
1740
1887
  height: t
1741
- }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1742
- width: i,
1743
- height: a
1888
+ }), n = s.width, e -= s.width, i = this.componentStore.legend.calculateSpace({
1889
+ width: e,
1890
+ height: o
1891
+ }), e -= i.width, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1892
+ width: a,
1893
+ height: o
1744
1894
  }), this.componentStore.plot.setBoundingBoxXY({
1745
1895
  x: n,
1746
1896
  y: r
1747
- }), this.componentStore.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
1897
+ }), this.componentStore.legend.setBoundingBoxXY({
1898
+ x: n + a,
1899
+ y: r + Math.max((o - i.height) / 2, 0)
1900
+ }), this.componentStore.xAxis.setRange([n, n + a]), this.componentStore.xAxis.setBoundingBoxXY({
1748
1901
  x: n,
1749
- y: r + a
1750
- }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1902
+ y: r + o
1903
+ }), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
1751
1904
  x: 0,
1752
1905
  y: r
1753
1906
  }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1754
1907
  }
1755
1908
  calculateHorizontalSpace() {
1756
- let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1757
- width: a,
1758
- height: o
1909
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = {
1910
+ width: 0,
1911
+ height: 0
1912
+ }, o = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), s = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), c = this.componentStore.plot.calculateSpace({
1913
+ width: o,
1914
+ height: s
1759
1915
  });
1760
- e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1916
+ e -= c.width, t -= c.height, c = this.componentStore.title.calculateSpace({
1761
1917
  width: this.chartConfig.width,
1762
1918
  height: t
1763
- }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
1919
+ }), n = c.height, t -= c.height, this.componentStore.xAxis.setAxisPosition("left"), c = this.componentStore.xAxis.calculateSpace({
1764
1920
  width: e,
1765
1921
  height: t
1766
- }), e -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
1922
+ }), e -= c.width, r = c.width, this.componentStore.yAxis.setAxisPosition("top"), c = this.componentStore.yAxis.calculateSpace({
1767
1923
  width: e,
1768
1924
  height: t
1769
- }), t -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1770
- width: a,
1771
- height: o
1925
+ }), t -= c.height, i = n + c.height, a = this.componentStore.legend.calculateSpace({
1926
+ width: e,
1927
+ height: s
1928
+ }), e -= a.width, e > 0 && (o += e, e = 0), t > 0 && (s += t, t = 0), this.componentStore.plot.calculateSpace({
1929
+ width: o,
1930
+ height: s
1772
1931
  }), this.componentStore.plot.setBoundingBoxXY({
1773
1932
  x: r,
1774
1933
  y: i
1775
- }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1934
+ }), this.componentStore.legend.setBoundingBoxXY({
1935
+ x: r + o,
1936
+ y: i + Math.max((s - a.height) / 2, 0)
1937
+ }), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
1776
1938
  x: r,
1777
1939
  y: n
1778
- }), this.componentStore.xAxis.setRange([i, i + o]), this.componentStore.xAxis.setBoundingBoxXY({
1940
+ }), this.componentStore.xAxis.setRange([i, i + s]), this.componentStore.xAxis.setBoundingBoxXY({
1779
1941
  x: 0,
1780
1942
  y: i
1781
1943
  }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
@@ -1790,25 +1952,25 @@ var oe = class {
1790
1952
  for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
1791
1953
  return e;
1792
1954
  }
1793
- }, se = class {
1955
+ }, de = class {
1794
1956
  static {
1795
- t(this, "XYChartBuilder");
1957
+ p(this, "XYChartBuilder");
1796
1958
  }
1797
1959
  static build(e, t, n, r) {
1798
- return new oe(e, t, n, r).getDrawableElement();
1960
+ return new ue(e, t, n, r).getDrawableElement();
1799
1961
  }
1800
- }, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1801
- function U() {
1802
- let e = n(), t = s();
1803
- return _(e.xyChart, t.themeVariables.xyChart);
1962
+ }, L = 0, R, z = K(), B = G(), V = q(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
1963
+ function G() {
1964
+ let e = t(), n = o();
1965
+ return _(e.xyChart, n.themeVariables.xyChart);
1804
1966
  }
1805
- t(U, "getChartDefaultThemeConfig");
1806
- function W() {
1807
- let e = s();
1808
- return _(l.xyChart, e.xyChart);
1967
+ p(G, "getChartDefaultThemeConfig");
1968
+ function K() {
1969
+ let e = o();
1970
+ return _(c.xyChart, e.xyChart);
1809
1971
  }
1810
- t(W, "getChartDefaultConfig");
1811
- function G() {
1972
+ p(K, "getChartDefaultConfig");
1973
+ function q() {
1812
1974
  return {
1813
1975
  yAxis: {
1814
1976
  type: "linear",
@@ -1825,162 +1987,168 @@ function G() {
1825
1987
  plots: []
1826
1988
  };
1827
1989
  }
1828
- t(G, "getChartDefaultData");
1829
- function K(e) {
1830
- let t = s();
1831
- return p(e.trim(), t);
1832
- }
1833
- t(K, "textSanitizer");
1834
- function q(e) {
1835
- I = e;
1836
- }
1837
- t(q, "setTmpSVGG");
1990
+ p(q, "getChartDefaultData");
1838
1991
  function J(e) {
1839
- e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
1992
+ let t = o();
1993
+ return f(e.trim(), t);
1840
1994
  }
1841
- t(J, "setOrientation");
1995
+ p(J, "textSanitizer");
1842
1996
  function Y(e) {
1843
- z.xAxis.title = K(e.text);
1997
+ R = e;
1844
1998
  }
1845
- t(Y, "setXAxisTitle");
1999
+ p(Y, "setTmpSVGG");
2000
+ function fe(e) {
2001
+ e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
2002
+ }
2003
+ p(fe, "setOrientation");
2004
+ function pe(e) {
2005
+ V.xAxis.title = J(e.text);
2006
+ }
2007
+ p(pe, "setXAxisTitle");
1846
2008
  function X(e, t) {
1847
- z.xAxis = {
2009
+ V.xAxis = {
1848
2010
  type: "linear",
1849
- title: z.xAxis.title,
2011
+ title: V.xAxis.title,
1850
2012
  min: e,
1851
2013
  max: t
1852
- }, V = !0;
2014
+ }, U = !0;
1853
2015
  }
1854
- t(X, "setXAxisRangeData");
1855
- function ce(e) {
1856
- z.xAxis = {
2016
+ p(X, "setXAxisRangeData");
2017
+ function me(e) {
2018
+ V.xAxis = {
1857
2019
  type: "band",
1858
- title: z.xAxis.title,
1859
- categories: e.map((e) => K(e.text))
1860
- }, V = !0;
2020
+ title: V.xAxis.title,
2021
+ categories: e.map((e) => J(e.text))
2022
+ }, U = !0;
1861
2023
  }
1862
- t(ce, "setXAxisBand");
1863
- function le(e) {
1864
- z.yAxis.title = K(e.text);
2024
+ p(me, "setXAxisBand");
2025
+ function he(e) {
2026
+ V.yAxis.title = J(e.text);
1865
2027
  }
1866
- t(le, "setYAxisTitle");
1867
- function ue(e, t) {
1868
- z.yAxis = {
2028
+ p(he, "setYAxisTitle");
2029
+ function Z(e, t) {
2030
+ V.yAxis = {
1869
2031
  type: "linear",
1870
- title: z.yAxis.title,
2032
+ title: V.yAxis.title,
1871
2033
  min: e,
1872
2034
  max: t
1873
- }, H = !0;
2035
+ }, W = !0;
1874
2036
  }
1875
- t(ue, "setYAxisRangeData");
1876
- function de(e) {
1877
- let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
1878
- z.yAxis = {
2037
+ p(Z, "setYAxisRangeData");
2038
+ function ge(e) {
2039
+ let t = Math.min(...e), n = Math.max(...e), r = D(V.yAxis) ? V.yAxis.min : Infinity, i = D(V.yAxis) ? V.yAxis.max : -Infinity;
2040
+ V.yAxis = {
1879
2041
  type: "linear",
1880
- title: z.yAxis.title,
2042
+ title: V.yAxis.title,
1881
2043
  min: Math.min(r, t),
1882
2044
  max: Math.max(i, n)
1883
2045
  };
1884
2046
  }
1885
- t(de, "setYAxisRangeFromPlotData");
1886
- function Z(e) {
2047
+ p(ge, "setYAxisRangeFromPlotData");
2048
+ function Q(e) {
1887
2049
  let t = [];
1888
2050
  if (e.length === 0) return t;
1889
- if (!V) {
1890
- let t = D(z.xAxis) ? z.xAxis.min : Infinity, n = D(z.xAxis) ? z.xAxis.max : -Infinity;
2051
+ if (!U) {
2052
+ let t = D(V.xAxis) ? V.xAxis.min : Infinity, n = D(V.xAxis) ? V.xAxis.max : -Infinity;
1891
2053
  X(Math.min(t, 1), Math.max(n, e.length));
1892
2054
  }
1893
- if (H || de(e), E(z.xAxis) && (t = z.xAxis.categories.map((t, n) => [t, e[n]])), D(z.xAxis)) {
1894
- let n = z.xAxis.min, r = z.xAxis.max, i = (r - n) / (e.length - 1), a = [];
1895
- for (let e = n; e <= r; e += i) a.push(`${e}`);
1896
- t = a.map((t, n) => [t, e[n]]);
2055
+ if (E(V.xAxis) && e.length > V.xAxis.categories.length && (e = e.slice(0, V.xAxis.categories.length)), W || ge(e), E(V.xAxis) && (t = V.xAxis.categories.map((t, n) => [t, e[n]])), D(V.xAxis)) {
2056
+ let n = V.xAxis.min, r = V.xAxis.max;
2057
+ if (e.length === 1) t = [[`${n}`, e[0]]];
2058
+ else {
2059
+ let i = (r - n) / (e.length - 1);
2060
+ t = e.map((e, t) => [`${n + t * i}`, e]);
2061
+ }
1897
2062
  }
1898
2063
  return t;
1899
2064
  }
1900
- t(Z, "transformDataWithoutCategory");
1901
- function Q(e) {
1902
- return B[e === 0 ? 0 : e % B.length];
2065
+ p(Q, "transformDataWithoutCategory");
2066
+ function $(e) {
2067
+ return H[e === 0 ? 0 : e % H.length];
1903
2068
  }
1904
- t(Q, "getPlotColorFromPalette");
1905
- function fe(e, t) {
1906
- let n = Z(t);
1907
- z.plots.push({
2069
+ p($, "getPlotColorFromPalette");
2070
+ function _e(e, t) {
2071
+ let n = t.map((e) => e.value), r = t.map((e) => e.label ? J(e.label) : ""), i = Q(n), a = r.some((e) => e !== "");
2072
+ V.plots.push({
1908
2073
  type: "line",
1909
- strokeFill: Q(F),
2074
+ title: J(e.text),
2075
+ strokeFill: $(L),
1910
2076
  strokeWidth: 2,
1911
- data: n
1912
- }), F++;
2077
+ data: i,
2078
+ ...a ? { pointLabels: r } : {}
2079
+ }), L++;
1913
2080
  }
1914
- t(fe, "setLineData");
1915
- function pe(e, t) {
1916
- let n = Z(t);
1917
- z.plots.push({
2081
+ p(_e, "setLineData");
2082
+ function ve(e, t) {
2083
+ let n = Q(t.map((e) => e.value));
2084
+ V.plots.push({
1918
2085
  type: "bar",
1919
- fill: Q(F),
2086
+ title: J(e.text),
2087
+ fill: $(L),
1920
2088
  data: n
1921
- }), F++;
1922
- }
1923
- t(pe, "setBarData");
1924
- function me() {
1925
- if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1926
- return z.title = d(), se.build(L, z, R, I);
2089
+ }), L++;
1927
2090
  }
1928
- t(me, "getDrawableElem");
1929
- function he() {
1930
- return R;
2091
+ p(ve, "setBarData");
2092
+ function ye() {
2093
+ if (V.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
2094
+ return V.title = u(), de.build(z, V, B, R);
1931
2095
  }
1932
- t(he, "getChartThemeConfig");
1933
- function ge() {
1934
- return L;
2096
+ p(ye, "getDrawableElem");
2097
+ function be() {
2098
+ return B;
1935
2099
  }
1936
- t(ge, "getChartConfig");
1937
- function $() {
2100
+ p(be, "getChartThemeConfig");
2101
+ function xe() {
1938
2102
  return z;
1939
2103
  }
1940
- t($, "getXYChartData");
1941
- var _e = {
2104
+ p(xe, "getChartConfig");
2105
+ function Se() {
2106
+ return V;
2107
+ }
2108
+ p(Se, "getXYChartData");
2109
+ var Ce = {
1942
2110
  parser: w,
1943
2111
  db: {
1944
- getDrawableElem: me,
1945
- clear: /* @__PURE__ */ t(function() {
1946
- o(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
2112
+ getDrawableElem: ye,
2113
+ clear: /* @__PURE__ */ p(function() {
2114
+ a(), L = 0, z = K(), V = q(), B = G(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
1947
2115
  }, "clear"),
1948
- setAccTitle: a,
1949
- getAccTitle: f,
1950
- setDiagramTitle: i,
1951
- getDiagramTitle: d,
1952
- getAccDescription: u,
1953
- setAccDescription: r,
1954
- setOrientation: J,
1955
- setXAxisTitle: Y,
2116
+ setAccTitle: i,
2117
+ getAccTitle: d,
2118
+ setDiagramTitle: r,
2119
+ getDiagramTitle: u,
2120
+ getAccDescription: l,
2121
+ setAccDescription: n,
2122
+ setOrientation: fe,
2123
+ setXAxisTitle: pe,
1956
2124
  setXAxisRangeData: X,
1957
- setXAxisBand: ce,
1958
- setYAxisTitle: le,
1959
- setYAxisRangeData: ue,
1960
- setLineData: fe,
1961
- setBarData: pe,
1962
- setTmpSVGG: q,
1963
- getChartThemeConfig: he,
1964
- getChartConfig: ge,
1965
- getXYChartData: $
2125
+ setXAxisBand: me,
2126
+ setYAxisTitle: he,
2127
+ setYAxisRangeData: Z,
2128
+ setLineData: _e,
2129
+ setBarData: ve,
2130
+ setTmpSVGG: Y,
2131
+ getChartThemeConfig: be,
2132
+ getChartConfig: xe,
2133
+ getXYChartData: Se
1966
2134
  },
1967
- renderer: { draw: /* @__PURE__ */ t((n, r, i, a) => {
1968
- let o = a.db, s = o.getChartThemeConfig(), l = o.getChartConfig(), u = o.getXYChartData().plots[0].data.map((e) => e[1]);
1969
- function d(e) {
2135
+ renderer: { draw: /* @__PURE__ */ p((t, n, r, i) => {
2136
+ let a = i.db, o = a.getChartThemeConfig(), c = a.getChartConfig(), l = a.getXYChartData().plots[0].data.map((e) => e[1]);
2137
+ function u(e) {
1970
2138
  return e === "top" ? "text-before-edge" : "middle";
1971
2139
  }
1972
- t(d, "getDominantBaseLine");
1973
- function f(e) {
2140
+ p(u, "getDominantBaseLine");
2141
+ function d(e) {
1974
2142
  return e === "left" ? "start" : e === "right" ? "end" : "middle";
1975
2143
  }
1976
- t(f, "getTextAnchor");
1977
- function p(e) {
2144
+ p(d, "getTextAnchor");
2145
+ function f(e) {
1978
2146
  return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1979
2147
  }
1980
- t(p, "getTextTransformation"), e.debug("Rendering xychart chart\n" + n);
1981
- let m = y(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", l.width).attr("height", l.height).attr("class", "background");
1982
- c(m, l.height, l.width, !0), m.attr("viewBox", `0 0 ${l.width} ${l.height}`), g.attr("fill", s.backgroundColor), o.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
1983
- let _ = o.getDrawableElem(), v = {};
2148
+ p(f, "getTextTransformation"), e.debug("Rendering xychart chart\n" + t);
2149
+ let m = y(n), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
2150
+ s(m, c.height, c.width, !0), m.attr("viewBox", `0 0 ${c.width} ${c.height}`), g.attr("fill", o.backgroundColor), a.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
2151
+ let _ = a.getDrawableElem(), v = {};
1984
2152
  function b(e) {
1985
2153
  let t = h, n = "";
1986
2154
  for (let [r] of e.entries()) {
@@ -1989,56 +2157,54 @@ var _e = {
1989
2157
  }
1990
2158
  return t;
1991
2159
  }
1992
- t(b, "getGroup");
2160
+ p(b, "getGroup");
1993
2161
  for (let e of _) {
1994
2162
  if (e.data.length === 0) continue;
1995
- let n = b(e.groupTexts);
2163
+ let t = b(e.groupTexts);
1996
2164
  switch (e.type) {
1997
2165
  case "rect":
1998
- if (n.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), l.showDataLabel) {
1999
- let r = l.showDataLabelOutsideBar;
2000
- if (l.chartOrientation === "horizontal") {
2001
- let i = function(e, t) {
2166
+ if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), c.showDataLabel) {
2167
+ let n = c.showDataLabelOutsideBar;
2168
+ if (c.chartOrientation === "horizontal") {
2169
+ let r = function(e, t) {
2002
2170
  let { data: n, label: r } = e;
2003
- return t * r.length * a <= n.width - o;
2171
+ return t * r.length * i <= n.width - a;
2004
2172
  };
2005
- t(i, "fitsHorizontally");
2006
- let a = .7, o = 10, c = e.data.map((e, t) => ({
2173
+ p(r, "fitsHorizontally");
2174
+ let i = .7, a = 10, s = e.data.map((e, t) => ({
2007
2175
  data: e,
2008
- label: u[t].toString()
2009
- })).filter((e) => e.data.width > 0 && e.data.height > 0), l = c.map((e) => {
2176
+ label: l[t].toString()
2177
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), c = s.map((e) => {
2010
2178
  let { data: t } = e, n = t.height * .7;
2011
- for (; !i(e, n) && n > 0;) --n;
2179
+ for (; !r(e, n) && n > 0;) --n;
2012
2180
  return n;
2013
- }), d = Math.floor(Math.min(...l)), f = /* @__PURE__ */ t((e) => r ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
2014
- n.selectAll("text").data(c).enter().append("text").attr("x", f).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", r ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", s.dataLabelColor).attr("font-size", `${d}px`).text((e) => e.label);
2181
+ }), u = Math.floor(Math.min(...c)), d = /* @__PURE__ */ p((e) => n ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
2182
+ t.selectAll("text").data(s).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", o.dataLabelColor).attr("font-size", `${u}px`).text((e) => e.label);
2015
2183
  } else {
2016
- let i = function(e, t, n) {
2184
+ let r = function(e, t, n) {
2017
2185
  let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
2018
2186
  return l && u;
2019
2187
  };
2020
- t(i, "fitsInBar");
2021
- let a = e.data.map((e, t) => ({
2188
+ p(r, "fitsInBar");
2189
+ let i = e.data.map((e, t) => ({
2022
2190
  data: e,
2023
- label: u[t].toString()
2024
- })).filter((e) => e.data.width > 0 && e.data.height > 0), o = a.map((e) => {
2025
- let { data: t, label: n } = e, r = t.width / (n.length * .7);
2026
- for (; !i(e, r, 10) && r > 0;) --r;
2027
- return r;
2028
- }), c = Math.floor(Math.min(...o)), l = /* @__PURE__ */ t((e) => r ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
2029
- n.selectAll("text").data(a).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", l).attr("text-anchor", "middle").attr("dominant-baseline", r ? "auto" : "hanging").attr("fill", s.dataLabelColor).attr("font-size", `${c}px`).text((e) => e.label);
2191
+ label: l[t].toString()
2192
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), a = i.map((e) => {
2193
+ let { data: t, label: n } = e, i = t.width / (n.length * .7);
2194
+ for (; !r(e, i, 10) && i > 0;) --i;
2195
+ return i;
2196
+ }), s = Math.floor(Math.min(...a)), c = /* @__PURE__ */ p((e) => n ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
2197
+ t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", c).attr("text-anchor", "middle").attr("dominant-baseline", n ? "auto" : "hanging").attr("fill", o.dataLabelColor).attr("font-size", `${s}px`).text((e) => e.label);
2030
2198
  }
2031
2199
  }
2032
2200
  break;
2033
2201
  case "text":
2034
- n.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => d(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
2035
- break;
2036
- case "path":
2037
- n.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
2202
+ t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => u(e.verticalPos)).attr("text-anchor", (e) => d(e.horizontalPos)).attr("transform", (e) => f(e)).text((e) => e.text);
2038
2203
  break;
2204
+ case "path": t.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
2039
2205
  }
2040
2206
  }
2041
2207
  }, "draw") }
2042
2208
  };
2043
2209
  //#endregion
2044
- export { _e as diagram };
2210
+ export { Ce as diagram };