vue-data-ui 3.17.3 → 3.17.4

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 (262) hide show
  1. package/README.md +228 -228
  2. package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
  3. package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
  4. package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
  5. package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
  6. package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
  7. package/dist/BaseScanner-BON3d_Sx.js +38 -0
  8. package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
  9. package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
  10. package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
  11. package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
  12. package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
  13. package/dist/{PackageVersion-DP_kfXUM.js → PackageVersion-DVvvyQXB.js} +1 -1
  14. package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
  15. package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
  16. package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
  17. package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
  18. package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
  19. package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
  20. package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
  21. package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-history-plot.js +1 -1
  49. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  50. package/dist/components/vue-ui-icon.js +1 -1
  51. package/dist/components/vue-ui-kpi.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-pattern-seed.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
  93. package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
  94. package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
  95. package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
  96. package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
  97. package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
  98. package/dist/{patternUtils-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
  99. package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/arrow.d.ts +1 -1
  102. package/dist/types/utils.d.ts +499 -498
  103. package/dist/types/vue-data-ui.d.ts +2115 -1787
  104. package/dist/types/vue-ui-3d-bar.d.ts +10 -7
  105. package/dist/types/vue-ui-accordion.d.ts +2 -4
  106. package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
  107. package/dist/types/vue-ui-annotator.d.ts +3 -3
  108. package/dist/types/vue-ui-bullet.d.ts +10 -7
  109. package/dist/types/vue-ui-bump.d.ts +9 -6
  110. package/dist/types/vue-ui-candlestick.d.ts +10 -7
  111. package/dist/types/vue-ui-carousel-table.d.ts +2 -2
  112. package/dist/types/vue-ui-chestnut.d.ts +9 -6
  113. package/dist/types/vue-ui-chord.d.ts +10 -7
  114. package/dist/types/vue-ui-circle-pack.d.ts +10 -7
  115. package/dist/types/vue-ui-cursor.d.ts +2 -2
  116. package/dist/types/vue-ui-dag.d.ts +10 -7
  117. package/dist/types/vue-ui-dashboard.d.ts +3 -3
  118. package/dist/types/vue-ui-digits.d.ts +2 -2
  119. package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
  120. package/dist/types/vue-ui-donut.d.ts +11 -8
  121. package/dist/types/vue-ui-dumbbell.d.ts +11 -8
  122. package/dist/types/vue-ui-flow.d.ts +11 -8
  123. package/dist/types/vue-ui-funnel.d.ts +11 -8
  124. package/dist/types/vue-ui-galaxy.d.ts +11 -8
  125. package/dist/types/vue-ui-gauge.d.ts +11 -8
  126. package/dist/types/vue-ui-geo.d.ts +13 -6
  127. package/dist/types/vue-ui-gizmo.d.ts +2 -5
  128. package/dist/types/vue-ui-heatmap.d.ts +11 -8
  129. package/dist/types/vue-ui-history-plot.d.ts +11 -8
  130. package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
  131. package/dist/types/vue-ui-icon.d.ts +2 -4
  132. package/dist/types/vue-ui-kpi.d.ts +2 -4
  133. package/dist/types/vue-ui-mini-loader.d.ts +4 -4
  134. package/dist/types/vue-ui-molecule.d.ts +11 -8
  135. package/dist/types/vue-ui-mood-radar.d.ts +11 -8
  136. package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
  137. package/dist/types/vue-ui-onion.d.ts +11 -8
  138. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
  139. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  140. package/dist/types/vue-ui-pattern.d.ts +2 -4
  141. package/dist/types/vue-ui-quadrant.d.ts +11 -8
  142. package/dist/types/vue-ui-quick-chart.d.ts +11 -8
  143. package/dist/types/vue-ui-radar.d.ts +11 -8
  144. package/dist/types/vue-ui-rating.d.ts +4 -4
  145. package/dist/types/vue-ui-relation-circle.d.ts +11 -8
  146. package/dist/types/vue-ui-ridgeline.d.ts +11 -8
  147. package/dist/types/vue-ui-rings.d.ts +11 -8
  148. package/dist/types/vue-ui-scatter.d.ts +11 -8
  149. package/dist/types/vue-ui-skeleton.d.ts +2 -4
  150. package/dist/types/vue-ui-smiley.d.ts +2 -5
  151. package/dist/types/vue-ui-spark-trend.d.ts +2 -4
  152. package/dist/types/vue-ui-sparkbar.d.ts +4 -4
  153. package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
  154. package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
  155. package/dist/types/vue-ui-sparkline.d.ts +4 -4
  156. package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
  157. package/dist/types/vue-ui-stackbar.d.ts +11 -8
  158. package/dist/types/vue-ui-stackline.d.ts +11 -8
  159. package/dist/types/vue-ui-strip-plot.d.ts +11 -8
  160. package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
  161. package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
  162. package/dist/types/vue-ui-table.d.ts +4 -4
  163. package/dist/types/vue-ui-thermometer.d.ts +11 -8
  164. package/dist/types/vue-ui-timer.d.ts +2 -4
  165. package/dist/types/vue-ui-tiremarks.d.ts +11 -8
  166. package/dist/types/vue-ui-treemap.d.ts +11 -8
  167. package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
  168. package/dist/types/vue-ui-waffle.d.ts +11 -8
  169. package/dist/types/vue-ui-wheel.d.ts +11 -8
  170. package/dist/types/vue-ui-word-cloud.d.ts +11 -8
  171. package/dist/types/vue-ui-world.d.ts +11 -8
  172. package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
  173. package/dist/types/vue-ui-xy.d.ts +9 -6
  174. package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
  175. package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
  176. package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
  177. package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
  178. package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
  179. package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
  180. package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
  181. package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
  182. package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
  183. package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
  184. package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
  185. package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
  186. package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
  187. package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
  188. package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
  189. package/dist/utils.js +4 -4
  190. package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-C0aMSe2G.js} +138 -72
  191. package/dist/vue-data-ui.js +74 -74
  192. package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-CzXlsUEJ.js} +328 -101
  193. package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
  194. package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-DMZ9oYFv.js} +180 -73
  195. package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
  196. package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-CEH6eppC.js} +92 -35
  197. package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-JbKFEe2A.js} +205 -102
  198. package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
  200. package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
  201. package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
  203. package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-B3cJoPku.js} +14 -7
  204. package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DCq1VMNd.js} +261 -99
  205. package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
  206. package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D16SQQ4M.js} +6 -6
  207. package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-d0LLrlKG.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
  210. package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
  211. package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
  212. package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-DR9WL985.js} +161 -69
  213. package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-x96W5OPx.js} +95 -37
  214. package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-qTfYs5qi.js} +113 -43
  215. package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
  216. package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
  217. package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
  219. package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CEx3P3Do.js} +35 -14
  220. package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
  221. package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-B_19tjnI.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
  224. package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-DMMLNXVu.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
  226. package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
  227. package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
  229. package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-DQWyecSD.js} +186 -68
  230. package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
  231. package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
  233. package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
  234. package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-xLPY1FKW.js} +161 -144
  236. package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
  237. package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
  244. package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
  246. package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-BPLypaeX.js} +339 -122
  247. package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
  248. package/dist/{vue-ui-table-sparkline-DHPemUVJ.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-B9nc954A.js} +129 -48
  250. package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-BDfbM4vl.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
  252. package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
  253. package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
  254. package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
  256. package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
  257. package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cv-50xHj.js} +840 -252
  258. package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BNUX13xH.js} +448 -159
  259. package/package.json +120 -119
  260. package/dist/BaseScanner-BhhkKVoj.js +0 -30
  261. package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
  262. package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
@@ -1,25 +1,25 @@
1
1
  import { defineAsyncComponent as re, useSlots as io, computed as g, ref as h, shallowRef as _t, onMounted as uo, toRefs as co, watch as Re, onBeforeUnmount as tt, watchEffect as Oe, nextTick as At, openBlock as s, createElementBlock as u, normalizeStyle as q, normalizeClass as ke, createElementVNode as Z, toDisplayString as V, createBlock as ee, createCommentVNode as f, unref as b, withCtx as C, renderSlot as L, normalizeProps as D, guardReactiveProps as E, createSlots as $t, createVNode as De, Fragment as w, renderList as S, mergeProps as Ee, Teleport as vo, resolveDynamicComponent as ho, createTextVNode as Pa } from "vue";
