vue-data-ui 3.16.0 → 3.16.1

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 (136) hide show
  1. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  2. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  3. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-DPO-OOVI.js} +1 -1
  4. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  5. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-history-plot.js +1 -1
  31. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  32. package/dist/components/vue-ui-kpi.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +1 -0
  71. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DXGkXRnC.js} +63 -63
  72. package/dist/vue-data-ui.js +63 -63
  73. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-BaFpQnd5.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-CRM498Pc.js} +342 -341
  75. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  76. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-BBiwof3c.js} +1 -1
  77. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-Brxpu4xV.js} +1 -1
  78. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DAnZv77-.js} +240 -239
  79. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-BHRZBYY0.js} +1 -1
  80. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-CbrYnRgm.js} +1 -1
  81. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-CaX_IUVs.js} +1 -1
  82. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-CR3h53sc.js} +1 -1
  83. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-Cjfazw7Z.js} +1 -1
  84. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-B9vH3c66.js} +1 -1
  85. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-DWll05qs.js} +62 -62
  86. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-DcM67rMx.js} +1 -1
  87. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Be5G38P5.js} +395 -394
  88. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-BLSesj3c.js} +265 -264
  89. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-DIMiCY4r.js} +1 -1
  90. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-zvZylhgr.js} +1 -1
  91. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-CSri-oWm.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-CGykxsAI.js} +1 -1
  93. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-D1MNB9Jq.js} +1 -1
  94. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-DdJDGhG2.js} +1 -1
  95. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-BZYRHGFm.js} +1 -1
  96. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-CryOx6XK.js} +494 -482
  97. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-C85iw9Kl.js} +1 -1
  98. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-BoBZOybC.js} +430 -429
  99. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-DHrolXw6.js} +1 -1
  100. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-DJ_BQ4DK.js} +1 -1
  101. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-CBE02TpQ.js} +1 -1
  102. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-YTFtb4CL.js} +284 -283
  103. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-B9l81-PS.js} +1 -1
  104. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-C1e_rs8J.js} +1 -1
  105. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-C1qsLCRn.js} +556 -555
  106. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DFoz3WiA.js} +360 -359
  107. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-Cmo3p-UA.js} +1 -1
  108. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-BqwznVwf.js} +1 -1
  109. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CDk9eXJq.js} +1 -1
  110. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-BRkGoQdL.js} +1 -1
  111. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-BxDtWASQ.js} +479 -466
  112. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-D6kTb9aO.js} +1 -1
  113. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-D8Mf2A1w.js} +1 -1
  114. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-BbYj56c3.js} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DXzOSLRb.js} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-DMfSx1iH.js} +1 -1
  117. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-D-rQ9PsC.js} +439 -438
  118. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-DK5n8IKP.js} +1 -1
  119. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-BHthy6jf.js} +212 -211
  120. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-C6-WNpKD.js} +363 -362
  121. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-CHu-1ilI.js} +1 -1
  122. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DW9JGsLq.js} +2 -2
  123. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  124. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-CXK1dFr-.js} +1 -1
  125. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-BN8tflOz.js} +1 -1
  126. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-DGT0UBOF.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-BZ-osQqY.js} +1 -1
  128. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-98KaVRyd.js} +388 -387
  129. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-Cb7oJnIc.js} +1 -1
  130. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-sfew1fjw.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-vq1t9JHr.js} +1 -1
  132. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-CN0f6elD.js} +1 -1
  133. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-BdzEiImZ.js} +956 -955
  134. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  135. package/package.json +1 -1
  136. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as Ne, useSlots as Fl, onMounted as No, computed as w, ref as b, shallowRef as Ce, toRefs as Ll, watch as Be, onBeforeUnmount as Nl, openBlock as d, createElementBlock as S, unref as y, normalizeStyle as xe, normalizeClass as Zt, createElementVNode as H, toDisplayString as tt, createBlock as he, createCommentVNode as L, withCtx as A, renderSlot as k, normalizeProps as X, guardReactiveProps as j, createSlots as Bo, Fragment as ot, renderList as ht, withKeys as Ro, withModifiers as Jt, mergeProps as ft, createVNode as pt, createTextVNode as gt, Teleport as Bl, resolveDynamicComponent as Rl, nextTick as Do } from "vue";
1
+ import { defineAsyncComponent as Ne, useSlots as Fl, onMounted as No, computed as k, ref as b, shallowRef as Ce, toRefs as Ll, watch as Be, onBeforeUnmount as Nl, openBlock as v, createElementBlock as A, unref as y, normalizeStyle as xe, normalizeClass as Zt, createElementVNode as E, toDisplayString as tt, createBlock as he, createCommentVNode as N, withCtx as M, renderSlot as C, normalizeProps as X, guardReactiveProps as j, createSlots as Bo, Fragment as ot, renderList as ht, withKeys as Ro, withModifiers as Jt, mergeProps as ft, createVNode as pt, createTextVNode as gt, Teleport as Bl, resolveDynamicComponent as Rl, nextTick as Do } from "vue";
2
2
  import { j as yt, t as zo, m as Dl, p as G, n as zl, o as Vo, q as Vl, s as lt, k as mt, l as at, X as Qt, x as bt, W as wt, T as Ho, a0 as Hl, a1 as El, az as kt, aA as eo, U as Wl } from "./lib-DBptbyyI.js";
3
3
  import { t as Ul, u as Yl } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Xl } from "./useConfig-DO94Aj5s.js";
@@ -17,164 +17,164 @@ import Eo from "./BaseIcon-Cb3zzG6s.js";
17
17
  import { A as aa } from "./A11yDataTable-KcVAX2cP.js";
18
18
  import { B as na } from "./BaseLegendToggle-BQVIawmA.js";
