vue-data-ui 3.5.2 → 3.6.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 (149) hide show
  1. package/README.md +10 -1
  2. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-DhKIof09.js} +1 -1
  3. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-DLFL0M4-.js} +5 -4
  4. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-CjIJvLdc.js} +1 -1
  5. package/dist/{DataTable-BT7VF2ua.js → DataTable-UCyd_BQI.js} +1 -1
  6. package/dist/{Legend-G6GMcdAc.js → Legend-D9ZTJKjh.js} +8 -8
  7. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-a2UzZL0y.js} +2 -2
  8. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-D_4Hr4S4.js} +1 -1
  9. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-BJSMejV9.js} +2 -2
  10. package/dist/{Slicer-D2wm0coO.js → Slicer-CJfhtoVn.js} +1 -1
  11. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-wXjV4LWO.js} +1 -1
  12. package/dist/{Title-BzH_LEA3.js → Title-Bb1VWCtR.js} +1 -1
  13. package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-BqmUW9Kp.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dashboard.js +1 -1
  26. package/dist/components/vue-ui-digits.js +1 -1
  27. package/dist/components/vue-ui-donut-evolution.js +1 -1
  28. package/dist/components/vue-ui-donut.js +1 -1
  29. package/dist/components/vue-ui-dumbbell.js +1 -1
  30. package/dist/components/vue-ui-flow.js +1 -1
  31. package/dist/components/vue-ui-funnel.js +1 -1
  32. package/dist/components/vue-ui-galaxy.js +1 -1
  33. package/dist/components/vue-ui-gauge.js +1 -1
  34. package/dist/components/vue-ui-gizmo.js +1 -1
  35. package/dist/components/vue-ui-heatmap.js +1 -1
  36. package/dist/components/vue-ui-history-plot.js +1 -1
  37. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  38. package/dist/components/vue-ui-icon.js +1 -1
  39. package/dist/components/vue-ui-kpi.js +1 -1
  40. package/dist/components/vue-ui-mini-loader.js +1 -1
  41. package/dist/components/vue-ui-molecule.js +1 -1
  42. package/dist/components/vue-ui-mood-radar.js +1 -1
  43. package/dist/components/vue-ui-nested-donuts.js +1 -1
  44. package/dist/components/vue-ui-onion.js +1 -1
  45. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  46. package/dist/components/vue-ui-quadrant.js +1 -1
  47. package/dist/components/vue-ui-quick-chart.js +1 -1
  48. package/dist/components/vue-ui-radar.js +1 -1
  49. package/dist/components/vue-ui-rating.js +1 -1
  50. package/dist/components/vue-ui-relation-circle.js +1 -1
  51. package/dist/components/vue-ui-ridgeline.js +1 -1
  52. package/dist/components/vue-ui-rings.js +1 -1
  53. package/dist/components/vue-ui-scatter.js +1 -1
  54. package/dist/components/vue-ui-skeleton.js +1 -1
  55. package/dist/components/vue-ui-smiley.js +1 -1
  56. package/dist/components/vue-ui-spark-trend.js +1 -1
  57. package/dist/components/vue-ui-sparkbar.js +1 -1
  58. package/dist/components/vue-ui-sparkgauge.js +1 -1
  59. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  60. package/dist/components/vue-ui-sparkline.js +1 -1
  61. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  62. package/dist/components/vue-ui-stackbar.js +1 -1
  63. package/dist/components/vue-ui-stackline.js +5 -0
  64. package/dist/components/vue-ui-strip-plot.js +1 -1
  65. package/dist/components/vue-ui-table-heatmap.js +1 -1
  66. package/dist/components/vue-ui-table-sparkline.js +1 -1
  67. package/dist/components/vue-ui-table.js +1 -1
  68. package/dist/components/vue-ui-thermometer.js +1 -1
  69. package/dist/components/vue-ui-timer.js +1 -1
  70. package/dist/components/vue-ui-tiremarks.js +1 -1
  71. package/dist/components/vue-ui-treemap.js +1 -1
  72. package/dist/components/vue-ui-vertical-bar.js +1 -1
  73. package/dist/components/vue-ui-waffle.js +1 -1
  74. package/dist/components/vue-ui-wheel.js +1 -1
  75. package/dist/components/vue-ui-word-cloud.js +1 -1
  76. package/dist/components/vue-ui-world.js +1 -1
  77. package/dist/components/vue-ui-xy-canvas.js +1 -1
  78. package/dist/components/vue-ui-xy.js +1 -1
  79. package/dist/style.css +1 -1
  80. package/dist/{themes-AUNCOb2G.js → themes-DH-N_ePR.js} +13 -12
  81. package/dist/types/vue-data-ui.d.ts +302 -9
  82. package/dist/types/vue-ui-stackline.d.ts +18 -0
  83. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CIoDlpHu.js} +535 -329
  84. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-BWuOXu_s.js} +66 -64
  85. package/dist/vue-data-ui.js +93 -91
  86. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-BNQAuLqF.js} +4 -4
  87. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-SSLXLlNz.js} +2 -2
  88. package/dist/{vue-ui-age-pyramid-8bUepd28.js → vue-ui-age-pyramid-DsOlpJBh.js} +4 -4
  89. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-34Ld0u5M.js} +4 -4
  90. package/dist/{vue-ui-bullet-BvT4scFv.js → vue-ui-bullet-Ci4lO4_W.js} +5 -5
  91. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BcChw-8c.js} +5 -5
  92. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-Cp_od0lI.js} +2 -2
  93. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DTaIsP72.js} +3 -3
  94. package/dist/{vue-ui-chord-Dl9Y4mcz.js → vue-ui-chord-BKC--Nbq.js} +5 -5
  95. package/dist/{vue-ui-circle-pack-CU09BzOV.js → vue-ui-circle-pack-B3sfU0Vo.js} +4 -4
  96. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-lW-dVs_k.js} +1 -1
  97. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-DIymn9Cx.js} +65 -65
  98. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-YHA3fA0j.js} +1 -1
  99. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BaDmbWLh.js} +5 -5
  100. package/dist/{vue-ui-donut-evolution-DiGhMwMO.js → vue-ui-donut-evolution-BqUzmyW2.js} +6 -6
  101. package/dist/{vue-ui-dumbbell-BlF3CLbN.js → vue-ui-dumbbell-CWKTrzsm.js} +5 -5
  102. package/dist/{vue-ui-flow-BQi5L8mJ.js → vue-ui-flow-SMbuDPdL.js} +5 -5
  103. package/dist/{vue-ui-funnel-CM_6Sare.js → vue-ui-funnel-3fRlMBzq.js} +4 -4
  104. package/dist/{vue-ui-galaxy-BnZA62Li.js → vue-ui-galaxy-CFZ1xYD5.js} +5 -5
  105. package/dist/{vue-ui-gauge-DAk72bez.js → vue-ui-gauge-DJpbjfpL.js} +4 -4
  106. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-E33_xZte.js} +2 -2
  107. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-DJXMvFPp.js} +5 -5
  108. package/dist/{vue-ui-history-plot-BYQh3E8U.js → vue-ui-history-plot-CvPMx5Lg.js} +5 -5
  109. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-C-XuLBVQ.js} +2 -2
  110. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-DawncJvl.js} +1 -1
  111. package/dist/{vue-ui-molecule-Bd1OXvl3.js → vue-ui-molecule-CasngKZI.js} +3 -3
  112. package/dist/{vue-ui-mood-radar-DuoiTsYn.js → vue-ui-mood-radar-DGz2TQi4.js} +5 -5
  113. package/dist/{vue-ui-nested-donuts-BTswQFjz.js → vue-ui-nested-donuts-Bjjz2sWG.js} +5 -5
  114. package/dist/{vue-ui-onion-D-1U2Qgl.js → vue-ui-onion-DwTIY6i1.js} +5 -5
  115. package/dist/{vue-ui-parallel-coordinate-plot-D-7VFHas.js → vue-ui-parallel-coordinate-plot-DedxvtPN.js} +5 -5
  116. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-B2bLWyCm.js} +5 -5
  117. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-J_RmCwI_.js} +4 -4
  118. package/dist/{vue-ui-radar-BSfxyur3.js → vue-ui-radar-D1rz2RnH.js} +5 -5
  119. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-CBS8zaQd.js} +1 -1
  120. package/dist/{vue-ui-relation-circle-C7uV2mIj.js → vue-ui-relation-circle-DUfRwwo1.js} +4 -4
  121. package/dist/{vue-ui-ridgeline-CYMfTlwI.js → vue-ui-ridgeline-DKPWMWRc.js} +5 -5
  122. package/dist/{vue-ui-rings-C96aj57d.js → vue-ui-rings-BY0EQGLb.js} +5 -5
  123. package/dist/{vue-ui-scatter-CtvOXUnx.js → vue-ui-scatter-ky9p5Pgh.js} +5 -5
  124. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-DsrlMELy.js} +2 -2
  125. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-P_8WIBDD.js} +1 -1
  126. package/dist/{vue-ui-spark-trend-6_Ibziyv.js → vue-ui-spark-trend-DkJn_3FI.js} +3 -3
  127. package/dist/{vue-ui-sparkbar-BDCocMLI.js → vue-ui-sparkbar-qB1fmgej.js} +3 -3
  128. package/dist/{vue-ui-sparkgauge-CQ4Zk9-f.js → vue-ui-sparkgauge-BezFN_Rc.js} +3 -3
  129. package/dist/{vue-ui-sparkhistogram-BlTV9wfn.js → vue-ui-sparkhistogram-DGt5b8FR.js} +3 -3
  130. package/dist/{vue-ui-sparkline-DWESyiqL.js → vue-ui-sparkline-D7Wx1ejg.js} +3 -3
  131. package/dist/{vue-ui-sparkstackbar-DK_7X8mL.js → vue-ui-sparkstackbar-DtO7-yim.js} +3 -3
  132. package/dist/{vue-ui-stackbar-BWuw8ff4.js → vue-ui-stackbar-Dr48I48D.js} +181 -176
  133. package/dist/vue-ui-stackline-Juns5Yh4.js +1928 -0
  134. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CTtivaxm.js} +4 -4
  135. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-CHt3AQiq.js} +4 -4
  136. package/dist/{vue-ui-table-heatmap-C9EMEM3Z.js → vue-ui-table-heatmap-Cn-56b5F.js} +3 -3
  137. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-D5MckwMl.js} +3 -3
  138. package/dist/{vue-ui-thermometer-CDrM-WFq.js → vue-ui-thermometer-BOidpwAZ.js} +4 -4
  139. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-B-Xa6ALH.js} +4 -4
  140. package/dist/{vue-ui-tiremarks-BQH2pNkG.js → vue-ui-tiremarks-BsTyVS2P.js} +4 -4
  141. package/dist/{vue-ui-treemap-6WLoCHsH.js → vue-ui-treemap-BWTaY91B.js} +6 -6
  142. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-D9XQe_ud.js} +6 -6
  143. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-Bk98w86A.js} +5 -5
  144. package/dist/{vue-ui-wheel-CqHw1WuW.js → vue-ui-wheel-nj73b_Dc.js} +4 -4
  145. package/dist/{vue-ui-word-cloud-CKuWZGLv.js → vue-ui-word-cloud-Dcaogr-D.js} +4 -4
  146. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-xOY__pp8.js} +2 -2
  147. package/dist/{vue-ui-xy-Cz2qIEfi.js → vue-ui-xy-BT67faLv.js} +6 -6
  148. package/dist/{vue-ui-xy-canvas-y4h7gEFp.js → vue-ui-xy-canvas-BoB7-4QK.js} +8 -8
  149. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as j, useSlots as Cl, computed as g, ref as d, onMounted as na, toRefs as Ml, watch as Me, shallowRef as ia, onBeforeUnmount as yt, watchEffect as ua, nextTick as _l, createElementBlock as u, openBlock as o, normalizeStyle as ne, normalizeClass as he, createBlock as ee, createCommentVNode as f, renderSlot as w, createElementVNode as te, createVNode as _e, unref as m, withCtx as S, normalizeProps as H, guardReactiveProps as X, createSlots as gt, Fragment as x, renderList as L, mergeProps as Te, toDisplayString as E, Teleport as Tl, resolveDynamicComponent as $l, createTextVNode as ca } from "vue";
