vue-data-ui 3.19.8 → 3.19.9

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 (130) hide show
  1. package/README.md +1 -1
  2. package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-Dl9W5zJD.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-bump.js +1 -1
  7. package/dist/components/vue-ui-candlestick.js +1 -1
  8. package/dist/components/vue-ui-carousel-table.js +1 -1
  9. package/dist/components/vue-ui-chestnut.js +1 -1
  10. package/dist/components/vue-ui-chord.js +1 -1
  11. package/dist/components/vue-ui-circle-pack.js +1 -1
  12. package/dist/components/vue-ui-cursor.js +1 -1
  13. package/dist/components/vue-ui-dag.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-geo.js +1 -1
  24. package/dist/components/vue-ui-gizmo.js +1 -1
  25. package/dist/components/vue-ui-heatmap.js +1 -1
  26. package/dist/components/vue-ui-history-plot.js +1 -1
  27. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  28. package/dist/components/vue-ui-kpi.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-relation-circle.js +1 -1
  38. package/dist/components/vue-ui-ridgeline.js +1 -1
  39. package/dist/components/vue-ui-rings.js +1 -1
  40. package/dist/components/vue-ui-scatter.js +1 -1
  41. package/dist/components/vue-ui-skeleton.js +1 -1
  42. package/dist/components/vue-ui-spark-trend.js +1 -1
  43. package/dist/components/vue-ui-sparkbar.js +1 -1
  44. package/dist/components/vue-ui-sparkgauge.js +1 -1
  45. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  46. package/dist/components/vue-ui-sparkline.js +1 -1
  47. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  48. package/dist/components/vue-ui-stackbar.js +1 -1
  49. package/dist/components/vue-ui-stackline.js +1 -1
  50. package/dist/components/vue-ui-strip-plot.js +1 -1
  51. package/dist/components/vue-ui-table-sparkline.js +1 -1
  52. package/dist/components/vue-ui-table.js +1 -1
  53. package/dist/components/vue-ui-thermometer.js +1 -1
  54. package/dist/components/vue-ui-timer.js +1 -1
  55. package/dist/components/vue-ui-tiremarks.js +1 -1
  56. package/dist/components/vue-ui-treemap.js +1 -1
  57. package/dist/components/vue-ui-vertical-bar.js +1 -1
  58. package/dist/components/vue-ui-waffle.js +1 -1
  59. package/dist/components/vue-ui-wheel.js +1 -1
  60. package/dist/components/vue-ui-word-cloud.js +1 -1
  61. package/dist/components/vue-ui-world.js +1 -1
  62. package/dist/components/vue-ui-xy-canvas.js +1 -1
  63. package/dist/components/vue-ui-xy.js +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/types/vue-ui-dag.d.ts +2 -0
  66. package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-nsosW-n5.js} +61 -61
  67. package/dist/vue-data-ui.js +61 -61
  68. package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
  69. package/dist/{vue-ui-age-pyramid-Bu3bocZx.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
  70. package/dist/{vue-ui-bullet-COSSZ7RU.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
  71. package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-LQuPTOlm.js} +1 -1
  72. package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
  73. package/dist/{vue-ui-carousel-table-Q2uTIELA.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
  74. package/dist/{vue-ui-chestnut-DdNKhXkN.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
  75. package/dist/{vue-ui-chord-CYzGIRtA.js → vue-ui-chord-YflKRyWK.js} +1 -1
  76. package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
  77. package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-C5_wkWul.js} +1 -1
  78. package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-mH0baWM3.js} +1 -1
  79. package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
  80. package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-BYBtwXy_.js} +1 -1
  81. package/dist/{vue-ui-donut-BSanYbqb.js → vue-ui-donut-B3L7jeHL.js} +434 -432
  82. package/dist/{vue-ui-donut-evolution-BVttNIzH.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
  83. package/dist/{vue-ui-dumbbell-D-KcBLOF.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
  84. package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-BYYyk5KL.js} +1 -1
  85. package/dist/{vue-ui-funnel-COwXzAbB.js → vue-ui-funnel-BfY509t-.js} +1 -1
  86. package/dist/{vue-ui-galaxy-Cg9VStNF.js → vue-ui-galaxy-D061gTYS.js} +260 -257
  87. package/dist/{vue-ui-gauge-DHWCS6jR.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
  88. package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BwOMFUVr.js} +1 -1
  89. package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
  90. package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
  91. package/dist/{vue-ui-history-plot-CgPjudHv.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
  92. package/dist/{vue-ui-horizontal-bar-CpQCmBQD.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
  93. package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
  94. package/dist/{vue-ui-molecule-CvfwMxYY.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
  95. package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
  96. package/dist/{vue-ui-nested-donuts-C-LWBXmg.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
  97. package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-MN-PjNJq.js} +3 -3
  98. package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
  99. package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
  100. package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
  101. package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-D2pVd53z.js} +115 -112
  102. package/dist/{vue-ui-relation-circle-MxYh6hSt.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
  103. package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
  104. package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-DkHS5dwd.js} +105 -102
  105. package/dist/{vue-ui-scatter-DrS1nrwL.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
  106. package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
  107. package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
  108. package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
  109. package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
  110. package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
  111. package/dist/{vue-ui-sparkline-BAWc3ROJ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
  112. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
  113. package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
  114. package/dist/{vue-ui-stackline-DwtlEdOE.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
  115. package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
  116. package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-DuA_CfGn.js} +2 -2
  117. package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
  118. package/dist/{vue-ui-thermometer-Io8LdW1o.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
  119. package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-9LNNDl4q.js} +1 -1
  120. package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
  121. package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-BexKMBhz.js} +373 -373
  122. package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
  123. package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-BETHlWsO.js} +1 -1
  124. package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
  125. package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-CcgbuSp_.js} +1 -1
  126. package/dist/{vue-ui-xy-BCeOqJYR.js → vue-ui-xy-BQ1YONCq.js} +280 -277
  127. package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
  128. package/package.json +1 -1
  129. package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
  130. package/dist/vue-ui-sparkstackbar-BI8zG-DG.js +0 -662
@@ -170,17 +170,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
170
170
  },
171
171
  emits: ["selectLegend", "copyAlt"],
172
172
  setup(e, { expose: Oe, emit: Ze }) {
173
- let Kt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Jt = g(() => import("./DataTable-DmE8Oo4i.js")), Yt = g(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-BSanYbqb.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(r()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), F = S(null), gn = S(null), _n = S(!1), vn = S(!1), yn = S(null), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(!1), Tn = qe(null), En = qe(null), Dn = S(null), I = S(null), On = S(!1), kn = Ze, An = d(() => !!O.dataset && O.dataset.length);
173
+ let Kt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Jt = g(() => import("./DataTable-DmE8Oo4i.js")), Yt = g(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-B3L7jeHL.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(r()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), gn = S(null), _n = S(null), vn = S(!1), yn = S(!1), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(null), Tn = S(!1), En = qe(null), Dn = qe(null), On = S(null), F = S(null), kn = S(!1), An = Ze, jn = d(() => !!O.dataset && O.dataset.length);
174
174
  Ge(() => {
175
- hn.value = !0, Mn();
175
+ hn.value = !0, Nn();
176
176
  });
177
- let jn = d(() => !!L.value.debug);
178
- function Mn() {
177
+ let Mn = d(() => !!I.value.debug);
178
+ function Nn() {
179
179
  if (c(O.dataset) ? (ee({
180
180
  componentName: "VueUiDonutEvolution",
181
181
  type: "dataset",
182
- debug: jn.value
183
- }), In.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
182
+ debug: Mn.value
183
+ }), Ln.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
184
184
  le({
185
185
  datasetObject: e,
186
186
  requiredAttributes: ["name", "values"]
@@ -190,31 +190,31 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
190
190
  type: "datasetSerieAttribute",
191
191
  property: e,
192
192
  index: t,
193
- debug: jn.value
194
- }), In.value = !0;
193
+ debug: Mn.value
194
+ }), Ln.value = !0;
195
195
  });
196
- }), c(O.dataset) || (In.value = L.value.loading), setTimeout(() => {
197
- wn.value = !0;
198
- }, 10), zn(), L.value.responsive) {
196
+ }), c(O.dataset) || (Ln.value = I.value.loading), setTimeout(() => {
197
+ Tn.value = !0;
198
+ }, 10), Bn(), I.value.responsive) {
199
199
  let e = ke(() => {
200
- wn.value = !1;
200
+ Tn.value = !1;
201
201
  let { width: e, height: t } = Ae({
202
202
  chart: P.value,
203
- title: L.value.style.chart.title.text ? yn.value : null,
204
- legend: L.value.style.chart.legend.show ? bn.value : null,
205
- slicer: L.value.style.chart.zoom.show && Ln.value > 1 ? Cn.value : null,
206
- source: xn.value
203
+ title: I.value.style.chart.title.text ? bn.value : null,
204
+ legend: I.value.style.chart.legend.show ? xn.value : null,
205
+ slicer: I.value.style.chart.zoom.show && Rn.value > 1 ? wn.value : null,
206
+ source: Sn.value
207
207
  });
208
208
  requestAnimationFrame(() => {
209
- z.value.width = e, z.value.height = t - 12, clearTimeout(Dn.value), Dn.value = setTimeout(() => {
210
- wn.value = !0;
209
+ R.value.width = e, R.value.height = t - 12, clearTimeout(On.value), On.value = setTimeout(() => {
210
+ Tn.value = !0;
211
211
  }, 10);
212
212
  });
213
213
  });
214
- Tn.value && (En.value && Tn.value.unobserve(En.value), Tn.value.disconnect()), Tn.value = new ResizeObserver(e), En.value = P.value.parentNode, Tn.value.observe(En.value);
214
+ En.value && (Dn.value && En.value.unobserve(Dn.value), En.value.disconnect()), En.value = new ResizeObserver(e), Dn.value = P.value.parentNode, En.value.observe(Dn.value);
215
215
  }
216
216
  }
217
- let L = S(Gn()), R = d(() => L.value.userOptions.useCursorPointer), Nn = d(() => ge({
217
+ let I = S(Gn()), L = d(() => I.value.userOptions.useCursorPointer), Pn = d(() => ge({
218
218
  defaultConfig: {
219
219
  useCssAnimation: !1,
220
220
  table: { show: !1 },
@@ -251,14 +251,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
251
251
  }
252
252
  } }
253
253
  },
254
- userConfig: L.value.skeletonConfig ?? {}
255
- })), { loading: Pn, FINAL_DATASET: Fn, manualLoading: In } = be({
254
+ userConfig: I.value.skeletonConfig ?? {}
255
+ })), { loading: Fn, FINAL_DATASET: In, manualLoading: Ln } = be({
256
256
  ...Je(O),
257
- FINAL_CONFIG: L,
257
+ FINAL_CONFIG: I,
258
258
  prepareConfig: Gn,
259
259
  callback: () => {
260
260
  Promise.resolve().then(async () => {
261
- await zn();
261
+ await Bn();
262
262
  });
263
263
  },
264
264
  skeletonDataset: O.config?.skeletonDataset ?? [
@@ -300,35 +300,35 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
300
300
  }
301
301
  ],
302
302
  skeletonConfig: ge({
303
- defaultConfig: L.value,
304
- userConfig: Nn.value
303
+ defaultConfig: I.value,
304
+ userConfig: Pn.value
305
305
  })
306
- }), z = S({
307
- width: L.value.style.chart.layout.width,
308
- height: L.value.style.chart.layout.height
309
- }), Ln = d(() => Math.max(...Fn.value.map((e) => e.values.length))), B = S({
306
+ }), R = S({
307
+ width: I.value.style.chart.layout.width,
308
+ height: I.value.style.chart.layout.height
309
+ }), Rn = d(() => Math.max(...In.value.map((e) => e.values.length))), z = S({
310
310
  start: 0,
311
- end: Ln.value
311
+ end: Rn.value
312
312
  });
