vue-data-ui 3.1.1 → 3.1.3

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 (95) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
  6. package/dist/Legend-5qvgVkrY.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
  13. package/dist/Title-CqYBs02Y.js +88 -0
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
  19. package/dist/pdf-BG8PiGFH.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +28 -3
  22. package/dist/types/vue-data-ui.d.ts +28 -3
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
  39. package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
  76. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
  86. package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/Legend-8_V5egWW.js +0 -72
  92. package/dist/Title-Dz-j6ERs.js +0 -61
  93. package/dist/pdf-Cjsn5GEE.js +0 -61
  94. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  95. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,22 +1,22 @@
1
- import { useCssVars as Et, defineAsyncComponent as K, useSlots as Ut, computed as y, ref as i, toRefs as Xt, watch as Pe, shallowRef as rt, onMounted as Ne, nextTick as ce, onBeforeUnmount as Wt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as c, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as it, resolveDynamicComponent as Gt, withKeys as Ht, createTextVNode as vt } from "vue";
2
- import { u as jt, c as qt, t as Yt, a as Kt, p as W, b as Jt, C as Ae, d as Qt, h as L, o as ze, f as ue, e as Ve, k as pe, i as G, X as Zt, s as Ie, x as ea, v as ta, w as aa, y as la, z as oa } from "./index-BKQqb9lF.js";
3
- import { t as na, u as ua } from "./useResponsive-DfdjqQps.js";
4
- import { u as sa, B as ra } from "./BaseScanner-BgWxam9d.js";
5
- import { u as ia } from "./usePrinter-BzuXiubT.js";
6
- import { u as dt } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as va } from "./useTableResponsive-Cbx-ACcP.js";
1
+ import { useCssVars as Ut, defineAsyncComponent as K, useSlots as Xt, computed as y, ref as i, toRefs as Wt, watch as Ae, shallowRef as vt, onMounted as ze, nextTick as de, onBeforeUnmount as Gt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as ct, resolveDynamicComponent as Ht, withKeys as jt, createTextVNode as dt } from "vue";
2
+ import { u as qt, c as Yt, t as Kt, a as Jt, p as W, b as Qt, C as Ve, d as Zt, h as L, o as Ie, f as ue, e as Oe, k as pe, i as G, X as ea, s as Fe, x as ta, v as aa, w as la, y as oa, z as na } from "./index-CaxArMHL.js";
3
+ import { t as ua, u as sa } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ra, B as ia } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as va } from "./usePrinter-BYtPmEo8.js";
6
+ import { u as ht } from "./useNestedProp-tWT02_6S.js";
7
+ import { u as ca } from "./useTableResponsive-Cbx-ACcP.js";
8
8
  import { u as da } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as ca } from "./useChartAccessibility-9icAAmYg.js";