2
- import { u as yo } from "./useConfig-C40HvGpD.js";
3
- import { j as Na, t as Ia, m as fo, p as at, n as go, o as Fa, q as Ra, r as mo, s as bo, ar as Ve, E as Oa, D as Da, I as po, X as xo, x as ko, G as de, W as Ea, k as we, l as ne, Z as wo, as as Lo, T as Va, a0 as Co, a1 as So, U as zo, a3 as Mo } from "./lib-DBptbyyI.js";
2
+ import { u as yo } from "./useConfig-DTHxOX6V.js";
3
+ import { j as Na, t as Ia, m as fo, p as at, n as go, o as Fa, q as Ra, r as mo, s as bo, ar as Ve, E as Oa, D as Da, I as po, X as xo, x as ko, G as de, W as Ea, k as we, l as ne, Z as wo, as as Lo, T as Va, a0 as Co, a1 as So, U as zo, a3 as Mo } from "./lib-DMzrGQHK.js";
4
4
  import { t as Ba, u as To } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ua, a as Ha, b as _o } from "./useTimeLabels-C-A2uZKi.js";
6
- import { u as Ao } from "./usePrinter-CEpYU3r5.js";
7
- import { u as $o, B as Po } from "./BaseScanner-BhhkKVoj.js";
8
- import { u as No } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Pt } from "./useNestedProp-Bf5XFbs8.js";
10
- import { u as Io } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as Fo } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as Ro } from "./useStableElementSize-DCNs0Tx7.js";
13
- import { u as Oo } from "./useChartAccessibility-9icAAmYg.js";
14
- import { u as Do } from "./useTimeLabelCollider-CIsgDrl9.js";
15
- import Eo from "./img-LXxMLmCg.js";
16
- import Vo from "./Title-BeMKE1cj.js";
17
- import { _ as Bo } from "./Shape-BKRUOeKk.js";
5
+ import { u as Ua, a as Ha, b as _o } from "./useTimeLabels-Cv0tD9In.js";
6
+ import { u as Ao } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as $o, B as Po } from "./BaseScanner-BON3d_Sx.js";
8
+ import { u as No } from "./useSvgExport-BTG4hVPO.js";
9
+ import { u as Pt } from "./useNestedProp-DH0BEVVS.js";
10
+ import { u as Io } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as Fo } from "./useUserOptionState-B7Ej974k.js";
12
+ import { u as Ro } from "./useStableElementSize-C48ZVcZQ.js";
13
+ import { u as Oo } from "./useChartAccessibility-cp6XQtqi.js";
14
+ import { u as Do } from "./useTimeLabelCollider-D3JeJ6Ye.js";
15
+ import Eo from "./img-CjTQXS0U.js";
16
+ import Vo from "./Title-BbKoiBk2.js";
17
+ import { _ as Bo } from "./Shape-CxJ5_Rre.js";
18
18
  import Uo from "./vue_ui_stackbar-CuDC4O4b.js";
19
- import Ho from "./Legend-CS7Xo5LK.js";
20
- import { A as Wo } from "./A11yDataTable-KcVAX2cP.js";
21
- import { S as Xo } from "./SlicerPreview-BMx3cqgX.js";
22
- import { B as Yo } from "./BaseLegendToggle-BQVIawmA.js";
19
+ import Ho from "./Legend-DGN5lY60.js";
20
+ import { A as Wo } from "./A11yDataTable-BpmuNomI.js";
21
+ import { S as Xo } from "./SlicerPreview-D_CgrN_7.js";
22
+ import { B as Yo } from "./BaseLegendToggle-cMP8M2u0.js";
23
23
  import { _ as qo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
24
24
  const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative" } }, Qo = ["xmlns", "aria-describedby", "viewBox"], jo = ["x", "y", "width", "height"], es = { key: 1 }, ts = ["id"], as = ["stop-color"], ls = ["stop-color"], os = ["stop-color"], ss = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], rs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ns = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], us = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cs = { key: 0 }, vs = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], hs = { key: 0 }, ds = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ys = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], fs = { key: 0 }, gs = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ms = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ps = ["x", "y", "font-size", "fill", "font-weight"], xs = ["transform", "font-size", "fill", "font-weight"], ks = ["x", "y", "font-size", "fill", "font-weight"], ws = ["x", "y", "font-size", "font-weight", "fill"], Ls = ["x", "y", "font-size", "fill", "font-weight"], Cs = ["x", "y", "font-size", "font-weight", "fill"], Ss = ["x1", "x2", "y1", "y2", "stroke"], zs = ["x", "y", "font-size", "font-weight", "fill"], Ms = ["x1", "x2", "y1", "y2", "stroke"], Ts = ["font-size", "font-weight", "fill", "text-anchor", "transform"], _s = { key: 0 }, As = { key: 1 }, $s = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ps = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ns = { key: 0 }, Is = { key: 1 }, Fs = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Rs = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Os = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Ds = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Es = ["data-start", "data-end"], Vs = {
25
25
  key: 0,
@@ -49,9 +49,23 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
49
49
  default: void 0
50
50
  }
51
51
  },
