vue-data-ui 2.16.6 → 2.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 (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -1,67 +1,68 @@
1
- import { useCssVars as lt, computed as w, defineAsyncComponent as L, ref as b, watch as Ne, shallowRef as Me, onMounted as at, onBeforeUnmount as ot, watchEffect as st, createElementBlock as g, openBlock as y, unref as u, normalizeStyle as le, normalizeClass as Ee, createBlock as V, createCommentVNode as k, renderSlot as x, createSlots as nt, withCtx as _, normalizeProps as W, guardReactiveProps as X, createVNode as rt, Fragment as ae, renderList as ut, createElementVNode as C, mergeProps as Re, toDisplayString as Y, createTextVNode as it, nextTick as Ae } from "vue";
2
- import { u as ct, c as De, t as de, p as oe, a as vt, o as dt, e as ht, b as ft, d as yt, h as Le, f as he, X as mt, l as pt, F as Z, ag as bt, q as gt, r as kt, i as Ve } from "./index-DvIXJm6t.js";
3
- import { u as He } from "./useNestedProp-DrYHm61t.js";
4
- import { u as xt } from "./usePrinter-CWnXbGMb.js";
5
- import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
7
- import { t as zt, u as _t } from "./useResponsive-DfdjqQps.js";
8
- import $t from "./Title-Gi81VwUM.js";
9
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { useCssVars as at, computed as w, defineAsyncComponent as L, ref as b, watch as Ee, shallowRef as Me, onMounted as ot, onBeforeUnmount as st, watchEffect as nt, createElementBlock as g, openBlock as y, unref as u, normalizeStyle as le, normalizeClass as Re, createBlock as V, createCommentVNode as k, renderSlot as x, createSlots as rt, withCtx as $, normalizeProps as W, guardReactiveProps as X, createVNode as ut, Fragment as ae, renderList as it, createElementVNode as z, mergeProps as Ae, toDisplayString as Y, createTextVNode as ct, nextTick as De } from "vue";
2
+ import { u as vt, c as Le, t as de, p as oe, a as dt, o as ht, e as ft, b as yt, d as mt, h as Ve, f as he, X as pt, l as bt, F as Z, ag as gt, q as kt, r as xt, i as He } from "./index-pPGk-uhD.js";
3
+ import { u as Ue } from "./useNestedProp-DjACxgdZ.js";
4
+ import { u as wt } from "./usePrinter-DDHcrl0A.js";
5
+ import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { t as _t, u as $t } from "./useResponsive-DfdjqQps.js";
8
+ import Tt from "./Title-B-2bV0SW.js";
9
+ import Pt from "./img-Y_hYz-ZC.js";
10
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
11
  function Be(r, i = 0) {
11
- const h = r.reduce((a, { x: s, r: v }) => Math.min(a, s - v - i), 1 / 0), m = r.reduce((a, { x: s, r: v }) => Math.max(a, s + v + i), -1 / 0), c = r.reduce((a, { y: s, r: v }) => Math.min(a, s - v - i), 1 / 0), o = r.reduce((a, { y: s, r: v }) => Math.max(a, s + v + i), -1 / 0);
12
+ const h = r.reduce((a, { x: n, r: v }) => Math.min(a, n - v - i), 1 / 0), m = r.reduce((a, { x: n, r: v }) => Math.max(a, n + v + i), -1 / 0), c = r.reduce((a, { y: n, r: v }) => Math.min(a, n - v - i), 1 / 0), o = r.reduce((a, { y: n, r: v }) => Math.max(a, n + v + i), -1 / 0);
12
13
  return [h, c, m - h, o - c];
13
14
  }
14
- function Pt(r, i, h) {
15
- const m = r._, c = r.next._, o = m.r + c.r, a = (m.x * c.r + c.x * m.r) / o, s = (m.y * c.r + c.y * m.r) / o;
16
- return Math.max(Math.abs(a * h), Math.abs(s * i));
15
+ function Ot(r, i, h) {
16
+ const m = r._, c = r.next._, o = m.r + c.r, a = (m.x * c.r + c.x * m.r) / o, n = (m.y * c.r + c.y * m.r) / o;
17
+ return Math.max(Math.abs(a * h), Math.abs(n * i));
17
18
  }
18
- function Ue(r, i, h) {
19
- const m = Pt, c = r.length;
19
+ function Ge(r, i, h) {
20
+ const m = Ot, c = r.length;
20
21
  if (!c) return r;
21
- let o, a, s;
22
+ let o, a, n;
22
23
  if (o = r[0], o.x = 0, o.y = 0, !(c > 1) || (a = r[1], o.x = -a.r, a.x = o.r, a.y = 0, !(c > 2))) return r;
23
- Ge(a, o, s = r[2]), o = new se(o), a = new se(a), s = new se(s), o.next = s.previous = a, a.next = o.previous = s, s.next = a.previous = o;
24
+ je(a, o, n = r[2]), o = new se(o), a = new se(a), n = new se(n), o.next = n.previous = a, a.next = o.previous = n, n.next = a.previous = o;
24
25
  e: for (let v = 3; v < c; ++v) {
25
- Ge(o._, a._, s = r[v]), s = new se(s);
26
+ je(o._, a._, n = r[v]), n = new se(n);
26
27
  let p = a.next, T = o.previous, J = a._.r, N = o._.r;
27
28
  do
28
29
  if (J <= N) {
29
- if (je(p._, s._)) {
30
+ if (qe(p._, n._)) {
30
31
  a = p, o.next = a, a.previous = o, --v;
31
32
  continue e;
32
33
  }
33
34
  J += p._.r, p = p.next;
34
35
  } else {
35
- if (je(T._, s._)) {
36
+ if (qe(T._, n._)) {
36
37
  o = T, o.next = a, a.previous = o, --v;
37
38
  continue e;
38
39
  }
39
40
  N += T._.r, T = T.previous;
40
41
  }
41
42
  while (p !== T.next);
42
- s.previous = o, s.next = a, o.next = a.previous = a = s;
43
- let P = m(o, h, i), $;
44
- for (; (s = s.next) !== a; )
45
- ($ = m(s, h, i)) < P && (o = s, P = $);
43
+ n.previous = o, n.next = a, o.next = a.previous = a = n;
44
+ let P = m(o, h, i), C;
45
+ for (; (n = n.next) !== a; )
46
+ (C = m(n, h, i)) < P && (o = n, P = C);
46
47
  a = o.next;
47
48
  }
48
49
  return r;
49
50
  }
50
- function Ge(r, i, h) {
51
+ function je(r, i, h) {
51
52
  const m = r.x - i.x, c = r.y - i.y, o = m * m + c * c;
52
53
  if (o) {
53
- const a = (i.r + h.r) ** 2, s = (r.r + h.r) ** 2;
54
- if (a > s) {
55
- const v = (o + s - a) / (2 * o), p = Math.sqrt(Math.max(0, s / o - v * v));
54
+ const a = (i.r + h.r) ** 2, n = (r.r + h.r) ** 2;
55
+ if (a > n) {
56
+ const v = (o + n - a) / (2 * o), p = Math.sqrt(Math.max(0, n / o - v * v));
56
57
  h.x = r.x - v * m - p * c, h.y = r.y - v * c + p * m;
57
58
  } else {
58
- const v = (o + a - s) / (2 * o), p = Math.sqrt(Math.max(0, a / o - v * v));
59
+ const v = (o + a - n) / (2 * o), p = Math.sqrt(Math.max(0, a / o - v * v));
59
60
  h.x = i.x + v * m - p * c, h.y = i.y + v * c + p * m;
60
61
  }
61
62
  } else
62
63
  h.x = i.x + h.r, h.y = i.y;
63
64
  }
64
- function je(r, i) {
65
+ function qe(r, i) {
65
66
  const h = r.r + i.r - 1e-6, m = i.x - r.x, c = i.y - r.y;
66
67
  return h > 0 && h * h > m * m + c * c;
67
68
  }
@@ -70,13 +71,13 @@ class se {
70
71
  this._ = i, this.next = null, this.previous = null;
71
72
  }
72
73
  }
73
- const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y", "width", "height"], Ft = ["id"], Nt = ["stop-color"], Mt = ["stop-color"], Et = ["stop-color"], Rt = { key: 0 }, At = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Dt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Lt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Vt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], Bt = {
74
+ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y", "width", "height"], Et = ["id"], Mt = ["stop-color"], Rt = ["stop-color"], At = ["stop-color"], Dt = { key: 0 }, Lt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Vt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Bt = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], Gt = {
74
75
  key: 0,
75
76
  style: { pointerEvents: "none" }
76
- }, Ut = { key: 1 }, Gt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], jt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], qt = {
77
+ }, jt = { key: 1 }, qt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Xt = {
77
78
  key: 6,
78
79
  class: "vue-data-ui-watermark"
79
- }, Wt = ["innerHTML"], Xt = {
80
+ }, Yt = ["innerHTML"], Zt = {
80
81
  __name: "vue-ui-circle-pack",
81
82
  props: {
82
83
  config: {
@@ -94,113 +95,113 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
94
95
  },
95
96
  emits: ["selectDatapoint"],
96
97
  setup(r, { expose: i, emit: h }) {
97
- lt((t) => ({
98
- "1dff024b": D.value,
99
- "2fe3a5f8": ue.value
98
+ at((t) => ({
99
+ cbb2c5fc: D.value,
100
+ a809ed0a: ue.value
100
101
  }));
101
- const m = L(() => import("./vue-ui-accordion-D55kCO5G.js")), c = L(() => import("./DataTable-CHBLjKtZ.js")), o = L(() => import("./PackageVersion-Bg_9KCU-.js")), a = L(() => import("./PenAndPaper-BPTpbnay.js")), s = L(() => import("./vue-ui-skeleton-BAOt2neL.js")), v = L(() => import("./UserOptions-CBEK6_jo.js")), p = r, T = h, { vue_ui_circle_pack: J } = ct(), N = w(() => !!p.dataset && p.dataset.length), P = b(De()), $ = b(null), fe = b(null), ye = b(null), me = b(0), pe = b(0), be = b(0), qe = b(null), e = w({
102
+ const m = L(() => import("./vue-ui-accordion-CVnA550V.js")), c = L(() => import("./DataTable-D0VYDhfx.js")), o = L(() => import("./PackageVersion-5TR4ocqp.js")), a = L(() => import("./PenAndPaper-D6AqipIO.js")), n = L(() => import("./vue-ui-skeleton-DJPjyNYn.js")), v = L(() => import("./UserOptions-Dd34lEKb.js")), p = r, T = h, { vue_ui_circle_pack: J } = vt(), N = w(() => !!p.dataset && p.dataset.length), P = b(Le()), C = b(null), fe = b(null), ye = b(null), me = b(0), pe = b(0), be = b(0), We = b(null), e = w({
102
103
  get: () => we(),
103
104
  set: (t) => t
104
- }), { svgRef: ge } = Ct({ config: e.value.style.chart.title }), {
105
+ }), { svgRef: ge } = zt({ config: e.value.style.chart.title }), {
105
106
  userOptionsVisible: ne,
106
107
  setUserOptionsVisibility: ke,
107
108
  keepUserOptionState: xe
108
- } = wt({ config: e.value });
109
+ } = Ct({ config: e.value });
109
110
  function we() {
110
- const t = He({
111
+ const t = Ue({
111
112
  userConfig: p.config,
112
113
  defaultConfig: J
113
114
  });
114
115
  return t.theme ? {
115
- ...He({
116
- userConfig: vt.vue_ui_circle_pack[t.theme] || p.config,
116
+ ...Ue({
117
+ userConfig: dt.vue_ui_circle_pack[t.theme] || p.config,
117
118
  defaultConfig: t
118
119
  }),
119
120
  customPalette: de[t.theme] || oe
120
121
  } : t;
121
122
  }
122
- Ne(() => p.config, (t) => {
123
+ Ee(() => p.config, (t) => {
123
124
  e.value = we(), ne.value = !e.value.userOptions.showOnChartHover, re(), me.value += 1, pe.value += 1, H.value.showTable = e.value.table.show;
124
125
  }, { deep: !0 });
125
- const { isPrinting: Ce, isImaging: ze, generatePdf: _e, generateImage: $e } = xt({
126
+ const { isPrinting: Ce, isImaging: ze, generatePdf: _e, generateImage: $e } = wt({
126
127
  elementId: `vue-ui-circle-pack_${P.value}`,
127
128
  fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
128
129
  options: e.value.userOptions.print
129
- }), We = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = b({
130
+ }), Xe = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = b({
130
131
  showTable: e.value.table.show
131
- }), S = Me(null), M = Me(null), E = b({ h: 10, w: 10 }), Te = b(0), R = b([0, 0, 100, 100]), K = b({ h: 0, w: 0 });
132
+ }), S = Me(null), E = Me(null), M = b({ h: 10, w: 10 }), Te = b(0), R = b([0, 0, 100, 100]), K = b({ h: 0, w: 0 });
132
133
  async function re() {
133
- dt(p.dataset) && ht({
134
+ ht(p.dataset) && ft({
134
135
  componentName: "VueUiCirclePack",
135
136
  type: "dataset"
136
- }), A.value = await Ue(Q.value), O.value = Be(A.value, 1).join(" "), K.value = Pe($.value);
137
- const t = zt(() => {
138
- const { width: n, height: l, heightTitle: f, heightNoTitle: z } = _t({
139
- chart: $.value,
137
+ }), A.value = await Ge(Q.value), O.value = Be(A.value, 1).join(" "), K.value = Pe(C.value);
138
+ const t = _t(() => {
139
+ const { width: s, height: l, heightTitle: f, heightNoTitle: _ } = $t({
140
+ chart: C.value,
140
141
  title: fe.value,
141
142
  noTitle: ye.value
142
- }), q = n || 10, ve = l && l > 10 ? l : 10;
143
- Te.value = e.value.style.chart.title.text ? f : z, requestAnimationFrame(() => {
144
- E.value.w = q, E.value.h = ve - Te.value, Ae(async () => {
145
- const et = Q.value.map((tt) => ({ ...tt }));
146
- A.value = await Ue(et, E.value.h, E.value.w), R.value = Be(A.value, 1), O.value = R.value.join(" "), K.value = Pe($.value);
143
+ }), q = s || 10, ve = l && l > 10 ? l : 10;
144
+ Te.value = e.value.style.chart.title.text ? f : _, requestAnimationFrame(() => {
145
+ M.value.w = q, M.value.h = ve - Te.value, De(async () => {
146
+ const tt = Q.value.map((lt) => ({ ...lt }));
147
+ A.value = await Ge(tt, M.value.h, M.value.w), R.value = Be(A.value, 1), O.value = R.value.join(" "), K.value = Pe(C.value);
147
148
  });
148
149
  });
149
150
  });
150
- S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect()), S.value = new ResizeObserver(t), M.value = $.value.parentNode, S.value.observe(M.value);
151
+ S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect()), S.value = new ResizeObserver(t), E.value = C.value.parentNode, S.value.observe(E.value);
151
152
  }
152
- at(re), ot(() => {
153
- S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect());
153
+ ot(re), st(() => {
154
+ S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect());
154
155
  });
155
156
  function Pe(t) {
156
157
  if (!t || !t.parentElement)
157
158
  return console.warn("Component or parent element is missing."), { w: 0, h: 0 };
158
- const n = t.parentElement;
159
- if (n.offsetWidth > 0 && n.offsetHeight > 0)
160
- return { w: n.offsetWidth, h: n.offsetHeight };
161
- const l = window.getComputedStyle(n), f = l.width, z = l.height;
162
- return f !== "auto" && z !== "auto" && parseFloat(f) > 0 && parseFloat(z) > 0 ? { w: parseFloat(f), h: parseFloat(z) } : { w: 0, h: 0 };
159
+ const s = t.parentElement;
160
+ if (s.offsetWidth > 0 && s.offsetHeight > 0)
161
+ return { w: s.offsetWidth, h: s.offsetHeight };
162
+ const l = window.getComputedStyle(s), f = l.width, _ = l.height;
163
+ return f !== "auto" && _ !== "auto" && parseFloat(f) > 0 && parseFloat(_) > 0 ? { w: parseFloat(f), h: parseFloat(_) } : { w: 0, h: 0 };
163
164
  }
164
- Ne(() => p.dataset, async (t) => {
165
+ Ee(() => p.dataset, async (t) => {
165
166
  await re();
166
167
  }, { deep: !0 });
167
- const Xe = w(() => ft(e.value.customPalette)), Q = w(() => p.dataset.map((t, n) => {
168
- const l = yt(t.color) || Xe.value[n] || de[e.value.theme || "default"][n % de[e.value.theme || "default"].length] || oe[n] || oe[n % oe.length];
168
+ const Ye = w(() => yt(e.value.customPalette)), Q = w(() => p.dataset.map((t, s) => {
169
+ const l = mt(t.color) || Ye.value[s] || de[e.value.theme || "default"][s % de[e.value.theme || "default"].length] || oe[s] || oe[s % oe.length];
169
170
  return {
170
171
  ...t,
171
172
  r: t.value,
172
- id: De(),
173
+ id: Le(),
173
174
  color: l
174
175
  };
175
- }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), A = b([]), O = b("0 0 100 100"), B = w(() => Math.max(...A.value.map((t) => t.r)));
176
- function Se(t, n) {
177
- return n / B.value * t;
176
+ }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), A = b([]), O = b("0 0 100 100"), U = w(() => Math.max(...A.value.map((t) => t.r)));
177
+ function Se(t, s) {
178
+ return s / U.value * t;
178
179
  }
179
180
  const d = b(null);
180
- function Ye(t) {
181
+ function Ze(t) {
181
182
  e.value.style.chart.circles.zoom.show && (d.value = t);
182
183
  }
183
- const D = w(() => d.value ? d.value.r : 0), ue = w(() => F.value ? D.value : d.value ? d.value.r > R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = b(0), Ze = w(() => ({
184
+ const D = w(() => d.value ? d.value.r : 0), ue = w(() => F.value ? D.value : d.value ? d.value.r > R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = b(0), Je = w(() => ({
184
185
  pointerEvents: "none",
185
186
  opacity: I.value,
186
- filter: `drop-shadow(0px 0px 6px ${Le(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
187
- })), U = b(D.value);
188
- st(() => {
189
- U.value = D.value, I.value = 0;
187
+ filter: `drop-shadow(0px 0px 6px ${Ve(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
188
+ })), B = b(D.value);
189
+ nt(() => {
190
+ B.value = D.value, I.value = 0;
190
191
  let t = null;
191
- function n(l) {
192
+ function s(l) {
192
193
  t || (t = l);
193
194
  const f = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
194
- f < 1 ? (U.value = D.value + (ue.value - D.value) * f, I.value = 0 + e.value.style.chart.circles.zoom.opacity * f, requestAnimationFrame(n)) : (U.value = ue.value, I.value = e.value.style.chart.circles.zoom.opacity);
195
+ f < 1 ? (B.value = D.value + (ue.value - D.value) * f, I.value = 0 + e.value.style.chart.circles.zoom.opacity * f, requestAnimationFrame(s)) : (B.value = ue.value, I.value = e.value.style.chart.circles.zoom.opacity);
195
196
  }
196
- requestAnimationFrame(n);
197
+ requestAnimationFrame(s);
197
198
  });
198
199
  const G = w(() => ({
199
200
  name: e.value.style.chart.circles.zoom.label.name.fontSize * R.value[3] / 300,
200
201
  value: e.value.style.chart.circles.zoom.label.value.fontSize * R.value[3] / 300
201
202
  }));
202
203
  function ie(t) {
203
- return Ve(
204
+ return He(
204
205
  e.value.style.chart.circles.labels.value.formatter,
205
206
  t.value,
206
207
  he({
@@ -211,8 +212,8 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
211
212
  })
212
213
  );
213
214
  }
214
- function Je() {
215
- return Ve(
215
+ function Ke() {
216
+ return He(
216
217
  e.value.style.chart.circles.zoom.label.value.formatter,
217
218
  d.value.value,
218
219
  he({
@@ -226,11 +227,11 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
226
227
  function Oe(t) {
227
228
  if (!t)
228
229
  return 0;
229
- const n = t.r / ie(t).length * (ie(t).length === 1 ? 1 : 2);
230
- return Math.min(t.r / 2.5, n);
230
+ const s = t.r / ie(t).length * (ie(t).length === 1 ? 1 : 2);
231
+ return Math.min(t.r / 2.5, s);
231
232
  }
232
233
  const j = b(!1);
233
- function Ke(t) {
234
+ function Ie(t) {
234
235
  j.value = t, be.value += 1;
235
236
  }
236
237
  const F = b(!1);
@@ -242,22 +243,22 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
242
243
  name: l.name,
243
244
  value: l.value,
244
245
  color: l.color
245
- })).toSorted((l, f) => f.value - l.value), n = t.map((l) => l.value);
246
- return { head: t, body: n };
246
+ })).toSorted((l, f) => f.value - l.value), s = t.map((l) => l.value);
247
+ return { head: t, body: s };
247
248
  });
248
- function Ie(t = null) {
249
- Ae(() => {
250
- const n = ee.value.head.map((z, q) => [[
251
- z.name
252
- ], [ee.value.body[q]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(n), f = gt(l);
253
- t ? t(f) : kt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
249
+ function Fe(t = null) {
250
+ De(() => {
251
+ const s = ee.value.head.map((_, q) => [[
252
+ _.name
253
+ ], [ee.value.body[q]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(s), f = kt(l);
254
+ t ? t(f) : xt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
254
255
  });
255
256
  }
256
257
  const te = w(() => {
257
258
  const t = [
258
259
  e.value.table.columnNames.datapoint,
259
260
  e.value.table.columnNames.value
260
- ], n = ee.value.head.map((z, q) => {
261
+ ], s = ee.value.head.map((_, q) => {
261
262
  const ve = he({
262
263
  p: e.value.style.chart.circles.labels.value.prefix,
263
264
  v: ee.value.body[q],
@@ -266,8 +267,8 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
266
267
  });
267
268
  return [
268
269
  {
269
- color: z.color,
270
- name: z.name
270
+ color: _.color,
271
+ name: _.name
271
272
  },
272
273
  ve
273
274
  ];
@@ -290,31 +291,38 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
290
291
  e.value.table.columnNames.value
291
292
  ],
292
293
  head: t,
293
- body: n,
294
+ body: s,
294
295
  config: l
295
296
  };
296
297
  });
297
- function Fe() {
298
+ function Ne() {
298
299
  H.value.showTable = !H.value.showTable;
299
300
  }
300
301
  function Qe() {
301
302
  return Q.value;
302
303
  }
304
+ async function et({ scale: t = 2 } = {}) {
305
+ if (!C.value) return;
306
+ const { imageUri: s, base64: l } = await Pt({ domElement: C.value, base64: !0, img: !0, scale: t });
307
+ return { imageUri: s, base64: l };
308
+ }
303
309
  return i({
304
310
  getData: Qe,
305
- generateCsv: Ie,
311
+ getImage: et,
312
+ generateCsv: Fe,
306
313
  generatePdf: _e,
307
314
  generateImage: $e,
308
- toggleTable: Fe,
309
- toggleAnnotator: ce
310
- }), (t, n) => (y(), g("div", {
315
+ toggleTable: Ne,
316
+ toggleAnnotator: ce,
317
+ toggleFullscreen: Ie
318
+ }), (t, s) => (y(), g("div", {
311
319
  id: `vue-ui-circle-pack_${P.value}`,
312
- class: Ee(`vue-ui-circle-pack ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
320
+ class: Re(`vue-ui-circle-pack ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
313
321
  ref_key: "circlePackChart",
314
- ref: $,
322
+ ref: C,
315
323
  style: le(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${K.value.h}px; width:${K.value.w}px`),
316
- onMouseenter: n[2] || (n[2] = () => u(ke)(!0)),
317
- onMouseleave: n[3] || (n[3] = () => u(ke)(!1))
324
+ onMouseenter: s[2] || (s[2] = () => u(ke)(!0)),
325
+ onMouseleave: s[3] || (s[3] = () => u(ke)(!1))
318
326
  }, [
319
327
  e.value.userOptions.buttons.annotator ? (y(), V(u(a), {
320
328
  key: 0,
@@ -322,11 +330,11 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
322
330
  backgroundColor: e.value.style.chart.backgroundColor,
323
331
  color: e.value.style.chart.color,
324
332
  active: F.value,
325
- scale: B.value / 100,
333
+ scale: U.value / 100,
326
334
  onClose: ce
327
335
  }, null, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : k("", !0),
328
336
  x(t.$slots, "userConfig", {}, void 0, !0),
329
- We.value ? (y(), g("div", {
337
+ Xe.value ? (y(), g("div", {
330
338
  key: 1,
331
339
  ref_key: "noTitle",
332
340
  ref: ye,
@@ -339,7 +347,7 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
339
347
  ref: fe,
340
348
  style: "width:100%;background:transparent;padding-bottom:12px"
341
349
  }, [
342
- (y(), V($t, {
350
+ (y(), V(Tt, {
343
351
  key: `title_${me.value}`,
344
352
  config: {
345
353
  title: {
@@ -369,68 +377,68 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
369
377
  hasTable: e.value.userOptions.buttons.table,
370
378
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
371
379
  isFullscreen: j.value,
372
- chartElement: $.value,
380
+ chartElement: C.value,
373
381
  position: e.value.userOptions.position,
374
382
  callbacks: e.value.userOptions.callbacks,
375
383
  printScale: e.value.userOptions.print.scale,
376
384
  titles: { ...e.value.userOptions.buttonTitles },
377
385
  hasAnnotator: e.value.userOptions.buttons.annotator,
378
386
  isAnnotation: F.value,
379
- onToggleFullscreen: Ke,
387
+ onToggleFullscreen: Ie,
380
388
  onGeneratePdf: u(_e),
381
- onGenerateCsv: Ie,
389
+ onGenerateCsv: Fe,
382
390
  onGenerateImage: u($e),
383
- onToggleTable: Fe,
391
+ onToggleTable: Ne,
384
392
  onToggleAnnotator: ce,
385
393
  style: le({
386
394
  visibility: u(xe) ? u(ne) ? "visible" : "hidden" : "visible"
387
395
  })
388
- }, nt({ _: 2 }, [
396
+ }, rt({ _: 2 }, [
389
397
  t.$slots.menuIcon ? {
390
398
  name: "menuIcon",
391
- fn: _(({ isOpen: l, color: f }) => [
399
+ fn: $(({ isOpen: l, color: f }) => [
392
400
  x(t.$slots, "menuIcon", W(X({ isOpen: l, color: f })), void 0, !0)
393
401
  ]),
394
402
  key: "0"
395
403
  } : void 0,
396
404
  t.$slots.optionPdf ? {
397
405
  name: "optionPdf",
398
- fn: _(() => [
406
+ fn: $(() => [
399
407
  x(t.$slots, "optionPdf", {}, void 0, !0)
400
408
  ]),
401
409
  key: "1"
402
410
  } : void 0,
403
411
  t.$slots.optionCsv ? {
404
412
  name: "optionCsv",
405
- fn: _(() => [
413
+ fn: $(() => [
406
414
  x(t.$slots, "optionCsv", {}, void 0, !0)
407
415
  ]),
408
416
  key: "2"
409
417
  } : void 0,
410
418
  t.$slots.optionImg ? {
411
419
  name: "optionImg",
412
- fn: _(() => [
420
+ fn: $(() => [
413
421
  x(t.$slots, "optionImg", {}, void 0, !0)
414
422
  ]),
415
423
  key: "3"
416
424
  } : void 0,
417
425
  t.$slots.optionTable ? {
418
426
  name: "optionTable",
419
- fn: _(() => [
427
+ fn: $(() => [
420
428
  x(t.$slots, "optionTable", {}, void 0, !0)
421
429
  ]),
422
430
  key: "4"
423
431
  } : void 0,
424
432
  t.$slots.optionFullscreen ? {
425
433
  name: "optionFullscreen",
426
- fn: _(({ toggleFullscreen: l, isFullscreen: f }) => [
434
+ fn: $(({ toggleFullscreen: l, isFullscreen: f }) => [
427
435
  x(t.$slots, "optionFullscreen", W(X({ toggleFullscreen: l, isFullscreen: f })), void 0, !0)
428
436
  ]),
429
437
  key: "5"
430
438
  } : void 0,
431
439
  t.$slots.optionAnnotator ? {
432
440
  name: "optionAnnotator",
433
- fn: _(({ toggleAnnotator: l, isAnnotator: f }) => [
441
+ fn: $(({ toggleAnnotator: l, isAnnotator: f }) => [
434
442
  x(t.$slots, "optionAnnotator", W(X({ toggleAnnotator: l, isAnnotator: f })), void 0, !0)
435
443
  ]),
436
444
  key: "6"
@@ -440,14 +448,14 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
440
448
  key: 4,
441
449
  ref_key: "svgRef",
442
450
  ref: ge,
443
- xmlns: u(mt),
451
+ xmlns: u(pt),
444
452
  viewBox: O.value,
445
- height: E.value.h,
446
- width: E.value.w,
447
- class: Ee({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
453
+ height: M.value.h,
454
+ width: M.value.w,
455
+ class: Re({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
448
456
  style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
449
457
  }, [
450
- rt(u(o)),
458
+ ut(u(o)),
451
459
  t.$slots["chart-background"] ? (y(), g("foreignObject", {
452
460
  key: 0,
453
461
  x: O.value.x,
@@ -459,45 +467,45 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
459
467
  }
460
468
  }, [
461
469
  x(t.$slots, "chart-background", {}, void 0, !0)
462
- ], 8, It)) : k("", !0),
463
- (y(!0), g(ae, null, ut(A.value, (l) => (y(), g(ae, null, [
464
- C("defs", null, [
465
- C("radialGradient", {
470
+ ], 8, Nt)) : k("", !0),
471
+ (y(!0), g(ae, null, it(A.value, (l) => (y(), g(ae, null, [
472
+ z("defs", null, [
473
+ z("radialGradient", {
466
474
  id: l.id,
467
475
  fy: "30%"
468
476
  }, [
469
- C("stop", {
477
+ z("stop", {
470
478
  offset: "10%",
471
- "stop-color": u(pt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
472
- }, null, 8, Nt),
473
- C("stop", {
474
- offset: "90%",
475
- "stop-color": u(Le)(l.color, 0.1)
479
+ "stop-color": u(bt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
476
480
  }, null, 8, Mt),
477
- C("stop", {
481
+ z("stop", {
482
+ offset: "90%",
483
+ "stop-color": u(Ve)(l.color, 0.1)
484
+ }, null, 8, Rt),
485
+ z("stop", {
478
486
  offset: "100%",
479
487
  "stop-color": l.color
480
- }, null, 8, Et)
481
- ], 8, Ft)
488
+ }, null, 8, At)
489
+ ], 8, Et)
482
490
  ]),
483
- t.$slots.pattern ? (y(), g("g", Rt, [
484
- C("defs", null, [
485
- x(t.$slots, "pattern", Re({ ref_for: !0 }, { ...l, patternId: `pattern_${P.value}_${l.id}` }), void 0, !0)
491
+ t.$slots.pattern ? (y(), g("g", Dt, [
492
+ z("defs", null, [
493
+ x(t.$slots, "pattern", Ae({ ref_for: !0 }, { ...l, patternId: `pattern_${P.value}_${l.id}` }), void 0, !0)
486
494
  ])
487
495
  ])) : k("", !0),
488
- C("rect", {
496
+ z("rect", {
489
497
  x: l.x - l.r,
490
498
  y: l.y - l.r,
491
499
  width: l.r * 2,
492
500
  height: l.r * 2,
493
501
  stroke: e.value.style.chart.circles.stroke,
494
- "stroke-width": e.value.style.chart.circles.strokeWidth * B.value / 100,
502
+ "stroke-width": e.value.style.chart.circles.strokeWidth * U.value / 100,
495
503
  fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
496
504
  rx: l.r,
497
- onMouseenter: () => Ye(l),
498
- onMouseout: n[0] || (n[0] = (f) => d.value = null),
505
+ onMouseenter: () => Ze(l),
506
+ onMouseout: s[0] || (s[0] = (f) => d.value = null),
499
507
  onClick: (f) => T("selectDatapoint", l)
500
- }, null, 40, At),
508
+ }, null, 40, Lt),
501
509
  t.$slots.pattern ? (y(), g("rect", {
502
510
  key: 1,
503
511
  x: l.x - l.r,
@@ -505,17 +513,17 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
505
513
  width: l.r * 2,
506
514
  height: l.r * 2,
507
515
  stroke: e.value.style.chart.circles.stroke,
508
- "stroke-width": e.value.style.chart.circles.strokeWidth * B.value / 100,
516
+ "stroke-width": e.value.style.chart.circles.strokeWidth * U.value / 100,
509
517
  fill: `url(#pattern_${P.value}_${l.id})`,
510
518
  rx: l.r,
511
519
  style: {
512
520
  pointerEvents: "none"
513
521
  }
514
- }, null, 8, Dt)) : k("", !0),
515
- t.$slots["data-label"] ? x(t.$slots, "data-label", Re({
522
+ }, null, 8, Vt)) : k("", !0),
523
+ t.$slots["data-label"] ? x(t.$slots, "data-label", Ae({
516
524
  key: 2,
517
525
  ref_for: !0
518
- }, { ...l, createTSpans: u(bt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Oe(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 : u(Z)(l.color) }), void 0, !0) : (y(), g(ae, { key: 3 }, [
526
+ }, { ...l, createTSpans: u(gt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Oe(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 : u(Z)(l.color) }), void 0, !0) : (y(), g(ae, { key: 3 }, [
519
527
  e.value.style.chart.circles.labels.name.show && l.name ? (y(), g("text", {
520
528
  key: 0,
521
529
  style: {
@@ -529,7 +537,7 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
529
537
  fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Z)(l.color),
530
538
  "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
531
539
  "text-anchor": "middle"
532
- }, Y(l.name), 9, Lt)) : k("", !0),
540
+ }, Y(l.name), 9, Ht)) : k("", !0),
533
541
  e.value.style.chart.circles.labels.value.show ? (y(), g("text", {
534
542
  key: 1,
535
543
  style: {
@@ -543,24 +551,24 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
543
551
  fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : u(Z)(l.color),
544
552
  "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
545
553
  "text-anchor": "middle"
546
- }, Y(ie(l)), 9, Vt)) : k("", !0)
554
+ }, Y(ie(l)), 9, Ut)) : k("", !0)
547
555
  ], 64))
548
556
  ], 64))), 256)),
549
557
  d.value && e.value.style.chart.circles.zoom.show && !F.value ? (y(), g(ae, { key: 1 }, [
550
- C("circle", {
551
- style: le(Ze.value),
558
+ z("circle", {
559
+ style: le(Je.value),
552
560
  cx: d.value.x,
553
561
  cy: d.value.y,
554
- r: U.value,
562
+ r: B.value,
555
563
  opacity: I.value,
556
564
  stroke: e.value.style.chart.circles.stroke,
557
- "stroke-width": e.value.style.chart.circles.strokeWidth * B.value / 100,
565
+ "stroke-width": e.value.style.chart.circles.strokeWidth * U.value / 100,
558
566
  fill: e.value.style.chart.circles.gradient.show ? `url(#${d.value.id})` : d.value.color
559
- }, null, 12, Ht),
560
- t.$slots["zoom-label"] ? (y(), g("g", Bt, [
561
- x(t.$slots, "zoom-label", W(X({ ...d.value, zoomOpacity: I.value, currentRadius: U.value, fontSize: G.value })), void 0, !0)
562
- ])) : (y(), g("g", Ut, [
563
- C("text", {
567
+ }, null, 12, Bt),
568
+ t.$slots["zoom-label"] ? (y(), g("g", Gt, [
569
+ x(t.$slots, "zoom-label", W(X({ ...d.value, zoomOpacity: I.value, currentRadius: B.value, fontSize: G.value })), void 0, !0)
570
+ ])) : (y(), g("g", jt, [
571
+ z("text", {
564
572
  style: {
565
573
  pointerEvents: "none"
566
574
  },
@@ -571,8 +579,8 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
571
579
  "font-size": G.value.name,
572
580
  fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : u(Z)(d.value.color),
573
581
  "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
574
- }, Y(d.value.name), 9, Gt),
575
- C("text", {
582
+ }, Y(d.value.name), 9, qt),
583
+ z("text", {
576
584
  style: {
577
585
  pointerEvents: "none"
578
586
  },
@@ -583,14 +591,14 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
583
591
  "font-size": G.value.value,
584
592
  fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : u(Z)(d.value.color),
585
593
  "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
586
- }, Y(Je()), 9, jt)
594
+ }, Y(Ke()), 9, Wt)
587
595
  ]))
588
596
  ], 64)) : k("", !0),
589
597
  x(t.$slots, "svg", {
590
598
  svg: { ...O.value }
591
599
  }, void 0, !0)
592
- ], 14, Ot)) : k("", !0),
593
- N.value ? k("", !0) : (y(), V(u(s), {
600
+ ], 14, Ft)) : k("", !0),
601
+ N.value ? k("", !0) : (y(), V(u(n), {
594
602
  key: 5,
595
603
  config: {
596
604
  type: "circlePack",
@@ -599,13 +607,13 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
599
607
  }
600
608
  }
601
609
  })),
602
- t.$slots.watermark ? (y(), g("div", qt, [
610
+ t.$slots.watermark ? (y(), g("div", Xt, [
603
611
  x(t.$slots, "watermark", W(X({ isPrinting: u(Ce) || u(ze) })), void 0, !0)
604
612
  ])) : k("", !0),
605
613
  t.$slots.source ? (y(), g("div", {
606
614
  key: 7,
607
615
  ref_key: "source",
608
- ref: qe,
616
+ ref: We,
609
617
  dir: "auto"
610
618
  }, [
611
619
  x(t.$slots, "source", {}, void 0, !0)
@@ -626,7 +634,7 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
626
634
  }
627
635
  }
628
636
  }, {
629
- content: _(() => [
637
+ content: $(() => [
630
638
  (y(), V(u(c), {
631
639
  key: `table_${pe.value}`,
632
640
  colNames: te.value.colNames,
@@ -634,25 +642,25 @@ const St = ["id"], Ot = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
634
642
  body: te.value.body,
635
643
  config: te.value.config,
636
644
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
637
- onClose: n[1] || (n[1] = (l) => H.value.showTable = !1)
645
+ onClose: s[1] || (s[1] = (l) => H.value.showTable = !1)
638
646
  }, {
639
- th: _(({ th: l }) => [
640
- C("div", {
647
+ th: $(({ th: l }) => [
648
+ z("div", {
641
649
  innerHTML: l,
642
650
  style: { display: "flex", "align-items": "center" }
643
- }, null, 8, Wt)
651
+ }, null, 8, Yt)
644
652
  ]),
645
- td: _(({ td: l }) => [
646
- it(Y(l.name || l), 1)
653
+ td: $(({ td: l }) => [
654
+ ct(Y(l.name || l), 1)
647
655
  ]),
648
656
  _: 1
649
657
  }, 8, ["colNames", "head", "body", "config", "title"]))
650
658
  ]),
651
659
  _: 1
652
660
  }, 8, ["config"])) : k("", !0)
653
- ], 46, St));
661
+ ], 46, It));
654
662
  }
655
- }, ol = /* @__PURE__ */ Tt(Xt, [["__scopeId", "data-v-b8cf5822"]]);
663
+ }, rl = /* @__PURE__ */ St(Zt, [["__scopeId", "data-v-b5aade3d"]]);
656
664
  export {
657
- ol as default
665
+ rl as default
658
666
  };