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,20 +1,20 @@
1
1
  import { defineAsyncComponent as De, ref as L, computed as R, toRefs as Oa, watch as Ue, shallowRef as Yt, onMounted as Fa, onBeforeUnmount as Zt, nextTick as ft, watchEffect as Jt, openBlock as n, createElementBlock as i, normalizeStyle as N, normalizeClass as xe, createElementVNode as $, toDisplayString as B, createBlock as we, createCommentVNode as g, unref as c, withCtx as H, renderSlot as M, normalizeProps as Q, guardReactiveProps as ee, createSlots as Na, createVNode as $e, Fragment as S, renderList as O, Teleport as Ba, mergeProps as ht } from "vue";
2
- import { j as Da, t as Qt, m as Ua, p as ne, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as G, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as Te, Z as ea, c as ta, K as he, T as et, U as pt } from "./lib-DBptbyyI.js";
2
+ import { j as Da, t as Qt, m as Ua, p as ne, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as G, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as Te, Z as ea, c as ta, K as he, T as et, U as pt } from "./lib-DMzrGQHK.js";
3
3
  import { t as aa, u as Ka } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ya } from "./useConfig-C40HvGpD.js";
5
- import { u as Za, B as Ja } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as Qa } from "./usePrinter-CEpYU3r5.js";
7
- import { u as el } from "./useSvgExport-ByUukOZt.js";
8
- import { u as mt } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as tl } from "./useTimeLabels-C-A2uZKi.js";
10
- import { u as al } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
13
- import nl from "./img-LXxMLmCg.js";
14
- import { S as il } from "./Slicer-CIHwwuNR.js";
4
+ import { u as Ya } from "./useConfig-DTHxOX6V.js";
5
+ import { u as Za, B as Ja } from "./BaseScanner-BON3d_Sx.js";
6
+ import { u as Qa } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as el } from "./useSvgExport-BTG4hVPO.js";
8
+ import { u as mt } from "./useNestedProp-DH0BEVVS.js";
9
+ import { u as tl } from "./useTimeLabels-Cv0tD9In.js";
10
+ import { u as al } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as ll } from "./useChartAccessibility-cp6XQtqi.js";
12
+ import { u as ol } from "./useTimeLabelCollider-D3JeJ6Ye.js";
13
+ import nl from "./img-CjTQXS0U.js";
14
+ import { S as il } from "./Slicer-D7UcO8sN.js";
15
15
  import ul from "./vue_ui_quick_chart-DMCjEjPe.js";
