vue-data-ui 3.16.4 → 3.17.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 (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
  129. package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,8 +1,8 @@
1
- import { defineAsyncComponent as L, computed as h, ref as s, toRefs as Jt, watch as q, shallowRef as et, onMounted as Qt, onBeforeUnmount as Zt, openBlock as r, createElementBlock as g, unref as u, normalizeStyle as R, normalizeClass as oe, createElementVNode as S, toDisplayString as J, createBlock as O, createCommentVNode as m, withCtx as v, renderSlot as d, normalizeProps as $, guardReactiveProps as T, createSlots as tt, createVNode as Ce, Fragment as Q, renderList as Z, Teleport as ea, resolveDynamicComponent as ta, mergeProps as aa, createTextVNode as at, nextTick as $e } from "vue";
2
- import { j as la, t as lt, m as oa, p as ot, n as na, o as nt, q as Te, s as sa, k as Pe, l as E, X as ra, T as st, a0 as ua, a1 as ia, U as ca } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as L, computed as h, ref as s, toRefs as Jt, watch as q, shallowRef as et, onMounted as Qt, onBeforeUnmount as Zt, openBlock as u, createElementBlock as g, unref as r, normalizeStyle as R, normalizeClass as ne, createElementVNode as S, toDisplayString as J, createBlock as O, createCommentVNode as m, withCtx as v, renderSlot as d, normalizeProps as k, guardReactiveProps as w, createSlots as tt, createVNode as Ce, Fragment as Q, renderList as Z, Teleport as ea, resolveDynamicComponent as ta, mergeProps as aa, createTextVNode as at, nextTick as $e } from "vue";
2
+ import { j as la, t as lt, m as oa, p as ot, n as na, o as nt, q as Te, s as sa, k as Pe, l as E, X as ua, T as st, a0 as ra, a1 as ia, U as ca } from "./lib-DBptbyyI.js";
3
3
  import { b as va } from "./labelUtils-CqTHa20R.js";
4
4
  import { t as da, u as ha } from "./useResponsive-DfdjqQps.js";
5
- import { u as ga } from "./useConfig-CpJA0VZa.js";
5
+ import { u as ga } from "./useConfig-ChRble71.js";
6
6
  import { u as fa, B as pa } from "./BaseScanner-BhhkKVoj.js";
7
7
  import { u as ya } from "./usePrinter-CEpYU3r5.js";
8
8
  import { u as ma } from "./useSvgExport-ByUukOZt.js";
@@ -43,8 +43,8 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
43
43
  }
44
44
  },
45
45
  emits: ["selectLegend", "copyAlt"],
