vue-data-ui 3.25.8 → 3.25.10

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 (164) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
  3. package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
  4. package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
  5. package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
  6. package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-hill.js +1 -1
  32. package/dist/components/vue-ui-history-plot.js +1 -1
  33. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  34. package/dist/components/vue-ui-kpi.js +1 -1
  35. package/dist/components/vue-ui-label.js +1 -1
  36. package/dist/components/vue-ui-molecule.js +1 -1
  37. package/dist/components/vue-ui-mood-radar.js +1 -1
  38. package/dist/components/vue-ui-nested-donuts.js +1 -1
  39. package/dist/components/vue-ui-onion.js +1 -1
  40. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  41. package/dist/components/vue-ui-quadrant.js +1 -1
  42. package/dist/components/vue-ui-quick-chart.js +1 -1
  43. package/dist/components/vue-ui-radar.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/composables.js +1 -1
  73. package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
  74. package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
  75. package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
  76. package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
  77. package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
  78. package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.js} +1 -1
  79. package/dist/ssr/vue-ui-donut.js +1 -1
  80. package/dist/ssr/vue-ui-xy.js +1 -1
  81. package/dist/ssr.js +2 -2
  82. package/dist/style.css +1 -1
  83. package/dist/types/utils.d.ts +5 -5
  84. package/dist/types/vue-data-ui.d.ts +5 -5
  85. package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
  86. package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
  87. package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
  88. package/dist/vue-data-ui.js +66 -66
  89. package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
  90. package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
  91. package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
  92. package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
  93. package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
  94. package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
  95. package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
  96. package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
  97. package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
  98. package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
  99. package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
  100. package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
  101. package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
  102. package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
  103. package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
  104. package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
  105. package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
  106. package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
  107. package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
  108. package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
  109. package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
  110. package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
  111. package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
  112. package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
  113. package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
  114. package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
  115. package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
  116. package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
  117. package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
  118. package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
  119. package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
  120. package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
  121. package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
  122. package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
  123. package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
  124. package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
  125. package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
  126. package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
  127. package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
  128. package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
  129. package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
  130. package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
  131. package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
  132. package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
  133. package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
  134. package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
  135. package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
  136. package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
  137. package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
  138. package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
  139. package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
  140. package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
  141. package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
  142. package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
  143. package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
  144. package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
  145. package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
  146. package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
  147. package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
  148. package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
  149. package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
  150. package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
  151. package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
  152. package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
  153. package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
  154. package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
  155. package/package.json +3 -3
  156. package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
  157. package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
  158. package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
  159. package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
  160. package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
  161. package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
  162. package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
  163. package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
  164. package/dist/vue-ui-waffle-D6_cGi1-.js +0 -1621
@@ -1,31 +1,31 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, G as n, Lt as r, Mt as i, P as a, Pt as o, S as ee, Vt as s, X as c, Yt as l, Zt as te, _ as ne, b as u, f as d, h as re, i as f, lt as ie, nt as ae, p, q as oe, t as se, w as ce } from "./lib-Dql7cqyA.js";
3
- import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
4
- import { t as de } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as fe } from "./useConfig-D32D002m.js";
6
- import { t as pe } from "./usePrinter-DISD7q5m.js";
7
- import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as ge } from "./useNestedProp-Chvyfpl-.js";
9
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ve } from "./useChartExport-iwOqiIWX.js";
11
- import { t as ye } from "./useTransitions-g_zBREk2.js";
12
- import { t as be } from "./useStableElementSize-C7KADDKj.js";
13
- import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
- import { t as Se } from "./img-DhGApYG0.js";
15
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Ee } from "./SlicerPreview-B6iHOC9L.js";
18
- import { t as De } from "./BaseLegendToggle-CXQrLjd-.js";
19
- import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
20
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Ae } from "./vue_ui_quick_chart-mZBdml3Z.js";
22
- import { Fragment as m, Teleport as je, computed as h, createBlock as Me, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Ne, createVNode as Pe, defineAsyncComponent as Fe, guardReactiveProps as y, mergeProps as Ie, nextTick as Le, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Re, onMounted as ze, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as Be, toDisplayString as D, toRefs as Ve, unref as O, watch as He, watchEffect as Ue, withCtx as k } from "vue";
2
+ import { Ct as t, G as n, Lt as r, Mt as i, P as a, Pt as o, S as ee, Vt as s, X as c, Yt as l, Z as te, Zt as u, _ as ne, b as d, f, h as re, i as p, lt as ie, nt as ae, p as oe, q as se, t as ce, w as le } from "./lib-Dql7cqyA.js";
3
+ import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
+ import { t as fe } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as pe } from "./useConfig-D32D002m.js";
6
+ import { t as me } from "./usePrinter-hohanNCX.js";
7
+ import { n as he, t as ge } from "./BaseScanner-Dzc8VT3j.js";
8
+ import { t as _e } from "./useNestedProp-Chvyfpl-.js";
9
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ye } from "./useChartExport-iwOqiIWX.js";
11
+ import { t as be } from "./useTransitions-g_zBREk2.js";
12
+ import { t as xe } from "./useStableElementSize-C7KADDKj.js";
13
+ import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
+ import { t as Ce } from "./img-BkMKbWsI.js";
15
+ import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as De } from "./SlicerPreview-Ccss7Vsq.js";
18
+ import { t as Oe } from "./BaseLegendToggle-CXQrLjd-.js";
19
+ import { t as ke } from "./A11yDataTable-DdRsVULz.js";
20
+ import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as je } from "./vue_ui_quick_chart-mZBdml3Z.js";
22
+ import { Fragment as m, Teleport as Me, computed as h, createBlock as Ne, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Pe, createVNode as Fe, defineAsyncComponent as Ie, guardReactiveProps as y, mergeProps as Le, nextTick as Re, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as ze, onMounted as Be, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as Ve, toDisplayString as D, toRefs as He, unref as O, watch as Ue, watchEffect as We, withCtx as k } from "vue";
23
23
  //#region src/chartDetector.js