52
- emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX", "copyAlt"],
52
+ emits: [
53
+ "selectDatapoint",
54
+ "selectLegend",
55
+ "selectTimeLabel",
56
+ "selectX",
57
+ "copyAlt"
58
+ ],
53
59
  setup(lt, { expose: Wa, emit: Xa }) {
54
- const Ya = re(() => import("./Tooltip-C8KGyqQk.js")), qa = re(() => import("./BaseIcon-Cb3zzG6s.js")), Ga = re(() => import("./vue-ui-accordion-DDuJT1xA.js")), Ja = re(() => import("./DataTable-DT2kIdQ6.js")), Ka = re(() => import("./PenAndPaper-Ct3qJ4lA.js")), Za = re(() => import("./UserOptions-rW2fRf3V.js")), Qa = re(() => import("./PackageVersion-DP_kfXUM.js")), ja = re(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_stackbar: el } = yo(), { isThemeValid: tl, warnInvalidTheme: al } = Io(), ll = io(), I = lt, ae = Xa, Le = g({
60
+ const Ya = re(() => import("./Tooltip-Cvt7Fi0Q.js")), qa = re(() => import("./BaseIcon-DX0hTWa-.js")), Ga = re(() => import("./vue-ui-accordion-BHmfmb_6.js")), Ja = re(() => import("./DataTable-cMnb68Ik.js")), Ka = re(
61
+ () => import("./PenAndPaper-CJDoB5H9.js")
62
+ ), Za = re(
63
+ () => import("./UserOptions-DVduN6X7.js")
64
+ ), Qa = re(
65
+ () => import("./PackageVersion-DVvvyQXB.js")
66
+ ), ja = re(
67
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
68
+ ), { vue_ui_stackbar: el } = yo(), { isThemeValid: tl, warnInvalidTheme: al } = Io(), ll = io(), I = lt, ae = Xa, Le = g({
55
69
  get() {
56
70
  return !!I.dataset && I.dataset.length;
57
71
  },
@@ -86,7 +100,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
86
100
  uo(() => {
87
101
  Dt.value = !0, it(), Xt.start(), ta();
88
102
  });
89
- const e = h(ht()), X = g(() => e.value.userOptions.useCursorPointer), nl = g(() => Ia({
103
+ const e = h(ht()), X = g(
104
+ () => e.value.userOptions.useCursorPointer
105
+ ), nl = g(() => Ia({
90
106
  defaultConfig: {
91
107
  userOptions: { show: !1 },
92
108
  useCssAnimation: !1,
@@ -162,7 +178,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
162
178
  defaultConfig: e.value,
163
179
  userConfig: nl.value
164
180
  })
165
- }), { userOptionsVisible: vt, setUserOptionsVisibility: Gt, keepUserOptionState: Jt } = Fo({ config: e.value }), { svgRef: ge } = Oo({ config: e.value.style.chart.title });
181
+ }), { userOptionsVisible: vt, setUserOptionsVisibility: Gt, keepUserOptionState: Jt } = Fo({ config: e.value }), { svgRef: ge } = Oo({
182
+ config: e.value.style.chart.title
183
+ });
166
184
  function il() {
167
185
  Gt(!0);
168
186
  }
@@ -197,11 +215,19 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
197
215
  return l;
198
216
  }
199
217
  const Kt = g(() => e.value.style.chart.bars.dataLabels.hideUnderValue != null), Zt = g(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
200
- Re(() => I.config, (t) => {
201
- fe.value || (e.value = ht()), vt.value = !e.value.userOptions.showOnChartHover, ta(), Ot.value += 1, ol.value += 1, sl.value += 1, $.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, it(), Ge();
202
- }, { deep: !0 }), Re(() => I.dataset, (t) => {
203
- Array.isArray(t) && t.length > 0 && (Xe.value = !1), it(), sa();
204
- }, { deep: !0 });
218
+ Re(
219
+ () => I.config,
220
+ (t) => {
221
+ fe.value || (e.value = ht()), vt.value = !e.value.userOptions.showOnChartHover, ta(), Ot.value += 1, ol.value += 1, sl.value += 1, $.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, it(), Ge();
222
+ },
223
+ { deep: !0 }
224
+ ), Re(
225
+ () => I.dataset,
226
+ (t) => {
227
+ Array.isArray(t) && t.length > 0 && (Xe.value = !1), it(), sa();
228
+ },
229
+ { deep: !0 }
230
+ );
205
231
  const $ = h({
206
232
  dataLabels: {
207
233
  show: e.value.style.chart.bars.dataLabels.show
@@ -209,15 +235,19 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
209
235
  showTable: e.value.table.show,
210
236
  showTooltip: e.value.style.chart.tooltip.show
211
237
  });
212
- Re(e, () => {
213
- $.value = {
214
- dataLabels: {
215
- show: e.value.style.chart.bars.dataLabels.show
216
- },
217
- showTable: e.value.table.show,
218
- showTooltip: e.value.style.chart.tooltip.show
219
- };
220
- }, { immediate: !0 });
238
+ Re(
239
+ e,
240
+ () => {
241
+ $.value = {
242
+ dataLabels: {
243
+ show: e.value.style.chart.bars.dataLabels.show
244
+ },
245
+ showTable: e.value.table.show,
246
+ showTooltip: e.value.style.chart.tooltip.show
247
+ };
248
+ },
249
+ { immediate: !0 }
250
+ );
221
251
  const { isPrinting: dt, isImaging: yt, generatePdf: Qt, generateImage: jt } = Ao({
222
252
  elementId: `stackbar_${R.value}`,
223
253
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
@@ -277,10 +307,14 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
277
307
  });
278
308
  function vl() {
279
309
  let t = 0;
280
- e.value.orientation === "vertical" && ue.value && (t = Array.from(ue.value.querySelectorAll("text")).reduce((o, c) => {
310
+ e.value.orientation === "vertical" && ue.value && (t = Array.from(
311
+ ue.value.querySelectorAll("text")
312
+ ).reduce((o, c) => {
281
313
  const r = c.getComputedTextLength();
282
314
  return r > o ? r : o;
283
- }, 0)), e.value.orientation === "horizontal" && ce.value && (t = Array.from(ce.value.querySelectorAll("text")).reduce((o, c) => {
315
+ }, 0)), e.value.orientation === "horizontal" && ce.value && (t = Array.from(
316
+ ce.value.querySelectorAll("text")
317
+ ).reduce((o, c) => {
284
318
  const r = c.getComputedTextLength();
285
319
  return r > o ? r : o;
286
320
  }, 0));
@@ -317,7 +351,11 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
317
351
  const o = new ResizeObserver(a);
318
352
  o.observe(l);
319
353
  const c = new MutationObserver(a);
320
- c.observe(l, { childList: !0, subtree: !0, characterData: !0 }), t(() => {
354
+ c.observe(l, {
355
+ childList: !0,
356
+ subtree: !0,
357
+ characterData: !0
358
+ }), t(() => {
321
359
  o.disconnect(), c.disconnect();
322
360
  });
323
361
  }), tt(() => {
@@ -374,7 +412,24 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
374
412
  height: Math.max(0, P)
375
413
  };
376
414
  }), ml = g(() => {
377
- const { left: t, top: l, width: a, height: o } = n.value, c = v.value.start, r = v.value.end, d = Math.max(1, r - c), x = Math.max(0, Math.min(d, (H.value.start ?? c) - c)), k = Math.max(0, Math.min(d, (H.value.end ?? r) - c)), M = Math.max(0, k - x), P = {
415
+ const {
416
+ left: t,
417
+ top: l,
418
+ width: a,
419
+ height: o
420
+ } = n.value, c = v.value.start, r = v.value.end, d = Math.max(1, r - c), x = Math.max(
421
+ 0,
422
+ Math.min(
423
+ d,
424
+ (H.value.start ?? c) - c
425
+ )
426
+ ), k = Math.max(
427
+ 0,
428
+ Math.min(
429
+ d,
430
+ (H.value.end ?? r) - c
431
+ )
432
+ ), M = Math.max(0, k - x), P = {
378
433
  fill: e.value.style.chart.zoom.preview.fill,
379
434
  stroke: e.value.style.chart.zoom.preview.stroke,
380
435
  "stroke-width": e.value.style.chart.zoom.preview.strokeWidth,
@@ -419,7 +474,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
419
474
  color: a
420
475
  };
421
476
  })), F = g(() => {
422
- const t = Math.max(...U.value.filter((l) => !A.value.includes(l.id)).map((l) => l.series.length));
477
+ const t = Math.max(
478
+ ...U.value.filter((l) => !A.value.includes(l.id)).map((l) => l.series.length)
479
+ );
423
480
  return isFinite(t) ? t : Math.max(...U.value.map((l) => l.series.length));
424
481
  });
425
482
  function bl(t) {
@@ -428,7 +485,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
428
485
  const v = h({
429
486
  start: 0,
430
487
  end: Math.max(...ct.value.map((t) => t.series.length))
431
- }), H = h({ start: 0, end: Math.max(...ct.value.map((t) => t.series.length)) }), la = g(() => e.value.style.chart.zoom.preview.enable && (H.value.start !== v.value.start || H.value.end !== v.value.end));
488
+ }), H = h({
489
+ start: 0,
490
+ end: Math.max(...ct.value.map((t) => t.series.length))
491
+ }), la = g(() => e.value.style.chart.zoom.preview.enable && (H.value.start !== v.value.start || H.value.end !== v.value.end));
432
492
  function oa(t, l) {
433
493
  H.value[t] = l;
434
494
  }
@@ -439,9 +499,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
439
499
  }
440
500
  const Te = h(null);
441
501
  function pl() {
442
- return new Promise((t) => requestAnimationFrame(
443
- () => requestAnimationFrame(() => t())
444
- ));
502
+ return new Promise(
503
+ (t) => requestAnimationFrame(() => requestAnimationFrame(() => t()))
504
+ );
445
505
  }
446
506
  tt(() => {
447
507
  Te.value && cancelAnimationFrame(Te.value);
@@ -454,31 +514,59 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
454
514
  const m = g(() => {
455
515
  let t;
456
516
  return e.value.orientation === "vertical" ? t = n.value.width / (v.value.end - v.value.start) : t = n.value.height / (v.value.end - v.value.start), t <= 0 ? 0 : t;
457
- }), _e = g(() => Ve(U.value.filter((t) => !A.value.includes(t.id))).slice(v.value.start, v.value.end)), gt = g(() => A.value.length === U.value.length), ve = g(() => e.value.style.chart.zoom.minimap.show ? Ve(U.value.map((t) => ({
458
- ...t,
459
- series: t.series.map((l) => l ?? 0)
460
- })).filter((t) => gt.value ? !0 : !A.value.includes(t.id))) : []), xl = g(() => e.value.style.chart.zoom.minimap.show ? [{
461
- name: "",
462
- series: ve.value,
463
- color: "#000000",
464
- isVisible: !0
465
- }] : []), kl = g(() => Ve(U.value.filter((t) => !A.value.includes(t.id)).map((t) => ({
466
- ...t,
467
- series: t.series.map((l, a) => t.signedSeries[a] === -1 && l >= 0 ? -l : l)
468
- }))).slice(v.value.start, v.value.end)), Je = g(() => {
469
- const t = U.value.filter((l) => !A.value.includes(l.id));
517
+ }), _e = g(() => Ve(
518
+ U.value.filter(
519
+ (t) => !A.value.includes(t.id)
520
+ )
521
+ ).slice(v.value.start, v.value.end)), gt = g(
522
+ () => A.value.length === U.value.length
523
+ ), ve = g(() => e.value.style.chart.zoom.minimap.show ? Ve(
524
+ U.value.map((t) => ({
525
+ ...t,
526
+ series: t.series.map((l) => l ?? 0)
527
+ })).filter(
528
+ (t) => gt.value ? !0 : !A.value.includes(t.id)
529
+ )
530
+ ) : []), xl = g(() => e.value.style.chart.zoom.minimap.show ? [
531
+ {
532
+ name: "",
533
+ series: ve.value,
534
+ color: "#000000",
535
+ isVisible: !0
536
+ }
537
+ ] : []), kl = g(() => Ve(
538
+ U.value.filter((t) => !A.value.includes(t.id)).map((t) => ({
539
+ ...t,
540
+ series: t.series.map((l, a) => t.signedSeries[a] === -1 && l >= 0 ? -l : l)
541
+ }))
542
+ ).slice(v.value.start, v.value.end)), Je = g(() => {
543
+ const t = U.value.filter(
544
+ (l) => !A.value.includes(l.id)
545
+ );
470
546
  return {
471
- positive: Ve(t.map((l) => ({
472
- ...l,
473
- series: l.series.slice(v.value.start, v.value.end).map((a) => a >= 0 ? a : 0)
474
- }))),
475
- negative: Ve(t.map((l) => ({
476
- ...l,
477
- series: l.series.slice(v.value.start, v.value.end).map((a) => a < 0 ? a : 0)
478
- })))
547
+ positive: Ve(
548
+ t.map((l) => ({
549
+ ...l,
550
+ series: l.series.slice(v.value.start, v.value.end).map((a) => a >= 0 ? a : 0)
551
+ }))
552
+ ),
553
+ negative: Ve(
554
+ t.map((l) => ({
555
+ ...l,
556
+ series: l.series.slice(v.value.start, v.value.end).map((a) => a < 0 ? a : 0)
557
+ }))
558
+ )
479
559
  };
480
560
  }), Y = g(() => {
481
- const t = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...Je.value.positive), l = Math.min(...Je.value.negative), a = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(a > 0 ? 0 : a, t < 0 ? 0 : t, e.value.style.chart.grid.scale.ticks) : Da(a > 0 ? 0 : a, t < 0 ? 0 : t, e.value.style.chart.grid.scale.ticks);
561
+ const t = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...Je.value.positive), l = Math.min(...Je.value.negative), a = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(
562
+ a > 0 ? 0 : a,
563
+ t < 0 ? 0 : t,
564
+ e.value.style.chart.grid.scale.ticks
565
+ ) : Da(
566
+ a > 0 ? 0 : a,
567
+ t < 0 ? 0 : t,
568
+ e.value.style.chart.grid.scale.ticks
569
+ );
482
570
  return o.ticks.map((c) => ({
483
571
  zero: n.value.bottom - n.value.height * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
484
572
  y: n.value.bottom - n.value.height * ((c + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
@@ -519,7 +607,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
519
607
  });
520
608
  const wl = g(() => {
521
609
  const t = e.value.style.chart.grid.x.timeLabels.modulo;
522
- return W.value.length ? Math.min(t, [...new Set(W.value.map((l) => l.text))].length) : t;
610
+ return W.value.length ? Math.min(
611
+ t,
612
+ [...new Set(W.value.map((l) => l.text))].length
613
+ ) : t;
523
614
  }), mt = g(() => {
524
615
  const t = e.value.style.chart.grid.x.timeLabels, l = W.value || [], a = be.value || [], o = v.value.start ?? 0, c = B.value, r = F.value, d = l.map((k) => k?.text ?? ""), x = a.map((k) => k?.text ?? "");
525
616
  return po(
@@ -533,15 +624,25 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
533
624
  r
534
625
  );
535
626
  });
536
- Oe(() => {
537
- e.value.orientation, e.value.style.chart.grid.x.timeLabels.show, e.value.style.chart.grid.x.timeLabels.fontSize, e.value.style.chart.grid.x.timeLabels.rotation, e.value.style.chart.grid.x.timeLabels.offsetY, mt.value?.map((t) => t?.text ?? "").join("|"), Y.value?.map((t) => t?.value ?? "").join("|"), le.value.width, le.value.height, ce.value, ue.value, We.value, gl();
538
- }, { flush: "post" });
539
- const ia = h({ months: [], shortMonths: [], days: [], shortDays: [] });
627
+ Oe(
628
+ () => {
629
+ e.value.orientation, e.value.style.chart.grid.x.timeLabels.show, e.value.style.chart.grid.x.timeLabels.fontSize, e.value.style.chart.grid.x.timeLabels.rotation, e.value.style.chart.grid.x.timeLabels.offsetY, mt.value?.map((t) => t?.text ?? "").join("|"), Y.value?.map((t) => t?.value ?? "").join("|"), le.value.width, le.value.height, ce.value, ue.value, We.value, gl();
630
+ },
631
+ { flush: "post" }
632
+ );
633
+ const ia = h({
634
+ months: [],
635
+ shortMonths: [],
636
+ days: [],
637
+ shortDays: []
638
+ });
540
639
  let ua = 0;
541
640
  Oe(() => {
542
641
  const t = ++ua, l = e.value.style.chart.grid.x.timeLabels.datetimeFormatter;
543
642
  (async () => {
544
- const a = await Ha(l.locale).catch(() => Ha("en"));
643
+ const a = await Ha(l.locale).catch(
644
+ () => Ha("en")
645
+ );
545
646
  t === ua && (ia.value = a.data);
546
647
  })();
547
648
  });
@@ -556,22 +657,46 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
556
657
  return r == null ? "" : l.formatDate(new Date(r), o);
557
658
  };
558
659
  }), va = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
559
- text: ca.value(a, e.value.style.chart.zoom.timeFormat),
660
+ text: ca.value(
661
+ a,
662
+ e.value.style.chart.zoom.timeFormat
663
+ ),
560
664
  absoluteIndex: a
561
665
  }))), Ll = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
562
- text: ca.value(a, e.value.style.chart.tooltip.timeFormat),
666
+ text: ca.value(
667
+ a,
668
+ e.value.style.chart.tooltip.timeFormat
669
+ ),
563
670
  absoluteIndex: a
564
671
  }))), z = g(() => {
565
672
  if (!Le.value && !fe.value) return [];
566
673
  let t = Array(F.value).fill(0), l = Array(F.value).fill(0), a = Array(F.value).fill(0), o = Array(F.value).fill(0);
567
- const c = Math.max(...Je.value.positive) || 0, r = Math.min(...Je.value.negative), d = [-1 / 0, 1 / 0, NaN, void 0, null].includes(r) ? 0 : r, x = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Da(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: k, max: M } = x, P = M + (k >= 0 ? 0 : Math.abs(k)) || 1, N = n.value.height, j = n.value.width, he = Y.value[0] ? Y.value[0].zero : n.value.bottom, Ie = Y.value[0] ? Y.value[0].horizontal_zero : n.value.left;
674
+ const c = Math.max(...Je.value.positive) || 0, r = Math.min(...Je.value.negative), d = [-1 / 0, 1 / 0, NaN, void 0, null].includes(
675
+ r
676
+ ) ? 0 : r, x = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(
677
+ e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d,
678
+ e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c,
679
+ e.value.style.chart.grid.scale.ticks
680
+ ) : Da(
681
+ e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d,
682
+ e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c,
683
+ e.value.style.chart.grid.scale.ticks
684
+ ), { min: k, max: M } = x, P = M + (k >= 0 ? 0 : Math.abs(k)) || 1, N = n.value.height, j = n.value.width, he = Y.value[0] ? Y.value[0].zero : n.value.bottom, Ie = Y.value[0] ? Y.value[0].horizontal_zero : n.value.left;
568
685
  let Fe = Array(ve.value.length).fill(0), J = Array(ve.value.length).fill(0);
569
686
  return U.value.filter((xe) => !A.value.includes(xe.id)).map((xe) => {
570
687
  const se = xe.series.slice(), _a = se.map((y, p) => Fe[p]), Jl = se.map((y, p) => J[p]);
571
688
  se.forEach((y, p) => {
572
689
  (Number(y) || 0) >= 0 ? Fe[p] += Number(y) || 0 : J[p] += Math.abs(Number(y) || 0);
573
690
  });
574
- const te = xe.series.slice(v.value.start, v.value.end), Kl = xe.signedSeries.slice(v.value.start, v.value.end), Zl = te.map((y, p) => n.value.left + m.value * p + m.value * e.value.style.chart.bars.gapRatio / 4), et = (ve.value || []).filter(Number.isFinite), zt = et.length ? Math.max(...et) : 0, Mt = et.length ? Math.min(...et) : 0;
691
+ const te = xe.series.slice(
692
+ v.value.start,
693
+ v.value.end
694
+ ), Kl = xe.signedSeries.slice(
695
+ v.value.start,
696
+ v.value.end
697
+ ), Zl = te.map((y, p) => n.value.left + m.value * p + m.value * e.value.style.chart.bars.gapRatio / 4), et = (ve.value || []).filter(
698
+ Number.isFinite
699
+ ), zt = et.length ? Math.max(...et) : 0, Mt = et.length ? Math.min(...et) : 0;
575
700
  function Aa({ minimapH: y }) {
576
701
  const T = zt > 0, O = Mt < 0;
577
702
  if (T && O) {
@@ -626,7 +751,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
626
751
  return K / Tt * y;
627
752
  });
628
753
  const { pxPerUnit: p } = Aa({ minimapH: y });
629
- return se.map((T) => Math.abs(Number(T) || 0) * p);
754
+ return se.map(
755
+ (T) => Math.abs(Number(T) || 0) * p
756
+ );
630
757
  }, so = te.map((y, p) => {
631
758
  const T = e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / P;
632
759
  return y > 0 ? j * T : j * Math.abs(T);
@@ -678,14 +805,19 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
678
805
  );
679
806
  }
680
807
  function bt(t) {
681
- const l = JSON.parse(JSON.stringify(z.value)).map((a) => ({
682
- name: a.name,
683
- value: a.series[t] === 0 ? 0 : a.series[t] || null,
684
- proportion: a.proportions[t] || null,
685
- color: a.color,
686
- id: a.id
687
- }));
688
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: t + v.value.start }), ae("selectDatapoint", { datapoint: l, period: W.value[t] });
808
+ const l = JSON.parse(JSON.stringify(z.value)).map(
809
+ (a) => ({
810
+ name: a.name,
811
+ value: a.series[t] === 0 ? 0 : a.series[t] || null,
812
+ proportion: a.proportions[t] || null,
813
+ color: a.color,
814
+ id: a.id
815
+ })
816
+ );
817
+ e.value.events.datapointClick && e.value.events.datapointClick({
818
+ datapoint: l,
819
+ seriesIndex: t + v.value.start
820
+ }), ae("selectDatapoint", { datapoint: l, period: W.value[t] });
689
821
  }
690
822
  function pt(t) {
691
823
  return JSON.parse(JSON.stringify(z.value)).map((l) => ({
@@ -701,19 +833,26 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
701
833
  function ya(t) {
702
834
  if (e.value.events.datapointLeave) {
703
835
  const l = pt(t);
704
- e.value.events.datapointLeave({ datapoint: l, seriesIndex: t + v.value.start });
836
+ e.value.events.datapointLeave({
837
+ datapoint: l,
838
+ seriesIndex: t + v.value.start
839
+ });
705
840
  }
706
841
  ye.value = !1, B.value = null, G.value === t && (G.value = null);
707
842
  }
708
843
  const Cl = g(() => Array(F.value).fill(0).map((t, l) => pt(l)));
709
- Re(() => I.selectedXIndex, (t) => {
710
- if ([null, void 0].includes(I.selectedXIndex)) {
711
- B.value = null;
712
- return;
713
- }
714
- const l = t - v.value.start;
715
- l < 0 || t >= v.value.end ? B.value = null : B.value = l ?? null;
716
- }, { immediate: !0 });
844
+ Re(
845
+ () => I.selectedXIndex,
846
+ (t) => {
847
+ if ([null, void 0].includes(I.selectedXIndex)) {
848
+ B.value = null;
849
+ return;
850
+ }
851
+ const l = t - v.value.start;
852
+ l < 0 || t >= v.value.end ? B.value = null : B.value = l ?? null;
853
+ },
854
+ { immediate: !0 }
855
+ );
717
856
  function fa(t) {
718
857
  if (!e.value.style.chart.tooltip.showTimeLabel)
719
858
  return null;
@@ -724,7 +863,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
724
863
  if (gt.value) return;
725
864
  Wt.value = l, G.value = t, B.value = t, ye.value = !0;
726
865
  const a = e.value.style.chart.tooltip.customFormat, o = pt(t);
727
- Ul({ seriesIndex: t, datapoint: o }), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: t + v.value.start }), Be.value = {
866
+ Ul({ seriesIndex: t, datapoint: o }), e.value.events.datapointEnter && e.value.events.datapointEnter({
867
+ datapoint: o,
868
+ seriesIndex: t + v.value.start
869
+ }), Be.value = {
728
870
  timeLabel: fa(t),
729
871
  datapoint: o,
730
872
  seriesIndex: t,
@@ -732,12 +874,14 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
732
874
  series: z.value
733
875
  };
734
876
  const c = o.map((d) => Math.abs(d.value)).reduce((d, x) => d + x, 0), r = o.map((d) => de(d.value)).reduce((d, x) => d + x, 0);
735
- if (Va(a) && zo(() => a({
736
- seriesIndex: t,
737
- datapoint: o,
738
- series: z.value,
739
- config: e.value
740
- })))
877
+ if (Va(a) && zo(
878
+ () => a({
879
+ seriesIndex: t,
880
+ datapoint: o,
881
+ series: z.value,
882
+ config: e.value
883
+ })
884
+ ))
741
885
  ot.value = a({
742
886
  seriesIndex: t,
743
887
  datapoint: o,
@@ -768,7 +912,12 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
768
912
  s: e.value.style.chart.bars.dataLabels.suffix,
769
913
  r: N
770
914
  }),
771
- { datapoint: { name: k, value: r } }
915
+ {
916
+ datapoint: {
917
+ name: k,
918
+ value: r
919
+ }
920
+ }
772
921
  )}
773
922
  </span>
774
923
  </div>`);
@@ -783,12 +932,14 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
783
932
  ${J.name}${d || M ? ":" : ""} ${d ? we(
784
933
  e.value.style.chart.bars.dataLabels.formatter,
785
934
  J.value,
786
- ne({
787
- p: e.value.style.chart.bars.dataLabels.prefix,
788
- v: J.value,
789
- s: e.value.style.chart.bars.dataLabels.suffix,
790
- r: N
791
- })
935
+ ne(
936
+ {
937
+ p: e.value.style.chart.bars.dataLabels.prefix,
938
+ v: J.value,
939
+ s: e.value.style.chart.bars.dataLabels.suffix,
940
+ r: N
941
+ }
942
+ )
792
943
  ) : ""} ${Fe[0]}${M ? ne({
793
944
  v: isNaN(J.value / c) ? 0 : Math.abs(J.value) / c * 100,
794
945
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
@@ -807,7 +958,15 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
807
958
  slicer: v,
808
959
  configRef: e,
809
960
  rotationPath: ["style", "chart", "grid", "x", "timeLabels", "rotation"],
810
- autoRotatePath: ["style", "chart", "grid", "x", "timeLabels", "autoRotate", "enable"],
961
+ autoRotatePath: [
962
+ "style",
963
+ "chart",
964
+ "grid",
965
+ "x",
966
+ "timeLabels",
967
+ "autoRotate",
968
+ "enable"
969
+ ],
811
970
  isAutoSize: !1,
812
971
  width: Sl,
813
972
  height: zl,
@@ -829,28 +988,63 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
829
988
  return z.value;
830
989
  }
831
990
  const xa = g(() => {
832
- if (z.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
991
+ if (z.value.length === 0)
992
+ return { head: [], body: [], config: {}, columnNames: [] };
833
993
  const t = z.value.map(({ name: a, color: o }) => ({
834
994
  label: a,
835
995
  color: o
836
996
  })), l = [];
837
997
  return W.value.forEach((a) => {
838
- const o = [e.value.style.chart.grid.x.timeLabels.values[a.absoluteIndex] ? a.text : i + 1];
998
+ const o = [
999
+ e.value.style.chart.grid.x.timeLabels.values[a.absoluteIndex] ? a.text : i + 1
1000
+ ];
839
1001
  U.value.forEach((c) => {
840
- o.push(Number((c.series[a.absoluteIndex] || 0).toFixed(e.value.table.td.roundingValue)));
1002
+ o.push(
1003
+ Number(
1004
+ (c.series[a.absoluteIndex] || 0).toFixed(
1005
+ e.value.table.td.roundingValue
1006
+ )
1007
+ )
1008
+ );
841
1009
  }), l.push(o);
842
1010
  }), { head: t, body: l };
843
1011
  });
844
1012
  function kt(t = null) {
845
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ["", ...xa.value.head.map((d) => d.label)], o = xa.value.body, c = l.concat([a]).concat(o), r = Co(c);
846
- t ? t(r) : So({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
1013
+ const l = [
1014
+ [e.value.style.chart.title.text],
1015
+ [e.value.style.chart.title.subtitle.text],
1016
+ [""]
1017
+ ], a = ["", ...xa.value.head.map((d) => d.label)], o = xa.value.body, c = l.concat([a]).concat(o), r = Co(c);
1018
+ t ? t(r) : So({
1019
+ csvContent: r,
1020
+ title: e.value.style.chart.title.text || "vue-ui-stackbar"
1021
+ });
847
1022
  }
848
1023
  const pe = g(() => {
849
- const t = [""].concat(z.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
1024
+ const t = [""].concat(z.value.map((c) => c.name)).concat(
1025
+ ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'
1026
+ );
850
1027
  let l = [];
851
1028
  for (let c = 0; c < F.value; c += 1) {
852
1029
  const r = z.value.map((d) => d.series[c] ?? 0).reduce((d, x) => d + x, 0);
853
- l.push([e.value.style.chart.grid.x.timeLabels.values.slice(v.value.start, v.value.end)[c] ? W.value[c]?.text : c + 1].concat(z.value.map((d) => (d.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((r ?? 0).toFixed(e.value.table.td.roundingValue)));
1030
+ l.push(
1031
+ [
1032
+ e.value.style.chart.grid.x.timeLabels.values.slice(
1033
+ v.value.start,
1034
+ v.value.end
1035
+ )[c] ? W.value[c]?.text : c + 1
1036
+ ].concat(
1037
+ z.value.map(
1038
+ (d) => (d.series[c] ?? 0).toFixed(
1039
+ e.value.table.td.roundingValue
1040
+ )
1041
+ )
1042
+ ).concat(
1043
+ (r ?? 0).toFixed(
1044
+ e.value.table.td.roundingValue
1045
+ )
1046
+ )
1047
+ );
854
1048
  }
855
1049
  const a = {
856
1050
  th: {
@@ -865,7 +1059,12 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
865
1059
  },
866
1060
  breakpoint: e.value.table.responsiveBreakpoint
867
1061
  }, o = [e.value.table.columnNames.period].concat(z.value.map((c) => c.name)).concat(e.value.table.columnNames.total);
868
- return { head: t, body: l.slice(0, v.value.end - v.value.start), config: a, colNames: o };
1062
+ return {
1063
+ head: t,
1064
+ body: l.slice(0, v.value.end - v.value.start),
1065
+ config: a,
1066
+ colNames: o
1067
+ };
869
1068
  });
870
1069
  function Tl() {
871
1070
  A.value.length ? A.value = [] : Ae.value.forEach((t) => {
@@ -876,7 +1075,8 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
876
1075
  if (A.value.includes(t.id))
877
1076
  A.value = A.value.filter((l) => l !== t.id);
878
1077
  else {
879
- if (A.value.length === U.value.length - 1) return;
1078
+ if (A.value.length === U.value.length - 1)
1079
+ return;
880
1080
  A.value.push(t.id);
881
1081
  }
882
1082
  ae("selectLegend", z.value);
@@ -915,13 +1115,15 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
915
1115
  $e.value = !$e.value;
916
1116
  }
917
1117
  function Ze(t, l) {
918
- const a = JSON.parse(JSON.stringify(z.value)).map((o) => ({
919
- name: o.name,
920
- value: o.series[l] === 0 ? 0 : (o.signedSeries[l] === -1 && o.series[l] >= 0 ? -o.series[l] : o.series[l]) || null,
921
- proportion: o.proportions[l] || null,
922
- color: o.color,
923
- id: o.id
924
- }));
1118
+ const a = JSON.parse(JSON.stringify(z.value)).map(
1119
+ (o) => ({
1120
+ name: o.name,
1121
+ value: o.series[l] === 0 ? 0 : (o.signedSeries[l] === -1 && o.series[l] >= 0 ? -o.series[l] : o.series[l]) || null,
1122
+ proportion: o.proportions[l] || null,
1123
+ color: o.color,
1124
+ id: o.id
1125
+ })
1126
+ );
925
1127
  ae("selectTimeLabel", {
926
1128
  datapoint: a,
927
1129
  absoluteIndex: t.absoluteIndex,
@@ -930,11 +1132,18 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
930
1132
  }
931
1133
  const Pl = g(() => Math.max(...z.value.flatMap((t) => t.series)));
932
1134
  function wa(t, l) {
933
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Zt.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : Zt.value ? (Kt.value && ft.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), t > Pl.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Kt.value ? Math.abs(t) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? t !== 0 : !0;
1135
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Zt.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : Zt.value ? (Kt.value && ft.value && console.warn(
1136
+ "Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."
1137
+ ), t > Pl.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Kt.value ? Math.abs(t) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? t !== 0 : !0;
934
1138
  }
935
1139
  async function Nl({ scale: t = 2 } = {}) {
936
1140
  if (!Q.value) return;
937
- const { width: l, height: a } = Q.value.getBoundingClientRect(), o = l / a, { imageUri: c, base64: r } = await Eo({ domElement: Q.value, base64: !0, img: !0, scale: t });
1141
+ const { width: l, height: a } = Q.value.getBoundingClientRect(), o = l / a, { imageUri: c, base64: r } = await Eo({
1142
+ domElement: Q.value,
1143
+ base64: !0,
1144
+ img: !0,
1145
+ scale: t
1146
+ });
938
1147
  return {
939
1148
  imageUri: c,
940
1149
  base64: r,
@@ -975,9 +1184,12 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
975
1184
  }
976
1185
  };
977
1186
  });
978
- Re(() => $.value.showTable, (t) => {
979
- e.value.table.show || (t && e.value.table.useDialog && ze.value ? ze.value.open() : "close" in ze.value && ze.value.close());
980
- });
1187
+ Re(
1188
+ () => $.value.showTable,
1189
+ (t) => {
1190
+ e.value.table.show || (t && e.value.table.useDialog && ze.value ? ze.value.open() : "close" in ze.value && ze.value.close());
1191
+ }
1192
+ );
981
1193
  function La() {
982
1194
  $.value.showTable = !1, st.value && st.value.setTableIconState(!1);
983
1195
  }
@@ -993,7 +1205,14 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
993
1205
  try {
994
1206
  if (t) {
995
1207
  const { blob: l, url: a, text: o, dataUrl: c } = await Dl();
996
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: c }));
1208
+ await Promise.resolve(
1209
+ e.value.userOptions.callbacks.svg({
1210
+ blob: l,
1211
+ url: a,
1212
+ text: o,
1213
+ dataUrl: c
1214
+ })
1215
+ );
997
1216
  } else
998
1217
  await Promise.resolve(Ol());
999
1218
  } finally {
@@ -1057,13 +1276,13 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1057
1276
  P > 0 && N > 0 && Number.isFinite(j) && (r = !0, j < c && (c = j));
1058
1277
  }
1059
1278
  const x = (r && Number.isFinite(c) ? c : l) - o;
1060
- return Math.min(
1061
- Math.max(x, 0),
1062
- n.value.bottom
1063
- );
1279
+ return Math.min(Math.max(x, 0), n.value.bottom);
1064
1280
  }
1065
1281
  function Wl(t) {
1066
- const { x0: l } = Ma(), a = Math.max(2, e.value.style.chart.bars.totalValues.fontSize * 0.3 + e.value.style.chart.bars.totalValues.offsetX);
1282
+ const { x0: l } = Ma(), a = Math.max(
1283
+ 2,
1284
+ e.value.style.chart.bars.totalValues.fontSize * 0.3 + e.value.style.chart.bars.totalValues.offsetX
1285
+ );
1067
1286
  let o = -1 / 0, c = !1;
1068
1287
  for (const d of z.value || []) {
1069
1288
  const x = d?.series?.[t] ?? 0, k = d?.horizontal_x?.[t], M = d?.horizontal_width?.[t], P = Number.isFinite(M) ? Math.max(0, M) : 0;
@@ -1076,13 +1295,17 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1076
1295
  config: e.value,
1077
1296
  dataset: z.value
1078
1297
  }), !e.value.userOptions.callbacks.altCopy) {
1079
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1298
+ console.warn(
1299
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
1300
+ );
1080
1301
  return;
1081
1302
  }
1082
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
1083
- config: e.value,
1084
- dataset: z.value
1085
- }));
1303
+ await Promise.resolve(
1304
+ e.value.userOptions.callbacks.altCopy({
1305
+ config: e.value,
1306
+ dataset: z.value
1307
+ })
1308
+ );
1086
1309
  }
1087
1310
  const Ct = h(!1);
1088
1311
  function Xl() {
@@ -1094,7 +1317,8 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1094
1317
  function ql(t) {
1095
1318
  if (!ge.value || $e.value || document.activeElement !== ge.value || gt.value || !v.value.end && v.value.end !== 0) return;
1096
1319
  const l = e.value.orientation === "vertical", a = e.value.orientation === "horizontal", o = l && t.key === "ArrowLeft" || a && t.key === "ArrowUp", c = l && t.key === "ArrowRight" || a && t.key === "ArrowDown", r = t.key === "Enter" || t.key === " ", d = t.key === "Escape";
1097
- if (!o && !c && !r && !d) return;
1320
+ if (!o && !c && !r && !d)
1321
+ return;
1098
1322
  const x = v.value.end - v.value.start;
1099
1323
  if (x <= 0) return;
1100
1324
  if (t.preventDefault(), t.stopPropagation(), d) {
@@ -1140,7 +1364,11 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1140
1364
  id: `stackbar_${R.value}`,
1141
1365
  ref_key: "stackbarChart",
1142
1366
  ref: Q,
1143
- class: ke({ "vue-data-ui-component": !0, "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": Se.value }),
1367
+ class: ke({
1368
+ "vue-data-ui-component": !0,
1369
+ "vue-ui-stackbar": !0,
1370
+ "vue-data-ui-wrapper-fullscreen": Se.value
1371
+ }),
1144
1372
  style: q(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
1145
1373
  onMouseenter: il,
1146
1374
  onMouseleave: ul
@@ -1374,7 +1602,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1374
1602
  }, null, 8, as),
1375
1603
  Z("stop", {
1376
1604
  offset: "61.8%",
1377
- "stop-color": b(ko)(a.color, e.value.style.chart.bars.gradient.intensity / 100)
1605
+ "stop-color": b(ko)(
1606
+ a.color,
1607
+ e.value.style.chart.bars.gradient.intensity / 100
1608
+ )
1378
1609
  }, null, 8, ls),
1379
1610
  Z("stop", {
1380
1611
  offset: "100%",
@@ -1384,7 +1615,11 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1384
1615
  ])) : f("", !0),
1385
1616
  e.value.style.chart.grid.frame.show ? (s(), u("rect", {
1386
1617
  key: 2,
1387
- style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1618
+ style: {
1619
+ pointerEvents: "none",
1620
+ transition: "none",
1621
+ animation: "none !important"
1622
+ },
1388
1623
  x: Math.max(0, n.value.left),
1389
1624
  y: Math.max(0, n.value.top),
1390
1625
  width: Math.max(0, n.value.width),
@@ -1438,7 +1673,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1438
1673
  }, null, 8, us))), 256)) : f("", !0),
1439
1674
  (s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
1440
1675
  t.$slots.pattern ? (s(), u("defs", cs, [
1441
- L(t.$slots, "pattern", Ee({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${R.value}_${a.absoluteIndex}` }), void 0, !0)
1676
+ L(t.$slots, "pattern", Ee({ ref_for: !0 }, {
1677
+ seriesIndex: a.absoluteIndex,
1678
+ patternId: `pattern_${R.value}_${a.absoluteIndex}`
1679
+ }), void 0, !0)
1442
1680
  ])) : f("", !0),