16
- import { A as rl } from "./A11yDataTable-KcVAX2cP.js";
17
- import { B as sl } from "./BaseLegendToggle-BQVIawmA.js";
16
+ import { A as rl } from "./A11yDataTable-BpmuNomI.js";
17
+ import { B as sl } from "./BaseLegendToggle-cMP8M2u0.js";
18
18
  import { _ as vl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const y = {
20
20
  LINE: "LINE",
@@ -23,15 +23,24 @@ const y = {
23
23
  }, dl = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
24
24
  function cl({ dataset: p, barLineSwitch: F = 6, debug: z = !0 }) {
25
25
  let q = null, te = null, pe = 0;
26
- if ((typeof p == "number" || typeof p == "string") && z && console.warn(`The provided dataset (${p}) is not sufficient to build a chart`), at(p) && (ge(p) && (p.length < F ? q = y.BAR : q = y.LINE, te = p, pe = p.length), tt(p))) {
26
+ if ((typeof p == "number" || typeof p == "string") && z && console.warn(
27
+ `The provided dataset (${p}) is not sufficient to build a chart`
28
+ ), at(p) && (ge(p) && (p.length < F ? q = y.BAR : q = y.LINE, te = p, pe = p.length), tt(p))) {
27
29
  if (!hl(p))
28
- return z && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
30
+ return z && console.warn(
31
+ "The objects in the dataset array have a different data structure. Either keys or value types are different."
32
+ ), !1;
29
33
  const lt = Object.keys(p[0]), Ve = Object.values(p[0]);
30
34
  if (!lt.some((K) => gl(K)))
31
- return z && console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
35
+ return z && console.warn(
36
+ "The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."
37
+ ), !1;
32
38
  la(Ve, (K) => typeof K == "number") && (q = y.DONUT, te = p), la(Ve, (K) => Array.isArray(K) && ge(K)) && (oa(p) > F ? q = y.LINE : q = y.BAR, pe = oa(p), te = p.map((K) => ({
33
39
  ...K,
34
- data: pl(K, (ie) => ge(ie))
40
+ data: pl(
41
+ K,
42
+ (ie) => ge(ie)
43
+ )
35
44
  }))), p = p.map((K) => na(K)), te = te.map((K) => na(K));
36
45
  }
37
46
  return {
@@ -50,10 +59,18 @@ function at(p) {
50
59
  function ge(p) {
51
60
  if (!at(p) || ia(p)) return !1;
52
61
  const F = p.map((z) => Number(z));
53
- return ![...new Set(F.flatMap((z) => typeof z == "number" && !isNaN(z)))].includes(!1);
62
+ return ![
63
+ ...new Set(
64
+ F.flatMap((z) => typeof z == "number" && !isNaN(z))
65
+ )
66
+ ].includes(!1);
54
67
  }
55
68
  function tt(p) {
56
- return !at(p) || ia(p) || !![...new Set(p.flatMap((z) => typeof z == "object" && !Array.isArray(z)))].includes(!1) ? !1 : !p.map((z) => Object.keys(z).length > 0).includes(!1);
69
+ return !at(p) || ia(p) || !![
70
+ ...new Set(
71
+ p.flatMap((z) => typeof z == "object" && !Array.isArray(z))
72
+ )
73
+ ].includes(!1) ? !1 : !p.map((z) => Object.keys(z).length > 0).includes(!1);
57
74
  }
58
75
  function fl(p, F) {
59
76
  const z = Object.keys(p).sort(), q = Object.keys(F).sort();
@@ -84,7 +101,9 @@ function la(p, F) {
84
101
  return z.includes(!0);
85
102
  }
86
103
  function oa(p) {
87
- return Math.max(...[...p].flatMap((F) => Object.values(F).filter((z) => ge(z)).map((z) => z.length)));
104
+ return Math.max(
105
+ ...[...p].flatMap((F) => Object.values(F).filter((z) => ge(z)).map((z) => z.length))
106
+ );
88
107
  }
89
108
  function pl(p, F) {
90
109
  return Object.values(p).filter((z) => F(z))[0];
@@ -166,7 +185,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
166
185
  },
167
186
  emits: ["selectDatapoint", "selectLegend", "copyAlt"],
168
187
  setup(p, { expose: F, emit: z }) {
169
- const q = De(() => import("./BaseIcon-Cb3zzG6s.js")), te = De(() => import("./PackageVersion-PjmqM4wb.js")), pe = De(() => import("./PenAndPaper-Ct3qJ4lA.js")), Ee = De(() => import("./Tooltip-C8KGyqQk.js")), yt = De(() => import("./UserOptions-rW2fRf3V.js")), { vue_ui_quick_chart: lt } = Ya(), { isThemeValid: Ve, warnInvalidTheme: K } = al(), ie = p, se = L(null), xt = L(null), kt = L(null), bt = L(null), Y = L(Da()), ve = L(!1), Ae = L(null), ke = L(""), ae = L(null), St = L(null), wt = L(null), w = L([]), At = L(0), qe = L(0), Lt = L(!1), Pe = L(null), Ie = L(null), de = L(null), He = L(null), _t = L(null), Ct = L(null);
188
+ const q = De(() => import("./BaseIcon-DX0hTWa-.js")), te = De(
189
+ () => import("./PackageVersion-DVvvyQXB.js")
190
+ ), pe = De(
191
+ () => import("./PenAndPaper-CJDoB5H9.js")
192
+ ), Ee = De(() => import("./Tooltip-Cvt7Fi0Q.js")), yt = De(
193
+ () => import("./UserOptions-DVduN6X7.js")
194
+ ), { vue_ui_quick_chart: lt } = Ya(), { isThemeValid: Ve, warnInvalidTheme: K } = al(), ie = p, se = L(null), xt = L(null), kt = L(null), bt = L(null), Y = L(Da()), ve = L(!1), Ae = L(null), ke = L(""), ae = L(null), St = L(null), wt = L(null), w = L([]), At = L(0), qe = L(0), Lt = L(!1), Pe = L(null), Ie = L(null), de = L(null), He = L(null), _t = L(null), Ct = L(null);
170
195
  L("#FFFFFF");
171
196
  const e = L(ut()), ot = R(() => !!e.value.debug), Le = R(() => e.value.useCursorPointer), Z = L(null), zt = L({ x: 0, y: 0 }), ce = L("pointer"), nt = L(!1), ua = R(() => Qt({
172
197
  userConfig: e.value.skeletonConfig ?? {}
@@ -183,12 +208,29 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
183
208
  });
184
209
  });
185
210
  },
186
- skeletonDataset: ie.config?.skeletonDataset ?? [1, 2, 3, 5, 8, 13, 21, 34, 55, 89],
211
+ skeletonDataset: ie.config?.skeletonDataset ?? [
212
+ 1,
213
+ 2,
214
+ 3,
215
+ 5,
216
+ 8,
217
+ 13,
218
+ 21,
219
+ 34,
220
+ 55,
221
+ 89
222
+ ],
187
223
  skeletonConfig: Qt({
188
224
  defaultConfig: e.value,
189
225
  userConfig: ua.value
190
226
  })
191
- }), { svgRef: be } = ll({ config: { text: e.value.title } }), sa = R(() => e.value.showUserOptionsOnChartHover), Tt = R(() => e.value.keepUserOptionsStateOnChartLeave), We = L(!e.value.showUserOptionsOnChartHover), it = L(!1);
227
+ }), { svgRef: be } = ll({
228
+ config: { text: e.value.title }
229
+ }), sa = R(
230
+ () => e.value.showUserOptionsOnChartHover
231
+ ), Tt = R(
232
+ () => e.value.keepUserOptionsStateOnChartLeave
233
+ ), We = L(!e.value.showUserOptionsOnChartHover), it = L(!1);
192
234
  function Et(a = !1) {
193
235
  it.value = a, sa.value && (We.value = a);
194
236
  }
@@ -219,31 +261,51 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
219
261
  r = a;
220
262
  return r;
221
263
  }
222
- Ue(() => ie.config, (a) => {
223
- D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(), _e.value.showTooltip = e.value.showTooltip;
224
- }, { deep: !0 }), Ue(() => ie.dataset, (a) => {
225
- A.value = Re.value, k.value.start = 0, k.value.end = A.value.maxSeriesLength, qe.value += 1;
226
- }, { deep: !0 }), Ue(() => ie.dataset, (a) => {
227
- Array.isArray(a) && a.length > 0 && ($t.value = !1);
228
- }, { immediate: !0 });
264
+ Ue(
265
+ () => ie.config,
266
+ (a) => {
267
+ D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(), _e.value.showTooltip = e.value.showTooltip;
268
+ },
269
+ { deep: !0 }
270
+ ), Ue(
271
+ () => ie.dataset,
272
+ (a) => {
273
+ A.value = Re.value, k.value.start = 0, k.value.end = A.value.maxSeriesLength, qe.value += 1;
274
+ },
275
+ { deep: !0 }
276
+ ), Ue(
277
+ () => ie.dataset,
278
+ (a) => {
279
+ Array.isArray(a) && a.length > 0 && ($t.value = !1);
280
+ },
281
+ { immediate: !0 }
282
+ );
229
283
  const Me = R(() => Va(e.value.customPalette)), re = z, Re = R(() => {
230
- const a = cl({ debug: ot.value, dataset: qa(ra.value, [
231
- "serie",
232
- "series",
233
- "data",
234
- "value",
235
- "values",
236
- "num"
237
- ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
284
+ const a = cl({
285
+ debug: ot.value,
286
+ dataset: qa(ra.value, [
287
+ "serie",
288
+ "series",
289
+ "data",
290
+ "value",
291
+ "values",
292
+ "num"
293
+ ]),
294
+ barLineSwitch: e.value.chartIsBarUnderDatasetLength
295
+ });
238
296
  return !a && ot.value && console.error("VueUiQuickChart : Dataset is not processable"), a;
239
297
  }), A = L(Re.value), va = R(() => !!A.value), x = R(() => A.value ? A.value.type : null);
240
- Ue(() => x.value, (a) => {
241
- a || Ha({
242
- componentName: "VueUiQuickChart",
243
- type: "dataset",
244
- debug: ot.value
245
- });
246
- }, { immediate: !0 });
298
+ Ue(
299
+ () => x.value,
300
+ (a) => {
301
+ a || Ha({
302
+ componentName: "VueUiQuickChart",
303
+ type: "dataset",
304
+ debug: ot.value
305
+ });
306
+ },
307
+ { immediate: !0 }
308
+ );
247
309
  const { isPrinting: Xe, isImaging: je, generatePdf: Pt, generateImage: It } = Qa({
248
310
  elementId: `${x.value}_${Y.value}`,
249
311
  fileName: e.value.title || x.value,
@@ -254,11 +316,15 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
254
316
  }), _e = L({
255
317
  showTooltip: e.value.showTooltip
256
318
  });
257
- Ue(e, () => {
258
- _e.value = {
259
- showTooltip: e.value.showTooltip
260
- };
261
- }, { immediate: !0 });
319
+ Ue(
320
+ e,
321
+ () => {
322
+ _e.value = {
323
+ showTooltip: e.value.showTooltip
324
+ };
325
+ },
326
+ { immediate: !0 }
327
+ );
262
328
  const me = Yt(null), Ce = Yt(null);
263
329
  Fa(async () => {
264
330
  Lt.value = !0, Mt();
@@ -270,7 +336,9 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
270
336
  chart: se.value,
271
337
  title: e.value.title ? xt.value : null,
272
338
  legend: e.value.showLegend ? kt.value : null,
273
- slicer: [y.BAR, y.LINE].includes(x.value) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? bt.value : null,
339
+ slicer: [y.BAR, y.LINE].includes(
340
+ x.value
341
+ ) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? bt.value : null,
274
342
  source: St.value,
275
343
  noTitle: wt.value
276
344
  });
@@ -319,7 +387,9 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
319
387
  function Nt(a, r) {
320
388
  Ke.value = !0;
321
389
  let t = a.value;
322
- const l = Re.value.dataset.find((o, s) => a.id === `donut_${s}`).VALUE;
390
+ const l = Re.value.dataset.find(
391
+ (o, s) => a.id === `donut_${s}`
392
+ ).VALUE;
323
393
  if (w.value.includes(a.id)) {
324
394
  let o = function() {
325
395
  t > l ? (Ke.value = !1, cancelAnimationFrame(Ft.value), A.value = {
@@ -387,18 +457,32 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
387
457
  return h.proportion * 100 > e.value.donutHideLabelUnderPercentage;
388
458
  }
389
459
  function l(h, T) {
390
- const f = Re.value.dataset.find((m, E) => `donut_${E}` === h).VALUE;
391
- return Math.abs(String(Number(f.toFixed(0))).length - String(Number(T.toFixed(0))).length);
460
+ const f = Re.value.dataset.find(
461
+ (m, E) => `donut_${E}` === h
462
+ ).VALUE;
463
+ return Math.abs(
464
+ String(Number(f.toFixed(0))).length - String(Number(T.toFixed(0))).length
465
+ );
392
466
  }
393
467
  function o({ datapoint: h, seriesIndex: T, triggerMode: f = "pointer" }) {
394
- Ae.value = { datapoint: h, seriesIndex: T, config: e.value, dataset: a }, ae.value = h.id, Z.value = T, ce.value = f;
395
- const u = e.value.tooltipCustomFormat;
396
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: h, seriesIndex: T }), et(u) && pt(() => u({
468
+ Ae.value = {
397
469
  datapoint: h,
398
470
  seriesIndex: T,
399
- series: a,
400
- config: e.value
401
- })))
471
+ config: e.value,
472
+ dataset: a
473
+ }, ae.value = h.id, Z.value = T, ce.value = f;
474
+ const u = e.value.tooltipCustomFormat;
475
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({
476
+ datapoint: h,
477
+ seriesIndex: T
478
+ }), et(u) && pt(
479
+ () => u({
480
+ datapoint: h,
481
+ seriesIndex: T,
482
+ series: a,
483
+ config: e.value
484
+ })
485
+ ))
402
486
  ke.value = u({
403
487
  datapoint: h,
404
488
  seriesIndex: T,
@@ -422,10 +506,16 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
422
506
  ve.value = !0;
423
507
  }
424
508
  function s({ datapoint: h, seriesIndex: T }) {
425
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: h, seriesIndex: T }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
509
+ e.value.events.datapointLeave && e.value.events.datapointLeave({
510
+ datapoint: h,
511
+ seriesIndex: T
512
+ }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
426
513
  }
427
514
  function b({ datapoint: h, seriesIndex: T }) {
428
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: h, seriesIndex: T }), re("selectDatapoint", h);
515
+ e.value.events.datapointClick && e.value.events.datapointClick({
516
+ datapoint: h,
517
+ seriesIndex: T
518
+ }), re("selectDatapoint", h);
429
519
  }
430
520
  const P = {
431
521
  centerX: _.value.width / 2,
@@ -434,7 +524,9 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
434
524
  ...h,
435
525
  proportion: (h.value || 0) / I,
436
526
  value: h.value || 0,
437
- absoluteValue: Re.value.dataset.find((f, u) => `donut_${u}` === h.id).VALUE,
527
+ absoluteValue: Re.value.dataset.find(
528
+ (f, u) => `donut_${u}` === h.id
529
+ ).VALUE,
438
530
  shape: "circle"
439
531
  })), fe = _.value.width / 2, oe = _.value.height / 2, j = _.value.height * e.value.donutRadiusRatio;
440
532
  return {
@@ -486,7 +578,8 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
486
578
  return a > r ? r : a < 0 || e.value.zoomStartIndex !== null && a < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : a;
487
579
  }
488
580
  const ma = R(() => {
489
- if (!e.value.zoomMinimap.show || x.value === y.DONUT) return [];
581
+ if (!e.value.zoomMinimap.show || x.value === y.DONUT)
582
+ return [];
490
583
  let a = [];
491
584
  ge(A.value.dataset) && (a = A.value.dataset), tt(A.value.dataset) && (a = A.value.dataset.map((o, s) => ({
492
585
  values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
@@ -498,7 +591,9 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
498
591
  t = a;
499
592
  else
500
593
  for (let o = 0; o < r; o += 1)
501
- t.push(a.map((s) => s.values[o] || 0).reduce((s, b) => (s || 0) + (b || 0), 0));
594
+ t.push(
595
+ a.map((s) => s.values[o] || 0).reduce((s, b) => (s || 0) + (b || 0), 0)
596
+ );
502
597
  const l = Math.min(...t);
503
598
  return t.map((o) => o + (l < 0 ? Math.abs(l) : 0));
504
599
  });
@@ -541,13 +636,22 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
541
636
  top: e.value.xyPaddingTop,
542
637
  right: a.width - e.value.xyPaddingRight,
543
638
  bottom: a.height - e.value.xyPaddingBottom - Ye.value,
544
- width: Math.max(10, a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - r),
545
- height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ye.value)
639
+ width: Math.max(
640
+ 10,
641
+ a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - r
642
+ ),
643
+ height: Math.max(
644
+ 10,
645
+ a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ye.value
646
+ )
546
647
  };
547
648
  let l = [];
548
649
  ge(A.value.dataset) && (l = [
549
650
  {
550
- values: A.value.dataset.slice(k.value.start, k.value.end),
651
+ values: A.value.dataset.slice(
652
+ k.value.start,
653
+ k.value.end
654
+ ),
551
655
  absoluteValues: A.value.dataset,
552
656
  absoluteIndices: A.value.dataset.map((f, u) => u).slice(k.value.start, k.value.end),
553
657
  name: e.value.title,
@@ -562,15 +666,30 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
562
666
  })).map((f, u) => ({
563
667
  ...f,
564
668
  color: f.COLOR ? gt(f.COLOR) : Me.value[u + e.value.paletteStartIndex] || ne[u + e.value.paletteStartIndex] || ne[(u + e.value.paletteStartIndex) % ne.length],
565
- values: f.values.slice(k.value.start, k.value.end),
669
+ values: f.values.slice(
670
+ k.value.start,
671
+ k.value.end
672
+ ),
566
673
  absoluteValues: f.values,
567
674
  absoluteIndices: f.values.map((m, E) => E).slice(k.value.start, k.value.end)
568
675
  })));
569
676
  const o = {
570
- max: Math.max(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
571
- min: Math.min(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
677
+ max: Math.max(
678
+ ...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)
679
+ ),
680
+ min: Math.min(
681
+ ...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)
682
+ ),
572
683
  maxSeries: Math.max(...l.map((f) => f.values.length))
573
- }, s = o.max === o.min ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max < 0 ? 0 : o.max, e.value.xyScaleSegments), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((f) => ({
684
+ }, s = o.max === o.min ? Je(
685
+ o.min,
686
+ o.min + 1,
687
+ e.value.xyScaleSegments
688
+ ) : Je(
689
+ o.min < 0 ? o.min : 0,
690
+ o.max < 0 ? 0 : o.max,
691
+ e.value.xyScaleSegments
692
+ ), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((f) => ({
574
693
  y: t.bottom - t.height * ((f + b) / (s.max + b)),
575
694
  x: t.left - 8,
576
695
  value: f
@@ -601,14 +720,24 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
601
720
  function j(f, u = "pointer") {
602
721
  ae.value = f, le.value = f, Z.value = f, ce.value = u;
603
722
  const m = oe(f);
604
- Ae.value = { datapoint: m, seriesIndex: f, config: e.value, dataset: l };
605
- const E = e.value.tooltipCustomFormat;
606
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: m, seriesIndex: f + k.value.start }), et(E) && pt(() => E({
723
+ Ae.value = {
607
724
  datapoint: m,
608
725
  seriesIndex: f,
609
- series: l,
610
- config: e.value
611
- })))
726
+ config: e.value,
727
+ dataset: l
728
+ };
729
+ const E = e.value.tooltipCustomFormat;
730
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({
731
+ datapoint: m,
732
+ seriesIndex: f + k.value.start
733
+ }), et(E) && pt(
734
+ () => E({
735
+ datapoint: m,
736
+ seriesIndex: f,
737
+ series: l,
738
+ config: e.value
739
+ })
740
+ ))
612
741
  ke.value = E({
613
742
  datapoint: m,
614
743
  seriesIndex: f,
@@ -642,15 +771,23 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
642
771
  }
643
772
  function h(f) {
644
773
  const u = oe(f);
645
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: u, seriesIndex: f + k.value.start }), ae.value = null, le.value = null, ve.value = !1, Z.value = null, ce.value = "pointer";
774
+ e.value.events.datapointLeave && e.value.events.datapointLeave({
775
+ datapoint: u,
776
+ seriesIndex: f + k.value.start
777
+ }), ae.value = null, le.value = null, ve.value = !1, Z.value = null, ce.value = "pointer";
646
778
  }
647
779
  function T(f) {
648
780
  const u = oe(f);
649
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: u, seriesIndex: f + k.value.start }), re("selectDatapoint", u);
781
+ e.value.events.datapointClick && e.value.events.datapointClick({
782
+ datapoint: u,
783
+ seriesIndex: f + k.value.start
784
+ }), re("selectDatapoint", u);
650
785
  }
651
786
  return {
652
787
  absoluteZero: P,
653
- dataset: fe.filter((f) => !w.value.includes(f.id)),
788
+ dataset: fe.filter(
789
+ (f) => !w.value.includes(f.id)
790
+ ),
654
791
  legend: fe,
655
792
  drawingArea: t,
656
793
  extremes: o,
@@ -676,13 +813,22 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
676
813
  top: e.value.xyPaddingTop,
677
814
  right: a.width - e.value.xyPaddingRight,
678
815
  bottom: a.height - e.value.xyPaddingBottom - Ye.value,
679
- width: Math.max(10, a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - r),
680
- height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ye.value)
816
+ width: Math.max(
817
+ 10,
818
+ a.width - e.value.xyPaddingLeft - e.value.xyPaddingRight - r
819
+ ),
820
+ height: Math.max(
821
+ 10,
822
+ a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ye.value
823
+ )
681
824
  };
682
825
  let l = [];
683
826
  ge(A.value.dataset) && (l = [
684
827
  {
685
- values: A.value.dataset.slice(k.value.start, k.value.end),
828
+ values: A.value.dataset.slice(
829
+ k.value.start,
830
+ k.value.end
831
+ ),
686
832
  absoluteValues: A.value.dataset,
687
833
  absoluteIndices: A.value.dataset.map((u, m) => m).slice(k.value.start, k.value.end),
688
834
  name: e.value.title,
@@ -697,15 +843,34 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
697
843
  })).map((u, m) => ({
698
844
  ...u,
699
845
  color: u.COLOR ? gt(u.COLOR) : Me.value[m + e.value.paletteStartIndex] || ne[m + e.value.paletteStartIndex] || ne[(m + e.value.paletteStartIndex) % ne.length],
700
- values: u.values.slice(k.value.start, k.value.end),
846
+ values: u.values.slice(
847
+ k.value.start,
848
+ k.value.end
849
+ ),
701
850
  absoluteValues: u.values,
702
851
  absoluteIndices: u.values.map((E, U) => U).slice(k.value.start, k.value.end)
703
852
  })));
