vue-data-ui 3.23.1 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, Bt as n, D as r, G as i, Gt as a, Jt as o, Kt as s, Pt as c, S as l, Vt as ee, X as u, b as d, ct as te, ft as ne, i as re, jt as ie, q as ae, t as oe, tt as se, vt as ce, w as le, xt as ue } from "./lib-Bttd6u5E.js";
3
3
  import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
4
- import { t as pe } from "./useConfig-D3scuR88.js";
4
+ import { t as pe } from "./useConfig-DlNpz6P8.js";
5
5
  import { t as me } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as _e } from "./useSvgExport-DH-FfcqQ.js";
8
- import { t as ve } from "./useNestedProp-vPNvh7rV.js";
9
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as _e } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ye } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as be } from "./useTransitions-g_zBREk2.js";
11
11
  import { t as xe } from "./img-Bnokohej.js";
12
12
  import { n as Se } from "./Title-BE3qg9xl.js";
@@ -14,7 +14,7 @@ import { t as Ce } from "./Shape-C21CMlWS.js";
14
14
  import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as De } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Oe } from "./vue-ui-accordion-BxGriZik.js";
17
+ import { t as Oe } from "./vue-ui-accordion-DegI2lzR.js";
18
18
  import { t as ke } from "./BaseLegendToggle-DZVucLnv.js";
19
19
  import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
20
20
  import { t as je } from "./useUserOptionState-DK-_1ddE.js";
@@ -192,8 +192,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
192
192
  "selectDatapoint"
193
193
  ],