1443
1681
  e.value.orientation === "vertical" ? (s(), u(w, { key: 1 }, [
1444
1682
  (s(!0), u(w, null, S(a.x, (c, r) => (s(), u("rect", {
@@ -1452,7 +1690,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1452
1690
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1453
1691
  "stroke-linecap": "round",
1454
1692
  "stroke-linejoin": "round",
1455
- class: ke({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": ie.value })
1693
+ class: ke({
1694
+ "vue-data-ui-bar-animated": e.value.useCssAnimation,
1695
+ "vue-data-ui-bar-transition": ie.value
1696
+ })
1456
1697
  }, null, 10, vs))), 256)),
1457
1698
  t.$slots.pattern ? (s(), u("g", hs, [
1458
1699
  (s(!0), u(w, null, S(a.x, (c, r) => (s(), u("rect", {
@@ -1466,14 +1707,19 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1466
1707
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1467
1708
  "stroke-linecap": "round",
1468
1709
  "stroke-linejoin": "round",
1469
- class: ke({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": ie.value })
1710
+ class: ke({
1711
+ "vue-data-ui-bar-animated": e.value.useCssAnimation,
1712
+ "vue-data-ui-bar-transition": ie.value
1713
+ })
1470
1714
  }, null, 10, ds))), 256))
1471
1715
  ])) : f("", !0)
1472
1716
  ], 64)) : (s(), u(w, { key: 2 }, [
1473
1717
  (s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u("rect", {
1474
1718
  x: b(de)(c, n.value.left),
1475
1719
  y: a.horizontal_y[r] < 0 ? 0 : a.horizontal_y[r],
1476
- width: b(de)(a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]),
1720
+ width: b(de)(
1721
+ a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]
1722
+ ),
1477
1723
  rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
1478
1724
  height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1479
1725
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${a.id})` : a.color,
@@ -1481,13 +1727,18 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1481
1727
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1482
1728
  "stroke-linecap": "round",
1483
1729
  "stroke-linejoin": "round",
1484
- class: ke({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": ie.value })
1730
+ class: ke({
1731
+ "vue-data-ui-bar-animated": e.value.useCssAnimation,
1732
+ "vue-data-ui-bar-transition": ie.value
1733
+ })
1485
1734
  }, null, 10, ys))), 256)),
1486
1735
  t.$slots.pattern ? (s(), u("g", fs, [
1487
1736
  (s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u("rect", {
1488
1737
  x: b(de)(c, n.value.left),
1489
1738
  y: a.horizontal_y[r] < 0 ? 0 : a.horizontal_y[r],
1490
- width: b(de)(a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]),
1739
+ width: b(de)(
1740
+ a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]
1741
+ ),
1491
1742
  rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
1492
1743
  height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1493
1744
  fill: `url(#pattern_${R.value}_${a.absoluteIndex})`,
@@ -1495,7 +1746,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1495
1746
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1496
1747
  "stroke-linecap": "round",
1497
1748
  "stroke-linejoin": "round",
1498
- class: ke({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": ie.value })
1749
+ class: ke({
1750
+ "vue-data-ui-bar-animated": e.value.useCssAnimation,
1751
+ "vue-data-ui-bar-transition": ie.value
1752
+ })
1499
1753
  }, null, 10, gs))), 256))
1500
1754
  ])) : f("", !0)
1501
1755
  ], 64))
