vue-data-ui 3.23.1 → 3.23.2

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 (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -1,30 +1,30 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, G as r, Gt as a, Jt as o, K as s, Kt as c, Ot as l, Pt as u, S as d, Wt as f, X as p, _ as ee, c as te, ct as ne, dt as re, i as m, jt as ie, ot as ae, pt as oe, q as se, r as ce, t as le, tt as ue, v as de, w as fe, xt as pe } from "./lib-Bttd6u5E.js";
3
- import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { n as ge, r as _e, t as ve } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as ye } from "./useConfig-D3scuR88.js";
6
- import { t as be } from "./usePrinter-DN5bYhTG.js";
7
- import { n as xe, t as Se } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as Ce } from "./useSvgExport-DH-FfcqQ.js";
2
+ import { $ as t, D as n, G as r, Gt as a, Jt as o, K as s, Kt as c, Ot as l, Pt as u, S as d, Wt as f, X as p, _ as ee, c as te, ct as ne, dt as re, i as ie, jt as ae, ot as oe, pt as se, q as ce, r as le, t as ue, tt as de, v as fe, w as pe, xt as me } from "./lib-Bttd6u5E.js";
3
+ import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
+ import { n as _e, r as ve, t as ye } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as be } from "./useConfig-DlNpz6P8.js";
6
+ import { t as xe } from "./usePrinter-DN5bYhTG.js";
7
+ import { n as Se, t as Ce } from "./BaseScanner-DZvpgOjM.js";
9
8
  import { t as we } from "./useNestedProp-vPNvh7rV.js";
10
9
  import { t as Te } from "./useThemeCheck-C43Tcqmk.js";