10
- import ct from "./Legend-8_V5egWW.js";
11
- import ha from "./vue-ui-accordion-B5QeV3BK.js";
12
- import pa from "./Title-Dz-j6ERs.js";
13
- import { _ as ht } from "./Shape-Cjca5zta.js";
14
- import fa from "./img-gBDz7xQQ.js";
15
- import { _ as ga } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "width", "height"], xa = ["id"], wa = ["stop-color"], _a = ["stop-color"], $a = { key: 1 }, Ca = ["x", "y", "width", "height", "fill", "rx"], Ta = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = { class: "vue-ui-horizontal-bar-child-label" }, Aa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], za = ["x", "y", "font-size", "fill", "font-weight"], Va = { class: "vue-ui-horizontal-bar-parent-label" }, Ia = ["x", "y", "font-size", "fill", "font-weight"], Oa = ["x", "y", "font-size", "fill", "font-weight"], Fa = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Ma = {
9
+ import { u as ha } from "./useChartAccessibility-9icAAmYg.js";
10
+ import pt from "./Legend-5qvgVkrY.js";
11
+ import pa from "./vue-ui-accordion-DUlNpLir.js";
12
+ import fa from "./Title-CqYBs02Y.js";
13
+ import { _ as ft } from "./Shape-DiplSMFy.js";
14
+ import ga from "./img-DSrvx9J6.js";
15
+ import { _ as ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Ia = { class: "vue-ui-horizontal-bar-parent-label" }, Oa = ["x", "y", "font-size", "fill", "font-weight"], Fa = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
17
17
  key: 5,
18
18
  class: "vue-data-ui-watermark"
19
- }, Ba = ["onClick"], Da = { style: "width:100%;padding-top: 36px;position:relative" }, Ra = { class: "vue-ui-data-table" }, Ea = { key: 0 }, Ua = { style: { width: "100%" } }, Xa = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ga = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = ["data-cell"], qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = ["data-cell"], el = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, tl = ["data-cell"], al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ll = {
19
+ }, Ba = ["onClick"], Ra = { style: "width:100%;padding-top: 36px;position:relative" }, Ea = { class: "vue-ui-data-table" }, Ua = { key: 0 }, Xa = { style: { width: "100%" } }, Wa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, el = ["data-cell"], tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = {
20
20
  __name: "vue-ui-vertical-bar",
21
21
  props: {
22
22
  config: {
@@ -33,35 +33,35 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(pt, { expose: ft, emit: gt }) {
37
- Et((t) => ({
38
- "4e09523a": t.tdo
36
+ setup(gt, { expose: yt, emit: bt }) {
37
+ Ut((t) => ({
38
+ f1ede08a: t.tdo
39
39
  }));
40
- const yt = K(() => import("./Tooltip-BTGOEC7w.js")), Oe = K(() => import("./BaseIcon-DLesaZpW.js")), bt = K(() => import("./PenAndPaper-B6OvfyHH.js")), mt = K(() => import("./UserOptions-CsDlFB0L.js")), kt = K(() => import("./PackageVersion-Cv_ypT0N.js")), xt = K(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_vertical_bar: wt } = jt(), _t = Ut(), b = pt, fe = y({
40
+ const mt = K(() => import("./Tooltip-CP0tVHAf.js")), Me = K(() => import("./BaseIcon-BcOSijbz.js")), kt = K(() => import("./PenAndPaper-CyH7Ip2i.js")), xt = K(() => import("./UserOptions-ZmwlARCV.js")), _t = K(() => import("./PackageVersion-0XlRFsI_.js")), wt = K(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_vertical_bar: $t } = qt(), Ct = Xt(), b = gt, fe = y({
41
41
  get() {
42
42
  return !!b.dataset && b.dataset.length;
43
43
  },
44
44
  set(t) {
45
45
  return t;
46
46
  }
47
- }), S = i(qt()), $t = i(null), ge = i(!1), ye = i(""), ae = i(0), Ct = i(null), Fe = i(0), P = i(null), Me = i(null), be = i(null), Be = i(null), De = i(null), Re = i(0), me = i(0), H = i(null), le = i(null), Tt = gt, e = i(_e()), St = y(() => [
47
+ }), S = i(Yt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null), De = i(0), P = i(null), Be = i(null), be = i(null), Re = i(null), Ee = i(null), Ue = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), St = bt, e = i($e()), Lt = y(() => [
48
48
  { name: "", value: 6, color: "#d9d9d9" },
49
49
  { name: "", value: 5, color: "#d9d9d9" },
50
50
  { name: "", value: 4, color: "#d9d9d9" },
51
51
  { name: "", value: 3, color: "#d9d9d9" },
52
52
  { name: "", value: 2, color: "#d9d9d9" },
53
53
  { name: "", value: 1, color: "#d9d9d9" }
54
- ]), { loading: Ee, FINAL_DATASET: ke, manualLoading: xe } = sa({
55
- ...Xt(b),
54
+ ]), { loading: Xe, FINAL_DATASET: xe, manualLoading: _e } = ra({
55
+ ...Wt(b),
56
56
  FINAL_CONFIG: e,
57
- prepareConfig: _e,
57
+ prepareConfig: $e,
58
58
  callback: () => {
59
59
  Promise.resolve().then(async () => {
60
- q(), k.value.showTable = e.value.table.show, await O();
60
+ q(), $.value.showTable = e.value.table.show, await O();
61
61
  });
62
62
  },
63
- skeletonDataset: St.value,
64
- skeletonConfig: Yt({
63
+ skeletonDataset: Lt.value,
64
+ skeletonConfig: Kt({
65
65
  defaultConfig: e.value,
66
66
  userConfig: {
67
67
  useCssAnimation: !1,
@@ -107,56 +107,56 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
107
107
  }
108
108
  }
109
109
  })
110
- }), { userOptionsVisible: we, setUserOptionsVisibility: Ue, keepUserOptionState: Xe } = da({ config: e.value }), { svgRef: We } = ca({ config: e.value.style.chart.title });
111
- function _e() {
112
- const t = dt({
110
+ }), { userOptionsVisible: we, setUserOptionsVisibility: We, keepUserOptionState: Ge } = da({ config: e.value }), { svgRef: He } = ha({ config: e.value.style.chart.title });
111
+ function $e() {
112
+ const t = ht({
113
113
  userConfig: b.config,
114
- defaultConfig: wt
114
+ defaultConfig: $t
115
115
  });
116
116
  let l = {};
117
117
  return t.theme ? l = {
118
- ...dt({
119
- userConfig: Jt.vue_ui_vertical_bar[t.theme] || b.config,
118
+ ...ht({
119
+ userConfig: Qt.vue_ui_vertical_bar[t.theme] || b.config,
120
120
  defaultConfig: t
121
121
  }),
122
- customPalette: Kt[t.theme] || W
123
- } : l = t, b.config && Ae(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Ae(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Ae(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
122
+ customPalette: Jt[t.theme] || W
123
+ } : l = t, b.config && Ve(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Ve(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Ve(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
124
124
  }
125
- Pe(() => b.config, (t) => {
126
- Ee.value || (e.value = _e()), we.value = !e.value.userOptions.showOnChartHover, Qe(), Re.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, x.value = e.value.style.chart.layout.bars.gap, k.value.showTable = e.value.table.show, k.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", k.value.showTooltip = e.value.style.chart.tooltip.show;
127
- }, { deep: !0 }), Pe(() => b.dataset, (t) => {
128
- Array.isArray(t) && t.length > 0 && (xe.value = !1), q();
125
+ Ae(() => b.config, (t) => {
126
+ Xe.value || (e.value = $e()), we.value = !e.value.userOptions.showOnChartHover, et(), Ue.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, k.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
127
+ }, { deep: !0 }), Ae(() => b.dataset, (t) => {
128
+ Array.isArray(t) && t.length > 0 && (_e.value = !1), q();
129
129
  }, { deep: !0 });
130
- const { isPrinting: Ge, isImaging: He, generatePdf: je, generateImage: qe } = ia({
130
+ const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = va({
131
131
  elementId: `vue-ui-vertical-bar_${S.value}`,
132
132
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
133
133
  options: e.value.userOptions.print
134
- }), Lt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ye = y(() => Qt(e.value.customPalette)), Ke = i(null), Pt = y(() => e.value.table.responsiveBreakpoint), I = rt(null), j = rt(null), se = i("0 0 10 10"), N = y(() => {
134
+ }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = y(() => Zt(e.value.customPalette)), Qe = i(null), Nt = y(() => e.value.table.responsiveBreakpoint), I = vt(null), j = vt(null), se = i("0 0 10 10"), N = y(() => {
135
135
  const [t, l, a, o] = se.value.split(" ").map(Number);
136
136
  return { x: t, y: l, width: a, height: o };
137
137
  });
138
- Ne(async () => {
139
- await ce(), Qe(), O();
138
+ ze(async () => {
139
+ await de(), et(), O();
140
140
  });
141
141
  async function O() {
142
142
  if (se.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !H.value) return;
143
143
  const t = H.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = H.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
144
144
  if (t && t.length) {
145
- const g = Math.max(...Array.from(t).flatMap((d) => {
146
- const w = d.querySelectorAll("text");
147
- return w.length ? Array.from(w).map((Y) => Y.getBBox().width) : 0;
148
- })), $ = Math.max(...Array.from(l).flatMap((d) => {
149
- const w = d.querySelectorAll("text");
150
- return w.length ? Array.from(w).map((Y) => Y.getBBox().width) : 0;
145
+ const g = Math.max(...Array.from(t).flatMap((c) => {
146
+ const x = c.querySelectorAll("text");
147
+ return x.length ? Array.from(x).map((Y) => Y.getBBox().width) : 0;
148
+ })), w = Math.max(...Array.from(l).flatMap((c) => {
149
+ const x = c.querySelectorAll("text");
150
+ return x.length ? Array.from(x).map((Y) => Y.getBBox().width) : 0;
151
151
  }));
152
- Array.from(t).forEach((d) => {
153
- const w = d.querySelectorAll("text");
154
- Array.from(w).forEach(async (Y) => {
155
- Y.setAttribute("x", 0), Y.setAttribute("x", L(-g - $));
152
+ Array.from(t).forEach((c) => {
153
+ const x = c.querySelectorAll("text");
154
+ Array.from(x).forEach(async (Y) => {
155
+ Y.setAttribute("x", 0), Y.setAttribute("x", L(-g - w));
156
156
  });
157
157
  });
158
158
  }
159
- await ce();
159
+ await de();
160
160
  const a = H.value ? H.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
161
161
  se.value = [
162
162
  a.x + -o,
@@ -165,9 +165,9 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
165
165
  r.value.fullHeight
166
166
  ].join(" ");
167
167
  }
168
- let Je;
169
- Ne(() => {
170
- P.value && (Je = new ResizeObserver((t) => {
168
+ let Ze;
169
+ ze(() => {
170
+ P.value && (Ze = new ResizeObserver((t) => {
171
171
  for (const l of t) {
172
172
  const { width: a, height: o } = l.contentRect;
173
173
  if (a > 0 && o > 0) {
@@ -177,46 +177,46 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
177
177
  break;
178
178
  }
179
179
  }
180
- }), Je.observe(P.value.parentElement));
180
+ }), Ze.observe(P.value.parentElement));
181
181
  });
182
- const re = y(() => !!e.value.debug), $e = i(0);
183
- function Qe() {
184
- if (ze(b.dataset) && (ue({
182
+ const re = y(() => !!e.value.debug), Ce = i(0);
183
+ function et() {
184
+ if (Ie(b.dataset) && (ue({
185
185
  componentName: "VueUiVerticalBar",
186
186
  type: "dataset",
187
187
  debug: re.value
188
- }), fe.value = !1, xe.value = !0), ae.value = ke.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), ze(b.dataset) || (xe.value = e.value.loading), e.value.responsive) {
189
- const t = na(() => {
190
- const { width: l, height: a } = ua({
188
+ }), fe.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
189
+ const t = ua(() => {
190
+ const { width: l, height: a } = sa({
191
191
  chart: P.value,
192
- title: e.value.style.chart.title.text ? Me.value : null,
192
+ title: e.value.style.chart.title.text ? Be.value : null,
193
193
  legend: e.value.style.chart.legend.show ? be.value : null,
194
- source: Be.value,
195
- noTitle: De.value
194
+ source: Re.value,
195
+ noTitle: Ee.value
196
196
  });
197
- $e.value = a / 3, requestAnimationFrame(async () => {
198
- tt.value = l;
199
- const o = x.value * (ae.value - 1);
200
- p.value = (a - o) / ae.value, await ce(), O();
197
+ Ce.value = a / 3, requestAnimationFrame(async () => {
198
+ lt.value = l;
199
+ const o = k.value * (ae.value - 1);
200
+ p.value = (a - o) / ae.value, await de(), O();
201
201
  });
202
202
  });
203
203
  I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect()), I.value = new ResizeObserver(t), j.value = P.value.parentNode, I.value.observe(j.value), e.value.autoSize && O();
204
204
  }
205
205
  }
206
- Wt(() => {
206
+ Gt(() => {
207
207
  I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect());
208
208
  });
209
- const k = i({
209
+ const $ = i({
210
210
  showTable: e.value.table.show,
211
211
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
212
212
  showTooltip: e.value.style.chart.tooltip.show
213
- }), Ze = y(() => k.value.sortDesc), F = y(() => (ke.value.forEach((t, l) => {
213
+ }), tt = y(() => $.value.sortDesc), F = y(() => (xe.value.forEach((t, l) => {
214
214
  !t.value && !t.children && ue({
215
215
  componentName: "VueUiVerticalBar",
216
216
  type: "datasetAttributeEmpty",
217
217
  property: `value (index ${l})`,
218
218
  debug: re.value
219
- }), t.children && (ze(t.children) ? ue({
219
+ }), t.children && (Ie(t.children) ? ue({
220
220
  componentName: "VueUiVerticalBar",
221
221
  type: "datasetAttributeEmpty",
222
222
  property: `children (index ${l})`,
@@ -231,8 +231,8 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
231
231
  debug: re.value
232
232
  });
233
233
  }));
234
- }), ke.value.map((t, l) => {
235
- const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, g = L(t.value ? t.value : o ? t.children.map((d) => d.value || 0).reduce((d, w) => d + w, 0) : 0), $ = g >= 0 ? 1 : -1;
234
+ }), xe.value.map((t, l) => {
235
+ const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, g = L(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, x) => c + x, 0) : 0), w = g >= 0 ? 1 : -1;
236
236
  return {
237
237
  ...t,
238
238
  id: a,
@@ -240,41 +240,41 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
240
240
  shape: "square",
241
241
  opacity: A.value.includes(a) ? 0.5 : 1,
242
242
  value: Math.abs(g),
243
- sign: $,
243
+ sign: w,
244
244
  hasChildren: o,
245
245
  isChild: !1,
246
246
  segregate: () => oe(a),
247
247
  isSegregated: A.value.includes(a),
248
- color: Ve(t.color) || Ye.value[l] || W[l] || W[l % W.length],
249
- children: !t.children || !t.children.length ? [] : t.children.toSorted(ie.value ? () => 0 : (d, w) => Ze.value ? w.value - d.value : d.value - w.value).map((d, w) => ({
250
- ...d,
251
- value: L(Math.abs(d.value)),
248
+ color: Oe(t.color) || Je.value[l] || W[l] || W[l % W.length],
249
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ie.value ? () => 0 : (c, x) => tt.value ? x.value - c.value : c.value - x.value).map((c, x) => ({
250
+ ...c,
251
+ value: L(Math.abs(c.value)),
252
252
  absoluteIndex: l,
253
- sign: d.value >= 0 ? 1 : -1,
253
+ sign: c.value >= 0 ? 1 : -1,
254
254
  isChild: !0,
255
255
  parentId: a,
256
256
  parentName: t.name,
257
257
  parentValue: g,
258
- parentSign: $,
259
- id: `vertical_child_${l}_${w}_${S.value}`,
260
- childIndex: w,
261
- color: Ve(d.color) || Ve(t.color) || Ye.value[l] || W[l] || W[l % W.length]
262
- })).map((d, w) => ({
263
- ...d,
264
- isFirstChild: w === 0,
265
- isLastChild: w === t.children.length - 1
258
+ parentSign: w,
259
+ id: `vertical_child_${l}_${x}_${S.value}`,
260
+ childIndex: x,
261
+ color: Oe(c.color) || Oe(t.color) || Je.value[l] || W[l] || W[l % W.length]
262
+ })).map((c, x) => ({
263
+ ...c,
264
+ isFirstChild: x === 0,
265
+ isLastChild: x === t.children.length - 1
266
266
  }))
267
267
  };
268
- }).toSorted(ie.value ? () => 0 : (t, l) => Ze.value ? l.value - t.value : t.value - l.value))), et = y(() => ({
268
+ }).toSorted(ie.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = y(() => ({
269
269
  cy: "vertical-bar-div-legend",
270
270
  backgroundColor: e.value.style.chart.legend.backgroundColor,
271
271
  color: e.value.style.chart.legend.color,
272
272
  fontSize: e.value.style.chart.legend.fontSize,
273
273
  paddingBottom: 12,
274
274
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
275
- })), p = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), Nt = y(() => (p.value + x.value) * ae.value), tt = i(512), C = y(() => ({
276
- width: tt.value,
277
- height: Nt.value,
275
+ })), p = i(e.value.style.chart.layout.bars.height), k = i(e.value.style.chart.layout.bars.gap), At = y(() => (p.value + k.value) * ae.value), lt = i(512), C = y(() => ({
276
+ width: lt.value,
277
+ height: At.value,
278
278
  padding: {
279
279
  top: 12,
280
280
  left: (e.value.autoSize ? 0 : 128) + e.value.style.chart.layout.bars.offsetX,
@@ -290,7 +290,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
290
290
  width: C.value.width - (C.value.padding.left + C.value.padding.right)
291
291
  }));
292
292
  async function q() {
293
- ae.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await O();
293
+ ae.value = D.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await O();
294
294
  }
295
295
  const A = i([]);
296
296
  async function oe(t) {
@@ -300,65 +300,65 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
300
300
  if (A.value.length === F.value.length - 1) return;
301
301
  A.value.push(t);
302
302
  }
303
- q(), await ce(), e.value.autoSize && O(), Tt("selectLegend", B.value);
303
+ q(), await de(), e.value.autoSize && O(), St("selectLegend", D.value);
304
304
  }
305
- const B = y(() => F.value.filter((t) => !A.value.includes(t.id))), V = y(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
306
- function at(t, l = !1, a = 0) {
305
+ const D = y(() => F.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
306
+ function ot(t, l = !1, a = 0) {
307
307
  return l ? G({
308
308
  v: L(Math.abs(t) / V.value * 100),
309
309
  s: "%",
310
310
  r: a
311
311
  }) : Math.abs(t) / V.value;
312
312
  }
313
- const D = y(() => B.value.flatMap((t) => t.hasChildren ? t.children : t)), R = y(() => D.value.map((t) => t.sign).includes(-1)), At = y(() => Math.max(...B.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
313
+ const B = y(() => D.value.flatMap((t) => t.hasChildren ? t.children : t)), R = y(() => B.value.map((t) => t.sign).includes(-1)), zt = y(() => Math.max(...D.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
314
314
  function T(t) {
315
- const l = t / At.value;
315
+ const l = t / zt.value;
316
316
  return r.value.width / (R.value ? 2 : 1) * l;
317
317
  }
318
- function zt(t) {
318
+ function Vt(t) {
319
319
  return T(t) + r.value.left;
320
320
  }
321
321
  function ne(t, l) {
322
- const a = B.value.find(($) => $.id === t.parentId), o = r.value.top + (x.value + p.value) * l, g = a.children.length * (x.value + p.value);
322
+ const a = D.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, g = a.children.length * (k.value + p.value);
323
323
  return {
324
324
  y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
325
325
  name: a.name,
326
326
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
327
- percentageToTotal: isNaN(a.value / V.value) ? "" : at(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
327
+ percentageToTotal: isNaN(a.value / V.value) ? "" : ot(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
328
328
  sign: a.sign
329
329
  };
330
330
  }
331
- function Vt() {
332
- return B.value;
331
+ function It() {
332
+ return D.value;
333
333
  }
334
- const Ce = i(null), Te = i(null);
335
- function It({ datapoint: t, seriesIndex: l }) {
334
+ const Te = i(null), Se = i(null);
335
+ function Ot({ datapoint: t, seriesIndex: l }) {
336
336
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
337
337
  }
338
- function Ot({ datapoint: t, seriesIndex: l }) {
339
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Ct.value = null, ge.value = !1, Ce.value = null;
338
+ function Ft({ datapoint: t, seriesIndex: l }) {
339
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Tt.value = null, ge.value = !1, Te.value = null;
340
340
  }
341
- function Ft(t, l) {
342
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Te.value = {
341
+ function Mt(t, l) {
342
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
343
343
  datapoint: t,
344
344
  seriesIndex: l,
345
345
  series: F.value,
346
346
  config: e.value
347
- }, ge.value = !0, Ce.value = t.id;
347
+ }, ge.value = !0, Te.value = t.id;
348
348
  let a = "";
349
- const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", $ = e.value.style.chart.tooltip.customFormat;
350
- la($) && oa(() => $({
349
+ const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
350
+ oa(w) && na(() => w({
351
351
  datapoint: t,
352
352
  series: F.value,
353
353
  config: e.value,
354
354
  seriesIndex: l
355
- })) ? ye.value = $({
355
+ })) ? ye.value = w({
356
356
  datapoint: t,
357
357
  series: F.value,
358
358
  config: e.value,
359
359
  seriesIndex: l
360
360
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
361
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${_t.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
361
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${Ct.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
362
362
  ${g ? `<div>${g}</div>` : ""}
363
363
  </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${pe(
364
364
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
@@ -380,7 +380,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
380
380
  r: e.value.style.chart.tooltip.roundingPercentage
381
381
  })}</b></div>`)), ye.value = `<div style="text-align:left">${a}</div>`);
382
382
  }
383
- function lt(t, l, a, o) {
383
+ function nt(t, l, a, o) {
384
384
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
385
385
  return "";
386
386
  const g = pe(
@@ -393,8 +393,8 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
393
393
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
394
394
  }),
395
395
  { datapoint: l, seriesIndex: a }
396
- ), $ = `(${at(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
397
- return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${$}` : ""}`;
396
+ ), w = `(${ot(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
397
+ return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${w}` : ""}`;
398
398
  }
399
399
  const z = y(() => {
400
400
  const t = [
@@ -405,7 +405,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
405
405
  e.value.translations.value,
406
406
  e.value.translations.percentageToSerie,
407
407
  e.value.translations.percentageToTotal
408
- ], l = D.value.map((a) => a.isChild ? a.isFirstChild ? {
408
+ ], l = B.value.map((a) => a.isChild ? a.isFirstChild ? {
409
409
  color: a.color,
410
410
  parentName: a.parentName,
411
411
  parentValue: a.parentValue,
@@ -435,67 +435,67 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
435
435
  });
436
436
  return { head: t, body: l };
437
437
  });
438
- function Se(t = null) {
439
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = z.value.head, o = z.value.body.map((d) => [
440
- d.parentName,
441
- d.parentValue,
442
- d.percentageToTotal,
443
- d.childName,
444
- d.childValue,
445
- d.childPercentageToParent,
446
- d.childPercentageToTotal
447
- ]), g = l.concat([a]).concat(o), $ = ta(g);
448
- t ? t($) : aa({ csvContent: $, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
438
+ function Le(t = null) {
439
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = z.value.head, o = z.value.body.map((c) => [
440
+ c.parentName,
441
+ c.parentValue,
442
+ c.percentageToTotal,
443
+ c.childName,
444
+ c.childValue,
445
+ c.childPercentageToParent,
446
+ c.childPercentageToTotal
447
+ ]), g = l.concat([a]).concat(o), w = aa(g);
448
+ t ? t(w) : la({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
449
449
  }
450
450
  const E = i(!1);
451
- function ot(t) {
452
- E.value = t, Fe.value += 1;
451
+ function ut(t) {
452
+ E.value = t, De.value += 1;
453
453
  }
454
- function nt() {
455
- k.value.showTable = !k.value.showTable;
454
+ function st() {
455
+ $.value.showTable = !$.value.showTable;
456
456
  }
457
- const Mt = i({
457
+ const Dt = i({
458
458
  none: 0,
459
459
  asc: 1,
460
460
  desc: 2
461
461
  }), M = i(0), ie = i(!1);
462
- Ne(() => {
462
+ ze(() => {
463
463
  ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
464
464
  componentName: "VueUiVerticalBar",
465
465
  type: "attributeWrongValue",
466
466
  property: "style.chart.layout.bars.sort",
467
467
  key: e.value.style.chart.layout.bars.sort
468
- }), M.value = Mt.value[e.value.style.chart.layout.bars.sort], k.value.sortDesc = M.value === 2, ie.value = M.value === 0;
468
+ }), M.value = Dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ie.value = M.value === 0;
469
469
  });
470
470
  function Bt() {
471
471
  M.value += 1, M.value > 2 && (M.value = 0);
472
472
  }
473
- function ut() {
474
- Bt(), k.value.sortDesc = M.value === 2, ie.value = M.value === 0, q();
473
+ function rt() {
474
+ Bt(), $.value.sortDesc = M.value === 2, ie.value = M.value === 0, q();
475
475
  }
476
- function st() {
477
- k.value.showTooltip = !k.value.showTooltip;
476
+ function it() {
477
+ $.value.showTooltip = !$.value.showTooltip;
478
478
  }
479
479
  const ve = i(!1);
480
- function Le() {
480
+ function Pe() {
481
481
  ve.value = !ve.value;
482
482
  }
483
- async function Dt({ scale: t = 2 } = {}) {
483
+ async function Rt({ scale: t = 2 } = {}) {
484
484
  if (!P.value) return;
485
- const { width: l, height: a } = P.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: $ } = await fa({ domElement: P.value, base64: !0, img: !0, scale: t });
485
+ const { width: l, height: a } = P.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: w } = await ga({ domElement: P.value, base64: !0, img: !0, scale: t });
486
486
  return {
487
487
  imageUri: g,
488
- base64: $,
488
+ base64: w,
489
489
  title: e.value.style.chart.title.text,
490
490
  width: l,
491
491
  height: a,
492
492
  aspectRatio: o
493
493
  };
494
494
  }
495
- const de = y(() => {
496
- const t = e.value.table.useDialog && !e.value.table.show, l = k.value.showTable;
495
+ const ce = y(() => {
496
+ const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
497
497
  return {
498
- component: t ? xt : ha,
498
+ component: t ? wt : pa,
499
499
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
500
500
  props: t ? {
501
501
  backgroundColor: e.value.table.th.backgroundColor,
@@ -522,56 +522,59 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
522
522
  }
523
523
  };
524
524
  });
525
- Pe(() => k.value.showTable, (t) => {
525
+ Ae(() => $.value.showTable, (t) => {
526
526
  e.value.table.show || (t && e.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
527
527
  });
528
- const { isResponsive: Rt } = va(Ke, Pt);
529
- return ft({
528
+ const { isResponsive: Et } = ca(Qe, Nt);
529
+ function Ne() {
530
+ $.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
531
+ }
532
+ return yt({
530
533
  autoSize: O,
531
534
  // v3
532
- getData: Vt,
533
- getImage: Dt,
535
+ getData: It,
536
+ getImage: Rt,
534
537
  recalculateHeight: q,
535
- generatePdf: je,
536
- generateCsv: Se,
537
- generateImage: qe,
538
- toggleTable: nt,
539
- toggleSort: ut,
540
- toggleTooltip: st,
541
- toggleAnnotator: Le,
542
- toggleFullscreen: ot
538
+ generatePdf: Ye,
539
+ generateCsv: Le,
540
+ generateImage: Ke,
541
+ toggleTable: st,
542
+ toggleSort: rt,
543
+ toggleTooltip: it,
544
+ toggleAnnotator: Pe,
545
+ toggleFullscreen: ut
543
546
  }), (t, l) => (u(), v("div", {
544
547
  class: U(`vue-ui-vertical-bar ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
545
548
  ref_key: "verticalBarChart",
546
549
  ref: P,
547
550
  id: `vue-ui-vertical-bar_${S.value}`,
548
- style: c(`padding-top:${e.value.responsive && e.value.autoSize ? `${$e.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${$e.value}px` : "height: 100%" : ""}`),
549
- onMouseenter: l[6] || (l[6] = () => s(Ue)(!0)),
550
- onMouseleave: l[7] || (l[7] = () => s(Ue)(!1))
551
+ style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Ce.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Ce.value}px` : "height: 100%" : ""}`),
552
+ onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
553
+ onMouseleave: l[4] || (l[4] = () => s(We)(!1))
551
554
  }, [
552
- e.value.userOptions.buttons.annotator ? (u(), X(s(bt), {
555
+ e.value.userOptions.buttons.annotator ? (u(), X(s(kt), {
553
556
  key: 0,
554
- svgRef: s(We),
557
+ svgRef: s(He),
555
558
  backgroundColor: e.value.style.chart.backgroundColor,
556
559
  color: e.value.style.chart.color,
557
560
  active: ve.value,
558
- onClose: Le
561
+ onClose: Pe
559
562
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
560
- Lt.value ? (u(), v("div", {
563
+ Pt.value ? (u(), v("div", {
561
564
  key: 1,
562
565
  ref_key: "noTitle",
563
- ref: De,
566
+ ref: Ee,
564
567
  class: "vue-data-ui-no-title-space",
565
568
  style: "height:36px; width: 100%;background:transparent"
566
569
  }, null, 512)) : f("", !0),
567
570
  e.value.style.chart.title.text ? (u(), v("div", {
568
571
  key: 2,
569
572
  ref_key: "chartTitle",
570
- ref: Me,
573
+ ref: Be,
571
574
  style: "width:100%;background:transparent;padding-bottom:12px"
572
575
  }, [
573
- (u(), X(pa, {
574
- key: `title_${Re.value}`,
576
+ (u(), X(fa, {
577
+ key: `title_${Ue.value}`,
575
578
  config: {
576
579
  title: {
577
580
  cy: "vertical-bar-div-title",
@@ -584,14 +587,14 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
584
587
  }
585
588
  }, null, 8, ["config"]))
586
589
  ], 512)) : f("", !0),
587
- e.value.userOptions.show && fe.value && (s(Xe) || s(we)) ? (u(), X(s(mt), {
588
- ref_key: "details",
589
- ref: $t,
590
- key: `user_options_${Fe.value}`,
590
+ e.value.userOptions.show && fe.value && (s(Ge) || s(we)) ? (u(), X(s(xt), {
591
+ ref_key: "userOptionsRef",
592
+ ref: ke,
593
+ key: `user_options_${De.value}`,
591
594
  backgroundColor: e.value.style.chart.backgroundColor,
592
595
  color: e.value.style.chart.color,
593
- isImaging: s(He),
594
- isPrinting: s(Ge),
596
+ isImaging: s(qe),
597
+ isPrinting: s(je),
595
598
  uid: S.value,
596
599
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
597
600
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -601,7 +604,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
601
604
  hasSort: e.value.userOptions.buttons.sort,
602
605
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
603
606
  isFullscreen: E.value,
604
- isTooltip: k.value.showTooltip,
607
+ isTooltip: $.value.showTooltip,
605
608
  titles: { ...e.value.userOptions.buttonTitles },
606
609
  chartElement: P.value,
607
610
  position: e.value.userOptions.position,
@@ -609,16 +612,17 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
609
612
  isAnnotation: ve.value,
610
613
  callbacks: e.value.userOptions.callbacks,
611
614
  printScale: e.value.userOptions.print.scale,
612
- onToggleFullscreen: ot,
613
- onGeneratePdf: s(je),
614
- onGenerateCsv: Se,
615
- onGenerateImage: s(qe),
616
- onToggleTable: nt,
617
- onToggleSort: ut,
618
- onToggleTooltip: st,
619
- onToggleAnnotator: Le,
620
- style: c({
621
- visibility: s(Xe) ? s(we) ? "visible" : "hidden" : "visible"
615
+ tableDialog: e.value.table.useDialog,
616
+ onToggleFullscreen: ut,
617
+ onGeneratePdf: s(Ye),
618
+ onGenerateCsv: Le,
619
+ onGenerateImage: s(Ke),
620
+ onToggleTable: st,
621
+ onToggleSort: rt,
622
+ onToggleTooltip: it,
623
+ onToggleAnnotator: Pe,
624
+ style: d({
625
+ visibility: s(Ge) ? s(we) ? "visible" : "hidden" : "visible"
622
626
  })
623
627
  }, he({ _: 2 }, [
624
628
  t.$slots.menuIcon ? {
@@ -691,22 +695,22 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
691
695
  ]),
692
696
  key: "9"
693
697
  } : void 0
694
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
698
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
695
699
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), v("div", {
696
700
  key: 4,
697
701
  ref_key: "chartLegend",
698
702
  ref: be
699
703
  }, [
700
- (u(), X(ct, {
704
+ (u(), X(pt, {
701
705
  key: `legend_top_${me.value}`,
702
706
  legendSet: F.value,
703
- config: et.value,
707
+ config: at.value,
704
708
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
705
709
  }, he({
706
710
  item: m(({ legend: a, index: o }) => [
707
711
  n("div", {
708
712
  onClick: (g) => oe(a.id),
709
- style: c(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
713
+ style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
710
714
  }, h(a.name) + ": " + h(s(pe)(
711
715
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
712
716
  a.value,
@@ -717,14 +721,14 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
717
721
  r: e.value.style.chart.legend.roundingValue
718
722
  }),
719
723
  { datapoint: a, seriesIndex: o }
720
- )), 13, ba)
724
+ )), 13, ma)
721
725
  ]),
722
726
  _: 2
723
727
  }, [
724
728
  t.$slots.pattern ? {
725
729
  name: "legend-pattern",
726
730
  fn: m(({ legend: a, index: o }) => [
727
- J(ht, {
731
+ J(ft, {
728
732
  shape: a.shape,
729
733
  radius: 30,
730
734
  stroke: "none",
@@ -738,18 +742,18 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
738
742
  ], 512)) : f("", !0),
739
743
  (u(), v("svg", {
740
744
  ref_key: "svgRef",
741
- ref: We,
742
- xmlns: s(Zt),
745
+ ref: He,
746
+ xmlns: s(ea),
743
747
  class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
744
748
  viewBox: se.value,
745
- style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
749
+ style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
746
750
  }, [
747
751
  n("g", {
748
752
  ref_key: "G",
749
753
  ref: H,
750
754
  class: "vue-data-ui-g"
751
755
  }, [
752
- J(s(kt)),
756
+ J(s(_t)),
753
757
  t.$slots["chart-background"] ? (u(), v("foreignObject", {
754
758
  key: 0,
755
759
  x: N.value.x,
@@ -761,8 +765,8 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
761
765
  }
762
766
  }, [
763
767
  _(t.$slots, "chart-background", {}, void 0, !0)
764
- ], 8, ka)) : f("", !0),
765
- (u(!0), v(ee, null, te(D.value, (a, o) => (u(), v("linearGradient", {
768
+ ], 8, xa)) : f("", !0),
769
+ (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("linearGradient", {
766
770
  x1: "0%",
767
771
  y1: "0%",
768
772
  x2: "100%",
@@ -775,41 +779,41 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
775
779
  }, null, 8, wa),
776
780
  n("stop", {
777
781
  offset: "100%",
778
- "stop-color": s(Ie)(s(ea)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
779
- }, null, 8, _a)
780
- ], 8, xa))), 256)),
781
- t.$slots.pattern ? (u(), v("g", $a, [
782
- (u(!0), v(ee, null, te(D.value, (a) => (u(), v("defs", null, [
783
- _(t.$slots, "pattern", it({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
782
+ "stop-color": s(Fe)(s(ta)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
783
+ }, null, 8, $a)
784
+ ], 8, _a))), 256)),
785
+ t.$slots.pattern ? (u(), v("g", Ca, [
786
+ (u(!0), v(ee, null, te(B.value, (a) => (u(), v("defs", null, [
787
+ _(t.$slots, "pattern", ct({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
784
788
  ]))), 256))
785
789
  ])) : f("", !0),
786
- (u(!0), v(ee, null, te(D.value, (a, o) => (u(), v("g", null, [
790
+ (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("g", null, [
787
791
  n("rect", {
788
792
  x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
789
- y: r.value.top + (x.value + p.value) * o,
793
+ y: r.value.top + (k.value + p.value) * o,
790
794
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
791
795
  height: p.value <= 0 ? 1e-4 : p.value,
792
796
  fill: e.value.style.chart.layout.bars.underlayerColor,
793
797
  rx: e.value.style.chart.layout.bars.borderRadius,
794
798
  class: U({ animated: e.value.useCssAnimation })
795
- }, null, 10, Ca)
799
+ }, null, 10, Ta)
796
800
  ]))), 256)),
797
- (u(!0), v(ee, null, te(D.value, (a, o) => (u(), v("g", null, [
801
+ (u(!0), v(ee, null, te(B.value, (a, o) => (u(), v("g", null, [
798
802
  n("rect", {
799
803
  x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
800
- y: r.value.top + (x.value + p.value) * o,
804
+ y: r.value.top + (k.value + p.value) * o,
801
805
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
802
806
  height: p.value <= 0 ? 1e-4 : p.value,
803
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Ie)(a.color, e.value.style.chart.layout.bars.fillOpacity),
807
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Fe)(a.color, e.value.style.chart.layout.bars.fillOpacity),
804
808
  rx: e.value.style.chart.layout.bars.borderRadius,
805
809
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
806
810
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
807
811
  class: U({ animated: e.value.useCssAnimation })
808
- }, null, 10, Ta),
812
+ }, null, 10, Sa),
809
813
  t.$slots.pattern ? (u(), v("rect", {
810
814
  key: 0,
811
815
  x: s(L)(R.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
812
- y: r.value.top + (x.value + p.value) * o,
816
+ y: r.value.top + (k.value + p.value) * o,
813
817
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
814
818
  height: p.value <= 0 ? 1e-4 : p.value,
815
819
  fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
@@ -817,18 +821,18 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
817
821
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
818
822
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
819
823
  class: U({ animated: e.value.useCssAnimation })
820
- }, null, 10, Sa)) : f("", !0),
821
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== D.value.length - 1 ? (u(), v("line", {
824
+ }, null, 10, La)) : f("", !0),
825
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), v("line", {
822
826
  key: 1,
823
827
  x1: N.value.x,
824
828
  x2: e.value.style.chart.layout.separators.fullWidth ? N.value.width - Math.abs(N.value.x) : r.value.left,
825
- y1: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
826
- y2: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
829
+ y1: p.value + k.value / 2 + r.value.top + (k.value + p.value) * o,
830
+ y2: p.value + k.value / 2 + r.value.top + (k.value + p.value) * o,
827
831
  stroke: e.value.style.chart.layout.separators.color,
828
832
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
829
833
  "stroke-linecap": "round",
830
834
  style: { transition: "none !important", animation: "none !important" }
831
- }, null, 8, La)) : f("", !0),
835
+ }, null, 8, Pa)) : f("", !0),
832
836
  R.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
833
837
  key: 2,
834
838
  x1: r.value.left + r.value.width / 2,
@@ -838,27 +842,27 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
838
842
  stroke: e.value.style.chart.layout.separators.color,
839
843
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
840
844
  "stroke-linecap": "round"
841
- }, null, 8, Pa)) : f("", !0),
842
- n("g", Na, [
845
+ }, null, 8, Na)) : f("", !0),
846
+ n("g", Aa, [
843
847
  n("text", {
844
- x: R.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : zt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
845
- y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
848
+ x: R.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Vt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
849
+ y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
846
850
  "text-anchor": !R.value || a.sign === -1 ? "start" : "end",
847
851
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
848
852
  fill: e.value.style.chart.layout.bars.dataLabels.color,
849
853
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
850
- }, h(lt(a.value, a, o, a.sign)), 9, Aa),
854
+ }, h(nt(a.value, a, o, a.sign)), 9, za),
851
855
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
852
856
  key: 0,
853
857
  "text-anchor": "end",
854
858
  x: r.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
855
- y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
859
+ y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
856
860
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
857
861
  fill: e.value.style.chart.layout.bars.nameLabels.color,
858
862
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
859
- }, h(a.name), 9, za)) : f("", !0)
863
+ }, h(a.name), 9, Va)) : f("", !0)
860
864
  ]),
861
- n("g", Va, [
865
+ n("g", Ia, [
862
866
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
863
867
  key: 0,
864
868
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -867,7 +871,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
867
871
  fill: e.value.style.chart.layout.bars.parentLabels.color,
868
872
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
869
873
  "text-anchor": "start"
870
- }, h(ne(a, o).name), 9, Ia)) : f("", !0),
874
+ }, h(ne(a, o).name), 9, Oa)) : f("", !0),
871
875
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
872
876
  key: 1,
873
877
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -876,40 +880,40 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
876
880
  fill: e.value.style.chart.layout.bars.parentLabels.color,
877
881
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
878
882
  "text-anchor": "start"
879
- }, h(lt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Oa)) : f("", !0)
883
+ }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Fa)) : f("", !0)
880
884
  ]),
881
885
  n("rect", {
882
886
  x: N.value.x,
883
- y: r.value.top + (x.value + p.value) * o - x.value / 2,
887
+ y: r.value.top + (k.value + p.value) * o - k.value / 2,
884
888
  width: N.value.width,
885
- height: p.value + x.value <= 0 ? 1e-4 : p.value + x.value,
886
- fill: Ce.value === a.id ? s(Ie)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
887
- onMouseenter: (g) => Ft(a, o),
888
- onMouseleave: (g) => Ot({ datapoint: a, seriesIndex: o }),
889
- onClick: (g) => It({ datapoint: a, seriesIndex: o })
890
- }, null, 40, Fa)
889
+ height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
890
+ fill: Te.value === a.id ? s(Fe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
891
+ onMouseenter: (g) => Mt(a, o),
892
+ onMouseleave: (g) => Ft({ datapoint: a, seriesIndex: o }),
893
+ onClick: (g) => Ot({ datapoint: a, seriesIndex: o })
894
+ }, null, 40, Ma)
891
895
  ]))), 256)),
892
896
  _(t.$slots, "svg", { svg: N.value }, void 0, !0)
893
897
  ], 512)
894
- ], 14, ma)),
895
- t.$slots.watermark ? (u(), v("div", Ma, [
896
- _(t.$slots, "watermark", Q(Z({ isPrinting: s(Ge) || s(He) })), void 0, !0)
898
+ ], 14, ka)),
899
+ t.$slots.watermark ? (u(), v("div", Da, [
900
+ _(t.$slots, "watermark", Q(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
897
901
  ])) : f("", !0),
898
902
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
899
903
  key: 6,
900
904
  ref_key: "chartLegend",
901
905
  ref: be
902
906
  }, [
903
- (u(), X(ct, {
907
+ (u(), X(pt, {
904
908
  key: `legend_bottom_${me.value}`,
905
909
  legendSet: F.value,
906
- config: et.value,
910
+ config: at.value,
907
911
  onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
908
912
  }, he({
909
913
  item: m(({ legend: a, index: o }) => [
910
914
  n("div", {
911
915
  onClick: (g) => oe(a.id),
912
- style: c(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
916
+ style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
913
917
  }, h(a.name) + ": " + h(s(pe)(
914
918
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
915
919
  a.value,
@@ -927,7 +931,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
927
931
  t.$slots.pattern ? {
928
932
  name: "legend-pattern",
929
933
  fn: m(({ legend: a, index: o }) => [
930
- J(ht, {
934
+ J(ft, {
931
935
  shape: a.shape,
932
936
  radius: 30,
933
937
  stroke: "none",
@@ -943,13 +947,13 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
943
947
  t.$slots.source ? (u(), v("div", {
944
948
  key: 7,
945
949
  ref_key: "source",
946
- ref: Be,
950
+ ref: Re,
947
951
  dir: "auto"
948
952
  }, [
949
953
  _(t.$slots, "source", {}, void 0, !0)
950
954
  ], 512)) : f("", !0),
951
- J(s(yt), {
952
- show: k.value.showTooltip && ge.value && A.value.length < b.dataset.length,
955
+ J(s(mt), {
956
+ show: $.value.showTooltip && ge.value && A.value.length < b.dataset.length,
953
957
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
954
958
  color: e.value.style.chart.tooltip.color,
955
959
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -967,35 +971,35 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
967
971
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
968
972
  }, {
969
973
  "tooltip-before": m(() => [
970
- _(t.$slots, "tooltip-before", Q(Z({ ...Te.value })), void 0, !0)
974
+ _(t.$slots, "tooltip-before", Q(Z({ ...Se.value })), void 0, !0)
971
975
  ]),
972
976
  "tooltip-after": m(() => [
973
- _(t.$slots, "tooltip-after", Q(Z({ ...Te.value })), void 0, !0)
977
+ _(t.$slots, "tooltip-after", Q(Z({ ...Se.value })), void 0, !0)
974
978
  ]),
975
979
  _: 3
976
980
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
977
- fe.value ? (u(), X(Gt(de.value.component), it({ key: 8 }, de.value.props, {
981
+ fe.value ? (u(), X(Ht(ce.value.component), ct({ key: 8 }, ce.value.props, {
978
982
  ref_key: "tableUnit",
979
983
  ref: le,
980
- onClose: l[5] || (l[5] = (a) => k.value.showTable = !1)
984
+ onClose: Ne
981
985
  }), he({
982
986
  content: m(() => [
983
987
  n("div", {
984
988
  ref_key: "tableContainer",
985
- ref: Ke,
989
+ ref: Qe,
986
990
  class: "vue-ui-vertical-bar-table atom-data-table",
987
- style: c(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
991
+ style: d(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
988
992
  }, [
989
- n("div", Da, [
993
+ n("div", Ra, [
990
994
  e.value.table.useDialog ? f("", !0) : (u(), v("div", {
991
995
  key: 0,
992
996
  role: "button",
993
997
  tabindex: "0",
994
- style: c(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
995
- onClick: l[3] || (l[3] = (a) => k.value.showTable = !1),
996
- onKeypress: l[4] || (l[4] = Ht((a) => k.value.showTable = !1, ["enter"]))
998
+ style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
999
+ onClick: Ne,
1000
+ onKeypress: jt(Ne, ["enter"])
997
1001
  }, [
998
- J(s(Oe), {
1002
+ J(s(Me), {
999
1003
  name: "close",
1000
1004
  stroke: e.value.table.th.color,
1001
1005
  "stroke-width": 2
@@ -1003,112 +1007,112 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
1003
1007
  ], 36)),
1004
1008
  n("div", {
1005
1009
  style: { width: "100%", "container-type": "inline-size" },
1006
- class: U({ "vue-ui-responsive": s(Rt) })
1010
+ class: U({ "vue-ui-responsive": s(Et) })
1007
1011
  }, [
1008
- n("table", Ra, [
1012
+ n("table", Ea, [
1009
1013
  e.value.table.useDialog ? f("", !0) : (u(), v("caption", {
1010
1014
  key: 0,
1011
- style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1015
+ style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1012
1016
  class: "vue-ui-data-table__caption"
1013
1017
  }, [
1014
- vt(h(e.value.style.chart.title.text) + " ", 1),
1015
- e.value.style.chart.title.subtitle.text ? (u(), v("span", Ea, h(e.value.style.chart.title.subtitle.text), 1)) : f("", !0)
1018
+ dt(h(e.value.style.chart.title.text) + " ", 1),
1019
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", Ua, h(e.value.style.chart.title.subtitle.text), 1)) : f("", !0)
1016
1020
  ], 4)),
1017
1021
  n("thead", null, [
1018
1022
  n("tr", {
1019
1023
  role: "row",
1020
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1024
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1021
1025
  }, [
1022
1026
  (u(!0), v(ee, null, te(z.value.head, (a) => (u(), v("th", {
1023
- style: c(`outline:${e.value.table.th.outline}`)
1027
+ style: d(`outline:${e.value.table.th.outline}`)
1024
1028
  }, [
1025
- n("div", Ua, h(a), 1)
1029
+ n("div", Xa, h(a), 1)
1026
1030
  ], 4))), 256))
1027
1031
  ], 4),
1028
1032
  n("tr", null, [
1029
1033
  n("th", {
1030
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1034
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1031
1035
  }, null, 4),
1032
1036
  n("th", {
1033
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1037
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1034
1038
  }, "∑ " + h(e.value.table.td.prefix) + h(isNaN(V.value) ? "" : V.value.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 5),
1035
1039
  n("th", {
1036
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1040
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1037
1041
  }, "100%", 4),
1038
1042
  n("th", {
1039
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1043
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1040
1044
  }, null, 4),
1041
1045
  n("th", {
1042
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1046
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1043
1047
  }, null, 4),
1044
1048
  n("th", {
1045
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1049
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1046
1050
  }, null, 4),
1047
1051
  n("th", {
1048
- style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1052
+ style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1049
1053
  }, null, 4)
1050
1054
  ])
1051
1055
  ]),
1052
1056
  n("tbody", null, [
1053
1057
  (u(!0), v(ee, null, te(z.value.body, (a, o) => (u(), v("tr", {
1054
1058
  class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1055
- style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1059
+ style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1056
1060
  }, [
1057
1061
  n("td", {
1058
1062
  class: "vue-ui-data-table__tbody__td",
1059
- style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1063
+ style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1060
1064
  "data-cell": z.value.head[0] ?? ""
1061
1065
  }, [
1062
- n("div", Wa, [
1066
+ n("div", Ga, [
1063
1067
  a.color ? (u(), v("span", {
1064
1068
  key: 0,
1065
- style: c(`color:${a.color};margin-right:3px`)
1069
+ style: d(`color:${a.color};margin-right:3px`)
1066
1070
  }, "⬤", 4)) : f("", !0),
1067
1071
  n("span", null, h(a.parentName), 1)
1068
1072
  ])
1069
- ], 12, Xa),
1073
+ ], 12, Wa),
1070
1074
  n("td", {
1071
1075
  class: "vue-ui-data-table__tbody__td",
1072
- style: c(`outline:${e.value.table.td.outline}`),
1076
+ style: d(`outline:${e.value.table.td.outline}`),
1073
1077
  "data-cell": z.value.head[1] ?? ""
1074
1078
  }, [
1075
- n("div", Ha, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1076
- ], 12, Ga),
1079
+ n("div", ja, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1080
+ ], 12, Ha),
1077
1081
  n("td", {
1078
1082
  class: "vue-ui-data-table__tbody__td",
1079
- style: c(`outline:${e.value.table.td.outline}`),
1083
+ style: d(`outline:${e.value.table.td.outline}`),
1080
1084
  "data-cell": z.value.head[2] ?? ""
1081
1085
  }, [
1082
- n("div", qa, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1083
- ], 12, ja),
1086
+ n("div", Ya, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1087
+ ], 12, qa),
1084
1088
  n("td", {
1085
1089
  class: "vue-ui-data-table__tbody__td",
1086
- style: c(`outline:${e.value.table.td.outline}`),
1090
+ style: d(`outline:${e.value.table.td.outline}`),
1087
1091
  "data-cell": z.value.head[3] ?? ""
1088
1092
  }, [
1089
- n("div", Ka, h(a.childName), 1)
1090
- ], 12, Ya),
1093
+ n("div", Ja, h(a.childName), 1)
1094
+ ], 12, Ka),
1091
1095
  n("td", {
1092
1096
  class: "vue-ui-data-table__tbody__td",
1093
- style: c(`outline:${e.value.table.td.outline}`),
1097
+ style: d(`outline:${e.value.table.td.outline}`),
1094
1098
  "data-cell": z.value.head[4] ?? ""
1095
1099
  }, [
1096
- n("div", Qa, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1097
- ], 12, Ja),
1100
+ n("div", Za, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1101
+ ], 12, Qa),
1098
1102
  n("td", {
1099
1103
  class: "vue-ui-data-table__tbody__td",
1100
- style: c(`outline:${e.value.table.td.outline}`),
1104
+ style: d(`outline:${e.value.table.td.outline}`),
1101
1105
  "data-cell": z.value.head[5] ?? ""
1102
1106
  }, [
1103
- n("div", el, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1104
- ], 12, Za),
1107
+ n("div", tl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1108
+ ], 12, el),
1105
1109
  n("td", {
1106
1110
  class: "vue-ui-data-table__tbody__td",
1107
- style: c(`outline:${e.value.table.td.outline}`),
1111
+ style: d(`outline:${e.value.table.td.outline}`),
1108
1112
  "data-cell": z.value.head[6] ?? ""
1109
1113
  }, [
1110
- n("div", al, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1111
- ], 12, tl)
1114
+ n("div", ll, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1115
+ ], 12, al)
1112
1116
  ], 6))), 256))
1113
1117
  ])
1114
1118
  ])
@@ -1121,7 +1125,7 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
1121
1125
  e.value.table.useDialog ? {
1122
1126
  name: "title",
1123
1127
  fn: m(() => [
1124
- vt(h(de.value.title), 1)
1128
+ dt(h(ce.value.title), 1)
1125
1129
  ]),
1126
1130
  key: "0"
1127
1131
  } : void 0,
@@ -1131,21 +1135,21 @@ const ya = ["id"], ba = ["onClick"], ma = ["xmlns", "viewBox"], ka = ["x", "widt
1131
1135
  n("button", {
1132
1136
  tabindex: "0",
1133
1137
  class: "vue-ui-user-options-button",
1134
- onClick: l[2] || (l[2] = (a) => Se(e.value.userOptions.callbacks.csv))
1138
+ onClick: l[2] || (l[2] = (a) => Le(e.value.userOptions.callbacks.csv))
1135
1139
  }, [
1136
- J(s(Oe), {
1140
+ J(s(Me), {
1137
1141
  name: "excel",
1138
- stroke: de.value.props.color
1142
+ stroke: ce.value.props.color
1139
1143
  }, null, 8, ["stroke"])
1140
1144
  ])
1141
1145
  ]),
1142
1146
  key: "1"
1143
1147
  } : void 0
1144
1148
  ]), 1040)) : f("", !0),
1145
- s(Ee) ? (u(), X(ra, { key: 9 })) : f("", !0)
1146
- ], 46, ya));
1149
+ s(Xe) ? (u(), X(ia, { key: 9 })) : f("", !0)
1150
+ ], 46, ba));
1147
1151
  }
1148
- }, ml = /* @__PURE__ */ ga(ll, [["__scopeId", "data-v-36772bc6"]]);
1152
+ }, kl = /* @__PURE__ */ ya(ol, [["__scopeId", "data-v-e20a4dff"]]);
1149
1153
  export {
1150
- ml as default
1154
+ kl as default
1151
1155
  };