@@ -1546,7 +1800,10 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1546
1800
  $.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), u(w, { key: 11 }, [
1547
1801
  (s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
1548
1802
  (s(!0), u(w, null, S(a.x, (c, r) => (s(), u(w, null, [
1549
- wa(a.series[r], a.proportions[r]) ? (s(), u("text", {
1803
+ wa(
1804
+ a.series[r],
1805
+ a.proportions[r]
1806
+ ) ? (s(), u("text", {
1550
1807
  key: 0,
1551
1808
  x: c + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1552
1809
  y: a.y[r] + a.height[r] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1554,7 +1811,18 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1554
1811
  fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? b(Ea)(a.color) : e.value.style.chart.bars.dataLabels.color,
1555
1812
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1556
1813
  "text-anchor": "middle"
1557
- }, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(a.proportions[r] * 100, a, o, r) : Ke(a.series[r], a, o, r, a.signedSeries[r])), 9, ks)) : f("", !0)
1814
+ }, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(
1815
+ a.proportions[r] * 100,
1816
+ a,
1817
+ o,
1818
+ r
1819
+ ) : Ke(
1820
+ a.series[r],
1821
+ a,
1822
+ o,
1823
+ r,
1824
+ a.signedSeries[r]
1825
+ )), 9, ks)) : f("", !0)
1558
1826
  ], 64))), 256))
1559
1827
  ]))), 256)),
