vue-data-ui 3.17.2 → 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-PjmqM4wb.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 +5 -0
  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-BINhU4Ky.js +615 -0
  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 +500 -451
  103. package/dist/types/vue-data-ui.d.ts +2124 -1786
  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 +14 -0
  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 +28 -25
  190. package/dist/{vue-data-ui-CGsJdqdx.js → vue-data-ui-C0aMSe2G.js} +138 -72
  191. package/dist/vue-data-ui.js +103 -99
  192. package/dist/{vue-ui-3d-bar-Bnm0MPNr.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-vvDMkGxw.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-CM5pK6Sj.js → vue-ui-bullet-CEH6eppC.js} +92 -35
  197. package/dist/{vue-ui-bump-DAo_mV8M.js → vue-ui-bump-JbKFEe2A.js} +205 -102
  198. package/dist/{vue-ui-candlestick-DsiOmaj1.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-DUl5G_cg.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
  200. package/dist/{vue-ui-chestnut-DMMCHoHB.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
  201. package/dist/{vue-ui-chord-75V7kRrX.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BGXpEnmN.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
  203. package/dist/{vue-ui-cursor-BpPe14qk.js → vue-ui-cursor-B3cJoPku.js} +14 -7
  204. package/dist/{vue-ui-dag-D20FezGN.js → vue-ui-dag-DCq1VMNd.js} +261 -99
  205. package/dist/{vue-ui-dashboard-BcafQJ1Y.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
  206. package/dist/{vue-ui-digits-gFYVzPkE.js → vue-ui-digits-D16SQQ4M.js} +6 -6
  207. package/dist/{vue-ui-donut-Cz7rvM7I.js → vue-ui-donut-d0LLrlKG.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-Cp0-8Deg.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-D_13qNsV.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
  210. package/dist/{vue-ui-flow-BuaVAVvN.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
  211. package/dist/{vue-ui-funnel-Cv18o2ax.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
  212. package/dist/{vue-ui-galaxy-n17IGTDo.js → vue-ui-galaxy-DR9WL985.js} +161 -69
  213. package/dist/{vue-ui-gauge-2bks6sjR.js → vue-ui-gauge-x96W5OPx.js} +95 -37
  214. package/dist/{vue-ui-geo-D6BoOtIP.js → vue-ui-geo-qTfYs5qi.js} +113 -43
  215. package/dist/{vue-ui-gizmo-CV07ZThl.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
  216. package/dist/{vue-ui-heatmap-DfbRacVm.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
  217. package/dist/{vue-ui-history-plot-5sPJfAue.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-BhMvbsvs.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
  219. package/dist/{vue-ui-kpi-P92uuJ_R.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-BI6zROGn.js → vue-ui-molecule-B_19tjnI.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Byc_xyhw.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-BZu1ntbw.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
  224. package/dist/{vue-ui-onion-O2tKgfXh.js → vue-ui-onion-DMMLNXVu.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-CbDGHCzy.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
  226. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +36 -0
  227. package/dist/{vue-ui-quadrant-CPgUkle7.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-CgDH-APs.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
  229. package/dist/{vue-ui-radar-Belp_vQe.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-AWRDIZzF.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Cao4_cEs.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
  233. package/dist/{vue-ui-rings-Dl462hDH.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
  234. package/dist/{vue-ui-scatter-BrVEK5YL.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BsTtcR3x.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-CbtI2yPI.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-DgrwoANx.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-CepspA5J.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-BAVAkN0U.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BMcsfaUW.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-BAzr99-y.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BnepTc3z.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
  244. package/dist/{vue-ui-stackline-p3Utm59w.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BfYmPTZT.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
  246. package/dist/{vue-ui-table-BNmt2bQy.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-BMt2q1FS.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Bf22bEzP.js → vue-ui-thermometer-B9nc954A.js} +129 -48
  250. package/dist/{vue-ui-timer-CkEPkE7B.js → vue-ui-timer-BDfbM4vl.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-ltmjDwug.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-AUF7SKGN.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
  254. package/dist/{vue-ui-wheel-Dn1nmx7r.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-Bll30XSc.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-BGC31q8v.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-CGbTrwdn.js +0 -1726
  262. package/dist/vue-ui-world-CiNUxqIq.js +0 -1011
@@ -1,25 +1,25 @@
1
1
  import { defineAsyncComponent as ke, useSlots as ps, computed as m, ref as f, shallowRef as qt, onMounted as bs, toRefs as xs, watch as Fe, onBeforeUnmount as Xt, nextTick as Gt, watchEffect as bt, openBlock as i, createElementBlock as v, normalizeStyle as ge, normalizeClass as tl, createElementVNode as le, toDisplayString as fe, createBlock as se, createCommentVNode as x, unref as C, withCtx as P, renderSlot as N, normalizeProps as Q, guardReactiveProps as ee, createSlots as jt, createVNode as Ze, Fragment as R, renderList as X, mergeProps as xt, Teleport as ks, resolveDynamicComponent as ws, createTextVNode as al } from "vue";
2
- import { j as ll, t as sl, m as Ss, p as kt, n as Ms, o as ol, q as nl, r as $s, s as Cs, ar as Qe, E as wt, D as St, I as Ls, c as we, b as Se, F as As, T as Ts, U as Ns, k as et, l as Ce, G as tt, X as Ps, x as zs, u as Is, K as rl, a0 as _s, a1 as Fs, z as Es, A as at, a3 as Rs } from "./lib-DBptbyyI.js";
2
+ import { j as ll, t as sl, m as Ss, p as kt, n as Ms, o as ol, q as nl, r as $s, s as Cs, ar as Qe, E as wt, D as St, I as Ls, c as we, b as Se, F as As, T as Ts, U as Ns, k as et, l as Ce, G as tt, X as Ps, x as zs, u as Is, K as rl, a0 as _s, a1 as Fs, z as Es, A as at, a3 as Rs } from "./lib-DMzrGQHK.js";
3
3
  import { t as Os, u as Ds } from "./useResponsive-DfdjqQps.js";
4
- import { u as il, a as ul, b as Vs } from "./useTimeLabels-C-A2uZKi.js";
5
- import { u as Bs } from "./useConfig-C40HvGpD.js";
6
- import { u as Ys, B as Hs } from "./BaseScanner-BhhkKVoj.js";
7
- import { u as Ws } from "./usePrinter-CEpYU3r5.js";
8
- import { u as Us } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Jt } from "./useNestedProp-Bf5XFbs8.js";
10
- import { u as qs } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as Xs } from "./useStableElementSize-DCNs0Tx7.js";
12
- import { u as Gs } from "./useChartAccessibility-9icAAmYg.js";
13
- import { u as js } from "./useTimeLabelCollider-CIsgDrl9.js";
14
- import { u as Js } from "./useUserOptionState-BIvW1Kz7.js";
15
- import Ks from "./img-LXxMLmCg.js";
16
- import { _ as Kt } from "./Shape-BKRUOeKk.js";
17
- import Zs from "./Title-BeMKE1cj.js";
4
+ import { u as il, a as ul, b as Vs } from "./useTimeLabels-Cv0tD9In.js";
5
+ import { u as Bs } from "./useConfig-DTHxOX6V.js";
6
+ import { u as Ys, B as Hs } from "./BaseScanner-BON3d_Sx.js";
7
+ import { u as Ws } from "./usePrinter-C4t8DdQ-.js";
8
+ import { u as Us } from "./useSvgExport-BTG4hVPO.js";
9
+ import { u as Jt } from "./useNestedProp-DH0BEVVS.js";
10
+ import { u as qs } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as Xs } from "./useStableElementSize-C48ZVcZQ.js";
12
+ import { u as Gs } from "./useChartAccessibility-cp6XQtqi.js";
13
+ import { u as js } from "./useTimeLabelCollider-D3JeJ6Ye.js";
14
+ import { u as Js } from "./useUserOptionState-B7Ej974k.js";
15
+ import Ks from "./img-CjTQXS0U.js";
16
+ import { _ as Kt } from "./Shape-CxJ5_Rre.js";
17
+ import Zs from "./Title-BbKoiBk2.js";
18
18
  import Qs from "./vue_ui_stackline-QTh-nuxE.js";
19
- import eo from "./Legend-CS7Xo5LK.js";
20
- import { A as to } from "./A11yDataTable-KcVAX2cP.js";
21
- import { S as ao } from "./SlicerPreview-BMx3cqgX.js";
22
- import { B as lo } from "./BaseLegendToggle-BQVIawmA.js";
19
+ import eo from "./Legend-DGN5lY60.js";
20
+ import { A as to } from "./A11yDataTable-BpmuNomI.js";
21
+ import { S as ao } from "./SlicerPreview-D_CgrN_7.js";
22
+ import { B as lo } from "./BaseLegendToggle-cMP8M2u0.js";
23
23
  import { _ as so } from "./_plugin-vue_export-helper-CHgC5LLL.js";
24
24
  const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative" } }, uo = ["aria-describedby", "xmlns", "viewBox"], co = { key: 0 }, vo = ["x", "y", "width", "height"], ho = { key: 1 }, mo = ["id"], fo = ["stop-color"], yo = ["stop-color"], go = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], po = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ko = ["x", "y", "font-size", "fill", "font-weight"], wo = ["transform", "font-size", "fill", "font-weight"], So = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Mo = ["d", "fill", "opacity"], $o = ["d", "stroke", "stroke-width"], Co = ["x1", "x2", "y1", "y2", "stroke"], Lo = ["x", "y", "font-size", "font-weight", "fill"], Ao = { key: 0 }, To = { key: 1 }, No = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Po = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], zo = ["x", "y", "height", "width", "fill"], Io = { key: 0 }, _o = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fo = { key: 0 }, Eo = ["x", "y", "font-size", "fill", "font-weight"], Ro = ["x", "y", "font-size", "font-weight", "fill"], Oo = ["data-start", "data-end"], Do = {
25
25
  key: 0,
@@ -49,9 +49,23 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { 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(Mt, { expose: cl, emit: vl }) {
54
- const dl = ke(() => import("./Tooltip-C8KGyqQk.js")), hl = ke(() => import("./BaseIcon-Cb3zzG6s.js")), ml = ke(() => import("./vue-ui-accordion-DDuJT1xA.js")), fl = ke(() => import("./DataTable-DT2kIdQ6.js")), yl = ke(() => import("./PenAndPaper-Ct3qJ4lA.js")), gl = ke(() => import("./UserOptions-rW2fRf3V.js")), pl = ke(() => import("./PackageVersion-PjmqM4wb.js")), bl = ke(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_stackline: xl } = Bs(), { isThemeValid: kl, warnInvalidTheme: wl } = qs(), Zt = ps(), G = Mt, ye = vl, Ee = m({
60
+ const dl = ke(() => import("./Tooltip-Cvt7Fi0Q.js")), hl = ke(() => import("./BaseIcon-DX0hTWa-.js")), ml = ke(() => import("./vue-ui-accordion-BHmfmb_6.js")), fl = ke(() => import("./DataTable-cMnb68Ik.js")), yl = ke(
61
+ () => import("./PenAndPaper-CJDoB5H9.js")
62
+ ), gl = ke(
63
+ () => import("./UserOptions-DVduN6X7.js")
64
+ ), pl = ke(
65
+ () => import("./PackageVersion-DVvvyQXB.js")
66
+ ), bl = ke(
67
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
68
+ ), { vue_ui_stackline: xl } = Bs(), { isThemeValid: kl, warnInvalidTheme: wl } = qs(), Zt = ps(), G = Mt, ye = vl, Ee = m({
55
69
  get() {
56
70
  return !!G.dataset && G.dataset.length;
57
71
  },
@@ -89,7 +103,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
89
103
  bs(() => {
90
104
  Tt(), va.start(), oa.value = !0, xa(), rt();
91
105
  });
92
- const e = f(It()), ce = m(() => e.value.userOptions.useCursorPointer), Cl = m(() => sl({
106
+ const e = f(It()), ce = m(
107
+ () => e.value.userOptions.useCursorPointer
108
+ ), Cl = m(() => sl({
93
109
  defaultConfig: {
94
110
  userOptions: { show: !1 },
95
111
  useCssAnimation: !1,
@@ -165,7 +181,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
165
181
  defaultConfig: e.value,
166
182
  userConfig: Cl.value
167
183
  })
168
- }), { userOptionsVisible: zt, setUserOptionsVisibility: ha, keepUserOptionState: ma } = Js({ config: e.value }), { svgRef: de } = Gs({ config: e.value.style.chart.title });
184
+ }), { userOptionsVisible: zt, setUserOptionsVisibility: ha, keepUserOptionState: ma } = Js({ config: e.value }), { svgRef: de } = Gs({
185
+ config: e.value.style.chart.title
186
+ });
169
187
  function Ll() {
170
188
  Le.value = !0, ha(!0);
171
189
  }
@@ -200,16 +218,24 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
200
218
  return l;
201
219
  }
202
220
  const fa = m(() => e.value.style.chart.lines.dataLabels.hideUnderValue !== null), ya = m(() => e.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
203
- Fe(() => G.config, (t) => {
204
- ve.value || (e.value = It()), zt.value = !e.value.userOptions.showOnChartHover, xa(), sa.value += 1, Sl.value += 1, Ml.value += 1, j.value.dataLabels.show = e.value.style.chart.lines.dataLabels.show, j.value.showTable = e.value.table.show, j.value.showTooltip = e.value.style.chart.tooltip.show, oe.value.width = e.value.style.chart.width, oe.value.height = e.value.style.chart.height, oe.value.paddingRatio = {
205
- top: e.value.style.chart.padding.top / e.value.style.chart.height,
206
- right: e.value.style.chart.padding.right / e.value.style.chart.width,
207
- bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
208
- left: e.value.style.chart.padding.left / e.value.style.chart.width
209
- }, Tt(), rt(), ct();
210
- }, { deep: !0 }), Fe(() => G.dataset, (t) => {
211
- Array.isArray(t) && t.length > 0 && (it.value = !1), Ma(), Tt(), rt();
212
- }, { deep: !0 });
221
+ Fe(
222
+ () => G.config,
223
+ (t) => {
224
+ ve.value || (e.value = It()), zt.value = !e.value.userOptions.showOnChartHover, xa(), sa.value += 1, Sl.value += 1, Ml.value += 1, j.value.dataLabels.show = e.value.style.chart.lines.dataLabels.show, j.value.showTable = e.value.table.show, j.value.showTooltip = e.value.style.chart.tooltip.show, oe.value.width = e.value.style.chart.width, oe.value.height = e.value.style.chart.height, oe.value.paddingRatio = {
225
+ top: e.value.style.chart.padding.top / e.value.style.chart.height,
226
+ right: e.value.style.chart.padding.right / e.value.style.chart.width,
227
+ bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
228
+ left: e.value.style.chart.padding.left / e.value.style.chart.width
229
+ }, Tt(), rt(), ct();
230
+ },
231
+ { deep: !0 }
232
+ ), Fe(
233
+ () => G.dataset,
234
+ (t) => {
235
+ Array.isArray(t) && t.length > 0 && (it.value = !1), Ma(), Tt(), rt();
236
+ },
237
+ { deep: !0 }
238
+ );
213
239
  const j = f({
214
240
  dataLabels: {
215
241
  show: e.value.style.chart.lines.dataLabels.show
@@ -217,15 +243,19 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
217
243
  showTable: e.value.table.show,
218
244
  showTooltip: e.value.style.chart.tooltip.show
219
245
  });
220
- Fe(e, () => {
221
- j.value = {
222
- dataLabels: {
223
- show: e.value.style.chart.lines.dataLabels.show
224
- },
225
- showTable: e.value.table.show,
226
- showTooltip: e.value.style.chart.tooltip.show
227
- };
228
- }, { immediate: !0 });
246
+ Fe(
247
+ e,
248
+ () => {
249
+ j.value = {
250
+ dataLabels: {
251
+ show: e.value.style.chart.lines.dataLabels.show
252
+ },
253
+ showTable: e.value.table.show,
254
+ showTooltip: e.value.style.chart.tooltip.show
255
+ };
256
+ },
257
+ { immediate: !0 }
258
+ );
229
259
  const { isPrinting: _t, isImaging: Ft, generatePdf: ga, generateImage: pa } = Ws({
230
260
  elementId: `stackline_${K.value}`,
231
261
  fileName: e.value.style.chart.title.text || "vue-ui-stackline",
@@ -344,7 +374,24 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
344
374
  height: Math.max(0, S)
345
375
  };
346
376
  }), _l = m(() => {
347
- const { left: t, top: l, width: a, height: s } = d.value, n = u.value.start, o = u.value.end, r = Math.max(1, o - n), y = Math.max(0, Math.min(r, (ne.value.start ?? n) - n)), k = Math.max(0, Math.min(r, (ne.value.end ?? o) - n)), T = Math.max(0, k - y), S = {
377
+ const {
378
+ left: t,
379
+ top: l,
380
+ width: a,
381
+ height: s
382
+ } = d.value, n = u.value.start, o = u.value.end, r = Math.max(1, o - n), y = Math.max(
383
+ 0,
384
+ Math.min(
385
+ r,
386
+ (ne.value.start ?? n) - n
387
+ )
388
+ ), k = Math.max(
389
+ 0,
390
+ Math.min(
391
+ r,
392
+ (ne.value.end ?? o) - n
393
+ )
394
+ ), T = Math.max(0, k - y), S = {
348
395
  fill: e.value.style.chart.zoom.preview.fill,
349
396
  stroke: e.value.style.chart.zoom.preview.stroke,
350
397
  "stroke-width": e.value.style.chart.zoom.preview.strokeWidth,
@@ -380,11 +427,17 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
380
427
  color: a
381
428
  };
382
429
  })), Me = m(
383
- () => Z.value.filter((t) => !V.value.includes(t.id) && !t.standalone)
430
+ () => Z.value.filter(
431
+ (t) => !V.value.includes(t.id) && !t.standalone
432
+ )
384
433
  ), ut = m(
385
- () => Z.value.filter((t) => !V.value.includes(t.id) && t.standalone)
434
+ () => Z.value.filter(
435
+ (t) => !V.value.includes(t.id) && t.standalone
436
+ )
386
437
  ), he = m(() => {
387
- const t = Math.max(...Z.value.filter((l) => !V.value.includes(l.id)).map((l) => l.series.length));
438
+ const t = Math.max(
439
+ ...Z.value.filter((l) => !V.value.includes(l.id)).map((l) => l.series.length)
440
+ );
388
441
  return isFinite(t) ? t : Math.max(...Z.value.map((l) => l.series.length));
389
442
  });
390
443
  function Fl(t) {
@@ -393,7 +446,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
393
446
  const u = f({
394
447
  start: 0,
395
448
  end: Math.max(...Pt.value.map((t) => t.series.length))
396
- }), ne = f({ start: 0, end: Math.max(...Pt.value.map((t) => t.series.length)) });
449
+ }), ne = f({
450
+ start: 0,
451
+ end: Math.max(...Pt.value.map((t) => t.series.length))
452
+ });
397
453
  function Ot(t) {
398
454
  return (u.value.start ?? 0) + (t ?? 0);
399
455
  }
@@ -408,9 +464,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
408
464
  }
409
465
  const Ue = f(null);
410
466
  function El() {
411
- return new Promise((t) => requestAnimationFrame(
412
- () => requestAnimationFrame(() => t())
413
- ));
467
+ return new Promise(
468
+ (t) => requestAnimationFrame(() => requestAnimationFrame(() => t()))
469
+ );
414
470
  }
415
471
  Xt(() => {
416
472
  Ue.value && cancelAnimationFrame(Ue.value);
@@ -420,11 +476,21 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
420
476
  await El(), mt();
421
477
  });
422
478
  }
423
- const vt = m(() => Math.max(0, d.value.width / (u.value.end - u.value.start))), $a = m(() => Qe(
424
- Me.value.map((t) => ({ ...t, series: t.series.map((l) => l ?? 0) }))
425
- ).slice(u.value.start, u.value.end)), dt = m(() => V.value.length === Z.value.length), Ca = m(() => {
479
+ const vt = m(() => Math.max(
480
+ 0,
481
+ d.value.width / (u.value.end - u.value.start)
482
+ )), $a = m(() => Qe(
483
+ Me.value.map((t) => ({
484
+ ...t,
485
+ series: t.series.map((l) => l ?? 0)
486
+ }))
487
+ ).slice(u.value.start, u.value.end)), dt = m(
488
+ () => V.value.length === Z.value.length
489
+ ), Ca = m(() => {
426
490
  if (!e.value.style.chart.zoom.minimap.show) return [];
427
- const t = Z.value.filter((n) => dt.value ? !0 : !V.value.includes(n.id) && !n.standalone);
491
+ const t = Z.value.filter(
492
+ (n) => dt.value ? !0 : !V.value.includes(n.id) && !n.standalone
493
+ );
428
494
  if (t.length)
429
495
  return Qe(
430
496
  t.map((n) => ({
@@ -441,12 +507,16 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
441
507
  );
442
508
  }), Rl = m(() => {
443
509
  if (!e.value.style.chart.zoom.minimap.show) return [];
444
- const l = Z.value.filter((o) => dt.value ? !0 : !V.value.includes(o.id) && !o.standalone), a = ut.value, s = l.length ? [{
445
- name: "",
446
- series: Ca.value,
447
- color: "#000000",
448
- isVisible: !0
449
- }] : [], n = a.map((o) => ({
510
+ const l = Z.value.filter(
511
+ (o) => dt.value ? !0 : !V.value.includes(o.id) && !o.standalone
512
+ ), a = ut.value, s = l.length ? [
513
+ {
514
+ name: "",
515
+ series: Ca.value,
516
+ color: "#000000",
517
+ isVisible: !0
518
+ }
519
+ ] : [], n = a.map((o) => ({
450
520
  name: o.name || "",
451
521
  series: (o.series || []).map((r) => r ?? 0),
452
522
  color: o.color,
@@ -462,16 +532,22 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
462
532
  })
463
533
  }))
464
534
  ).slice(u.value.start, u.value.end)), Ne = m(() => {
465
- const t = Me.value.filter((l) => !V.value.includes(l.id));
535
+ const t = Me.value.filter(
536
+ (l) => !V.value.includes(l.id)
537
+ );
466
538
  return {
467
- positive: Qe(t.map((l) => ({
468
- ...l,
469
- series: l.series.slice(u.value.start, u.value.end).map((a) => (a ?? 0) >= 0 ? a ?? 0 : 0)
470
- }))),
471
- negative: Qe(t.map((l) => ({
472
- ...l,
473
- series: l.series.slice(u.value.start, u.value.end).map((a) => (a ?? 0) < 0 ? a ?? 0 : 0)
474
- })))
539
+ positive: Qe(
540
+ t.map((l) => ({
541
+ ...l,
542
+ series: l.series.slice(u.value.start, u.value.end).map((a) => (a ?? 0) >= 0 ? a ?? 0 : 0)
543
+ }))
544
+ ),
545
+ negative: Qe(
546
+ t.map((l) => ({
547
+ ...l,
548
+ series: l.series.slice(u.value.start, u.value.end).map((a) => (a ?? 0) < 0 ? a ?? 0 : 0)
549
+ }))
550
+ )
475
551
  };
476
552
  }), Pe = m(() => {
477
553
  const t = Math.max(0, u.value.end - u.value.start), l = Array(t).fill(0), a = Array(t).fill(0);
@@ -492,7 +568,13 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
492
568
  return { y0: ze.value?.[0]?.zero ?? d.value.bottom };
493
569
  }
494
570
  function Vl(t) {
495
- const { y0: l } = Dl(), a = e.value.style.chart.lines.totalValues, s = Math.max(2, a.fontSize * 1.3 + a.offsetY), n = (r) => Math.min(Math.max(r, d.value.top - e.value.style.chart.lines.totalValues.fontSize * 1.3), d.value.bottom + e.value.style.chart.lines.totalValues.fontSize * 2);
571
+ const { y0: l } = Dl(), a = e.value.style.chart.lines.totalValues, s = Math.max(2, a.fontSize * 1.3 + a.offsetY), n = (r) => Math.min(
572
+ Math.max(
573
+ r,
574
+ d.value.top - e.value.style.chart.lines.totalValues.fontSize * 1.3
575
+ ),
576
+ d.value.bottom + e.value.style.chart.lines.totalValues.fontSize * 2
577
+ );
496
578
  if ((La.value?.[t]?.value ?? 0) >= 0 || e.value.style.chart.lines.distributed) {
497
579
  let r = 1 / 0;
498
580
  for (const k of A.value || []) {
@@ -500,7 +582,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
500
582
  (T ?? 0) > 0 && Number.isFinite(S) && S < r && (r = S);
501
583
  }
502
584
  const y = Number.isFinite(r) ? r : l;
503
- return n(y - s - e.value.style.chart.lines.totalValues.offsetY);
585
+ return n(
586
+ y - s - e.value.style.chart.lines.totalValues.offsetY
587
+ );
504
588
  } else {
505
589
  let r = -1 / 0;
506
590
  for (const k of A.value || []) {
@@ -508,11 +592,23 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
508
592
  (T ?? 0) < 0 && Number.isFinite(S) && S > r && (r = S);
509
593
  }
510
594
  const y = Number.isFinite(r) ? r : l;
511
- return n(y + s + a.fontSize * 0.7 + e.value.style.chart.lines.totalValues.offsetY);
595
+ return n(
596
+ y + s + a.fontSize * 0.7 + e.value.style.chart.lines.totalValues.offsetY
597
+ );
512
598
  }
513
599
  }
514
600
  const ze = m(() => {
515
- const t = Math.max(...Ne.value.positive, 0), l = Math.min(...Ne.value.negative, 0), a = Math.max(...Pe.value.positive, 0), s = Math.min(...Pe.value.negative, 0), n = Math.max(t, a), o = Math.min(l, s), r = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, y = e.value.style.chart.grid.scale.scaleMin, k = e.value.style.chart.grid.scale.scaleMax, T = !e.value.style.chart.lines.distributed && (y !== null || k !== null), S = y !== null && !e.value.style.chart.lines.distributed ? y : r > 0 ? 0 : r, z = k !== null && !e.value.style.chart.lines.distributed ? k : n < 0 ? 0 : n, O = T ? wt(S, z, e.value.style.chart.grid.scale.ticks) : St(S, z, e.value.style.chart.grid.scale.ticks), M = Math.abs(Number(O.min) || 0), w = (Number(O.max) || 0) + M, c = w === 0 || !Number.isFinite(w) ? 1 : w, _ = Array.isArray(O.ticks) && O.ticks.length ? O.ticks : [0], g = d.value.bottom - d.value.height * (M / c);
601
+ const t = Math.max(...Ne.value.positive, 0), l = Math.min(...Ne.value.negative, 0), a = Math.max(...Pe.value.positive, 0), s = Math.min(...Pe.value.negative, 0), n = Math.max(t, a), o = Math.min(l, s), r = [-1 / 0, 1 / 0, NaN, void 0, null].includes(
602
+ o
603
+ ) ? 0 : o, y = e.value.style.chart.grid.scale.scaleMin, k = e.value.style.chart.grid.scale.scaleMax, T = !e.value.style.chart.lines.distributed && (y !== null || k !== null), S = y !== null && !e.value.style.chart.lines.distributed ? y : r > 0 ? 0 : r, z = k !== null && !e.value.style.chart.lines.distributed ? k : n < 0 ? 0 : n, O = T ? wt(
604
+ S,
605
+ z,
606
+ e.value.style.chart.grid.scale.ticks
607
+ ) : St(
608
+ S,
609
+ z,
610
+ e.value.style.chart.grid.scale.ticks
611
+ ), M = Math.abs(Number(O.min) || 0), w = (Number(O.max) || 0) + M, c = w === 0 || !Number.isFinite(w) ? 1 : w, _ = Array.isArray(O.ticks) && O.ticks.length ? O.ticks : [0], g = d.value.bottom - d.value.height * (M / c);
516
612
  return _.map(($) => {
517
613
  const F = Number($) || 0, E = d.value.bottom - d.value.height * ((F + M) / c);
518
614
  return {
@@ -553,7 +649,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
553
649
  });
554
650
  const Bl = m(() => {
555
651
  const t = e.value.style.chart.grid.x.timeLabels.modulo;
556
- return me.value.length ? Math.min(t, [...new Set(me.value.map((l) => l.text))].length) : t;
652
+ return me.value.length ? Math.min(
653
+ t,
654
+ [...new Set(me.value.map((l) => l.text))].length
655
+ ) : t;
557
656
  }), ht = m(() => {
558
657
  const t = e.value.style.chart.grid.x.timeLabels, l = me.value || [], a = Ie.value || [], s = u.value.start ?? 0, n = b.value, o = he.value, r = l.map((k) => k?.text ?? ""), y = a.map((k) => k?.text ?? "");
559
658
  return Ls(
@@ -567,15 +666,25 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
567
666
  o
568
667
  );
569
668
  });
570
- bt(() => {
571
- 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, (ht.value || []).map((t) => t?.text ?? "").join("|"), oe.value.width, oe.value.height, nt.value, ot.value, Il();
572
- }, { flush: "post" });
573
- const Na = f({ months: [], shortMonths: [], days: [], shortDays: [] });
669
+ bt(
670
+ () => {
671
+ 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, (ht.value || []).map((t) => t?.text ?? "").join("|"), oe.value.width, oe.value.height, nt.value, ot.value, Il();
672
+ },
673
+ { flush: "post" }
674
+ );
675
+ const Na = f({
676
+ months: [],
677
+ shortMonths: [],
678
+ days: [],
679
+ shortDays: []
680
+ });
574
681
  let Pa = 0;
575
682
  bt(() => {
576
683
  const t = ++Pa, l = e.value.style.chart.grid.x.timeLabels.datetimeFormatter;
577
684
  (async () => {
578
- const a = await ul(l.locale).catch(() => ul("en"));
685
+ const a = await ul(l.locale).catch(
686
+ () => ul("en")
687
+ );
579
688
  t === Pa && (Na.value = a.data);
580
689
  })();
581
690
  });
@@ -590,10 +699,16 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
590
699
  return o == null ? "" : l.formatDate(new Date(o), s);
591
700
  };
592
701
  }), Ia = m(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
593
- text: za.value(a, e.value.style.chart.zoom.timeFormat),
702
+ text: za.value(
703
+ a,
704
+ e.value.style.chart.zoom.timeFormat
705
+ ),
594
706
  absoluteIndex: a
595
707
  }))), Yl = m(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
596
- text: za.value(a, e.value.style.chart.tooltip.timeFormat),
708
+ text: za.value(
709
+ a,
710
+ e.value.style.chart.tooltip.timeFormat
711
+ ),
597
712
  absoluteIndex: a
598
713
  }))), Hl = m(() => {
599
714
  if (!Ee.value && !ve.value) return [];
@@ -629,7 +744,13 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
629
744
  }
630
745
  $.push(p), F.push(xe), E.push(U ?? (xe >= 0 ? 1 : -1));
631
746
  }
632
- const H = $.map((p) => ({ x: _(p), y: B[p] })), te = H.map((p) => p.x), J = F.reduce((p, L) => p + Math.abs(L || 0), 0), W = J === 0 ? 1 : J, D = F.map((p, L) => {
747
+ const H = $.map((p) => ({
748
+ x: _(p),
749
+ y: B[p]
750
+ })), te = H.map((p) => p.x), J = F.reduce(
751
+ (p, L) => p + Math.abs(L || 0),
752
+ 0
753
+ ), W = J === 0 ? 1 : J, D = F.map((p, L) => {
633
754
  if (e.value.style.chart.lines.distributed && !g.standalone) {
634
755
  const q = $[L], U = $a.value[q] || 1;
635
756
  return (p || 0) / U;
@@ -751,7 +872,15 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
751
872
  slicer: u,
752
873
  configRef: e,
753
874
  rotationPath: ["style", "chart", "grid", "x", "timeLabels", "rotation"],
754
- autoRotatePath: ["style", "chart", "grid", "x", "timeLabels", "autoRotate", "enable"],
875
+ autoRotatePath: [
876
+ "style",
877
+ "chart",
878
+ "grid",
879
+ "x",
880
+ "timeLabels",
881
+ "autoRotate",
882
+ "enable"
883
+ ],
755
884
  isAutoSize: !1,
756
885
  width: ql,
757
886
  height: Xl,
@@ -770,11 +899,18 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
770
899
  return { x: M.x, y: M.y, ok: !0 };
771
900
  }
772
901
  }
773
- const a = l.getBoundingClientRect(), s = l.viewBox?.baseVal || { x: 0, y: 0, width: a.width, height: a.height }, n = Math.min(a.width / s.width, a.height / s.height), o = s.width * n, r = s.height * n, y = (a.width - o) / 2, k = (a.height - r) / 2, T = (t.clientX - a.left - y) / n + s.x, S = (t.clientY - a.top - k) / n + s.y;
902
+ const a = l.getBoundingClientRect(), s = l.viewBox?.baseVal || {
903
+ x: 0,
904
+ y: 0,
905
+ width: a.width,
906
+ height: a.height
907
+ }, n = Math.min(a.width / s.width, a.height / s.height), o = s.width * n, r = s.height * n, y = (a.width - o) / 2, k = (a.height - r) / 2, T = (t.clientX - a.left - y) / n + s.x, S = (t.clientY - a.top - k) / n + s.y;
774
908
  return { x: T, y: S, ok: !0 };
775
909
  }
776
910
  let $e = 0;
777
- const Y = m(() => Math.max(1, u.value.end - u.value.start)), gt = m(
911
+ const Y = m(
912
+ () => Math.max(1, u.value.end - u.value.start)
913
+ ), gt = m(
778
914
  () => Y.value > 1 ? d.value.width / (Y.value - 1) : 0
779
915
  );
780
916
  function re(t) {
@@ -812,7 +948,8 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
812
948
  const l = Ea(t);
813
949
  if (!l || !de.value) return;
814
950
  const { left: a, right: s, top: n, bottom: o } = d.value;
815
- if (l.x < a || l.x > s || l.y < n || l.y > o) return;
951
+ if (l.x < a || l.x > s || l.y < n || l.y > o)
952
+ return;
816
953
  let r = 0;
817
954
  if (Y.value > 1) {
818
955
  const y = (l.x - a) / gt.value;
@@ -825,14 +962,19 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
825
962
  }), Oa(r);
826
963
  }
827
964
  function Oa(t) {
828
- const l = JSON.parse(JSON.stringify(A.value)).map((a) => ({
829
- name: a.name,
830
- value: a.series[t] === 0 ? 0 : a.series[t] || null,
831
- proportion: a.proportions[t] || null,
832
- color: a.color,
833
- id: a.id
834
- }));
835
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: t + u.value.start }), ye("selectDatapoint", { datapoint: l, period: me.value[t] });
965
+ const l = JSON.parse(JSON.stringify(A.value)).map(
966
+ (a) => ({
967
+ name: a.name,
968
+ value: a.series[t] === 0 ? 0 : a.series[t] || null,
969
+ proportion: a.proportions[t] || null,
970
+ color: a.color,
971
+ id: a.id
972
+ })
973
+ );
974
+ e.value.events.datapointClick && e.value.events.datapointClick({
975
+ datapoint: l,
976
+ seriesIndex: t + u.value.start
977
+ }), ye("selectDatapoint", { datapoint: l, period: me.value[t] });
836
978
  }
837
979
  Fe(
838
980
  () => [u.value.start, u.value.end, A.value.length],
@@ -896,7 +1038,14 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
896
1038
  borderColor: T,
897
1039
  roundingValue: S,
898
1040
  roundingPercentage: z
899
- } = e.value.style.chart.tooltip, O = (c) => !c.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(c.shape) ? `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${c.color}" /></svg>` : c.shape === "star" ? `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${c.color}" points="${Es({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>` : c.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`, M = (c, _) => {
1041
+ } = e.value.style.chart.tooltip, O = (c) => !c.shape || ![
1042
+ "star",
1043
+ "triangle",
1044
+ "square",
1045
+ "diamond",
1046
+ "pentagon",
1047
+ "hexagon"
1048
+ ].includes(c.shape) ? `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${c.color}" /></svg>` : c.shape === "star" ? `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" fill="${c.color}" points="${Es({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>` : c.shape === "triangle" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "square" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "diamond" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : c.shape === "pentagon" ? `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>` : `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${at({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${c.color}" stroke="${e.value.style.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`, M = (c, _) => {
900
1049
  const g = _ ? Ce({
901
1050
  v: isNaN((c.value ?? 0) / (n || 1)) ? 0 : Math.abs(c.value ?? 0) / (n || 1) * 100,
902
1051
  s: "%",
@@ -909,12 +1058,14 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
909
1058
  ${o ? et(
910
1059
  e.value.style.chart.lines.dataLabels.formatter,
911
1060
  c.sourceValue,
912
- Ce({
913
- p: e.value.style.chart.lines.dataLabels.prefix,
914
- v: c.sourceValue,
915
- s: e.value.style.chart.lines.dataLabels.suffix,
916
- r: S
917
- })
1061
+ Ce(
1062
+ {
1063
+ p: e.value.style.chart.lines.dataLabels.prefix,
1064
+ v: c.sourceValue,
1065
+ s: e.value.style.chart.lines.dataLabels.suffix,
1066
+ r: S
1067
+ }
1068
+ )
918
1069
  ) : ""} ${$}${g}${F}
919
1070
  </div>
920
1071
  `;
@@ -932,7 +1083,12 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
932
1083
  s: e.value.style.chart.lines.dataLabels.suffix,
933
1084
  r: S
934
1085
  }),
935
- { datapoint: { name: y, value: tt(n) } }
1086
+ {
1087
+ datapoint: {
1088
+ name: y,
1089
+ value: tt(n)
1090
+ }
1091
+ }
936
1092
  )}</span>
937
1093
  </div>`), a.forEach((c) => {
938
1094
  h += M(c, k);
@@ -948,16 +1104,24 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
948
1104
  value: [null, void 0, NaN].includes(n.series[l]) ? null : n.series[l],
949
1105
  color: n.color
950
1106
  }));
951
- t ? (ue.value = l, b.value = l, Za({ seriesIndex: l, datapoint: s }), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: s, seriesIndex: l + u.value.start })) : (ue.value = null, b.value = null, ye("selectX", { seriesIndex: null, dataset: null, indexLabel: null }), e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: s, seriesIndex: l + u.value.start }));
1107
+ t ? (ue.value = l, b.value = l, Za({ seriesIndex: l, datapoint: s }), e.value.events.datapointEnter && e.value.events.datapointEnter({
1108
+ datapoint: s,
1109
+ seriesIndex: l + u.value.start
1110
+ })) : (ue.value = null, b.value = null, ye("selectX", { seriesIndex: null, dataset: null, indexLabel: null }), e.value.events.datapointLeave && e.value.events.datapointLeave({
1111
+ datapoint: s,
1112
+ seriesIndex: l + u.value.start
1113
+ }));
952
1114
  }
953
1115
  function Va(t, l) {
954
- const a = JSON.parse(JSON.stringify(A.value)).map((s) => ({
955
- name: s.name,
956
- value: s.series[l] === 0 ? 0 : (s.signedSeries[l] === -1 && s.series[l] >= 0 ? -s.series[l] : s.series[l]) || null,
957
- proportion: s.proportions[l] || null,
958
- color: s.color,
959
- id: s.id
960
- }));
1116
+ const a = JSON.parse(JSON.stringify(A.value)).map(
1117
+ (s) => ({
1118
+ name: s.name,
1119
+ value: s.series[l] === 0 ? 0 : (s.signedSeries[l] === -1 && s.series[l] >= 0 ? -s.series[l] : s.series[l]) || null,
1120
+ proportion: s.proportions[l] || null,
1121
+ color: s.color,
1122
+ id: s.id
1123
+ })
1124
+ );
961
1125
  ye("selectTimeLabel", {
962
1126
  datapoint: a,
963
1127
  absoluteIndex: t.absoluteIndex,
@@ -973,7 +1137,8 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
973
1137
  if (V.value.includes(t.id))
974
1138
  V.value = V.value.filter((l) => l !== t.id);
975
1139
  else {
976
- if (V.value.length === Z.value.length - 1) return;
1140
+ if (V.value.length === Z.value.length - 1)
1141
+ return;
977
1142
  V.value.push(t.id);
978
1143
  }
979
1144
  ye("selectLegend", A.value);
@@ -1008,27 +1173,49 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1008
1173
  const Ya = m(() => {
1009
1174
  if (A.value.length === 0)
1010
1175
  return { head: [], body: [], config: {}, columnNames: [] };
1011
- const t = A.value.map(({ name: a, color: s }) => ({ label: a, color: s })), l = [];
1176
+ const t = A.value.map(({ name: a, color: s }) => ({
1177
+ label: a,
1178
+ color: s
1179
+ })), l = [];
1012
1180
  return ht.value.forEach((a) => {
1013
1181
  const s = a.absoluteIndex, o = [e.value.style.chart.grid.x.timeLabels.values?.[s] ? a.text : s + 1];
1014
1182
  Z.value.forEach((r) => {
1015
- const y = r.series?.[s], k = Number((y ?? 0).toFixed(e.value.table.td.roundingValue));
1183
+ const y = r.series?.[s], k = Number(
1184
+ (y ?? 0).toFixed(e.value.table.td.roundingValue)
1185
+ );
1016
1186
  o.push(k);
1017
1187
  }), l.push(o);
1018
1188
  }), { head: t, body: l };
1019
1189
  });
1020
1190
  function Ht(t = null) {
1021
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ["", ...Ya.value.head.map((r) => r.label)], s = Ya.value.body, n = l.concat([a]).concat(s), o = _s(n);
1022
- t ? t(o) : Fs({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-stackline" });
1191
+ const l = [
1192
+ [e.value.style.chart.title.text],
1193
+ [e.value.style.chart.title.subtitle.text],
1194
+ [""]
1195
+ ], a = ["", ...Ya.value.head.map((r) => r.label)], s = Ya.value.body, n = l.concat([a]).concat(s), o = _s(n);
1196
+ t ? t(o) : Fs({
1197
+ csvContent: o,
1198
+ title: e.value.style.chart.title.text || "vue-ui-stackline"
1199
+ });
1023
1200
  }
1024
1201
  const _e = m(() => {
1025
- const t = [""].concat(A.value.map((o) => o.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>'), l = [], a = Math.max(0, u.value.end - u.value.start);
1202
+ const t = [""].concat(A.value.map((o) => o.name)).concat(
1203
+ ' <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>'
1204
+ ), l = [], a = Math.max(0, u.value.end - u.value.start);
1026
1205
  for (let o = 0; o < a; o += 1) {
1027
1206
  const r = Ot(o), y = e.value.style.chart.grid.x.timeLabels.values?.[r] ? me.value?.[o]?.text ?? r + 1 : r + 1, k = A.value.map((z) => {
1028
1207
  const O = z.series?.[o] ?? 0;
1029
1208
  return Number(O.toFixed(e.value.table.td.roundingValue));
1030
- }), S = A.value.filter((z) => !z.standalone).map((z) => z.series?.[o] ?? 0).reduce((z, O) => z + O, 0);
1031
- l.push([y].concat(k).concat(Number(S.toFixed(e.value.table.td.roundingValue))));
1209
+ }), S = A.value.filter(
1210
+ (z) => !z.standalone
1211
+ ).map((z) => z.series?.[o] ?? 0).reduce((z, O) => z + O, 0);
1212
+ l.push(
1213
+ [y].concat(k).concat(
1214
+ Number(
1215
+ S.toFixed(e.value.table.td.roundingValue)
1216
+ )
1217
+ )
1218
+ );
1032
1219
  }
1033
1220
  const s = {
1034
1221
  th: {
@@ -1056,7 +1243,14 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1056
1243
  try {
1057
1244
  if (t) {
1058
1245
  const { blob: l, url: a, text: s, dataUrl: n } = await os();
1059
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: s, dataUrl: n }));
1246
+ await Promise.resolve(
1247
+ e.value.userOptions.callbacks.svg({
1248
+ blob: l,
1249
+ url: a,
1250
+ text: s,
1251
+ dataUrl: n
1252
+ })
1253
+ );
1060
1254
  } else
1061
1255
  await Promise.resolve(ss());
1062
1256
  } finally {
@@ -1065,7 +1259,12 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1065
1259
  }
1066
1260
  async function ns({ scale: t = 2 } = {}) {
1067
1261
  if (!ie.value) return;
1068
- const { width: l, height: a } = ie.value.getBoundingClientRect(), s = l / a, { imageUri: n, base64: o } = await Ks({ domElement: ie.value, base64: !0, img: !0, scale: t });
1262
+ const { width: l, height: a } = ie.value.getBoundingClientRect(), s = l / a, { imageUri: n, base64: o } = await Ks({
1263
+ domElement: ie.value,
1264
+ base64: !0,
1265
+ img: !0,
1266
+ scale: t
1267
+ });
1069
1268
  return {
1070
1269
  imageUri: n,
1071
1270
  base64: o,
@@ -1106,9 +1305,12 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1106
1305
  }
1107
1306
  };
1108
1307
  });
1109
- Fe(() => j.value.showTable, (t) => {
1110
- e.value.table.show || (t && e.value.table.useDialog && Ve.value ? Ve.value.open() : "close" in Ve.value && Ve.value.close());
1111
- });
1308
+ Fe(
1309
+ () => j.value.showTable,
1310
+ (t) => {
1311
+ e.value.table.show || (t && e.value.table.useDialog && Ve.value ? Ve.value.open() : "close" in Ve.value && Ve.value.close());
1312
+ }
1313
+ );
1112
1314
  function Wa() {
1113
1315
  j.value.showTable = !1, Ct.value && Ct.value.setTableIconState(!1);
1114
1316
  }
@@ -1143,14 +1345,18 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1143
1345
  });
1144
1346
  }
1145
1347
  const is = m(() => Array(he.value).fill(0).map((t, l) => ja(l)));
1146
- Fe(() => G.selectedXIndex, (t) => {
1147
- if ([null, void 0].includes(G.selectedXIndex)) {
1148
- b.value = null;
1149
- return;
1150
- }
1151
- const l = t - u.value.start;
1152
- l < 0 || t >= u.value.end ? b.value = null : b.value = l ?? null;
1153
- }, { immediate: !0 });
1348
+ Fe(
1349
+ () => G.selectedXIndex,
1350
+ (t) => {
1351
+ if ([null, void 0].includes(G.selectedXIndex)) {
1352
+ b.value = null;
1353
+ return;
1354
+ }
1355
+ const l = t - u.value.start;
1356
+ l < 0 || t >= u.value.end ? b.value = null : b.value = l ?? null;
1357
+ },
1358
+ { immediate: !0 }
1359
+ );
1154
1360
  const Ja = m(() => {
1155
1361
  if (e.value.style.chart.lines.distributed)
1156
1362
  return { min: -1, max: 1 };
@@ -1183,10 +1389,18 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1183
1389
  return { min: Number(M.min) || 0, max: Number(M.max) || 0 };
1184
1390
  });
1185
1391
  function us({ minimapH: t, unitW: l }) {
1186
- const a = (h) => typeof h == "string" ? h.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "";
1392
+ const a = (h) => typeof h == "string" ? h.replace(
1393
+ /^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i,
1394
+ ""
1395
+ ).trim() : "";
1187
1396
  if (!Number.isFinite(t) || t <= 0 || !Number.isFinite(l) || l <= 0)
1188
1397
  return "";
1189
- const s = A.value.filter((h) => !h.standalone), n = A.value.filter((h) => h.standalone), o = Math.max(0, ...A.value.map((h) => Array.isArray(h.fullSeries) ? h.fullSeries.length : h.series.length));
1398
+ const s = A.value.filter((h) => !h.standalone), n = A.value.filter((h) => h.standalone), o = Math.max(
1399
+ 0,
1400
+ ...A.value.map(
1401
+ (h) => Array.isArray(h.fullSeries) ? h.fullSeries.length : h.series.length
1402
+ )
1403
+ );
1190
1404
  if (o <= 0) return "";
1191
1405
  const r = o === 1 ? [l * 0.5] : Array.from({ length: o }, (h, w) => w * l);
1192
1406
  if (e.value.style.chart.lines.distributed) {
@@ -1225,7 +1439,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1225
1439
  stroke-linecap="round" />`
1226
1440
  );
1227
1441
  }), n.length && n.forEach((g) => {
1228
- const $ = Array.isArray(g.fullSeries) ? g.fullSeries : g.series, F = Array.from({ length: o }, (te, J) => w(Math.abs($?.[J] ?? 0) / h[J])), E = r.map((te, J) => ({ x: te, y: F[J] })), I = we(E), B = Se(E), H = e.value.style.chart.lines.smooth ? `M${E[0].x},${E[0].y} ${a(I)}` : `M${E[0].x},${E[0].y} ${a(B)}`;
1442
+ const $ = Array.isArray(g.fullSeries) ? g.fullSeries : g.series, F = Array.from(
1443
+ { length: o },
1444
+ (te, J) => w(Math.abs($?.[J] ?? 0) / h[J])
1445
+ ), E = r.map((te, J) => ({ x: te, y: F[J] })), I = we(E), B = Se(E), H = e.value.style.chart.lines.smooth ? `M${E[0].x},${E[0].y} ${a(I)}` : `M${E[0].x},${E[0].y} ${a(B)}`;
1229
1446
  c.push(
1230
1447
  `<path d="${H}"
1231
1448
  fill="none"
@@ -1277,7 +1494,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1277
1494
  }
1278
1495
  function cs(t, l) {
1279
1496
  const a = e.value.style.chart.lines, s = a.dataLabels;
1280
- return a.showDistributedPercentage && a.distributed ? ya.value ? l === 0 ? !s.hideEmptyPercentages : Math.abs(l) * 100 >= s.hideUnderPercentage : s.hideEmptyPercentages ? Math.abs(l) > 0 : !0 : ya.value ? (fa.value && Et.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(t) > vs.value * s.hideUnderPercentage / 100) : fa.value ? Math.abs(t) >= s.hideUnderValue : s.hideEmptyValues ? t !== 0 : !0;
1497
+ return a.showDistributedPercentage && a.distributed ? ya.value ? l === 0 ? !s.hideEmptyPercentages : Math.abs(l) * 100 >= s.hideUnderPercentage : s.hideEmptyPercentages ? Math.abs(l) > 0 : !0 : ya.value ? (fa.value && Et.value && console.warn(
1498
+ "Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."
1499
+ ), Math.abs(t) > vs.value * s.hideUnderPercentage / 100) : fa.value ? Math.abs(t) >= s.hideUnderValue : s.hideEmptyValues ? t !== 0 : !0;
1281
1500
  }
1282
1501
  const vs = m(() => Math.max(...A.value.flatMap((t) => t.series)));
1283
1502
  function Ka(t, l, a, s, n) {
@@ -1330,13 +1549,17 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1330
1549
  config: e.value,
1331
1550
  dataset: A.value
1332
1551
  }), !e.value.userOptions.callbacks.altCopy) {
1333
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1552
+ console.warn(
1553
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
1554
+ );
1334
1555
  return;
1335
1556
  }
1336
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
1337
- config: e.value,
1338
- dataset: A.value
1339
- }));
1557
+ await Promise.resolve(
1558
+ e.value.userOptions.callbacks.altCopy({
1559
+ config: e.value,
1560
+ dataset: A.value
1561
+ })
1562
+ );
1340
1563
  }
1341
1564
  const Wt = f(!1);
1342
1565
  function ms() {
@@ -1348,7 +1571,8 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1348
1571
  function ys(t) {
1349
1572
  if (!de.value || Ae.value || document.activeElement !== de.value || dt.value || !Y.value) return;
1350
1573
  const l = t.key === "ArrowLeft", a = t.key === "ArrowRight", s = t.key === "Enter" || t.key === " ", n = t.key === "Escape";
1351
- if (!l && !a && !s && !n) return;
1574
+ if (!l && !a && !s && !n)
1575
+ return;
1352
1576
  if (t.preventDefault(), t.stopPropagation(), n) {
1353
1577
  ue.value = null, Be.value = "pointer", Re.value = !1, b.value = null, ye("selectX", { seriesIndex: null, datapoint: null });
1354
1578
  return;
@@ -1390,7 +1614,11 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1390
1614
  id: `stackline_${K.value}`,
1391
1615
  ref_key: "stacklineChart",
1392
1616
  ref: ie,
1393
- class: tl({ "vue-data-ui-component": !0, "vue-ui-stackline": !0, "vue-data-ui-wrapper-fullscreen": De.value }),
1617
+ class: tl({
1618
+ "vue-data-ui-component": !0,
1619
+ "vue-ui-stackline": !0,
1620
+ "vue-data-ui-wrapper-fullscreen": De.value
1621
+ }),
1394
1622
  style: ge(`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%" : ""}`),
1395
1623
  onMouseenter: Ll,
1396
1624
  onMouseleave: Al
@@ -1597,7 +1825,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1597
1825
  "aria-describedby": `chart-instructions-${K.value}`,
1598
1826
  xmlns: C(Ps),
1599
1827
  viewBox: `0 0 ${d.value.chartWidth <= 0 ? 10 : d.value.chartWidth} ${d.value.chartHeight <= 0 ? 10 : d.value.chartHeight}`,
1600
- class: tl({ "vue-data-ui-loading": C(ve), "no-transition": !e.value.useCssAnimation }),
1828
+ class: tl({
1829
+ "vue-data-ui-loading": C(ve),
1830
+ "no-transition": !e.value.useCssAnimation
1831
+ }),
1601
1832
  style: ge(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
1602
1833
  role: "img",
1603
1834
  "aria-live": "polite",
@@ -1613,7 +1844,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1613
1844
  Ze(C(pl)),
1614
1845
  (i(!0), v(R, null, X(Me.value, (a) => (i(), v(R, null, [
1615
1846
  t.$slots.pattern ? (i(), v("defs", co, [
1616
- N(t.$slots, "pattern", xt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${K.value}_${a.absoluteIndex}` }), void 0, !0)
1847
+ N(t.$slots, "pattern", xt({ ref_for: !0 }, {
1848
+ seriesIndex: a.absoluteIndex,
1849
+ patternId: `pattern_${K.value}_${a.absoluteIndex}`
1850
+ }), void 0, !0)
1617
1851
  ])) : x("", !0)
1618
1852
  ], 64))), 256)),
1619
1853
  t.$slots["chart-background"] ? (i(), v("foreignObject", {
@@ -1642,7 +1876,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1642
1876
  }, null, 8, fo),
1643
1877
  le("stop", {
1644
1878
  offset: "100%",
1645
- "stop-color": C(zs)(a.color, e.value.style.chart.lines.gradient.intensity / 100)
1879
+ "stop-color": C(zs)(
1880
+ a.color,
1881
+ e.value.style.chart.lines.gradient.intensity / 100
1882
+ )
1646
1883
  }, null, 8, yo)
1647
1884
  ], 8, mo))), 256))
1648
1885
  ])) : x("", !0),
@@ -1711,7 +1948,11 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1711
1948
  }, fe(e.value.style.chart.grid.y.axisName.text), 9, wo)) : x("", !0),
1712
1949
  e.value.style.chart.grid.frame.show ? (i(), v("rect", {
1713
1950
  key: 8,
1714
- style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1951
+ style: {
1952
+ pointerEvents: "none",
1953
+ transition: "none",
1954
+ animation: "none !important"
1955
+ },
1715
1956
  x: ae.value.left,
1716
1957
  y: d.value.top,
1717
1958
  width: ae.value.width,
@@ -1810,7 +2051,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1810
2051
  ),
1811
2052
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
1812
2053
  `,
1813
- style: ge({ cursor: ce.value ? "pointer" : "default" }),
2054
+ style: ge({
2055
+ cursor: ce.value ? "pointer" : "default"
2056
+ }),
1814
2057
  innerHTML: t.createTSpansFromLineBreaksOnX({
1815
2058
  content: String(a.text),
1816
2059
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1827,7 +2070,9 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1827
2070
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1828
2071
  fill: e.value.style.chart.grid.x.timeLabels.color,
1829
2072
  transform: `translate(${re(s)}, ${d.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})`,
1830
- style: ge({ cursor: ce.value ? "pointer" : "default" }),
2073
+ style: ge({
2074
+ cursor: ce.value ? "pointer" : "default"
2075
+ }),
1831
2076
  onClick: () => Va(a, s)
1832
2077
  }, fe(a.text), 13, No))
1833
2078
  ]))), 256))
@@ -1841,15 +2086,28 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1841
2086
  y: d.value.top,
1842
2087
  height: d.value.height,
1843
2088
  width: Ra(s).width,
1844
- fill: [Ye.value, b.value].includes(s) ? C(Is)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
1845
- style: { transition: "none !important", animation: "none !important" }
2089
+ fill: [
2090
+ Ye.value,
2091
+ b.value
2092
+ ].includes(s) ? C(Is)(
2093
+ e.value.style.chart.highlighter.color,
2094
+ e.value.style.chart.highlighter.opacity
2095
+ ) : "transparent",
2096
+ style: {
2097
+ transition: "none !important",
2098
+ animation: "none !important"
2099
+ }
1846
2100
  }, null, 8, zo)
1847
2101
  ]))), 128)) : x("", !0),
1848
2102
  (Le.value || ![null, void 0].includes(b.value)) && e.value.style.chart.highlighter.useLine ? (i(), v(R, { key: 12 }, [
1849
2103
  ![null, void 0].includes(b.value) || ![null, void 0].includes(Ye.value) ? (i(), v("g", Io, [
1850
2104
  le("line", {
1851
- x1: re((b.value ?? Ye.value) || 0),
1852
- x2: re((b.value ?? Ye.value) || 0),
2105
+ x1: re(
2106
+ (b.value ?? Ye.value) || 0
2107
+ ),
2108
+ x2: re(
2109
+ (b.value ?? Ye.value) || 0
2110
+ ),
1853
2111
  y1: C(tt)(d.value.top),
1854
2112
  y2: C(tt)(d.value.bottom),
1855
2113
  stroke: e.value.style.chart.highlighter.color,
@@ -1863,13 +2121,30 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1863
2121
  (i(!0), v(R, null, X(A.value, (a) => (i(), v(R, null, [
1864
2122
  Le.value && u.value.end - u.value.start > e.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (i(), v("g", Fo, [
1865
2123
  b.value != null ? (i(), v(R, { key: 0 }, [
1866
- a.rel.includes(b.value) && a.fullSeries?.[u.value.start + b.value] != null && !Number.isNaN(a.fullSeries?.[u.value.start + b.value]) ? (i(), se(Kt, {
2124
+ a.rel.includes(b.value) && a.fullSeries?.[u.value.start + b.value] != null && !Number.isNaN(
2125
+ a.fullSeries?.[u.value.start + b.value]
2126
+ ) ? (i(), se(Kt, {
1867
2127
  key: 0,
1868
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2128
+ shape: [
2129
+ "triangle",
2130
+ "square",
2131
+ "diamond",
2132
+ "pentagon",
2133
+ "hexagon",
2134
+ "star"
2135
+ ].includes(a.shape) ? a.shape : "circle",
1869
2136
  color: e.value.style.chart.lines.dot.useSerieColor ? a.color : e.value.style.chart.lines.dot.fill,
1870
2137
  plot: {
1871
- x: C(rl)(a.points[a.rel.indexOf(b.value)].x),
1872
- y: C(rl)(a.points[a.rel.indexOf(b.value)].y)
2138
+ x: C(rl)(
2139
+ a.points[a.rel.indexOf(
2140
+ b.value
2141
+ )].x
2142
+ ),
2143
+ y: C(rl)(
2144
+ a.points[a.rel.indexOf(
2145
+ b.value
2146
+ )].y
2147
+ )
1873
2148
  },
1874
2149
  radius: e.value.style.chart.lines.dot.radius * 1.3,
1875
2150
  stroke: e.value.style.chart.lines.dot.useSerieColor ? e.value.style.chart.backgroundColor : a.color,
@@ -1881,9 +2156,18 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1881
2156
  ], 64))), 256)),
1882
2157
  (i(!0), v(R, null, X(A.value, (a) => (i(), v(R, null, [
1883
2158
  u.value.end - u.value.start < e.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (i(!0), v(R, { key: 0 }, X(a.points, (s, n) => (i(), v("g", { key: n }, [
1884
- a.fullSeries?.[u.value.start + a.rel[n]] != null && !Number.isNaN(a.fullSeries?.[u.value.start + a.rel[n]]) ? (i(), se(Kt, {
2159
+ a.fullSeries?.[u.value.start + a.rel[n]] != null && !Number.isNaN(
2160
+ a.fullSeries?.[u.value.start + a.rel[n]]
2161
+ ) ? (i(), se(Kt, {
1885
2162
  key: 0,
1886
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2163
+ shape: [
2164
+ "triangle",
2165
+ "square",
2166
+ "diamond",
2167
+ "pentagon",
2168
+ "hexagon",
2169
+ "star"
2170
+ ].includes(a.shape) ? a.shape : "circle",
1887
2171
  color: e.value.style.chart.lines.dot.useSerieColor ? a.color : e.value.style.chart.lines.dot.fill,
1888
2172
  plot: { x: s.x, y: s.y },
1889
2173
  radius: Le.value && b.value === a.rel[n] ? e.value.style.chart.lines.dot.radius * 1.3 : e.value.style.chart.lines.dot.radius,
@@ -1896,7 +2180,10 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1896
2180
  j.value.dataLabels.show && e.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > u.value.end - u.value.start ? (i(), v(R, { key: 13 }, [
1897
2181
  (i(!0), v(R, null, X(A.value, (a, s) => (i(), v("g", { key: s }, [
1898
2182
  (i(!0), v(R, null, X(a.points, (n, o) => (i(), v(R, { key: o }, [
1899
- cs(a.series[o], a.proportions[o]) ? (i(), v("text", {
2183
+ cs(
2184
+ a.series[o],
2185
+ a.proportions[o]
2186
+ ) ? (i(), v("text", {
1900
2187
  key: 0,
1901
2188
  x: n.x,
1902
2189
  y: n.y + (a.series[o] >= 0 ? -e.value.style.chart.lines.dataLabels.fontSize / 2 + e.value.style.chart.lines.dataLabels.offsetY : e.value.style.chart.lines.dataLabels.fontSize * 1.2 - e.value.style.chart.lines.dataLabels.offsetY),
@@ -1904,7 +2191,18 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1904
2191
  fill: e.value.style.chart.lines.dataLabels.color,
1905
2192
  "font-weight": e.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
1906
2193
  "text-anchor": "middle"
1907
- }, fe(e.value.style.chart.lines.showDistributedPercentage && e.value.style.chart.lines.distributed ? ds(a.proportions[o] * 100, a, s, a.rel[o]) : Ka(a.series[o], a, s, a.rel[o], a.signedSeries[o])), 9, Eo)) : x("", !0)
2194
+ }, fe(e.value.style.chart.lines.showDistributedPercentage && e.value.style.chart.lines.distributed ? ds(
2195
+ a.proportions[o] * 100,
2196
+ a,
2197
+ s,
2198
+ a.rel[o]
2199
+ ) : Ka(
2200
+ a.series[o],
2201
+ a,
2202
+ s,
2203
+ a.rel[o],
2204
+ a.signedSeries[o]
2205
+ )), 9, Eo)) : x("", !0)
1908
2206
  ], 64))), 128))
1909
2207
  ]))), 128)),
1910
2208
  e.value.style.chart.lines.totalValues.show && A.value.length > 1 ? (i(), v("g", {
@@ -1921,7 +2219,13 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1921
2219
  "font-size": e.value.style.chart.lines.totalValues.fontSize,
1922
2220
  "font-weight": e.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
1923
2221
  fill: e.value.style.chart.lines.totalValues.color
1924
- }, fe(Ka(a.value, a, s, s, a.sign)), 9, Ro)) : x("", !0)
2222
+ }, fe(Ka(
2223
+ a.value,
2224
+ a,
2225
+ s,
2226
+ s,
2227
+ a.sign
2228
+ )), 9, Ro)) : x("", !0)
1925
2229
  ], 64))), 256))
1926
2230
  ], 512)) : x("", !0)
1927
2231
  ], 64)) : x("", !0),
@@ -1939,11 +2243,16 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
1939
2243
  }, void 0, !0)
1940
2244
  ], 46, uo)),
1941
2245
  t.$slots.hint ? (i(), v("div", Do, [
1942
- N(t.$slots, "hint", Q(ee({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Wt.value })), void 0, !0)
2246
+ N(t.$slots, "hint", Q(ee({
2247
+ hint: e.value.a11y.translations.keyboardNavigation,
2248
+ isVisible: Wt.value
2249
+ })), void 0, !0)
1943
2250
  ])) : x("", !0)
1944
2251
  ]),
1945
2252
  t.$slots.watermark ? (i(), v("div", Vo, [
1946
- N(t.$slots, "watermark", Q(ee({ isPrinting: C(_t) || C(Ft) || lt.value || st.value })), void 0, !0)
2253
+ N(t.$slots, "watermark", Q(ee({
2254
+ isPrinting: C(_t) || C(Ft) || lt.value || st.value
2255
+ })), void 0, !0)
1947
2256
  ])) : x("", !0),
1948
2257
  oa.value ? (i(), se(ks, {
1949
2258
  key: 6,
@@ -2176,7 +2485,7 @@ const oo = ["id"], no = ["id"], ro = ["id"], io = { style: { position: "relative
2176
2485
  ], !0)
2177
2486
  ], 46, oo));
2178
2487
  }
2179
- }, yn = /* @__PURE__ */ so(Uo, [["__scopeId", "data-v-92ca460b"]]);
2488
+ }, yn = /* @__PURE__ */ so(Uo, [["__scopeId", "data-v-9a0796b4"]]);
2180
2489
  export {
2181
2490
  yn as default
2182
2491
  };