11
- import { t as Ee } from "./useTransitions-g_zBREk2.js";
12
- import { t as De } from "./useStableElementSize-C7KADDKj.js";
13
- import { t as Oe } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
- import { t as ke } from "./img-Bnokohej.js";
15
- import { n as Ae } from "./Title-BE3qg9xl.js";
16
- import { t as je } from "./Shape-C21CMlWS.js";
17
- import { t as Me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
- import { l as Ne, t as Pe } from "./useResponsive-ZtArZtUf.js";
19
- import { t as Fe } from "./DefGrad-DVBqDjhO.js";
20
- import { t as Ie } from "./SlicerPreview-wUw1hFwe.js";
21
- import { t as Le } from "./BaseLegendToggle-DZVucLnv.js";
22
- import { t as Re } from "./A11yDataTable-DdRsVULz.js";
23
- import { t as ze } from "./useUserOptionState-DK-_1ddE.js";
24
- import { t as Be } from "./useChartAccessibility-DYqac8yF.js";
25
- import { t as Ve } from "./Legend-CQxUgOd-.js";
26
- import { t as He } from "./vue_ui_stackbar-COOrQQdK.js";
27
- import { Fragment as h, Teleport as Ue, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as We, createSlots as Ge, createTextVNode as Ke, createVNode as qe, defineAsyncComponent as Je, guardReactiveProps as b, mergeProps as Ye, nextTick as Xe, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ze, onMounted as Qe, openBlock as w, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as O, toRefs as tt, unref as k, useSlots as nt, watch as rt, watchEffect as it, withCtx as A } from "vue";
10
+ import { t as Ee } from "./useChartExport-DNiwdPmb.js";
11
+ import { t as De } from "./useTransitions-g_zBREk2.js";
12
+ import { t as Oe } from "./useStableElementSize-C7KADDKj.js";
13
+ import { t as ke } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
+ import { t as Ae } from "./img-Bnokohej.js";
15
+ import { n as je } from "./Title-BE3qg9xl.js";
16
+ import { t as Me } from "./Shape-C21CMlWS.js";
17
+ import { t as Ne } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
+ import { l as Pe, t as Fe } from "./useResponsive-ZtArZtUf.js";
19
+ import { t as Ie } from "./DefGrad-DVBqDjhO.js";
20
+ import { t as Le } from "./SlicerPreview-wUw1hFwe.js";
21
+ import { t as Re } from "./BaseLegendToggle-DZVucLnv.js";
22
+ import { t as ze } from "./A11yDataTable-DdRsVULz.js";
23
+ import { t as Be } from "./useUserOptionState-DK-_1ddE.js";
24
+ import { t as Ve } from "./useChartAccessibility-DYqac8yF.js";
25
+ import { t as He } from "./Legend-CQxUgOd-.js";
26
+ import { t as Ue } from "./vue_ui_stackbar-COOrQQdK.js";
27
+ import { Fragment as m, Teleport as We, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Ge, createTextVNode as Ke, createVNode as qe, defineAsyncComponent as Je, guardReactiveProps as b, mergeProps as Ye, nextTick as Xe, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ze, onMounted as Qe, openBlock as w, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as O, toRefs as tt, unref as k, useSlots as nt, watch as rt, watchEffect as it, withCtx as A } from "vue";
28
28
  //#region src/components/vue-ui-stackbar.vue
29
29
  var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct = ["id"], lt = { style: { position: "relative" } }, ut = [
30
30
  "xmlns",
@@ -235,7 +235,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
235
235
  "width",
236
236
  "fill",
237
237
  "stroke"
238
- ], Zt = ["id"], Qt = ["onClick"], $t = ["innerHTML"], en = /*#__PURE__*/ Me({
238
+ ], Zt = ["id"], Qt = ["onClick"], $t = ["innerHTML"], en = /*#__PURE__*/ Ne({
239
239
  __name: "vue-ui-stackbar",
240
240
  props: {
241
241
  config: {
@@ -262,52 +262,52 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
262
262
  "selectX",
263
263
  "copyAlt"
264
264
  ],
265
- setup(e, { expose: Me, emit: at }) {
266
- let en = Je(() => import("./Tooltip-DhjyfHwz.js")), tn = Je(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), nn = Je(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), rn = Je(() => import("./DataTable-BbKgJ5UI.js")), an = Je(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), on = Je(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), sn = Je(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), cn = Je(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_stackbar: ln } = ye(), { isThemeValid: un, warnInvalidTheme: dn } = Te(), fn = nt(), j = e, M = at, pn = g({
265
+ setup(e, { expose: Ne, emit: at }) {
266
+ let en = Je(() => import("./Tooltip-DhjyfHwz.js")), tn = Je(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), nn = Je(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), rn = Je(() => import("./DataTable-BbKgJ5UI.js")), an = Je(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), on = Je(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), sn = Je(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), cn = Je(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_stackbar: ln } = be(), { isThemeValid: un, warnInvalidTheme: dn } = Te(), fn = nt(), j = e, M = at, pn = h({
267
267
  get() {
268
268
  return !!j.dataset && j.dataset.length;
269
269
  },
270
270
  set(e) {
271
271
  return e;
272
272
  }
273
- }), N = T(null), P = T(se()), mn = T(!1), hn = T(null), gn = T(""), F = T([]), _n = T(0), vn = T(null), yn = T(null), bn = T(null), xn = T(null), Sn = T(!1), I = T(null), Cn = T(!1), wn = T(0), Tn = T(0), En = T(0), Dn = T(!1), On = T(null), kn = T(null), An = T(!1), jn = T(!1), Mn = T(null), Nn = T(null), Pn = T(null), Fn = T(null), In = T(null), Ln = T(null), Rn = et(null), zn = T(!1), Bn = T(0), Vn = T(0), L = T(null), Hn = T({
273
+ }), N = T(null), P = T(ce()), mn = T(!1), hn = T(null), gn = T(""), F = T([]), _n = T(0), vn = T(null), yn = T(null), bn = T(null), xn = T(null), Sn = T(!1), I = T(null), Cn = T(!1), wn = T(0), Tn = T(0), En = T(0), Dn = T(!1), On = T(null), kn = T(null), An = T(null), jn = T(null), Mn = T(null), Nn = T(null), Pn = T(null), Fn = T(null), In = et(null), Ln = T(!1), Rn = T(0), zn = T(0), L = T(null), Bn = T({
274
274
  x: 0,
275
275
  y: 0
276
- }), Un = T("pointer"), Wn = De({
277
- elementRef: Rn,
276
+ }), Vn = T("pointer"), Hn = Oe({
277
+ elementRef: In,
278
278
  minimumWidth: 2,
279
279
  minimumHeight: 2,
280
280
  stableFramesRequired: 2,
281
281
  once: !1,
282
282
  onSizeAccepted: () => {
283
- qn();
283
+ Gn();
284
284
  }
285
285
  });
286
- function Gn() {
287
- Rn.value = N.value?.parentNode ?? null;
286
+ function Un() {
287
+ In.value = N.value?.parentNode ?? null;
288
288
  }
289
- function Kn() {
289
+ function Wn() {
290
290
  return new Promise((e) => {
291
291
  requestAnimationFrame(() => {
292
292
  requestAnimationFrame(e);
293
293
  });
294
294
  });
295
295
  }
296
- async function qn() {
297
- let e = ++Vn.value;
298
- zn.value = !1, await Xe(), await Kn(), await Kn(), e === Vn.value && (Bn.value += 1, zn.value = !0);
296
+ async function Gn() {
297
+ let e = ++zn.value;
298
+ Ln.value = !1, await Xe(), await Wn(), await Wn(), e === zn.value && (Rn.value += 1, Ln.value = !0);
299
299
  }
300
- let Jn = T(null);
300
+ let Kn = T(null);
301
301
  Qe(() => {
302
- Dn.value = !0, Gn(), Wn.start(), gr();
302
+ Dn.value = !0, Un(), Hn.start(), mr();
303
303
  });
304
- let R = T(ar());
305
- me({
304
+ let R = T(rr());
305
+ he({
306
306
  config: () => R.value,
307
307
  dataset: () => j.dataset,
308
308
  component: "VueUiStackbar",
309
309
  rules: [
310
- he.emptyArray,
310
+ ge.emptyArray,
311
311
  {
312
312
  test: (e) => e.some((e) => e.series.length > 60),
313
313
  message: [
@@ -332,10 +332,10 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
332
332
  }
333
333
  ]
334
334
  });
335
- let { transitionEnabled: z } = Ee({
335
+ let { transitionEnabled: z } = De({
336
336
  config: () => R.value.transitions,
337
337
  dataset: () => j.dataset
338
- }), B = g(() => R.value.userOptions.useCursorPointer), Yn = g(() => o({
338
+ }), B = h(() => R.value.userOptions.useCursorPointer), qn = h(() => o({
339
339
  defaultConfig: {
340
340
  userOptions: { show: !1 },
341
341
  useCssAnimation: !1,
@@ -380,13 +380,13 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
380
380
  } }
381
381
  },
382
382
  userConfig: R.value.skeletonConfig ?? {}
383
- })), { loading: Xn, FINAL_DATASET: Zn, manualLoading: Qn } = xe({
383
+ })), { loading: Jn, FINAL_DATASET: Yn, manualLoading: Xn } = Se({
384
384
  ...tt(j),
385
385
  FINAL_CONFIG: R,
386
- prepareConfig: ar,
386
+ prepareConfig: rr,
387
387
  callback: () => {
388
388
  Promise.resolve().then(async () => {
389
- (!R.value.style.chart.zoom.keepState || !qi.value || J.value.start === 0 && J.value.end === 0) && await Ji();
389
+ (!R.value.style.chart.zoom.keepState || !Gi.value || J.value.start === 0 && J.value.end === 0) && await Ki();
390
390
  });
391
391
  },
392
392
  skeletonDataset: j.config?.skeletonDataset ?? [{
@@ -414,20 +414,20 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
414
414
  }],
415
415
  skeletonConfig: o({
416
416
  defaultConfig: R.value,
417
- userConfig: Yn.value
417
+ userConfig: qn.value
418
418
  })
419
- }), { userOptionsVisible: $n, setUserOptionsVisibility: er, keepUserOptionState: tr } = ze({ config: R.value }), { svgRef: nr } = Be({ config: R.value.style.chart.title });
420
- function rr() {
421
- er(!0);
419
+ }), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = Be({ config: R.value }), { svgRef: er } = Ve({ config: R.value.style.chart.title });
420
+ function tr() {
421
+ Qn(!0);
422
422
  }
423
- function ir() {
424
- er(!1), M("selectX", {
423
+ function nr() {
424
+ Qn(!1), M("selectX", {
425
425
  index: null,
426
426
  indexLabel: null,
427
427
  dataset: null
428
428
  }), I.value = null, L.value = null, mn.value = !1;
429
429
  }
430
- function ar() {
430
+ function rr() {
431
431
  let e = we({
432
432
  userConfig: j.config,
433
433
  defaultConfig: ln
@@ -435,7 +435,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
435
435
  if (n) if (!un.value(e)) dn(e), t = e;
436
436
  else {
437
437
  let r = we({
438
- userConfig: He[n] || j.config,
438
+ userConfig: Ue[n] || j.config,
439
439
  defaultConfig: e
440
440
  });
441
441
  t = {
@@ -449,11 +449,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
449
449
  else t = e;
450
450
  return t;
451
451
  }
452
- let or = g(() => R.value.style.chart.bars.dataLabels.hideUnderValue != null), sr = g(() => R.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
452
+ let ir = h(() => R.value.style.chart.bars.dataLabels.hideUnderValue != null), ar = h(() => R.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
453
453
  rt(() => j.config, (e) => {
454
- Xn.value || (R.value = ar()), $n.value = !R.value.userOptions.showOnChartHover, gr({ resetSlicer: !R.value.style.chart.zoom.keepState }), wn.value += 1, Tn.value += 1, En.value += 1, V.value.dataLabels.show = R.value.style.chart.bars.dataLabels.show, V.value.showTable = R.value.table.show, V.value.showTooltip = R.value.style.chart.tooltip.show, Gn(), !R.value.style.chart.zoom.keepState || !qi.value || J.value.start === 0 && J.value.end === 0 ? Ji() : Mr();
454
+ Jn.value || (R.value = rr()), Zn.value = !R.value.userOptions.showOnChartHover, mr({ resetSlicer: !R.value.style.chart.zoom.keepState }), wn.value += 1, Tn.value += 1, En.value += 1, V.value.dataLabels.show = R.value.style.chart.bars.dataLabels.show, V.value.showTable = R.value.table.show, V.value.showTooltip = R.value.style.chart.tooltip.show, Un(), !R.value.style.chart.zoom.keepState || !Gi.value || J.value.start === 0 && J.value.end === 0 ? Ki() : Ar();
455
455
  }, { deep: !0 }), rt(() => j.dataset, (e) => {
456
- Array.isArray(e) && e.length > 0 && (Qn.value = !1), Gn(), R.value.style.chart.zoom.keepState ? Mr() : Fr();
456
+ Array.isArray(e) && e.length > 0 && (Xn.value = !1), Un(), R.value.style.chart.zoom.keepState ? Ar() : Nr();
457
457
  }, { deep: !0 });
458
458
  let V = T({
459
459
  dataLabels: { show: R.value.style.chart.bars.dataLabels.show },
@@ -467,7 +467,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
467
467
  showTooltip: R.value.style.chart.tooltip.show
468
468
  };
469
469
  }, { immediate: !0 });
470
- let { isPrinting: cr, isImaging: lr, generatePdf: ur, generateImage: dr } = be({
470
+ let { isPrinting: or, isImaging: sr, generatePdf: cr, generateImage: lr } = xe({
471
471
  elementId: `stackbar_${P.value}`,
472
472
  fileName: R.value.style.chart.title.text || "vue-ui-stackbar",
473
473
  options: R.value.userOptions.print
@@ -480,31 +480,31 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
480
480
  bottom: R.value.style.chart.padding.bottom / R.value.style.chart.height,
481
481
  left: R.value.style.chart.padding.left / R.value.style.chart.width
482
482
  }
483
- }), fr = g(() => fe(R.value.customPalette)), U = et(null), pr = et(null), mr = T(null), hr = g(() => !!R.value.debug);
484
- function gr({ resetSlicer: e = !0 } = {}) {
485
- if (ie(j.dataset) ? (ue({
483
+ }), ur = h(() => pe(R.value.customPalette)), U = et(null), dr = et(null), fr = T(null), pr = h(() => R.value.debug);
484
+ function mr({ resetSlicer: e = !0 } = {}) {
485
+ if (ae(j.dataset) ? (de({
486
486
  componentName: "VueUiStackbar",
487
487
  type: "dataset",
488
- debug: hr.value
489
- }), Qn.value = !0) : j.dataset.forEach((e, t) => {
490
- oe({
488
+ debug: pr.value
489
+ }), Xn.value = !0) : j.dataset.forEach((e, t) => {
490
+ se({
491
491
  datasetObject: e,
492
492
  requiredAttributes: ["name", "series"]
493
493
  }).forEach((e) => {
494
- pn.value = !1, ue({
494
+ pn.value = !1, de({
495
495
  componentName: "VueUiStackbar",
496
496
  type: "datasetSerieAttribute",
497
497
  property: e,
498
498
  index: t,
499
- debug: hr.value
500
- }), Qn.value = !0;
499
+ debug: pr.value
500
+ }), Xn.value = !0;
501
501
  });
502
- }), ie(j.dataset) || (Qn.value = R.value.loading), setTimeout(() => {
502
+ }), ae(j.dataset) || (Xn.value = R.value.loading), setTimeout(() => {
503
503
  Cn.value = !0;
504
504
  }, 10), R.value.responsive) {
505
- let e = Ne(() => {
505
+ let e = Pe(() => {
506
506
  Cn.value = !1;
507
- let { width: e, height: t } = Pe({
507
+ let { width: e, height: t } = Fe({
508
508
  chart: N.value,
509
509
  title: R.value.style.chart.title.text ? vn.value : null,
510
510
  legend: R.value.style.chart.legend.show ? yn.value : null,
@@ -512,29 +512,29 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
512
512
  source: xn.value
513
513
  });
514
514
  requestAnimationFrame(() => {
515
- H.value.width = e, H.value.height = t - 12, clearTimeout(mr.value), mr.value = setTimeout(() => {
515
+ H.value.width = e, H.value.height = t - 12, clearTimeout(fr.value), fr.value = setTimeout(() => {
516
516
  Cn.value = !0;
517
517
  }, 10);
518
518
  });
519
519
  });
520
- U.value && (pr.value && U.value.unobserve(pr.value), U.value.disconnect()), U.value = new ResizeObserver(e), pr.value = N.value.parentNode, U.value.observe(pr.value);
520
+ U.value && (dr.value && U.value.unobserve(dr.value), U.value.disconnect()), U.value = new ResizeObserver(e), dr.value = N.value.parentNode, U.value.observe(dr.value);
521
521
  }
522
- qn(), e && Ji();
522
+ Gn(), e && Ki();
523
523
  }
524
524
  Ze(() => {
525
- Wn.stop(), U.value && (pr.value && U.value.unobserve(pr.value), U.value.disconnect());
525
+ Hn.stop(), U.value && (dr.value && U.value.unobserve(dr.value), U.value.disconnect());
526
526
  });
527
- let W = g(() => R.value.style.chart.grid.y.position === "right");
528
- function _r() {
527
+ let W = h(() => R.value.style.chart.grid.y.position === "right");
528
+ function hr() {
529
529
  let e = 0;
530
- R.value.orientation === "vertical" && Pn.value && (e = Array.from(Pn.value.querySelectorAll("text")).reduce((e, t) => {
530
+ R.value.orientation === "vertical" && Mn.value && (e = Array.from(Mn.value.querySelectorAll("text")).reduce((e, t) => {
531
531
  let n = t.getComputedTextLength();
532
532
  return n > e ? n : e;
533
- }, 0)), R.value.orientation === "horizontal" && Fn.value && (e = Array.from(Fn.value.querySelectorAll("text")).reduce((e, t) => {
533
+ }, 0)), R.value.orientation === "horizontal" && Nn.value && (e = Array.from(Nn.value.querySelectorAll("text")).reduce((e, t) => {
534
534
  let n = t.getComputedTextLength();
535
535
  return n > e ? n : e;
536
536
  }, 0));
537
- let t = Nn.value ? Nn.value.getBoundingClientRect().width + R.value.style.chart.grid.y.axisName.fontSize + R.value.style.chart.grid.y.axisName.offsetX : 0;
537
+ let t = jn.value ? jn.value.getBoundingClientRect().width + R.value.style.chart.grid.y.axisName.fontSize + R.value.style.chart.grid.y.axisName.offsetX : 0;
538
538
  return {
539
539
  left: W.value ? 0 : e + t,
540
540
  right: W.value ? e + t : 0,
@@ -542,12 +542,12 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
542
542
  yAxisLabelWidth: t
543
543
  };
544
544
  }
545
- let vr = T(0), yr = T(0), br = Ne((e) => {
546
- yr.value = e + R.value.style.chart.bars.totalValues.fontSize;
545
+ let gr = T(0), _r = T(0), vr = Pe((e) => {
546
+ _r.value = e + R.value.style.chart.bars.totalValues.fontSize;
547
547
  }, 100);
548
- function xr() {
548
+ function yr() {
549
549
  if (R.value.orientation !== "horizontal") return 0;
550
- let e = Ln.value;
550
+ let e = Fn.value;
551
551
  if (!e) return 0;
552
552
  let t = Array.from(e.querySelectorAll("text"));
553
553
  if (!t.length) return 0;
@@ -560,11 +560,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
560
560
  }
561
561
  it((e) => {
562
562
  if (R.value.orientation !== "horizontal") return;
563
- let t = Ln.value;
563
+ let t = Fn.value;
564
564
  if (!t) return;
565
565
  let n = () => {
566
- let e = xr();
567
- br(e);
566
+ let e = yr();
567
+ vr(e);
568
568
  };
569
569
  n();
570
570
  let r = new ResizeObserver(n);
@@ -578,52 +578,52 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
578
578
  r.disconnect(), a.disconnect();
579
579
  });
580
580
  }), Ze(() => {
581
- vr.value = 0, yr.value = 0;
581
+ gr.value = 0, _r.value = 0;
582
582
  });
583
- let Sr = T(0), Cr = T(0);
584
- function wr(e) {
583
+ let br = T(0), xr = T(0);
584
+ function Sr(e) {
585
585
  let t = Number.isFinite(e) ? e : 0;
586
- Sr.value !== t && (Sr.value = t);
586
+ br.value !== t && (br.value = t);
587
587
  }
588
- function Tr() {
589
- let e = R.value.orientation === "vertical" ? Fn.value : Pn.value;
588
+ function Cr() {
589
+ let e = R.value.orientation === "vertical" ? Nn.value : Mn.value;
590
590
  if (!e) {
591
- wr(0);
591
+ Sr(0);
592
592
  return;
593
593
  }
594
594
  try {
595
- wr(e.getBBox()?.height);
595
+ Sr(e.getBBox()?.height);
596
596
  } catch {
597
- wr(0);
597
+ Sr(0);
598
598
  }
599
599
  }
600
- function Er() {
601
- Cr.value && cancelAnimationFrame(Cr.value), Cr.value = requestAnimationFrame(() => {
600
+ function wr() {
601
+ xr.value && cancelAnimationFrame(xr.value), xr.value = requestAnimationFrame(() => {
602
602
  requestAnimationFrame(() => {
603
- Tr();
603
+ Cr();
604
604
  });
605
605
  });
606
606
  }
607
607
  Ze(() => {
608
- Cr.value && cancelAnimationFrame(Cr.value);
608
+ xr.value && cancelAnimationFrame(xr.value);
609
609
  });
610
- let Dr = g(() => {
610
+ let Tr = h(() => {
611
611
  let e = 0;
612
- if (Mn.value) try {
613
- e = Mn.value.getBBox().height;
612
+ if (An.value) try {
613
+ e = An.value.getBBox().height;
614
614
  } catch {
615
615
  e = 0;
616
616
  }
617
- let t = R.value.style.chart.grid.x.timeLabels.show ? Sr.value : 0;
617
+ let t = R.value.style.chart.grid.x.timeLabels.show ? br.value : 0;
618
618
  return e + t;
619
- }), G = g(() => {
620
- Bn.value;
619
+ }), G = h(() => {
620
+ Rn.value;
621
621
  let { height: e, width: t } = H.value, { right: n } = H.value.paddingRatio, r = R.value.style.chart.bars.totalValues.show && j.dataset && j.dataset.length > 1 ? R.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, a = 0, o = 0, s = 0, c = 0;
622
622
  if (R.value.style.chart.grid.y.axisLabels.show) {
623
- let e = _r();
623
+ let e = hr();
624
624
  a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
625
625
  }
626
- let l = R.value.style.chart.padding.top + r, u = t - t * n - yr.value - o, d = e - R.value.style.chart.padding.bottom - Dr.value - r, f = R.value.style.chart.padding.left + a, p = t - f - t * n - yr.value - o, ee = e - l - R.value.style.chart.padding.bottom - Dr.value - r;
626
+ let l = R.value.style.chart.padding.top + r, u = t - t * n - _r.value - o, d = e - R.value.style.chart.padding.bottom - Tr.value - r, f = R.value.style.chart.padding.left + a, p = t - f - t * n - _r.value - o, ee = e - l - R.value.style.chart.padding.bottom - Tr.value - r;
627
627
  return {
628
628
  chartHeight: e,
629
629
  chartWidth: t,
@@ -638,7 +638,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
638
638
  scaleLabelsWidth: s,
639
639
  yAxisLabelWidth: c
640
640
  };
641
- }), Or = g(() => {
641
+ }), Er = h(() => {
642
642
  let { left: e, top: t, width: n, height: r } = G.value, a = J.value.start, o = J.value.end, s = Math.max(1, o - a), c = Math.max(0, Math.min(s, (Y.value.start ?? a) - a)), l = Math.max(0, Math.min(s, (Y.value.end ?? o) - a)), u = Math.max(0, l - c), d = {
643
643
  fill: R.value.style.chart.zoom.preview.fill,
644
644
  stroke: R.value.style.chart.zoom.preview.stroke,
@@ -672,8 +672,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
672
672
  ...d
673
673
  };
674
674
  }
675
- }), K = g(() => Zn.value.map((e, t) => {
676
- let n = se(), r = String(e.key ?? e.id ?? e.name ?? n), a = d(e.color) || fr.value[t] || u[t] || u[t % u.length];
675
+ }), K = h(() => Yn.value.map((e, t) => {
676
+ let n = ce(), r = String(e.key ?? e.id ?? e.name ?? n), a = d(e.color) || ur.value[t] || u[t] || u[t % u.length];
677
677
  return {
678
678
  ...e,
679
679
  datasetKey: r,
@@ -683,58 +683,58 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
683
683
  id: n,
684
684
  color: a
685
685
  };
686
- })), q = g(() => {
686
+ })), q = h(() => {
687
687
  let e = Math.max(...K.value.filter((e) => !F.value.includes(e.id)).map((e) => e.series.length));
688
688
  return isFinite(e) ? e : Math.max(...K.value.map((e) => e.series.length));
689
689
  });
690
- function kr(e) {
691
- Jn.value = e;
690
+ function Dr(e) {
691
+ Kn.value = e;
692
692
  }
693
693
  let J = T({
694
694
  start: 0,
695
- end: Math.max(...Zn.value.map((e) => e.series.length))
695
+ end: Math.max(...Yn.value.map((e) => e.series.length))
696
696
  }), Y = T({
697
697
  start: 0,
698
- end: Math.max(...Zn.value.map((e) => e.series.length))
699
- }), Ar = g(() => R.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
700
- function jr(e, t) {
698
+ end: Math.max(...Yn.value.map((e) => e.series.length))
699
+ }), Or = h(() => R.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
700
+ function kr(e, t) {
701
701
  Y.value[e] = t;
702
702
  }
703
- function Mr() {
703
+ function Ar() {
704
704
  let e = q.value, t = Math.max(0, Math.min(J.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(J.value.end ?? e, e));
705
705
  (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), J.value.start = t, J.value.end = n, Y.value.start = t, Y.value.end = n, bn.value && (bn.value.setStartValue(t), bn.value.setEndValue(n));
706
706
  }
707
- let Nr = T(null);
708
- function Pr() {
707
+ let jr = T(null);
708
+ function Mr() {
709
709
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
710
710
  }
711
711
  Ze(() => {
712
- Nr.value && cancelAnimationFrame(Nr.value);
712
+ jr.value && cancelAnimationFrame(jr.value);
713
713
  });
714
- async function Fr({ force: e = !1 } = {}) {
715
- if (R.value.style.chart.zoom.keepState && !e && qi.value && (J.value.start !== 0 || J.value.end !== 0)) {
716
- Mr();
714
+ async function Nr({ force: e = !1 } = {}) {
715
+ if (R.value.style.chart.zoom.keepState && !e && Gi.value && (J.value.start !== 0 || J.value.end !== 0)) {
716
+ Ar();
717
717
  return;
718
718
  }
719
- Ji(), await Xe(), Nr.value && cancelAnimationFrame(Nr.value), Nr.value = requestAnimationFrame(async () => {
720
- await Pr(), Ji();
719
+ Ki(), await Xe(), jr.value && cancelAnimationFrame(jr.value), jr.value = requestAnimationFrame(async () => {
720
+ await Mr(), Ki();
721
721
  });
722
722
  }
723
- let X = g(() => {
723
+ let X = h(() => {
724
724
  let e;
725
725
  return e = R.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
726
- }), Ir = g(() => f(K.value.filter((e) => !F.value.includes(e.id))).slice(J.value.start, J.value.end)), Lr = g(() => F.value.length === K.value.length), Rr = g(() => R.value.style.chart.zoom.minimap.show ? f(K.value.map((e) => ({
726
+ }), Pr = h(() => f(K.value.filter((e) => !F.value.includes(e.id))).slice(J.value.start, J.value.end)), Fr = h(() => F.value.length === K.value.length), Ir = h(() => R.value.style.chart.zoom.minimap.show ? f(K.value.map((e) => ({
727
727
  ...e,
728
728
  series: e.series.map((e) => e ?? 0)
729
- })).filter((e) => Lr.value ? !0 : !F.value.includes(e.id))) : []), zr = g(() => R.value.style.chart.zoom.minimap.show ? [{
729
+ })).filter((e) => Fr.value ? !0 : !F.value.includes(e.id))) : []), Lr = h(() => R.value.style.chart.zoom.minimap.show ? [{
730
730
  name: "",
731
- series: Rr.value,
731
+ series: Ir.value,
732
732
  color: "#000000",
733
733
  isVisible: !0
734
- }] : []), Br = g(() => f(K.value.filter((e) => !F.value.includes(e.id)).map((e) => ({
734
+ }] : []), Rr = h(() => f(K.value.filter((e) => !F.value.includes(e.id)).map((e) => ({
735
735
  ...e,
736
736
  series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
737
- }))).slice(J.value.start, J.value.end)), Vr = g(() => {
737
+ }))).slice(J.value.start, J.value.end)), zr = h(() => {
738
738
  let e = K.value.filter((e) => !F.value.includes(e.id));
739
739
  return {
740
740
  positive: f(e.map((e) => ({
@@ -746,18 +746,18 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
746
746
  series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
747
747
  })))
748
748
  };
749
- }), Hr = g(() => {
750
- let e = R.value.style.chart.grid.scale.scaleMax !== null && !R.value.style.chart.bars.distributed ? R.value.style.chart.grid.scale.scaleMax : Math.max(...Vr.value.positive), t = Math.min(...Vr.value.negative), n = R.value.style.chart.grid.scale.scaleMin !== null && !R.value.style.chart.bars.distributed ? R.value.style.chart.grid.scale.scaleMin : [
749
+ }), Br = h(() => {
750
+ let e = R.value.style.chart.grid.scale.scaleMax !== null && !R.value.style.chart.bars.distributed ? R.value.style.chart.grid.scale.scaleMax : Math.max(...zr.value.positive), t = Math.min(...zr.value.negative), n = R.value.style.chart.grid.scale.scaleMin !== null && !R.value.style.chart.bars.distributed ? R.value.style.chart.grid.scale.scaleMin : [
751
751
  -Infinity,
752
752
  Infinity,
753
753
  NaN,
754
754
  void 0,
755
755
  null
756
756
  ].includes(t) ? 0 : t;
757
- return !R.value.style.chart.bars.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? de(n > 0 ? 0 : n, e < 0 ? 0 : e, R.value.style.chart.grid.scale.ticks) : ee(n > 0 ? 0 : n, e < 0 ? 0 : e, R.value.style.chart.grid.scale.ticks);
758
- }), Ur = g(() => Hr.value.ticks), Z = g(() => {
759
- let e = Hr.value, t = e.max + Math.abs(e.min);
760
- return Ur.value.map((n) => ({
757
+ return !R.value.style.chart.bars.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? fe(n > 0 ? 0 : n, e < 0 ? 0 : e, R.value.style.chart.grid.scale.ticks) : ee(n > 0 ? 0 : n, e < 0 ? 0 : e, R.value.style.chart.grid.scale.ticks);
758
+ }), Vr = h(() => Br.value.ticks), Z = h(() => {
759
+ let e = Br.value, t = e.max + Math.abs(e.min);
760
+ return Vr.value.map((n) => ({
761
761
  zero: G.value.bottom - G.value.height * (Math.abs(e.min) / t),
762
762
  y: G.value.bottom - G.value.height * ((n + Math.abs(e.min)) / t),
763
763
  x: W.value ? G.value.right + 8 : G.value.left - 8,
@@ -766,9 +766,9 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
766
766
  horizontal_y: G.value.bottom - 8,
767
767
  value: n
768
768
  }));
769
- }), Wr = g(() => {
769
+ }), Hr = h(() => {
770
770
  let e = R.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = R.value.style.chart.bars.dataLabels;
771
- return Ur.value.map((r) => String(m(e.formatter, r, p({
771
+ return Vr.value.map((r) => String(ie(e.formatter, r, p({
772
772
  p: t,
773
773
  v: r,
774
774
  s: n,
@@ -776,83 +776,83 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
776
776
  }), { datapoint: { value: r } }) ?? "")).join("|");
777
777
  });
778
778
  rt(() => [
779
- Wr.value,
779
+ Hr.value,
780
780
  R.value.orientation,
781
781
  R.value.style.chart.grid.y.axisLabels.show,
782
782
  R.value.style.chart.grid.y.axisLabels.fontSize,
783
783
  R.value.style.chart.grid.y.axisLabels.bold,
784
784
  R.value.style.chart.grid.y.position
785
785
  ], () => {
786
- R.value.style.chart.grid.y.axisLabels.show && qn();
786
+ R.value.style.chart.grid.y.axisLabels.show && Gn();
787
787
  }, { flush: "post" });
788
- let Q = T([]), Gr = T([]), Kr = 0;
788
+ let Q = T([]), Ur = T([]), Wr = 0;
789
789
  it(() => {
790
- let e = ++Kr;
790
+ let e = ++Wr;
791
791
  (async () => {
792
- let t = await ve({
792
+ let t = await ye({
793
793
  values: R.value.style.chart.grid.x.timeLabels.values,
794
794
  maxDatapoints: q.value,
795
795
  formatter: R.value.style.chart.grid.x.timeLabels.datetimeFormatter,
796
796
  start: J.value.start,
797
797
  end: J.value.end
798
798
  });
799
- e === Kr && (Q.value = t);
799
+ e === Wr && (Q.value = t);
800
800
  })();
801
801
  });
802
- let qr = 0;
802
+ let Gr = 0;
803
803
  it(() => {
804
- let e = ++qr;
804
+ let e = ++Gr;
805
805
  (async () => {
806
- let t = await ve({
806
+ let t = await ye({
807
807
  values: R.value.style.chart.grid.x.timeLabels.values,
808
808
  maxDatapoints: q.value,
809
809
  formatter: R.value.style.chart.grid.x.timeLabels.datetimeFormatter,
810
810
  start: 0,
811
811
  end: q.value
812
812
  });
813
- e === qr && (Gr.value = t);
813
+ e === Gr && (Ur.value = t);
814
814
  })();
815
815
  });
816
- let Jr = g(() => {
816
+ let Kr = h(() => {
817
817
  let e = R.value.style.chart.grid.x.timeLabels.modulo;
818
818
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
819
- }), Yr = g(() => {
820
- let e = R.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Gr.value || [], r = J.value.start ?? 0, a = I.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
821
- return te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Jr.value || 1), s, c, r, a, o);
819
+ }), qr = h(() => {
820
+ let e = R.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Ur.value || [], r = J.value.start ?? 0, a = I.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
821
+ return te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Kr.value || 1), s, c, r, a, o);
822
822
  });
823
823
  it(() => {
824
- R.value.orientation, R.value.style.chart.grid.x.timeLabels.show, R.value.style.chart.grid.x.timeLabels.fontSize, R.value.style.chart.grid.x.timeLabels.rotation, R.value.style.chart.grid.x.timeLabels.offsetY, Yr.value?.map((e) => e?.text ?? "").join("|"), Wr.value, H.value.width, H.value.height, Fn.value, Pn.value, Mn.value, Er();
824
+ R.value.orientation, R.value.style.chart.grid.x.timeLabels.show, R.value.style.chart.grid.x.timeLabels.fontSize, R.value.style.chart.grid.x.timeLabels.rotation, R.value.style.chart.grid.x.timeLabels.offsetY, qr.value?.map((e) => e?.text ?? "").join("|"), Hr.value, H.value.width, H.value.height, Nn.value, Mn.value, An.value, wr();
825
825
  }, { flush: "post" });
826
- let Xr = T({
826
+ let Jr = T({
827
827
  months: [],
828
828
  shortMonths: [],
829
829
  days: [],
830
830
  shortDays: []
831
- }), Zr = 0;
831
+ }), Yr = 0;
832
832
  it(() => {
833
- let e = ++Zr, t = R.value.style.chart.grid.x.timeLabels.datetimeFormatter;
833
+ let e = ++Yr, t = R.value.style.chart.grid.x.timeLabels.datetimeFormatter;
834
834
  (async () => {
835
- let n = await _e(t.locale).catch(() => _e("en"));
836
- e === Zr && (Xr.value = n.data);
835
+ let n = await ve(t.locale).catch(() => ve("en"));
836
+ e === Yr && (Jr.value = n.data);
837
837
  })();
838
838
  });
839
- let Qr = g(() => {
840
- let e = R.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = ge({
839
+ let Xr = h(() => {
840
+ let e = R.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = _e({
841
841
  useUTC: e.useUTC,
842
- locale: Xr.value,
842
+ locale: Jr.value,
843
843
  januaryAsYear: e.januaryAsYear
844
844
  });
845
845
  return (e, n) => {
846
846
  let r = R.value.style.chart.grid.x.timeLabels.values?.[e];
847
847
  return r == null ? "" : t.formatDate(new Date(r), n);
848
848
  };
849
- }), $r = g(() => (R.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
850
- text: Qr.value(t, R.value.style.chart.zoom.timeFormat),
849
+ }), Zr = h(() => (R.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
850
+ text: Xr.value(t, R.value.style.chart.zoom.timeFormat),
851
851
  absoluteIndex: t
852
- }))), ei = g(() => (R.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
853
- text: Qr.value(t, R.value.style.chart.tooltip.timeFormat),
852
+ }))), Qr = h(() => (R.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
853
+ text: Xr.value(t, R.value.style.chart.tooltip.timeFormat),
854
854
  absoluteIndex: t
855
- }))), ti = g(() => {
855
+ }))), $r = h(() => {
856
856
  let e = /* @__PURE__ */ new Map();
857
857
  return (R.value.style.chart.grid.x.timeLabels.values || []).forEach((t) => {
858
858
  if ([
@@ -864,7 +864,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
864
864
  e.set(n, (e.get(n) || 0) + 1);
865
865
  }), e;
866
866
  });
867
- function ni(e) {
867
+ function ei(e) {
868
868
  let t = (R.value.style.chart.grid.x.timeLabels.values || [])[e];
869
869
  if ([
870
870
  null,
@@ -872,98 +872,98 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
872
872
  ""
873
873
  ].includes(t)) return `fallback-${e}`;
874
874
  let n = String(t);
875
- return (ti.value.get(n) || 0) > 1 ? `${n}-${e}` : n;
875
+ return ($r.value.get(n) || 0) > 1 ? `${n}-${e}` : n;
876
876
  }
877
- function ri(e, t) {
878
- return `${e.datasetKey}:${ni(t)}`;
877
+ function ti(e, t) {
878
+ return `${e.datasetKey}:${ei(t)}`;
879
879
  }
880
- let $ = g(() => {
881
- if (!pn.value && !Xn.value) return [];
882
- let e = Array(q.value).fill(0), t = Array(q.value).fill(0), n = Array(q.value).fill(0), r = Array(q.value).fill(0), a = Math.max(...Vr.value.positive) || 0, o = Math.min(...Vr.value.negative), s = [
880
+ let $ = h(() => {
881
+ if (!pn.value && !Jn.value) return [];
882
+ let e = Array(q.value).fill(0), t = Array(q.value).fill(0), n = Array(q.value).fill(0), r = Array(q.value).fill(0), a = Math.max(...zr.value.positive) || 0, o = Math.min(...zr.value.negative), s = [
883
883
  -Infinity,
884
884
  Infinity,
885
885
  NaN,
886
886
  void 0,
887
887
  null
888
- ].includes(o) ? 0 : o, { min: c, max: l } = !R.value.style.chart.bars.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? de(R.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks) : ee(R.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, te = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, ne = Array(Rr.value.length).fill(0), re = Array(Rr.value.length).fill(0);
888
+ ].includes(o) ? 0 : o, { min: c, max: l } = !R.value.style.chart.bars.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? fe(R.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks) : ee(R.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, te = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, ne = Array(Ir.value.length).fill(0), re = Array(Ir.value.length).fill(0);
889
889
  return K.value.filter((e) => !F.value.includes(e.id)).map((a) => {
890
890
  let o = a.series.slice(), s = o.map((e, t) => ne[t]), c = o.map((e, t) => re[t]);
891
891
  o.forEach((e, t) => {
892
892
  (Number(e) || 0) >= 0 ? ne[t] += Number(e) || 0 : re[t] += Math.abs(Number(e) || 0);
893
893
  });
894
- let l = a.series.slice(J.value.start, J.value.end), ee = a.signedSeries.slice(J.value.start, J.value.end), m = l.map((e, t) => ri(a, J.value.start + t)), ie = o.map((e, t) => ri(a, t)), ae = l.map((e, t) => G.value.left + X.value * t + X.value * R.value.style.chart.bars.gapRatio / 4), oe = (Rr.value || []).filter(Number.isFinite), se = oe.length ? Math.max(...oe) : 0, ce = oe.length ? Math.min(...oe) : 0;
895
- function le({ minimapH: e }) {
896
- let t = 1e-9, n = se > 0;
897
- if (n && ce < 0) {
898
- let n = Math.max(se, Math.abs(ce)) || t;
894
+ let l = a.series.slice(J.value.start, J.value.end), ee = a.signedSeries.slice(J.value.start, J.value.end), ie = l.map((e, t) => ti(a, J.value.start + t)), ae = o.map((e, t) => ti(a, t)), oe = l.map((e, t) => G.value.left + X.value * t + X.value * R.value.style.chart.bars.gapRatio / 4), se = (Ir.value || []).filter(Number.isFinite), ce = se.length ? Math.max(...se) : 0, le = se.length ? Math.min(...se) : 0;
895
+ function ue({ minimapH: e }) {
896
+ let t = 1e-9, n = ce > 0;
897
+ if (n && le < 0) {
898
+ let n = Math.max(ce, Math.abs(le)) || t;
899
899
  return {
900
900
  pxPerUnit: e / 2 / n,
901
901
  zero: e / 2
902
902
  };
903
903
  }
904
904
  return n ? {
905
- pxPerUnit: e / Math.max(t, se),
905
+ pxPerUnit: e / Math.max(t, ce),
906
906
  zero: e
907
907
  } : {
908
- pxPerUnit: e / Math.max(t, Math.abs(ce)),
908
+ pxPerUnit: e / Math.max(t, Math.abs(le)),
909
909
  zero: 0
910
910
  };
911
911
  }
912
- let ue = ({ left: e, unitW: t }) => {
912
+ let de = ({ left: e, unitW: t }) => {
913
913
  let n = t * (R.value.style.chart.bars.gapRatio / 4);
914
914
  return o.map((r, a) => e + t * a + n);
915
- }, de = l.map((e, t) => G.value.top + X.value * t + X.value * R.value.style.chart.bars.gapRatio / 4), fe = l.map((t, r) => {
916
- let a = R.value.style.chart.bars.distributed ? (t || 0) / Ir.value[r] : (t || 0) / u, o, s;
915
+ }, fe = l.map((e, t) => G.value.top + X.value * t + X.value * R.value.style.chart.bars.gapRatio / 4), pe = l.map((t, r) => {
916
+ let a = R.value.style.chart.bars.distributed ? (t || 0) / Pr.value[r] : (t || 0) / u, o, s;
917
917
  return t > 0 ? (s = d * a, o = p - s - e[r], e[r] += s) : (s = d * a, o = p + n[r], n[r] += Math.abs(s)), o;
918
- }), pe = ({ minimapH: e }) => {
918
+ }), me = ({ minimapH: e }) => {
919
919
  if (R.value.style.chart.bars.distributed) return o.map((t, n) => {
920
- let r = Math.abs(Number(t) || 0), a = Math.abs(Rr.value?.[n] || 0) || 1e-9;
920
+ let r = Math.abs(Number(t) || 0), a = Math.abs(Ir.value?.[n] || 0) || 1e-9;
921
921
  return e - (s[n] + r) / a * e;
922
922
  });
923
- let { pxPerUnit: t, zero: n } = le({ minimapH: e });
923
+ let { pxPerUnit: t, zero: n } = ue({ minimapH: e });
924
924
  return o.map((e, r) => {
925
925
  let a = Number(e) || 0;
926
926
  return a >= 0 ? n - (s[r] + a) * t : n + c[r] * t;
927
927
  });
928
- }, me = l.map((e, n) => {
929
- let a = R.value.style.chart.bars.distributed ? (e || 0) / Ir.value[n] : (e || 0) / u, o, s;
928
+ }, he = l.map((e, n) => {
929
+ let a = R.value.style.chart.bars.distributed ? (e || 0) / Pr.value[n] : (e || 0) / u, o, s;
930
930
  return e > 0 ? (s = f * a, o = te + t[n], t[n] += s) : (s = f * a, o = te - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
931
- }), he = l.map((e, t) => {
932
- let n = R.value.style.chart.bars.distributed ? (e || 0) / Ir.value[t] : (e || 0) / u;
931
+ }), ge = l.map((e, t) => {
932
+ let n = R.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / u;
933
933
  return e > 0 ? d * n : d * Math.abs(n);
934
- }), ge = ({ minimapH: e }) => {
935
- if (R.value.style.chart.bars.distributed) return o.map((t, n) => Math.abs(Number(t) || 0) / (Math.abs(Rr.value?.[n] || 0) || 1e-9) * e);
936
- let { pxPerUnit: t } = le({ minimapH: e });
934
+ }), _e = ({ minimapH: e }) => {
935
+ if (R.value.style.chart.bars.distributed) return o.map((t, n) => Math.abs(Number(t) || 0) / (Math.abs(Ir.value?.[n] || 0) || 1e-9) * e);
936
+ let { pxPerUnit: t } = ue({ minimapH: e });
937
937
  return o.map((e) => Math.abs(Number(e) || 0) * t);
938
- }, _e = l.map((e, t) => {
939
- let n = R.value.style.chart.bars.distributed ? (e || 0) / Ir.value[t] : (e || 0) / u;
938
+ }, ve = l.map((e, t) => {
939
+ let n = R.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / u;
940
940
  return e > 0 ? f * n : f * Math.abs(n);
941
- }), ve = l.map((e) => Math.abs(e)).reduce((e, t) => e + t, 0);
941
+ }), ye = l.map((e) => Math.abs(e)).reduce((e, t) => e + t, 0);
942
942
  return {
943
943
  ...a,
944
- proportions: l.map((e, t) => R.value.style.chart.bars.distributed ? (e || 0) / Ir.value[t] : (e || 0) / ve),
944
+ proportions: l.map((e, t) => R.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / ye),
945
945
  series: l,
946
946
  signedSeries: ee,
947
- rectKeys: m,
948
- minimapRectKeys: ie,
949
- x: ae,
950
- y: fe,
951
- height: he,
952
- horizontal_width: _e,
953
- horizontal_y: de,
954
- horizontal_x: me,
955
- xMinimap: ue,
956
- yMinimap: pe,
957
- heightMinimap: ge
947
+ rectKeys: ie,
948
+ minimapRectKeys: ae,
949
+ x: oe,
950
+ y: pe,
951
+ height: ge,
952
+ horizontal_width: ve,
953
+ horizontal_y: fe,
954
+ horizontal_x: he,
955
+ xMinimap: de,
956
+ yMinimap: me,
957
+ heightMinimap: _e
958
958
  };
959
959
  });
960
- }), ii = g(() => Br.value.map((e, t) => ({
960
+ }), ni = h(() => Rr.value.map((e, t) => ({
961
961
  value: e,
962
962
  sign: e >= 0 ? 1 : -1
963
963
  })));
964
- function ai(e, t, n, r, a) {
964
+ function ri(e, t, n, r, a) {
965
965
  let o = a === -1 && e >= 0 ? -e : e;
966
- return m(R.value.style.chart.bars.dataLabels.formatter, o, p({
966
+ return ie(R.value.style.chart.bars.dataLabels.formatter, o, p({
967
967
  p: R.value.style.chart.bars.dataLabels.prefix,
968
968
  v: o,
969
969
  s: R.value.style.chart.bars.dataLabels.suffix,
@@ -974,8 +974,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
974
974
  datapointIndex: r
975
975
  });
976
976
  }
977
- function oi(e, t, n, r) {
978
- return m(R.value.style.chart.bars.dataLabels.formatter, e, p({
977
+ function ii(e, t, n, r) {
978
+ return ie(R.value.style.chart.bars.dataLabels.formatter, e, p({
979
979
  v: isNaN(e) ? 0 : e,
980
980
  s: "%",
981
981
  r: R.value.style.chart.bars.dataLabels.rounding
@@ -985,7 +985,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
985
985
  datapointIndex: r
986
986
  });
987
987
  }
988
- function si(e) {
988
+ function ai(e) {
989
989
  let t = JSON.parse(JSON.stringify($.value)).map((t) => ({
990
990
  name: t.name,
991
991
  value: t.series[e] === 0 ? 0 : t.series[e] || null,
@@ -1001,7 +1001,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1001
1001
  period: Q.value[e]
1002
1002
  });
1003
1003
  }
1004
- function ci(e) {
1004
+ function oi(e) {
1005
1005
  return JSON.parse(JSON.stringify($.value)).map((t) => ({
1006
1006
  name: t.name,
1007
1007
  absoluteIndex: t.absoluteIndex,
@@ -1009,12 +1009,12 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1009
1009
  proportion: t.proportions[e] || null,
1010
1010
  color: t.color,
1011
1011
  id: t.id,
1012
- timeLabel: Gr.value[e]
1012
+ timeLabel: Ur.value[e]
1013
1013
  }));
1014
1014
  }
1015
- function li(e) {
1015
+ function si(e) {
1016
1016
  if (R.value.events.datapointLeave) {
1017
- let t = ci(e);
1017
+ let t = oi(e);
1018
1018
  R.value.events.datapointLeave({
1019
1019
  datapoint: t,
1020
1020
  seriesIndex: e + J.value.start
@@ -1022,7 +1022,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1022
1022
  }
1023
1023
  mn.value = !1, I.value = null, L.value === e && (L.value = null);
1024
1024
  }
1025
- let ui = g(() => Array(q.value).fill(0).map((e, t) => ci(t)));
1025
+ let ci = h(() => Array(q.value).fill(0).map((e, t) => oi(t)));
1026
1026
  rt(() => j.selectedXIndex, (e) => {
1027
1027
  if ([null, void 0].includes(j.selectedXIndex)) {
1028
1028
  I.value = null;
@@ -1031,30 +1031,30 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1031
1031
  let t = e - J.value.start;
1032
1032
  t < 0 || e >= J.value.end ? I.value = null : I.value = t ?? null;
1033
1033
  }, { immediate: !0 });
1034
- function di(e) {
1034
+ function li(e) {
1035
1035
  if (!R.value.style.chart.tooltip.showTimeLabel) return null;
1036
- let t = Q.value?.[e]?.text || null, n = ei.value?.[e]?.text || null, r = Gr.value?.[e]?.text || null;
1036
+ let t = Q.value?.[e]?.text || null, n = Qr.value?.[e]?.text || null, r = Ur.value?.[e]?.text || null;
1037
1037
  return R.value.style.chart.tooltip.useDefaultTimeFormat ? t : n || r;
1038
1038
  }
1039
- function fi(e, t = "pointer") {
1040
- if (Lr.value) return;
1041
- Un.value = t, L.value = e, I.value = e, mn.value = !0;
1042
- let n = R.value.style.chart.tooltip.customFormat, r = ci(e);
1043
- Qi({
1039
+ function ui(e, t = "pointer") {
1040
+ if (Fr.value) return;
1041
+ Vn.value = t, L.value = e, I.value = e, mn.value = !0;
1042
+ let n = R.value.style.chart.tooltip.customFormat, r = oi(e);
1043
+ Xi({
1044
1044
  seriesIndex: e,
1045
1045
  datapoint: r
1046
1046
  }), R.value.events.datapointEnter && R.value.events.datapointEnter({
1047
1047
  datapoint: r,
1048
1048
  seriesIndex: e + J.value.start
1049
1049
  }), hn.value = {
1050
- timeLabel: di(e),
1050
+ timeLabel: li(e),
1051
1051
  datapoint: r,
1052
1052
  seriesIndex: e,
1053
1053
  config: R.value,
1054
1054
  series: $.value
1055
1055
  };
1056
- let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => ae(e.value)).reduce((e, t) => e + t, 0);
1057
- if (pe(n) && ne(() => n({
1056
+ let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => oe(e.value)).reduce((e, t) => e + t, 0);
1057
+ if (me(n) && ne(() => n({
1058
1058
  seriesIndex: e,
1059
1059
  datapoint: r,
1060
1060
  series: $.value,
@@ -1066,11 +1066,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1066
1066
  config: R.value
1067
1067
  });
1068
1068
  else {
1069
- let { showValue: t, showTotal: n, totalTranslation: s, showPercentage: c, borderColor: l, roundingValue: u, roundingPercentage: d } = R.value.style.chart.tooltip, f = "", ee = di(e);
1069
+ let { showValue: t, showTotal: n, totalTranslation: s, showPercentage: c, borderColor: l, roundingValue: u, roundingPercentage: d } = R.value.style.chart.tooltip, f = "", ee = li(e);
1070
1070
  ee && (f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${l};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (f += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1071
1071
  <span>${s}:</span>
1072
1072
  <span>
1073
- ${m(R.value.style.chart.bars.dataLabels.formatter, o, p({
1073
+ ${ie(R.value.style.chart.bars.dataLabels.formatter, o, p({
1074
1074
  p: R.value.style.chart.bars.dataLabels.prefix,
1075
1075
  v: o,
1076
1076
  s: R.value.style.chart.bars.dataLabels.suffix,
@@ -1086,7 +1086,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1086
1086
  f += `
1087
1087
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
1088
1088
  <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${R.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${fn.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${P.value}_${e.absoluteIndex})"/>` : ""}</svg>
1089
- ${e.name}${t || c ? ":" : ""} ${t ? m(R.value.style.chart.bars.dataLabels.formatter, e.value, p({
1089
+ ${e.name}${t || c ? ":" : ""} ${t ? ie(R.value.style.chart.bars.dataLabels.formatter, e.value, p({
1090
1090
  p: R.value.style.chart.bars.dataLabels.prefix,
1091
1091
  v: e.value,
1092
1092
  s: R.value.style.chart.bars.dataLabels.suffix,
@@ -1101,9 +1101,9 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1101
1101
  }), gn.value = `<div>${f}</div>`;
1102
1102
  }
1103
1103
  }
1104
- let pi = g(() => H.value.width), mi = g(() => H.value.height);
1105
- Oe({
1106
- timeLabelsEls: R.value.orientation === "vertical" ? Fn : Pn,
1104
+ let di = h(() => H.value.width), fi = h(() => H.value.height);
1105
+ ke({
1106
+ timeLabelsEls: R.value.orientation === "vertical" ? Nn : Mn,
1107
1107
  timeLabels: Q,
1108
1108
  slicer: J,
1109
1109
  configRef: R,
@@ -1125,26 +1125,26 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1125
1125
  "enable"
1126
1126
  ],
1127
1127
  isAutoSize: !1,
1128
- width: pi,
1129
- height: mi,
1128
+ width: di,
1129
+ height: fi,
1130
1130
  rotation: R.value.style.chart.grid.x.timeLabels.autoRotate.angle
1131
1131
  });
1132
- function hi(e) {
1132
+ function pi(e) {
1133
1133
  Sn.value = e, _n.value += 1;
1134
1134
  }
1135
- function gi() {
1135
+ function mi() {
1136
1136
  V.value.showTable = !V.value.showTable;
1137
1137
  }
1138
- function _i() {
1138
+ function hi() {
1139
1139
  V.value.dataLabels.show = !V.value.dataLabels.show;
1140
1140
  }
1141
- function vi() {
1141
+ function gi() {
1142
1142
  V.value.showTooltip = !V.value.showTooltip;
1143
1143
  }
1144
- function yi() {
1144
+ function _i() {
1145
1145
  return $.value;
1146
1146
  }
1147
- let bi = g(() => {
1147
+ let vi = h(() => {
1148
1148
  if ($.value.length === 0) return {
1149
1149
  head: [],
1150
1150
  body: [],
@@ -1165,18 +1165,18 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1165
1165
  body: t
1166
1166
  };
1167
1167
  });
1168
- function xi(e = null) {
1168
+ function yi(e = null) {
1169
1169
  let r = [
1170
1170
  [R.value.style.chart.title.text],
1171
1171
  [R.value.style.chart.title.subtitle.text],
1172
1172
  [""]
1173
- ], a = ["", ...bi.value.head.map((e) => e.label)], o = bi.value.body, s = r.concat([a]).concat(o), c = n(s);
1173
+ ], a = ["", ...vi.value.head.map((e) => e.label)], o = vi.value.body, s = r.concat([a]).concat(o), c = n(s);
1174
1174
  e ? e(c) : t({
1175
1175
  csvContent: c,
1176
1176
  title: R.value.style.chart.title.text || "vue-ui-stackbar"
1177
1177
  });
1178
1178
  }
1179
- let Si = g(() => {
1179
+ let bi = h(() => {
1180
1180
  let e = [""].concat($.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [], n = J.value.end - J.value.start;
1181
1181
  for (let e = 0; e < n; e += 1) {
1182
1182
  let n = J.value.start + e, r = $.value.map((t) => t.series[e] ?? 0).reduce((e, t) => e + t, 0);
@@ -1202,12 +1202,12 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1202
1202
  colNames: a
1203
1203
  };
1204
1204
  });
1205
- function Ci() {
1206
- F.value.length ? F.value = [] : Oi.value.forEach((e) => {
1205
+ function xi() {
1206
+ F.value.length ? F.value = [] : Ei.value.forEach((e) => {
1207
1207
  F.value.push(e.id);
1208
1208
  }), M("selectLegend", $.value);
1209
1209
  }
1210
- function wi(e) {
1210
+ function Si(e) {
1211
1211
  if (F.value.includes(e.id)) F.value = F.value.filter((t) => t !== e.id);
1212
1212
  else {
1213
1213
  if (F.value.length === K.value.length - 1) return;
@@ -1215,37 +1215,37 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1215
1215
  }
1216
1216
  M("selectLegend", $.value);
1217
1217
  }
1218
- function Ti(e) {
1219
- return K.value.length ? K.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiStackbar - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiStackbar - There are no series to show."), null);
1218
+ function Ci(e) {
1219
+ return K.value.length ? K.value.find((t) => t.name === e) || (pr.value && console.warn(`VueUiStackbar - Series name not found "${e}"`), null) : (pr.value && console.warn("VueUiStackbar - There are no series to show."), null);
1220
1220
  }
1221
- function Ei(e) {
1222
- let t = Ti(e);
1223
- t !== null && F.value.includes(t.id) && wi({ id: t.id });
1221
+ function wi(e) {
1222
+ let t = Ci(e);
1223
+ t !== null && F.value.includes(t.id) && Si({ id: t.id });
1224
1224
  }
1225
- function Di(e) {
1226
- let t = Ti(e);
1227
- t !== null && (F.value.includes(t.id) || wi({ id: t.id }));
1225
+ function Ti(e) {
1226
+ let t = Ci(e);
1227
+ t !== null && (F.value.includes(t.id) || Si({ id: t.id }));
1228
1228
  }
1229
- let Oi = g(() => K.value.map((e, t) => ({
1229
+ let Ei = h(() => K.value.map((e, t) => ({
1230
1230
  ...e,
1231
1231
  shape: "square"
1232
1232
  })).map((e) => ({
1233
1233
  ...e,
1234
1234
  opacity: F.value.includes(e.id) ? .5 : 1,
1235
- segregate: () => wi(e),
1235
+ segregate: () => Si(e),
1236
1236
  isSegregated: F.value.includes(e.id)
1237
- }))), ki = g(() => ({
1237
+ }))), Di = h(() => ({
1238
1238
  cy: "stackbar-legend",
1239
1239
  backgroundColor: R.value.style.chart.legend.backgroundColor,
1240
1240
  color: R.value.style.chart.legend.color,
1241
1241
  fontSize: R.value.style.chart.legend.fontSize,
1242
1242
  paddingBottom: 12,
1243
1243
  fontWeight: R.value.style.chart.legend.bold ? "bold" : ""
1244
- })), Ai = T(!1);
1245
- function ji() {
1246
- Ai.value = !Ai.value;
1244
+ })), Oi = T(!1);
1245
+ function ki() {
1246
+ Oi.value = !Oi.value;
1247
1247
  }
1248
- function Mi(e, t) {
1248
+ function Ai(e, t) {
1249
1249
  let n = JSON.parse(JSON.stringify($.value)).map((e) => ({
1250
1250
  name: e.name,
1251
1251
  value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
@@ -1259,13 +1259,13 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1259
1259
  label: e.text
1260
1260
  });
1261
1261
  }
1262
- let Ni = g(() => Math.max(...$.value.flatMap((e) => e.series)));
1263
- function Pi(e, t) {
1264
- return R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? sr.value ? t * 100 >= R.value.style.chart.bars.dataLabels.hideUnderPercentage : !R.value.style.chart.bars.dataLabels.hideEmptyPercentages || t > 0 : sr.value ? (or.value && hr.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), e > Ni.value * R.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : or.value ? Math.abs(e) >= R.value.style.chart.bars.dataLabels.hideUnderValue : !R.value.style.chart.bars.dataLabels.hideEmptyValues || e !== 0;
1262
+ let ji = h(() => Math.max(...$.value.flatMap((e) => e.series)));
1263
+ function Mi(e, t) {
1264
+ return R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? ar.value ? t * 100 >= R.value.style.chart.bars.dataLabels.hideUnderPercentage : !R.value.style.chart.bars.dataLabels.hideEmptyPercentages || t > 0 : ar.value ? (ir.value && pr.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), e > ji.value * R.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : ir.value ? Math.abs(e) >= R.value.style.chart.bars.dataLabels.hideUnderValue : !R.value.style.chart.bars.dataLabels.hideEmptyValues || e !== 0;
1265
1265
  }
1266
- async function Fi({ scale: e = 2 } = {}) {
1266
+ async function Ni({ scale: e = 2 } = {}) {
1267
1267
  if (!N.value) return;
1268
- let { imageUri: t, base64: n } = await ke({
1268
+ let { imageUri: t, base64: n } = await Ae({
1269
1269
  domElement: N.value,
1270
1270
  base64: !0,
1271
1271
  img: !0,
@@ -1282,7 +1282,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1282
1282
  ...o
1283
1283
  };
1284
1284
  }
1285
- let Ii = g(() => {
1285
+ let Pi = h(() => {
1286
1286
  let e = R.value.table.useDialog && !R.value.table.show, t = V.value.showTable;
1287
1287
  return {
1288
1288
  component: e ? cn : nn,
@@ -1316,73 +1316,48 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1316
1316
  rt(() => V.value.showTable, (e) => {
1317
1317
  R.value.table.show || (e && R.value.table.useDialog && On.value ? On.value.open() : "close" in On.value && On.value.close());
1318
1318
  });
1319
- function Li() {
1319
+ function Fi() {
1320
1320
  V.value.showTable = !1, kn.value && kn.value.setTableIconState(!1);
1321
1321
  }
1322
- let Ri = g(() => R.value.style.chart.backgroundColor), zi = g(() => R.value.style.chart.legend), Bi = g(() => R.value.style.chart.title), { exportSvg: Vi, getSvg: Hi } = Ce({
1323
- svg: nr,
1324
- title: Bi,
1325
- legend: zi,
1326
- legendItems: Oi,
1327
- backgroundColor: Ri
1322
+ let Ii = h(() => R.value.style.chart.backgroundColor), Li = h(() => R.value.style.chart.legend), Ri = h(() => R.value.style.chart.title), { isCallbackImaging: zi, isCallbackSvg: Bi, generateSvg: Vi, onGenerateImage: Hi } = Ee({
1323
+ svg: er,
1324
+ title: Ri,
1325
+ legend: Li,
1326
+ legendItems: Ei,
1327
+ backgroundColor: Ii,
1328
+ getSvgCallback: () => R.value.userOptions.callbacks.svg,
1329
+ generateImage: lr
1328
1330
  });
1329
- async function Ui({ isCb: e }) {
1330
- jn.value = !0, await Xe();
1331
- try {
1332
- if (e) {
1333
- let { blob: e, url: t, text: n, dataUrl: r } = await Hi();
1334
- await Promise.resolve(R.value.userOptions.callbacks.svg({
1335
- blob: e,
1336
- url: t,
1337
- text: n,
1338
- dataUrl: r
1339
- }));
1340
- } else await Promise.resolve(Vi());
1341
- } finally {
1342
- jn.value = !1;
1343
- }
1344
- }
1345
- function Wi(e) {
1346
- if (e?.stage === "start") {
1347
- An.value = !0;
1348
- return;
1349
- }
1350
- if (e?.stage === "end") {
1351
- An.value = !1;
1352
- return;
1353
- }
1354
- dr();
1355
- }
1356
- function Gi(e) {
1331
+ function Ui(e) {
1357
1332
  let t = q.value;
1358
1333
  return e > t ? t : e < 0 || e < J.value.start ? R.value.style.chart.zoom.startIndex === null ? 1 : J.value.start + 1 : e;
1359
1334
  }
1360
- let Ki = T(!1), qi = T(!1);
1361
- function Ji() {
1362
- if (!Ki.value) {
1363
- Ki.value = !0;
1335
+ let Wi = T(!1), Gi = T(!1);
1336
+ function Ki() {
1337
+ if (!Wi.value) {
1338
+ Wi.value = !0;
1364
1339
  try {
1365
1340
  let { startIndex: e, endIndex: t, keepState: n } = R.value.style.chart.zoom, r = n ? Math.max(0, q.value) : q.value;
1366
1341
  if (n && r <= 0) return;
1367
- let a = e ?? 0, o = t == null ? r : Math.min(Gi(t + 1), r);
1368
- Yi.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Mr(), qi.value = !0;
1342
+ let a = e ?? 0, o = t == null ? r : Math.min(Ui(t + 1), r);
1343
+ qi.value = !0, J.value.start = a, J.value.end = o, Y.value.start = a, Y.value.end = o, Ar(), Gi.value = !0;
1369
1344
  } finally {
1370
1345
  queueMicrotask(() => {
1371
- Yi.value = !1;
1372
- }), Ki.value = !1;
1346
+ qi.value = !1;
1347
+ }), Wi.value = !1;
1373
1348
  }
1374
1349
  }
1375
1350
  }
1376
- let Yi = T(!1);
1377
- function Xi(e) {
1378
- Ki.value || Yi.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Mr());
1351
+ let qi = T(!1);
1352
+ function Ji(e) {
1353
+ Wi.value || qi.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Ar());
1379
1354
  }
1380
- function Zi(e) {
1381
- if (Ki.value || Yi.value) return;
1382
- let t = Gi(e);
1383
- t !== J.value.end && (J.value.end = t, Y.value.end = t, Mr());
1355
+ function Yi(e) {
1356
+ if (Wi.value || qi.value) return;
1357
+ let t = Ui(e);
1358
+ t !== J.value.end && (J.value.end = t, Y.value.end = t, Ar());
1384
1359
  }
1385
- function Qi({ seriesIndex: e, datapoint: t }) {
1360
+ function Xi({ seriesIndex: e, datapoint: t }) {
1386
1361
  let n = J.value.start + e;
1387
1362
  M("selectX", {
1388
1363
  dataset: t,
@@ -1390,11 +1365,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1390
1365
  indexLabel: R.value.style.chart.grid.x.timeLabels.values[n]
1391
1366
  });
1392
1367
  }
1393
- function $i() {
1368
+ function Zi() {
1394
1369
  return { y0: Z.value?.[0]?.zero ?? G.value.bottom };
1395
1370
  }
1396
- function ea(e) {
1397
- let { y0: t } = $i(), n = R.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1371
+ function Qi(e) {
1372
+ let { y0: t } = Zi(), n = R.value.style.chart.bars.totalValues, r = Math.max(2, n.fontSize * .3 + n.offsetY), a = Infinity, o = !1;
1398
1373
  for (let t of $.value || []) {
1399
1374
  let n = t?.series?.[e] ?? 0, r = t?.height?.[e] ?? 0, s = t?.y?.[e];
1400
1375
  n > 0 && r > 0 && Number.isFinite(s) && (o = !0, s < a && (a = s));
@@ -1402,15 +1377,15 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1402
1377
  let s = (o && Number.isFinite(a) ? a : t) - r;
1403
1378
  return Math.min(Math.max(s, 0), G.value.bottom);
1404
1379
  }
1405
- function ta(e) {
1406
- let { x0: t } = $i(), n = Math.max(2, R.value.style.chart.bars.totalValues.fontSize * .3 + R.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1380
+ function $i(e) {
1381
+ let { x0: t } = Zi(), n = Math.max(2, R.value.style.chart.bars.totalValues.fontSize * .3 + R.value.style.chart.bars.totalValues.offsetX), r = -Infinity, a = !1;
1407
1382
  for (let t of $.value || []) {
1408
1383
  let n = t?.series?.[e] ?? 0, o = t?.horizontal_x?.[e], s = t?.horizontal_width?.[e], c = Number.isFinite(s) ? Math.max(0, s) : 0;
1409
1384
  Number.isFinite(o) && n > 0 && c > 0 && (a = !0, r = Math.max(r, o + c));
1410
1385
  }
1411
1386
  return (a && Number.isFinite(r) ? r : t) + n;
1412
1387
  }
1413
- async function na() {
1388
+ async function ea() {
1414
1389
  if (M("copyAlt", {
1415
1390
  config: R.value,
1416
1391
  dataset: $.value
@@ -1423,19 +1398,19 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1423
1398
  dataset: $.value
1424
1399
  }));
1425
1400
  }
1426
- let ra = T(!1);
1427
- function ia() {
1428
- L.value = null, ra.value = !0;
1401
+ let ta = T(!1);
1402
+ function na() {
1403
+ L.value = null, ta.value = !0;
1429
1404
  }
1430
- function aa() {
1405
+ function ra() {
1431
1406
  L.value = null, mn.value = !1, I.value = null, M("selectX", {
1432
1407
  index: null,
1433
1408
  indexLabel: null,
1434
1409
  dataset: null
1435
- }), ra.value = !1;
1410
+ }), ta.value = !1;
1436
1411
  }
1437
- function oa(e) {
1438
- if (!nr.value || Ai.value || document.activeElement !== nr.value || Lr.value || !J.value.end && J.value.end !== 0) return;
1412
+ function ia(e) {
1413
+ if (!er.value || Oi.value || document.activeElement !== er.value || Fr.value || !J.value.end && J.value.end !== 0) return;
1439
1414
  let t = R.value.orientation === "vertical", n = R.value.orientation === "horizontal", r = t && e.key === "ArrowLeft" || n && e.key === "ArrowUp", a = t && e.key === "ArrowRight" || n && e.key === "ArrowDown", o = e.key === "Enter" || e.key === " ", s = e.key === "Escape";
1440
1415
  if (!r && !a && !o && !s) return;
1441
1416
  let c = J.value.end - J.value.start;
@@ -1450,39 +1425,39 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1450
1425
  }
1451
1426
  if (o) {
1452
1427
  if (L.value === null) return;
1453
- si(L.value);
1428
+ ai(L.value);
1454
1429
  return;
1455
1430
  }
1456
1431
  let l = L.value, u = I.value;
1457
- l !== null && l >= 0 && l < c ? a ? (l += 1, l >= c && (l = 0)) : r && (--l, l < 0 && (l = c - 1)) : u !== null && u >= 0 && u < c ? (l = a ? u + 1 : u - 1, l >= c && (l = 0), l < 0 && (l = c - 1)) : l = a ? 0 : c - 1, L.value = l, sa(l), fi(l, "keyboard");
1432
+ l !== null && l >= 0 && l < c ? a ? (l += 1, l >= c && (l = 0)) : r && (--l, l < 0 && (l = c - 1)) : u !== null && u >= 0 && u < c ? (l = a ? u + 1 : u - 1, l >= c && (l = 0), l < 0 && (l = c - 1)) : l = a ? 0 : c - 1, L.value = l, aa(l), ui(l, "keyboard");
1458
1433
  }
1459
- function sa(e) {
1434
+ function aa(e) {
1460
1435
  if (!Number.isFinite(e)) return;
1461
1436
  let t, n;
1462
1437
  R.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
1463
- let r = a(t, n, nr.value);
1464
- r && (Hn.value = r);
1438
+ let r = a(t, n, er.value);
1439
+ r && (Bn.value = r);
1465
1440
  }
1466
- let ca = g(() => ({
1467
- headers: Si.value?.colNames ?? [],
1468
- rows: Si.value?.body ?? []
1441
+ let oa = h(() => ({
1442
+ headers: bi.value?.colNames ?? [],
1443
+ rows: bi.value?.body ?? []
1469
1444
  }));
1470
- return Me({
1471
- getData: yi,
1472
- getImage: Fi,
1473
- generatePdf: ur,
1474
- generateCsv: xi,
1475
- generateImage: dr,
1476
- generateSvg: Ui,
1477
- hideSeries: Di,
1478
- showSeries: Ei,
1479
- toggleTable: gi,
1480
- toggleLabels: _i,
1481
- toggleTooltip: vi,
1482
- toggleAnnotator: ji,
1483
- toggleFullscreen: hi,
1484
- copyAlt: na
1485
- }), (t, n) => (w(), y("div", {
1445
+ return Ne({
1446
+ getData: _i,
1447
+ getImage: Ni,
1448
+ generatePdf: cr,
1449
+ generateCsv: yi,
1450
+ generateImage: lr,
1451
+ generateSvg: Vi,
1452
+ hideSeries: Ti,
1453
+ showSeries: wi,
1454
+ toggleTable: mi,
1455
+ toggleLabels: hi,
1456
+ toggleTooltip: gi,
1457
+ toggleAnnotator: ki,
1458
+ toggleFullscreen: pi,
1459
+ copyAlt: ea
1460
+ }), (t, n) => (w(), v("div", {
1486
1461
  id: `stackbar_${P.value}`,
1487
1462
  ref_key: "stackbarChart",
1488
1463
  ref: N,
@@ -1492,18 +1467,18 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1492
1467
  "vue-data-ui-wrapper-fullscreen": Sn.value
1493
1468
  }),
1494
1469
  style: C(`background:${R.value.style.chart.backgroundColor};color:${R.value.style.chart.color};font-family:${R.value.style.fontFamily}; position: relative; ${R.value.responsive ? "height: 100%" : ""}`),
1495
- onMouseenter: rr,
1496
- onMouseleave: ir
1470
+ onMouseenter: tr,
1471
+ onMouseleave: nr
1497
1472
  }, [
1498
- We("div", {
1473
+ y("div", {
1499
1474
  id: `chart-instructions-${P.value}`,
1500
1475
  class: "sr-only"
1501
- }, [We("p", null, O(R.value.a11y.translations.keyboardNavigation), 1)], 8, st),
1502
- ca.value?.rows?.length ? (w(), _(Re, {
1476
+ }, [y("p", null, O(R.value.a11y.translations.keyboardNavigation), 1)], 8, st),
1477
+ oa.value?.rows?.length ? (w(), g(ze, {
1503
1478
  key: 0,
1504
1479
  uid: P.value,
1505
- head: ca.value.headers,
1506
- body: ca.value.rows,
1480
+ head: oa.value.headers,
1481
+ body: oa.value.rows,
1507
1482
  notice: R.value.a11y.translations.tableAvailable,
1508
1483
  caption: R.value.a11y.translations.tableCaption
1509
1484
  }, null, 8, [
@@ -1512,15 +1487,15 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1512
1487
  "body",
1513
1488
  "notice",
1514
1489
  "caption"
1515
- ])) : v("", !0),
1516
- R.value.userOptions.buttons.annotator ? (w(), _(k(an), {
1490
+ ])) : _("", !0),
1491
+ R.value.userOptions.buttons.annotator ? (w(), g(k(an), {
1517
1492
  key: 1,
1518
- svgRef: k(nr),
1493
+ svgRef: k(er),
1519
1494
  backgroundColor: R.value.style.chart.backgroundColor,
1520
1495
  color: R.value.style.chart.color,
1521
- active: Ai.value,
1496
+ active: Oi.value,
1522
1497
  isCursorPointer: B.value,
1523
- onClose: ji
1498
+ onClose: ki
1524
1499
  }, {
1525
1500
  "annotator-action-close": A(() => [D(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1526
1501
  "annotator-action-color": A(({ color: e }) => [D(t.$slots, "annotator-action-color", S(b({ color: e })), void 0, !0)]),
@@ -1535,14 +1510,14 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1535
1510
  "color",
1536
1511
  "active",
1537
1512
  "isCursorPointer"
1538
- ])) : v("", !0),
1513
+ ])) : _("", !0),
1539
1514
  D(t.$slots, "userConfig", {}, void 0, !0),
1540
- R.value.style.chart.title.text ? (w(), y("div", {
1515
+ R.value.style.chart.title.text ? (w(), v("div", {
1541
1516
  key: 2,
1542
1517
  ref_key: "chartTitle",
1543
1518
  ref: vn,
1544
1519
  style: "width:100%;background:transparent;padding-bottom:24px"
1545
- }, [(w(), _(Ae, {
1520
+ }, [(w(), g(je, {
1546
1521
  key: `title_${wn.value}`,
1547
1522
  config: {
1548
1523
  title: {
@@ -1554,16 +1529,16 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1554
1529
  ...R.value.style.chart.title.subtitle
1555
1530
  }
1556
1531
  }
1557
- }, null, 8, ["config"]))], 512)) : v("", !0),
1558
- We("div", { id: `legend-top-${P.value}` }, null, 8, ct),
1559
- R.value.userOptions.show && pn.value && (k(tr) || k($n)) ? (w(), _(k(on), {
1532
+ }, null, 8, ["config"]))], 512)) : _("", !0),
1533
+ y("div", { id: `legend-top-${P.value}` }, null, 8, ct),
1534
+ R.value.userOptions.show && pn.value && (k($n) || k(Zn)) ? (w(), g(k(on), {
1560
1535
  ref_key: "userOptionsRef",
1561
1536
  ref: kn,
1562
1537
  key: `user_option_${_n.value}`,
1563
1538
  backgroundColor: R.value.style.chart.backgroundColor,
1564
1539
  color: R.value.style.chart.color,
1565
- isPrinting: k(cr),
1566
- isImaging: k(lr),
1540
+ isPrinting: k(or),
1541
+ isImaging: k(sr),
1567
1542
  uid: P.value,
1568
1543
  hasTooltip: R.value.style.chart.tooltip.show && R.value.userOptions.buttons.tooltip,
1569
1544
  hasPdf: R.value.userOptions.buttons.pdf,
@@ -1580,22 +1555,22 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1580
1555
  isTooltip: V.value.showTooltip,
1581
1556
  titles: { ...R.value.userOptions.buttonTitles },
1582
1557
  hasAnnotator: R.value.userOptions.buttons.annotator,
1583
- isAnnotation: Ai.value,
1558
+ isAnnotation: Oi.value,
1584
1559
  callbacks: R.value.userOptions.callbacks,
1585
1560
  printScale: R.value.userOptions.print.scale,
1586
1561
  tableDialog: R.value.table.useDialog,
1587
1562
  isCursorPointer: B.value,
1588
- onToggleFullscreen: hi,
1589
- onGeneratePdf: k(ur),
1590
- onGenerateCsv: xi,
1591
- onGenerateImage: Wi,
1592
- onGenerateSvg: Ui,
1593
- onToggleTable: gi,
1594
- onToggleLabels: _i,
1595
- onToggleTooltip: vi,
1596
- onToggleAnnotator: ji,
1597
- onCopyAlt: na,
1598
- style: C({ visibility: k(tr) ? k($n) ? "visible" : "hidden" : "visible" })
1563
+ onToggleFullscreen: pi,
1564
+ onGeneratePdf: k(cr),
1565
+ onGenerateCsv: yi,
1566
+ onGenerateImage: k(Hi),
1567
+ onGenerateSvg: k(Vi),
1568
+ onToggleTable: mi,
1569
+ onToggleLabels: hi,
1570
+ onToggleTooltip: gi,
1571
+ onToggleAnnotator: ki,
1572
+ onCopyAlt: ea,
1573
+ style: C({ visibility: k($n) ? k(Zn) ? "visible" : "hidden" : "visible" })
1599
1574
  }, Ge({ _: 2 }, [
1600
1575
  t.$slots.menuIcon ? {
1601
1576
  name: "menuIcon",
@@ -1671,35 +1646,35 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1671
1646
  fn: A(() => [D(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1672
1647
  key: "12"
1673
1648
  } : void 0
1674
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : v("", !0),
1675
- We("div", lt, [(w(), y("svg", {
1649
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : _("", !0),
1650
+ y("div", lt, [(w(), v("svg", {
1676
1651
  ref_key: "svgRef",
1677
- ref: nr,
1678
- xmlns: k(le),
1652
+ ref: er,
1653
+ xmlns: k(ue),
1679
1654
  "aria-describedby": `chart-instructions-${P.value}`,
1680
1655
  viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
1681
1656
  class: x({
1682
- "vue-data-ui-loading": k(Xn),
1657
+ "vue-data-ui-loading": k(Jn),
1683
1658
  "vue-data-ui-fullscreen--on": Sn.value,
1684
1659
  "vue-data-ui-fulscreen--off": !Sn.value,
1685
1660
  "vue-data-ui-no-transition": !k(z)
1686
1661
  }),
1687
1662
  style: C(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color}`),
1688
1663
  tabindex: "0",
1689
- onFocus: ia,
1690
- onBlur: aa,
1691
- onKeydown: oa
1664
+ onFocus: na,
1665
+ onBlur: ra,
1666
+ onKeydown: ia
1692
1667
  }, [
1693
1668
  qe(k(sn)),
1694
- t.$slots["chart-background"] ? (w(), y("foreignObject", {
1669
+ t.$slots["chart-background"] ? (w(), v("foreignObject", {
1695
1670
  key: 0,
1696
1671
  x: G.value.left,
1697
1672
  y: G.value.top,
1698
1673
  width: G.value.width <= 0 ? 10 : G.value.width,
1699
1674
  height: G.value.height <= 0 ? 10 : G.value.height,
1700
1675
  style: { pointerEvents: "none" }
1701
- }, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, dt)) : v("", !0),
1702
- R.value.style.chart.bars.gradient.show ? (w(), y("defs", ft, [(w(!0), y(h, null, E($.value, (e, t) => (w(), _(Fe, {
1676
+ }, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, dt)) : _("", !0),
1677
+ R.value.style.chart.bars.gradient.show ? (w(), v("defs", ft, [(w(!0), v(m, null, E($.value, (e, t) => (w(), g(Ie, {
1703
1678
  t: "linear",
1704
1679
  id: `gradient_${e.id}`,
1705
1680
  key: `gradient_${e.id}_${t}`,
@@ -1724,8 +1699,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1724
1699
  1
1725
1700
  ]
1726
1701
  ]
1727
- }, null, 8, ["id", "stops"]))), 128))])) : v("", !0),
1728
- R.value.style.chart.grid.frame.show ? (w(), y("rect", {
1702
+ }, null, 8, ["id", "stops"]))), 128))])) : _("", !0),
1703
+ R.value.style.chart.grid.frame.show ? (w(), v("rect", {
1729
1704
  key: 2,
1730
1705
  style: {
1731
1706
  pointerEvents: "none",
@@ -1742,8 +1717,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1742
1717
  "stroke-linecap": R.value.style.chart.grid.frame.strokeLinecap,
1743
1718
  "stroke-linejoin": R.value.style.chart.grid.frame.strokeLinejoin,
1744
1719
  "stroke-dasharray": R.value.style.chart.grid.frame.strokeDasharray
1745
- }, null, 8, pt)) : v("", !0),
1746
- R.value.style.chart.grid.x.showHorizontalLines && R.value.orientation === "vertical" ? (w(!0), y(h, { key: 3 }, E(Z.value, (e, t) => (w(), y("line", {
1720
+ }, null, 8, pt)) : _("", !0),
1721
+ R.value.style.chart.grid.x.showHorizontalLines && R.value.orientation === "vertical" ? (w(!0), v(m, { key: 3 }, E(Z.value, (e, t) => (w(), v("line", {
1747
1722
  x1: G.value.left,
1748
1723
  x2: G.value.right,
1749
1724
  y1: e.y,
@@ -1752,8 +1727,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1752
1727
  "stroke-width": R.value.style.chart.grid.x.linesThickness,
1753
1728
  "stroke-dasharray": R.value.style.chart.grid.x.linesStrokeDasharray,
1754
1729
  "stroke-linecap": "round"
1755
- }, null, 8, mt))), 256)) : v("", !0),
1756
- R.value.style.chart.grid.x.showHorizontalLines && R.value.orientation === "horizontal" ? (w(!0), y(h, { key: 4 }, E(J.value.end - J.value.start + 1, (e, t) => (w(), y("line", {
1730
+ }, null, 8, mt))), 256)) : _("", !0),
1731
+ R.value.style.chart.grid.x.showHorizontalLines && R.value.orientation === "horizontal" ? (w(!0), v(m, { key: 4 }, E(J.value.end - J.value.start + 1, (e, t) => (w(), v("line", {
1757
1732
  x1: G.value.left,
1758
1733
  x2: G.value.right,
1759
1734
  y1: G.value.top + X.value * t,
@@ -1762,8 +1737,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1762
1737
  "stroke-width": R.value.style.chart.grid.x.linesThickness,
1763
1738
  "stroke-dasharray": R.value.style.chart.grid.x.linesStrokeDasharray,
1764
1739
  "stroke-linecap": "round"
1765
- }, null, 8, ht))), 256)) : v("", !0),
1766
- R.value.style.chart.grid.y.showVerticalLines && R.value.orientation === "vertical" ? (w(!0), y(h, { key: 5 }, E(J.value.end - J.value.start + 1, (e, t) => (w(), y("line", {
1740
+ }, null, 8, ht))), 256)) : _("", !0),
1741
+ R.value.style.chart.grid.y.showVerticalLines && R.value.orientation === "vertical" ? (w(!0), v(m, { key: 5 }, E(J.value.end - J.value.start + 1, (e, t) => (w(), v("line", {
1767
1742
  x1: G.value.left + X.value * t,
1768
1743
  x2: G.value.left + X.value * t,
1769
1744
  y1: G.value.top,
@@ -1772,8 +1747,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1772
1747
  "stroke-width": R.value.style.chart.grid.y.linesThickness,
1773
1748
  "stroke-dasharray": R.value.style.chart.grid.y.linesStrokeDasharray,
1774
1749
  "stroke-linecap": "round"
1775
- }, null, 8, gt))), 256)) : v("", !0),
1776
- R.value.style.chart.grid.y.showVerticalLines && R.value.orientation === "horizontal" ? (w(!0), y(h, { key: 6 }, E(Z.value, (e, t) => (w(), y("line", {
1750
+ }, null, 8, gt))), 256)) : _("", !0),
1751
+ R.value.style.chart.grid.y.showVerticalLines && R.value.orientation === "horizontal" ? (w(!0), v(m, { key: 6 }, E(Z.value, (e, t) => (w(), v("line", {
1777
1752
  x1: e.horizontal_x,
1778
1753
  x2: e.horizontal_x,
1779
1754
  y1: G.value.top,
@@ -1782,14 +1757,14 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1782
1757
  "stroke-width": R.value.style.chart.grid.y.linesThickness,
1783
1758
  "stroke-dasharray": R.value.style.chart.grid.y.linesStrokeDasharray,
1784
1759
  "stroke-linecap": "round"
1785
- }, null, 8, _t))), 256)) : v("", !0),
1786
- (w(!0), y(h, null, E($.value, (e, n) => (w(), y("g", { key: `stackbar-group-${e.datasetKey}` }, [t.$slots.pattern ? (w(), y("defs", vt, [D(t.$slots, "pattern", Ye({ ref_for: !0 }, {
1760
+ }, null, 8, _t))), 256)) : _("", !0),
1761
+ (w(!0), v(m, null, E($.value, (e, n) => (w(), v("g", { key: `stackbar-group-${e.datasetKey}-${n}-${P.value}` }, [t.$slots.pattern ? (w(), v("defs", vt, [D(t.$slots, "pattern", Ye({ ref_for: !0 }, {
1787
1762
  seriesIndex: e.absoluteIndex,
1788
1763
  patternId: `pattern_${P.value}_${e.absoluteIndex}`
1789
- }), void 0, !0)])) : v("", !0), R.value.orientation === "vertical" ? (w(), y(h, { key: 1 }, [(w(!0), y(h, null, E(e.x, (t, n) => (w(), y("rect", {
1764
+ }), void 0, !0)])) : _("", !0), R.value.orientation === "vertical" ? (w(), v(m, { key: 1 }, [(w(!0), v(m, null, E(e.x, (t, n) => (w(), v("rect", {
1790
1765
  key: `stackbar-rect-${e.rectKeys[n]}`,
1791
1766
  x: t,
1792
- y: k(ae)(e.y[n]),
1767
+ y: k(oe)(e.y[n]),
1793
1768
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1794
1769
  rx: R.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : R.value.style.chart.bars.borderRadius,
1795
1770
  width: X.value * (1 - R.value.style.chart.bars.gapRatio / 2),
@@ -1799,10 +1774,10 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1799
1774
  "stroke-linecap": "round",
1800
1775
  "stroke-linejoin": "round",
1801
1776
  class: x({ "vue-data-ui-bar-transition": Cn.value })
1802
- }, null, 10, yt))), 128)), t.$slots.pattern ? (w(), y("g", bt, [(w(!0), y(h, null, E(e.x, (t, n) => (w(), y("rect", {
1777
+ }, null, 10, yt))), 128)), t.$slots.pattern ? (w(), v("g", bt, [(w(!0), v(m, null, E(e.x, (t, n) => (w(), v("rect", {
1803
1778
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1804
1779
  x: t,
1805
- y: k(ae)(e.y[n]),
1780
+ y: k(oe)(e.y[n]),
1806
1781
  height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
1807
1782
  rx: R.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : R.value.style.chart.bars.borderRadius,
1808
1783
  width: X.value * (1 - R.value.style.chart.bars.gapRatio / 2),
@@ -1812,11 +1787,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1812
1787
  "stroke-linecap": "round",
1813
1788
  "stroke-linejoin": "round",
1814
1789
  class: x({ "vue-data-ui-bar-transition": Cn.value })
1815
- }, null, 10, xt))), 128))])) : v("", !0)], 64)) : (w(), y(h, { key: 2 }, [(w(!0), y(h, null, E(e.horizontal_x, (t, n) => (w(), y("rect", {
1790
+ }, null, 10, xt))), 128))])) : _("", !0)], 64)) : (w(), v(m, { key: 2 }, [(w(!0), v(m, null, E(e.horizontal_x, (t, n) => (w(), v("rect", {
1816
1791
  key: `stackbar-rect-${e.rectKeys[n]}`,
1817
- x: k(ae)(t, G.value.left),
1792
+ x: k(oe)(t, G.value.left),
1818
1793
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1819
- width: k(ae)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1794
+ width: k(oe)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1820
1795
  rx: R.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : R.value.style.chart.bars.borderRadius,
1821
1796
  height: X.value * (1 - R.value.style.chart.bars.gapRatio / 2),
1822
1797
  fill: R.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
@@ -1825,11 +1800,11 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1825
1800
  "stroke-linecap": "round",
1826
1801
  "stroke-linejoin": "round",
1827
1802
  class: x({ "vue-data-ui-bar-transition": Cn.value })
1828
- }, null, 10, St))), 128)), t.$slots.pattern ? (w(), y("g", Ct, [(w(!0), y(h, null, E(e.horizontal_x, (t, n) => (w(), y("rect", {
1803
+ }, null, 10, St))), 128)), t.$slots.pattern ? (w(), v("g", Ct, [(w(!0), v(m, null, E(e.horizontal_x, (t, n) => (w(), v("rect", {
1829
1804
  key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
1830
- x: k(ae)(t, G.value.left),
1805
+ x: k(oe)(t, G.value.left),
1831
1806
  y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
1832
- width: k(ae)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1807
+ width: k(oe)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
1833
1808
  rx: R.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : R.value.style.chart.bars.borderRadius,
1834
1809
  height: X.value * (1 - R.value.style.chart.bars.gapRatio / 2),
1835
1810
  fill: `url(#pattern_${P.value}_${e.absoluteIndex})`,
@@ -1838,8 +1813,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1838
1813
  "stroke-linecap": "round",
1839
1814
  "stroke-linejoin": "round",
1840
1815
  class: x({ "vue-data-ui-bar-transition": Cn.value })
1841
- }, null, 10, wt))), 128))])) : v("", !0)], 64))]))), 128)),
1842
- R.value.style.chart.grid.x.showAxis ? (w(), y("line", {
1816
+ }, null, 10, wt))), 128))])) : _("", !0)], 64))]))), 128)),
1817
+ R.value.style.chart.grid.x.showAxis ? (w(), v("line", {
1843
1818
  key: 7,
1844
1819
  x1: G.value.left,
1845
1820
  x2: G.value.right,
@@ -1849,8 +1824,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1849
1824
  "stroke-width": R.value.style.chart.grid.x.axisThickness,
1850
1825
  "stroke-linecap": "round",
1851
1826
  "stroke-linejoin": "round"
1852
- }, null, 8, Tt)) : v("", !0),
1853
- R.value.style.chart.grid.y.showAxis && !R.value.style.chart.bars.distributed ? (w(), y("line", {
1827
+ }, null, 8, Tt)) : _("", !0),
1828
+ R.value.style.chart.grid.y.showAxis && !R.value.style.chart.bars.distributed ? (w(), v("line", {
1854
1829
  key: 8,
1855
1830
  x1: W.value ? G.value.right : G.value.left,
1856
1831
  x2: W.value ? G.value.right : G.value.left,
@@ -1860,82 +1835,82 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1860
1835
  "stroke-width": R.value.style.chart.grid.y.axisThickness,
1861
1836
  "stroke-linecap": "round",
1862
1837
  "stroke-linejoin": "round"
1863
- }, null, 8, Et)) : v("", !0),
1864
- R.value.style.chart.grid.x.axisName.show && R.value.style.chart.grid.x.axisName.text ? (w(), y("text", {
1838
+ }, null, 8, Et)) : _("", !0),
1839
+ R.value.style.chart.grid.x.axisName.show && R.value.style.chart.grid.x.axisName.text ? (w(), v("text", {
1865
1840
  key: 9,
1866
1841
  ref_key: "xAxisLabel",
1867
- ref: Mn,
1842
+ ref: An,
1868
1843
  x: G.value.left + G.value.width / 2,
1869
1844
  y: G.value.chartHeight - 3,
1870
1845
  "font-size": R.value.style.chart.grid.x.axisName.fontSize,
1871
1846
  fill: R.value.style.chart.grid.x.axisName.color,
1872
1847
  "font-weight": R.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1873
1848
  "text-anchor": "middle"
1874
- }, O(R.value.style.chart.grid.x.axisName.text), 9, Dt)) : v("", !0),
1875
- R.value.style.chart.grid.y.axisName.show && R.value.style.chart.grid.y.axisName.text ? (w(), y("text", {
1849
+ }, O(R.value.style.chart.grid.x.axisName.text), 9, Dt)) : _("", !0),
1850
+ R.value.style.chart.grid.y.axisName.show && R.value.style.chart.grid.y.axisName.text ? (w(), v("text", {
1876
1851
  key: 10,
1877
1852
  ref_key: "yAxisLabel",
1878
- ref: Nn,
1853
+ ref: jn,
1879
1854
  transform: `translate(${W.value ? H.value.width - R.value.style.chart.grid.y.axisName.fontSize / 2 - R.value.style.chart.grid.y.axisName.offsetX : R.value.style.chart.grid.y.axisName.fontSize + R.value.style.chart.grid.y.axisName.offsetX}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
1880
1855
  "font-size": R.value.style.chart.grid.y.axisName.fontSize,
1881
1856
  fill: R.value.style.chart.grid.y.axisName.color,
1882
1857
  "font-weight": R.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1883
1858
  "text-anchor": "middle"
1884
- }, O(R.value.style.chart.grid.y.axisName.text), 9, Ot)) : v("", !0),
1885
- V.value.dataLabels.show && R.value.orientation === "vertical" ? (w(), y(h, { key: 11 }, [(w(!0), y(h, null, E($.value, (e, t) => (w(), y("g", { key: `dp_${e.id}` }, [(w(!0), y(h, null, E(e.x, (n, r) => (w(), y(h, { key: `rect_${e.id}_${J.value.start + r}` }, [Pi(e.series[r], e.proportions[r]) ? (w(), y("text", {
1859
+ }, O(R.value.style.chart.grid.y.axisName.text), 9, Ot)) : _("", !0),
1860
+ V.value.dataLabels.show && R.value.orientation === "vertical" ? (w(), v(m, { key: 11 }, [(w(!0), v(m, null, E($.value, (e, t) => (w(), v("g", { key: `dp_${e.id}` }, [(w(!0), v(m, null, E(e.x, (n, r) => (w(), v(m, { key: `rect_${e.id}_${J.value.start + r}` }, [Mi(e.series[r], e.proportions[r]) ? (w(), v("text", {
1886
1861
  key: 0,
1887
1862
  class: x({ "vue-data-ui-transition": k(z) }),
1888
1863
  transform: `translate(${n + X.value * (1 - R.value.style.chart.bars.gapRatio / 2) / 2}, ${e.y[r] + e.height[r] / 2 + R.value.style.chart.bars.dataLabels.fontSize / 3})`,
1889
1864
  "font-size": R.value.style.chart.bars.dataLabels.fontSize,
1890
- fill: R.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(ce)(e.color) : R.value.style.chart.bars.dataLabels.color,
1865
+ fill: R.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(le)(e.color) : R.value.style.chart.bars.dataLabels.color,
1891
1866
  "font-weight": R.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1892
1867
  "text-anchor": "middle"
1893
- }, O(R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? oi(e.proportions[r] * 100, e, t, r) : ai(e.series[r], e, t, r, e.signedSeries[r])), 11, kt)) : v("", !0)], 64))), 128))]))), 128)), R.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (w(), y("g", {
1868
+ }, O(R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? ii(e.proportions[r] * 100, e, t, r) : ri(e.series[r], e, t, r, e.signedSeries[r])), 11, kt)) : _("", !0)], 64))), 128))]))), 128)), R.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (w(), v("g", {
1894
1869
  key: 0,
1895
1870
  ref_key: "sumTop",
1896
- ref: In
1897
- }, [(w(!0), y(h, null, E(ii.value, (e, t) => (w(), y(h, { key: `tl_${t + J.value.start}` }, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), y("text", {
1871
+ ref: Pn
1872
+ }, [(w(!0), v(m, null, E(ni.value, (e, t) => (w(), v(m, { key: `tl_${t + J.value.start}` }, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), v("text", {
1898
1873
  key: 0,
1899
1874
  class: x({ "vue-data-ui-transition": k(z) }),
1900
- transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${ea(t)})`,
1875
+ transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${Qi(t)})`,
1901
1876
  "text-anchor": "middle",
1902
1877
  "font-size": R.value.style.chart.bars.totalValues.fontSize,
1903
1878
  "font-weight": R.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1904
1879
  fill: R.value.style.chart.bars.totalValues.color
1905
- }, O(ai(e.value, e, t, e.sign)), 11, At)) : v("", !0)], 64))), 128))], 512)) : v("", !0)], 64)) : v("", !0),
1906
- V.value.dataLabels.show && R.value.orientation === "horizontal" ? (w(), y(h, { key: 12 }, [(w(!0), y(h, null, E($.value, (e, t) => (w(), y("g", null, [(w(!0), y(h, null, E(e.horizontal_x, (n, r) => (w(), y(h, null, [Pi(e.series[r], e.proportions[r]) ? (w(), y("text", {
1880
+ }, O(ri(e.value, e, t, e.sign)), 11, At)) : _("", !0)], 64))), 128))], 512)) : _("", !0)], 64)) : _("", !0),
1881
+ V.value.dataLabels.show && R.value.orientation === "horizontal" ? (w(), v(m, { key: 12 }, [(w(!0), v(m, null, E($.value, (e, t) => (w(), v("g", null, [(w(!0), v(m, null, E(e.horizontal_x, (n, r) => (w(), v(m, null, [Mi(e.series[r], e.proportions[r]) ? (w(), v("text", {
1907
1882
  key: 0,
1908
1883
  class: x({ "vue-data-ui-transition": k(z) }),
1909
1884
  transform: `translate(${n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2}, ${e.horizontal_y[r] + X.value * (1 - R.value.style.chart.bars.gapRatio / 2) / 2 + R.value.style.chart.bars.dataLabels.fontSize / 3})`,
1910
1885
  "font-size": R.value.style.chart.bars.dataLabels.fontSize,
1911
- fill: R.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(ce)(e.color) : R.value.style.chart.bars.dataLabels.color,
1886
+ fill: R.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(le)(e.color) : R.value.style.chart.bars.dataLabels.color,
1912
1887
  "font-weight": R.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1913
1888
  "text-anchor": "middle"
1914
- }, O(R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? oi(e.proportions[r] * 100, e, t, r) : ai(e.series[r], e, t, r, e.signedSeries[r])), 11, jt)) : v("", !0)], 64))), 256))]))), 256)), R.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (w(), y("g", {
1889
+ }, O(R.value.style.chart.bars.showDistributedPercentage && R.value.style.chart.bars.distributed ? ii(e.proportions[r] * 100, e, t, r) : ri(e.series[r], e, t, r, e.signedSeries[r])), 11, jt)) : _("", !0)], 64))), 256))]))), 256)), R.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (w(), v("g", {
1915
1890
  key: 0,
1916
1891
  ref_key: "sumRight",
1917
- ref: Ln
1918
- }, [(w(!0), y(h, null, E(ii.value, (e, t) => (w(), y(h, null, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), y("text", {
1892
+ ref: Fn
1893
+ }, [(w(!0), v(m, null, E(ni.value, (e, t) => (w(), v(m, null, [!R.value.style.chart.bars.dataLabels.hideEmptyValues || e.value !== 0 ? (w(), v("text", {
1919
1894
  key: 0,
1920
1895
  class: x({ "vue-data-ui-transition": k(z) }),
1921
- transform: `translate(${ta(t)}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.bars.totalValues.fontSize / 3})`,
1896
+ transform: `translate(${$i(t)}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.bars.totalValues.fontSize / 3})`,
1922
1897
  "text-anchor": "start",
1923
1898
  "font-size": R.value.style.chart.bars.totalValues.fontSize,
1924
1899
  "font-weight": R.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1925
1900
  fill: R.value.style.chart.bars.totalValues.color
1926
- }, O(ai(e.value, e, t, e.sign)), 11, Mt)) : v("", !0)], 64))), 256))], 512)) : v("", !0)], 64)) : v("", !0),
1927
- R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.bars.distributed && R.value.orientation === "vertical" ? (w(), y("g", {
1901
+ }, O(ri(e.value, e, t, e.sign)), 11, Mt)) : _("", !0)], 64))), 256))], 512)) : _("", !0)], 64)) : _("", !0),
1902
+ R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.bars.distributed && R.value.orientation === "vertical" ? (w(), v("g", {
1928
1903
  key: 13,
1929
1904
  ref_key: "scaleLabels",
1930
- ref: Pn
1931
- }, [(w(!0), y(h, null, E(Z.value, (e, t) => (w(), y("path", {
1905
+ ref: Mn
1906
+ }, [(w(!0), v(m, null, E(Z.value, (e, t) => (w(), v("path", {
1932
1907
  key: `ty_${t}`,
1933
1908
  stroke: R.value.style.chart.grid.x.axisColor,
1934
1909
  class: x({ "vue-data-ui-transition": k(z) }),
1935
1910
  d: `M${W.value ? G.value.right : G.value.left},${e.y} ${W.value ? G.value.right + 6 : G.value.left - 6},${e.y}`,
1936
1911
  "stroke-width": 1,
1937
1912
  "stroke-linecap": "round"
1938
- }, null, 10, Nt))), 128)), (w(!0), y(h, null, E(Z.value, (e, t) => (w(), y("text", {
1913
+ }, null, 10, Nt))), 128)), (w(!0), v(m, null, E(Z.value, (e, t) => (w(), v("text", {
1939
1914
  class: x({ "vue-data-ui-transition": k(z) }),
1940
1915
  key: `tl_${t}`,
1941
1916
  transform: `translate(${e.x}, ${e.y + R.value.style.chart.grid.y.axisLabels.fontSize / 3})`,
@@ -1943,24 +1918,24 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1943
1918
  "font-weight": R.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1944
1919
  fill: R.value.style.chart.grid.y.axisLabels.color,
1945
1920
  "text-anchor": W.value ? "start" : "end"
1946
- }, O(k(m)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, k(p)({
1921
+ }, O(k(ie)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, k(p)({
1947
1922
  p: R.value.style.chart.bars.dataLabels.prefix,
1948
1923
  v: e.value,
1949
1924
  s: R.value.style.chart.bars.dataLabels.suffix,
1950
1925
  r: R.value.style.chart.grid.y.axisLabels.rounding
1951
- }), { datapoint: e })), 11, Pt))), 128))], 512)) : v("", !0),
1952
- R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.bars.distributed && R.value.orientation === "horizontal" ? (w(), y("g", {
1926
+ }), { datapoint: e })), 11, Pt))), 128))], 512)) : _("", !0),
1927
+ R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.bars.distributed && R.value.orientation === "horizontal" ? (w(), v("g", {
1953
1928
  key: 14,
1954
1929
  ref_key: "scaleLabels",
1955
- ref: Pn
1956
- }, [(w(!0), y(h, null, E(Z.value, (e, t) => (w(), y("path", {
1930
+ ref: Mn
1931
+ }, [(w(!0), v(m, null, E(Z.value, (e, t) => (w(), v("path", {
1957
1932
  key: `scy_${t}`,
1958
1933
  d: `M${e.horizontal_x},${G.value.bottom} ${e.horizontal_x},${G.value.bottom + 6}`,
1959
1934
  class: x({ "vue-data-ui-transition": k(z) }),
1960
1935
  stroke: R.value.style.chart.grid.x.axisColor,
1961
1936
  "stroke-width": 1,
1962
1937
  "stroke-linecap": "round"
1963
- }, null, 10, Ft))), 128)), (w(!0), y(h, null, E(Z.value, (e, t) => (w(), y("text", {
1938
+ }, null, 10, Ft))), 128)), (w(!0), v(m, null, E(Z.value, (e, t) => (w(), v("text", {
1964
1939
  class: x(["vue-data-ui-time-label", { "vue-data-ui-transition": k(z) }]),
1965
1940
  key: `tly_${t}`,
1966
1941
  "font-size": R.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1968,17 +1943,17 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1968
1943
  fill: R.value.style.chart.grid.y.axisLabels.color,
1969
1944
  "text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1970
1945
  transform: `translate(${e.horizontal_x}, ${G.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${R.value.style.chart.grid.x.timeLabels.rotation})`
1971
- }, O(k(m)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, k(p)({
1946
+ }, O(k(ie)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, k(p)({
1972
1947
  p: R.value.style.chart.bars.dataLabels.prefix,
1973
1948
  v: e.value,
1974
1949
  s: R.value.style.chart.bars.dataLabels.suffix,
1975
1950
  r: R.value.style.chart.grid.y.axisLabels.rounding
1976
- }), { datapoint: e })), 11, It))), 128))], 512)) : v("", !0),
1977
- R.value.style.chart.grid.x.timeLabels.show && R.value.orientation === "vertical" ? (w(), y("g", {
1951
+ }), { datapoint: e })), 11, It))), 128))], 512)) : _("", !0),
1952
+ R.value.style.chart.grid.x.timeLabels.show && R.value.orientation === "vertical" ? (w(), v("g", {
1978
1953
  key: 15,
1979
1954
  ref_key: "timeLabelsEls",
1980
- ref: Fn
1981
- }, [t.$slots["time-label"] ? (w(), y("g", Lt, [(w(!0), y(h, null, E(Yr.value, (e, n) => (w(), y("g", null, [D(t.$slots, "time-label", Ye({ ref_for: !0 }, {
1955
+ ref: Nn
1956
+ }, [t.$slots["time-label"] ? (w(), v("g", Lt, [(w(!0), v(m, null, E(qr.value, (e, n) => (w(), v("g", null, [D(t.$slots, "time-label", Ye({ ref_for: !0 }, {
1982
1957
  x: G.value.left + X.value * n + X.value / 2,
1983
1958
  y: G.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY,
1984
1959
  fontSize: R.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1988,7 +1963,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
1988
1963
  content: e.text,
1989
1964
  textAnchor: R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1990
1965
  show: !0
1991
- }), void 0, !0)]))), 256))])) : (w(), y("g", Rt, [(w(!0), y(h, null, E(Yr.value, (e, t) => (w(), y("g", null, [String(e.text).includes("\n") ? (w(), y("text", {
1966
+ }), void 0, !0)]))), 256))])) : (w(), v("g", Rt, [(w(!0), v(m, null, E(qr.value, (e, t) => (w(), v("g", null, [String(e.text).includes("\n") ? (w(), v("text", {
1992
1967
  class: x({ "vue-data-ui-transition": k(z) }),
1993
1968
  key: t + "-multi",
1994
1969
  "text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -2009,8 +1984,8 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2009
1984
  x: 0,
2010
1985
  y: 0
2011
1986
  }),
2012
- onClick: () => Mi(e, t)
2013
- }, null, 14, Bt)) : (w(), y("text", {
1987
+ onClick: () => Ai(e, t)
1988
+ }, null, 14, Bt)) : (w(), v("text", {
2014
1989
  class: "vue-data-ui-time-label",
2015
1990
  key: t,
2016
1991
  "text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -2019,13 +1994,13 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2019
1994
  fill: R.value.style.chart.grid.x.timeLabels.color,
2020
1995
  transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${R.value.style.chart.grid.x.timeLabels.rotation})`,
2021
1996
  style: C({ cursor: B.value ? "pointer" : "default" }),
2022
- onClick: () => Mi(e, t)
2023
- }, O(e.text), 13, zt))]))), 256))]))], 512)) : v("", !0),
2024
- R.value.style.chart.grid.x.timeLabels.show && R.value.orientation === "horizontal" ? (w(), y("g", {
1997
+ onClick: () => Ai(e, t)
1998
+ }, O(e.text), 13, zt))]))), 256))]))], 512)) : _("", !0),
1999
+ R.value.style.chart.grid.x.timeLabels.show && R.value.orientation === "horizontal" ? (w(), v("g", {
2025
2000
  key: 16,
2026
2001
  ref_key: "timeLabelsEls",
2027
- ref: Fn
2028
- }, [t.$slots["time-label"] ? (w(), y("g", Vt, [(w(!0), y(h, null, E(Q.value, (e, n) => (w(), y("g", null, [D(t.$slots, "time-label", Ye({ ref_for: !0 }, {
2002
+ ref: Nn
2003
+ }, [t.$slots["time-label"] ? (w(), v("g", Vt, [(w(!0), v(m, null, E(Q.value, (e, n) => (w(), v("g", null, [D(t.$slots, "time-label", Ye({ ref_for: !0 }, {
2029
2004
  x: G.value.left - 8,
2030
2005
  y: G.value.top + X.value * n + X.value / 2 + R.value.style.chart.grid.y.axisLabels.fontSize / 3,
2031
2006
  fontSize: R.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2035,7 +2010,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2035
2010
  content: e.text,
2036
2011
  textAnchor: "end",
2037
2012
  show: !0
2038
- }), void 0, !0)]))), 256))])) : (w(), y("g", Ht, [(w(!0), y(h, null, E(Q.value, (e, t) => (w(), y("g", null, [String(e.text).includes("\n") ? (w(), y("text", {
2013
+ }), void 0, !0)]))), 256))])) : (w(), v("g", Ht, [(w(!0), v(m, null, E(Q.value, (e, t) => (w(), v("g", null, [String(e.text).includes("\n") ? (w(), v("text", {
2039
2014
  key: 1,
2040
2015
  "text-anchor": "end",
2041
2016
  "font-size": R.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2043,7 +2018,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2043
2018
  fill: R.value.style.chart.grid.y.axisLabels.color,
2044
2019
  transform: `translate(${G.value.left - 8}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.grid.y.axisLabels.fontSize / 3})`,
2045
2020
  style: C({ cursor: B.value ? "pointer" : "default" }),
2046
- onClick: () => Mi(e, t),
2021
+ onClick: () => Ai(e, t),
2047
2022
  innerHTML: k(s)({
2048
2023
  content: String(e.text),
2049
2024
  fontSize: R.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2051,7 +2026,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2051
2026
  x: G.value.left - 8,
2052
2027
  y: 0
2053
2028
  })
2054
- }, null, 12, Wt)) : (w(), y("text", {
2029
+ }, null, 12, Wt)) : (w(), v("text", {
2055
2030
  key: 0,
2056
2031
  "text-anchor": "end",
2057
2032
  "font-size": R.value.style.chart.grid.y.axisLabels.fontSize,
@@ -2059,53 +2034,53 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2059
2034
  fill: R.value.style.chart.grid.y.axisLabels.color,
2060
2035
  transform: `translate(${G.value.left - 8}, ${G.value.top + X.value * t + X.value / 2 + R.value.style.chart.grid.y.axisLabels.fontSize / 3})`,
2061
2036
  style: C({ cursor: B.value ? "pointer" : "default" }),
2062
- onClick: () => Mi(e, t)
2063
- }, O(e.text), 13, Ut))]))), 256))]))], 512)) : v("", !0),
2064
- V.value.showTooltip && R.value.orientation === "vertical" ? (w(!0), y(h, { key: 17 }, E(J.value.end - J.value.start, (e, t) => (w(), y("rect", {
2037
+ onClick: () => Ai(e, t)
2038
+ }, O(e.text), 13, Ut))]))), 256))]))], 512)) : _("", !0),
2039
+ V.value.showTooltip && R.value.orientation === "vertical" ? (w(!0), v(m, { key: 17 }, E(J.value.end - J.value.start, (e, t) => (w(), v("rect", {
2065
2040
  x: G.value.left + t * X.value,
2066
2041
  y: G.value.top,
2067
2042
  width: X.value,
2068
2043
  height: G.value.height < 0 ? 0 : G.value.height,
2069
- onClick: () => si(t),
2070
- onMouseenter: () => fi(t, "pointer"),
2071
- onMouseleave: () => li(t),
2072
- fill: t === I.value || t === Jn.value ? R.value.style.chart.highlighter.color : "transparent",
2044
+ onClick: () => ai(t),
2045
+ onMouseenter: () => ui(t, "pointer"),
2046
+ onMouseleave: () => si(t),
2047
+ fill: t === I.value || t === Kn.value ? R.value.style.chart.highlighter.color : "transparent",
2073
2048
  style: C({ opacity: R.value.style.chart.highlighter.opacity / 100 })
2074
- }, null, 44, Gt))), 256)) : v("", !0),
2075
- V.value.showTooltip && R.value.orientation === "horizontal" ? (w(!0), y(h, { key: 18 }, E(J.value.end - J.value.start, (e, t) => (w(), y("rect", {
2049
+ }, null, 44, Gt))), 256)) : _("", !0),
2050
+ V.value.showTooltip && R.value.orientation === "horizontal" ? (w(!0), v(m, { key: 18 }, E(J.value.end - J.value.start, (e, t) => (w(), v("rect", {
2076
2051
  x: G.value.left,
2077
2052
  y: G.value.top + t * X.value,
2078
2053
  width: G.value.width < 0 ? 0 : G.value.width,
2079
2054
  height: X.value,
2080
- onClick: () => si(t),
2081
- onMouseenter: () => fi(t, "pointer"),
2082
- onMouseleave: () => li(t),
2083
- fill: t === I.value || t === Jn.value ? R.value.style.chart.highlighter.color : "transparent",
2055
+ onClick: () => ai(t),
2056
+ onMouseenter: () => ui(t, "pointer"),
2057
+ onMouseleave: () => si(t),
2058
+ fill: t === I.value || t === Kn.value ? R.value.style.chart.highlighter.color : "transparent",
2084
2059
  style: C({ opacity: R.value.style.chart.highlighter.opacity / 100 })
2085
- }, null, 44, Kt))), 256)) : v("", !0),
2086
- Ar.value ? (w(), y("rect", Ye({ key: 19 }, Or.value, {
2060
+ }, null, 44, Kt))), 256)) : _("", !0),
2061
+ Or.value ? (w(), v("rect", Ye({ key: 19 }, Er.value, {
2087
2062
  "data-start": J.value.start,
2088
2063
  "data-end": J.value.end
2089
- }), null, 16, qt)) : v("", !0),
2064
+ }), null, 16, qt)) : _("", !0),
2090
2065
  D(t.$slots, "svg", { svg: {
2091
2066
  drawingArea: G.value,
2092
2067
  slicer: J.value,
2093
2068
  data: $.value,
2094
- isPrintingImg: k(cr) || k(lr) || An.value,
2095
- isPrintingSvg: jn.value,
2069
+ isPrintingImg: k(or) || k(sr) || k(zi),
2070
+ isPrintingSvg: k(Bi),
2096
2071
  barWidth: X.value
2097
2072
  } }, void 0, !0)
2098
- ], 46, ut)), t.$slots.hint ? (w(), y("div", Jt, [D(t.$slots, "hint", S(b({
2073
+ ], 46, ut)), t.$slots.hint ? (w(), v("div", Jt, [D(t.$slots, "hint", S(b({
2099
2074
  hint: R.value.a11y.translations.keyboardNavigation,
2100
- isVisible: ra.value
2101
- })), void 0, !0)])) : v("", !0)]),
2102
- t.$slots.watermark ? (w(), y("div", Yt, [D(t.$slots, "watermark", S(b({ isPrinting: k(cr) || k(lr) || An.value || jn.value })), void 0, !0)])) : v("", !0),
2103
- R.value.style.chart.zoom.show && pn.value && qi.value && q.value > 6 ? (w(), _(Ie, {
2075
+ isVisible: ta.value
2076
+ })), void 0, !0)])) : _("", !0)]),
2077
+ t.$slots.watermark ? (w(), v("div", Yt, [D(t.$slots, "watermark", S(b({ isPrinting: k(or) || k(sr) || k(zi) || k(Bi) })), void 0, !0)])) : _("", !0),
2078
+ R.value.style.chart.zoom.show && pn.value && Gi.value && q.value > 6 ? (w(), g(Le, {
2104
2079
  key: 5,
2105
2080
  ref_key: "chartSlicer",
2106
2081
  ref: bn,
2107
2082
  "data-dom-to-png-ignore-layout": "",
2108
- allMinimaps: zr.value,
2083
+ allMinimaps: Lr.value,
2109
2084
  background: R.value.style.chart.zoom.color,
2110
2085
  borderColor: R.value.style.chart.backgroundColor,
2111
2086
  customFormat: R.value.style.chart.zoom.customFormat,
@@ -2119,12 +2094,12 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2119
2094
  fontSize: R.value.style.chart.zoom.fontSize,
2120
2095
  immediate: !R.value.style.chart.zoom.preview.enable,
2121
2096
  inputColor: R.value.style.chart.zoom.color,
2122
- isPreview: Ar.value,
2097
+ isPreview: Or.value,
2123
2098
  labelLeft: R.value.style.chart.grid.x.timeLabels.values[J.value.start] ? Q.value?.[0]?.text ?? "" : "",
2124
2099
  labelRight: R.value.style.chart.grid.x.timeLabels.values[J.value.end - 1] ? Q.value?.at(-1)?.text ?? "" : "",
2125
2100
  max: Math.max(...e.dataset.map((e) => e.series.length)),
2126
2101
  min: 0,
2127
- minimap: Rr.value,
2102
+ minimap: Ir.value,
2128
2103
  minimapCompact: R.value.style.chart.zoom.minimap.compact,
2129
2104
  minimapFrameColor: R.value.style.chart.zoom.minimap.frameColor,
2130
2105
  minimapIndicatorColor: R.value.style.chart.zoom.minimap.indicatorColor,
@@ -2133,15 +2108,15 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2133
2108
  minimapSelectedColorOpacity: R.value.style.chart.zoom.minimap.selectedColorOpacity,
2134
2109
  minimapSelectedIndex: I.value,
2135
2110
  minimapSelectionRadius: 1,
2136
- preciseLabels: $r.value.length ? $r.value : Gr.value,
2111
+ preciseLabels: Zr.value.length ? Zr.value : Ur.value,
2137
2112
  refreshEndPoint: R.value.style.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => e.series.length)) : R.value.style.chart.zoom.endIndex + 1,
2138
2113
  refreshStartPoint: R.value.style.chart.zoom.startIndex === null ? 0 : R.value.style.chart.zoom.startIndex,
2139
2114
  selectColor: R.value.style.chart.zoom.highlightColor,
2140
- selectedSeries: ui.value,
2115
+ selectedSeries: ci.value,
2141
2116
  smoothMinimap: !1,
2142
2117
  start: J.value.start,
2143
2118
  textColor: R.value.style.chart.color,
2144
- timeLabels: Gr.value,
2119
+ timeLabels: Ur.value,
2145
2120
  usePreciseLabels: R.value.style.chart.grid.x.timeLabels.datetimeFormatter.enable && !R.value.style.chart.zoom.useDefaultFormat,
2146
2121
  valueEnd: J.value.end,
2147
2122
  valueStart: J.value.start,
@@ -2157,18 +2132,18 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2157
2132
  handleBorderColor: R.value.style.chart.zoom.minimap.handleBorderColor,
2158
2133
  handleFill: R.value.style.chart.zoom.minimap.handleFill,
2159
2134
  handleWidth: R.value.style.chart.zoom.minimap.handleWidth,
2160
- "onUpdate:end": Zi,
2161
- "onUpdate:start": Xi,
2162
- onTrapMouse: kr,
2163
- onReset: n[0] ||= () => Fr({ force: !0 }),
2164
- onFutureEnd: n[1] ||= (e) => jr("end", e),
2165
- onFutureStart: n[2] ||= (e) => jr("start", e)
2135
+ "onUpdate:end": Yi,
2136
+ "onUpdate:start": Ji,
2137
+ onTrapMouse: Dr,
2138
+ onReset: n[0] ||= () => Nr({ force: !0 }),
2139
+ onFutureEnd: n[1] ||= (e) => kr("end", e),
2140
+ onFutureStart: n[2] ||= (e) => kr("start", e)
2166
2141
  }, {
2167
2142
  "reset-action": A(({ reset: e }) => [D(t.$slots, "reset-action", S(b({ reset: e })), void 0, !0)]),
2168
- slotMap: A(({ width: e, height: t, unitW: n }) => [(w(!0), y(h, null, E($.value, (e) => (w(), y("g", { key: e.id }, [(w(!0), y(h, null, E(e.xMinimap({
2143
+ slotMap: A(({ width: e, height: t, unitW: n }) => [(w(!0), v(m, null, E($.value, (e) => (w(), v("g", { key: e.id }, [(w(!0), v(m, null, E(e.xMinimap({
2169
2144
  left: 0,
2170
2145
  unitW: n
2171
- }), (r, a) => (w(), y("rect", {
2146
+ }), (r, a) => (w(), v("rect", {
2172
2147
  key: `minimap-rect-${e.minimapRectKeys[a]}`,
2173
2148
  x: a === 0 ? r - n * (R.value.style.chart.bars.gapRatio / 4) : r - n / 2,
2174
2149
  y: Math.max(0, Math.min(t, e.yMinimap({ minimapH: t })[a])),
@@ -2183,7 +2158,7 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2183
2158
  style: C({ opacity: a >= Y.value.start && a <= Y.value.end ? 1 : .62 })
2184
2159
  }, null, 12, Xt))), 128))]))), 128))]),
2185
2160
  _: 3
2186
- }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : v("", !0),
2161
+ }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : _("", !0),
2187
2162
  qe(k(en), {
2188
2163
  teleportTo: R.value.style.chart.tooltip.teleportTo,
2189
2164
  show: V.value.showTooltip && mn.value,
@@ -2200,13 +2175,13 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2200
2175
  parent: N.value,
2201
2176
  content: gn.value,
2202
2177
  isFullscreen: Sn.value,
2203
- isCustom: k(pe)(R.value.style.chart.tooltip.customFormat),
2178
+ isCustom: k(me)(R.value.style.chart.tooltip.customFormat),
2204
2179
  smooth: R.value.style.chart.tooltip.smooth,
2205
2180
  backdropFilter: R.value.style.chart.tooltip.backdropFilter,
2206
2181
  smoothForce: R.value.style.chart.tooltip.smoothForce,
2207
2182
  smoothSnapThreshold: R.value.style.chart.tooltip.smoothSnapThreshold,
2208
- isA11yMode: Un.value === "keyboard",
2209
- a11yPosition: Hn.value
2183
+ isA11yMode: Vn.value === "keyboard",
2184
+ a11yPosition: Bn.value
2210
2185
  }, {
2211
2186
  "tooltip-before": A(() => [D(t.$slots, "tooltip-before", S(b({ ...hn.value })), void 0, !0)]),
2212
2187
  tooltip: A(() => [D(t.$slots, "tooltip", S(b({ ...hn.value })), void 0, !0)]),
@@ -2236,44 +2211,44 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2236
2211
  "isA11yMode",
2237
2212
  "a11yPosition"
2238
2213
  ]),
2239
- We("div", { id: `legend-bottom-${P.value}` }, null, 8, Zt),
2240
- Dn.value && (R.value.style.chart.legend.show || t.$slots.legend) ? (w(), _(Ue, {
2214
+ y("div", { id: `legend-bottom-${P.value}` }, null, 8, Zt),
2215
+ Dn.value && (R.value.style.chart.legend.show || t.$slots.legend) ? (w(), g(We, {
2241
2216
  key: 6,
2242
2217
  to: R.value.style.chart.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
2243
- }, [We("div", {
2218
+ }, [y("div", {
2244
2219
  ref_key: "chartLegend",
2245
2220
  ref: yn
2246
- }, [D(t.$slots, "legend", { legend: Oi.value }, () => [R.value.style.chart.legend.show ? (w(), _(Ve, {
2221
+ }, [D(t.$slots, "legend", { legend: Ei.value }, () => [R.value.style.chart.legend.show ? (w(), g(He, {
2247
2222
  key: 0,
2248
- legendSet: Oi.value,
2249
- config: ki.value,
2223
+ legendSet: Ei.value,
2224
+ config: Di.value,
2250
2225
  isCursorPointer: B.value,
2251
2226
  onClickMarker: n[3] ||= ({ legend: e }) => e.segregate()
2252
2227
  }, Ge({
2253
- item: A(({ legend: e }) => [k(Xn) ? v("", !0) : (w(), y("div", {
2228
+ item: A(({ legend: e }) => [k(Jn) ? _("", !0) : (w(), v("div", {
2254
2229
  key: 0,
2255
2230
  onClick: (t) => e.segregate(),
2256
2231
  style: C(`opacity:${F.value.includes(e.id) ? .5 : 1}`)
2257
2232
  }, O(e.name), 13, Qt))]),
2258
- legendToggle: A(() => [Oi.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !k(Xn) ? (w(), _(Le, {
2233
+ legendToggle: A(() => [Ei.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !k(Jn) ? (w(), g(Re, {
2259
2234
  key: 0,
2260
2235
  backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
2261
2236
  color: R.value.style.chart.legend.selectAllToggle.color,
2262
2237
  fontSize: R.value.style.chart.legend.fontSize,
2263
2238
  checked: F.value.length > 0,
2264
2239
  isCursorPointer: B.value,
2265
- onToggle: Ci
2240
+ onToggle: xi
2266
2241
  }, null, 8, [
2267
2242
  "backgroundColor",
2268
2243
  "color",
2269
2244
  "fontSize",
2270
2245
  "checked",
2271
2246
  "isCursorPointer"
2272
- ])) : v("", !0)]),
2247
+ ])) : _("", !0)]),
2273
2248
  _: 2
2274
2249
  }, [t.$slots.pattern ? {
2275
2250
  name: "legend-pattern",
2276
- fn: A(({ legend: e, index: t }) => [qe(je, {
2251
+ fn: A(({ legend: e, index: t }) => [qe(Me, {
2277
2252
  shape: e.shape,
2278
2253
  radius: 30,
2279
2254
  stroke: "none",
@@ -2288,29 +2263,29 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2288
2263
  "legendSet",
2289
2264
  "config",
2290
2265
  "isCursorPointer"
2291
- ])) : v("", !0)], !0)], 512)], 8, ["to"])) : v("", !0),
2292
- t.$slots.source ? (w(), y("div", {
2266
+ ])) : _("", !0)], !0)], 512)], 8, ["to"])) : _("", !0),
2267
+ t.$slots.source ? (w(), v("div", {
2293
2268
  key: 7,
2294
2269
  ref_key: "source",
2295
2270
  ref: xn,
2296
2271
  dir: "auto"
2297
- }, [D(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
2298
- pn.value && R.value.userOptions.buttons.table ? (w(), _($e(Ii.value.component), Ye({ key: 8 }, Ii.value.props, {
2272
+ }, [D(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
2273
+ pn.value && R.value.userOptions.buttons.table ? (w(), g($e(Pi.value.component), Ye({ key: 8 }, Pi.value.props, {
2299
2274
  ref_key: "tableUnit",
2300
2275
  ref: On,
2301
- onClose: Li
2276
+ onClose: Fi
2302
2277
  }), Ge({
2303
2278
  content: A(() => [qe(k(rn), {
2304
- colNames: Si.value.colNames,
2305
- head: Si.value.head,
2306
- body: Si.value.body,
2307
- config: Si.value.config,
2308
- title: R.value.table.useDialog ? "" : Ii.value.title,
2279
+ colNames: bi.value.colNames,
2280
+ head: bi.value.head,
2281
+ body: bi.value.body,
2282
+ config: bi.value.config,
2283
+ title: R.value.table.useDialog ? "" : Pi.value.title,
2309
2284
  withCloseButton: !R.value.table.useDialog,
2310
2285
  isCursorPointer: B.value,
2311
- onClose: Li
2286
+ onClose: Fi
2312
2287
  }, {
2313
- th: A(({ th: e }) => [We("div", { innerHTML: e }, null, 8, $t)]),
2288
+ th: A(({ th: e }) => [y("div", { innerHTML: e }, null, 8, $t)]),
2314
2289
  td: A(({ td: e }) => [Ke(O(isNaN(Number(e)) ? e : k(p)({
2315
2290
  p: R.value.style.chart.bars.dataLabels.prefix,
2316
2291
  v: e,
@@ -2330,24 +2305,24 @@ var at = /* @__PURE__ */ e({ default: () => en }), ot = ["id"], st = ["id"], ct
2330
2305
  _: 2
2331
2306
  }, [R.value.table.useDialog ? {
2332
2307
  name: "title",
2333
- fn: A(() => [Ke(O(Ii.value.title), 1)]),
2308
+ fn: A(() => [Ke(O(Pi.value.title), 1)]),
2334
2309
  key: "0"
2335
2310
  } : void 0, R.value.table.useDialog ? {
2336
2311
  name: "actions",
2337
- fn: A(() => [We("button", {
2312
+ fn: A(() => [y("button", {
2338
2313
  tabindex: "0",
2339
2314
  class: "vue-ui-user-options-button",
2340
- onClick: n[4] ||= (e) => xi(R.value.userOptions.callbacks.csv),
2315
+ onClick: n[4] ||= (e) => yi(R.value.userOptions.callbacks.csv),
2341
2316
  style: C({ cursor: B.value ? "pointer" : "default" })
2342
2317
  }, [qe(k(tn), {
2343
2318
  name: "fileCsv",
2344
- stroke: Ii.value.props.color
2319
+ stroke: Pi.value.props.color
2345
2320
  }, null, 8, ["stroke"])], 4)]),
2346
2321
  key: "1"
2347
- } : void 0]), 1040)) : v("", !0),
2348
- D(t.$slots, "skeleton", {}, () => [k(Xn) ? (w(), _(Se, { key: 0 })) : v("", !0)], !0)
2322
+ } : void 0]), 1040)) : _("", !0),
2323
+ D(t.$slots, "skeleton", {}, () => [k(Jn) ? (w(), g(Ce, { key: 0 })) : _("", !0)], !0)
2349
2324
  ], 46, ot));
2350
2325
  }
2351
- }, [["__scopeId", "data-v-80cac12f"]]);
2326
+ }, [["__scopeId", "data-v-342b4392"]]);
2352
2327
  //#endregion
2353
2328
  export { at as n, en as t };