vue-data-ui 3.1.1 → 3.1.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 (93) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.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-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as te, useSlots as Ut, onMounted as gt, computed as b, ref as m, shallowRef as U, toRefs as Ht, watch as ke, onBeforeUnmount as Wt, createElementBlock as y, openBlock as d, unref as c, normalizeStyle as M, normalizeClass as Re, createBlock as Z, createCommentVNode as _, createElementVNode as O, createVNode as we, createSlots as mt, withCtx as T, renderSlot as C, normalizeProps as le, guardReactiveProps as oe, Fragment as Ce, renderList as Le, withKeys as yt, withModifiers as Me, mergeProps as Be, createTextVNode as $e, toDisplayString as H, Teleport as Gt, resolveDynamicComponent as Xt, nextTick as qt } from "vue";
2
- import { u as Yt, c as Te, t as jt, a as Zt, p as F, b as Kt, d as Jt, o as bt, f as Qt, e as de, k as xe, i as he, X as el, l as kt, F as wt, y as Ct, v as tl, w as ll, z as ol } from "./index-BKQqb9lF.js";
3
- import { t as al, u as nl } from "./useResponsive-DfdjqQps.js";
4
- import { u as sl, B as ul } from "./BaseScanner-BgWxam9d.js";
5
- import { u as rl } from "./usePrinter-BzuXiubT.js";
6
- import { u as $t } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as cl } from "./useChartAccessibility-9icAAmYg.js";
9
- import vl from "./img-gBDz7xQQ.js";
10
- import dl from "./Title-Dz-j6ERs.js";
11
- import hl from "./Legend-8_V5egWW.js";
12
- import Tt from "./BaseIcon-DLesaZpW.js";
13
- import { _ as pl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- function xt(n, r) {
1
+ import { defineAsyncComponent as te, useSlots as Wt, onMounted as yt, computed as b, ref as m, shallowRef as U, toRefs as Gt, watch as ke, onBeforeUnmount as Xt, createElementBlock as y, openBlock as d, unref as c, normalizeStyle as M, normalizeClass as Le, createBlock as Z, createCommentVNode as _, createElementVNode as O, createVNode as we, createSlots as bt, withCtx as T, renderSlot as C, normalizeProps as le, guardReactiveProps as oe, Fragment as Ce, renderList as Me, withKeys as kt, withModifiers as Be, mergeProps as Ve, createTextVNode as $e, toDisplayString as H, Teleport as qt, resolveDynamicComponent as Yt, nextTick as jt } from "vue";
2
+ import { u as Zt, c as Te, t as Kt, a as Jt, p as I, b as Qt, d as el, o as wt, f as tl, e as de, k as xe, i as he, X as ll, l as Ct, F as $t, y as Tt, v as ol, w as al, z as nl } from "./index-BFqW8WA0.js";
3
+ import { t as sl, u as ul } from "./useResponsive-DfdjqQps.js";
4
+ import { u as rl, B as il } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as cl } from "./usePrinter-DDIKRiOp.js";
6
+ import { u as xt } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as dl } from "./useChartAccessibility-9icAAmYg.js";
9
+ import hl from "./img-DvuphHeJ.js";
10
+ import pl from "./Title-AGmmsSi_.js";
11
+ import fl from "./Legend-DLzeDl3-.js";
12
+ import _t from "./BaseIcon-BLg8FaQ2.js";
13
+ import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ function Ot(n, r) {
15
15
  const s = n.length;
16
16
  if (s === 0)
17
17
  throw new Error(`Max aspect ratio cannot be computed: ${n} is an empty array`);
@@ -27,7 +27,7 @@ function xt(n, r) {
27
27
  );
28
28
  }
29
29
  }
