vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,21 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Dt as n, G as r, It as i, J as a, Kt as o, M as s, Mt as c, S as ee, U as l, Wt as u, b as d, d as f, h as p, i as m, kt as te, ot as ne, p as re, t as ie, u as ae, v as h, yt as oe } from "./lib-JqW18y5I.js";
3
- import { t as se } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as ce } from "./useConfig-DYM3f6EI.js";
5
- import { t as le } from "./usePrinter-CqqHmnBI.js";
2
+ import { At as t, C as n, Gt as r, K as i, Lt as a, N as o, Nt as s, Ot as c, W as l, Y as u, bt as ee, d, et as f, f as p, g as te, i as m, m as ne, qt as re, st as ie, t as ae, x as oe, y as h } from "./lib-CFm_J26b.js";
3
+ import { t as se } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as ce } from "./useConfig-C0V0eG7L.js";
5
+ import { t as le } from "./usePrinter-BH-xle1O.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useSvgExport-SVIsDot8.js";
8
- import { t as pe } from "./useNestedProp-DIuuzG1r.js";
7
+ import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as pe } from "./useNestedProp-BY6DNN3i.js";
9
9
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ge } from "./img-DnP3eXuv.js";
11
+ import { t as ge } from "./img-Bikk1dGb.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as ve } from "./canvas-lib-BOP_HS11.js";
14
- import { t as ye } from "./useResponsive-BfnK0KxU.js";
15
- import { t as be } from "./BaseLegendToggle-DWtet-Hh.js";
13
+ import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as be } from "./BaseLegendToggle-DsWphmIb.js";
16
15
  import { t as xe } from "./A11yDataTable-DdRsVULz.js";
17
16
  import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ce } from "./Slicer-CW_XPIKL.js";
17
+ import { t as Ce } from "./Slicer-C6qNUmZ4.js";
19
18
  import { t as we } from "./vue_ui_quick_chart-mZBdml3Z.js";
20
19
  import { Fragment as g, Teleport as Te, computed as _, createBlock as Ee, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as x, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ne, onMounted as Pe, openBlock as w, ref as T, renderList as E, renderSlot as D, shallowRef as Fe, toDisplayString as O, toRefs as Ie, unref as k, watch as Le, watchEffect as Re, withCtx as A } from "vue";
21
20
  //#region src/chartDetector.js
@@ -440,12 +439,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
440
439
  "copyAlt"
441
440
  ],