313
- function Rn() {
314
- zn();
313
+ function zn() {
314
+ Bn();
315
315
  }
316
- async function zn() {
316
+ async function Bn() {
317
317
  await Ue(), await Ue();
318
- let { startIndex: e, endIndex: t } = L.value.style.chart.zoom, n = Sn.value;
319
- B.value = {
318
+ let { startIndex: e, endIndex: t } = I.value.style.chart.zoom, n = Cn.value;
319
+ z.value = {
320
320
  start: 0,
321
321
  max: K.value
322
- }, (e != null || t != null) && n ? (e == null ? (B.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (B.value.end = K.value, n.setEndValue(K.value)) : n.setEndValue(Bn(t + 1))) : (B.value = {
322
+ }, (e != null || t != null) && n ? (e == null ? (z.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (z.value.end = K.value, n.setEndValue(K.value)) : n.setEndValue(Vn(t + 1))) : (z.value = {
323
323
  start: 0,
324
324
  end: K.value
325
325
  }, sn.value += 1);
326
326
  }
327
- function Bn(e) {
327
+ function Vn(e) {
328
328
  let t = K.value;
329
- return e > t ? t : e < 0 || L.value.style.chart.zoom.startIndex !== null && e < L.value.style.chart.zoom.startIndex ? L.value.style.chart.zoom.startIndex === null ? 1 : L.value.style.chart.zoom.startIndex + 1 : e;
329
+ return e > t ? t : e < 0 || I.value.style.chart.zoom.startIndex !== null && e < I.value.style.chart.zoom.startIndex ? I.value.style.chart.zoom.startIndex === null ? 1 : I.value.style.chart.zoom.startIndex + 1 : e;
330
330
  }
331
- let { userOptionsVisible: Vn, setUserOptionsVisibility: Hn, keepUserOptionState: Un } = Ne({ config: L.value }), { svgRef: Wn } = Pe({ config: L.value.style.chart.title });
331
+ let { userOptionsVisible: Hn, setUserOptionsVisibility: Un, keepUserOptionState: Wn } = Ne({ config: I.value }), { svgRef: B } = Pe({ config: I.value.style.chart.title });
332
332
  function Gn() {
333
333
  let e = Ce({
334
334
  userConfig: O.config,
@@ -352,31 +352,31 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
352
352
  return t;
353
353
  }
354
354
  Ye(() => O.config, (e) => {
355
- Pn.value || (L.value = Gn()), Vn.value = !L.value.userOptions.showOnChartHover, Mn(), cn.value += 1, ln.value += 1, un.value += 1, V.value.showTable = L.value.table.show;
355
+ Fn.value || (I.value = Gn()), Hn.value = !I.value.userOptions.showOnChartHover, Nn(), cn.value += 1, ln.value += 1, un.value += 1, V.value.showTable = I.value.table.show;
356
356
  }, { deep: !0 }), Ye(() => O.dataset, (e) => {
357
- Array.isArray(e) && e.length > 0 && (In.value = !1), Rn();
357
+ Array.isArray(e) && e.length > 0 && (Ln.value = !1), zn();
358
358
  }, { deep: !0 });
359
359
  let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = ye({
360
360
  elementId: k.value,
361
- fileName: L.value.style.chart.title.text || "vue-ui-donut-evolution",
362
- options: L.value.userOptions.print
363
- }), Xn = d(() => L.value.userOptions.show && !L.value.style.chart.title.text), Zn = d(() => me(L.value.customPalette)), V = S({ showTable: L.value.table.show });
364
- Ye(L, () => {
365
- V.value = { showTable: L.value.table.show };
361
+ fileName: I.value.style.chart.title.text || "vue-ui-donut-evolution",
362
+ options: I.value.userOptions.print
363
+ }), Xn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), Zn = d(() => me(I.value.customPalette)), V = S({ showTable: I.value.table.show });
364
+ Ye(I, () => {
365
+ V.value = { showTable: I.value.table.show };
366
366
  }, { immediate: !0 });
367
367
  let H = d(() => ({
368
- top: L.value.style.chart.layout.padding.top,
369
- right: L.value.style.chart.layout.padding.right,
370
- bottom: L.value.style.chart.layout.padding.bottom,
371
- left: L.value.style.chart.layout.padding.left
372
- })), U = d(() => L.value.style.chart.layout.grid.yAxis.position === "right");
368
+ top: I.value.style.chart.layout.padding.top,
369
+ right: I.value.style.chart.layout.padding.right,
370
+ bottom: I.value.style.chart.layout.padding.bottom,
371
+ left: I.value.style.chart.layout.padding.left
372
+ })), U = d(() => I.value.style.chart.layout.grid.yAxis.position === "right");
373
373
  function Qn() {
374
374
  let e = 0;
375
375
  dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
376
376
  let n = t.getComputedTextLength();
377
377
  return n > e ? n : e;
378
378
  }, 0));
379
- let t = mn.value ? mn.value.getBoundingClientRect().width + L.value.style.chart.layout.grid.axis.yLabelOffsetX + L.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
379
+ let t = mn.value ? mn.value.getBoundingClientRect().width + I.value.style.chart.layout.grid.axis.yLabelOffsetX + I.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
380
380
  return {
381
381
  left: U.value ? 0 : n,
382
382
  right: U.value ? n : 0,
@@ -402,9 +402,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
402
402
  let e = 0;
403
403
  pn.value && (e = pn.value.getBBox().height);
404
404
  let t = 0;
405
- return fn.value && (t = $n.value), e + t + L.value.style.chart.layout.grid.axis.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
405
+ return fn.value && (t = $n.value), e + t + I.value.style.chart.layout.grid.axis.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
406
406
  }), W = d(() => {
407
- let e = Qn(), t = L.value.style.chart.layout.dataLabels.fontSize * 3, n = z.value.width, r = z.value.height, i = H.value.left + e.left, a = n - H.value.right - e.right, o = n - i - H.value.right - e.right, s = r - H.value.top - H.value.bottom - t - tr.value, c = H.value.top + t;
407
+ let e = Qn(), t = I.value.style.chart.layout.dataLabels.fontSize * 3, n = R.value.width, r = R.value.height, i = H.value.left + e.left, a = n - H.value.right - e.right, o = n - i - H.value.right - e.right, s = r - H.value.top - H.value.bottom - t - tr.value, c = H.value.top + t;
408
408
  return {
409
409
  top: c,
410
410
  left: i,
@@ -420,21 +420,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
420
420
  yAxisLabelWidth: e.yAxisLabelWidth,
421
421
  crosshair: e.crosshair
422
422
  };
423
- }), G = d(() => (Fn.value.forEach((e, t) => {
423
+ }), G = d(() => (In.value.forEach((e, t) => {
424
424
  [null, void 0].includes(e.name) && ee({
425
425
  componentName: "VueUiDonutEvolution",
426
426
  type: "datasetSerieAttribute",
427
427
  property: "name",
428
428
  index: t,
429
- debug: jn.value
429
+ debug: Mn.value
430
430
  }), [null, void 0].includes(e.values) && ee({
431
431
  componentName: "VueUiDonutEvolution",
432
432
  type: "datasetSerieAttribute",
433
433
  property: "values",
434
434
  index: t,
435
- debug: jn.value
435
+ debug: Mn.value
436
436
  });
437
- }), Fn.value.map((e, t) => ({
437
+ }), In.value.map((e, t) => ({
438
438
  ...e,
439
439
  values: ce(e.values),
440
440
  color: he(e.color) || Zn.value[t] || l[t] || l[t % l.length],
@@ -442,24 +442,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
442
442
  uid: r()
443
443
  })))), nr = d(() => G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
444
444
  ...e,
445
- values: e.values.filter((e, t) => t >= B.value.start && t <= B.value.end)
445
+ values: e.values.filter((e, t) => t >= z.value.start && t <= z.value.end)
446
446
  }))), K = d(() => Math.max(...G.value.map((e) => e.length))), q = S([]), rr = 0;
447
447
  Xe(() => {
448
448
  let e = ++rr;
449
449
  (async () => {
450
450
  let t = await _e({
451
- values: L.value.style.chart.layout.grid.xAxis.dataLabels.values,
451
+ values: I.value.style.chart.layout.grid.xAxis.dataLabels.values,
452
452
  maxDatapoints: K.value,
453
- formatter: L.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
454
- start: B.value.start,
455
- end: B.value.end
453
+ formatter: I.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
454
+ start: z.value.start,
455
+ end: z.value.end
456
456
  });
457
457
  e === rr && (q.value = t);
458
458
  })();
459
459
  });
460
- let J = d(() => W.value.width / (B.value.end - B.value.start)), ir = d(() => {
460
+ let J = d(() => W.value.width / (z.value.end - z.value.start)), ir = d(() => {
461
461
  let e = [];
462
- for (let t = 0; t < B.value.end - B.value.start; t += 1) {
462
+ for (let t = 0; t < z.value.end - z.value.start; t += 1) {
463
463
  let n = nr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = W.value.left + J.value * t + J.value / 2;
464
464
  e.push({
465
465
  index: t,
@@ -471,14 +471,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
471
471
  }
472
472
  return e;
473
473
  }), ar = d(() => {
474
- let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 0, n = Math.max(L.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
475
- return r = L.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, L.value.style.chart.layout.grid.yAxis.scaleMin), L.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
474
+ let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 0, n = Math.max(I.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
475
+ return r = I.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, I.value.style.chart.layout.grid.yAxis.scaleMin), I.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
476
476
  max: n,
477
477
  min: r
478
478
  };
479
479
  }), Y = d(() => {
480
480
  let e = ir.value.length === 1 ? ar.value.max * 2 : ar.value.max;
481
- return ie(ar.value.min, e, L.value.style.chart.layout.grid.yAxis.dataLabels.steps);
481
+ return ie(ar.value.min, e, I.value.style.chart.layout.grid.yAxis.dataLabels.steps);
482
482
  });
483
483
  function or(e) {
484
484
  return (e - Y.value.min) / (Y.value.max - Y.value.min);
@@ -507,11 +507,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
507
507
  });
508
508
  });
509
509
  function cr(e, t, r) {
510
- return oe(L.value.style.chart.layout.dataLabels.formatter, e, n({
511
- p: L.value.style.chart.layout.dataLabels.prefix,
510
+ return oe(I.value.style.chart.layout.dataLabels.formatter, e, n({
511
+ p: I.value.style.chart.layout.dataLabels.prefix,
512
512
  v: e,
513
- s: L.value.style.chart.layout.dataLabels.suffix,
514
- r: L.value.style.chart.layout.dataLabels.rounding
513
+ s: I.value.style.chart.layout.dataLabels.suffix,
514
+ r: I.value.style.chart.layout.dataLabels.rounding
515
515
  }), {
516
516
  datapoint: t,
517
517
  index: r
@@ -521,81 +521,81 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
521
521
  return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
522
522
  }
523
523
  function ur(e) {
524
- j.value = null, M.value = null, I.value = null, L.value.events.datapointLeave && L.value.events.datapointLeave({
524
+ j.value = null, M.value = null, F.value = null, I.value.events.datapointLeave && I.value.events.datapointLeave({
525
525
  datapoint: e,
526
- seriesIndex: e.seriesIndex + B.value.start
526
+ seriesIndex: e.seriesIndex + z.value.start
527
527
  });
528
528
  }
529
529
  function dr(e) {
530
- L.value.events.datapointEnter && L.value.events.datapointEnter({
530
+ I.value.events.datapointEnter && I.value.events.datapointEnter({
531
531
  datapoint: e,
532
- seriesIndex: e.index + B.value.start
533
- }), j.value = e.index, M.value = e, I.value = e.index;
532
+ seriesIndex: e.index + z.value.start
533
+ }), j.value = e.index, M.value = e, F.value = e.index;
534
534
  }
535
535
  let fr = S(null);
536
536
  function pr(e, t) {
537
- L.value.events.datapointClick && L.value.events.datapointClick({
537
+ I.value.events.datapointClick && I.value.events.datapointClick({
538
538
  datapoint: e,
539
- seriesIndex: e.index + B.value.start
540
- }), !(!e.subtotal || !L.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
539
+ seriesIndex: e.index + z.value.start
540
+ }), !(!e.subtotal || !I.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
541
541
  }
542
- let mr = d(() => G.value.map((e, t) => ({
542
+ let Z = d(() => G.value.map((e, t) => ({
543
543
  name: e.name,
544
- value: e.values.slice(B.value.start, B.value.end).reduce((e, t) => e + t, 0),
544
+ value: e.values.slice(z.value.start, z.value.end).reduce((e, t) => e + t, 0),
545
545
  shape: "circle",
546
546
  uid: e.uid,
547
547
  color: e.color
548
548
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
549
549
  ...e,
550
550
  opacity: A.value.includes(e.uid) ? .5 : 1,
551
- segregate: () => vr(e.uid),
551
+ segregate: () => _r(e.uid),
552
552
  isSegregated: A.value.includes(e.uid),
553
- display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? oe(L.value.style.chart.layout.dataLabels.formatter, e.value, n({
554
- p: L.value.style.chart.layout.dataLabels.prefix,
553
+ display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? oe(I.value.style.chart.layout.dataLabels.formatter, e.value, n({
554
+ p: I.value.style.chart.layout.dataLabels.prefix,
555
555
  v: e.value,
556
- s: L.value.style.chart.layout.dataLabels.suffix,
557
- r: L.value.style.chart.legend.roundingValue
556
+ s: I.value.style.chart.layout.dataLabels.suffix,
557
+ r: I.value.style.chart.legend.roundingValue
558
558
  }), {
559
559
  datapoint: e,
560
560
  seriesIndex: t
561
- }) : ""}${L.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / hr.value) ? "-" : n({
562
- v: e.value / hr.value * 100,
561
+ }) : ""}${I.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / mr.value) ? "-" : n({
562
+ v: e.value / mr.value * 100,
563
563
  s: "%",
564
- r: L.value.style.chart.legend.roundingPercentage
565
- })}${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
566
- }))), hr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), gr = d(() => ({
564
+ r: I.value.style.chart.legend.roundingPercentage
565
+ })}${I.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
566
+ }))), mr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), hr = d(() => ({
567
567
  cy: "donut-div-legend",
568
- backgroundColor: L.value.style.chart.legend.backgroundColor,
569
- color: L.value.style.chart.legend.color,
570
- fontSize: L.value.style.chart.legend.fontSize,
568
+ backgroundColor: I.value.style.chart.legend.backgroundColor,
569
+ color: I.value.style.chart.legend.color,
570
+ fontSize: I.value.style.chart.legend.fontSize,
571
571
  paddingBottom: 12,
572
- fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
572
+ fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
573
573
  }));
574
- function _r() {
575
- A.value.length ? A.value = [] : mr.value.forEach((e) => {
574
+ function gr() {
575
+ A.value.length ? A.value = [] : Z.value.forEach((e) => {
576
576
  A.value.push(e.uid);
577
- });
577
+ }), An("selectLegend", nr.value);
578
578
  }
579
- function vr(e) {
580
- if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), kn("selectLegend", nr.value);
579
+ function _r(e) {
580
+ if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), An("selectLegend", nr.value);
581
581
  else {
582
582
  if (A.value.length === G.value.length - 1) return;
583
- A.value.push(e), kn("selectLegend", nr.value);
583
+ A.value.push(e), An("selectLegend", nr.value);
584
584
  }
585
585
  N.value && pr(X.value.find((e, t) => t === fr.value));
586
586
  }
587
+ function vr(e) {
588
+ return G.value.length ? G.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
589
+ }
587
590
  function yr(e) {
588
- return G.value.length ? G.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
591
+ let t = vr(e);
592
+ t !== null && A.value.includes(t.uid) && _r(t.uid);
589
593
  }
590
594
  function br(e) {
591
- let t = yr(e);
592
- t !== null && A.value.includes(t.uid) && vr(t.uid);
595
+ let t = vr(e);
596
+ t !== null && (A.value.includes(t.uid) || _r(t.uid));
593
597
  }
594
- function xr(e) {
595
- let t = yr(e);
596
- t !== null && (A.value.includes(t.uid) || vr(t.uid));
597
- }
598
- let Z = d(() => {
598
+ let Q = d(() => {
599
599
  let e = [""].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
600
600
  name: e.name,
601
601
  color: e.color
@@ -605,7 +605,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
605
605
  t.push([q.value[e] ? q.value[e].text : "-"].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((t) => ({
606
606
  value: t.values[e] ?? 0,
607
607
  percentage: t.values[e] ? t.values[e] / n * 100 : 0
608
- })), [`${L.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(L.value.table.td.roundingValue))}${L.value.style.chart.layout.dataLabels.suffix}`]));
608
+ })), [`${I.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(I.value.table.td.roundingValue))}${I.value.style.chart.layout.dataLabels.suffix}`]));
609
609
  }
610
610
  return {
611
611
  head: e,
@@ -613,49 +613,49 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
613
613
  bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${cr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
614
614
  config: {
615
615
  th: {
616
- backgroundColor: L.value.table.th.backgroundColor,
617
- color: L.value.table.th.color,
618
- outline: L.value.table.th.outline
616
+ backgroundColor: I.value.table.th.backgroundColor,
617
+ color: I.value.table.th.color,
618
+ outline: I.value.table.th.outline
619
619
  },
620
620
  td: {
621
- backgroundColor: L.value.table.td.backgroundColor,
622
- color: L.value.table.td.color,
623
- outline: L.value.table.td.outline
621
+ backgroundColor: I.value.table.td.backgroundColor,
622
+ color: I.value.table.td.color,
623
+ outline: I.value.table.td.outline
624
624
  },
625
- breakpoint: L.value.table.responsiveBreakpoint
625
+ breakpoint: I.value.table.responsiveBreakpoint
626
626
  },
627
- colNames: [L.value.table.columnNames.period].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), L.value.table.columnNames.total)
627
+ colNames: [I.value.table.columnNames.period].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), I.value.table.columnNames.total)
628
628
  };
629
629
  });
630
- function Sr() {
630
+ function xr() {
631
631
  return G.value;
632
632
  }
633
- function Cr(e = null) {
633
+ function Sr(e = null) {
634
634
  Ue(() => {
635
635
  let t = [
636
- [L.value.style.chart.title.text],
637
- [L.value.style.chart.title.subtitle.text],
636
+ [I.value.style.chart.title.text],
637
+ [I.value.style.chart.title.subtitle.text],
638
638
  [""]
639
- ], n = [...Z.value.head.map((e) => e.name ?? e)], r = [...Z.value.body.map((e) => e.map((e) => e.value ?? e))], a = s(t.concat([n]).concat(r));
639
+ ], n = [...Q.value.head.map((e) => e.name ?? e)], r = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], a = s(t.concat([n]).concat(r));
640
640
  e ? e(a) : i({
641
641
  csvContent: a,
642
- title: L.value.style.chart.title.text || "vue-ui-donut-evolution"
642
+ title: I.value.style.chart.title.text || "vue-ui-donut-evolution"
643
643
  });
644
644
  });
645
645
  }
646
- let Q = S(!1);
647
- function wr(e) {
648
- Q.value = e, on.value += 1;
646
+ let $ = S(!1);
647
+ function Cr(e) {
648
+ $.value = e, on.value += 1;
649
649
  }
650
- function Tr() {
650
+ function wr() {
651
651
  V.value.showTable = !V.value.showTable;
652
652
  }
653
- let $ = S(!1);
653
+ let Tr = S(!1);
654
654
  function Er() {
655
- $.value = !$.value;
655
+ Tr.value = !Tr.value;
656
656
  }
657
657
  function Dr(e) {
658
- return e.proportion * 100 > L.value.style.chart.donuts.hover.hideLabelsUnderValue;
658
+ return e.proportion * 100 > I.value.style.chart.donuts.hover.hideLabelsUnderValue;
659
659
  }
660
660
  let Or = S([]), kr = S({}), Ar = S(null);
661
661
  function jr(e) {
@@ -664,9 +664,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
664
664
  values: [e.value],
665
665
  color: e.color
666
666
  })), kr.value = de({
667
- ...L.value.style.chart.dialog.donutChart,
667
+ ...I.value.style.chart.dialog.donutChart,
668
668
  responsive: !0,
669
- theme: L.value.theme
669
+ theme: I.value.theme
670
670
  }), Ar.value && Ar.value.open();
671
671
  }
672
672
  async function Mr({ scale: e = 2 } = {}) {
@@ -680,7 +680,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
680
680
  return {
681
681
  imageUri: i,
682
682
  base64: a,
683
- title: L.value.style.chart.title.text,
683
+ title: I.value.style.chart.title.text,
684
684
  width: t,
685
685
  height: n,
686
686
  aspectRatio: r
@@ -689,8 +689,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
689
689
  Te({
690
690
  timeLabelsEls: fn,
691
691
  timeLabels: q,
692
- slicer: B,
693
- configRef: L,
692
+ slicer: z,
693
+ configRef: I,
694
694
  rotationPath: [
695
695
  "style",
696
696
  "chart",
@@ -711,63 +711,63 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
711
711
  "enable"
712
712
  ],
713
713
  isAutoSize: !1,
714
- width: d(() => z.value.width),
715
- height: d(() => z.value.height),
716
- rotation: L.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
714
+ width: d(() => R.value.width),
715
+ height: d(() => R.value.height),
716
+ rotation: I.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
717
717
  });
718
718
  let Nr = d(() => {
719
- let e = L.value.table.useDialog && !L.value.table.show, t = V.value.showTable;
719
+ let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
720
720
  return {
721
721
  component: e ? $t : Kt,
722
- title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
722
+ title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
723
723
  props: e ? {
724
- backgroundColor: L.value.table.th.backgroundColor,
725
- color: L.value.table.th.color,
726
- headerColor: L.value.table.th.color,
727
- headerBg: L.value.table.th.backgroundColor,
728
- isFullscreen: Q.value,
724
+ backgroundColor: I.value.table.th.backgroundColor,
725
+ color: I.value.table.th.color,
726
+ headerColor: I.value.table.th.color,
727
+ headerBg: I.value.table.th.backgroundColor,
728
+ isFullscreen: $.value,
729
729
  fullscreenParent: P.value,
730
730
  forcedWidth: Math.min(800, window.innerWidth * .8),
731
- isCursorPointer: R.value
731
+ isCursorPointer: L.value
732
732
  } : {
733
733
  hideDetails: !0,
734
734
  config: {
735
735
  open: t,
736
736
  maxHeight: 1e4,
737
737
  body: {
738
- backgroundColor: L.value.style.chart.backgroundColor,
739
- color: L.value.style.chart.color
738
+ backgroundColor: I.value.style.chart.backgroundColor,
739
+ color: I.value.style.chart.color
740
740
  },
741
741
  head: {
742
- backgroundColor: L.value.style.chart.backgroundColor,
743
- color: L.value.style.chart.color
742
+ backgroundColor: I.value.style.chart.backgroundColor,
743
+ color: I.value.style.chart.color
744
744
  }
745
745
  }
746
746
  }
747
747
  };
748
748
  });
749
749
  Ye(() => V.value.showTable, (e) => {
750
- L.value.table.show || (e && L.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
750
+ I.value.table.show || (e && I.value.table.useDialog && gn.value ? gn.value.open() : "close" in gn.value && gn.value.close());
751
751
  });
752
752
  function Pr() {
753
- V.value.showTable = !1, gn.value && gn.value.setTableIconState(!1);
753
+ V.value.showTable = !1, _n.value && _n.value.setTableIconState(!1);
754
754
  }
755
- let Fr = d(() => mr.value.map((e) => ({
755
+ let Fr = d(() => Z.value.map((e) => ({
756
756
  ...e,
757
757
  name: e.display
758
- }))), Ir = d(() => L.value.style.chart.backgroundColor), Lr = d(() => L.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Se({
759
- svg: Wn,
760
- title: d(() => L.value.style.chart.title),
758
+ }))), Ir = d(() => I.value.style.chart.backgroundColor), Lr = d(() => I.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Se({
759
+ svg: B,
760
+ title: d(() => I.value.style.chart.title),
761
761
  legend: Lr,
762
762
  legendItems: Fr,
763
763
  backgroundColor: Ir
764
764
  });
765
765
  async function Br({ isCb: e }) {
766
- vn.value = !0, await Ue();
766
+ yn.value = !0, await Ue();
767
767
  try {
768
768
  if (e) {
769
769
  let { blob: e, url: t, text: n, dataUrl: r } = await zr();
770
- await Promise.resolve(L.value.userOptions.callbacks.svg({
770
+ await Promise.resolve(I.value.userOptions.callbacks.svg({
771
771
  blob: e,
772
772
  url: t,
773
773
  text: n,
@@ -775,96 +775,96 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
775
775
  }));
776
776
  } else await Promise.resolve(Rr());
777
777
  } finally {
778
- vn.value = !1;
778
+ yn.value = !1;
779
779
  }
780
780
  }
781
781
  function Vr(e) {
782
782
  if (e?.stage === "start") {
783
- _n.value = !0;
783
+ vn.value = !0;
784
784
  return;
785
785
  }
786
786
  if (e?.stage === "end") {
787
- _n.value = !1;
787
+ vn.value = !1;
788
788
  return;
789
789
  }
790
790
  Yn();
791
791
  }
792
792
  async function Hr() {
793
- if (kn("copyAlt", {
794
- config: L.value,
793
+ if (An("copyAlt", {
794
+ config: I.value,
795
795
  dataset: X.value
796
- }), !L.value.userOptions.callbacks.altCopy) {
796
+ }), !I.value.userOptions.callbacks.altCopy) {
797
797
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
798
798
  return;
799
799
  }
800
- await Promise.resolve(L.value.userOptions.callbacks.altCopy({
801
- config: L.value,
800
+ await Promise.resolve(I.value.userOptions.callbacks.altCopy({
801
+ config: I.value,
802
802
  dataset: X.value
803
803
  }));
804
804
  }
805
805
  function Ur() {
806
- I.value = null, On.value = !0;
806
+ F.value = null, kn.value = !0;
807
807
  }
808
808
  function Wr() {
809
- I.value = null, j.value = null, M.value = null, On.value = !1;
809
+ F.value = null, j.value = null, M.value = null, kn.value = !1;
810
810
  }
811
811
  function Gr(e) {
812
- if (!Wn.value || $.value || document.activeElement !== Wn.value || !X.value.length) return;
812
+ if (!B.value || Tr.value || document.activeElement !== B.value || !X.value.length) return;
813
813
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
814
814
  if (!t && !n && !r && !i) return;
815
815
  if (e.preventDefault(), e.stopPropagation(), i) {
816
- I.value = null, j.value = null, M.value = null;
816
+ F.value = null, j.value = null, M.value = null;
817
817
  return;
818
818
  }
819
819
  if (r) {
820
- if (I.value === null) return;
821
- let e = X.value[I.value];
820
+ if (F.value === null) return;
821
+ let e = X.value[F.value];
822
822
  if (!e) return;
823
- pr(e, I.value);
823
+ pr(e, F.value);
824
824
  return;
825
825
  }
826
- let a = I.value, o = j.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
826
+ let a = F.value, o = j.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
827
827
  s ? n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= X.value.length && (a = 0), a < 0 && (a = X.value.length - 1)) : a = n ? 0 : X.value.length - 1;
828
828
  let l = X.value[a];
829
829
  l && dr(l);
830
830
  }
831
831
  let Kr = d(() => ({
832
- headers: Z.value?.colNames ?? [],
833
- rows: Z.value?.bodyA11y ?? []
832
+ headers: Q.value?.colNames ?? [],
833
+ rows: Q.value?.bodyA11y ?? []
834
834
  }));
835
835
  return Oe({
836
- getData: Sr,
836
+ getData: xr,
837
837
  getImage: Mr,
838
838
  generatePdf: Jn,
839
- generateCsv: Cr,
839
+ generateCsv: Sr,
840
840
  generateImage: Yn,
841
841
  generateSvg: Br,
842
- hideSeries: xr,
843
- showSeries: br,
844
- toggleTable: Tr,
842
+ hideSeries: br,
843
+ showSeries: yr,
844
+ toggleTable: wr,
845
845
  toggleAnnotator: Er,
846
- toggleFullscreen: wr,
846
+ toggleFullscreen: Cr,
847
847
  copyAlt: Hr
848
848
  }), (e, r) => (x(), m("div", {
849
849
  ref_key: "donutEvolutionChart",
850
850
  ref: P,
851
- class: v(`vue-data-ui-component vue-ui-donut-evolution ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
852
- style: b(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor}`),
851
+ class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
852
+ style: b(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.chart.backgroundColor}`),
853
853
  id: k.value,
854
- onMouseenter: r[5] ||= () => E(Hn)(!0),
855
- onMouseleave: r[6] ||= () => E(Hn)(!1)
854
+ onMouseenter: r[5] ||= () => E(Un)(!0),
855
+ onMouseleave: r[6] ||= () => E(Un)(!1)
856
856
  }, [
857
857
  h("div", {
858
858
  id: `chart-instructions-${k.value}`,
859
859
  class: "sr-only"
860
- }, [h("p", null, T(L.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
860
+ }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
861
861
  Kr.value?.rows?.length ? (x(), f(Me, {
862
862
  key: 0,
863
863
  uid: k.value,
864
864
  head: Kr.value.headers,
865
865
  body: Kr.value.rows,
866
- notice: L.value.a11y.translations.tableAvailable,
867
- caption: L.value.a11y.translations.tableCaption
866
+ notice: I.value.a11y.translations.tableAvailable,
867
+ caption: I.value.a11y.translations.tableCaption
868
868
  }, null, 8, [
869
869
  "uid",
870
870
  "head",
@@ -872,13 +872,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
872
872
  "notice",
873
873
  "caption"
874
874
  ])) : p("", !0),
875
- L.value.userOptions.buttons.annotator ? (x(), f(E(Xt), {
875
+ I.value.userOptions.buttons.annotator ? (x(), f(E(Xt), {
876
876
  key: 1,
877
- svgRef: E(Wn),
878
- backgroundColor: L.value.style.chart.backgroundColor,
879
- color: L.value.style.chart.color,
880
- active: $.value,
881
- isCursorPointer: R.value,
877
+ svgRef: E(B),
878
+ backgroundColor: I.value.style.chart.backgroundColor,
879
+ color: I.value.style.chart.color,
880
+ active: Tr.value,
881
+ isCursorPointer: L.value,
882
882
  onClose: Er
883
883
  }, {
884
884
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -902,10 +902,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
902
902
  class: "vue-data-ui-no-title-space",
903
903
  style: "height:36px; width: 100%;background:transparent"
904
904
  }, null, 512)) : p("", !0),
905
- L.value.style.chart.title.text ? (x(), m("div", {
905
+ I.value.style.chart.title.text ? (x(), m("div", {
906
906
  key: 3,
907
907
  ref_key: "chartTitle",
908
- ref: yn,
908
+ ref: bn,
909
909
  style: "width:100%;background:transparent;padding-bottom:24px",
910
910
  onMouseleave: ur
911
911
  }, [(x(), f(De, {
@@ -913,50 +913,50 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
913
913
  config: {
914
914
  title: {
915
915
  cy: "donut-evolution-div-title",
916
- ...L.value.style.chart.title
916
+ ...I.value.style.chart.title
917
917
  },
918
918
  subtitle: {
919
919
  cy: "donut-evolution-div-subtitle",
920
- ...L.value.style.chart.title.subtitle
920
+ ...I.value.style.chart.title.subtitle
921
921
  }
922
922
  }
923
923
  }, null, 8, ["config"]))], 544)) : p("", !0),
924
924
  h("div", { id: `legend-top-${k.value}` }, null, 8, et),
925
- L.value.userOptions.show && An.value && (E(Un) || E(Vn)) ? (x(), f(E(Zt), {
925
+ I.value.userOptions.show && jn.value && (E(Wn) || E(Hn)) ? (x(), f(E(Zt), {
926
926
  ref_key: "userOptionsRef",
927
- ref: gn,
927
+ ref: _n,
928
928
  key: `user_options_${on.value}`,
929
- backgroundColor: L.value.style.chart.backgroundColor,
930
- color: L.value.style.chart.color,
929
+ backgroundColor: I.value.style.chart.backgroundColor,
930
+ color: I.value.style.chart.color,
931
931
  isPrinting: E(Kn),
932
932
  isImaging: E(qn),
933
933
  uid: k.value,
934
- hasPdf: L.value.userOptions.buttons.pdf,
935
- hasImg: L.value.userOptions.buttons.img,
936
- hasSvg: L.value.userOptions.buttons.svg,
937
- hasXls: L.value.userOptions.buttons.csv,
938
- hasTable: L.value.userOptions.buttons.table,
939
- hasFullscreen: L.value.userOptions.buttons.fullscreen,
940
- hasAltCopy: L.value.userOptions.buttons.altCopy,
941
- isFullscreen: Q.value,
942
- titles: { ...L.value.userOptions.buttonTitles },
934
+ hasPdf: I.value.userOptions.buttons.pdf,
935
+ hasImg: I.value.userOptions.buttons.img,
936
+ hasSvg: I.value.userOptions.buttons.svg,
937
+ hasXls: I.value.userOptions.buttons.csv,
938
+ hasTable: I.value.userOptions.buttons.table,
939
+ hasFullscreen: I.value.userOptions.buttons.fullscreen,
940
+ hasAltCopy: I.value.userOptions.buttons.altCopy,
941
+ isFullscreen: $.value,
942
+ titles: { ...I.value.userOptions.buttonTitles },
943
943
  chartElement: P.value,
944
- position: L.value.userOptions.position,
945
- hasAnnotator: L.value.userOptions.buttons.annotator,
946
- isAnnotation: $.value,
947
- callbacks: L.value.userOptions.callbacks,
948
- printScale: L.value.userOptions.print.scale,
949
- tableDialog: L.value.table.useDialog,
950
- isCursorPointer: R.value,
951
- onToggleFullscreen: wr,
944
+ position: I.value.userOptions.position,
945
+ hasAnnotator: I.value.userOptions.buttons.annotator,
946
+ isAnnotation: Tr.value,
947
+ callbacks: I.value.userOptions.callbacks,
948
+ printScale: I.value.userOptions.print.scale,
949
+ tableDialog: I.value.table.useDialog,
950
+ isCursorPointer: L.value,
951
+ onToggleFullscreen: Cr,
952
952
  onGeneratePdf: E(Jn),
953
- onGenerateCsv: Cr,
953
+ onGenerateCsv: Sr,
954
954
  onGenerateImage: Vr,
955
955
  onGenerateSvg: Br,
956
- onToggleTable: Tr,
956
+ onToggleTable: wr,
957
957
  onToggleAnnotator: Er,
958
958
  onCopyAlt: Hr,
959
- style: b({ visibility: E(Un) ? E(Vn) ? "visible" : "hidden" : "visible" })
959
+ style: b({ visibility: E(Wn) ? E(Hn) ? "visible" : "hidden" : "visible" })
960
960
  }, ze({ _: 2 }, [
961
961
  e.$slots.menuIcon ? {
962
962
  name: "menuIcon",
@@ -1050,15 +1050,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1050
1050
  ])) : p("", !0),
1051
1051
  h("div", tt, [(x(), m("svg", {
1052
1052
  ref_key: "svgRef",
1053
- ref: Wn,
1053
+ ref: B,
1054
1054
  xmlns: E(fe),
1055
1055
  "aria-describedby": `chart-instructions-${k.value}`,
1056
1056
  class: v({
1057
- "vue-data-ui-fullscreen--on": Q.value,
1058
- "vue-data-ui-fulscreen--off": !Q.value
1057
+ "vue-data-ui-fullscreen--on": $.value,
1058
+ "vue-data-ui-fulscreen--off": !$.value
1059
1059
  }),
1060
1060
  viewBox: `0 0 ${W.value.absoluteWidth} ${W.value.absoluteHeight}`,
1061
- style: b(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};`),
1061
+ style: b(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color};`),
1062
1062
  tabindex: "0",
1063
1063
  onFocus: Ur,
1064
1064
  onBlur: Wr,
@@ -1081,14 +1081,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1081
1081
  y2: "100%"
1082
1082
  }, [h("stop", {
1083
1083
  offset: "0%",
1084
- "stop-color": E(se)(L.value.style.chart.backgroundColor, L.value.style.chart.layout.highlighter.opacity)
1084
+ "stop-color": E(se)(I.value.style.chart.backgroundColor, I.value.style.chart.layout.highlighter.opacity)
1085
1085
  }, null, 8, at), h("stop", {
1086
1086
  offset: "100%",
1087
- "stop-color": E(se)(L.value.style.chart.layout.highlighter.color, L.value.style.chart.layout.highlighter.opacity)
1087
+ "stop-color": E(se)(I.value.style.chart.layout.highlighter.color, I.value.style.chart.layout.highlighter.opacity)
1088
1088
  }, null, 8, ot)], 8, it), h("radialGradient", { id: `focus_${k.value}` }, [
1089
1089
  h("stop", {
1090
1090
  offset: "0%",
1091
- "stop-color": E(se)(E(he)(L.value.style.chart.backgroundColor), 0)
1091
+ "stop-color": E(se)(E(he)(I.value.style.chart.backgroundColor), 0)
1092
1092
  }, null, 8, ct),
1093
1093
  h("stop", {
1094
1094
  offset: "77%",
@@ -1096,17 +1096,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1096
1096
  }, null, 8, lt),
1097
1097
  h("stop", {
1098
1098
  offset: "100%",
1099
- "stop-color": E(se)(E(he)(L.value.style.chart.backgroundColor), 0)
1099
+ "stop-color": E(se)(E(he)(I.value.style.chart.backgroundColor), 0)
1100
1100
  }, null, 8, ut)
1101
1101
  ], 8, st)]),
1102
- L.value.style.chart.layout.grid.show ? (x(), m("g", dt, [
1102
+ I.value.style.chart.layout.grid.show ? (x(), m("g", dt, [
1103
1103
  h("line", {
1104
1104
  x1: U.value ? W.value.right : W.value.left,
1105
1105
  x2: U.value ? W.value.right : W.value.left,
1106
1106
  y1: W.value.top,
1107
1107
  y2: W.value.top + W.value.height,
1108
- stroke: L.value.style.chart.layout.grid.stroke,
1109
- "stroke-width": L.value.style.chart.layout.grid.strokeWidth,
1108
+ stroke: I.value.style.chart.layout.grid.stroke,
1109
+ "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1110
1110
  "stroke-linecap": "round"
1111
1111
  }, null, 8, ft),
1112
1112
  h("line", {
@@ -1114,40 +1114,40 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1114
1114
  x2: W.value.right,
1115
1115
  y1: W.value.bottom,
1116
1116
  y2: W.value.bottom,
1117
- stroke: L.value.style.chart.layout.grid.stroke,
1118
- "stroke-width": L.value.style.chart.layout.grid.strokeWidth,
1117
+ stroke: I.value.style.chart.layout.grid.stroke,
1118
+ "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1119
1119
  "stroke-linecap": "round"
1120
1120
  }, null, 8, pt),
1121
- L.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", mt, [(x(!0), m(u, null, C(B.value.end - B.value.start, (e, t) => (x(), m("line", {
1121
+ I.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", mt, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, t) => (x(), m("line", {
1122
1122
  x1: W.value.left + (t + 1) * J.value,
1123
1123
  x2: W.value.left + (t + 1) * J.value,
1124
1124
  y1: W.value.top,
1125
1125
  y2: W.value.bottom,
1126
- stroke: L.value.style.chart.layout.grid.stroke,
1127
- "stroke-width": L.value.style.chart.layout.grid.strokeWidth,
1126
+ stroke: I.value.style.chart.layout.grid.stroke,
1127
+ "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1128
1128
  "stroke-linecap": "round"
1129
1129
  }, null, 8, ht))), 256))])) : p("", !0)
1130
1130
  ])) : p("", !0),
1131
- h("g", null, [L.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
1131
+ h("g", null, [I.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
1132
1132
  key: 0,
1133
1133
  ref_key: "yAxisLabel",
1134
1134
  ref: mn,
1135
- "font-size": L.value.style.chart.layout.grid.axis.fontSize,
1136
- fill: L.value.style.chart.layout.grid.axis.color,
1137
- transform: `translate(${U.value ? W.value.absoluteWidth - L.value.style.chart.layout.grid.axis.fontSize / 2 - L.value.style.chart.layout.grid.axis.yLabelOffsetX : L.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1135
+ "font-size": I.value.style.chart.layout.grid.axis.fontSize,
1136
+ fill: I.value.style.chart.layout.grid.axis.color,
1137
+ transform: `translate(${U.value ? W.value.absoluteWidth - I.value.style.chart.layout.grid.axis.fontSize / 2 - I.value.style.chart.layout.grid.axis.yLabelOffsetX : I.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1138
1138
  "text-anchor": "middle",
1139
1139
  style: { transition: "none" }
1140
- }, T(L.value.style.chart.layout.grid.axis.yLabel), 9, gt)) : p("", !0), L.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1140
+ }, T(I.value.style.chart.layout.grid.axis.yLabel), 9, gt)) : p("", !0), I.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1141
1141
  key: 1,
1142
1142
  ref_key: "xAxisLabel",
1143
1143
  ref: pn,
1144
1144
  "text-anchor": "middle",
1145
1145
  x: W.value.absoluteWidth / 2,
1146
1146
  y: W.value.absoluteHeight - 3,
1147
- "font-size": L.value.style.chart.layout.grid.axis.fontSize,
1148
- fill: L.value.style.chart.layout.grid.axis.color
1149
- }, T(L.value.style.chart.layout.grid.axis.xLabel), 9, _t)) : p("", !0)]),
1150
- L.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1147
+ "font-size": I.value.style.chart.layout.grid.axis.fontSize,
1148
+ fill: I.value.style.chart.layout.grid.axis.color
1149
+ }, T(I.value.style.chart.layout.grid.axis.xLabel), 9, _t)) : p("", !0)]),
1150
+ I.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1151
1151
  key: 2,
1152
1152
  ref_key: "scaleLabels",
1153
1153
  ref: dn,
@@ -1161,53 +1161,53 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1161
1161
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
1162
1162
  y1: e.y,
1163
1163
  y2: e.y,
1164
- stroke: L.value.style.chart.layout.grid.stroke,
1165
- "stroke-width": L.value.style.chart.layout.grid.strokeWidth
1164
+ stroke: I.value.style.chart.layout.grid.stroke,
1165
+ "stroke-width": I.value.style.chart.layout.grid.strokeWidth
1166
1166
  }, null, 8, vt)) : p("", !0), e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("text", {
1167
1167
  key: 1,
1168
- x: U.value ? W.value.right - L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1169
- y: e.y + L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
1170
- "font-size": L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1168
+ x: U.value ? W.value.right - I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1169
+ y: e.y + I.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
1170
+ "font-size": I.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1171
1171
  "text-anchor": U.value ? "start" : "end",
1172
- fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
1173
- "font-weight": L.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1174
- }, T(E(te)(e.value) ? E(oe)(L.value.style.chart.layout.dataLabels.formatter, e.value, E(n)({
1175
- p: L.value.style.chart.layout.dataLabels.prefix,
1172
+ fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
1173
+ "font-weight": I.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1174
+ }, T(E(te)(e.value) ? E(oe)(I.value.style.chart.layout.dataLabels.formatter, e.value, E(n)({
1175
+ p: I.value.style.chart.layout.dataLabels.prefix,
1176
1176
  v: e.value,
1177
- s: L.value.style.chart.layout.dataLabels.suffix,
1178
- r: L.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
1177
+ s: I.value.style.chart.layout.dataLabels.suffix,
1178
+ r: I.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
1179
1179
  }), {
1180
1180
  datapoint: e,
1181
1181
  seriesIndex: t
1182
1182
  }) : ""), 9, yt)) : p("", !0)]))), 256))], 2)) : p("", !0),
1183
- L.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
1183
+ I.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
1184
1184
  key: 3,
1185
1185
  ref_key: "timeLabelsEls",
1186
1186
  ref: fn,
1187
1187
  class: v({ "donut-opacity": !0 })
1188
- }, [(x(!0), m(u, null, C(B.value.end - B.value.start, (e, n) => (x(), m("g", null, [(L.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === K.value - 1) || !L.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && q.value[n] && q.value[n].text ? (x(), m("g", bt, [String(q.value[n].text).includes("\n") ? (x(), m("text", {
1188
+ }, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, n) => (x(), m("g", null, [(I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === K.value - 1) || !I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && q.value[n] && q.value[n].text ? (x(), m("g", bt, [String(q.value[n].text).includes("\n") ? (x(), m("text", {
1189
1189
  key: 1,
1190
1190
  class: "vue-data-ui-time-label",
1191
- "text-anchor": L.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : L.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1192
- "font-size": L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1193
- fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
1194
- transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${L.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
1191
+ "text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1192
+ "font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1193
+ fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1194
+ transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
1195
1195
  innerHTML: E(t)({
1196
1196
  content: String(q.value[n].text),
1197
- fontSize: L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1198
- fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
1197
+ fontSize: I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1198
+ fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1199
1199
  x: 0,
1200
1200
  y: 0
1201
1201
  })
1202
1202
  }, null, 8, St)) : (x(), m("text", {
1203
1203
  key: 0,
1204
1204
  class: "vue-data-ui-time-label",
1205
- "text-anchor": L.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : L.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1206
- "font-size": L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1207
- fill: L.value.style.chart.layout.grid.xAxis.dataLabels.color,
1208
- transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + L.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${L.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1205
+ "text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1206
+ "font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1207
+ fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1208
+ transform: `translate(${W.value.left + J.value * n + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1209
1209
  }, T(q.value[n].text || ""), 9, xt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1210
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", null, [L.value.style.chart.layout.line.show && t < X.value.length - 1 && ![e.subtotal, X.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1210
+ (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", null, [I.value.style.chart.layout.line.show && t < X.value.length - 1 && ![e.subtotal, X.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1211
1211
  key: 0,
1212
1212
  class: v({
1213
1213
  "donut-opacity": !0,
@@ -1217,8 +1217,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1217
1217
  y1: e.y,
1218
1218
  x2: X.value[t + 1].x,
1219
1219
  y2: X.value[t + 1].y,
1220
- stroke: L.value.style.chart.layout.line.stroke,
1221
- "stroke-width": L.value.style.chart.layout.line.strokeWidth,
1220
+ stroke: I.value.style.chart.layout.line.stroke,
1221
+ "stroke-width": I.value.style.chart.layout.line.strokeWidth,
1222
1222
  "stroke-linecap": "round",
1223
1223
  "stroke-linejoin": "round"
1224
1224
  }, null, 10, Ct)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", wt, [e.subtotal ? (x(), m("circle", {
@@ -1226,7 +1226,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1226
1226
  cx: e.x,
1227
1227
  cy: e.y,
1228
1228
  r: e.activeRadius,
1229
- fill: L.value.style.chart.backgroundColor
1229
+ fill: I.value.style.chart.backgroundColor
1230
1230
  }, null, 8, Tt)) : p("", !0)]))]))), 256)),
1231
1231
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
1232
1232
  "donut-opacity": !0,
@@ -1253,7 +1253,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1253
1253
  "text-anchor": E(pe)(t, !0, 0).anchor,
1254
1254
  x: E(pe)(t, !0, 9).x,
1255
1255
  y: E(re)(t, 14, 10),
1256
- fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
1256
+ fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
1257
1257
  "font-size": 8,
1258
1258
  "font-weight": "bold"
1259
1259
  }, T(t.name) + ": " + T(lr(t, e.donut)) + " (" + T(t.value === null ? "-" : cr(t.value, t, n)) + ") ", 9, kt)) : p("", !0)]))), 256)),
@@ -1261,7 +1261,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1261
1261
  cx: e.x,
1262
1262
  cy: e.y,
1263
1263
  r: e.hoverRadius,
1264
- fill: L.value.style.chart.backgroundColor
1264
+ fill: I.value.style.chart.backgroundColor
1265
1265
  }, null, 8, At)])