2
- import { u as Al, a as va } from "./useNestedProp-CReNavA0.js";
1
+ import { defineAsyncComponent as j, useSlots as Cl, computed as g, ref as d, onMounted as na, toRefs as Ml, watch as Me, shallowRef as ia, onBeforeUnmount as yt, watchEffect as ua, nextTick as _l, createElementBlock as n, openBlock as o, normalizeStyle as ne, normalizeClass as he, createBlock as ee, createCommentVNode as f, renderSlot as w, createElementVNode as te, createVNode as _e, unref as m, withCtx as S, normalizeProps as B, guardReactiveProps as H, createSlots as gt, Fragment as x, renderList as L, mergeProps as Te, toDisplayString as E, Teleport as Tl, resolveDynamicComponent as $l, createTextVNode as ca } from "vue";
2
+ import { u as Al, a as va } from "./useNestedProp-CIoDlpHu.js";
3
3
  import { c as ha, t as Pl, b as Nl, p as He, O as de, e as Ol, o as da, f as ya, g as Rl, h as Il, aj as $e, n as ga, m as fa, v as Fl, X as Dl, S as Vl, r as ie, J as ba, a as ye, d as ae, M as El, $ as Ul, G as ma, P as Bl, Q as Hl, H as Xl } from "./lib-C_mNZmhD.js";
4
4
  import { t as ft, u as Yl } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as Wl } from "./usePrinter-DTzqpYKF.js";
@@ -10,11 +10,11 @@ import { u as Kl } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as jl } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { u as er } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import tr from "./img-BecE5qXd.js";
13
- import ar from "./Title-BzH_LEA3.js";
13
+ import ar from "./Title-Bb1VWCtR.js";
14
14
  import { _ as lr } from "./Shape-CNXKB8O0.js";
15
- import { t as rr } from "./themes-AUNCOb2G.js";
16
- import sr from "./Legend-G6GMcdAc.js";
17
- import { S as or } from "./SlicerPreview-ij72TAs6.js";
15
+ import { t as rr } from "./themes-DH-N_ePR.js";
16
+ import sr from "./Legend-D9ZTJKjh.js";
17
+ import { S as or } from "./SlicerPreview-wXjV4LWO.js";
18
18
  import { _ as nr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "width", "height"], hr = { key: 1 }, dr = ["id"], yr = ["stop-color"], gr = ["stop-color"], fr = ["stop-color"], br = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], mr = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pr = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], xr = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kr = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], wr = { key: 0 }, Lr = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Sr = { key: 0 }, zr = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Cr = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Mr = { key: 0 }, _r = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Tr = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $r = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ar = ["x", "y", "font-size", "fill", "font-weight"], Pr = ["transform", "font-size", "fill", "font-weight"], Nr = ["x", "y", "font-size", "fill", "font-weight"], Or = ["x", "y", "font-size", "font-weight", "fill"], Rr = ["x", "y", "font-size", "fill", "font-weight"], Ir = ["x", "y", "font-size", "font-weight", "fill"], Fr = ["x1", "x2", "y1", "y2", "stroke"], Dr = ["x", "y", "font-size", "font-weight", "fill"], Vr = ["x1", "x2", "y1", "y2", "stroke"], Er = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ur = { key: 0 }, Br = { key: 1 }, Hr = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Xr = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Yr = { key: 0 }, Wr = { key: 1 }, Gr = ["font-size", "font-weight", "fill", "x", "y", "onClick"], qr = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Jr = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Zr = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Qr = ["data-start", "data-end"], Kr = {
20
20
  key: 3,
@@ -41,7 +41,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
41
41
  },