704
853
  const o = {
705
- max: Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 1,
706
- min: Math.min(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 0,
707
- maxSeries: Math.max(...l.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length)) ?? 0
708
- }, s = o.min === o.max ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max, e.value.xyScaleSegments), b = s.min < 0 ? Math.abs(s.min) : 0, P = t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((u) => ({
854
+ max: Math.max(
855
+ ...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)
856
+ ) < 0 ? 0 : Math.max(
857
+ ...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)
858
+ ) ?? 1,
859
+ min: Math.min(
860
+ ...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)
861
+ ) ?? 0,
862
+ maxSeries: Math.max(
863
+ ...l.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length)
864
+ ) ?? 0
865
+ }, s = o.min === o.max ? Je(
866
+ o.min,
867
+ o.min + 1,
868
+ e.value.xyScaleSegments
869
+ ) : Je(
870
+ o.min < 0 ? o.min : 0,
871
+ o.max,
872
+ e.value.xyScaleSegments
873
+ ), b = s.min < 0 ? Math.abs(s.min) : 0, P = t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((u) => ({
709
874
  y: t.bottom - t.height * ((u + b) / (s.max + b)),
710
875
  x: t.left - 8,
711
876
  value: u
@@ -745,14 +910,24 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
745
910
  function h(u, m = "pointer") {
746
911
  ae.value = u, le.value = u, Z.value = u, ce.value = m;
747
912
  const E = j(u);
748
- Ae.value = { datapoint: E, seriesIndex: u, config: e.value, dataset: l };
749
- const U = e.value.tooltipCustomFormat;
750
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: E, seriesIndex: u + k.value.start }), et(U) && pt(() => U({
913
+ Ae.value = {
751
914
  datapoint: E,
752
915
  seriesIndex: u,
753
- series: l,
754
- config: e.value
755
- })))
916
+ config: e.value,
917
+ dataset: l
918
+ };
919
+ const U = e.value.tooltipCustomFormat;
920
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({
921
+ datapoint: E,
922
+ seriesIndex: u + k.value.start
923
+ }), et(U) && pt(
924
+ () => U({
925
+ datapoint: E,
926
+ seriesIndex: u,
927
+ series: l,
928
+ config: e.value
929
+ })
930
+ ))
756
931
  ke.value = U({
757
932
  point: E,
758
933
  seriesIndex: u,
@@ -786,15 +961,23 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
786
961
  }
787
962
  function T(u) {
788
963
  const m = j(u);
789
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: m, seriesIndex: u + k.value.start }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
964
+ e.value.events.datapointLeave && e.value.events.datapointLeave({
965
+ datapoint: m,
966
+ seriesIndex: u + k.value.start
967
+ }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
790
968
  }
791
969
  function f(u) {
792
970
  const m = j(u);
793
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: m, seriesIndex: u + k.value.start }), re("selectDatapoint", m);
971
+ e.value.events.datapointClick && e.value.events.datapointClick({
972
+ datapoint: m,
973
+ seriesIndex: u + k.value.start
974
+ }), re("selectDatapoint", m);
794
975
  }