1266
1266
  ])) : p("", !0)])) : p("", !0)], 2))), 256)),
1267
1267
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
@@ -1272,29 +1272,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1272
1272
  cx: e.x,
1273
1273
  cy: e.y,
1274
1274
  r: 3,
1275
- fill: L.value.style.chart.color
1275
+ fill: I.value.style.chart.color
1276
1276
  }, null, 8, Mt)) : j.value !== null && j.value === t ? (x(), m("g", Nt, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
1277
1277
  d: e.arcSlice,
1278
1278
  fill: `${e.color}`,
1279
1279
  "stroke-width": 1,
1280
- stroke: L.value.style.chart.backgroundColor
1280
+ stroke: I.value.style.chart.backgroundColor
1281
1281
  }, null, 8, Pt))), 256))])) : (x(), m("g", Ft, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1282
1282
  d: e.arcSlice,
1283
1283
  fill: `${e.color}`,
1284
1284
  "stroke-width": .5,
1285
- stroke: L.value.style.chart.backgroundColor
1285
+ stroke: I.value.style.chart.backgroundColor
1286
1286
  }, null, 8, It))), 256))]))]))], 2))), 256)),
1287
1287
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
1288
1288
  "donut-opacity": !0,
1289
1289
  "donut-behind": t !== j.value && j.value !== null || rn.value && t !== N.value.index
