vue-data-ui 3.4.8 → 3.5.0

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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-D-auaEEJ.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-CzqHcPqG.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CwXiD8zD.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-DlEPlWmV.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-DtzpeIu4.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-DzoiyaeB.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BqRERrjs.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-CzBGckif.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-B4waG93A.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-DiTw_p5r.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-Bt-MUKqy.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-Bc492JeS.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-D6TaZK2x.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-BlZr68Sq.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-ByEP18dA.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-BU7d_U6T.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-CpVrxaTr.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-B9Z4EXoj.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-T1paJEJ3.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-Uw83eEMz.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-C93VwVCY.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-CFMWwXFN.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-FkVaaOVG.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Cyi98NXq.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-BCENNhsY.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-Dca9wkD0.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-CEtFEZT3.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-bqcp6BIl.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-lgRCmyNP.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-cRRrbaIT.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-CaeFJq9a.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-DbsYfGjx.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-DcMnoNrY.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-b5fdgyHv.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DrQ26BzL.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BlvXLcfO.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-CQmNePxu.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CJatqy8x.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-5m7hFiMq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-WrexTg8_.js → vue-ui-stackbar-CkBOjryQ.js} +438 -421
  99. package/dist/{vue-ui-strip-plot-DqX7yya9.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-BhrP9BCp.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-BECa8n5_.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxBGrsSR.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-BbHY5Ed5.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-DzL3Sc1f.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-DoHoS5NK.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-D0N5btU-.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-CTt7dxCY.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel--TIPvQ9I.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-D5pZq4Jq.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BERHgePa.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-BI5stV8f.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-Z5g6L2Hj.js +0 -424
@@ -1,25 +1,25 @@
1
- import { defineAsyncComponent as J, useSlots as pl, computed as g, ref as d, onMounted as sa, toRefs as xl, watch as we, shallowRef as ra, onBeforeUnmount as ct, watchEffect as oa, nextTick as kl, createElementBlock as n, openBlock as r, normalizeStyle as ae, normalizeClass as ue, createBlock as Z, createCommentVNode as b, renderSlot as C, createElementVNode as Q, createVNode as Le, unref as f, createSlots as vt, withCtx as M, normalizeProps as le, guardReactiveProps as se, Fragment as p, renderList as k, mergeProps as Se, toDisplayString as F, Teleport as wl, resolveDynamicComponent as Ll, createTextVNode as na } from "vue";
2
- import { u as Sl, a as ia } from "./useNestedProp-BjZe1Y85.js";
3
- import { c as ua, t as zl, b as Cl, p as Ee, O as ce, e as _l, o as ca, f as va, g as Ml, h as Tl, aj as ze, n as ha, m as da, v as $l, X as Al, S as Pl, r as Ve, J as ya, a as Ue, d as re, M as Nl, $ as Rl, G as ga, P as Ol, Q as Il, H as Fl } from "./lib-C_mNZmhD.js";
4
- import { t as ht, u as Dl } from "./useResponsive-DfdjqQps.js";
5
- import { u as El } from "./usePrinter-DTzqpYKF.js";
6
- import { u as Vl, B as Ul } from "./BaseScanner-BgWxam9d.js";
7
- import { u as ba, a as Bl, l as Hl } from "./useTimeLabels-BGFjWgrv.js";
8
- import { u as Xl } from "./useSvgExport-DrjCWun4.js";
9
- import { u as Wl } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as Yl } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as Gl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import ql from "./img-BecE5qXd.js";
13
- import Jl from "./Title-l36lOBMx.js";
14
- import { _ as Zl } from "./Shape-CNXKB8O0.js";
15
- import { t as Ql } from "./themes-AUNCOb2G.js";
16
- import Kl from "./Legend-G6GMcdAc.js";
17
- import { S as jl } from "./SlicerPreview-ij72TAs6.js";
18
- import { _ as es } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
- const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "width", "height"], rs = { key: 1 }, os = ["id"], ns = ["stop-color"], is = ["stop-color"], us = ["stop-color"], cs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ds = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ys = { key: 0 }, gs = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], bs = { key: 0 }, ms = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], fs = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ps = { key: 0 }, xs = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ks = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ws = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ls = ["x", "y", "font-size", "fill", "font-weight"], Ss = ["transform", "font-size", "fill", "font-weight"], zs = ["x", "y", "font-size", "fill", "font-weight"], Cs = ["x", "y", "font-size", "font-weight", "fill"], _s = ["x", "y", "font-size", "fill", "font-weight"], Ms = ["x", "y", "font-size", "font-weight", "fill"], Ts = ["x1", "x2", "y1", "y2", "stroke"], $s = ["x", "y", "font-size", "font-weight", "fill"], As = ["x1", "x2", "y1", "y2", "stroke"], Ps = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ns = { key: 0 }, Rs = { key: 1 }, Os = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Is = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Fs = { key: 0 }, Ds = { key: 1 }, Es = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Vs = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Us = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Bs = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Hs = ["data-start", "data-end"], Xs = {
1
+ import { defineAsyncComponent as J, useSlots as wl, computed as g, ref as d, onMounted as oa, toRefs as Ll, watch as we, shallowRef as na, onBeforeUnmount as vt, watchEffect as ia, nextTick as Sl, createElementBlock as n, openBlock as r, normalizeStyle as ae, normalizeClass as ue, createBlock as Z, createCommentVNode as b, renderSlot as C, createElementVNode as Q, createVNode as Le, unref as m, createSlots as ht, withCtx as M, normalizeProps as le, guardReactiveProps as se, Fragment as p, renderList as k, mergeProps as Se, toDisplayString as F, Teleport as zl, resolveDynamicComponent as Cl, createTextVNode as ua } from "vue";
2
+ import { u as _l, a as ca } from "./useNestedProp-BjZe1Y85.js";
3
+ import { c as va, t as Ml, b as Tl, p as Ve, O as ce, e as $l, o as ha, f as da, g as Al, h as Pl, aj as ze, n as ya, m as ga, v as Nl, X as Rl, S as Ol, r as Ee, J as ba, a as Ue, d as re, M as Il, $ as Fl, G as fa, P as Dl, Q as Vl, H as El } from "./lib-C_mNZmhD.js";
4
+ import { t as dt, u as Ul } from "./useResponsive-DfdjqQps.js";
5
+ import { u as Bl } from "./usePrinter-DTzqpYKF.js";
6
+ import { u as Hl, B as Xl } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as ma, a as Wl, l as Yl } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as Gl } from "./useSvgExport-DrjCWun4.js";
9
+ import { u as ql } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Jl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as Zl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import Ql from "./img-BecE5qXd.js";
13
+ import Kl from "./Title-l36lOBMx.js";
14
+ import { _ as jl } from "./Shape-CNXKB8O0.js";
15
+ import { t as es } from "./themes-AUNCOb2G.js";
16
+ import ts from "./Legend-G6GMcdAc.js";
17
+ import { S as as } from "./SlicerPreview-ij72TAs6.js";
18
+ import { _ as ls } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
+ const ss = ["id"], rs = ["id"], os = ["xmlns", "viewBox"], ns = ["x", "y", "width", "height"], is = { key: 1 }, us = ["id"], cs = ["stop-color"], vs = ["stop-color"], hs = ["stop-color"], ds = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ys = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fs = { key: 0 }, ms = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ps = { key: 0 }, xs = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ks = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ws = { key: 0 }, Ls = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ss = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cs = ["x", "y", "font-size", "fill", "font-weight"], _s = ["transform", "font-size", "fill", "font-weight"], Ms = ["x", "y", "font-size", "fill", "font-weight"], Ts = ["x", "y", "font-size", "font-weight", "fill"], $s = ["x", "y", "font-size", "fill", "font-weight"], As = ["x", "y", "font-size", "font-weight", "fill"], Ps = ["x1", "x2", "y1", "y2", "stroke"], Ns = ["x", "y", "font-size", "font-weight", "fill"], Rs = ["x1", "x2", "y1", "y2", "stroke"], Os = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Is = { key: 0 }, Fs = { key: 1 }, Ds = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Vs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Es = { key: 0 }, Us = { key: 1 }, Bs = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Hs = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Xs = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Ws = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Ys = ["data-start", "data-end"], Gs = {
20
20
  key: 3,
21
21
  class: "vue-data-ui-watermark"
22
- }, Ws = ["x", "y", "height", "width", "fill", "stroke"], Ys = ["id"], Gs = ["onClick"], qs = ["innerHTML"], Js = {
22
+ }, qs = ["x", "y", "height", "width", "fill", "stroke"], Js = ["id"], Zs = ["onClick"], Qs = ["innerHTML"], Ks = {
23
23
  __name: "vue-ui-stackbar",
24
24
  props: {
25
25
  config: {
@@ -40,20 +40,20 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
40
40
  }
41
41
  },
42
42
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX"],
43
- setup(Be, { expose: ma, emit: fa }) {
44
- const pa = J(() => import("./Tooltip-oWCO1HKy.js")), xa = J(() => import("./BaseIcon-BmMbm4d0.js")), ka = J(() => import("./vue-ui-accordion-CZ0thhxa.js")), wa = J(() => import("./DataTable-BT7VF2ua.js")), La = J(() => import("./PenAndPaper-DSvu9dwa.js")), Sa = J(() => import("./UserOptions-CGnQt6Fd.js")), za = J(() => import("./PackageVersion-D-auaEEJ.js")), Ca = J(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_stackbar: _a } = Sl(), Ma = pl(), x = Be, ve = fa, he = g({
43
+ setup(Be, { expose: pa, emit: xa }) {
44
+ const ka = J(() => import("./Tooltip-oWCO1HKy.js")), wa = J(() => import("./BaseIcon-BmMbm4d0.js")), La = J(() => import("./vue-ui-accordion-CZ0thhxa.js")), Sa = J(() => import("./DataTable-BT7VF2ua.js")), za = J(() => import("./PenAndPaper-DSvu9dwa.js")), Ca = J(() => import("./UserOptions-CGnQt6Fd.js")), _a = J(() => import("./PackageVersion-Cyx_s25h.js")), Ma = J(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_stackbar: Ta } = _l(), $a = wl(), x = Be, ve = xa, he = g({
45
45
  get() {
46
46
  return !!x.dataset && x.dataset.length;
47
47
  },
48
48
  set(a) {
49
49
  return a;
50
50
  }
51
- }), X = d(null), D = d(ua()), He = d(!1), Xe = d(null), We = d(""), N = d([]), dt = d(0), yt = d(null), gt = d(null), de = d(null), bt = d(null), ye = d(!1), U = d(null), K = d(!1), mt = d(0), Ta = d(0), $a = d(0), ft = d(!1), ge = d(null), Ye = d(null), Ge = d(null), qe = d(null), j = d(null), ee = d(null), Aa = d(null), pt = d(null), Je = d(null);
52
- sa(() => {
53
- ft.value = !0, tt();
51
+ }), W = d(null), D = d(va()), He = d(!1), Xe = d(null), We = d(""), A = d([]), yt = d(0), gt = d(null), bt = d(null), de = d(null), ft = d(null), ye = d(!1), B = d(null), K = d(!1), mt = d(0), Aa = d(0), Pa = d(0), pt = d(!1), ge = d(null), Ye = d(null), Ge = d(null), qe = d(null), j = d(null), ee = d(null), Na = d(null), xt = d(null), Je = d(null);
52
+ oa(() => {
53
+ pt.value = !0, tt();
54
54
  });
55
- const e = d(je()), { loading: be, FINAL_DATASET: Ze, manualLoading: Ce } = Vl({
56
- ...xl(x),
55
+ const e = d(je()), { loading: be, FINAL_DATASET: Ze, manualLoading: Ce } = Hl({
56
+ ...Ll(x),
57
57
  FINAL_CONFIG: e,
58
58
  prepareConfig: je,
59
59
  callback: () => {
@@ -73,7 +73,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
73
73
  color: "#CACACA"
74
74
  }
75
75
  ],
76
- skeletonConfig: zl({
76
+ skeletonConfig: Ml({
77
77
  defaultConfig: e.value,
78
78
  userConfig: {
79
79
  userOptions: { show: !1 },
@@ -122,32 +122,32 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
122
122
  }
123
123
  }
124
124
  })
125
- }), { userOptionsVisible: Qe, setUserOptionsVisibility: xt, keepUserOptionState: kt } = Wl({ config: e.value }), { svgRef: Ke } = Yl({ config: e.value.style.chart.title });
126
- function Pa() {
127
- xt(!0);
125
+ }), { userOptionsVisible: Qe, setUserOptionsVisibility: kt, keepUserOptionState: wt } = ql({ config: e.value }), { svgRef: Ke } = Jl({ config: e.value.style.chart.title });
126
+ function Ra() {
127
+ kt(!0);
128
128
  }
129
- function Na() {
130
- xt(!1), ve("selectX", { seriesIndex: null, datapoint: null }), U.value = null;
129
+ function Oa() {
130
+ kt(!1), ve("selectX", { seriesIndex: null, datapoint: null }), B.value = null;
131
131
  }
132
132
  function je() {
133
- const a = ia({
133
+ const a = ca({
134
134
  userConfig: x.config,
135
- defaultConfig: _a
135
+ defaultConfig: Ta
136
136
  });
137
137
  let l = {};
138
138
  return a.theme ? l = {
139
- ...ia({
140
- userConfig: Ql.vue_ui_stackbar[a.theme] || x.config,
139
+ ...ca({
140
+ userConfig: es.vue_ui_stackbar[a.theme] || x.config,
141
141
  defaultConfig: a
142
142
  }),
143
- customPalette: Cl[a.theme] || Ee
143
+ customPalette: Tl[a.theme] || Ve
144
144
  } : l = a, x.config && ce(x.config, "style.chart.grid.scale.scaleMin") ? l.style.chart.grid.scale.scaleMin = x.config.style.chart.grid.scale.scaleMin : l.style.chart.grid.scale.scaleMin = null, x.config && ce(x.config, "style.chart.grid.scale.scaleMax") ? l.style.chart.grid.scale.scaleMax = x.config.style.chart.grid.scale.scaleMax : l.style.chart.grid.scale.scaleMax = null, x.config && ce(x.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, x.config && ce(x.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, x.config && ce(x.config, "style.chart.bars.dataLabels.hideUnderValue") ? l.style.chart.bars.dataLabels.hideUnderValue = x.config.style.chart.bars.dataLabels.hideUnderValue : l.style.chart.bars.dataLabels.hideUnderValue = null, x.config && ce(x.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? l.style.chart.bars.dataLabels.hideUnderPercentage = x.config.style.chart.bars.dataLabels.hideUnderPercentage : l.style.chart.bars.dataLabels.hideUnderPercentage = null, l;
145
145
  }
146
- const wt = g(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), Lt = g(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
146
+ const Lt = g(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), St = g(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
147
147
  we(() => x.config, (a) => {
148
- be.value || (e.value = je()), Qe.value = !e.value.userOptions.showOnChartHover, tt(), mt.value += 1, Ta.value += 1, $a.value += 1, T.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, T.value.showTable = e.value.table.show, T.value.showTooltip = e.value.style.chart.tooltip.show, Te();
148
+ be.value || (e.value = je()), Qe.value = !e.value.userOptions.showOnChartHover, tt(), mt.value += 1, Aa.value += 1, Pa.value += 1, T.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, T.value.showTable = e.value.table.show, T.value.showTooltip = e.value.style.chart.tooltip.show, Te();
149
149
  }, { deep: !0 }), we(() => x.dataset, (a) => {
150
- Array.isArray(a) && a.length > 0 && (Ce.value = !1), Pt();
150
+ Array.isArray(a) && a.length > 0 && (Ce.value = !1), Nt();
151
151
  }, { deep: !0 });
152
152
  const T = d({
153
153
  dataLabels: {
@@ -165,7 +165,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
165
165
  showTooltip: e.value.style.chart.tooltip.show
166
166
  };
167
167
  }, { immediate: !0 });
168
- const { isPrinting: St, isImaging: zt, generatePdf: Ct, generateImage: _t } = El({
168
+ const { isPrinting: zt, isImaging: Ct, generatePdf: _t, generateImage: Mt } = Bl({
169
169
  elementId: `stackbar_${D.value}`,
170
170
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
171
171
  options: e.value.userOptions.print
@@ -178,22 +178,22 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
178
178
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
179
179
  left: e.value.style.chart.padding.left / e.value.style.chart.width
180
180
  }
181
- }), Ra = g(() => _l(e.value.customPalette)), G = ra(null), ne = ra(null), Mt = d(null);
182
- sa(() => {
181
+ }), Ia = g(() => $l(e.value.customPalette)), G = na(null), ne = na(null), Tt = d(null);
182
+ oa(() => {
183
183
  tt();
184
184
  });
185
185
  const et = g(() => !!e.value.debug);
186
186
  function tt() {
187
- if (ca(x.dataset) ? (va({
187
+ if (ha(x.dataset) ? (da({
188
188
  componentName: "VueUiStackbar",
189
189
  type: "dataset",
190
190
  debug: et.value
191
191
  }), Ce.value = !0) : x.dataset.forEach((a, l) => {
192
- Ml({
192
+ Al({
193
193
  datasetObject: a,
194
194
  requiredAttributes: ["name", "series"]
195
195
  }).forEach((t) => {
196
- he.value = !1, va({
196
+ he.value = !1, da({
197
197
  componentName: "VueUiStackbar",
198
198
  type: "datasetSerieAttribute",
199
199
  property: t,
@@ -201,32 +201,32 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
201
201
  debug: et.value
202
202
  }), Ce.value = !0;
203
203
  });
204
- }), ca(x.dataset) || (Ce.value = e.value.loading), setTimeout(() => {
204
+ }), ha(x.dataset) || (Ce.value = e.value.loading), setTimeout(() => {
205
205
  K.value = !0;
206
206
  }, 10), e.value.responsive) {
207
- const a = ht(() => {
207
+ const a = dt(() => {
208
208
  K.value = !1;
209
- const { width: l, height: t } = Dl({
210
- chart: X.value,
211
- title: e.value.style.chart.title.text ? yt.value : null,
212
- legend: e.value.style.chart.legend.show ? gt.value : null,
213
- slicer: e.value.style.chart.zoom.show && A.value > 6 ? de.value.$el : null,
214
- source: bt.value
209
+ const { width: l, height: t } = Ul({
210
+ chart: W.value,
211
+ title: e.value.style.chart.title.text ? gt.value : null,
212
+ legend: e.value.style.chart.legend.show ? bt.value : null,
213
+ slicer: e.value.style.chart.zoom.show && P.value > 6 ? de.value.$el : null,
214
+ source: ft.value
215
215
  });
216
216
  requestAnimationFrame(() => {
217
- oe.value.width = l, oe.value.height = t - 12, clearTimeout(Mt.value), Mt.value = setTimeout(() => {
217
+ oe.value.width = l, oe.value.height = t - 12, clearTimeout(Tt.value), Tt.value = setTimeout(() => {
218
218
  K.value = !0;
219
219
  }, 10);
220
220
  });
221
221
  });
222
- G.value && (ne.value && G.value.unobserve(ne.value), G.value.disconnect()), G.value = new ResizeObserver(a), ne.value = X.value.parentNode, G.value.observe(ne.value);
222
+ G.value && (ne.value && G.value.unobserve(ne.value), G.value.disconnect()), G.value = new ResizeObserver(a), ne.value = W.value.parentNode, G.value.observe(ne.value);
223
223
  }
224
224
  Oe();
225
225
  }
226
- ct(() => {
226
+ vt(() => {
227
227
  G.value && (ne.value && G.value.unobserve(ne.value), G.value.disconnect());
228
228
  });
229
- function Oa() {
229
+ function Fa() {
230
230
  let a = 0;
231
231
  e.value.orientation === "vertical" && j.value && (a = Array.from(j.value.querySelectorAll("text")).reduce((s, c) => {
232
232
  const o = c.getComputedTextLength();
@@ -238,32 +238,32 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
238
238
  const l = qe.value ? qe.value.getBoundingClientRect().width : 0;
239
239
  return a + l + (l ? 24 : 0);
240
240
  }
241
- const _e = d(0), Me = d(0), Ia = ht((a) => {
241
+ const _e = d(0), Me = d(0), Da = dt((a) => {
242
242
  _e.value = a;
243
243
  }, 100);
244
- oa((a) => {
244
+ ia((a) => {
245
245
  const l = e.value.orientation === "vertical" ? ee.value : j.value;
246
246
  if (!l) return;
247
247
  const t = new ResizeObserver((s) => {
248
- Ia(s[0].contentRect.height);
248
+ Da(s[0].contentRect.height);
249
249
  });
250
250
  t.observe(l), a(() => t.disconnect());
251
251
  });
252
- const Fa = ht((a) => {
252
+ const Va = dt((a) => {
253
253
  Me.value = a + e.value.style.chart.bars.totalValues.fontSize;
254
254
  }, 100);
255
- oa((a) => {
255
+ ia((a) => {
256
256
  if (e.value.orientation === "vertical") return;
257
- const l = pt.value;
257
+ const l = xt.value;
258
258
  if (!l) return;
259
259
  const t = new ResizeObserver((s) => {
260
- Fa(s[0].contentRect.width);
260
+ Va(s[0].contentRect.width);
261
261
  });
262
262
  t.observe(l), a(() => t.disconnect());
263
- }), ct(() => {
263
+ }), vt(() => {
264
264
  _e.value = 0, Me.value = 0;
265
265
  });
266
- const Tt = g(() => {
266
+ const $t = g(() => {
267
267
  let a = 0;
268
268
  Ge.value && (a = Ge.value.getBBox().height);
269
269
  let l = 0;
@@ -271,8 +271,8 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
271
271
  }), u = g(() => {
272
272
  const { height: a, width: l } = oe.value, { right: t } = oe.value.paddingRatio;
273
273
  let s = e.value.style.chart.bars.totalValues.show && x.dataset && x.dataset.length > 1 ? e.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, c = 0;
274
- e.value.style.chart.grid.y.axisLabels.show && (c = Oa());
275
- const o = e.value.style.chart.padding.top + s, w = l - l * t - Me.value, _ = a - e.value.style.chart.padding.bottom - Tt.value - s, I = e.value.style.chart.padding.left + c, H = l - I - l * t - Me.value, E = a - o - e.value.style.chart.padding.bottom - Tt.value - s;
274
+ e.value.style.chart.grid.y.axisLabels.show && (c = Fa());
275
+ const o = e.value.style.chart.padding.top + s, w = l - l * t - Me.value, _ = a - e.value.style.chart.padding.bottom - $t.value - s, I = e.value.style.chart.padding.left + c, X = l - I - l * t - Me.value, V = a - o - e.value.style.chart.padding.bottom - $t.value - s;
276
276
  return {
277
277
  chartHeight: a,
278
278
  chartWidth: l,
@@ -280,11 +280,11 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
280
280
  right: w,
281
281
  bottom: _,
282
282
  left: I,
283
- width: Math.max(0, H),
284
- height: Math.max(0, E)
283
+ width: Math.max(0, X),
284
+ height: Math.max(0, V)
285
285
  };
286
- }), Da = g(() => {
287
- const { left: a, top: l, width: t, height: s } = u.value, c = v.value.start, o = v.value.end, w = Math.max(1, o - c), _ = Math.max(0, Math.min(w, (O.value.start ?? c) - c)), I = Math.max(0, Math.min(w, (O.value.end ?? o) - c)), H = Math.max(0, I - _), E = {
286
+ }), Ea = g(() => {
287
+ const { left: a, top: l, width: t, height: s } = u.value, c = v.value.start, o = v.value.end, w = Math.max(1, o - c), _ = Math.max(0, Math.min(w, (O.value.start ?? c) - c)), I = Math.max(0, Math.min(w, (O.value.end ?? o) - c)), X = Math.max(0, I - _), V = {
288
288
  fill: e.value.style.chart.zoom.preview.fill,
289
289
  stroke: e.value.style.chart.zoom.preview.stroke,
290
290
  "stroke-width": e.value.style.chart.zoom.preview.strokeWidth,
@@ -303,21 +303,21 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
303
303
  x: a,
304
304
  y: l + _ * $,
305
305
  width: t,
306
- height: H * $,
307
- ...E
306
+ height: X * $,
307
+ ...V
308
308
  };
309
309
  } else {
310
310
  const $ = t / w;
311
311
  return {
312
312
  x: a + _ * $,
313
313
  y: l,
314
- width: H * $,
314
+ width: X * $,
315
315
  height: s,
316
- ...E
316
+ ...V
317
317
  };
318
318
  }
319
- }), W = g(() => Ze.value.map((a, l) => {
320
- const t = Tl(a.color) || Ra.value[l] || Ee[l] || Ee[l % Ee.length];
319
+ }), E = g(() => Ze.value.map((a, l) => {
320
+ const t = Pl(a.color) || Ia.value[l] || Ve[l] || Ve[l % Ve.length];
321
321
  return {
322
322
  ...a,
323
323
  // In distributed mode, all values are converted to positive
@@ -325,52 +325,52 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
325
325
  // Store signs to manage display of neg values in distributed mode
326
326
  signedSeries: a.series.map((s) => s >= 0 ? 1 : -1),
327
327
  absoluteIndex: l,
328
- id: ua(),
328
+ id: va(),
329
329
  color: t
330
330
  };
331
- })), A = g(() => Math.max(...W.value.filter((a) => !N.value.includes(a.id)).map((a) => a.series.length)));
332
- function Ea(a) {
331
+ })), P = g(() => Math.max(...E.value.filter((a) => !A.value.includes(a.id)).map((a) => a.series.length)));
332
+ function Ua(a) {
333
333
  Je.value = a;
334
334
  }
335
335
  const v = d({
336
336
  start: 0,
337
337
  end: Math.max(...Ze.value.map((a) => a.series.length))
338
- }), O = d({ start: 0, end: Math.max(...Ze.value.map((a) => a.series.length)) }), $t = g(() => e.value.style.chart.zoom.preview.enable && (O.value.start !== v.value.start || O.value.end !== v.value.end));
339
- function At(a, l) {
338
+ }), O = d({ start: 0, end: Math.max(...Ze.value.map((a) => a.series.length)) }), At = g(() => e.value.style.chart.zoom.preview.enable && (O.value.start !== v.value.start || O.value.end !== v.value.end));
339
+ function Pt(a, l) {
340
340
  O.value[a] = l;
341
341
  }
342
342
  function Te() {
343
- const a = A.value;
343
+ const a = P.value;
344
344
  let l = Math.max(0, Math.min(v.value.start ?? 0, a - 1)), t = Math.max(l + 1, Math.min(v.value.end ?? a, a));
345
345
  (!Number.isFinite(l) || !Number.isFinite(t) || t <= l) && (l = 0, t = a), v.value.start = l, v.value.end = t, O.value.start = l, O.value.end = t, de.value && (de.value.setStartValue(l), de.value.setEndValue(t));
346
346
  }
347
- const me = d(null);
348
- function Va() {
347
+ const fe = d(null);
348
+ function Ba() {
349
349
  return new Promise((a) => requestAnimationFrame(
350
350
  () => requestAnimationFrame(() => a())
351
351
  ));
352
352
  }
353
- ct(() => {
354
- me.value && cancelAnimationFrame(me.value);
353
+ vt(() => {
354
+ fe.value && cancelAnimationFrame(fe.value);
355
355
  });
356
- async function Pt() {
357
- Oe(), await kl(), me.value && cancelAnimationFrame(me.value), me.value = requestAnimationFrame(async () => {
358
- await Va(), Oe();
356
+ async function Nt() {
357
+ Oe(), await Sl(), fe.value && cancelAnimationFrame(fe.value), fe.value = requestAnimationFrame(async () => {
358
+ await Ba(), Oe();
359
359
  });
360
360
  }
361
- const m = g(() => {
361
+ const f = g(() => {
362
362
  let a;
363
363
  return e.value.orientation === "vertical" ? a = u.value.width / (v.value.end - v.value.start) : a = u.value.height / (v.value.end - v.value.start), a <= 0 ? 0 : a;
364
- }), fe = g(() => ze(W.value.filter((a) => !N.value.includes(a.id))).slice(v.value.start, v.value.end)), te = g(() => e.value.style.chart.zoom.minimap.show ? ze(W.value.filter((a) => !N.value.includes(a.id))) : []), Ua = g(() => e.value.style.chart.zoom.minimap.show ? [{
364
+ }), me = g(() => ze(E.value.filter((a) => !A.value.includes(a.id))).slice(v.value.start, v.value.end)), te = g(() => e.value.style.chart.zoom.minimap.show ? ze(E.value.filter((a) => !A.value.includes(a.id))) : []), Ha = g(() => e.value.style.chart.zoom.minimap.show ? [{
365
365
  name: "",
366
366
  series: te.value,
367
367
  color: "#000000",
368
368
  isVisible: !0
369
- }] : []), Ba = g(() => ze(W.value.filter((a) => !N.value.includes(a.id)).map((a) => ({
369
+ }] : []), Xa = g(() => ze(E.value.filter((a) => !A.value.includes(a.id)).map((a) => ({
370
370
  ...a,
371
371
  series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
372
372
  }))).slice(v.value.start, v.value.end)), $e = g(() => {
373
- const a = W.value.filter((l) => !N.value.includes(l.id));
373
+ const a = E.value.filter((l) => !A.value.includes(l.id));
374
374
  return {
375
375
  positive: ze(a.map((l) => ({
376
376
  ...l,
@@ -381,8 +381,8 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
381
381
  series: l.series.slice(v.value.start, v.value.end).map((t) => t < 0 ? t : 0)
382
382
  })))
383
383
  };
384
- }), B = g(() => {
385
- const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...$e.value.positive), l = Math.min(...$e.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ha(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : da(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
384
+ }), H = g(() => {
385
+ const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...$e.value.positive), l = Math.min(...$e.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ya(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : ga(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
386
386
  return s.ticks.map((c) => ({
387
387
  zero: u.value.bottom - u.value.height * (Math.abs(s.min) / (s.max + Math.abs(s.min))),
388
388
  y: u.value.bottom - u.value.height * ((c + Math.abs(s.min)) / (s.max + Math.abs(s.min))),
@@ -392,136 +392,136 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
392
392
  horizontal_y: u.value.bottom - 8,
393
393
  value: c
394
394
  }));
395
- }), R = g(() => ba({
395
+ }), R = g(() => ma({
396
396
  values: e.value.style.chart.grid.x.timeLabels.values,
397
- maxDatapoints: A.value,
397
+ maxDatapoints: P.value,
398
398
  formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
399
399
  start: v.value.start,
400
400
  end: v.value.end
401
- })), pe = g(() => ba({
401
+ })), pe = g(() => ma({
402
402
  values: e.value.style.chart.grid.x.timeLabels.values,
403
- maxDatapoints: A.value,
403
+ maxDatapoints: P.value,
404
404
  formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
405
405
  start: 0,
406
- end: A.value
407
- })), Ha = g(() => {
406
+ end: P.value
407
+ })), Wa = g(() => {
408
408
  const a = e.value.style.chart.grid.x.timeLabels.modulo;
409
409
  return R.value.length ? Math.min(a, [...new Set(R.value.map((l) => l.text))].length) : a;
410
- }), Nt = g(() => {
411
- const a = e.value.style.chart.grid.x.timeLabels, l = R.value || [], t = pe.value || [], s = v.value.start ?? 0, c = U.value, o = A.value, w = l.map((I) => I?.text ?? ""), _ = t.map((I) => I?.text ?? "");
412
- return $l(
410
+ }), Rt = g(() => {
411
+ const a = e.value.style.chart.grid.x.timeLabels, l = R.value || [], t = pe.value || [], s = v.value.start ?? 0, c = B.value, o = P.value, w = l.map((I) => I?.text ?? ""), _ = t.map((I) => I?.text ?? "");
412
+ return Nl(
413
413
  !!a.showOnlyFirstAndLast,
414
414
  !!a.showOnlyAtModulo,
415
- Math.max(1, Ha.value || 1),
415
+ Math.max(1, Wa.value || 1),
416
416
  w,
417
417
  _,
418
418
  s,
419
419
  c,
420
420
  o
421
421
  );
422
- }), Rt = g(() => {
423
- const a = e.value.style.chart.grid.x.timeLabels.datetimeFormatter, l = Bl({
422
+ }), Ot = g(() => {
423
+ const a = e.value.style.chart.grid.x.timeLabels.datetimeFormatter, l = Wl({
424
424
  useUTC: a.useUTC,
425
- locale: Hl[a.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
425
+ locale: Yl[a.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
426
426
  januaryAsYear: a.januaryAsYear
427
427
  });
428
428
  return (t, s) => {
429
429
  const o = e.value.style.chart.grid.x.timeLabels.values?.[t];
430
430
  return o == null ? "" : (l.formatDate(new Date(o), s), l.formatDate(new Date(o), s));
431
431
  };
432
- }), Ot = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, t) => ({
433
- text: Rt.value(t, e.value.style.chart.zoom.timeFormat),
432
+ }), It = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, t) => ({
433
+ text: Ot.value(t, e.value.style.chart.zoom.timeFormat),
434
434
  absoluteIndex: t
435
435
  }))), at = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, t) => ({
436
- text: Rt.value(t, e.value.style.chart.tooltip.timeFormat),
436
+ text: Ot.value(t, e.value.style.chart.tooltip.timeFormat),
437
437
  absoluteIndex: t
438
438
  }))), L = g(() => {
439
439
  if (!he.value && !be.value) return [];
440
- let a = Array(A.value).fill(0), l = Array(A.value).fill(0), t = Array(A.value).fill(0), s = Array(A.value).fill(0);
441
- const c = Math.max(...$e.value.positive) || 0, o = Math.min(...$e.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, _ = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ha(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : da(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: I, max: H } = _, E = H + (I >= 0 ? 0 : Math.abs(I)) || 1, $ = u.value.height, Fe = u.value.width, Qt = B.value[0] ? B.value[0].zero : u.value.bottom, Kt = B.value[0] ? B.value[0].horizontal_zero : u.value.left;
442
- let jt = Array(te.value.length).fill(0), ea = Array(te.value.length).fill(0);
443
- return W.value.filter((ie) => !N.value.includes(ie.id)).map((ie) => {
444
- const q = ie.series.slice(), ta = q.map((h, y) => jt[y]), ol = q.map((h, y) => ea[y]);
440
+ let a = Array(P.value).fill(0), l = Array(P.value).fill(0), t = Array(P.value).fill(0), s = Array(P.value).fill(0);
441
+ const c = Math.max(...$e.value.positive) || 0, o = Math.min(...$e.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, _ = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ya(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : ga(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: I, max: X } = _, V = X + (I >= 0 ? 0 : Math.abs(I)) || 1, $ = u.value.height, Fe = u.value.width, jt = H.value[0] ? H.value[0].zero : u.value.bottom, ea = H.value[0] ? H.value[0].horizontal_zero : u.value.left;
442
+ let ta = Array(te.value.length).fill(0), aa = Array(te.value.length).fill(0);
443
+ return E.value.filter((ie) => !A.value.includes(ie.id)).map((ie) => {
444
+ const q = ie.series.slice(), la = q.map((h, y) => ta[y]), ul = q.map((h, y) => aa[y]);
445
445
  q.forEach((h, y) => {
446
- (Number(h) || 0) >= 0 ? jt[y] += Number(h) || 0 : ea[y] += Math.abs(Number(h) || 0);
446
+ (Number(h) || 0) >= 0 ? ta[y] += Number(h) || 0 : aa[y] += Math.abs(Number(h) || 0);
447
447
  });
448
- const Y = ie.series.slice(v.value.start, v.value.end), nl = ie.signedSeries.slice(v.value.start, v.value.end), il = Y.map((h, y) => u.value.left + m.value * y + m.value * e.value.style.chart.bars.gapRatio / 4), De = (te.value || []).filter(Number.isFinite), nt = De.length ? Math.max(...De) : 0, it = De.length ? Math.min(...De) : 0;
449
- function aa({ minimapH: h }) {
450
- const S = nt > 0, P = it < 0;
451
- if (S && P) {
452
- const V = Math.max(nt, Math.abs(it)) || 1e-9;
448
+ const Y = ie.series.slice(v.value.start, v.value.end), cl = ie.signedSeries.slice(v.value.start, v.value.end), vl = Y.map((h, y) => u.value.left + f.value * y + f.value * e.value.style.chart.bars.gapRatio / 4), De = (te.value || []).filter(Number.isFinite), it = De.length ? Math.max(...De) : 0, ut = De.length ? Math.min(...De) : 0;
449
+ function sa({ minimapH: h }) {
450
+ const S = it > 0, N = ut < 0;
451
+ if (S && N) {
452
+ const U = Math.max(it, Math.abs(ut)) || 1e-9;
453
453
  return {
454
- pxPerUnit: h / 2 / V,
454
+ pxPerUnit: h / 2 / U,
455
455
  zero: h / 2
456
456
  };
457
457
  }
458
458
  if (S) {
459
- const V = Math.max(1e-9, nt);
459
+ const U = Math.max(1e-9, it);
460
460
  return {
461
- pxPerUnit: h / V,
461
+ pxPerUnit: h / U,
462
462
  zero: h
463
463
  };
464
464
  }
465
- const z = Math.max(1e-9, Math.abs(it));
465
+ const z = Math.max(1e-9, Math.abs(ut));
466
466
  return {
467
467
  pxPerUnit: h / z,
468
468
  zero: 0
469
469
  };
470
470
  }
471
- const ul = ({ left: h, unitW: y }) => {
471
+ const hl = ({ left: h, unitW: y }) => {
472
472
  const S = y * (e.value.style.chart.bars.gapRatio / 4);
473
- return q.map((P, z) => h + y * z + S);
474
- }, cl = Y.map((h, y) => u.value.top + m.value * y + m.value * e.value.style.chart.bars.gapRatio / 4), vl = Y.map((h, y) => {
475
- const S = e.value.style.chart.bars.distributed ? (h || 0) / fe.value[y] : (h || 0) / E;
476
- let P, z;
477
- return h > 0 ? (z = $ * S, P = Qt - z - a[y], a[y] += z) : (z = $ * S, P = Qt + t[y], t[y] += Math.abs(z)), P;
478
- }), hl = ({ minimapH: h }) => {
473
+ return q.map((N, z) => h + y * z + S);
474
+ }, dl = Y.map((h, y) => u.value.top + f.value * y + f.value * e.value.style.chart.bars.gapRatio / 4), yl = Y.map((h, y) => {
475
+ const S = e.value.style.chart.bars.distributed ? (h || 0) / me.value[y] : (h || 0) / V;
476
+ let N, z;
477
+ return h > 0 ? (z = $ * S, N = jt - z - a[y], a[y] += z) : (z = $ * S, N = jt + t[y], t[y] += Math.abs(z)), N;
478
+ }), gl = ({ minimapH: h }) => {
479
479
  if (e.value.style.chart.bars.distributed)
480
- return q.map((z, V) => {
481
- const ut = Math.abs(Number(z) || 0), la = Math.abs(te.value?.[V] || 0) || 1e-9, fl = (ta[V] + ut) / la;
482
- return h - fl * h;
480
+ return q.map((z, U) => {
481
+ const ct = Math.abs(Number(z) || 0), ra = Math.abs(te.value?.[U] || 0) || 1e-9, kl = (la[U] + ct) / ra;
482
+ return h - kl * h;
483
483
  });
484
- const { pxPerUnit: y, zero: S } = aa({ minimapH: h });
485
- return q.map((P, z) => {
486
- const V = Number(P) || 0;
487
- return V >= 0 ? S - (ta[z] + V) * y : S + ol[z] * y;
484
+ const { pxPerUnit: y, zero: S } = sa({ minimapH: h });
485
+ return q.map((N, z) => {
486
+ const U = Number(N) || 0;
487
+ return U >= 0 ? S - (la[z] + U) * y : S + ul[z] * y;
488
488
  });
489
- }, dl = Y.map((h, y) => {
490
- const S = e.value.style.chart.bars.distributed ? (h || 0) / fe.value[y] : (h || 0) / E;
491
- let P, z;
492
- return h > 0 ? (z = Fe * S, P = Kt + l[y], l[y] += z) : (z = Fe * S, P = Kt - Math.abs(z) - s[y], s[y] += Math.abs(z)), P;
493
- }), yl = Y.map((h, y) => {
494
- const S = e.value.style.chart.bars.distributed ? (h || 0) / fe.value[y] : (h || 0) / E;
489
+ }, bl = Y.map((h, y) => {
490
+ const S = e.value.style.chart.bars.distributed ? (h || 0) / me.value[y] : (h || 0) / V;
491
+ let N, z;
492
+ return h > 0 ? (z = Fe * S, N = ea + l[y], l[y] += z) : (z = Fe * S, N = ea - Math.abs(z) - s[y], s[y] += Math.abs(z)), N;
493
+ }), fl = Y.map((h, y) => {
494
+ const S = e.value.style.chart.bars.distributed ? (h || 0) / me.value[y] : (h || 0) / V;
495
495
  return h > 0 ? $ * S : $ * Math.abs(S);
496
- }), gl = ({ minimapH: h }) => {
496
+ }), ml = ({ minimapH: h }) => {
497
497
  if (e.value.style.chart.bars.distributed)
498
- return q.map((P, z) => {
499
- const V = Math.abs(Number(P) || 0), ut = Math.abs(te.value?.[z] || 0) || 1e-9;
500
- return V / ut * h;
498
+ return q.map((N, z) => {
499
+ const U = Math.abs(Number(N) || 0), ct = Math.abs(te.value?.[z] || 0) || 1e-9;
500
+ return U / ct * h;
501
501
  });
502
- const { pxPerUnit: y } = aa({ minimapH: h });
502
+ const { pxPerUnit: y } = sa({ minimapH: h });
503
503
  return q.map((S) => Math.abs(Number(S) || 0) * y);
504
- }, bl = Y.map((h, y) => {
505
- const S = e.value.style.chart.bars.distributed ? (h || 0) / fe.value[y] : (h || 0) / E;
504
+ }, pl = Y.map((h, y) => {
505
+ const S = e.value.style.chart.bars.distributed ? (h || 0) / me.value[y] : (h || 0) / V;
506
506
  return h > 0 ? Fe * S : Fe * Math.abs(S);
507
- }), ml = Y.map((h) => Math.abs(h)).reduce((h, y) => h + y, 0);
507
+ }), xl = Y.map((h) => Math.abs(h)).reduce((h, y) => h + y, 0);
508
508
  return {
509
509
  ...ie,
510
- proportions: Y.map((h, y) => e.value.style.chart.bars.distributed ? (h || 0) / fe.value[y] : (h || 0) / ml),
510
+ proportions: Y.map((h, y) => e.value.style.chart.bars.distributed ? (h || 0) / me.value[y] : (h || 0) / xl),
511
511
  series: Y,
512
- signedSeries: nl,
513
- x: il,
514
- y: vl,
515
- height: yl,
516
- horizontal_width: bl,
517
- horizontal_y: cl,
518
- horizontal_x: dl,
519
- xMinimap: ul,
520
- yMinimap: hl,
521
- heightMinimap: gl
512
+ signedSeries: cl,
513
+ x: vl,
514
+ y: yl,
515
+ height: fl,
516
+ horizontal_width: pl,
517
+ horizontal_y: dl,
518
+ horizontal_x: bl,
519
+ xMinimap: hl,
520
+ yMinimap: gl,
521
+ heightMinimap: ml
522
522
  };
523
523
  });
524
- }), It = g(() => Ba.value.map((a, l) => ({
524
+ }), Ft = g(() => Xa.value.map((a, l) => ({
525
525
  value: a,
526
526
  sign: a >= 0 ? 1 : -1
527
527
  })));
@@ -539,7 +539,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
539
539
  { datapoint: l, seriesIndex: t, datapointIndex: s }
540
540
  );
541
541
  }
542
- function Ft(a, l, t, s) {
542
+ function Dt(a, l, t, s) {
543
543
  return Ue(
544
544
  e.value.style.chart.bars.dataLabels.formatter,
545
545
  a,
@@ -551,7 +551,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
551
551
  { datapoint: l, seriesIndex: t, datapointIndex: s }
552
552
  );
553
553
  }
554
- function Dt(a) {
554
+ function Vt(a) {
555
555
  const l = JSON.parse(JSON.stringify(L.value)).map((t) => ({
556
556
  name: t.name,
557
557
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -577,28 +577,28 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
577
577
  const l = lt(a);
578
578
  e.value.events.datapointLeave({ datapoint: l, seriesIndex: a + v.value.start });
579
579
  }
580
- He.value = null, U.value = null;
580
+ He.value = null, B.value = null;
581
581
  }
582
- const Xa = g(() => Array(A.value).fill(0).map((a, l) => lt(l)));
582
+ const Ya = g(() => Array(P.value).fill(0).map((a, l) => lt(l)));
583
583
  we(() => x.selectedXIndex, (a) => {
584
584
  if ([null, void 0].includes(x.selectedXIndex)) {
585
- U.value = null;
585
+ B.value = null;
586
586
  return;
587
587
  }
588
588
  const l = a - v.value.start;
589
- l < 0 || a >= v.value.end ? U.value = null : U.value = l ?? null;
589
+ l < 0 || a >= v.value.end ? B.value = null : B.value = l ?? null;
590
590
  }, { immediate: !0 });
591
- function Vt(a) {
592
- U.value = a, He.value = !0;
591
+ function Ut(a) {
592
+ B.value = a, He.value = !0;
593
593
  const l = e.value.style.chart.tooltip.customFormat, t = lt(a);
594
- rl({ seriesIndex: a, datapoint: t }), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a + v.value.start }), Xe.value = {
594
+ il({ seriesIndex: a, datapoint: t }), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a + v.value.start }), Xe.value = {
595
595
  datapoint: t,
596
596
  seriesIndex: a,
597
597
  config: e.value,
598
598
  series: L.value
599
599
  };
600
600
  const s = t.map((c) => Math.abs(c.value)).reduce((c, o) => c + o, 0);
601
- if (ga(l) && Fl(() => l({
601
+ if (fa(l) && El(() => l({
602
602
  seriesIndex: a,
603
603
  datapoint: t,
604
604
  series: L.value,
@@ -618,34 +618,34 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
618
618
  roundingValue: _,
619
619
  roundingPercentage: I
620
620
  } = e.value.style.chart.tooltip;
621
- let H = "";
622
- (R.value[a] && R.value[a].text || at.value[a] && at.value[a].text && e.value.style.chart.tooltip.showTimeLabel) && (H += `<div style="width:100%;text-align:center;border-bottom:1px solid ${w};padding-bottom:6px;margin-bottom:3px;">${e.value.style.chart.tooltip.useDefaultTimeFormat ? R.value[a]?.text : at.value[a]?.text || pe.value[a]?.text || ""}</div>`);
623
- const E = [
621
+ let X = "";
622
+ (R.value[a] && R.value[a].text || at.value[a] && at.value[a].text && e.value.style.chart.tooltip.showTimeLabel) && (X += `<div style="width:100%;text-align:center;border-bottom:1px solid ${w};padding-bottom:6px;margin-bottom:3px;">${e.value.style.chart.tooltip.useDefaultTimeFormat ? R.value[a]?.text : at.value[a]?.text || pe.value[a]?.text || ""}</div>`);
623
+ const V = [
624
624
  c && o ? "(" : "",
625
625
  c && o ? ")" : ""
626
626
  ];
627
627
  t.reverse().forEach(($) => {
628
- H += `
628
+ X += `
629
629
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
630
- <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${$.id})` : $.color}"/>${Ma.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${D.value}_${$.absoluteIndex})"/>` : ""}</svg>
630
+ <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${$.id})` : $.color}"/>${$a.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${D.value}_${$.absoluteIndex})"/>` : ""}</svg>
631
631
  ${$.name}${c || o ? ":" : ""} ${c ? re({
632
632
  p: e.value.style.chart.bars.dataLabels.prefix,
633
633
  v: $.value,
634
634
  s: e.value.style.chart.bars.dataLabels.suffix,
635
635
  r: _
636
- }) : ""} ${E[0]}${o ? re({
636
+ }) : ""} ${V[0]}${o ? re({
637
637
  v: isNaN($.value / s) ? 0 : Math.abs($.value) / s * 100,
638
638
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
639
639
  s: "%",
640
640
  r: I
641
- }) : ""}${E[1]}
641
+ }) : ""}${V[1]}
642
642
  </div>
643
643
  `;
644
- }), We.value = `<div>${H}</div>`;
644
+ }), We.value = `<div>${X}</div>`;
645
645
  }
646
646
  }
647
- const Wa = g(() => oe.value.width), Ya = g(() => oe.value.height);
648
- Gl({
647
+ const Ga = g(() => oe.value.width), qa = g(() => oe.value.height);
648
+ Zl({
649
649
  timeLabelsEls: e.value.orientation === "vertical" ? ee : j,
650
650
  timeLabels: R,
651
651
  slicer: v,
@@ -653,26 +653,26 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
653
653
  rotationPath: ["style", "chart", "grid", "x", "timeLabels", "rotation"],
654
654
  autoRotatePath: ["style", "chart", "grid", "x", "timeLabels", "autoRotate", "enable"],
655
655
  isAutoSize: !1,
656
- width: Wa,
657
- height: Ya,
656
+ width: Ga,
657
+ height: qa,
658
658
  rotation: e.value.style.chart.grid.x.timeLabels.autoRotate.angle
659
659
  });
660
- function Ut(a) {
661
- ye.value = a, dt.value += 1;
660
+ function Bt(a) {
661
+ ye.value = a, yt.value += 1;
662
662
  }
663
- function Bt() {
663
+ function Ht() {
664
664
  T.value.showTable = !T.value.showTable;
665
665
  }
666
- function Ht() {
666
+ function Xt() {
667
667
  T.value.dataLabels.show = !T.value.dataLabels.show;
668
668
  }
669
- function Xt() {
669
+ function Wt() {
670
670
  T.value.showTooltip = !T.value.showTooltip;
671
671
  }
672
- function Ga() {
672
+ function Ja() {
673
673
  return L.value;
674
674
  }
675
- const Wt = g(() => {
675
+ const Yt = g(() => {
676
676
  if (L.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
677
677
  const a = L.value.map(({ name: t, color: s }) => ({
678
678
  label: t,
@@ -680,19 +680,19 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
680
680
  })), l = [];
681
681
  return R.value.forEach((t) => {
682
682
  const s = [e.value.style.chart.grid.x.timeLabels.values[t.absoluteIndex] ? t.text : i + 1];
683
- W.value.forEach((c) => {
683
+ E.value.forEach((c) => {
684
684
  s.push(Number((c.series[t.absoluteIndex] || 0).toFixed(e.value.table.td.roundingValue)));
685
685
  }), l.push(s);
686
686
  }), { head: a, body: l };
687
687
  });
688
688
  function st(a = null) {
689
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...Wt.value.head.map((w) => w.label)], s = Wt.value.body, c = l.concat([t]).concat(s), o = Ol(c);
690
- a ? a(o) : Il({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
689
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...Yt.value.head.map((w) => w.label)], s = Yt.value.body, c = l.concat([t]).concat(s), o = Dl(c);
690
+ a ? a(o) : Vl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
691
691
  }
692
692
  const Pe = g(() => {
693
693
  const a = [""].concat(L.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
694
694
  let l = [];
695
- for (let c = 0; c < A.value; c += 1) {
695
+ for (let c = 0; c < P.value; c += 1) {
696
696
  const o = L.value.map((w) => w.series[c] ?? 0).reduce((w, _) => w + _, 0);
697
697
  l.push([e.value.style.chart.grid.x.timeLabels.values.slice(v.value.start, v.value.end)[c] ? R.value[c].text : c + 1].concat(L.value.map((w) => (w.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((o ?? 0).toFixed(e.value.table.td.roundingValue)));
698
698
  }
@@ -711,23 +711,38 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
711
711
  }, s = [e.value.table.columnNames.period].concat(L.value.map((c) => c.name)).concat(e.value.table.columnNames.total);
712
712
  return { head: a, body: l.slice(0, v.value.end - v.value.start), config: t, colNames: s };
713
713
  });
714
- function qa(a, l) {
715
- if (ve("selectLegend", L.value.find((t) => t.absoluteIndex === a)), N.value.includes(l.id))
716
- N.value = N.value.filter((t) => t !== l.id);
714
+ function rt(a) {
715
+ if (A.value.includes(a.id))
716
+ A.value = A.value.filter((l) => l !== a.id);
717
717
  else {
718
- if (N.value.length === W.value.length - 1) return;
719
- N.value.push(l.id);
718
+ if (A.value.length === E.value.length - 1) return;
719
+ A.value.push(a.id);
720
720
  }
721
+ ve("selectLegend", L.value);
722
+ }
723
+ function Gt(a) {
724
+ if (!E.value.length)
725
+ return e.value.debug && console.warn("VueUiStackbar - There are no series to show."), null;
726
+ const l = E.value.find((t) => t.name === a);
727
+ return l || (e.value.debug && console.warn(`VueUiStackbar - Series name not found "${a}"`), null);
728
+ }
729
+ function Za(a) {
730
+ const l = Gt(a);
731
+ l !== null && A.value.includes(l.id) && rt({ id: l.id });
721
732
  }
722
- const rt = g(() => W.value.map((a, l) => ({
733
+ function Qa(a) {
734
+ const l = Gt(a);
735
+ l !== null && (A.value.includes(l.id) || rt({ id: l.id }));
736
+ }
737
+ const ot = g(() => E.value.map((a, l) => ({
723
738
  ...a,
724
739
  shape: "square"
725
740
  })).map((a) => ({
726
741
  ...a,
727
- opacity: N.value.includes(a.id) ? 0.5 : 1,
728
- segregate: () => qa(a.absoluteIndex, a),
729
- isSegregated: N.value.includes(a.id)
730
- }))), Ja = g(() => ({
742
+ opacity: A.value.includes(a.id) ? 0.5 : 1,
743
+ segregate: () => rt(a),
744
+ isSegregated: A.value.includes(a.id)
745
+ }))), Ka = g(() => ({
731
746
  cy: "stackbar-legend",
732
747
  backgroundColor: e.value.style.chart.legend.backgroundColor,
733
748
  color: e.value.style.chart.legend.color,
@@ -735,7 +750,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
735
750
  paddingBottom: 12,
736
751
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
737
752
  })), Ne = d(!1);
738
- function ot() {
753
+ function nt() {
739
754
  Ne.value = !Ne.value;
740
755
  }
741
756
  function Re(a, l) {
@@ -752,13 +767,13 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
752
767
  label: a.text
753
768
  });
754
769
  }
755
- const Za = g(() => Math.max(...L.value.flatMap((a) => a.series)));
756
- function Yt(a, l) {
757
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Lt.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : Lt.value ? (wt.value && et.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."), a > Za.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : wt.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
770
+ const ja = g(() => Math.max(...L.value.flatMap((a) => a.series)));
771
+ function qt(a, l) {
772
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? St.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : St.value ? (Lt.value && et.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."), a > ja.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Lt.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
758
773
  }
759
- async function Qa({ scale: a = 2 } = {}) {
760
- if (!X.value) return;
761
- const { width: l, height: t } = X.value.getBoundingClientRect(), s = l / t, { imageUri: c, base64: o } = await ql({ domElement: X.value, base64: !0, img: !0, scale: a });
774
+ async function el({ scale: a = 2 } = {}) {
775
+ if (!W.value) return;
776
+ const { width: l, height: t } = W.value.getBoundingClientRect(), s = l / t, { imageUri: c, base64: o } = await Ql({ domElement: W.value, base64: !0, img: !0, scale: a });
762
777
  return {
763
778
  imageUri: c,
764
779
  base64: o,
@@ -771,7 +786,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
771
786
  const xe = g(() => {
772
787
  const a = e.value.table.useDialog && !e.value.table.show, l = T.value.showTable;
773
788
  return {
774
- component: a ? Ca : ka,
789
+ component: a ? Ma : La,
775
790
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
776
791
  props: a ? {
777
792
  backgroundColor: e.value.table.th.backgroundColor,
@@ -779,7 +794,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
779
794
  headerColor: e.value.table.th.color,
780
795
  headerBg: e.value.table.th.backgroundColor,
781
796
  isFullscreen: ye.value,
782
- fullscreenParent: X.value,
797
+ fullscreenParent: W.value,
783
798
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
784
799
  } : {
785
800
  hideDetails: !0,
@@ -801,34 +816,34 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
801
816
  we(() => T.value.showTable, (a) => {
802
817
  e.value.table.show || (a && e.value.table.useDialog && ge.value ? ge.value.open() : "close" in ge.value && ge.value.close());
803
818
  });
804
- function Gt() {
819
+ function Jt() {
805
820
  T.value.showTable = !1, Ye.value && Ye.value.setTableIconState(!1);
806
821
  }
807
- const Ka = g(() => e.value.style.chart.backgroundColor), ja = g(() => e.value.style.chart.legend), el = g(() => e.value.style.chart.title), { exportSvg: tl, getSvg: al } = Xl({
822
+ const tl = g(() => e.value.style.chart.backgroundColor), al = g(() => e.value.style.chart.legend), ll = g(() => e.value.style.chart.title), { exportSvg: sl, getSvg: rl } = Gl({
808
823
  svg: Ke,
809
- title: el,
810
- legend: ja,
811
- legendItems: rt,
812
- backgroundColor: Ka
824
+ title: ll,
825
+ legend: al,
826
+ legendItems: ot,
827
+ backgroundColor: tl
813
828
  });
814
- async function qt({ isCb: a }) {
829
+ async function Zt({ isCb: a }) {
815
830
  if (a) {
816
- const { blob: l, url: t, text: s, dataUrl: c } = await al();
831
+ const { blob: l, url: t, text: s, dataUrl: c } = await rl();
817
832
  e.value.userOptions.callbacks.svg({ blob: l, url: t, text: s, dataUrl: c });
818
833
  } else
819
- tl();
834
+ sl();
820
835
  }
821
- function Jt(a) {
822
- const l = A.value;
836
+ function Qt(a) {
837
+ const l = P.value;
823
838
  return a > l ? l : a < 0 || a < v.value.start ? e.value.style.chart.zoom.startIndex !== null ? v.value.start + 1 : 1 : a;
824
839
  }
825
- const ke = d(!1), Zt = d(!1);
840
+ const ke = d(!1), Kt = d(!1);
826
841
  function Oe() {
827
842
  if (!ke.value) {
828
843
  ke.value = !0;
829
844
  try {
830
- const { startIndex: a, endIndex: l } = e.value.style.chart.zoom, t = A.value, s = a ?? 0, c = l != null ? Math.min(Jt(l + 1), t) : t;
831
- Ie.value = !0, v.value.start = s, v.value.end = c, O.value.start = s, O.value.end = c, Te(), Zt.value = !0;
845
+ const { startIndex: a, endIndex: l } = e.value.style.chart.zoom, t = P.value, s = a ?? 0, c = l != null ? Math.min(Qt(l + 1), t) : t;
846
+ Ie.value = !0, v.value.start = s, v.value.end = c, O.value.start = s, O.value.end = c, Te(), Kt.value = !0;
832
847
  } finally {
833
848
  queueMicrotask(() => {
834
849
  Ie.value = !1;
@@ -837,15 +852,15 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
837
852
  }
838
853
  }
839
854
  const Ie = d(!1);
840
- function ll(a) {
855
+ function ol(a) {
841
856
  ke.value || Ie.value || a !== v.value.start && (v.value.start = a, O.value.start = a, Te());
842
857
  }
843
- function sl(a) {
858
+ function nl(a) {
844
859
  if (ke.value || Ie.value) return;
845
- const l = Jt(a);
860
+ const l = Qt(a);
846
861
  l !== v.value.end && (v.value.end = l, O.value.end = l, Te());
847
862
  }
848
- function rl({ seriesIndex: a, datapoint: l }) {
863
+ function il({ seriesIndex: a, datapoint: l }) {
849
864
  const t = v.value.start + a;
850
865
  ve("selectX", {
851
866
  dataset: l,
@@ -853,43 +868,45 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
853
868
  indexLabel: e.value.style.chart.grid.x.timeLabels.values[t]
854
869
  });
855
870
  }
856
- return ma({
857
- getData: Ga,
858
- getImage: Qa,
859
- generatePdf: Ct,
871
+ return pa({
872
+ getData: Ja,
873
+ getImage: el,
874
+ generatePdf: _t,
860
875
  generateCsv: st,
861
- generateImage: _t,
862
- generateSvg: qt,
863
- toggleTable: Bt,
864
- toggleLabels: Ht,
865
- toggleTooltip: Xt,
866
- toggleAnnotator: ot,
867
- toggleFullscreen: Ut
876
+ generateImage: Mt,
877
+ generateSvg: Zt,
878
+ hideSeries: Qa,
879
+ showSeries: Za,
880
+ toggleTable: Ht,
881
+ toggleLabels: Xt,
882
+ toggleTooltip: Wt,
883
+ toggleAnnotator: nt,
884
+ toggleFullscreen: Bt
868
885
  }), (a, l) => (r(), n("div", {
869
886
  id: `stackbar_${D.value}`,
870
887
  ref_key: "stackbarChart",
871
- ref: X,
888
+ ref: W,
872
889
  class: ue({ "vue-data-ui-component": !0, "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ye.value }),
873
890
  style: ae(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
874
- onMouseenter: Pa,
875
- onMouseleave: Na
891
+ onMouseenter: Ra,
892
+ onMouseleave: Oa
876
893
  }, [
877
- e.value.userOptions.buttons.annotator ? (r(), Z(f(La), {
894
+ e.value.userOptions.buttons.annotator ? (r(), Z(m(za), {
878
895
  key: 0,
879
- svgRef: f(Ke),
896
+ svgRef: m(Ke),
880
897
  backgroundColor: e.value.style.chart.backgroundColor,
881
898
  color: e.value.style.chart.color,
882
899
  active: Ne.value,
883
- onClose: ot
900
+ onClose: nt
884
901
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
885
902
  C(a.$slots, "userConfig", {}, void 0, !0),
886
903
  e.value.style.chart.title.text ? (r(), n("div", {
887
904
  key: 1,
888
905
  ref_key: "chartTitle",
889
- ref: yt,
906
+ ref: gt,
890
907
  style: "width:100%;background:transparent;padding-bottom:24px"
891
908
  }, [
892
- (r(), Z(Jl, {
909
+ (r(), Z(Kl, {
893
910
  key: `title_${mt.value}`,
894
911
  config: {
895
912
  title: {
@@ -905,15 +922,15 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
905
922
  ], 512)) : b("", !0),
906
923
  Q("div", {
907
924
  id: `legend-top-${D.value}`
908
- }, null, 8, as),
909
- e.value.userOptions.show && he.value && (f(kt) || f(Qe)) ? (r(), Z(f(Sa), {
925
+ }, null, 8, rs),
926
+ e.value.userOptions.show && he.value && (m(wt) || m(Qe)) ? (r(), Z(m(Ca), {
910
927
  ref_key: "userOptionsRef",
911
928
  ref: Ye,
912
- key: `user_option_${dt.value}`,
929
+ key: `user_option_${yt.value}`,
913
930
  backgroundColor: e.value.style.chart.backgroundColor,
914
931
  color: e.value.style.chart.color,
915
- isPrinting: f(St),
916
- isImaging: f(zt),
932
+ isPrinting: m(zt),
933
+ isImaging: m(Ct),
917
934
  uid: D.value,
918
935
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
919
936
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -924,7 +941,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
924
941
  hasLabel: e.value.userOptions.buttons.labels,
925
942
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
926
943
  isFullscreen: ye.value,
927
- chartElement: X.value,
944
+ chartElement: W.value,
928
945
  position: e.value.userOptions.position,
929
946
  isTooltip: T.value.showTooltip,
930
947
  titles: { ...e.value.userOptions.buttonTitles },
@@ -933,19 +950,19 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
933
950
  callbacks: e.value.userOptions.callbacks,
934
951
  printScale: e.value.userOptions.print.scale,
935
952
  tableDialog: e.value.table.useDialog,
936
- onToggleFullscreen: Ut,
937
- onGeneratePdf: f(Ct),
953
+ onToggleFullscreen: Bt,
954
+ onGeneratePdf: m(_t),
938
955
  onGenerateCsv: st,
939
- onGenerateImage: f(_t),
940
- onGenerateSvg: qt,
941
- onToggleTable: Bt,
942
- onToggleLabels: Ht,
943
- onToggleTooltip: Xt,
944
- onToggleAnnotator: ot,
956
+ onGenerateImage: m(Mt),
957
+ onGenerateSvg: Zt,
958
+ onToggleTable: Ht,
959
+ onToggleLabels: Xt,
960
+ onToggleTooltip: Wt,
961
+ onToggleAnnotator: nt,
945
962
  style: ae({
946
- visibility: f(kt) ? f(Qe) ? "visible" : "hidden" : "visible"
963
+ visibility: m(wt) ? m(Qe) ? "visible" : "hidden" : "visible"
947
964
  })
948
- }, vt({ _: 2 }, [
965
+ }, ht({ _: 2 }, [
949
966
  a.$slots.menuIcon ? {
950
967
  name: "menuIcon",
951
968
  fn: M(({ isOpen: t, color: s }) => [
@@ -1020,12 +1037,12 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1020
1037
  (r(), n("svg", {
1021
1038
  ref_key: "svgRef",
1022
1039
  ref: Ke,
1023
- xmlns: f(Al),
1040
+ xmlns: m(Rl),
1024
1041
  viewBox: `0 0 ${u.value.chartWidth <= 0 ? 10 : u.value.chartWidth} ${u.value.chartHeight <= 0 ? 10 : u.value.chartHeight}`,
1025
- class: ue({ "vue-data-ui-loading": f(be) }),
1042
+ class: ue({ "vue-data-ui-loading": m(be) }),
1026
1043
  style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
1027
1044
  }, [
1028
- Le(f(za)),
1045
+ Le(m(_a)),
1029
1046
  a.$slots["chart-background"] ? (r(), n("foreignObject", {
1030
1047
  key: 0,
1031
1048
  x: u.value.left,
@@ -1037,8 +1054,8 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1037
1054
  }
1038
1055
  }, [
1039
1056
  C(a.$slots, "chart-background", {}, void 0, !0)
1040
- ], 8, ss)) : b("", !0),
1041
- e.value.style.chart.bars.gradient.show ? (r(), n("defs", rs, [
1057
+ ], 8, ns)) : b("", !0),
1058
+ e.value.style.chart.bars.gradient.show ? (r(), n("defs", is, [
1042
1059
  (r(!0), n(p, null, k(L.value, (t, s) => (r(), n("linearGradient", {
1043
1060
  id: `gradient_${t.id}`,
1044
1061
  x1: "0%",
@@ -1049,18 +1066,18 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1049
1066
  Q("stop", {
1050
1067
  offset: "0%",
1051
1068
  "stop-color": t.color
1052
- }, null, 8, ns),
1069
+ }, null, 8, cs),
1053
1070
  Q("stop", {
1054
1071
  offset: "61.8%",
1055
- "stop-color": f(Pl)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
1056
- }, null, 8, is),
1072
+ "stop-color": m(Ol)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
1073
+ }, null, 8, vs),
1057
1074
  Q("stop", {
1058
1075
  offset: "100%",
1059
1076
  "stop-color": t.color
1060
- }, null, 8, us)
1061
- ], 8, os))), 256))
1077
+ }, null, 8, hs)
1078
+ ], 8, us))), 256))
1062
1079
  ])) : b("", !0),
1063
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), n(p, { key: 2 }, k(B.value, (t, s) => (r(), n("line", {
1080
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), n(p, { key: 2 }, k(H.value, (t, s) => (r(), n("line", {
1064
1081
  x1: u.value.left,
1065
1082
  x2: u.value.right,
1066
1083
  y1: t.y,
@@ -1069,28 +1086,28 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1069
1086
  "stroke-width": e.value.style.chart.grid.x.linesThickness,
1070
1087
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
1071
1088
  "stroke-linecap": "round"
1072
- }, null, 8, cs))), 256)) : b("", !0),
1089
+ }, null, 8, ds))), 256)) : b("", !0),
1073
1090
  e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), n(p, { key: 3 }, k(v.value.end - v.value.start + 1, (t, s) => (r(), n("line", {
1074
1091
  x1: u.value.left,
1075
1092
  x2: u.value.right,
1076
- y1: u.value.top + m.value * s,
1077
- y2: u.value.top + m.value * s,
1093
+ y1: u.value.top + f.value * s,
1094
+ y2: u.value.top + f.value * s,
1078
1095
  stroke: e.value.style.chart.grid.x.linesColor,
1079
1096
  "stroke-width": e.value.style.chart.grid.x.linesThickness,
1080
1097
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
1081
1098
  "stroke-linecap": "round"
1082
- }, null, 8, vs))), 256)) : b("", !0),
1099
+ }, null, 8, ys))), 256)) : b("", !0),
1083
1100
  e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (r(!0), n(p, { key: 4 }, k(v.value.end - v.value.start + 1, (t, s) => (r(), n("line", {
1084
- x1: u.value.left + m.value * s,
1085
- x2: u.value.left + m.value * s,
1101
+ x1: u.value.left + f.value * s,
1102
+ x2: u.value.left + f.value * s,
1086
1103
  y1: u.value.top,
1087
1104
  y2: u.value.bottom,
1088
1105
  stroke: e.value.style.chart.grid.y.linesColor,
1089
1106
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
1090
1107
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
1091
1108
  "stroke-linecap": "round"
1092
- }, null, 8, hs))), 256)) : b("", !0),
1093
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), n(p, { key: 5 }, k(B.value, (t, s) => (r(), n("line", {
1109
+ }, null, 8, gs))), 256)) : b("", !0),
1110
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (r(!0), n(p, { key: 5 }, k(H.value, (t, s) => (r(), n("line", {
1094
1111
  x1: t.horizontal_x,
1095
1112
  x2: t.horizontal_x,
1096
1113
  y1: u.value.top,
@@ -1099,9 +1116,9 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1099
1116
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
1100
1117
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
1101
1118
  "stroke-linecap": "round"
1102
- }, null, 8, ds))), 256)) : b("", !0),
1119
+ }, null, 8, bs))), 256)) : b("", !0),
1103
1120
  (r(!0), n(p, null, k(L.value, (t, s) => (r(), n("g", null, [
1104
- a.$slots.pattern ? (r(), n("defs", ys, [
1121
+ a.$slots.pattern ? (r(), n("defs", fs, [
1105
1122
  C(a.$slots, "pattern", Se({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${D.value}_${t.absoluteIndex}` }), void 0, !0)
1106
1123
  ])) : b("", !0),
1107
1124
  e.value.orientation === "vertical" ? (r(), n(p, { key: 1 }, [
@@ -1110,57 +1127,57 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1110
1127
  y: t.y[o] < 0 ? 0 : t.y[o],
1111
1128
  height: t.height[o] < 0 ? 1e-4 : t.height[o] || 0,
1112
1129
  rx: e.value.style.chart.bars.borderRadius > t.height[o] / 2 ? (t.height[o] < 0 ? 0 : t.height[o]) / 2 : e.value.style.chart.bars.borderRadius,
1113
- width: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1130
+ width: f.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1114
1131
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
1115
1132
  stroke: e.value.style.chart.backgroundColor,
1116
1133
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1117
1134
  "stroke-linecap": "round",
1118
1135
  "stroke-linejoin": "round",
1119
1136
  class: ue({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": K.value })
1120
- }, null, 10, gs))), 256)),
1121
- a.$slots.pattern ? (r(), n("g", bs, [
1137
+ }, null, 10, ms))), 256)),
1138
+ a.$slots.pattern ? (r(), n("g", ps, [
1122
1139
  (r(!0), n(p, null, k(t.x, (c, o) => (r(), n("rect", {
1123
1140
  x: c,
1124
1141
  y: t.y[o] < 0 ? 0 : t.y[o],
1125
1142
  height: t.height[o] < 0 ? 1e-4 : t.height[o] || 0,
1126
1143
  rx: e.value.style.chart.bars.borderRadius > t.height[o] / 2 ? (t.height[o] < 0 ? 0 : t.height[o]) / 2 : e.value.style.chart.bars.borderRadius,
1127
- width: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1144
+ width: f.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1128
1145
  fill: `url(#pattern_${D.value}_${t.absoluteIndex})`,
1129
1146
  stroke: e.value.style.chart.backgroundColor,
1130
1147
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1131
1148
  "stroke-linecap": "round",
1132
1149
  "stroke-linejoin": "round",
1133
1150
  class: ue({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": K.value })
1134
- }, null, 10, ms))), 256))
1151
+ }, null, 10, xs))), 256))
1135
1152
  ])) : b("", !0)
1136
1153
  ], 64)) : (r(), n(p, { key: 2 }, [
1137
1154
  (r(!0), n(p, null, k(t.horizontal_x, (c, o) => (r(), n("rect", {
1138
- x: f(Ve)(c, u.value.left),
1155
+ x: m(Ee)(c, u.value.left),
1139
1156
  y: t.horizontal_y[o] < 0 ? 0 : t.horizontal_y[o],
1140
- width: f(Ve)(t.horizontal_width[o] < 0 ? 1e-4 : t.horizontal_width[o]),
1157
+ width: m(Ee)(t.horizontal_width[o] < 0 ? 1e-4 : t.horizontal_width[o]),
1141
1158
  rx: e.value.style.chart.bars.borderRadius > t.height[o] / 2 ? (t.height[o] < 0 ? 0 : t.height[o]) / 2 : e.value.style.chart.bars.borderRadius,
1142
- height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1159
+ height: f.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1143
1160
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
1144
1161
  stroke: e.value.style.chart.backgroundColor,
1145
1162
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1146
1163
  "stroke-linecap": "round",
1147
1164
  "stroke-linejoin": "round",
1148
1165
  class: ue({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": K.value })
1149
- }, null, 10, fs))), 256)),
1150
- a.$slots.pattern ? (r(), n("g", ps, [
1166
+ }, null, 10, ks))), 256)),
1167
+ a.$slots.pattern ? (r(), n("g", ws, [
1151
1168
  (r(!0), n(p, null, k(t.horizontal_x, (c, o) => (r(), n("rect", {
1152
- x: f(Ve)(c, u.value.left),
1169
+ x: m(Ee)(c, u.value.left),
1153
1170
  y: t.horizontal_y[o] < 0 ? 0 : t.horizontal_y[o],
1154
- width: f(Ve)(t.horizontal_width[o] < 0 ? 1e-4 : t.horizontal_width[o]),
1171
+ width: m(Ee)(t.horizontal_width[o] < 0 ? 1e-4 : t.horizontal_width[o]),
1155
1172
  rx: e.value.style.chart.bars.borderRadius > t.height[o] / 2 ? (t.height[o] < 0 ? 0 : t.height[o]) / 2 : e.value.style.chart.bars.borderRadius,
1156
- height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1173
+ height: f.value * (1 - e.value.style.chart.bars.gapRatio / 2),
1157
1174
  fill: `url(#pattern_${D.value}_${t.absoluteIndex})`,
1158
1175
  stroke: e.value.style.chart.backgroundColor,
1159
1176
  "stroke-width": e.value.style.chart.bars.strokeWidth,
1160
1177
  "stroke-linecap": "round",
1161
1178
  "stroke-linejoin": "round",
1162
1179
  class: ue({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": K.value })
1163
- }, null, 10, xs))), 256))
1180
+ }, null, 10, Ls))), 256))
1164
1181
  ])) : b("", !0)
1165
1182
  ], 64))
1166
1183
  ]))), 256)),
@@ -1174,7 +1191,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1174
1191
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
1175
1192
  "stroke-linecap": "round",
1176
1193
  "stroke-linejoin": "round"
1177
- }, null, 8, ks)) : b("", !0),
1194
+ }, null, 8, Ss)) : b("", !0),
1178
1195
  e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (r(), n("line", {
1179
1196
  key: 7,
1180
1197
  x1: u.value.left,
@@ -1185,7 +1202,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1185
1202
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
1186
1203
  "stroke-linecap": "round",
1187
1204
  "stroke-linejoin": "round"
1188
- }, null, 8, ws)) : b("", !0),
1205
+ }, null, 8, zs)) : b("", !0),
1189
1206
  e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (r(), n("text", {
1190
1207
  key: 8,
1191
1208
  ref_key: "xAxisLabel",
@@ -1196,7 +1213,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1196
1213
  fill: e.value.style.chart.grid.x.axisName.color,
1197
1214
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1198
1215
  "text-anchor": "middle"
1199
- }, F(e.value.style.chart.grid.x.axisName.text), 9, Ls)) : b("", !0),
1216
+ }, F(e.value.style.chart.grid.x.axisName.text), 9, Cs)) : b("", !0),
1200
1217
  e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (r(), n("text", {
1201
1218
  key: 9,
1202
1219
  ref_key: "yAxisLabel",
@@ -1206,68 +1223,68 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1206
1223
  fill: e.value.style.chart.grid.y.axisName.color,
1207
1224
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1208
1225
  "text-anchor": "middle"
1209
- }, F(e.value.style.chart.grid.y.axisName.text), 9, Ss)) : b("", !0),
1226
+ }, F(e.value.style.chart.grid.y.axisName.text), 9, _s)) : b("", !0),
1210
1227
  T.value.dataLabels.show && e.value.orientation === "vertical" ? (r(), n(p, { key: 10 }, [
1211
1228
  (r(!0), n(p, null, k(L.value, (t, s) => (r(), n("g", null, [
1212
1229
  (r(!0), n(p, null, k(t.x, (c, o) => (r(), n(p, null, [
1213
- Yt(t.series[o], t.proportions[o]) ? (r(), n("text", {
1230
+ qt(t.series[o], t.proportions[o]) ? (r(), n("text", {
1214
1231
  key: 0,
1215
- x: c + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1232
+ x: c + f.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1216
1233
  y: t.y[o] + t.height[o] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1217
1234
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
1218
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? f(ya)(t.color) : e.value.style.chart.bars.dataLabels.color,
1235
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? m(ba)(t.color) : e.value.style.chart.bars.dataLabels.color,
1219
1236
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1220
1237
  "text-anchor": "middle"
1221
- }, F(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ft(t.proportions[o] * 100, t, s, o) : Ae(t.series[o], t, s, o, t.signedSeries[o])), 9, zs)) : b("", !0)
1238
+ }, F(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Dt(t.proportions[o] * 100, t, s, o) : Ae(t.series[o], t, s, o, t.signedSeries[o])), 9, Ms)) : b("", !0)
1222
1239
  ], 64))), 256))
1223
1240
  ]))), 256)),
1224
1241
  e.value.style.chart.bars.totalValues.show && L.value.length > 1 ? (r(), n("g", {
1225
1242
  key: 0,
1226
1243
  ref_key: "sumTop",
1227
- ref: Aa
1244
+ ref: Na
1228
1245
  }, [
1229
- (r(!0), n(p, null, k(It.value, (t, s) => (r(), n(p, null, [
1246
+ (r(!0), n(p, null, k(Ft.value, (t, s) => (r(), n(p, null, [
1230
1247
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (r(), n("text", {
1231
1248
  key: 0,
1232
- x: u.value.left + m.value * s + m.value / 2,
1249
+ x: u.value.left + f.value * s + f.value / 2,
1233
1250
  y: e.value.style.chart.bars.totalValues.fontSize,
1234
1251
  "text-anchor": "middle",
1235
1252
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1236
1253
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1237
1254
  fill: e.value.style.chart.bars.totalValues.color
1238
- }, F(Ae(t.value, t, s, t.sign)), 9, Cs)) : b("", !0)
1255
+ }, F(Ae(t.value, t, s, t.sign)), 9, Ts)) : b("", !0)
1239
1256
  ], 64))), 256))
1240
1257
  ], 512)) : b("", !0)
1241
1258
  ], 64)) : b("", !0),
1242
1259
  T.value.dataLabels.show && e.value.orientation === "horizontal" ? (r(), n(p, { key: 11 }, [
1243
1260
  (r(!0), n(p, null, k(L.value, (t, s) => (r(), n("g", null, [
1244
1261
  (r(!0), n(p, null, k(t.horizontal_x, (c, o) => (r(), n(p, null, [
1245
- Yt(t.series[o], t.proportions[o]) ? (r(), n("text", {
1262
+ qt(t.series[o], t.proportions[o]) ? (r(), n("text", {
1246
1263
  key: 0,
1247
1264
  x: c + (t.horizontal_width[o] < 0 ? 1e-4 : t.horizontal_width[o]) / 2,
1248
- y: t.horizontal_y[o] + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1265
+ y: t.horizontal_y[o] + f.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1249
1266
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
1250
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? f(ya)(t.color) : e.value.style.chart.bars.dataLabels.color,
1267
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? m(ba)(t.color) : e.value.style.chart.bars.dataLabels.color,
1251
1268
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1252
1269
  "text-anchor": "middle"
1253
- }, F(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ft(t.proportions[o] * 100, t, s, o) : Ae(t.series[o], t, s, o, t.signedSeries[o])), 9, _s)) : b("", !0)
1270
+ }, F(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Dt(t.proportions[o] * 100, t, s, o) : Ae(t.series[o], t, s, o, t.signedSeries[o])), 9, $s)) : b("", !0)
1254
1271
  ], 64))), 256))
1255
1272
  ]))), 256)),
1256
1273
  e.value.style.chart.bars.totalValues.show && L.value.length > 1 ? (r(), n("g", {
1257
1274
  key: 0,
1258
1275
  ref_key: "sumRight",
1259
- ref: pt
1276
+ ref: xt
1260
1277
  }, [
1261
- (r(!0), n(p, null, k(It.value, (t, s) => (r(), n(p, null, [
1278
+ (r(!0), n(p, null, k(Ft.value, (t, s) => (r(), n(p, null, [
1262
1279
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (r(), n("text", {
1263
1280
  key: 0,
1264
1281
  x: u.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
1265
- y: u.value.top + m.value * s + m.value / 2,
1282
+ y: u.value.top + f.value * s + f.value / 2,
1266
1283
  "text-anchor": "start",
1267
1284
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1268
1285
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
1269
1286
  fill: e.value.style.chart.bars.totalValues.color
1270
- }, F(Ae(t.value, t, s, t.sign)), 9, Ms)) : b("", !0)
1287
+ }, F(Ae(t.value, t, s, t.sign)), 9, As)) : b("", !0)
1271
1288
  ], 64))), 256))
1272
1289
  ], 512)) : b("", !0)
1273
1290
  ], 64)) : b("", !0),
@@ -1276,39 +1293,39 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1276
1293
  ref_key: "scaleLabels",
1277
1294
  ref: j
1278
1295
  }, [
1279
- (r(!0), n(p, null, k(B.value, (t, s) => (r(), n("line", {
1296
+ (r(!0), n(p, null, k(H.value, (t, s) => (r(), n("line", {
1280
1297
  x1: u.value.left,
1281
1298
  x2: u.value.left - 6,
1282
1299
  y1: t.y,
1283
1300
  y2: t.y,
1284
1301
  stroke: e.value.style.chart.grid.x.axisColor,
1285
1302
  "stroke-width": 1
1286
- }, null, 8, Ts))), 256)),
1287
- (r(!0), n(p, null, k(B.value, (t, s) => (r(), n("text", {
1303
+ }, null, 8, Ps))), 256)),
1304
+ (r(!0), n(p, null, k(H.value, (t, s) => (r(), n("text", {
1288
1305
  x: t.x,
1289
1306
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1290
1307
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
1291
1308
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1292
1309
  fill: e.value.style.chart.grid.y.axisLabels.color,
1293
1310
  "text-anchor": "end"
1294
- }, F(f(Ue)(
1311
+ }, F(m(Ue)(
1295
1312
  e.value.style.chart.grid.y.axisLabels.formatter,
1296
1313
  t.value,
1297
- f(re)({
1314
+ m(re)({
1298
1315
  p: e.value.style.chart.bars.dataLabels.prefix,
1299
1316
  v: t.value,
1300
1317
  s: e.value.style.chart.bars.dataLabels.suffix,
1301
1318
  r: e.value.style.chart.grid.y.axisLabels.rounding
1302
1319
  }),
1303
1320
  { datapoint: t }
1304
- )), 9, $s))), 256))
1321
+ )), 9, Ns))), 256))
1305
1322
  ], 512)) : b("", !0),
1306
1323
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (r(), n("g", {
1307
1324
  key: 13,
1308
1325
  ref_key: "scaleLabels",
1309
1326
  ref: j
1310
1327
  }, [
1311
- (r(!0), n(p, null, k(B.value, (t, s) => (r(), n("line", {
1328
+ (r(!0), n(p, null, k(H.value, (t, s) => (r(), n("line", {
1312
1329
  x1: t.horizontal_x,
1313
1330
  x2: t.horizontal_x,
1314
1331
  y1: u.value.bottom,
@@ -1316,47 +1333,47 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1316
1333
  stroke: e.value.style.chart.grid.x.axisColor,
1317
1334
  "stroke-width": 1,
1318
1335
  "stroke-linecap": "round"
1319
- }, null, 8, As))), 256)),
1320
- (r(!0), n(p, null, k(B.value, (t, s) => (r(), n("text", {
1336
+ }, null, 8, Rs))), 256)),
1337
+ (r(!0), n(p, null, k(H.value, (t, s) => (r(), n("text", {
1321
1338
  class: "vue-data-ui-time-label",
1322
1339
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1323
1340
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1324
1341
  fill: e.value.style.chart.grid.y.axisLabels.color,
1325
1342
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1326
1343
  transform: `translate(${t.horizontal_x}, ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
1327
- }, F(f(Ue)(
1344
+ }, F(m(Ue)(
1328
1345
  e.value.style.chart.grid.y.axisLabels.formatter,
1329
1346
  t.value,
1330
- f(re)({
1347
+ m(re)({
1331
1348
  p: e.value.style.chart.bars.dataLabels.prefix,
1332
1349
  v: t.value,
1333
1350
  s: e.value.style.chart.bars.dataLabels.suffix,
1334
1351
  r: e.value.style.chart.grid.y.axisLabels.rounding
1335
1352
  }),
1336
1353
  { datapoint: t }
1337
- )), 9, Ps))), 256))
1354
+ )), 9, Os))), 256))
1338
1355
  ], 512)) : b("", !0),
1339
1356
  e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (r(), n("g", {
1340
1357
  key: 14,
1341
1358
  ref_key: "timeLabelsEls",
1342
1359
  ref: ee
1343
1360
  }, [
1344
- a.$slots["time-label"] ? (r(), n("g", Ns, [
1345
- (r(!0), n(p, null, k(Nt.value, (t, s) => (r(), n("g", null, [
1361
+ a.$slots["time-label"] ? (r(), n("g", Is, [
1362
+ (r(!0), n(p, null, k(Rt.value, (t, s) => (r(), n("g", null, [
1346
1363
  C(a.$slots, "time-label", Se({ ref_for: !0 }, {
1347
- x: u.value.left + m.value * s + m.value / 2,
1364
+ x: u.value.left + f.value * s + f.value / 2,
1348
1365
  y: u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
1349
1366
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1350
1367
  fill: e.value.style.chart.grid.x.timeLabels.color,
1351
- transform: `translate(${u.value.left + m.value * s + m.value / 2}, ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1368
+ transform: `translate(${u.value.left + f.value * s + f.value / 2}, ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1352
1369
  absoluteIndex: t.absoluteIndex,
1353
1370
  content: t.text,
1354
1371
  textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1355
1372
  show: !0
1356
1373
  }), void 0, !0)
1357
1374
  ]))), 256))
1358
- ])) : (r(), n("g", Rs, [
1359
- (r(!0), n(p, null, k(Nt.value, (t, s) => (r(), n("g", null, [
1375
+ ])) : (r(), n("g", Fs, [
1376
+ (r(!0), n(p, null, k(Rt.value, (t, s) => (r(), n("g", null, [
1360
1377
  String(t.text).includes(`
1361
1378
  `) ? (r(), n("text", {
1362
1379
  key: s + "-multi",
@@ -1365,13 +1382,13 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1365
1382
  fill: e.value.style.chart.grid.x.timeLabels.color,
1366
1383
  transform: `
1367
1384
  translate(
1368
- ${u.value.left + m.value * s + m.value / 2},
1385
+ ${u.value.left + f.value * s + f.value / 2},
1369
1386
  ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
1370
1387
  ),
1371
1388
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
1372
1389
  `,
1373
1390
  style: { cursor: "pointer" },
1374
- innerHTML: f(Nl)({
1391
+ innerHTML: m(Il)({
1375
1392
  content: String(t.text),
1376
1393
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1377
1394
  fill: e.value.style.chart.grid.x.timeLabels.color,
@@ -1379,17 +1396,17 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1379
1396
  y: 0
1380
1397
  }),
1381
1398
  onClick: () => Re(t, s)
1382
- }, null, 8, Is)) : (r(), n("text", {
1399
+ }, null, 8, Vs)) : (r(), n("text", {
1383
1400
  class: "vue-data-ui-time-label",
1384
1401
  key: s,
1385
1402
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1386
1403
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1387
1404
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1388
1405
  fill: e.value.style.chart.grid.x.timeLabels.color,
1389
- transform: `translate(${u.value.left + m.value * s + m.value / 2}, ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1406
+ transform: `translate(${u.value.left + f.value * s + f.value / 2}, ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
1390
1407
  style: { cursor: "pointer" },
1391
1408
  onClick: () => Re(t, s)
1392
- }, F(t.text), 9, Os))
1409
+ }, F(t.text), 9, Ds))
1393
1410
  ]))), 256))
1394
1411
  ]))
1395
1412
  ], 512)) : b("", !0),
@@ -1398,11 +1415,11 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1398
1415
  ref_key: "timeLabelsEls",
1399
1416
  ref: ee
1400
1417
  }, [
1401
- a.$slots["time-label"] ? (r(), n("g", Fs, [
1418
+ a.$slots["time-label"] ? (r(), n("g", Es, [
1402
1419
  (r(!0), n(p, null, k(R.value, (t, s) => (r(), n("g", null, [
1403
1420
  C(a.$slots, "time-label", Se({ ref_for: !0 }, {
1404
1421
  x: u.value.left - 8,
1405
- y: u.value.top + m.value * s + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1422
+ y: u.value.top + f.value * s + f.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1406
1423
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1407
1424
  fill: e.value.style.chart.grid.x.timeLabels.color,
1408
1425
  transform: null,
@@ -1412,7 +1429,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1412
1429
  show: !0
1413
1430
  }), void 0, !0)
1414
1431
  ]))), 256))
1415
- ])) : (r(), n("g", Ds, [
1432
+ ])) : (r(), n("g", Us, [
1416
1433
  (r(!0), n(p, null, k(R.value, (t, s) => (r(), n("g", null, [
1417
1434
  String(t.text).includes(`
1418
1435
  `) ? (r(), n("text", {
@@ -1422,73 +1439,73 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1422
1439
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1423
1440
  fill: e.value.style.chart.grid.y.axisLabels.color,
1424
1441
  x: u.value.left - 8,
1425
- y: u.value.top + m.value * s + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1442
+ y: u.value.top + f.value * s + f.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1426
1443
  style: { cursor: "pointer" },
1427
1444
  onClick: () => Re(t, s),
1428
- innerHTML: f(Rl)({
1445
+ innerHTML: m(Fl)({
1429
1446
  content: String(t.text),
1430
1447
  fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
1431
1448
  fill: e.value.style.chart.grid.y.axisLabels.color,
1432
1449
  x: u.value.left - 8,
1433
1450
  y: 0
1434
1451
  })
1435
- }, null, 8, Vs)) : (r(), n("text", {
1452
+ }, null, 8, Hs)) : (r(), n("text", {
1436
1453
  key: 0,
1437
1454
  "text-anchor": "end",
1438
1455
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
1439
1456
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1440
1457
  fill: e.value.style.chart.grid.y.axisLabels.color,
1441
1458
  x: u.value.left - 8,
1442
- y: u.value.top + m.value * s + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1459
+ y: u.value.top + f.value * s + f.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1443
1460
  style: {
1444
1461
  cursor: "pointer"
1445
1462
  },
1446
1463
  onClick: () => Re(t, s)
1447
- }, F(t.text), 9, Es))
1464
+ }, F(t.text), 9, Bs))
1448
1465
  ]))), 256))
1449
1466
  ]))
1450
1467
  ], 512)) : b("", !0),
1451
1468
  T.value.showTooltip && e.value.orientation === "vertical" ? (r(!0), n(p, { key: 16 }, k(v.value.end - v.value.start, (t, s) => (r(), n("rect", {
1452
- x: u.value.left + s * m.value,
1469
+ x: u.value.left + s * f.value,
1453
1470
  y: u.value.top,
1454
- width: m.value,
1471
+ width: f.value,
1455
1472
  height: u.value.height < 0 ? 0 : u.value.height,
1456
- onClick: () => Dt(s),
1457
- onMouseenter: () => Vt(s),
1473
+ onClick: () => Vt(s),
1474
+ onMouseenter: () => Ut(s),
1458
1475
  onMouseleave: () => Et(s),
1459
- fill: s === U.value || s === Je.value ? e.value.style.chart.highlighter.color : "transparent",
1476
+ fill: s === B.value || s === Je.value ? e.value.style.chart.highlighter.color : "transparent",
1460
1477
  style: ae({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1461
- }, null, 44, Us))), 256)) : b("", !0),
1478
+ }, null, 44, Xs))), 256)) : b("", !0),
1462
1479
  T.value.showTooltip && e.value.orientation === "horizontal" ? (r(!0), n(p, { key: 17 }, k(v.value.end - v.value.start, (t, s) => (r(), n("rect", {
1463
1480
  x: u.value.left,
1464
- y: u.value.top + s * m.value,
1481
+ y: u.value.top + s * f.value,
1465
1482
  width: u.value.width < 0 ? 0 : u.value.width,
1466
- height: m.value,
1467
- onClick: () => Dt(s),
1468
- onMouseenter: () => Vt(s),
1483
+ height: f.value,
1484
+ onClick: () => Vt(s),
1485
+ onMouseenter: () => Ut(s),
1469
1486
  onMouseleave: () => Et(s),
1470
- fill: s === U.value || s === Je.value ? e.value.style.chart.highlighter.color : "transparent",
1487
+ fill: s === B.value || s === Je.value ? e.value.style.chart.highlighter.color : "transparent",
1471
1488
  style: ae({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1472
- }, null, 44, Bs))), 256)) : b("", !0),
1473
- $t.value ? (r(), n("rect", Se({ key: 18 }, Da.value, {
1489
+ }, null, 44, Ws))), 256)) : b("", !0),
1490
+ At.value ? (r(), n("rect", Se({ key: 18 }, Ea.value, {
1474
1491
  "data-start": v.value.start,
1475
1492
  "data-end": v.value.end
1476
- }), null, 16, Hs)) : b("", !0),
1493
+ }), null, 16, Ys)) : b("", !0),
1477
1494
  C(a.$slots, "svg", {
1478
1495
  svg: {
1479
1496
  drawingArea: u.value,
1480
1497
  data: L.value
1481
1498
  }
1482
1499
  }, void 0, !0)
1483
- ], 14, ls)),
1484
- a.$slots.watermark ? (r(), n("div", Xs, [
1485
- C(a.$slots, "watermark", le(se({ isPrinting: f(St) || f(zt) })), void 0, !0)
1500
+ ], 14, os)),
1501
+ a.$slots.watermark ? (r(), n("div", Gs, [
1502
+ C(a.$slots, "watermark", le(se({ isPrinting: m(zt) || m(Ct) })), void 0, !0)
1486
1503
  ])) : b("", !0),
1487
- e.value.style.chart.zoom.show && A.value > 6 && he.value && Zt.value ? (r(), Z(jl, {
1504
+ e.value.style.chart.zoom.show && P.value > 6 && he.value && Kt.value ? (r(), Z(as, {
1488
1505
  key: 4,
1489
1506
  ref_key: "chartSlicer",
1490
1507
  ref: de,
1491
- allMinimaps: Ua.value,
1508
+ allMinimaps: Ha.value,
1492
1509
  background: e.value.style.chart.zoom.color,
1493
1510
  borderColor: e.value.style.chart.backgroundColor,
1494
1511
  customFormat: e.value.style.chart.zoom.customFormat,
@@ -1501,7 +1518,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1501
1518
  fontSize: e.value.style.chart.zoom.fontSize,
1502
1519
  immediate: !e.value.style.chart.zoom.preview.enable,
1503
1520
  inputColor: e.value.style.chart.zoom.color,
1504
- isPreview: $t.value,
1521
+ isPreview: At.value,
1505
1522
  labelLeft: e.value.style.chart.grid.x.timeLabels.values[v.value.start] ? R.value[0].text : "",
1506
1523
  labelRight: e.value.style.chart.grid.x.timeLabels.values[v.value.end - 1] ? R.value.at(-1).text : "",
1507
1524
  max: Math.max(...Be.dataset.map((t) => t.series.length)),
@@ -1513,13 +1530,13 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1513
1530
  minimapMerged: !1,
1514
1531
  minimapSelectedColor: e.value.style.chart.zoom.minimap.selectedColor,
1515
1532
  minimapSelectedColorOpacity: e.value.style.chart.zoom.minimap.selectedColorOpacity,
1516
- minimapSelectedIndex: U.value,
1533
+ minimapSelectedIndex: B.value,
1517
1534
  minimapSelectionRadius: 1,
1518
- preciseLabels: Ot.value.length ? Ot.value : pe.value,
1535
+ preciseLabels: It.value.length ? It.value : pe.value,
1519
1536
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...Be.dataset.map((t) => t.series.length)),
1520
1537
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
1521
1538
  selectColor: e.value.style.chart.zoom.highlightColor,
1522
- selectedSeries: Xa.value,
1539
+ selectedSeries: Ya.value,
1523
1540
  smoothMinimap: !1,
1524
1541
  start: v.value.start,
1525
1542
  textColor: e.value.style.chart.color,
@@ -1528,12 +1545,12 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1528
1545
  valueEnd: v.value.end,
1529
1546
  valueStart: v.value.start,
1530
1547
  verticalHandles: e.value.style.chart.zoom.minimap.verticalHandles,
1531
- "onUpdate:end": sl,
1532
- "onUpdate:start": ll,
1533
- onTrapMouse: Ea,
1534
- onReset: Pt,
1535
- onFutureEnd: l[0] || (l[0] = (t) => At("end", t)),
1536
- onFutureStart: l[1] || (l[1] = (t) => At("start", t))
1548
+ "onUpdate:end": nl,
1549
+ "onUpdate:start": ol,
1550
+ onTrapMouse: Ua,
1551
+ onReset: Nt,
1552
+ onFutureEnd: l[0] || (l[0] = (t) => Pt("end", t)),
1553
+ onFutureStart: l[1] || (l[1] = (t) => Pt("start", t))
1537
1554
  }, {
1538
1555
  "reset-action": M(({ reset: t }) => [
1539
1556
  C(a.$slots, "reset-action", le(se({ reset: t })), void 0, !0)
@@ -1547,7 +1564,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1547
1564
  x: _ === 0 ? w - c * (e.value.style.chart.bars.gapRatio / 4) : w - c / 2,
1548
1565
  y: Math.max(0, Math.min(s, o.yMinimap({ minimapH: s })[_])),
1549
1566
  height: o.heightMinimap({ minimapH: s })[_],
1550
- width: [0, A.value - 1].includes(_) ? c * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 : c * (1 - e.value.style.chart.bars.gapRatio / 2),
1567
+ width: [0, P.value - 1].includes(_) ? c * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 : c * (1 - e.value.style.chart.bars.gapRatio / 2),
1551
1568
  fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${o.id})` : o.color,
1552
1569
  stroke: e.value.style.chart.backgroundColor,
1553
1570
  "stroke-width": 0.5,
@@ -1557,12 +1574,12 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1557
1574
  style: ae({
1558
1575
  opacity: _ >= O.value.start && _ <= O.value.end ? 1 : 0.62
1559
1576
  })
1560
- }, null, 12, Ws))), 128))
1577
+ }, null, 12, qs))), 128))
1561
1578
  ]))), 128))
1562
1579
  ]),
1563
1580
  _: 3
1564
1581
  }, 8, ["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"])) : b("", !0),
1565
- Le(f(pa), {
1582
+ Le(m(ka), {
1566
1583
  show: T.value.showTooltip && He.value,
1567
1584
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1568
1585
  color: e.value.style.chart.tooltip.color,
@@ -1573,10 +1590,10 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1573
1590
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1574
1591
  position: e.value.style.chart.tooltip.position,
1575
1592
  offsetY: e.value.style.chart.tooltip.offsetY,
1576
- parent: X.value,
1593
+ parent: W.value,
1577
1594
  content: We.value,
1578
1595
  isFullscreen: ye.value,
1579
- isCustom: f(ga)(e.value.style.chart.tooltip.customFormat),
1596
+ isCustom: m(fa)(e.value.style.chart.tooltip.customFormat),
1580
1597
  smooth: e.value.style.chart.tooltip.smooth,
1581
1598
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1582
1599
  smoothForce: e.value.style.chart.tooltip.smoothForce,
@@ -1592,34 +1609,34 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1592
1609
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1593
1610
  Q("div", {
1594
1611
  id: `legend-bottom-${D.value}`
1595
- }, null, 8, Ys),
1596
- ft.value ? (r(), Z(wl, {
1612
+ }, null, 8, Js),
1613
+ pt.value ? (r(), Z(zl, {
1597
1614
  key: 5,
1598
1615
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
1599
1616
  }, [
1600
1617
  Q("div", {
1601
1618
  ref_key: "chartLegend",
1602
- ref: gt
1619
+ ref: bt
1603
1620
  }, [
1604
- e.value.style.chart.legend.show ? (r(), Z(Kl, {
1621
+ e.value.style.chart.legend.show ? (r(), Z(ts, {
1605
1622
  key: 0,
1606
- legendSet: rt.value,
1607
- config: Ja.value,
1623
+ legendSet: ot.value,
1624
+ config: Ka.value,
1608
1625
  onClickMarker: l[2] || (l[2] = ({ legend: t }) => t.segregate())
1609
- }, vt({
1626
+ }, ht({
1610
1627
  item: M(({ legend: t }) => [
1611
- f(be) ? b("", !0) : (r(), n("div", {
1628
+ m(be) ? b("", !0) : (r(), n("div", {
1612
1629
  key: 0,
1613
1630
  onClick: (s) => t.segregate(),
1614
- style: ae(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`)
1615
- }, F(t.name), 13, Gs))
1631
+ style: ae(`opacity:${A.value.includes(t.id) ? 0.5 : 1}`)
1632
+ }, F(t.name), 13, Zs))
1616
1633
  ]),
1617
1634
  _: 2
1618
1635
  }, [
1619
1636
  a.$slots.pattern ? {
1620
1637
  name: "legend-pattern",
1621
1638
  fn: M(({ legend: t, index: s }) => [
1622
- Le(Zl, {
1639
+ Le(jl, {
1623
1640
  shape: t.shape,
1624
1641
  radius: 30,
1625
1642
  stroke: "none",
@@ -1631,38 +1648,38 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1631
1648
  } : void 0
1632
1649
  ]), 1032, ["legendSet", "config"])) : C(a.$slots, "legend", {
1633
1650
  key: 1,
1634
- legend: rt.value
1651
+ legend: ot.value
1635
1652
  }, void 0, !0)
1636
1653
  ], 512)
1637
1654
  ], 8, ["to"])) : b("", !0),
1638
1655
  a.$slots.source ? (r(), n("div", {
1639
1656
  key: 6,
1640
1657
  ref_key: "source",
1641
- ref: bt,
1658
+ ref: ft,
1642
1659
  dir: "auto"
1643
1660
  }, [
1644
1661
  C(a.$slots, "source", {}, void 0, !0)
1645
1662
  ], 512)) : b("", !0),
1646
- he.value && e.value.userOptions.buttons.table ? (r(), Z(Ll(xe.value.component), Se({ key: 7 }, xe.value.props, {
1663
+ he.value && e.value.userOptions.buttons.table ? (r(), Z(Cl(xe.value.component), Se({ key: 7 }, xe.value.props, {
1647
1664
  ref_key: "tableUnit",
1648
1665
  ref: ge,
1649
- onClose: Gt
1650
- }), vt({
1666
+ onClose: Jt
1667
+ }), ht({
1651
1668
  content: M(() => [
1652
- Le(f(wa), {
1669
+ Le(m(Sa), {
1653
1670
  colNames: Pe.value.colNames,
1654
1671
  head: Pe.value.head,
1655
1672
  body: Pe.value.body,
1656
1673
  config: Pe.value.config,
1657
1674
  title: e.value.table.useDialog ? "" : xe.value.title,
1658
1675
  withCloseButton: !e.value.table.useDialog,
1659
- onClose: Gt
1676
+ onClose: Jt
1660
1677
  }, {
1661
1678
  th: M(({ th: t }) => [
1662
- Q("div", { innerHTML: t }, null, 8, qs)
1679
+ Q("div", { innerHTML: t }, null, 8, Qs)
1663
1680
  ]),
1664
1681
  td: M(({ td: t }) => [
1665
- na(F(isNaN(Number(t)) ? t : f(re)({
1682
+ ua(F(isNaN(Number(t)) ? t : m(re)({
1666
1683
  p: e.value.style.chart.bars.dataLabels.prefix,
1667
1684
  v: t,
1668
1685
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1677,7 +1694,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1677
1694
  e.value.table.useDialog ? {
1678
1695
  name: "title",
1679
1696
  fn: M(() => [
1680
- na(F(xe.value.title), 1)
1697
+ ua(F(xe.value.title), 1)
1681
1698
  ]),
1682
1699
  key: "0"
1683
1700
  } : void 0,
@@ -1689,7 +1706,7 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1689
1706
  class: "vue-ui-user-options-button",
1690
1707
  onClick: l[3] || (l[3] = (t) => st(e.value.userOptions.callbacks.csv))
1691
1708
  }, [
1692
- Le(f(xa), {
1709
+ Le(m(wa), {
1693
1710
  name: "excel",
1694
1711
  stroke: xe.value.props.color
1695
1712
  }, null, 8, ["stroke"])
@@ -1698,10 +1715,10 @@ const ts = ["id"], as = ["id"], ls = ["xmlns", "viewBox"], ss = ["x", "y", "widt
1698
1715
  key: "1"
1699
1716
  } : void 0
1700
1717
  ]), 1040)) : b("", !0),
1701
- f(be) ? (r(), Z(Ul, { key: 8 })) : b("", !0)
1702
- ], 46, ts));
1718
+ m(be) ? (r(), Z(Xl, { key: 8 })) : b("", !0)
1719
+ ], 46, ss));
1703
1720
  }
1704
- }, gr = /* @__PURE__ */ es(Js, [["__scopeId", "data-v-8f2445ab"]]);
1721
+ }, mr = /* @__PURE__ */ ls(Ks, [["__scopeId", "data-v-752f06ac"]]);
1705
1722
  export {
1706
- gr as default
1723
+ mr as default
1707
1724
  };