442
441
  setup(e, { expose: _e, emit: ze }) {
443
- let Ve = ke(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), He = ke(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), We = ke(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Ge = ke(() => import("./Tooltip-CxOrWlFy.js")), Ke = ke(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), { vue_ui_quick_chart: qe } = ce(), { isThemeValid: Je, warnInvalidTheme: Ye } = me(), N = e, P = T(null), Tn = T(null), En = T(null), Dn = T(null), F = T(r()), I = T(!1), On = T(null), kn = T(""), L = T(null), An = T(null), jn = T(null), R = T([]), Mn = T(0), Nn = T(0), Pn = T(!1), Fn = T(null), In = T(null), z = T(null), Ln = T(null), Rn = T(null), zn = T(null);
442
+ let Ve = ke(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), He = ke(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), We = ke(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ge = ke(() => import("./Tooltip-CA1rtSyl.js")), Ke = ke(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), { vue_ui_quick_chart: qe } = ce(), { isThemeValid: Je, warnInvalidTheme: Ye } = me(), N = e, P = T(null), Tn = T(null), En = T(null), Dn = T(null), F = T(i()), I = T(!1), On = T(null), kn = T(""), L = T(null), An = T(null), jn = T(null), R = T([]), Mn = T(0), Nn = T(0), Pn = T(!1), Fn = T(null), In = T(null), z = T(null), Ln = T(null), Rn = T(null), zn = T(null);
444
443
  T("#FFFFFF");
445
444
  let B = T($n()), Bn = _(() => !!B.value.debug), Vn = _(() => B.value.useCursorPointer), V = T(null), Hn = T({
446
445
  x: 0,
447
446
  y: 0
448
- }), H = T("pointer"), Un = T(!1), Wn = _(() => o({
447
+ }), H = T("pointer"), Un = T(!1), Wn = _(() => re({
449
448
  dafaultConfig: {
450
449
  backgroundColor: "#99999930",
451
450
  customPalette: ["#BABABA"],
@@ -491,7 +490,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
491
490
  55,
492
491
  89
493
492
  ],
494
- skeletonConfig: o({
493
+ skeletonConfig: re({
495
494
  defaultConfig: B.value,
496
495
  userConfig: Wn.value
497
496
  })
@@ -506,16 +505,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
506
505
  }), t = {}, n = e.theme;
507
506
  if (n) if (!Je.value(e)) Ye(e), t = e;
508
507
  else {
509
- let r = pe({
508
+ let i = pe({
510
509
  userConfig: we[n] || N.config,
511
510
  defaultConfig: e
512
511
  });
513
512
  t = {
514
513
  ...pe({
515
514
  userConfig: N.config,
516
- defaultConfig: r
515
+ defaultConfig: i
517
516
  }),
518
- customPalette: e.customPalette.length ? e.customPalette : u[n] || c
517
+ customPalette: e.customPalette.length ? e.customPalette : r[n] || s
519
518
  };
520
519
  }
521
520
  else t = e;
@@ -528,10 +527,10 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
528
527
  }, { deep: !0 }), Le(() => N.dataset, (e) => {
529
528
  Array.isArray(e) && e.length > 0 && (Kn.value = !1);
530
529
  }, { immediate: !0 });
531
- let er = _(() => ee(B.value.customPalette)), W = ze, tr = _(() => {
530
+ let er = _(() => n(B.value.customPalette)), W = ze, tr = _(() => {
532
531
  let e = Be({
533
532
  debug: Bn.value,
534
- dataset: i(Gn.value, [
533
+ dataset: a(Gn.value, [
535
534
  "serie",
536
535
  "series",
537
536
  "data",
@@ -544,7 +543,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
544
543
  return !e && Bn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
545
544
  }), G = T(tr.value), nr = _(() => !!G.value), K = _(() => G.value ? G.value.type : null);
546
545
  Le(() => K.value, (e) => {
547
- e || t({
546
+ e || f({
548
547
  componentName: "VueUiQuickChart",
549
548
  type: "dataset",
550
549
  debug: Bn.value
@@ -566,7 +565,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
566
565
  Pn.value = !0, dr();
567
566
  });
568
567
  function dr() {
569
- if (te(N.dataset) || (Kn.value = B.value.loading), B.value.responsive) {
568
+ if (t(N.dataset) || (Kn.value = B.value.loading), B.value.responsive) {
570
569
  let e = ve(() => {
571
570
  let { width: e, height: t } = ye({
572
571
  chart: P.value,
@@ -671,24 +670,24 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
671
670
  id: `donut_${t}`
672
671
  })).map((e, t) => ({
673
672
  ...e,
674
- color: e.COLOR ? d(e.COLOR) : er.value[t + B.value.paletteStartIndex] || c[t + B.value.paletteStartIndex] || c[(t + B.value.paletteStartIndex) % c.length],
673
+ color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
675
674
  immutableValue: e.value
676
675
  }));
677
676
  function t(e, t) {
678
- return a({
677
+ return u({
679
678
  v: isNaN(e.value / pr(t)) ? 0 : e.value / pr(t) * 100,
680
679
  s: "%",
681
680
  r: B.value.dataLabelRoundingPercentage
682
681
  });
683
682
  }
684
- function r(e) {
683
+ function n(e) {
685
684
  return e.proportion * 100 > B.value.donutHideLabelUnderPercentage;
686
685
  }
687
- function i(e, t) {
686
+ function r(e, t) {
688
687
  let n = tr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
689
688
  return Math.abs(String(Number(n.toFixed(0))).length - String(Number(t.toFixed(0))).length);
690
689
  }
691
- function o({ datapoint: t, seriesIndex: n, triggerMode: r = "pointer" }) {
690
+ function i({ datapoint: t, seriesIndex: n, triggerMode: r = "pointer" }) {
692
691
  On.value = {
693
692
  datapoint: t,
694
693
  seriesIndex: n,
@@ -699,7 +698,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
699
698
  if (B.value.events.datapointEnter && B.value.events.datapointEnter({
700
699
  datapoint: t,
701
700
  seriesIndex: n
702
- }), oe(i) && ne(() => i({
701
+ }), ee(i) && ie(() => i({
703
702
  datapoint: t,
704
703
  seriesIndex: n,
705
704
  series: e,
@@ -712,7 +711,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
712
711
  });
713
712
  else {
714
713
  let e = "";
715
- e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${B.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e += `<b>${m(B.value.formatter, t.value, a({
714
+ e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${B.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e += `<b>${m(B.value.formatter, t.value, u({
716
715
  p: B.value.valuePrefix,
717
716
  v: t.value,
718
717
  s: B.value.valueSuffix,
@@ -720,7 +719,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
720
719
  }), {
721
720
  datapoint: t,
722
721
  seriesIndex: n
723
- })}</b>`, e += `<span>(${a({
722
+ })}</b>`, e += `<span>(${u({
724
723
  v: t.proportion * 100,
725
724
  s: "%",
726
725
  r: B.value.dataLabelRoundingPercentage
@@ -728,13 +727,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
728
727
  }
729
728
  I.value = !0;
730
729
  }
731
- function s({ datapoint: e, seriesIndex: t }) {
730
+ function a({ datapoint: e, seriesIndex: t }) {
732
731
  B.value.events.datapointLeave && B.value.events.datapointLeave({
733
732
  datapoint: e,
734
733
  seriesIndex: t
735
734
  }), I.value = !1, L.value = null, J.value = null, V.value = null, H.value = "pointer";
736
735
  }
737
- function ee({ datapoint: e, seriesIndex: t }) {
736
+ function o({ datapoint: e, seriesIndex: t }) {
738
737
  B.value.events.datapointClick && B.value.events.datapointClick({
739
738
  datapoint: e,
740
739
  seriesIndex: t
@@ -743,28 +742,28 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
743
742
  let l = {
744
743
  centerX: q.value.width / 2,
745
744
  centerY: q.value.height / 2
746
- }, u = e.filter((e) => !R.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0), f = e.map((e, t) => ({
745
+ }, d = e.filter((e) => !R.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0), f = e.map((e, t) => ({
747
746
  ...e,
748
- proportion: (e.value || 0) / u,
747
+ proportion: (e.value || 0) / d,
749
748
  value: e.value || 0,
750
749
  absoluteValue: tr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
751
750
  shape: "circle"
752
- })), p = q.value.width / 2, te = q.value.height / 2, re = q.value.height * B.value.donutRadiusRatio;
751
+ })), p = q.value.width / 2, te = q.value.height / 2, ne = q.value.height * B.value.donutRadiusRatio;
753
752
  return {
754
753
  dataset: f.filter((e) => !R.value.includes(e.id)),
755
754
  legend: f,
756
755
  drawingArea: l,
757
756
  displayArcPercentage: t,
758
- isArcBigEnough: r,
759
- useTooltip: o,
760
- killTooltip: s,
761
- selectDatapoint: ee,
762
- getSpaces: i,
763
- total: u,
757
+ isArcBigEnough: n,
758
+ useTooltip: i,
759
+ killTooltip: a,
760
+ selectDatapoint: o,
761
+ getSpaces: r,
762
+ total: d,
764
763
  cx: p,
765
764
  cy: te,
766
- radius: re,
767
- chart: n({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, re, re, 1.99999, 2, 1, 360, 105.25, q.value.height * Sr.value)
765
+ radius: ne,
766
+ chart: c({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, ne, ne, 1.99999, 2, 1, 360, 105.25, q.value.height * Sr.value)
768
767
  };
769
768
  }), X = T({
770
769
  start: 0,
@@ -845,7 +844,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
845
844
  absoluteValues: G.value.dataset,
846
845
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
847
846
  name: B.value.title,
848
- color: er.value[B.value.paletteStartIndex] || c[B.value.paletteStartIndex],
847
+ color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
849
848
  id: "line_0"
850
849
  }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
851
850
  ...e,
@@ -854,7 +853,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
854
853
  id: `line_${t}`
855
854
  })).map((e, t) => ({
856
855
  ...e,
857
- color: e.COLOR ? d(e.COLOR) : er.value[t + B.value.paletteStartIndex] || c[t + B.value.paletteStartIndex] || c[(t + B.value.paletteStartIndex) % c.length],
856
+ color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
858
857
  values: e.values.slice(X.value.start, X.value.end),
859
858
  absoluteValues: e.values,
860
859
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -863,8 +862,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
863
862
  max: Math.max(...r.filter((e) => !R.value.includes(e.id)).flatMap((e) => e.values)),
864
863
  min: Math.min(...r.filter((e) => !R.value.includes(e.id)).flatMap((e) => e.values)),
865
864
  maxSeries: Math.max(...r.map((e) => e.values.length))
866
- }, o = i.max === i.min ? p(i.min, i.min + 1, B.value.xyScaleSegments) : p(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, B.value.xyScaleSegments), s = i.min < 0 ? Math.abs(i.min) : 0, ee = i.max < 0 ? n.top : n.bottom - s / (o.max + s) * n.height, l = n.width / i.maxSeries, u = o.ticks.map((e) => ({
867
- y: n.bottom - n.height * ((e + s) / (o.max + s)),
865
+ }, a = i.max === i.min ? te(i.min, i.min + 1, B.value.xyScaleSegments) : te(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, B.value.xyScaleSegments), o = i.min < 0 ? Math.abs(i.min) : 0, c = i.max < 0 ? n.top : n.bottom - o / (a.max + o) * n.height, l = n.width / i.maxSeries, d = a.ticks.map((e) => ({
866
+ y: n.bottom - n.height * ((e + o) / (a.max + o)),
868
867
  x: n.left - 8,
869
868
  value: e
870
869
  })), f = r.map((e, t) => ({
@@ -872,7 +871,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
872
871
  shape: "circle",
873
872
  coordinates: e.values.map((e, t) => ({
874
873
  x: n.left + l * (t + 1) - l / 2,
875
- y: n.bottom - (e + s) / (o.max + s) * n.height,
874
+ y: n.bottom - (e + o) / (a.max + o) * n.height,
876
875
  value: e
877
876
  }))
878
877
  })).map((e) => {
@@ -884,16 +883,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
884
883
  linePath: t.join(" ")
885
884
  };
886
885
  });
887
- function te(e) {
886
+ function p(e) {
888
887
  return r.map((t) => ({
889
888
  ...t,
890
889
  value: t.values[e],
891
890
  absoluteIndex: t.absoluteIndices[e]
892
891
  })).filter((e) => !R.value.includes(e.id));
893
892
  }
894
- function re(e, t = "pointer") {
893
+ function ne(e, t = "pointer") {
895
894
  L.value = e, J.value = e, V.value = e, H.value = t;
896
- let n = te(e);
895
+ let n = p(e);
897
896
  On.value = {
898
897
  datapoint: n,
899
898
  seriesIndex: e,
@@ -904,7 +903,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
904
903
  if (B.value.events.datapointEnter && B.value.events.datapointEnter({
905
904
  datapoint: n,
906
905
  seriesIndex: e + X.value.start
907
- }), oe(i) && ne(() => i({
906
+ }), ee(i) && ie(() => i({
908
907
  datapoint: n,
909
908
  seriesIndex: e,
910
909
  series: r,
@@ -922,7 +921,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
922
921
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
923
922
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>
924
923
  <span>${t.name}:</span>
925
- <b>${m(B.value.formatter, t.value, a({
924
+ <b>${m(B.value.formatter, t.value, u({
926
925
  p: B.value.valuePrefix,
927
926
  v: t.value,
928
927
  s: B.value.valueSuffix,
@@ -938,30 +937,30 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
938
937
  }
939
938
  I.value = !0;
940
939
  }
941
- function ie(e) {
942
- let t = te(e);
940
+ function re(e) {
941
+ let t = p(e);
943
942
  B.value.events.datapointLeave && B.value.events.datapointLeave({
944
943
  datapoint: t,
945
944
  seriesIndex: e + X.value.start
946
945
  }), L.value = null, J.value = null, I.value = !1, V.value = null, H.value = "pointer";
947
946
  }
948
947
  function ae(e) {
949
- let t = te(e);
948
+ let t = p(e);
950
949
  B.value.events.datapointClick && B.value.events.datapointClick({
951
950
  datapoint: t,
952
951
  seriesIndex: e + X.value.start
953
952
  }), W("selectDatapoint", t);
954
953
  }
955
954
  return {
956
- absoluteZero: ee,
955
+ absoluteZero: c,
957
956
  dataset: f.filter((e) => !R.value.includes(e.id)),
958
957
  legend: f,
959
958
  drawingArea: n,
960
959
  extremes: i,
961
960
  slotSize: l,
962
- yLabels: u,
963
- useTooltip: re,
964
- killTooltip: ie,
961
+ yLabels: d,
962
+ useTooltip: ne,
963
+ killTooltip: re,
965
964
  selectDatapoint: ae
966
965
  };
967
966
  }), Q = _(() => {
@@ -987,7 +986,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
987
986
  absoluteValues: G.value.dataset,
988
987
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
989
988
  name: B.value.title,
990
- color: er.value[B.value.paletteStartIndex] || c[B.value.paletteStartIndex],
989
+ color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
991
990
  id: "bar_0"
992
991
  }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
993
992
  ...e,
@@ -996,7 +995,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
996
995
  id: `bar_${t}`
997
996
  })).map((e, t) => ({
998
997
  ...e,
999
- color: e.COLOR ? d(e.COLOR) : er.value[t + B.value.paletteStartIndex] || c[t + B.value.paletteStartIndex] || c[(t + B.value.paletteStartIndex) % c.length],
998
+ color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
1000
999
  values: e.values.slice(X.value.start, X.value.end),
1001
1000
  absoluteValues: e.values,
1002
1001
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -1005,46 +1004,46 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1005
1004
  max: Math.max(...r.filter((e) => !R.value.includes(e.id)).flatMap((e) => e.values)) < 0 ? 0 : Math.max(...r.filter((e) => !R.value.includes(e.id)).flatMap((e) => e.values)) ?? 1,
1006
1005
  min: Math.min(...r.filter((e) => !R.value.includes(e.id)).flatMap((e) => e.values)) ?? 0,
1007
1006
  maxSeries: Math.max(...r.filter((e) => !R.value.includes(e.id)).map((e) => e.values.length)) ?? 0
1008
- }, o = i.min === i.max ? p(i.min, i.min + 1, B.value.xyScaleSegments) : p(i.min < 0 ? i.min : 0, i.max, B.value.xyScaleSegments), s = o.min < 0 ? Math.abs(o.min) : 0, ee = n.bottom - s / (o.max + s) * n.height, l = n.width / i.maxSeries, u = o.ticks.map((e) => ({
1009
- y: n.bottom - n.height * ((e + s) / (o.max + s)),
1007
+ }, a = i.min === i.max ? te(i.min, i.min + 1, B.value.xyScaleSegments) : te(i.min < 0 ? i.min : 0, i.max, B.value.xyScaleSegments), o = a.min < 0 ? Math.abs(a.min) : 0, c = n.bottom - o / (a.max + o) * n.height, l = n.width / i.maxSeries, d = a.ticks.map((e) => ({
1008
+ y: n.bottom - n.height * ((e + o) / (a.max + o)),
1010
1009
  x: n.left - 8,
1011
1010
  value: e
1012
1011
  })), f = r.map((e, t) => ({
1013
1012
  ...e,
1014
1013
  shape: "square",
1015
1014
  coordinates: e.values.map((e, a) => {
1016
- let o = (e + s) / (i.max + s) * n.height, c = Math.abs(e) / Math.abs(i.min) * (n.height - ee), u = s / (i.max + s) * n.height, d = l / r.filter((e) => !R.value.includes(e.id)).length - B.value.barGap / r.filter((e) => !R.value.includes(e.id)).length;
1015
+ let s = (e + o) / (i.max + o) * n.height, u = Math.abs(e) / Math.abs(i.min) * (n.height - c), ee = o / (i.max + o) * n.height, d = l / r.filter((e) => !R.value.includes(e.id)).length - B.value.barGap / r.filter((e) => !R.value.includes(e.id)).length;
1017
1016
  return {
1018
1017
  x: n.left + l * a + d * t + B.value.barGap / 2,
1019
- y: e > 0 ? n.bottom - o : ee,
1020
- height: e > 0 ? o - u : c,
1018
+ y: e > 0 ? n.bottom - s : c,
1019
+ height: e > 0 ? s - ee : u,
1021
1020
  value: e,
1022
1021
  width: d
1023
1022
  };
1024
1023
  })
1025
- })), te = r.filter((e) => !R.value.includes(e.id)).map((e, t) => ({
1024
+ })), p = r.filter((e) => !R.value.includes(e.id)).map((e, t) => ({
1026
1025
  ...e,
1027
1026
  coordinates: e.values.map((e, a) => {
1028
- let o = (e + s) / (i.max + s) * n.height, c = Math.abs(e) / (i.max + s) * n.height, u = s / (i.max + s) * n.height, d = l / r.filter((e) => !R.value.includes(e.id)).length - B.value.barGap / r.filter((e) => !R.value.includes(e.id)).length;
1027
+ let s = (e + o) / (i.max + o) * n.height, u = Math.abs(e) / (i.max + o) * n.height, ee = o / (i.max + o) * n.height, d = l / r.filter((e) => !R.value.includes(e.id)).length - B.value.barGap / r.filter((e) => !R.value.includes(e.id)).length;
1029
1028
  return {
1030
1029
  x: n.left + l * a + d * t + B.value.barGap / 2,
1031
- y: e > 0 ? n.bottom - o : ee,
1032
- height: e > 0 ? o - u : c,
1030
+ y: e > 0 ? n.bottom - s : c,
1031
+ height: e > 0 ? s - ee : u,
1033
1032
  value: e,
1034
1033
  width: d
1035
1034
  };
1036
1035
  })
1037
1036
  }));
1038
- function re(e) {
1037
+ function ne(e) {
1039
1038
  return r.map((t) => ({
1040
1039
  ...t,
1041
1040
  value: t.values[e],
1042
1041
  absoluteIndex: t.absoluteIndices[e]
1043
1042
  })).filter((e) => !R.value.includes(e.id));
1044
1043
  }
1045
- function ie(e, t = "pointer") {
1044
+ function re(e, t = "pointer") {
1046
1045
  L.value = e, J.value = e, V.value = e, H.value = t;
1047
- let n = re(e);
1046
+ let n = ne(e);
1048
1047
  On.value = {
1049
1048
  datapoint: n,
1050
1049
  seriesIndex: e,
@@ -1055,7 +1054,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1055
1054
  if (B.value.events.datapointEnter && B.value.events.datapointEnter({
1056
1055
  datapoint: n,
1057
1056
  seriesIndex: e + X.value.start
1058
- }), oe(i) && ne(() => i({
1057
+ }), ee(i) && ie(() => i({
1059
1058
  datapoint: n,
1060
1059
  seriesIndex: e,
1061
1060
  series: r,
@@ -1073,7 +1072,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1073
1072
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
1074
1073
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${t.color}"/></svg>
1075
1074
  <span>${t.name}:</span>
1076
- <b>${m(B.value.formatter, t.value, a({
1075
+ <b>${m(B.value.formatter, t.value, u({
1077
1076
  p: B.value.valuePrefix,
1078
1077
  v: t.value,
1079
1078
  s: B.value.valueSuffix,
@@ -1090,29 +1089,29 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1090
1089
  I.value = !0;
1091
1090
  }
1092
1091
  function ae(e) {
1093
- let t = re(e);
1092
+ let t = ne(e);
1094
1093
  B.value.events.datapointLeave && B.value.events.datapointLeave({
1095
1094
  datapoint: t,
1096
1095
  seriesIndex: e + X.value.start
1097
1096
  }), I.value = !1, L.value = null, J.value = null, V.value = null, H.value = "pointer";
1098
1097
  }
1099
1098
  function h(e) {
1100
- let t = re(e);
1099
+ let t = ne(e);
1101
1100
  B.value.events.datapointClick && B.value.events.datapointClick({
1102
1101
  datapoint: t,
1103
1102
  seriesIndex: e + X.value.start
1104
1103
  }), W("selectDatapoint", t);
1105
1104
  }
1106
1105
  return {
1107
- absoluteZero: ee,
1108
- dataset: te.filter((e) => !R.value.includes(e.id)),
1109
- absoluteDataset: te,
1106
+ absoluteZero: c,
1107
+ dataset: p.filter((e) => !R.value.includes(e.id)),
1108
+ absoluteDataset: p,
1110
1109
  legend: f,
1111
1110
  drawingArea: n,
1112
1111
  extremes: i,
1113
1112
  slotSize: l,
1114
- yLabels: u,
1115
- useTooltip: ie,
1113
+ yLabels: d,
1114
+ useTooltip: re,
1116
1115
  killTooltip: ae,
1117
1116
  selectDatapoint: h
1118
1117
  };
@@ -1162,25 +1161,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1162
1161
  return a.push(o), a;
1163
1162
  }
1164
1163
  function Lr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
1165
- let ee = Array.isArray(Fn?.value) ? Fn.value : [Fn?.value].filter(Boolean), l = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), u = [...ee, ...l].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1166
- u.forEach(Mr), Nr(f, {
1164
+ let l = Array.isArray(Fn?.value) ? Fn.value : [Fn?.value].filter(Boolean), u = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), ee = [...l, ...u].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1165
+ ee.forEach(Mr), Nr(f, {
1167
1166
  fromOpacity: "0",
1168
1167
  fromScale: "0.75"
1169
1168
  }), Nr(p, {
1170
1169
  fromOpacity: "0",
1171
1170
  fromScale: "0.98"
1172
1171
  }), f.forEach((e) => e.classList.remove("quick-animation")), p.forEach((e) => e.classList.remove("quick-animation")), d && d.offsetWidth;
1173
- let m = f.length ? Ir(f, Pr) : [], te = p.length ? Ir(p, Fr) : [];
1172
+ let te = f.length ? Ir(f, Pr) : [], m = p.length ? Ir(p, Fr) : [];
1174
1173
  requestAnimationFrame(() => {
1175
1174
  requestAnimationFrame(() => {
1176
- u.forEach((n) => {
1175
+ ee.forEach((n) => {
1177
1176
  n.style.transition = `stroke-dashoffset ${e}ms ${t}`, n.style.strokeDashoffset = "0";
1178
- }), m.forEach((e, t) => {
1177
+ }), te.forEach((e, t) => {
1179
1178
  e.items.forEach((e, r) => {
1180
1179
  let a = i + t * o + r * c;
1181
1180
  e.style.transition = `opacity ${n}ms ease-out ${a}ms, transform ${n}ms ease-out ${a}ms`, e.style.opacity = "1", e.style.transform = "scale(1)";
1182
1181
  });
1183
- }), te.forEach((e, t) => {
1182
+ }), m.forEach((e, t) => {
1184
1183
  e.items.forEach((e, n) => {
1185
1184
  let i = a + t * s + n * c;
1186
1185
  e.style.transition = `opacity ${r}ms ease-out ${i}ms, transform ${r}ms ease-out ${i}ms`, e.style.opacity = "1", e.style.transform = "scale(1)";
@@ -1375,7 +1374,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1375
1374
  if (K.value === j.DONUT) {
1376
1375
  let r = Y.value?.chart?.[e];
1377
1376
  if (!r) return;
1378
- t = ae(r, !0).x, n = f(r);
1377
+ t = d(r, !0).x, n = p(r);
1379
1378
  }
1380
1379
  if (K.value === j.LINE) {
1381
1380
  let r = Z.value?.drawingArea, i = Z.value?.slotSize;
@@ -1401,14 +1400,14 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1401
1400
  "Percentage"
1402
1401
  ],
1403
1402
  rows: (Y.value?.dataset ?? []).map((e) => {
1404
- let t = Y.value?.total ? a({
1403
+ let t = Y.value?.total ? u({
1405
1404
  v: e.value / Y.value.total * 100,
1406
1405
  s: "%",
1407
1406
  r: B.value.dataLabelRoundingPercentage
1408
1407
  }) : "0%";
1409
1408
  return [
1410
1409
  e.name,
1411
- m(B.value.formatter, e.value, a({
1410
+ m(B.value.formatter, e.value, u({
1412
1411
  p: B.value.valuePrefix,
1413
1412
  v: e.value,
1414
1413
  s: B.value.valueSuffix,
@@ -1424,7 +1423,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1424
1423
  headers: ["Index", ...e.map((e) => e.name)],
1425
1424
  rows: Array.from({ length: t }, (t, n) => [$.value?.[n + X.value.start]?.text ?? String(n + X.value.start), ...e.map((e) => {
1426
1425
  let t = e.values?.[n];
1427
- return m(B.value.formatter, t, a({
1426
+ return m(B.value.formatter, t, u({
1428
1427
  p: B.value.valuePrefix,
1429
1428
  v: t,
1430
1429
  s: B.value.valueSuffix,
@@ -1640,7 +1639,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1640
1639
  key: 0,
1641
1640
  ref_key: "svgRef",
1642
1641
  ref: qn,
1643
- xmlns: k(ie),
1642
+ xmlns: k(ae),
1644
1643
  "aria-describedby": `chart-instructions-${F.value}`,
1645
1644
  viewBox: fr.value,
1646
1645
  style: C(`max-width:100%;overflow:visible;background:transparent;color:${B.value.color}`),
@@ -1700,7 +1699,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1700
1699
  K.value === j.DONUT ? (w(), y(g, { key: 3 }, [
1701
1700
  B.value.showDataLabels ? (w(), y("g", ct, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [Y.value.isArcBigEnough(e) ? (w(), y("path", {
1702
1701
  key: 0,
1703
- d: k(re)(e, {
1702
+ d: k(ne)(e, {
1704
1703
  x: q.value.width / 2,
1705
1704
  y: q.value.height / 2
1706
1705
  }, 16, 16, !1, !1, q.value.height * Sr.value, 12, B.value.donutCurvedMarkers),
@@ -1744,8 +1743,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1744
1743
  B.value.showDataLabels ? (w(), y("g", mt, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [
1745
1744
  Y.value.isArcBigEnough(e) ? (w(), y("circle", {
1746
1745
  key: 0,
1747
- cx: k(ae)(e).x,
1748
- cy: k(f)(e) - 3.7,
1746
+ cx: k(d)(e).x,
1747
+ cy: k(p)(e) - 3.7,
1749
1748
  fill: e.color,
1750
1749
  stroke: B.value.backgroundColor,
1751
1750
  "stroke-width": 1,
@@ -1754,13 +1753,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1754
1753
  }, null, 8, ht)) : v("", !0),
1755
1754
  Y.value.isArcBigEnough(e) ? (w(), y("text", {
1756
1755
  key: 1,
1757
- "text-anchor": k(ae)(e, !0, 20).anchor,
1758
- x: k(ae)(e, !0).x,
1759
- y: k(f)(e),
1756
+ "text-anchor": k(d)(e, !0, 20).anchor,
1757
+ x: k(d)(e, !0).x,
1758
+ y: k(p)(e),
1760
1759
  fill: B.value.color,
1761
1760
  "font-size": B.value.dataLabelFontSize,
1762
1761
  filter: mr(e.id)
1763
- }, O(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + O(k(m)(B.value.formatter, e.value, k(a)({
1762
+ }, O(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + O(k(m)(B.value.formatter, e.value, k(u)({
1764
1763
  p: B.value.valuePrefix,
1765
1764
  v: e.value,
1766
1765
  s: B.value.valueSuffix,
@@ -1771,9 +1770,9 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1771
1770
  })) + ") ", 9, gt)) : v("", !0),
1772
1771
  Y.value.isArcBigEnough(e, !0, 20) ? (w(), y("text", {
1773
1772
  key: 2,
1774
- "text-anchor": k(ae)(e).anchor,
1775
- x: k(ae)(e, !0).x,
1776
- y: k(f)(e) + B.value.dataLabelFontSize,
1773
+ "text-anchor": k(d)(e).anchor,
1774
+ x: k(d)(e, !0).x,
1775
+ y: k(p)(e) + B.value.dataLabelFontSize,
1777
1776
  fill: B.value.color,
1778
1777
  "font-size": B.value.dataLabelFontSize,
1779
1778
  filter: mr(e.id)
@@ -1791,7 +1790,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1791
1790
  y: Y.value.drawingArea.centerY + B.value.donutTotalLabelFontSize,
1792
1791
  "font-size": B.value.donutTotalLabelFontSize,
1793
1792
  fill: B.value.color
1794
- }, O(k(a)({
1793
+ }, O(k(u)({
1795
1794
  p: B.value.valuePrefix,
1796
1795
  v: Y.value.total,
1797
1796
  s: B.value.valueSuffix,
@@ -1855,7 +1854,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1855
1854
  "text-anchor": "end",
1856
1855
  "font-size": B.value.xyLabelsYFontSize,
1857
1856
  fill: B.value.color
1858
- }, O(k(m)(B.value.formatter, e.value, k(a)({
1857
+ }, O(k(m)(B.value.formatter, e.value, k(u)({
1859
1858
  p: B.value.valuePrefix,
1860
1859
  v: e.value,
1861
1860
  s: B.value.valueSuffix,
@@ -1902,7 +1901,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1902
1901
  ref_for: !0,
1903
1902
  ref_key: "pathWrapper",
1904
1903
  ref: Fn,
1905
- d: `M ${k(s)(e.coordinates)}`,
1904
+ d: `M ${k(o)(e.coordinates)}`,
1906
1905
  stroke: B.value.backgroundColor,
1907
1906
  "stroke-width": B.value.lineStrokeWidth + 1,
1908
1907
  "stroke-linecap": "round",
@@ -1916,7 +1915,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1916
1915
  ref_for: !0,
1917
1916
  ref_key: "pathTop",
1918
1917
  ref: In,
1919
- d: `M ${k(s)(e.coordinates)}`,
1918
+ d: `M ${k(o)(e.coordinates)}`,
1920
1919
  stroke: e.color,
1921
1920
  "stroke-width": B.value.lineStrokeWidth,
1922
1921
  "stroke-linecap": "round",
@@ -1978,7 +1977,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1978
1977
  "quick-animation": !k(U)
1979
1978
  }),
1980
1979
  style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1981
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(a)({
1980
+ }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
1982
1981
  p: B.value.valuePrefix,
1983
1982
  v: k(h)(t.value),
1984
1983
  s: B.value.valueSuffix,
@@ -2056,7 +2055,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2056
2055
  "text-anchor": "end",
2057
2056
  "font-size": B.value.xyLabelsYFontSize,
2058
2057
  fill: B.value.color
2059
- }, O(k(m)(B.value.formatter, e.value, k(a)({
2058
+ }, O(k(m)(B.value.formatter, e.value, k(u)({
2060
2059
  p: B.value.valuePrefix,
2061
2060
  v: e.value,
2062
2061
  s: B.value.valueSuffix,
@@ -2128,7 +2127,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2128
2127
  "font-size": B.value.dataLabelFontSize,
2129
2128
  fill: e.color,
2130
2129
  class: "quick-animation"
2131
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(a)({
2130
+ }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
2132
2131
  p: B.value.valuePrefix,
2133
2132
  v: k(h)(t.value),
2134
2133
  s: B.value.valueSuffix,
@@ -2313,7 +2312,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2313
2312
  "size"
2314
2313
  ]),
2315
2314
  b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5),
2316
- b("span", { style: C(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, O(R.value.includes(t.id) ? "-" : k(m)(B.value.formatter, t.absoluteValue, k(a)({
2315
+ b("span", { style: C(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, O(R.value.includes(t.id) ? "-" : k(m)(B.value.formatter, t.absoluteValue, k(u)({
2317
2316
  p: B.value.valuePrefix,
2318
2317
  v: t.absoluteValue,
2319
2318
  s: B.value.valueSuffix,
@@ -2331,7 +2330,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2331
2330
  }, " ( - % ) ", 4)) : (w(), y("span", {
2332
2331
  key: 2,
2333
2332
  style: C(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2334
- }, " (" + O(k(a)({
2333
+ }, " (" + O(k(u)({
2335
2334
  v: t.value / Y.value.total * 100,
2336
2335
  s: "%",
2337
2336
  r: B.value.dataLabelRoundingPercentage
@@ -2422,7 +2421,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2422
2421
  parent: P.value,
2423
2422
  content: kn.value,
2424
2423
  isFullscreen: Vr.value,
2425
- isCustom: k(oe)(B.value.tooltipCustomFormat),
2424
+ isCustom: k(ee)(B.value.tooltipCustomFormat),
2426
2425
  smooth: B.value.tooltipSmooth,
2427
2426
  smoothForce: B.value.tooltipSmoothForce,
2428
2427
  smoothSnapThreshold: B.value.tooltipSmoothSnapThreshold,