1290
- }) }, [e.subtotal !== null && L.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
1290
+ }) }, [e.subtotal !== null && I.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
1291
1291
  key: 0,
1292
1292
  "text-anchor": "middle",
1293
1293
  x: e.x,
1294
- y: j.value === e.index && e.subtotal ? e.y + L.value.style.chart.layout.dataLabels.fontSize / 3 : e.y - e.radius - L.value.style.chart.layout.dataLabels.fontSize + L.value.style.chart.layout.dataLabels.offsetY,
1295
- "font-size": L.value.style.chart.layout.dataLabels.fontSize,
1294
+ y: j.value === e.index && e.subtotal ? e.y + I.value.style.chart.layout.dataLabels.fontSize / 3 : e.y - e.radius - I.value.style.chart.layout.dataLabels.fontSize + I.value.style.chart.layout.dataLabels.offsetY,
1295
+ "font-size": I.value.style.chart.layout.dataLabels.fontSize,
1296
1296
  "font-weight": "bold",
1297
- fill: L.value.style.chart.layout.dataLabels.color
1297
+ fill: I.value.style.chart.layout.dataLabels.color
1298
1298
  }, T(cr(e.subtotal, e, t)), 9, Lt)) : p("", !0)], 2))), 256)),
1299
1299
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
1300
1300
  x: W.value.left + t * J.value,
