vue-data-ui 3.5.0 → 3.5.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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.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-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-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.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-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,5 +1,5 @@
1
- import { useCssVars as xt, computed as w, defineAsyncComponent as N, ref as m, toRefs as Ct, watch as ne, shallowRef as Ge, onMounted as _t, onBeforeUnmount as zt, watchEffect as $t, createElementBlock as g, openBlock as p, unref as i, normalizeStyle as se, normalizeClass as We, createBlock as V, createCommentVNode as _, renderSlot as k, createSlots as je, withCtx as z, normalizeProps as J, guardReactiveProps as K, createVNode as qe, Fragment as ue, renderList as Tt, createElementVNode as $, mergeProps as ke, toDisplayString as H, resolveDynamicComponent as St, createTextVNode as Xe, nextTick as Ye } from "vue";
2
- import { u as Ot, a as Ze } from "./useNestedProp-BjZe1Y85.js";
1
+ import { useCssVars as xt, computed as x, defineAsyncComponent as B, ref as m, toRefs as Ct, watch as ne, shallowRef as Ge, onMounted as $t, onBeforeUnmount as _t, watchEffect as zt, createElementBlock as w, openBlock as p, unref as i, normalizeStyle as se, normalizeClass as We, createBlock as G, createCommentVNode as _, renderSlot as b, withCtx as g, normalizeProps as S, guardReactiveProps as O, createSlots as je, createVNode as qe, Fragment as ue, renderList as Tt, createElementVNode as z, mergeProps as ke, toDisplayString as W, resolveDynamicComponent as St, createTextVNode as Xe, nextTick as Ye } from "vue";
2
+ import { u as Ot, a as Ze } from "./useNestedProp-DjGXw6S9.js";
3
3
  import { c as Je, t as Dt, b as we, p as re, o as It, f as Pt, e as Ft, h as At, U as Ke, d as xe, X as Mt, S as Et, J as Q, K as Nt, P as Rt, Q as Bt, a as Qe } from "./lib-C_mNZmhD.js";
4
4
  import { t as Lt, u as Ut } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as Vt } from "./usePrinter-DTzqpYKF.js";
@@ -7,7 +7,7 @@ import { u as Ht, B as Gt } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as jt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import qt from "./img-BecE5qXd.js";
10
- import Xt from "./Title-l36lOBMx.js";
10
+ import Xt from "./Title-isbiM8i8.js";
11
11
  import { t as Yt } from "./themes-AUNCOb2G.js";
12
12
  import { u as Zt } from "./useSvgExport-DrjCWun4.js";