19
19
  import { _ as sa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
- function Wo(i, p) {
21
- const v = i.length;
22
- if (v === 0)
23
- throw new Error(`Max aspect ratio cannot be computed: ${i} is an empty array`);
20
+ function Wo(r, p) {
21
+ const h = r.length;
22
+ if (h === 0)
23
+ throw new Error(`Max aspect ratio cannot be computed: ${r} is an empty array`);
24
24
  {
25
- let g = 1 / 0, f = -1 / 0, C = 0;
26
- for (let P = 0; P < v; P += 1) {
27
- const T = i[P].normalizedValue;
28
- T < g && (g = T), T > f && (f = T), C += T;
25
+ let g = 1 / 0, f = -1 / 0, x = 0;
26
+ for (let P = 0; P < h; P += 1) {
27
+ const S = r[P].normalizedValue;
28
+ S < g && (g = S), S > f && (f = S), x += S;
29
29
  }
30
30
  return Math.max(
31
- p ** 2 * f / C ** 2,
32
- C ** 2 / (p ** 2 * g)
31
+ p ** 2 * f / x ** 2,
32
+ x ** 2 / (p ** 2 * g)
33
33
  );
34
34
  }
35
35
  }
36
- function Uo(i) {
37
- const { xOffset: p, yOffset: v, width: g, height: f } = i;
36
+ function Uo(r) {
37
+ const { xOffset: p, yOffset: h, width: g, height: f } = r;
38
38
  return {
39
39
  x0: p,
40
- y0: v,
40
+ y0: h,
41
41
  x1: p + g,
42
- y1: v + f
42
+ y1: h + f
43
43
  };
44
44
  }
45
- function ua(i, p, v) {
46
- if (i.length === 0)
45
+ function ua(r, p, h) {
46
+ if (r.length === 0)
47
47
  return !0;
48
48
  {
49
- const g = i.concat(p), f = Wo(
50
- i,
51
- v
52
- ), C = Wo(g, v);
53
- return f >= C;
49
+ const g = r.concat(p), f = Wo(
50
+ r,
51
+ h
52
+ ), x = Wo(g, h);
53
+ return f >= x;
54
54
  }
55
55
  }
56
- function ra(i) {
57
- const p = [], v = i.length;
58
- for (let g = 0; g < v; g += 1) {
59
- const f = i[g], C = f.length;
60
- for (let m = 0; m < C; m += 1)
56
+ function ra(r) {
57
+ const p = [], h = r.length;
58
+ for (let g = 0; g < h; g += 1) {
59
+ const f = r[g], x = f.length;
60
+ for (let m = 0; m < x; m += 1)
61
61
  p.push(f[m]);
62
62
  }
63
63
  return p;
64
64
  }
65
- function Yo(i, p) {
66
- const v = {
65
+ function Yo(r, p) {
66
+ const h = {
67
67
  ...p,
68
- children: i
68
+ children: r
69
69
  };
70
- return jo(v);
70
+ return jo(h);
71
71
  }
72
- function ia(i) {
73
- return (i.x1 - i.x0) * (i.y1 - i.y0);
72
+ function ia(r) {
73
+ return (r.x1 - r.x0) * (r.y1 - r.y0);
74
74
  }
75
- function Xo(i, p) {
76
- const { width: v, height: g, xOffset: f, yOffset: C } = oo(p), m = i.length, P = i.map((x) => x.normalizedValue || 0).reduce((x, D) => x + D, 0), T = P / g, $e = P / v;
77
- let ue = f, fe = C;
75
+ function Xo(r, p) {
76
+ const { width: h, height: g, xOffset: f, yOffset: x } = oo(p), m = r.length, P = r.map(($) => $.normalizedValue || 0).reduce(($, V) => $ + V, 0), S = P / g, $e = P / h;
77
+ let ue = f, fe = x;
78
78
  const Z = [];
79
- if (v >= g) {
80
- for (let x = 0; x < m; x += 1) {
81
- const D = i[x], pe = fe + D.normalizedValue / T, Te = {
79
+ if (h >= g) {
80
+ for (let $ = 0; $ < m; $ += 1) {
81
+ const V = r[$], pe = fe + V.normalizedValue / S, Te = {
82
82
  x0: ue,
83
83
  y0: fe,
84
- x1: ue + T,
84
+ x1: ue + S,
85
85
  y1: pe
86
- }, ge = Object.assign({}, D, Te);
86
+ }, ge = Object.assign({}, V, Te);
87
87
  fe = pe, Z.push(ge);
88
88
  }
89
89
  return Z;
90
90
  } else {
91
- for (let x = 0; x < m; x += 1) {
92
- const D = i[x], pe = ue + D.normalizedValue / $e, Te = {
91
+ for (let $ = 0; $ < m; $ += 1) {
92
+ const V = r[$], pe = ue + V.normalizedValue / $e, Te = {
93
93
  x0: ue,
94
94
  y0: fe,
95
95
  x1: pe,
96
96
  y1: fe + $e
97
- }, ge = Object.assign({}, D, Te);
97
+ }, ge = Object.assign({}, V, Te);
98
98
  ue = pe, Z.push(ge);
99
99
  }
100
100
  return Z;
101
101
  }
102
102
  }
103
- function ca(i) {
104
- const p = oo(i), v = p.width, g = p.height;
105
- return Math.min(v, g);
103
+ function ca(r) {
104
+ const p = oo(r), h = p.width, g = p.height;
105
+ return Math.min(h, g);
106
106
  }
107
- function da(i, p) {
108
- const v = i.length, g = i.map((T) => T.value ?? 0).reduce((T, $e) => T + $e, 0), f = p / g, C = [];
107
+ function da(r, p) {
108
+ const h = r.length, g = r.map((S) => S.value ?? 0).reduce((S, $e) => S + $e, 0), f = p / g, x = [];
109
109
  let m, P;
110
- for (let T = 0; T < v; T += 1)
111
- P = i[T], m = Object.assign({}, P, {
110
+ for (let S = 0; S < h; S += 1)
111
+ P = r[S], m = Object.assign({}, P, {
112
112
  normalizedValue: P.value * (f || 0)
113
- }), C.push(m);
114
- return C;
113
+ }), x.push(m);
114
+ return x;
115
115
  }
116
- function oo(i) {
117
- const { x0: p, y0: v, x1: g, y1: f } = i;
116
+ function oo(r) {
117
+ const { x0: p, y0: h, x1: g, y1: f } = r;
118
118
  return {
119
119
  xOffset: p,
120
- yOffset: v,
120
+ yOffset: h,
121
121
  width: g - p,
122
- height: f - v
122
+ height: f - h
123
123
  };
124
124
  }
125
- function va(i, p, v, g) {
126
- let f = i, C = p, m = v, P = g;
125
+ function va(r, p, h, g) {
126
+ let f = r, x = p, m = h, P = g;
127
127
  for (; ; ) {
128
- const T = f.length;
129
- if (T === 0) {
130
- const Z = Xo(C, m);
128
+ const S = f.length;
129
+ if (S === 0) {
130
+ const Z = Xo(x, m);
131
131
  return P.concat(Z);
132
132
  }
133
- const $e = ca(m), ue = f[0], fe = f.slice(1, T);
134
- if (ua(C, ue, $e)) {
135
- const Z = C.concat(ue);
136
- f = fe, C = Z, m = m, P = P;
133
+ const $e = ca(m), ue = f[0], fe = f.slice(1, S);
134
+ if (ua(x, ue, $e)) {
135
+ const Z = x.concat(ue);
136
+ f = fe, x = Z, m = m, P = P;
137
137
  } else {
138
- const Z = C.length;
139
- let x = 0;
138
+ const Z = x.length;
139
+ let $ = 0;
140
140
  for (let ge = 0; ge < Z; ge += 1)
141
- x += C[ge].normalizedValue;
142
- const D = ha(m, x), pe = Xo(C, m), Te = P.concat(pe);
143
- f = f, C = [], m = D, P = Te;
141
+ $ += x[ge].normalizedValue;
142
+ const V = ha(m, $), pe = Xo(x, m), Te = P.concat(pe);
143
+ f = f, x = [], m = V, P = Te;
144
144
  }
145
145
  }
146
146
  }
147
- function jo(i) {
148
- if (typeof i.children > "u" || !i.children.length)
149
- return [i];
147
+ function jo(r) {
148
+ if (typeof r.children > "u" || !r.children.length)
149
+ return [r];
150
150
  {
151
151
  const p = da(
152
- i.children,
153
- ia(i)
154
- ), v = va(p, [], i, []), g = v.length, f = [];
152
+ r.children,
153
+ ia(r)
154
+ ), h = va(p, [], r, []), g = h.length, f = [];
155
155
  for (let m = 0; m < g; m += 1)
156
- f.push(jo(v[m]));
156
+ f.push(jo(h[m]));
157
157
  return ra(f);
158
158
  }
159
159
  }
160
- function ha(i, p) {
161
- const { width: v, height: g, xOffset: f, yOffset: C } = oo(i);
162
- if (v >= g) {
163
- const m = p / g, P = v - m, T = {
160
+ function ha(r, p) {
161
+ const { width: h, height: g, xOffset: f, yOffset: x } = oo(r);
162
+ if (h >= g) {
163
+ const m = p / g, P = h - m, S = {
164
164
  xOffset: f + m,
165
- yOffset: C,
165
+ yOffset: x,
166
166
  width: P,
167
167
  height: g
168
168
  };
169
- return Uo(T);
169
+ return Uo(S);
170
170
  } else {
171
- const m = p / v, P = g - m, T = {
171
+ const m = p / h, P = g - m, S = {
172
172
  xOffset: f,
173
- yOffset: C + m,
174
- width: v,
173
+ yOffset: x + m,
174
+ width: h,
175
175
  height: P
176
176
  };
177
- return Uo(T);
177
+ return Uo(S);
178
178
  }
179
179
  }
180
180
  const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], ma = { class: "vue-ui-treemap-crumb-unit" }, ba = { class: "vue-ui-treemap-crumb-unit-label" }, wa = {
@@ -214,12 +214,12 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
214
214
  }
215
215
  },
216
216
  emits: ["selectLegend", "selectDatapoint", "copyAlt"],
217
- setup(i, { expose: p, emit: v }) {
218
- const g = Ne(() => import("./DataTable-DT2kIdQ6.js")), f = Ne(() => import("./PenAndPaper-DARlvvKW.js")), C = Ne(() => import("./vue-ui-accordion-nvggWcGN.js")), m = Ne(() => import("./Tooltip-Bf-kM3_A.js")), P = Ne(() => import("./UserOptions-DWHf8jyO.js")), T = Ne(() => import("./PackageVersion-IIGK_e2C.js")), $e = Ne(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_treemap: ue } = Xl(), { isThemeValid: fe, warnInvalidTheme: Z } = Zl(), x = i, D = v, pe = Fl();
217
+ setup(r, { expose: p, emit: h }) {
218
+ const g = Ne(() => import("./DataTable-DT2kIdQ6.js")), f = Ne(() => import("./PenAndPaper-Ct3qJ4lA.js")), x = Ne(() => import("./vue-ui-accordion-nvggWcGN.js")), m = Ne(() => import("./Tooltip-Bf-kM3_A.js")), P = Ne(() => import("./UserOptions-rW2fRf3V.js")), S = Ne(() => import("./PackageVersion-DPO-OOVI.js")), $e = Ne(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_treemap: ue } = Xl(), { isThemeValid: fe, warnInvalidTheme: Z } = Zl(), $ = r, V = h, pe = Fl();
219
219
  No(() => {
220
220
  pe["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
221
221
  });
222
- const Te = w(() => !!x.dataset && x.dataset.length), ge = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), le = b(yt()), Ue = b(!1), Ct = b(""), Ie = b(!1), lo = b(0), N = b([]), re = Ce(null), ao = Ce(null), no = Ce(null), so = Ce(null), uo = Ce(null), ro = b(0), xt = b(0), $t = b(0), I = b([]), Tt = b(null), io = b(!1), Ye = b(null), St = b(null), Xe = b(null), K = b(/* @__PURE__ */ new Map()), nt = b(!1), st = b(!1), ye = b(null), co = b({ x: 0, y: 0 }), je = b("pointer"), At = b(!1), t = b(Ot()), Se = w(() => t.value.userOptions.useCursorPointer), Ko = w(() => zo({
222
+ const Te = k(() => !!$.dataset && $.dataset.length), ge = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), le = b(yt()), Ue = b(!1), Ct = b(""), Ie = b(!1), lo = b(0), B = b([]), re = Ce(null), ao = Ce(null), no = Ce(null), so = Ce(null), uo = Ce(null), ro = b(0), xt = b(0), $t = b(0), I = b([]), Tt = b(null), io = b(!1), Ye = b(null), St = b(null), Xe = b(null), K = b(/* @__PURE__ */ new Map()), nt = b(!1), st = b(!1), ye = b(null), co = b({ x: 0, y: 0 }), je = b("pointer"), At = b(!1), t = b(Ot()), Se = k(() => t.value.userOptions.useCursorPointer), Ko = k(() => zo({
223
223
  defaultConfig: {
224
224
  userOptions: { show: !1 },
225
225
  style: {
@@ -241,10 +241,10 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
241
241
  },
242
242
  userConfig: t.value.skeletonConfig ?? {}
243
243
  })), { loading: Ae, FINAL_DATASET: Mt, manualLoading: qo } = jl({
244
- ...Ll(x),
244
+ ...Ll($),
245
245
  FINAL_CONFIG: t,
246
246
  prepareConfig: Ot,
247
- skeletonDataset: x.config?.skeletonDataset ?? [
247
+ skeletonDataset: $.config?.skeletonDataset ?? [
248
248
  {
249
249
  name: "_",
250
250
  value: 53,
@@ -267,17 +267,17 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
267
267
  }), { userOptionsVisible: Pt, setUserOptionsVisibility: vo, keepUserOptionState: ho } = Jl({ config: t.value }), { svgRef: Fe } = Ql({ config: t.value.style.chart.title });
268
268
  function Ot() {
269
269
  const e = to({
270
- userConfig: x.config,
270
+ userConfig: $.config,
271
271
  defaultConfig: ue
272
272
  }), l = e.theme;
273
273
  if (!l) return e;
274
274
  if (!fe.value(e))
275
275
  return Z(e), e;
276
276
  const o = to({
277
- userConfig: oa[l] || x.config,
277
+ userConfig: oa[l] || $.config,
278
278
  defaultConfig: e
279
279
  }), a = to({
280
- userConfig: x.config,
280
+ userConfig: $.config,
281
281
  defaultConfig: o
282
282
  });
283
283
  return {
@@ -285,14 +285,14 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
285
285
  customPalette: a.customPalette.length ? a.customPalette : Dl[l] || G
286
286
  };
287
287
  }
288
- Be(() => x.config, (e) => {
288
+ Be(() => $.config, (e) => {
289
289
  Ae.value || (t.value = Ot()), Pt.value = !t.value.userOptions.showOnChartHover, ro.value += 1, xt.value += 1, $t.value += 1, J.value.showTable = t.value.table.show, J.value.showTooltip = t.value.style.chart.tooltip.show;
290
290
  }, { deep: !0 });
291
291
  const { isPrinting: _t, isImaging: It, generatePdf: fo, generateImage: po } = ql({
292
292
  elementId: `treemap_${le.value}`,
293
293
  fileName: t.value.style.chart.title.text || "vue-ui-treemap",
294
294
  options: t.value.userOptions.print
295
- }), Go = w(() => t.value.userOptions.show && !t.value.style.chart.title.text), ut = w(() => zl(t.value.customPalette)), J = b({
295
+ }), Go = k(() => t.value.userOptions.show && !t.value.style.chart.title.text), ut = k(() => zl(t.value.customPalette)), J = b({
296
296
  showTable: t.value.table.show,
297
297
  showTooltip: t.value.style.chart.tooltip.show
298
298
  });
@@ -317,15 +317,15 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
317
317
  const e = Tt.value, l = getComputedStyle(e), o = e.offsetHeight + parseFloat(l.marginTop || "0") + parseFloat(l.marginBottom || "0") + parseFloat(l.paddingTop || "0") + parseFloat(l.paddingBottom || "0");
318
318
  return Zo(o);
319
319
  }
320
- const B = w(() => {
321
- const e = t.value.style.chart.padding, l = Le.value.width, o = Le.value.height, a = Jo(), n = e.left, s = l - e.right, u = e.top, r = o - e.bottom - a;
320
+ const D = k(() => {
321
+ const e = t.value.style.chart.padding, l = Le.value.width, o = Le.value.height, a = Jo(), n = e.left, s = l - e.right, u = e.top, i = o - e.bottom - a;
322
322
  return {
323
323
  left: n,
324
324
  top: u,
325
325
  right: s,
326
- bottom: r,
326
+ bottom: i,
327
327
  width: s - n,
328
- height: Math.max(0, r - u),
328
+ height: Math.max(0, i - u),
329
329
  vbWidth: l,
330
330
  vbHeight: o - a,
331
331
  offsetY: a
@@ -338,7 +338,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
338
338
  },
339
339
  { deep: !0 }
340
340
  ), Be(
341
- () => N.value,
341
+ () => B.value,
342
342
  () => {
343
343
  Xe.value = null, K.value = /* @__PURE__ */ new Map();
344
344
  },
@@ -380,13 +380,13 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
380
380
  No(() => {
381
381
  io.value = !0, tl();
382
382
  });
383
- const el = w(() => t.value.debug);
383
+ const el = k(() => t.value.debug);
384
384
  function tl() {
385
- if (Vo(x.dataset) && Vl({
385
+ if (Vo($.dataset) && Vl({
386
386
  componentName: "VueUiTreemap",
387
387
  type: "dataset",
388
388
  debug: el.value
389
- }), yo(Y.value), Vo(x.dataset) || (qo.value = t.value.loading), t.value.responsive) {
389
+ }), yo(Y.value), Vo($.dataset) || (qo.value = t.value.loading), t.value.responsive) {
390
390
  const e = Ul(() => {
391
391
  const { width: l, height: o } = Yl({
392
392
  chart: re.value,
@@ -405,10 +405,10 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
405
405
  Nl(() => {
406
406
  Pe.value && (Re.value && Pe.value.unobserve(Re.value), Pe.value.disconnect());
407
407
  });
408
- const Ke = w(() => Me.value.map((e, l) => ({
408
+ const Ke = k(() => Me.value.map((e, l) => ({
409
409
  ...e,
410
410
  color: lt(e.color) || ut.value[l] || G[l] || G[l % G.length]
411
- })).filter((e) => !N.value.includes(e.id))), De = w(() => Y.value.filter((e) => !N.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)), Ft = w({
411
+ })).filter((e) => !B.value.includes(e.id))), De = k(() => Y.value.filter((e) => !B.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)), Ft = k({
412
412
  get() {
413
413
  let e = [...Ke.value];
414
414
  return t.value.style.chart.layout.sorted && (e = [...Ke.value].sort((l, o) => o.value - l.value)), e.map((l) => ({
@@ -439,34 +439,34 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
439
439
  });
440
440
  }
441
441
  function ko(e, l, o, a, n) {
442
- return ll(e).map((u, r) => {
442
+ return ll(e).map((u, i) => {
443
443
  const c = ol(
444
- lt(l) || ut.value[r] || G[r] || G[r % G.length],
444
+ lt(l) || ut.value[i] || G[i] || G[i % G.length],
445
445
  u,
446
446
  a
447
- ), h = bo(u, a), M = n ?? u.parentId ?? u.id;
447
+ ), d = bo(u, a), w = n ?? u.parentId ?? u.id;
448
448
  return {
449
449
  ...u,
450
450
  color: c,
451
- proportion: h,
451
+ proportion: d,
452
452
  parentName: o,
453
- rootId: M,
453
+ rootId: w,
454
454
  children: Array.isArray(u.children) && u.children.length ? ko(
455
455
  u.children,
456
456
  c,
457
457
  u.name,
458
458
  a,
459
- M
459
+ w
460
460
  ) : void 0
461
461
  };
462
462
  });
463
463
  }
464
- const Co = w(() => {
464
+ const Co = k(() => {
465
465
  const e = Ft.value.map((n) => Number(n.value) || 0).reduce((n, s) => n + s, 0) || 1, l = Ft.value.map((n) => {
466
- const s = n.children ? n.children.reduce((q, Oe) => q + (Number(Oe.value) || 0), 0) : n.value, { children: u, parentId: r, id: c, value: h, name: M, color: R, ...$ } = n, V = n.id || yt();
466
+ const s = n.children ? n.children.reduce((q, Oe) => q + (Number(Oe.value) || 0), 0) : n.value, { children: u, parentId: i, id: c, value: d, name: w, color: z, ...T } = n, H = n.id || yt();
467
467
  return {
468
- ...$,
469
- id: V,
468
+ ...T,
469
+ id: H,
470
470
  name: n.name,
471
471
  value: n.value,
472
472
  color: n.color,
@@ -481,77 +481,77 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
481
481
  });
482
482
  if (I.value.length === 0) {
483
483
  if (!Xe.value) {
484
- const r = { x0: 0, y0: 0, x1: 1, y1: 1 };
485
- Xe.value = Yo(l, r);
484
+ const i = { x0: 0, y0: 0, x1: 1, y1: 1 };
485
+ Xe.value = Yo(l, i);
486
486
  }
487
487
  const n = {
488
- x0: B.value.left,
489
- y0: B.value.top,
490
- x1: B.value.left + B.value.width,
491
- y1: B.value.top + B.value.height
488
+ x0: D.value.left,
489
+ y0: D.value.top,
490
+ x1: D.value.left + D.value.width,
491
+ y1: D.value.top + D.value.height
492
492
  }, s = n.x1 - n.x0, u = n.y1 - n.y0;
493
- return Xe.value.map((r) => ({
494
- ...r,
495
- x0: n.x0 + r.x0 * s,
496
- x1: n.x0 + r.x1 * s,
497
- y0: n.y0 + r.y0 * u,
498
- y1: n.y0 + r.y1 * u
493
+ return Xe.value.map((i) => ({
494
+ ...i,
495
+ x0: n.x0 + i.x0 * s,
496
+ x1: n.x0 + i.x1 * s,
497
+ y0: n.y0 + i.y0 * u,
498
+ y1: n.y0 + i.y1 * u
499
499
  }));
500
500
  }
501
501
  const a = {
502
- x0: B.value.left,
503
- y0: B.value.top,
504
- x1: B.value.left + B.value.width,
505
- y1: B.value.top + B.value.height
502
+ x0: D.value.left,
503
+ y0: D.value.top,
504
+ x1: D.value.left + D.value.width,
505
+ y1: D.value.top + D.value.height
506
506
  };
507
507
  return Yo(l, a);
508
508
  });
509
509
  function al(e) {
510
510
  const l = I.value.length ? I.value[I.value.length - 1] : null, o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
511
- for (const r of e) {
512
- let c = rl(r.id);
511
+ for (const i of e) {
512
+ let c = rl(i.id);
513
513
  if (l) {
514
- const h = c.indexOf(l);
515
- if (h >= 0)
516
- c = c.slice(h);
514
+ const d = c.indexOf(l);
515
+ if (d >= 0)
516
+ c = c.slice(d);
517
517
  else
518
518
  continue;
519
519
  }
520
- c = c.filter((h) => {
521
- const M = te(h);
522
- return M && Array.isArray(M.children) && M.children.length;
523
- }), c.length && (c.forEach((h, M) => {
524
- const R = te(h);
525
- if (!R) return;
526
- let $ = o.get(h);
527
- $ ? ($.x0 = Math.min($.x0, r.x0), $.y0 = Math.min($.y0, r.y0), $.x1 = Math.max($.x1, r.x1), $.y1 = Math.max($.y1, r.y1), $.depth = Math.min($.depth, M)) : ($ = {
528
- id: h,
529
- name: R.name,
530
- value: R.value,
531
- color: R.color,
532
- x0: r.x0,
533
- y0: r.y0,
534
- x1: r.x1,
535
- y1: r.y1,
536
- depth: M
520
+ c = c.filter((d) => {
521
+ const w = te(d);
522
+ return w && Array.isArray(w.children) && w.children.length;
523
+ }), c.length && (c.forEach((d, w) => {
524
+ const z = te(d);
525
+ if (!z) return;
526
+ let T = o.get(d);
527
+ T ? (T.x0 = Math.min(T.x0, i.x0), T.y0 = Math.min(T.y0, i.y0), T.x1 = Math.max(T.x1, i.x1), T.y1 = Math.max(T.y1, i.y1), T.depth = Math.min(T.depth, w)) : (T = {
528
+ id: d,
529
+ name: z.name,
530
+ value: z.value,
531
+ color: z.color,
532
+ x0: i.x0,
533
+ y0: i.y0,
534
+ x1: i.x1,
535
+ y1: i.y1,
536
+ depth: w
537
537
  // depth from visible root
538
- }, o.set(h, $));
539
- let V = n.get(h);
540
- V || (V = /* @__PURE__ */ new Set(), n.set(h, V)), V.add(r.id);
541
- const q = s.get(h);
542
- (q == null || M < q) && s.set(h, M);
543
- }), a.set(r.id, c));
538
+ }, o.set(d, T));
539
+ let H = n.get(d);
540
+ H || (H = /* @__PURE__ */ new Set(), n.set(d, H)), H.add(i.id);
541
+ const q = s.get(d);
542
+ (q == null || w < q) && s.set(d, w);
543
+ }), a.set(i.id, c));
544
544
  }
545
545
  return {
546
- wrappers: Array.from(o.values()).map((r) => ({
547
- ...r,
548
- depth: s.get(r.id) ?? r.depth ?? 0,
549
- childrenIds: Array.from(n.get(r.id) || [])
546
+ wrappers: Array.from(o.values()).map((i) => ({
547
+ ...i,
548
+ depth: s.get(i.id) ?? i.depth ?? 0,
549
+ childrenIds: Array.from(n.get(i.id) || [])
550
550
  })),
551
551
  ancestorsByLeaf: a
552
552
  };
553
553
  }
554
- const Lt = w(() => al(Co.value)), nl = w(() => {
554
+ const Lt = k(() => al(Co.value)), nl = k(() => {
555
555
  const e = Lt.value.wrappers;
556
556
  return e.length ? e.filter((l) => sl(l)) : [];
557
557
  });
@@ -562,7 +562,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
562
562
  const l = Nt(e);
563
563
  return Q(e) < l * 1.1 ? !1 : (e.labelY0 = e.y0, !0);
564
564
  }
565
- const E = w(() => ul({
565
+ const F = k(() => ul({
566
566
  rects: Co.value,
567
567
  wrappers: Lt.value.wrappers,
568
568
  ancestorsByLeaf: Lt.value.ancestorsByLeaf
@@ -574,12 +574,12 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
574
574
  const s = o.get(n.id);
575
575
  if (!s || !s.length) return n;
576
576
  let u = { ...n };
577
- for (const r of s) {
578
- const c = a.get(r);
577
+ for (const i of s) {
578
+ const c = a.get(i);
579
579
  if (!c) continue;
580
- const h = Q(c), M = Nt(c);
581
- if (h < M * 1.1) continue;
582
- const R = ze(c), $ = R * 1.2, V = R * 0.5, q = R * 0.5, Oe = $ * 0.5, Je = ee(c) / 3, Qe = Math.min(V, Je), _e = h * 0.25, Ht = Math.min(q, _e), Wt = (typeof c.labelY0 == "number" ? c.labelY0 : c.y0) + M, ce = Math.max(u.x0, c.x0 + Qe), we = Math.min(u.x1, c.x1 - Qe), ke = Math.max(u.y0, Wt + Oe), Ut = Math.min(u.y1, c.y1 - Ht);
580
+ const d = Q(c), w = Nt(c);
581
+ if (d < w * 1.1) continue;
582
+ const z = ze(c), T = z * 1.2, H = z * 0.5, q = z * 0.5, Oe = T * 0.5, Je = ee(c) / 3, Qe = Math.min(H, Je), _e = d * 0.25, Ht = Math.min(q, _e), Wt = (typeof c.labelY0 == "number" ? c.labelY0 : c.y0) + w, ce = Math.max(u.x0, c.x0 + Qe), we = Math.min(u.x1, c.x1 - Qe), ke = Math.max(u.y0, Wt + Oe), Ut = Math.min(u.y1, c.y1 - Ht);
583
583
  if (we <= ce || Ut <= ke)
584
584
  break;
585
585
  u = {
@@ -600,25 +600,25 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
600
600
  return l - e <= 0 ? 1e-4 : l - e;
601
601
  }
602
602
  function ze(e) {
603
- const l = t.value.style.chart.layout.labels, o = l.fontSize, a = l.minFontSize, n = l.fontSize * 2, s = 0.5, u = 0.6, r = 1, c = 0.9;
604
- let h = e.proportion;
605
- if (!(typeof h == "number" && isFinite(h))) {
606
- const q = Math.max(1e-6, ee(e) * Q(e)), Oe = Math.max(1e-6, B.value.width * B.value.height);
607
- h = q / Oe;
603
+ const l = t.value.style.chart.layout.labels, o = l.fontSize, a = l.minFontSize, n = l.fontSize * 2, s = 0.5, u = 0.6, i = 1, c = 0.9;
604
+ let d = e.proportion;
605
+ if (!(typeof d == "number" && isFinite(d))) {
606
+ const q = Math.max(1e-6, ee(e) * Q(e)), Oe = Math.max(1e-6, D.value.width * D.value.height);
607
+ d = q / Oe;
608
608
  }
609
- const M = Math.pow(Math.min(1, Math.max(0, h)), s), R = u + (r - u) * M;
610
- let $ = o * R;
611
- const V = Math.max(1e-4, Math.min(ee(e), Q(e)));
612
- return $ = Math.min($, V * c), $ = Math.max(a, Math.min(n, $)), $;
609
+ const w = Math.pow(Math.min(1, Math.max(0, d)), s), z = u + (i - u) * w;
610
+ let T = o * z;
611
+ const H = Math.max(1e-4, Math.min(ee(e), Q(e)));
612
+ return T = Math.min(T, H * c), T = Math.max(a, Math.min(n, T)), T;
613
613
  }
614
614
  function xo(e) {
615
615
  Ie.value = e, lo.value += 1;
616
616
  }
617
- const ie = w(() => ({
617
+ const ie = k(() => ({
618
618
  startX: 0,
619
619
  startY: 0,
620
- width: B.value.vbWidth,
621
- height: B.value.vbHeight
620
+ width: D.value.vbWidth,
621
+ height: D.value.vbHeight
622
622
  }));
623
623
  function te(e, l = Y.value) {
624
624
  for (const o of l) {
@@ -642,20 +642,20 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
642
642
  }
643
643
  return l;
644
644
  }
645
- const Ve = w(() => I.value.length > 0);
645
+ const Ve = k(() => I.value.length > 0);
646
646
  function qe(e, l) {
647
647
  if (!e) {
648
- Me.value = Y.value.slice(), D("selectDatapoint", void 0), I.value = [];
648
+ Me.value = Y.value.slice(), V("selectDatapoint", void 0), I.value = [];
649
649
  return;
650
650
  }
651
651
  t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: e, seriesIndex: l });
652
652
  const o = te(e.id);
653
653
  if (o && o.children?.length)
654
- I.value.push(o.id), Me.value = o.children.slice(), D("selectDatapoint", e);
654
+ I.value.push(o.id), Me.value = o.children.slice(), V("selectDatapoint", e);
655
655
  else if (e.parentId) {
656
656
  I.value.push(e.parentId);
657
657
  const a = te(e.parentId);
658
- Me.value = a.children.slice(), D("selectDatapoint", e);
658
+ Me.value = a.children.slice(), V("selectDatapoint", e);
659
659
  } else if (I.value.length > 0) {
660
660
  I.value.pop();
661
661
  const a = I.value[I.value.length - 1];
@@ -663,13 +663,13 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
663
663
  const n = te(a);
664
664
  Me.value = n.children.slice();
665
665
  } else
666
- Me.value = Y.value.slice(), I.value = [], D("selectDatapoint", void 0);
666
+ Me.value = Y.value.slice(), I.value = [], V("selectDatapoint", void 0);
667
667
  }
668
668
  }
669
669
  function il(e) {
670
670
  return !!(te(e.id)?.children?.length || e.parentId);
671
671
  }
672
- const me = w(() => {
672
+ const me = k(() => {
673
673
  const e = [
674
674
  { id: null, label: "All" }
675
675
  ];
@@ -686,7 +686,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
686
686
  });
687
687
  }
688
688
  return e;
689
- }), z = Ce(null), He = w(() => Y.value.map((e, l) => ({
689
+ }), R = Ce(null), He = k(() => Y.value.map((e, l) => ({
690
690
  ...e,
691
691
  color: lt(e.color) || ut.value[l] || G[l] || G[l % G.length],
692
692
  shape: "square"
@@ -695,7 +695,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
695
695
  return {
696
696
  ...e,
697
697
  proportion: o,
698
- opacity: N.value.includes(e.id) ? 0.5 : 1,
698
+ opacity: B.value.includes(e.id) ? 0.5 : 1,
699
699
  display: `${e.name}${t.value.style.chart.legend.showPercentage || t.value.style.chart.legend.showValue ? ": " : ""}${t.value.style.chart.legend.showValue ? mt(
700
700
  t.value.style.chart.layout.labels.formatter,
701
701
  e.value,
@@ -706,23 +706,23 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
706
706
  r: t.value.style.chart.legend.roundingValue
707
707
  }),
708
708
  { datapoint: e }
709
- ) : ""}${t.value.style.chart.legend.showPercentage ? N.value.includes(e.id) ? `${t.value.style.chart.legend.showValue ? " (" : ""}- %${t.value.style.chart.legend.showValue ? ")" : ""}` : `${t.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / De.value) ? "-" : (e.value / De.value * 100).toFixed(t.value.style.chart.legend.roundingPercentage)}%${t.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
709
+ ) : ""}${t.value.style.chart.legend.showPercentage ? B.value.includes(e.id) ? `${t.value.style.chart.legend.showValue ? " (" : ""}- %${t.value.style.chart.legend.showValue ? ")" : ""}` : `${t.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / De.value) ? "-" : (e.value / De.value * 100).toFixed(t.value.style.chart.legend.roundingPercentage)}%${t.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
710
710
  };
711
- })), cl = w(() => ({
711
+ })), cl = k(() => ({
712
712
  cy: "treemap-div-legend",
713
713
  backgroundColor: t.value.style.chart.legend.backgroundColor,
714
714
  color: t.value.style.chart.legend.color,
715
715
  fontSize: t.value.style.chart.legend.fontSize,
716
716
  paddingBottom: 12,
717
717
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
718
- })), Ee = w(() => N.value.length === He.value.length);
718
+ })), Ee = k(() => B.value.length === He.value.length);
719
719
  function dl() {
720
- N.value.length ? N.value = [] : He.value.forEach((e) => {
721
- N.value.push(e.id);
720
+ B.value.length ? B.value = [] : He.value.forEach((e) => {
721
+ B.value.push(e.id);
722
722
  });
723
723
  }
724
724
  function rt(e) {
725
- z.value = null, N.value.includes(e.id) ? N.value = N.value.filter((l) => l !== e.id) : N.value.length < x.dataset.length - 1 && N.value.push(e.id), D("selectLegend", Ft.value);
725
+ R.value = null, B.value.includes(e.id) ? B.value = B.value.filter((l) => l !== e.id) : B.value.length < $.dataset.length - 1 && B.value.push(e.id), V("selectLegend", Ft.value);
726
726
  }
727
727
  function $o(e) {
728
728
  if (!Y.value.length)
@@ -732,19 +732,19 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
732
732
  }
733
733
  function vl(e) {
734
734
  const l = $o(e);
735
- l !== null && N.value.includes(l.id) && rt({ id: l.id });
735
+ l !== null && B.value.includes(l.id) && rt({ id: l.id });
736
736
  }
737
737
  function hl(e) {
738
738
  const l = $o(e);
739
- l !== null && (N.value.includes(l.id) || rt({ id: l.id }));
739
+ l !== null && (B.value.includes(l.id) || rt({ id: l.id }));
740
740
  }
741
741
  function fl({ datapoint: e, seriesIndex: l }) {
742
- z.value = null, Ue.value = !1, ye.value = null, je.value = "pointer", t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: l });
742
+ R.value = null, Ue.value = !1, ye.value = null, je.value = "pointer", t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: l });
743
743
  }
744
744
  const Bt = b(null);
745
745
  function To({ datapoint: e, seriesIndex: l, triggerMode: o = "pointer" }) {
746
746
  if (Ee.value) return;
747
- t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: l }), ye.value = l, je.value = o, z.value = e, Bt.value = { datapoint: e, seriesIndex: l, config: t.value, series: Ke.value };
747
+ t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: l }), ye.value = l, je.value = o, R.value = e, Bt.value = { datapoint: e, seriesIndex: l, config: t.value, series: Ke.value };
748
748
  const a = t.value.style.chart.tooltip.customFormat;
749
749
  if (Ho(a) && Wl(() => a({
750
750
  seriesIndex: l,
@@ -774,11 +774,11 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
774
774
  }
775
775
  Ue.value = !0;
776
776
  }
777
- const be = w(() => {
778
- const e = E.value.map((o) => ({
777
+ const be = k(() => {
778
+ const e = F.value.map((o) => ({
779
779
  name: o.name,
780
780
  color: o.color
781
- })), l = E.value.map((o) => o.value);
781
+ })), l = F.value.map((o) => o.value);
782
782
  return { head: e, body: l };
783
783
  });
784
784
  function Rt(e = null) {
@@ -789,7 +789,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
789
789
  e ? e(a) : El({ csvContent: a, title: t.value.style.chart.title.text || "vue-ui-treemap" });
790
790
  });
791
791
  }
792
- const We = w(() => {
792
+ const We = k(() => {
793
793
  const e = [
794
794
  t.value.table.columnNames.series,
795
795
  t.value.table.columnNames.value,
@@ -842,7 +842,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
842
842
  };
843
843
  });
844
844
  function pl() {
845
- return E.value;
845
+ return F.value;
846
846
  }
847
847
  function So() {
848
848
  J.value.showTable = !J.value.showTable;
@@ -873,10 +873,10 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
873
873
  aspectRatio: a
874
874
  };
875
875
  }
876
- const Ze = w(() => {
876
+ const Ze = k(() => {
877
877
  const e = t.value.table.useDialog && !t.value.table.show, l = J.value.showTable;
878
878
  return {
879
- component: e ? $e : C,
879
+ component: e ? $e : x,
880
880
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? `: ${t.value.style.chart.title.subtitle.text}` : ""}`,
881
881
  props: e ? {
882
882
  backgroundColor: t.value.table.th.backgroundColor,
@@ -910,10 +910,10 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
910
910
  function Oo() {
911
911
  J.value.showTable = !1, St.value && St.value.setTableIconState(!1);
912
912
  }
913
- const yl = w(() => He.value.map((e) => ({
913
+ const yl = k(() => He.value.map((e) => ({
914
914
  ...e,
915
915
  name: e.display
916
- }))), ml = w(() => t.value.style.chart.backgroundColor), bl = w(() => t.value.style.chart.legend), wl = w(() => t.value.style.chart.title), { exportSvg: kl, getSvg: Cl } = Gl({
916
+ }))), ml = k(() => t.value.style.chart.backgroundColor), bl = k(() => t.value.style.chart.legend), wl = k(() => t.value.style.chart.title), { exportSvg: kl, getSvg: Cl } = Gl({
917
917
  svg: Fe,
918
918
  title: wl,
919
919
  legend: bl,
@@ -953,10 +953,10 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
953
953
  const s = I.value.length === 0, u = s ? `${e.id}:${o ? "title" : "rect"}` : null;
954
954
  if (s && K.value.has(u))
955
955
  return K.value.get(u);
956
- const r = Math.max(2, ze(e) / 3), c = Math.max(8, ze(e)), h = c * 1.2, M = Math.max(0, ee(e) - r * 2), R = Math.max(0, Q(e) - r * 2);
957
- if (M <= 2 || R <= c * 0.8)
956
+ const i = Math.max(2, ze(e) / 3), c = Math.max(8, ze(e)), d = c * 1.2, w = Math.max(0, ee(e) - i * 2), z = Math.max(0, Q(e) - i * 2);
957
+ if (w <= 2 || z <= c * 0.8)
958
958
  return s && u && K.value.set(u, ""), "";
959
- const $ = t.value.style.fontFamily, V = t.value.style.chart.layout.labels.name.bold ? "600" : "400", q = t.value.style.chart.layout.labels.value.bold ? "600" : "400", Oe = o ? t.value.style.chart.layout.rects.group.label.adaptColorToBackground ? t.value.style.chart.layout.rects.group.useSeriesBackgroundColor ? wt(bt(e.color, 0.4)) : wt(t.value.style.chart.backgroundColor) : t.value.style.chart.layout.rects.group.label.color : wt(e.color), Vt = a ? String(e.name ?? "") : "", Je = n ? mt(
959
+ const T = t.value.style.fontFamily, H = t.value.style.chart.layout.labels.name.bold ? "600" : "400", q = t.value.style.chart.layout.labels.value.bold ? "600" : "400", Oe = o ? t.value.style.chart.layout.rects.group.label.adaptColorToBackground ? t.value.style.chart.layout.rects.group.useSeriesBackgroundColor ? wt(bt(e.color, 0.4)) : wt(t.value.style.chart.backgroundColor) : t.value.style.chart.layout.rects.group.label.color : wt(e.color), Vt = a ? String(e.name ?? "") : "", Je = n ? mt(
960
960
  t.value.style.chart.layout.labels.formatter,
961
961
  e.value ?? 0,
962
962
  at({
@@ -966,34 +966,34 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
966
966
  r: t.value.style.chart.layout.labels.rounding
967
967
  }),
968
968
  { datapoint: e, seriesIndex: l }
969
- ) : "", Qe = o ? $l(e) : M;
970
- function _e(F, ae = c, et = "400") {
969
+ ) : "", Qe = o ? $l(e) : w;
970
+ function _e(L, ae = c, et = "400") {
971
971
  const oe = document.createElementNS(Qt, "svg");
972
972
  oe.setAttribute("width", "0"), oe.setAttribute("height", "0"), oe.style.position = "absolute", oe.style.visibility = "hidden", oe.style.pointerEvents = "none";
973
973
  const ne = document.createElementNS(Qt, "text");
974
- ne.setAttribute("font-size", String(ae)), ne.setAttribute("font-family", $), ne.setAttribute("font-weight", String(et)), ne.textContent = F || "", oe.appendChild(ne), document.body.appendChild(oe);
974
+ ne.setAttribute("font-size", String(ae)), ne.setAttribute("font-family", T), ne.setAttribute("font-weight", String(et)), ne.textContent = L || "", oe.appendChild(ne), document.body.appendChild(oe);
975
975
  const ct = ne.getComputedTextLength();
976
976
  return document.body.removeChild(oe), ct;
977
977
  }
978
978
  if (o) {
979
- let F = "";
980
- if (a && (F = Vt), n && (F = F ? `${F} (${Je})` : Je), !F)
979
+ let L = "";
980
+ if (a && (L = Vt), n && (L = L ? `${L} (${Je})` : Je), !L)
981
981
  return s && u && K.value.set(u, ""), "";
982
- let ae = F;
983
- if (_e(ae, c, V) > Qe) {
982
+ let ae = L;
983
+ if (_e(ae, c, H) > Qe) {
984
984
  let U = ae;
985
- for (; U.length && _e(U + "…", c, V) > Qe; )
985
+ for (; U.length && _e(U + "…", c, H) > Qe; )
986
986
  U = U.slice(0, -1);
987
987
  ae = U ? U + "…" : "";
988
988
  }
989
989
  if (!ae)
990
990
  return s && u && K.value.set(u, ""), "";
991
- const et = Nt(e), oe = typeof e.depth == "number" ? e.depth : 0, ne = et * 1.4, ct = typeof e.labelY0 == "number" ? e.labelY0 : e.y0 + oe * ne, jt = e.x0 + r + c / 2, W = ct + r + c, se = `<text
991
+ const et = Nt(e), oe = typeof e.depth == "number" ? e.depth : 0, ne = et * 1.4, ct = typeof e.labelY0 == "number" ? e.labelY0 : e.y0 + oe * ne, jt = e.x0 + i + c / 2, W = ct + i + c, se = `<text
992
992
  x="${jt}"
993
993
  y="${W}"
994
994
  font-size="${c}"
995
- font-family="${kt($)}"
996
- font-weight="${V}"
995
+ font-family="${kt(T)}"
996
+ font-weight="${H}"
997
997
  fill="${kt(Oe)}"
998
998
  paint-order="stroke"
999
999
  stroke="transparent"
@@ -1004,11 +1004,11 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1004
1004
  </text>`;
1005
1005
  return s && u && K.value.set(u, se), se;
1006
1006
  }
1007
- const Ht = n ? 1 : 0, Et = Math.max(0, Math.floor(R / h) - Ht);
1007
+ const Ht = n ? 1 : 0, Et = Math.max(0, Math.floor(z / d) - Ht);
1008
1008
  if (Et <= 0 && !n)
1009
1009
  return s && u && K.value.set(u, ""), "";
1010
- function Wt(F, ae, et, oe, ne, ct) {
1011
- const jt = String(F).split(/\s+/).filter(Boolean), W = [];
1010
+ function Wt(L, ae, et, oe, ne, ct) {
1011
+ const jt = String(L).split(/\s+/).filter(Boolean), W = [];
1012
1012
  let se = "";
1013
1013
  function U(_) {
1014
1014
  return _e(_, et, oe) <= ae;
@@ -1068,43 +1068,43 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1068
1068
  }
1069
1069
  const ce = a ? Wt(
1070
1070
  Vt,
1071
- M,
1071
+ w,
1072
1072
  c,
1073
- V,
1073
+ H,
1074
1074
  Et
1075
1075
  ) : [];
1076
1076
  let we = c, ke = String(Je);
1077
1077
  if (n) {
1078
- for (; _e(ke, we, q) > M && we > Math.max(8, c * 0.75); )
1078
+ for (; _e(ke, we, q) > w && we > Math.max(8, c * 0.75); )
1079
1079
  we -= 1;
1080
- if (_e(ke, we, q) > M) {
1081
- let F = ke;
1082
- for (; F.length && _e(F + "…", we, q) > M; )
1083
- F = F.slice(0, -1);
1084
- if (ke = F ? F + "…" : "", !ke.length)
1080
+ if (_e(ke, we, q) > w) {
1081
+ let L = ke;
1082
+ for (; L.length && _e(L + "…", we, q) > w; )
1083
+ L = L.slice(0, -1);
1084
+ if (ke = L ? L + "…" : "", !ke.length)
1085
1085
  return s && u && K.value.set(u, ""), "";
1086
1086
  }
1087
1087
  }
1088
- if (ce.length * h + (n ? h : 0) > R) {
1089
- for (; ce.length && ce.length * h + (n ? h : 0) > R; )
1088
+ if (ce.length * d + (n ? d : 0) > z) {
1089
+ for (; ce.length && ce.length * d + (n ? d : 0) > z; )
1090
1090
  ce.pop();
1091
- if (!ce.length && (!n || h > R))
1091
+ if (!ce.length && (!n || d > z))
1092
1092
  return s && u && K.value.set(u, ""), "";
1093
1093
  }
1094
- const Yt = e.x0 + r, Ol = e.y0 + r + c, Xt = [];
1095
- a && ce.forEach((F, ae) => {
1094
+ const Yt = e.x0 + i, Ol = e.y0 + i + c, Xt = [];
1095
+ a && ce.forEach((L, ae) => {
1096
1096
  Xt.push(`
1097
1097
  <tspan
1098
1098
  x="${Yt}"
1099
- dy="${ae === 0 ? 0 : h}"
1100
- font-weight="${V}"
1099
+ dy="${ae === 0 ? 0 : d}"
1100
+ font-weight="${H}"
1101
1101
  >
1102
- ${eo(F)}
1102
+ ${eo(L)}
1103
1103
  </tspan>`);
1104
1104
  }), n && Xt.push(`
1105
1105
  <tspan
1106
1106
  x="${Yt}"
1107
- dy="${ce.length ? h : 0}"
1107
+ dy="${ce.length ? d : 0}"
1108
1108
  font-weight="${q}"
1109
1109
  font-size="${we}"
1110
1110
  >
@@ -1114,7 +1114,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1114
1114
  x="${Yt}"
1115
1115
  y="${Ol}"
1116
1116
  font-size="${c}"
1117
- font-family="${kt($)}"
1117
+ font-family="${kt(T)}"
1118
1118
  fill="${kt(Oe)}"
1119
1119
  paint-order="stroke"
1120
1120
  stroke="transparent"
@@ -1130,51 +1130,52 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1130
1130
  return Math.min(l, Math.min(o, a) / 6);
1131
1131
  }
1132
1132
  async function Fo() {
1133
- if (D("copyAlt", {
1133
+ if (V("copyAlt", {
1134
1134
  config: t.value,
1135
- dataset: E.value
1135
+ dataset: F.value
1136
1136
  }), !t.value.userOptions.callbacks.altCopy) {
1137
1137
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1138
1138
  return;
1139
1139
  }
1140
1140
  await Promise.resolve(t.value.userOptions.callbacks.altCopy({
1141
1141
  config: t.value,
1142
- dataset: E.value
1142
+ dataset: F.value
1143
1143
  }));
1144
1144
  }
1145
1145
  function Sl() {
1146
1146
  ye.value = null, At.value = !0;
1147
1147
  }
1148
1148
  function Al() {
1149
- ye.value = null, je.value = "pointer", Ue.value = !1, z.value = null, At.value = !1;
1149
+ ye.value = null, je.value = "pointer", Ue.value = !1, R.value = null, At.value = !1;
1150
1150
  }
1151
1151
  function Ml(e) {
1152
- if (!Fe.value || Ge.value || document.activeElement !== Fe.value || !E.value.length || Ee.value) return;
1152
+ if (!Fe.value || Ge.value || document.activeElement !== Fe.value || !F.value.length || Ee.value) return;
1153
1153
  const l = ["ArrowLeft", "ArrowUp"].includes(e.key), o = ["ArrowRight", "ArrowDown"].includes(e.key), a = e.key === "Enter" || e.key === " ", n = e.key === "Escape";
1154
1154
  if (!l && !o && !a && !n) return;
1155
1155
  if (e.preventDefault(), e.stopPropagation(), n) {
1156
- ye.value = null, je.value = "pointer", Ue.value = !1, z.value = null;
1156
+ ye.value = null, je.value = "pointer", Ue.value = !1, R.value = null;
1157
1157
  return;
1158
1158
  }
1159
1159
  if (a) {
1160
1160
  if (ye.value === null) return;
1161
- const r = E.value[ye.value];
1162
- if (!r) return;
1163
- qe(r, ye.value);
1161
+ const w = F.value[ye.value];
1162
+ if (!w) return;
1163
+ qe(w, ye.value);
1164
1164
  return;
1165
1165
  }
1166
1166
  let s = ye.value;
1167
- s === null || s < 0 || s >= E.value.length ? s = o ? 0 : E.value.length - 1 : o ? (s += 1, s >= E.value.length && (s = 0)) : l && (s -= 1, s < 0 && (s = E.value.length - 1));
1168
- const u = E.value[s];
1169
- u && (Pl(s), To({
1170
- datapoint: u,
1167
+ const u = R.value ? F.value.findIndex((w) => w.id === R.value.id) : null, i = s !== null && s >= 0 && s < F.value.length, c = u !== null && u >= 0 && u < F.value.length;
1168
+ i ? o ? (s += 1, s >= F.value.length && (s = 0)) : l && (s -= 1, s < 0 && (s = F.value.length - 1)) : c ? (s = o ? u + 1 : u - 1, s >= F.value.length && (s = 0), s < 0 && (s = F.value.length - 1)) : o ? s = 0 : s = F.value.length - 1;
1169
+ const d = F.value[s];
1170
+ d && (Pl(s), To({
1171
+ datapoint: d,
1171
1172
  seriesIndex: s,
1172
1173
  triggerMode: "keyboard"
1173
1174
  }));
1174
1175
  }
1175
1176
  function Pl(e) {
1176
1177
  if (!Number.isFinite(e) || !Fe.value) return;
1177
- const l = E.value[e];
1178
+ const l = F.value[e];
1178
1179
  if (!l) return;
1179
1180
  const o = l.x0 + ee(l) / 2, a = l.y0 + Q(l) / 2, n = Fe.value.getBoundingClientRect();
1180
1181
  co.value = {
@@ -1182,7 +1183,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1182
1183
  y: n.top + (a - ie.value.startY) / ie.value.height * n.height
1183
1184
  };
1184
1185
  }
1185
- const zt = w(() => {
1186
+ const zt = k(() => {
1186
1187
  const e = We.value?.colNames ?? [], l = We.value?.body ?? [];
1187
1188
  return { headers: e, rows: l };
1188
1189
  });
@@ -1200,7 +1201,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1200
1201
  toggleAnnotator: Dt,
1201
1202
  toggleFullscreen: xo,
1202
1203
  copyAlt: Fo
1203
- }), (e, l) => (d(), S("div", {
1204
+ }), (e, l) => (v(), A("div", {
1204
1205
  ref_key: "treemapChart",
1205
1206
  ref: re,
1206
1207
  class: Zt(`vue-data-ui-component vue-ui-treemap ${Ie.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1209,21 +1210,21 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1209
1210
  onMouseenter: l[2] || (l[2] = () => y(vo)(!0)),
1210
1211
  onMouseleave: l[3] || (l[3] = () => y(vo)(!1))
1211
1212
  }, [
1212
- H("div", {
1213
+ E("div", {
1213
1214
  id: `chart-instructions-${le.value}`,
1214
1215
  class: "sr-only"
1215
1216
  }, [
1216
- H("p", null, tt(t.value.a11y.translations.keyboardNavigation), 1)
1217
+ E("p", null, tt(t.value.a11y.translations.keyboardNavigation), 1)
1217
1218
  ], 8, pa),
1218
- zt.value?.rows?.length ? (d(), he(aa, {
1219
+ zt.value?.rows?.length ? (v(), he(aa, {
1219
1220
  key: 0,
1220
1221
  uid: le.value,
1221
1222
  head: zt.value.headers,
1222
1223
  body: zt.value.rows,
1223
1224
  notice: t.value.a11y.translations.tableAvailable,
1224
1225
  caption: t.value.a11y.translations.tableCaption
1225
- }, null, 8, ["uid", "head", "body", "notice", "caption"])) : L("", !0),
1226
- t.value.userOptions.buttons.annotator ? (d(), he(y(f), {
1226
+ }, null, 8, ["uid", "head", "body", "notice", "caption"])) : N("", !0),
1227
+ t.value.userOptions.buttons.annotator ? (v(), he(y(f), {
1227
1228
  key: 1,
1228
1229
  svgRef: y(Fe),
1229
1230
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -1232,40 +1233,40 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1232
1233
  isCursorPointer: Se.value,
1233
1234
  onClose: Dt
1234
1235
  }, {
1235
- "annotator-action-close": A(() => [
1236
- k(e.$slots, "annotator-action-close", {}, void 0, !0)
1236
+ "annotator-action-close": M(() => [
1237
+ C(e.$slots, "annotator-action-close", {}, void 0, !0)
1237
1238
  ]),
1238
- "annotator-action-color": A(({ color: o }) => [
1239
- k(e.$slots, "annotator-action-color", X(j({ color: o })), void 0, !0)
1239
+ "annotator-action-color": M(({ color: o }) => [
1240
+ C(e.$slots, "annotator-action-color", X(j({ color: o })), void 0, !0)
1240
1241
  ]),
1241
- "annotator-action-draw": A(({ mode: o }) => [
1242
- k(e.$slots, "annotator-action-draw", X(j({ mode: o })), void 0, !0)
1242
+ "annotator-action-draw": M(({ mode: o }) => [
1243
+ C(e.$slots, "annotator-action-draw", X(j({ mode: o })), void 0, !0)
1243
1244
  ]),
1244
- "annotator-action-undo": A(({ disabled: o }) => [
1245
- k(e.$slots, "annotator-action-undo", X(j({ disabled: o })), void 0, !0)
1245
+ "annotator-action-undo": M(({ disabled: o }) => [
1246
+ C(e.$slots, "annotator-action-undo", X(j({ disabled: o })), void 0, !0)
1246
1247
  ]),
1247
- "annotator-action-redo": A(({ disabled: o }) => [
1248
- k(e.$slots, "annotator-action-redo", X(j({ disabled: o })), void 0, !0)
1248
+ "annotator-action-redo": M(({ disabled: o }) => [
1249
+ C(e.$slots, "annotator-action-redo", X(j({ disabled: o })), void 0, !0)
1249
1250
  ]),
1250
- "annotator-action-delete": A(({ disabled: o }) => [
1251
- k(e.$slots, "annotator-action-delete", X(j({ disabled: o })), void 0, !0)
1251
+ "annotator-action-delete": M(({ disabled: o }) => [
1252
+ C(e.$slots, "annotator-action-delete", X(j({ disabled: o })), void 0, !0)
1252
1253
  ]),
1253
1254
  _: 3
1254
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : L("", !0),
1255
- Go.value ? (d(), S("div", {
1255
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : N("", !0),
1256
+ Go.value ? (v(), A("div", {
1256
1257
  key: 2,
1257
1258
  ref_key: "noTitle",
1258
1259
  ref: uo,
1259
1260
  class: "vue-data-ui-no-title-space",
1260
1261
  style: "height:36px; width: 100%;background:transparent"
1261
- }, null, 512)) : L("", !0),
1262
- t.value.style.chart.title.text ? (d(), S("div", {
1262
+ }, null, 512)) : N("", !0),
1263
+ t.value.style.chart.title.text ? (v(), A("div", {
1263
1264
  key: 3,
1264
1265
  ref_key: "chartTitle",
1265
1266
  ref: ao,
1266
1267
  style: xe(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:6px`)
1267
1268
  }, [
1268
- (d(), he(ta, {
1269
+ (v(), he(ta, {
1269
1270
  key: `title_${ro.value}`,
1270
1271
  config: {
1271
1272
  title: {
@@ -1278,11 +1279,11 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1278
1279
  }
1279
1280
  }
1280
1281
  }, null, 8, ["config"]))
1281
- ], 4)) : L("", !0),
1282
- H("div", {
1282
+ ], 4)) : N("", !0),
1283
+ E("div", {
1283
1284
  id: `legend-top-${le.value}`
1284
1285
  }, null, 8, ga),
1285
- t.value.userOptions.show && Te.value && (y(ho) || y(Pt)) ? (d(), he(y(P), {
1286
+ t.value.userOptions.show && Te.value && (y(ho) || y(Pt)) ? (v(), he(y(P), {
1286
1287
  ref_key: "userOptionsRef",
1287
1288
  ref: St,
1288
1289
  key: `user_option_${lo.value}`,
@@ -1325,83 +1326,83 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1325
1326
  }, Bo({ _: 2 }, [
1326
1327
  e.$slots.menuIcon ? {
1327
1328
  name: "menuIcon",
1328
- fn: A(({ isOpen: o, color: a }) => [
1329
- k(e.$slots, "menuIcon", X(j({ isOpen: o, color: a })), void 0, !0)
1329
+ fn: M(({ isOpen: o, color: a }) => [
1330
+ C(e.$slots, "menuIcon", X(j({ isOpen: o, color: a })), void 0, !0)
1330
1331
  ]),
1331
1332
  key: "0"
1332
1333
  } : void 0,
1333
1334
  e.$slots.optionTooltip ? {
1334
1335
  name: "optionTooltip",
1335
- fn: A(() => [
1336
- k(e.$slots, "optionTooltip", {}, void 0, !0)
1336
+ fn: M(() => [
1337
+ C(e.$slots, "optionTooltip", {}, void 0, !0)
1337
1338
  ]),
1338
1339
  key: "1"
1339
1340
  } : void 0,
1340
1341
  e.$slots.optionPdf ? {
1341
1342
  name: "optionPdf",
1342
- fn: A(() => [
1343
- k(e.$slots, "optionPdf", {}, void 0, !0)
1343
+ fn: M(() => [
1344
+ C(e.$slots, "optionPdf", {}, void 0, !0)
1344
1345
  ]),
1345
1346
  key: "2"
1346
1347
  } : void 0,
1347
1348
  e.$slots.optionCsv ? {
1348
1349
  name: "optionCsv",
1349
- fn: A(() => [
1350
- k(e.$slots, "optionCsv", {}, void 0, !0)
1350
+ fn: M(() => [
1351
+ C(e.$slots, "optionCsv", {}, void 0, !0)
1351
1352
  ]),
1352
1353
  key: "3"
1353
1354
  } : void 0,
1354
1355
  e.$slots.optionImg ? {
1355
1356
  name: "optionImg",
1356
- fn: A(() => [
1357
- k(e.$slots, "optionImg", {}, void 0, !0)
1357
+ fn: M(() => [
1358
+ C(e.$slots, "optionImg", {}, void 0, !0)
1358
1359
  ]),
1359
1360
  key: "4"
1360
1361
  } : void 0,
1361
1362
  e.$slots.optionSvg ? {
1362
1363
  name: "optionSvg",
1363
- fn: A(() => [
1364
- k(e.$slots, "optionSvg", {}, void 0, !0)
1364
+ fn: M(() => [
1365
+ C(e.$slots, "optionSvg", {}, void 0, !0)
1365
1366
  ]),
1366
1367
  key: "5"
1367
1368
  } : void 0,
1368
1369
  e.$slots.optionTable ? {
1369
1370
  name: "optionTable",
1370
- fn: A(() => [
1371
- k(e.$slots, "optionTable", {}, void 0, !0)
1371
+ fn: M(() => [
1372
+ C(e.$slots, "optionTable", {}, void 0, !0)
1372
1373
  ]),
1373
1374
  key: "6"
1374
1375
  } : void 0,
1375
1376
  e.$slots.optionFullscreen ? {
1376
1377
  name: "optionFullscreen",
1377
- fn: A(({ toggleFullscreen: o, isFullscreen: a }) => [
1378
- k(e.$slots, "optionFullscreen", X(j({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
1378
+ fn: M(({ toggleFullscreen: o, isFullscreen: a }) => [
1379
+ C(e.$slots, "optionFullscreen", X(j({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
1379
1380
  ]),
1380
1381
  key: "7"
1381
1382
  } : void 0,
1382
1383
  e.$slots.optionAnnotator ? {
1383
1384
  name: "optionAnnotator",
1384
- fn: A(({ toggleAnnotator: o, isAnnotator: a }) => [
1385
- k(e.$slots, "optionAnnotator", X(j({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
1385
+ fn: M(({ toggleAnnotator: o, isAnnotator: a }) => [
1386
+ C(e.$slots, "optionAnnotator", X(j({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
1386
1387
  ]),
1387
1388
  key: "8"
1388
1389
  } : void 0,
1389
1390
  e.$slots.optionAltCopy ? {
1390
1391
  name: "optionAltCopy",
1391
- fn: A(({ altCopy: o }) => [
1392
- k(e.$slots, "optionAltCopy", X(j({ altCopy: o })), void 0, !0)
1392
+ fn: M(({ altCopy: o }) => [
1393
+ C(e.$slots, "optionAltCopy", X(j({ altCopy: o })), void 0, !0)
1393
1394
  ]),
1394
1395
  key: "9"
1395
1396
  } : void 0
1396
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : L("", !0),
1397
- me.value.length > 1 ? (d(), S("nav", {
1397
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : N("", !0),
1398
+ me.value.length > 1 ? (v(), A("nav", {
1398
1399
  key: 5,
1399
1400
  class: "vue-ui-treemap-breadcrumbs",
1400
1401
  "data-dom-to-png-ignore": "",
1401
1402
  ref_key: "breadcrumbsNav",
1402
1403
  ref: Tt
1403
1404
  }, [
1404
- (d(!0), S(ot, null, ht(me.value, (o, a) => (d(), S("span", {
1405
+ (v(!0), A(ot, null, ht(me.value, (o, a) => (v(), A("span", {
1405
1406
  role: "button",
1406
1407
  tabindex: a < me.value.length - 1 ? 0 : void 0,
1407
1408
  key: o.id || "root",
@@ -1422,29 +1423,29 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1422
1423
  onFocus: (n) => Mo(a),
1423
1424
  onBlur: Po
1424
1425
  }, [
1425
- H("span", ma, [
1426
- H("span", ba, [
1427
- k(e.$slots, "breadcrumb-label", ft({ ref_for: !0 }, { crumb: o, isRoot: a === 0, isFocus: it.value === a }), () => [
1428
- a === 0 ? (d(), S("div", wa, [
1426
+ E("span", ma, [
1427
+ E("span", ba, [
1428
+ C(e.$slots, "breadcrumb-label", ft({ ref_for: !0 }, { crumb: o, isRoot: a === 0, isFocus: it.value === a }), () => [
1429
+ a === 0 ? (v(), A("div", wa, [
1429
1430
  pt(Eo, {
1430
1431
  name: it.value === 0 ? "homeFilled" : "home",
1431
1432
  stroke: t.value.style.chart.color
1432
1433
  }, null, 8, ["name", "stroke"])
1433
- ])) : (d(), S(ot, { key: 1 }, [
1434
+ ])) : (v(), A(ot, { key: 1 }, [
1434
1435
  gt(tt(o.label), 1)
1435
1436
  ], 64))
1436
1437
  ], !0)
1437
1438
  ]),
1438
- a < me.value.length - 1 ? (d(), S("span", ka, [
1439
- k(e.$slots, "breadcrumb-arrow", {}, () => [
1439
+ a < me.value.length - 1 ? (v(), A("span", ka, [
1440
+ C(e.$slots, "breadcrumb-arrow", {}, () => [
1440
1441
  l[4] || (l[4] = gt(" › ", -1))
1441
1442
  ], !0)
1442
- ])) : L("", !0)
1443
+ ])) : N("", !0)
1443
1444
  ])
1444
1445
  ], 44, ya))), 128))
1445
- ], 512)) : L("", !0),
1446
- H("div", Ca, [
1447
- (d(), S("svg", {
1446
+ ], 512)) : N("", !0),
1447
+ E("div", Ca, [
1448
+ (v(), A("svg", {
1448
1449
  ref_key: "svgRef",
1449
1450
  ref: Fe,
1450
1451
  xmlns: y(Qt),
@@ -1457,31 +1458,31 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1457
1458
  onBlur: Al,
1458
1459
  onKeydown: Ml
1459
1460
  }, [
1460
- pt(y(T)),
1461
- (d(!0), S(ot, null, ht(E.value, (o, a) => (d(), S("g", {
1461
+ pt(y(S)),
1462
+ (v(!0), A(ot, null, ht(F.value, (o, a) => (v(), A("g", {
1462
1463
  key: `tgrad_${o.id}`
1463
1464
  }, [
1464
- t.value.style.chart.layout.rects.gradient.show ? (d(), S("defs", $a, [
1465
- H("radialGradient", {
1465
+ t.value.style.chart.layout.rects.gradient.show ? (v(), A("defs", $a, [
1466
+ E("radialGradient", {
1466
1467
  id: `tgrad_${o.id}`,
1467
1468
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
1468
1469
  }, [
1469
- H("stop", {
1470
+ E("stop", {
1470
1471
  offset: "18%",
1471
1472
  "stop-color": o.color
1472
1473
  }, null, 8, Sa),
1473
- H("stop", {
1474
+ E("stop", {
1474
1475
  offset: "100%",
1475
1476
  "stop-color": y(bt)(o.color, t.value.style.chart.layout.rects.gradient.intensity / 100)
1476
1477
  }, null, 8, Aa)
1477
1478
  ], 8, Ta)
1478
- ])) : L("", !0)
1479
+ ])) : N("", !0)
1479
1480
  ]))), 128)),
1480
- (d(!0), S(ot, null, ht(nl.value, (o, a) => (d(), S("g", {
1481
+ (v(!0), A(ot, null, ht(nl.value, (o, a) => (v(), A("g", {
1481
1482
  key: `parent_${o.id}`,
1482
1483
  class: "vue-ui-treemap-parent-wrapper"
1483
1484
  }, [
1484
- H("rect", {
1485
+ E("rect", {
1485
1486
  x: o.x0,
1486
1487
  y: o.y0,
1487
1488
  height: Q(o),
@@ -1492,33 +1493,33 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1492
1493
  "stroke-width": t.value.style.chart.layout.rects.group.strokeWidth,
1493
1494
  class: "vue-data-ui-cursor-default vue-ui-treemap-rect"
1494
1495
  }, null, 8, Ma),
1495
- e.$slots["group-label"] && !Ee.value ? (d(), S("foreignObject", {
1496
+ e.$slots["group-label"] && !Ee.value ? (v(), A("foreignObject", {
1496
1497
  key: 0,
1497
1498
  width: ee(o),
1498
1499
  height: Q(o),
1499
1500
  x: o.x0,
1500
1501
  y: o.y0
1501
1502
  }, [
1502
- k(e.$slots, "group-label", ft({ ref_for: !0 }, { group: o }), void 0, !0)
1503
- ], 8, Pa)) : !y(Ae) && t.value.style.chart.layout.labels.showDefaultLabels && !Ee.value ? (d(), S("g", {
1503
+ C(e.$slots, "group-label", ft({ ref_for: !0 }, { group: o }), void 0, !0)
1504
+ ], 8, Pa)) : !y(Ae) && t.value.style.chart.layout.labels.showDefaultLabels && !Ee.value ? (v(), A("g", {
1504
1505
  key: 1,
1505
1506
  style: { "pointer-events": "none" },
1506
1507
  innerHTML: Io({ rect: o, seriesIndex: 0, isTitle: !0 }),
1507
1508
  class: "vue-data-ui-cursor-default"
1508
- }, null, 8, Oa)) : L("", !0)
1509
+ }, null, 8, Oa)) : N("", !0)
1509
1510
  ]))), 128)),
1510
- (d(!0), S(ot, null, ht(E.value, (o, a) => (d(), S("g", {
1511
+ (v(!0), A(ot, null, ht(F.value, (o, a) => (v(), A("g", {
1511
1512
  key: `k_${o.id}`
1512
1513
  }, [
1513
- H("rect", {
1514
+ E("rect", {
1514
1515
  x: o.x0,
1515
1516
  y: o.y0,
1516
1517
  height: Q(o),
1517
1518
  width: ee(o),
1518
1519
  fill: ge.value ? o.color ?? t.value.style.chart.backgroundColor : t.value.style.chart.layout.rects.gradient.show ? Ee.value ? t.value.style.chart.backgroundColor : `url(#tgrad_${o.id})` : o.color ?? t.value.style.chart.backgroundColor,
1519
1520
  rx: Tl(o),
1520
- stroke: z.value && z.value.id === o.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
1521
- "stroke-width": z.value && z.value.id === o.id ? t.value.style.chart.layout.rects.selected.strokeWidth : t.value.style.chart.layout.rects.strokeWidth,
1521
+ stroke: R.value && R.value.id === o.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
1522
+ "stroke-width": R.value && R.value.id === o.id ? t.value.style.chart.layout.rects.selected.strokeWidth : t.value.style.chart.layout.rects.strokeWidth,
1522
1523
  onClick: Jt((n) => qe(o, a), ["stop"]),
1523
1524
  onMouseenter: () => To({
1524
1525
  datapoint: o,
@@ -1526,26 +1527,26 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1526
1527
  triggerMode: "pointer"
1527
1528
  }),
1528
1529
  onMouseleave: (n) => fl({ datapoint: o, seriesIndex: a }),
1529
- style: xe(`opacity:${z.value ? z.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1530
+ style: xe(`opacity:${R.value ? R.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1530
1531
  class: Zt([
1531
1532
  "vue-ui-treemap-rect",
1532
1533
  il(o) ? "vue-data-ui-zoom-plus" : Ve.value ? "vue-data-ui-zoom-minus" : ""
1533
1534
  ])
1534
1535
  }, null, 46, _a),
1535
- !e.$slots.rect && !y(Ae) && t.value.style.chart.layout.labels.showDefaultLabels && !Ee.value ? (d(), S("g", {
1536
+ !e.$slots.rect && !y(Ae) && t.value.style.chart.layout.labels.showDefaultLabels && !Ee.value ? (v(), A("g", {
1536
1537
  key: 0,
1537
- style: xe(`pointer-events:none; opacity:${z.value ? z.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1538
+ style: xe(`pointer-events:none; opacity:${R.value ? R.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1538
1539
  innerHTML: Io({ rect: o, seriesIndex: a })
1539
- }, null, 12, Ia)) : L("", !0),
1540
- (d(), S("foreignObject", {
1540
+ }, null, 12, Ia)) : N("", !0),
1541
+ (v(), A("foreignObject", {
1541
1542
  x: o.x0,
1542
1543
  y: o.y0,
1543
1544
  height: Q(o),
1544
1545
  width: ee(o),
1545
1546
  class: "vue-ui-treemap-cell-foreignObject"
1546
1547
  }, [
1547
- H("div", La, [
1548
- y(Ae) ? L("", !0) : k(e.$slots, "rect", ft({
1548
+ E("div", La, [
1549
+ y(Ae) ? N("", !0) : C(e.$slots, "rect", ft({
1549
1550
  key: 0,
1550
1551
  ref_for: !0
1551
1552
  }, {
@@ -1553,7 +1554,7 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1553
1554
  ...o,
1554
1555
  height: Q(o),
1555
1556
  width: ee(o),
1556
- isSelected: z.value ? z.value.id === o.id : !0
1557
+ isSelected: R.value ? R.value.id === o.id : !0
1557
1558
  },
1558
1559
  shouldShow: o.proportion > t.value.style.chart.layout.labels.hideUnderProportion || Ve.value,
1559
1560
  fontSize: ze(o),
@@ -1563,27 +1564,27 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1563
1564
  ])
1564
1565
  ], 8, Fa))
1565
1566
  ]))), 128)),
1566
- k(e.$slots, "svg", X(j({ svg: B.value, isZoom: Ve.value, rect: z.value, config: t.value, isPrintingImg: y(_t) | y(It) | nt.value, isPrintingSvg: st.value })), void 0, !0)
1567
+ C(e.$slots, "svg", X(j({ svg: D.value, isZoom: Ve.value, rect: R.value, config: t.value, isPrintingImg: y(_t) | y(It) | nt.value, isPrintingSvg: st.value })), void 0, !0)
1567
1568
  ], 46, xa)),
1568
- e.$slots.hint ? (d(), S("div", Na, [
1569
- k(e.$slots, "hint", X(j({ hint: t.value.a11y.translations.keyboardNavigation, isVisible: At.value })), void 0, !0)
1570
- ])) : L("", !0)
1569
+ e.$slots.hint ? (v(), A("div", Na, [
1570
+ C(e.$slots, "hint", X(j({ hint: t.value.a11y.translations.keyboardNavigation, isVisible: At.value })), void 0, !0)
1571
+ ])) : N("", !0)
1571
1572
  ]),
1572
- e.$slots.watermark ? (d(), S("div", Ba, [
1573
- k(e.$slots, "watermark", X(j({ isPrinting: y(_t) || y(It) || nt.value || st.value })), void 0, !0)
1574
- ])) : L("", !0),
1575
- H("div", {
1573
+ e.$slots.watermark ? (v(), A("div", Ba, [
1574
+ C(e.$slots, "watermark", X(j({ isPrinting: y(_t) || y(It) || nt.value || st.value })), void 0, !0)
1575
+ ])) : N("", !0),
1576
+ E("div", {
1576
1577
  id: `legend-bottom-${le.value}`
1577
1578
  }, null, 8, Ra),
1578
- io.value ? (d(), he(Bl, {
1579
+ io.value ? (v(), he(Bl, {
1579
1580
  key: 7,
1580
1581
  to: t.value.style.chart.legend.position === "top" ? `#legend-top-${le.value}` : `#legend-bottom-${le.value}`
1581
1582
  }, [
1582
- H("div", {
1583
+ E("div", {
1583
1584
  ref_key: "chartLegend",
1584
1585
  ref: no
1585
1586
  }, [
1586
- t.value.style.chart.legend.show ? (d(), he(la, {
1587
+ t.value.style.chart.legend.show ? (v(), he(la, {
1587
1588
  key: `legend_${$t.value}`,
1588
1589
  legendSet: He.value,
1589
1590
  config: cl.value,
@@ -1591,39 +1592,39 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1591
1592
  isCursorPointer: Se.value,
1592
1593
  onClickMarker: l[0] || (l[0] = ({ legend: o }) => rt(o))
1593
1594
  }, {
1594
- item: A(({ legend: o, index: a }) => [
1595
- y(Ae) ? L("", !0) : (d(), S("div", {
1595
+ item: M(({ legend: o, index: a }) => [
1596
+ y(Ae) ? N("", !0) : (v(), A("div", {
1596
1597
  key: 0,
1597
1598
  onClick: (n) => rt(o),
1598
- style: xe(`opacity:${N.value.includes(o.id) ? 0.5 : 1}`)
1599
+ style: xe(`opacity:${B.value.includes(o.id) ? 0.5 : 1}`)
1599
1600
  }, tt(o.display), 13, Da))
1600
1601
  ]),
1601
- legendToggle: A(() => [
1602
- He.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !y(Ae) ? (d(), he(na, {
1602
+ legendToggle: M(() => [
1603
+ He.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !y(Ae) ? (v(), he(na, {
1603
1604
  key: 0,
1604
1605
  backgroundColor: t.value.style.chart.legend.selectAllToggle.backgroundColor,
1605
1606
  color: t.value.style.chart.legend.selectAllToggle.color,
1606
1607
  fontSize: t.value.style.chart.legend.fontSize,
1607
- checked: N.value.length > 0,
1608
+ checked: B.value.length > 0,
1608
1609
  isCursorPointer: Se.value,
1609
1610
  onToggle: dl
1610
- }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : L("", !0)
1611
+ }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : N("", !0)
1611
1612
  ]),
1612
1613
  _: 1
1613
- }, 8, ["legendSet", "config", "id", "isCursorPointer"])) : k(e.$slots, "legend", {
1614
+ }, 8, ["legendSet", "config", "id", "isCursorPointer"])) : C(e.$slots, "legend", {
1614
1615
  key: 1,
1615
1616
  legend: He.value
1616
1617
  }, void 0, !0)
1617
1618
  ], 512)
1618
- ], 8, ["to"])) : L("", !0),
1619
- e.$slots.source ? (d(), S("div", {
1619
+ ], 8, ["to"])) : N("", !0),
1620
+ e.$slots.source ? (v(), A("div", {
1620
1621
  key: 8,
1621
1622
  ref_key: "source",
1622
1623
  ref: so,
1623
1624
  dir: "auto"
1624
1625
  }, [
1625
- k(e.$slots, "source", {}, void 0, !0)
1626
- ], 512)) : L("", !0),
1626
+ C(e.$slots, "source", {}, void 0, !0)
1627
+ ], 512)) : N("", !0),
1627
1628
  pt(y(m), {
1628
1629
  teleportTo: t.value.style.chart.tooltip.teleportTo,
1629
1630
  show: J.value.showTooltip && Ue.value,
@@ -1647,21 +1648,21 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1647
1648
  isA11yMode: je.value === "keyboard",
1648
1649
  a11yPosition: co.value
1649
1650
  }, {
1650
- "tooltip-before": A(() => [
1651
- k(e.$slots, "tooltip-before", X(j({ ...Bt.value })), void 0, !0)
1651
+ "tooltip-before": M(() => [
1652
+ C(e.$slots, "tooltip-before", X(j({ ...Bt.value })), void 0, !0)
1652
1653
  ]),
1653
- "tooltip-after": A(() => [
1654
- k(e.$slots, "tooltip-after", X(j({ ...Bt.value })), void 0, !0)
1654
+ "tooltip-after": M(() => [
1655
+ C(e.$slots, "tooltip-after", X(j({ ...Bt.value })), void 0, !0)
1655
1656
  ]),
1656
1657
  _: 3
1657
1658
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1658
- Te.value && t.value.userOptions.buttons.table ? (d(), he(Rl(Ze.value.component), ft({ key: 9 }, Ze.value.props, {
1659
+ Te.value && t.value.userOptions.buttons.table ? (v(), he(Rl(Ze.value.component), ft({ key: 9 }, Ze.value.props, {
1659
1660
  ref_key: "tableUnit",
1660
1661
  ref: Ye,
1661
1662
  onClose: Oo
1662
1663
  }), Bo({
1663
- content: A(() => [
1664
- (d(), he(y(g), {
1664
+ content: M(() => [
1665
+ (v(), he(y(g), {
1665
1666
  key: `table_${xt.value}`,
1666
1667
  colNames: We.value.colNames,
1667
1668
  head: We.value.head,
@@ -1672,13 +1673,13 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1672
1673
  isCursorPointer: Se.value,
1673
1674
  onClose: Oo
1674
1675
  }, {
1675
- th: A(({ th: o }) => [
1676
- H("div", {
1676
+ th: M(({ th: o }) => [
1677
+ E("div", {
1677
1678
  innerHTML: o,
1678
1679
  style: { display: "flex", "align-items": "center" }
1679
1680
  }, null, 8, za)
1680
1681
  ]),
1681
- td: A(({ td: o }) => [
1682
+ td: M(({ td: o }) => [
1682
1683
  gt(tt(o.name || o), 1)
1683
1684
  ]),
1684
1685
  _: 1
@@ -1688,15 +1689,15 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1688
1689
  }, [
1689
1690
  t.value.table.useDialog ? {
1690
1691
  name: "title",
1691
- fn: A(() => [
1692
+ fn: M(() => [
1692
1693
  gt(tt(Ze.value.title), 1)
1693
1694
  ]),
1694
1695
  key: "0"
1695
1696
  } : void 0,
1696
1697
  t.value.table.useDialog ? {
1697
1698
  name: "actions",
1698
- fn: A(() => [
1699
- H("button", {
1699
+ fn: M(() => [
1700
+ E("button", {
1700
1701
  tabindex: "0",
1701
1702
  class: "vue-ui-user-options-button",
1702
1703
  onClick: l[1] || (l[1] = (o) => Rt(t.value.userOptions.callbacks.csv)),
@@ -1710,13 +1711,13 @@ const fa = ["id"], pa = ["id"], ga = ["id"], ya = ["tabindex", "onClick", "onKey
1710
1711
  ]),
1711
1712
  key: "1"
1712
1713
  } : void 0
1713
- ]), 1040)) : L("", !0),
1714
- k(e.$slots, "skeleton", {}, () => [
1715
- y(Ae) ? (d(), he(Kl, { key: 0 })) : L("", !0)
1714
+ ]), 1040)) : N("", !0),
1715
+ C(e.$slots, "skeleton", {}, () => [
1716
+ y(Ae) ? (v(), he(Kl, { key: 0 })) : N("", !0)
1716
1717
  ], !0)
1717
1718
  ], 46, fa));
1718
1719
  }
1719
- }, sn = /* @__PURE__ */ sa(Va, [["__scopeId", "data-v-e07a50ff"]]);
1720
+ }, sn = /* @__PURE__ */ sa(Va, [["__scopeId", "data-v-d1257624"]]);
1720
1721
  export {
1721
1722
  sn as default
1722
1723
  };