vue-data-ui 3.4.8 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-D-auaEEJ.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-CzqHcPqG.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CwXiD8zD.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-DlEPlWmV.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-DtzpeIu4.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-DzoiyaeB.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BqRERrjs.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-CzBGckif.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-B4waG93A.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-DiTw_p5r.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-Bt-MUKqy.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-Bc492JeS.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-D6TaZK2x.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-BlZr68Sq.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-ByEP18dA.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-BU7d_U6T.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-CpVrxaTr.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-B9Z4EXoj.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-T1paJEJ3.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-Uw83eEMz.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-C93VwVCY.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-CFMWwXFN.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-FkVaaOVG.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Cyi98NXq.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-BCENNhsY.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-Dca9wkD0.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-CEtFEZT3.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-bqcp6BIl.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-lgRCmyNP.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-cRRrbaIT.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-CaeFJq9a.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-DbsYfGjx.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-DcMnoNrY.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-b5fdgyHv.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DrQ26BzL.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BlvXLcfO.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-CQmNePxu.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CJatqy8x.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-5m7hFiMq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-WrexTg8_.js → vue-ui-stackbar-CkBOjryQ.js} +438 -421
  99. package/dist/{vue-ui-strip-plot-DqX7yya9.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-BhrP9BCp.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-BECa8n5_.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxBGrsSR.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-BbHY5Ed5.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-DzL3Sc1f.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-DoHoS5NK.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-D0N5btU-.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-CTt7dxCY.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel--TIPvQ9I.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-D5pZq4Jq.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BERHgePa.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-BI5stV8f.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-Z5g6L2Hj.js +0 -424
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as A, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as At, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as _, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as d, renderSlot as g, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as _t, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
2
- import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as Lt, d as B, X as zt, a as ve, G as He, P as Bt, Q as Nt, H as Vt } from "./lib-C_mNZmhD.js";
3
- import { t as Ut, u as Et } from "./useResponsive-DfdjqQps.js";
4
- import { u as Yt, a as We } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Xt, B as Gt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ht } from "./usePrinter-DTzqpYKF.js";
7
- import { u as Wt } from "./useSvgExport-DrjCWun4.js";
8
- import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as Qt } from "./useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js";
11
- import Jt from "./img-BecE5qXd.js";
12
- import Kt from "./Title-l36lOBMx.js";
13
- import Zt from "./Legend-G6GMcdAc.js";
14
- import { t as ea } from "./themes-AUNCOb2G.js";
15
- import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "height"], sa = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ua = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ra = ["id"], ia = ["stdDeviation"], ca = ["filter"], va = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], da = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], ha = { key: 2 }, ga = ["onMouseenter", "onMouseleave", "onClick"], pa = ["x", "y", "font-size", "fill", "font-weight"], fa = {
1
+ import { defineAsyncComponent as A, computed as i, ref as r, toRefs as _t, watch as E, shallowRef as Ue, onMounted as It, onBeforeUnmount as Pt, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as q, createBlock as _, createCommentVNode as f, createElementVNode as I, createVNode as ce, createSlots as Ee, withCtx as d, renderSlot as p, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as Ft, resolveDynamicComponent as Dt, mergeProps as Mt, createTextVNode as Ye, nextTick as Xe } from "vue";
2
+ import { c as Rt, t as Lt, b as zt, p as Ge, e as Bt, o as He, f as ve, h as Nt, d as B, X as Vt, a as de, G as We, P as Ut, Q as Et, H as Yt } from "./lib-C_mNZmhD.js";
3
+ import { t as Xt, u as Gt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ht, a as je } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as Wt, B as jt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as qt } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as Qt } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Jt } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Kt } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as Zt } from "./useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js";
11
+ import ea from "./img-BecE5qXd.js";
12
+ import ta from "./Title-l36lOBMx.js";
13
+ import aa from "./Legend-G6GMcdAc.js";
14
+ import { t as la } from "./themes-AUNCOb2G.js";
15
+ import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const na = ["id"], sa = ["id"], ua = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ca = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], va = ["id"], da = ["stdDeviation"], ha = ["filter"], ga = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], pa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], fa = { key: 2 }, ma = ["onMouseenter", "onMouseleave", "onClick"], ya = ["x", "y", "font-size", "fill", "font-weight"], ba = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
- }, ma = ["id"], ya = ["onClick"], ba = ["innerHTML"], ka = {
19
+ }, ka = ["id"], wa = ["onClick"], Ca = ["innerHTML"], $a = {
20
20
  __name: "vue-ui-onion",
21
21
  props: {
22
22
  config: {
@@ -33,14 +33,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(je, { expose: qe, emit: Qe }) {
37
- const Je = A(() => import("./Tooltip-oWCO1HKy.js")), Ke = A(() => import("./BaseIcon-BmMbm4d0.js")), Ze = A(() => import("./vue-ui-accordion-CZ0thhxa.js")), et = A(() => import("./DataTable-BT7VF2ua.js")), tt = A(() => import("./UserOptions-CGnQt6Fd.js")), at = A(() => import("./PenAndPaper-DSvu9dwa.js")), lt = A(() => import("./PackageVersion-D-auaEEJ.js")), ot = A(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), Q = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), T = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: J } = Xt({
38
- ...Ot(C),
36
+ setup(qe, { expose: Qe, emit: Je }) {
37
+ const Ke = A(() => import("./Tooltip-oWCO1HKy.js")), Ze = A(() => import("./BaseIcon-BmMbm4d0.js")), et = A(() => import("./vue-ui-accordion-CZ0thhxa.js")), tt = A(() => import("./DataTable-BT7VF2ua.js")), at = A(() => import("./UserOptions-CGnQt6Fd.js")), lt = A(() => import("./PenAndPaper-DSvu9dwa.js")), ot = A(() => import("./PackageVersion-Cyx_s25h.js")), nt = A(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_onion: st } = Ht(), C = qe, he = i(() => !!C.dataset && C.dataset.length), b = r(Rt()), ut = r(null), ge = r(0), Q = r(!1), J = r(""), m = r([]), $ = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(null), be = r(0), ke = r(0), we = r(0), T = r(!1), Ce = r(!1), N = r(null), e = r(ee()), { loading: k, FINAL_DATASET: $e, manualLoading: K } = Wt({
38
+ ..._t(C),
39
39
  FINAL_CONFIG: e,
40
- prepareConfig: Z,
40
+ prepareConfig: ee,
41
41
  callback: () => {
42
42
  Promise.resolve().then(async () => {
43
- await Ye(), Pe();
43
+ await Xe(), Fe();
44
44
  });
45
45
  },
46
46
  skeletonDataset: [
@@ -49,7 +49,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
49
49
  { name: "_", percentage: 50, value: 1, color: "#ADADAD" },
50
50
  { name: "_", percentage: 50, value: 1, color: "#969696" }
51
51
  ],
52
- skeletonConfig: Dt({
52
+ skeletonConfig: Lt({
53
53
  defaultConfig: e.value,
54
54
  userConfig: {
55
55
  userOptions: { show: !1 },
@@ -70,33 +70,33 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
70
70
  }
71
71
  }
72
72
  })
73
- }), { userOptionsVisible: K, setUserOptionsVisibility: $e, keepUserOptionState: Te } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
74
- function Z() {
75
- const t = We({
73
+ }), { userOptionsVisible: Z, setUserOptionsVisibility: Te, keepUserOptionState: xe } = Jt({ config: e.value }), { svgRef: G } = Kt({ config: e.value.style.chart.title });
74
+ function ee() {
75
+ const t = je({
76
76
  userConfig: C.config,
77
- defaultConfig: nt
77
+ defaultConfig: st
78
78
  });
79
79
  return t.theme ? {
80
- ...We({
81
- userConfig: ea.vue_ui_onion[t.theme] || C.config,
80
+ ...je({
81
+ userConfig: la.vue_ui_onion[t.theme] || C.config,
82
82
  defaultConfig: t
83
83
  }),
84
- customPalette: Mt[t.theme] || Xe
84
+ customPalette: zt[t.theme] || Ge
85
85
  } : t;
86
86
  }
87
87
  E(() => C.config, (t) => {
88
- k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Ie(), ye.value += 1, be.value += 1, ke.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
88
+ k.value || (e.value = ee()), Z.value = !e.value.userOptions.showOnChartHover, Pe(), be.value += 1, ke.value += 1, we.value += 1, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
89
89
  }, { deep: !0 });
90
- const { isPrinting: xe, isImaging: Oe, generatePdf: Se, generateImage: Ae } = Ht({
91
- elementId: `vue-ui-onion_${y.value}`,
90
+ const { isPrinting: Se, isImaging: Oe, generatePdf: Ae, generateImage: _e } = qt({
91
+ elementId: `vue-ui-onion_${b.value}`,
92
92
  fileName: e.value.style.chart.title.text || "vue-ui-onion",
93
93
  options: e.value.userOptions.print
94
- }), ut = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), rt = i(() => Rt(e.value.customPalette)), f = r({
94
+ }), rt = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), it = i(() => Bt(e.value.customPalette)), y = r({
95
95
  showTable: e.value.table.show,
96
96
  showTooltip: e.value.style.chart.tooltip.show
97
97
  });
98
98
  E(e, () => {
99
- f.value = {
99
+ y.value = {
100
100
  showTable: e.value.table.show,
101
101
  showTooltip: e.value.style.chart.tooltip.show
102
102
  };
@@ -111,48 +111,48 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
111
111
  bottom: 64
112
112
  },
113
113
  minRadius: 64
114
- }), O = Ve(null), M = Ve(null);
115
- St(() => {
116
- we.value = !0, Ie();
114
+ }), S = Ue(null), M = Ue(null);
115
+ It(() => {
116
+ Ce.value = !0, Pe();
117
117
  });
118
- const it = i({
118
+ const ct = i({
119
119
  get: () => e.value.style.chart.layout.labels.fontSize,
120
120
  set: (t) => t
121
- }), { autoSizeLabels: _e } = Qt({
121
+ }), { autoSizeLabels: Ie } = Zt({
122
122
  svgRef: G,
123
123
  fontSize: e.value.style.chart.layout.labels.fontSize,
124
124
  minFontSize: e.value.style.chart.layout.labels.minFontSize,
125
- sizeRef: it,
125
+ sizeRef: ct,
126
126
  labelClass: ".vue-ui-onion-label"
127
- }), ct = i(() => e.value.debug);
128
- let ee = null;
129
- function Ie() {
130
- if (Ge(C.dataset) && (ce({
127
+ }), vt = i(() => e.value.debug);
128
+ let te = null;
129
+ function Pe() {
130
+ if (He(C.dataset) && (ve({
131
131
  componentName: "VueUiOnion",
132
132
  type: "dataset",
133
- debug: ct.value
134
- }), J.value = !0), Ge(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
135
- const o = Ut(() => {
136
- ee && clearTimeout(ee), T.value = !0;
137
- let { width: a, height: l } = Et({
133
+ debug: vt.value
134
+ }), K.value = !0), He(C.dataset) || (K.value = e.value.loading), e.value.responsive) {
135
+ const l = Xt(() => {
136
+ te && clearTimeout(te), T.value = !0;
137
+ let { width: a, height: o } = Gt({
138
138
  chart: $.value,
139
- title: e.value.style.chart.title.text ? ge.value : null,
140
- legend: e.value.style.chart.legend.show ? pe.value : null,
141
- source: fe.value,
142
- noTitle: me.value
139
+ title: e.value.style.chart.title.text ? pe.value : null,
140
+ legend: e.value.style.chart.legend.show ? fe.value : null,
141
+ source: me.value,
142
+ noTitle: ye.value
143
143
  });
144
- l -= 12, requestAnimationFrame(async () => {
145
- n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125, ee = setTimeout(() => {
146
- T.value = !1, _e();
144
+ o -= 12, requestAnimationFrame(async () => {
145
+ n.value.width = a, n.value.height = o, n.value.padding.top = Math.max(a, o) * 0.125, n.value.padding.right = Math.max(a, o) * 0.125, n.value.padding.bottom = Math.max(a, o) * 0.125, n.value.padding.left = Math.max(a, o) * 0.125, n.value.minRadius = Math.min(a, o) * 0.125, te = setTimeout(() => {
146
+ T.value = !1, Ie();
147
147
  }, 0);
148
148
  });
149
149
  });
150
- O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect()), O.value = new ResizeObserver(o), M.value = $.value.parentNode, O.value.observe(M.value);
150
+ S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect()), S.value = new ResizeObserver(l), M.value = $.value.parentNode, S.value.observe(M.value);
151
151
  }
152
- requestAnimationFrame(_e);
152
+ requestAnimationFrame(Ie);
153
153
  }
154
- At(() => {
155
- O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect());
154
+ Pt(() => {
155
+ S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect());
156
156
  });
157
157
  const h = i(() => ({
158
158
  top: n.value.padding.top,
@@ -165,87 +165,87 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
165
165
  height: n.value.height - n.value.padding.bottom - n.value.padding.top,
166
166
  minRadius: n.value.minRadius,
167
167
  maxRadius: Math.min(n.value.width, n.value.height) - n.value.padding.top * 2
168
- })), m = i(() => (Ce.value.forEach((t, o) => {
169
- [null, void 0].includes(t.name) && ce({
168
+ })), g = i(() => ($e.value.forEach((t, l) => {
169
+ [null, void 0].includes(t.name) && ve({
170
170
  componentName: "VueUiOnion",
171
171
  type: "datasetSerieAttribute",
172
172
  property: "name",
173
- index: o
174
- }), [void 0].includes(t.percentage) && ce({
173
+ index: l
174
+ }), [void 0].includes(t.percentage) && ve({
175
175
  componentName: "VueUiOnion",
176
176
  type: "datasetSerieAttribute",
177
177
  property: "percentage",
178
- index: o
178
+ index: l
179
179
  });
180
- }), Ce.value.map((t, o) => {
181
- const a = `onion_serie_${o}_${y.value}`;
180
+ }), $e.value.map((t, l) => {
181
+ const a = `onion_serie_${l}_${b.value}`;
182
182
  return {
183
183
  ...t,
184
184
  percentage: t.percentage || 0,
185
185
  targetPercentage: t.percentage || 0,
186
- color: Lt(t.color) || rt.value[o] || Xe[o],
186
+ color: Nt(t.color) || it.value[l] || Ge[l],
187
187
  id: a,
188
188
  shape: "circle",
189
- opacity: b.value.includes(a) ? 0.5 : 1,
190
- absoluteIndex: o,
191
- segregate: () => Fe(a),
192
- isSegregated: b.value.includes(a)
189
+ opacity: m.value.includes(a) ? 0.5 : 1,
190
+ absoluteIndex: l,
191
+ segregate: () => H(a),
192
+ isSegregated: m.value.includes(a)
193
193
  };
194
- }))), te = i(() => m.value.map((t, o) => ({
194
+ }))), ae = i(() => g.value.map((t, l) => ({
195
195
  ...t,
196
196
  display: `${t.name ? t.name + ": " : ""}${B({
197
197
  v: t.percentage ?? 0,
198
198
  s: "%",
199
199
  r: e.value.style.chart.legend.roundingPercentage
200
200
  })}`
201
- }))), V = r(m.value), vt = i(() => e.value.useStartAnimation), dt = r(null), ht = i(() => Math.max(...m.value.map((t) => t.percentage))), ae = r(!1);
202
- E(() => m.value, Pe, { immediate: !0, deep: !0 }), E(() => C.dataset, (t) => {
203
- Array.isArray(t) && t.length > 0 && (J.value = !1);
201
+ }))), V = r(g.value), dt = i(() => e.value.useStartAnimation), ht = r(null), gt = i(() => Math.max(...g.value.map((t) => t.percentage))), le = r(!1);
202
+ E(() => g.value, Fe, { immediate: !0, deep: !0 }), E(() => C.dataset, (t) => {
203
+ Array.isArray(t) && t.length > 0 && (K.value = !1);
204
204
  }, { deep: !0 });
205
- function Pe() {
206
- if (vt.value && !ae.value && !k.value) {
207
- let o = function() {
208
- t >= ht.value ? (cancelAnimationFrame(dt.value), V.value = m.value, ae.value = !0) : (V.value = m.value.map((a) => ({
205
+ function Fe() {
206
+ if (dt.value && !le.value && !k.value) {
207
+ let l = function() {
208
+ t >= gt.value ? (cancelAnimationFrame(ht.value), V.value = g.value, le.value = !0) : (V.value = g.value.map((a) => ({
209
209
  ...a,
210
210
  percentage: t < a.targetPercentage ? t : a.targetPercentage
211
- })), t += 1, requestAnimationFrame(o), ae.value = !0);
211
+ })), t += 1, requestAnimationFrame(l), le.value = !0);
212
212
  };
213
- V.value = m.value.map((a) => ({
213
+ V.value = g.value.map((a) => ({
214
214
  ...a,
215
215
  percentage: 0
216
216
  }));
217
217
  let t = 0;
218
- o();
218
+ l();
219
219
  } else
220
- V.value = m.value;
220
+ V.value = g.value;
221
221
  }
222
- const gt = i(() => ({
222
+ const pt = i(() => ({
223
223
  cy: "onion-div-legend",
224
224
  backgroundColor: e.value.style.chart.legend.backgroundColor,
225
225
  color: e.value.style.chart.legend.color,
226
226
  fontSize: e.value.style.chart.legend.fontSize,
227
227
  paddingBottom: 12,
228
228
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
229
- })), pt = i(() => m.value.filter((t) => !b.value.includes(t.id)).length), P = i(() => {
230
- const t = Math.min(h.value.width, h.value.height) / 2 / m.value.length;
229
+ })), ft = i(() => g.value.filter((t) => !m.value.includes(t.id)).length), P = i(() => {
230
+ const t = Math.min(h.value.width, h.value.height) / 2 / g.value.length;
231
231
  return {
232
232
  gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
233
233
  track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
234
234
  };
235
- }), x = i(() => V.value.filter((t) => !b.value.includes(t.id)).map((t, o) => {
236
- const a = (h.value.maxRadius - P.value.track) / pt.value / 2 * (1 + o), l = h.value.centerY - a;
235
+ }), x = i(() => V.value.filter((t) => !m.value.includes(t.id)).map((t, l) => {
236
+ const a = (h.value.maxRadius - P.value.track) / ft.value / 2 * (1 + l), o = h.value.centerY - a;
237
237
  return {
238
238
  percentage: t.percentage || 0,
239
239
  ...t,
240
- labelY: l,
240
+ labelY: o,
241
241
  radius: a,
242
- path: ft(a, t.percentage || 0)
242
+ path: mt(a, t.percentage || 0)
243
243
  };
244
244
  }));
245
- function ft(t, o) {
246
- const a = 2 * Math.PI * t, l = a * 0.75, v = `${l} ${a}`, w = l * (1 - o / 100);
245
+ function mt(t, l) {
246
+ const a = 2 * Math.PI * t, o = a * 0.75, v = `${o} ${a}`, w = o * (1 - l / 100);
247
247
  return {
248
- bgDashArray: `${l} ${a}`,
248
+ bgDashArray: `${o} ${a}`,
249
249
  bgDashOffset: 0,
250
250
  dashArray: v,
251
251
  dashOffset: w,
@@ -257,25 +257,45 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
257
257
  `.trim()
258
258
  };
259
259
  }
260
- const mt = Qe;
261
- function Fe(t) {
262
- b.value.includes(t) ? b.value = b.value.filter((o) => o !== t) : b.value.push(t), mt("selectLegend", x.value);
260
+ const yt = Je;
261
+ function H(t) {
262
+ if (m.value.includes(t))
263
+ m.value = m.value.filter((l) => l !== t);
264
+ else {
265
+ if (m.value.length === g.value.length - 1) return;
266
+ m.value.push(t);
267
+ }
268
+ yt("selectLegend", x.value);
269
+ }
270
+ function De(t) {
271
+ if (!g.value.length)
272
+ return e.value.debug && console.warn("VueUiOnion - There are no series to show."), null;
273
+ const l = g.value.find((a) => a.name === t);
274
+ return l || (e.value.debug && console.warn(`VueUiOnion - Series name not found "${t}"`), null);
275
+ }
276
+ function bt(t) {
277
+ const l = De(t);
278
+ l !== null && m.value.includes(l.id) && H(l.id);
279
+ }
280
+ function kt(t) {
281
+ const l = De(t);
282
+ l !== null && (m.value.includes(l.id) || H(l.id));
263
283
  }
264
- function yt() {
284
+ function wt() {
265
285
  return x.value;
266
286
  }
267
- const le = i(() => {
268
- const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = x.value.map((a) => [
287
+ const oe = i(() => {
288
+ const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], l = x.value.map((a) => [
269
289
  a.name,
270
290
  a.percentage,
271
291
  a.value
272
292
  ]);
273
- return { head: t, body: o };
274
- }), H = i(() => {
275
- const t = le.value.head, o = x.value.map((l) => [
276
- `<span style="color:${l.color}">⬤</span> ${l.name}`,
277
- `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
278
- `${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
293
+ return { head: t, body: l };
294
+ }), W = i(() => {
295
+ const t = oe.value.head, l = x.value.map((o) => [
296
+ `<span style="color:${o.color}">⬤</span> ${o.name}`,
297
+ `${Number(o.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
298
+ `${o.prefix || ""}${[null, void 0, NaN, "NaN"].includes(o.value) ? "-" : o.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${o.suffix || ""}`
279
299
  ]), a = {
280
300
  th: {
281
301
  backgroundColor: e.value.table.th.backgroundColor,
@@ -289,51 +309,51 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
289
309
  },
290
310
  breakpoint: e.value.table.responsiveBreakpoint
291
311
  };
292
- return { head: t, body: o, config: a, colNames: t };
312
+ return { head: t, body: l, config: a, colNames: t };
293
313
  });
294
- function oe(t = null) {
295
- Ye(() => {
296
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = le.value.head, l = le.value.body, v = o.concat([a]).concat(l), w = Bt(v);
297
- t ? t(w) : Nt({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-onion" });
314
+ function ne(t = null) {
315
+ Xe(() => {
316
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = oe.value.head, o = oe.value.body, v = l.concat([a]).concat(o), w = Ut(v);
317
+ t ? t(w) : Et({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-onion" });
298
318
  });
299
319
  }
300
- const S = r(void 0), F = r(!1);
301
- function De(t) {
302
- F.value = t, he.value += 1;
320
+ const O = r(void 0), F = r(!1);
321
+ function Me(t) {
322
+ F.value = t, ge.value += 1;
303
323
  }
304
- function Me({ datapoint: t }) {
324
+ function Re({ datapoint: t }) {
305
325
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
306
326
  }
307
- function Re({ datapoint: t }) {
308
- S.value = void 0, q.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
327
+ function Le({ datapoint: t }) {
328
+ O.value = void 0, Q.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
309
329
  }
310
- const ne = r(null);
311
- function Le({ datapoint: t, seriesIndex: o, show: a = !0 }) {
330
+ const se = r(null);
331
+ function ze({ datapoint: t, seriesIndex: l, show: a = !0 }) {
312
332
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex });
313
- const l = t.absoluteIndex;
314
- S.value = o, ne.value = {
333
+ const o = t.absoluteIndex;
334
+ O.value = l, se.value = {
315
335
  datapoint: t,
316
- seriesIndex: l,
317
- series: m.value,
336
+ seriesIndex: o,
337
+ series: g.value,
318
338
  config: e.value
319
- }, q.value = a;
339
+ }, Q.value = a;
320
340
  let v = "";
321
341
  const w = e.value.style.chart.tooltip.customFormat;
322
- if (He(w) && Vt(() => w({
323
- seriesIndex: l,
342
+ if (We(w) && Yt(() => w({
343
+ seriesIndex: o,
324
344
  datapoint: t,
325
- series: m.value,
345
+ series: g.value,
326
346
  config: e.value
327
347
  })))
328
- Q.value = w({
329
- seriesIndex: l,
348
+ J.value = w({
349
+ seriesIndex: o,
330
350
  datapoint: t,
331
- series: m.value,
351
+ series: g.value,
332
352
  config: e.value
333
353
  });
334
354
  else {
335
- const ue = e.value.style.chart.tooltip.showPercentage, re = e.value.style.chart.tooltip.showValue;
336
- v += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, v += `<div style="width:100%;text-align:left;"><b>${ue ? B({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${ue && re ? "(" : ""}${re ? ve(
355
+ const re = e.value.style.chart.tooltip.showPercentage, ie = e.value.style.chart.tooltip.showValue;
356
+ v += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, v += `<div style="width:100%;text-align:left;"><b>${re ? B({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${re && ie ? "(" : ""}${ie ? de(
337
357
  e.value.style.chart.layout.labels.value.formatter,
338
358
  t.value,
339
359
  B({
@@ -342,36 +362,36 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
342
362
  s: t.suffix || "",
343
363
  r: e.value.style.chart.tooltip.roundingValue
344
364
  }),
345
- { datapoint: t, seriesIndex: o }
346
- ) : ""}${ue && re ? ")" : ""}</div>`, Q.value = `<div>${v}</div>`;
365
+ { datapoint: t, seriesIndex: l }
366
+ ) : ""}${re && ie ? ")" : ""}</div>`, J.value = `<div>${v}</div>`;
347
367
  }
348
368
  }
349
- function ze() {
350
- f.value.showTable = !f.value.showTable;
351
- }
352
369
  function Be() {
353
- f.value.showTooltip = !f.value.showTooltip;
370
+ y.value.showTable = !y.value.showTable;
354
371
  }
355
- const W = r(!1);
356
- function se() {
357
- W.value = !W.value;
372
+ function Ne() {
373
+ y.value.showTooltip = !y.value.showTooltip;
358
374
  }
359
- async function bt({ scale: t = 2 } = {}) {
375
+ const j = r(!1);
376
+ function ue() {
377
+ j.value = !j.value;
378
+ }
379
+ async function Ct({ scale: t = 2 } = {}) {
360
380
  if (!$.value) return;
361
- const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: v, base64: w } = await Jt({ domElement: $.value, base64: !0, img: !0, scale: t });
381
+ const { width: l, height: a } = $.value.getBoundingClientRect(), o = l / a, { imageUri: v, base64: w } = await ea({ domElement: $.value, base64: !0, img: !0, scale: t });
362
382
  return {
363
383
  imageUri: v,
364
384
  base64: w,
365
385
  title: e.value.style.chart.title.text,
366
- width: o,
386
+ width: l,
367
387
  height: a,
368
- aspectRatio: l
388
+ aspectRatio: o
369
389
  };
370
390
  }
371
391
  const U = i(() => {
372
- const t = e.value.table.useDialog && !e.value.table.show, o = f.value.showTable;
392
+ const t = e.value.table.useDialog && !e.value.table.show, l = y.value.showTable;
373
393
  return {
374
- component: t ? ot : Ze,
394
+ component: t ? nt : et,
375
395
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
376
396
  props: t ? {
377
397
  backgroundColor: e.value.table.th.backgroundColor,
@@ -384,7 +404,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
384
404
  } : {
385
405
  hideDetails: !0,
386
406
  config: {
387
- open: o,
407
+ open: l,
388
408
  maxHeight: 1e4,
389
409
  body: {
390
410
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -398,69 +418,71 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
398
418
  }
399
419
  };
400
420
  });
401
- E(() => f.value.showTable, (t) => {
421
+ E(() => y.value.showTable, (t) => {
402
422
  e.value.table.show || (t && e.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
403
423
  });
404
- const kt = i(() => te.value.map((t) => ({
424
+ const $t = i(() => ae.value.map((t) => ({
405
425
  ...t,
406
426
  name: t.display
407
- }))), wt = i(() => e.value.style.chart.backgroundColor), Ct = i(() => e.value.style.chart.legend), $t = i(() => e.value.style.chart.title), { exportSvg: Tt, getSvg: xt } = Wt({
427
+ }))), Tt = i(() => e.value.style.chart.backgroundColor), xt = i(() => e.value.style.chart.legend), St = i(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: At } = Qt({
408
428
  svg: G,
409
- title: $t,
410
- legend: Ct,
411
- legendItems: kt,
412
- backgroundColor: wt
429
+ title: St,
430
+ legend: xt,
431
+ legendItems: $t,
432
+ backgroundColor: Tt
413
433
  });
414
- async function Ne({ isCb: t }) {
434
+ async function Ve({ isCb: t }) {
415
435
  if (t) {
416
- const { blob: o, url: a, text: l, dataUrl: v } = await xt();
417
- e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: v });
436
+ const { blob: l, url: a, text: o, dataUrl: v } = await At();
437
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: v });
418
438
  } else
419
- Tt();
439
+ Ot();
420
440
  }
421
- return qe({
422
- getData: yt,
423
- getImage: bt,
424
- generatePdf: Se,
425
- generateCsv: oe,
426
- generateImage: Ae,
427
- generateSvg: Ne,
428
- toggleTable: ze,
429
- toggleTooltip: Be,
430
- toggleAnnotator: se,
431
- toggleFullscreen: De
432
- }), (t, o) => (u(), c("div", {
433
- class: j(`vue-data-ui-component vue-ui-onion ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
441
+ return Qe({
442
+ getData: wt,
443
+ getImage: Ct,
444
+ generatePdf: Ae,
445
+ generateCsv: ne,
446
+ generateImage: _e,
447
+ generateSvg: Ve,
448
+ hideSeries: kt,
449
+ showSeries: bt,
450
+ toggleTable: Be,
451
+ toggleTooltip: Ne,
452
+ toggleAnnotator: ue,
453
+ toggleFullscreen: Me
454
+ }), (t, l) => (u(), c("div", {
455
+ class: q(`vue-data-ui-component vue-ui-onion ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
434
456
  ref_key: "onionChart",
435
457
  ref: $,
436
- id: `vue-ui-onion_${y.value}`,
458
+ id: `vue-ui-onion_${b.value}`,
437
459
  style: D(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
438
- onMouseenter: o[4] || (o[4] = () => s($e)(!0)),
439
- onMouseleave: o[5] || (o[5] = () => s($e)(!1))
460
+ onMouseenter: l[4] || (l[4] = () => s(Te)(!0)),
461
+ onMouseleave: l[5] || (l[5] = () => s(Te)(!1))
440
462
  }, [
441
- e.value.userOptions.buttons.annotator ? (u(), _(s(at), {
463
+ e.value.userOptions.buttons.annotator ? (u(), _(s(lt), {
442
464
  key: 0,
443
465
  svgRef: s(G),
444
466
  backgroundColor: e.value.style.chart.backgroundColor,
445
467
  color: e.value.style.chart.color,
446
- active: W.value,
447
- onClose: se
448
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
449
- ut.value ? (u(), c("div", {
468
+ active: j.value,
469
+ onClose: ue
470
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
471
+ rt.value ? (u(), c("div", {
450
472
  key: 1,
451
473
  ref_key: "noTitle",
452
- ref: me,
474
+ ref: ye,
453
475
  class: "vue-data-ui-no-title-space",
454
476
  style: "height:36px; width: 100%;background:transparent"
455
- }, null, 512)) : p("", !0),
477
+ }, null, 512)) : f("", !0),
456
478
  e.value.style.chart.title.text ? (u(), c("div", {
457
479
  key: 2,
458
480
  ref_key: "chartTitle",
459
- ref: ge,
481
+ ref: pe,
460
482
  style: "width:100%;background:transparent"
461
483
  }, [
462
- (u(), _(Kt, {
463
- key: `title_${ye.value}`,
484
+ (u(), _(ta, {
485
+ key: `title_${be.value}`,
464
486
  config: {
465
487
  title: {
466
488
  cy: "onion-div-title",
@@ -472,19 +494,19 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
472
494
  }
473
495
  }
474
496
  }, null, 8, ["config"]))
475
- ], 512)) : p("", !0),
497
+ ], 512)) : f("", !0),
476
498
  I("div", {
477
- id: `legend-top-${y.value}`
478
- }, null, 8, la),
479
- e.value.userOptions.show && de.value && (s(Te) || s(K)) ? (u(), _(s(tt), {
499
+ id: `legend-top-${b.value}`
500
+ }, null, 8, sa),
501
+ e.value.userOptions.show && he.value && (s(xe) || s(Z)) ? (u(), _(s(at), {
480
502
  ref_key: "details",
481
- ref: st,
482
- key: `user_options${he.value}`,
503
+ ref: ut,
504
+ key: `user_options${ge.value}`,
483
505
  backgroundColor: e.value.style.chart.backgroundColor,
484
506
  color: e.value.style.chart.color,
485
507
  isImaging: s(Oe),
486
- isPrinting: s(xe),
487
- uid: y.value,
508
+ isPrinting: s(Se),
509
+ uid: b.value,
488
510
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
489
511
  hasPdf: e.value.userOptions.buttons.pdf,
490
512
  hasImg: e.value.userOptions.buttons.img,
@@ -493,100 +515,100 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
493
515
  hasTable: e.value.userOptions.buttons.table,
494
516
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
495
517
  isFullscreen: F.value,
496
- isTooltip: f.value.showTooltip,
518
+ isTooltip: y.value.showTooltip,
497
519
  titles: { ...e.value.userOptions.buttonTitles },
498
520
  chartElement: $.value,
499
521
  position: e.value.userOptions.position,
500
522
  hasAnnotator: e.value.userOptions.buttons.annotator,
501
- isAnnotation: W.value,
523
+ isAnnotation: j.value,
502
524
  callbacks: e.value.userOptions.callbacks,
503
525
  printScale: e.value.userOptions.print.scale,
504
526
  tableDialog: e.value.table.useDialog,
505
- onToggleFullscreen: De,
506
- onGeneratePdf: s(Se),
507
- onGenerateCsv: oe,
508
- onGenerateImage: s(Ae),
509
- onGenerateSvg: Ne,
510
- onToggleTable: ze,
511
- onToggleTooltip: Be,
512
- onToggleAnnotator: se,
527
+ onToggleFullscreen: Me,
528
+ onGeneratePdf: s(Ae),
529
+ onGenerateCsv: ne,
530
+ onGenerateImage: s(_e),
531
+ onGenerateSvg: Ve,
532
+ onToggleTable: Be,
533
+ onToggleTooltip: Ne,
534
+ onToggleAnnotator: ue,
513
535
  style: D({
514
- visibility: s(Te) ? s(K) ? "visible" : "hidden" : "visible"
536
+ visibility: s(xe) ? s(Z) ? "visible" : "hidden" : "visible"
515
537
  })
516
- }, Ue({ _: 2 }, [
538
+ }, Ee({ _: 2 }, [
517
539
  t.$slots.menuIcon ? {
518
540
  name: "menuIcon",
519
- fn: d(({ isOpen: a, color: l }) => [
520
- g(t.$slots, "menuIcon", R(L({ isOpen: a, color: l })), void 0, !0)
541
+ fn: d(({ isOpen: a, color: o }) => [
542
+ p(t.$slots, "menuIcon", R(L({ isOpen: a, color: o })), void 0, !0)
521
543
  ]),
522
544
  key: "0"
523
545
  } : void 0,
524
546
  t.$slots.optionTooltip ? {
525
547
  name: "optionTooltip",
526
548
  fn: d(() => [
527
- g(t.$slots, "optionTooltip", {}, void 0, !0)
549
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
528
550
  ]),
529
551
  key: "1"
530
552
  } : void 0,
531
553
  t.$slots.optionPdf ? {
532
554
  name: "optionPdf",
533
555
  fn: d(() => [
534
- g(t.$slots, "optionPdf", {}, void 0, !0)
556
+ p(t.$slots, "optionPdf", {}, void 0, !0)
535
557
  ]),
536
558
  key: "2"
537
559
  } : void 0,
538
560
  t.$slots.optionCsv ? {
539
561
  name: "optionCsv",
540
562
  fn: d(() => [
541
- g(t.$slots, "optionCsv", {}, void 0, !0)
563
+ p(t.$slots, "optionCsv", {}, void 0, !0)
542
564
  ]),
543
565
  key: "3"
544
566
  } : void 0,
545
567
  t.$slots.optionImg ? {
546
568
  name: "optionImg",
547
569
  fn: d(() => [
548
- g(t.$slots, "optionImg", {}, void 0, !0)
570
+ p(t.$slots, "optionImg", {}, void 0, !0)
549
571
  ]),
550
572
  key: "4"
551
573
  } : void 0,
552
574
  t.$slots.optionSvg ? {
553
575
  name: "optionSvg",
554
576
  fn: d(() => [
555
- g(t.$slots, "optionSvg", {}, void 0, !0)
577
+ p(t.$slots, "optionSvg", {}, void 0, !0)
556
578
  ]),
557
579
  key: "5"
558
580
  } : void 0,
559
581
  t.$slots.optionTable ? {
560
582
  name: "optionTable",
561
583
  fn: d(() => [
562
- g(t.$slots, "optionTable", {}, void 0, !0)
584
+ p(t.$slots, "optionTable", {}, void 0, !0)
563
585
  ]),
564
586
  key: "6"
565
587
  } : void 0,
566
588
  t.$slots.optionFullscreen ? {
567
589
  name: "optionFullscreen",
568
- fn: d(({ toggleFullscreen: a, isFullscreen: l }) => [
569
- g(t.$slots, "optionFullscreen", R(L({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
590
+ fn: d(({ toggleFullscreen: a, isFullscreen: o }) => [
591
+ p(t.$slots, "optionFullscreen", R(L({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
570
592
  ]),
571
593
  key: "7"
572
594
  } : void 0,
573
595
  t.$slots.optionAnnotator ? {
574
596
  name: "optionAnnotator",
575
- fn: d(({ toggleAnnotator: a, isAnnotator: l }) => [
576
- g(t.$slots, "optionAnnotator", R(L({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
597
+ fn: d(({ toggleAnnotator: a, isAnnotator: o }) => [
598
+ p(t.$slots, "optionAnnotator", R(L({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
577
599
  ]),
578
600
  key: "8"
579
601
  } : void 0
580
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
602
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
581
603
  (u(), c("svg", {
582
604
  ref_key: "svgRef",
583
605
  ref: G,
584
- xmlns: s(zt),
585
- class: j({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: T.value }),
606
+ xmlns: s(Vt),
607
+ class: q({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: T.value }),
586
608
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
587
609
  style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
588
610
  }, [
589
- ie(s(lt)),
611
+ ce(s(ot)),
590
612
  t.$slots["chart-background"] ? (u(), c("foreignObject", {
591
613
  key: 0,
592
614
  x: 0,
@@ -597,9 +619,9 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
597
619
  pointerEvents: "none"
598
620
  }
599
621
  }, [
600
- g(t.$slots, "chart-background", {}, void 0, !0)
601
- ], 8, na)) : p("", !0),
602
- (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
622
+ p(t.$slots, "chart-background", {}, void 0, !0)
623
+ ], 8, ra)) : f("", !0),
624
+ (u(!0), c(Y, null, X(x.value, (a, o) => (u(), c("circle", {
603
625
  cx: h.value.centerX,
604
626
  cy: h.value.centerY,
605
627
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -609,15 +631,15 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
609
631
  "stroke-dasharray": a.path.bgDashArray,
610
632
  "stroke-dashoffset": a.path.fullOffset,
611
633
  "stroke-linecap": "round",
612
- class: j({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l }),
634
+ class: q({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== o }),
613
635
  style: D({
614
636
  transform: "rotate(-90deg)",
615
637
  transformOrigin: "50% 50%",
616
638
  transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
617
639
  animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
618
640
  })
619
- }, null, 14, sa))), 256)),
620
- (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
641
+ }, null, 14, ia))), 256)),
642
+ (u(!0), c(Y, null, X(x.value, (a, o) => (u(), c("circle", {
621
643
  cx: h.value.centerX,
622
644
  cy: h.value.centerY,
623
645
  r: a.radius < 0 ? 1e-4 : a.radius,
@@ -626,7 +648,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
626
648
  fill: "none",
627
649
  "stroke-dasharray": a.path.dashArray,
628
650
  "stroke-dashoffset": a.path.dashOffset,
629
- class: j({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l }),
651
+ class: q({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== o }),
630
652
  "stroke-linecap": "round",
631
653
  style: D({
632
654
  transform: "rotate(-90deg)",
@@ -634,10 +656,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
634
656
  transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
635
657
  animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
636
658
  })
637
- }, null, 14, ua))), 256)),
659
+ }, null, 14, ca))), 256)),
638
660
  I("defs", null, [
639
661
  I("filter", {
640
- id: `blur_${y.value}`,
662
+ id: `blur_${b.value}`,
641
663
  x: "-50%",
642
664
  y: "-50%",
643
665
  width: "200%",
@@ -646,14 +668,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
646
668
  I("feGaussianBlur", {
647
669
  in: "SourceGraphic",
648
670
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
649
- }, null, 8, ia)
650
- ], 8, ra)
671
+ }, null, 8, da)
672
+ ], 8, va)
651
673
  ]),
652
674
  e.value.style.chart.useGradient ? (u(), c("g", {
653
675
  key: 1,
654
- filter: `url(#blur_${y.value})`
676
+ filter: `url(#blur_${b.value})`
655
677
  }, [
656
- (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
678
+ (u(!0), c(Y, null, X(x.value, (a, o) => (u(), c("circle", {
657
679
  cx: h.value.centerX,
658
680
  cy: h.value.centerY,
659
681
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -669,9 +691,9 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
669
691
  transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
670
692
  animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
671
693
  })
672
- }, null, 12, va))), 256))
673
- ], 8, ca)) : p("", !0),
674
- (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
694
+ }, null, 12, ga))), 256))
695
+ ], 8, ha)) : f("", !0),
696
+ (u(!0), c(Y, null, X(x.value, (a, o) => (u(), c("circle", {
675
697
  cx: h.value.centerX,
676
698
  cy: h.value.centerY,
677
699
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -686,38 +708,38 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
686
708
  transform: "rotate(-90deg)",
687
709
  transformOrigin: "50% 50%"
688
710
  },
689
- onMouseenter: (v) => Le({
711
+ onMouseenter: (v) => ze({
690
712
  datapoint: a,
691
713
  show: !0,
692
- seriesIndex: l
714
+ seriesIndex: o
693
715
  }),
694
- onMouseleave: (v) => Re({ datapoint: a }),
695
- onClick: (v) => Me({ datapoint: a })
696
- }, null, 40, da))), 256)),
697
- e.value.style.chart.layout.labels.show ? (u(), c("g", ha, [
698
- (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("g", {
699
- onMouseenter: (v) => Le({
716
+ onMouseleave: (v) => Le({ datapoint: a }),
717
+ onClick: (v) => Re({ datapoint: a })
718
+ }, null, 40, pa))), 256)),
719
+ e.value.style.chart.layout.labels.show ? (u(), c("g", fa, [
720
+ (u(!0), c(Y, null, X(x.value, (a, o) => (u(), c("g", {
721
+ onMouseenter: (v) => ze({
700
722
  datapoint: a,
701
723
  show: !0,
702
- seriesIndex: l
724
+ seriesIndex: o
703
725
  }),
704
- onMouseleave: (v) => Re({ datapoint: a }),
705
- onClick: (v) => Me({ datapoint: a })
726
+ onMouseleave: (v) => Le({ datapoint: a }),
727
+ onClick: (v) => Re({ datapoint: a })
706
728
  }, [
707
- b.value.includes(a.id) ? p("", !0) : (u(), c("text", {
729
+ m.value.includes(a.id) ? f("", !0) : (u(), c("text", {
708
730
  key: 0,
709
731
  class: "vue-ui-onion-label",
710
732
  x: n.value.width / 2 - P.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
711
733
  y: a.labelY + e.value.style.chart.layout.labels.offsetY,
712
734
  "text-anchor": "end",
713
735
  "font-size": e.value.style.chart.layout.labels.fontSize,
714
- fill: e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value === l ? a.color : e.value.style.chart.layout.labels.color,
736
+ fill: e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value === o ? a.color : e.value.style.chart.layout.labels.color,
715
737
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
716
738
  }, z(a.name ? a.name + ": " : "") + " " + z(e.value.style.chart.layout.labels.percentage.show ? s(B)({
717
739
  v: a.percentage,
718
740
  s: "%",
719
741
  r: e.value.style.chart.layout.labels.roundingPercentage
720
- }) : "") + " " + z(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(ve)(
742
+ }) : "") + " " + z(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(de)(
721
743
  e.value.style.chart.layout.labels.value.formatter,
722
744
  a.value,
723
745
  s(B)({
@@ -726,8 +748,8 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
726
748
  s: a.suffix || "",
727
749
  r: e.value.style.chart.layout.labels.roundingValue
728
750
  }),
729
- { datapoint: a, seriesIndex: l }
730
- )}` : `${e.value.style.chart.layout.labels.value.show && a.value ? `(${s(ve)(
751
+ { datapoint: a, seriesIndex: o }
752
+ )}` : `${e.value.style.chart.layout.labels.value.show && a.value ? `(${s(de)(
731
753
  e.value.style.chart.layout.labels.value.formatter,
732
754
  a.value,
733
755
  s(B)({
@@ -736,57 +758,57 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
736
758
  s: a.suffix || "",
737
759
  r: e.value.style.chart.layout.labels.roundingValue
738
760
  }),
739
- { datapoint: a, seriesIndex: l }
740
- )})` : ""}`), 9, pa))
741
- ], 40, ga))), 256))
742
- ])) : p("", !0),
743
- g(t.$slots, "svg", { svg: n.value }, void 0, !0)
744
- ], 14, oa)),
745
- t.$slots.watermark ? (u(), c("div", fa, [
746
- g(t.$slots, "watermark", R(L({ isPrinting: s(xe) || s(Oe) })), void 0, !0)
747
- ])) : p("", !0),
761
+ { datapoint: a, seriesIndex: o }
762
+ )})` : ""}`), 9, ya))
763
+ ], 40, ma))), 256))
764
+ ])) : f("", !0),
765
+ p(t.$slots, "svg", { svg: n.value }, void 0, !0)
766
+ ], 14, ua)),
767
+ t.$slots.watermark ? (u(), c("div", ba, [
768
+ p(t.$slots, "watermark", R(L({ isPrinting: s(Se) || s(Oe) })), void 0, !0)
769
+ ])) : f("", !0),
748
770
  I("div", {
749
- id: `legend-bottom-${y.value}`
750
- }, null, 8, ma),
751
- we.value ? (u(), _(_t, {
771
+ id: `legend-bottom-${b.value}`
772
+ }, null, 8, ka),
773
+ Ce.value ? (u(), _(Ft, {
752
774
  key: 5,
753
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
775
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
754
776
  }, [
755
777
  I("div", {
756
778
  ref_key: "chartLegend",
757
- ref: pe
779
+ ref: fe
758
780
  }, [
759
- e.value.style.chart.legend.show ? (u(), _(Zt, {
760
- key: `legend_${ke.value}`,
761
- legendSet: te.value,
762
- config: gt.value,
763
- onClickMarker: o[0] || (o[0] = ({ legend: a }) => Fe(a.id))
781
+ e.value.style.chart.legend.show ? (u(), _(aa, {
782
+ key: `legend_${we.value}`,
783
+ legendSet: ae.value,
784
+ config: pt.value,
785
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => H(a.id))
764
786
  }, {
765
787
  item: d(({ legend: a }) => [
766
- s(k) ? p("", !0) : (u(), c("div", {
788
+ s(k) ? f("", !0) : (u(), c("div", {
767
789
  key: 0,
768
790
  "data-cy-legend-item": "",
769
- onClick: (l) => a.segregate(),
770
- style: D(`opacity:${b.value.includes(a.id) ? 0.5 : 1}`)
771
- }, z(a.display), 13, ya))
791
+ onClick: (o) => a.segregate(),
792
+ style: D(`opacity:${m.value.includes(a.id) ? 0.5 : 1}`)
793
+ }, z(a.display), 13, wa))
772
794
  ]),
773
795
  _: 1
774
- }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
796
+ }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
775
797
  key: 1,
776
- legend: te.value
798
+ legend: ae.value
777
799
  }, void 0, !0)
778
800
  ], 512)
779
- ], 8, ["to"])) : p("", !0),
801
+ ], 8, ["to"])) : f("", !0),
780
802
  t.$slots.source ? (u(), c("div", {
781
803
  key: 6,
782
804
  ref_key: "source",
783
- ref: fe,
805
+ ref: me,
784
806
  dir: "auto"
785
807
  }, [
786
- g(t.$slots, "source", {}, void 0, !0)
787
- ], 512)) : p("", !0),
788
- ie(s(Je), {
789
- show: f.value.showTooltip && q.value,
808
+ p(t.$slots, "source", {}, void 0, !0)
809
+ ], 512)) : f("", !0),
810
+ ce(s(Ke), {
811
+ show: y.value.showTooltip && Q.value,
790
812
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
791
813
  color: e.value.style.chart.tooltip.color,
792
814
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -797,43 +819,43 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
797
819
  position: e.value.style.chart.tooltip.position,
798
820
  offsetY: e.value.style.chart.tooltip.offsetY,
799
821
  parent: $.value,
800
- content: Q.value,
822
+ content: J.value,
801
823
  isFullscreen: F.value,
802
- isCustom: s(He)(e.value.style.chart.tooltip.customFormat),
824
+ isCustom: s(We)(e.value.style.chart.tooltip.customFormat),
803
825
  smooth: e.value.style.chart.tooltip.smooth,
804
826
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
805
827
  smoothForce: e.value.style.chart.tooltip.smoothForce,
806
828
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
807
829
  }, {
808
830
  "tooltip-before": d(() => [
809
- g(t.$slots, "tooltip-before", R(L({ ...ne.value })), void 0, !0)
831
+ p(t.$slots, "tooltip-before", R(L({ ...se.value })), void 0, !0)
810
832
  ]),
811
833
  "tooltip-after": d(() => [
812
- g(t.$slots, "tooltip-after", R(L({ ...ne.value })), void 0, !0)
834
+ p(t.$slots, "tooltip-after", R(L({ ...se.value })), void 0, !0)
813
835
  ]),
814
836
  _: 3
815
837
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
816
- de.value && e.value.userOptions.buttons.table ? (u(), _(It(U.value.component), Pt({ key: 7 }, U.value.props, {
838
+ he.value && e.value.userOptions.buttons.table ? (u(), _(Dt(U.value.component), Mt({ key: 7 }, U.value.props, {
817
839
  ref_key: "tableUnit",
818
840
  ref: N,
819
- onClose: o[3] || (o[3] = (a) => f.value.showTable = !1)
820
- }), Ue({
841
+ onClose: l[3] || (l[3] = (a) => y.value.showTable = !1)
842
+ }), Ee({
821
843
  content: d(() => [
822
- (u(), _(s(et), {
823
- key: `table_${be.value}`,
824
- colNames: H.value.colNames,
825
- head: H.value.head,
826
- body: H.value.body,
827
- config: H.value.config,
844
+ (u(), _(s(tt), {
845
+ key: `table_${ke.value}`,
846
+ colNames: W.value.colNames,
847
+ head: W.value.head,
848
+ body: W.value.body,
849
+ config: W.value.config,
828
850
  title: e.value.table.useDialog ? "" : U.value.title,
829
851
  withCloseButton: !e.value.table.useDialog,
830
- onClose: o[2] || (o[2] = (a) => f.value.showTable = !1)
852
+ onClose: l[2] || (l[2] = (a) => y.value.showTable = !1)
831
853
  }, {
832
854
  th: d(({ th: a }) => [
833
- Ee(z(a), 1)
855
+ Ye(z(a), 1)
834
856
  ]),
835
857
  td: d(({ td: a }) => [
836
- I("div", { innerHTML: a }, null, 8, ba)
858
+ I("div", { innerHTML: a }, null, 8, Ca)
837
859
  ]),
838
860
  _: 1
839
861
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -843,7 +865,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
843
865
  e.value.table.useDialog ? {
844
866
  name: "title",
845
867
  fn: d(() => [
846
- Ee(z(U.value.title), 1)
868
+ Ye(z(U.value.title), 1)
847
869
  ]),
848
870
  key: "0"
849
871
  } : void 0,
@@ -853,9 +875,9 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
853
875
  I("button", {
854
876
  tabindex: "0",
855
877
  class: "vue-ui-user-options-button",
856
- onClick: o[1] || (o[1] = (a) => oe(e.value.userOptions.callbacks.csv))
878
+ onClick: l[1] || (l[1] = (a) => ne(e.value.userOptions.callbacks.csv))
857
879
  }, [
858
- ie(s(Ke), {
880
+ ce(s(Ze), {
859
881
  name: "excel",
860
882
  stroke: U.value.props.color
861
883
  }, null, 8, ["stroke"])
@@ -863,11 +885,11 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
863
885
  ]),
864
886
  key: "1"
865
887
  } : void 0
866
- ]), 1040)) : p("", !0),
867
- s(k) ? (u(), _(Gt, { key: 8 })) : p("", !0)
868
- ], 46, aa));
888
+ ]), 1040)) : f("", !0),
889
+ s(k) ? (u(), _(jt, { key: 8 })) : f("", !0)
890
+ ], 46, na));
869
891
  }
870
- }, La = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-6d972bcd"]]);
892
+ }, Na = /* @__PURE__ */ oa($a, [["__scopeId", "data-v-df14b6b6"]]);
871
893
  export {
872
- La as default
894
+ Na as default
873
895
  };