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, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, b as d, f, h as p, i as m, jt as ee, kt as te, p as ne, pt as re, q as ie, t as ae, tt as h, w as oe } from "./lib-Bttd6u5E.js";
3
3
  import { n as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-D3scuR88.js";
4
+ import { t as ce } from "./useConfig-DlNpz6P8.js";
5
5
  import { t as le } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useSvgExport-DH-FfcqQ.js";
8
- import { t as pe } from "./useNestedProp-vPNvh7rV.js";
9
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as fe } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as me } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as he } from "./img-Bnokohej.js";
11
11
  import { n as ge } from "./Title-BE3qg9xl.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
@@ -236,7 +236,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
236
236
  },
237
237
  emits: ["selectDatapoint", "copyAlt"],
238
238
  setup(e, { expose: _e, emit: Fe }) {
239
- let en = w(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), tn = w(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), nn = w(() => import("./DataTable-BbKgJ5UI.js")), rn = w(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), an = w(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), on = w(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), sn = w(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_3d_bar: cn } = ce(), { isThemeValid: ln, warnInvalidTheme: un } = me(), F = e, dn = Fe, fn = v(() => !!F.dataset && Object.keys(F.dataset).length), I = k(ie()), L = k(null), R = k(!1), pn = k(0), mn = k(0), hn = k(null), gn = k(null), _n = k(null), vn = k(null), z = k(!1), yn = k(null), bn = k(null), xn = k(!1), Sn = k(!1), B = k(null), V = k(""), H = k(kn());
239
+ let en = w(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), tn = w(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), nn = w(() => import("./DataTable-BbKgJ5UI.js")), rn = w(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), an = w(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), on = w(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), sn = w(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_3d_bar: cn } = ce(), { isThemeValid: ln, warnInvalidTheme: un } = pe(), F = e, dn = Fe, fn = v(() => !!F.dataset && Object.keys(F.dataset).length), I = k(ie()), L = k(null), R = k(!1), pn = k(0), mn = k(0), hn = k(null), gn = k(null), _n = k(null), vn = k(null), z = k(!1), yn = k(null), bn = k(null), B = k(null), V = k(""), H = k(Dn());
240
240
  se({
241
241
  config: () => H.value,
242
242
  dataset: () => F.dataset,
@@ -261,7 +261,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
261
261
  ]
262
262
  }]
263
263
  });