194
194
  setup(e, { expose: we, emit: Xe }) {
195
- Ke((e) => ({ v0d6b4e74: e.tdo }));
196
- let Rt = ze(() => import("./Tooltip-DhjyfHwz.js")), zt = ze(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Bt = ze(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Vt = ze(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ht = ze(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ut = ze(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_vertical_bar: Wt } = pe(), { isThemeValid: Gt, warnInvalidTheme: Kt } = ye(), qt = qe(), k = e, Jt = p({
195
+ Ke((e) => ({ v36eb389c: e.tdo }));
196
+ let Rt = ze(() => import("./Tooltip-DhjyfHwz.js")), zt = ze(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Bt = ze(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Vt = ze(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ht = ze(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Ut = ze(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_vertical_bar: Wt } = pe(), { isThemeValid: Gt, warnInvalidTheme: Kt } = ve(), qt = qe(), k = e, Jt = p({
197
197
  get() {
198
198
  return !!k.dataset && k.dataset.length;
199
199
  },
@@ -204,10 +204,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
204
204
  none: 0,
205
205
  asc: 1,
206
206
  desc: 2
207
- }), N = C(0), fn = C(!1), pn = C(0), mn = null, hn = null, gn = C(!1), _n = C(!1), P = C(null), vn = C({
207
+ }), N = C(0), fn = C(!1), pn = C(0), mn = null, hn = null, P = C(null), gn = C({
208
208
  x: 0,
209
209
  y: 0
210
- }), yn = C("pointer"), bn = Xe, F = C(An());
210
+ }), _n = C("pointer"), vn = Xe, F = C(kn());
211
211
  de({
212
212
  config: () => F.value,
213
213
  dataset: () => k.dataset,
@@ -226,7 +226,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
226
226
  let { transitionEnabled: I } = be({
227
227
  config: () => F.value.transitions,
228
228
  dataset: () => k.dataset
229
- }), L = p(() => F.value.userOptions.useCursorPointer), xn = p(() => k.config?.skeletonDataset ?? [
229
+ }), yn = p(() => F.value.userOptions.useCursorPointer), bn = p(() => k.config?.skeletonDataset ?? [
230
230
  {
231
231
  name: "",
232
232
  value: 6,
@@ -257,7 +257,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
257
257
  value: 1,
258
258
  color: "#d9d9d9"
259
259
  }
260
- ]), Sn = p(() => o({
260
+ ]), xn = p(() => o({
261
261
  defaultConfig: {
262
262
  useCssAnimation: !1,
263
263
  userOptions: { show: !1 },
@@ -294,34 +294,34 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
294
294
  } }
295
295
  },
296
296
  userConfig: F.value.skeletonConfig ?? {}
297
- })), { loading: Cn, FINAL_DATASET: wn, manualLoading: Tn } = he({
297
+ })), { loading: Sn, FINAL_DATASET: Cn, manualLoading: wn } = he({
298
298
  ...Ge(k),
299
299
  FINAL_CONFIG: F,
300
- prepareConfig: An,
300
+ prepareConfig: kn,
301
301
  callback: () => {
302
302
  Promise.resolve().then(async () => {
303
- H.value.showTable = F.value.table.show, Hn();
303
+ H.value.showTable = F.value.table.show, Bn();
304
304
  });
305
305
  },
306
- skeletonDataset: xn.value,
306
+ skeletonDataset: bn.value,
307
307
  skeletonConfig: o({
308
308
  defaultConfig: F.value,
309
- userConfig: Sn.value
309
+ userConfig: xn.value
310
310
  })
311
- }), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } = je({ config: F.value }), { svgRef: kn } = Me({ config: F.value.style.chart.title });
312
- function An() {
313
- let e = ve({
311
+ }), { userOptionsVisible: Tn, setUserOptionsVisibility: En, keepUserOptionState: Dn } = je({ config: F.value }), { svgRef: On } = Me({ config: F.value.style.chart.title });
312
+ function kn() {
313
+ let e = _e({
314
314
  userConfig: k.config,
315
315
  defaultConfig: Wt
316
316
  }), t = {}, n = e.theme;
317
317
  if (n) if (!Gt.value(e)) Kt(e), t = e;
318
318
  else {
319
- let r = ve({
319
+ let r = _e({
320
320
  userConfig: Fe[n] || k.config,
321
321
  defaultConfig: e
322
322
  });
323
323
  t = {
324
- ...ve({
324
+ ..._e({
325
325
  userConfig: k.config,
326
326
  defaultConfig: r
327
327
  }),
@@ -331,23 +331,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
331
331
  else t = e;
332
332
  return k.config && ce(k.config, "events.datapointEnter") ? t.events.datapointEnter = k.config.events.datapointEnter : t.events.datapointEnter = null, k.config && ce(k.config, "events.datapointLeave") ? t.events.datapointLeave = k.config.events.datapointLeave : t.events.datapointLeave = null, k.config && ce(k.config, "events.datapointClick") ? t.events.datapointClick = k.config.events.datapointClick : t.events.datapointClick = null, t;
333
333
  }
334
- let R = C(F.value.style.chart.width), z = C(F.value.style.chart.height), B = C(F.value.style.chart.layout.bars.gap);
334
+ let L = C(F.value.style.chart.width), R = C(F.value.style.chart.height), z = C(F.value.style.chart.layout.bars.gap);
335
335
  Je(() => k.config, (e) => {
336
- Cn.value || (F.value = An()), En.value = !F.value.userOptions.showOnChartHover, rn.value += 1, an.value += 1, H.value.showTable = F.value.table.show, H.value.sortDesc = F.value.style.chart.layout.bars.sort === "desc", H.value.showTooltip = F.value.style.chart.tooltip.show, R.value = F.value.style.chart.width, z.value = F.value.style.chart.height, B.value = F.value.style.chart.layout.bars.gap;
336
+ Sn.value || (F.value = kn()), Tn.value = !F.value.userOptions.showOnChartHover, rn.value += 1, an.value += 1, H.value.showTable = F.value.table.show, H.value.sortDesc = F.value.style.chart.layout.bars.sort === "desc", H.value.showTooltip = F.value.style.chart.tooltip.show, L.value = F.value.style.chart.width, R.value = F.value.style.chart.height, z.value = F.value.style.chart.layout.bars.gap;
337
337
  }, { deep: !0 }), Je(() => k.dataset, (e) => {
338
- Array.isArray(e) && e.length > 0 && (Tn.value = !1);
338
+ Array.isArray(e) && e.length > 0 && (wn.value = !1);
339
339
  }, { deep: !0 });
340
- let { isPrinting: jn, isImaging: Mn, generatePdf: Nn, generateImage: Pn } = me({
340
+ let { isPrinting: An, isImaging: jn, generatePdf: Mn, generateImage: Nn } = me({
341
341
  elementId: `vue-ui-vertical-bar_${A.value}`,
342
342
  fileName: F.value.style.chart.title.text || "vue-ui-vertical-bar",
343
343
  options: F.value.userOptions.print
344
- }), Fn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), In = p(() => le(F.value.customPalette)), Ln = C(null), Rn = p(() => F.value.table.responsiveBreakpoint), zn = p(() => !!F.value.debug), Bn = C(0), V = C(null), Vn = C(null);
345
- function Hn() {
344
+ }), Pn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), Fn = p(() => le(F.value.customPalette)), In = C(null), Ln = p(() => F.value.table.responsiveBreakpoint), Rn = p(() => F.value.debug), zn = C(0), B = C(null), V = C(null);
345
+ function Bn() {
346
346
  if (j.value && (ie(k.dataset) && (se({
347
347
  componentName: "VueUiVerticalBar",
348
348
  type: "dataset",
349
- debug: zn.value
350
- }), Jt.value = !1, Tn.value = !0), ie(k.dataset) || (Tn.value = F.value.loading), F.value.responsive)) {
349
+ debug: Rn.value
350
+ }), Jt.value = !1, wn.value = !0), ie(k.dataset) || (wn.value = F.value.loading), F.value.responsive)) {
351
351
  let e = Te(() => {
352
352
  let { width: e, height: t } = Ee({
353
353
  chart: j.value,
@@ -356,33 +356,33 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
356
356
  source: tn.value,
357
357
  noTitle: nn.value
358
358
  });
359
- Bn.value = t / 3, requestAnimationFrame(async () => {
360
- z.value = t, R.value = e;
359
+ zn.value = t / 3, requestAnimationFrame(async () => {
360
+ R.value = t, L.value = e;
361
361
  });
362
362
  });
363
- V.value && (Vn.value && V.value.unobserve(Vn.value), V.value.disconnect()), V.value = new ResizeObserver(e), Ve(() => {
364
- Vn.value = j.value?.parentNode, Vn.value && V.value.observe(Vn.value);
363
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), Ve(() => {
364
+ V.value = j.value?.parentNode, V.value && B.value.observe(V.value);
365
365
  });
366
366
  }
367
367
  }
368
368
  He(() => {
369
- V.value && (Vn.value && V.value.unobserve(Vn.value), V.value.disconnect());
369
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
370
370
  });
371
371
  let H = C({
372
372
  showTable: F.value.table.show,
373
373
  sortDesc: F.value.style.chart.layout.bars.sort === "desc",
374
374
  showTooltip: F.value.style.chart.tooltip.show
375
- }), Un = p(() => H.value.sortDesc), U = p(() => (wn.value.forEach((e, t) => {
375
+ }), Vn = p(() => H.value.sortDesc), U = p(() => (Cn.value.forEach((e, t) => {
376
376
  !e.value && !e.children && se({
377
377
  componentName: "VueUiVerticalBar",
378
378
  type: "datasetAttributeEmpty",
379
379
  property: `value (index ${t})`,
380
- debug: zn.value
380
+ debug: Rn.value
381
381
  }), e.children && (ie(e.children) ? se({
382
382
  componentName: "VueUiVerticalBar",
383
383
  type: "datasetAttributeEmpty",
384
384
  property: `children (index ${t})`,
385
- debug: zn.value
385
+ debug: Rn.value
386
386
  }) : e.children.forEach((e, t) => {
387
387
  [null, void 0].includes(e.name) && se({
388
388
  componentName: "VueUiVerticalBar",
@@ -390,10 +390,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
390
390
  property: "name",
391
391
  key: "children",
392
392
  index: t,
393
- debug: zn.value
393
+ debug: Rn.value
394
394
  });
395
395
  }));
396
- }), wn.value.map((e, t) => {
396
+ }), Cn.value.map((e, t) => {
397
397
  let n = `vertical_parent_${t}_${A.value}`, r = e.children && e.children.length > 0, i = d(e.value ? e.value : r ? e.children.map((e) => e.value || 0).reduce((e, t) => e + t, 0) : 0), a = i >= 0 ? 1 : -1;
398
398
  return {
399
399
  ...e,
@@ -405,10 +405,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
405
405
  sign: a,
406
406
  hasChildren: r,
407
407
  isChild: !1,
408
- segregate: () => rr(n),
408
+ segregate: () => tr(n),
409
409
  isSegregated: M.value.includes(n),
410
- color: l(e.color) || In.value[t] || c[t] || c[t % c.length],
411
- children: !e.children || !e.children.length ? [] : e.children.toSorted(fn.value ? () => 0 : (e, t) => Un.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
410
+ color: l(e.color) || Fn.value[t] || c[t] || c[t % c.length],
411
+ children: !e.children || !e.children.length ? [] : e.children.toSorted(fn.value ? () => 0 : (e, t) => Vn.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
412
412
  ...r,
413
413
  value: d(Math.abs(r.value)),
414
414
  absoluteIndex: t,
@@ -420,14 +420,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
420
420
  parentSign: a,
421
421
  id: `vertical_child_${t}_${o}_${A.value}`,
422
422
  childIndex: o,
423
- color: l(r.color) || l(e.color) || In.value[t] || c[t] || c[t % c.length]
423
+ color: l(r.color) || l(e.color) || Fn.value[t] || c[t] || c[t % c.length]
424
424
  })).map((t, n) => ({
425
425
  ...t,
426
426
  isFirstChild: n === 0,
427
427
  isLastChild: n === e.children.length - 1
428
428
  }))
429
429
  };
430
- }).toSorted(fn.value ? () => 0 : (e, t) => Un.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Wn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Gn = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Kn = p(() => ({
430
+ }).toSorted(fn.value ? () => 0 : (e, t) => Vn.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Hn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Un = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Wn = p(() => ({
431
431
  cy: "vertical-bar-div-legend",
432
432
  backgroundColor: F.value.style.chart.legend.backgroundColor,
433
433
  color: F.value.style.chart.legend.color,
@@ -441,55 +441,55 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
441
441
  }), e;
442
442
  }), J = p(() => {
443
443
  let e = Math.max(0, ...q.value) * K.value;
444
- return (z.value - 24 - (Gn.value - 1) * B.value - e) / Gn.value;
444
+ return (R.value - 24 - (Un.value - 1) * z.value - e) / Un.value;
445
445
  }), Y = p(() => ({
446
- width: R.value,
447
- height: z.value,
446
+ width: L.value,
447
+ height: R.value,
448
448
  padding: {
449
449
  top: 12,
450
450
  left: 128 + F.value.style.chart.layout.bars.offsetX,
451
451
  right: 64 + F.value.style.chart.layout.bars.paddingRight,
452
452
  bottom: 12
453
453
  }
454
- })), qn = C(0);
455
- function Jn() {
454
+ })), Gn = C(0);
455
+ function Kn() {
456
456
  Ve(() => {
457
457
  if (!un.value) {
458
- qn.value = 0;
458
+ Gn.value = 0;
459
459
  return;
460
460
  }
461
461
  let e = Array.from(un.value.querySelectorAll("text")).reduce((e, t) => {
462
462
  let n = t.getBBox?.().width ?? t.getComputedTextLength();
463
463
  return n > e ? n : e;
464
464
  }, 0);
465
- qn.value = e + 12;
465
+ Gn.value = e + 12;
466
466
  });
467
467
  }
468
468
  Je(() => [
469
469
  G.value,
470
+ L.value,
470
471
  R.value,
471
- z.value,
472
472
  F.value.style.chart.layout.bars.nameLabels,
473
473
  F.value.style.chart.layout.bars.offsetX
474
- ], () => Jn(), { deep: !0 }), Ue(() => {
475
- Jn();
474
+ ], () => Kn(), { deep: !0 }), Ue(() => {
475
+ Kn();
476
476
  });
477
- function Yn() {
477
+ function qn() {
478
478
  return typeof document > "u" ? null : (mn || (mn = document.createElement("canvas"), hn = mn.getContext("2d")), hn);
479
479
  }
480
- function Xn(e) {
481
- let t = String(e ?? ""), n = F.value.style.chart.layout.bars, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = F.value.style.fontFamily, o = Yn();
480
+ function Jn(e) {
481
+ let t = String(e ?? ""), n = F.value.style.chart.layout.bars, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = F.value.style.fontFamily, o = qn();
482
482
  return o ? (o.font = `${i} ${r}px ${a}`, o.measureText(t).width) : t.length * r * .6;
483
483
  }
484
- function Zn() {
484
+ function Yn() {
485
485
  let e = W.value.flatMap((e) => e.children && e.children.length ? e.children.map((e) => Math.abs(e.value)) : Math.abs(e.value));
486
486
  return e.length ? Math.max(...e) : 0;
487
487
  }
488
- let Qn = p(() => {
488
+ let Xn = p(() => {
489
489
  pn.value;
490
- let e = F.value.style.chart.layout.bars, t = qn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = Zn(), o = G.value.map((e, t) => ({
490
+ let e = F.value.style.chart.layout.bars, t = Gn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = Yn(), o = G.value.map((e, t) => ({
491
491
  serie: e,
492
- textWidth: Xn(xr(e.value, e, t, e.sign))
492
+ textWidth: Jn(yr(e.value, e, t, e.sign))
493
493
  }));
494
494
  if (!o.length || r <= 0) return {
495
495
  left: 0,
@@ -527,17 +527,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
527
527
  left: 0,
528
528
  right: Math.ceil(Math.min(r, -u))
529
529
  };
530
- }), $n = p(() => Qn.value.right), er = p(() => Qn.value.left);
531
- function tr() {
530
+ }), Zn = p(() => Xn.value.right), Qn = p(() => Xn.value.left);
531
+ function $n() {
532
532
  pn.value += 1;
533
533
  }
534
534
  Ue(() => {
535
- typeof document > "u" || !document.fonts || (document.fonts.ready.then(tr), document.fonts.addEventListener?.("loadingdone", tr));
535
+ typeof document > "u" || !document.fonts || (document.fonts.ready.then($n), document.fonts.addEventListener?.("loadingdone", $n));
536
536
  }), He(() => {
537
- typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", tr), mn = null, hn = null;
537
+ typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", $n), mn = null, hn = null;
538
538
  });
539
539
  let X = p(() => {
540
- let e = qn.value + Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX) + er.value + F.value.style.chart.layout.bars.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - $n.value - F.value.style.chart.layout.bars.offsetX);
540
+ let e = Gn.value + Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX) + Qn.value + F.value.style.chart.layout.bars.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - Zn.value - F.value.style.chart.layout.bars.offsetX);
541
541
  return {
542
542
  top: Y.value.padding.top,
543
543
  bottom: Y.value.padding.top + Y.value.height,
@@ -547,93 +547,93 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
547
547
  fullHeight: Y.value.padding.top + Y.value.padding.bottom + Y.value.height
548
548
  };
549
549
  });
550
- function nr() {
550
+ function er() {
551
551
  M.value.length ? M.value = [] : U.value.forEach((e) => {
552
552
  M.value.push(e.id);
553
- }), bn("selectLegend", W.value);
553
+ }), vn("selectLegend", W.value);
554
554
  }
555
- async function rr(e) {
555
+ async function tr(e) {
556
556
  if (M.value.includes(e)) M.value = M.value.filter((t) => t !== e);
557
557
  else {
558
558
  if (M.value.length === U.value.length - 1) return;
559
559
  M.value.push(e);
560
560
  }
561
- bn("selectLegend", W.value);
561
+ vn("selectLegend", W.value);
562
562
  }
563
- function ir(e) {
564
- return U.value.length ? U.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null);
563
+ function nr(e) {
564
+ return U.value.length ? U.value.find((t) => t.name === e) || (Rn.value && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (Rn.value && console.warn("VueUiHorizontalBar - There are no series to show."), null);
565
565
  }
566
- function ar(e) {
567
- let t = ir(e);
568
- t !== null && M.value.includes(t.id) && rr(t.id);
566
+ function rr(e) {
567
+ let t = nr(e);
568
+ t !== null && M.value.includes(t.id) && tr(t.id);
569
569
  }
570
- function or(e) {
571
- let t = ir(e);
572
- t !== null && (M.value.includes(t.id) || rr(t.id));
570
+ function ir(e) {
571
+ let t = nr(e);
572
+ t !== null && (M.value.includes(t.id) || tr(t.id));
573
573
  }
574
574
  let Z = p(() => W.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
575
- function sr(e, t = !1, n = 0) {
575
+ function ar(e, t = !1, n = 0) {
576
576
  return t ? u({
577
577
  v: d(Math.abs(e) / Z.value * 100),
578
578
  s: "%",
579
579
  r: n
580
580
  }) : Math.abs(e) / Z.value;
581
581
  }
582
- let cr = p(() => G.value.map((e) => e.sign).includes(-1)), lr = p(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
582
+ let or = p(() => G.value.map((e) => e.sign).includes(-1)), sr = p(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
583
583
  function Q(e) {
584
- let t = e / lr.value;
585
- return d(X.value.width / (cr.value ? 2 : 1) * t);
584
+ let t = e / sr.value;
585
+ return d(X.value.width / (or.value ? 2 : 1) * t);
586
586
  }
587
- function ur(e) {
587
+ function cr(e) {
588
588
  return Q(e) + X.value.left;
589
589
  }
590
- function dr(e, t) {
590
+ function lr(e, t) {
591
591
  let n = W.value.find((t) => t.id === e.parentId);
592
592
  return {
593
- y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value - K.value + F.value.style.chart.layout.bars.parentLabels.fontSize,
593
+ y: X.value.top + (z.value + J.value) * t + q.value[t] * K.value - K.value + F.value.style.chart.layout.bars.parentLabels.fontSize,
594
594
  name: n.name,
595
595
  value: [
596
596
  void 0,
597
597
  NaN,
598
598
  null
599
599
  ].includes(n.value) ? "" : n.sign === 1 ? n.value : -n.value,
600
- percentageToTotal: isNaN(n.value / Z.value) ? "" : sr(n.value, !0, F.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
600
+ percentageToTotal: isNaN(n.value / Z.value) ? "" : ar(n.value, !0, F.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
601
601
  sign: n.sign
602
602
  };
603
603
  }
604
- function fr() {
604
+ function ur() {
605
605
  return W.value;
606
606
  }
607
- function pr(e, t) {
608
- return dr(e, t).name;
607
+ function dr(e, t) {
608
+ return lr(e, t).name;
609
609
  }
610
- function mr(e, t) {
611
- let n = dr(e, t);
612
- return xr(n.value, n, t, e.parentSign || e.sign);
610
+ function fr(e, t) {
611
+ let n = lr(e, t);
612
+ return yr(n.value, n, t, e.parentSign || e.sign);
613
613
  }
614
- let hr = C(null), gr = C(null);
615
- function _r({ datapoint: e, seriesIndex: t }) {
616
- bn("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
614
+ let pr = C(null), mr = C(null);
615
+ function hr({ datapoint: e, seriesIndex: t }) {
616
+ vn("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
617
617
  datapoint: e,
618
618
  seriesIndex: t
619
619
  });
620
620
  }
621
- function vr({ datapoint: e, seriesIndex: t }) {
621
+ function gr({ datapoint: e, seriesIndex: t }) {
622
622
  F.value.events.datapointLeave && F.value.events.datapointLeave({
623
623
  datapoint: e,
624
624
  seriesIndex: t
625
- }), Zt.value = null, Yt.value = !1, hr.value = null, P.value === t && (P.value = null);
625
+ }), Zt.value = null, Yt.value = !1, pr.value = null, P.value === t && (P.value = null);
626
626
  }
627
- function yr(e, t, n = "pointer") {
628
- yn.value = n, F.value.events.datapointEnter && F.value.events.datapointEnter({
627
+ function _r(e, t, n = "pointer") {
628
+ _n.value = n, F.value.events.datapointEnter && F.value.events.datapointEnter({
629
629
  datpoint: e,
630
630
  seriesIndex: t
631
- }), P.value = t, Zt.value = e, gr.value = {
631
+ }), P.value = t, Zt.value = e, mr.value = {
632
632
  datapoint: e,
633
633
  seriesIndex: t,
634
634
  series: U.value,
635
635
  config: F.value
636
- }, Yt.value = !0, hr.value = e.id;
636
+ }, Yt.value = !0, pr.value = e.id;
637
637
  let r = "", i = e.isChild ? e.parentName : e.name, a = e.isChild ? e.name : "", o = F.value.style.chart.tooltip.customFormat;
638
638
  ue(o) && te(() => o({
639
639
  datapoint: e,
@@ -666,7 +666,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
666
666
  r: F.value.style.chart.tooltip.roundingPercentage
667
667
  })}</b></div>`)), Xt.value = `<div style="text-align:left">${r}</div>`);
668
668
  }
669
- function br({ legend: e, index: t }) {
669
+ function vr({ legend: e, index: t }) {
670
670
  let n = F.value.style.chart.legend;
671
671
  return n.showValue ? `${e.name}: ${re(F.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, u({
672
672
  p: n.prefix,
@@ -678,7 +678,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
678
678
  seriesIndex: t
679
679
  })}` : e.name;
680
680
  }
681
- function xr(e, t, n, r) {
681
+ function yr(e, t, n, r) {
682
682
  if (!F.value.style.chart.layout.bars.dataLabels.value.show) return "";
683
683
  let i = re(F.value.style.chart.layout.bars.dataLabels.value.formatter, d(r === -1 && e >= 0 ? -e : e), u({
684
684
  p: F.value.style.chart.layout.bars.dataLabels.value.prefix,
@@ -688,7 +688,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
688
688
  }), {
689
689
  datapoint: t,
690
690
  seriesIndex: n
691
- }), a = `(${sr(e, !0, F.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
691
+ }), a = `(${ar(e, !0, F.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
692
692
  return `${i}${F.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${a}` : ""}`;
693
693
  }
694
694
  let $ = p(() => ({
@@ -730,7 +730,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
730
730
  childPercentageToTotal: ""
731
731
  })
732
732
  }));
733
- function Sr(e = null) {
733
+ function br(e = null) {
734
734
  let n = [
735
735
  [F.value.style.chart.title.text],
736
736
  [F.value.style.chart.title.subtitle.text],
@@ -749,11 +749,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
749
749
  title: F.value.style.chart.title.text || "vue-ui-vertical-bar"
750
750
  });
751
751
  }
752
- let Cr = C(!1);
753
- function wr(e) {
754
- Cr.value = e, Qt.value += 1;
752
+ let xr = C(!1);
753
+ function Sr(e) {
754
+ xr.value = e, Qt.value += 1;
755
755
  }
756
- function Tr() {
756
+ function Cr() {
757
757
  H.value.showTable = !H.value.showTable;
758
758
  }
759
759
  Ue(() => {
@@ -768,20 +768,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
768
768
  key: F.value.style.chart.layout.bars.sort
769
769
  }), N.value = dn.value[F.value.style.chart.layout.bars.sort], H.value.sortDesc = N.value === 2, fn.value = N.value === 0;
770
770
  });
771
- function Er() {
771
+ function wr() {
772
772
  N.value += 1, N.value > 2 && (N.value = 0);
773
773
  }
774
- function Dr() {
775
- Er(), H.value.sortDesc = N.value === 2, fn.value = N.value === 0;
774
+ function Tr() {
775
+ wr(), H.value.sortDesc = N.value === 2, fn.value = N.value === 0;
776
776
  }
777
- function Or() {
777
+ function Er() {
778
778
  H.value.showTooltip = !H.value.showTooltip;
779
779
  }
780
- let kr = C(!1);
781
- function Ar() {
782
- kr.value = !kr.value;
780
+ let Dr = C(!1);
781
+ function Or() {
782
+ Dr.value = !Dr.value;
783
783
  }
784
- async function jr({ scale: e = 2 } = {}) {
784
+ async function kr({ scale: e = 2 } = {}) {
785
785
  if (!j.value) return;
786
786
  let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
787
787
  domElement: j.value,
@@ -798,7 +798,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
798
798
  aspectRatio: r
799
799
  };
800
800
  }
801
- let Mr = p(() => {
801
+ let Ar = p(() => {
802
802
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
803
803
  return {
804
804
  component: e ? Ut : Oe,
@@ -808,10 +808,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
808
808
  color: F.value.table.th.color,
809
809
  headerColor: F.value.table.th.color,
810
810
  headerBg: F.value.table.th.backgroundColor,
811
- isFullscreen: Cr.value,
811
+ isFullscreen: xr.value,
812
812
  fullscreenParent: j.value,
813
813
  forcedWidth: Math.min(800, window.innerWidth * .8),
814
- isCursorPointer: L.value
814
+ isCursorPointer: yn.value
815
815
  } : {
816
816
  hideDetails: !0,
817
817
  config: {
@@ -832,11 +832,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
832
832
  Je(() => H.value.showTable, (e) => {
833
833
  F.value.table.show || (e && F.value.table.useDialog && sn.value ? sn.value.open() : "close" in sn.value && sn.value.close());
834
834
  });
835
- let { isResponsive: Nr } = Ne(Ln, Rn);
836
- function Pr() {
835
+ let { isResponsive: jr } = Ne(In, Ln);
836
+ function Mr() {
837
837
  H.value.showTable = !1, cn.value && cn.value.setTableIconState(!1);
838
838
  }
839
- let Fr = p(() => U.value.map((e, t) => ({
839
+ let Nr = p(() => U.value.map((e, t) => ({
840
840
  ...e,
841
841
  shape: "square",
842
842
  display: `${e.name}: ${re(F.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, u({
@@ -848,48 +848,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
848
848
  datapoint: e,
849
849
  seriesIndex: t
850
850
  })}`
851
- }))), Ir = p(() => F.value.style.chart.backgroundColor), Lr = p(() => F.value.style.chart.legend), Rr = p(() => F.value.style.chart.title), zr = p(() => Fr.value.map((e) => ({
851
+ }))), Pr = p(() => F.value.style.chart.backgroundColor), Fr = p(() => F.value.style.chart.legend), Ir = p(() => F.value.style.chart.title), Lr = p(() => Nr.value.map((e) => ({
852
852
  ...e,
853
853
  name: e.display
854
- }))), { exportSvg: Br, getSvg: Vr } = _e({
855
- svg: kn,
856
- title: Rr,
857
- legend: Lr,
858
- legendItems: zr,
859
- backgroundColor: Ir
854
+ }))), { isCallbackImaging: Rr, isCallbackSvg: zr, generateSvg: Br, onGenerateImage: Vr } = ye({
855
+ svg: On,
856
+ title: Ir,
857
+ legend: Fr,
858
+ legendItems: Lr,
859
+ backgroundColor: Pr,
860
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
861
+ generateImage: Nn
860
862
  });
861
- async function Hr({ isCb: e }) {
862
- _n.value = !0, await Ve();
863
- try {
864
- if (e) {
865
- let { blob: e, url: t, text: n, dataUrl: r } = await Vr();
866
- await Promise.resolve(F.value.userOptions.callbacks.svg({
867
- blob: e,
868
- url: t,
869
- text: n,
870
- dataUrl: r
871
- }));
872
- } else await Promise.resolve(Br());
873
- } finally {
874
- _n.value = !1;
875
- }
876
- }
877
- function Ur(e) {
878
- if (e?.stage === "start") {
879
- gn.value = !0;
880
- return;
881
- }
882
- if (e?.stage === "end") {
883
- gn.value = !1;
884
- return;
885
- }
886
- Pn();
887
- }
888
- function Wr() {
863
+ function Hr() {
889
864
  console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
890
865
  }
891
- async function Gr() {
892
- if (bn("copyAlt", {
866
+ async function Ur() {
867
+ if (vn("copyAlt", {
893
868
  config: F.value,
894
869
  dataset: W.value
895
870
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -901,36 +876,36 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
901
876
  dataset: W.value
902
877
  }));
903
878
  }
904
- let Kr = C(!1);
905
- function qr() {
906
- P.value = null, Kr.value = !0;
879
+ let Wr = C(!1);
880
+ function Gr() {
881
+ P.value = null, Wr.value = !0;
907
882
  }
908
- function Jr() {
909
- P.value = null, Yt.value = !1, Kr.value = !1;
883
+ function Kr() {
884
+ P.value = null, Yt.value = !1, Wr.value = !1;
910
885
  }
911
- function Yr() {
886
+ function qr() {
912
887
  if (P.value === null) return;
913
888
  let e = G.value[P.value];
914
- e && vr({
889
+ e && gr({
915
890
  datapoint: e,
916
891
  seriesIndex: P.value
917
- }), P.value = null, yn.value = "pointer";
892
+ }), P.value = null, _n.value = "pointer";
918
893
  }
919
- function Xr(e) {
920
- if (!kn.value || kr.value || document.activeElement !== kn.value) return;
894
+ function Jr(e) {
895
+ if (!On.value || Dr.value || document.activeElement !== On.value) return;
921
896
  let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
922
897
  if (!t && !n && !r && !i) return;
923
898
  let a = G.value.length;
924
899
  if (!a) return;
925
900
  if (e.preventDefault(), e.stopPropagation(), i) {
926
- Yr();
901
+ qr();
927
902
  return;
928
903
  }
929
904
  if (r) {
930
905
  if (P.value === null) return;
931
906
  let e = G.value[P.value];
932
907
  if (!e) return;
933
- _r({
908
+ hr({
934
909
  datapoint: e,
935
910
  seriesIndex: P.value
936
911
  });
@@ -939,16 +914,16 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
939
914
  let o = P.value, s = Zt.value ? G.value.findIndex((e) => e.id === Zt.value.id) : null;
940
915
  o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
941
916
  let c = G.value[o];
942
- c && (P.value = o, Zr(c), yr(c, o, "keyboard"));
917
+ c && (P.value = o, Yr(c), _r(c, o, "keyboard"));
943
918
  }
944
- function Zr(e) {
919
+ function Yr(e) {
945
920
  if (!e) return;
946
- let t = X.value.right, n = X.value.top + (B.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
921
+ let t = X.value.right, n = X.value.top + (z.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
947
922
  if (!Number.isFinite(t) || !Number.isFinite(n)) return;
948
- let r = a(t, n, kn.value);
949
- r && (vn.value = r);
923
+ let r = a(t, n, On.value);
924
+ r && (gn.value = r);
950
925
  }
951
- let Qr = p(() => ({
926
+ let Xr = p(() => ({
952
927
  head: $.value.head,
953
928
  body: $.value.body.map((e) => [
954
929
  e.parentName,
@@ -985,41 +960,41 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
985
960
  notice: F.value.a11y.translations.tableAvailable
986
961
  }));
987
962
  return we({
988
- autoSize: Wr,
989
- getData: fr,
990
- getImage: jr,
991
- generatePdf: Nn,
992
- generateCsv: Sr,
993
- generateImage: Pn,
994
- generateSvg: Hr,
995
- hideSeries: or,
996
- showSeries: ar,
997
- toggleTable: Tr,
998
- toggleSort: Dr,
999
- toggleTooltip: Or,
1000
- toggleAnnotator: Ar,
1001
- toggleFullscreen: wr,
1002
- copyAlt: Gr
963
+ autoSize: Hr,
964
+ getData: ur,
965
+ getImage: kr,
966
+ generatePdf: Mn,
967
+ generateCsv: br,
968
+ generateImage: Nn,
969
+ generateSvg: Br,
970
+ hideSeries: ir,
971
+ showSeries: rr,
972
+ toggleTable: Cr,
973
+ toggleSort: Tr,
974
+ toggleTooltip: Er,
975
+ toggleAnnotator: Or,
976
+ toggleFullscreen: Sr,
977
+ copyAlt: Ur
1003
978
  }), (e, t) => (S(), g("div", {
1004
- class: y(`vue-data-ui-component vue-ui-vertical-bar ${Cr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${F.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
979
+ class: y(`vue-data-ui-component vue-ui-vertical-bar ${xr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${F.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
1005
980
  ref_key: "verticalBarChart",
1006
981
  ref: j,
1007
982
  id: `vue-ui-vertical-bar_${A.value}`,
1008
983
  style: x(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};height:100%`),
1009
- onMouseenter: t[3] ||= () => D(Dn)(!0),
1010
- onMouseleave: t[4] ||= () => D(Dn)(!1)
984
+ onMouseenter: t[3] ||= () => D(En)(!0),
985
+ onMouseleave: t[4] ||= () => D(En)(!1)
1011
986
  }, [
1012
987
  _("p", {
1013
988
  id: `chart-instructions-${A.value}`,
1014
989
  class: "sr-only"
1015
990
  }, E(F.value.a11y.translations.keyboardNavigation), 9, Qe),
1016
- Qr.value.body.length ? (S(), m(Ae, {
991
+ Xr.value.body.length ? (S(), m(Ae, {
1017
992
  key: 0,
1018
993
  uid: A.value,
1019
- head: Qr.value.head,
1020
- body: Qr.value.body,
1021
- caption: Qr.value.caption,
1022
- notice: Qr.value.notice
994
+ head: Xr.value.head,
995
+ body: Xr.value.body,
996
+ caption: Xr.value.caption,
997
+ notice: Xr.value.notice
1023
998
  }, null, 8, [
1024
999
  "uid",
1025
1000
  "head",
@@ -1029,12 +1004,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1029
1004
  ])) : h("", !0),
1030
1005
  F.value.userOptions.buttons.annotator ? (S(), m(D(Bt), {
1031
1006
  key: 1,
1032
- svgRef: D(kn),
1007
+ svgRef: D(On),
1033
1008
  backgroundColor: F.value.style.chart.backgroundColor,
1034
1009
  color: F.value.style.chart.color,
1035
- active: kr.value,
1036
- isCursorPointer: L.value,
1037
- onClose: Ar
1010
+ active: Dr.value,
1011
+ isCursorPointer: yn.value,
1012
+ onClose: Or
1038
1013
  }, {
1039
1014
  "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1040
1015
  "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
@@ -1050,7 +1025,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1050
1025
  "active",
1051
1026
  "isCursorPointer"
1052
1027
  ])) : h("", !0),
1053
- Fn.value ? (S(), g("div", {
1028
+ Pn.value ? (S(), g("div", {
1054
1029
  key: 2,
1055
1030
  ref_key: "noTitle",
1056
1031
  ref: nn,
@@ -1075,14 +1050,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1075
1050
  }
1076
1051
  }
1077
1052
  }, null, 8, ["config"]))], 512)) : h("", !0),
1078
- F.value.userOptions.show && Jt.value && (D(On) || D(En)) ? (S(), m(D(Vt), {
1053
+ F.value.userOptions.show && Jt.value && (D(Dn) || D(Tn)) ? (S(), m(D(Vt), {
1079
1054
  ref_key: "userOptionsRef",
1080
1055
  ref: cn,
1081
1056
  backgroundColor: F.value.style.chart.backgroundColor,
1082
1057
  color: F.value.style.chart.color,
1083
1058
  key: `user_options_${Qt.value}`,
1084
- isImaging: D(Mn),
1085
- isPrinting: D(jn),
1059
+ isImaging: D(jn),
1060
+ isPrinting: D(An),
1086
1061
  uid: A.value,
1087
1062
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
1088
1063
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -1093,28 +1068,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1093
1068
  hasSort: F.value.userOptions.buttons.sort,
1094
1069
  hasFullscreen: F.value.userOptions.buttons.fullscreen,
1095
1070
  hasAltCopy: F.value.userOptions.buttons.altCopy,
1096
- isFullscreen: Cr.value,
1071
+ isFullscreen: xr.value,
1097
1072
  isTooltip: H.value.showTooltip,
1098
1073
  titles: { ...F.value.userOptions.buttonTitles },
1099
1074
  chartElement: j.value,
1100
1075
  position: F.value.userOptions.position,
1101
1076
  hasAnnotator: F.value.userOptions.buttons.annotator,
1102
- isAnnotation: kr.value,
1077
+ isAnnotation: Dr.value,
1103
1078
  callbacks: F.value.userOptions.callbacks,
1104
1079
  printScale: F.value.userOptions.print.scale,
1105
1080
  tableDialog: F.value.table.useDialog,
1106
- isCursorPointer: L.value,
1107
- onToggleFullscreen: wr,
1108
- onGeneratePdf: D(Nn),
1109
- onGenerateCsv: Sr,
1110
- onGenerateImage: Ur,
1111
- onGenerateSvg: Hr,
1112
- onToggleTable: Tr,
1113
- onToggleSort: Dr,
1114
- onToggleTooltip: Or,
1115
- onToggleAnnotator: Ar,
1116
- onCopyAlt: Gr,
1117
- style: x({ visibility: D(On) ? D(En) ? "visible" : "hidden" : "visible" })
1081
+ isCursorPointer: yn.value,
1082
+ onToggleFullscreen: Sr,
1083
+ onGeneratePdf: D(Mn),
1084
+ onGenerateCsv: br,
1085
+ onGenerateImage: D(Vr),
1086
+ onGenerateSvg: D(Br),
1087
+ onToggleTable: Cr,
1088
+ onToggleSort: Tr,
1089
+ onToggleTooltip: Er,
1090
+ onToggleAnnotator: Or,
1091
+ onCopyAlt: Ur,
1092
+ style: x({ visibility: D(Dn) ? D(Tn) ? "visible" : "hidden" : "visible" })
1118
1093
  }, Ie({ _: 2 }, [
1119
1094
  e.$slots.menuIcon ? {
1120
1095
  name: "menuIcon",
@@ -1195,7 +1170,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1195
1170
  fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1196
1171
  key: "13"
1197
1172
  } : void 0
1198
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasSort.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1173
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasSort.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
1199
1174
  F.value.style.chart.legend.show && F.value.style.chart.legend.position === "top" ? (S(), g("div", {
1200
1175
  key: 5,
1201
1176
  ref_key: "chartLegend",
@@ -1203,23 +1178,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1203
1178
  }, [(S(), m(Pe, {
1204
1179
  key: `legend_top_${an.value}`,
1205
1180
  legendSet: U.value,
1206
- config: Kn.value,
1207
- onClickMarker: t[0] ||= ({ legend: e }) => rr(e.id)
1181
+ config: Wn.value,
1182
+ onClickMarker: t[0] ||= ({ legend: e }) => tr(e.id)
1208
1183
  }, Ie({
1209
1184
  item: O(({ legend: e, index: t }) => [_("div", {
1210
- onClick: (t) => rr(e.id),
1185
+ onClick: (t) => tr(e.id),
1211
1186
  style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
1212
- }, E(br({
1187
+ }, E(vr({
1213
1188
  legend: e,
1214
1189
  index: t
1215
1190
  })), 13, $e)]),
1216
- legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Cn) ? (S(), m(ke, {
1191
+ legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Sn) ? (S(), m(ke, {
1217
1192
  key: 0,
1218
1193
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1219
1194
  color: F.value.style.chart.legend.selectAllToggle.color,
1220
1195
  fontSize: F.value.style.chart.legend.fontSize,
1221
1196
  checked: M.value.length > 0,
1222
- onToggle: nr
1197
+ onToggle: er
1223
1198
  }, null, 8, [
1224
1199
  "backgroundColor",
1225
1200
  "color",
@@ -1243,20 +1218,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1243
1218
  } : void 0]), 1032, ["legendSet", "config"]))], 512)) : h("", !0),
1244
1219
  _("div", et, [(S(), g("svg", {
1245
1220
  ref_key: "svgRef",
1246
- ref: kn,
1221
+ ref: On,
1247
1222
  xmlns: D(oe),
1248
1223
  class: y({
1249
- "vue-data-ui-fullscreen--on": Cr.value,
1250
- "vue-data-ui-fulscreen--off": !Cr.value,
1224
+ "vue-data-ui-fullscreen--on": xr.value,
1225
+ "vue-data-ui-fulscreen--off": !xr.value,
1251
1226
  "vue-data-ui-no-transition": !D(I)
1252
1227
  }),
1253
- viewBox: `0 0 ${R.value} ${z.value}`,
1228
+ viewBox: `0 0 ${L.value} ${R.value}`,
1254
1229
  style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
1255
1230
  tabindex: "0",
1256
1231
  "aria-describedby": `chart-instructions-${A.value}`,
1257
- onFocus: qr,
1258
- onBlur: Jr,
1259
- onKeydown: Xr
1232
+ onFocus: Gr,
1233
+ onBlur: Kr,
1234
+ onKeydown: Jr
1260
1235
  }, [_("g", {
1261
1236
  ref_key: "G",
1262
1237
  ref: on,
@@ -1267,8 +1242,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1267
1242
  key: 0,
1268
1243
  x: 0,
1269
1244
  y: 0,
1270
- width: R.value,
1271
- height: z.value,
1245
+ width: L.value,
1246
+ height: R.value,
1272
1247
  style: { pointerEvents: "none" }
1273
1248
  }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : h("", !0),
1274
1249
  _("defs", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), m(De, {
@@ -1295,8 +1270,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1295
1270
  }), void 0, !0)]))), 256))])) : h("", !0),
1296
1271
  F.value.style.chart.layout.bars.rowColor ? (S(!0), g(f, { key: 2 }, w(G.value, (e, t) => (S(), g("g", { key: `row_${e.id}` }, [_("rect", {
1297
1272
  x: 0,
1298
- y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
1299
- width: R.value,
1273
+ y: X.value.top + (z.value + J.value) * t + q.value[t] * K.value,
1274
+ width: L.value,
1300
1275
  height: J.value <= 0 ? 1e-4 : J.value,
1301
1276
  fill: F.value.style.chart.layout.bars.rowColor,
1302
1277
  rx: F.value.style.chart.layout.bars.rowRadius,
@@ -1304,8 +1279,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1304
1279
  class: y({ "vue-data-ui-transition": D(I) })
1305
1280
  }, null, 10, it)]))), 128)) : h("", !0),
1306
1281
  (S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", { key: `underlayer_${e.id}` }, [_("rect", {
1307
- x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : X.value.left),
1308
- y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
1282
+ x: D(d)(or.value ? X.value.left + X.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : X.value.left),
1283
+ y: X.value.top + (z.value + J.value) * t + q.value[t] * K.value,
1309
1284
  width: D(d)(Q(e.value) <= 0 ? 1e-4 : Q(e.value)),
1310
1285
  height: J.value <= 0 ? 1e-4 : J.value,
1311
1286
  fill: F.value.style.chart.layout.bars.underlayerColor,
@@ -1314,8 +1289,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1314
1289
  }, null, 10, at)]))), 128)),
1315
1290
  (S(!0), g(f, null, w(G.value, (t, r) => (S(), g("g", { key: `barloop_${t.id}` }, [
1316
1291
  _("rect", {
1317
- x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
1318
- y: X.value.top + (B.value + J.value) * r + q.value[r] * K.value,
1292
+ x: D(d)(or.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
1293
+ y: X.value.top + (z.value + J.value) * r + q.value[r] * K.value,
1319
1294
  width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
1320
1295
  height: J.value <= 0 ? 1e-4 : J.value,
1321
1296
  fill: F.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${A.value}_${r})` : D(n)(t.color, F.value.style.chart.layout.bars.fillOpacity),
@@ -1326,8 +1301,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1326
1301
  }, null, 10, ot),
1327
1302
  e.$slots.pattern ? (S(), g("rect", {
1328
1303
  key: 0,
1329
- x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
1330
- y: X.value.top + (B.value + J.value) * r + q.value[r] * K.value,
1304
+ x: D(d)(or.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
1305
+ y: X.value.top + (z.value + J.value) * r + q.value[r] * K.value,
1331
1306
  width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
1332
1307
  height: J.value <= 0 ? 1e-4 : J.value,
1333
1308
  fill: `url(#pattern_${A.value}_${t.absoluteIndex})`,
@@ -1342,9 +1317,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1342
1317
  "stroke-width": F.value.style.chart.layout.separators.strokeWidth,
1343
1318
  "stroke-linecap": "round",
1344
1319
  class: y({ "vue-data-ui-transition": D(I) }),
1345
- d: `M${R.value}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * r + q.value[r] * K.value} ${F.value.style.chart.layout.separators.fullWidth ? 0 : X.value.left}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * r + q.value[r] * K.value}`
1320
+ d: `M${L.value}, ${J.value + z.value / 2 + X.value.top + (z.value + J.value) * r + q.value[r] * K.value} ${F.value.style.chart.layout.separators.fullWidth ? 0 : X.value.left}, ${J.value + z.value / 2 + X.value.top + (z.value + J.value) * r + q.value[r] * K.value}`
1346
1321
  }, null, 10, ct)) : h("", !0),
1347
- cr.value && F.value.style.chart.layout.separators.show ? (S(), g("path", {
1322
+ or.value && F.value.style.chart.layout.separators.show ? (S(), g("path", {
1348
1323
  key: 2,
1349
1324
  stroke: F.value.style.chart.layout.separators.color,
1350
1325
  "stroke-width": F.value.style.chart.layout.separators.strokeWidth,
@@ -1364,7 +1339,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1364
1339
  key: 0,
1365
1340
  class: y(["vue-ui-horizontal-bar-parent-marker", { "vue-data-ui-transition": D(I) }]),
1366
1341
  x: 2,
1367
- y: dr(e, t).y - F.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1342
+ y: lr(e, t).y - F.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1368
1343
  height: F.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1369
1344
  width: F.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
1370
1345
  rx: 1,
@@ -1373,13 +1348,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1373
1348
  e.isChild && e.childIndex === 0 && F.value.style.chart.layout.bars.parentLabels.show ? (S(), g("text", {
1374
1349
  key: 1,
1375
1350
  class: y({ "vue-data-ui-transition": D(I) }),
1376
- transform: `translate(${F.value.style.chart.layout.bars.parentLabels.offsetX + F.value.style.chart.layout.bars.parentLabels.fontSize}, ${dr(e, t).y})`,
1351
+ transform: `translate(${F.value.style.chart.layout.bars.parentLabels.offsetX + F.value.style.chart.layout.bars.parentLabels.fontSize}, ${lr(e, t).y})`,
1377
1352
  "font-size": F.value.style.chart.layout.bars.parentLabels.fontSize,
1378
1353
  fill: F.value.style.chart.layout.bars.parentLabels.color,
1379
1354
  "font-weight": F.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
1380
1355
  "text-anchor": "start",
1381
1356
  innerHTML: D(i)({
1382
- content: `${pr(e, t)}`,
1357
+ content: `${dr(e, t)}`,
1383
1358
  fontSize: F.value.style.chart.layout.bars.parentLabels.fontSize,
1384
1359
  fill: F.value.style.chart.layout.bars.parentLabels.color,
1385
1360
  x: 0,
@@ -1390,24 +1365,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1390
1365
  e.isChild && e.childIndex === 0 && F.value.style.chart.layout.bars.parentLabels.show ? (S(), g("text", {
1391
1366
  key: 2,
1392
1367
  class: y({ "vue-data-ui-transition": D(I) }),
1393
- transform: `translate(${F.value.style.chart.layout.bars.parentLabels.offsetX + F.value.style.chart.layout.bars.parentLabels.fontSize}, ${dr(e, t).y + D(ne)(pr(e, t)) * F.value.style.chart.layout.bars.parentLabels.fontSize * 1.1})`,
1368
+ transform: `translate(${F.value.style.chart.layout.bars.parentLabels.offsetX + F.value.style.chart.layout.bars.parentLabels.fontSize}, ${lr(e, t).y + D(ne)(dr(e, t)) * F.value.style.chart.layout.bars.parentLabels.fontSize * 1.1})`,
1394
1369
  "font-size": F.value.style.chart.layout.bars.parentLabels.fontSize,
1395
1370
  fill: F.value.style.chart.layout.bars.parentLabels.color,
1396
1371
  "font-weight": F.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
1397
1372
  "text-anchor": "start"
1398
- }, E(mr(e, t)), 11, ft)) : h("", !0)
1373
+ }, E(fr(e, t)), 11, ft)) : h("", !0)
1399
1374
  ]))), 128))], 512),
1400
1375
  _("g", {
1401
1376
  ref_key: "childLabels",
1402
1377
  ref: un
1403
- }, [(S(!0), g(f, null, w(Wn.value, (e, t) => (S(), g("g", {
1378
+ }, [(S(!0), g(f, null, w(Hn.value, (e, t) => (S(), g("g", {
1404
1379
  key: `cl_${e.id}`,
1405
1380
  class: "vue-ui-horizontal-bar-child-label"
1406
1381
  }, [(e.isChild || !e.hasChildren) && F.value.style.chart.layout.bars.nameLabels.show ? (S(), g("text", {
1407
1382
  key: 0,
1408
1383
  "text-anchor": "start",
1409
1384
  class: y({ "vue-data-ui-transition": D(I) }),
1410
- transform: `translate(${Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX)}, ${D(d)(X.value.top + (B.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 2 + q.value[t] * K.value)})`,
1385
+ transform: `translate(${Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX)}, ${D(d)(X.value.top + (z.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 2 + q.value[t] * K.value)})`,
1411
1386
  "font-size": F.value.style.chart.layout.bars.nameLabels.fontSize,
1412
1387
  fill: "transparent",
1413
1388
  "font-weight": F.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
@@ -1428,7 +1403,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1428
1403
  key: 0,
1429
1404
  class: y({ "vue-data-ui-transition": D(I) }),
1430
1405
  "text-anchor": "end",
1431
- transform: `translate(${X.value.left + F.value.style.chart.layout.bars.nameLabels.offsetX - 6}, ${X.value.top + (B.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 3 + q.value[t] * K.value})`,
1406
+ transform: `translate(${X.value.left + F.value.style.chart.layout.bars.nameLabels.offsetX - 6}, ${X.value.top + (z.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 3 + q.value[t] * K.value})`,
1432
1407
  "font-size": F.value.style.chart.layout.bars.nameLabels.fontSize,
1433
1408
  fill: F.value.style.chart.layout.bars.nameLabels.color,
1434
1409
  "font-weight": F.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
@@ -1446,24 +1421,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1446
1421
  class: "vue-ui-horizontal-bar-child-label"
1447
1422
  }, [_("text", {
1448
1423
  class: y({ "vue-data-ui-transition": D(I) }),
1449
- transform: `translate(${cr.value ? X.value.left + X.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -F.value.style.chart.layout.bars.dataLabels.offsetX : F.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(ur(e.value) + 3 + F.value.style.chart.layout.bars.dataLabels.offsetX, X.value.right - 2)},${X.value.top + (B.value + J.value) * t + J.value / 2 + q.value[t] * K.value + F.value.style.chart.layout.bars.dataLabels.fontSize / 3})`,
1450
- "text-anchor": !cr.value || e.sign === -1 ? "start" : "end",
1424
+ transform: `translate(${or.value ? X.value.left + X.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -F.value.style.chart.layout.bars.dataLabels.offsetX : F.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(cr(e.value) + 3 + F.value.style.chart.layout.bars.dataLabels.offsetX, X.value.right - 2)},${X.value.top + (z.value + J.value) * t + J.value / 2 + q.value[t] * K.value + F.value.style.chart.layout.bars.dataLabels.fontSize / 3})`,
1425
+ "text-anchor": !or.value || e.sign === -1 ? "start" : "end",
1451
1426
  "font-size": F.value.style.chart.layout.bars.dataLabels.fontSize,
1452
1427
  fill: F.value.style.chart.layout.bars.dataLabels.color,
1453
1428
  "font-weight": F.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
1454
- }, E(xr(e.value, e, t, e.sign)), 11, ht)]))), 128))]),
1429
+ }, E(yr(e.value, e, t, e.sign)), 11, ht)]))), 128))]),
1455
1430
  (S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", null, [_("rect", {
1456
1431
  x: 0,
1457
- y: X.value.top + (B.value + J.value) * t - B.value / 2 + q.value[t] * K.value,
1458
- width: R.value,
1459
- height: J.value + B.value <= 0 ? 1e-4 : J.value + B.value,
1460
- fill: hr.value === e.id ? D(n)(F.value.style.chart.layout.highlighter.color, F.value.style.chart.layout.highlighter.opacity) : "transparent",
1461
- onMouseenter: (n) => yr(e, t, "pointer"),
1462
- onMouseleave: (n) => vr({
1432
+ y: X.value.top + (z.value + J.value) * t - z.value / 2 + q.value[t] * K.value,
1433
+ width: L.value,
1434
+ height: J.value + z.value <= 0 ? 1e-4 : J.value + z.value,
1435
+ fill: pr.value === e.id ? D(n)(F.value.style.chart.layout.highlighter.color, F.value.style.chart.layout.highlighter.opacity) : "transparent",
1436
+ onMouseenter: (n) => _r(e, t, "pointer"),
1437
+ onMouseleave: (n) => gr({
1463
1438
  datapoint: e,
1464
1439
  seriesIndex: t
1465
1440
  }),
1466
- onClick: (n) => _r({
1441
+ onClick: (n) => hr({
1467
1442
  datapoint: e,
1468
1443
  seriesIndex: t
1469
1444
  })
@@ -1471,14 +1446,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1471
1446
  T(e.$slots, "svg", { svg: {
1472
1447
  ...Y.value,
1473
1448
  drawingArea: X.value,
1474
- isPrintingImg: D(jn) || D(Mn) || gn.value,
1475
- isPrintingSvg: _n.value
1449
+ isPrintingImg: D(An) || D(jn) || D(Rr),
1450
+ isPrintingSvg: D(zr)
1476
1451
  } }, void 0, !0)
1477
1452
  ], 512)], 46, tt)), e.$slots.hint ? (S(), g("div", _t, [T(e.$slots, "hint", b(v({
1478
1453
  hint: F.value.a11y.translations.keyboardNavigation,
1479
- isVisible: Kr.value
1454
+ isVisible: Wr.value
1480
1455
  })), void 0, !0)])) : h("", !0)]),
1481
- e.$slots.watermark ? (S(), g("div", vt, [T(e.$slots, "watermark", b(v({ isPrinting: D(jn) || D(Mn) || gn.value || _n.value })), void 0, !0)])) : h("", !0),
1456
+ e.$slots.watermark ? (S(), g("div", vt, [T(e.$slots, "watermark", b(v({ isPrinting: D(An) || D(jn) || D(Rr) || D(zr) })), void 0, !0)])) : h("", !0),
1482
1457
  F.value.style.chart.legend.show && F.value.style.chart.legend.position === "bottom" ? (S(), g("div", {
1483
1458
  key: 7,
1484
1459
  ref_key: "chartLegend",
@@ -1486,25 +1461,25 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1486
1461
  }, [(S(), m(Pe, {
1487
1462
  key: `legend_bottom_${an.value}`,
1488
1463
  legendSet: U.value,
1489
- config: Kn.value,
1490
- isCursorPointer: L.value,
1491
- onClickMarker: t[1] ||= ({ legend: e }) => rr(e.id)
1464
+ config: Wn.value,
1465
+ isCursorPointer: yn.value,
1466
+ onClickMarker: t[1] ||= ({ legend: e }) => tr(e.id)
1492
1467
  }, Ie({
1493
1468
  item: O(({ legend: e, index: t }) => [_("div", {
1494
- onClick: (t) => rr(e.id),
1469
+ onClick: (t) => tr(e.id),
1495
1470
  style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
1496
- }, E(br({
1471
+ }, E(vr({
1497
1472
  legend: e,
1498
1473
  index: t
1499
1474
  })), 13, yt)]),
1500
- legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Cn) ? (S(), m(ke, {
1475
+ legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Sn) ? (S(), m(ke, {
1501
1476
  key: 0,
1502
1477
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1503
1478
  color: F.value.style.chart.legend.selectAllToggle.color,
1504
1479
  fontSize: F.value.style.chart.legend.fontSize,
1505
1480
  checked: M.value.length > 0,
1506
- isCursorPointer: L.value,
1507
- onToggle: nr
1481
+ isCursorPointer: yn.value,
1482
+ onToggle: er
1508
1483
  }, null, 8, [
1509
1484
  "backgroundColor",
1510
1485
  "color",
@@ -1553,18 +1528,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1553
1528
  offsetY: F.value.style.chart.tooltip.offsetY,
1554
1529
  parent: j.value,
1555
1530
  content: Xt.value,
1556
- isFullscreen: Cr.value,
1531
+ isFullscreen: xr.value,
1557
1532
  isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
1558
1533
  smooth: F.value.style.chart.tooltip.smooth,
1559
1534
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1560
1535
  smoothForce: F.value.style.chart.tooltip.smoothForce,
1561
1536
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1562
- isA11yMode: yn.value === "keyboard",
1563
- a11yPosition: vn.value
1537
+ isA11yMode: _n.value === "keyboard",
1538
+ a11yPosition: gn.value
1564
1539
  }, {
1565
- "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...gr.value })), void 0, !0)]),
1566
- tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...gr.value })), void 0, !0)]),
1567
- "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...gr.value })), void 0, !0)]),
1540
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...mr.value })), void 0, !0)]),
1541
+ tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...mr.value })), void 0, !0)]),
1542
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...mr.value })), void 0, !0)]),
1568
1543
  _: 3
1569
1544
  }, 8, [
1570
1545
  "teleportTo",
@@ -1590,23 +1565,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1590
1565
  "isA11yMode",
1591
1566
  "a11yPosition"
1592
1567
  ]),
1593
- Jt.value && F.value.userOptions.buttons.table ? (S(), m(We(Mr.value.component), Be({ key: 9 }, Mr.value.props, {
1568
+ Jt.value && F.value.userOptions.buttons.table ? (S(), m(We(Ar.value.component), Be({ key: 9 }, Ar.value.props, {
1594
1569
  ref_key: "tableUnit",
1595
1570
  ref: sn,
1596
- onClose: Pr
1571
+ onClose: Mr
1597
1572
  }), Ie({
1598
1573
  content: O(() => [_("div", {
1599
1574
  ref_key: "tableContainer",
1600
- ref: Ln,
1575
+ ref: In,
1601
1576
  class: "vue-ui-vertical-bar-table atom-data-table",
1602
1577
  style: x(`${F.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1603
1578
  }, [_("div", bt, [F.value.table.useDialog ? h("", !0) : (S(), g("div", {
1604
1579
  key: 0,
1605
1580
  role: "button",
1606
1581
  tabindex: "0",
1607
- style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${L.value ? "pointer" : "default"}; background:${F.value.table.th.backgroundColor};`),
1608
- onClick: Pr,
1609
- onKeypress: Ye(Pr, ["enter"])
1582
+ style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${yn.value ? "pointer" : "default"}; background:${F.value.table.th.backgroundColor};`),
1583
+ onClick: Mr,
1584
+ onKeypress: Ye(Mr, ["enter"])
1610
1585
  }, [Re(D(zt), {
1611
1586
  name: "close",
1612
1587
  stroke: F.value.table.th.color,
@@ -1616,7 +1591,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1616
1591
  width: "100%",
1617
1592
  "container-type": "inline-size"
1618
1593
  },
1619
- class: y({ "vue-ui-responsive": D(Nr) })
1594
+ class: y({ "vue-ui-responsive": D(jr) })
1620
1595
  }, [_("table", xt, [
1621
1596
  F.value.table.useDialog ? h("", !0) : (S(), g("caption", {
1622
1597
  key: 0,
@@ -1710,24 +1685,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
1710
1685
  _: 2
1711
1686
  }, [F.value.table.useDialog ? {
1712
1687
  name: "title",
1713
- fn: O(() => [Le(E(Mr.value.title), 1)]),
1688
+ fn: O(() => [Le(E(Ar.value.title), 1)]),
1714
1689
  key: "0"
1715
1690
  } : void 0, F.value.table.useDialog ? {
1716
1691
  name: "actions",
1717
1692
  fn: O(() => [_("button", {
1718
1693
  tabindex: "0",
1719
1694
  class: "vue-ui-user-options-button",
1720
- onClick: t[2] ||= (e) => Sr(F.value.userOptions.callbacks.csv),
1721
- style: x({ cursor: L.value ? "pointer" : "default" })
1695
+ onClick: t[2] ||= (e) => br(F.value.userOptions.callbacks.csv),
1696
+ style: x({ cursor: yn.value ? "pointer" : "default" })
1722
1697
  }, [Re(D(zt), {
1723
1698
  name: "fileCsv",
1724
- stroke: Mr.value.props.color
1699
+ stroke: Ar.value.props.color
1725
1700
  }, null, 8, ["stroke"])], 4)]),
1726
1701
  key: "1"
1727
1702
  } : void 0]), 1040)) : h("", !0),
1728
- T(e.$slots, "skeleton", {}, () => [D(Cn) ? (S(), m(ge, { key: 0 })) : h("", !0)], !0)
1703
+ T(e.$slots, "skeleton", {}, () => [D(Sn) ? (S(), m(ge, { key: 0 })) : h("", !0)], !0)
1729
1704
  ], 46, Ze));
1730
1705
  }
1731
- }, [["__scopeId", "data-v-eeca2238"]]);
1706
+ }, [["__scopeId", "data-v-fa0a2454"]]);
1732
1707
  //#endregion
1733
1708
  export { Xe as n, Rt as t };