795
976
  return {
796
977
  absoluteZero: P,
797
- dataset: oe.filter((u) => !w.value.includes(u.id)),
978
+ dataset: oe.filter(
979
+ (u) => !w.value.includes(u.id)
980
+ ),
798
981
  absoluteDataset: oe,
799
982
  legend: fe,
800
983
  drawingArea: t,
@@ -906,7 +1089,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
906
1089
  });
907
1090
  const ze = R(() => {
908
1091
  const a = e.value.xyPeriodsModulo;
909
- return e.value.xyPeriods.length ? Math.min(a, [...new Set(J.value.map((r) => r.text))].length) : a;
1092
+ return e.value.xyPeriods.length ? Math.min(
1093
+ a,
1094
+ [...new Set(J.value.map((r) => r.text))].length
1095
+ ) : a;
910
1096
  }), Ze = L(!1);
911
1097
  function Xt(a) {
912
1098
  Ze.value = a, At.value += 1;
@@ -920,7 +1106,12 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
920
1106
  }
921
1107
  async function Aa({ scale: a = 2 } = {}) {
922
1108
  if (!se.value) return;
923
- const { width: r, height: t } = se.value.getBoundingClientRect(), l = r / t, { imageUri: o, base64: s } = await nl({ domElement: se.value, base64: !0, img: !0, scale: a });
1109
+ const { width: r, height: t } = se.value.getBoundingClientRect(), l = r / t, { imageUri: o, base64: s } = await nl({
1110
+ domElement: se.value,
1111
+ base64: !0,
1112
+ img: !0,
1113
+ scale: a
1114
+ });
924
1115
  return {
925
1116
  imageUri: o,
926
1117
  base64: s,
@@ -969,7 +1160,12 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
969
1160
  async function Gt({ isCb: a }) {
970
1161
  if (a) {
971
1162
  const { blob: r, url: t, text: l, dataUrl: o } = await Pa();
972
- e.value.userOptionsCallbacks.svg({ blob: r, url: t, text: l, dataUrl: o });
1163
+ e.value.userOptionsCallbacks.svg({
1164
+ blob: r,
1165
+ url: t,
1166
+ text: l,
1167
+ dataUrl: o
1168
+ });
973
1169
  } else
974
1170
  Ea();
975
1171
  }
@@ -982,17 +1178,21 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
982
1178
  donut: C.value
983
1179
  }
984
1180
  }), !e.value.userOptionsCallbacks.altCopy) {
985
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1181
+ console.warn(
1182
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
1183
+ );
986
1184
  return;
987
1185
  }