@@ -1302,7 +1302,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1302
1302
  width: J.value,
1303
1303
  height: W.value.height,
1304
1304
  fill: [j.value, fr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1305
- class: v({ "donut-hover": R.value && e.subtotal && [j.value, fr.value].includes(e.index) }),
1305
+ class: v({ "donut-hover": L.value && e.subtotal && [j.value, fr.value].includes(e.index) }),
1306
1306
  style: { pointerEvents: "none" }
1307
1307
  }, null, 10, Rt))), 256)),
1308
1308
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
@@ -1315,53 +1315,53 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1315
1315
  onMouseenter: (t) => dr(e),
1316
1316
  onMouseleave: (t) => ur(e),
1317
1317
  onClick: (n) => pr(e, t),
1318
- class: v({ "donut-hover": R.value && j.value === e.index && e.subtotal })
1318
+ class: v({ "donut-hover": L.value && j.value === e.index && e.subtotal })
1319
1319
  }, null, 42, zt))), 256)),
1320
1320
  w(e.$slots, "svg", { svg: {
1321
1321
  ...W.value,
1322
- isPrintingImg: E(Kn) || E(qn) || _n.value,
1323
- isPrintingSvg: vn.value
1322
+ isPrintingImg: E(Kn) || E(qn) || vn.value,
1323
+ isPrintingSvg: yn.value
1324
1324
  } }, void 0, !0)
