vue-data-ui 3.16.5 → 3.17.0

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 (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-CvtT2-UH.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-XhJQD-ri.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BhzRmNak.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-CZCn6OMX.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BRyBDt56.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-Dulq2vNg.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-BJD25FJV.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-DCHtRFDV.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-46054xSO.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-CSdFVJx2.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-CmPyW4rp.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-QZjpAemm.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-C051dx6c.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-zCwCXCfe.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-HPy7kRgm.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-DxOwX8nC.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-KD1WwwLS.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-0BJ1t72z.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-lPRZK-_Q.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-WJG6UU4c.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-Cnqgwc0G.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-BXFwr3H7.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-DeYdEiHT.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-C0-M2WoG.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DctMvoRr.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-sLaCn8jd.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-reisxCWX.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-z3S4DcoQ.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CQEaLq9E.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-BGIt_k-N.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-BxXAWrhM.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-CMKIYAuh.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-Tb8aJ91r.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-CLAqGLQH.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-BK2SOFv9.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-BY7vIWHL.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-BlUbhTZ5.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-Bsfw_4y_.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BaORhzZH.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-D8afRw4d.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BE5ADLxq.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-C2QdubPf.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BxP_TDR3.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-CgHAoaeu.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-0m7QAV93.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DNt9nHQ9.js → vue-ui-sparkline-B-zOqzrC.js} +2 -2
  129. package/dist/{vue-ui-sparkstackbar-RU8zQLfe.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-C3qGXmTQ.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-W24y7z12.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot--MWxAM0R.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DKbkhX_x.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BtkypjfT.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-qaGYZUMd.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-CpQYSD-K.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-CUiSLMlj.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-CMfWyA5N.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-H02mH3Rc.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-agcFNYTs.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-B0fNWUVr.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-B8mANOO8.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-DgyEEqnJ.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as se, computed as G, ref as P, toRefs as Qt, watch as Te, shallowRef as ft, onMounted as eo, onBeforeUnmount as to, openBlock as Y, createElementBlock as K, unref as S, normalizeStyle as Re, createElementVNode as me, toDisplayString as ze, createBlock as oe, createCommentVNode as V, withCtx as X, renderSlot as I, normalizeProps as U, guardReactiveProps as L, createSlots as ht, normalizeClass as pt, createVNode as je, Fragment as oo, renderList as ao, resolveDynamicComponent as no, mergeProps as lo, createTextVNode as gt, nextTick as Ye } from "vue";
1
+ import { defineAsyncComponent as se, computed as G, ref as P, toRefs as Qt, watch as Te, shallowRef as ft, onMounted as eo, onBeforeUnmount as to, openBlock as Y, createElementBlock as K, unref as S, normalizeStyle as ze, createElementVNode as me, toDisplayString as Ye, createBlock as oe, createCommentVNode as L, withCtx as A, renderSlot as I, normalizeProps as Z, guardReactiveProps as V, createSlots as ht, normalizeClass as pt, createVNode as je, Fragment as oo, renderList as ao, resolveDynamicComponent as no, mergeProps as lo, createTextVNode as gt, nextTick as We } from "vue";
2
2
  import { d as yt, u as so } from "./useResponsive-DfdjqQps.js";
3
- import { j as io, t as bt, e as uo, K as ro, m as co, p as We, o as wt, q as kt, r as vo, l as mo, X as fo, a0 as ho, a1 as po, T as go } from "./lib-DBptbyyI.js";
4
- import { u as yo } from "./useConfig-CpJA0VZa.js";
3
+ import { j as io, t as bt, e as uo, K as ro, m as co, p as De, o as wt, q as kt, r as vo, l as mo, X as fo, a0 as ho, a1 as po, T as go } from "./lib-DBptbyyI.js";
4
+ import { u as yo } from "./useConfig-ChRble71.js";
5
5
  import { u as bo, B as wo } from "./BaseScanner-BhhkKVoj.js";
6
6
  import { u as ko } from "./usePrinter-CEpYU3r5.js";
7
7
  import { u as xo } from "./useSvgExport-ByUukOZt.js";