1560
1828
  e.value.style.chart.bars.totalValues.show && z.value.length > 1 ? (s(), u("g", {
@@ -1571,14 +1839,22 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1571
1839
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1572
1840
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1573
1841
  fill: e.value.style.chart.bars.totalValues.color
1574
- }, V(Ke(a.value, a, o, a.sign)), 9, ws)) : f("", !0)
1842
+ }, V(Ke(
1843
+ a.value,
1844
+ a,
1845
+ o,
1846
+ a.sign
1847
+ )), 9, ws)) : f("", !0)
1575
1848
  ], 64))), 256))
1576
1849
  ], 512)) : f("", !0)
1577
1850
  ], 64)) : f("", !0),
1578
1851
  $.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), u(w, { key: 12 }, [
1579
1852
  (s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
1580
1853
  (s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u(w, null, [
1581
- wa(a.series[r], a.proportions[r]) ? (s(), u("text", {
1854
+ wa(
1855
+ a.series[r],
1856
+ a.proportions[r]
1857
+ ) ? (s(), u("text", {
1582
1858
  key: 0,
1583
1859
  x: c + (a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]) / 2,
1584
1860
  y: a.horizontal_y[r] + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1586,7 +1862,18 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1586
1862
  fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? b(Ea)(a.color) : e.value.style.chart.bars.dataLabels.color,
1587
1863
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1588
1864
  "text-anchor": "middle"
1589
- }, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(a.proportions[r] * 100, a, o, r) : Ke(a.series[r], a, o, r, a.signedSeries[r])), 9, Ls)) : f("", !0)
1865
+ }, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(
1866
+ a.proportions[r] * 100,
1867
+ a,
1868
+ o,
1869
+ r
1870
+ ) : Ke(
1871
+ a.series[r],
1872
+ a,
1873
+ o,
1874
+ r,
1875
+ a.signedSeries[r]
1876
+ )), 9, Ls)) : f("", !0)
1590
1877
  ], 64))), 256))