24
24
  var A = {
25
25
  LINE: "LINE",
26
26
  BAR: "BAR",
27
27
  DONUT: "DONUT"
28
- }, We = [
28
+ }, Ge = [
29
29
  "SERIE",
30
30
  "SERIES",
31
31
  "DATA",
@@ -33,15 +33,15 @@ var A = {
33
33
  "VALUES",
34
34
  "NUM"
35
35
  ];
36
- function Ge({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
36
+ function Ke({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
37
37
  let r = null, i = null, a = 0;
38
- if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), qe(e) && (j(e) && (r = e.length < t ? A.BAR : A.LINE, i = e, a = e.length), Je(e))) {
39
- if (!Xe(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
38
+ if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), Je(e) && (j(e) && (r = e.length < t ? A.BAR : A.LINE, i = e, a = e.length), Ye(e))) {
39
+ if (!Ze(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
40
40
  let o = Object.keys(e[0]), ee = Object.values(e[0]);
41
- if (!o.some((e) => Ze(e))) return n && 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;
42
- Qe(ee, (e) => typeof e == "number") && (r = A.DONUT, i = e), Qe(ee, (e) => Array.isArray(e) && j(e)) && (r = $e(e) > t ? A.LINE : A.BAR, a = $e(e), i = e.map((e) => ({
41
+ if (!o.some((e) => Qe(e))) return n && 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;
42
+ $e(ee, (e) => typeof e == "number") && (r = A.DONUT, i = e), $e(ee, (e) => Array.isArray(e) && j(e)) && (r = et(e) > t ? A.LINE : A.BAR, a = et(e), i = e.map((e) => ({
43
43
  ...e,
44
- data: et(e, (e) => j(e))
44
+ data: tt(e, (e) => j(e))
45
45
  }))), e = e.map((e) => M(e)), i = i.map((e) => M(e));
46
46
  }
47
47
  return {
@@ -51,21 +51,21 @@ function Ge({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
51
51
  maxSeriesLength: a
52
52
  };
53
53
  }
54
- function Ke(e) {
55
- return !e || qe(e) && !e.length;
56
- }
57
54
  function qe(e) {
55
+ return !e || Je(e) && !e.length;
56
+ }
57
+ function Je(e) {
58
58
  return Array.isArray(e);
59
59
  }
60
60
  function j(e) {
61
- if (!qe(e) || Ke(e)) return !1;
61
+ if (!Je(e) || qe(e)) return !1;
62
62
  let t = e.map((e) => Number(e));
63
63
  return ![...new Set(t.flatMap((e) => typeof e == "number" && !isNaN(e)))].includes(!1);
64
64
  }
65
- function Je(e) {
66
- return !qe(e) || Ke(e) || [...new Set(e.flatMap((e) => typeof e == "object" && !Array.isArray(e)))].includes(!1) ? !1 : !e.map((e) => Object.keys(e).length > 0).includes(!1);
65
+ function Ye(e) {
66
+ return !Je(e) || qe(e) || [...new Set(e.flatMap((e) => typeof e == "object" && !Array.isArray(e)))].includes(!1) ? !1 : !e.map((e) => Object.keys(e).length > 0).includes(!1);
67
67
  }
68
- function Ye(e, t) {
68
+ function Xe(e, t) {
69
69
  let n = Object.keys(e).sort(), r = Object.keys(t).sort();
70
70
  if (n.length !== r.length) return !1;
71
71
  for (let i = 0; i < n.length; i += 1) {
@@ -74,23 +74,23 @@ function Ye(e, t) {
74
74
  }
75
75
  return !0;
76
76
  }
77
- function Xe(e) {
77
+ function Ze(e) {
78
78
  if (e.length <= 1) return !0;
79
- for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!Ye(e[t], e[n])) return !1;
79
+ for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!Xe(e[t], e[n])) return !1;
80
80
  return !0;
81
81
  }
82
- function Ze(e) {
83
- return We.includes(e.toUpperCase());
82
+ function Qe(e) {
83
+ return Ge.includes(e.toUpperCase());
84
84
  }
85
- function Qe(e, t) {
85
+ function $e(e, t) {
86
86
  let n = [];
87
87
  for (let r = 0; r < e.length; r += 1) n.push(t(e[r]));
88
88
  return n.includes(!0);
89
89
  }
90
- function $e(e) {
90
+ function et(e) {
91
91
  return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => j(e)).map((e) => e.length)));
92
92
  }
93
- function et(e, t) {
93
+ function tt(e, t) {
94
94
  return Object.values(e).filter((e) => t(e))[0];
95
95
  }
96
96
  function M(e) {
@@ -100,149 +100,145 @@ function M(e) {
100
100
  }
101
101
  //#endregion
102
102
  //#region src/components/vue-ui-quick-chart.vue
103
- var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
103
+ var N = /* @__PURE__ */ e({ default: () => On }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
104
104
  "xmlns",
105
105
  "aria-describedby",
106
106
  "viewBox"
107
- ], ot = [
107
+ ], st = [
108
108
  "x",
109
109
  "y",
110
110
  "width",
111
111
  "height"
112
- ], st = [
112
+ ], ct = [
113
113
  "x",
114
114
  "y",
115
115
  "width",
116
116
  "height"
117
- ], ct = ["width", "height"], lt = ["id"], ut = ["id"], dt = ["id"], ft = ["flood-color"], pt = {
117
+ ], lt = ["width", "height"], ut = ["id"], dt = ["id"], ft = ["id"], pt = ["flood-color"], mt = {
118
118
  key: 0,
119
119
  class: "donut-label-connectors"
120
- }, mt = [
120
+ }, ht = [
121
121
  "d",
122
122
  "stroke",
123
123
  "stroke-width",
124
124
  "filter"
125
- ], ht = [
125
+ ], gt = [
126
126
  "cx",
127
127
  "cy",
128
128
  "r",
129
129
  "fill",
130
130
  "filter"
131
- ], gt = { class: "donut" }, _t = [
131
+ ], _t = { class: "donut" }, vt = [
132
132
  "d",
133
133
  "fill",
134
134
  "stroke",
135
135
  "stroke-width",
136
136
  "filter"
137
- ], vt = [
137
+ ], yt = [
138
138
  "d",
139
139
  "onMouseenter",
140
140
  "onMouseout",
141
141
  "onClick"
142
- ], yt = {
142
+ ], bt = {
143
143
  key: 1,
144
144
  class: "donut-labels"
145
- }, bt = [
145
+ }, xt = [
146
146
  "cx",
147
147
  "cy",
148
148
  "fill",
149
149
  "stroke",
150
150
  "filter"
151
- ], xt = [
151
+ ], St = [
152
152
  "text-anchor",
153
153
  "x",
154
154
  "y",
155
155
  "fill",
156
156
  "font-size",
157
157
  "filter"
158
- ], St = [
158
+ ], Ct = [
159
159
  "text-anchor",
160
160
  "x",
161
161
  "y",
162
162
  "fill",
163
163
  "font-size",
164
164
  "filter"
165
- ], Ct = {
165
+ ], wt = {
166
166
  key: 2,
167
167
  class: "donut-hollow"
168
- }, wt = [
168
+ }, Tt = [
169
169
  "x",
170
170
  "y",
171
171
  "font-size",
172
172
  "fill"
173
- ], Tt = [
173
+ ], Et = [
174
174
  "x",
175
175
  "y",
176
176
  "font-size",
177
177
  "fill"
178
- ], Et = {
178
+ ], Dt = {
179
179
  key: 0,
180
180
  class: "line-grid"
181
- }, Dt = [
181
+ }, Ot = [
182
182
  "x1",
183
183
  "x2",
184
184
  "y1",
185
185
  "y2",
186
186
  "stroke",
187
187
  "stroke-width"
188
- ], Ot = [
188
+ ], kt = [
189
189
  "x1",
190
190
  "x2",
191
191
  "y1",
192
192
  "y2",
193
193
  "stroke",
194
194
  "stroke-width"
195
- ], kt = {
195
+ ], At = {
196
196
  key: 1,
197
197
  class: "line-axis"
198
- }, At = [
198
+ }, jt = [
199
199
  "x1",
200
200
  "x2",
201
201
  "y1",
202
202
  "y2",
203
203
  "stroke",
204
204
  "stroke-width"
205
- ], jt = [
205
+ ], Mt = [
206
206
  "x1",
207
207
  "x2",
208
208
  "y1",
209
209
  "y2",
210
210
  "stroke",
211
211
  "stroke-width"
212
- ], Mt = [
212
+ ], Nt = [
213
213
  "d",
214
214
  "stroke",
215
215
  "stroke-width"
216
- ], Nt = [
216
+ ], Pt = [
217
217
  "transform",
218
218
  "font-size",
219
219
  "fill"
220
- ], Pt = {
220
+ ], Ft = {
221
221
  key: 3,
222
222
  class: "periodLabels"
223
- }, Ft = [
223
+ }, It = [
224
224
  "x1",
225
225
  "x2",
226
226
  "y1",
227
227
  "y2",
228
228
  "stroke",
229
229
  "stroke-width"
230
- ], It = { key: 0 }, Lt = [
230
+ ], Lt = { key: 0 }, Rt = [
231
231
  "font-size",
232
232
  "text-anchor",
233
233
  "fill",
234
234
  "transform"
235
- ], Rt = [
235
+ ], zt = [
236
236
  "font-size",
237
237
  "text-anchor",
238
238
  "fill",
239
239
  "transform",
240
240
  "innerHTML"
241
- ], zt = { class: "plots" }, Bt = [
242
- "d",
243
- "stroke",
244
- "stroke-width"
245
- ], Vt = [
241
+ ], Bt = { class: "plots" }, Vt = [
246
242
  "d",
247
243
  "stroke",
248
244
  "stroke-width"
@@ -255,21 +251,25 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
255
251
  "stroke",
256
252
  "stroke-width"
257
253
  ], Wt = [
254
+ "d",
255
+ "stroke",
256
+ "stroke-width"
257
+ ], Gt = [
258
258
  "cx",
259
259
  "cy",
260
260
  "fill",
261
261
  "stroke"
262
- ], Gt = {
262
+ ], Kt = {
263
263
  key: 4,
264
264
  class: "dataLabels"
265
- }, Kt = [
265
+ }, qt = [
266
266
  "font-size",
267
267
  "fill",
268
268
  "transform"
269
- ], qt = {
269
+ ], Jt = {
270
270
  key: 5,
271
271
  class: "tooltip-traps"
272
- }, Jt = [
272
+ }, Yt = [
273
273
  "x",
274
274
  "y",
275
275
  "height",
@@ -278,70 +278,70 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
278
278
  "onMouseenter",
279
279
  "onMouseleave",
280
280
  "onClick"
281
- ], Yt = {
281
+ ], Xt = {
282
282
  key: 0,
283
283
  class: "line-grid"
284
- }, Xt = [
284
+ }, Zt = [
285
285
  "x1",
286
286
  "x2",
287
287
  "y1",
288
288
  "y2",
289
289
  "stroke",
290
290
  "stroke-width"
291
- ], Zt = [
291
+ ], Qt = [
292
292
  "x1",
293
293
  "x2",
294
294
  "y1",
295
295
  "y2",
296
296
  "stroke",
297
297
  "stroke-width"
298
- ], Qt = {
298
+ ], $t = {
299
299
  key: 1,
300
300
  class: "line-axis"
301
- }, $t = [
301
+ }, en = [
302
302
  "x1",
303
303
  "x2",
304
304
  "y1",
305
305
  "y2",
306
306
  "stroke",
307
307
  "stroke-width"
308
- ], en = [
308
+ ], tn = [
309
309
  "x1",
310
310
  "x2",
311
311
  "y1",
312
312
  "y2",
313
313
  "stroke",
314
314
  "stroke-width"
315
- ], tn = [
315
+ ], nn = [
316
316
  "d",
317
317
  "stroke",
318
318
  "stroke-width"
319
- ], nn = [
319
+ ], rn = [
320
320
  "transform",
321
321
  "font-size",
322
322
  "fill"
323
- ], rn = {
323
+ ], an = {
324
324
  key: 3,
325
325
  class: "periodLabels"
326
- }, an = [
326
+ }, on = [
327
327
  "x1",
328
328
  "x2",
329
329
  "y1",
330
330
  "y2",
331
331
  "stroke",
332
332
  "stroke-width"
333
- ], on = { key: 0 }, sn = [
333
+ ], sn = { key: 0 }, cn = [
334
334
  "font-size",
335
335
  "text-anchor",
336
336
  "fill",
337
337
  "transform"
338
- ], cn = [
338
+ ], ln = [
339
339
  "font-size",
340
340
  "text-anchor",
341
341
  "fill",
342
342
  "transform",
343
343
  "innerHTML"
344
- ], ln = { class: "plots" }, un = [
344
+ ], un = { class: "plots" }, dn = [
345
345
  "x",
346
346
  "width",
347
347
  "height",
@@ -349,17 +349,17 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
349
349
  "fill",
350
350
  "stroke",
351
351
  "stroke-width"
352
- ], dn = {
352
+ ], fn = {
353
353
  key: 4,
354
354
  class: "dataLabels"
355
- }, fn = [
355
+ }, pn = [
356
356
  "transform",
357
357
  "font-size",
358
358
  "fill"
359
- ], pn = {
359
+ ], mn = {
360
360
  key: 5,
361
361
  class: "tooltip-traps"
362
- }, mn = [
362
+ }, hn = [
363
363
  "x",
364
364
  "y",
365
365
  "height",
@@ -368,28 +368,28 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
368
368
  "onMouseenter",
369
369
  "onMouseleave",
370
370
  "onClick"
371
- ], hn = {
371
+ ], gn = {
372
372
  key: 6,
373
373
  class: "axis-labels"
374
- }, gn = [
374
+ }, _n = [
375
375
  "font-size",
376
376
  "fill",
377
377
  "x",
378
378
  "y"
379
- ], _n = [
379
+ ], vn = [
380
380
  "font-size",
381
381
  "fill",
382
382
  "x",
383
383
  "y"
384
- ], vn = [
384
+ ], yn = [
385
385
  "font-size",
386
386
  "fill",
387
387
  "transform"
388
- ], yn = [
388
+ ], bn = [
389
389
  "font-size",
390
390
  "fill",
391
391
  "transform"
392
- ], bn = {
392
+ ], xn = {
393
393
  key: 1,
394
394
  style: {
395
395
  position: "absolute",
@@ -399,13 +399,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
399
399
  },
400
400
  "data-dom-to-png-ignore": "",
401
401
  "aria-hidden": "true"
402
- }, xn = {
402
+ }, Sn = {
403
403
  key: 5,
404
404
  class: "vue-data-ui-watermark"
405
- }, Sn = ["id"], Cn = ["onClick", "onKeydown"], wn = ["onClick", "onKeydown"], Tn = ["onClick", "onKeydown"], En = {
405
+ }, Cn = ["id"], wn = ["onClick", "onKeydown"], Tn = ["onClick", "onKeydown"], En = ["onClick", "onKeydown"], Dn = {
406
406
  key: 1,
407
407
  class: "vue-ui-quick-chart-not-processable"
408
- }, Dn = /*#__PURE__*/ Ce({
408
+ }, On = /*#__PURE__*/ we({
409
409
  __name: "vue-ui-quick-chart",
410
410
  props: {
411
411
  config: {
@@ -431,44 +431,44 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
431
431
  "selectLegend",
432
432
  "copyAlt"
433
433
  ],
434
- setup(e, { expose: Ce, emit: We }) {
435
- let Ke = Fe(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), qe = Fe(() => import("./PackageVersion-ekRvV3aF.js").then((e) => e.t)), Ye = Fe(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Xe = Fe(() => import("./Tooltip-hhrkQ3Lk.js")), Ze = Fe(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), { vue_ui_quick_chart: Qe } = fe(), { isThemeValid: $e, warnInvalidTheme: et } = _e(), M = e, N = w(null), Dn = w(null), On = w(null), kn = w(null), P = w(oe()), F = w(!1), An = w(null), jn = w(""), I = w(null), Mn = w(null), Nn = w(null), L = w([]), Pn = w(0), Fn = w(0), In = w(!1), Ln = w(null), Rn = w(null), R = w(null), zn = w(null), Bn = w(null), Vn = w(null), Hn = Be(null), Un = w(!1), Wn = w(0), Gn = w(0), Kn = w(!1);
436
- function qn() {
437
- Hn.value = N.value?.parentNode ?? null;
438
- }
434
+ setup(e, { expose: we, emit: Ge }) {
435
+ let qe = Ie(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Je = Ie(() => import("./PackageVersion-CZZayD-D.js").then((e) => e.t)), Xe = Ie(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Ze = Ie(() => import("./Tooltip-hhrkQ3Lk.js")), Qe = Ie(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), { vue_ui_quick_chart: $e } = pe(), { isThemeValid: et, warnInvalidTheme: tt } = ve(), M = e, N = w(null), On = w(null), kn = w(null), An = w(null), P = w(se()), F = w(!1), jn = w(null), Mn = w(""), I = w(null), Nn = w(null), Pn = w(null), L = w([]), Fn = w(0), In = w(0), Ln = w(!1), Rn = w(null), zn = w(null), R = w(null), Bn = w(null), Vn = w(null), Hn = w(null), Un = Ve(null), Wn = w(!1), Gn = w(0), Kn = w(0), qn = w(!1);
439
436
  function Jn() {
437
+ Un.value = N.value?.parentNode ?? null;
438
+ }
439
+ function Yn() {
440
440
  return new Promise((e) => {
441
441
  requestAnimationFrame(() => {
442
442
  requestAnimationFrame(e);
443
443
  });
444
444
  });
445
445
  }
446
- async function Yn() {
447
- let e = ++Gn.value;
448
- Un.value = !1, await Le(), await Jn(), await Jn(), e === Gn.value && (Wn.value += 1, Un.value = !0);
446
+ async function Xn() {
447
+ let e = ++Kn.value;
448
+ Wn.value = !1, await Re(), await Yn(), await Yn(), e === Kn.value && (Gn.value += 1, Wn.value = !0);
449
449
  }
450
- function Xn() {
451
- Kn.value || (Kn.value = !0, Le(() => {
452
- Kn.value = !1, qn(), Yn();
450
+ function Zn() {
451
+ qn.value || (qn.value = !0, Re(() => {
452
+ qn.value = !1, Jn(), Xn();
453
453
  }));
454
454
  }
455
- let Zn = be({
456
- elementRef: Hn,
455
+ let Qn = xe({
456
+ elementRef: Un,
457
457
  minimumWidth: 2,
458
458
  minimumHeight: 2,
459
459
  stableFramesRequired: 2,
460
460
  once: !1,
461
461
  onSizeAccepted: () => {
462
- Yn();
462
+ Xn();
463
463
  }
464
464
  });
465
465
  w("#FFFFFF");
466
- let z = w(fr());
467
- le({
466
+ let z = w(pr());
467
+ ue({
468
468
  config: () => z.value,
469
469
  dataset: () => M.dataset,
470
470
  component: "VueUiQuickChart",
471
- rules: [ue.emptyArray, {
471
+ rules: [de.emptyArray, {
472
472
  test: () => !0,
473
473
  message: [
474
474
  "👀 This is a swiss-knife component. If you need more control, consider using dedicated components:",
@@ -479,13 +479,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
479
479
  ]
480
480
  }]
481
481
  });
482
- let { transitionEnabled: B } = ye({
482
+ let { transitionEnabled: B } = be({
483
483
  config: () => z.value.transitions,
484
484
  dataset: () => M.dataset
485
- }), Qn = h(() => z.value.debug), $n = h(() => z.value.useCursorPointer), V = w(null), er = w({
485
+ }), $n = h(() => z.value.debug), er = h(() => z.value.useCursorPointer), V = w(null), tr = w({
486
486
  x: 0,
487
487
  y: 0
488
- }), H = w("pointer"), tr = w(!1), nr = h(() => te({
488
+ }), H = w("pointer"), nr = w(!1), rr = h(() => u({
489
489
  dafaultConfig: {
490
490
  backgroundColor: "#99999930",
491
491
  customPalette: ["#BABABA"],
@@ -506,10 +506,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
506
506
  zoomEndIndex: null
507
507
  },
508
508
  userConfig: z.value.skeletonConfig ?? {}
509
- })), { loading: rr, FINAL_DATASET: ir, manualLoading: ar } = me({
510
- ...Ve(M),
509
+ })), { loading: ir, FINAL_DATASET: ar, manualLoading: or } = he({
510
+ ...He(M),
511
511
  FINAL_CONFIG: z,
512
- prepareConfig: fr,
512
+ prepareConfig: pr,
513
513
  skeletonDataset: M.config?.skeletonDataset ?? [
514
514
  1,
515
515
  2,
@@ -522,28 +522,28 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
522
522
  55,
523
523
  89
524
524
  ],
525
- skeletonConfig: te({
525
+ skeletonConfig: u({
526
526
  defaultConfig: z.value,
527
- userConfig: nr.value
527
+ userConfig: rr.value
528
528
  })
529
- }), { svgRef: or } = ke({ config: { text: z.value.title } }), sr = h(() => z.value.showUserOptionsOnChartHover), cr = h(() => z.value.keepUserOptionsStateOnChartLeave), lr = w(!z.value.showUserOptionsOnChartHover), ur = w(!1);
530
- function dr(e = !1) {
531
- ur.value = e, sr.value && (lr.value = e);
529
+ }), { svgRef: sr } = Ae({ config: { text: z.value.title } }), cr = h(() => z.value.showUserOptionsOnChartHover), lr = h(() => z.value.keepUserOptionsStateOnChartLeave), ur = w(!z.value.showUserOptionsOnChartHover), dr = w(!1);
530
+ function fr(e = !1) {
531
+ dr.value = e, cr.value && (ur.value = e);
532
532
  }
533
- function fr() {
534
- let e = ge({
533
+ function pr() {
534
+ let e = _e({
535
535
  userConfig: M.config,
536
- defaultConfig: Qe
536
+ defaultConfig: $e
537
537
  }), t = {}, n = e.theme;
538
538
  if (n) {
539
- if (!$e.value(e)) et(e), t = e;
539
+ if (!et.value(e)) tt(e), t = e;
540
540
  else {
541
- let i = ge({
542
- userConfig: Ae[n] || M.config,
541
+ let i = _e({
542
+ userConfig: je[n] || M.config,
543
543
  defaultConfig: e
544
544
  });
545
545
  t = {
546
- ...ge({
546
+ ..._e({
547
547
  userConfig: M.config,
548
548
  defaultConfig: i
549
549
  }),
@@ -553,17 +553,29 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
553
553
  } else t = e;
554
554
  return t;
555
555
  }
556
- He(() => M.config, (e) => {
557
- rr.value || (z.value = fr()), K.value.width = z.value.width, K.value.height = z.value.height, lr.value = !z.value.showUserOptionsOnChartHover, Cr(), xr.value.showTooltip = z.value.showTooltip;
558
- }, { deep: !0 }), He(() => M.dataset, (e) => {
559
- W.value = mr.value, X.value.start = 0, X.value.end = W.value.maxSeriesLength, Fn.value += 1, Xn();
560
- }, { deep: !0 }), He(() => M.dataset, (e) => {
561
- Array.isArray(e) && e.length > 0 && (ar.value = !1);
556
+ function mr(e) {
557
+ let t = te(e);
558
+ return t?.tooltipPosition && delete t.tooltipPosition, JSON.stringify(t);
559
+ }
560
+ let hr = mr(M.config);
561
+ Ue(() => M.config, (e, t) => {
562
+ let n = mr(e), r = n !== hr;
563
+ hr = n;
564
+ let i = pr();
565
+ if (!r) {
566
+ z.value.tooltipPosition = i.tooltipPosition, wr.value.showTooltip = z.value.showTooltip;
567
+ return;
568
+ }
569
+ ir.value || (z.value = i), K.value.width = z.value.width, K.value.height = z.value.height, ur.value = !z.value.showUserOptionsOnChartHover, Er(), wr.value.showTooltip = z.value.showTooltip;
570
+ }, { deep: !0 }), Ue(() => M.dataset, (e) => {
571
+ W.value = _r.value, X.value.start = 0, X.value.end = W.value.maxSeriesLength, In.value += 1, Zn();
572
+ }, { deep: !0 }), Ue(() => M.dataset, (e) => {
573
+ Array.isArray(e) && e.length > 0 && (or.value = !1);
562
574
  }, { immediate: !0 });
563
- let pr = h(() => ce(z.value.customPalette)), U = We, mr = h(() => {
564
- let e = Ge({
565
- debug: Qn.value,
566
- dataset: s(ir.value, [
575
+ let gr = h(() => le(z.value.customPalette)), U = Ge, _r = h(() => {
576
+ let e = Ke({
577
+ debug: $n.value,
578
+ dataset: s(ar.value, [
567
579
  "serie",
568
580
  "series",
569
581
  "data",
@@ -573,53 +585,53 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
573
585
  ]),
574
586
  barLineSwitch: z.value.chartIsBarUnderDatasetLength
575
587
  });
576
- return !e && Qn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
577
- }), W = w(mr.value), hr = h(() => !!W.value), G = h(() => W.value ? W.value.type : null);
578
- He(() => G.value, (e) => {
588
+ return !e && $n.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
589
+ }), W = w(_r.value), vr = h(() => !!W.value), G = h(() => W.value ? W.value.type : null);
590
+ Ue(() => G.value, (e) => {
579
591
  e || ae({
580
592
  componentName: "VueUiQuickChart",
581
593
  type: "dataset",
582
- debug: Qn.value
594
+ debug: $n.value
583
595
  });
584
596
  }, { immediate: !0 });
585
- let { isPrinting: gr, isImaging: _r, generatePdf: vr, generateImage: yr } = pe({
597
+ let { isPrinting: yr, isImaging: br, generatePdf: xr, generateImage: Sr } = me({
586
598
  elementId: `${G.value}_${P.value}`,
587
599
  fileName: z.value.title || G.value,
588
600
  options: z.value.userOptionsPrint
589
- }), br = h(() => z.value.showUserOptions && !z.value.title), K = w({
601
+ }), Cr = h(() => z.value.showUserOptions && !z.value.title), K = w({
590
602
  width: z.value.width,
591
603
  height: z.value.height
592
- }), xr = w({ showTooltip: z.value.showTooltip });
593
- He(z, () => {
594
- xr.value = { showTooltip: z.value.showTooltip };
604
+ }), wr = w({ showTooltip: z.value.showTooltip });
605
+ Ue(z, () => {
606
+ wr.value = { showTooltip: z.value.showTooltip };
595
607
  }, { immediate: !0 });
596
- let q = Be(null), Sr = Be(null);
597
- ze(() => {
598
- In.value = !0, qn(), Zn.start(), Cr(), Yn();
608
+ let q = Ve(null), Tr = Ve(null);
609
+ Be(() => {
610
+ Ln.value = !0, Jn(), Qn.start(), Er(), Xn();
599
611
  });
600
- function Cr() {
601
- if (o(M.dataset) || (ar.value = z.value.loading), z.value.responsive) {
602
- let e = we(() => {
603
- let { width: e, height: t } = Te({
612
+ function Er() {
613
+ if (o(M.dataset) || (or.value = z.value.loading), z.value.responsive) {
614
+ let e = Te(() => {
615
+ let { width: e, height: t } = Ee({
604
616
  chart: N.value,
605
- title: z.value.title ? Dn.value : null,
606
- legend: z.value.showLegend ? On.value : null,
607
- slicer: [A.BAR, A.LINE].includes(G.value) && z.value.zoomXy && W.value.maxSeriesLength > 1 ? kn.value : null,
608
- source: Mn.value,
609
- noTitle: Nn.value
617
+ title: z.value.title ? On.value : null,
618
+ legend: z.value.showLegend ? kn.value : null,
619
+ slicer: [A.BAR, A.LINE].includes(G.value) && z.value.zoomXy && W.value.maxSeriesLength > 1 ? An.value : null,
620
+ source: Nn.value,
621
+ noTitle: Pn.value
610
622
  });
611
623
  requestAnimationFrame(() => {
612
- K.value.width = e, K.value.height = t, Xn();
624
+ K.value.width = e, K.value.height = t, Zn();
613
625
  });
614
626
  });
615
- q.value && (Sr.value && q.value.unobserve(Sr.value), q.value.disconnect()), q.value = new ResizeObserver(e), Sr.value = N.value.parentNode, q.value.observe(Sr.value);
627
+ q.value && (Tr.value && q.value.unobserve(Tr.value), q.value.disconnect()), q.value = new ResizeObserver(e), Tr.value = N.value.parentNode, q.value.observe(Tr.value);
616
628
  }
617
- Lr(), Xn();
629
+ Br(), Zn();
618
630
  }
619
- Re(() => {
620
- Zn.stop(), q.value && (Sr.value && q.value.unobserve(Sr.value), q.value.disconnect(), q.value = null, Sr.value = null);
631
+ ze(() => {
632
+ Qn.stop(), q.value && (Tr.value && q.value.unobserve(Tr.value), q.value.disconnect(), q.value = null, Tr.value = null);
621
633
  });
622
- let wr = h(() => {
634
+ let Dr = h(() => {
623
635
  switch (G.value) {
624
636
  case A.LINE: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
625
637
  case A.BAR: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
@@ -627,13 +639,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
627
639
  default: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
628
640
  }
629
641
  });
630
- function Tr(e) {
642
+ function Or(e) {
631
643
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
632
644
  }
633
- function Er(e) {
645
+ function kr(e) {
634
646
  return z.value.blurOnHover && ![null, void 0].includes(I.value) && I.value !== e ? `url(#blur_${P.value})` : "";
635
647
  }
636
- function Dr() {
648
+ function Ar() {
637
649
  L.value.length ? L.value = [] : G.value === A.DONUT ? Y.value.legend.forEach((e) => {
638
650
  L.value.push(e.id);
639
651
  }) : G.value === A.LINE ? Z.value.legend.forEach((e) => {
@@ -642,17 +654,17 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
642
654
  L.value.push(e.id);
643
655
  }), G.value === A.DONUT ? U("selectLegend", Y.value.dataset) : G.value === A.LINE ? U("selectLegend", Z.value.dataset) : G.value === A.BAR && U("selectLegend", Q.value.dataset);
644
656
  }
645
- function Or(e, t) {
657
+ function jr(e, t) {
646
658
  L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < t && L.value.push(e);
647
659
  }
648
- let kr = w(null), Ar = w(null), jr = w(!1);
649
- function Mr(e, t) {
650
- jr.value = !0;
651
- let n = e.value, r = mr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
660
+ let Mr = w(null), Nr = w(null), Pr = w(!1);
661
+ function Fr(e, t) {
662
+ Pr.value = !0;
663
+ let n = e.value, r = _r.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
652
664
  if (L.value.includes(e.id)) {
653
665
  L.value = L.value.filter((t) => t !== e.id);
654
666
  function t() {
655
- n > r ? (jr.value = !1, cancelAnimationFrame(Ar.value), W.value = {
667
+ n > r ? (Pr.value = !1, cancelAnimationFrame(Nr.value), W.value = {
656
668
  ...W.value,
657
669
  dataset: W.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
658
670
  ...t,
@@ -666,12 +678,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
666
678
  value: n,
667
679
  VALUE: n
668
680
  } : t)
669
- }, Ar.value = requestAnimationFrame(t));
681
+ }, Nr.value = requestAnimationFrame(t));
670
682
  }
671
683
  t();
672
684
  } else if (t.length > 1) {
673
685
  function t() {
674
- n < r / 100 ? (jr.value = !1, cancelAnimationFrame(kr.value), L.value.push(e.id), W.value = {
686
+ n < r / 100 ? (Pr.value = !1, cancelAnimationFrame(Mr.value), L.value.push(e.id), W.value = {
675
687
  ...W.value,
676
688
  dataset: W.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
677
689
  ...t,
@@ -685,16 +697,16 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
685
697
  value: n,
686
698
  VALUE: n
687
699
  } : t)
688
- }, kr.value = requestAnimationFrame(t));
700
+ }, Mr.value = requestAnimationFrame(t));
689
701
  }
690
702
  t();
691
703
  } else U("selectLegend", Y.value.dataset);
692
704
  }
693
705
  let J = w(null);
694
- function Nr(e) {
706
+ function Ir(e) {
695
707
  J.value = e;
696
708
  }
697
- let Pr = h(() => z.value.donutThicknessRatio < .01 ? .01 : z.value.donutThicknessRatio > .4 ? .4 : z.value.donutThicknessRatio), Y = h(() => {
709
+ let Lr = h(() => z.value.donutThicknessRatio < .01 ? .01 : z.value.donutThicknessRatio > .4 ? .4 : z.value.donutThicknessRatio), Y = h(() => {
698
710
  if (G.value !== A.DONUT) return null;
699
711
  let e = W.value.dataset.map((e, t) => ({
700
712
  ...e,
@@ -703,12 +715,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
703
715
  id: `donut_${t}`
704
716
  })).map((e, t) => ({
705
717
  ...e,
706
- color: e.COLOR ? ee(e.COLOR) : pr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
718
+ color: e.COLOR ? ee(e.COLOR) : gr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
707
719
  immutableValue: e.value
708
720
  }));
709
721
  function n(e, t) {
710
722
  return c({
711
- v: isNaN(e.value / Tr(t)) ? 0 : e.value / Tr(t) * 100,
723
+ v: isNaN(e.value / Or(t)) ? 0 : e.value / Or(t) * 100,
712
724
  s: "%",
713
725
  r: z.value.dataLabelRoundingPercentage
714
726
  });
@@ -717,11 +729,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
717
729
  return e.proportion * 100 > z.value.donutHideLabelUnderPercentage;
718
730
  }
719
731
  function o(e, t) {
720
- let n = mr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
732
+ let n = _r.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
721
733
  return Math.abs(String(Number(n.toFixed(0))).length - String(Number(t.toFixed(0))).length);
722
734
  }
723
735
  function s({ datapoint: n, seriesIndex: r, triggerMode: i = "pointer" }) {
724
- An.value = {
736
+ jn.value = {
725
737
  datapoint: n,
726
738
  seriesIndex: r,
727
739
  config: z.value,
@@ -736,7 +748,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
736
748
  seriesIndex: r,
737
749
  series: e,
738
750
  config: z.value
739
- }))) jn.value = a({
751
+ }))) Mn.value = a({
740
752
  datapoint: n,
741
753
  seriesIndex: r,
742
754
  series: e,
@@ -744,7 +756,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
744
756
  });
745
757
  else {
746
758
  let e = "";
747
- e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.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="${n.color}"/></svg>`, e += `<b>${f(z.value.formatter, n.value, c({
759
+ e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.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="${n.color}"/></svg>`, e += `<b>${p(z.value.formatter, n.value, c({
748
760
  p: z.value.valuePrefix,
749
761
  v: n.value,
750
762
  s: z.value.valueSuffix,
@@ -756,7 +768,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
756
768
  v: n.proportion * 100,
757
769
  s: "%",
758
770
  r: z.value.dataLabelRoundingPercentage
759
- })})</span></div>`, jn.value = `<div>${e}</div>`;
771
+ })})</span></div>`, Mn.value = `<div>${e}</div>`;
760
772
  }
761
773
  F.value = !0;
762
774
  }
@@ -772,56 +784,56 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
772
784
  seriesIndex: t
773
785
  }), U("selectDatapoint", e);
774
786
  }
775
- let ne = {
787
+ let u = {
776
788
  centerX: K.value.width / 2,
777
789
  centerY: K.value.height / 2
778
- }, u = e.filter((e) => !L.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0), d = e.map((e, t) => ({
790
+ }, ne = e.filter((e) => !L.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0), d = e.map((e, t) => ({
779
791
  ...e,
780
- proportion: (e.value || 0) / u,
792
+ proportion: (e.value || 0) / ne,
781
793
  value: e.value || 0,
782
- absoluteValue: mr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
794
+ absoluteValue: _r.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
783
795
  shape: "circle"
784
- })), re = K.value.width / 2, ae = K.value.height / 2, p = K.value.height * z.value.donutRadiusRatio;
796
+ })), f = K.value.width / 2, re = K.value.height / 2, ae = K.value.height * z.value.donutRadiusRatio;
785
797
  return {
786
798
  dataset: d.filter((e) => !L.value.includes(e.id)),
787
799
  legend: d,
788
- drawingArea: ne,
800
+ drawingArea: u,
789
801
  displayArcPercentage: n,
790
802
  isArcBigEnough: a,
791
803
  useTooltip: s,
792
804
  killTooltip: l,
793
805
  selectDatapoint: te,
794
806
  getSpaces: o,
795
- total: u,
796
- cx: re,
797
- cy: ae,
798
- radius: p,
799
- chart: i({ series: e.filter((e) => !L.value.includes(e.id)) }, re, ae, p, p, 1.99999, 2, 1, 360, 105.25, K.value.height * Pr.value)
807
+ total: ne,
808
+ cx: f,
809
+ cy: re,
810
+ radius: ae,
811
+ chart: i({ series: e.filter((e) => !L.value.includes(e.id)) }, f, re, ae, ae, 1.99999, 2, 1, 360, 105.25, K.value.height * Lr.value)
800
812
  };
801
813
  }), X = w({
802
814
  start: 0,
803
815
  end: W.value.maxSeriesLength
804
816
  });
805
- function Fr() {
806
- Lr();
817
+ function Rr() {
818
+ Br();
807
819
  }
808
- let Ir = w(null);
809
- async function Lr() {
810
- await Le(), await Le();
811
- let { zoomStartIndex: e, zoomEndIndex: t } = z.value, n = Ir.value;
812
- (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Rr(t + 1))) : (X.value = {
820
+ let zr = w(null);
821
+ async function Br() {
822
+ await Re(), await Re();
823
+ let { zoomStartIndex: e, zoomEndIndex: t } = z.value, n = zr.value;
824
+ (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Vr(t + 1))) : (X.value = {
813
825
  start: 0,
814
826
  end: W.value.maxSeriesLength
815
- }, Fn.value += 1), Xn();
827
+ }, In.value += 1), Zn();
816
828
  }
817
- function Rr(e) {
829
+ function Vr(e) {
818
830
  let t = W.value.maxSeriesLength;
819
831
  return e > t ? t : e < 0 || z.value.zoomStartIndex !== null && e < z.value.zoomStartIndex ? z.value.zoomStartIndex === null ? 1 : z.value.zoomStartIndex + 1 : e;
820
832
  }
821
- let zr = h(() => {
833
+ let Hr = h(() => {
822
834
  if (!z.value.zoomMinimap.show || G.value === A.DONUT) return [];
823
835
  let e = [];
824
- j(W.value.dataset) && (e = W.value.dataset), Je(W.value.dataset) && (e = W.value.dataset.map((e, t) => ({
836
+ j(W.value.dataset) && (e = W.value.dataset), Ye(W.value.dataset) && (e = W.value.dataset.map((e, t) => ({
825
837
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
826
838
  id: G.value === A.LINE ? `line_${t}` : `bar_${t}`
827
839
  })).filter((e) => !L.value.includes(e.id)));
@@ -831,36 +843,36 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
831
843
  let r = Math.min(...n);
832
844
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
833
845
  });
834
- function Br() {
846
+ function Ur() {
835
847
  let e = 0;
836
- return zn.value && (e = Array.from(zn.value.querySelectorAll("text")).reduce((e, t) => {
848
+ return Bn.value && (e = Array.from(Bn.value.querySelectorAll("text")).reduce((e, t) => {
837
849
  let n = t.getComputedTextLength();
838
850
  return n > e ? n : e;
839
851
  }, 0)), e + 4;
840
852
  }
841
- let Vr = w(0), Hr = we((e) => {
842
- Vr.value = e;
853
+ let Wr = w(0), Gr = Te((e) => {
854
+ Wr.value = e;
843
855
  }, 100);
844
- Ue((e) => {
856
+ We((e) => {
845
857
  let t = R.value;
846
858
  if (!t) return;
847
859
  let n = new ResizeObserver((e) => {
848
- Hr(e[0].contentRect.height);
860
+ Gr(e[0].contentRect.height);
849
861
  });
850
862
  n.observe(t), e(() => n.disconnect());
851
- }), Re(() => {
852
- Vr.value = 0;
863
+ }), ze(() => {
864
+ Wr.value = 0;
853
865
  });
854
- let Ur = h(() => {
866
+ let Kr = h(() => {
855
867
  let e = 0;
856
- return R.value && (e = Vr.value), 0 + e;
868
+ return R.value && (e = Wr.value), 0 + e;
857
869
  }), Z = h(() => {
858
870
  if (G.value !== A.LINE) return null;
859
- Wn.value;
871
+ Gn.value;
860
872
  let e = {
861
873
  height: K.value.height,
862
874
  width: K.value.width
863
- }, n = Br();
875
+ }, n = Ur();
864
876
  if (R.value) {
865
877
  let e = R.value.getBBox().x;
866
878
  e < 0 && (n += Math.abs(e));
@@ -869,25 +881,25 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
869
881
  left: n + z.value.xyPaddingLeft,
870
882
  top: z.value.xyPaddingTop,
871
883
  right: e.width - z.value.xyPaddingRight,
872
- bottom: e.height - z.value.xyPaddingBottom - Ur.value,
884
+ bottom: e.height - z.value.xyPaddingBottom - Kr.value,
873
885
  width: Math.max(10, e.width - z.value.xyPaddingLeft - z.value.xyPaddingRight - n),
874
- height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - Ur.value)
886
+ height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - Kr.value)
875
887
  }, a = [];
876
888
  j(W.value.dataset) && (a = [{
877
889
  values: W.value.dataset.slice(X.value.start, X.value.end),
878
890
  absoluteValues: W.value.dataset,
879
891
  absoluteIndices: W.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
880
892
  name: z.value.title,
881
- color: pr.value[z.value.paletteStartIndex] || r[z.value.paletteStartIndex],
893
+ color: gr.value[z.value.paletteStartIndex] || r[z.value.paletteStartIndex],
882
894
  id: "line_0"
883
- }]), Je(W.value.dataset) && (a = W.value.dataset.map((e, t) => ({
895
+ }]), Ye(W.value.dataset) && (a = W.value.dataset.map((e, t) => ({
884
896
  ...e,
885
897
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
886
898
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
887
899
  id: `line_${t}`
888
900
  })).map((e, t) => ({
889
901
  ...e,
890
- color: e.COLOR ? ee(e.COLOR) : pr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
902
+ color: e.COLOR ? ee(e.COLOR) : gr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
891
903
  values: e.values.slice(X.value.start, X.value.end),
892
904
  absoluteValues: e.values,
893
905
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -900,7 +912,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
900
912
  y: i.bottom - i.height * ((e + l) / (s.max + l)),
901
913
  x: i.left - 8,
902
914
  value: e
903
- })), re = a.map((e, t) => ({
915
+ })), f = a.map((e, t) => ({
904
916
  ...e,
905
917
  shape: "circle",
906
918
  coordinates: e.values.map((e, t) => ({
@@ -917,17 +929,17 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
917
929
  linePath: t.join(" ")
918
930
  };
919
931
  });
920
- function ae(e) {
932
+ function re(e) {
921
933
  return a.map((t) => ({
922
934
  ...t,
923
935
  value: t.values[e],
924
936
  absoluteIndex: t.absoluteIndices[e]
925
937
  })).filter((e) => !L.value.includes(e.id));
926
938
  }
927
- function p(e, n = "pointer") {
939
+ function ae(e, n = "pointer") {
928
940
  I.value = e, J.value = e, V.value = e, H.value = n;
929
- let r = ae(e);
930
- An.value = {
941
+ let r = re(e);
942
+ jn.value = {
931
943
  datapoint: r,
932
944
  seriesIndex: e,
933
945
  config: z.value,
@@ -942,7 +954,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
942
954
  seriesIndex: e,
943
955
  series: a,
944
956
  config: z.value
945
- }))) jn.value = i({
957
+ }))) Mn.value = i({
946
958
  datapoint: r,
947
959
  seriesIndex: e,
948
960
  series: a,
@@ -955,7 +967,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
955
967
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
956
968
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>
957
969
  <span>${t.name}:</span>
958
- <b>${f(z.value.formatter, t.value, c({
970
+ <b>${p(z.value.formatter, t.value, c({
959
971
  p: z.value.valuePrefix,
960
972
  v: t.value,
961
973
  s: z.value.valueSuffix,
@@ -967,19 +979,19 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
967
979
  </b>
968
980
  </div>
969
981
  `;
970
- }), jn.value = e;
982
+ }), Mn.value = e;
971
983
  }
972
984
  F.value = !0;
973
985
  }
974
986
  function oe(e) {
975
- let t = ae(e);
987
+ let t = re(e);
976
988
  z.value.events.datapointLeave && z.value.events.datapointLeave({
977
989
  datapoint: t,
978
990
  seriesIndex: e + X.value.start
979
991
  }), I.value = null, J.value = null, F.value = !1, V.value = null, H.value = "pointer";
980
992
  }
981
993
  function se(e) {
982
- let t = ae(e);
994
+ let t = re(e);
983
995
  z.value.events.datapointClick && z.value.events.datapointClick({
984
996
  datapoint: t,
985
997
  seriesIndex: e + X.value.start
@@ -987,23 +999,23 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
987
999
  }
988
1000
  return {
989
1001
  absoluteZero: te,
990
- dataset: re.filter((e) => !L.value.includes(e.id)),
991
- legend: re,
1002
+ dataset: f.filter((e) => !L.value.includes(e.id)),
1003
+ legend: f,
992
1004
  drawingArea: i,
993
1005
  extremes: o,
994
1006
  slotSize: u,
995
1007
  yLabels: d,
996
- useTooltip: p,
1008
+ useTooltip: ae,
997
1009
  killTooltip: oe,
998
1010
  selectDatapoint: se
999
1011
  };
1000
1012
  }), Q = h(() => {
1001
1013
  if (G.value !== A.BAR) return null;
1002
- Wn.value;
1014
+ Gn.value;
1003
1015
  let e = {
1004
1016
  height: K.value.height,
1005
1017
  width: K.value.width
1006
- }, n = Br();
1018
+ }, n = Ur();
1007
1019
  if (R.value) {
1008
1020
  let e = R.value.getBBox().x;
1009
1021
  e < 0 && (n += Math.abs(e));
@@ -1012,25 +1024,25 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1012
1024
  left: n + z.value.xyPaddingLeft,
1013
1025
  top: z.value.xyPaddingTop,
1014
1026
  right: e.width - z.value.xyPaddingRight,
1015
- bottom: e.height - z.value.xyPaddingBottom - Ur.value,
1027
+ bottom: e.height - z.value.xyPaddingBottom - Kr.value,
1016
1028
  width: Math.max(10, e.width - z.value.xyPaddingLeft - z.value.xyPaddingRight - n),
1017
- height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - Ur.value)
1029
+ height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - Kr.value)
1018
1030
  }, a = [];
1019
1031
  j(W.value.dataset) && (a = [{
1020
1032
  values: W.value.dataset.slice(X.value.start, X.value.end),
1021
1033
  absoluteValues: W.value.dataset,
1022
1034
  absoluteIndices: W.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
1023
1035
  name: z.value.title,
1024
- color: pr.value[z.value.paletteStartIndex] || r[z.value.paletteStartIndex],
1036
+ color: gr.value[z.value.paletteStartIndex] || r[z.value.paletteStartIndex],
1025
1037
  id: "bar_0"
1026
- }]), Je(W.value.dataset) && (a = W.value.dataset.map((e, t) => ({
1038
+ }]), Ye(W.value.dataset) && (a = W.value.dataset.map((e, t) => ({
1027
1039
  ...e,
1028
1040
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
1029
1041
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
1030
1042
  id: `bar_${t}`
1031
1043
  })).map((e, t) => ({
1032
1044
  ...e,
1033
- color: e.COLOR ? ee(e.COLOR) : pr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
1045
+ color: e.COLOR ? ee(e.COLOR) : gr.value[t + z.value.paletteStartIndex] || r[t + z.value.paletteStartIndex] || r[(t + z.value.paletteStartIndex) % r.length],
1034
1046
  values: e.values.slice(X.value.start, X.value.end),
1035
1047
  absoluteValues: e.values,
1036
1048
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -1043,7 +1055,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1043
1055
  y: i.bottom - i.height * ((e + l) / (s.max + l)),
1044
1056
  x: i.left - 8,
1045
1057
  value: e
1046
- })), re = a.map((e, t) => ({
1058
+ })), f = a.map((e, t) => ({
1047
1059
  ...e,
1048
1060
  shape: "square",
1049
1061
  coordinates: e.values.map((e, n) => {
@@ -1056,7 +1068,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1056
1068
  width: c
1057
1069
  };
1058
1070
  })
1059
- })), ae = a.filter((e) => !L.value.includes(e.id)).map((e, t) => ({
1071
+ })), re = a.filter((e) => !L.value.includes(e.id)).map((e, t) => ({
1060
1072
  ...e,
1061
1073
  coordinates: e.values.map((e, n) => {
1062
1074
  let r = (e + l) / (o.max + l) * i.height, ee = Math.abs(e) / (o.max + l) * i.height, s = l / (o.max + l) * i.height, c = u / a.filter((e) => !L.value.includes(e.id)).length - z.value.barGap / a.filter((e) => !L.value.includes(e.id)).length;
@@ -1069,7 +1081,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1069
1081
  };
1070
1082
  })
1071
1083
  }));
1072
- function p(e) {
1084
+ function ae(e) {
1073
1085
  return a.map((t) => ({
1074
1086
  ...t,
1075
1087
  value: t.values[e],
@@ -1078,8 +1090,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1078
1090
  }
1079
1091
  function oe(e, n = "pointer") {
1080
1092
  I.value = e, J.value = e, V.value = e, H.value = n;
1081
- let r = p(e);
1082
- An.value = {
1093
+ let r = ae(e);
1094
+ jn.value = {
1083
1095
  datapoint: r,
1084
1096
  seriesIndex: e,
1085
1097
  config: z.value,
@@ -1094,7 +1106,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1094
1106
  seriesIndex: e,
1095
1107
  series: a,
1096
1108
  config: z.value
1097
- }))) jn.value = i({
1109
+ }))) Mn.value = i({
1098
1110
  point: r,
1099
1111
  seriesIndex: e,
1100
1112
  series: a,
@@ -1107,7 +1119,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1107
1119
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
1108
1120
  <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>
1109
1121
  <span>${t.name}:</span>
1110
- <b>${f(z.value.formatter, t.value, c({
1122
+ <b>${p(z.value.formatter, t.value, c({
1111
1123
  p: z.value.valuePrefix,
1112
1124
  v: t.value,
1113
1125
  s: z.value.valueSuffix,
@@ -1119,19 +1131,19 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1119
1131
  </b>
1120
1132
  </div>
1121
1133
  `;
1122
- }), jn.value = e;
1134
+ }), Mn.value = e;
1123
1135
  }
1124
1136
  F.value = !0;
1125
1137
  }
1126
1138
  function se(e) {
1127
- let t = p(e);
1139
+ let t = ae(e);
1128
1140
  z.value.events.datapointLeave && z.value.events.datapointLeave({
1129
1141
  datapoint: t,
1130
1142
  seriesIndex: e + X.value.start
1131
1143
  }), F.value = !1, I.value = null, J.value = null, V.value = null, H.value = "pointer";
1132
1144
  }
1133
1145
  function ce(e) {
1134
- let t = p(e);
1146
+ let t = ae(e);
1135
1147
  z.value.events.datapointClick && z.value.events.datapointClick({
1136
1148
  datapoint: t,
1137
1149
  seriesIndex: e + X.value.start
@@ -1139,9 +1151,9 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1139
1151
  }
1140
1152
  return {
1141
1153
  absoluteZero: te,
1142
- dataset: ae.filter((e) => !L.value.includes(e.id)),
1143
- absoluteDataset: ae,
1144
- legend: re,
1154
+ dataset: re.filter((e) => !L.value.includes(e.id)),
1155
+ absoluteDataset: re,
1156
+ legend: f,
1145
1157
  drawingArea: i,
1146
1158
  extremes: o,
1147
1159
  slotSize: u,
@@ -1150,13 +1162,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1150
1162
  killTooltip: se,
1151
1163
  selectDatapoint: ce
1152
1164
  };
1153
- }), Wr = h(() => G.value === A.LINE ? Z.value?.drawingArea ?? null : G.value === A.BAR ? Q.value?.drawingArea ?? null : null), Gr = h(() => {
1154
- let e = Wr.value, t = K.value.width;
1165
+ }), qr = h(() => G.value === A.LINE ? Z.value?.drawingArea ?? null : G.value === A.BAR ? Q.value?.drawingArea ?? null : null), Jr = h(() => {
1166
+ let e = qr.value, t = K.value.width;
1155
1167
  return !e || t <= 0 || !z.value.zoomXyAutoFit ? null : e.left / t;
1156
- }), Kr = h(() => {
1157
- let e = Wr.value, t = K.value.width;
1168
+ }), Yr = h(() => {
1169
+ let e = qr.value, t = K.value.width;
1158
1170
  return !e || t <= 0 || !z.value.zoomXyAutoFit ? null : (t - e.right) / t;
1159
- }), qr = h(() => {
1171
+ }), Xr = h(() => {
1160
1172
  if (G.value === A.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1161
1173
  ...e,
1162
1174
  isVisible: !L.value.includes(e.id),
@@ -1169,37 +1181,37 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1169
1181
  type: "bar",
1170
1182
  series: e.absoluteValues
1171
1183
  }));
1172
- }), $ = w([]), Jr = 0;
1173
- Ue(() => {
1174
- let e = ++Jr;
1184
+ }), $ = w([]), Zr = 0;
1185
+ We(() => {
1186
+ let e = ++Zr;
1175
1187
  (async () => {
1176
- let t = await de({
1188
+ let t = await fe({
1177
1189
  values: z.value.xyPeriods,
1178
1190
  maxDatapoints: W.value.maxSeriesLength,
1179
1191
  formatter: z.value.datetimeFormatter,
1180
1192
  start: X.value.start,
1181
1193
  end: X.value.end
1182
1194
  });
1183
- e === Jr && ($.value = t);
1195
+ e === Zr && ($.value = t);
1184
1196
  })();
1185
1197
  });
1186
- let Yr = h(() => {
1198
+ let Qr = h(() => {
1187
1199
  let e = z.value.xyPeriodsModulo;
1188
1200
  return z.value.xyPeriods.length ? Math.min(e, [...new Set($.value.map((e) => e.text))].length) : e;
1189
- }), Xr = w(!1);
1190
- function Zr(e) {
1191
- Xr.value = e, Pn.value += 1;
1201
+ }), $r = w(!1);
1202
+ function ei(e) {
1203
+ $r.value = e, Fn.value += 1;
1192
1204
  }
1193
- function Qr() {
1194
- xr.value.showTooltip = !xr.value.showTooltip;
1205
+ function ti() {
1206
+ wr.value.showTooltip = !wr.value.showTooltip;
1195
1207
  }
1196
- let $r = w(!1);
1197
- function ei() {
1198
- $r.value = !$r.value;
1208
+ let ni = w(!1);
1209
+ function ri() {
1210
+ ni.value = !ni.value;
1199
1211
  }
1200
- async function ti({ scale: e = 2 } = {}) {
1212
+ async function ii({ scale: e = 2 } = {}) {
1201
1213
  if (!N.value) return;
1202
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
1214
+ let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
1203
1215
  domElement: N.value,
1204
1216
  base64: !0,
1205
1217
  img: !0,
@@ -1214,8 +1226,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1214
1226
  aspectRatio: r
1215
1227
  };
1216
1228
  }
1217
- let ni = h(() => K.value.width), ri = h(() => K.value.height);
1218
- xe({
1229
+ let ai = h(() => K.value.width), oi = h(() => K.value.height);
1230
+ Se({
1219
1231
  timeLabelsEls: R,
1220
1232
  timeLabels: $,
1221
1233
  slicer: X,
@@ -1224,33 +1236,33 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1224
1236
  autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
1225
1237
  isAutoSize: !1,
1226
1238
  rotation: z.value.xyPeriodLabelsAutoRotate.angle,
1227
- height: ri.value,
1228
- width: ni.value
1239
+ height: oi.value,
1240
+ width: ai.value
1229
1241
  });
1230
- let ii = h(() => z.value.backgroundColor), ai = h(() => G.value === A.DONUT ? Y.value.legend : G.value === A.LINE ? Z.value.legend : Q.value.legend), oi = h(() => ({
1242
+ let si = h(() => z.value.backgroundColor), ci = h(() => G.value === A.DONUT ? Y.value.legend : G.value === A.LINE ? Z.value.legend : Q.value.legend), li = h(() => ({
1231
1243
  show: z.value.showLegend,
1232
1244
  bold: !1,
1233
1245
  backgroundColor: z.value.backgroundColor,
1234
1246
  color: z.value.color,
1235
1247
  fontSize: z.value.legendFontSize,
1236
1248
  position: z.value.legendPosition
1237
- })), si = h(() => ({
1249
+ })), ui = h(() => ({
1238
1250
  text: z.value.title,
1239
1251
  color: z.value.color,
1240
1252
  fontSize: z.value.titleFontSize,
1241
1253
  bold: z.value.titleBold,
1242
1254
  textAlign: z.value.titleTextAlign,
1243
1255
  subtitle: { text: "" }
1244
- })), { generateSvg: ci, onGenerateImage: li } = ve({
1245
- svg: or,
1246
- title: si,
1247
- legend: oi,
1248
- legendItems: ai,
1249
- backgroundColor: ii,
1256
+ })), { generateSvg: di, onGenerateImage: fi } = ye({
1257
+ svg: sr,
1258
+ title: ui,
1259
+ legend: li,
1260
+ legendItems: ci,
1261
+ backgroundColor: si,
1250
1262
  getSvgCallback: () => z.value.userOptionsCallbacks.svg,
1251
- generateImage: yr
1263
+ generateImage: Sr
1252
1264
  });
1253
- async function ui() {
1265
+ async function pi() {
1254
1266
  if (U("copyAlt", {
1255
1267
  config: z.value,
1256
1268
  dataset: {
@@ -1271,18 +1283,18 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1271
1283
  }
1272
1284
  }));
1273
1285
  }
1274
- function di(e, t) {
1286
+ function mi(e, t) {
1275
1287
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
1276
1288
  }
1277
- let fi = h(() => G.value === A.DONUT ? Y.value?.chart?.length ?? 0 : G.value === A.LINE ? Z.value?.extremes?.maxSeries ?? 0 : G.value === A.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1278
- function pi() {
1279
- V.value = null, tr.value = !0;
1289
+ let hi = h(() => G.value === A.DONUT ? Y.value?.chart?.length ?? 0 : G.value === A.LINE ? Z.value?.extremes?.maxSeries ?? 0 : G.value === A.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1290
+ function gi() {
1291
+ V.value = null, nr.value = !0;
1280
1292
  }
1281
- function mi() {
1282
- V.value = null, H.value = "pointer", F.value = !1, I.value = null, J.value = null, tr.value = !1;
1293
+ function _i() {
1294
+ V.value = null, H.value = "pointer", F.value = !1, I.value = null, J.value = null, nr.value = !1;
1283
1295
  }
1284
- function hi(e) {
1285
- if (!or.value || $r.value || document.activeElement !== or.value || !fi.value) return;
1296
+ function vi(e) {
1297
+ if (!sr.value || ni.value || document.activeElement !== sr.value || !hi.value) return;
1286
1298
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1287
1299
  if (!t && !n && !r && !i) return;
1288
1300
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -1310,11 +1322,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1310
1322
  }
1311
1323
  return;
1312
1324
  }
1313
- let a = V.value, o = J.value, ee = a !== null && a >= 0 && a < fi.value, s = o !== null && o >= 0 && o < fi.value;
1314
- if (ee ? n ? (a += 1, a >= fi.value && (a = 0)) : t && (--a, a < 0 && (a = fi.value - 1)) : s ? (a = n ? o + 1 : o - 1, a >= fi.value && (a = 0), a < 0 && (a = fi.value - 1)) : a = n ? 0 : fi.value - 1, G.value === A.DONUT) {
1325
+ let a = V.value, o = J.value, ee = a !== null && a >= 0 && a < hi.value, s = o !== null && o >= 0 && o < hi.value;
1326
+ if (ee ? n ? (a += 1, a >= hi.value && (a = 0)) : t && (--a, a < 0 && (a = hi.value - 1)) : s ? (a = n ? o + 1 : o - 1, a >= hi.value && (a = 0), a < 0 && (a = hi.value - 1)) : a = n ? 0 : hi.value - 1, G.value === A.DONUT) {
1315
1327
  let e = Y.value?.chart?.[a];
1316
1328
  if (!e) return;
1317
- gi(a), Y.value.useTooltip({
1329
+ yi(a), Y.value.useTooltip({
1318
1330
  datapoint: e,
1319
1331
  seriesIndex: a,
1320
1332
  triggerMode: "keyboard"
@@ -1322,18 +1334,18 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1322
1334
  return;
1323
1335
  }
1324
1336
  if (G.value === A.LINE) {
1325
- gi(a), Z.value?.useTooltip(a, "keyboard");
1337
+ yi(a), Z.value?.useTooltip(a, "keyboard");
1326
1338
  return;
1327
1339
  }
1328
- G.value === A.BAR && (gi(a), Q.value?.useTooltip(a, "keyboard"));
1340
+ G.value === A.BAR && (yi(a), Q.value?.useTooltip(a, "keyboard"));
1329
1341
  }
1330
- function gi(e) {
1331
- if (!Number.isFinite(e) || !or.value) return;
1342
+ function yi(e) {
1343
+ if (!Number.isFinite(e) || !sr.value) return;
1332
1344
  let t = 0, n = 0;
1333
1345
  if (G.value === A.DONUT) {
1334
1346
  let r = Y.value?.chart?.[e];
1335
1347
  if (!r) return;
1336
- t = d(r, !0).x, n = p(r);
1348
+ t = f(r, !0).x, n = oe(r);
1337
1349
  }
1338
1350
  if (G.value === A.LINE) {
1339
1351
  let r = Z.value?.drawingArea, i = Z.value?.slotSize;
@@ -1345,13 +1357,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1345
1357
  if (!r || !i) return;
1346
1358
  t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
1347
1359
  }
1348
- let r = or.value.getBoundingClientRect();
1349
- er.value = {
1360
+ let r = sr.value.getBoundingClientRect();
1361
+ tr.value = {
1350
1362
  x: r.left + t / K.value.width * r.width,
1351
1363
  y: r.top + n / K.value.height * r.height
1352
1364
  };
1353
1365
  }
1354
- let _i = h(() => {
1366
+ let bi = h(() => {
1355
1367
  if (G.value === A.DONUT) return {
1356
1368
  headers: [
1357
1369
  "Series",
@@ -1366,7 +1378,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1366
1378
  }) : "0%";
1367
1379
  return [
1368
1380
  e.name,
1369
- f(z.value.formatter, e.value, c({
1381
+ p(z.value.formatter, e.value, c({
1370
1382
  p: z.value.valuePrefix,
1371
1383
  v: e.value,
1372
1384
  s: z.value.valueSuffix,
@@ -1382,7 +1394,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1382
1394
  headers: ["Index", ...e.map((e) => e.name)],
1383
1395
  rows: Array.from({ length: t }, (t, n) => [$.value?.[n + X.value.start]?.text ?? String(n + X.value.start), ...e.map((e) => {
1384
1396
  let t = e.values?.[n];
1385
- return f(z.value.formatter, t, c({
1397
+ return p(z.value.formatter, t, c({
1386
1398
  p: z.value.valuePrefix,
1387
1399
  v: t,
1388
1400
  s: z.value.valueSuffix,
@@ -1396,16 +1408,16 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1396
1408
  rows: []
1397
1409
  };
1398
1410
  });
1399
- return Ce({
1400
- getImage: ti,
1401
- generatePdf: vr,
1402
- generateImage: yr,
1403
- generateSvg: ci,
1404
- toggleTooltip: Qr,
1405
- toggleAnnotator: ei,
1406
- toggleFullscreen: Zr,
1407
- copyAlt: ui
1408
- }), (e, r) => hr.value ? (C(), _("div", {
1411
+ return we({
1412
+ getImage: ii,
1413
+ generatePdf: xr,
1414
+ generateImage: Sr,
1415
+ generateSvg: di,
1416
+ toggleTooltip: ti,
1417
+ toggleAnnotator: ri,
1418
+ toggleFullscreen: ei,
1419
+ copyAlt: pi
1420
+ }), (e, r) => vr.value ? (C(), _("div", {
1409
1421
  key: 0,
1410
1422
  id: `${G.value}_${P.value}`,
1411
1423
  ref_key: "quickChart",
@@ -1413,21 +1425,21 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1413
1425
  class: b({
1414
1426
  "vue-data-ui-component": !0,
1415
1427
  "vue-ui-quick-chart": !0,
1416
- "vue-data-ui-wrapper-fullscreen": Xr.value
1428
+ "vue-data-ui-wrapper-fullscreen": $r.value
1417
1429
  }),
1418
1430
  style: S(`background:${z.value.backgroundColor};color:${z.value.color};font-family:${z.value.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
1419
- onMouseenter: r[2] ||= () => dr(!0),
1420
- onMouseleave: r[3] ||= () => dr(!1)
1431
+ onMouseenter: r[2] ||= () => fr(!0),
1432
+ onMouseleave: r[3] ||= () => fr(!1)
1421
1433
  }, [
1422
1434
  v("div", {
1423
1435
  id: `chart-instructions-${P.value}`,
1424
1436
  class: "sr-only"
1425
- }, [v("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1426
- _i.value.rows.length ? (C(), Me(Oe, {
1437
+ }, [v("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
1438
+ bi.value.rows.length ? (C(), Ne(ke, {
1427
1439
  key: 0,
1428
1440
  uid: P.value,
1429
- head: _i.value.headers,
1430
- body: _i.value.rows,
1441
+ head: bi.value.headers,
1442
+ body: bi.value.rows,
1431
1443
  notice: z.value.a11y.translations.tableAvailable,
1432
1444
  caption: z.value.a11y.translations.tableCaption
1433
1445
  }, null, 8, [
@@ -1437,15 +1449,15 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1437
1449
  "notice",
1438
1450
  "caption"
1439
1451
  ])) : g("", !0),
1440
- z.value.userOptionsButtons.annotator ? (C(), Me(O(Ye), {
1452
+ z.value.userOptionsButtons.annotator ? (C(), Ne(O(Xe), {
1441
1453
  key: 1,
1442
- svgRef: O(or),
1454
+ svgRef: O(sr),
1443
1455
  backgroundColor: z.value.backgroundColor,
1444
1456
  color: z.value.color,
1445
- active: $r.value,
1446
- isCursorPointer: $n.value,
1457
+ active: ni.value,
1458
+ isCursorPointer: er.value,
1447
1459
  palette: z.value.annotatorPalette,
1448
- onClose: ei
1460
+ onClose: ri
1449
1461
  }, {
1450
1462
  "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1451
1463
  "annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
@@ -1462,20 +1474,20 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1462
1474
  "isCursorPointer",
1463
1475
  "palette"
1464
1476
  ])) : g("", !0),
1465
- br.value ? (C(), _("div", {
1477
+ Cr.value ? (C(), _("div", {
1466
1478
  key: 2,
1467
1479
  ref_key: "noTitle",
1468
- ref: Nn,
1480
+ ref: Pn,
1469
1481
  class: "vue-data-ui-no-title-space",
1470
1482
  style: "height:36px; width: 100%;background:transparent"
1471
1483
  }, null, 512)) : g("", !0),
1472
- z.value.showUserOptions && (cr.value || lr.value) ? (C(), Me(O(Ze), {
1484
+ z.value.showUserOptions && (lr.value || ur.value) ? (C(), Ne(O(Qe), {
1473
1485
  ref: "details",
1474
- key: `user_option_${Pn.value}`,
1486
+ key: `user_option_${Fn.value}`,
1475
1487
  backgroundColor: z.value.backgroundColor,
1476
1488
  color: z.value.color,
1477
- isPrinting: O(gr),
1478
- isImaging: O(_r),
1489
+ isPrinting: O(yr),
1490
+ isImaging: O(br),
1479
1491
  uid: P.value,
1480
1492
  hasTooltip: z.value.userOptionsButtons.tooltip && z.value.showTooltip,
1481
1493
  hasPdf: z.value.userOptionsButtons.pdf,
@@ -1484,25 +1496,25 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1484
1496
  hasFullscreen: z.value.userOptionsButtons.fullscreen,
1485
1497
  hasAltCopy: z.value.userOptionsButtons.altCopy,
1486
1498
  hasXls: !1,
1487
- isTooltip: xr.value.showTooltip,
1488
- isFullscreen: Xr.value,
1499
+ isTooltip: wr.value.showTooltip,
1500
+ isFullscreen: $r.value,
1489
1501
  titles: { ...z.value.userOptionsButtonTitles },
1490
1502
  chartElement: N.value,
1491
1503
  position: z.value.userOptionsPosition,
1492
1504
  hasAnnotator: z.value.userOptionsButtons.annotator,
1493
- isAnnotation: $r.value,
1505
+ isAnnotation: ni.value,
1494
1506
  callbacks: z.value.userOptionsCallbacks,
1495
1507
  printScale: z.value.userOptionsPrint.scale,
1496
- isCursorPointer: $n.value,
1497
- onToggleFullscreen: Zr,
1498
- onGeneratePdf: O(vr),
1499
- onGenerateImage: O(li),
1500
- onGenerateSvg: O(ci),
1501
- onToggleTooltip: Qr,
1502
- onToggleAnnotator: ei,
1503
- onCopyAlt: ui,
1504
- style: S({ visibility: cr.value ? lr.value ? "visible" : "hidden" : "visible" })
1505
- }, Ne({ _: 2 }, [
1508
+ isCursorPointer: er.value,
1509
+ onToggleFullscreen: ei,
1510
+ onGeneratePdf: O(xr),
1511
+ onGenerateImage: O(fi),
1512
+ onGenerateSvg: O(di),
1513
+ onToggleTooltip: ti,
1514
+ onToggleAnnotator: ri,
1515
+ onCopyAlt: pi,
1516
+ style: S({ visibility: lr.value ? ur.value ? "visible" : "hidden" : "visible" })
1517
+ }, Pe({ _: 2 }, [
1506
1518
  e.$slots.menuIcon ? {
1507
1519
  name: "menuIcon",
1508
1520
  fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
@@ -1592,26 +1604,26 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1592
1604
  z.value.title ? (C(), _("div", {
1593
1605
  key: 4,
1594
1606
  ref_key: "quickChartTitle",
1595
- ref: Dn,
1607
+ ref: On,
1596
1608
  class: "vue-ui-quick-chart-title",
1597
1609
  style: S(`background:transparent;color:${z.value.color};font-size:${z.value.titleFontSize}px;font-weight:${z.value.titleBold ? "bold" : "normal"};text-align:${z.value.titleTextAlign}`)
1598
1610
  }, D(z.value.title), 5)) : g("", !0),
1599
- v("div", { id: `legend-top-${P.value}` }, null, 8, rt),
1600
- v("div", it, [G.value ? (C(), _("svg", {
1611
+ v("div", { id: `legend-top-${P.value}` }, null, 8, it),
1612
+ v("div", at, [G.value ? (C(), _("svg", {
1601
1613
  key: 0,
1602
1614
  ref_key: "svgRef",
1603
- ref: or,
1604
- xmlns: O(se),
1615
+ ref: sr,
1616
+ xmlns: O(ce),
1605
1617
  "aria-describedby": `chart-instructions-${P.value}`,
1606
- viewBox: wr.value,
1618
+ viewBox: Dr.value,
1607
1619
  style: S(`max-width:100%;overflow:visible;background:transparent;color:${z.value.color}`),
1608
1620
  class: b({ "vue-data-ui-no-transition": !O(B) }),
1609
1621
  tabindex: "0",
1610
- onFocus: pi,
1611
- onBlur: mi,
1612
- onKeydown: hi
1622
+ onFocus: gi,
1623
+ onBlur: _i,
1624
+ onKeydown: vi
1613
1625
  }, [
1614
- Pe(O(qe)),
1626
+ Fe(O(Je)),
1615
1627
  e.$slots["chart-background"] && G.value === A.BAR ? (C(), _("foreignObject", {
1616
1628
  key: 0,
1617
1629
  x: Q.value.drawingArea.left,
@@ -1619,7 +1631,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1619
1631
  width: Q.value.drawingArea.width,
1620
1632
  height: Q.value.drawingArea.height,
1621
1633
  style: { pointerEvents: "none" }
1622
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : g("", !0),
1634
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, st)) : g("", !0),
1623
1635
  e.$slots["chart-background"] && G.value === A.LINE ? (C(), _("foreignObject", {
1624
1636
  key: 1,
1625
1637
  x: Z.value.drawingArea.left,
@@ -1627,7 +1639,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1627
1639
  width: Z.value.drawingArea.width,
1628
1640
  height: Z.value.drawingArea.height,
1629
1641
  style: { pointerEvents: "none" }
1630
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, st)) : g("", !0),
1642
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : g("", !0),
1631
1643
  e.$slots["chart-background"] && G.value === A.DONUT ? (C(), _("foreignObject", {
1632
1644
  key: 2,
1633
1645
  x: 0,
@@ -1635,7 +1647,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1635
1647
  width: K.value.width,
1636
1648
  height: K.value.height,
1637
1649
  style: { pointerEvents: "none" }
1638
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : g("", !0),
1650
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, lt)) : g("", !0),
1639
1651
  v("defs", null, [v("filter", {
1640
1652
  id: `blur_${P.value}`,
1641
1653
  x: "-50%",
@@ -1646,10 +1658,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1646
1658
  in: "SourceGraphic",
1647
1659
  stdDeviation: 2,
1648
1660
  id: `blur_std_${P.value}`
1649
- }, null, 8, ut), r[4] ||= v("feColorMatrix", {
1661
+ }, null, 8, dt), r[4] ||= v("feColorMatrix", {
1650
1662
  type: "saturate",
1651
1663
  values: "0"
1652
- }, null, -1)], 8, lt), v("filter", {
1664
+ }, null, -1)], 8, ut), v("filter", {
1653
1665
  id: `shadow_${P.value}`,
1654
1666
  "color-interpolation-filters": "sRGB"
1655
1667
  }, [v("feDropShadow", {
@@ -1658,35 +1670,35 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1658
1670
  stdDeviation: "10",
1659
1671
  "flood-opacity": "0.5",
1660
1672
  "flood-color": z.value.donutShadowColor
1661
- }, null, 8, ft)], 8, dt)]),
1673
+ }, null, 8, pt)], 8, ft)]),
1662
1674
  G.value === A.DONUT ? (C(), _(m, { key: 3 }, [
1663
- z.value.showDataLabels ? (C(), _("g", pt, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _(m, null, [Y.value.isArcBigEnough(e) ? (C(), _("path", {
1675
+ z.value.showDataLabels ? (C(), _("g", mt, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _(m, null, [Y.value.isArcBigEnough(e) ? (C(), _("path", {
1664
1676
  key: 0,
1665
1677
  d: O(re)(e, {
1666
1678
  x: K.value.width / 2,
1667
1679
  y: K.value.height / 2
1668
- }, 16, 16, !1, !1, K.value.height * Pr.value, 12, z.value.donutCurvedMarkers),
1680
+ }, 16, 16, !1, !1, K.value.height * Lr.value, 12, z.value.donutCurvedMarkers),
1669
1681
  stroke: e.color,
1670
1682
  "stroke-width": z.value.donutLabelMarkerStrokeWidth,
1671
1683
  "stroke-linecap": "round",
1672
1684
  "stroke-linejoin": "round",
1673
1685
  fill: "none",
1674
- filter: Er(e.id)
1675
- }, null, 8, mt)) : g("", !0)], 64))), 256))])) : g("", !0),
1686
+ filter: kr(e.id)
1687
+ }, null, 8, ht)) : g("", !0)], 64))), 256))])) : g("", !0),
1676
1688
  v("circle", {
1677
1689
  cx: Y.value.cx,
1678
1690
  cy: Y.value.cy,
1679
1691
  r: Y.value.radius,
1680
1692
  fill: z.value.backgroundColor,
1681
1693
  filter: z.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
1682
- }, null, 8, ht),
1683
- v("g", gt, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _("path", {
1694
+ }, null, 8, gt),
1695
+ v("g", _t, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _("path", {
1684
1696
  d: e.arcSlice,
1685
1697
  fill: e.color,
1686
1698
  stroke: z.value.donutStroke || z.value.backgroundColor,
1687
1699
  "stroke-width": z.value.donutStrokeWidth,
1688
- filter: Er(e.id)
1689
- }, null, 8, _t))), 256)), (C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _("path", {
1700
+ filter: kr(e.id)
1701
+ }, null, 8, vt))), 256)), (C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _("path", {
1690
1702
  d: e.arcSlice,
1691
1703
  fill: "transparent",
1692
1704
  onMouseenter: (n) => Y.value.useTooltip({
@@ -1702,27 +1714,27 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1702
1714
  datapoint: e,
1703
1715
  seriesIndex: t
1704
1716
  })
1705
- }, null, 40, vt))), 256))]),
1706
- z.value.showDataLabels ? (C(), _("g", yt, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _(m, null, [
1717
+ }, null, 40, yt))), 256))]),
1718
+ z.value.showDataLabels ? (C(), _("g", bt, [(C(!0), _(m, null, T(Y.value.chart, (e, t) => (C(), _(m, null, [
1707
1719
  Y.value.isArcBigEnough(e) ? (C(), _("circle", {
1708
1720
  key: 0,
1709
- cx: O(d)(e).x,
1710
- cy: O(p)(e) - 3.7,
1721
+ cx: O(f)(e).x,
1722
+ cy: O(oe)(e) - 3.7,
1711
1723
  fill: e.color,
1712
1724
  stroke: z.value.backgroundColor,
1713
1725
  "stroke-width": 1,
1714
1726
  r: 3,
1715
- filter: Er(e.id)
1716
- }, null, 8, bt)) : g("", !0),
1727
+ filter: kr(e.id)
1728
+ }, null, 8, xt)) : g("", !0),
1717
1729
  Y.value.isArcBigEnough(e) ? (C(), _("text", {
1718
1730
  key: 1,
1719
- "text-anchor": O(d)(e, !0, 20).anchor,
1720
- x: O(d)(e, !0).x,
1721
- y: O(p)(e),
1731
+ "text-anchor": O(f)(e, !0, 20).anchor,
1732
+ x: O(f)(e, !0).x,
1733
+ y: O(oe)(e),
1722
1734
  fill: z.value.color,
1723
1735
  "font-size": z.value.dataLabelFontSize,
1724
- filter: Er(e.id)
1725
- }, D(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + D(O(f)(z.value.formatter, e.value, O(c)({
1736
+ filter: kr(e.id)
1737
+ }, D(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + D(O(p)(z.value.formatter, e.value, O(c)({
1726
1738
  p: z.value.valuePrefix,
1727
1739
  v: e.value,
1728
1740
  s: z.value.valueSuffix,
@@ -1730,24 +1742,24 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1730
1742
  }), {
1731
1743
  datapoint: e,
1732
1744
  seriesIndex: t
1733
- })) + ") ", 9, xt)) : g("", !0),
1745
+ })) + ") ", 9, St)) : g("", !0),
1734
1746
  Y.value.isArcBigEnough(e, !0, 20) ? (C(), _("text", {
1735
1747
  key: 2,
1736
- "text-anchor": O(d)(e).anchor,
1737
- x: O(d)(e, !0).x,
1738
- y: O(p)(e) + z.value.dataLabelFontSize,
1748
+ "text-anchor": O(f)(e).anchor,
1749
+ x: O(f)(e, !0).x,
1750
+ y: O(oe)(e) + z.value.dataLabelFontSize,
1739
1751
  fill: z.value.color,
1740
1752
  "font-size": z.value.dataLabelFontSize,
1741
- filter: Er(e.id)
1742
- }, D(e.name), 9, St)) : g("", !0)
1753
+ filter: kr(e.id)
1754
+ }, D(e.name), 9, Ct)) : g("", !0)
1743
1755
  ], 64))), 256))])) : g("", !0),
1744
- z.value.donutShowTotal ? (C(), _("g", Ct, [v("text", {
1756
+ z.value.donutShowTotal ? (C(), _("g", wt, [v("text", {
1745
1757
  "text-anchor": "middle",
1746
1758
  x: Y.value.drawingArea.centerX,
1747
1759
  y: Y.value.drawingArea.centerY - z.value.donutTotalLabelFontSize / 2,
1748
1760
  "font-size": z.value.donutTotalLabelFontSize,
1749
1761
  fill: z.value.color
1750
- }, D(z.value.donutTotalLabelText), 9, wt), v("text", {
1762
+ }, D(z.value.donutTotalLabelText), 9, Tt), v("text", {
1751
1763
  "text-anchor": "middle",
1752
1764
  x: Y.value.drawingArea.centerX,
1753
1765
  y: Y.value.drawingArea.centerY + z.value.donutTotalLabelFontSize,
@@ -1758,10 +1770,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1758
1770
  v: Y.value.total,
1759
1771
  s: z.value.valueSuffix,
1760
1772
  r: z.value.dataLabelRoundingValue
1761
- })), 9, Tt)])) : g("", !0)
1773
+ })), 9, Et)])) : g("", !0)
1762
1774
  ], 64)) : g("", !0),
1763
1775
  G.value === A.LINE ? (C(), _(m, { key: 4 }, [
1764
- z.value.xyShowGrid ? (C(), _("g", Et, [(C(!0), _(m, null, T(Z.value.yLabels, (e) => (C(), _(m, null, [e.y <= Z.value.drawingArea.bottom ? (C(), _("line", {
1776
+ z.value.xyShowGrid ? (C(), _("g", Dt, [(C(!0), _(m, null, T(Z.value.yLabels, (e) => (C(), _(m, null, [e.y <= Z.value.drawingArea.bottom ? (C(), _("line", {
1765
1777
  key: 0,
1766
1778
  x1: Z.value.drawingArea.left,
1767
1779
  x2: Z.value.drawingArea.right,
@@ -1770,7 +1782,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1770
1782
  stroke: z.value.xyGridStroke,
1771
1783
  "stroke-width": z.value.xyGridStrokeWidth,
1772
1784
  "stroke-linecap": "round"
1773
- }, null, 8, Dt)) : g("", !0)], 64))), 256)), (C(!0), _(m, null, T(Z.value.extremes.maxSeries + 1, (e, t) => (C(), _("line", {
1785
+ }, null, 8, Ot)) : g("", !0)], 64))), 256)), (C(!0), _(m, null, T(Z.value.extremes.maxSeries + 1, (e, t) => (C(), _("line", {
1774
1786
  x1: Z.value.drawingArea.left + Z.value.slotSize * t,
1775
1787
  x2: Z.value.drawingArea.left + Z.value.slotSize * t,
1776
1788
  y1: Z.value.drawingArea.top,
@@ -1778,8 +1790,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1778
1790
  stroke: z.value.xyGridStroke,
1779
1791
  "stroke-width": z.value.xyGridStrokeWidth,
1780
1792
  "stroke-linecap": "round"
1781
- }, null, 8, Ot))), 256))])) : g("", !0),
1782
- z.value.xyShowAxis ? (C(), _("g", kt, [v("line", {
1793
+ }, null, 8, kt))), 256))])) : g("", !0),
1794
+ z.value.xyShowAxis ? (C(), _("g", At, [v("line", {
1783
1795
  x1: Z.value.drawingArea.left,
1784
1796
  x2: Z.value.drawingArea.left,
1785
1797
  y1: Z.value.drawingArea.top,
@@ -1787,7 +1799,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1787
1799
  stroke: z.value.xyAxisStroke,
1788
1800
  "stroke-width": z.value.xyAxisStrokeWidth,
1789
1801
  "stroke-linecap": "round"
1790
- }, null, 8, At), v("line", {
1802
+ }, null, 8, jt), v("line", {
1791
1803
  x1: Z.value.drawingArea.left,
1792
1804
  x2: Z.value.drawingArea.right,
1793
1805
  y1: isNaN(Z.value.absoluteZero) ? Z.value.drawingArea.bottom : Z.value.absoluteZero,
@@ -1795,12 +1807,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1795
1807
  stroke: z.value.xyAxisStroke,
1796
1808
  "stroke-width": z.value.xyAxisStrokeWidth,
1797
1809
  "stroke-linecap": "round"
1798
- }, null, 8, jt)])) : g("", !0),
1810
+ }, null, 8, Mt)])) : g("", !0),
1799
1811
  z.value.xyShowScale ? (C(), _("g", {
1800
1812
  key: 2,
1801
1813
  class: "yLabels",
1802
1814
  ref_key: "scaleLabels",
1803
- ref: zn
1815
+ ref: Bn
1804
1816
  }, [(C(!0), _(m, null, T(Z.value.yLabels, (e, t) => (C(), _(m, { key: `sl_${t}` }, [e.y <= Z.value.drawingArea.bottom ? (C(), _("path", {
1805
1817
  key: 0,
1806
1818
  class: b({ "vue-data-ui-transition": O(B) }),
@@ -1808,14 +1820,14 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1808
1820
  stroke: z.value.xyAxisStroke,
1809
1821
  "stroke-width": z.value.xyAxisStrokeWidth,
1810
1822
  "stroke-linecap": "round"
1811
- }, null, 10, Mt)) : g("", !0), e.y <= Z.value.drawingArea.bottom ? (C(), _("text", {
1823
+ }, null, 10, Nt)) : g("", !0), e.y <= Z.value.drawingArea.bottom ? (C(), _("text", {
1812
1824
  key: 1,
1813
1825
  class: b({ "vue-data-ui-transition": O(B) }),
1814
1826
  transform: `translate(${e.x}, ${e.y + z.value.xyLabelsYFontSize / 3})`,
1815
1827
  "text-anchor": "end",
1816
1828
  "font-size": z.value.xyLabelsYFontSize,
1817
1829
  fill: z.value.color
1818
- }, D(O(f)(z.value.formatter, e.value, O(c)({
1830
+ }, D(O(p)(z.value.formatter, e.value, O(c)({
1819
1831
  p: z.value.valuePrefix,
1820
1832
  v: e.value,
1821
1833
  s: z.value.valueSuffix,
@@ -1823,8 +1835,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1823
1835
  }), {
1824
1836
  datapoint: e,
1825
1837
  seriesIndex: t
1826
- })), 11, Nt)) : g("", !0)], 64))), 128))], 512)) : g("", !0),
1827
- z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", Pt, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("line", {
1838
+ })), 11, Pt)) : g("", !0)], 64))), 128))], 512)) : g("", !0),
1839
+ z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", Ft, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Qr.value) === 0 || X.value.end - X.value.start <= Qr.value ? (C(), _("line", {
1828
1840
  key: 0,
1829
1841
  x1: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
1830
1842
  x2: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
@@ -1833,10 +1845,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1833
1845
  stroke: z.value.xyAxisStroke,
1834
1846
  "stroke-width": z.value.xyAxisStrokeWidth,
1835
1847
  "stroke-linecap": "round"
1836
- }, null, 8, Ft)) : g("", !0)], 64))), 256)), v("g", {
1848
+ }, null, 8, It)) : g("", !0)], 64))), 256)), v("g", {
1837
1849
  ref_key: "timeLabelsEls",
1838
1850
  ref: R
1839
- }, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("g", It, [String(e).includes("\n") ? (C(), _("text", {
1851
+ }, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Qr.value) === 0 || X.value.end - X.value.start <= Qr.value ? (C(), _("g", Lt, [String(e).includes("\n") ? (C(), _("text", {
1840
1852
  key: 1,
1841
1853
  class: "vue-data-ui-time-label",
1842
1854
  "font-size": z.value.xyLabelsXFontSize,
@@ -1850,62 +1862,62 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1850
1862
  x: 0,
1851
1863
  y: 0
1852
1864
  })
1853
- }, null, 8, Rt)) : (C(), _("text", {
1865
+ }, null, 8, zt)) : (C(), _("text", {
1854
1866
  key: 0,
1855
1867
  class: "vue-data-ui-time-label",
1856
1868
  "font-size": z.value.xyLabelsXFontSize,
1857
1869
  "text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1858
1870
  fill: z.value.color,
1859
1871
  transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`
1860
- }, D(e), 9, Lt))])) : g("", !0)], 64))), 256))], 512)])) : g("", !0),
1861
- v("g", zt, [(C(!0), _(m, null, T(Z.value.dataset, (e, t) => (C(), _("g", {
1872
+ }, D(e), 9, Rt))])) : g("", !0)], 64))), 256))], 512)])) : g("", !0),
1873
+ v("g", Bt, [(C(!0), _(m, null, T(Z.value.dataset, (e, t) => (C(), _("g", {
1862
1874
  key: `serie_${e.id}`,
1863
1875
  class: "line-plot-series"
1864
1876
  }, [z.value.lineSmooth ? (C(), _(m, { key: 0 }, [v("path", {
1865
1877
  ref_for: !0,
1866
1878
  ref_key: "pathWrapper",
1867
- ref: Ln,
1879
+ ref: Rn,
1868
1880
  d: `M ${O(a)(e.coordinates)}`,
1869
1881
  stroke: z.value.backgroundColor,
1870
1882
  "stroke-width": z.value.lineStrokeWidth + 1,
1871
1883
  "stroke-linecap": "round",
1872
1884
  fill: "none",
1873
1885
  class: b({ "vue-data-ui-transition": O(B) })
1874
- }, null, 10, Bt), v("path", {
1886
+ }, null, 10, Vt), v("path", {
1875
1887
  ref_for: !0,
1876
1888
  ref_key: "pathTop",
1877
- ref: Rn,
1889
+ ref: zn,
1878
1890
  d: `M ${O(a)(e.coordinates)}`,
1879
1891
  stroke: e.color,
1880
1892
  "stroke-width": z.value.lineStrokeWidth,
1881
1893
  "stroke-linecap": "round",
1882
1894
  fill: "none",
1883
1895
  class: b({ "vue-data-ui-transition": O(B) }),
1884
- style: S({ transition: O(rr) ? void 0 : "all 0.2s ease-in-out" })
1885
- }, null, 14, Vt)], 64)) : (C(), _(m, { key: 1 }, [v("path", {
1896
+ style: S({ transition: O(ir) ? void 0 : "all 0.2s ease-in-out" })
1897
+ }, null, 14, Ht)], 64)) : (C(), _(m, { key: 1 }, [v("path", {
1886
1898
  ref_for: !0,
1887
1899
  ref_key: "pathWrapper",
1888
- ref: Ln,
1900
+ ref: Rn,
1889
1901
  d: `M ${e.linePath}`,
1890
1902
  stroke: z.value.backgroundColor,
1891
1903
  "stroke-width": z.value.lineStrokeWidth + 1,
1892
1904
  "stroke-linecap": "round",
1893
1905
  fill: "none",
1894
1906
  class: b({ "vue-data-ui-transition": O(B) })
1895
- }, null, 10, Ht), v("path", {
1907
+ }, null, 10, Ut), v("path", {
1896
1908
  ref_for: !0,
1897
1909
  ref_key: "pathTop",
1898
- ref: Rn,
1910
+ ref: zn,
1899
1911
  d: `M ${e.linePath}`,
1900
1912
  stroke: e.color,
1901
1913
  "stroke-width": z.value.lineStrokeWidth,
1902
1914
  "stroke-linecap": "round",
1903
1915
  fill: "none",
1904
1916
  class: b({ "vue-data-ui-transition": O(B) })
1905
- }, null, 10, Ut)], 64)), (C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("circle", {
1917
+ }, null, 10, Wt)], 64)), (C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("circle", {
1906
1918
  key: `dp_${e.id}_${n + X.value.start}`,
1907
1919
  cx: t.x,
1908
- cy: O(u)(t.y),
1920
+ cy: O(d)(t.y),
1909
1921
  r: 3,
1910
1922
  fill: e.color,
1911
1923
  stroke: z.value.backgroundColor,
@@ -1914,24 +1926,24 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1914
1926
  "vue-ui-quick-chart-plot": !0,
1915
1927
  "vue-data-ui-transition": O(B)
1916
1928
  })
1917
- }, null, 10, Wt))), 128))]))), 128))]),
1918
- z.value.showDataLabels ? (C(), _("g", Gt, [(C(!0), _(m, null, T(Z.value.dataset, (e, t) => (C(), _(m, { key: `ds_${e.id}` }, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("text", {
1929
+ }, null, 10, Gt))), 128))]))), 128))]),
1930
+ z.value.showDataLabels ? (C(), _("g", Kt, [(C(!0), _(m, null, T(Z.value.dataset, (e, t) => (C(), _(m, { key: `ds_${e.id}` }, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("text", {
1919
1931
  class: b(["vue-ui-quick-chart-label", { "vue-data-ui-transition": O(B) }]),
1920
1932
  key: `plot_${e.id}_${n + X.value.start}`,
1921
1933
  "text-anchor": "middle",
1922
1934
  "font-size": z.value.dataLabelFontSize,
1923
1935
  fill: e.color,
1924
- transform: `translate(${t.x}, ${O(u)(t.y) - z.value.dataLabelFontSize / 2})`
1925
- }, D(O(f)(z.value.formatter, O(u)(t.value), O(c)({
1936
+ transform: `translate(${t.x}, ${O(d)(t.y) - z.value.dataLabelFontSize / 2})`
1937
+ }, D(O(p)(z.value.formatter, O(d)(t.value), O(c)({
1926
1938
  p: z.value.valuePrefix,
1927
- v: O(u)(t.value),
1939
+ v: O(d)(t.value),
1928
1940
  s: z.value.valueSuffix,
1929
1941
  r: z.value.dataLabelRoundingValue
1930
1942
  }), {
1931
1943
  datapoint: t,
1932
1944
  seriesIndex: n
1933
- })), 11, Kt))), 128))], 64))), 128))])) : g("", !0),
1934
- ur.value ? (C(), _("g", qt, [(C(!0), _(m, null, T(Z.value.extremes.maxSeries, (e, t) => (C(), _("rect", {
1945
+ })), 11, qt))), 128))], 64))), 128))])) : g("", !0),
1946
+ dr.value ? (C(), _("g", Jt, [(C(!0), _(m, null, T(Z.value.extremes.maxSeries, (e, t) => (C(), _("rect", {
1935
1947
  x: Z.value.drawingArea.left + t * Z.value.slotSize,
1936
1948
  y: Z.value.drawingArea.top,
1937
1949
  height: Z.value.drawingArea.height <= 0 ? 1e-5 : Z.value.drawingArea.height,
@@ -1941,10 +1953,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1941
1953
  onMouseenter: (e) => Z.value.useTooltip(t, "pointer"),
1942
1954
  onMouseleave: (e) => Z.value.killTooltip(t),
1943
1955
  onClick: (e) => Z.value.selectDatapoint(t)
1944
- }, null, 44, Jt))), 256))])) : g("", !0)
1956
+ }, null, 44, Yt))), 256))])) : g("", !0)
1945
1957
  ], 64)) : g("", !0),
1946
1958
  G.value === A.BAR ? (C(), _(m, { key: 5 }, [
1947
- z.value.xyShowGrid ? (C(), _("g", Yt, [(C(!0), _(m, null, T(Q.value.yLabels, (e) => (C(), _(m, null, [e.y <= Q.value.drawingArea.bottom ? (C(), _("line", {
1959
+ z.value.xyShowGrid ? (C(), _("g", Xt, [(C(!0), _(m, null, T(Q.value.yLabels, (e) => (C(), _(m, null, [e.y <= Q.value.drawingArea.bottom ? (C(), _("line", {
1948
1960
  key: 0,
1949
1961
  x1: Q.value.drawingArea.left,
1950
1962
  x2: Q.value.drawingArea.right,
@@ -1953,7 +1965,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1953
1965
  stroke: z.value.xyGridStroke,
1954
1966
  "stroke-width": z.value.xyGridStrokeWidth,
1955
1967
  "stroke-linecap": "round"
1956
- }, null, 8, Xt)) : g("", !0)], 64))), 256)), L.value.length < Q.value.legend.length ? (C(!0), _(m, { key: 0 }, T(Q.value.extremes.maxSeries + 1, (e, t) => (C(), _("line", {
1968
+ }, null, 8, Zt)) : g("", !0)], 64))), 256)), L.value.length < Q.value.legend.length ? (C(!0), _(m, { key: 0 }, T(Q.value.extremes.maxSeries + 1, (e, t) => (C(), _("line", {
1957
1969
  x1: Q.value.drawingArea.left + Q.value.slotSize * t,
1958
1970
  x2: Q.value.drawingArea.left + Q.value.slotSize * t,
1959
1971
  y1: Q.value.drawingArea.top,
@@ -1961,8 +1973,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1961
1973
  stroke: z.value.xyGridStroke,
1962
1974
  "stroke-width": z.value.xyGridStrokeWidth,
1963
1975
  "stroke-linecap": "round"
1964
- }, null, 8, Zt))), 256)) : g("", !0)])) : g("", !0),
1965
- z.value.xyShowAxis ? (C(), _("g", Qt, [v("line", {
1976
+ }, null, 8, Qt))), 256)) : g("", !0)])) : g("", !0),
1977
+ z.value.xyShowAxis ? (C(), _("g", $t, [v("line", {
1966
1978
  x1: Q.value.drawingArea.left,
1967
1979
  x2: Q.value.drawingArea.left,
1968
1980
  y1: Q.value.drawingArea.top,
@@ -1970,7 +1982,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1970
1982
  stroke: z.value.xyAxisStroke,
1971
1983
  "stroke-width": z.value.xyAxisStrokeWidth,
1972
1984
  "stroke-linecap": "round"
1973
- }, null, 8, $t), v("line", {
1985
+ }, null, 8, en), v("line", {
1974
1986
  x1: Q.value.drawingArea.left,
1975
1987
  x2: Q.value.drawingArea.right,
1976
1988
  y1: isNaN(Q.value.absoluteZero) ? Q.value.drawingArea.bottom : Q.value.absoluteZero,
@@ -1978,12 +1990,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1978
1990
  stroke: z.value.xyAxisStroke,
1979
1991
  "stroke-width": z.value.xyAxisStrokeWidth,
1980
1992
  "stroke-linecap": "round"
1981
- }, null, 8, en)])) : g("", !0),
1993
+ }, null, 8, tn)])) : g("", !0),
1982
1994
  z.value.xyShowScale ? (C(), _("g", {
1983
1995
  key: 2,
1984
1996
  class: "yLabels",
1985
1997
  ref_key: "scaleLabels",
1986
- ref: zn
1998
+ ref: Bn
1987
1999
  }, [(C(!0), _(m, null, T(Q.value.yLabels, (e, t) => (C(), _(m, { key: `sl_${t}` }, [e.y <= Q.value.drawingArea.bottom ? (C(), _("path", {
1988
2000
  key: 0,
1989
2001
  class: b({ "vue-data-ui-transition": O(B) }),
@@ -1991,14 +2003,14 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
1991
2003
  stroke: z.value.xyAxisStroke,
1992
2004
  "stroke-width": z.value.xyAxisStrokeWidth,
1993
2005
  "stroke-linecap": "round"
1994
- }, null, 10, tn)) : g("", !0), e.y <= Q.value.drawingArea.bottom ? (C(), _("text", {
2006
+ }, null, 10, nn)) : g("", !0), e.y <= Q.value.drawingArea.bottom ? (C(), _("text", {
1995
2007
  key: 1,
1996
2008
  class: b({ "vue-data-ui-transition": O(B) }),
1997
2009
  transform: `translate(${e.x}, ${e.y + z.value.xyLabelsYFontSize / 3})`,
1998
2010
  "text-anchor": "end",
1999
2011
  "font-size": z.value.xyLabelsYFontSize,
2000
2012
  fill: z.value.color
2001
- }, D(O(f)(z.value.formatter, e.value, O(c)({
2013
+ }, D(O(p)(z.value.formatter, e.value, O(c)({
2002
2014
  p: z.value.valuePrefix,
2003
2015
  v: e.value,
2004
2016
  s: z.value.valueSuffix,
@@ -2006,8 +2018,8 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2006
2018
  }), {
2007
2019
  datapoint: e,
2008
2020
  seriesIndex: t
2009
- })), 11, nn)) : g("", !0)], 64))), 128))], 512)) : g("", !0),
2010
- z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", rn, [(C(!0), _(m, null, T(z.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (C(), _("line", {
2021
+ })), 11, rn)) : g("", !0)], 64))), 128))], 512)) : g("", !0),
2022
+ z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", an, [(C(!0), _(m, null, T(z.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (C(), _("line", {
2011
2023
  x1: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2012
2024
  x2: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2013
2025
  y1: Q.value.drawingArea.bottom,
@@ -2015,10 +2027,10 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2015
2027
  stroke: z.value.xyAxisStroke,
2016
2028
  "stroke-width": z.value.xyAxisStrokeWidth,
2017
2029
  "stroke-linecap": "round"
2018
- }, null, 8, an))), 256)), v("g", {
2030
+ }, null, 8, on))), 256)), v("g", {
2019
2031
  ref_key: "timeLabelsEls",
2020
2032
  ref: R
2021
- }, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("g", on, [String(e).includes("\n") ? (C(), _("text", {
2033
+ }, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Qr.value) === 0 || X.value.end - X.value.start <= Qr.value ? (C(), _("g", sn, [String(e).includes("\n") ? (C(), _("text", {
2022
2034
  key: 1,
2023
2035
  class: "vue-data-ui-time-label",
2024
2036
  "font-size": z.value.xyLabelsXFontSize,
@@ -2032,42 +2044,42 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2032
2044
  x: 0,
2033
2045
  y: 0
2034
2046
  })
2035
- }, null, 8, cn)) : (C(), _("text", {
2047
+ }, null, 8, ln)) : (C(), _("text", {
2036
2048
  key: 0,
2037
2049
  class: "vue-data-ui-time-label",
2038
2050
  "font-size": z.value.xyLabelsXFontSize,
2039
2051
  "text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
2040
2052
  fill: z.value.color,
2041
2053
  transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`
2042
- }, D(e), 9, sn))])) : g("", !0)], 64))), 256))], 512)])) : g("", !0),
2043
- v("g", ln, [(C(!0), _(m, null, T(Q.value.dataset, (e, t) => (C(), _(m, null, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("rect", {
2054
+ }, D(e), 9, cn))])) : g("", !0)], 64))), 256))], 512)])) : g("", !0),
2055
+ v("g", un, [(C(!0), _(m, null, T(Q.value.dataset, (e, t) => (C(), _(m, null, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("rect", {
2044
2056
  x: t.x,
2045
2057
  width: t.width <= 0 ? 1e-5 : t.width,
2046
- height: O(u)(t.height <= 0 ? 1e-5 : t.height),
2047
- y: O(u)(t.y),
2058
+ height: O(d)(t.height <= 0 ? 1e-5 : t.height),
2059
+ y: O(d)(t.y),
2048
2060
  fill: e.color,
2049
2061
  stroke: z.value.backgroundColor,
2050
2062
  "stroke-width": z.value.barStrokeWidth,
2051
2063
  "stroke-linecap": "round",
2052
2064
  class: b({ "vue-data-ui-transition": O(B) })
2053
- }, null, 10, un))), 256))], 64))), 256))]),
2054
- z.value.showDataLabels ? (C(), _("g", dn, [(C(!0), _(m, null, T(Q.value.dataset, (e, t) => (C(), _(m, { key: `ds_${e.id}` }, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("text", {
2065
+ }, null, 10, dn))), 256))], 64))), 256))]),
2066
+ z.value.showDataLabels ? (C(), _("g", fn, [(C(!0), _(m, null, T(Q.value.dataset, (e, t) => (C(), _(m, { key: `ds_${e.id}` }, [(C(!0), _(m, null, T(e.coordinates, (t, n) => (C(), _("text", {
2055
2067
  class: b({ "vue-data-ui-transition": O(B) }),
2056
2068
  key: `plot_${n + X.value.start}`,
2057
- transform: `translate(${t.x + t.width / 2}, ${O(u)(t.y) - z.value.dataLabelFontSize / 2})`,
2069
+ transform: `translate(${t.x + t.width / 2}, ${O(d)(t.y) - z.value.dataLabelFontSize / 2})`,
2058
2070
  "text-anchor": "middle",
2059
2071
  "font-size": z.value.dataLabelFontSize,
2060
2072
  fill: e.color
2061
- }, D(O(f)(z.value.formatter, O(u)(t.value), O(c)({
2073
+ }, D(O(p)(z.value.formatter, O(d)(t.value), O(c)({
2062
2074
  p: z.value.valuePrefix,
2063
- v: O(u)(t.value),
2075
+ v: O(d)(t.value),
2064
2076
  s: z.value.valueSuffix,
2065
2077
  r: z.value.dataLabelRoundingValue
2066
2078
  }), {
2067
2079
  datapoint: t,
2068
2080
  seriesIndex: n
2069
- })), 11, fn))), 128))], 64))), 128))])) : g("", !0),
2070
- ur.value && L.value.length < Q.value.legend.length ? (C(), _("g", pn, [(C(!0), _(m, null, T(Q.value.extremes.maxSeries, (e, t) => (C(), _("rect", {
2081
+ })), 11, pn))), 128))], 64))), 128))])) : g("", !0),
2082
+ dr.value && L.value.length < Q.value.legend.length ? (C(), _("g", mn, [(C(!0), _(m, null, T(Q.value.extremes.maxSeries, (e, t) => (C(), _("rect", {
2071
2083
  x: Q.value.drawingArea.left + t * Q.value.slotSize,
2072
2084
  y: Q.value.drawingArea.top,
2073
2085
  height: Q.value.drawingArea.height <= 0 ? 1e-5 : Q.value.drawingArea.height,
@@ -2077,65 +2089,65 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2077
2089
  onMouseenter: (e) => Q.value.useTooltip(t, "pointer"),
2078
2090
  onMouseleave: (e) => Q.value.killTooltip(t),
2079
2091
  onClick: (e) => Q.value.selectDatapoint(t)
2080
- }, null, 44, mn))), 256))])) : g("", !0)
2092
+ }, null, 44, hn))), 256))])) : g("", !0)
2081
2093
  ], 64)) : g("", !0),
2082
- [A.LINE, A.BAR].includes(G.value) ? (C(), _("g", hn, [
2094
+ [A.LINE, A.BAR].includes(G.value) ? (C(), _("g", gn, [
2083
2095
  z.value.xAxisLabel && G.value === A.LINE ? (C(), _("g", {
2084
2096
  key: 0,
2085
2097
  ref_key: "xAxisLabel",
2086
- ref: Bn
2098
+ ref: Vn
2087
2099
  }, [v("text", {
2088
2100
  "font-size": z.value.axisLabelsFontSize,
2089
2101
  fill: z.value.color,
2090
2102
  "text-anchor": "middle",
2091
2103
  x: Z.value.drawingArea.left + Z.value.drawingArea.width / 2,
2092
2104
  y: K.value.height - z.value.axisLabelsFontSize / 3
2093
- }, D(z.value.xAxisLabel), 9, gn)], 512)) : g("", !0),
2105
+ }, D(z.value.xAxisLabel), 9, _n)], 512)) : g("", !0),
2094
2106
  z.value.xAxisLabel && G.value === A.BAR ? (C(), _("g", {
2095
2107
  key: 1,
2096
2108
  ref_key: "xAxisLabel",
2097
- ref: Bn
2109
+ ref: Vn
2098
2110
  }, [v("text", {
2099
2111
  "font-size": z.value.axisLabelsFontSize,
2100
2112
  fill: z.value.color,
2101
2113
  "text-anchor": "middle",
2102
2114
  x: Q.value.drawingArea.left + Q.value.drawingArea.width / 2,
2103
2115
  y: K.value.height - z.value.axisLabelsFontSize / 3
2104
- }, D(z.value.xAxisLabel), 9, _n)], 512)) : g("", !0),
2116
+ }, D(z.value.xAxisLabel), 9, vn)], 512)) : g("", !0),
2105
2117
  z.value.yAxisLabel && G.value === A.LINE ? (C(), _("g", {
2106
2118
  key: 2,
2107
2119
  ref_key: "yAxisLabel",
2108
- ref: Vn
2120
+ ref: Hn
2109
2121
  }, [v("text", {
2110
2122
  "font-size": z.value.axisLabelsFontSize,
2111
2123
  fill: z.value.color,
2112
2124
  transform: `translate(${z.value.axisLabelsFontSize}, ${Z.value.drawingArea.top + Z.value.drawingArea.height / 2}) rotate(-90)`,
2113
2125
  "text-anchor": "middle"
2114
- }, D(z.value.yAxisLabel), 9, vn)], 512)) : g("", !0),
2126
+ }, D(z.value.yAxisLabel), 9, yn)], 512)) : g("", !0),
2115
2127
  z.value.yAxisLabel && G.value === A.BAR ? (C(), _("g", {
2116
2128
  key: 3,
2117
2129
  ref_key: "yAxisLabel",
2118
- ref: Vn
2130
+ ref: Hn
2119
2131
  }, [v("text", {
2120
2132
  "font-size": z.value.axisLabelsFontSize,
2121
2133
  fill: z.value.color,
2122
2134
  transform: `translate(${z.value.axisLabelsFontSize}, ${Q.value.drawingArea.top + Q.value.drawingArea.height / 2}) rotate(-90)`,
2123
2135
  "text-anchor": "middle"
2124
- }, D(z.value.yAxisLabel), 9, yn)], 512)) : g("", !0)
2136
+ }, D(z.value.yAxisLabel), 9, bn)], 512)) : g("", !0)
2125
2137
  ])) : g("", !0)
2126
- ], 46, at)) : g("", !0), e.$slots.hint ? (C(), _("div", bn, [E(e.$slots, "hint", x(y({
2138
+ ], 46, ot)) : g("", !0), e.$slots.hint ? (C(), _("div", xn, [E(e.$slots, "hint", x(y({
2127
2139
  hint: z.value.a11y.translations.keyboardNavigation,
2128
- isVisible: tr.value
2140
+ isVisible: nr.value
2129
2141
  })), void 0, !0)])) : g("", !0)]),
2130
- e.$slots.watermark ? (C(), _("div", xn, [E(e.$slots, "watermark", x(y({ isPrinting: O(gr) || O(_r) })), void 0, !0)])) : g("", !0),
2142
+ e.$slots.watermark ? (C(), _("div", Sn, [E(e.$slots, "watermark", x(y({ isPrinting: O(yr) || O(br) })), void 0, !0)])) : g("", !0),
2131
2143
  [A.BAR, A.LINE].includes(G.value) && z.value.zoomXy && W.value.maxSeriesLength > 1 ? (C(), _("div", {
2132
- key: `slicer_${Fn.value}`,
2144
+ key: `slicer_${In.value}`,
2133
2145
  ref_key: "quickChartSlicer",
2134
- ref: kn
2135
- }, [(C(), Me(Ee, {
2146
+ ref: An
2147
+ }, [(C(), Ne(De, {
2136
2148
  ref_key: "slicerComponent",
2137
- ref: Ir,
2138
- key: `slicer_${Fn.value}`,
2149
+ ref: zr,
2150
+ key: `slicer_${In.value}`,
2139
2151
  timeLabels: $.value,
2140
2152
  background: z.value.zoomColor,
2141
2153
  borderColor: z.value.backgroundColor,
@@ -2153,7 +2165,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2153
2165
  minimapSelectedColorOpacity: z.value.zoomMinimap.selectedColorOpacity,
2154
2166
  minimapSelectionRadius: z.value.zoomMinimap.selectionRadius,
2155
2167
  minimapLineColor: z.value.zoomMinimap.lineColor,
2156
- minimap: zr.value,
2168
+ minimap: Hr.value,
2157
2169
  minimapIndicatorColor: z.value.zoomMinimap.indicatorColor,
2158
2170
  verticalHandles: z.value.zoomMinimap.verticalHandles,
2159
2171
  minimapSelectedIndex: J.value,
@@ -2167,7 +2179,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2167
2179
  enableSelectionDrag: z.value.zoomEnableSelectionDrag,
2168
2180
  minimapCompact: z.value.zoomMinimap.compact,
2169
2181
  minimapMerged: z.value.zoomMinimap.merged,
2170
- allMinimaps: qr.value,
2182
+ allMinimaps: Xr.value,
2171
2183
  minimapFrameColor: z.value.zoomMinimap.frameColor,
2172
2184
  additionalMinimapHeight: z.value.zoomMinimap.additionalHeight,
2173
2185
  handleType: z.value.zoomMinimap.handleType,
@@ -2179,33 +2191,33 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2179
2191
  focusOnDrag: z.value.zoomFocusOnDrag,
2180
2192
  focusRangeRatio: z.value.zoomFocusRangeRatio,
2181
2193
  maxWidth: z.value.zoomMaxWidth,
2182
- minimapLeftInsetRatio: Gr.value,
2183
- minimapRightInsetRatio: Kr.value,
2184
- onReset: Fr,
2185
- onTrapMouse: Nr
2194
+ minimapLeftInsetRatio: Jr.value,
2195
+ minimapRightInsetRatio: Yr.value,
2196
+ onReset: Rr,
2197
+ onTrapMouse: Ir
2186
2198
  }, {
2187
2199
  "reset-action": k(({ reset: t }) => [E(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
2188
2200
  _: 3
2189
2201
  }, 8, /* @__PURE__ */ "timeLabels.background.borderColor.fontSize.useResetSlot.textColor.inputColor.selectColor.max.valueStart.valueEnd.smoothMinimap.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectionRadius.minimapLineColor.minimap.minimapIndicatorColor.verticalHandles.minimapSelectedIndex.start.end.refreshStartPoint.refreshEndPoint.enableRangeHandles.enableSelectionDrag.minimapCompact.minimapMerged.allMinimaps.minimapFrameColor.additionalMinimapHeight.handleType.handleWidth.handleBorderWidth.handleIconColor.handleBorderColor.handleFill.focusOnDrag.focusRangeRatio.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio".split(".")))])) : g("", !0),
2190
- v("div", { id: `legend-bottom-${P.value}` }, null, 8, Sn),
2191
- In.value && z.value.showLegend ? (C(), Me(je, {
2202
+ v("div", { id: `legend-bottom-${P.value}` }, null, 8, Cn),
2203
+ Ln.value && z.value.showLegend ? (C(), Ne(Me, {
2192
2204
  key: 7,
2193
2205
  to: z.value.legendPosition === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
2194
2206
  }, [z.value.showLegend ? (C(), _("div", {
2195
2207
  key: 0,
2196
2208
  ref_key: "quickChartLegend",
2197
- ref: On,
2209
+ ref: kn,
2198
2210
  class: "vue-ui-quick-chart-legend",
2199
2211
  style: S(`background:transparent;color:${z.value.color}`)
2200
2212
  }, [
2201
- (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && z.value.showLegendSelectAllToggle && !O(rr) ? (C(), Me(De, {
2213
+ (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && z.value.showLegendSelectAllToggle && !O(ir) ? (C(), Ne(Oe, {
2202
2214
  key: 0,
2203
2215
  backgroundColor: z.value.legendSelectAllToggleBackgroundColor,
2204
2216
  color: z.value.legendSelectAllToggleColor,
2205
2217
  fontSize: z.value.legendFontSize,
2206
2218
  checked: L.value.length > 0,
2207
- isCursorPointer: $n.value,
2208
- onToggle: Dr
2219
+ isCursorPointer: er.value,
2220
+ onToggle: Ar
2209
2221
  }, null, 8, [
2210
2222
  "backgroundColor",
2211
2223
  "color",
@@ -2215,23 +2227,23 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2215
2227
  ])) : g("", !0),
2216
2228
  G.value === A.DONUT ? (C(!0), _(m, { key: 1 }, T(Y.value.legend, (t, n) => (C(), _("div", {
2217
2229
  class: "vue-ui-quick-chart-legend-item",
2218
- onClick: (e) => Mr(t, Y.value.dataset),
2219
- style: S(`cursor: ${Y.value.legend.length > 1 && $n.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2230
+ onClick: (e) => Fr(t, Y.value.dataset),
2231
+ style: S(`cursor: ${Y.value.legend.length > 1 && er.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2220
2232
  role: "button",
2221
2233
  tabindex: "0",
2222
2234
  onKeydown: (e) => {
2223
- di(e, () => {
2224
- Mr(t, Y.value.dataset);
2235
+ mi(e, () => {
2236
+ Fr(t, Y.value.dataset);
2225
2237
  });
2226
2238
  }
2227
- }, [z.value.useCustomLegend ? E(e.$slots, "legend", Ie({ ref_for: !0 }, { legend: {
2239
+ }, [z.value.useCustomLegend ? E(e.$slots, "legend", Le({ ref_for: !0 }, { legend: {
2228
2240
  ...t,
2229
2241
  isSegregated: L.value.includes(t.id),
2230
2242
  segregate: () => {
2231
- Mr(t, Y.value.dataset);
2243
+ Fr(t, Y.value.dataset);
2232
2244
  }
2233
2245
  } }), void 0, !0, 0) : (C(), _(m, { key: 1 }, [
2234
- Pe(O(Ke), {
2246
+ Fe(O(qe), {
2235
2247
  name: z.value.legendIcon,
2236
2248
  stroke: t.color,
2237
2249
  size: z.value.legendIconSize
@@ -2241,7 +2253,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2241
2253
  "size"
2242
2254
  ]),
2243
2255
  v("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5),
2244
- v("span", { style: S(`font-size:${z.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, D(L.value.includes(t.id) ? "-" : O(f)(z.value.formatter, t.absoluteValue, O(c)({
2256
+ v("span", { style: S(`font-size:${z.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, D(L.value.includes(t.id) ? "-" : O(p)(z.value.formatter, t.absoluteValue, O(c)({
2245
2257
  p: z.value.valuePrefix,
2246
2258
  v: t.absoluteValue,
2247
2259
  s: z.value.valueSuffix,
@@ -2253,7 +2265,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2253
2265
  L.value.includes(t.id) ? (C(), _("span", {
2254
2266
  key: 0,
2255
2267
  style: S(`font-size:${z.value.legendFontSize}px`)
2256
- }, " ( - % ) ", 4)) : jr.value ? (C(), _("span", {
2268
+ }, " ( - % ) ", 4)) : Pr.value ? (C(), _("span", {
2257
2269
  key: 1,
2258
2270
  style: S(`font-size:${z.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2259
2271
  }, " ( - % ) ", 4)) : (C(), _("span", {
@@ -2264,27 +2276,27 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2264
2276
  s: "%",
2265
2277
  r: z.value.dataLabelRoundingPercentage
2266
2278
  })) + ") ", 5))
2267
- ], 64))], 44, Cn))), 256)) : g("", !0),
2279
+ ], 64))], 44, wn))), 256)) : g("", !0),
2268
2280
  G.value === A.LINE ? (C(!0), _(m, { key: 2 }, T(Z.value.legend, (t, n) => (C(), _("div", {
2269
2281
  class: "vue-ui-quick-chart-legend-item",
2270
2282
  onClick: (e) => {
2271
- Or(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2283
+ jr(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2272
2284
  },
2273
- style: S(`cursor: ${Z.value.legend.length > 1 && $n.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2285
+ style: S(`cursor: ${Z.value.legend.length > 1 && er.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2274
2286
  role: "button",
2275
2287
  tabindex: "0",
2276
2288
  onKeydown: (e) => {
2277
- di(e, () => {
2278
- Or(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2289
+ mi(e, () => {
2290
+ jr(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2279
2291
  });
2280
2292
  }
2281
- }, [z.value.useCustomLegend ? E(e.$slots, "legend", Ie({ ref_for: !0 }, { legend: {
2293
+ }, [z.value.useCustomLegend ? E(e.$slots, "legend", Le({ ref_for: !0 }, { legend: {
2282
2294
  ...t,
2283
2295
  isSegregated: L.value.includes(t.id),
2284
2296
  segregate: () => {
2285
- Or(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2297
+ jr(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
2286
2298
  }
2287
- } }), void 0, !0, 0) : (C(), _(m, { key: 1 }, [Pe(O(Ke), {
2299
+ } }), void 0, !0, 0) : (C(), _(m, { key: 1 }, [Fe(O(qe), {
2288
2300
  name: z.value.legendIcon,
2289
2301
  stroke: t.color,
2290
2302
  size: z.value.legendIconSize
@@ -2292,27 +2304,27 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2292
2304
  "name",
2293
2305
  "stroke",
2294
2306
  "size"
2295
- ]), v("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, wn))), 256)) : g("", !0),
2307
+ ]), v("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, Tn))), 256)) : g("", !0),
2296
2308
  G.value === A.BAR ? (C(!0), _(m, { key: 3 }, T(Q.value.legend, (t, n) => (C(), _("div", {
2297
2309
  class: "vue-ui-quick-chart-legend-item",
2298
2310
  onClick: (e) => {
2299
- Or(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2311
+ jr(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2300
2312
  },
2301
- style: S(`cursor: ${Q.value.legend.length > 1 && $n.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2313
+ style: S(`cursor: ${Q.value.legend.length > 1 && er.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
2302
2314
  role: "button",
2303
2315
  tabindex: "0",
2304
2316
  onKeydown: (e) => {
2305
- di(e, () => {
2306
- Or(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2317
+ mi(e, () => {
2318
+ jr(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2307
2319
  });
2308
2320
  }
2309
- }, [z.value.useCustomLegend ? E(e.$slots, "legend", Ie({ ref_for: !0 }, { legend: {
2321
+ }, [z.value.useCustomLegend ? E(e.$slots, "legend", Le({ ref_for: !0 }, { legend: {
2310
2322
  ...t,
2311
2323
  isSegregated: L.value.includes(t.id),
2312
2324
  segregate: () => {
2313
- Or(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2325
+ jr(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
2314
2326
  }
2315
- } }), void 0, !0, 0) : (C(), _(m, { key: 1 }, [Pe(O(Ke), {
2327
+ } }), void 0, !0, 0) : (C(), _(m, { key: 1 }, [Fe(O(qe), {
2316
2328
  name: z.value.legendIcon,
2317
2329
  stroke: t.color,
2318
2330
  size: z.value.legendIconSize
@@ -2320,17 +2332,17 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2320
2332
  "name",
2321
2333
  "stroke",
2322
2334
  "size"
2323
- ]), v("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, Tn))), 256)) : g("", !0)
2335
+ ]), v("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, En))), 256)) : g("", !0)
2324
2336
  ], 4)) : g("", !0)], 8, ["to"])) : g("", !0),
2325
2337
  e.$slots.source ? (C(), _("div", {
2326
2338
  key: 8,
2327
2339
  ref_key: "source",
2328
- ref: Mn,
2340
+ ref: Nn,
2329
2341
  dir: "auto"
2330
2342
  }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
2331
- Pe(O(Xe), {
2343
+ Fe(O(Ze), {
2332
2344
  teleportTo: z.value.tooltipTeleportTo,
2333
- show: xr.value.showTooltip && F.value,
2345
+ show: wr.value.showTooltip && F.value,
2334
2346
  backgroundColor: z.value.backgroundColor,
2335
2347
  color: z.value.color,
2336
2348
  borderRadius: z.value.tooltipBorderRadius,
@@ -2342,19 +2354,19 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2342
2354
  offsetX: z.value.tooltipOffsetX,
2343
2355
  offsetY: z.value.tooltipOffsetY,
2344
2356
  parent: N.value,
2345
- content: jn.value,
2346
- isFullscreen: Xr.value,
2357
+ content: Mn.value,
2358
+ isFullscreen: $r.value,
2347
2359
  isCustom: O(t)(z.value.tooltipCustomFormat),
2348
2360
  smooth: z.value.tooltipSmooth,
2349
2361
  smoothForce: z.value.tooltipSmoothForce,
2350
2362
  smoothSnapThreshold: z.value.tooltipSmoothSnapThreshold,
2351
2363
  backdropFilter: z.value.tooltipBackdropFilter,
2352
2364
  isA11yMode: H.value === "keyboard",
2353
- a11yPosition: er.value
2365
+ a11yPosition: tr.value
2354
2366
  }, {
2355
- "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...An.value })), void 0, !0)]),
2356
- tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...An.value })), void 0, !0)]),
2357
- "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...An.value })), void 0, !0)]),
2367
+ "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...jn.value })), void 0, !0)]),
2368
+ tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...jn.value })), void 0, !0)]),
2369
+ "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...jn.value })), void 0, !0)]),
2358
2370
  _: 3
2359
2371
  }, 8, [
2360
2372
  "teleportTo",
@@ -2380,12 +2392,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
2380
2392
  "isA11yMode",
2381
2393
  "a11yPosition"
2382
2394
  ]),
2383
- E(e.$slots, "skeleton", {}, () => [O(rr) ? (C(), Me(he, { key: 0 })) : g("", !0)], !0)
2384
- ], 46, tt)) : (C(), _("div", En, [Pe(O(Ke), {
2395
+ E(e.$slots, "skeleton", {}, () => [O(ir) ? (C(), Ne(ge, { key: 0 })) : g("", !0)], !0)
2396
+ ], 46, nt)) : (C(), _("div", Dn, [Fe(O(qe), {
2385
2397
  name: "circleCancel",
2386
2398
  stroke: "red"
2387
2399
  }), r[5] ||= v("span", null, "Dataset is not processable", -1)]));
2388
2400
  }
2389
- }, [["__scopeId", "data-v-5e1b0e8a"]]);
2401
+ }, [["__scopeId", "data-v-0c7f3834"]]);
2390
2402
  //#endregion
2391
- export { N as n, Dn as t };
2403
+ export { N as n, On as t };