@@ -31,10 +31,10 @@ function Oo({
31
31
  const y = r.getImageData(0, 0, h, g).data, k = [], l = [];
32
32
  let u = h, M = g, x = 0, T = 0, d = !1;
33
33
  for (let C = 0; C < g; C += 1) {
34
- const Z = C * h * 4;
34
+ const _ = C * h * 4;
35
35
  let E = -1, N = !1;
36
36
  for (let z = 0; z < h; z += 1) {
37
- const q = Z + z * 4 + 3;
37
+ const q = _ + z * 4 + 3;
38
38
  y[q] > 1 ? (k.push([z, C]), d = !0, z < u && (u = z), z > x && (x = z), C < M && (M = C), C > T && (T = C), N || (N = !0, E = z)) : N && (l.push([C, E, z - 1]), N = !1, E = -1);
39
39
  }
40
40
  N && l.push([C, E, h - 1]);
@@ -204,10 +204,10 @@ function Do(a, s) {
204
204
  for (let l = 0; l < f.length; l += 1) {
205
205
  const u = f[l], M = u[0], x = u[1], T = u[2], d = Math.round(M * s);
206
206
  if (d < 0 || d >= i) continue;
207
- const C = Math.round(x * s), Z = Math.round((T + 1) * s) - 1;
208
- if (Z < C) continue;
207
+ const C = Math.round(x * s), _ = Math.round((T + 1) * s) - 1;
208
+ if (_ < C) continue;
209
209
  let E = n[d];
210
- E || (E = [], n[d] = E), E.push([C, Z]), y = !0, C < p && (p = C), Z > g && (g = Z), d < h && (h = d), d > b && (b = d);
210
+ E || (E = [], n[d] = E), E.push([C, _]), y = !0, C < p && (p = C), _ > g && (g = _), d < h && (h = d), d > b && (b = d);
211
211
  }
212
212
  if (!y)
213
213
  return {
@@ -271,17 +271,17 @@ function Bo({
271
271
  const n = Yo({ wordMask: s, w: f, h: c, dilation: r }), p = Xo(n), h = { wordMask: n, runs: p };
272
272
  return Ft.set(m, h), h;
273
273
  }
274
- const Zo = 6, _o = 2, Mt = Math.PI / 180, It = [], At = [];
274
+ const Zo = 6, Vo = 2, Mt = Math.PI / 180, It = [], At = [];
275
275
  for (let a = 0; a < 360; a += Zo) {
276
276
  const s = a * Mt;
277
277
  It.push(Math.cos(s)), At.push(Math.sin(s));
278
278
  }
279
279
  const Ot = [], Xt = [];
280
- for (let a = 0; a < 360; a += _o) {
280
+ for (let a = 0; a < 360; a += Vo) {
281
281
  const s = a * Mt;
282
282
  Ot.push(Math.cos(s)), Xt.push(Math.sin(s));
283
283
  }
284
- function Vo(a, s, f) {
284
+ function _o(a, s, f) {
285
285
  if (!a.length) return;
286
286
  let c = 1 / 0, r = -1 / 0, m = 1 / 0, i = -1 / 0;
287
287
  for (let l = 0; l < a.length; l += 1) {
@@ -395,8 +395,8 @@ async function $t({
395
395
  }) {
396
396
  let C = 1;
397
397
  for (; C >= f; ) {
398
- const Z = C === 1 ? a : Do(a, C), E = qo({
399
- currentBitmap: Z,
398
+ const _ = C === 1 ? a : Do(a, C), E = qo({
399
+ currentBitmap: _,
400
400
  strictPixelPadding: b,
401
401
  scaleFactor: C,
402
402
  baseBitmap: a,
@@ -412,12 +412,12 @@ async function $t({
412
412
  } = E;
413
413
  let J = 0, H = 0;
414
414
  for (; J < h && H < T; ) {
415
- for (let A = 0; A < u.length; A += 1) {
415
+ for (let O = 0; O < u.length; O += 1) {
416
416
  H += 1;
417
417
  const Q = Math.round(
418
- n + J * u[A] - z / 2
418
+ n + J * u[O] - z / 2
419
419
  ), ee = Math.round(
420
- p + J * M[A] - q / 2
420
+ p + J * M[O] - q / 2
421
421
  );
422
422
  if (Q < 0 || ee < 0 || Q + z > m || ee + q > i)
423
423
  continue;
@@ -543,7 +543,7 @@ async function jo({
543
543
  }
544
544
  const b = f.width, y = f.height, k = Math.round(b), l = Math.round(y), u = 1, M = f.minFontSize, x = Math.min(f.maxFontSize, 100), T = a.map((e) => e.value), d = Math.min(...T), C = Math.max(...T);
545
545
  if (k <= 0 || l <= 0) return [];
546
- const Z = k + 31 >>> 5, E = new Uint32Array(Z * l), N = document.createElement("canvas"), z = N.getContext("2d", { willReadFrequently: !0 });
546
+ const _ = k + 31 >>> 5, E = new Uint32Array(_ * l), N = document.createElement("canvas"), z = N.getContext("2d", { willReadFrequently: !0 });
547
547
  N.width = k, N.height = l;
548
548
  const q = 2, ae = 1, ie = Math.max(k, l), ue = Math.floor(k / 2), re = Math.floor(l / 2), H = [...a.map((e, R) => ({
549
549
  ...e,
@@ -551,9 +551,9 @@ async function jo({
551
551
  id: e.id != null ? e.id : `${e.name}__${R}`
552
552
  }))].sort(
553
553
  (e, R) => R.value - e.value
554
- ), A = [], Q = 0.9;
554
+ ), O = [], Q = 0.9;
555
555
  for (let e = 0; e < H.length; e += 1) {
556
- const R = H[e], we = A.length, de = Lo({
556
+ const R = H[e], we = O.length, de = Lo({
557
557
  value: R.value,
558
558
  minimumValue: d,
559
559
  maximumValue: C,
@@ -579,7 +579,7 @@ async function jo({
579
579
  baseFontSize: de,
580
580
  minimumScaleFactor: Ie,
581
581
  maskBits: E,
582
- maskRowStride: Z,
582
+ maskRowStride: _,
583
583
  maskWidth: k,
584
584
  maskHeight: l,
585
585
  centerX: ue,
@@ -594,20 +594,20 @@ async function jo({
594
594
  spiralRadiusStep: q,
595
595
  fallbackSpiralRadiusStep: ae
596
596
  });
597
- if (j && (A.push(j), r && A.length > we)) {
598
- const xe = A[A.length - 1];
599
- r({ word: xe, all: A });
597
+ if (j && (O.push(j), r && O.length > we)) {
598
+ const xe = O[O.length - 1];
599
+ r({ word: xe, all: O });
600
600
  }
601
601
  await g();
602
602
  }
603
- if (!A.length)
603
+ if (!O.length)
604
604
  return [];
605
- Vo(A, k, l);
605
+ _o(O, k, l);
606
606
  const ce = i() - n;
607
607
  return m && typeof console < "u" && console.log && console.log(
608
608
  "[vue-data-ui][word-cloud] positionWordsAsync:",
609
609
  `${ce.toFixed(2)} ms for ${a.length} words`
610
- ), A.sort((e, R) => R.fontSize - e.fontSize);
610
+ ), O.sort((e, R) => R.fontSize - e.fontSize);
611
611
  }
612
612
  const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style: { position: "relative" } }, Qo = ["aria-describedby", "xmlns", "viewBox"], ea = ["width", "height"], ta = ["transform"], oa = ["transform"], aa = ["data-a11y-word-index", "x", "y", "width", "height", "aria-label", "onMouseover", "onMouseleave", "onClick"], na = ["fill", "font-weight", "font-size", "transform", "stroke", "stroke-width"], la = {
613
613
  key: 0,
@@ -639,14 +639,14 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
639
639
  },
640
640
  emits: ["copyAlt"],
641
641
  setup(a, { expose: s, emit: f }) {
642
- const c = se(() => import("./Tooltip-Bf-kM3_A.js")), r = se(() => import("./BaseIcon-Cb3zzG6s.js")), m = se(() => import("./vue-ui-accordion-BF4v32wv.js")), i = se(() => import("./DataTable-DT2kIdQ6.js")), n = se(() => import("./PenAndPaper-Ct3qJ4lA.js")), p = se(() => import("./UserOptions-rW2fRf3V.js")), h = se(() => import("./PackageVersion-CvtT2-UH.js")), g = se(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_word_cloud: b } = yo(), { isThemeValid: y, warnInvalidTheme: k } = Co(), l = a, u = f, M = G({
642
+ const c = se(() => import("./Tooltip-C8KGyqQk.js")), r = se(() => import("./BaseIcon-Cb3zzG6s.js")), m = se(() => import("./vue-ui-accordion-CnDW2UQL.js")), i = se(() => import("./DataTable-DT2kIdQ6.js")), n = se(() => import("./PenAndPaper-Ct3qJ4lA.js")), p = se(() => import("./UserOptions-rW2fRf3V.js")), h = se(() => import("./PackageVersion-B3kmPxTR.js")), g = se(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_word_cloud: b } = yo(), { isThemeValid: y, warnInvalidTheme: k } = Co(), l = a, u = f, M = G({
643
643
  get() {
644
644
  return !!l.dataset && l.dataset.length;
645
645
  },
646
646
  set(t) {
647
647
  return t;
648
648
  }
649
- }), x = P(io()), T = P(0), d = P(null), C = P(null), Z = P(null), E = P(0), N = P(0), z = P(!1), q = P(null), ae = P(null), ie = P(!1), ue = P(!1), re = P(null), J = P(!1), H = P(!1), A = P(null), Q = P({ x: 0, y: 0 }), ee = P("pointer"), ce = P(!1), e = P(xe()), R = G(() => e.value.userOptions.useCursorPointer), we = G(() => bt({
649
+ }), x = P(io()), T = P(0), d = P(null), C = P(null), _ = P(null), E = P(0), N = P(0), z = P(!1), q = P(null), ae = P(null), ie = P(!1), ue = P(!1), re = P(null), J = P(!1), H = P(!1), O = P(null), Q = P({ x: 0, y: 0 }), ee = P("pointer"), ce = P(!1), e = P(xe()), R = G(() => e.value.userOptions.useCursorPointer), we = G(() => bt({
650
650
  defaultConfig: {
651
651
  userOptions: { show: !1 },
652
652
  table: { show: !1 },
@@ -672,7 +672,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
672
672
  prepareConfig: xe,
673
673
  callback: () => {
674
674
  Promise.resolve().then(() => {
675
- O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.chart.tooltip.show, O.value.showZoom = e.value.style.chart.zoom.show;
675
+ X.value.showTable = e.value.table.show, X.value.showTooltip = e.value.style.chart.tooltip.show, X.value.showZoom = e.value.style.chart.zoom.show;
676
676
  });
677
677
  },
678
678
  skeletonDataset: l.config?.skeletonDataset ?? [
@@ -754,18 +754,18 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
754
754
  });
755
755
  return {
756
756
  ...$,
757
- customPalette: $.customPalette.length ? $.customPalette : co[v] || We
757
+ customPalette: $.customPalette.length ? $.customPalette : co[v] || De
758
758
  };
759
759
  }
760
- const De = P({ x: 0, y: 0 });
761
- function Ee() {
760
+ const Ee = P({ x: 0, y: 0 });
761
+ function Ne() {
762
762
  const t = {
763
763
  x: 0,
764
764
  y: 0,
765
765
  width: Math.max(10, D.value.width),
766
766
  height: Math.max(10, D.value.height)
767
767
  };
768
- Bt(t), De.value = {
768
+ Bt(t), Ee.value = {
769
769
  x: t.x + t.width / 2,
770
770
  y: t.y + t.height / 2
771
771
  }, Fe();
@@ -774,9 +774,9 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
774
774
  et();
775
775
  }, 100), Ae = P(!1);
776
776
  Te(() => Ae.value, (t) => {
777
- t === !1 && (ue.value = !0, Rt(), Ee());
777
+ t === !1 && (ue.value = !0, Rt(), Ne());
778
778
  }), Te(() => l.config, (t) => {
779
- e.value = xe(), ke.value = !e.value.userOptions.showOnChartHover, Ke(), E.value += 1, N.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.chart.tooltip.show, O.value.showZoom = e.value.style.chart.zoom.show;
779
+ e.value = xe(), ke.value = !e.value.userOptions.showOnChartHover, Ke(), E.value += 1, N.value += 1, X.value.showTable = e.value.table.show, X.value.showTooltip = e.value.style.chart.tooltip.show, X.value.showZoom = e.value.style.chart.zoom.show;
780
780
  }, { deep: !0 });
781
781
  const D = P({
782
782
  width: e.value.style.chart.width,
@@ -789,21 +789,21 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
789
789
  chart: d.value,
790
790
  title: e.value.style.chart.title.text ? C.value : null,
791
791
  legend: e.value.style.chart.controls.show ? re.value?.$el : null,
792
- source: Z.value
792
+ source: _.value
793
793
  });
794
794
  requestAnimationFrame(async () => {
795
- D.value.width = Math.max(10, t), D.value.height = Math.max(10, v - 12), await Ye(), Ae.value = !1;
795
+ D.value.width = Math.max(10, t), D.value.height = Math.max(10, v - 12), await We(), Ae.value = !1;
796
796
  });
797
797
  }, 100), Yt = () => {
798
798
  Ae.value = !0, zt();
799
799
  }, ne = ft(null), ge = ft(null);
800
800
  eo(Ke);
801
- const Ne = G(() => !!e.value.debug);
801
+ const Be = G(() => !!e.value.debug);
802
802
  function Ke() {
803
803
  wt(l.dataset) ? kt({
804
804
  componentName: "VueUiWordCloud",
805
805
  type: "dataset",
806
- debug: Ne.value
806
+ debug: Be.value
807
807
  }) : he.value.forEach((t, v) => {
808
808
  vo({
809
809
  datasetObject: t,
@@ -814,25 +814,25 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
814
814
  type: "datasetSerieAttribute",
815
815
  property: o,
816
816
  index: v,
817
- debug: Ne.value
817
+ debug: Be.value
818
818
  });
819
819
  });
820
- }), wt(l.dataset) || (Pe.value = e.value.loading), e.value.responsive && (ne.value && (ge.value && ne.value.unobserve(ge.value), ne.value.disconnect()), ne.value = new ResizeObserver(Yt), ge.value = d.value.parentNode, ne.value.observe(ge.value)), Ee();
820
+ }), wt(l.dataset) || (Pe.value = e.value.loading), e.value.responsive && (ne.value && (ge.value && ne.value.unobserve(ge.value), ne.value.disconnect()), ne.value = new ResizeObserver(Yt), ge.value = d.value.parentNode, ne.value.observe(ge.value)), Ne();
821
821
  }
822
822
  to(() => {
823
823
  ne.value && (ge.value && ne.value.unobserve(ge.value), ne.value.disconnect());
824
824
  });
825
- const { isPrinting: Be, isImaging: Ze, generatePdf: Je, generateImage: Qe } = ko({
825
+ const { isPrinting: Ze, isImaging: Ve, generatePdf: Je, generateImage: Qe } = ko({
826
826
  elementId: `wordCloud_${x.value}`,
827
827
  fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
828
828
  options: e.value.userOptions.print
829
- }), O = P({
829
+ }), X = P({
830
830
  showTable: e.value.table.show,
831
831
  showTooltip: e.value.style.chart.tooltip.show,
832
832
  showZoom: e.value.style.chart.zoom.show
833
833
  });
834
834
  Te(e, () => {
835
- O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.chart.tooltip.show, O.value.showZoom = e.value.style.chart.zoom.show;
835
+ X.value.showTable = e.value.table.show, X.value.showTooltip = e.value.style.chart.tooltip.show, X.value.showZoom = e.value.style.chart.zoom.show;
836
836
  }, { immediate: !0 });
837
837
  function Wt(t, v, o = "Arial") {
838
838
  const F = document.createElement("canvas").getContext("2d");
@@ -846,18 +846,18 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
846
846
  const t = [...he.value].map((F) => F.value), v = Math.max(...t), o = Math.min(...t), $ = [...he.value].map((F, w) => {
847
847
  let B = (F.value - o) / (v - o) * (D.value.maxFontSize - D.value.minFontSize) + D.value.minFontSize;
848
848
  B = isNaN(B) ? D.value.minFontSize : B;
849
- const _ = Wt(F.name, B);
849
+ const U = Wt(F.name, B);
850
850
  return {
851
851
  ...F,
852
852
  id: F.id ?? `${F.name}__${w}`,
853
853
  fontSize: B,
854
- width: _.width,
855
- height: _.height,
856
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[w] || e.value.customPalette[w % e.value.customPalette.length] || We[w] || We[w % We.length] : e.value.style.chart.words.color
854
+ width: U.width,
855
+ height: U.height,
856
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[w] || e.value.customPalette[w % e.value.customPalette.length] || De[w] || De[w % De.length] : e.value.style.chart.words.color
857
857
  };
858
858
  });
859
859
  W.value.length = 0, Ce.clear(), jo({
860
- debugTiming: Ne.value,
860
+ debugTiming: Be.value,
861
861
  words: $,
862
862
  svg: D.value,
863
863
  proximity: e.value.style.chart.words.proximity,
@@ -865,11 +865,11 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
865
865
  onProgress: ({ all: F }) => {
866
866
  for (const w of F) {
867
867
  const B = w.id;
868
- let _ = Ce.get(B);
869
- if (_ === void 0)
870
- _ = W.value.length, Ce.set(B, _), W.value.push({ ...w });
868
+ let U = Ce.get(B);
869
+ if (U === void 0)
870
+ U = W.value.length, Ce.set(B, U), W.value.push({ ...w });
871
871
  else {
872
- const te = W.value[_];
872
+ const te = W.value[U];
873
873
  te.x = w.x, te.y = w.y, te.width = w.width, te.height = w.height, te.fontSize = w.fontSize, te.minX = w.minX, te.minY = w.minY, te.maxX = w.maxX, te.maxY = w.maxY;
874
874
  }
875
875
  }
@@ -886,7 +886,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
886
886
  return { head: t, body: v };
887
887
  });
888
888
  function _e(t = null) {
889
- Ye(() => {
889
+ We(() => {
890
890
  const v = Oe.value.head.map((F, w) => [[
891
891
  F.name
892
892
  ], [Oe.value.body[w]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(v), $ = ho(o);
@@ -898,15 +898,15 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
898
898
  e.value.table.columnNames.series,
899
899
  e.value.table.columnNames.value
900
900
  ], v = Oe.value.head.map((w, B) => {
901
- const _ = mo({ p: e.value.table.td.prefix, v: Oe.value.body[B], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
901
+ const U = mo({ p: e.value.table.td.prefix, v: Oe.value.body[B], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
902
902
  return [
903
903
  {
904
904
  color: w.color,
905
905
  name: w.name
906
906
  },
907
- _
907
+ U
908
908
  ];
909
- }), o = v.map((w) => w.map((B, _) => _ === 0 ? B.name : B)), $ = {
909
+ }), o = v.map((w) => w.map((B, U) => U === 0 ? B.name : B)), $ = {
910
910
  th: {
911
911
  backgroundColor: e.value.table.th.backgroundColor,
912
912
  color: e.value.table.th.color,
@@ -937,26 +937,26 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
937
937
  return W.value;
938
938
  }
939
939
  function ot() {
940
- O.value.showTable = !O.value.showTable;
940
+ X.value.showTable = !X.value.showTable;
941
941
  }
942
942
  function at() {
943
- O.value.showTooltip = !O.value.showTooltip;
943
+ X.value.showTooltip = !X.value.showTooltip;
944
944
  }
945
945
  const be = P(!1);
946
- function Ve() {
946
+ function Ue() {
947
947
  be.value = !be.value;
948
948
  }
949
949
  function nt() {
950
- O.value.showZoom = !O.value.showZoom;
950
+ X.value.showZoom = !X.value.showZoom;
951
951
  }
952
- const Et = G(() => !be.value && O.value.showZoom), { viewBox: Xe, resetZoom: Fe, isZoom: Nt, setInitialViewBox: Bt, zoomByFactor: lt, scale: st } = Mo(j, {
952
+ const Et = G(() => !be.value && X.value.showZoom), { viewBox: Xe, resetZoom: Fe, isZoom: Nt, setInitialViewBox: Bt, zoomByFactor: lt, scale: st } = Mo(j, {
953
953
  x: 0,
954
954
  y: 0,
955
955
  width: D.value.width <= 0 ? 10 : D.value.width,
956
956
  height: D.value.height <= 0 ? 10 : D.value.height
957
957
  }, 1, Et);
958
958
  Te(() => l.dataset, () => {
959
- he.value = pe(), e.value.responsive || (et(), Ee());
959
+ he.value = pe(), e.value.responsive || (et(), Ne());
960
960
  }, { immediate: !0 });
961
961
  async function Zt({ scale: t = 2 } = {}) {
962
962
  if (!d.value) return;
@@ -971,7 +971,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
971
971
  };
972
972
  }
973
973
  const $e = G(() => {
974
- const t = e.value.table.useDialog && !e.value.table.show, v = O.value.showTable;
974
+ const t = e.value.table.useDialog && !e.value.table.show, v = X.value.showTable;
975
975
  return {
976
976
  component: t ? g : m,
977
977
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -1001,19 +1001,19 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1001
1001
  }
1002
1002
  };
1003
1003
  });
1004
- Te(() => O.value.showTable, (t) => {
1004
+ Te(() => X.value.showTable, (t) => {
1005
1005
  e.value.table.show || (t && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
1006
1006
  });
1007
1007
  function it() {
1008
- O.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
1008
+ X.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
1009
1009
  }
1010
- const _t = G(() => e.value.style.chart.backgroundColor), Vt = G(() => e.value.style.chart.title), { exportSvg: Ut, getSvg: Lt } = xo({
1010
+ const Vt = G(() => e.value.style.chart.backgroundColor), _t = G(() => e.value.style.chart.title), { exportSvg: Ut, getSvg: Lt } = xo({
1011
1011
  svg: j,
1012
- title: Vt,
1013
- backgroundColor: _t
1012
+ title: _t,
1013
+ backgroundColor: Vt
1014
1014
  });
1015
1015
  async function ut({ isCb: t }) {
1016
- H.value = !0, await Ye();
1016
+ H.value = !0, await We();
1017
1017
  try {
1018
1018
  if (t) {
1019
1019
  const { blob: v, url: o, text: $, dataUrl: F } = await Lt();
@@ -1041,12 +1041,12 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1041
1041
  function ct() {
1042
1042
  lt(1 / 1.5, !0);
1043
1043
  }
1044
- const ve = P(null), Se = P(!1), Ue = P(""), Le = P(null);
1044
+ const ve = P(null), Se = P(!1), Le = P(""), Re = P(null);
1045
1045
  function qe() {
1046
- ve.value = null, A.value = null, z.value = !1;
1046
+ ve.value = null, O.value = null, z.value = !1;
1047
1047
  }
1048
1048
  function Ht(t, v) {
1049
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: v }), !(A.value === v && ee.value === "keyboard") && (ve.value = null, z.value = !1);
1049
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: v }), !(O.value === v && ee.value === "keyboard") && (ve.value = null, z.value = !1);
1050
1050
  }
1051
1051
  function dt(t, v) {
1052
1052
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: v });
@@ -1062,8 +1062,8 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1062
1062
  };
1063
1063
  }
1064
1064
  function vt(t, v, o = "pointer") {
1065
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: v }), !O.value.showTooltip) return;
1066
- ee.value = o, A.value = v, ve.value = t.id, Le.value = { datapoint: t, config: e.value };
1065
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: v }), !X.value.showTooltip) return;
1066
+ ee.value = o, O.value = v, ve.value = t.id, Re.value = { datapoint: t, config: e.value };
1067
1067
  const $ = e.value.style.chart.tooltip.customFormat;
1068
1068
  if (Se.value = !1, go($))
1069
1069
  try {
@@ -1071,15 +1071,15 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1071
1071
  datapoint: t,
1072
1072
  config: e.value
1073
1073
  });
1074
- typeof F == "string" && (Ue.value = F, Se.value = !0);
1074
+ typeof F == "string" && (Le.value = F, Se.value = !0);
1075
1075
  } catch {
1076
1076
  console.warn("Custom format cannot be applied."), Se.value = !1;
1077
1077
  }
1078
1078
  if (!Se.value) {
1079
1079
  let F = `<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${t.color}"/></svg><span>${t.name}:</span><b>${(t.value || 0).toFixed(e.value.style.chart.tooltip.roundingValue)}</b>`;
1080
- Ue.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${F}</div>`;
1080
+ Le.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${F}</div>`;
1081
1081
  }
1082
- o === "keyboard" && Ye(() => {
1082
+ o === "keyboard" && We(() => {
1083
1083
  jt(v);
1084
1084
  }), z.value = !0;
1085
1085
  }
@@ -1097,7 +1097,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1097
1097
  }));
1098
1098
  }
1099
1099
  function Gt() {
1100
- A.value = null, ce.value = !0;
1100
+ O.value = null, ce.value = !0;
1101
1101
  }
1102
1102
  function Kt() {
1103
1103
  qe(), ce.value = !1;
@@ -1111,13 +1111,13 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1111
1111
  return;
1112
1112
  }
1113
1113
  if ($) {
1114
- if (A.value === null) return;
1115
- const _ = W.value[A.value];
1116
- if (!_) return;
1117
- dt(_, A.value);
1114
+ if (O.value === null) return;
1115
+ const U = W.value[O.value];
1116
+ if (!U) return;
1117
+ dt(U, O.value);
1118
1118
  return;
1119
1119
  }
1120
- let w = A.value;
1120
+ let w = O.value;
1121
1121
  w === null || w < 0 || w >= W.value.length ? w = o ? 0 : W.value.length - 1 : (w += o ? 1 : -1, w < 0 && (w = W.value.length - 1), w >= W.value.length && (w = 0));
1122
1122
  const B = W.value[w];
1123
1123
  B && vt(B, w, "keyboard");
@@ -1136,7 +1136,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1136
1136
  resetZoom: Fe,
1137
1137
  toggleTable: ot,
1138
1138
  toggleTooltip: at,
1139
- toggleAnnotator: Ve,
1139
+ toggleAnnotator: Ue,
1140
1140
  toggleFullscreen: tt,
1141
1141
  toggleZoom: nt,
1142
1142
  copyAlt: mt
@@ -1147,7 +1147,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1147
1147
  id: `wordCloud_${x.value}`,
1148
1148
  "data-resizing": Ae.value,
1149
1149
  "data-relayout": ue.value,
1150
- style: Re(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
1150
+ style: ze(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
1151
1151
  onMouseenter: v[3] || (v[3] = () => S(Me)(!0)),
1152
1152
  onMouseleave: v[4] || (v[4] = () => {
1153
1153
  S(Me)(!1), ce.value || qe();
@@ -1157,7 +1157,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1157
1157
  id: `chart-instructions-${x.value}`,
1158
1158
  class: "sr-only"
1159
1159
  }, [
1160
- me("p", null, ze(e.value.a11y.translations.keyboardNavigation), 1)
1160
+ me("p", null, Ye(e.value.a11y.translations.keyboardNavigation), 1)
1161
1161
  ], 8, Ko),
1162
1162
  He.value?.rows?.length ? (Y(), oe(Io, {
1163
1163
  key: 0,
@@ -1166,7 +1166,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1166
1166
  body: He.value.rows,
1167
1167
  notice: e.value.a11y.translations.tableAvailable,
1168
1168
  caption: e.value.a11y.translations.tableCaption
1169
- }, null, 8, ["uid", "head", "body", "notice", "caption"])) : V("", !0),
1169
+ }, null, 8, ["uid", "head", "body", "notice", "caption"])) : L("", !0),
1170
1170
  e.value.userOptions.buttons.annotator ? (Y(), oe(S(n), {
1171
1171
  key: 1,
1172
1172
  svgRef: S(j),
@@ -1174,28 +1174,28 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1174
1174
  color: e.value.style.chart.color,
1175
1175
  active: be.value,
1176
1176
  isCursorPointer: R.value,
1177
- onClose: Ve
1177
+ onClose: Ue
1178
1178
  }, {
1179
- "annotator-action-close": X(() => [
1179
+ "annotator-action-close": A(() => [
1180
1180
  I(t.$slots, "annotator-action-close", {}, void 0, !0)
1181
1181
  ]),
1182
- "annotator-action-color": X(({ color: o }) => [
1183
- I(t.$slots, "annotator-action-color", U(L({ color: o })), void 0, !0)
1182
+ "annotator-action-color": A(({ color: o }) => [
1183
+ I(t.$slots, "annotator-action-color", Z(V({ color: o })), void 0, !0)
1184
1184
  ]),
1185
- "annotator-action-draw": X(({ mode: o }) => [
1186
- I(t.$slots, "annotator-action-draw", U(L({ mode: o })), void 0, !0)
1185
+ "annotator-action-draw": A(({ mode: o }) => [
1186
+ I(t.$slots, "annotator-action-draw", Z(V({ mode: o })), void 0, !0)
1187
1187
  ]),
1188
- "annotator-action-undo": X(({ disabled: o }) => [
1189
- I(t.$slots, "annotator-action-undo", U(L({ disabled: o })), void 0, !0)
1188
+ "annotator-action-undo": A(({ disabled: o }) => [
1189
+ I(t.$slots, "annotator-action-undo", Z(V({ disabled: o })), void 0, !0)
1190
1190
  ]),
1191
- "annotator-action-redo": X(({ disabled: o }) => [
1192
- I(t.$slots, "annotator-action-redo", U(L({ disabled: o })), void 0, !0)
1191
+ "annotator-action-redo": A(({ disabled: o }) => [
1192
+ I(t.$slots, "annotator-action-redo", Z(V({ disabled: o })), void 0, !0)
1193
1193
  ]),
1194
- "annotator-action-delete": X(({ disabled: o }) => [
1195
- I(t.$slots, "annotator-action-delete", U(L({ disabled: o })), void 0, !0)
1194
+ "annotator-action-delete": A(({ disabled: o }) => [
1195
+ I(t.$slots, "annotator-action-delete", Z(V({ disabled: o })), void 0, !0)
1196
1196
  ]),
1197
1197
  _: 3
1198
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : V("", !0),
1198
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : L("", !0),
1199
1199
  e.value.style.chart.title.text ? (Y(), K("div", {
1200
1200
  key: 2,
1201
1201
  ref_key: "chartTitle",
@@ -1213,15 +1213,15 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1213
1213
  }
1214
1214
  }
1215
1215
  }, null, 8, ["config"]))
1216
- ], 512)) : V("", !0),
1216
+ ], 512)) : L("", !0),
1217
1217
  e.value.userOptions.show && M.value && (S(Ie) || S(ke)) ? (Y(), oe(S(p), {
1218
1218
  ref_key: "userOptionsRef",
1219
1219
  ref: ae,
1220
1220
  key: `user_option_${T.value}`,
1221
1221
  backgroundColor: e.value.style.chart.backgroundColor,
1222
1222
  color: e.value.style.chart.color,
1223
- isPrinting: S(Be),
1224
- isImaging: S(Ze),
1223
+ isPrinting: S(Ze),
1224
+ isImaging: S(Ve),
1225
1225
  uid: x.value,
1226
1226
  hasPdf: e.value.userOptions.buttons.pdf,
1227
1227
  hasXls: e.value.userOptions.buttons.csv,
@@ -1235,14 +1235,14 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1235
1235
  chartElement: d.value,
1236
1236
  position: e.value.userOptions.position,
1237
1237
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
1238
- isTooltip: O.value.showTooltip,
1238
+ isTooltip: X.value.showTooltip,
1239
1239
  hasAnnotator: e.value.userOptions.buttons.annotator,
1240
1240
  isAnnotation: be.value,
1241
1241
  callbacks: e.value.userOptions.callbacks,
1242
1242
  printScale: e.value.userOptions.print.scale,
1243
1243
  tableDialog: e.value.table.useDialog,
1244
1244
  hasZoom: e.value.userOptions.buttons.zoom,
1245
- isZoom: O.value.showZoom,
1245
+ isZoom: X.value.showZoom,
1246
1246
  isCursorPointer: R.value,
1247
1247
  onToggleFullscreen: tt,
1248
1248
  onGeneratePdf: S(Je),
@@ -1251,84 +1251,84 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1251
1251
  onGenerateSvg: ut,
1252
1252
  onToggleTable: ot,
1253
1253
  onToggleTooltip: at,
1254
- onToggleAnnotator: Ve,
1254
+ onToggleAnnotator: Ue,
1255
1255
  onToggleZoom: nt,
1256
1256
  onCopyAlt: mt,
1257
- style: Re({
1257
+ style: ze({
1258
1258
  visibility: S(Ie) ? S(ke) ? "visible" : "hidden" : "visible"
1259
1259
  })
1260
1260
  }, ht({ _: 2 }, [
1261
1261
  t.$slots.menuIcon ? {
1262
1262
  name: "menuIcon",
1263
- fn: X(({ isOpen: o, color: $ }) => [
1264
- I(t.$slots, "menuIcon", U(L({ isOpen: o, color: $ })), void 0, !0)
1263
+ fn: A(({ isOpen: o, color: $ }) => [
1264
+ I(t.$slots, "menuIcon", Z(V({ isOpen: o, color: $ })), void 0, !0)
1265
1265
  ]),
1266
1266
  key: "0"
1267
1267
  } : void 0,
1268
1268
  t.$slots.optionPdf ? {
1269
1269
  name: "optionPdf",
1270
- fn: X(() => [
1270
+ fn: A(() => [
1271
1271
  I(t.$slots, "optionPdf", {}, void 0, !0)
1272
1272
  ]),
1273
1273
  key: "1"
1274
1274
  } : void 0,
1275
1275
  t.$slots.optionCsv ? {
1276
1276
  name: "optionCsv",
1277
- fn: X(() => [
1277
+ fn: A(() => [
1278
1278
  I(t.$slots, "optionCsv", {}, void 0, !0)
1279
1279
  ]),
1280
1280
  key: "2"
1281
1281
  } : void 0,
1282
1282
  t.$slots.optionImg ? {
1283
1283
  name: "optionImg",
1284
- fn: X(() => [
1284
+ fn: A(() => [
1285
1285
  I(t.$slots, "optionImg", {}, void 0, !0)
1286
1286
  ]),
1287
1287
  key: "3"
1288
1288
  } : void 0,
1289
1289
  t.$slots.optionSvg ? {
1290
1290
  name: "optionSvg",
1291
- fn: X(() => [
1291
+ fn: A(() => [
1292
1292
  I(t.$slots, "optionSvg", {}, void 0, !0)
1293
1293
  ]),
1294
1294
  key: "4"
1295
1295
  } : void 0,
1296
1296
  t.$slots.optionTable ? {
1297
1297
  name: "optionTable",
1298
- fn: X(() => [
1298
+ fn: A(() => [
1299
1299
  I(t.$slots, "optionTable", {}, void 0, !0)
1300
1300
  ]),
1301
1301
  key: "5"
1302
1302
  } : void 0,
1303
1303
  t.$slots.optionFullscreen ? {
1304
1304
  name: "optionFullscreen",
1305
- fn: X(({ toggleFullscreen: o, isFullscreen: $ }) => [
1306
- I(t.$slots, "optionFullscreen", U(L({ toggleFullscreen: o, isFullscreen: $ })), void 0, !0)
1305
+ fn: A(({ toggleFullscreen: o, isFullscreen: $ }) => [
1306
+ I(t.$slots, "optionFullscreen", Z(V({ toggleFullscreen: o, isFullscreen: $ })), void 0, !0)
1307
1307
  ]),
1308
1308
  key: "6"
1309
1309
  } : void 0,
1310
1310
  t.$slots.optionAnnotator ? {
1311
1311
  name: "optionAnnotator",
1312
- fn: X(({ toggleAnnotator: o, isAnnotator: $ }) => [
1313
- I(t.$slots, "optionAnnotator", U(L({ toggleAnnotator: o, isAnnotator: $ })), void 0, !0)
1312
+ fn: A(({ toggleAnnotator: o, isAnnotator: $ }) => [
1313
+ I(t.$slots, "optionAnnotator", Z(V({ toggleAnnotator: o, isAnnotator: $ })), void 0, !0)
1314
1314
  ]),
1315
1315
  key: "7"
1316
1316
  } : void 0,
1317
1317
  t.$slots.optionZoom ? {
1318
1318
  name: "optionZoom",
1319
- fn: X(({ toggleZoom: o, isZoomLocked: $ }) => [
1320
- I(t.$slots, "optionZoom", U(L({ toggleZoom: o, isZoomLocked: $ })), void 0, !0)
1319
+ fn: A(({ toggleZoom: o, isZoomLocked: $ }) => [
1320
+ I(t.$slots, "optionZoom", Z(V({ toggleZoom: o, isZoomLocked: $ })), void 0, !0)
1321
1321
  ]),
1322
1322
  key: "8"
1323
1323
  } : void 0,
1324
1324
  t.$slots.optionAltCopy ? {
1325
1325
  name: "optionAltCopy",
1326
- fn: X(({ altCopy: o }) => [
1327
- I(t.$slots, "optionAltCopy", U(L({ altCopy: o })), void 0, !0)
1326
+ fn: A(({ altCopy: o }) => [
1327
+ I(t.$slots, "optionAltCopy", Z(V({ altCopy: o })), void 0, !0)
1328
1328
  ]),
1329
1329
  key: "9"
1330
1330
  } : void 0
1331
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "hasZoom", "isZoom", "isCursorPointer", "onGeneratePdf", "style"])) : V("", !0),
1331
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "hasZoom", "isZoom", "isCursorPointer", "onGeneratePdf", "style"])) : L("", !0),
1332
1332
  e.value.style.chart.controls.position === "top" && e.value.style.chart.controls.show && !S(fe) ? (Y(), oe(xt, {
1333
1333
  key: 4,
1334
1334
  ref_key: "zoomControls",
@@ -1340,7 +1340,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1340
1340
  onZoomIn: rt,
1341
1341
  onZoomOut: ct,
1342
1342
  onResetZoom: v[0] || (v[0] = (o) => S(Fe)(!0))
1343
- }, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : V("", !0),
1343
+ }, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : L("", !0),
1344
1344
  me("div", Jo, [
1345
1345
  (Y(), K("svg", {
1346
1346
  ref_key: "svgRef",
@@ -1367,9 +1367,9 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1367
1367
  }
1368
1368
  }, [
1369
1369
  I(t.$slots, "chart-background", {}, void 0, !0)
1370
- ], 8, ea)) : V("", !0),
1370
+ ], 8, ea)) : L("", !0),
1371
1371
  me("g", {
1372
- transform: `translate(${De.value.x}, ${De.value.y})`,
1372
+ transform: `translate(${Ee.value.x}, ${Ee.value.y})`,
1373
1373
  class: pt({ "wc-finalized": ie.value })
1374
1374
  }, [
1375
1375
  (Y(!0), K(oo, null, ao(W.value, (o, $) => (Y(), K("g", {
@@ -1390,7 +1390,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1390
1390
  onMouseover: (F) => vt(o, $),
1391
1391
  onMouseleave: (F) => Ht(o, $),
1392
1392
  onClick: (F) => dt(o, $)
1393
- }, null, 40, aa)) : V("", !0),
1393
+ }, null, 40, aa)) : L("", !0),
1394
1394
  me("text", {
1395
1395
  fill: o.color,
1396
1396
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
@@ -1405,31 +1405,31 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1405
1405
  "stroke-width": o.height * 0.05,
1406
1406
  "stroke-linecap": "round",
1407
1407
  "stroke-linejoin": "round",
1408
- style: Re(`
1408
+ style: ze(`
1409
1409
  pointer-events:none;
1410
1410
  fill-opacity:${!ve.value || ve.value === o.id || !ie.value ? 1 : e.value.style.chart.words.hoverOpacity} !important;
1411
1411
  `)
1412
- }, ze(o.name), 13, na)
1412
+ }, Ye(o.name), 13, na)
1413
1413
  ], 8, oa))), 128))
1414
1414
  ], 10, ta),
1415
1415
  I(t.$slots, "svg", {
1416
1416
  svg: {
1417
1417
  ...D.value,
1418
- isPrintingImg: S(Be) | S(Ze) | J.value,
1418
+ isPrintingImg: S(Ze) | S(Ve) | J.value,
1419
1419
  isPrintingSvg: H.value
1420
1420
  }
1421
1421
  }, void 0, !0)
1422
1422
  ], 42, Qo)),
1423
1423
  t.$slots.hint ? (Y(), K("div", la, [
1424
- I(t.$slots, "hint", U(L({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ce.value })), void 0, !0)
1425
- ])) : V("", !0)
1424
+ I(t.$slots, "hint", Z(V({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ce.value })), void 0, !0)
1425
+ ])) : L("", !0)
1426
1426
  ]),
1427
1427
  t.$slots.watermark ? (Y(), K("div", sa, [
1428
- I(t.$slots, "watermark", U(L({ isPrinting: S(Be) || S(Ze) || J.value || H.value })), void 0, !0)
1429
- ])) : V("", !0),
1428
+ I(t.$slots, "watermark", Z(V({ isPrinting: S(Ze) || S(Ve) || J.value || H.value })), void 0, !0)
1429
+ ])) : L("", !0),
1430
1430
  S(Nt) ? (Y(), K("div", ia, [
1431
1431
  I(t.$slots, "reset-action", { reset: S(Fe) }, void 0, !0)
1432
- ])) : V("", !0),
1432
+ ])) : L("", !0),
1433
1433
  e.value.style.chart.controls.position === "bottom" && e.value.style.chart.controls.show && !S(fe) ? (Y(), oe(xt, {
1434
1434
  key: 7,
1435
1435
  ref_key: "zoomControls",
@@ -1441,10 +1441,10 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1441
1441
  onZoomIn: rt,
1442
1442
  onZoomOut: ct,
1443
1443
  onResetZoom: v[1] || (v[1] = (o) => S(Fe)(!0))
1444
- }, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : V("", !0),
1444
+ }, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : L("", !0),
1445
1445
  je(S(c), {
1446
1446
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1447
- show: O.value.showTooltip && z.value,
1447
+ show: X.value.showTooltip && z.value,
1448
1448
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1449
1449
  color: e.value.style.chart.tooltip.color,
1450
1450
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1455,7 +1455,7 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1455
1455
  position: e.value.style.chart.tooltip.position,
1456
1456
  offsetY: e.value.style.chart.tooltip.offsetY,
1457
1457
  parent: d.value,
1458
- content: Ue.value,
1458
+ content: Le.value,
1459
1459
  isCustom: Se.value,
1460
1460
  isFullscreen: le.value,
1461
1461
  smooth: e.value.style.chart.tooltip.smooth,
@@ -1465,28 +1465,31 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1465
1465
  isA11yMode: ee.value === "keyboard",
1466
1466
  a11yPosition: Q.value
1467
1467
  }, {
1468
- "tooltip-before": X(() => [
1469
- I(t.$slots, "tooltip-before", U(L({ ...Le.value })), void 0, !0)
1468
+ "tooltip-before": A(() => [
1469
+ I(t.$slots, "tooltip-before", Z(V({ ...Re.value })), void 0, !0)
1470
1470
  ]),
1471
- "tooltip-after": X(() => [
1472
- I(t.$slots, "tooltip-after", U(L({ ...Le.value })), void 0, !0)
1471
+ tooltip: A(() => [
1472
+ I(t.$slots, "tooltip", Z(V({ ...Re.value })), void 0, !0)
1473
+ ]),
1474
+ "tooltip-after": A(() => [
1475
+ I(t.$slots, "tooltip-after", Z(V({ ...Re.value })), void 0, !0)
1473
1476
  ]),
1474
1477
  _: 3
1475
1478
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1476
1479
  t.$slots.source ? (Y(), K("div", {
1477
1480
  key: 8,
1478
1481
  ref_key: "source",
1479
- ref: Z,
1482
+ ref: _,
1480
1483
  dir: "auto"
1481
1484
  }, [
1482
1485
  I(t.$slots, "source", {}, void 0, !0)
1483
- ], 512)) : V("", !0),
1486
+ ], 512)) : L("", !0),
1484
1487
  M.value && e.value.userOptions.buttons.table ? (Y(), oe(no($e.value.component), lo({ key: 9 }, $e.value.props, {
1485
1488
  ref_key: "tableUnit",
1486
1489
  ref: q,
1487
1490
  onClose: it
1488
1491
  }), ht({
1489
- content: X(() => [
1492
+ content: A(() => [
1490
1493
  (Y(), oe(S(i), {
1491
1494
  key: `table_${N.value}`,
1492
1495
  colNames: ye.value.colNames,
@@ -1498,14 +1501,14 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1498
1501
  isCursorPointer: R.value,
1499
1502
  onClose: it
1500
1503
  }, {
1501
- th: X(({ th: o }) => [
1504
+ th: A(({ th: o }) => [
1502
1505
  me("div", {
1503
1506
  innerHTML: o,
1504
1507
  style: { display: "flex", "align-items": "center" }
1505
1508
  }, null, 8, ua)
1506
1509
  ]),
1507
- td: X(({ td: o }) => [
1508
- gt(ze(o.name || o), 1)
1510
+ td: A(({ td: o }) => [
1511
+ gt(Ye(o.name || o), 1)
1509
1512
  ]),
1510
1513
  _: 1
1511
1514
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
@@ -1514,19 +1517,19 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1514
1517
  }, [
1515
1518
  e.value.table.useDialog ? {
1516
1519
  name: "title",
1517
- fn: X(() => [
1518
- gt(ze($e.value.title), 1)
1520
+ fn: A(() => [
1521
+ gt(Ye($e.value.title), 1)
1519
1522
  ]),
1520
1523
  key: "0"
1521
1524
  } : void 0,
1522
1525
  e.value.table.useDialog ? {
1523
1526
  name: "actions",
1524
- fn: X(() => [
1527
+ fn: A(() => [
1525
1528
  me("button", {
1526
1529
  tabindex: "0",
1527
1530
  class: "vue-ui-user-options-button",
1528
1531
  onClick: v[2] || (v[2] = (o) => _e(e.value.userOptions.callbacks.csv)),
1529
- style: Re({ cursor: R.value ? "pointer" : "default" })
1532
+ style: ze({ cursor: R.value ? "pointer" : "default" })
1530
1533
  }, [
1531
1534
  je(S(r), {
1532
1535
  name: "fileCsv",
@@ -1536,13 +1539,13 @@ const Go = ["id", "data-resizing", "data-relayout"], Ko = ["id"], Jo = { style:
1536
1539
  ]),
1537
1540
  key: "1"
1538
1541
  } : void 0
1539
- ]), 1040)) : V("", !0),
1542
+ ]), 1040)) : L("", !0),
1540
1543
  I(t.$slots, "skeleton", {}, () => [
1541
- S(fe) ? (Y(), oe(wo, { key: 0 })) : V("", !0)
1544
+ S(fe) ? (Y(), oe(wo, { key: 0 })) : L("", !0)
1542
1545
  ], !0)
1543
1546
  ], 44, Go));
1544
1547
  }
1545
- }, Pa = /* @__PURE__ */ Ao(ra, [["__scopeId", "data-v-0ca3ea63"]]);
1548
+ }, Pa = /* @__PURE__ */ Ao(ra, [["__scopeId", "data-v-0158f0bc"]]);
1546
1549
  export {
1547
1550
  Pa as default
1548
1551
  };