vue-data-ui 2.16.1 → 2.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/{Arrow-CdYLGu-R.js → Arrow-BpStYUGJ.js} +1 -1
  2. package/dist/{BaseDraggableDialog-D6BUj4Or.js → BaseDraggableDialog-CM_ub9oR.js} +2 -2
  3. package/dist/{BaseIcon-2AuS2xrH.js → BaseIcon-ChYI-pDw.js} +1 -1
  4. package/dist/{ColorPicker-D6HKO2k4.js → ColorPicker-B91Jzf70.js} +2 -2
  5. package/dist/{DataTable-BTMcFTt-.js → DataTable-CjniJr_p.js} +2 -2
  6. package/dist/{Legend-DPfiRB9k.js → Legend-CjEhE5tg.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-V9DQ1K2C.js → NonSvgPenAndPaper-Y8Y6KO1_.js} +3 -3
  8. package/dist/{PackageVersion-BcMsNWmF.js → PackageVersion-O8v3MCyb.js} +1 -1
  9. package/dist/{PenAndPaper-BzwWPvY0.js → PenAndPaper-Dolgj6K1.js} +3 -3
  10. package/dist/{Shape-DaS8m57N.js → Shape-CF-SzYWd.js} +1 -1
  11. package/dist/{Slicer-B1l-hAKo.js → Slicer-7UFoB2Pk.js} +2 -2
  12. package/dist/{SparkTooltip-o2T1w8GL.js → SparkTooltip-LMuNP74j.js} +1 -1
  13. package/dist/{Title-SU7CQYnf.js → Title-hN8UEfjj.js} +1 -1
  14. package/dist/{Tooltip-C6OCDrst.js → Tooltip-b8Cop9WD.js} +1 -1
  15. package/dist/{UserOptions-hse40wiU.js → UserOptions-B5jU6leO.js} +2 -2
  16. package/dist/{dom-to-png-BGKe--PB.js → dom-to-png-CpD0Lfbd.js} +1 -1
  17. package/dist/{img-BdgsV5lD.js → img-Doodp2oq.js} +1 -1
  18. package/dist/{index-BmToae5Y.js → index-Bx_avyMs.js} +9 -1
  19. package/dist/{pdf-B2VzlFHc.js → pdf-COW1oQRZ.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +8 -0
  22. package/dist/types/vue-data-ui.d.ts +8 -0
  23. package/dist/{useNestedProp-C9H_cfK6.js → useNestedProp-DsLqa9JE.js} +1 -1
  24. package/dist/{usePrinter-7HFTqRRy.js → usePrinter-BEk4BlKC.js} +2 -2
  25. package/dist/{vue-data-ui-G-77mNtU.js → vue-data-ui-acdqibhg.js} +63 -63
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-DnbBLiP9.js → vue-ui-3d-bar-DXS6jY86.js} +5 -5
  28. package/dist/{vue-ui-accordion-YrTS7w6l.js → vue-ui-accordion-Bl3dCfLj.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-CK4TcV8J.js → vue-ui-age-pyramid-C2IFRsHg.js} +5 -5
  30. package/dist/{vue-ui-annotator-CCK7MvTD.js → vue-ui-annotator-v6bzl8q3.js} +2 -2
  31. package/dist/{vue-ui-bullet-Bi8hZ11Y.js → vue-ui-bullet-DS1sXCAJ.js} +6 -6
  32. package/dist/{vue-ui-candlestick-BhO1Pr7W.js → vue-ui-candlestick-BuImOpmm.js} +6 -6
  33. package/dist/{vue-ui-carousel-table-Boexi2oc.js → vue-ui-carousel-table-BYrZg-w-.js} +4 -4
  34. package/dist/{vue-ui-chestnut-gcgyIPmy.js → vue-ui-chestnut-CX0AxysX.js} +4 -4
  35. package/dist/{vue-ui-chord-DwzC0tif.js → vue-ui-chord-D3Ig5mlr.js} +7 -7
  36. package/dist/{vue-ui-circle-pack-BY2AVXMM.js → vue-ui-circle-pack-CvMxlkM1.js} +5 -5
  37. package/dist/{vue-ui-cursor-DlZbg99Y.js → vue-ui-cursor-DCe5ftL6.js} +2 -2
  38. package/dist/{vue-ui-dashboard-Bibjr7zW.js → vue-ui-dashboard-DjTfmpkl.js} +62 -62
  39. package/dist/{vue-ui-digits-BD392pWk.js → vue-ui-digits-BgyMpVfM.js} +2 -2
  40. package/dist/{vue-ui-donut-CaaEPEkQ.js → vue-ui-donut-BYULgaFr.js} +7 -7
  41. package/dist/{vue-ui-donut-evolution-lCKnq0_k.js → vue-ui-donut-evolution-Gs5lqg_c.js} +7 -7
  42. package/dist/{vue-ui-dumbbell-DktVMHIA.js → vue-ui-dumbbell-DJ63prGq.js} +6 -6
  43. package/dist/{vue-ui-flow-B9Dd1Xhc.js → vue-ui-flow-DomJTEa7.js} +6 -6
  44. package/dist/{vue-ui-funnel-BfDfdcdt.js → vue-ui-funnel-BD4KJRLk.js} +5 -5
  45. package/dist/{vue-ui-galaxy-CMYtUIFe.js → vue-ui-galaxy-B1ed7khr.js} +4 -4
  46. package/dist/{vue-ui-gauge-CnZNTknJ.js → vue-ui-gauge-eAUAVWfu.js} +5 -5
  47. package/dist/{vue-ui-gizmo-VCWCehBt.js → vue-ui-gizmo-nbU__4zy.js} +3 -3
  48. package/dist/{vue-ui-heatmap-BCyT2BB1.js → vue-ui-heatmap-B1_OLrfF.js} +6 -6
  49. package/dist/{vue-ui-history-plot-Bm45XY6j.js → vue-ui-history-plot-ItJUkgZj.js} +6 -6
  50. package/dist/{vue-ui-kpi-Dg5ttUw2.js → vue-ui-kpi-BUNEAj1l.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-KFABEiiX.js → vue-ui-mini-loader-FzVgIco8.js} +2 -2
  52. package/dist/{vue-ui-molecule-DwEUPMNI.js → vue-ui-molecule-C5QDqHFJ.js} +4 -4
  53. package/dist/{vue-ui-mood-radar-DMo26lm_.js → vue-ui-mood-radar-4TYRJb63.js} +6 -6
  54. package/dist/{vue-ui-nested-donuts-BzHXK2q5.js → vue-ui-nested-donuts-BiAk2hkq.js} +6 -6
  55. package/dist/{vue-ui-onion-CZD8T-TN.js → vue-ui-onion-B0NnVR9Z.js} +6 -6
  56. package/dist/{vue-ui-parallel-coordinate-plot-Bq8WG416.js → vue-ui-parallel-coordinate-plot-BDqMALvX.js} +7 -7
  57. package/dist/{vue-ui-quadrant-DnZAnr2B.js → vue-ui-quadrant-nZ7lBwEx.js} +7 -7
  58. package/dist/{vue-ui-quick-chart-CD65jyUF.js → vue-ui-quick-chart-DIeeIhwx.js} +5 -5
  59. package/dist/{vue-ui-radar-CnoKetuv.js → vue-ui-radar-C2qCzI5Z.js} +6 -6
  60. package/dist/{vue-ui-rating-DSo-wq4O.js → vue-ui-rating-bSawIC9F.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-CsL0FhOw.js → vue-ui-relation-circle-BnOs9mSi.js} +5 -5
  62. package/dist/{vue-ui-ridgeline-B1rbGt-g.js → vue-ui-ridgeline-9i3PdyEh.js} +7 -7
  63. package/dist/{vue-ui-rings-DkOXu1zS.js → vue-ui-rings-D4LsmMl9.js} +7 -7
  64. package/dist/{vue-ui-scatter-Dh589Gh9.js → vue-ui-scatter-PWUqzmTI.js} +7 -7
  65. package/dist/{vue-ui-skeleton-B2qHPqH4.js → vue-ui-skeleton-DlBP_Guf.js} +3 -3
  66. package/dist/{vue-ui-smiley-C1eeioL_.js → vue-ui-smiley-BZEP6Dne.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-DqlLI8KJ.js → vue-ui-spark-trend-D2B93PIQ.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-DS69Q2mJ.js → vue-ui-sparkbar-THflmQlk.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-ujpopbjP.js → vue-ui-sparkgauge-JvELKu4i.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-D7eWFS-3.js → vue-ui-sparkhistogram-BI0Wm1yO.js} +4 -4
  71. package/dist/{vue-ui-sparkline-wNjAef_t.js → vue-ui-sparkline-BPMeJFYG.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-CEVRpIee.js → vue-ui-sparkstackbar-jf-x6VJ7.js} +3 -3
  73. package/dist/{vue-ui-stackbar-rYzOf9u2.js → vue-ui-stackbar-CveY_p-5.js} +418 -413
  74. package/dist/{vue-ui-strip-plot-BA-xiJo3.js → vue-ui-strip-plot-JfgG5Gwp.js} +6 -6
  75. package/dist/{vue-ui-table-DZmHeR2H.js → vue-ui-table-CTgL7oTH.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-ZTs8XMvz.js → vue-ui-table-heatmap-BRxgMftV.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-BFC-Uvtb.js → vue-ui-table-sparkline-D2Clt2Sc.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BHZKlINI.js → vue-ui-thermometer-bYKGfBYY.js} +5 -5
  79. package/dist/{vue-ui-timer-EN9iwGUt.js → vue-ui-timer-CmGfDuGf.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-DWKu1WEv.js → vue-ui-tiremarks-sGGB_k6s.js} +5 -5
  81. package/dist/{vue-ui-treemap-CKAc2_-5.js → vue-ui-treemap-8EvR435y.js} +7 -7
  82. package/dist/{vue-ui-vertical-bar-BgCKuRXv.js → vue-ui-vertical-bar-BRJrXh5B.js} +8 -8
  83. package/dist/{vue-ui-waffle-B5QBZfDo.js → vue-ui-waffle-ogdiRG5y.js} +7 -7
  84. package/dist/{vue-ui-wheel-CE6sQIyF.js → vue-ui-wheel-DnLD95bo.js} +5 -5
  85. package/dist/{vue-ui-word-cloud-DwJdaPQ6.js → vue-ui-word-cloud-CTQnqO2x.js} +5 -5
  86. package/dist/{vue-ui-world-U9zVcxU9.js → vue-ui-world-Y8TK2yge.js} +5 -5
  87. package/dist/{vue-ui-xy-CsZMQl6x.js → vue-ui-xy-B0XST9Kk.js} +16 -16
  88. package/dist/{vue-ui-xy-canvas-u0mizRSW.js → vue-ui-xy-canvas-Cu6ekPLO.js} +7 -7
  89. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as X, useSlots as Xt, computed as z, ref as p, onMounted as st, watch as it, shallowRef as nt, onBeforeUnmount as Gt, nextTick as be, createElementBlock as n, openBlock as o, unref as y, normalizeStyle as G, normalizeClass as oe, createBlock as j, createCommentVNode as g, renderSlot as k, createElementVNode as J, createVNode as se, createSlots as ut, withCtx as L, normalizeProps as E, guardReactiveProps as D, Fragment as h, renderList as b, mergeProps as Me, toDisplayString as T, createTextVNode as Jt } from "vue";