42
42
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX"],
43
43
  setup(Xe, { expose: xa, emit: ka }) {
44
- const wa = j(() => import("./Tooltip-oWCO1HKy.js")), La = j(() => import("./BaseIcon-BmMbm4d0.js")), Sa = j(() => import("./vue-ui-accordion-BmFTVF1a.js")), za = j(() => import("./DataTable-BT7VF2ua.js")), Ca = j(() => import("./PenAndPaper-SZQIAgkg.js")), Ma = j(() => import("./UserOptions-CGnQt6Fd.js")), _a = j(() => import("./PackageVersion-Y7t79Jtq.js")), Ta = j(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_stackbar: $a } = Al(), Aa = Cl(), k = Xe, ge = ka, fe = g({
44
+ const wa = j(() => import("./Tooltip-oWCO1HKy.js")), La = j(() => import("./BaseIcon-DLFL0M4-.js")), Sa = j(() => import("./vue-ui-accordion-SSLXLlNz.js")), za = j(() => import("./DataTable-UCyd_BQI.js")), Ca = j(() => import("./PenAndPaper-BJSMejV9.js")), Ma = j(() => import("./UserOptions-BqmUW9Kp.js")), _a = j(() => import("./PackageVersion-D_4Hr4S4.js")), Ta = j(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_stackbar: $a } = Al(), Aa = Cl(), k = Xe, ge = ka, fe = g({
45
45
  get() {
46
46
  return !!k.dataset && k.dataset.length;
47
47
  },
@@ -88,6 +88,9 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
88
88
  dataLabels: { show: !1 }
89
89
  },
90
90
  grid: {
91
+ frame: {
92
+ stroke: "#6A6A6A"
93
+ },
91
94
  scale: {
92
95
  scaleMin: 0,
93
96
  scaleMax: 40
@@ -265,7 +268,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
265
268
  b > t && (t = b);
266
269
  } catch {
267
270
  }
268
- return Math.max(0, t - (n.value?.right ?? 0));
271
+ return Math.max(0, t - (u.value?.right ?? 0));
269
272
  }
270
273
  ua((a) => {
271
274
  if (e.value.orientation !== "horizontal") return;
@@ -290,7 +293,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
290
293
  Je.value && (a = Je.value.getBBox().height);
291
294
  let l = 0;
292
295
  return e.value.orientation === "vertical" && se.value && (l = Pe.value), e.value.orientation === "horizontal" && re.value && (l = Pe.value), a + l;
293
- }), n = g(() => {
296
+ }), u = g(() => {
294
297
  const { height: a, width: l } = ue.value, { right: t } = ue.value.paddingRatio;
295
298
  let r = e.value.style.chart.bars.totalValues.show && k.dataset && k.dataset.length > 1 ? e.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, c = 0;
296
299
  e.value.style.chart.grid.y.axisLabels.show && (c = Da());
@@ -306,7 +309,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
306
309
  height: Math.max(0, A)
307
310
  };
308
311
  }), Ba = g(() => {
309
- const { left: a, top: l, width: t, height: r } = n.value, c = v.value.start, s = v.value.end, b = Math.max(1, s - c), z = Math.max(0, Math.min(b, (D.value.start ?? c) - c)), T = Math.max(0, Math.min(b, (D.value.end ?? s) - c)), O = Math.max(0, T - z), A = {
312
+ const { left: a, top: l, width: t, height: r } = u.value, c = v.value.start, s = v.value.end, b = Math.max(1, s - c), z = Math.max(0, Math.min(b, (D.value.start ?? c) - c)), T = Math.max(0, Math.min(b, (D.value.end ?? s) - c)), O = Math.max(0, T - z), A = {
310
313
  fill: e.value.style.chart.zoom.preview.fill,
311
314
  stroke: e.value.style.chart.zoom.preview.stroke,
312
315
  "stroke-width": e.value.style.chart.zoom.preview.strokeWidth,
@@ -338,7 +341,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
338
341
  ...A
339
342
  };
340
343
  }
341
- }), Y = g(() => je.value.map((a, l) => {
344
+ }), X = g(() => je.value.map((a, l) => {
342
345
  const t = Il(a.color) || Fa.value[l] || He[l] || He[l % He.length];
343
346
  return {
344
347
  ...a,
@@ -350,7 +353,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
350
353
  id: ha(),
351
354
  color: t
352
355
  };
353
- })), N = g(() => Math.max(...Y.value.filter((a) => !P.value.includes(a.id)).map((a) => a.series.length)));
356
+ })), N = g(() => Math.max(...X.value.filter((a) => !P.value.includes(a.id)).map((a) => a.series.length)));
354
357
  function Ha(a) {
355
358
  Ke.value = a;
356
359
  }
@@ -382,17 +385,20 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
382
385
  }