1325
1325
  ], 46, nt)), e.$slots.hint ? (x(), m("div", Bt, [w(e.$slots, "hint", y(_({
1326
- hint: L.value.a11y.translations.keyboardNavigation,
1327
- isVisible: On.value
1326
+ hint: I.value.a11y.translations.keyboardNavigation,
1327
+ isVisible: kn.value
1328
1328
  })), void 0, !0)])) : p("", !0)]),
1329
- e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Kn) || E(qn) || _n.value || vn.value })), void 0, !0)])) : p("", !0),
1329
+ e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Kn) || E(qn) || vn.value || yn.value })), void 0, !0)])) : p("", !0),
1330
1330
  h("div", {
1331
1331
  ref_key: "chartSlicer",
1332
- ref: Cn,
1333
- style: b(`width:100%;background:${L.value.style.chart.backgroundColor}`),
1332
+ ref: wn,
1333
+ style: b(`width:100%;background:${I.value.style.chart.backgroundColor}`),
1334
1334
  "data-dom-to-png-ignore": ""
1335
- }, [K.value > 1 && L.value.style.chart.zoom.show ? (x(), f(Le, {
1335
+ }, [K.value > 1 && I.value.style.chart.zoom.show ? (x(), f(Le, {
1336
1336
  ref_key: "slicerComponent",
1337
- ref: Sn,
1337
+ ref: Cn,
1338
1338
  key: `slicer_${sn.value}`,
1339
- background: L.value.style.chart.zoom.color,
1340
- borderColor: L.value.style.chart.backgroundColor,
1341
- fontSize: L.value.style.chart.zoom.fontSize,
1342
- useResetSlot: L.value.style.chart.zoom.useResetSlot,
1339
+ background: I.value.style.chart.zoom.color,
1340
+ borderColor: I.value.style.chart.backgroundColor,
1341
+ fontSize: I.value.style.chart.zoom.fontSize,
1342
+ useResetSlot: I.value.style.chart.zoom.useResetSlot,
1343
1343
  labelLeft: q.value[0] ? q.value[0].text : "",
1344
1344
  labelRight: q.value.at(-1) ? q.value.at(-1).text : "",
1345
- textColor: L.value.style.chart.color,
1346
- inputColor: L.value.style.chart.zoom.color,
1347
- selectColor: L.value.style.chart.zoom.highlightColor,
1345
+ textColor: I.value.style.chart.color,
1346
+ inputColor: I.value.style.chart.zoom.color,
1347
+ selectColor: I.value.style.chart.zoom.highlightColor,
1348
1348
  max: K.value,
1349
1349
  min: 0,
1350
- valueStart: B.value.start,
1351
- valueEnd: B.value.end,
1352
- start: B.value.start,
1353
- "onUpdate:start": r[0] ||= (e) => B.value.start = e,
1354
- end: B.value.end,
1355
- "onUpdate:end": r[1] ||= (e) => B.value.end = e,
1356
- refreshStartPoint: L.value.style.chart.zoom.startIndex === null ? 0 : L.value.style.chart.zoom.startIndex,
1357
- refreshEndPoint: L.value.style.chart.zoom.endIndex === null ? K.value : L.value.style.chart.zoom.endIndex + 1,
1358
- enableRangeHandles: L.value.style.chart.zoom.enableRangeHandles,
1359
- enableSelectionDrag: L.value.style.chart.zoom.enableSelectionDrag,
1360
- focusOnDrag: L.value.style.chart.zoom.focusOnDrag,
1361
- focusRangeRatio: L.value.style.chart.zoom.focusRangeRatio,
1362
- isCursorPointer: R.value,
1363
- maxWidth: L.value.style.chart.zoom.maxWidth,
1364
- onReset: Rn
1350
+ valueStart: z.value.start,
1351
+ valueEnd: z.value.end,
1352
+ start: z.value.start,
1353
+ "onUpdate:start": r[0] ||= (e) => z.value.start = e,
1354
+ end: z.value.end,
1355
+ "onUpdate:end": r[1] ||= (e) => z.value.end = e,
1356
+ refreshStartPoint: I.value.style.chart.zoom.startIndex === null ? 0 : I.value.style.chart.zoom.startIndex,
1357
+ refreshEndPoint: I.value.style.chart.zoom.endIndex === null ? K.value : I.value.style.chart.zoom.endIndex + 1,
1358
+ enableRangeHandles: I.value.style.chart.zoom.enableRangeHandles,
1359
+ enableSelectionDrag: I.value.style.chart.zoom.enableSelectionDrag,
1360
+ focusOnDrag: I.value.style.chart.zoom.focusOnDrag,
1361
+ focusRangeRatio: I.value.style.chart.zoom.focusRangeRatio,
1362
+ isCursorPointer: L.value,
1363
+ maxWidth: I.value.style.chart.zoom.maxWidth,
1364
+ onReset: zn
1365
1365
  }, {
1366
1366
  "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
1367
1367
  _: 3
@@ -1390,29 +1390,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1390
1390
  "maxWidth"
1391
1391
  ])) : p("", !0)], 4),
1392
1392
  h("div", { id: `legend-bottom-${k.value}` }, null, 8, Ht),
1393
- hn.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Re, {
1393
+ hn.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Re, {
1394
1394
  key: 6,
1395
- to: L.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1395
+ to: I.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1396
1396
  }, [h("div", {
1397
1397
  ref_key: "chartLegend",
1398
- ref: bn
1399
- }, [w(e.$slots, "legend", { legend: mr.value }, () => [L.value.style.chart.legend.show ? (x(), f(Fe, {
1398
+ ref: xn
1399
+ }, [w(e.$slots, "legend", { legend: Z.value }, () => [I.value.style.chart.legend.show ? (x(), f(Fe, {
1400
1400
  key: `legend_${un.value}`,
1401
- legendSet: mr.value,
1402
- config: gr.value,
1403
- onClickMarker: r[2] ||= ({ legend: e }) => vr(e.uid)
1401
+ legendSet: Z.value,
1402
+ config: hr.value,
1403
+ onClickMarker: r[2] ||= ({ legend: e }) => _r(e.uid)
1404
1404
  }, {
1405
1405
  item: D(({ legend: e, index: t }) => [h("div", {
1406
- onClick: (t) => vr(e.uid),
1406
+ onClick: (t) => _r(e.uid),
1407
1407
  style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
1408
1408
  }, T(e.display), 13, Ut)]),
1409
- legendToggle: D(() => [mr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(je, {
1409
+ legendToggle: D(() => [Z.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !E(Fn) ? (x(), f(je, {
1410
1410
  key: 0,
1411
- backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
1412
- color: L.value.style.chart.legend.selectAllToggle.color,
1413
- fontSize: L.value.style.chart.legend.fontSize,
1411
+ backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
1412
+ color: I.value.style.chart.legend.selectAllToggle.color,
1413
+ fontSize: I.value.style.chart.legend.fontSize,
1414
1414
  checked: A.value.length > 0,
1415
- onToggle: _r
1415
+ onToggle: gr
1416
1416
  }, null, 8, [
1417
1417
  "backgroundColor",
1418
1418
  "color",
@@ -1424,27 +1424,27 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1424
1424
  e.$slots.source ? (x(), m("div", {
1425
1425
  key: 7,
1426
1426
  ref_key: "source",
1427
- ref: xn,
1427
+ ref: Sn,
1428
1428
  dir: "auto"
1429
1429
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1430
- An.value && L.value.userOptions.buttons.table ? (x(), f(Ke(Nr.value.component), He({ key: 8 }, Nr.value.props, {
1430
+ jn.value && I.value.userOptions.buttons.table ? (x(), f(Ke(Nr.value.component), He({ key: 8 }, Nr.value.props, {
1431
1431
  ref_key: "tableUnit",
1432
- ref: F,
1432
+ ref: gn,
1433
1433
  onClose: Pr
1434
1434
  }), ze({
1435
1435
  content: D(() => [(x(), f(E(Jt), {
1436
1436
  key: `table_${ln.value}`,
1437
- colNames: Z.value.colNames,
1438
- head: Z.value.head,
1439
- body: Z.value.body,
1440
- config: Z.value.config,
1441
- title: L.value.table.useDialog ? "" : Nr.value.title,
1442
- withCloseButton: !L.value.table.useDialog,
1443
- isCursorPointer: R.value,
1437
+ colNames: Q.value.colNames,
1438
+ head: Q.value.head,
1439
+ body: Q.value.body,
1440
+ config: Q.value.config,
1441
+ title: I.value.table.useDialog ? "" : Nr.value.title,
1442
+ withCloseButton: !I.value.table.useDialog,
1443
+ isCursorPointer: L.value,
1444
1444
  onClose: Pr
1445
1445
  }, {
1446
1446
  th: D(({ th: e }) => [Be(T(e.name ?? e), 1)]),
1447
- td: D(({ td: e }) => [e.value === null ? (x(), m("span", Wt, "-")) : (x(), m("b", Gt, T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(L.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(L.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1447
+ td: D(({ td: e }) => [e.value === null ? (x(), m("span", Wt, "-")) : (x(), m("b", Gt, T(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(I.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(I.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1448
1448
  _: 1
1449
1449
  }, 8, [
1450
1450
  "colNames",
@@ -1456,35 +1456,35 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1456
1456
  "isCursorPointer"
1457
1457
  ]))]),
1458
1458
  _: 2
1459
- }, [L.value.table.useDialog ? {
1459
+ }, [I.value.table.useDialog ? {
1460
1460
  name: "title",
1461
1461
  fn: D(() => [Be(T(Nr.value.title), 1)]),
1462
1462
  key: "0"
1463
- } : void 0, L.value.table.useDialog ? {
1463
+ } : void 0, I.value.table.useDialog ? {
1464
1464
  name: "actions",
1465
1465
  fn: D(() => [h("button", {
1466
1466
  tabindex: "0",
1467
1467
  class: "vue-ui-user-options-button",
1468
- onClick: r[3] ||= (e) => Cr(L.value.userOptions.callbacks.csv),
1469
- style: b({ cursor: R.value ? "cursor" : "default" })
1468
+ onClick: r[3] ||= (e) => Sr(I.value.userOptions.callbacks.csv),
1469
+ style: b({ cursor: L.value ? "cursor" : "default" })
1470
1470
  }, [Ve(E(qt), {
1471
1471
  name: "fileCsv",
1472
1472
  stroke: Nr.value.props.color
1473
1473
  }, null, 8, ["stroke"])], 4)]),
1474
1474
  key: "1"
1475
1475
  } : void 0]), 1040)) : p("", !0),
1476
- L.value.style.chart.dialog.show ? (x(), f(E($t), {
1476
+ I.value.style.chart.dialog.show ? (x(), f(E($t), {
1477
1477
  key: 9,
1478
1478
  ref_key: "dialog",
1479
1479
  ref: Ar,
1480
1480
  onClose: r[4] ||= (e) => {
1481
1481
  N.value = null, rn.value = !1, M.value = null, j.value = null, fr.value = null;
1482
1482
  },
1483
- backgroundColor: L.value.style.chart.dialog.backgroundColor,
1484
- color: L.value.style.chart.dialog.color,
1485
- headerBg: L.value.style.chart.dialog.header.backgroundColor,
1486
- headerColor: L.value.style.chart.dialog.header.color,
1487
- isFullscreen: Q.value,
1483
+ backgroundColor: I.value.style.chart.dialog.backgroundColor,
1484
+ color: I.value.style.chart.dialog.color,
1485
+ headerBg: I.value.style.chart.dialog.header.backgroundColor,
1486
+ headerColor: I.value.style.chart.dialog.header.color,
1487
+ isFullscreen: $.value,
1488
1488
  fullscreenParent: P.value
1489
1489
  }, {
1490
1490
  title: D(() => [Be(T(q.value[Number(N.value.index)] ? q.value[Number(N.value.index)].text : ""), 1)]),
@@ -1502,9 +1502,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1502
1502
  "isFullscreen",
1503
1503
  "fullscreenParent"
1504
1504
  ])) : p("", !0),
1505
- E(Pn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1505
+ E(Fn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1506
1506
  ], 46, Qe));
1507
1507
  }
1508
- }, [["__scopeId", "data-v-63ca0b0c"]]);
1508
+ }, [["__scopeId", "data-v-b09f1aa6"]]);
1509
1509
  //#endregion
1510
1510
  export { Ze as n, Kt as t };