46
- setup(rt, { expose: ut, emit: it }) {
47
- const ct = L(() => import("./Tooltip-Bf-kM3_A.js")), vt = L(() => import("./BaseIcon-Cb3zzG6s.js")), dt = L(() => import("./vue-ui-accordion-BF4v32wv.js")), ht = L(() => import("./DataTable-DT2kIdQ6.js")), gt = L(() => import("./UserOptions-rW2fRf3V.js")), ft = L(() => import("./PenAndPaper-Ct3qJ4lA.js")), pt = L(() => import("./PackageVersion-1BHnPIBZ.js")), yt = L(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_onion: mt } = ga(), { isThemeValid: bt, warnInvalidTheme: kt } = ba(), P = rt, Se = h(() => !!P.dataset && P.dataset.length), k = s(la()), wt = s(null), xe = s(0), Y = s(!1), ne = s(""), y = s([]), I = s(null), Oe = s(null), Ie = s(null), De = s(null), Fe = s(null), Me = s(0), _e = s(0), Le = s(0), D = s(!1), Re = s(!1), X = s(null), ee = s(!1), te = s(!1), F = s(null), Be = s({ x: 0, y: 0 }), G = s("pointer"), se = s(!1), e = s(ie()), B = h(() => e.value.userOptions.useCursorPointer), Ct = h(() => lt({
46
+ setup(ut, { expose: rt, emit: it }) {
47
+ const ct = L(() => import("./Tooltip-C8KGyqQk.js")), vt = L(() => import("./BaseIcon-Cb3zzG6s.js")), dt = L(() => import("./vue-ui-accordion-CnDW2UQL.js")), ht = L(() => import("./DataTable-DT2kIdQ6.js")), gt = L(() => import("./UserOptions-rW2fRf3V.js")), ft = L(() => import("./PenAndPaper-Ct3qJ4lA.js")), pt = L(() => import("./PackageVersion-B3kmPxTR.js")), yt = L(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_onion: mt } = ga(), { isThemeValid: bt, warnInvalidTheme: kt } = ba(), P = ut, Se = h(() => !!P.dataset && P.dataset.length), C = s(la()), wt = s(null), xe = s(0), Y = s(!1), se = s(""), y = s([]), I = s(null), Oe = s(null), Ie = s(null), De = s(null), Fe = s(null), Me = s(0), _e = s(0), Le = s(0), D = s(!1), Re = s(!1), X = s(null), ee = s(!1), te = s(!1), F = s(null), Be = s({ x: 0, y: 0 }), G = s("pointer"), ue = s(!1), e = s(ce()), B = h(() => e.value.userOptions.useCursorPointer), Ct = h(() => lt({
48
48
  defaultConfig: {
49
49
  userOptions: { show: !1 },
50
50
  table: { show: !1 },
@@ -67,7 +67,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
67
67
  })), { loading: A, FINAL_DATASET: Ne, manualLoading: re } = fa({
68
68
  ...Jt(P),
69
69
  FINAL_CONFIG: e,
70
- prepareConfig: ie,
70
+ prepareConfig: ce,
71
71
  callback: () => {
72
72
  Promise.resolve().then(async () => {
73
73
  await $e(), Ge();
@@ -83,8 +83,8 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
83
83
  defaultConfig: e.value,
84
84
  userConfig: Ct.value
85
85
  })
86
- }), { userOptionsVisible: ue, setUserOptionsVisibility: ze, keepUserOptionState: Ve } = ka({ config: e.value }), { svgRef: M } = wa({ config: e.value.style.chart.title });
87
- function ie() {
86
+ }), { userOptionsVisible: ie, setUserOptionsVisibility: ze, keepUserOptionState: Ve } = ka({ config: e.value }), { svgRef: M } = wa({ config: e.value.style.chart.title });
87
+ function ce() {
88
88
  const t = Ae({
89
89
  userConfig: P.config,
90
90
  defaultConfig: mt
@@ -105,18 +105,18 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
105
105
  };
106
106
  }
107
107
  q(() => P.config, (t) => {
108
- A.value || (e.value = ie()), ue.value = !e.value.userOptions.showOnChartHover, Xe(), Me.value += 1, _e.value += 1, Le.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
108
+ A.value || (e.value = ce()), ie.value = !e.value.userOptions.showOnChartHover, Xe(), Me.value += 1, _e.value += 1, Le.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show;
109
109
  }, { deep: !0 });
110
- const { isPrinting: ce, isImaging: ve, generatePdf: Ue, generateImage: Ee } = ya({
111
- elementId: `vue-ui-onion_${k.value}`,
110
+ const { isPrinting: ve, isImaging: de, generatePdf: Ue, generateImage: Ee } = ya({
111
+ elementId: `vue-ui-onion_${C.value}`,
112
112
  fileName: e.value.style.chart.title.text || "vue-ui-onion",
113
113
  options: e.value.userOptions.print
114
- }), $t = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = h(() => na(e.value.customPalette)), w = s({
114
+ }), $t = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = h(() => na(e.value.customPalette)), $ = s({
115
115
  showTable: e.value.table.show,
116
116
  showTooltip: e.value.style.chart.tooltip.show
117
117
  });
118
118
  q(e, () => {
119
- w.value = {
119
+ $.value = {
120
120
  showTable: e.value.table.show,
121
121
  showTooltip: e.value.style.chart.tooltip.show
122
122
  };
@@ -145,7 +145,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
145
145
  sizeRef: Pt,
146
146
  labelClass: ".vue-ui-onion-label"
147
147
  }), At = h(() => e.value.debug);
148
- let de = null;
148
+ let he = null;
149
149
  function Xe() {
150
150
  if (nt(P.dataset) && (Te({
151
151
  componentName: "VueUiOnion",
@@ -153,7 +153,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
153
153
  debug: At.value
154
154
  }), re.value = !0), nt(P.dataset) || (re.value = e.value.loading), e.value.responsive) {
155
155
  const l = da(() => {
156
- de && clearTimeout(de), D.value = !0;
156
+ he && clearTimeout(he), D.value = !0;
157
157
  let { width: a, height: o } = ha({
158
158
  chart: I.value,
159
159
  title: e.value.style.chart.title.text ? Oe.value : null,
@@ -162,7 +162,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
162
162
  noTitle: Fe.value
163
163
  });
164
164
  o -= 12, requestAnimationFrame(async () => {
165
- 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, de = setTimeout(() => {
165
+ 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, he = setTimeout(() => {
166
166
  D.value = !1, Ye();
167
167
  }, 0);
168
168
  });
@@ -198,7 +198,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
198
198
  index: l
199
199
  });
200
200
  }), Ne.value.map((t, l) => {
201
- const a = `onion_serie_${l}_${k.value}`;
201
+ const a = `onion_serie_${l}_${C.value}`;
202
202
  return {
203
203
  ...t,
204
204
  percentage: t.percentage || 0,
@@ -225,7 +225,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
225
225
  v: t.percentage ?? 0,
226
226
  s: "%",
227
227
  r: e.value.style.chart.legend.roundingPercentage
228
- }), C = ye({
228
+ }), T = me({
229
229
  showVal: a,
230
230
  showPercentage: o,
231
231
  val: c,
@@ -234,19 +234,19 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
234
234
  });
235
235
  return {
236
236
  ...t,
237
- display: `${t.name}${a || o ? ": " : ""}${C}`
237
+ display: `${t.name}${a || o ? ": " : ""}${T}`
238
238
  };
239
- })), K = s(b.value), St = h(() => e.value.useStartAnimation), xt = s(null), Ot = h(() => Math.max(...b.value.map((t) => t.percentage))), he = s(!1);
239
+ })), K = s(b.value), St = h(() => e.value.useStartAnimation), xt = s(null), Ot = h(() => Math.max(...b.value.map((t) => t.percentage))), ge = s(!1);
240
240
  q(() => b.value, Ge, { immediate: !0, deep: !0 }), q(() => P.dataset, (t) => {
241
241
  Array.isArray(t) && t.length > 0 && (re.value = !1);
242
242
  }, { deep: !0 });
243
243
  function Ge() {
244
- if (St.value && !he.value && !A.value) {
244
+ if (St.value && !ge.value && !A.value) {
245
245
  let l = function() {
246
- t >= Ot.value ? (cancelAnimationFrame(xt.value), K.value = b.value, he.value = !0) : (K.value = b.value.map((a) => ({
246
+ t >= Ot.value ? (cancelAnimationFrame(xt.value), K.value = b.value, ge.value = !0) : (K.value = b.value.map((a) => ({
247
247
  ...a,
248
248
  percentage: t < a.targetPercentage ? t : a.targetPercentage
249
- })), t += 1, requestAnimationFrame(l), he.value = !0);
249
+ })), t += 1, requestAnimationFrame(l), ge.value = !0);
250
250
  };
251
251
  K.value = b.value.map((a) => ({
252
252
  ...a,
@@ -327,7 +327,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
327
327
  function Rt() {
328
328
  return f.value;
329
329
  }
330
- const ge = h(() => {
330
+ const fe = h(() => {
331
331
  const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], l = f.value.map((a) => [
332
332
  a.name,
333
333
  a.percentage,
@@ -335,7 +335,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
335
335
  ]);
336
336
  return { head: t, body: l };
337
337
  }), U = h(() => {
338
- const t = ge.value.head, l = f.value.map((o) => [
338
+ const t = fe.value.head, l = f.value.map((o) => [
339
339
  `<span style="color:${o.color}" aria-hidden="true">⬤</span> ${o.name}`,
340
340
  `${Number(o.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
341
341
  `${o.prefix || ""}${[null, void 0, NaN, "NaN"].includes(o.value) ? "-" : o.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${o.suffix || ""}`
@@ -354,9 +354,9 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
354
354
  };
355
355
  return { head: t, body: l, config: a, colNames: t };
356
356
  });
357
- function fe(t = null) {
357
+ function pe(t = null) {
358
358
  $e(() => {
359
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ge.value.head, o = ge.value.body, c = l.concat([a]).concat(o), i = ua(c);
359
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = fe.value.head, o = fe.value.body, c = l.concat([a]).concat(o), i = ra(c);
360
360
  t ? t(i) : ia({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-onion" });
361
361
  });
362
362
  }
@@ -364,13 +364,13 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
364
364
  function We(t) {
365
365
  z.value = t, xe.value += 1;
366
366
  }
367
- function pe({ datapoint: t }) {
367
+ function ye({ datapoint: t }) {
368
368
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
369
369
  }
370
370
  function je({ datapoint: t }) {
371
371
  x.value = void 0, Y.value = !1, F.value = null, G.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
372
372
  }
373
- function ye({
373
+ function me({
374
374
  val: t,
375
375
  percentage: l,
376
376
  showVal: a,
@@ -386,7 +386,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
386
386
  });
387
387
  }
388
388
  function Bt(t, l) {
389
- const a = e.value.style.chart.layout.labels.value.show, o = e.value.style.chart.layout.labels.percentage.show, c = ye({
389
+ const a = e.value.style.chart.layout.labels.value.show, o = e.value.style.chart.layout.labels.percentage.show, c = me({
390
390
  config: e.value.style.chart.layout.labels,
391
391
  showVal: a,
392
392
  showPercentage: o,
@@ -409,36 +409,36 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
409
409
  });
410
410
  return `${t.name}${a || o ? ": " : ""}${c}`;
411
411
  }
412
- const me = s(null);
412
+ const le = s(null);
413
413
  function be({ datapoint: t, seriesIndex: l, show: a = !0, triggerMode: o = "pointer" }) {
414
414
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), G.value = o, F.value = l;
415
415
  const c = t.absoluteIndex;
416
- x.value = l, me.value = {
416
+ x.value = l, le.value = {
417
417
  datapoint: t,
418
418
  seriesIndex: c,
419
419
  series: b.value,
420
420
  config: e.value
421
421
  }, Y.value = a;
422
422
  let i = "";
423
- const C = e.value.style.chart.tooltip.customFormat;
424
- if (st(C) && ca(() => C({
423
+ const T = e.value.style.chart.tooltip.customFormat;
424
+ if (st(T) && ca(() => T({
425
425
  seriesIndex: c,
426
426
  datapoint: t,
427
427
  series: b.value,
428
428
  config: e.value
429
429
  })))
430
- ne.value = C({
430
+ se.value = T({
431
431
  seriesIndex: c,
432
432
  datapoint: t,
433
433
  series: b.value,
434
434
  config: e.value
435
435
  });
436
436
  else {
437
- const le = e.value.style.chart.tooltip.showPercentage, qt = e.value.style.chart.tooltip.showValue;
438
- i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${t.color}"/></svg>`, i += `<b>${ye({
437
+ const oe = e.value.style.chart.tooltip.showPercentage, qt = e.value.style.chart.tooltip.showValue;
438
+ i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${t.color}"/></svg>`, i += `<b>${me({
439
439
  config: e.value.style.chart.tooltip,
440
440
  showVal: qt,
441
- showPercentage: le,
441
+ showPercentage: oe,
442
442
  val: `<span>${Pe(
443
443
  e.value.style.chart.layout.labels.value.formatter,
444
444
  t.value,
@@ -458,14 +458,14 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
458
458
  s: "%",
459
459
  r: e.value.style.chart.tooltip.roundingPercentage
460
460
  })
461
- })}</b></div>`, ne.value = `<div>${i}</div>`;
461
+ })}</b></div>`, se.value = `<div>${i}</div>`;
462
462
  }
463
463
  }
464
464
  function qe() {
465
- w.value.showTable = !w.value.showTable;
465
+ $.value.showTable = !$.value.showTable;
466
466
  }
467
467
  function Je() {
468
- w.value.showTooltip = !w.value.showTooltip;
468
+ $.value.showTooltip = !$.value.showTooltip;
469
469
  }
470
470
  const W = s(!1);
471
471
  function ke() {
@@ -484,7 +484,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
484
484
  };
485
485
  }
486
486
  const j = h(() => {
487
- const t = e.value.table.useDialog && !e.value.table.show, l = w.value.showTable;
487
+ const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
488
488
  return {
489
489
  component: t ? yt : dt,
490
490
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -514,7 +514,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
514
514
  }
515
515
  };
516
516
  });
517
- q(() => w.value.showTable, (t) => {
517
+ q(() => $.value.showTable, (t) => {
518
518
  e.value.table.show || (t && e.value.table.useDialog && X.value ? X.value.open() : "close" in X.value && X.value.close());
519
519
  });
520
520
  const zt = h(() => H.value.map((t) => ({
@@ -564,10 +564,10 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
564
564
  }));
565
565
  }
566
566
  function Ht() {
567
- F.value = null, se.value = !0;
567
+ F.value = null, ue.value = !0;
568
568
  }
569
569
  function Kt() {
570
- F.value = null, G.value = "pointer", Y.value = !1, x.value = void 0, se.value = !1;
570
+ F.value = null, G.value = "pointer", Y.value = !1, x.value = void 0, ue.value = !1;
571
571
  }
572
572
  function Wt(t) {
573
573
  if (!M.value || W.value || document.activeElement !== M.value || !f.value.length) return;
@@ -579,16 +579,16 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
579
579
  }
580
580
  if (o) {
581
581
  if (F.value === null) return;
582
- const le = f.value[F.value];
583
- if (!le) return;
584
- pe({ datapoint: le });
582
+ const oe = f.value[F.value];
583
+ if (!oe) return;
584
+ ye({ datapoint: oe });
585
585
  return;
586
586
  }
587
587
  let i = F.value;
588
588
  i === null || i < 0 || i >= f.value.length ? i = a ? 0 : f.value.length - 1 : a ? (i += 1, i >= f.value.length && (i = 0)) : l && (i -= 1, i < 0 && (i = f.value.length - 1));
589
- const C = f.value[i];
590
- C && (jt(i), be({
591
- datapoint: C,
589
+ const T = f.value[i];
590
+ T && (jt(i), be({
591
+ datapoint: T,
592
592
  seriesIndex: i,
593
593
  show: !0,
594
594
  triggerMode: "keyboard"
@@ -598,21 +598,21 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
598
598
  if (!Number.isFinite(t) || !M.value) return;
599
599
  const l = f.value[t];
600
600
  if (!l) return;
601
- const a = l.radius, o = Math.PI * 7 / 4, c = p.value.centerX + a * Math.cos(o), i = p.value.centerY + a * Math.sin(o), C = M.value.getBoundingClientRect();
601
+ const a = l.radius, o = Math.PI * 7 / 4, c = p.value.centerX + a * Math.cos(o), i = p.value.centerY + a * Math.sin(o), T = M.value.getBoundingClientRect();
602
602
  Be.value = {
603
- x: C.left + c / n.value.width * C.width,
604
- y: C.top + i / n.value.height * C.height
603
+ x: T.left + c / n.value.width * T.width,
604
+ y: T.top + i / n.value.height * T.height
605
605
  };
606
606
  }
607
607
  const we = h(() => {
608
608
  const t = U.value?.colNames ?? [], l = U.value?.body ?? [];
609
609
  return { headers: t, rows: l };
610
610
  });
611
- return ut({
611
+ return rt({
612
612
  getData: Rt,
613
613
  getImage: Nt,
614
614
  generatePdf: Ue,
615
- generateCsv: fe,
615
+ generateCsv: pe,
616
616
  generateImage: Ee,
617
617
  generateSvg: Qe,
618
618
  hideSeries: Lt,
@@ -622,32 +622,32 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
622
622
  toggleAnnotator: ke,
623
623
  toggleFullscreen: We,
624
624
  copyAlt: Ze
625
- }), (t, l) => (r(), g("div", {
626
- class: oe(`vue-data-ui-component vue-ui-onion ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
625
+ }), (t, l) => (u(), g("div", {
626
+ class: ne(`vue-data-ui-component vue-ui-onion ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
627
627
  ref_key: "onionChart",
628
628
  ref: I,
629
- id: `vue-ui-onion_${k.value}`,
629
+ id: `vue-ui-onion_${C.value}`,
630
630
  style: R(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
631
- onMouseenter: l[4] || (l[4] = () => u(ze)(!0)),
632
- onMouseleave: l[5] || (l[5] = () => u(ze)(!1))
631
+ onMouseenter: l[4] || (l[4] = () => r(ze)(!0)),
632
+ onMouseleave: l[5] || (l[5] = () => r(ze)(!1))
633
633
  }, [
634
634
  S("div", {
635
- id: `chart-instructions-${k.value}`,
635
+ id: `chart-instructions-${C.value}`,
636
636
  class: "sr-only"
637
637
  }, [
638
638
  S("p", null, J(e.value.a11y.translations.keyboardNavigation), 1)
639
639
  ], 8, Da),
640
- we.value?.rows?.length ? (r(), O(Sa, {
640
+ we.value?.rows?.length ? (u(), O(Sa, {
641
641
  key: 0,
642
- uid: k.value,
642
+ uid: C.value,
643
643
  head: we.value.headers,
644
644
  body: we.value.rows,
645
645
  notice: e.value.a11y.translations.tableAvailable,
646
646
  caption: e.value.a11y.translations.tableCaption
647
647
  }, null, 8, ["uid", "head", "body", "notice", "caption"])) : m("", !0),
648
- e.value.userOptions.buttons.annotator ? (r(), O(u(ft), {
648
+ e.value.userOptions.buttons.annotator ? (u(), O(r(ft), {
649
649
  key: 1,
650
- svgRef: u(M),
650
+ svgRef: r(M),
651
651
  backgroundColor: e.value.style.chart.backgroundColor,
652
652
  color: e.value.style.chart.color,
653
653
  active: W.value,
@@ -658,36 +658,36 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
658
658
  d(t.$slots, "annotator-action-close", {}, void 0, !0)
659
659
  ]),
660
660
  "annotator-action-color": v(({ color: a }) => [
661
- d(t.$slots, "annotator-action-color", $(T({ color: a })), void 0, !0)
661
+ d(t.$slots, "annotator-action-color", k(w({ color: a })), void 0, !0)
662
662
  ]),
663
663
  "annotator-action-draw": v(({ mode: a }) => [
664
- d(t.$slots, "annotator-action-draw", $(T({ mode: a })), void 0, !0)
664
+ d(t.$slots, "annotator-action-draw", k(w({ mode: a })), void 0, !0)
665
665
  ]),
666
666
  "annotator-action-undo": v(({ disabled: a }) => [
667
- d(t.$slots, "annotator-action-undo", $(T({ disabled: a })), void 0, !0)
667
+ d(t.$slots, "annotator-action-undo", k(w({ disabled: a })), void 0, !0)
668
668
  ]),
669
669
  "annotator-action-redo": v(({ disabled: a }) => [
670
- d(t.$slots, "annotator-action-redo", $(T({ disabled: a })), void 0, !0)
670
+ d(t.$slots, "annotator-action-redo", k(w({ disabled: a })), void 0, !0)
671
671
  ]),
672
672
  "annotator-action-delete": v(({ disabled: a }) => [
673
- d(t.$slots, "annotator-action-delete", $(T({ disabled: a })), void 0, !0)
673
+ d(t.$slots, "annotator-action-delete", k(w({ disabled: a })), void 0, !0)
674
674
  ]),
675
675
  _: 3
676
676
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : m("", !0),
677
- $t.value ? (r(), g("div", {
677
+ $t.value ? (u(), g("div", {
678
678
  key: 2,
679
679
  ref_key: "noTitle",
680
680
  ref: Fe,
681
681
  class: "vue-data-ui-no-title-space",
682
682
  style: "height:36px; width: 100%;background:transparent"
683
683
  }, null, 512)) : m("", !0),
684
- e.value.style.chart.title.text ? (r(), g("div", {
684
+ e.value.style.chart.title.text ? (u(), g("div", {
685
685
  key: 3,
686
686
  ref_key: "chartTitle",
687
687
  ref: Oe,
688
688
  style: "width:100%;background:transparent"
689
689
  }, [
690
- (r(), O(Ta, {
690
+ (u(), O(Ta, {
691
691
  key: `title_${Me.value}`,
692
692
  config: {
693
693
  title: {
@@ -702,17 +702,17 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
702
702
  }, null, 8, ["config"]))
703
703
  ], 512)) : m("", !0),
704
704
  S("div", {
705
- id: `legend-top-${k.value}`
705
+ id: `legend-top-${C.value}`
706
706
  }, null, 8, Fa),
707
- e.value.userOptions.show && Se.value && (u(Ve) || u(ue)) ? (r(), O(u(gt), {
707
+ e.value.userOptions.show && Se.value && (r(Ve) || r(ie)) ? (u(), O(r(gt), {
708
708
  ref_key: "details",
709
709
  ref: wt,
710
710
  key: `user_options${xe.value}`,
711
711
  backgroundColor: e.value.style.chart.backgroundColor,
712
712
  color: e.value.style.chart.color,
713
- isImaging: u(ve),
714
- isPrinting: u(ce),
715
- uid: k.value,
713
+ isImaging: r(de),
714
+ isPrinting: r(ve),
715
+ uid: C.value,
716
716
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
717
717
  hasPdf: e.value.userOptions.buttons.pdf,
718
718
  hasImg: e.value.userOptions.buttons.img,
@@ -722,7 +722,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
722
722
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
723
723
  hasAltCopy: e.value.userOptions.buttons.altCopy,
724
724
  isFullscreen: z.value,
725
- isTooltip: w.value.showTooltip,
725
+ isTooltip: $.value.showTooltip,
726
726
  titles: { ...e.value.userOptions.buttonTitles },
727
727
  chartElement: I.value,
728
728
  position: e.value.userOptions.position,
@@ -733,8 +733,8 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
733
733
  tableDialog: e.value.table.useDialog,
734
734
  isCursorPointer: B.value,
735
735
  onToggleFullscreen: We,
736
- onGeneratePdf: u(Ue),
737
- onGenerateCsv: fe,
736
+ onGeneratePdf: r(Ue),
737
+ onGenerateCsv: pe,
738
738
  onGenerateImage: Gt,
739
739
  onGenerateSvg: Qe,
740
740
  onToggleTable: qe,
@@ -742,13 +742,13 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
742
742
  onToggleAnnotator: ke,
743
743
  onCopyAlt: Ze,
744
744
  style: R({
745
- visibility: u(Ve) ? u(ue) ? "visible" : "hidden" : "visible"
745
+ visibility: r(Ve) ? r(ie) ? "visible" : "hidden" : "visible"
746
746
  })
747
747
  }, tt({ _: 2 }, [
748
748
  t.$slots.menuIcon ? {
749
749
  name: "menuIcon",
750
750
  fn: v(({ isOpen: a, color: o }) => [
751
- d(t.$slots, "menuIcon", $(T({ isOpen: a, color: o })), void 0, !0)
751
+ d(t.$slots, "menuIcon", k(w({ isOpen: a, color: o })), void 0, !0)
752
752
  ]),
753
753
  key: "0"
754
754
  } : void 0,
@@ -797,32 +797,32 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
797
797
  t.$slots.optionFullscreen ? {
798
798
  name: "optionFullscreen",
799
799
  fn: v(({ toggleFullscreen: a, isFullscreen: o }) => [
800
- d(t.$slots, "optionFullscreen", $(T({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
800
+ d(t.$slots, "optionFullscreen", k(w({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
801
801
  ]),
802
802
  key: "7"
803
803
  } : void 0,
804
804
  t.$slots.optionAnnotator ? {
805
805
  name: "optionAnnotator",
806
806
  fn: v(({ toggleAnnotator: a, isAnnotator: o }) => [
807
- d(t.$slots, "optionAnnotator", $(T({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
807
+ d(t.$slots, "optionAnnotator", k(w({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
808
808
  ]),
809
809
  key: "8"
810
810
  } : void 0,
811
811
  t.$slots.optionAltCopy ? {
812
812
  name: "optionAltCopy",
813
813
  fn: v(({ altCopy: a }) => [
814
- d(t.$slots, "optionAltCopy", $(T({ altCopy: a })), void 0, !0)
814
+ d(t.$slots, "optionAltCopy", k(w({ altCopy: a })), void 0, !0)
815
815
  ]),
816
816
  key: "9"
817
817
  } : void 0
818
818
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : m("", !0),
819
819
  S("div", Ma, [
820
- (r(), g("svg", {
820
+ (u(), g("svg", {
821
821
  ref_key: "svgRef",
822
822
  ref: M,
823
- xmlns: u(ra),
824
- "aria-describedby": `chart-instructions-${k.value}`,
825
- class: oe({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value, resizing: D.value }),
823
+ xmlns: r(ua),
824
+ "aria-describedby": `chart-instructions-${C.value}`,
825
+ class: ne({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value, resizing: D.value }),
826
826
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
827
827
  style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
828
828
  tabindex: "0",
@@ -830,8 +830,8 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
830
830
  onBlur: Kt,
831
831
  onKeydown: Wt
832
832
  }, [
833
- Ce(u(pt)),
834
- t.$slots["chart-background"] ? (r(), g("foreignObject", {
833
+ Ce(r(pt)),
834
+ t.$slots["chart-background"] ? (u(), g("foreignObject", {
835
835
  key: 0,
836
836
  x: 0,
837
837
  y: 0,
@@ -843,7 +843,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
843
843
  }, [
844
844
  d(t.$slots, "chart-background", {}, void 0, !0)
845
845
  ], 8, La)) : m("", !0),
846
- (r(!0), g(Q, null, Z(f.value, (a, o) => (r(), g("circle", {
846
+ (u(!0), g(Q, null, Z(f.value, (a, o) => (u(), g("circle", {
847
847
  cx: p.value.centerX,
848
848
  cy: p.value.centerY,
849
849
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -853,15 +853,15 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
853
853
  "stroke-dasharray": a.path.bgDashArray,
854
854
  "stroke-dashoffset": a.path.fullOffset,
855
855
  "stroke-linecap": "round",
856
- class: oe({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(x.value) && x.value !== o }),
856
+ class: ne({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(x.value) && x.value !== o }),
857
857
  style: R({
858
858
  transform: "rotate(-90deg)",
859
859
  transformOrigin: "50% 50%",
860
- transition: D.value || u(A) ? "none" : "all 0.3s ease-in-out !important",
861
- animation: D.value || u(A) ? "none" : "xyAnimation 0.5s ease-in"
860
+ transition: D.value || r(A) ? "none" : "all 0.3s ease-in-out !important",
861
+ animation: D.value || r(A) ? "none" : "xyAnimation 0.5s ease-in"
862
862
  })
863
863
  }, null, 14, Ra))), 256)),
864
- (r(!0), g(Q, null, Z(f.value, (a, o) => (r(), g("circle", {
864
+ (u(!0), g(Q, null, Z(f.value, (a, o) => (u(), g("circle", {
865
865
  cx: p.value.centerX,
866
866
  cy: p.value.centerY,
867
867
  r: a.radius < 0 ? 1e-4 : a.radius,
@@ -870,18 +870,18 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
870
870
  fill: "none",
871
871
  "stroke-dasharray": a.path.dashArray,
872
872
  "stroke-dashoffset": a.path.dashOffset,
873
- class: oe({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(x.value) && x.value !== o }),
873
+ class: ne({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(x.value) && x.value !== o }),
874
874
  "stroke-linecap": "round",
875
875
  style: R({
876
876
  transform: "rotate(-90deg)",
877
877
  transformOrigin: "50% 50%",
878
- transition: D.value || u(A) ? "none" : "all 0.3s ease-in-out !important",
879
- animation: D.value || u(A) ? "none" : "xyAnimation 0.5s ease-in"
878
+ transition: D.value || r(A) ? "none" : "all 0.3s ease-in-out !important",
879
+ animation: D.value || r(A) ? "none" : "xyAnimation 0.5s ease-in"
880
880
  })
881
881
  }, null, 14, Ba))), 256)),
882
882
  S("defs", null, [
883
883
  S("filter", {
884
- id: `blur_${k.value}`,
884
+ id: `blur_${C.value}`,
885
885
  x: "-50%",
886
886
  y: "-50%",
887
887
  width: "200%",
@@ -893,11 +893,11 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
893
893
  }, null, 8, za)
894
894
  ], 8, Na)
895
895
  ]),
896
- e.value.style.chart.useGradient ? (r(), g("g", {
896
+ e.value.style.chart.useGradient ? (u(), g("g", {
897
897
  key: 1,
898
- filter: `url(#blur_${k.value})`
898
+ filter: `url(#blur_${C.value})`
899
899
  }, [
900
- (r(!0), g(Q, null, Z(f.value, (a, o) => (r(), g("circle", {
900
+ (u(!0), g(Q, null, Z(f.value, (a, o) => (u(), g("circle", {
901
901
  cx: p.value.centerX,
902
902
  cy: p.value.centerY,
903
903
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -910,12 +910,12 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
910
910
  style: R({
911
911
  transform: "rotate(-90deg)",
912
912
  transformOrigin: "50% 50%",
913
- transition: D.value || u(A) ? "none" : "all 0.3s ease-in-out !important",
914
- animation: D.value || u(A) ? "none" : "xyAnimation 0.5s ease-in"
913
+ transition: D.value || r(A) ? "none" : "all 0.3s ease-in-out !important",
914
+ animation: D.value || r(A) ? "none" : "xyAnimation 0.5s ease-in"
915
915
  })
916
916
  }, null, 12, Ua))), 256))
917
917
  ], 8, Va)) : m("", !0),
918
- (r(!0), g(Q, null, Z(f.value, (a, o) => (r(), g("circle", {
918
+ (u(!0), g(Q, null, Z(f.value, (a, o) => (u(), g("circle", {
919
919
  cx: p.value.centerX,
920
920
  cy: p.value.centerY,
921
921
  r: a.radius <= 0 ? 1e-4 : a.radius,
@@ -937,10 +937,10 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
937
937
  triggerMode: "pointer"
938
938
  }),
939
939
  onMouseleave: (c) => je({ datapoint: a }),
940
- onClick: (c) => pe({ datapoint: a })
940
+ onClick: (c) => ye({ datapoint: a })
941
941
  }, null, 40, Ea))), 256)),
942
- e.value.style.chart.layout.labels.show ? (r(), g("g", Ya, [
943
- (r(!0), g(Q, null, Z(f.value, (a, o) => (r(), g("g", {
942
+ e.value.style.chart.layout.labels.show ? (u(), g("g", Ya, [
943
+ (u(!0), g(Q, null, Z(f.value, (a, o) => (u(), g("g", {
944
944
  onMouseenter: (c) => be({
945
945
  datapoint: a,
946
946
  show: !0,
@@ -948,9 +948,9 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
948
948
  triggerMode: "pointer"
949
949
  }),
950
950
  onMouseleave: (c) => je({ datapoint: a }),
951
- onClick: (c) => pe({ datapoint: a })
951
+ onClick: (c) => ye({ datapoint: a })
952
952
  }, [
953
- y.value.includes(a.id) ? m("", !0) : (r(), g("text", {
953
+ y.value.includes(a.id) ? m("", !0) : (u(), g("text", {
954
954
  key: 0,
955
955
  class: "vue-ui-onion-label",
956
956
  x: n.value.width / 2 - N.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
@@ -965,30 +965,30 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
965
965
  d(t.$slots, "svg", {
966
966
  svg: {
967
967
  ...n.value,
968
- isPrintingImg: u(ce) | u(ve) | ee.value,
968
+ isPrintingImg: r(ve) | r(de) | ee.value,
969
969
  isPrintingSvg: te.value
970
970
  }
971
971
  }, void 0, !0)
972
972
  ], 46, _a)),
973
- t.$slots.hint ? (r(), g("div", Ha, [
974
- d(t.$slots, "hint", $(T({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: se.value })), void 0, !0)
973
+ t.$slots.hint ? (u(), g("div", Ha, [
974
+ d(t.$slots, "hint", k(w({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ue.value })), void 0, !0)
975
975
  ])) : m("", !0)
976
976
  ]),
977
- t.$slots.watermark ? (r(), g("div", Ka, [
978
- d(t.$slots, "watermark", $(T({ isPrinting: u(ce) || u(ve) || ee.value || te.value })), void 0, !0)
977
+ t.$slots.watermark ? (u(), g("div", Ka, [
978
+ d(t.$slots, "watermark", k(w({ isPrinting: r(ve) || r(de) || ee.value || te.value })), void 0, !0)
979
979
  ])) : m("", !0),
980
980
  S("div", {
981
- id: `legend-bottom-${k.value}`
981
+ id: `legend-bottom-${C.value}`
982
982
  }, null, 8, Wa),
983
- Re.value ? (r(), O(ea, {
983
+ Re.value ? (u(), O(ea, {
984
984
  key: 6,
985
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
985
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
986
986
  }, [
987
987
  S("div", {
988
988
  ref_key: "chartLegend",
989
989
  ref: Ie
990
990
  }, [
991
- e.value.style.chart.legend.show ? (r(), O(Pa, {
991
+ e.value.style.chart.legend.show ? (u(), O(Pa, {
992
992
  key: `legend_${Le.value}`,
993
993
  legendSet: H.value,
994
994
  config: It.value,
@@ -996,7 +996,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
996
996
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => ae(a.id))
997
997
  }, {
998
998
  item: v(({ legend: a }) => [
999
- u(A) ? m("", !0) : (r(), g("div", {
999
+ r(A) ? m("", !0) : (u(), g("div", {
1000
1000
  key: 0,
1001
1001
  "data-cy-legend-item": "",
1002
1002
  onClick: (o) => a.segregate(),
@@ -1004,7 +1004,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1004
1004
  }, J(a.display), 13, ja))
1005
1005
  ]),
1006
1006
  legendToggle: v(() => [
1007
- H.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !u(A) ? (r(), O(xa, {
1007
+ H.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !r(A) ? (u(), O(xa, {
1008
1008
  key: 0,
1009
1009
  backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1010
1010
  color: e.value.style.chart.legend.selectAllToggle.color,
@@ -1021,7 +1021,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1021
1021
  }, void 0, !0)
1022
1022
  ], 512)
1023
1023
  ], 8, ["to"])) : m("", !0),
1024
- t.$slots.source ? (r(), g("div", {
1024
+ t.$slots.source ? (u(), g("div", {
1025
1025
  key: 7,
1026
1026
  ref_key: "source",
1027
1027
  ref: De,
@@ -1029,9 +1029,9 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1029
1029
  }, [
1030
1030
  d(t.$slots, "source", {}, void 0, !0)
1031
1031
  ], 512)) : m("", !0),
1032
- Ce(u(ct), {
1032
+ Ce(r(ct), {
1033
1033
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1034
- show: w.value.showTooltip && Y.value,
1034
+ show: $.value.showTooltip && Y.value,
1035
1035
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1036
1036
  color: e.value.style.chart.tooltip.color,
1037
1037
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1042,9 +1042,9 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1042
1042
  position: e.value.style.chart.tooltip.position,
1043
1043
  offsetY: e.value.style.chart.tooltip.offsetY,
1044
1044
  parent: I.value,
1045
- content: ne.value,
1045
+ content: se.value,
1046
1046
  isFullscreen: z.value,
1047
- isCustom: u(st)(e.value.style.chart.tooltip.customFormat),
1047
+ isCustom: r(st)(e.value.style.chart.tooltip.customFormat),
1048
1048
  smooth: e.value.style.chart.tooltip.smooth,
1049
1049
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1050
1050
  smoothForce: e.value.style.chart.tooltip.smoothForce,
@@ -1053,20 +1053,23 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1053
1053
  a11yPosition: Be.value
1054
1054
  }, {
1055
1055
  "tooltip-before": v(() => [
1056
- d(t.$slots, "tooltip-before", $(T({ ...me.value })), void 0, !0)
1056
+ d(t.$slots, "tooltip-before", k(w({ ...le.value })), void 0, !0)
1057
+ ]),
1058
+ tooltip: v(() => [
1059
+ d(t.$slots, "tooltip", k(w({ ...le.value })), void 0, !0)
1057
1060
  ]),
1058
1061
  "tooltip-after": v(() => [
1059
- d(t.$slots, "tooltip-after", $(T({ ...me.value })), void 0, !0)
1062
+ d(t.$slots, "tooltip-after", k(w({ ...le.value })), void 0, !0)
1060
1063
  ]),
1061
1064
  _: 3
1062
1065
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1063
- Se.value && e.value.userOptions.buttons.table ? (r(), O(ta(j.value.component), aa({ key: 8 }, j.value.props, {
1066
+ Se.value && e.value.userOptions.buttons.table ? (u(), O(ta(j.value.component), aa({ key: 8 }, j.value.props, {
1064
1067
  ref_key: "tableUnit",
1065
1068
  ref: X,
1066
- onClose: l[3] || (l[3] = (a) => w.value.showTable = !1)
1069
+ onClose: l[3] || (l[3] = (a) => $.value.showTable = !1)
1067
1070
  }), tt({
1068
1071
  content: v(() => [
1069
- (r(), O(u(ht), {
1072
+ (u(), O(r(ht), {
1070
1073
  key: `table_${_e.value}`,
1071
1074
  colNames: U.value.colNames,
1072
1075
  head: U.value.head,
@@ -1075,7 +1078,7 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1075
1078
  title: e.value.table.useDialog ? "" : j.value.title,
1076
1079
  withCloseButton: !e.value.table.useDialog,
1077
1080
  isCursorPointer: B.value,
1078
- onClose: l[2] || (l[2] = (a) => w.value.showTable = !1)
1081
+ onClose: l[2] || (l[2] = (a) => $.value.showTable = !1)
1079
1082
  }, {
1080
1083
  th: v(({ th: a }) => [
1081
1084
  at(J(a), 1)
@@ -1101,10 +1104,10 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1101
1104
  S("button", {
1102
1105
  tabindex: "0",
1103
1106
  class: "vue-ui-user-options-button",
1104
- onClick: l[1] || (l[1] = (a) => fe(e.value.userOptions.callbacks.csv)),
1107
+ onClick: l[1] || (l[1] = (a) => pe(e.value.userOptions.callbacks.csv)),
1105
1108
  style: R({ cursor: B.value ? "pointer" : "default" })
1106
1109
  }, [
1107
- Ce(u(vt), {
1110
+ Ce(r(vt), {
1108
1111
  name: "fileCsv",
1109
1112
  stroke: j.value.props.color
1110
1113
  }, null, 8, ["stroke"])
@@ -1114,11 +1117,11 @@ const Ia = ["id"], Da = ["id"], Fa = ["id"], Ma = { style: { position: "relative
1114
1117
  } : void 0
1115
1118
  ]), 1040)) : m("", !0),
1116
1119
  d(t.$slots, "skeleton", {}, () => [
1117
- u(A) ? (r(), O(pa, { key: 0 })) : m("", !0)
1120
+ r(A) ? (u(), O(pa, { key: 0 })) : m("", !0)
1118
1121
  ], !0)
1119
1122
  ], 46, Ia));
1120
1123
  }
1121
- }, ml = /* @__PURE__ */ Oa(Ja, [["__scopeId", "data-v-f8701594"]]);
1124
+ }, ml = /* @__PURE__ */ Oa(Ja, [["__scopeId", "data-v-a1697707"]]);
1122
1125
  export {
1123
1126
  ml as default
1124
1127
  };