383
386
  const p = g(() => {
384
387
  let a;
385
- return e.value.orientation === "vertical" ? a = n.value.width / (v.value.end - v.value.start) : a = n.value.height / (v.value.end - v.value.start), a <= 0 ? 0 : a;
386
- }), we = g(() => $e(Y.value.filter((a) => !P.value.includes(a.id))).slice(v.value.start, v.value.end)), oe = g(() => e.value.style.chart.zoom.minimap.show ? $e(Y.value.filter((a) => !P.value.includes(a.id))) : []), Ya = g(() => e.value.style.chart.zoom.minimap.show ? [{
388
+ 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;
389
+ }), we = g(() => $e(X.value.filter((a) => !P.value.includes(a.id))).slice(v.value.start, v.value.end)), oe = g(() => e.value.style.chart.zoom.minimap.show ? $e(X.value.map((a) => ({
390
+ ...a,
391
+ series: a.series.map((l) => l ?? 0)
392
+ })).filter((a) => !P.value.includes(a.id))) : []), Ya = g(() => e.value.style.chart.zoom.minimap.show ? [{
387
393
  name: "",
388
394
  series: oe.value,
389
395
  color: "#000000",
390
396
  isVisible: !0
391
- }] : []), Wa = g(() => $e(Y.value.filter((a) => !P.value.includes(a.id)).map((a) => ({
397
+ }] : []), Wa = g(() => $e(X.value.filter((a) => !P.value.includes(a.id)).map((a) => ({
392
398
  ...a,
393
399
  series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
394
400
  }))).slice(v.value.start, v.value.end)), Re = g(() => {
395
- const a = Y.value.filter((l) => !P.value.includes(l.id));
401
+ const a = X.value.filter((l) => !P.value.includes(l.id));
396
402
  return {
397
403
  positive: $e(a.map((l) => ({
398
404
  ...l,
@@ -403,15 +409,15 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
403
409
  series: l.series.slice(v.value.start, v.value.end).map((t) => t < 0 ? t : 0)
404
410
  })))
405
411
  };
406
- }), B = g(() => {
412
+ }), Y = g(() => {
407
413
  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(...Re.value.positive), l = Math.min(...Re.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, r = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ga(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : fa(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
408
414
  return r.ticks.map((c) => ({
409
- zero: n.value.bottom - n.value.height * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
410
- y: n.value.bottom - n.value.height * ((c + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
411
- x: n.value.left - 8,
412
- horizontal_zero: n.value.left + n.value.width * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
413
- horizontal_x: n.value.left + n.value.width * ((c + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
414
- horizontal_y: n.value.bottom - 8,
415
+ zero: u.value.bottom - u.value.height * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
416
+ y: u.value.bottom - u.value.height * ((c + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
417
+ x: u.value.left - 8,
418
+ horizontal_zero: u.value.left + u.value.width * (Math.abs(r.min) / (r.max + Math.abs(r.min))),
419
+ horizontal_x: u.value.left + u.value.width * ((c + Math.abs(r.min)) / (r.max + Math.abs(r.min))),
420
+ horizontal_y: u.value.bottom - 8,
415
421
  value: c
416
422
  }));
417
423
  }), I = g(() => pa({
@@ -460,14 +466,14 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
460
466
  }))), C = g(() => {
461
467
  if (!fe.value && !xe.value) return [];
462
468
  let a = Array(N.value).fill(0), l = Array(N.value).fill(0), t = Array(N.value).fill(0), r = Array(N.value).fill(0);
463
- const c = Math.max(...Re.value.positive) || 0, s = Math.min(...Re.value.negative), b = [-1 / 0, 1 / 0, NaN, void 0, null].includes(s) ? 0 : s, z = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ga(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : b > 0 ? 0 : b, 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) : fa(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : b > 0 ? 0 : b, 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: T, max: O } = z, A = O + (T >= 0 ? 0 : Math.abs(T)) || 1, F = n.value.height, V = n.value.width, Ce = B.value[0] ? B.value[0].zero : n.value.bottom, W = B.value[0] ? B.value[0].horizontal_zero : n.value.left;
469
+ const c = Math.max(...Re.value.positive) || 0, s = Math.min(...Re.value.negative), b = [-1 / 0, 1 / 0, NaN, void 0, null].includes(s) ? 0 : s, z = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ga(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : b > 0 ? 0 : b, 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) : fa(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : b > 0 ? 0 : b, 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: T, max: O } = z, A = O + (T >= 0 ? 0 : Math.abs(T)) || 1, F = u.value.height, V = u.value.width, Ce = Y.value[0] ? Y.value[0].zero : u.value.bottom, W = Y.value[0] ? Y.value[0].horizontal_zero : u.value.left;
464
470
  let aa = Array(oe.value.length).fill(0), la = Array(oe.value.length).fill(0);
465
- return Y.value.filter((ve) => !P.value.includes(ve.id)).map((ve) => {
471
+ return X.value.filter((ve) => !P.value.includes(ve.id)).map((ve) => {
466
472
  const K = ve.series.slice(), ra = K.map((h, y) => aa[y]), dl = K.map((h, y) => la[y]);
467
473
  K.forEach((h, y) => {
468
474
  (Number(h) || 0) >= 0 ? aa[y] += Number(h) || 0 : la[y] += Math.abs(Number(h) || 0);
469
475
  });
470
- const Z = ve.series.slice(v.value.start, v.value.end), yl = ve.signedSeries.slice(v.value.start, v.value.end), gl = Z.map((h, y) => n.value.left + p.value * y + p.value * e.value.style.chart.bars.gapRatio / 4), Be = (oe.value || []).filter(Number.isFinite), vt = Be.length ? Math.max(...Be) : 0, ht = Be.length ? Math.min(...Be) : 0;
476
+ const Z = ve.series.slice(v.value.start, v.value.end), yl = ve.signedSeries.slice(v.value.start, v.value.end), gl = Z.map((h, y) => u.value.left + p.value * y + p.value * e.value.style.chart.bars.gapRatio / 4), Be = (oe.value || []).filter(Number.isFinite), vt = Be.length ? Math.max(...Be) : 0, ht = Be.length ? Math.min(...Be) : 0;
471
477
  function sa({ minimapH: h }) {
472
478
  const M = vt > 0, R = ht < 0;
473
479
  if (M && R) {
@@ -493,7 +499,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
493
499
  const fl = ({ left: h, unitW: y }) => {
494
500
  const M = y * (e.value.style.chart.bars.gapRatio / 4);
495
501
  return K.map((R, _) => h + y * _ + M);
496
- }, bl = Z.map((h, y) => n.value.top + p.value * y + p.value * e.value.style.chart.bars.gapRatio / 4), ml = Z.map((h, y) => {
502
+ }, bl = Z.map((h, y) => u.value.top + p.value * y + p.value * e.value.style.chart.bars.gapRatio / 4), ml = Z.map((h, y) => {
497
503
  const M = e.value.style.chart.bars.distributed ? (h || 0) / we.value[y] : (h || 0) / A;
498
504
  let R, _;
499
505
  return h > 0 ? (_ = F * M, R = Ce - _ - a[y], a[y] += _) : (_ = F * M, R = Ce + t[y], t[y] += Math.abs(_)), R;
@@ -723,7 +729,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
723
729
  })), l = [];
724
730
  return I.value.forEach((t) => {
725
731
  const r = [e.value.style.chart.grid.x.timeLabels.values[t.absoluteIndex] ? t.text : i + 1];
726
- Y.value.forEach((c) => {
732
+ X.value.forEach((c) => {
727
733
  r.push(Number((c.series[t.absoluteIndex] || 0).toFixed(e.value.table.td.roundingValue)));
728
734
  }), l.push(r);
729
735
  }), { head: a, body: l };
@@ -758,15 +764,15 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
758
764
  if (P.value.includes(a.id))
759
765
  P.value = P.value.filter((l) => l !== a.id);
760
766
  else {
761
- if (P.value.length === Y.value.length - 1) return;
767
+ if (P.value.length === X.value.length - 1) return;
762
768
  P.value.push(a.id);
763
769
  }
764
770
  ge("selectLegend", C.value);
765
771
  }
766
772
  function Jt(a) {
767
- if (!Y.value.length)
773
+ if (!X.value.length)
768
774
  return e.value.debug && console.warn("VueUiStackbar - There are no series to show."), null;
769
- const l = Y.value.find((t) => t.name === a);
775
+ const l = X.value.find((t) => t.name === a);
770
776
  return l || (e.value.debug && console.warn(`VueUiStackbar - Series name not found "${a}"`), null);
771
777
  }
772
778
  function Ka(a) {
@@ -777,7 +783,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
777
783
  const l = Jt(a);
778
784
  l !== null && (P.value.includes(l.id) || it({ id: l.id }));
779
785
  }
780
- const ut = g(() => Y.value.map((a, l) => ({
786
+ const ut = g(() => X.value.map((a, l) => ({
781
787
  ...a,
782
788
  shape: "square"
783
789
  })).map((a) => ({
@@ -912,8 +918,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
912
918
  });
913
919
  }
914
920
  function ta() {
915
- const a = B.value?.[0]?.zero ?? n.value.bottom, l = B.value?.[0]?.horizontal_zero ?? n.value.left;
916
- return { y0: a, x0: l };
921
+ return { y0: Y.value?.[0]?.zero ?? u.value.bottom };
917
922
  }
918
923
  function vl(a) {
919
924
  const { y0: l } = ta(), t = e.value.style.chart.bars.totalValues, r = Math.max(2, t.fontSize * 0.3 + t.offsetY);
@@ -925,7 +930,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
925
930
  const z = (s && Number.isFinite(c) ? c : l) - r;
926
931
  return Math.min(
927
932
  Math.max(z, 0),
928
- n.value.bottom
933
+ u.value.bottom
929
934
  );
930
935
  }
931
936
  function hl(a) {
@@ -951,7 +956,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
951
956
  toggleTooltip: Gt,
952
957
  toggleAnnotator: ct,
953
958
  toggleFullscreen: Xt
954
- }), (a, l) => (o(), u("div", {
959
+ }), (a, l) => (o(), n("div", {
955
960
  id: `stackbar_${U.value}`,
956
961
  ref_key: "stackbarChart",
957
962
  ref: J,
@@ -972,24 +977,24 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
972
977
  w(a.$slots, "annotator-action-close", {}, void 0, !0)
973
978
  ]),
974
979
  "annotator-action-color": S(({ color: t }) => [
975
- w(a.$slots, "annotator-action-color", H(X({ color: t })), void 0, !0)
980
+ w(a.$slots, "annotator-action-color", B(H({ color: t })), void 0, !0)
976
981
  ]),
977
982
  "annotator-action-draw": S(({ mode: t }) => [
978
- w(a.$slots, "annotator-action-draw", H(X({ mode: t })), void 0, !0)
983
+ w(a.$slots, "annotator-action-draw", B(H({ mode: t })), void 0, !0)
979
984
  ]),
980
985
  "annotator-action-undo": S(({ disabled: t }) => [
981
- w(a.$slots, "annotator-action-undo", H(X({ disabled: t })), void 0, !0)
986
+ w(a.$slots, "annotator-action-undo", B(H({ disabled: t })), void 0, !0)
982
987
  ]),
983
988
  "annotator-action-redo": S(({ disabled: t }) => [
984
- w(a.$slots, "annotator-action-redo", H(X({ disabled: t })), void 0, !0)
989
+ w(a.$slots, "annotator-action-redo", B(H({ disabled: t })), void 0, !0)
985
990
  ]),
986
991
  "annotator-action-delete": S(({ disabled: t }) => [
987
- w(a.$slots, "annotator-action-delete", H(X({ disabled: t })), void 0, !0)
992
+ w(a.$slots, "annotator-action-delete", B(H({ disabled: t })), void 0, !0)
988
993
  ]),
989
994
  _: 3
990
995
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
991
996
  w(a.$slots, "userConfig", {}, void 0, !0),
992
- e.value.style.chart.title.text ? (o(), u("div", {
997
+ e.value.style.chart.title.text ? (o(), n("div", {
993
998
  key: 1,
994
999
  ref_key: "chartTitle",
995
1000
  ref: mt,
@@ -1055,7 +1060,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1055
1060
  a.$slots.menuIcon ? {
1056
1061
  name: "menuIcon",
1057
1062
  fn: S(({ isOpen: t, color: r }) => [
1058
- w(a.$slots, "menuIcon", H(X({ isOpen: t, color: r })), void 0, !0)
1063
+ w(a.$slots, "menuIcon", B(H({ isOpen: t, color: r })), void 0, !0)
1059
1064
  ]),
1060
1065
  key: "0"
1061
1066
  } : void 0,
@@ -1111,41 +1116,41 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1111
1116
  a.$slots.optionFullscreen ? {
1112
1117
  name: "optionFullscreen",
1113
1118
  fn: S(({ toggleFullscreen: t, isFullscreen: r }) => [
1114
- w(a.$slots, "optionFullscreen", H(X({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
1119
+ w(a.$slots, "optionFullscreen", B(H({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
1115
1120
  ]),
1116
1121
  key: "8"
1117
1122
  } : void 0,
1118
1123
  a.$slots.optionAnnotator ? {
1119
1124
  name: "optionAnnotator",
1120
1125
  fn: S(({ toggleAnnotator: t, isAnnotator: r }) => [
1121
- w(a.$slots, "optionAnnotator", H(X({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
1126
+ w(a.$slots, "optionAnnotator", B(H({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
1122
1127
  ]),
1123
1128
  key: "9"
1124
1129
  } : void 0
1125
1130
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
1126
- (o(), u("svg", {
1131
+ (o(), n("svg", {
1127
1132
  ref_key: "svgRef",
1128
1133
  ref: tt,
1129
1134
  xmlns: m(Dl),
1130
- viewBox: `0 0 ${n.value.chartWidth <= 0 ? 10 : n.value.chartWidth} ${n.value.chartHeight <= 0 ? 10 : n.value.chartHeight}`,
1135
+ viewBox: `0 0 ${u.value.chartWidth <= 0 ? 10 : u.value.chartWidth} ${u.value.chartHeight <= 0 ? 10 : u.value.chartHeight}`,
1131
1136
  class: he({ "vue-data-ui-loading": m(xe) }),
1132
1137
  style: ne(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
1133
1138
  }, [
1134
1139
  _e(m(_a)),
1135
- a.$slots["chart-background"] ? (o(), u("foreignObject", {
1140
+ a.$slots["chart-background"] ? (o(), n("foreignObject", {
1136
1141
  key: 0,
1137
- x: n.value.left,
1138
- y: n.value.top,
1139
- width: n.value.width <= 0 ? 10 : n.value.width,
1140
- height: n.value.height <= 0 ? 10 : n.value.height,
1142
+ x: u.value.left,
1143
+ y: u.value.top,
1144
+ width: u.value.width <= 0 ? 10 : u.value.width,
1145
+ height: u.value.height <= 0 ? 10 : u.value.height,
1141
1146
  style: {
1142
1147
  pointerEvents: "none"
1143
1148
  }
1144
1149
  }, [
1145
1150
  w(a.$slots, "chart-background", {}, void 0, !0)
1146
1151
  ], 8, vr)) : f("", !0),
1147
- e.value.style.chart.bars.gradient.show ? (o(), u("defs", hr, [
1148
- (o(!0), u(x, null, L(C.value, (t, r) => (o(), u("linearGradient", {
1152
+ e.value.style.chart.bars.gradient.show ? (o(), n("defs", hr, [
1153
+ (o(!0), n(x, null, L(C.value, (t, r) => (o(), n("linearGradient", {
1149
1154
  id: `gradient_${t.id}`,
1150
1155
  x1: "0%",
1151
1156
  y1: "0%",
@@ -1166,13 +1171,13 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1166
1171
  }, null, 8, fr)
1167
1172
  ], 8, dr))), 256))
1168
1173
  ])) : f("", !0),
1169
- e.value.style.chart.grid.frame.show ? (o(), u("rect", {
1174
+ e.value.style.chart.grid.frame.show ? (o(), n("rect", {
1170
1175
  key: 2,
1171
1176
  style: { pointerEvents: "none", transition: "none", animation: "none !important" },
1172
- x: Math.max(0, n.value.left),
1173
- y: Math.max(0, n.value.top),
1174
- width: Math.max(0, n.value.width),
1175
- height: Math.max(0, n.value.height),
1177
+ x: Math.max(0, u.value.left),
1178
+ y: Math.max(0, u.value.top),
1179
+ width: Math.max(0, u.value.width),
1180
+ height: Math.max(0, u.value.height),
1176
1181
  fill: "transparent",
1177
1182
  stroke: e.value.style.chart.grid.frame.stroke,
1178
1183
  "stroke-width": e.value.style.chart.grid.frame.strokeWidth,
@@ -1180,9 +1185,9 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1180
1185
  "stroke-linejoin": e.value.style.chart.grid.frame.strokeLinejoin,
1181
1186
  "stroke-dasharray": e.value.style.chart.grid.frame.strokeDasharray
1182
1187
  }, null, 8, br)) : f("", !0),
1183
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (o(!0), u(x, { key: 3 }, L(B.value, (t, r) => (o(), u("line", {
1184
- x1: n.value.left,
1185
- x2: n.value.right,
1188
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (o(!0), n(x, { key: 3 }, L(Y.value, (t, r) => (o(), n("line", {
1189
+ x1: u.value.left,
1190
+ x2: u.value.right,
1186
1191
  y1: t.y,
1187
1192
  y2: t.y,
1188
1193
  stroke: e.value.style.chart.grid.x.linesColor,
@@ -1190,42 +1195,42 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1190
1195
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
1191
1196
  "stroke-linecap": "round"
1192
1197
  }, null, 8, mr))), 256)) : f("", !0),
1193
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), u(x, { key: 4 }, L(v.value.end - v.value.start + 1, (t, r) => (o(), u("line", {
1194
- x1: n.value.left,
1195
- x2: n.value.right,
1196
- y1: n.value.top + p.value * r,
1197
- y2: n.value.top + p.value * r,
1198
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), n(x, { key: 4 }, L(v.value.end - v.value.start + 1, (t, r) => (o(), n("line", {
1199
+ x1: u.value.left,
1200
+ x2: u.value.right,
1201
+ y1: u.value.top + p.value * r,
1202
+ y2: u.value.top + p.value * r,
1198
1203
  stroke: e.value.style.chart.grid.x.linesColor,
1199
1204
  "stroke-width": e.value.style.chart.grid.x.linesThickness,
1200
1205
  "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
1201
1206
  "stroke-linecap": "round"
1202
1207
  }, null, 8, pr))), 256)) : f("", !0),
1203
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (o(!0), u(x, { key: 5 }, L(v.value.end - v.value.start + 1, (t, r) => (o(), u("line", {
1204
- x1: n.value.left + p.value * r,
1205
- x2: n.value.left + p.value * r,
1206
- y1: n.value.top,
1207
- y2: n.value.bottom,
1208
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (o(!0), n(x, { key: 5 }, L(v.value.end - v.value.start + 1, (t, r) => (o(), n("line", {
1209
+ x1: u.value.left + p.value * r,
1210
+ x2: u.value.left + p.value * r,
1211
+ y1: u.value.top,
1212
+ y2: u.value.bottom,
1208
1213
  stroke: e.value.style.chart.grid.y.linesColor,
1209
1214
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
1210
1215
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
1211
1216
  "stroke-linecap": "round"
1212
1217
  }, null, 8, xr))), 256)) : f("", !0),
1213
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (o(!0), u(x, { key: 6 }, L(B.value, (t, r) => (o(), u("line", {
1218
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (o(!0), n(x, { key: 6 }, L(Y.value, (t, r) => (o(), n("line", {
1214
1219
  x1: t.horizontal_x,
1215
1220
  x2: t.horizontal_x,
1216
- y1: n.value.top,
1217
- y2: n.value.bottom,
1221
+ y1: u.value.top,
1222
+ y2: u.value.bottom,
1218
1223
  stroke: e.value.style.chart.grid.y.linesColor,
1219
1224
  "stroke-width": e.value.style.chart.grid.y.linesThickness,
1220
1225
  "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
1221
1226
  "stroke-linecap": "round"
1222
1227
  }, null, 8, kr))), 256)) : f("", !0),
1223
- (o(!0), u(x, null, L(C.value, (t, r) => (o(), u("g", null, [
1224
- a.$slots.pattern ? (o(), u("defs", wr, [
1228
+ (o(!0), n(x, null, L(C.value, (t, r) => (o(), n("g", null, [
1229
+ a.$slots.pattern ? (o(), n("defs", wr, [
1225
1230
  w(a.$slots, "pattern", Te({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${U.value}_${t.absoluteIndex}` }), void 0, !0)
1226
1231
  ])) : f("", !0),
1227
- e.value.orientation === "vertical" ? (o(), u(x, { key: 1 }, [
1228
- (o(!0), u(x, null, L(t.x, (c, s) => (o(), u("rect", {
1232
+ e.value.orientation === "vertical" ? (o(), n(x, { key: 1 }, [
1233
+ (o(!0), n(x, null, L(t.x, (c, s) => (o(), n("rect", {
1229
1234
  x: c,
1230
1235
  y: m(ie)(t.y[s]),
1231
1236
  height: t.height[s] < 0 ? 1e-4 : t.height[s] || 0,
@@ -1238,8 +1243,8 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1238
1243
  "stroke-linejoin": "round",
1239
1244
  class: he({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": le.value })
1240
1245
  }, null, 10, Lr))), 256)),
1241
- a.$slots.pattern ? (o(), u("g", Sr, [
1242
- (o(!0), u(x, null, L(t.x, (c, s) => (o(), u("rect", {
1246
+ a.$slots.pattern ? (o(), n("g", Sr, [
1247
+ (o(!0), n(x, null, L(t.x, (c, s) => (o(), n("rect", {
1243
1248
  x: c,
1244
1249
  y: m(ie)(t.y[s]),
1245
1250
  height: t.height[s] < 0 ? 1e-4 : t.height[s] || 0,
@@ -1253,9 +1258,9 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1253
1258
  class: he({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": le.value })
1254
1259
  }, null, 10, zr))), 256))
1255
1260
  ])) : f("", !0)
1256
- ], 64)) : (o(), u(x, { key: 2 }, [
1257
- (o(!0), u(x, null, L(t.horizontal_x, (c, s) => (o(), u("rect", {
1258
- x: m(ie)(c, n.value.left),
1261
+ ], 64)) : (o(), n(x, { key: 2 }, [
1262
+ (o(!0), n(x, null, L(t.horizontal_x, (c, s) => (o(), n("rect", {
1263
+ x: m(ie)(c, u.value.left),
1259
1264
  y: t.horizontal_y[s] < 0 ? 0 : t.horizontal_y[s],
1260
1265
  width: m(ie)(t.horizontal_width[s] < 0 ? 1e-4 : t.horizontal_width[s]),
1261
1266
  rx: e.value.style.chart.bars.borderRadius > t.height[s] / 2 ? (t.height[s] < 0 ? 0 : t.height[s]) / 2 : e.value.style.chart.bars.borderRadius,
@@ -1267,9 +1272,9 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1267
1272
  "stroke-linejoin": "round",
1268
1273
  class: he({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": le.value })
1269
1274
  }, null, 10, Cr))), 256)),
1270
- a.$slots.pattern ? (o(), u("g", Mr, [
1271
- (o(!0), u(x, null, L(t.horizontal_x, (c, s) => (o(), u("rect", {
1272
- x: m(ie)(c, n.value.left),
1275
+ a.$slots.pattern ? (o(), n("g", Mr, [
1276
+ (o(!0), n(x, null, L(t.horizontal_x, (c, s) => (o(), n("rect", {
1277
+ x: m(ie)(c, u.value.left),
1273
1278
  y: t.horizontal_y[s] < 0 ? 0 : t.horizontal_y[s],
1274
1279
  width: m(ie)(t.horizontal_width[s] < 0 ? 1e-4 : t.horizontal_width[s]),
1275
1280
  rx: e.value.style.chart.bars.borderRadius > t.height[s] / 2 ? (t.height[s] < 0 ? 0 : t.height[s]) / 2 : e.value.style.chart.bars.borderRadius,
@@ -1284,53 +1289,53 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1284
1289
  ])) : f("", !0)
1285
1290
  ], 64))
1286
1291
  ]))), 256)),
1287
- e.value.style.chart.grid.x.showAxis ? (o(), u("line", {
1292
+ e.value.style.chart.grid.x.showAxis ? (o(), n("line", {
1288
1293
  key: 7,
1289
- x1: n.value.left,
1290
- x2: n.value.right,
1291
- y1: n.value.bottom,
1292
- y2: n.value.bottom,
1294
+ x1: u.value.left,
1295
+ x2: u.value.right,
1296
+ y1: u.value.bottom,
1297
+ y2: u.value.bottom,
1293
1298
  stroke: e.value.style.chart.grid.x.axisColor,
1294
1299
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
1295
1300
  "stroke-linecap": "round",
1296
1301
  "stroke-linejoin": "round"
1297
1302
  }, null, 8, Tr)) : f("", !0),
1298
- e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (o(), u("line", {
1303
+ e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (o(), n("line", {
1299
1304
  key: 8,
1300
- x1: n.value.left,
1301
- x2: n.value.left,
1302
- y1: n.value.top,
1303
- y2: n.value.bottom,
1305
+ x1: u.value.left,
1306
+ x2: u.value.left,
1307
+ y1: u.value.top,
1308
+ y2: u.value.bottom,
1304
1309
  stroke: e.value.style.chart.grid.y.axisColor,
1305
1310
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
1306
1311
  "stroke-linecap": "round",
1307
1312
  "stroke-linejoin": "round"
1308
1313
  }, null, 8, $r)) : f("", !0),
1309
- e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (o(), u("text", {
1314
+ e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (o(), n("text", {
1310
1315
  key: 9,
1311
1316
  ref_key: "xAxisLabel",
1312
1317
  ref: Je,
1313
- x: n.value.left + n.value.width / 2,
1314
- y: n.value.chartHeight - 3,
1318
+ x: u.value.left + u.value.width / 2,
1319
+ y: u.value.chartHeight - 3,
1315
1320
  "font-size": e.value.style.chart.grid.x.axisName.fontSize,
1316
1321
  fill: e.value.style.chart.grid.x.axisName.color,
1317
1322
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1318
1323
  "text-anchor": "middle"
1319
1324
  }, E(e.value.style.chart.grid.x.axisName.text), 9, Ar)) : f("", !0),
1320
- e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (o(), u("text", {
1325
+ e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (o(), n("text", {
1321
1326
  key: 10,
1322
1327
  ref_key: "yAxisLabel",
1323
1328
  ref: Ze,
1324
- transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize}, ${n.value.top + n.value.height / 2}) rotate(-90)`,
1329
+ transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize}, ${u.value.top + u.value.height / 2}) rotate(-90)`,
1325
1330
  "font-size": e.value.style.chart.grid.y.axisName.fontSize,
1326
1331
  fill: e.value.style.chart.grid.y.axisName.color,
1327
1332
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1328
1333
  "text-anchor": "middle"
1329
1334
  }, E(e.value.style.chart.grid.y.axisName.text), 9, Pr)) : f("", !0),
1330
- $.value.dataLabels.show && e.value.orientation === "vertical" ? (o(), u(x, { key: 11 }, [
1331
- (o(!0), u(x, null, L(C.value, (t, r) => (o(), u("g", null, [
1332
- (o(!0), u(x, null, L(t.x, (c, s) => (o(), u(x, null, [
1333
- Zt(t.series[s], t.proportions[s]) ? (o(), u("text", {
1335
+ $.value.dataLabels.show && e.value.orientation === "vertical" ? (o(), n(x, { key: 11 }, [
1336
+ (o(!0), n(x, null, L(C.value, (t, r) => (o(), n("g", null, [
1337
+ (o(!0), n(x, null, L(t.x, (c, s) => (o(), n(x, null, [
1338
+ Zt(t.series[s], t.proportions[s]) ? (o(), n("text", {
1334
1339
  key: 0,
1335
1340
  x: c + p.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1336
1341
  y: t.y[s] + t.height[s] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1341,15 +1346,15 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1341
1346
  }, E(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Et(t.proportions[s] * 100, t, r, s) : Ie(t.series[s], t, r, s, t.signedSeries[s])), 9, Nr)) : f("", !0)
1342
1347
  ], 64))), 256))
1343
1348
  ]))), 256)),
1344
- e.value.style.chart.bars.totalValues.show && C.value.length > 1 ? (o(), u("g", {
1349
+ e.value.style.chart.bars.totalValues.show && C.value.length > 1 ? (o(), n("g", {
1345
1350
  key: 0,
1346
1351
  ref_key: "sumTop",
1347
1352
  ref: Oa
1348
1353
  }, [
1349
- (o(!0), u(x, null, L(Vt.value, (t, r) => (o(), u(x, null, [
1350
- !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), u("text", {
1354
+ (o(!0), n(x, null, L(Vt.value, (t, r) => (o(), n(x, null, [
1355
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), n("text", {
1351
1356
  key: 0,
1352
- x: n.value.left + p.value * r + p.value / 2,
1357
+ x: u.value.left + p.value * r + p.value / 2,
1353
1358
  y: vl(r),
1354
1359
  "text-anchor": "middle",
1355
1360
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
@@ -1359,10 +1364,10 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1359
1364
  ], 64))), 256))
1360
1365
  ], 512)) : f("", !0)
1361
1366
  ], 64)) : f("", !0),
1362
- $.value.dataLabels.show && e.value.orientation === "horizontal" ? (o(), u(x, { key: 12 }, [
1363
- (o(!0), u(x, null, L(C.value, (t, r) => (o(), u("g", null, [
1364
- (o(!0), u(x, null, L(t.horizontal_x, (c, s) => (o(), u(x, null, [
1365
- Zt(t.series[s], t.proportions[s]) ? (o(), u("text", {
1367
+ $.value.dataLabels.show && e.value.orientation === "horizontal" ? (o(), n(x, { key: 12 }, [
1368
+ (o(!0), n(x, null, L(C.value, (t, r) => (o(), n("g", null, [
1369
+ (o(!0), n(x, null, L(t.horizontal_x, (c, s) => (o(), n(x, null, [
1370
+ Zt(t.series[s], t.proportions[s]) ? (o(), n("text", {
1366
1371
  key: 0,
1367
1372
  x: c + (t.horizontal_width[s] < 0 ? 1e-4 : t.horizontal_width[s]) / 2,
1368
1373
  y: t.horizontal_y[s] + p.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -1373,16 +1378,16 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1373
1378
  }, E(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Et(t.proportions[s] * 100, t, r, s) : Ie(t.series[s], t, r, s, t.signedSeries[s])), 9, Rr)) : f("", !0)
1374
1379
  ], 64))), 256))
1375
1380
  ]))), 256)),
1376
- e.value.style.chart.bars.totalValues.show && C.value.length > 1 ? (o(), u("g", {
1381
+ e.value.style.chart.bars.totalValues.show && C.value.length > 1 ? (o(), n("g", {
1377
1382
  key: 0,
1378
1383
  ref_key: "sumRight",
1379
1384
  ref: Qe
1380
1385
  }, [
1381
- (o(!0), u(x, null, L(Vt.value, (t, r) => (o(), u(x, null, [
1382
- !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), u("text", {
1386
+ (o(!0), n(x, null, L(Vt.value, (t, r) => (o(), n(x, null, [
1387
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), n("text", {
1383
1388
  key: 0,
1384
1389
  x: hl(r),
1385
- y: n.value.top + p.value * r + p.value / 2 + e.value.style.chart.bars.totalValues.fontSize / 3,
1390
+ y: u.value.top + p.value * r + p.value / 2 + e.value.style.chart.bars.totalValues.fontSize / 3,
1386
1391
  "text-anchor": "start",
1387
1392
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
1388
1393
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
@@ -1391,20 +1396,20 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1391
1396
  ], 64))), 256))
1392
1397
  ], 512)) : f("", !0)
1393
1398
  ], 64)) : f("", !0),
1394
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (o(), u("g", {
1399
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (o(), n("g", {
1395
1400
  key: 13,
1396
1401
  ref_key: "scaleLabels",
1397
1402
  ref: re
1398
1403
  }, [
1399
- (o(!0), u(x, null, L(B.value, (t, r) => (o(), u("line", {
1400
- x1: n.value.left,
1401
- x2: n.value.left - 6,
1404
+ (o(!0), n(x, null, L(Y.value, (t, r) => (o(), n("line", {
1405
+ x1: u.value.left,
1406
+ x2: u.value.left - 6,
1402
1407
  y1: t.y,
1403
1408
  y2: t.y,
1404
1409
  stroke: e.value.style.chart.grid.x.axisColor,
1405
1410
  "stroke-width": 1
1406
1411
  }, null, 8, Fr))), 256)),
1407
- (o(!0), u(x, null, L(B.value, (t, r) => (o(), u("text", {
1412
+ (o(!0), n(x, null, L(Y.value, (t, r) => (o(), n("text", {
1408
1413
  x: t.x,
1409
1414
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1410
1415
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
@@ -1423,27 +1428,27 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1423
1428
  { datapoint: t }
1424
1429
  )), 9, Dr))), 256))
1425
1430
  ], 512)) : f("", !0),
1426
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (o(), u("g", {
1431
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (o(), n("g", {
1427
1432
  key: 14,
1428
1433
  ref_key: "scaleLabels",
1429
1434
  ref: re
1430
1435
  }, [
1431
- (o(!0), u(x, null, L(B.value, (t, r) => (o(), u("line", {
1436
+ (o(!0), n(x, null, L(Y.value, (t, r) => (o(), n("line", {
1432
1437
  x1: t.horizontal_x,
1433
1438
  x2: t.horizontal_x,
1434
- y1: n.value.bottom,
1435
- y2: n.value.bottom + 6,
1439
+ y1: u.value.bottom,
1440
+ y2: u.value.bottom + 6,
1436
1441
  stroke: e.value.style.chart.grid.x.axisColor,
1437
1442
  "stroke-width": 1,
1438
1443
  "stroke-linecap": "round"
1439
1444
  }, null, 8, Vr))), 256)),
1440
- (o(!0), u(x, null, L(B.value, (t, r) => (o(), u("text", {
1445
+ (o(!0), n(x, null, L(Y.value, (t, r) => (o(), n("text", {
1441
1446
  class: "vue-data-ui-time-label",
1442
1447
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1443
1448
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1444
1449
  fill: e.value.style.chart.grid.y.axisLabels.color,
1445
1450
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1446
- transform: `translate(${t.horizontal_x}, ${n.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})`
1451
+ 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})`
1447
1452
  }, E(m(ye)(
1448
1453
  e.value.style.chart.grid.y.axisLabels.formatter,
1449
1454
  t.value,
@@ -1456,37 +1461,37 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1456
1461
  { datapoint: t }
1457
1462
  )), 9, Er))), 256))
1458
1463
  ], 512)) : f("", !0),
1459
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (o(), u("g", {
1464
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (o(), n("g", {
1460
1465
  key: 15,
1461
1466
  ref_key: "timeLabelsEls",
1462
1467
  ref: se
1463
1468
  }, [
1464
- a.$slots["time-label"] ? (o(), u("g", Ur, [
1465
- (o(!0), u(x, null, L(It.value, (t, r) => (o(), u("g", null, [
1469
+ a.$slots["time-label"] ? (o(), n("g", Ur, [
1470
+ (o(!0), n(x, null, L(It.value, (t, r) => (o(), n("g", null, [
1466
1471
  w(a.$slots, "time-label", Te({ ref_for: !0 }, {
1467
- x: n.value.left + p.value * r + p.value / 2,
1468
- y: n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
1472
+ x: u.value.left + p.value * r + p.value / 2,
1473
+ y: u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
1469
1474
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1470
1475
  fill: e.value.style.chart.grid.x.timeLabels.color,
1471
- transform: `translate(${n.value.left + p.value * r + p.value / 2}, ${n.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})`,
1476
+ transform: `translate(${u.value.left + p.value * r + p.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})`,
1472
1477
  absoluteIndex: t.absoluteIndex,
1473
1478
  content: t.text,
1474
1479
  textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1475
1480
  show: !0
1476
1481
  }), void 0, !0)
1477
1482
  ]))), 256))
1478
- ])) : (o(), u("g", Br, [
1479
- (o(!0), u(x, null, L(It.value, (t, r) => (o(), u("g", null, [
1483
+ ])) : (o(), n("g", Br, [
1484
+ (o(!0), n(x, null, L(It.value, (t, r) => (o(), n("g", null, [
1480
1485
  String(t.text).includes(`
1481
- `) ? (o(), u("text", {
1486
+ `) ? (o(), n("text", {
1482
1487
  key: r + "-multi",
1483
1488
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1484
1489
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1485
1490
  fill: e.value.style.chart.grid.x.timeLabels.color,
1486
1491
  transform: `
1487
1492
  translate(
1488
- ${n.value.left + p.value * r + p.value / 2},
1489
- ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
1493
+ ${u.value.left + p.value * r + p.value / 2},
1494
+ ${u.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
1490
1495
  ),
1491
1496
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
1492
1497
  `,
@@ -1499,30 +1504,30 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1499
1504
  y: 0
1500
1505
  }),
1501
1506
  onClick: () => Ve(t, r)
1502
- }, null, 8, Xr)) : (o(), u("text", {
1507
+ }, null, 8, Xr)) : (o(), n("text", {
1503
1508
  class: "vue-data-ui-time-label",
1504
1509
  key: r,
1505
1510
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1506
1511
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
1507
1512
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
1508
1513
  fill: e.value.style.chart.grid.x.timeLabels.color,
1509
- transform: `translate(${n.value.left + p.value * r + p.value / 2}, ${n.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})`,
1514
+ transform: `translate(${u.value.left + p.value * r + p.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})`,
1510
1515
  style: { cursor: "pointer" },
1511
1516
  onClick: () => Ve(t, r)
1512
1517
  }, E(t.text), 9, Hr))
1513
1518
  ]))), 256))
1514
1519
  ]))
1515
1520
  ], 512)) : f("", !0),
1516
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (o(), u("g", {
1521
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (o(), n("g", {
1517
1522
  key: 16,
1518
1523
  ref_key: "timeLabelsEls",
1519
1524
  ref: se
1520
1525
  }, [
1521
- a.$slots["time-label"] ? (o(), u("g", Yr, [
1522
- (o(!0), u(x, null, L(I.value, (t, r) => (o(), u("g", null, [
1526
+ a.$slots["time-label"] ? (o(), n("g", Yr, [
1527
+ (o(!0), n(x, null, L(I.value, (t, r) => (o(), n("g", null, [
1523
1528
  w(a.$slots, "time-label", Te({ ref_for: !0 }, {
1524
- x: n.value.left - 8,
1525
- y: n.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1529
+ x: u.value.left - 8,
1530
+ y: u.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1526
1531
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
1527
1532
  fill: e.value.style.chart.grid.x.timeLabels.color,
1528
1533
  transform: null,
@@ -1532,34 +1537,34 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1532
1537
  show: !0
1533
1538
  }), void 0, !0)
1534
1539
  ]))), 256))
1535
- ])) : (o(), u("g", Wr, [
1536
- (o(!0), u(x, null, L(I.value, (t, r) => (o(), u("g", null, [
1540
+ ])) : (o(), n("g", Wr, [
1541
+ (o(!0), n(x, null, L(I.value, (t, r) => (o(), n("g", null, [
1537
1542
  String(t.text).includes(`
1538
- `) ? (o(), u("text", {
1543
+ `) ? (o(), n("text", {
1539
1544
  key: 1,
1540
1545
  "text-anchor": "end",
1541
1546
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
1542
1547
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1543
1548
  fill: e.value.style.chart.grid.y.axisLabels.color,
1544
- x: n.value.left - 8,
1545
- y: n.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1549
+ x: u.value.left - 8,
1550
+ y: u.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1546
1551
  style: { cursor: "pointer" },
1547
1552
  onClick: () => Ve(t, r),
1548
1553
  innerHTML: m(Ul)({
1549
1554
  content: String(t.text),
1550
1555
  fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
1551
1556
  fill: e.value.style.chart.grid.y.axisLabels.color,
1552
- x: n.value.left - 8,
1557
+ x: u.value.left - 8,
1553
1558
  y: 0
1554
1559
  })
1555
- }, null, 8, qr)) : (o(), u("text", {
1560
+ }, null, 8, qr)) : (o(), n("text", {
1556
1561
  key: 0,
1557
1562
  "text-anchor": "end",
1558
1563
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
1559
1564
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1560
1565
  fill: e.value.style.chart.grid.y.axisLabels.color,
1561
- x: n.value.left - 8,
1562
- y: n.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1566
+ x: u.value.left - 8,
1567
+ y: u.value.top + p.value * r + p.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
1563
1568
  style: {
1564
1569
  cursor: "pointer"
1565
1570
  },
@@ -1568,21 +1573,21 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1568
1573
  ]))), 256))
1569
1574
  ]))
1570
1575
  ], 512)) : f("", !0),
1571
- $.value.showTooltip && e.value.orientation === "vertical" ? (o(!0), u(x, { key: 17 }, L(v.value.end - v.value.start, (t, r) => (o(), u("rect", {
1572
- x: n.value.left + r * p.value,
1573
- y: n.value.top,
1576
+ $.value.showTooltip && e.value.orientation === "vertical" ? (o(!0), n(x, { key: 17 }, L(v.value.end - v.value.start, (t, r) => (o(), n("rect", {
1577
+ x: u.value.left + r * p.value,
1578
+ y: u.value.top,
1574
1579
  width: p.value,
1575
- height: n.value.height < 0 ? 0 : n.value.height,
1580
+ height: u.value.height < 0 ? 0 : u.value.height,
1576
1581
  onClick: () => Ut(r),
1577
1582
  onMouseenter: () => Ht(r),
1578
1583
  onMouseleave: () => Bt(r),
1579
1584
  fill: r === q.value || r === Ke.value ? e.value.style.chart.highlighter.color : "transparent",
1580
1585
  style: ne({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1581
1586
  }, null, 44, Jr))), 256)) : f("", !0),
1582
- $.value.showTooltip && e.value.orientation === "horizontal" ? (o(!0), u(x, { key: 18 }, L(v.value.end - v.value.start, (t, r) => (o(), u("rect", {
1583
- x: n.value.left,
1584
- y: n.value.top + r * p.value,
1585
- width: n.value.width < 0 ? 0 : n.value.width,
1587
+ $.value.showTooltip && e.value.orientation === "horizontal" ? (o(!0), n(x, { key: 18 }, L(v.value.end - v.value.start, (t, r) => (o(), n("rect", {
1588
+ x: u.value.left,
1589
+ y: u.value.top + r * p.value,
1590
+ width: u.value.width < 0 ? 0 : u.value.width,
1586
1591
  height: p.value,
1587
1592
  onClick: () => Ut(r),
1588
1593
  onMouseenter: () => Ht(r),
@@ -1590,19 +1595,19 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1590
1595
  fill: r === q.value || r === Ke.value ? e.value.style.chart.highlighter.color : "transparent",
1591
1596
  style: ne({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1592
1597
  }, null, 44, Zr))), 256)) : f("", !0),
1593
- Nt.value ? (o(), u("rect", Te({ key: 19 }, Ba.value, {
1598
+ Nt.value ? (o(), n("rect", Te({ key: 19 }, Ba.value, {
1594
1599
  "data-start": v.value.start,
1595
1600
  "data-end": v.value.end
1596
1601
  }), null, 16, Qr)) : f("", !0),
1597
1602
  w(a.$slots, "svg", {
1598
1603
  svg: {
1599
- drawingArea: n.value,
1604
+ drawingArea: u.value,
1600
1605
  data: C.value
1601
1606
  }
1602
1607
  }, void 0, !0)
1603
1608
  ], 14, cr)),
1604
- a.$slots.watermark ? (o(), u("div", Kr, [
1605
- w(a.$slots, "watermark", H(X({ isPrinting: m(Mt) || m(_t) })), void 0, !0)
1609
+ a.$slots.watermark ? (o(), n("div", Kr, [
1610
+ w(a.$slots, "watermark", B(H({ isPrinting: m(Mt) || m(_t) })), void 0, !0)
1606
1611
  ])) : f("", !0),
1607
1612
  e.value.style.chart.zoom.show && N.value > 6 && fe.value && ea.value ? (o(), ee(or, {
1608
1613
  key: 4,
@@ -1656,13 +1661,13 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1656
1661
  onFutureStart: l[1] || (l[1] = (t) => Ot("start", t))
1657
1662
  }, {
1658
1663
  "reset-action": S(({ reset: t }) => [
1659
- w(a.$slots, "reset-action", H(X({ reset: t })), void 0, !0)
1664
+ w(a.$slots, "reset-action", B(H({ reset: t })), void 0, !0)
1660
1665
  ]),
1661
1666
  slotMap: S(({ width: t, height: r, unitW: c }) => [
1662
- (o(!0), u(x, null, L(C.value, (s) => (o(), u("g", {
1667
+ (o(!0), n(x, null, L(C.value, (s) => (o(), n("g", {
1663
1668
  key: s.id
1664
1669
  }, [
1665
- (o(!0), u(x, null, L(s.xMinimap({ left: 0, unitW: c }), (b, z) => (o(), u("rect", {
1670
+ (o(!0), n(x, null, L(s.xMinimap({ left: 0, unitW: c }), (b, z) => (o(), n("rect", {
1666
1671
  key: z,
1667
1672
  x: z === 0 ? b - c * (e.value.style.chart.bars.gapRatio / 4) : b - c / 2,
1668
1673
  y: Math.max(0, Math.min(r, s.yMinimap({ minimapH: r })[z])),
@@ -1703,10 +1708,10 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1703
1708
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1704
1709
  }, {
1705
1710
  "tooltip-before": S(() => [
1706
- w(a.$slots, "tooltip-before", H(X({ ...We.value })), void 0, !0)
1711
+ w(a.$slots, "tooltip-before", B(H({ ...We.value })), void 0, !0)
1707
1712
  ]),
1708
1713
  "tooltip-after": S(() => [
1709
- w(a.$slots, "tooltip-after", H(X({ ...We.value })), void 0, !0)
1714
+ w(a.$slots, "tooltip-after", B(H({ ...We.value })), void 0, !0)
1710
1715
  ]),
1711
1716
  _: 3
1712
1717
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1728,7 +1733,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1728
1733
  onClickMarker: l[2] || (l[2] = ({ legend: t }) => t.segregate())
1729
1734
  }, gt({
1730
1735
  item: S(({ legend: t }) => [
1731
- m(xe) ? f("", !0) : (o(), u("div", {
1736
+ m(xe) ? f("", !0) : (o(), n("div", {
1732
1737
  key: 0,
1733
1738
  onClick: (r) => t.segregate(),
1734
1739
  style: ne(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
@@ -1755,7 +1760,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1755
1760
  }, void 0, !0)
1756
1761
  ], 512)
1757
1762
  ], 8, ["to"])) : f("", !0),
1758
- a.$slots.source ? (o(), u("div", {
1763
+ a.$slots.source ? (o(), n("div", {
1759
1764
  key: 6,
1760
1765
  ref_key: "source",
1761
1766
  ref: xt,
@@ -1821,7 +1826,7 @@ const ir = ["id"], ur = ["id"], cr = ["xmlns", "viewBox"], vr = ["x", "y", "widt
1821
1826
  m(xe) ? (o(), ee(ql, { key: 8 })) : f("", !0)
1822
1827
  ], 46, ir));
1823
1828
  }
1824
- }, Ls = /* @__PURE__ */ nr(ls, [["__scopeId", "data-v-1e5ecd2a"]]);
1829
+ }, Ls = /* @__PURE__ */ nr(ls, [["__scopeId", "data-v-dc5fe0a8"]]);
1825
1830
  export {
1826
1831
  Ls as default
1827
1832
  };