1591
1878
  ]))), 256)),
1592
1879
  e.value.style.chart.bars.totalValues.show && z.value.length > 1 ? (s(), u("g", {
@@ -1603,7 +1890,12 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1603
1890
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1604
1891
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1605
1892
  fill: e.value.style.chart.bars.totalValues.color
1606
- }, V(Ke(a.value, a, o, a.sign)), 9, Cs)) : f("", !0)
1893
+ }, V(Ke(
1894
+ a.value,
1895
+ a,
1896
+ o,
1897
+ a.sign
1898
+ )), 9, Cs)) : f("", !0)
1607
1899
  ], 64))), 256))
1608
1900
  ], 512)) : f("", !0)
1609
1901
  ], 64)) : f("", !0),
@@ -1706,7 +1998,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1706
1998
  ),
1707
1999
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
1708
2000
  `,
1709
- style: q({ cursor: X.value ? "pointer" : "default" }),
2001
+ style: q({
2002
+ cursor: X.value ? "pointer" : "default"
2003
+ }),
1710
2004
  innerHTML: b(wo)({
1711
2005
  content: String(a.text),
1712
2006
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1723,7 +2017,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1723
2017
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1724
2018
  fill: e.value.style.chart.grid.x.timeLabels.color,
1725
2019
  transform: `translate(${n.value.left + m.value * o + m.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1726
- style: q({ cursor: X.value ? "pointer" : "default" }),
2020
+ style: q({
2021
+ cursor: X.value ? "pointer" : "default"
2022
+ }),
1727
2023
  onClick: () => Ze(a, o)
1728
2024
  }, V(a.text), 13, $s))