264
- let Cn = v(() => H.value.userOptions.useCursorPointer), wn = v(() => i({
264
+ let xn = v(() => H.value.userOptions.useCursorPointer), Sn = v(() => i({
265
265
  defaultConfig: {
266
266
  customPalette: [
267
267
  "#808080",
@@ -284,10 +284,10 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
284
284
  })), { loading: U, FINAL_DATASET: W } = ue({
285
285
  ...je(F),
286
286
  FINAL_CONFIG: H,
287
- prepareConfig: kn,
287
+ prepareConfig: Dn,
288
288
  callback: () => {
289
289
  Promise.resolve().then(async () => {
290
- await De(), Ln();
290
+ await De(), Fn();
291
291
  });
292
292
  },
293
293
  skeletonDataset: F.config?.skeletonDataset ?? { series: [
@@ -327,20 +327,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
327
327
  ] },
328
328
  skeletonConfig: i({
329
329
  defaultConfig: H.value,
330
- userConfig: wn.value
330
+ userConfig: Sn.value
331
331
  })
332
- }), { userOptionsVisible: Tn, setUserOptionsVisibility: En, keepUserOptionState: Dn } = xe({ config: H.value }), { svgRef: On } = Se({ config: H.value.style.chart.title });
333
- function kn() {
334
- let e = pe({
332
+ }), { userOptionsVisible: Cn, setUserOptionsVisibility: wn, keepUserOptionState: Tn } = xe({ config: H.value }), { svgRef: En } = Se({ config: H.value.style.chart.title });
333
+ function Dn() {
334
+ let e = fe({
335
335
  userConfig: F.config,
336
336
  defaultConfig: cn
337
337
  }), t = e.theme;
338
338
  if (!t) return e;
339
339
  if (!ln.value(e)) return un(e), e;
340
- let n = pe({
340
+ let n = fe({
341
341
  userConfig: Ce[t] || F.config,
342
342
  defaultConfig: e
343
- }), r = pe({
343
+ }), r = fe({
344
344
  userConfig: F.config,
345
345
  defaultConfig: n
346
346
  });
@@ -350,20 +350,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
350
350
  };
351
351
  }
352
352
  Me(() => F.config, (e) => {
353
- U.value || (H.value = kn()), Tn.value = !H.value.userOptions.showOnChartHover, zn(), pn.value += 1, mn.value += 1, G.value.showTable = H.value.table.show;
353
+ U.value || (H.value = Dn()), Cn.value = !H.value.userOptions.showOnChartHover, Rn(), pn.value += 1, mn.value += 1, G.value.showTable = H.value.table.show;
354
354
  }, { deep: !0 });
355
- let { isPrinting: An, isImaging: jn, generatePdf: Mn, generateImage: Nn } = le({
355
+ let { isPrinting: On, isImaging: kn, generatePdf: An, generateImage: jn } = le({
356
356
  elementId: `3d_bar_${I.value}`,
357
357
  fileName: H.value.style.chart.title.text || "vue-ui-3d-bar",
358
358
  options: H.value.userOptions.print
359
- }), Pn = v(() => oe(H.value.customPalette)), G = k({ showTable: H.value.table.show });
359
+ }), Mn = v(() => oe(H.value.customPalette)), G = k({ showTable: H.value.table.show });
360
360
  Me(H, () => {
361
361
  G.value = { showTable: H.value.table.show };
362
362
  }, { immediate: !0 });
363
- let K = v(() => W.value.series && W.value.series.length), Fn = k(H.value.style.chart.box.dimensions.width * (K.value ? 2 : 1)), In = k(H.value.style.chart.box.dimensions.height), q = v(() => ({
364
- height: In.value,
365
- width: Fn.value,
366
- absoluteWidth: Fn.value,
363
+ let K = v(() => W.value.series && W.value.series.length), Nn = k(H.value.style.chart.box.dimensions.width * (K.value ? 2 : 1)), Pn = k(H.value.style.chart.box.dimensions.height), q = v(() => ({
364
+ height: Pn.value,
365
+ width: Nn.value,
366
+ absoluteWidth: Nn.value,
367
367
  top: H.value.style.chart.box.dimensions.top,
368
368
  bottom: H.value.style.chart.box.dimensions.bottom,
369
369
  left: H.value.style.chart.box.dimensions.left,
@@ -376,12 +376,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
376
376
  seriesIndex: n,
377
377
  id: ie(),
378
378
  proportion: (t.value || 0) / e,
379
- color: c(t.color) || Pn.value[n] || s[n] || s[n % s.length],
379
+ color: c(t.color) || Mn.value[n] || s[n] || s[n % s.length],
380
380
  breakdown: t.breakdown ? t.breakdown.sort((e, t) => t.value - e.value) : null
381
381
  })).sort((e, t) => t.value - e.value), n = [], r = 0;
382
382
  for (let e = 0; e < t.length; e += 1) n.push({
383
383
  ...t[e],
384
- fill: Vn(r, t[e].proportion, t[e].breakdown, t[e].color)
384
+ fill: Bn(r, t[e].proportion, t[e].breakdown, t[e].color)
385
385
  }), r += t[e].proportion;
386
386
  return n;
387
387
  }
@@ -399,7 +399,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
399
399
  tubeBottom: `M${q.value.width - q.value.right},${q.value.height - q.value.bottom - q.value.perspective} C ${q.value.width - q.value.right},${q.value.height} ${q.value.left},${q.value.height} ${q.value.left},${q.value.height - q.value.bottom - q.value.perspective}`
400
400
  };
401
401
  }), X = k(H.value.style.chart.animation.use ? 0 : W.value.percentage);
402
- function Ln() {
402
+ function Fn() {
403
403
  let e = 0, t = H.value.style.chart.animation.speed, n = .005 * H.value.style.chart.animation.acceleration;
404
404
  function r() {
405
405
  X.value += t + e, e += n, X.value < W.value.percentage ? requestAnimationFrame(r) : X.value = W.value.percentage;
@@ -407,14 +407,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
407
407
  H.value.style.chart.animation.use && (X.value = 0, r());
408
408
  }
409
409
  ke(() => {
410
- zn(), Ln();
410
+ Rn(), Fn();
411
411
  });
412
- let Rn = v(() => !!H.value.debug);
413
- function zn() {
414
- if (ee(F.dataset) ? h({
412
+ let In = v(() => H.value.debug);
413
+ function Ln() {
414
+ In.value && (ee(F.dataset) ? h({
415
415
  componentName: "VueUi3dBar",
416
416
  type: "dataset",
417
- debug: Rn.value
417
+ debug: In.value
418
418
  }) : F.dataset.series ? F.dataset.series.forEach((e, t) => {
419
419
  re({
420
420
  datasetObject: e,
@@ -425,7 +425,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
425
425
  type: "datasetSerieAttribute",
426
426
  property: e,
427
427
  index: t,
428
- debug: Rn.value
428
+ debug: In.value
429
429
  });
430
430
  }), e.breakdown && e.breakdown.forEach((e, n) => {
431
431
  re({
@@ -437,7 +437,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
437
437
  type: "datasetSerieAttribute",
438
438
  property: e,
439
439
  index: `${t} - ${n}`,
440
- debug: Rn.value
440
+ debug: In.value
441
441
  });
442
442
  });
443
443
  });
@@ -449,9 +449,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
449
449
  componentName: "VueUi3dBar",
450
450
  type: "datasetAttribute",
451
451
  property: e,
452
- debug: Rn.value
452
+ debug: In.value
453
453
  });
454
- }), H.value.responsive) {
454
+ }));
455
+ }
456
+ function Rn() {
457
+ if (Ln(), H.value.responsive) {
455
458
  let e = ve(() => {
456
459
  let { width: e, height: t } = ye({
457
460
  chart: L.value,
@@ -459,14 +462,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
459
462
  source: vn.value
460
463
  });
461
464
  requestAnimationFrame(() => {
462
- In.value = t - 12, Fn.value = e;
465
+ Pn.value = t - 12, Nn.value = e;
463
466
  });
464
467
  });
465
468
  gn.value && (_n.value && gn.value.unobserve(_n.value), gn.value.disconnect()), gn.value = new ResizeObserver(e), _n.value = L.value.parentNode, gn.value.observe(_n.value);
466
469
  }
467
470
  }
468
- let Bn = v(() => q.value.width / 4);
469
- function Vn(e, t, n, r) {
471
+ let zn = v(() => q.value.width / 4);
472
+ function Bn(e, t, n, r) {
470
473
  let i = q.value.height - q.value.bottom - q.value.top - q.value.perspective * 2, { width: a, height: s, bottom: c, right: l, left: u, perspective: d } = q.value, f = K.value ? a / 4 : a / 2, p = f * 2 + u, m = c + i * e, ee = s - m - d - i * t / 2, ne = ee > q.value.height / 2 ? "top" : "bottom", re = s * .25, ie = !!n, ae = null, h = null;
471
474
  return ie && (n = n.map((e, t) => ({
472
475
  ...e,
@@ -512,7 +515,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
512
515
  ${u},${s - m - d}Z`
513
516
  };
514
517
  }
515
- let Hn = v(() => {
518
+ let Vn = v(() => {
516
519
  let e = d(X.value / 100), t = q.value.height - q.value.bottom - q.value.top - q.value.perspective * 2, { width: n, height: r, bottom: i, right: a, left: o, perspective: s } = q.value, c = K.value ? n / 4 : n / 2, l = K.value ? c * 2 + o : a, u = i + t * 0;
517
520
  return {
518
521
  right: `M${c},${r - u} ${c},${r - u - t * e} ${n - l},${r - u - s - t * e} ${n - l},${r - u - s}Z`,
@@ -540,7 +543,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
540
543
  seriesIndex: e.seriesIndex
541
544
  }), dn("selectDatapoint", e);
542
545
  let n = J.value?.findIndex((t) => t.id === e.id) ?? null;
543
- n !== null && n !== -1 && (B.value = n, V.value = dr(e)), t || (Z.value = e.id), t && R.value && (R.value = !1), t && !R.value && (R.value = !0);
546
+ n !== null && n !== -1 && (B.value = n, V.value = ur(e)), t || (Z.value = e.id), t && R.value && (R.value = !1), t && !R.value && (R.value = !0);
544
547
  }
545
548
  function $(e) {
546
549
  H.value.events.datapointLeave && H.value.events.datapointLeave({
@@ -548,21 +551,21 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
548
551
  seriesIndex: e.seriesIndex
549
552
  }), !R.value && (Z.value = null, B.value = null, V.value = "");
550
553
  }
551
- function Un(e, t, n = !1) {
552
- let r = W.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / Wn(t)) ? 0 : e.value / Wn(t) * 100;
554
+ function Hn(e, t, n = !1) {
555
+ let r = W.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), i = isNaN(e.value / r) ? 0 : e.value / r * 100, a = isNaN(e.value / Un(t)) ? 0 : e.value / Un(t) * 100;
553
556
  return n ? a : i.toFixed(0) + "%";
554
557
  }
555
- function Wn(e) {
558
+ function Un(e) {
556
559
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
557
560
  }
558
- let Gn = k(!1);
559
- function Kn(e) {
560
- Gn.value = e;
561
+ let Wn = k(!1);
562
+ function Gn(e) {
563
+ Wn.value = e;
561
564
  }
562
- function qn() {
565
+ function Kn() {
563
566
  return K.value ? J.value : W.value.percentage;
564
567
  }
565
- let Jn = v(() => K.value ? {
568
+ let qn = v(() => K.value ? {
566
569
  head: J.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{
567
570
  name: e.name,
568
571
  color: e.color
@@ -575,16 +578,16 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
575
578
  }),
576
579
  body: J.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((e) => e.value)] : e.value)
577
580
  } : null);
578
- function Yn(e = null) {
581
+ function Jn(e = null) {
579
582
  if (!K.value) {
580
583
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
581
584
  return;
582
585
  }
583
586
  De(() => {
584
- let n = J.value.map((e) => e.value).reduce((e, t) => e + t, 0), i = Jn.value.head.map((e, t) => [
587
+ let n = J.value.map((e) => e.value).reduce((e, t) => e + t, 0), i = qn.value.head.map((e, t) => [
585
588
  [e.name],
586
- [Jn.value.body[t]],
587
- [isNaN(Jn.value.body[t] / n) ? "-" : Jn.value.body[t] / n * 100]
589
+ [qn.value.body[t]],
590
+ [isNaN(qn.value.body[t] / n) ? "-" : qn.value.body[t] / n * 100]
588
591
  ]), a = [
589
592
  [H.value.style.chart.title.text],
590
593
  [H.value.style.chart.title.subtitle.text],
@@ -600,7 +603,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
600
603
  });
601
604
  });
602
605
  }
603
- let Xn = v(() => {
606
+ let Yn = v(() => {
604
607
  if (!K.value || !Array.isArray(J.value) || !J.value.length) return {
605
608
  colNames: [],
606
609
  head: [],
@@ -630,8 +633,8 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
630
633
  r: H.value.table.td.roundingValue
631
634
  }),
632
635
  "100%"
633
- ], n = Jn.value.head.map((t, n) => {
634
- let r = Jn.value.body[n];
636
+ ], n = qn.value.head.map((t, n) => {
637
+ let r = qn.value.body[n];
635
638
  return [
636
639
  {
637
640
  color: t.color,
@@ -675,14 +678,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
675
678
  }
676
679
  };
677
680
  });
678
- function Zn() {
681
+ function Xn() {
679
682
  G.value.showTable = !G.value.showTable;
680
683
  }
681
- let Qn = k(!1);
682
- function $n() {
683
- Qn.value = !Qn.value;
684
+ let Zn = k(!1);
685
+ function Qn() {
686
+ Zn.value = !Zn.value;
684
687
  }
685
- async function er({ scale: e = 2 } = {}) {
688
+ async function $n({ scale: e = 2 } = {}) {
686
689
  if (!L.value) return;
687
690
  let { width: t, height: n } = L.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
688
691
  domElement: L.value,
@@ -699,7 +702,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
699
702
  aspectRatio: r
700
703
  };
701
704
  }
702
- let tr = v(() => {
705
+ let er = v(() => {
703
706
  let e = H.value.table.useDialog && !H.value.table.show, t = G.value.showTable;
704
707
  return {
705
708
  component: e ? sn : tn,
@@ -709,7 +712,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
709
712
  color: H.value.table.th.color,
710
713
  headerColor: H.value.table.th.color,
711
714
  headerBg: H.value.table.th.backgroundColor,
712
- isFullscreen: Gn.value,
715
+ isFullscreen: Wn.value,
713
716
  fullscreenParent: L.value,
714
717
  forcedWidth: Math.min(800, window.innerWidth * .8)
715
718
  } : {
@@ -732,42 +735,19 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
732
735
  Me(() => G.value.showTable, (e) => {
733
736
  H.value.table.show || (e && H.value.table.useDialog && yn.value ? yn.value.open() : "close" in yn.value && yn.value.close());
734
737
  });
735
- function nr() {
738
+ function tr() {
736
739
  G.value.showTable = !1, bn.value && bn.value.setTableIconState(!1);
737
740
  }
738
- let rr = v(() => H.value.style.chart.backgroundColor), ir = v(() => H.value.style.chart.title), { exportSvg: ar, getSvg: or } = fe({
739
- svg: On,
740
- title: ir,
741
- backgroundColor: rr
741
+ let nr = v(() => H.value.style.chart.backgroundColor), rr = v(() => H.value.style.chart.title), { isCallbackImaging: ir, isCallbackSvg: ar, generateSvg: or, onGenerateImage: sr } = me({
742
+ svg: En,
743
+ title: rr,
744
+ legend: null,
745
+ legendItems: null,
746
+ backgroundColor: nr,
747
+ getSvgCallback: () => H.value.userOptions.callbacks.svg,
748
+ generateImage: jn
742
749
  });
743
- async function sr({ isCb: e }) {
744
- xn.value = !0, await De();
745
- try {
746
- if (e) {
747
- let { blob: e, url: t, text: n, dataUrl: r } = await or();
748
- await Promise.resolve(H.value.userOptions.callbacks.svg({
749
- blob: e,
750
- url: t,
751
- text: n,
752
- dataUrl: r
753
- }));
754
- } else await Promise.resolve(ar());
755
- } finally {
756
- xn.value = !1;
757
- }
758
- }
759
- function cr(e) {
760
- if (e?.stage === "start") {
761
- Sn.value = !0;
762
- return;
763
- }
764
- if (e?.stage === "end") {
765
- Sn.value = !1;
766
- return;
767
- }
768
- Nn();
769
- }
770
- async function lr() {
750
+ async function cr() {
771
751
  if (dn("copyAlt", {
772
752
  config: H.value,
773
753
  dataset: W.value
@@ -780,10 +760,10 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
780
760
  dataset: W.value
781
761
  }));
782
762
  }
783
- function ur() {
763
+ function lr() {
784
764
  B.value = null, V.value = "", R.value = !1, Z.value = null;
785
765
  }
786
- function dr(e) {
766
+ function ur(e) {
787
767
  if (!e) return "";
788
768
  let t = l({
789
769
  p: H.value.style.chart.legend.prefix,
@@ -797,69 +777,69 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
797
777
  });
798
778
  return `${e.name}: ${t}, ${n}`;
799
779
  }
800
- function fr(e) {
780
+ function dr(e) {
801
781
  if (!K.value || !J.value?.length) return;
802
782
  let t = J.value[e];
803
- t && (B.value = e, Z.value = t.id, V.value = dr(t));
783
+ t && (B.value = e, Z.value = t.id, V.value = ur(t));
804
784
  }
805
- function pr() {
806
- z.value = !0, !(!K.value || !J.value?.length) && B.value === null && fr(0);
785
+ function fr() {
786
+ z.value = !0, !(!K.value || !J.value?.length) && B.value === null && dr(0);
807
787
  }
808
- function mr() {
788
+ function pr() {
809
789
  z.value = !1, R.value || (B.value = null, Z.value = null, V.value = "");
810
790
  }
811
- function hr(e) {
812
- if (!K.value || !J.value?.length || !On.value || document.activeElement !== On.value) return;
791
+ function mr(e) {
792
+ if (!K.value || !J.value?.length || !En.value || document.activeElement !== En.value) return;
813
793
  let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
814
794
  if (!t && !n && !r && !i) return;
815
795
  if (e.preventDefault(), e.stopPropagation(), i) {
816
- ur();
796
+ lr();
817
797
  return;
818
798
  }
819
799
  if (r) {
820
800
  if (B.value === null) return;
821
801
  let e = J.value[B.value];
822
802
  if (!e) return;
823
- Q(e, !0), V.value = `${dr(e)} selected`;
803
+ Q(e, !0), V.value = `${ur(e)} selected`;
824
804
  return;
825
805
  }
826
806
  let a = B.value;
827
- a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1)), fr(a);
807
+ a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1)), dr(a);
828
808
  }
829
- let gr = v(() => ({
830
- headers: Xn.value?.colNames ?? [],
831
- rows: Xn.value?.a11yBody ?? []
809
+ let hr = v(() => ({
810
+ headers: Yn.value?.colNames ?? [],
811
+ rows: Yn.value?.a11yBody ?? []
832
812
  }));
833
813
  return _e({
834
- getImage: er,
835
- generateCsv: Yn,
836
- generatePdf: Mn,
837
- generateImage: Nn,
838
- generateSvg: sr,
839
- getData: qn,
840
- toggleTable: Zn,
841
- toggleAnnotator: $n,
842
- toggleFullscreen: Kn,
843
- copyAlt: lr
814
+ getImage: $n,
815
+ generateCsv: Jn,
816
+ generatePdf: An,
817
+ generateImage: jn,
818
+ generateSvg: or,
819
+ getData: Kn,
820
+ toggleTable: Xn,
821
+ toggleAnnotator: Qn,
822
+ toggleFullscreen: Gn,
823
+ copyAlt: cr
844
824
  }), (e, t) => (O(), x("div", {
845
825
  ref_key: "bar3dChart",
846
826
  ref: L,
847
827
  class: Oe("vue-data-ui-component vue-ui-3d-bar"),
848
828
  style: D(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor}`),
849
829
  id: `3d_bar_${I.value}`,
850
- onMouseenter: t[8] ||= () => N(En)(!0),
851
- onMouseleave: t[9] ||= () => N(En)(!1)
830
+ onMouseenter: t[8] ||= () => N(wn)(!0),
831
+ onMouseleave: t[9] ||= () => N(wn)(!1)
852
832
  }, [
853
833
  S("div", {
854
834
  id: `chart-instructions-${I.value}`,
855
835
  class: "sr-only"
856
836
  }, [S("p", null, M(H.value.a11y.translations.keyboardNavigation), 1)], 8, Le),
857
837
  S("div", Re, M(V.value), 1),
858
- gr.value?.rows?.length ? (O(), y(be, {
838
+ hr.value?.rows?.length ? (O(), y(be, {
859
839
  key: 0,
860
840
  uid: I.value,
861
- head: gr.value.headers,
862
- body: gr.value.rows,
841
+ head: hr.value.headers,
842
+ body: hr.value.rows,
863
843
  notice: H.value.a11y.translations.tableAvailable,
864
844
  caption: H.value.a11y.translations.tableCaption
865
845
  }, null, 8, [
@@ -871,12 +851,12 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
871
851
  ])) : b("", !0),
872
852
  H.value.userOptions.buttons.annotator ? (O(), y(N(rn), {
873
853
  key: 1,
874
- svgRef: N(On),
854
+ svgRef: N(En),
875
855
  backgroundColor: H.value.style.chart.backgroundColor,
876
856
  color: H.value.style.chart.color,
877
- active: Qn.value,
878
- isCursorPointer: Cn.value,
879
- onClose: $n
857
+ active: Zn.value,
858
+ isCursorPointer: xn.value,
859
+ onClose: Qn
880
860
  }, {
881
861
  "annotator-action-close": P(() => [j(e.$slots, "annotator-action-close", {}, void 0, !0)]),
882
862
  "annotator-action-color": P(({ color: t }) => [j(e.$slots, "annotator-action-color", E(T({ color: t })), void 0, !0)]),
@@ -910,14 +890,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
910
890
  }
911
891
  }
912
892
  }, null, 8, ["config"]))], 512)) : b("", !0),
913
- H.value.userOptions.show && fn.value && (N(Dn) || N(Tn)) ? (O(), y(N(an), {
893
+ H.value.userOptions.show && fn.value && (N(Tn) || N(Cn)) ? (O(), y(N(an), {
914
894
  key: 3,
915
895
  ref_key: "userOptionsRef",
916
896
  ref: bn,
917
897
  backgroundColor: H.value.style.chart.backgroundColor,
918
898
  color: H.value.style.chart.color,
919
- isPrinting: N(An),
920
- isImaging: N(jn),
899
+ isPrinting: N(On),
900
+ isImaging: N(kn),
921
901
  uid: I.value,
922
902
  hasPdf: H.value.userOptions.buttons.pdf,
923
903
  hasTable: !!K.value && H.value.userOptions.buttons.table,
@@ -930,20 +910,20 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
930
910
  chartElement: L.value,
931
911
  position: H.value.userOptions.position,
932
912
  hasAnnotator: H.value.userOptions.buttons.annotator,
933
- isAnnotation: Qn.value,
913
+ isAnnotation: Zn.value,
934
914
  callbacks: H.value.userOptions.callbacks,
935
915
  printScale: H.value.userOptions.print.scale,
936
916
  tableDialog: H.value.table.useDialog,
937
- isCursorPointer: Cn.value,
938
- onToggleFullscreen: Kn,
939
- onGeneratePdf: N(Mn),
940
- onGenerateCsv: Yn,
941
- onGenerateImage: cr,
942
- onGenerateSvg: sr,
943
- onToggleTable: Zn,
944
- onToggleAnnotator: $n,
945
- onCopyAlt: lr,
946
- style: D({ visibility: N(Dn) ? N(Tn) ? "visible" : "hidden" : "visible" })
917
+ isCursorPointer: xn.value,
918
+ onToggleFullscreen: Gn,
919
+ onGeneratePdf: N(An),
920
+ onGenerateCsv: Jn,
921
+ onGenerateImage: N(sr),
922
+ onGenerateSvg: N(or),
923
+ onToggleTable: Xn,
924
+ onToggleAnnotator: Qn,
925
+ onCopyAlt: cr,
926
+ style: D({ visibility: N(Tn) ? N(Cn) ? "visible" : "hidden" : "visible" })
947
927
  }, we({ _: 2 }, [
948
928
  e.$slots.menuIcon ? {
949
929
  name: "menuIcon",
@@ -1032,23 +1012,25 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1032
1012
  "tableDialog",
1033
1013
  "isCursorPointer",
1034
1014
  "onGeneratePdf",
1015
+ "onGenerateImage",
1016
+ "onGenerateSvg",
1035
1017
  "style"
1036
1018
  ])) : b("", !0),
1037
1019
  S("div", ze, [(O(), x("svg", {
1038
1020
  ref_key: "svgRef",
1039
- ref: On,
1021
+ ref: En,
1040
1022
  xmlns: N(ae),
1041
1023
  class: Oe({
1042
- "vue-data-ui-fullscreen--on": Gn.value,
1043
- "vue-data-ui-fulscreen--off": !Gn.value
1024
+ "vue-data-ui-fullscreen--on": Wn.value,
1025
+ "vue-data-ui-fulscreen--off": !Wn.value
1044
1026
  }),
1045
1027
  viewBox: `0 0 ${q.value.absoluteWidth} ${q.value.height}`,
1046
1028
  style: D(`max-width:100%; overflow: visible; background:transparent;color:${H.value.style.chart.color}`),
1047
1029
  tabindex: "0",
1048
1030
  "aria-describedby": `chart-instructions-${I.value}`,
1049
- onFocus: pr,
1050
- onBlur: mr,
1051
- onKeydown: hr
1031
+ onFocus: fr,
1032
+ onBlur: pr,
1033
+ onKeydown: mr
1052
1034
  }, [
1053
1035
  C(N(on)),
1054
1036
  e.$slots["chart-background"] ? (O(), x("foreignObject", {
@@ -1242,13 +1224,13 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1242
1224
  class: "svg-btn",
1243
1225
  "data-dom-to-png-ignore": "",
1244
1226
  style: D({
1245
- cursor: Cn.value ? "pointer" : "default",
1227
+ cursor: xn.value ? "pointer" : "default",
1246
1228
  outline: "none"
1247
1229
  })
1248
1230
  }, [
1249
1231
  t[10] ||= S("title", null, "Clear selection", -1),
1250
1232
  S("rect", {
1251
- x: Bn.value - 12,
1233
+ x: zn.value - 12,
1252
1234
  y: q.value.top - 24,
1253
1235
  width: 24,
1254
1236
  height: 24,
@@ -1256,7 +1238,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1256
1238
  "pointer-events": "all"
1257
1239
  }, null, 8, We),
1258
1240
  S("circle", {
1259
- cx: Bn.value,
1241
+ cx: zn.value,
1260
1242
  cy: q.value.top - 12,
1261
1243
  r: "10",
1262
1244
  fill: "none",
@@ -1266,14 +1248,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1266
1248
  opacity: z.value ? .5 : 0
1267
1249
  }, null, 8, Ge),
1268
1250
  S("path", {
1269
- d: `M${Bn.value - 6},${q.value.top - 18} ${Bn.value + 6},${q.value.top - 6}`,
1251
+ d: `M${zn.value - 6},${q.value.top - 18} ${zn.value + 6},${q.value.top - 6}`,
1270
1252
  stroke: H.value.style.chart.color,
1271
1253
  "stroke-linecap": "round",
1272
1254
  "stroke-width": "2",
1273
1255
  "vector-effect": "non-scaling-stroke"
1274
1256
  }, null, 8, Ke),
1275
1257
  S("path", {
1276
- d: `M${Bn.value + 6},${q.value.top - 18} ${Bn.value - 6},${q.value.top - 6}`,
1258
+ d: `M${zn.value + 6},${q.value.top - 18} ${zn.value - 6},${q.value.top - 6}`,
1277
1259
  stroke: H.value.style.chart.color,
1278
1260
  "stroke-linecap": "round",
1279
1261
  "stroke-width": "2",
@@ -1321,7 +1303,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1321
1303
  ])),
1322
1304
  K.value ? b("", !0) : (O(), x("g", et, [
1323
1305
  S("path", {
1324
- d: Hn.value.right,
1306
+ d: Vn.value.right,
1325
1307
  stroke: H.value.style.chart.bar.stroke,
1326
1308
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1327
1309
  "stroke-linejoin": "round",
@@ -1329,7 +1311,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1329
1311
  fill: `url(#gradient_right${I.value})`
1330
1312
  }, null, 8, tt),
1331
1313
  S("path", {
1332
- d: Hn.value.left,
1314
+ d: Vn.value.left,
1333
1315
  stroke: H.value.style.chart.bar.stroke,
1334
1316
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1335
1317
  "stroke-linejoin": "round",
@@ -1337,7 +1319,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1337
1319
  fill: `url(#gradient_left${I.value})`
1338
1320
  }, null, 8, nt),
1339
1321
  S("path", {
1340
- d: Hn.value.top,
1322
+ d: Vn.value.top,
1341
1323
  stroke: H.value.style.chart.bar.stroke,
1342
1324
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1343
1325
  "stroke-linejoin": "round",
@@ -1350,7 +1332,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1350
1332
  style: D(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
1351
1333
  class: "vue-ui-3d-bar-stack",
1352
1334
  role: "img",
1353
- "aria-label": dr(e)
1335
+ "aria-label": ur(e)
1354
1336
  }, [
1355
1337
  S("path", {
1356
1338
  d: e.fill.right,
@@ -1459,7 +1441,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1459
1441
  dataset: J.value
1460
1442
  }), void 0, !0)], 8, gt)),
1461
1443
  t.fill.donut && Z.value === t.id ? (O(), x("g", _t, [
1462
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1444
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1463
1445
  key: 0,
1464
1446
  d: N(p)(e, {
1465
1447
  x: e.cx,
@@ -1479,14 +1461,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1479
1461
  stroke: H.value.style.chart.backgroundColor,
1480
1462
  "stroke-width": 1
1481
1463
  }, null, 8, yt))), 256)),
1482
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("g", bt, [S("text", {
1464
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("g", bt, [S("text", {
1483
1465
  "text-anchor": N(f)(e, !0, 0).anchor,
1484
1466
  x: N(f)(e, !0, 2).x,
1485
1467
  y: N(ne)(e, 12, 12),
1486
1468
  fill: H.value.style.chart.legend.color,
1487
1469
  "font-size": H.value.style.chart.legend.fontSize / 1.5,
1488
1470
  "font-weight": H.value.style.chart.legend.bold ? "bold" : "normal"
1489
- }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Un(e, t.fill.donut)} (${N(l)({
1471
+ }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Hn(e, t.fill.donut)} (${N(l)({
1490
1472
  p: H.value.style.chart.legend.prefix,
1491
1473
  v: e.value,
1492
1474
  s: H.value.style.chart.legend.suffix,
@@ -1552,7 +1534,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1552
1534
  fill: "none"
1553
1535
  }, null, 8, At),
1554
1536
  S("path", {
1555
- d: Hn.value.tubeTop,
1537
+ d: Vn.value.tubeTop,
1556
1538
  stroke: H.value.style.chart.bar.stroke,
1557
1539
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1558
1540
  "stroke-linejoin": "round",
@@ -1560,7 +1542,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1560
1542
  fill: `url(#gradient_tube_top${I.value})`
1561
1543
  }, null, 8, jt),
1562
1544
  S("path", {
1563
- d: Hn.value.tubeBody,
1545
+ d: Vn.value.tubeBody,
1564
1546
  stroke: H.value.style.chart.bar.stroke,
1565
1547
  "stroke-width": H.value.style.chart.bar.strokeWidth,
1566
1548
  "stroke-linejoin": "round",
@@ -1568,7 +1550,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1568
1550
  fill: `url(#gradient_tube_body${I.value})`
1569
1551
  }, null, 8, Mt),
1570
1552
  S("path", {
1571
- d: Hn.value.tubeTop,
1553
+ d: Vn.value.tubeTop,
1572
1554
  stroke: "#FFFFFF",
1573
1555
  "stroke-width": .5,
1574
1556
  "stroke-linejoin": "round",
@@ -1579,7 +1561,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1579
1561
  style: D(`opacity:${Z.value ? Z.value === e.id ? 1 : .3 : 1}`),
1580
1562
  class: "vue-ui-3d-bar-stack",
1581
1563
  role: "img",
1582
- "aria-label": dr(e)
1564
+ "aria-label": ur(e)
1583
1565
  }, [
1584
1566
  S("defs", null, [C(g, {
1585
1567
  t: "radial",
@@ -1724,7 +1706,7 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1724
1706
  dataset: J.value
1725
1707
  }), void 0, !0)], 8, Ut)),
1726
1708
  t.fill.donut && Z.value === t.id ? (O(), x("g", Wt, [
1727
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1709
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("path", {
1728
1710
  key: 0,
1729
1711
  d: N(p)(e, {
1730
1712
  x: e.cx,
@@ -1744,14 +1726,14 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1744
1726
  stroke: H.value.style.chart.backgroundColor,
1745
1727
  "stroke-width": 1
1746
1728
  }, null, 8, Kt))), 256)),
1747
- (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Un(e, t.fill.donut, !0) > 6 ? (O(), x("g", qt, [S("text", {
1729
+ (O(!0), x(_, null, A(t.fill.donut, (e, n) => (O(), x("g", null, [Hn(e, t.fill.donut, !0) > 6 ? (O(), x("g", qt, [S("text", {
1748
1730
  "text-anchor": N(f)(e, !0, 0).anchor,
1749
1731
  x: N(f)(e, !0, 2).x,
1750
1732
  y: N(ne)(e, 12, 12),
1751
1733
  fill: H.value.style.chart.legend.color,
1752
1734
  "font-size": H.value.style.chart.legend.fontSize / 1.5,
1753
1735
  "font-weight": H.value.style.chart.legend.bold ? "bold" : "normal"
1754
- }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Un(e, t.fill.donut)} (${N(l)({
1736
+ }, M(N(m)(H.value.style.chart.dataLabel.formatter, e.value, `${Hn(e, t.fill.donut)} (${N(l)({
1755
1737
  p: H.value.style.chart.legend.prefix,
1756
1738
  v: e.value,
1757
1739
  s: H.value.style.chart.legend.suffix,
@@ -1779,32 +1761,32 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1779
1761
  ], 12, zt))), 256))])) : b("", !0)])) : b("", !0),
1780
1762
  j(e.$slots, "svg", { svg: {
1781
1763
  ...q.value,
1782
- isPrintingImg: N(An) || N(jn) || Sn.value,
1783
- isPrintingSvg: xn.value
1764
+ isPrintingImg: N(On) || N(kn) || N(ir),
1765
+ isPrintingSvg: N(ar)
1784
1766
  } }, void 0, !0)
1785
1767
  ], 46, Be))]),
1786
- e.$slots.watermark ? (O(), x("div", Qt, [j(e.$slots, "watermark", E(T({ isPrinting: N(An) || N(jn) || xn.value || Sn.value })), void 0, !0)])) : b("", !0),
1768
+ e.$slots.watermark ? (O(), x("div", Qt, [j(e.$slots, "watermark", E(T({ isPrinting: N(On) || N(kn) || N(ar) || N(ir) })), void 0, !0)])) : b("", !0),
1787
1769
  e.$slots.source ? (O(), x("div", {
1788
1770
  key: 5,
1789
1771
  ref_key: "source",
1790
1772
  ref: vn,
1791
1773
  dir: "auto"
1792
1774
  }, [j(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
1793
- fn.value && K.value && H.value.userOptions.buttons.table ? (O(), y(Ae(tr.value.component), Ee({ key: 6 }, tr.value.props, {
1775
+ fn.value && K.value && H.value.userOptions.buttons.table ? (O(), y(Ae(er.value.component), Ee({ key: 6 }, er.value.props, {
1794
1776
  ref_key: "tableUnit",
1795
1777
  ref: yn,
1796
- onClose: nr
1778
+ onClose: tr
1797
1779
  }), we({
1798
1780
  content: P(() => [(O(), y(N(nn), {
1799
1781
  key: `table_${mn.value}`,
1800
- colNames: Xn.value.colNames,
1801
- head: Xn.value.head,
1802
- body: Xn.value.body,
1803
- config: Xn.value.config,
1804
- title: H.value.table.useDialog ? "" : tr.value.title,
1782
+ colNames: Yn.value.colNames,
1783
+ head: Yn.value.head,
1784
+ body: Yn.value.body,
1785
+ config: Yn.value.config,
1786
+ title: H.value.table.useDialog ? "" : er.value.title,
1805
1787
  withCloseButton: !H.value.table.useDialog,
1806
- isCursorPointer: Cn.value,
1807
- onClose: nr
1788
+ isCursorPointer: xn.value,
1789
+ onClose: tr
1808
1790
  }, {
1809
1791
  th: P(({ th: e }) => [S("div", {
1810
1792
  innerHTML: e,
@@ -1827,23 +1809,23 @@ var Fe = /* @__PURE__ */ e({ default: () => en }), Ie = ["id"], Le = ["id"], Re
1827
1809
  _: 2
1828
1810
  }, [H.value.table.useDialog ? {
1829
1811
  name: "title",
1830
- fn: P(() => [Te(M(tr.value.title), 1)]),
1812
+ fn: P(() => [Te(M(er.value.title), 1)]),
1831
1813
  key: "0"
1832
1814
  } : void 0, H.value.table.useDialog ? {
1833
1815
  name: "actions",
1834
1816
  fn: P(() => [S("button", {
1835
1817
  tabindex: "0",
1836
1818
  class: "vue-ui-user-options-button",
1837
- onClick: t[7] ||= (e) => Yn(H.value.userOptions.callbacks.csv)
1819
+ onClick: t[7] ||= (e) => Jn(H.value.userOptions.callbacks.csv)
1838
1820
  }, [C(N(en), {
1839
1821
  name: "fileCsv",
1840
- stroke: tr.value.props.color
1822
+ stroke: er.value.props.color
1841
1823
  }, null, 8, ["stroke"])])]),
1842
1824
  key: "1"
1843
1825
  } : void 0]), 1040)) : b("", !0),
1844
1826
  j(e.$slots, "skeleton", {}, () => [N(U) ? (O(), y(de, { key: 0 })) : b("", !0)], !0)
1845
1827
  ], 44, Ie));
1846
1828
  }
1847
- }, [["__scopeId", "data-v-71046390"]]);
1829
+ }, [["__scopeId", "data-v-0a79e2d4"]]);
1848
1830
  //#endregion
1849
1831
  export { Fe as n, en as t };