30
- function _t(n) {
30
+ function At(n) {
31
31
  const { xOffset: r, yOffset: s, width: i, height: u } = n;
32
32
  return {
33
33
  x0: r,
@@ -36,18 +36,18 @@ function _t(n) {
36
36
  y1: s + u
37
37
  };
38
38
  }
39
- function fl(n, r, s) {
39
+ function ml(n, r, s) {
40
40
  if (n.length === 0)
41
41
  return !0;
42
42
  {
43
- const i = n.concat(r), u = xt(
43
+ const i = n.concat(r), u = Ot(
44
44
  n,
45
45
  s
46
- ), h = xt(i, s);
46
+ ), h = Ot(i, s);
47
47
  return u >= h;
48
48
  }
49
49
  }
50
- function gl(n) {
50
+ function yl(n) {
51
51
  const r = [], s = n.length;
52
52
  for (let i = 0; i < s; i += 1) {
53
53
  const u = n[i], h = u.length;
@@ -56,49 +56,49 @@ function gl(n) {
56
56
  }
57
57
  return r;
58
58
  }
59
- function ml(n, r) {
59
+ function bl(n, r) {
60
60
  const s = {
61
61
  ...r,
62
62
  children: n
63
63
  };
64
- return At(s);
64
+ return It(s);
65
65
  }
66
- function yl(n) {
66
+ function kl(n) {
67
67
  return (n.x1 - n.x0) * (n.y1 - n.y0);
68
68
  }
69
- function Ot(n, r) {
70
- const { width: s, height: i, xOffset: u, yOffset: h } = Ve(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, N) => w + N, 0), f = g / i, W = g / s;
71
- let D = u, k = h;
69
+ function St(n, r) {
70
+ const { width: s, height: i, xOffset: u, yOffset: h } = Ee(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, F) => w + F, 0), f = g / i, W = g / s;
71
+ let P = u, k = h;
72
72
  const $ = [];
73
73
  if (s >= i) {
74
74
  for (let w = 0; w < v; w += 1) {
75
- const N = n[w], B = k + N.normalizedValue / f, A = {
76
- x0: D,
75
+ const F = n[w], B = k + F.normalizedValue / f, A = {
76
+ x0: P,
77
77
  y0: k,
78
- x1: D + f,
78
+ x1: P + f,
79
79
  y1: B
80
- }, P = Object.assign({}, N, A);
81
- k = B, $.push(P);
80
+ }, N = Object.assign({}, F, A);
81
+ k = B, $.push(N);
82
82
  }
83
83
  return $;
84
84
  } else {
85
85
  for (let w = 0; w < v; w += 1) {
86
- const N = n[w], B = D + N.normalizedValue / W, A = {
87
- x0: D,
86
+ const F = n[w], B = P + F.normalizedValue / W, A = {
87
+ x0: P,
88
88
  y0: k,
89
89
  x1: B,
90
90
  y1: k + W
91
- }, P = Object.assign({}, N, A);
92
- D = B, $.push(P);
91
+ }, N = Object.assign({}, F, A);
92
+ P = B, $.push(N);
93
93
  }
94
94
  return $;
95
95
  }
96
96
  }
97
- function bl(n) {
98
- const r = Ve(n), s = r.width, i = r.height;
97
+ function wl(n) {
98
+ const r = Ee(n), s = r.width, i = r.height;
99
99
  return Math.min(s, i);
100
100
  }
101
- function kl(n, r) {
101
+ function Cl(n, r) {
102
102
  const s = n.length, i = n.map((f) => f.value ?? 0).reduce((f, W) => f + W, 0), u = r / i, h = [];
103
103
  let v, g;
104
104
  for (let f = 0; f < s; f += 1)
@@ -107,7 +107,7 @@ function kl(n, r) {
107
107
  }), h.push(v);
108
108
  return h;
109
109
  }
110
- function Ve(n) {
110
+ function Ee(n) {
111
111
  const { x0: r, y0: s, x1: i, y1: u } = n;
112
112
  return {
113
113
  xOffset: r,
@@ -116,43 +116,43 @@ function Ve(n) {
116
116
  height: u - s
117
117
  };
118
118
  }
119
- function wl(n, r, s, i) {
119
+ function $l(n, r, s, i) {
120
120
  let u = n, h = r, v = s, g = i;
121
121
  for (; ; ) {
122
122
  const f = u.length;
123
123
  if (f === 0) {
124
- const $ = Ot(h, v);
124
+ const $ = St(h, v);
125
125
  return g.concat($);
126
126
  }
127
- const W = bl(v), D = u[0], k = u.slice(1, f);
128
- if (fl(h, D, W)) {
129
- const $ = h.concat(D);
127
+ const W = wl(v), P = u[0], k = u.slice(1, f);
128
+ if (ml(h, P, W)) {
129
+ const $ = h.concat(P);
130
130
  u = k, h = $, v = v, g = g;
131
131
  } else {
132
132
  const $ = h.length;
133
133
  let w = 0;
134
- for (let P = 0; P < $; P += 1)
135
- w += h[P].normalizedValue;
136
- const N = Cl(v, w), B = Ot(h, v), A = g.concat(B);
137
- u = u, h = [], v = N, g = A;
134
+ for (let N = 0; N < $; N += 1)
135
+ w += h[N].normalizedValue;
136
+ const F = Tl(v, w), B = St(h, v), A = g.concat(B);
137
+ u = u, h = [], v = F, g = A;
138
138
  }
139
139
  }
140
140
  }
141
- function At(n) {
141
+ function It(n) {
142
142
  if (typeof n.children > "u" || !n.children.length)
143
143
  return [n];
144
144
  {
145
- const r = kl(
145
+ const r = Cl(
146
146
  n.children,
147
- yl(n)
148
- ), s = wl(r, [], n, []), i = s.length, u = [];
147
+ kl(n)
148
+ ), s = $l(r, [], n, []), i = s.length, u = [];
149
149
  for (let v = 0; v < i; v += 1)
150
- u.push(At(s[v]));
151
- return gl(u);
150
+ u.push(It(s[v]));
151
+ return yl(u);
152
152
  }
153
153
  }
154
- function Cl(n, r) {
155
- const { width: s, height: i, xOffset: u, yOffset: h } = Ve(n);
154
+ function Tl(n, r) {
155
+ const { width: s, height: i, xOffset: u, yOffset: h } = Ee(n);
156
156
  if (s >= i) {
157
157
  const v = r / i, g = s - v, f = {
158
158
  xOffset: u + v,
@@ -160,7 +160,7 @@ function Cl(n, r) {
160
160
  width: g,
161
161
  height: i
162
162
  };
163
- return _t(f);
163
+ return At(f);
164
164
  } else {
165
165
  const v = r / s, g = i - v, f = {
166
166
  xOffset: u,
@@ -168,22 +168,22 @@ function Cl(n, r) {
168
168
  width: s,
169
169
  height: g
170
170
  };
171
- return _t(f);
171
+ return At(f);
172
172
  }
173
173
  }
174
- const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], _l = { class: "vue-ui-treemap-crumb-unit" }, Ol = { class: "vue-ui-treemap-crumb-unit-label" }, Al = {
174
+ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Al = { class: "vue-ui-treemap-crumb-unit" }, Sl = { class: "vue-ui-treemap-crumb-unit-label" }, Il = {
175
175
  key: 0,
176
176
  style: { width: "24px", display: "flex", "align-items": "center" }
177
- }, Sl = {
177
+ }, Fl = {
178
178
  key: 0,
179
179
  class: "vue-ui-treemap-crumb-unit-arrow"
180
- }, Il = ["xmlns", "viewBox"], Fl = { key: 0 }, Nl = ["id"], Pl = ["stop-color"], zl = ["stop-color"], Dl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter", "onMouseleave"], Rl = ["x", "y", "height", "width"], Ll = {
180
+ }, Dl = ["xmlns", "viewBox"], Nl = { key: 0 }, Rl = ["id"], Pl = ["stop-color"], zl = ["stop-color"], Ll = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter", "onMouseleave"], Ml = ["x", "y", "height", "width"], Bl = {
181
181
  style: { width: "100%", height: "100%" },
182
182
  class: "vue-ui-treemap-cell"
183
- }, Ml = {
183
+ }, Vl = {
184
184
  key: 5,
185
185
  class: "vue-data-ui-watermark"
186
- }, Bl = ["id"], Vl = ["onClick"], El = ["innerHTML"], Ul = {
186
+ }, El = ["id"], Ul = ["onClick"], Hl = ["innerHTML"], Wl = {
187
187
  __name: "vue-ui-treemap",
188
188
  props: {
189
189
  config: {
@@ -201,12 +201,12 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
201
201
  },
202
202
  emits: ["selectLegend", "selectDatapoint"],
203
203
  setup(n, { expose: r, emit: s }) {
204
- const i = te(() => import("./DataTable-BAf4Obr9.js")), u = te(() => import("./PenAndPaper-B6OvfyHH.js")), h = te(() => import("./vue-ui-accordion-B5QeV3BK.js")), v = te(() => import("./Tooltip-BTGOEC7w.js")), g = te(() => import("./UserOptions-CsDlFB0L.js")), f = te(() => import("./PackageVersion-Cv_ypT0N.js")), W = te(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_treemap: D } = Yt(), k = n, $ = s, w = Ut();
205
- gt(() => {
204
+ const i = te(() => import("./DataTable-BRN1-1ob.js")), u = te(() => import("./PenAndPaper-TgGWddgD.js")), h = te(() => import("./vue-ui-accordion-Cv747Pg6.js")), v = te(() => import("./Tooltip-le0yZk_t.js")), g = te(() => import("./UserOptions-DEFwuQIo.js")), f = te(() => import("./PackageVersion-Jz9FlNXl.js")), W = te(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_treemap: P } = Zt(), k = n, $ = s, w = Wt();
205
+ yt(() => {
206
206
  w["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
207
207
  });
208
- const N = b(() => !!k.dataset && k.dataset.length), B = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = m(Te()), P = m(!1), _e = m(""), K = m(!1), Ee = m(0), R = m([]), V = U(null), Ue = U(null), He = U(null), We = U(null), Ge = U(null), Xe = m(0), Oe = m(0), Ae = m(0), x = m([]), Se = m(null), qe = m(!1), ue = m(null), e = m(Ne()), { loading: re, FINAL_DATASET: Ie, manualLoading: St } = sl({
209
- ...Ht(k),
208
+ const F = b(() => !!k.dataset && k.dataset.length), B = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = m(Te()), N = m(!1), _e = m(""), K = m(!1), Ue = m(0), z = m([]), V = U(null), He = U(null), We = U(null), Ge = U(null), Xe = U(null), qe = m(0), Oe = m(0), Ae = m(0), x = m([]), Se = m(null), Ye = m(!1), ue = m(null), Ie = m(null), e = m(Ne()), { loading: re, FINAL_DATASET: Fe, manualLoading: Ft } = rl({
209
+ ...Gt(k),
210
210
  FINAL_CONFIG: e,
211
211
  prepareConfig: Ne,
212
212
  skeletonDataset: [
@@ -225,7 +225,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
225
225
  ]
226
226
  }
227
227
  ],
228
- skeletonConfig: jt({
228
+ skeletonConfig: Kt({
229
229
  defaultConfig: e.value,
230
230
  userConfig: {
231
231
  userOptions: { show: !1 },
@@ -247,33 +247,33 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
247
247
  }
248
248
  }
249
249
  })
250
- }), { userOptionsVisible: Fe, setUserOptionsVisibility: Ye, keepUserOptionState: je } = il({ config: e.value }), { svgRef: Ze } = cl({ config: e.value.style.chart.title });
250
+ }), { userOptionsVisible: De, setUserOptionsVisibility: je, keepUserOptionState: Ze } = vl({ config: e.value }), { svgRef: Ke } = dl({ config: e.value.style.chart.title });
251
251
  function Ne() {
252
- const t = $t({
252
+ const t = xt({
253
253
  userConfig: k.config,
254
- defaultConfig: D
254
+ defaultConfig: P
255
255
  });
256
256
  return t.theme ? {
257
- ...$t({
258
- userConfig: Kt.vue_ui_treemap[t.theme] || k.config,
257
+ ...xt({
258
+ userConfig: Qt.vue_ui_treemap[t.theme] || k.config,
259
259
  defaultConfig: t
260
260
  }),
261
- customPalette: Zt[t.theme] || F
261
+ customPalette: Jt[t.theme] || I
262
262
  } : t;
263
263
  }
264
264
  ke(() => k.config, (t) => {
265
- re.value || (e.value = Ne()), Fe.value = !e.value.userOptions.showOnChartHover, Xe.value += 1, Oe.value += 1, Ae.value += 1, I.value.showTable = e.value.table.show, I.value.showTooltip = e.value.style.chart.tooltip.show;
265
+ re.value || (e.value = Ne()), De.value = !e.value.userOptions.showOnChartHover, qe.value += 1, Oe.value += 1, Ae.value += 1, D.value.showTable = e.value.table.show, D.value.showTooltip = e.value.style.chart.tooltip.show;
266
266
  }, { deep: !0 });
267
- const { isPrinting: Ke, isImaging: Je, generatePdf: Qe, generateImage: et } = rl({
267
+ const { isPrinting: Je, isImaging: Qe, generatePdf: et, generateImage: tt } = cl({
268
268
  elementId: `treemap_${A.value}`,
269
269
  fileName: e.value.style.chart.title.text || "vue-ui-treemap",
270
270
  options: e.value.userOptions.print
271
- }), It = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), pe = b(() => Jt(e.value.customPalette)), I = m({
271
+ }), Dt = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), pe = b(() => el(e.value.customPalette)), D = m({
272
272
  showTable: e.value.table.show,
273
273
  showTooltip: e.value.style.chart.tooltip.show
274
274
  });
275
275
  ke(e, () => {
276
- I.value = {
276
+ D.value = {
277
277
  showTable: e.value.table.show,
278
278
  showTooltip: e.value.style.chart.tooltip.show
279
279
  };
@@ -290,52 +290,52 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
290
290
  vbHeight: G.value.height,
291
291
  vbWidth: G.value.width,
292
292
  width: G.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
293
- })), z = m(Ie.value), X = m(z.value), tt = U(/* @__PURE__ */ new Map());
294
- function lt(t) {
293
+ })), R = m(Fe.value), X = m(R.value), lt = U(/* @__PURE__ */ new Map());
294
+ function ot(t) {
295
295
  Array.isArray(t) && t.forEach((o, l) => {
296
296
  o.id || (o.id = Te());
297
- let a = de(o.color) || tt.value.get(o.id) || pe.value[l] || F[l] || F[l % F.length];
298
- a = de(a), tt.value.set(o.id, a), o.color = a, ot(o, a);
297
+ let a = de(o.color) || lt.value.get(o.id) || pe.value[l] || I[l] || I[l % I.length];
298
+ a = de(a), lt.value.set(o.id, a), o.color = a, at(o, a);
299
299
  });
300
300
  }
301
- function ot(t, o) {
301
+ function at(t, o) {
302
302
  Array.isArray(t.children) && t.children.forEach((l) => {
303
- l.id || (l.id = Te()), l.parentId = t.id, l.color = o, ot(l, o);
303
+ l.id || (l.id = Te()), l.parentId = t.id, l.color = o, at(l, o);
304
304
  });
305
305
  }
306
- function Ft() {
306
+ function Nt() {
307
307
  if (!x.value.length)
308
- X.value = z.value.slice();
308
+ X.value = R.value.slice();
309
309
  else {
310
310
  const t = x.value[x.value.length - 1], o = Y(t);
311
311
  X.value = o?.children?.slice() || [];
312
312
  }
313
313
  }
314
314
  ke(
315
- () => Ie.value,
315
+ () => Fe.value,
316
316
  () => {
317
- z.value = Ie.value, lt(z.value), Ft(), Ae.value += 1, Oe.value += 1;
317
+ R.value = Fe.value, ot(R.value), Nt(), Ae.value += 1, Oe.value += 1;
318
318
  },
319
319
  { deep: !0, immediate: !0, flush: "post" }
320
320
  );
321
321
  const q = U(null), ae = U(null);
322
- gt(() => {
323
- qe.value = !0, Pt();
322
+ yt(() => {
323
+ Ye.value = !0, Pt();
324
324
  });
325
- const Nt = b(() => e.value.debug);
325
+ const Rt = b(() => e.value.debug);
326
326
  function Pt() {
327
- if (bt(k.dataset) && Qt({
327
+ if (wt(k.dataset) && tl({
328
328
  componentName: "VueUiTreemap",
329
329
  type: "dataset",
330
- debug: Nt.value
331
- }), lt(z.value), bt(k.dataset) || (St.value = e.value.loading), e.value.responsive) {
332
- const t = al(() => {
333
- const { width: o, height: l } = nl({
330
+ debug: Rt.value
331
+ }), ot(R.value), wt(k.dataset) || (Ft.value = e.value.loading), e.value.responsive) {
332
+ const t = sl(() => {
333
+ const { width: o, height: l } = ul({
334
334
  chart: V.value,
335
- title: e.value.style.chart.title.text ? Ue.value : null,
336
- legend: e.value.style.chart.legend.show ? He.value : null,
337
- source: We.value,
338
- noTitle: Ge.value
335
+ title: e.value.style.chart.title.text ? He.value : null,
336
+ legend: e.value.style.chart.legend.show ? We.value : null,
337
+ source: Ge.value,
338
+ noTitle: Xe.value
339
339
  });
340
340
  requestAnimationFrame(() => {
341
341
  G.value.width = o, G.value.height = l - 12;
@@ -344,13 +344,13 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
344
344
  q.value && (ae.value && q.value.unobserve(ae.value), q.value.disconnect()), q.value = new ResizeObserver(t), ae.value = V.value.parentNode, q.value.observe(ae.value);
345
345
  }
346
346
  }
347
- Wt(() => {
347
+ Xt(() => {
348
348
  q.value && (ae.value && q.value.unobserve(ae.value), q.value.disconnect());
349
349
  });
350
350
  const ie = b(() => X.value.map((t, o) => ({
351
351
  ...t,
352
- color: de(t.color) || pe.value[o] || F[o] || F[o % F.length]
353
- })).filter((t) => !R.value.includes(t.id))), ne = b(() => z.value.filter((t) => !R.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), at = b({
352
+ color: de(t.color) || pe.value[o] || I[o] || I[o % I.length]
353
+ })).filter((t) => !z.value.includes(t.id))), ne = b(() => R.value.filter((t) => !z.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), nt = b({
354
354
  get() {
355
355
  let t = [...ie.value];
356
356
  return e.value.style.chart.layout.sorted && (t = [...ie.value].sort((o, l) => l.value - o.value)), t.map((o) => ({
@@ -361,50 +361,50 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
361
361
  return t;
362
362
  }
363
363
  });
364
- function nt(t, o) {
364
+ function st(t, o) {
365
365
  return t.value / o;
366
366
  }
367
367
  function zt(t, o, l) {
368
- const a = e.value.style.chart.layout.rects.colorRatio - nt(o, l);
369
- return kt(t, a < 0 ? 0 : a);
368
+ const a = e.value.style.chart.layout.rects.colorRatio - st(o, l);
369
+ return Ct(t, a < 0 ? 0 : a);
370
370
  }
371
- function st(t, o, l, a) {
371
+ function ut(t, o, l, a) {
372
372
  return t.map((p, S) => {
373
- const be = zt(de(o) || pe.value[S] || F[S] || F[S % F.length], p, a), Et = nt(p, a);
373
+ const be = zt(de(o) || pe.value[S] || I[S] || I[S % I.length], p, a), Ht = st(p, a);
374
374
  return {
375
375
  ...p,
376
376
  color: be,
377
- proportion: Et,
377
+ proportion: Ht,
378
378
  parentName: l,
379
- children: p.children ? st(p.children, be, p.name, a) : void 0
379
+ children: p.children ? ut(p.children, be, p.name, a) : void 0
380
380
  };
381
381
  });
382
382
  }
383
- const ce = b(() => ml(
384
- at.value.map((t, o) => {
383
+ const ce = b(() => bl(
384
+ nt.value.map((t, o) => {
385
385
  const l = t.children ? t.children.reduce((a, p) => a + p.value, 0) : t.value;
386
386
  return {
387
387
  value: t.value,
388
388
  id: t.id || Te(),
389
- children: t.children ? st(t.children.sort((a, p) => p.value - a.value), t.color, t.name, l) : void 0,
389
+ children: t.children ? ut(t.children.sort((a, p) => p.value - a.value), t.color, t.name, l) : void 0,
390
390
  color: t.color,
391
391
  name: t.name
392
392
  };
393
393
  }),
394
394
  { x0: J.value.left * 2, y0: J.value.top, x1: J.value.width, y1: J.value.height }
395
395
  ));
396
- function ut({ y0: t, y1: o }) {
396
+ function rt({ y0: t, y1: o }) {
397
397
  return o - t <= 0 ? 1e-4 : o - t;
398
398
  }
399
- function rt({ x0: t, x1: o }) {
399
+ function it({ x0: t, x1: o }) {
400
400
  return o - t <= 0 ? 1e-4 : o - t;
401
401
  }
402
402
  function Q(t) {
403
403
  const o = e.value.style.chart.layout.labels.fontSize * (t.proportion * 2 > 1 ? 1 : t.proportion * 2);
404
404
  return o < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : o;
405
405
  }
406
- function it(t) {
407
- K.value = t, Ee.value += 1;
406
+ function ct(t) {
407
+ K.value = t, Ue.value += 1;
408
408
  }
409
409
  const se = b(() => {
410
410
  let t = 0;
@@ -415,7 +415,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
415
415
  height: J.value.vbHeight - t
416
416
  };
417
417
  });
418
- function Y(t, o = z.value) {
418
+ function Y(t, o = R.value) {
419
419
  for (const l of o) {
420
420
  if (l.id === t)
421
421
  return l;
@@ -430,7 +430,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
430
430
  const ee = b(() => x.value.length > 0);
431
431
  function fe(t, o) {
432
432
  if (!t) {
433
- X.value = z.value.slice(), $("selectDatapoint", void 0), x.value = [];
433
+ X.value = R.value.slice(), $("selectDatapoint", void 0), x.value = [];
434
434
  return;
435
435
  }
436
436
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
@@ -448,10 +448,10 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
448
448
  const p = Y(a);
449
449
  X.value = p.children.slice();
450
450
  } else
451
- X.value = z.value.slice(), x.value = [], $("selectDatapoint", void 0);
451
+ X.value = R.value.slice(), x.value = [], $("selectDatapoint", void 0);
452
452
  }
453
453
  }
454
- function Dt(t) {
454
+ function Lt(t) {
455
455
  return !!(Y(t.id)?.children?.length || t.parentId);
456
456
  }
457
457
  const j = b(() => {
@@ -471,15 +471,15 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
471
471
  });
472
472
  }
473
473
  return t;
474
- }), L = U(null), ct = b(() => z.value.map((t, o) => ({
474
+ }), L = U(null), vt = b(() => R.value.map((t, o) => ({
475
475
  ...t,
476
- color: de(t.color) || pe.value[o] || F[o] || F[o % F.length],
476
+ color: de(t.color) || pe.value[o] || I[o] || I[o % I.length],
477
477
  shape: "square"
478
478
  })).sort((t, o) => o.value - t.value).map((t, o) => ({
479
479
  ...t,
480
- proportion: t.value / z.value.map((l) => l.value).reduce((l, a) => l + a, 0),
481
- opacity: R.value.includes(t.id) ? 0.5 : 1
482
- }))), Rt = b(() => ({
480
+ proportion: t.value / R.value.map((l) => l.value).reduce((l, a) => l + a, 0),
481
+ opacity: z.value.includes(t.id) ? 0.5 : 1
482
+ }))), Mt = b(() => ({
483
483
  cy: "treemap-div-legend",
484
484
  backgroundColor: e.value.style.chart.legend.backgroundColor,
485
485
  color: e.value.style.chart.legend.color,
@@ -487,17 +487,17 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
487
487
  paddingBottom: 12,
488
488
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
489
489
  }));
490
- function vt(t) {
491
- L.value = null, R.value.includes(t.id) ? R.value = R.value.filter((o) => o !== t.id) : R.value.length < k.dataset.length - 1 && R.value.push(t.id), $("selectLegend", at.value);
490
+ function dt(t) {
491
+ L.value = null, z.value.includes(t.id) ? z.value = z.value.filter((o) => o !== t.id) : z.value.length < k.dataset.length - 1 && z.value.push(t.id), $("selectLegend", nt.value);
492
492
  }
493
- function Lt({ datapoint: t, seriesIndex: o }) {
494
- L.value = null, P.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
493
+ function Bt({ datapoint: t, seriesIndex: o }) {
494
+ L.value = null, N.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
495
495
  }
496
- const Pe = m(null);
497
- function Mt({ datapoint: t, seriesIndex: o }) {
498
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), L.value = t, Pe.value = { datapoint: t, seriesIndex: o, config: e.value, series: ie.value };
496
+ const Re = m(null);
497
+ function Vt({ datapoint: t, seriesIndex: o }) {
498
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), L.value = t, Re.value = { datapoint: t, seriesIndex: o, config: e.value, series: ie.value };
499
499
  const l = e.value.style.chart.tooltip.customFormat;
500
- if (Ct(l) && ol(() => l({
500
+ if (Tt(l) && nl(() => l({
501
501
  seriesIndex: o,
502
502
  datapoint: t,
503
503
  series: ie.value,
@@ -523,7 +523,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
523
523
  { datapoint: t, seriesIndex: o }
524
524
  )}</b>`, _e.value = `<div>${a}</div>`;
525
525
  }
526
- P.value = !0;
526
+ N.value = !0;
527
527
  }
528
528
  const E = b(() => {
529
529
  const t = ce.value.map((l) => ({
@@ -532,12 +532,12 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
532
532
  })), o = ce.value.map((l) => l.value);
533
533
  return { head: t, body: o };
534
534
  });
535
- function ze(t = null) {
536
- qt(() => {
535
+ function Pe(t = null) {
536
+ jt(() => {
537
537
  const o = E.value.head.map((p, S) => [[
538
538
  p.name
539
- ], [E.value.body[S]], [isNaN(E.value.body[S] / ne.value) ? "-" : E.value.body[S] / ne.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = tl(l);
540
- t ? t(a) : ll({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-treemap" });
539
+ ], [E.value.body[S]], [isNaN(E.value.body[S] / ne.value) ? "-" : E.value.body[S] / ne.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = ol(l);
540
+ t ? t(a) : al({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-treemap" });
541
541
  });
542
542
  }
543
543
  const ge = b(() => {
@@ -592,29 +592,29 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
592
592
  config: l
593
593
  };
594
594
  });
595
- function Bt() {
595
+ function Et() {
596
596
  return ce.value;
597
597
  }
598
- function dt() {
599
- I.value.showTable = !I.value.showTable;
600
- }
601
598
  function ht() {
602
- I.value.showTooltip = !I.value.showTooltip;
599
+ D.value.showTable = !D.value.showTable;
600
+ }
601
+ function pt() {
602
+ D.value.showTooltip = !D.value.showTooltip;
603
603
  }
604
604
  const me = m(!1);
605
- function De() {
605
+ function ze() {
606
606
  me.value = !me.value;
607
607
  }
608
608
  const ye = m(null);
609
- function pt(t) {
609
+ function ft(t) {
610
610
  ye.value = t;
611
611
  }
612
- function ft() {
612
+ function gt() {
613
613
  ye.value = null;
614
614
  }
615
- async function Vt({ scale: t = 2 } = {}) {
615
+ async function Ut({ scale: t = 2 } = {}) {
616
616
  if (!V.value) return;
617
- const { width: o, height: l } = V.value.getBoundingClientRect(), a = o / l, { imageUri: p, base64: S } = await vl({ domElement: V.value, base64: !0, img: !0, scale: t });
617
+ const { width: o, height: l } = V.value.getBoundingClientRect(), a = o / l, { imageUri: p, base64: S } = await hl({ domElement: V.value, base64: !0, img: !0, scale: t });
618
618
  return {
619
619
  imageUri: p,
620
620
  base64: S,
@@ -625,7 +625,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
625
625
  };
626
626
  }
627
627
  const ve = b(() => {
628
- const t = e.value.table.useDialog && !e.value.table.show, o = I.value.showTable;
628
+ const t = e.value.table.useDialog && !e.value.table.show, o = D.value.showTable;
629
629
  return {
630
630
  component: t ? W : h,
631
631
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -654,50 +654,54 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
654
654
  }
655
655
  };
656
656
  });
657
- return ke(() => I.value.showTable, (t) => {
657
+ ke(() => D.value.showTable, (t) => {
658
658
  e.value.table.show || (t && e.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
659
- }), r({
660
- getData: Bt,
661
- getImage: Vt,
662
- generateCsv: ze,
663
- generateImage: et,
664
- generatePdf: Qe,
665
- toggleTable: dt,
666
- toggleTooltip: ht,
667
- toggleAnnotator: De,
668
- toggleFullscreen: it
659
+ });
660
+ function mt() {
661
+ D.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
662
+ }
663
+ return r({
664
+ getData: Et,
665
+ getImage: Ut,
666
+ generateCsv: Pe,
667
+ generateImage: tt,
668
+ generatePdf: et,
669
+ toggleTable: ht,
670
+ toggleTooltip: pt,
671
+ toggleAnnotator: ze,
672
+ toggleFullscreen: ct
669
673
  }), (t, o) => (d(), y("div", {
670
674
  ref_key: "treemapChart",
671
675
  ref: V,
672
- class: Re(`vue-ui-treemap ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
676
+ class: Le(`vue-ui-treemap ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
673
677
  style: M(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
674
678
  id: `treemap_${A.value}`,
675
- onMouseenter: o[4] || (o[4] = () => c(Ye)(!0)),
676
- onMouseleave: o[5] || (o[5] = () => c(Ye)(!1))
679
+ onMouseenter: o[2] || (o[2] = () => c(je)(!0)),
680
+ onMouseleave: o[3] || (o[3] = () => c(je)(!1))
677
681
  }, [
678
682
  e.value.userOptions.buttons.annotator ? (d(), Z(c(u), {
679
683
  key: 0,
680
- svgRef: c(Ze),
684
+ svgRef: c(Ke),
681
685
  backgroundColor: e.value.style.chart.backgroundColor,
682
686
  color: e.value.style.chart.color,
683
687
  active: me.value,
684
- onClose: De
688
+ onClose: ze
685
689
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : _("", !0),
686
- It.value ? (d(), y("div", {
690
+ Dt.value ? (d(), y("div", {
687
691
  key: 1,
688
692
  ref_key: "noTitle",
689
- ref: Ge,
693
+ ref: Xe,
690
694
  class: "vue-data-ui-no-title-space",
691
695
  style: "height:36px; width: 100%;background:transparent"
692
696
  }, null, 512)) : _("", !0),
693
697
  e.value.style.chart.title.text ? (d(), y("div", {
694
698
  key: 2,
695
699
  ref_key: "chartTitle",
696
- ref: Ue,
700
+ ref: He,
697
701
  style: M(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
698
702
  }, [
699
- (d(), Z(dl, {
700
- key: `title_${Xe.value}`,
703
+ (d(), Z(pl, {
704
+ key: `title_${qe.value}`,
701
705
  config: {
702
706
  title: {
703
707
  cy: "treemap-div-title",
@@ -712,14 +716,15 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
712
716
  ], 4)) : _("", !0),
713
717
  O("div", {
714
718
  id: `legend-top-${A.value}`
715
- }, null, 8, Tl),
716
- e.value.userOptions.show && N.value && (c(je) || c(Fe)) ? (d(), Z(c(g), {
717
- ref: "details",
718
- key: `user_option_${Ee.value}`,
719
+ }, null, 8, _l),
720
+ e.value.userOptions.show && F.value && (c(Ze) || c(De)) ? (d(), Z(c(g), {
721
+ ref_key: "userOptionsRef",
722
+ ref: Ie,
723
+ key: `user_option_${Ue.value}`,
719
724
  backgroundColor: e.value.style.chart.backgroundColor,
720
725
  color: e.value.style.chart.color,
721
- isPrinting: c(Ke),
722
- isImaging: c(Je),
726
+ isPrinting: c(Je),
727
+ isImaging: c(Qe),
723
728
  uid: A.value,
724
729
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
725
730
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -728,7 +733,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
728
733
  hasTable: e.value.userOptions.buttons.table,
729
734
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
730
735
  isFullscreen: K.value,
731
- isTooltip: I.value.showTooltip,
736
+ isTooltip: D.value.showTooltip,
732
737
  titles: { ...e.value.userOptions.buttonTitles },
733
738
  chartElement: V.value,
734
739
  position: e.value.userOptions.position,
@@ -736,17 +741,18 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
736
741
  isAnnotation: me.value,
737
742
  callbacks: e.value.userOptions.callbacks,
738
743
  printScale: e.value.userOptions.print.scale,
739
- onToggleFullscreen: it,
740
- onGeneratePdf: c(Qe),
741
- onGenerateCsv: ze,
742
- onGenerateImage: c(et),
743
- onToggleTable: dt,
744
- onToggleTooltip: ht,
745
- onToggleAnnotator: De,
744
+ tableDialog: e.value.table.useDialog,
745
+ onToggleFullscreen: ct,
746
+ onGeneratePdf: c(et),
747
+ onGenerateCsv: Pe,
748
+ onGenerateImage: c(tt),
749
+ onToggleTable: ht,
750
+ onToggleTooltip: pt,
751
+ onToggleAnnotator: ze,
746
752
  style: M({
747
- visibility: c(je) ? c(Fe) ? "visible" : "hidden" : "visible"
753
+ visibility: c(Ze) ? c(De) ? "visible" : "hidden" : "visible"
748
754
  })
749
- }, mt({ _: 2 }, [
755
+ }, bt({ _: 2 }, [
750
756
  t.$slots.menuIcon ? {
751
757
  name: "menuIcon",
752
758
  fn: T(({ isOpen: l, color: a }) => [
@@ -803,7 +809,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
803
809
  ]),
804
810
  key: "7"
805
811
  } : void 0
806
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
812
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
807
813
  j.value.length > 1 ? (d(), y("nav", {
808
814
  key: 4,
809
815
  class: "vue-ui-treemap-breadcrumbs",
@@ -811,31 +817,31 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
811
817
  ref_key: "breadcrumbsNav",
812
818
  ref: Se
813
819
  }, [
814
- (d(!0), y(Ce, null, Le(j.value, (l, a) => (d(), y("span", {
820
+ (d(!0), y(Ce, null, Me(j.value, (l, a) => (d(), y("span", {
815
821
  role: "button",
816
822
  tabindex: a < j.value.length - 1 ? 0 : void 0,
817
823
  key: l.id || "root",
818
824
  onClick: (p) => a === j.value.length - 1 ? () => {
819
825
  } : fe(l.node),
820
826
  onKeydown: [
821
- yt(Me((p) => a === j.value.length - 1 ? void 0 : fe(l.node), ["prevent"]), ["enter"]),
822
- yt(Me((p) => a === j.value.length - 1 ? void 0 : fe(l.node), ["prevent"]), ["space"])
827
+ kt(Be((p) => a === j.value.length - 1 ? void 0 : fe(l.node), ["prevent"]), ["enter"]),
828
+ kt(Be((p) => a === j.value.length - 1 ? void 0 : fe(l.node), ["prevent"]), ["space"])
823
829
  ],
824
830
  class: "vue-ui-treemap-crumb",
825
831
  "data-last-crumb": a === j.value.length - 1,
826
832
  style: M({
827
833
  color: e.value.style.chart.color
828
834
  }),
829
- onMouseenter: (p) => pt(a),
830
- onMouseleave: ft,
831
- onFocus: (p) => pt(a),
832
- onBlur: ft
835
+ onMouseenter: (p) => ft(a),
836
+ onMouseleave: gt,
837
+ onFocus: (p) => ft(a),
838
+ onBlur: gt
833
839
  }, [
834
- O("span", _l, [
835
- O("span", Ol, [
836
- C(t.$slots, "breadcrumb-label", Be({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: ye.value === a }), () => [
837
- a === 0 ? (d(), y("div", Al, [
838
- we(Tt, {
840
+ O("span", Al, [
841
+ O("span", Sl, [
842
+ C(t.$slots, "breadcrumb-label", Ve({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: ye.value === a }), () => [
843
+ a === 0 ? (d(), y("div", Il, [
844
+ we(_t, {
839
845
  name: ye.value === 0 ? "homeFilled" : "home",
840
846
  stroke: e.value.style.chart.color
841
847
  }, null, 8, ["name", "stroke"])
@@ -844,27 +850,27 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
844
850
  ], 64))
845
851
  ], !0)
846
852
  ]),
847
- a < j.value.length - 1 ? (d(), y("span", Sl, [
853
+ a < j.value.length - 1 ? (d(), y("span", Fl, [
848
854
  C(t.$slots, "breadcrumb-arrow", {}, () => [
849
- o[6] || (o[6] = $e(" › ", -1))
855
+ o[4] || (o[4] = $e(" › ", -1))
850
856
  ], !0)
851
857
  ])) : _("", !0)
852
858
  ])
853
- ], 44, xl))), 128))
859
+ ], 44, Ol))), 128))
854
860
  ], 512)) : _("", !0),
855
861
  (d(), y("svg", {
856
862
  ref_key: "svgRef",
857
- ref: Ze,
858
- xmlns: c(el),
859
- class: Re({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value, "vue-data-ui-zoom-plus": !ee.value, "vue-data-ui-zoom-minus": ee.value, loading: c(re) }),
863
+ ref: Ke,
864
+ xmlns: c(ll),
865
+ class: Le({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value, "vue-data-ui-zoom-plus": !ee.value, "vue-data-ui-zoom-minus": ee.value, loading: c(re) }),
860
866
  viewBox: `${se.value.startX} ${se.value.startY} ${se.value.width <= 0 ? 10 : se.value.width} ${se.value.height <= 0 ? 10 : se.value.height}`,
861
867
  style: M(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
862
868
  }, [
863
869
  we(c(f)),
864
- (d(!0), y(Ce, null, Le(ce.value, (l, a) => (d(), y("g", {
870
+ (d(!0), y(Ce, null, Me(ce.value, (l, a) => (d(), y("g", {
865
871
  key: `tgrad_${l.id}`
866
872
  }, [
867
- e.value.style.chart.layout.rects.gradient.show ? (d(), y("defs", Fl, [
873
+ e.value.style.chart.layout.rects.gradient.show ? (d(), y("defs", Nl, [
868
874
  O("radialGradient", {
869
875
  id: `tgrad_${l.id}`,
870
876
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
@@ -875,52 +881,52 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
875
881
  }, null, 8, Pl),
876
882
  O("stop", {
877
883
  offset: "100%",
878
- "stop-color": c(kt)(l.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
884
+ "stop-color": c(Ct)(l.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
879
885
  }, null, 8, zl)
880
- ], 8, Nl)
886
+ ], 8, Rl)
881
887
  ])) : _("", !0)
882
888
  ]))), 128)),
883
- (d(!0), y(Ce, null, Le(ce.value, (l, a) => (d(), y("g", {
889
+ (d(!0), y(Ce, null, Me(ce.value, (l, a) => (d(), y("g", {
884
890
  key: `k_${l.id}`
885
891
  }, [
886
892
  O("rect", {
887
893
  x: l.x0,
888
894
  y: l.y0,
889
- height: ut(l),
890
- width: rt(l),
895
+ height: rt(l),
896
+ width: it(l),
891
897
  fill: B.value ? l.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${l.id})` : l.color,
892
898
  rx: e.value.style.chart.layout.rects.borderRadius,
893
899
  stroke: L.value && L.value.id === l.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
894
900
  "stroke-width": L.value && L.value.id === l.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
895
- onClick: Me((p) => fe(l, a), ["stop"]),
896
- onMouseenter: () => Mt({
901
+ onClick: Be((p) => fe(l, a), ["stop"]),
902
+ onMouseenter: () => Vt({
897
903
  datapoint: l,
898
904
  seriesIndex: a
899
905
  }),
900
- onMouseleave: (p) => Lt({ datapoint: l, seriesIndex: a }),
906
+ onMouseleave: (p) => Bt({ datapoint: l, seriesIndex: a }),
901
907
  style: M(`opacity:${L.value ? L.value.id === l.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
902
- class: Re([
908
+ class: Le([
903
909
  "vue-ui-treemap-rect",
904
- Dt(l) ? "vue-data-ui-zoom-plus" : ee.value ? "vue-data-ui-zoom-minus" : ""
910
+ Lt(l) ? "vue-data-ui-zoom-plus" : ee.value ? "vue-data-ui-zoom-minus" : ""
905
911
  ])
906
- }, null, 46, Dl),
912
+ }, null, 46, Ll),
907
913
  (d(), y("foreignObject", {
908
914
  x: l.x0,
909
915
  y: l.y0,
910
- height: ut(l),
911
- width: rt(l),
916
+ height: rt(l),
917
+ width: it(l),
912
918
  class: "vue-ui-treemap-cell-foreignObject"
913
919
  }, [
914
- O("div", Ll, [
920
+ O("div", Bl, [
915
921
  e.value.style.chart.layout.labels.showDefaultLabels && (l.proportion > e.value.style.chart.layout.labels.hideUnderProportion || ee.value) ? (d(), y("div", {
916
922
  key: 0,
917
923
  class: "vue-ui-treemap-cell-default",
918
- style: M(`width:calc(100% - ${Q(l) / 1.5}px);text-align:left;line-height:${Q(l) < 14 ? 14 : Q(l)}px;padding:${Q(l) / 3}px; color:${c(wt)(l.color)}`)
924
+ style: M(`width:calc(100% - ${Q(l) / 1.5}px);text-align:left;line-height:${Q(l) < 14 ? 14 : Q(l)}px;padding:${Q(l) / 3}px; color:${c($t)(l.color)}`)
919
925
  }, [
920
926
  O("span", {
921
927
  style: M(`width:100%;font-size:${Q(l)}px;`)
922
928
  }, H(l.name), 5),
923
- o[7] || (o[7] = O("br", null, null, -1)),
929
+ o[5] || (o[5] = O("br", null, null, -1)),
924
930
  O("span", {
925
931
  style: M(`width:100%;font-size:${Q(l)}px;`)
926
932
  }, H(c(xe)(
@@ -935,7 +941,7 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
935
941
  { datapoint: l }
936
942
  )), 5)
937
943
  ], 4)) : _("", !0),
938
- c(re) ? _("", !0) : C(t.$slots, "rect", Be({
944
+ c(re) ? _("", !0) : C(t.$slots, "rect", Ve({
939
945
  key: 1,
940
946
  ref_for: !0
941
947
  }, {
@@ -943,39 +949,39 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
943
949
  shouldShow: l.proportion > e.value.style.chart.layout.labels.hideUnderProportion || ee.value,
944
950
  fontSize: Q(l),
945
951
  isZoom: ee.value,
946
- textColor: c(wt)(l.color)
952
+ textColor: c($t)(l.color)
947
953
  }), void 0, !0)
948
954
  ])
949
- ], 8, Rl))
955
+ ], 8, Ml))
950
956
  ]))), 128)),
951
957
  C(t.$slots, "svg", le(oe({ svg: J.value, isZoom: ee.value, rect: L.value, config: e.value })), void 0, !0)
952
- ], 14, Il)),
953
- t.$slots.watermark ? (d(), y("div", Ml, [
954
- C(t.$slots, "watermark", le(oe({ isPrinting: c(Ke) || c(Je) })), void 0, !0)
958
+ ], 14, Dl)),
959
+ t.$slots.watermark ? (d(), y("div", Vl, [
960
+ C(t.$slots, "watermark", le(oe({ isPrinting: c(Je) || c(Qe) })), void 0, !0)
955
961
  ])) : _("", !0),
956
962
  O("div", {
957
963
  id: `legend-bottom-${A.value}`
958
- }, null, 8, Bl),
959
- qe.value ? (d(), Z(Gt, {
964
+ }, null, 8, El),
965
+ Ye.value ? (d(), Z(qt, {
960
966
  key: 6,
961
967
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
962
968
  }, [
963
969
  O("div", {
964
970
  ref_key: "chartLegend",
965
- ref: He
971
+ ref: We
966
972
  }, [
967
- e.value.style.chart.legend.show ? (d(), Z(hl, {
973
+ e.value.style.chart.legend.show ? (d(), Z(fl, {
968
974
  key: `legend_${Ae.value}`,
969
- legendSet: ct.value,
970
- config: Rt.value,
975
+ legendSet: vt.value,
976
+ config: Mt.value,
971
977
  id: `treemap_legend_${A.value}`,
972
- onClickMarker: o[0] || (o[0] = ({ legend: l }) => vt(l))
978
+ onClickMarker: o[0] || (o[0] = ({ legend: l }) => dt(l))
973
979
  }, {
974
980
  item: T(({ legend: l, index: a }) => [
975
981
  c(re) ? _("", !0) : (d(), y("div", {
976
982
  key: 0,
977
- onClick: (p) => vt(l),
978
- style: M(`opacity:${R.value.includes(l.id) ? 0.5 : 1}`)
983
+ onClick: (p) => dt(l),
984
+ style: M(`opacity:${z.value.includes(l.id) ? 0.5 : 1}`)
979
985
  }, H(l.name) + H(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + H(e.value.style.chart.legend.showValue ? c(xe)(
980
986
  e.value.style.chart.layout.labels.formatter,
981
987
  l.value,
@@ -986,25 +992,25 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
986
992
  r: e.value.style.chart.legend.roundingValue
987
993
  }),
988
994
  { datapoint: l }
989
- ) : "") + " " + H(e.value.style.chart.legend.showPercentage ? R.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / ne.value) ? "-" : (l.value / ne.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, Vl))
995
+ ) : "") + " " + H(e.value.style.chart.legend.showPercentage ? z.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / ne.value) ? "-" : (l.value / ne.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, Ul))
990
996
  ]),
991
997
  _: 1
992
998
  }, 8, ["legendSet", "config", "id"])) : C(t.$slots, "legend", {
993
999
  key: 1,
994
- legend: ct.value
1000
+ legend: vt.value
995
1001
  }, void 0, !0)
996
1002
  ], 512)
997
1003
  ], 8, ["to"])) : _("", !0),
998
1004
  t.$slots.source ? (d(), y("div", {
999
1005
  key: 7,
1000
1006
  ref_key: "source",
1001
- ref: We,
1007
+ ref: Ge,
1002
1008
  dir: "auto"
1003
1009
  }, [
1004
1010
  C(t.$slots, "source", {}, void 0, !0)
1005
1011
  ], 512)) : _("", !0),
1006
1012
  we(c(v), {
1007
- show: I.value.showTooltip && P.value,
1013
+ show: D.value.showTooltip && N.value,
1008
1014
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1009
1015
  color: e.value.style.chart.tooltip.color,
1010
1016
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1017,23 +1023,23 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
1017
1023
  parent: V.value,
1018
1024
  content: _e.value,
1019
1025
  isFullscreen: K.value,
1020
- isCustom: c(Ct)(e.value.style.chart.tooltip.customFormat),
1026
+ isCustom: c(Tt)(e.value.style.chart.tooltip.customFormat),
1021
1027
  smooth: e.value.style.chart.tooltip.smooth,
1022
1028
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
1023
1029
  }, {
1024
1030
  "tooltip-before": T(() => [
1025
- C(t.$slots, "tooltip-before", le(oe({ ...Pe.value })), void 0, !0)
1031
+ C(t.$slots, "tooltip-before", le(oe({ ...Re.value })), void 0, !0)
1026
1032
  ]),
1027
1033
  "tooltip-after": T(() => [
1028
- C(t.$slots, "tooltip-after", le(oe({ ...Pe.value })), void 0, !0)
1034
+ C(t.$slots, "tooltip-after", le(oe({ ...Re.value })), void 0, !0)
1029
1035
  ]),
1030
1036
  _: 3
1031
1037
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1032
- N.value ? (d(), Z(Xt(ve.value.component), Be({ key: 8 }, ve.value.props, {
1038
+ F.value ? (d(), Z(Yt(ve.value.component), Ve({ key: 8 }, ve.value.props, {
1033
1039
  ref_key: "tableUnit",
1034
1040
  ref: ue,
1035
- onClose: o[3] || (o[3] = (l) => I.value.showTable = !1)
1036
- }), mt({
1041
+ onClose: mt
1042
+ }), bt({
1037
1043
  content: T(() => [
1038
1044
  (d(), Z(c(i), {
1039
1045
  key: `table_${Oe.value}`,
@@ -1043,13 +1049,13 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
1043
1049
  config: ge.value.config,
1044
1050
  title: e.value.table.useDialog ? "" : ve.value.title,
1045
1051
  withCloseButton: !e.value.table.useDialog,
1046
- onClose: o[2] || (o[2] = (l) => I.value.showTable = !1)
1052
+ onClose: mt
1047
1053
  }, {
1048
1054
  th: T(({ th: l }) => [
1049
1055
  O("div", {
1050
1056
  innerHTML: l,
1051
1057
  style: { display: "flex", "align-items": "center" }
1052
- }, null, 8, El)
1058
+ }, null, 8, Hl)
1053
1059
  ]),
1054
1060
  td: T(({ td: l }) => [
1055
1061
  $e(H(l.name || l), 1)
@@ -1072,9 +1078,9 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
1072
1078
  O("button", {
1073
1079
  tabindex: "0",
1074
1080
  class: "vue-ui-user-options-button",
1075
- onClick: o[1] || (o[1] = (l) => ze(e.value.userOptions.callbacks.csv))
1081
+ onClick: o[1] || (o[1] = (l) => Pe(e.value.userOptions.callbacks.csv))
1076
1082
  }, [
1077
- we(Tt, {
1083
+ we(_t, {
1078
1084
  name: "excel",
1079
1085
  stroke: ve.value.props.color
1080
1086
  }, null, 8, ["stroke"])
@@ -1083,10 +1089,10 @@ const $l = ["id"], Tl = ["id"], xl = ["tabindex", "onClick", "onKeydown", "data-
1083
1089
  key: "1"
1084
1090
  } : void 0
1085
1091
  ]), 1040)) : _("", !0),
1086
- c(re) ? (d(), Z(ul, { key: 9 })) : _("", !0)
1087
- ], 46, $l));
1092
+ c(re) ? (d(), Z(il, { key: 9 })) : _("", !0)
1093
+ ], 46, xl));
1088
1094
  }
1089
- }, lo = /* @__PURE__ */ pl(Ul, [["__scopeId", "data-v-3a726c85"]]);
1095
+ }, ao = /* @__PURE__ */ gl(Wl, [["__scopeId", "data-v-d46b680a"]]);
1090
1096
  export {
1091
- lo as default
1097
+ ao as default
1092
1098
  };