1729
2025
  ]))), 256))
@@ -1759,7 +2055,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1759
2055
  fill: e.value.style.chart.grid.y.axisLabels.color,
1760
2056
  x: n.value.left - 8,
1761
2057
  y: n.value.top + m.value * o + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1762
- style: q({ cursor: X.value ? "pointer" : "default" }),
2058
+ style: q({
2059
+ cursor: X.value ? "pointer" : "default"
2060
+ }),
1763
2061
  onClick: () => Ze(a, o),
1764
2062
  innerHTML: b(Lo)({
1765
2063
  content: String(a.text),
@@ -1793,7 +2091,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1793
2091
  onMouseenter: () => xt(o, "pointer"),
1794
2092
  onMouseleave: () => ya(o),
1795
2093
  fill: o === B.value || o === ut.value ? e.value.style.chart.highlighter.color : "transparent",
1796
- style: q({ opacity: e.value.style.chart.highlighter.opacity / 100 })
2094
+ style: q({
2095
+ opacity: e.value.style.chart.highlighter.opacity / 100
2096
+ })
1797
2097
  }, null, 44, Os))), 256)) : f("", !0),
1798
2098
  $.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(w, { key: 18 }, S(v.value.end - v.value.start, (a, o) => (s(), u("rect", {
1799
2099
  x: n.value.left,
@@ -1804,7 +2104,9 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1804
2104
  onMouseenter: () => xt(o, "pointer"),
1805
2105
  onMouseleave: () => ya(o),
1806
2106
  fill: o === B.value || o === ut.value ? e.value.style.chart.highlighter.color : "transparent",
1807
- style: q({ opacity: e.value.style.chart.highlighter.opacity / 100 })
2107
+ style: q({
2108
+ opacity: e.value.style.chart.highlighter.opacity / 100
2109
+ })
1808
2110
  }, null, 44, Ds))), 256)) : f("", !0),
1809
2111
  la.value ? (s(), u("rect", Ee({ key: 19 }, ml.value, {
1810
2112
  "data-start": v.value.start,
@@ -1820,11 +2122,16 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1820
2122
  }, void 0, !0)
1821
2123
  ], 46, Qo)),
1822
2124
  t.$slots.hint ? (s(), u("div", Vs, [
1823
- L(t.$slots, "hint", D(E({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Ct.value })), void 0, !0)
2125
+ L(t.$slots, "hint", D(E({
2126
+ hint: e.value.a11y.translations.keyboardNavigation,
2127
+ isVisible: Ct.value
2128
+ })), void 0, !0)
1824
2129
  ])) : f("", !0)
1825
2130
  ]),
1826
2131
  t.$slots.watermark ? (s(), u("div", Bs, [
1827
- L(t.$slots, "watermark", D(E({ isPrinting: b(dt) || b(yt) || Ue.value || He.value })), void 0, !0)
2132
+ L(t.$slots, "watermark", D(E({
2133
+ isPrinting: b(dt) || b(yt) || Ue.value || He.value
2134
+ })), void 0, !0)
1828
2135
  ])) : f("", !0),
1829
2136
  e.value.style.chart.zoom.show && Le.value && za.value && F.value > 6 ? (s(), ee(Xo, {
1830
2137
  key: 5,
@@ -1897,7 +2204,13 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
1897
2204
  (s(!0), u(w, null, S(r.xMinimap({ left: 0, unitW: c }), (d, x) => (s(), u("rect", {
1898
2205
  key: x,
1899
2206
  x: x === 0 ? d - c * (e.value.style.chart.bars.gapRatio / 4) : d - c / 2,
1900
- y: Math.max(0, Math.min(o, r.yMinimap({ minimapH: o })[x])),
2207
+ y: Math.max(
2208
+ 0,
2209
+ Math.min(
2210
+ o,
2211
+ r.yMinimap({ minimapH: o })[x]
2212
+ )
2213
+ ),
1901
2214
  height: r.heightMinimap({ minimapH: o })[x],
1902
2215
  width: [0, F.value - 1].includes(x) ? c * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 : c * (1 - e.value.style.chart.bars.gapRatio / 2),
1903
2216
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${r.id})` : r.color,
@@ -2075,7 +2388,7 @@ const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative
2075
2388
  ], !0)
2076
2389
  ], 46, Go));
2077
2390
  }
2078
- }, mr = /* @__PURE__ */ qo(Ys, [["__scopeId", "data-v-fbb9ff68"]]);
2391
+ }, mr = /* @__PURE__ */ qo(Ys, [["__scopeId", "data-v-28ce0b5c"]]);
2079
2392
  export {
2080
2393
  mr as default
2081
2394
  };