2
- import { u as qt, c as ct, t as Zt, p as fe, a as Kt, C as me, b as Qt, o as jt, e as vt, g as ea, d as ta, al as pe, ai as ht, D as dt, X as aa, l as la, a7 as xe, F as yt, i as ke, f as q, I as ra, am as oa, x as gt, q as sa, r as ia, y as na } from "./index-BmToae5Y.js";
3
- import { u as bt } from "./useNestedProp-C9H_cfK6.js";
4
- import { t as ua, u as ca } from "./useResponsive-DfdjqQps.js";
5
- import { u as va } from "./usePrinter-7HFTqRRy.js";
6
- import { u as ha } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as da } from "./useChartAccessibility-9icAAmYg.js";
8
- import ya from "./Legend-DPfiRB9k.js";
9
- import { S as ga } from "./Slicer-B1l-hAKo.js";
10
- import ba from "./Title-SU7CQYnf.js";
11
- import { _ as fa } from "./Shape-DaS8m57N.js";
12
- import { u as ma } from "./useTimeLabels-Mrr0jrpL.js";
13
- import { _ as pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"], za = { key: 1 }, Ca = ["id"], _a = ["stop-color"], La = ["stop-color"], Sa = ["stop-color"], $a = ["x1", "x2", "y1", "y2", "stroke"], Ma = ["x1", "x2", "y1", "y2", "stroke"], Ta = ["x1", "x2", "y1", "y2", "stroke"], Na = ["x1", "x2", "y1", "y2", "stroke"], Ia = { key: 0 }, Oa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Ra = { key: 0 }, Pa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Aa = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Va = { key: 0 }, Fa = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ha = ["x", "y", "font-size", "fill", "font-weight"], Ba = ["transform", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ya = { key: 0 }, Ua = ["x", "y", "font-size", "font-weight", "fill"], Xa = ["x", "y", "font-size", "fill", "font-weight"], Ga = { key: 0 }, Ja = ["x", "y", "font-size", "font-weight", "fill"], qa = ["x1", "x2", "y1", "y2", "stroke"], Za = ["x", "y", "font-size", "font-weight", "fill"], Ka = ["x1", "x2", "y1", "y2", "stroke"], Qa = ["font-size", "font-weight", "fill", "text-anchor", "transform"], ja = { key: 0 }, el = { key: 1 }, tl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], al = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], ll = { key: 0 }, rl = { key: 1 }, ol = ["font-size", "font-weight", "fill", "x", "y", "onClick"], sl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], il = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], nl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ul = {
1
+ import { defineAsyncComponent as X, useSlots as Jt, computed as z, ref as p, onMounted as ot, watch as it, shallowRef as nt, onBeforeUnmount as qt, nextTick as fe, createElementBlock as n, openBlock as s, unref as y, normalizeStyle as G, normalizeClass as oe, createBlock as j, createCommentVNode as g, renderSlot as k, createElementVNode as J, createVNode as ie, createSlots as ut, withCtx as _, normalizeProps as D, guardReactiveProps as E, Fragment as v, renderList as f, mergeProps as Te, toDisplayString as M, createTextVNode as Zt } from "vue";
2
+ import { u as Kt, c as ct, t as Qt, p as me, a as jt, C as ee, b as ea, o as ta, e as ht, g as aa, d as la, al as pe, ai as vt, D as dt, X as ra, l as sa, a7 as xe, F as yt, i as ke, f as q, I as oa, am as ia, x as gt, q as na, r as ua, y as ca } from "./index-Bx_avyMs.js";
3
+ import { u as bt } from "./useNestedProp-DsLqa9JE.js";
4
+ import { t as ha, u as va } from "./useResponsive-DfdjqQps.js";
5
+ import { u as da } from "./usePrinter-BEk4BlKC.js";
6
+ import { u as ya } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as ga } from "./useChartAccessibility-9icAAmYg.js";
8
+ import ba from "./Legend-CjEhE5tg.js";
9
+ import { S as fa } from "./Slicer-7UFoB2Pk.js";
10
+ import ma from "./Title-hN8UEfjj.js";
11
+ import { _ as pa } from "./Shape-CF-SzYWd.js";
12
+ import { u as xa } from "./useTimeLabels-Mrr0jrpL.js";
13
+ import { _ as ka } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const wa = ["id"], za = ["xmlns", "viewBox"], La = ["x", "y", "width", "height"], Ca = { key: 1 }, _a = ["id"], Sa = ["stop-color"], $a = ["stop-color"], Ta = ["stop-color"], Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pa = { key: 0 }, Ra = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Va = { key: 0 }, Aa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Fa = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Da = { key: 0 }, Ea = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["x", "y", "font-size", "fill", "font-weight"], Wa = ["transform", "font-size", "fill", "font-weight"], Ya = ["x", "y", "font-size", "fill", "font-weight"], Xa = { key: 0 }, Ga = ["x", "y", "font-size", "font-weight", "fill"], Ja = ["x", "y", "font-size", "fill", "font-weight"], qa = { key: 0 }, Za = ["x", "y", "font-size", "font-weight", "fill"], Ka = ["x1", "x2", "y1", "y2", "stroke"], Qa = ["x", "y", "font-size", "font-weight", "fill"], ja = ["x1", "x2", "y1", "y2", "stroke"], el = ["font-size", "font-weight", "fill", "text-anchor", "transform"], tl = { key: 0 }, al = { key: 1 }, ll = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], rl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], sl = { key: 0 }, ol = { key: 1 }, il = ["font-size", "font-weight", "fill", "x", "y", "onClick"], nl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], ul = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], cl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], hl = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, cl = ["onClick"], vl = ["innerHTML"], hl = {
17
+ }, vl = ["onClick"], dl = ["innerHTML"], yl = {
18
18
  __name: "vue-ui-stackbar",
19
19
  props: {
20
20
  config: {
@@ -32,51 +32,52 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
32
32
  },
33
33
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
34
34
  setup(we, { expose: ft, emit: mt }) {
35
- const pt = X(() => import("./vue-ui-accordion-YrTS7w6l.js")), xt = X(() => import("./DataTable-BTMcFTt-.js")), kt = X(() => import("./PackageVersion-BcMsNWmF.js")), wt = X(() => import("./PenAndPaper-BzwWPvY0.js")), zt = X(() => import("./vue-ui-skeleton-B2qHPqH4.js")), Ct = X(() => import("./Tooltip-C6OCDrst.js")), _t = X(() => import("./UserOptions-hse40wiU.js")), { vue_ui_stackbar: Lt } = qt(), St = Xt(), f = we, ze = mt, Z = z({
35
+ const pt = X(() => import("./vue-ui-accordion-Bl3dCfLj.js")), xt = X(() => import("./DataTable-CjniJr_p.js")), kt = X(() => import("./PackageVersion-O8v3MCyb.js")), wt = X(() => import("./PenAndPaper-Dolgj6K1.js")), zt = X(() => import("./vue-ui-skeleton-DlBP_Guf.js")), Lt = X(() => import("./Tooltip-b8Cop9WD.js")), Ct = X(() => import("./UserOptions-B5jU6leO.js")), { vue_ui_stackbar: _t } = Kt(), St = Jt(), b = we, ze = mt, Z = z({
36
36
  get() {
37
- return !!f.dataset && f.dataset.length;
37
+ return !!b.dataset && b.dataset.length;
38
38
  },
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), ee = p(null), P = p(ct()), ie = p(!1), Ce = p(null), _e = p(""), S = p([]), Te = p(0), Ne = p(null), Ie = p(null), Oe = p(null), Re = p(null), Pe = p(0), ne = p(!1), te = p(null), H = p(!1), $t = p(0), Mt = p(0), Tt = p(0), K = p(null);
43
- st(() => {
42
+ }), te = p(null), R = p(ct()), ne = p(!1), Le = p(null), Ce = p(""), S = p([]), Me = p(0), Ne = p(null), Ie = p(null), Oe = p(null), Pe = p(null), Re = p(0), ue = p(!1), ae = p(null), H = p(!1), $t = p(0), Tt = p(0), Mt = p(0), K = p(null);
43
+ ot(() => {
44
44
  Se();
45
45
  });
46
46
  const e = z({
47
- get: () => Ee(),
47
+ get: () => De(),
48
48
  set: (a) => a
49
- }), { userOptionsVisible: Le, setUserOptionsVisibility: Ae, keepUserOptionState: Ve } = ha({ config: e.value }), { svgRef: Fe } = da({ config: e.value.style.chart.title });
50
- function Ee() {
49
+ }), { userOptionsVisible: _e, setUserOptionsVisibility: Ve, keepUserOptionState: Ae } = ya({ config: e.value }), { svgRef: Fe } = ga({ config: e.value.style.chart.title });
50
+ function De() {
51
51
  const a = bt({
52
- userConfig: f.config,
53
- defaultConfig: Lt
52
+ userConfig: b.config,
53
+ defaultConfig: _t
54
54
  });
55
55
  let r = {};
56
56
  return a.theme ? r = {
57
57
  ...bt({
58
- userConfig: Kt.vue_ui_stackbar[a.theme] || f.config,
58
+ userConfig: jt.vue_ui_stackbar[a.theme] || b.config,
59
59
  defaultConfig: a
60
60
  }),
61
- customPalette: Zt[a.theme] || fe
62
- } : r = a, f.config && me(f.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = f.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, f.config && me(f.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = f.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, f.config && me(f.config, "style.chart.zoom.startIndex") ? r.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : r.style.chart.zoom.startIndex = null, f.config && me(f.config, "style.chart.zoom.endIndex") ? r.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : r.style.chart.zoom.endIndex = null, r;
61
+ customPalette: Qt[a.theme] || me
62
+ } : r = a, b.config && ee(b.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = b.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, b.config && ee(b.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = b.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, b.config && ee(b.config, "style.chart.zoom.startIndex") ? r.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : r.style.chart.zoom.startIndex = null, b.config && ee(b.config, "style.chart.zoom.endIndex") ? r.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : r.style.chart.zoom.endIndex = null, b.config && ee(b.config, "style.chart.bars.dataLabels.hideUnderValue") ? r.style.chart.bars.dataLabels.hideUnderValue = b.config.style.chart.bars.dataLabels.hideUnderValue : r.style.chart.bars.dataLabels.hideUnderValue = null, b.config && ee(b.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? r.style.chart.bars.dataLabels.hideUnderPercentage = b.config.style.chart.bars.dataLabels.hideUnderPercentage : r.style.chart.bars.dataLabels.hideUnderPercentage = null, r;
63
63
  }
64
- it(() => f.config, (a) => {
65
- e.value = Ee(), Le.value = !e.value.userOptions.showOnChartHover, Se(), $t.value += 1, Mt.value += 1, Tt.value += 1, C.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
66
- }, { deep: !0 }), it(() => f.dataset, (a) => {
67
- Ue();
64
+ const Nt = z(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), It = z(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
65
+ it(() => b.config, (a) => {
66
+ e.value = De(), _e.value = !e.value.userOptions.showOnChartHover, Se(), $t.value += 1, Tt.value += 1, Mt.value += 1, L.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show;
67
+ }, { deep: !0 }), it(() => b.dataset, (a) => {
68
+ Ye();
68
69
  }, { deep: !0 });
69
- const C = p({
70
+ const L = p({
70
71
  dataLabels: {
71
72
  show: e.value.style.chart.bars.dataLabels.show
72
73
  },
73
74
  showTable: e.value.table.show,
74
75
  showTooltip: e.value.style.chart.tooltip.show
75
- }), { isPrinting: De, isImaging: He, generatePdf: Be, generateImage: We } = va({
76
- elementId: `stackbar_${P.value}`,
76
+ }), { isPrinting: Ee, isImaging: He, generatePdf: Ue, generateImage: Be } = da({
77
+ elementId: `stackbar_${R.value}`,
77
78
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
78
79
  options: e.value.userOptions.print
79
- }), ue = p({
80
+ }), ce = p({
80
81
  width: e.value.style.chart.width,
81
82
  height: e.value.style.chart.height,
82
83
  paddingRatio: {
@@ -85,20 +86,20 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
85
86
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
86
87
  left: e.value.style.chart.padding.left / e.value.style.chart.width
87
88
  }
88
- }), Nt = z(() => Qt(e.value.customPalette)), A = nt(null), Q = nt(null), Ye = p(null);
89
- st(() => {
89
+ }), Ot = z(() => ea(e.value.customPalette)), V = nt(null), Q = nt(null), We = p(null);
90
+ ot(() => {
90
91
  Se();
91
92
  });
92
93
  function Se() {
93
- if (jt(f.dataset) ? vt({
94
+ if (ta(b.dataset) ? ht({
94
95
  componentName: "VueUiStackbar",
95
96
  type: "dataset"
96
- }) : f.dataset.forEach((a, r) => {
97
- ea({
97
+ }) : b.dataset.forEach((a, r) => {
98
+ aa({
98
99
  datasetObject: a,
99
100
  requiredAttributes: ["name", "series"]
100
101
  }).forEach((t) => {
101
- Z.value = !1, vt({
102
+ Z.value = !1, ht({
102
103
  componentName: "VueUiStackbar",
103
104
  type: "datasetSerieAttribute",
104
105
  property: t,
@@ -108,42 +109,42 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
108
109
  }), setTimeout(() => {
109
110
  H.value = !0;
110
111
  }, 10), e.value.responsive) {
111
- const a = ua(() => {
112
+ const a = ha(() => {
112
113
  H.value = !1;
113
- const { width: r, height: t } = ca({
114
- chart: ee.value,
114
+ const { width: r, height: t } = va({
115
+ chart: te.value,
115
116
  title: e.value.style.chart.title.text ? Ne.value : null,
116
117
  legend: e.value.style.chart.legend.show ? Ie.value : null,
117
118
  slicer: e.value.style.chart.zoom.show && F.value > 1 ? Oe.value : null,
118
- source: Re.value
119
+ source: Pe.value
119
120
  });
120
121
  requestAnimationFrame(() => {
121
- ue.value.width = r, ue.value.height = t, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
122
+ ce.value.width = r, ce.value.height = t, clearTimeout(We.value), We.value = setTimeout(() => {
122
123
  H.value = !0;
123
124
  }, 10);
124
125
  });
125
126
  });
126
- A.value && (Q.value && A.value.unobserve(Q.value), A.value.disconnect()), A.value = new ResizeObserver(a), Q.value = ee.value.parentNode, A.value.observe(Q.value);
127
+ V.value && (Q.value && V.value.unobserve(Q.value), V.value.disconnect()), V.value = new ResizeObserver(a), Q.value = te.value.parentNode, V.value.observe(Q.value);
127
128
  }
128
129
  Xe();
129
130
  }
130
- Gt(() => {
131
- A.value && (Q.value && A.value.unobserve(Q.value), A.value.disconnect());
131
+ qt(() => {
132
+ V.value && (Q.value && V.value.unobserve(Q.value), V.value.disconnect());
132
133
  });
133
- const s = z(() => {
134
- const { height: a, width: r } = ue.value, { right: t } = ue.value.paddingRatio, l = e.value.style.chart.padding.top, c = r - r * t, u = a - e.value.style.chart.padding.bottom, _ = e.value.style.chart.padding.left, B = r - _ - r * t, W = a - l - e.value.style.chart.padding.bottom;
134
+ const o = z(() => {
135
+ const { height: a, width: r } = ce.value, { right: t } = ce.value.paddingRatio, l = e.value.style.chart.padding.top, c = r - r * t, u = a - e.value.style.chart.padding.bottom, C = e.value.style.chart.padding.left, U = r - C - r * t, B = a - l - e.value.style.chart.padding.bottom;
135
136
  return {
136
137
  chartHeight: a,
137
138
  chartWidth: r,
138
139
  top: l,
139
140
  right: c,
140
141
  bottom: u,
141
- left: _,
142
- width: B,
143
- height: W < 0 ? 0 : W
142
+ left: C,
143
+ width: U,
144
+ height: B < 0 ? 0 : B
144
145
  };
145
- }), V = z(() => f.dataset.map((a, r) => {
146
- const t = ta(a.color) || Nt.value[r] || fe[r] || fe[r % fe.length];
146
+ }), A = z(() => b.dataset.map((a, r) => {
147
+ const t = la(a.color) || Ot.value[r] || me[r] || me[r % me.length];
147
148
  return {
148
149
  ...a,
149
150
  // In distributed mode, all values are converted to positive
@@ -154,92 +155,92 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
154
155
  id: ct(),
155
156
  color: t
156
157
  };
157
- })), F = z(() => Math.max(...V.value.filter((a) => !S.value.includes(a.id)).map((a) => a.series.length))), v = p({
158
+ })), F = z(() => Math.max(...A.value.filter((a) => !S.value.includes(a.id)).map((a) => a.series.length))), h = p({
158
159
  start: 0,
159
- end: Math.max(...f.dataset.map((a) => a.series.length))
160
+ end: Math.max(...b.dataset.map((a) => a.series.length))
160
161
  });
161
- function Ue() {
162
+ function Ye() {
162
163
  Xe();
163
164
  }
164
165
  async function Xe() {
165
- (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && K.value ? (e.value.style.chart.zoom.startIndex !== null && (await be(), await be(), K.value && K.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await be(), await be(), K.value && K.value.setEndValue(It(e.value.style.chart.zoom.endIndex + 1)))) : (v.value = {
166
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && K.value ? (e.value.style.chart.zoom.startIndex !== null && (await fe(), await fe(), K.value && K.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await fe(), await fe(), K.value && K.value.setEndValue(Pt(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
166
167
  start: 0,
167
- end: Math.max(...f.dataset.map((a) => a.series.length))
168
- }, Pe.value += 1);
168
+ end: Math.max(...b.dataset.map((a) => a.series.length))
169
+ }, Re.value += 1);
169
170
  }
170
- function It(a) {
171
- const r = Math.max(...f.dataset.map((t) => t.series.length));
171
+ function Pt(a) {
172
+ const r = Math.max(...b.dataset.map((t) => t.series.length));
172
173
  return a > r ? r : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
173
174
  }
174
175
  const d = z(() => {
175
176
  let a;
176
- return e.value.orientation === "vertical" ? a = s.value.width / (v.value.end - v.value.start) : a = s.value.height / (v.value.end - v.value.start), a <= 0 ? 0 : a;
177
- }), ae = z(() => pe(V.value.filter((a) => !S.value.includes(a.id))).slice(v.value.start, v.value.end)), Ot = z(() => pe(V.value.filter((a) => !S.value.includes(a.id)).map((a) => ({
177
+ return e.value.orientation === "vertical" ? a = o.value.width / (h.value.end - h.value.start) : a = o.value.height / (h.value.end - h.value.start), a <= 0 ? 0 : a;
178
+ }), le = z(() => pe(A.value.filter((a) => !S.value.includes(a.id))).slice(h.value.start, h.value.end)), Rt = z(() => pe(A.value.filter((a) => !S.value.includes(a.id)).map((a) => ({
178
179
  ...a,
179
180
  series: a.series.map((r, t) => a.signedSeries[t] === -1 && r >= 0 ? -r : r)
180
- }))).slice(v.value.start, v.value.end)), ce = z(() => {
181
- const a = V.value.filter((r) => !S.value.includes(r.id));
181
+ }))).slice(h.value.start, h.value.end)), he = z(() => {
182
+ const a = A.value.filter((r) => !S.value.includes(r.id));
182
183
  return {
183
184
  positive: pe(a.map((r) => ({
184
185
  ...r,
185
- series: r.series.slice(v.value.start, v.value.end).map((t) => t >= 0 ? t : 0)
186
+ series: r.series.slice(h.value.start, h.value.end).map((t) => t >= 0 ? t : 0)
186
187
  }))),
187
188
  negative: pe(a.map((r) => ({
188
189
  ...r,
189
- series: r.series.slice(v.value.start, v.value.end).map((t) => t < 0 ? t : 0)
190
+ series: r.series.slice(h.value.start, h.value.end).map((t) => t < 0 ? t : 0)
190
191
  })))
191
192
  };
192
193
  }), O = z(() => {
193
- 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(...ce.value.positive), r = Math.min(...ce.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(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : dt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
194
+ 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(...he.value.positive), r = Math.min(...he.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(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? vt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : dt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
194
195
  return l.ticks.map((c) => ({
195
- zero: s.value.bottom - s.value.height * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
196
- y: s.value.bottom - s.value.height * ((c + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
197
- x: s.value.left - 8,
198
- horizontal_zero: s.value.left + s.value.width * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
199
- horizontal_x: s.value.left + s.value.width * ((c + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
200
- horizontal_y: s.value.bottom - 8,
196
+ zero: o.value.bottom - o.value.height * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
197
+ y: o.value.bottom - o.value.height * ((c + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
198
+ x: o.value.left - 8,
199
+ horizontal_zero: o.value.left + o.value.width * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
200
+ horizontal_x: o.value.left + o.value.width * ((c + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
201
+ horizontal_y: o.value.bottom - 8,
201
202
  value: c
202
203
  }));
203
- }), $ = z(() => ma({
204
+ }), $ = z(() => xa({
204
205
  values: e.value.style.chart.grid.x.timeLabels.values,
205
206
  maxDatapoints: F.value,
206
207
  formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
207
- start: v.value.start,
208
- end: v.value.end
208
+ start: h.value.start,
209
+ end: h.value.end
209
210
  })), w = z(() => {
210
211
  if (!Z.value) return [];
211
212
  let a = Array(F.value).fill(0), r = Array(F.value).fill(0), t = Array(F.value).fill(0), l = Array(F.value).fill(0);
212
- const c = Math.max(...ce.value.positive) || 0, u = Math.min(...ce.value.negative), _ = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, B = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, 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) : dt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, 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: W, max: le } = B, Y = le + (W >= 0 ? 0 : Math.abs(W)) || 1, M = s.value.height, ge = s.value.width, rt = O.value[0] ? O.value[0].zero : s.value.bottom, ot = O.value[0] ? O.value[0].horizontal_zero : s.value.left;
213
- return V.value.filter((re) => !S.value.includes(re.id)).map((re) => {
214
- const R = re.series.slice(v.value.start, v.value.end), Ft = re.signedSeries.slice(v.value.start, v.value.end), Et = R.map((m, x) => s.value.left + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Dt = R.map((m, x) => s.value.top + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Ht = R.map((m, x) => {
215
- const N = e.value.style.chart.bars.distributed ? (m || 0) / ae.value[x] : (m || 0) / Y;
216
- let U, I;
217
- return m > 0 ? (I = M * N, U = rt - I - a[x], a[x] += I) : (I = M * N, U = rt + t[x], t[x] += Math.abs(I)), U;
218
- }), Bt = R.map((m, x) => {
219
- const N = e.value.style.chart.bars.distributed ? (m || 0) / ae.value[x] : (m || 0) / Y;
220
- let U, I;
221
- return m > 0 ? (I = ge * N, U = ot + r[x], r[x] += I) : (I = ge * N, U = ot - Math.abs(I) - l[x], l[x] += Math.abs(I)), U;
222
- }), Wt = R.map((m, x) => {
223
- const N = e.value.style.chart.bars.distributed ? (m || 0) / ae.value[x] : (m || 0) / Y;
224
- return m > 0 ? M * N : M * Math.abs(N);
225
- }), Yt = R.map((m, x) => {
226
- const N = e.value.style.chart.bars.distributed ? (m || 0) / ae.value[x] : (m || 0) / Y;
227
- return m > 0 ? ge * N : ge * Math.abs(N);
228
- }), Ut = R.map((m) => Math.abs(m)).reduce((m, x) => m + x, 0);
213
+ const c = Math.max(...he.value.positive) || 0, u = Math.min(...he.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, U = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? vt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, 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) : dt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, 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: B, max: re } = U, W = re + (B >= 0 ? 0 : Math.abs(B)) || 1, T = o.value.height, be = o.value.width, rt = O.value[0] ? O.value[0].zero : o.value.bottom, st = O.value[0] ? O.value[0].horizontal_zero : o.value.left;
214
+ return A.value.filter((se) => !S.value.includes(se.id)).map((se) => {
215
+ const P = se.series.slice(h.value.start, h.value.end), Et = se.signedSeries.slice(h.value.start, h.value.end), Ht = P.map((m, x) => o.value.left + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Ut = P.map((m, x) => o.value.top + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Bt = P.map((m, x) => {
216
+ const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / W;
217
+ let Y, I;
218
+ return m > 0 ? (I = T * N, Y = rt - I - a[x], a[x] += I) : (I = T * N, Y = rt + t[x], t[x] += Math.abs(I)), Y;
219
+ }), Wt = P.map((m, x) => {
220
+ const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / W;
221
+ let Y, I;
222
+ return m > 0 ? (I = be * N, Y = st + r[x], r[x] += I) : (I = be * N, Y = st - Math.abs(I) - l[x], l[x] += Math.abs(I)), Y;
223
+ }), Yt = P.map((m, x) => {
224
+ const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / W;
225
+ return m > 0 ? T * N : T * Math.abs(N);
226
+ }), Xt = P.map((m, x) => {
227
+ const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / W;
228
+ return m > 0 ? be * N : be * Math.abs(N);
229
+ }), Gt = P.map((m) => Math.abs(m)).reduce((m, x) => m + x, 0);
229
230
  return {
230
- ...re,
231
- proportions: R.map((m, x) => e.value.style.chart.bars.distributed ? (m || 0) / ae.value[x] : (m || 0) / Ut),
232
- series: R,
233
- signedSeries: Ft,
234
- x: Et,
235
- y: Ht,
236
- height: Wt,
237
- horizontal_width: Yt,
238
- horizontal_y: Dt,
239
- horizontal_x: Bt
231
+ ...se,
232
+ proportions: P.map((m, x) => e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Gt),
233
+ series: P,
234
+ signedSeries: Et,
235
+ x: Ht,
236
+ y: Bt,
237
+ height: Yt,
238
+ horizontal_width: Xt,
239
+ horizontal_y: Ut,
240
+ horizontal_x: Wt
240
241
  };
241
242
  });
242
- }), Ge = z(() => Ot.value.map((a, r) => ({
243
+ }), Ge = z(() => Rt.value.map((a, r) => ({
243
244
  value: a,
244
245
  sign: a >= 0 ? 1 : -1
245
246
  })));
@@ -280,7 +281,7 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
280
281
  ze("selectDatapoint", { datapoint: r, period: $.value[a] });
281
282
  }
282
283
  function Ze(a) {
283
- te.value = a, ie.value = !0;
284
+ ae.value = a, ne.value = !0;
284
285
  const r = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(w.value)).map((c) => ({
285
286
  name: c.name,
286
287
  absoluteIndex: c.absoluteIndex,
@@ -289,20 +290,20 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
289
290
  color: c.color,
290
291
  id: c.id
291
292
  }));
292
- Ce.value = {
293
+ Le.value = {
293
294
  datapoint: t,
294
295
  seriesIndex: a,
295
296
  config: e.value,
296
297
  series: w.value
297
298
  };
298
299
  const l = t.map((c) => Math.abs(c.value)).reduce((c, u) => c + u, 0);
299
- if (gt(r) && na(() => r({
300
+ if (gt(r) && ca(() => r({
300
301
  seriesIndex: a,
301
302
  datapoint: t,
302
303
  series: w.value,
303
304
  config: e.value
304
305
  })))
305
- _e.value = r({
306
+ Ce.value = r({
306
307
  seriesIndex: a,
307
308
  datapoint: t,
308
309
  series: w.value,
@@ -312,49 +313,49 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
312
313
  const {
313
314
  showValue: c,
314
315
  showPercentage: u,
315
- borderColor: _,
316
- roundingValue: B,
317
- roundingPercentage: W
316
+ borderColor: C,
317
+ roundingValue: U,
318
+ roundingPercentage: B
318
319
  } = e.value.style.chart.tooltip;
319
- let le = "";
320
- $.value[a] && $.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (le += `<div style="width:100%;text-align:center;border-bottom:1px solid ${_};padding-bottom:6px;margin-bottom:3px;">${$.value[a].text}</div>`);
321
- const Y = [
320
+ let re = "";
321
+ $.value[a] && $.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (re += `<div style="width:100%;text-align:center;border-bottom:1px solid ${C};padding-bottom:6px;margin-bottom:3px;">${$.value[a].text}</div>`);
322
+ const W = [
322
323
  c && u ? "(" : "",
323
324
  c && u ? ")" : ""
324
325
  ];
325
- t.reverse().forEach((M) => {
326
- le += `
326
+ t.reverse().forEach((T) => {
327
+ re += `
327
328
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
328
- <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_${M.id})` : M.color}"/>${St.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${P.value}_${M.absoluteIndex})"/>` : ""}</svg>
329
- ${M.name}${c || u ? ":" : ""} ${c ? q({
329
+ <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_${T.id})` : T.color}"/>${St.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${R.value}_${T.absoluteIndex})"/>` : ""}</svg>
330
+ ${T.name}${c || u ? ":" : ""} ${c ? q({
330
331
  p: e.value.style.chart.bars.dataLabels.prefix,
331
- v: M.value,
332
+ v: T.value,
332
333
  s: e.value.style.chart.bars.dataLabels.suffix,
333
- r: B
334
- }) : ""} ${Y[0]}${u ? q({
335
- v: isNaN(M.value / l) ? 0 : Math.abs(M.value) / l * 100,
334
+ r: U
335
+ }) : ""} ${W[0]}${u ? q({
336
+ v: isNaN(T.value / l) ? 0 : Math.abs(T.value) / l * 100,
336
337
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
337
338
  s: "%",
338
- r: W
339
- }) : ""}${Y[1]}
339
+ r: B
340
+ }) : ""}${W[1]}
340
341
  </div>
341
342
  `;
342
- }), _e.value = `<div>${le}</div>`;
343
+ }), Ce.value = `<div>${re}</div>`;
343
344
  }
344
345
  }
345
- function Rt(a) {
346
- ne.value = a, Te.value += 1;
346
+ function Vt(a) {
347
+ ue.value = a, Me.value += 1;
347
348
  }
348
349
  function Ke() {
349
- C.value.showTable = !C.value.showTable;
350
+ L.value.showTable = !L.value.showTable;
350
351
  }
351
352
  function Qe() {
352
- C.value.dataLabels.show = !C.value.dataLabels.show;
353
+ L.value.dataLabels.show = !L.value.dataLabels.show;
353
354
  }
354
355
  function je() {
355
- C.value.showTooltip = !C.value.showTooltip;
356
+ L.value.showTooltip = !L.value.showTooltip;
356
357
  }
357
- function Pt() {
358
+ function At() {
358
359
  return w.value;
359
360
  }
360
361
  const et = z(() => {
@@ -365,21 +366,21 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
365
366
  })), r = [];
366
367
  return $.value.forEach((t) => {
367
368
  const l = [e.value.style.chart.grid.x.timeLabels.values[t.absoluteIndex] ? t.text : i + 1];
368
- V.value.forEach((c) => {
369
+ A.value.forEach((c) => {
369
370
  l.push(Number((c.series[t.absoluteIndex] || 0).toFixed(e.value.table.td.roundingValue)));
370
371
  }), r.push(l);
371
372
  }), { head: a, body: r };
372
373
  });
373
374
  function tt(a = null) {
374
- const r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...et.value.head.map((_) => _.label)], l = et.value.body, c = r.concat([t]).concat(l), u = sa(c);
375
- a ? a(u) : ia({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
375
+ const r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...et.value.head.map((C) => C.label)], l = et.value.body, c = r.concat([t]).concat(l), u = na(c);
376
+ a ? a(u) : ua({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
376
377
  }
377
- const he = z(() => {
378
+ const de = z(() => {
378
379
  const a = [""].concat(w.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>');
379
380
  let r = [];
380
381
  for (let c = 0; c < F.value; c += 1) {
381
- const u = w.value.map((_) => _.series[c] ?? 0).reduce((_, B) => _ + B, 0);
382
- r.push([e.value.style.chart.grid.x.timeLabels.values.slice(v.value.start, v.value.end)[c] ? $.value[c].text : c + 1].concat(w.value.map((_) => (_.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
382
+ const u = w.value.map((C) => C.series[c] ?? 0).reduce((C, U) => C + U, 0);
383
+ r.push([e.value.style.chart.grid.x.timeLabels.values.slice(h.value.start, h.value.end)[c] ? $.value[c].text : c + 1].concat(w.value.map((C) => (C.series[c] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
383
384
  }
384
385
  const t = {
385
386
  th: {
@@ -394,36 +395,36 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
394
395
  },
395
396
  breakpoint: e.value.table.responsiveBreakpoint
396
397
  }, l = [e.value.table.columnNames.period].concat(w.value.map((c) => c.name)).concat(e.value.table.columnNames.total);
397
- return { head: a, body: r.slice(0, v.value.end - v.value.start), config: t, colNames: l };
398
+ return { head: a, body: r.slice(0, h.value.end - h.value.start), config: t, colNames: l };
398
399
  });
399
- function At(a, r) {
400
+ function Ft(a, r) {
400
401
  if (ze("selectLegend", w.value.find((t) => t.absoluteIndex === a)), S.value.includes(r.id))
401
402
  S.value = S.value.filter((t) => t !== r.id);
402
403
  else {
403
- if (S.value.length === V.value.length - 1) return;
404
+ if (S.value.length === A.value.length - 1) return;
404
405
  S.value.push(r.id);
405
406
  }
406
407
  }
407
- const at = z(() => V.value.map((a, r) => ({
408
+ const at = z(() => A.value.map((a, r) => ({
408
409
  ...a,
409
410
  shape: "square"
410
411
  })).map((a) => ({
411
412
  ...a,
412
413
  opacity: S.value.includes(a.id) ? 0.5 : 1,
413
- segregate: () => At(a.absoluteIndex, a),
414
+ segregate: () => Ft(a.absoluteIndex, a),
414
415
  isSegregated: S.value.includes(a.id)
415
- }))), Vt = z(() => ({
416
+ }))), Dt = z(() => ({
416
417
  cy: "stackbar-legend",
417
418
  backgroundColor: e.value.style.chart.legend.backgroundColor,
418
419
  color: e.value.style.chart.legend.color,
419
420
  fontSize: e.value.style.chart.legend.fontSize,
420
421
  paddingBottom: 12,
421
422
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
422
- })), de = p(!1);
423
+ })), ye = p(!1);
423
424
  function $e() {
424
- de.value = !de.value;
425
+ ye.value = !ye.value;
425
426
  }
426
- function ye(a, r) {
427
+ function ge(a, r) {
427
428
  const t = JSON.parse(JSON.stringify(w.value)).map((l) => ({
428
429
  name: l.name,
429
430
  value: l.series[r] === 0 ? 0 : (l.signedSeries[r] === -1 && l.series[r] >= 0 ? -l.series[r] : l.series[r]) || null,
@@ -438,42 +439,42 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
438
439
  });
439
440
  }
440
441
  function lt(a, r) {
441
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
442
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? It.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : Nt.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
442
443
  }
443
444
  return ft({
444
- getData: Pt,
445
- generatePdf: Be,
445
+ getData: At,
446
+ generatePdf: Ue,
446
447
  generateCsv: tt,
447
- generateImage: We,
448
+ generateImage: Be,
448
449
  toggleTable: Ke,
449
450
  toggleLabels: Qe,
450
451
  toggleTooltip: je,
451
452
  toggleAnnotator: $e
452
- }), (a, r) => (o(), n("div", {
453
- id: `stackbar_${P.value}`,
453
+ }), (a, r) => (s(), n("div", {
454
+ id: `stackbar_${R.value}`,
454
455
  ref_key: "stackbarChart",
455
- ref: ee,
456
- class: oe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ne.value }),
456
+ ref: te,
457
+ class: oe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ue.value }),
457
458
  style: G(`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%" : ""}`),
458
- onMouseenter: r[6] || (r[6] = () => y(Ae)(!0)),
459
- onMouseleave: r[7] || (r[7] = () => y(Ae)(!1))
459
+ onMouseenter: r[6] || (r[6] = () => y(Ve)(!0)),
460
+ onMouseleave: r[7] || (r[7] = () => y(Ve)(!1))
460
461
  }, [
461
- e.value.userOptions.buttons.annotator ? (o(), j(y(wt), {
462
+ e.value.userOptions.buttons.annotator ? (s(), j(y(wt), {
462
463
  key: 0,
463
464
  svgRef: y(Fe),
464
465
  backgroundColor: e.value.style.chart.backgroundColor,
465
466
  color: e.value.style.chart.color,
466
- active: de.value,
467
+ active: ye.value,
467
468
  onClose: $e
468
469
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
469
470
  k(a.$slots, "userConfig", {}, void 0, !0),
470
- e.value.style.chart.title.text ? (o(), n("div", {
471
+ e.value.style.chart.title.text ? (s(), n("div", {
471
472
  key: 1,
472
473
  ref_key: "chartTitle",
473
474
  ref: Ne,
474
475
  style: "width:100%;background:transparent;padding-bottom:24px"
475
476
  }, [
476
- se(ba, {
477
+ ie(ma, {
477
478
  config: {
478
479
  title: {
479
480
  cy: "stackbar-title",
@@ -486,14 +487,14 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
486
487
  }
487
488
  }, null, 8, ["config"])
488
489
  ], 512)) : g("", !0),
489
- e.value.userOptions.show && Z.value && (y(Ve) || y(Le)) ? (o(), j(y(_t), {
490
+ e.value.userOptions.show && Z.value && (y(Ae) || y(_e)) ? (s(), j(y(Ct), {
490
491
  ref: "details",
491
- key: `user_option_${Te.value}`,
492
+ key: `user_option_${Me.value}`,
492
493
  backgroundColor: e.value.style.chart.backgroundColor,
493
494
  color: e.value.style.chart.color,
494
- isPrinting: y(De),
495
+ isPrinting: y(Ee),
495
496
  isImaging: y(He),
496
- uid: P.value,
497
+ uid: R.value,
497
498
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
498
499
  hasPdf: e.value.userOptions.buttons.pdf,
499
500
  hasImg: e.value.userOptions.buttons.img,
@@ -501,113 +502,113 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
501
502
  hasTable: e.value.userOptions.buttons.table,
502
503
  hasLabel: e.value.userOptions.buttons.labels,
503
504
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
504
- isFullscreen: ne.value,
505
- chartElement: ee.value,
505
+ isFullscreen: ue.value,
506
+ chartElement: te.value,
506
507
  position: e.value.userOptions.position,
507
- isTooltip: C.value.showTooltip,
508
+ isTooltip: L.value.showTooltip,
508
509
  titles: { ...e.value.userOptions.buttonTitles },
509
510
  hasAnnotator: e.value.userOptions.buttons.annotator,
510
- isAnnotation: de.value,
511
+ isAnnotation: ye.value,
511
512
  callbacks: e.value.userOptions.callbacks,
512
- onToggleFullscreen: Rt,
513
- onGeneratePdf: y(Be),
513
+ onToggleFullscreen: Vt,
514
+ onGeneratePdf: y(Ue),
514
515
  onGenerateCsv: tt,
515
- onGenerateImage: y(We),
516
+ onGenerateImage: y(Be),
516
517
  onToggleTable: Ke,
517
518
  onToggleLabels: Qe,
518
519
  onToggleTooltip: je,
519
520
  onToggleAnnotator: $e,
520
521
  style: G({
521
- visibility: y(Ve) ? y(Le) ? "visible" : "hidden" : "visible"
522
+ visibility: y(Ae) ? y(_e) ? "visible" : "hidden" : "visible"
522
523
  })
523
524
  }, ut({ _: 2 }, [
524
525
  a.$slots.menuIcon ? {
525
526
  name: "menuIcon",
526
- fn: L(({ isOpen: t, color: l }) => [
527
- k(a.$slots, "menuIcon", E(D({ isOpen: t, color: l })), void 0, !0)
527
+ fn: _(({ isOpen: t, color: l }) => [
528
+ k(a.$slots, "menuIcon", D(E({ isOpen: t, color: l })), void 0, !0)
528
529
  ]),
529
530
  key: "0"
530
531
  } : void 0,
531
532
  a.$slots.optionTooltip ? {
532
533
  name: "optionTooltip",
533
- fn: L(() => [
534
+ fn: _(() => [
534
535
  k(a.$slots, "optionTooltip", {}, void 0, !0)
535
536
  ]),
536
537
  key: "1"
537
538
  } : void 0,
538
539
  a.$slots.optionPdf ? {
539
540
  name: "optionPdf",
540
- fn: L(() => [
541
+ fn: _(() => [
541
542
  k(a.$slots, "optionPdf", {}, void 0, !0)
542
543
  ]),
543
544
  key: "2"
544
545
  } : void 0,
545
546
  a.$slots.optionCsv ? {
546
547
  name: "optionCsv",
547
- fn: L(() => [
548
+ fn: _(() => [
548
549
  k(a.$slots, "optionCsv", {}, void 0, !0)
549
550
  ]),
550
551
  key: "3"
551
552
  } : void 0,
552
553
  a.$slots.optionImg ? {
553
554
  name: "optionImg",
554
- fn: L(() => [
555
+ fn: _(() => [
555
556
  k(a.$slots, "optionImg", {}, void 0, !0)
556
557
  ]),
557
558
  key: "4"
558
559
  } : void 0,
559
560
  a.$slots.optionTable ? {
560
561
  name: "optionTable",
561
- fn: L(() => [
562
+ fn: _(() => [
562
563
  k(a.$slots, "optionTable", {}, void 0, !0)
563
564
  ]),
564
565
  key: "5"
565
566
  } : void 0,
566
567
  a.$slots.optionLabels ? {
567
568
  name: "optionLabels",
568
- fn: L(() => [
569
+ fn: _(() => [
569
570
  k(a.$slots, "optionLabels", {}, void 0, !0)
570
571
  ]),
571
572
  key: "6"
572
573
  } : void 0,
573
574
  a.$slots.optionFullscreen ? {
574
575
  name: "optionFullscreen",
575
- fn: L(({ toggleFullscreen: t, isFullscreen: l }) => [
576
- k(a.$slots, "optionFullscreen", E(D({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
576
+ fn: _(({ toggleFullscreen: t, isFullscreen: l }) => [
577
+ k(a.$slots, "optionFullscreen", D(E({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
577
578
  ]),
578
579
  key: "7"
579
580
  } : void 0,
580
581
  a.$slots.optionAnnotator ? {
581
582
  name: "optionAnnotator",
582
- fn: L(({ toggleAnnotator: t, isAnnotator: l }) => [
583
- k(a.$slots, "optionAnnotator", E(D({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
583
+ fn: _(({ toggleAnnotator: t, isAnnotator: l }) => [
584
+ k(a.$slots, "optionAnnotator", D(E({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
584
585
  ]),
585
586
  key: "8"
586
587
  } : void 0
587
588
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
588
- Z.value ? (o(), n("svg", {
589
+ Z.value ? (s(), n("svg", {
589
590
  key: 3,
590
591
  ref_key: "svgRef",
591
592
  ref: Fe,
592
- xmlns: y(aa),
593
- viewBox: `0 0 ${s.value.chartWidth <= 0 ? 10 : s.value.chartWidth} ${s.value.chartHeight <= 0 ? 10 : s.value.chartHeight}`,
593
+ xmlns: y(ra),
594
+ viewBox: `0 0 ${o.value.chartWidth <= 0 ? 10 : o.value.chartWidth} ${o.value.chartHeight <= 0 ? 10 : o.value.chartHeight}`,
594
595
  style: G(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
595
596
  }, [
596
- se(y(kt)),
597
- a.$slots["chart-background"] ? (o(), n("foreignObject", {
597
+ ie(y(kt)),
598
+ a.$slots["chart-background"] ? (s(), n("foreignObject", {
598
599
  key: 0,
599
- x: s.value.left,
600
- y: s.value.top,
601
- width: s.value.width <= 0 ? 10 : s.value.width,
602
- height: s.value.height <= 0 ? 10 : s.value.height,
600
+ x: o.value.left,
601
+ y: o.value.top,
602
+ width: o.value.width <= 0 ? 10 : o.value.width,
603
+ height: o.value.height <= 0 ? 10 : o.value.height,
603
604
  style: {
604
605
  pointerEvents: "none"
605
606
  }
606
607
  }, [
607
608
  k(a.$slots, "chart-background", {}, void 0, !0)
608
- ], 8, wa)) : g("", !0),
609
- e.value.style.chart.bars.gradient.show ? (o(), n("defs", za, [
610
- (o(!0), n(h, null, b(w.value, (t, l) => (o(), n("linearGradient", {
609
+ ], 8, La)) : g("", !0),
610
+ e.value.style.chart.bars.gradient.show ? (s(), n("defs", Ca, [
611
+ (s(!0), n(v, null, f(w.value, (t, l) => (s(), n("linearGradient", {
611
612
  id: `gradient_${t.id}`,
612
613
  x1: "0%",
613
614
  y1: "0%",
@@ -617,59 +618,63 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
617
618
  J("stop", {
618
619
  offset: "0%",
619
620
  "stop-color": t.color
620
- }, null, 8, _a),
621
+ }, null, 8, Sa),
621
622
  J("stop", {
622
623
  offset: "61.8%",
623
- "stop-color": y(la)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
624
- }, null, 8, La),
624
+ "stop-color": y(sa)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
625
+ }, null, 8, $a),
625
626
  J("stop", {
626
627
  offset: "100%",
627
628
  "stop-color": t.color
628
- }, null, 8, Sa)
629
- ], 8, Ca))), 256))
629
+ }, null, 8, Ta)
630
+ ], 8, _a))), 256))
630
631
  ])) : g("", !0),
631
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (o(!0), n(h, { key: 2 }, b(O.value, (t, l) => (o(), n("line", {
632
- x1: s.value.left,
633
- x2: s.value.right,
632
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (s(!0), n(v, { key: 2 }, f(O.value, (t, l) => (s(), n("line", {
633
+ x1: o.value.left,
634
+ x2: o.value.right,
634
635
  y1: t.y,
635
636
  y2: t.y,
636
- stroke: e.value.style.chart.grid.x.axisColor,
637
- "stroke-width": 1,
638
- "stroke-linecap": "round"
639
- }, null, 8, $a))), 256)) : g("", !0),
640
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), n(h, { key: 3 }, b(v.value.end - v.value.start + 1, (t, l) => (o(), n("line", {
641
- x1: s.value.left,
642
- x2: s.value.right,
643
- y1: s.value.top + d.value * l,
644
- y2: s.value.top + d.value * l,
645
- stroke: e.value.style.chart.grid.y.axisColor,
646
- "stroke-width": 1,
637
+ stroke: e.value.style.chart.grid.x.linesColor,
638
+ "stroke-width": e.value.style.chart.grid.x.linesThickness,
639
+ "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
647
640
  "stroke-linecap": "round"
648
641
  }, null, 8, Ma))), 256)) : g("", !0),
649
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (o(!0), n(h, { key: 4 }, b(v.value.end - v.value.start + 1, (t, l) => (o(), n("line", {
650
- x1: s.value.left + d.value * l,
651
- x2: s.value.left + d.value * l,
652
- y1: s.value.top,
653
- y2: s.value.bottom,
654
- stroke: e.value.style.chart.grid.y.axisColor,
655
- "stroke-width": 1,
642
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), n(v, { key: 3 }, f(h.value.end - h.value.start + 1, (t, l) => (s(), n("line", {
643
+ x1: o.value.left,
644
+ x2: o.value.right,
645
+ y1: o.value.top + d.value * l,
646
+ y2: o.value.top + d.value * l,
647
+ stroke: e.value.style.chart.grid.x.linesColor,
648
+ "stroke-width": e.value.style.chart.grid.x.linesThickness,
649
+ "stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
650
+ "stroke-linecap": "round"
651
+ }, null, 8, Na))), 256)) : g("", !0),
652
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (s(!0), n(v, { key: 4 }, f(h.value.end - h.value.start + 1, (t, l) => (s(), n("line", {
653
+ x1: o.value.left + d.value * l,
654
+ x2: o.value.left + d.value * l,
655
+ y1: o.value.top,
656
+ y2: o.value.bottom,
657
+ stroke: e.value.style.chart.grid.y.linesColor,
658
+ "stroke-width": e.value.style.chart.grid.y.linesThickness,
659
+ "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
656
660
  "stroke-linecap": "round"
657
- }, null, 8, Ta))), 256)) : g("", !0),
658
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), n(h, { key: 5 }, b(O.value, (t, l) => (o(), n("line", {
661
+ }, null, 8, Ia))), 256)) : g("", !0),
662
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (s(!0), n(v, { key: 5 }, f(O.value, (t, l) => (s(), n("line", {
659
663
  x1: t.horizontal_x,
660
664
  x2: t.horizontal_x,
661
- y1: s.value.top,
662
- y2: s.value.bottom,
663
- stroke: e.value.style.chart.grid.x.axisColor,
664
- "stroke-width": 1,
665
+ y1: o.value.top,
666
+ y2: o.value.bottom,
667
+ stroke: e.value.style.chart.grid.y.linesColor,
668
+ "stroke-width": e.value.style.chart.grid.y.linesThickness,
669
+ "stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
665
670
  "stroke-linecap": "round"
666
- }, null, 8, Na))), 256)) : g("", !0),
667
- (o(!0), n(h, null, b(w.value, (t, l) => (o(), n("g", null, [
668
- a.$slots.pattern ? (o(), n("defs", Ia, [
669
- k(a.$slots, "pattern", Me({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${P.value}_${t.absoluteIndex}` }), void 0, !0)
671
+ }, null, 8, Oa))), 256)) : g("", !0),
672
+ (s(!0), n(v, null, f(w.value, (t, l) => (s(), n("g", null, [
673
+ a.$slots.pattern ? (s(), n("defs", Pa, [
674
+ k(a.$slots, "pattern", Te({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${R.value}_${t.absoluteIndex}` }), void 0, !0)
670
675
  ])) : g("", !0),
671
- e.value.orientation === "vertical" ? (o(), n(h, { key: 1 }, [
672
- (o(!0), n(h, null, b(t.x, (c, u) => (o(), n("rect", {
676
+ e.value.orientation === "vertical" ? (s(), n(v, { key: 1 }, [
677
+ (s(!0), n(v, null, f(t.x, (c, u) => (s(), n("rect", {
673
678
  x: c,
674
679
  y: t.y[u] < 0 ? 0 : t.y[u],
675
680
  height: t.height[u] < 0 ? 1e-4 : t.height[u] || 0,
@@ -681,25 +686,25 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
681
686
  "stroke-linecap": "round",
682
687
  "stroke-linejoin": "round",
683
688
  class: oe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": H.value })
684
- }, null, 10, Oa))), 256)),
685
- a.$slots.pattern ? (o(), n("g", Ra, [
686
- (o(!0), n(h, null, b(t.x, (c, u) => (o(), n("rect", {
689
+ }, null, 10, Ra))), 256)),
690
+ a.$slots.pattern ? (s(), n("g", Va, [
691
+ (s(!0), n(v, null, f(t.x, (c, u) => (s(), n("rect", {
687
692
  x: c,
688
693
  y: t.y[u] < 0 ? 0 : t.y[u],
689
694
  height: t.height[u] < 0 ? 1e-4 : t.height[u] || 0,
690
695
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
691
696
  width: d.value * (1 - e.value.style.chart.bars.gapRatio / 2),
692
- fill: `url(#pattern_${P.value}_${t.absoluteIndex})`,
697
+ fill: `url(#pattern_${R.value}_${t.absoluteIndex})`,
693
698
  stroke: e.value.style.chart.backgroundColor,
694
699
  "stroke-width": e.value.style.chart.bars.strokeWidth,
695
700
  "stroke-linecap": "round",
696
701
  "stroke-linejoin": "round",
697
702
  class: oe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": H.value })
698
- }, null, 10, Pa))), 256))
703
+ }, null, 10, Aa))), 256))
699
704
  ])) : g("", !0)
700
- ], 64)) : (o(), n(h, { key: 2 }, [
701
- (o(!0), n(h, null, b(t.horizontal_x, (c, u) => (o(), n("rect", {
702
- x: y(xe)(c, s.value.left),
705
+ ], 64)) : (s(), n(v, { key: 2 }, [
706
+ (s(!0), n(v, null, f(t.horizontal_x, (c, u) => (s(), n("rect", {
707
+ x: y(xe)(c, o.value.left),
703
708
  y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
704
709
  width: y(xe)(t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]),
705
710
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
@@ -710,67 +715,67 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
710
715
  "stroke-linecap": "round",
711
716
  "stroke-linejoin": "round",
712
717
  class: oe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": H.value })
713
- }, null, 10, Aa))), 256)),
714
- a.$slots.pattern ? (o(), n("g", Va, [
715
- (o(!0), n(h, null, b(t.horizontal_x, (c, u) => (o(), n("rect", {
716
- x: y(xe)(c, s.value.left),
718
+ }, null, 10, Fa))), 256)),
719
+ a.$slots.pattern ? (s(), n("g", Da, [
720
+ (s(!0), n(v, null, f(t.horizontal_x, (c, u) => (s(), n("rect", {
721
+ x: y(xe)(c, o.value.left),
717
722
  y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
718
723
  width: y(xe)(t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]),
719
724
  rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
720
725
  height: d.value * (1 - e.value.style.chart.bars.gapRatio / 2),
721
- fill: `url(#pattern_${P.value}_${t.absoluteIndex})`,
726
+ fill: `url(#pattern_${R.value}_${t.absoluteIndex})`,
722
727
  stroke: e.value.style.chart.backgroundColor,
723
728
  "stroke-width": e.value.style.chart.bars.strokeWidth,
724
729
  "stroke-linecap": "round",
725
730
  "stroke-linejoin": "round",
726
731
  class: oe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": H.value })
727
- }, null, 10, Fa))), 256))
732
+ }, null, 10, Ea))), 256))
728
733
  ])) : g("", !0)
729
734
  ], 64))
730
735
  ]))), 256)),
731
- e.value.style.chart.grid.x.showAxis ? (o(), n("line", {
736
+ e.value.style.chart.grid.x.showAxis ? (s(), n("line", {
732
737
  key: 6,
733
- x1: s.value.left,
734
- x2: s.value.right,
735
- y1: s.value.bottom,
736
- y2: s.value.bottom,
738
+ x1: o.value.left,
739
+ x2: o.value.right,
740
+ y1: o.value.bottom,
741
+ y2: o.value.bottom,
737
742
  stroke: e.value.style.chart.grid.x.axisColor,
738
743
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
739
744
  "stroke-linecap": "round",
740
745
  "stroke-linejoin": "round"
741
- }, null, 8, Ea)) : g("", !0),
742
- e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (o(), n("line", {
746
+ }, null, 8, Ha)) : g("", !0),
747
+ e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (s(), n("line", {
743
748
  key: 7,
744
- x1: s.value.left,
745
- x2: s.value.left,
746
- y1: s.value.top,
747
- y2: s.value.bottom,
749
+ x1: o.value.left,
750
+ x2: o.value.left,
751
+ y1: o.value.top,
752
+ y2: o.value.bottom,
748
753
  stroke: e.value.style.chart.grid.y.axisColor,
749
754
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
750
755
  "stroke-linecap": "round",
751
756
  "stroke-linejoin": "round"
752
- }, null, 8, Da)) : g("", !0),
753
- e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (o(), n("text", {
757
+ }, null, 8, Ua)) : g("", !0),
758
+ e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (s(), n("text", {
754
759
  key: 8,
755
- x: s.value.left + s.value.width / 2,
756
- y: s.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
760
+ x: o.value.left + o.value.width / 2,
761
+ y: o.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
757
762
  "font-size": e.value.style.chart.grid.x.axisName.fontSize,
758
763
  fill: e.value.style.chart.grid.x.axisName.color,
759
764
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
760
765
  "text-anchor": "middle"
761
- }, T(e.value.style.chart.grid.x.axisName.text), 9, Ha)) : g("", !0),
762
- e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (o(), n("text", {
766
+ }, M(e.value.style.chart.grid.x.axisName.text), 9, Ba)) : g("", !0),
767
+ e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (s(), n("text", {
763
768
  key: 9,
764
- transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
769
+ transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${o.value.top + o.value.height / 2}) rotate(-90)`,
765
770
  "font-size": e.value.style.chart.grid.y.axisName.fontSize,
766
771
  fill: e.value.style.chart.grid.y.axisName.color,
767
772
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
768
773
  "text-anchor": "middle"
769
- }, T(e.value.style.chart.grid.y.axisName.text), 9, Ba)) : g("", !0),
770
- C.value.dataLabels.show && e.value.orientation === "vertical" ? (o(), n(h, { key: 10 }, [
771
- (o(!0), n(h, null, b(w.value, (t, l) => (o(), n("g", null, [
772
- (o(!0), n(h, null, b(t.x, (c, u) => (o(), n(h, null, [
773
- lt(t.series[u], t.proportions[u]) ? (o(), n("text", {
774
+ }, M(e.value.style.chart.grid.y.axisName.text), 9, Wa)) : g("", !0),
775
+ L.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), n(v, { key: 10 }, [
776
+ (s(!0), n(v, null, f(w.value, (t, l) => (s(), n("g", null, [
777
+ (s(!0), n(v, null, f(t.x, (c, u) => (s(), n(v, null, [
778
+ lt(t.series[u], t.proportions[u]) ? (s(), n("text", {
774
779
  key: 0,
775
780
  x: c + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
776
781
  y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -778,27 +783,27 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
778
783
  fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(yt)(t.color) : e.value.style.chart.bars.dataLabels.color,
779
784
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
780
785
  "text-anchor": "middle"
781
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Je(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Wa)) : g("", !0)
786
+ }, M(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Je(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Ya)) : g("", !0)
782
787
  ], 64))), 256))
783
788
  ]))), 256)),
784
- e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (o(), n("g", Ya, [
785
- (o(!0), n(h, null, b(Ge.value, (t, l) => (o(), n(h, null, [
786
- !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), n("text", {
789
+ e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (s(), n("g", Xa, [
790
+ (s(!0), n(v, null, f(Ge.value, (t, l) => (s(), n(v, null, [
791
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (s(), n("text", {
787
792
  key: 0,
788
- x: s.value.left + d.value * l + d.value / 2,
789
- y: s.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
793
+ x: o.value.left + d.value * l + d.value / 2,
794
+ y: o.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
790
795
  "text-anchor": "middle",
791
796
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
792
797
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
793
798
  fill: e.value.style.chart.bars.totalValues.color
794
- }, T(ve(t.value, t, l, t.sign)), 9, Ua)) : g("", !0)
799
+ }, M(ve(t.value, t, l, t.sign)), 9, Ga)) : g("", !0)
795
800
  ], 64))), 256))
796
801
  ])) : g("", !0)
797
802
  ], 64)) : g("", !0),
798
- C.value.dataLabels.show && e.value.orientation === "horizontal" ? (o(), n(h, { key: 11 }, [
799
- (o(!0), n(h, null, b(w.value, (t, l) => (o(), n("g", null, [
800
- (o(!0), n(h, null, b(t.horizontal_x, (c, u) => (o(), n(h, null, [
801
- lt(t.series[u], t.proportions[u]) ? (o(), n("text", {
803
+ L.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), n(v, { key: 11 }, [
804
+ (s(!0), n(v, null, f(w.value, (t, l) => (s(), n("g", null, [
805
+ (s(!0), n(v, null, f(t.horizontal_x, (c, u) => (s(), n(v, null, [
806
+ lt(t.series[u], t.proportions[u]) ? (s(), n("text", {
802
807
  key: 0,
803
808
  x: c + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
804
809
  y: t.horizontal_y[u] + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
@@ -806,40 +811,40 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
806
811
  fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(yt)(t.color) : e.value.style.chart.bars.dataLabels.color,
807
812
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
808
813
  "text-anchor": "middle"
809
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Je(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Xa)) : g("", !0)
814
+ }, M(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Je(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Ja)) : g("", !0)
810
815
  ], 64))), 256))
811
816
  ]))), 256)),
812
- e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (o(), n("g", Ga, [
813
- (o(!0), n(h, null, b(Ge.value, (t, l) => (o(), n(h, null, [
814
- !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), n("text", {
817
+ e.value.style.chart.bars.totalValues.show && w.value.length > 1 ? (s(), n("g", qa, [
818
+ (s(!0), n(v, null, f(Ge.value, (t, l) => (s(), n(v, null, [
819
+ !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (s(), n("text", {
815
820
  key: 0,
816
- x: s.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
817
- y: s.value.top + d.value * l + d.value / 2,
821
+ x: o.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
822
+ y: o.value.top + d.value * l + d.value / 2,
818
823
  "text-anchor": "start",
819
824
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
820
825
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
821
826
  fill: e.value.style.chart.bars.totalValues.color
822
- }, T(ve(t.value, t, l, t.sign)), 9, Ja)) : g("", !0)
827
+ }, M(ve(t.value, t, l, t.sign)), 9, Za)) : g("", !0)
823
828
  ], 64))), 256))
824
829
  ])) : g("", !0)
825
830
  ], 64)) : g("", !0),
826
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (o(), n(h, { key: 12 }, [
827
- (o(!0), n(h, null, b(O.value, (t, l) => (o(), n("line", {
828
- x1: s.value.left,
829
- x2: s.value.left - 6,
831
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (s(), n(v, { key: 12 }, [
832
+ (s(!0), n(v, null, f(O.value, (t, l) => (s(), n("line", {
833
+ x1: o.value.left,
834
+ x2: o.value.left - 6,
830
835
  y1: t.y,
831
836
  y2: t.y,
832
837
  stroke: e.value.style.chart.grid.x.axisColor,
833
838
  "stroke-width": 1
834
- }, null, 8, qa))), 256)),
835
- (o(!0), n(h, null, b(O.value, (t, l) => (o(), n("text", {
839
+ }, null, 8, Ka))), 256)),
840
+ (s(!0), n(v, null, f(O.value, (t, l) => (s(), n("text", {
836
841
  x: t.x,
837
842
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
838
843
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
839
844
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
840
845
  fill: e.value.style.chart.grid.y.axisLabels.color,
841
846
  "text-anchor": "end"
842
- }, T(y(ke)(
847
+ }, M(y(ke)(
843
848
  e.value.style.chart.grid.y.axisLabels.formatter,
844
849
  t.value,
845
850
  y(q)({
@@ -849,25 +854,25 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
849
854
  r: e.value.style.chart.grid.y.axisLabels.rounding
850
855
  }),
851
856
  { datapoint: t }
852
- )), 9, Za))), 256))
857
+ )), 9, Qa))), 256))
853
858
  ], 64)) : g("", !0),
854
- e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (o(), n(h, { key: 13 }, [
855
- (o(!0), n(h, null, b(O.value, (t, l) => (o(), n("line", {
859
+ e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (s(), n(v, { key: 13 }, [
860
+ (s(!0), n(v, null, f(O.value, (t, l) => (s(), n("line", {
856
861
  x1: t.horizontal_x,
857
862
  x2: t.horizontal_x,
858
- y1: s.value.bottom,
859
- y2: s.value.bottom + 6,
863
+ y1: o.value.bottom,
864
+ y2: o.value.bottom + 6,
860
865
  stroke: e.value.style.chart.grid.x.axisColor,
861
866
  "stroke-width": 1,
862
867
  "stroke-linecap": "round"
863
- }, null, 8, Ka))), 256)),
864
- (o(!0), n(h, null, b(O.value, (t, l) => (o(), n("text", {
868
+ }, null, 8, ja))), 256)),
869
+ (s(!0), n(v, null, f(O.value, (t, l) => (s(), n("text", {
865
870
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
866
871
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
867
872
  fill: e.value.style.chart.grid.y.axisLabels.color,
868
873
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
869
- transform: `translate(${t.horizontal_x}, ${s.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})`
870
- }, T(y(ke)(
874
+ transform: `translate(${t.horizontal_x}, ${o.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})`
875
+ }, M(y(ke)(
871
876
  e.value.style.chart.grid.y.axisLabels.formatter,
872
877
  t.value,
873
878
  y(q)({
@@ -877,66 +882,66 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
877
882
  r: e.value.style.chart.grid.y.axisLabels.rounding
878
883
  }),
879
884
  { datapoint: t }
880
- )), 9, Qa))), 256))
885
+ )), 9, el))), 256))
881
886
  ], 64)) : g("", !0),
882
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (o(), n(h, { key: 14 }, [
883
- a.$slots["time-label"] ? (o(), n("g", ja, [
884
- (o(!0), n(h, null, b($.value, (t, l) => (o(), n("g", null, [
885
- k(a.$slots, "time-label", Me({ ref_for: !0 }, {
886
- x: s.value.left + d.value * l + d.value / 2,
887
- y: s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
887
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(), n(v, { key: 14 }, [
888
+ a.$slots["time-label"] ? (s(), n("g", tl, [
889
+ (s(!0), n(v, null, f($.value, (t, l) => (s(), n("g", null, [
890
+ k(a.$slots, "time-label", Te({ ref_for: !0 }, {
891
+ x: o.value.left + d.value * l + d.value / 2,
892
+ y: o.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
888
893
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
889
894
  fill: e.value.style.chart.grid.x.timeLabels.color,
890
- transform: `translate(${s.value.left + d.value * l + d.value / 2}, ${s.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})`,
895
+ transform: `translate(${o.value.left + d.value * l + d.value / 2}, ${o.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})`,
891
896
  absoluteIndex: t.absoluteIndex,
892
897
  content: t.text,
893
898
  textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
894
899
  show: !0
895
900
  }), void 0, !0)
896
901
  ]))), 256))
897
- ])) : (o(), n("g", el, [
898
- (o(!0), n(h, null, b($.value, (t, l) => (o(), n("g", null, [
902
+ ])) : (s(), n("g", al, [
903
+ (s(!0), n(v, null, f($.value, (t, l) => (s(), n("g", null, [
899
904
  String(t.text).includes(`
900
- `) ? (o(), n("text", {
905
+ `) ? (s(), n("text", {
901
906
  key: l + "-multi",
902
907
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
903
908
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
904
909
  fill: e.value.style.chart.grid.x.timeLabels.color,
905
910
  transform: `
906
911
  translate(
907
- ${s.value.left + d.value * l + d.value / 2},
908
- ${s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
912
+ ${o.value.left + d.value * l + d.value / 2},
913
+ ${o.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
909
914
  ),
910
915
  rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
911
916
  `,
912
917
  style: { cursor: "pointer" },
913
- innerHTML: y(ra)({
918
+ innerHTML: y(oa)({
914
919
  content: String(t.text),
915
920
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
916
921
  fill: e.value.style.chart.grid.x.timeLabels.color,
917
922
  x: 0,
918
923
  y: 0
919
924
  }),
920
- onClick: () => ye(t, l)
921
- }, null, 8, al)) : (o(), n("text", {
925
+ onClick: () => ge(t, l)
926
+ }, null, 8, rl)) : (s(), n("text", {
922
927
  key: l,
923
928
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
924
929
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
925
930
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
926
931
  fill: e.value.style.chart.grid.x.timeLabels.color,
927
- transform: `translate(${s.value.left + d.value * l + d.value / 2}, ${s.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})`,
932
+ transform: `translate(${o.value.left + d.value * l + d.value / 2}, ${o.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})`,
928
933
  style: { cursor: "pointer" },
929
- onClick: () => ye(t, l)
930
- }, T(t.text), 9, tl))
934
+ onClick: () => ge(t, l)
935
+ }, M(t.text), 9, ll))
931
936
  ]))), 256))
932
937
  ]))
933
938
  ], 64)) : g("", !0),
934
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (o(), n(h, { key: 15 }, [
935
- a.$slots["time-label"] ? (o(), n("g", ll, [
936
- (o(!0), n(h, null, b($.value, (t, l) => (o(), n("g", null, [
937
- k(a.$slots, "time-label", Me({ ref_for: !0 }, {
938
- x: s.value.left - 8,
939
- y: s.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
939
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(), n(v, { key: 15 }, [
940
+ a.$slots["time-label"] ? (s(), n("g", sl, [
941
+ (s(!0), n(v, null, f($.value, (t, l) => (s(), n("g", null, [
942
+ k(a.$slots, "time-label", Te({ ref_for: !0 }, {
943
+ x: o.value.left - 8,
944
+ y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
940
945
  fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
941
946
  fill: e.value.style.chart.grid.x.timeLabels.color,
942
947
  transform: null,
@@ -946,74 +951,74 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
946
951
  show: !0
947
952
  }), void 0, !0)
948
953
  ]))), 256))
949
- ])) : (o(), n("g", rl, [
950
- (o(!0), n(h, null, b($.value, (t, l) => (o(), n("g", null, [
954
+ ])) : (s(), n("g", ol, [
955
+ (s(!0), n(v, null, f($.value, (t, l) => (s(), n("g", null, [
951
956
  String(t.text).includes(`
952
- `) ? (o(), n("text", {
957
+ `) ? (s(), n("text", {
953
958
  key: 1,
954
959
  "text-anchor": "end",
955
960
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
956
961
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
957
962
  fill: e.value.style.chart.grid.y.axisLabels.color,
958
- x: s.value.left - 8,
959
- y: s.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
963
+ x: o.value.left - 8,
964
+ y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
960
965
  style: { cursor: "pointer" },
961
- onClick: () => ye(t, l),
962
- innerHTML: y(oa)({
966
+ onClick: () => ge(t, l),
967
+ innerHTML: y(ia)({
963
968
  content: String(t.text),
964
969
  fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
965
970
  fill: e.value.style.chart.grid.y.axisLabels.color,
966
- x: s.value.left - 8,
971
+ x: o.value.left - 8,
967
972
  y: 0
968
973
  })
969
- }, null, 8, sl)) : (o(), n("text", {
974
+ }, null, 8, nl)) : (s(), n("text", {
970
975
  key: 0,
971
976
  "text-anchor": "end",
972
977
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
973
978
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
974
979
  fill: e.value.style.chart.grid.y.axisLabels.color,
975
- x: s.value.left - 8,
976
- y: s.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
980
+ x: o.value.left - 8,
981
+ y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
977
982
  style: {
978
983
  cursor: "pointer"
979
984
  },
980
- onClick: () => ye(t, l)
981
- }, T(t.text), 9, ol))
985
+ onClick: () => ge(t, l)
986
+ }, M(t.text), 9, il))
982
987
  ]))), 256))
983
988
  ]))
984
989
  ], 64)) : g("", !0),
985
- C.value.showTooltip && e.value.orientation === "vertical" ? (o(!0), n(h, { key: 16 }, b(v.value.end - v.value.start, (t, l) => (o(), n("rect", {
986
- x: s.value.left + l * d.value,
987
- y: s.value.top,
990
+ L.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), n(v, { key: 16 }, f(h.value.end - h.value.start, (t, l) => (s(), n("rect", {
991
+ x: o.value.left + l * d.value,
992
+ y: o.value.top,
988
993
  width: d.value,
989
- height: s.value.height < 0 ? 0 : s.value.height,
994
+ height: o.value.height < 0 ? 0 : o.value.height,
990
995
  onClick: (c) => qe(l),
991
996
  onMouseenter: (c) => Ze(l),
992
997
  onMouseleave: r[0] || (r[0] = (c) => {
993
- te.value = null, ie.value = !1;
998
+ ae.value = null, ne.value = !1;
994
999
  }),
995
- fill: l === te.value ? e.value.style.chart.highlighter.color : "transparent",
1000
+ fill: l === ae.value ? e.value.style.chart.highlighter.color : "transparent",
996
1001
  style: G({ opacity: e.value.style.chart.highlighter.opacity / 100 })
997
- }, null, 44, il))), 256)) : g("", !0),
998
- C.value.showTooltip && e.value.orientation === "horizontal" ? (o(!0), n(h, { key: 17 }, b(v.value.end - v.value.start, (t, l) => (o(), n("rect", {
999
- x: s.value.left,
1000
- y: s.value.top + l * d.value,
1001
- width: s.value.width < 0 ? 0 : s.value.width,
1002
+ }, null, 44, ul))), 256)) : g("", !0),
1003
+ L.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), n(v, { key: 17 }, f(h.value.end - h.value.start, (t, l) => (s(), n("rect", {
1004
+ x: o.value.left,
1005
+ y: o.value.top + l * d.value,
1006
+ width: o.value.width < 0 ? 0 : o.value.width,
1002
1007
  height: d.value,
1003
1008
  onClick: (c) => qe(l),
1004
1009
  onMouseenter: (c) => Ze(l),
1005
1010
  onMouseleave: r[1] || (r[1] = (c) => {
1006
- te.value = null, ie.value = !1;
1011
+ ae.value = null, ne.value = !1;
1007
1012
  }),
1008
- fill: l === te.value ? e.value.style.chart.highlighter.color : "transparent",
1013
+ fill: l === ae.value ? e.value.style.chart.highlighter.color : "transparent",
1009
1014
  style: G({ opacity: e.value.style.chart.highlighter.opacity / 100 })
1010
- }, null, 44, nl))), 256)) : g("", !0),
1011
- k(a.$slots, "svg", E(D({ ...s.value })), void 0, !0)
1012
- ], 12, ka)) : g("", !0),
1013
- a.$slots.watermark ? (o(), n("div", ul, [
1014
- k(a.$slots, "watermark", E(D({ isPrinting: y(De) || y(He) })), void 0, !0)
1015
+ }, null, 44, cl))), 256)) : g("", !0),
1016
+ k(a.$slots, "svg", D(E({ ...o.value })), void 0, !0)
1017
+ ], 12, za)) : g("", !0),
1018
+ a.$slots.watermark ? (s(), n("div", hl, [
1019
+ k(a.$slots, "watermark", D(E({ isPrinting: y(Ee) || y(He) })), void 0, !0)
1015
1020
  ])) : g("", !0),
1016
- Z.value ? g("", !0) : (o(), j(y(zt), {
1021
+ Z.value ? g("", !0) : (s(), j(y(zt), {
1017
1022
  key: 5,
1018
1023
  config: {
1019
1024
  type: "bar",
@@ -1034,41 +1039,41 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1034
1039
  style: G(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1035
1040
  "data-dom-to-png-ignore": ""
1036
1041
  }, [
1037
- e.value.style.chart.zoom.show && F.value > 1 ? (o(), j(ga, {
1042
+ e.value.style.chart.zoom.show && F.value > 1 ? (s(), j(fa, {
1038
1043
  ref_key: "slicerComponent",
1039
1044
  ref: K,
1040
- key: `slicer_${Pe.value}`,
1045
+ key: `slicer_${Re.value}`,
1041
1046
  background: e.value.style.chart.zoom.color,
1042
1047
  borderColor: e.value.style.chart.backgroundColor,
1043
1048
  fontSize: e.value.style.chart.zoom.fontSize,
1044
1049
  useResetSlot: e.value.style.chart.zoom.useResetSlot,
1045
- labelLeft: e.value.style.chart.grid.x.timeLabels.values[v.value.start] ? $.value[0].text : "",
1046
- labelRight: e.value.style.chart.grid.x.timeLabels.values[v.value.end - 1] ? $.value.at(-1).text : "",
1050
+ labelLeft: e.value.style.chart.grid.x.timeLabels.values[h.value.start] ? $.value[0].text : "",
1051
+ labelRight: e.value.style.chart.grid.x.timeLabels.values[h.value.end - 1] ? $.value.at(-1).text : "",
1047
1052
  textColor: e.value.style.chart.color,
1048
1053
  inputColor: e.value.style.chart.zoom.color,
1049
1054
  selectColor: e.value.style.chart.zoom.highlightColor,
1050
1055
  max: Math.max(...we.dataset.map((t) => t.series.length)),
1051
1056
  min: 0,
1052
- valueStart: v.value.start,
1053
- valueEnd: v.value.end,
1054
- start: v.value.start,
1055
- "onUpdate:start": r[2] || (r[2] = (t) => v.value.start = t),
1056
- end: v.value.end,
1057
- "onUpdate:end": r[3] || (r[3] = (t) => v.value.end = t),
1057
+ valueStart: h.value.start,
1058
+ valueEnd: h.value.end,
1059
+ start: h.value.start,
1060
+ "onUpdate:start": r[2] || (r[2] = (t) => h.value.start = t),
1061
+ end: h.value.end,
1062
+ "onUpdate:end": r[3] || (r[3] = (t) => h.value.end = t),
1058
1063
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
1059
1064
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...we.dataset.map((t) => t.series.length)),
1060
1065
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
1061
1066
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1062
- onReset: Ue
1067
+ onReset: Ye
1063
1068
  }, {
1064
- "reset-action": L(({ reset: t }) => [
1065
- k(a.$slots, "reset-action", E(D({ reset: t })), void 0, !0)
1069
+ "reset-action": _(({ reset: t }) => [
1070
+ k(a.$slots, "reset-action", D(E({ reset: t })), void 0, !0)
1066
1071
  ]),
1067
1072
  _: 3
1068
1073
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : g("", !0)
1069
1074
  ], 4),
1070
- se(y(Ct), {
1071
- show: C.value.showTooltip && ie.value,
1075
+ ie(y(Lt), {
1076
+ show: L.value.showTooltip && ne.value,
1072
1077
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1073
1078
  color: e.value.style.chart.tooltip.color,
1074
1079
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1078,16 +1083,16 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1078
1083
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1079
1084
  position: e.value.style.chart.tooltip.position,
1080
1085
  offsetY: e.value.style.chart.tooltip.offsetY,
1081
- parent: ee.value,
1082
- content: _e.value,
1083
- isFullscreen: ne.value,
1086
+ parent: te.value,
1087
+ content: Ce.value,
1088
+ isFullscreen: ue.value,
1084
1089
  isCustom: y(gt)(e.value.style.chart.tooltip.customFormat)
1085
1090
  }, {
1086
- "tooltip-before": L(() => [
1087
- k(a.$slots, "tooltip-before", E(D({ ...Ce.value })), void 0, !0)
1091
+ "tooltip-before": _(() => [
1092
+ k(a.$slots, "tooltip-before", D(E({ ...Le.value })), void 0, !0)
1088
1093
  ]),
1089
- "tooltip-after": L(() => [
1090
- k(a.$slots, "tooltip-after", E(D({ ...Ce.value })), void 0, !0)
1094
+ "tooltip-after": _(() => [
1095
+ k(a.$slots, "tooltip-after", D(E({ ...Le.value })), void 0, !0)
1091
1096
  ]),
1092
1097
  _: 3
1093
1098
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -1095,29 +1100,29 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1095
1100
  ref_key: "chartLegend",
1096
1101
  ref: Ie
1097
1102
  }, [
1098
- e.value.style.chart.legend.show && Z.value ? (o(), j(ya, {
1103
+ e.value.style.chart.legend.show && Z.value ? (s(), j(ba, {
1099
1104
  key: 0,
1100
1105
  legendSet: at.value,
1101
- config: Vt.value,
1106
+ config: Dt.value,
1102
1107
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
1103
1108
  }, ut({
1104
- item: L(({ legend: t }) => [
1109
+ item: _(({ legend: t }) => [
1105
1110
  J("div", {
1106
1111
  onClick: (l) => t.segregate(),
1107
1112
  style: G(`opacity:${S.value.includes(t.id) ? 0.5 : 1}`)
1108
- }, T(t.name), 13, cl)
1113
+ }, M(t.name), 13, vl)
1109
1114
  ]),
1110
1115
  _: 2
1111
1116
  }, [
1112
1117
  a.$slots.pattern ? {
1113
1118
  name: "legend-pattern",
1114
- fn: L(({ legend: t, index: l }) => [
1115
- se(fa, {
1119
+ fn: _(({ legend: t, index: l }) => [
1120
+ ie(pa, {
1116
1121
  shape: t.shape,
1117
1122
  radius: 30,
1118
1123
  stroke: "none",
1119
1124
  plot: { x: 30, y: 30 },
1120
- fill: `url(#pattern_${P.value}_${l})`
1125
+ fill: `url(#pattern_${R.value}_${l})`
1121
1126
  }, null, 8, ["shape", "fill"])
1122
1127
  ]),
1123
1128
  key: "0"
@@ -1127,19 +1132,19 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1127
1132
  legend: at.value
1128
1133
  }, void 0, !0)
1129
1134
  ], 512),
1130
- a.$slots.source ? (o(), n("div", {
1135
+ a.$slots.source ? (s(), n("div", {
1131
1136
  key: 6,
1132
1137
  ref_key: "source",
1133
- ref: Re,
1138
+ ref: Pe,
1134
1139
  dir: "auto"
1135
1140
  }, [
1136
1141
  k(a.$slots, "source", {}, void 0, !0)
1137
1142
  ], 512)) : g("", !0),
1138
- v.value.end - v.value.start < 200 ? (o(), j(y(pt), {
1143
+ h.value.end - h.value.start < 200 ? (s(), j(y(pt), {
1139
1144
  key: 7,
1140
1145
  hideDetails: "",
1141
1146
  config: {
1142
- open: C.value.showTable,
1147
+ open: L.value.showTable,
1143
1148
  maxHeight: 1e4,
1144
1149
  body: {
1145
1150
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1151,20 +1156,20 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1151
1156
  }
1152
1157
  }
1153
1158
  }, {
1154
- content: L(() => [
1155
- se(y(xt), {
1156
- colNames: he.value.colNames,
1157
- head: he.value.head,
1158
- body: he.value.body,
1159
- config: he.value.config,
1159
+ content: _(() => [
1160
+ ie(y(xt), {
1161
+ colNames: de.value.colNames,
1162
+ head: de.value.head,
1163
+ body: de.value.body,
1164
+ config: de.value.config,
1160
1165
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1161
- onClose: r[5] || (r[5] = (t) => C.value.showTable = !1)
1166
+ onClose: r[5] || (r[5] = (t) => L.value.showTable = !1)
1162
1167
  }, {
1163
- th: L(({ th: t }) => [
1164
- J("div", { innerHTML: t }, null, 8, vl)
1168
+ th: _(({ th: t }) => [
1169
+ J("div", { innerHTML: t }, null, 8, dl)
1165
1170
  ]),
1166
- td: L(({ td: t }) => [
1167
- Jt(T(isNaN(Number(t)) ? t : y(q)({
1171
+ td: _(({ td: t }) => [
1172
+ Zt(M(isNaN(Number(t)) ? t : y(q)({
1168
1173
  p: e.value.style.chart.bars.dataLabels.prefix,
1169
1174
  v: t,
1170
1175
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1176,9 +1181,9 @@ const xa = ["id"], ka = ["xmlns", "viewBox"], wa = ["x", "y", "width", "height"]
1176
1181
  ]),
1177
1182
  _: 1
1178
1183
  }, 8, ["config"])) : g("", !0)
1179
- ], 46, xa));
1184
+ ], 46, wa));
1180
1185
  }
1181
- }, Ll = /* @__PURE__ */ pa(hl, [["__scopeId", "data-v-ef86a71b"]]);
1186
+ }, $l = /* @__PURE__ */ ka(yl, [["__scopeId", "data-v-c7f93a61"]]);
1182
1187
  export {
1183
- Ll as default
1188
+ $l as default
1184
1189
  };