13
13
  import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -24,48 +24,48 @@ function tt(u, c, f) {
24
24
  if (!v) return u;
25
25
  let n, o, s;
26
26
  if (n = u[0], n.x = 0, n.y = 0, !(v > 1) || (o = u[1], n.x = -o.r, o.x = n.r, o.y = 0, !(v > 2))) return u;
27
- lt(o, n, s = u[2]), n = new ie(n), o = new ie(o), s = new ie(s), n.next = s.previous = o, o.next = n.previous = s, s.next = o.previous = n;
27
+ at(o, n, s = u[2]), n = new ie(n), o = new ie(o), s = new ie(s), n.next = s.previous = o, o.next = n.previous = s, s.next = o.previous = n;
28
28
  e: for (let d = 3; d < v; ++d) {
29
- lt(n._, o._, s = u[d]), s = new ie(s);
30
- let x = o.next, C = n.previous, ee = o._.r, te = n._.r;
29
+ at(n._, o._, s = u[d]), s = new ie(s);
30
+ let C = o.next, $ = n.previous, ee = o._.r, te = n._.r;
31
31
  do
32
32
  if (ee <= te) {
33
- if (at(x._, s._)) {
34
- o = x, n.next = o, o.previous = n, --d;
33
+ if (lt(C._, s._)) {
34
+ o = C, n.next = o, o.previous = n, --d;
35
35
  continue e;
36
36
  }
37
- ee += x._.r, x = x.next;
37
+ ee += C._.r, C = C.next;
38
38
  } else {
39
- if (at(C._, s._)) {
40
- n = C, n.next = o, o.previous = n, --d;
39
+ if (lt($._, s._)) {
40
+ n = $, n.next = o, o.previous = n, --d;
41
41
  continue e;
42
42
  }
43
- te += C._.r, C = C.previous;
43
+ te += $._.r, $ = $.previous;
44
44
  }
45
- while (x !== C.next);
45
+ while (C !== $.next);
46
46
  s.previous = n, s.next = o, n.next = o.previous = o = s;
47
- let G = y(n, f, c), S;
47
+ let j = y(n, f, c), D;
48
48
  for (; (s = s.next) !== o; )
49
- (S = y(s, f, c)) < G && (n = s, G = S);
49
+ (D = y(s, f, c)) < j && (n = s, j = D);
50
50
  o = n.next;
51
51
  }
52
52
  return u;
53
53
  }
54
- function lt(u, c, f) {
54
+ function at(u, c, f) {
55
55
  const y = u.x - c.x, v = u.y - c.y, n = y * y + v * v;
56
56
  if (n) {
57
57
  const o = (c.r + f.r) ** 2, s = (u.r + f.r) ** 2;
58
58
  if (o > s) {
59
- const d = (n + s - o) / (2 * n), x = Math.sqrt(Math.max(0, s / n - d * d));
60
- f.x = u.x - d * y - x * v, f.y = u.y - d * v + x * y;
59
+ const d = (n + s - o) / (2 * n), C = Math.sqrt(Math.max(0, s / n - d * d));
60
+ f.x = u.x - d * y - C * v, f.y = u.y - d * v + C * y;
61
61
  } else {
62
- const d = (n + o - s) / (2 * n), x = Math.sqrt(Math.max(0, o / n - d * d));
63
- f.x = c.x + d * y - x * v, f.y = c.y + d * v + x * y;
62
+ const d = (n + o - s) / (2 * n), C = Math.sqrt(Math.max(0, o / n - d * d));
63
+ f.x = c.x + d * y - C * v, f.y = c.y + d * v + C * y;
64
64
  }
65
65
  } else
66
66
  f.x = c.x + f.r, f.y = c.y;
67
67
  }
68
- function at(u, c) {
68
+ function lt(u, c) {
69
69
  const f = u.r + c.r - 1e-6, y = c.x - u.x, v = c.y - u.y;
70
70
  return f > 0 && f * f > y * y + v * v;
71
71
  }
@@ -74,13 +74,13 @@ class ie {
74
74
  this._ = c, this.next = null, this.previous = null;
75
75
  }
76
76
  }
77
- const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y", "width", "height"], ll = ["id"], al = ["stop-color"], ol = ["stop-color"], nl = ["stop-color"], sl = { key: 0 }, ul = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onMouseout", "onClick"], rl = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], il = ["opacity", "x", "y", "font-size", "fill", "font-weight"], cl = ["opacity", "x", "y", "font-size", "fill", "font-weight"], vl = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], dl = {
77
+ const Qt = ["id"], ea = ["xmlns", "viewBox", "height", "width"], ta = ["x", "y", "width", "height"], aa = ["id"], la = ["stop-color"], oa = ["stop-color"], na = ["stop-color"], sa = { key: 0 }, ua = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onMouseout", "onClick"], ra = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], ia = ["opacity", "x", "y", "font-size", "fill", "font-weight"], ca = ["opacity", "x", "y", "font-size", "fill", "font-weight"], va = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], da = {
78
78
  key: 0,
79
79
  style: { pointerEvents: "none" }
80
- }, hl = { key: 1 }, fl = ["opacity", "x", "y", "font-size", "fill", "font-weight"], ml = ["opacity", "x", "y", "font-size", "fill", "font-weight"], pl = {
80
+ }, ha = { key: 1 }, fa = ["opacity", "x", "y", "font-size", "fill", "font-weight"], ma = ["opacity", "x", "y", "font-size", "fill", "font-weight"], pa = {
81
81
  key: 4,
82
82
  class: "vue-data-ui-watermark"
83
- }, yl = ["innerHTML"], bl = {
83
+ }, ya = ["innerHTML"], ba = {
84
84
  __name: "vue-ui-circle-pack",
85
85
  props: {
86
86
  config: {
@@ -99,11 +99,11 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
99
99
  emits: ["selectDatapoint"],
100
100
  setup(u, { expose: c, emit: f }) {
101
101
  xt((t) => ({
102
- v57f08582: L.value,
103
- v67b5dc0a: me.value
102
+ v35c9c350: V.value,
103
+ v432f6b49: me.value
104
104
  }));
105
- const y = N(() => import("./BaseIcon-BmMbm4d0.js")), v = N(() => import("./vue-ui-accordion-CZ0thhxa.js")), n = N(() => import("./DataTable-BT7VF2ua.js")), o = N(() => import("./UserOptions-CGnQt6Fd.js")), s = N(() => import("./PenAndPaper-DSvu9dwa.js")), d = N(() => import("./PackageVersion-Cyx_s25h.js")), x = N(() => import("./BaseDraggableDialog-ymf2sfB8.js")), C = u, ee = f, { vue_ui_circle_pack: te } = Ot(), G = w(() => !!C.dataset && C.dataset.length), S = m(Je()), T = m(null), Ce = m(null), _e = m(null), ze = m(0), $e = m(0), Te = m(0), ot = m(null), W = m(null), ce = m(null), e = m(he()), { loading: Se, FINAL_DATASET: Oe } = Ht({
106
- ...Ct(C),
105
+ const y = B(() => import("./BaseIcon-BmMbm4d0.js")), v = B(() => import("./vue-ui-accordion-CqhVCfc2.js")), n = B(() => import("./DataTable-BT7VF2ua.js")), o = B(() => import("./UserOptions-CGnQt6Fd.js")), s = B(() => import("./PenAndPaper-SZQIAgkg.js")), d = B(() => import("./PackageVersion-DQvyATVa.js")), C = B(() => import("./BaseDraggableDialog-ymf2sfB8.js")), $ = u, ee = f, { vue_ui_circle_pack: te } = Ot(), j = x(() => !!$.dataset && $.dataset.length), D = m(Je()), T = m(null), Ce = m(null), $e = m(null), _e = m(0), ze = m(0), Te = m(0), ot = m(null), q = m(null), ce = m(null), e = m(he()), { loading: Se, FINAL_DATASET: Oe } = Ht({
106
+ ...Ct($),
107
107
  FINAL_CONFIG: e,
108
108
  prepareConfig: he,
109
109
  skeletonDataset: [
@@ -140,112 +140,112 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
140
140
  } = Wt({ config: e.value });
141
141
  function he() {
142
142
  const t = Ze({
143
- userConfig: C.config,
143
+ userConfig: $.config,
144
144
  defaultConfig: te
145
145
  });
146
146
  return t.theme ? {
147
147
  ...Ze({
148
- userConfig: Yt.vue_ui_circle_pack[t.theme] || C.config,
148
+ userConfig: Yt.vue_ui_circle_pack[t.theme] || $.config,
149
149
  defaultConfig: t
150
150
  }),
151
151
  customPalette: we[t.theme] || re
152
152
  } : t;
153
153
  }
154
- ne(() => C.config, (t) => {
155
- e.value = he(), de.value = !e.value.userOptions.showOnChartHover, fe(), ze.value += 1, $e.value += 1, F.value.showTable = e.value.table.show;
154
+ ne(() => $.config, (t) => {
155
+ e.value = he(), de.value = !e.value.userOptions.showOnChartHover, fe(), _e.value += 1, ze.value += 1, M.value.showTable = e.value.table.show;
156
156
  }, { deep: !0 });
157
157
  const { isPrinting: Pe, isImaging: Fe, generatePdf: Ae, generateImage: Me } = Vt({
158
- elementId: `vue-ui-circle-pack_${S.value}`,
158
+ elementId: `vue-ui-circle-pack_${D.value}`,
159
159
  fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
160
160
  options: e.value.userOptions.print
161
- }), nt = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = m({
161
+ }), nt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), M = m({
162
162
  showTable: e.value.table.show
163
163
  });
164
164
  ne(e, () => {
165
- F.value = {
165
+ M.value = {
166
166
  showTable: e.value.table.show
167
167
  };
168
168
  }, { immediate: !0 });
169
- const O = Ge(null), R = Ge(null), A = m({ h: 10, w: 10 }), Ee = m(0), M = m([0, 0, 100, 100]), j = m({ h: 0, w: 0 }), st = w(() => e.value.debug);
169
+ const I = Ge(null), L = Ge(null), E = m({ h: 10, w: 10 }), Ee = m(0), N = m([0, 0, 100, 100]), X = m({ h: 0, w: 0 }), st = x(() => e.value.debug);
170
170
  async function fe() {
171
- It(C.dataset) && Pt({
171
+ It($.dataset) && Pt({
172
172
  componentName: "VueUiCirclePack",
173
173
  type: "dataset",
174
174
  debug: st.value
175
- }), A.value = { h: 10, w: 10 }, M.value = [0, 0, 100, 100], j.value = { h: 0, w: 0 }, B.value = await tt(le.value), D.value = et(B.value, 1).join(" "), j.value = Ne(T.value);
175
+ }), E.value = { h: 10, w: 10 }, N.value = [0, 0, 100, 100], X.value = { h: 0, w: 0 }, U.value = await tt(ae.value), P.value = et(U.value, 1).join(" "), X.value = Ne(T.value);
176
176
  const t = Lt(() => {
177
- const { width: a, height: l, heightTitle: r, heightNoTitle: b } = Ut({
177
+ const { width: l, height: a, heightTitle: r, heightNoTitle: k } = Ut({
178
178
  chart: T.value,
179
179
  title: Ce.value,
180
- noTitle: _e.value
181
- }), E = Math.max(10, a), ge = Math.max(10, l - 12);
182
- Ee.value = e.value.style.chart.title.text ? r : b, requestAnimationFrame(() => {
183
- A.value.w = E, A.value.h = ge - Ee.value, Ye(async () => {
184
- const kt = le.value.map((wt) => ({ ...wt }));
185
- B.value = await tt(kt, A.value.h, A.value.w), M.value = et(B.value, 1), D.value = M.value.join(" "), j.value = Ne(T.value);
180
+ noTitle: $e.value
181
+ }), R = Math.max(10, l), ge = Math.max(10, a - 12);
182
+ Ee.value = e.value.style.chart.title.text ? r : k, requestAnimationFrame(() => {
183
+ E.value.w = R, E.value.h = ge - Ee.value, Ye(async () => {
184
+ const kt = ae.value.map((wt) => ({ ...wt }));
185
+ U.value = await tt(kt, E.value.h, E.value.w), N.value = et(U.value, 1), P.value = N.value.join(" "), X.value = Ne(T.value);
186
186
  });
187
187
  });
188
188
  });
189
- O.value && (R.value && O.value.unobserve(R.value), O.value.disconnect()), O.value = new ResizeObserver(t), R.value = T.value.parentNode, O.value.observe(R.value);
189
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(t), L.value = T.value.parentNode, I.value.observe(L.value);
190
190
  }
191
- _t(fe), zt(() => {
192
- O.value && (R.value && O.value.unobserve(R.value), O.value.disconnect());
191
+ $t(fe), _t(() => {
192
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
193
193
  });
194
194
  function Ne(t) {
195
195
  if (!t || !t.parentElement)
196
196
  return console.warn("Component or parent element is missing."), { w: 0, h: 0 };
197
- const a = t.parentElement;
198
- if (a.offsetWidth > 0 && a.offsetHeight > 0)
199
- return { w: a.offsetWidth, h: a.offsetHeight };
200
- const l = window.getComputedStyle(a), r = l.width, b = l.height;
201
- return r !== "auto" && b !== "auto" && parseFloat(r) > 0 && parseFloat(b) > 0 ? { w: parseFloat(r), h: parseFloat(b) } : { w: 0, h: 0 };
197
+ const l = t.parentElement;
198
+ if (l.offsetWidth > 0 && l.offsetHeight > 0)
199
+ return { w: l.offsetWidth, h: l.offsetHeight };
200
+ const a = window.getComputedStyle(l), r = a.width, k = a.height;
201
+ return r !== "auto" && k !== "auto" && parseFloat(r) > 0 && parseFloat(k) > 0 ? { w: parseFloat(r), h: parseFloat(k) } : { w: 0, h: 0 };
202
202
  }
203
203
  ne(() => Oe.value, async (t) => {
204
204
  await fe();
205
205
  }, { deep: !0 });
206
- const ut = w(() => Ft(e.value.customPalette)), le = w(() => Oe.value.map((t, a) => {
207
- const l = At(t.color) || ut.value[a] || we[e.value.theme || "default"][a % we[e.value.theme || "default"].length] || re[a] || re[a % re.length];
206
+ const ut = x(() => Ft(e.value.customPalette)), ae = x(() => Oe.value.map((t, l) => {
207
+ const a = At(t.color) || ut.value[l] || we[e.value.theme || "default"][l % we[e.value.theme || "default"].length] || re[l] || re[l % re.length];
208
208
  return {
209
209
  ...t,
210
210
  r: t.value,
211
211
  id: Je(),
212
- color: l
212
+ color: a
213
213
  };
214
- }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), B = m([]), D = m("0 0 100 100"), q = w(() => Math.max(...B.value.map((t) => t.r)));
215
- function Re(t, a) {
216
- return a / q.value * t;
214
+ }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), U = m([]), P = m("0 0 100 100"), Y = x(() => Math.max(...U.value.map((t) => t.r)));
215
+ function Re(t, l) {
216
+ return l / Y.value * t;
217
217
  }
218
- function rt(t, a) {
219
- h.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
218
+ function rt(t, l) {
219
+ h.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l });
220
220
  }
221
- function it(t, a) {
222
- ee("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
221
+ function it(t, l) {
222
+ ee("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
223
223
  }
224
- function ct(t, a) {
225
- vt(t), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
224
+ function ct(t, l) {
225
+ vt(t), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l });
226
226
  }
227
227
  const h = m(null);
228
228
  function vt(t) {
229
229
  e.value.style.chart.circles.zoom.show && (h.value = t);
230
230
  }
231
- const L = w(() => h.value ? h.value.r : 0), me = w(() => P.value ? L.value : h.value ? h.value.r > M.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? h.value.r : M.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = m(0), dt = w(() => ({
231
+ const V = x(() => h.value ? h.value.r : 0), me = x(() => A.value ? V.value : h.value ? h.value.r > N.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? h.value.r : N.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), F = m(0), dt = x(() => ({
232
232
  pointerEvents: "none",
233
- opacity: I.value,
233
+ opacity: F.value,
234
234
  filter: `drop-shadow(0px 0px 6px ${Ke(h.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
235
- })), X = m(L.value);
236
- $t(() => {
237
- X.value = L.value, I.value = 0;
235
+ })), Z = m(V.value);
236
+ zt(() => {
237
+ Z.value = V.value, F.value = 0;
238
238
  let t = null;
239
- function a(l) {
240
- t || (t = l);
241
- const r = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
242
- r < 1 ? (X.value = L.value + (me.value - L.value) * r, I.value = 0 + e.value.style.chart.circles.zoom.opacity * r, requestAnimationFrame(a)) : (X.value = me.value, I.value = e.value.style.chart.circles.zoom.opacity);
239
+ function l(a) {
240
+ t || (t = a);
241
+ const r = (a - t) / e.value.style.chart.circles.zoom.animationFrameMs;
242
+ r < 1 ? (Z.value = V.value + (me.value - V.value) * r, F.value = 0 + e.value.style.chart.circles.zoom.opacity * r, requestAnimationFrame(l)) : (Z.value = me.value, F.value = e.value.style.chart.circles.zoom.opacity);
243
243
  }
244
- requestAnimationFrame(a);
244
+ requestAnimationFrame(l);
245
245
  });
246
- const Y = w(() => ({
247
- name: e.value.style.chart.circles.zoom.label.name.fontSize * M.value[3] / 300,
248
- value: e.value.style.chart.circles.zoom.label.value.fontSize * M.value[3] / 300
246
+ const J = x(() => ({
247
+ name: e.value.style.chart.circles.zoom.label.name.fontSize * N.value[3] / 300,
248
+ value: e.value.style.chart.circles.zoom.label.value.fontSize * N.value[3] / 300
249
249
  }));
250
250
  function pe(t) {
251
251
  return Qe(
@@ -274,52 +274,52 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
274
274
  function Be(t) {
275
275
  if (!t)
276
276
  return 0;
277
- const a = t.r / pe(t).length * (pe(t).length === 1 ? 1 : 2);
278
- return Math.min(t.r / 2.5, a);
277
+ const l = t.r / pe(t).length * (pe(t).length === 1 ? 1 : 2);
278
+ return Math.min(t.r / 2.5, l);
279
279
  }
280
- const U = m(!1);
280
+ const H = m(!1);
281
281
  function Le(t) {
282
- U.value = t, Te.value += 1;
282
+ H.value = t, Te.value += 1;
283
283
  }
284
- const P = m(!1);
284
+ const A = m(!1);
285
285
  function ye() {
286
- P.value = !P.value;
286
+ A.value = !A.value;
287
287
  }
288
- const ae = w(() => {
289
- const t = le.value.map((l) => ({
290
- name: l.name,
291
- value: l.value,
292
- color: l.color
293
- })).toSorted((l, r) => r.value - l.value), a = t.map((l) => l.value);
294
- return { head: t, body: a };
288
+ const le = x(() => {
289
+ const t = ae.value.map((a) => ({
290
+ name: a.name,
291
+ value: a.value,
292
+ color: a.color
293
+ })).toSorted((a, r) => r.value - a.value), l = t.map((a) => a.value);
294
+ return { head: t, body: l };
295
295
  });
296
296
  function be(t = null) {
297
297
  Ye(() => {
298
- const a = ae.value.head.map((b, E) => [[
299
- b.name
300
- ], [ae.value.body[E]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(a), r = Rt(l);
298
+ const l = le.value.head.map((k, R) => [[
299
+ k.name
300
+ ], [le.value.body[R]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(l), r = Rt(a);
301
301
  t ? t(r) : Bt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
302
302
  });
303
303
  }
304
- const oe = w(() => {
304
+ const oe = x(() => {
305
305
  const t = [
306
306
  e.value.table.columnNames.datapoint,
307
307
  e.value.table.columnNames.value
308
- ], a = ae.value.head.map((b, E) => {
308
+ ], l = le.value.head.map((k, R) => {
309
309
  const ge = xe({
310
310
  p: e.value.style.chart.circles.labels.value.prefix,
311
- v: ae.value.body[E],
311
+ v: le.value.body[R],
312
312
  s: e.value.style.chart.circles.labels.value.suffix,
313
313
  r: e.value.style.chart.circles.labels.value.rounding
314
314
  });
315
315
  return [
316
316
  {
317
- color: b.color,
318
- name: b.name
317
+ color: k.color,
318
+ name: k.name
319
319
  },
320
320
  ge
321
321
  ];
322
- }), l = {
322
+ }), a = {
323
323
  th: {
324
324
  backgroundColor: e.value.table.th.backgroundColor,
325
325
  color: e.value.table.th.color,
@@ -338,45 +338,45 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
338
338
  e.value.table.columnNames.value
339
339
  ],
340
340
  head: t,
341
- body: a,
342
- config: l
341
+ body: l,
342
+ config: a
343
343
  };
344
344
  });
345
345
  function Ue() {
346
- F.value.showTable = !F.value.showTable;
346
+ M.value.showTable = !M.value.showTable;
347
347
  }
348
348
  function ft() {
349
- return le.value;
349
+ return ae.value;
350
350
  }
351
351
  async function mt({ scale: t = 2 } = {}) {
352
352
  if (!T.value) return;
353
- const { width: a, height: l } = T.value.getBoundingClientRect(), r = a / l, { imageUri: b, base64: E } = await qt({ domElement: T.value, base64: !0, img: !0, scale: t });
353
+ const { width: l, height: a } = T.value.getBoundingClientRect(), r = l / a, { imageUri: k, base64: R } = await qt({ domElement: T.value, base64: !0, img: !0, scale: t });
354
354
  return {
355
- imageUri: b,
356
- base64: E,
355
+ imageUri: k,
356
+ base64: R,
357
357
  title: e.value.style.chart.title.text,
358
- width: a,
359
- height: l,
358
+ width: l,
359
+ height: a,
360
360
  aspectRatio: r
361
361
  };
362
362
  }
363
- const Z = w(() => {
364
- const t = e.value.table.useDialog && !e.value.table.show, a = F.value.showTable;
363
+ const K = x(() => {
364
+ const t = e.value.table.useDialog && !e.value.table.show, l = M.value.showTable;
365
365
  return {
366
- component: t ? x : v,
366
+ component: t ? C : v,
367
367
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
368
368
  props: t ? {
369
369
  backgroundColor: e.value.table.th.backgroundColor,
370
370
  color: e.value.table.th.color,
371
371
  headerColor: e.value.table.th.color,
372
372
  headerBg: e.value.table.th.backgroundColor,
373
- isFullscreen: U.value,
373
+ isFullscreen: H.value,
374
374
  fullscreenParent: T.value,
375
375
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
376
376
  } : {
377
377
  hideDetails: !0,
378
378
  config: {
379
- open: a,
379
+ open: l,
380
380
  maxHeight: 1e4,
381
381
  body: {
382
382
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -390,21 +390,21 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
390
390
  }
391
391
  };
392
392
  });
393
- ne(() => F.value.showTable, (t) => {
394
- e.value.table.show || (t && e.value.table.useDialog && W.value ? W.value.open() : "close" in W.value && W.value.close());
393
+ ne(() => M.value.showTable, (t) => {
394
+ e.value.table.show || (t && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
395
395
  });
396
396
  function Ve() {
397
- F.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
397
+ M.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
398
398
  }
399
- const pt = w(() => e.value.style.chart.backgroundColor), yt = w(() => e.value.style.chart.title), { exportSvg: bt, getSvg: gt } = Zt({
399
+ const pt = x(() => e.value.style.chart.backgroundColor), yt = x(() => e.value.style.chart.title), { exportSvg: bt, getSvg: gt } = Zt({
400
400
  svg: ve,
401
401
  title: yt,
402
402
  backgroundColor: pt
403
403
  });
404
404
  async function He({ isCb: t }) {
405
405
  if (t) {
406
- const { blob: a, url: l, text: r, dataUrl: b } = await gt();
407
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: r, dataUrl: b });
406
+ const { blob: l, url: a, text: r, dataUrl: k } = await gt();
407
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: r, dataUrl: k });
408
408
  } else
409
409
  bt();
410
410
  }
@@ -418,40 +418,60 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
418
418
  toggleTable: Ue,
419
419
  toggleAnnotator: ye,
420
420
  toggleFullscreen: Le
421
- }), (t, a) => (p(), g("div", {
422
- id: `vue-ui-circle-pack_${S.value}`,
423
- class: We(`vue-data-ui-component vue-ui-circle-pack ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i(Se) ? "loading" : ""}`),
421
+ }), (t, l) => (p(), w("div", {
422
+ id: `vue-ui-circle-pack_${D.value}`,
423
+ class: We(`vue-data-ui-component vue-ui-circle-pack ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i(Se) ? "loading" : ""}`),
424
424
  ref_key: "circlePackChart",
425
425
  ref: T,
426
- style: se(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${j.value.h}px; width:${j.value.w}px`),
427
- onMouseenter: a[1] || (a[1] = () => i(De)(!0)),
428
- onMouseleave: a[2] || (a[2] = () => i(De)(!1))
426
+ style: se(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${X.value.h}px; width:${X.value.w}px`),
427
+ onMouseenter: l[1] || (l[1] = () => i(De)(!0)),
428
+ onMouseleave: l[2] || (l[2] = () => i(De)(!1))
429
429
  }, [
430
- e.value.userOptions.buttons.annotator ? (p(), V(i(s), {
430
+ e.value.userOptions.buttons.annotator ? (p(), G(i(s), {
431
431
  key: 0,
432
432
  svgRef: i(ve),
433
433
  backgroundColor: e.value.style.chart.backgroundColor,
434
434
  color: e.value.style.chart.color,
435
- active: P.value,
436
- scale: q.value / 100,
435
+ active: A.value,
436
+ scale: Y.value / 100,
437
437
  onClose: ye
438
- }, null, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : _("", !0),
439
- k(t.$slots, "userConfig", {}, void 0, !0),
440
- nt.value ? (p(), g("div", {
438
+ }, {
439
+ "annotator-action-close": g(() => [
440
+ b(t.$slots, "annotator-action-close", {}, void 0, !0)
441
+ ]),
442
+ "annotator-action-color": g(({ color: a }) => [
443
+ b(t.$slots, "annotator-action-color", S(O({ color: a })), void 0, !0)
444
+ ]),
445
+ "annotator-action-draw": g(({ mode: a }) => [
446
+ b(t.$slots, "annotator-action-draw", S(O({ mode: a })), void 0, !0)
447
+ ]),
448
+ "annotator-action-undo": g(({ disabled: a }) => [
449
+ b(t.$slots, "annotator-action-undo", S(O({ disabled: a })), void 0, !0)
450
+ ]),
451
+ "annotator-action-redo": g(({ disabled: a }) => [
452
+ b(t.$slots, "annotator-action-redo", S(O({ disabled: a })), void 0, !0)
453
+ ]),
454
+ "annotator-action-delete": g(({ disabled: a }) => [
455
+ b(t.$slots, "annotator-action-delete", S(O({ disabled: a })), void 0, !0)
456
+ ]),
457
+ _: 3
458
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : _("", !0),
459
+ b(t.$slots, "userConfig", {}, void 0, !0),
460
+ nt.value ? (p(), w("div", {
441
461
  key: 1,
442
462
  ref_key: "noTitle",
443
- ref: _e,
463
+ ref: $e,
444
464
  class: "vue-data-ui-no-title-space",
445
465
  style: "height:36px; width: 100%;background:transparent"
446
466
  }, null, 512)) : _("", !0),
447
- e.value.style.chart.title.text ? (p(), g("div", {
467
+ e.value.style.chart.title.text ? (p(), w("div", {
448
468
  key: 2,
449
469
  ref_key: "chartTitle",
450
470
  ref: Ce,
451
471
  style: "width:100%;background:transparent;padding-bottom:12px"
452
472
  }, [
453
- (p(), V(Xt, {
454
- key: `title_${ze.value}`,
473
+ (p(), G(Xt, {
474
+ key: `title_${_e.value}`,
455
475
  config: {
456
476
  title: {
457
477
  cy: "donut-div-title",
@@ -464,7 +484,7 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
464
484
  }
465
485
  }, null, 8, ["config"]))
466
486
  ], 512)) : _("", !0),
467
- e.value.userOptions.show && G.value && (i(Ie) || i(de)) ? (p(), V(i(o), {
487
+ e.value.userOptions.show && j.value && (i(Ie) || i(de)) ? (p(), G(i(o), {
468
488
  ref_key: "userOptionsRef",
469
489
  ref: ce,
470
490
  key: `user_option_${Te.value}`,
@@ -472,7 +492,7 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
472
492
  color: e.value.style.chart.color,
473
493
  isPrinting: i(Pe),
474
494
  isImaging: i(Fe),
475
- uid: S.value,
495
+ uid: D.value,
476
496
  hasTooltip: !1,
477
497
  hasLabel: !1,
478
498
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -481,14 +501,14 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
481
501
  hasXls: e.value.userOptions.buttons.csv,
482
502
  hasTable: e.value.userOptions.buttons.table,
483
503
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
484
- isFullscreen: U.value,
504
+ isFullscreen: H.value,
485
505
  chartElement: T.value,
486
506
  position: e.value.userOptions.position,
487
507
  callbacks: e.value.userOptions.callbacks,
488
508
  printScale: e.value.userOptions.print.scale,
489
509
  titles: { ...e.value.userOptions.buttonTitles },
490
510
  hasAnnotator: e.value.userOptions.buttons.annotator,
491
- isAnnotation: P.value,
511
+ isAnnotation: A.value,
492
512
  tableDialog: e.value.table.useDialog,
493
513
  onToggleFullscreen: Le,
494
514
  onGeneratePdf: i(Ae),
@@ -501,249 +521,249 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
501
521
  }, je({ _: 2 }, [
502
522
  t.$slots.menuIcon ? {
503
523
  name: "menuIcon",
504
- fn: z(({ isOpen: l, color: r }) => [
505
- k(t.$slots, "menuIcon", J(K({ isOpen: l, color: r })), void 0, !0)
524
+ fn: g(({ isOpen: a, color: r }) => [
525
+ b(t.$slots, "menuIcon", S(O({ isOpen: a, color: r })), void 0, !0)
506
526
  ]),
507
527
  key: "0"
508
528
  } : void 0,
509
529
  t.$slots.optionPdf ? {
510
530
  name: "optionPdf",
511
- fn: z(() => [
512
- k(t.$slots, "optionPdf", {}, void 0, !0)
531
+ fn: g(() => [
532
+ b(t.$slots, "optionPdf", {}, void 0, !0)
513
533
  ]),
514
534
  key: "1"
515
535
  } : void 0,
516
536
  t.$slots.optionCsv ? {
517
537
  name: "optionCsv",
518
- fn: z(() => [
519
- k(t.$slots, "optionCsv", {}, void 0, !0)
538
+ fn: g(() => [
539
+ b(t.$slots, "optionCsv", {}, void 0, !0)
520
540
  ]),
521
541
  key: "2"
522
542
  } : void 0,
523
543
  t.$slots.optionImg ? {
524
544
  name: "optionImg",
525
- fn: z(() => [
526
- k(t.$slots, "optionImg", {}, void 0, !0)
545
+ fn: g(() => [
546
+ b(t.$slots, "optionImg", {}, void 0, !0)
527
547
  ]),
528
548
  key: "3"
529
549
  } : void 0,
530
550
  t.$slots.optionSvg ? {
531
551
  name: "optionSvg",
532
- fn: z(() => [
533
- k(t.$slots, "optionSvg", {}, void 0, !0)
552
+ fn: g(() => [
553
+ b(t.$slots, "optionSvg", {}, void 0, !0)
534
554
  ]),
535
555
  key: "4"
536
556
  } : void 0,
537
557
  t.$slots.optionTable ? {
538
558
  name: "optionTable",
539
- fn: z(() => [
540
- k(t.$slots, "optionTable", {}, void 0, !0)
559
+ fn: g(() => [
560
+ b(t.$slots, "optionTable", {}, void 0, !0)
541
561
  ]),
542
562
  key: "5"
543
563
  } : void 0,
544
564
  t.$slots.optionFullscreen ? {
545
565
  name: "optionFullscreen",
546
- fn: z(({ toggleFullscreen: l, isFullscreen: r }) => [
547
- k(t.$slots, "optionFullscreen", J(K({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
566
+ fn: g(({ toggleFullscreen: a, isFullscreen: r }) => [
567
+ b(t.$slots, "optionFullscreen", S(O({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
548
568
  ]),
549
569
  key: "6"
550
570
  } : void 0,
551
571
  t.$slots.optionAnnotator ? {
552
572
  name: "optionAnnotator",
553
- fn: z(({ toggleAnnotator: l, isAnnotator: r }) => [
554
- k(t.$slots, "optionAnnotator", J(K({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
573
+ fn: g(({ toggleAnnotator: a, isAnnotator: r }) => [
574
+ b(t.$slots, "optionAnnotator", S(O({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
555
575
  ]),
556
576
  key: "7"
557
577
  } : void 0
558
578
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "printScale", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
559
- (p(), g("svg", {
579
+ (p(), w("svg", {
560
580
  ref_key: "svgRef",
561
581
  ref: ve,
562
582
  xmlns: i(Mt),
563
- viewBox: D.value,
564
- height: Math.max(10, A.value.h),
565
- width: Math.max(10, A.value.w),
566
- class: We({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
583
+ viewBox: P.value,
584
+ height: Math.max(10, E.value.h),
585
+ width: Math.max(10, E.value.w),
586
+ class: We({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
567
587
  style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
568
588
  }, [
569
589
  qe(i(d)),
570
- t.$slots["chart-background"] ? (p(), g("foreignObject", {
590
+ t.$slots["chart-background"] ? (p(), w("foreignObject", {
571
591
  key: 0,
572
- x: D.value.x,
573
- y: D.value.y,
574
- width: D.value.width,
575
- height: D.value.height,
592
+ x: P.value.x,
593
+ y: P.value.y,
594
+ width: P.value.width,
595
+ height: P.value.height,
576
596
  style: {
577
597
  pointerEvents: "none"
578
598
  }
579
599
  }, [
580
- k(t.$slots, "chart-background", {}, void 0, !0)
581
- ], 8, tl)) : _("", !0),
582
- (p(!0), g(ue, null, Tt(B.value, (l, r) => (p(), g(ue, null, [
583
- $("defs", null, [
584
- $("radialGradient", {
585
- id: l.id,
600
+ b(t.$slots, "chart-background", {}, void 0, !0)
601
+ ], 8, ta)) : _("", !0),
602
+ (p(!0), w(ue, null, Tt(U.value, (a, r) => (p(), w(ue, null, [
603
+ z("defs", null, [
604
+ z("radialGradient", {
605
+ id: a.id,
586
606
  fy: "30%"
587
607
  }, [
588
- $("stop", {
608
+ z("stop", {
589
609
  offset: "10%",
590
- "stop-color": i(Et)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
591
- }, null, 8, al),
592
- $("stop", {
610
+ "stop-color": i(Et)(a.color, e.value.style.chart.circles.gradient.intensity / 100)
611
+ }, null, 8, la),
612
+ z("stop", {
593
613
  offset: "90%",
594
- "stop-color": i(Ke)(l.color, 0.1)
595
- }, null, 8, ol),
596
- $("stop", {
614
+ "stop-color": i(Ke)(a.color, 0.1)
615
+ }, null, 8, oa),
616
+ z("stop", {
597
617
  offset: "100%",
598
- "stop-color": l.color
599
- }, null, 8, nl)
600
- ], 8, ll)
618
+ "stop-color": a.color
619
+ }, null, 8, na)
620
+ ], 8, aa)
601
621
  ]),
602
- t.$slots.pattern ? (p(), g("g", sl, [
603
- $("defs", null, [
604
- k(t.$slots, "pattern", ke({ ref_for: !0 }, { ...l, patternId: `pattern_${S.value}_${l.id}` }), void 0, !0)
622
+ t.$slots.pattern ? (p(), w("g", sa, [
623
+ z("defs", null, [
624
+ b(t.$slots, "pattern", ke({ ref_for: !0 }, { ...a, patternId: `pattern_${D.value}_${a.id}` }), void 0, !0)
605
625
  ])
606
626
  ])) : _("", !0),
607
- $("rect", {
608
- x: l.x - l.r,
609
- y: l.y - l.r,
610
- width: l.r * 2,
611
- height: l.r * 2,
627
+ z("rect", {
628
+ x: a.x - a.r,
629
+ y: a.y - a.r,
630
+ width: a.r * 2,
631
+ height: a.r * 2,
612
632
  stroke: e.value.style.chart.circles.stroke,
613
- "stroke-width": e.value.style.chart.circles.strokeWidth * q.value / 100,
614
- fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
615
- rx: l.r,
616
- onMouseenter: (b) => ct(l, r),
617
- onMouseout: (b) => rt(l, r),
618
- onClick: (b) => it(l, r)
619
- }, null, 40, ul),
620
- t.$slots.pattern ? (p(), g("rect", {
633
+ "stroke-width": e.value.style.chart.circles.strokeWidth * Y.value / 100,
634
+ fill: e.value.style.chart.circles.gradient.show ? `url(#${a.id})` : a.color,
635
+ rx: a.r,
636
+ onMouseenter: (k) => ct(a, r),
637
+ onMouseout: (k) => rt(a, r),
638
+ onClick: (k) => it(a, r)
639
+ }, null, 40, ua),
640
+ t.$slots.pattern ? (p(), w("rect", {
621
641
  key: 1,
622
- x: l.x - l.r,
623
- y: l.y - l.r,
624
- width: l.r * 2,
625
- height: l.r * 2,
642
+ x: a.x - a.r,
643
+ y: a.y - a.r,
644
+ width: a.r * 2,
645
+ height: a.r * 2,
626
646
  stroke: e.value.style.chart.circles.stroke,
627
- "stroke-width": e.value.style.chart.circles.strokeWidth * q.value / 100,
628
- fill: `url(#pattern_${S.value}_${l.id})`,
629
- rx: l.r,
647
+ "stroke-width": e.value.style.chart.circles.strokeWidth * Y.value / 100,
648
+ fill: `url(#pattern_${D.value}_${a.id})`,
649
+ rx: a.r,
630
650
  style: {
631
651
  pointerEvents: "none"
632
652
  }
633
- }, null, 8, rl)) : _("", !0),
634
- t.$slots["data-label"] ? k(t.$slots, "data-label", ke({
653
+ }, null, 8, ra)) : _("", !0),
654
+ t.$slots["data-label"] ? b(t.$slots, "data-label", ke({
635
655
  key: 2,
636
656
  ref_for: !0
637
- }, { ...l, createTSpans: i(Nt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Be(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(Q)(l.color) }), void 0, !0) : (p(), g(ue, { key: 3 }, [
638
- e.value.style.chart.circles.labels.name.show && l.name ? (p(), g("text", {
657
+ }, { ...a, createTSpans: i(Nt), fontSize: { name: a.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Be(a) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(Q)(a.color) }), void 0, !0) : (p(), w(ue, { key: 3 }, [
658
+ e.value.style.chart.circles.labels.name.show && a.name ? (p(), w("text", {
639
659
  key: 0,
640
660
  style: {
641
661
  pointerEvents: "none",
642
662
  transition: "opacity 0.2s ease-in-out"
643
663
  },
644
- opacity: h.value && !P.value ? 0.2 : 1,
645
- x: l.x,
646
- y: l.y + Re(l.r, e.value.style.chart.circles.labels.name.offsetY) - l.r / 10,
647
- "font-size": l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
648
- fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(Q)(l.color),
664
+ opacity: h.value && !A.value ? 0.2 : 1,
665
+ x: a.x,
666
+ y: a.y + Re(a.r, e.value.style.chart.circles.labels.name.offsetY) - a.r / 10,
667
+ "font-size": a.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
668
+ fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(Q)(a.color),
649
669
  "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
650
670
  "text-anchor": "middle"
651
- }, H(l.name), 9, il)) : _("", !0),
652
- e.value.style.chart.circles.labels.value.show ? (p(), g("text", {
671
+ }, W(a.name), 9, ia)) : _("", !0),
672
+ e.value.style.chart.circles.labels.value.show ? (p(), w("text", {
653
673
  key: 1,
654
674
  style: {
655
675
  pointerEvents: "none",
656
676
  transition: "opacity 0.2s ease-in-out"
657
677
  },
658
- opacity: h.value && !P.value ? 0.2 : 1,
659
- x: l.x,
660
- y: l.y + Re(l.r, e.value.style.chart.circles.labels.value.offsetY) + l.r / 2.5,
661
- "font-size": Be(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
662
- fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : i(Q)(l.color),
678
+ opacity: h.value && !A.value ? 0.2 : 1,
679
+ x: a.x,
680
+ y: a.y + Re(a.r, e.value.style.chart.circles.labels.value.offsetY) + a.r / 2.5,
681
+ "font-size": Be(a) * e.value.style.chart.circles.labels.value.fontSizeRatio,
682
+ fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : i(Q)(a.color),
663
683
  "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
664
684
  "text-anchor": "middle"
665
- }, H(pe(l)), 9, cl)) : _("", !0)
685
+ }, W(pe(a)), 9, ca)) : _("", !0)
666
686
  ], 64))
667
687
  ], 64))), 256)),
668
- h.value && e.value.style.chart.circles.zoom.show && !P.value ? (p(), g(ue, { key: 1 }, [
669
- $("circle", {
688
+ h.value && e.value.style.chart.circles.zoom.show && !A.value ? (p(), w(ue, { key: 1 }, [
689
+ z("circle", {
670
690
  style: se(dt.value),
671
691
  cx: h.value.x,
672
692
  cy: h.value.y,
673
- r: X.value,
674
- opacity: I.value,
693
+ r: Z.value,
694
+ opacity: F.value,
675
695
  stroke: e.value.style.chart.circles.stroke,
676
- "stroke-width": e.value.style.chart.circles.strokeWidth * q.value / 100,
696
+ "stroke-width": e.value.style.chart.circles.strokeWidth * Y.value / 100,
677
697
  fill: e.value.style.chart.circles.gradient.show ? `url(#${h.value.id})` : h.value.color
678
- }, null, 12, vl),
679
- t.$slots["zoom-label"] ? (p(), g("g", dl, [
680
- k(t.$slots, "zoom-label", J(K({ ...h.value, zoomOpacity: I.value, currentRadius: X.value, fontSize: Y.value })), void 0, !0)
681
- ])) : (p(), g("g", hl, [
682
- $("text", {
698
+ }, null, 12, va),
699
+ t.$slots["zoom-label"] ? (p(), w("g", da, [
700
+ b(t.$slots, "zoom-label", S(O({ ...h.value, zoomOpacity: F.value, currentRadius: Z.value, fontSize: J.value })), void 0, !0)
701
+ ])) : (p(), w("g", ha, [
702
+ z("text", {
683
703
  style: {
684
704
  pointerEvents: "none"
685
705
  },
686
- opacity: I.value,
706
+ opacity: F.value,
687
707
  x: h.value.x,
688
- y: h.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - Y.value.name / 4,
708
+ y: h.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - J.value.name / 4,
689
709
  "text-anchor": "middle",
690
- "font-size": Y.value.name,
710
+ "font-size": J.value.name,
691
711
  fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : i(Q)(h.value.color),
692
712
  "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
693
- }, H(h.value.name), 9, fl),
694
- $("text", {
713
+ }, W(h.value.name), 9, fa),
714
+ z("text", {
695
715
  style: {
696
716
  pointerEvents: "none"
697
717
  },
698
- opacity: I.value,
718
+ opacity: F.value,
699
719
  x: h.value.x,
700
- y: h.value.y + Y.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
720
+ y: h.value.y + J.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
701
721
  "text-anchor": "middle",
702
- "font-size": Y.value.value,
722
+ "font-size": J.value.value,
703
723
  fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : i(Q)(h.value.color),
704
724
  "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
705
- }, H(ht()), 9, ml)
725
+ }, W(ht()), 9, ma)
706
726
  ]))
707
727
  ], 64)) : _("", !0),
708
- k(t.$slots, "svg", {
709
- svg: { ...D.value }
728
+ b(t.$slots, "svg", {
729
+ svg: { ...P.value }
710
730
  }, void 0, !0)
711
- ], 14, el)),
712
- t.$slots.watermark ? (p(), g("div", pl, [
713
- k(t.$slots, "watermark", J(K({ isPrinting: i(Pe) || i(Fe) })), void 0, !0)
731
+ ], 14, ea)),
732
+ t.$slots.watermark ? (p(), w("div", pa, [
733
+ b(t.$slots, "watermark", S(O({ isPrinting: i(Pe) || i(Fe) })), void 0, !0)
714
734
  ])) : _("", !0),
715
- t.$slots.source ? (p(), g("div", {
735
+ t.$slots.source ? (p(), w("div", {
716
736
  key: 5,
717
737
  ref_key: "source",
718
738
  ref: ot,
719
739
  dir: "auto"
720
740
  }, [
721
- k(t.$slots, "source", {}, void 0, !0)
741
+ b(t.$slots, "source", {}, void 0, !0)
722
742
  ], 512)) : _("", !0),
723
- G.value && e.value.userOptions.buttons.table ? (p(), V(St(Z.value.component), ke({ key: 6 }, Z.value.props, {
743
+ j.value && e.value.userOptions.buttons.table ? (p(), G(St(K.value.component), ke({ key: 6 }, K.value.props, {
724
744
  ref_key: "tableUnit",
725
- ref: W,
745
+ ref: q,
726
746
  onClose: Ve
727
747
  }), je({
728
- content: z(() => [
729
- (p(), V(i(n), {
730
- key: `table_${$e.value}`,
748
+ content: g(() => [
749
+ (p(), G(i(n), {
750
+ key: `table_${ze.value}`,
731
751
  colNames: oe.value.colNames,
732
752
  head: oe.value.head,
733
753
  body: oe.value.body,
734
754
  config: oe.value.config,
735
- title: e.value.table.useDialog ? "" : Z.value.title,
755
+ title: e.value.table.useDialog ? "" : K.value.title,
736
756
  withCloseButton: !e.value.table.useDialog,
737
757
  onClose: Ve
738
758
  }, {
739
- th: z(({ th: l }) => [
740
- $("div", {
741
- innerHTML: l,
759
+ th: g(({ th: a }) => [
760
+ z("div", {
761
+ innerHTML: a,
742
762
  style: { display: "flex", "align-items": "center" }
743
- }, null, 8, yl)
763
+ }, null, 8, ya)
744
764
  ]),
745
- td: z(({ td: l }) => [
746
- Xe(H(l.name || l), 1)
765
+ td: g(({ td: a }) => [
766
+ Xe(W(a.name || a), 1)
747
767
  ]),
748
768
  _: 1
749
769
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -752,32 +772,32 @@ const Qt = ["id"], el = ["xmlns", "viewBox", "height", "width"], tl = ["x", "y",
752
772
  }, [
753
773
  e.value.table.useDialog ? {
754
774
  name: "title",
755
- fn: z(() => [
756
- Xe(H(Z.value.title), 1)
775
+ fn: g(() => [
776
+ Xe(W(K.value.title), 1)
757
777
  ]),
758
778
  key: "0"
759
779
  } : void 0,
760
780
  e.value.table.useDialog ? {
761
781
  name: "actions",
762
- fn: z(() => [
763
- $("button", {
782
+ fn: g(() => [
783
+ z("button", {
764
784
  tabindex: "0",
765
785
  class: "vue-ui-user-options-button",
766
- onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
786
+ onClick: l[0] || (l[0] = (a) => be(e.value.userOptions.callbacks.csv))
767
787
  }, [
768
788
  qe(i(y), {
769
789
  name: "excel",
770
- stroke: Z.value.props.color
790
+ stroke: K.value.props.color
771
791
  }, null, 8, ["stroke"])
772
792
  ])
773
793
  ]),
774
794
  key: "1"
775
795
  } : void 0
776
796
  ]), 1040)) : _("", !0),
777
- i(Se) ? (p(), V(Gt, { key: 7 })) : _("", !0)
797
+ i(Se) ? (p(), G(Gt, { key: 7 })) : _("", !0)
778
798
  ], 46, Qt));
779
799
  }
780
- }, Pl = /* @__PURE__ */ Jt(bl, [["__scopeId", "data-v-1820d5b1"]]);
800
+ }, Pa = /* @__PURE__ */ Jt(ba, [["__scopeId", "data-v-bc6669a4"]]);
781
801
  export {
782
- Pl as default
802
+ Pa as default
783
803
  };