988
- await Promise.resolve(e.value.userOptionsCallbacks.altCopy({
989
- config: e.value,
990
- dataset: {
991
- line: d.value,
992
- bar: v.value,
993
- donut: C.value
994
- }
995
- }));
1186
+ await Promise.resolve(
1187
+ e.value.userOptionsCallbacks.altCopy({
1188
+ config: e.value,
1189
+ dataset: {
1190
+ line: d.value,
1191
+ bar: v.value,
1192
+ donut: C.value
1193
+ }
1194
+ })
1195
+ );
996
1196
  }
997
1197
  function vt(a, r) {
998
1198
  (a.key === "Enter" || a.key === " ") && (a.preventDefault(), r());
@@ -1007,7 +1207,8 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1007
1207
  function Ra(a) {
1008
1208
  if (!be.value || Fe.value || document.activeElement !== be.value || !ye.value) return;
1009
1209
  const r = a.key === "ArrowLeft", t = a.key === "ArrowRight", l = a.key === "Enter" || a.key === " ", o = a.key === "Escape";
1010
- if (!r && !t && !l && !o) return;
1210
+ if (!r && !t && !l && !o)
1211
+ return;
1011
1212
  if (a.preventDefault(), a.stopPropagation(), o) {
1012
1213
  Z.value = null, ce.value = "pointer", ve.value = !1, ae.value = null, le.value = null;
1013
1214
  return;
@@ -1017,7 +1218,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1017
1218
  if (x.value === y.DONUT) {
1018
1219
  const W = C.value?.chart?.[Z.value];
1019
1220
  if (!W) return;
1020
- C.value.selectDatapoint({ datapoint: W, seriesIndex: Z.value });
1221
+ C.value.selectDatapoint({
1222
+ datapoint: W,
1223
+ seriesIndex: Z.value
1224
+ });
1021
1225
  return;
1022
1226
  }
1023
1227
  if (x.value === y.LINE) {
@@ -1101,10 +1305,7 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1101
1305
  };
1102
1306
  }
1103
1307
  if (x.value === y.LINE || x.value === y.BAR) {
1104
- const a = x.value === y.LINE ? d.value?.dataset ?? [] : v.value?.dataset ?? [], r = x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : v.value?.extremes?.maxSeries ?? 0, t = [
1105
- "Index",
1106
- ...a.map((o) => o.name)
1107
- ], l = Array.from({ length: r }, (o, s) => [
1308
+ const a = x.value === y.LINE ? d.value?.dataset ?? [] : v.value?.dataset ?? [], r = x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : v.value?.extremes?.maxSeries ?? 0, t = ["Index", ...a.map((o) => o.name)], l = Array.from({ length: r }, (o, s) => [
1108
1309
  J.value?.[s + k.value.start]?.text ?? String(s + k.value.start),
1109
1310
  ...a.map((P) => {
1110
1311
  const I = P.values?.[s];
@@ -1141,7 +1342,11 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1141
1342
  id: `${x.value}_${Y.value}`,
1142
1343
  ref_key: "quickChart",
1143
1344
  ref: se,
1144
- class: xe({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Ze.value }),
1345
+ class: xe({
1346
+ "vue-data-ui-component": !0,
1347
+ "vue-ui-quick-chart": !0,
1348
+ "vue-data-ui-wrapper-fullscreen": Ze.value
1349
+ }),
1145
1350
  style: N(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
1146
1351
  onMouseenter: r[2] || (r[2] = () => Et(!0)),
1147
1352
  onMouseleave: r[3] || (r[3] = () => Et(!1))
@@ -1386,7 +1591,20 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1386
1591
  (n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i(S, null, [
1387
1592
  C.value.isArcBigEnough(t) ? (n(), i("path", {
1388
1593
  key: 0,
1389
- d: c(Ga)(t, { x: _.value.width / 2, y: _.value.height / 2 }, 16, 16, !1, !1, _.value.height * Bt.value, 12, e.value.donutCurvedMarkers),
1594
+ d: c(Ga)(
1595
+ t,
1596
+ {
1597
+ x: _.value.width / 2,
1598
+ y: _.value.height / 2
1599
+ },
1600
+ 16,
1601
+ 16,
1602
+ !1,
1603
+ !1,
1604
+ _.value.height * Bt.value,
1605
+ 12,
1606
+ e.value.donutCurvedMarkers
1607
+ ),
1390
1608
  stroke: t.color,
1391
1609
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
1392
1610
  "stroke-linecap": "round",
@@ -1414,9 +1632,19 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1414
1632
  (n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i("path", {
1415
1633
  d: t.arcSlice,
1416
1634
  fill: "transparent",
1417
- onMouseenter: (o) => C.value.useTooltip({ datapoint: t, seriesIndex: l, triggerMode: "pointer" }),
1418
- onMouseout: (o) => C.value.killTooltip({ datapoint: t, seriesIndex: l }),
1419
- onClick: (o) => C.value.selectDatapoint({ datapoint: t, seriesIndex: l })
1635
+ onMouseenter: (o) => C.value.useTooltip({
1636
+ datapoint: t,
1637
+ seriesIndex: l,
1638
+ triggerMode: "pointer"
1639
+ }),
1640
+ onMouseout: (o) => C.value.killTooltip({
1641
+ datapoint: t,
1642
+ seriesIndex: l
1643
+ }),
1644
+ onClick: (o) => C.value.selectDatapoint({
1645
+ datapoint: t,
1646
+ seriesIndex: l
1647
+ })
1420
1648
  }, null, 40, Ml))), 256))
1421
1649
  ]),
1422
1650
  e.value.showDataLabels ? (n(), i("g", Rl, [
@@ -1566,7 +1794,9 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1566
1794
  ], 512)) : g("", !0),
1567
1795
  e.value.xyShowScale && e.value.xyPeriods.length ? (n(), i("g", Yl, [
1568
1796
  (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1569
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("line", {
1797
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor(
1798
+ (k.value.end - k.value.start) / ze.value
1799
+ ) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("line", {
1570
1800
  key: 0,
1571
1801
  x1: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
1572
1802
  x2: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
@@ -1581,8 +1811,12 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1581
1811
  ref_key: "timeLabelsEls",
1582
1812
  ref: de
1583
1813
  }, [
1584
- (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1585
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", Jl, [
1814
+ (n(!0), i(S, null, O(J.value.map(
1815
+ (t) => t.text
1816
+ ), (t, l) => (n(), i(S, null, [
1817
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor(
1818
+ (k.value.end - k.value.start) / ze.value
1819
+ ) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", Jl, [
1586
1820
  String(t).includes(`
1587
1821
  `) ? (n(), i("text", {
1588
1822
  key: 1,
@@ -1622,8 +1856,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1622
1856
  "stroke-width": e.value.lineStrokeWidth + 1,
1623
1857
  "stroke-linecap": "round",
1624
1858
  fill: "none",
1625
- class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1626
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1859
+ class: xe({
1860
+ "quick-animation": !c(D),
1861
+ "vue-data-ui-line-animated": e.value.lineAnimated && !c(D)
1862
+ }),
1863
+ style: N({
1864
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1865
+ })
1627
1866
  }, null, 14, lo),
1628
1867
  $("path", {
1629
1868
  ref_for: !0,
@@ -1634,8 +1873,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1634
1873
  "stroke-width": e.value.lineStrokeWidth,
1635
1874
  "stroke-linecap": "round",
1636
1875
  fill: "none",
1637
- class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1638
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1876
+ class: xe({
1877
+ "quick-animation": !c(D),
1878
+ "vue-data-ui-line-animated": e.value.lineAnimated && !c(D)
1879
+ }),
1880
+ style: N({
1881
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1882
+ })
1639
1883
  }, null, 14, oo)
1640
1884
  ], 64)) : (n(), i(S, { key: 1 }, [
1641
1885
  $("path", {
@@ -1647,8 +1891,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1647
1891
  "stroke-width": e.value.lineStrokeWidth + 1,
1648
1892
  "stroke-linecap": "round",
1649
1893
  fill: "none",
1650
- class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1651
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1894
+ class: xe({
1895
+ "quick-animation": !c(D),
1896
+ "vue-data-ui-line-animated": e.value.lineAnimated && !c(D)
1897
+ }),
1898
+ style: N({
1899
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1900
+ })
1652
1901
  }, null, 14, no),
1653
1902
  $("path", {
1654
1903
  ref_for: !0,
@@ -1659,8 +1908,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1659
1908
  "stroke-width": e.value.lineStrokeWidth,
1660
1909
  "stroke-linecap": "round",
1661
1910
  fill: "none",
1662
- class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1663
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1911
+ class: xe({
1912
+ "quick-animation": !c(D),
1913
+ "vue-data-ui-line-animated": e.value.lineAnimated && !c(D)
1914
+ }),
1915
+ style: N({
1916
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1917
+ })
1664
1918
  }, null, 14, io)
1665
1919
  ], 64)),
1666
1920
  (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("circle", {
@@ -1670,8 +1924,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1670
1924
  fill: t.color,
1671
1925
  stroke: e.value.backgroundColor,
1672
1926
  "stroke-width": "0.5",
1673
- class: xe({ "vue-ui-quick-chart-plot": !0, "quick-animation": !c(D) }),
1674
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1927
+ class: xe({
1928
+ "vue-ui-quick-chart-plot": !0,
1929
+ "quick-animation": !c(D)
1930
+ }),
1931
+ style: N({
1932
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1933
+ })
1675
1934
  }, null, 14, uo))), 256))
1676
1935
  ]))), 256))
1677
1936
  ]),
@@ -1683,8 +1942,13 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1683
1942
  fill: t.color,
1684
1943
  x: o.x,
1685
1944
  y: c(he)(o.y) - e.value.dataLabelFontSize / 2,
1686
- class: xe({ "vue-ui-quick-chart-label": !0, "quick-animation": !c(D) }),
1687
- style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1945
+ class: xe({
1946
+ "vue-ui-quick-chart-label": !0,
1947
+ "quick-animation": !c(D)
1948
+ }),
1949
+ style: N({
1950
+ transition: c(D) ? void 0 : "all 0.3s ease-in-out"
1951
+ })
1688
1952
  }, B(c(ue)(
1689
1953
  e.value.formatter,
1690
1954
  c(he)(o.value),
@@ -1704,7 +1968,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1704
1968
  y: d.value.drawingArea.top,
1705
1969
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1706
1970
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1707
- fill: [ae.value, le.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1971
+ fill: [
1972
+ ae.value,
1973
+ le.value
1974
+ ].includes(l) ? e.value.xyHighlighterColor : "transparent",
1708
1975
  style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1709
1976
  onMouseenter: (o) => d.value.useTooltip(l, "pointer"),
1710
1977
  onMouseleave: (o) => d.value.killTooltip(l),
@@ -1794,7 +2061,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1794
2061
  ], 64))), 256))
1795
2062
  ], 512)) : g("", !0),
1796
2063
  e.value.xyShowScale && e.value.xyPeriods.length ? (n(), i("g", bo, [
1797
- (n(!0), i(S, null, O(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, l) => (n(), i("line", {
2064
+ (n(!0), i(S, null, O(e.value.xyPeriods.slice(
2065
+ k.value.start,
2066
+ k.value.end
2067
+ ), (t, l) => (n(), i("line", {
1798
2068
  x1: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
1799
2069
  x2: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
1800
2070
  y1: v.value.drawingArea.bottom,
@@ -1807,8 +2077,12 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1807
2077
  ref_key: "timeLabelsEls",
1808
2078
  ref: de
1809
2079
  }, [
1810
- (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1811
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", wo, [
2080
+ (n(!0), i(S, null, O(J.value.map(
2081
+ (t) => t.text
2082
+ ), (t, l) => (n(), i(S, null, [
2083
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor(
2084
+ (k.value.end - k.value.start) / ze.value
2085
+ ) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", wo, [
1812
2086
  String(t).includes(`
1813
2087
  `) ? (n(), i("text", {
1814
2088
  key: 1,
@@ -1841,13 +2115,17 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1841
2115
  (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("rect", {
1842
2116
  x: o.x,
1843
2117
  width: o.width <= 0 ? 1e-5 : o.width,
1844
- height: c(he)(o.height <= 0 ? 1e-5 : o.height),
2118
+ height: c(he)(
2119
+ o.height <= 0 ? 1e-5 : o.height
2120
+ ),
1845
2121
  y: c(he)(o.y),
1846
2122
  fill: t.color,
1847
2123
  stroke: e.value.backgroundColor,
1848
2124
  "stroke-width": e.value.barStrokeWidth,
1849
2125
  "stroke-linecap": "round",
1850
- class: xe({ "vue-data-ui-bar-animated": e.value.barAnimated && o.value < 0 && !c(D) })
2126
+ class: xe({
2127
+ "vue-data-ui-bar-animated": e.value.barAnimated && o.value < 0 && !c(D)
2128
+ })
1851
2129
  }, [
1852
2130
  e.value.barAnimated && o.value > 0 && !c(Xe) && !c(je) ? (n(), i("animate", {
1853
2131
  key: 0,
@@ -1894,7 +2172,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1894
2172
  y: v.value.drawingArea.top,
1895
2173
  height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1896
2174
  width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1897
- fill: [ae.value, le.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
2175
+ fill: [
2176
+ ae.value,
2177
+ le.value
2178
+ ].includes(l) ? e.value.xyHighlighterColor : "transparent",
1898
2179
  style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1899
2180
  onMouseenter: (o) => v.value.useTooltip(l, "pointer"),
1900
2181
  onMouseleave: (o) => v.value.killTooltip(l),
@@ -1902,7 +2183,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1902
2183
  }, null, 44, Io))), 256))
1903
2184
  ])) : g("", !0)
1904
2185
  ], 64)) : g("", !0),
1905
- [y.LINE, y.BAR].includes(x.value) ? (n(), i("g", Mo, [
2186
+ [
2187
+ y.LINE,
2188
+ y.BAR
2189
+ ].includes(x.value) ? (n(), i("g", Mo, [
1906
2190
  e.value.xAxisLabel && x.value === y.LINE ? (n(), i("g", {
1907
2191
  key: 0,
1908
2192
  ref_key: "xAxisLabel",
@@ -1956,13 +2240,18 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1956
2240
  ])) : g("", !0)
1957
2241
  ], 44, bl)) : g("", !0),
1958
2242
  a.$slots.hint ? (n(), i("div", Bo, [
1959
- M(a.$slots, "hint", Q(ee({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: nt.value })), void 0, !0)
2243
+ M(a.$slots, "hint", Q(ee({
2244
+ hint: e.value.a11y.translations.keyboardNavigation,
2245
+ isVisible: nt.value
2246
+ })), void 0, !0)
1960
2247
  ])) : g("", !0)
1961
2248
  ]),
1962
2249
  a.$slots.watermark ? (n(), i("div", Do, [
1963
2250
  M(a.$slots, "watermark", Q(ee({ isPrinting: c(Xe) || c(je) })), void 0, !0)
1964
2251
  ])) : g("", !0),
1965
- [y.BAR, y.LINE].includes(x.value) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? (n(), i("div", {
2252
+ [y.BAR, y.LINE].includes(
2253
+ x.value
2254
+ ) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? (n(), i("div", {
1966
2255
  key: `slicer_${qe.value}`,
1967
2256
  ref_key: "quickChartSlicer",
1968
2257
  ref: bt
@@ -2084,7 +2373,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2084
2373
  s: e.value.valueSuffix,
2085
2374
  r: e.value.dataLabelRoundingValue
2086
2375
  }),
2087
- { datapoint: t, seriesIndex: l }
2376
+ {
2377
+ datapoint: t,
2378
+ seriesIndex: l
2379
+ }
2088
2380
  )), 5),
2089
2381
  w.value.includes(t.id) ? (n(), i("span", {
2090
2382
  key: 0,
@@ -2112,7 +2404,10 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2112
2404
  tabindex: "0",
2113
2405
  onKeydown: (o) => {
2114
2406
  vt(o, () => {
2115
- Ge(t.id, d.value.legend.length - 1), re("selectLegend", t);
2407
+ Ge(
2408
+ t.id,
2409
+ d.value.legend.length - 1
2410
+ ), re("selectLegend", t);
2116
2411
  });
2117
2412
  }
2118
2413
  }, [
@@ -2213,7 +2508,7 @@ const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2213
2508
  r[5] || (r[5] = $("span", null, "Dataset is not processable", -1))
2214
2509
  ]));
2215
2510
  }
2216
- }, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-728cea32"]]);
2511
+ }, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-2b8b0f0d"]]);
2217
2512
  export {
2218
2513
  cn as default
2219
2514
  };