vue-data-ui 3.25.8 → 3.25.10

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 (164) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
  3. package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
  4. package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
  5. package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
  6. package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-hill.js +1 -1
  32. package/dist/components/vue-ui-history-plot.js +1 -1
  33. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  34. package/dist/components/vue-ui-kpi.js +1 -1
  35. package/dist/components/vue-ui-label.js +1 -1
  36. package/dist/components/vue-ui-molecule.js +1 -1
  37. package/dist/components/vue-ui-mood-radar.js +1 -1
  38. package/dist/components/vue-ui-nested-donuts.js +1 -1
  39. package/dist/components/vue-ui-onion.js +1 -1
  40. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  41. package/dist/components/vue-ui-quadrant.js +1 -1
  42. package/dist/components/vue-ui-quick-chart.js +1 -1
  43. package/dist/components/vue-ui-radar.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/composables.js +1 -1
  73. package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
  74. package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
  75. package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
  76. package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
  77. package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
  78. package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.js} +1 -1
  79. package/dist/ssr/vue-ui-donut.js +1 -1
  80. package/dist/ssr/vue-ui-xy.js +1 -1
  81. package/dist/ssr.js +2 -2
  82. package/dist/style.css +1 -1
  83. package/dist/types/utils.d.ts +5 -5
  84. package/dist/types/vue-data-ui.d.ts +5 -5
  85. package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
  86. package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
  87. package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
  88. package/dist/vue-data-ui.js +66 -66
  89. package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
  90. package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
  91. package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
  92. package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
  93. package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
  94. package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
  95. package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
  96. package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
  97. package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
  98. package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
  99. package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
  100. package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
  101. package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
  102. package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
  103. package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
  104. package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
  105. package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
  106. package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
  107. package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
  108. package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
  109. package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
  110. package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
  111. package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
  112. package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
  113. package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
  114. package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
  115. package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
  116. package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
  117. package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
  118. package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
  119. package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
  120. package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
  121. package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
  122. package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
  123. package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
  124. package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
  125. package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
  126. package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
  127. package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
  128. package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
  129. package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
  130. package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
  131. package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
  132. package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
  133. package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
  134. package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
  135. package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
  136. package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
  137. package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
  138. package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
  139. package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
  140. package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
  141. package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
  142. package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
  143. package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
  144. package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
  145. package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
  146. package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
  147. package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
  148. package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
  149. package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
  150. package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
  151. package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
  152. package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
  153. package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
  154. package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
  155. package/package.json +3 -3
  156. package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
  157. package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
  158. package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
  159. package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
  160. package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
  161. package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
  162. package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
  163. package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
  164. package/dist/vue-ui-waffle-D6_cGi1-.js +0 -1621
@@ -1,26 +1,26 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Jt as i, Lt as a, Pt as o, S as s, W as c, X as l, Y as u, Yt as d, Zt as f, i as p, jt as m, nt as ee, q as h, r as g, t as te, w as ne } from "./lib-Dql7cqyA.js";
3
- import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
4
- import { t as ae } from "./useConfig-D32D002m.js";
5
- import { t as oe } from "./usePrinter-DISD7q5m.js";
6
- import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as le } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as de } from "./useChartExport-iwOqiIWX.js";
10
- import { t as fe } from "./useTransitions-g_zBREk2.js";
11
- import { t as pe } from "./img-DhGApYG0.js";
12
- import { n as me } from "./Title-CPHi-evi.js";
13
- import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as ge, t as _e } from "./useResponsive-ZtArZtUf.js";
15
- import { t as ve } from "./DefGrad-DVBqDjhO.js";
16
- import { t as ye } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as be } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Se } from "./usePanZoom-CYU3B4T3.js";
20
- import { t as Ce } from "./vue_ui_circle_pack-DZC_rdfn.js";
21
- import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as we, createTextVNode as Te, createVNode as Ee, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as De, nextTick as Oe, normalizeClass as T, normalizeProps as E, normalizeStyle as ke, onBeforeUnmount as Ae, onMounted as je, openBlock as D, ref as O, renderList as Me, renderSlot as k, resolveDynamicComponent as Ne, toDisplayString as A, toRefs as Pe, unref as j, useCssVars as Fe, watch as Ie, withCtx as M } from "vue";
2
+ import { $ as t, Ct as n, D as r, Jt as i, Lt as a, Pt as o, S as s, W as c, X as l, Y as u, Yt as d, Z as f, Zt as p, i as m, jt as ee, nt as h, q as g, r as te, t as ne, w as re } from "./lib-Dql7cqyA.js";
3
+ import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
4
+ import { t as oe } from "./useConfig-D32D002m.js";
5
+ import { t as se } from "./usePrinter-hohanNCX.js";
6
+ import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as ue } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as fe } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as pe } from "./useTransitions-g_zBREk2.js";
11
+ import { t as me } from "./img-BkMKbWsI.js";
12
+ import { n as he } from "./Title-CPHi-evi.js";
13
+ import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as ye } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as be } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as Ce } from "./usePanZoom-CYU3B4T3.js";
20
+ import { t as we } from "./vue_ui_circle_pack-DZC_rdfn.js";
21
+ import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Oe, nextTick as ke, normalizeClass as T, normalizeProps as E, normalizeStyle as Ae, onBeforeUnmount as je, onMounted as Me, openBlock as D, ref as O, renderList as Ne, renderSlot as k, resolveDynamicComponent as Pe, toDisplayString as A, toRefs as Fe, unref as j, useCssVars as Ie, watch as Le, withCtx as M } from "vue";
22
22
  //#region src/packCircles.js
23
- function Le(e, t = 0) {
23
+ function Re(e, t = 0) {
24
24
  let n = e.reduce((e, { x: n, r }) => Math.min(e, n - r - t), Infinity), r = e.reduce((e, { x: n, r }) => Math.max(e, n + r + t), -Infinity), i = e.reduce((e, { y: n, r }) => Math.min(e, n - r - t), Infinity), a = e.reduce((e, { y: n, r }) => Math.max(e, n + r + t), -Infinity);
25
25
  return [
26
26
  n,
@@ -29,30 +29,30 @@ function Le(e, t = 0) {
29
29
  a - i
30
30
  ];
31
31
  }
32
- function Re(e, t, n) {
32
+ function ze(e, t, n) {
33
33
  let r = e._, i = e.next._, a = r.r + i.r, o = (r.x * i.r + i.x * r.r) / a, s = (r.y * i.r + i.y * r.r) / a;
34
34
  return Math.max(Math.abs(o * n), Math.abs(s * t));
35
35
  }
36
- function ze(e, t, n) {
37
- let r = Re, i = e.length;
36
+ function Be(e, t, n) {
37
+ let r = ze, i = e.length;
38
38
  if (!i) return e;
39
39
  e.sort((e, t) => t.r - e.r);
40
40
  let a, o, s;
41
41
  if (a = e[0], a.x = 0, a.y = 0, !(i > 1)) return e;
42
42
  if (o = e[1], a.x = -o.r, o.x = a.r, o.y = 0, !(i > 2)) return He(e, n, t), e;
43
- Be(o, a, s = e[2]), a = new Ye(a), o = new Ye(o), s = new Ye(s), a.next = s.previous = o, o.next = a.previous = s, s.next = o.previous = a;
43
+ Ve(o, a, s = e[2]), a = new Ye(a), o = new Ye(o), s = new Ye(s), a.next = s.previous = o, o.next = a.previous = s, s.next = o.previous = a;
44
44
  packLoop: for (let c = 3; c < i; ++c) {
45
- Be(a._, o._, s = e[c]), s = new Ye(s);
45
+ Ve(a._, o._, s = e[c]), s = new Ye(s);
46
46
  let i = o.next, l = a.previous, u = o._.r, d = a._.r;
47
47
  do
48
48
  if (u <= d) {
49
- if (Ve(i._, s._)) {
49
+ if (N(i._, s._)) {
50
50
  o = i, a.next = o, o.previous = a, --c;
51
51
  continue packLoop;
52
52
  }
53
53
  u += i._.r, i = i.next;
54
54
  } else {
55
- if (Ve(l._, s._)) {
55
+ if (N(l._, s._)) {
56
56
  a = l, a.next = o, o.previous = a, --c;
57
57
  continue packLoop;
58
58
  }
@@ -69,7 +69,7 @@ function ze(e, t, n) {
69
69
  }
70
70
  return He(e, n, t), Ge(e, n, t), e;
71
71
  }
72
- function Be(e, t, n) {
72
+ function Ve(e, t, n) {
73
73
  let r = e.x - t.x, i = e.y - t.y, a = r * r + i * i;
74
74
  if (a) {
75
75
  let o = (t.r + n.r) ** 2, s = (e.r + n.r) ** 2;
@@ -82,7 +82,7 @@ function Be(e, t, n) {
82
82
  }
83
83
  } else n.x = t.x + n.r, n.y = t.y;
84
84
  }
85
- function Ve(e, t) {
85
+ function N(e, t) {
86
86
  let n = e.r + t.r - 1e-6, r = t.x - e.x, i = t.y - e.y;
87
87
  return n > 0 && n * n > r * r + i * i;
88
88
  }
@@ -103,7 +103,7 @@ function He(e, t, n) {
103
103
  function Ue(e, t, n, r) {
104
104
  let i = e.x, a = e.y;
105
105
  e.x = t, e.y = n;
106
- for (let t of r) if (t !== e && Ve(e, t)) return e.x = i, e.y = a, !1;
106
+ for (let t of r) if (t !== e && N(e, t)) return e.x = i, e.y = a, !1;
107
107
  return e.x = i, e.y = a, !0;
108
108
  }
109
109
  function We(e) {
@@ -139,7 +139,7 @@ function Ke(e, t, n, r) {
139
139
  x: o.x,
140
140
  y: o.y
141
141
  };
142
- if (!N(s, t)) continue;
142
+ if (!P(s, t)) continue;
143
143
  let c = Je(s, t, n, r);
144
144
  c < a && (a = c, i = o);
145
145
  }
@@ -160,8 +160,8 @@ function qe(e, t, n) {
160
160
  y: ee - g
161
161
  }];
162
162
  }
163
- function N(e, t) {
164
- for (let n of t) if (Ve(n, e)) return !1;
163
+ function P(e, t) {
164
+ for (let n of t) if (N(n, e)) return !1;
165
165
  return !0;
166
166
  }
167
167
  function Je(e, t, n, r) {
@@ -277,7 +277,7 @@ var Ye = class {
277
277
  }, gt = { style: {
278
278
  display: "flex",
279
279
  "align-items": "center"
280
- } }, _t = /*#__PURE__*/ he({
280
+ } }, _t = /*#__PURE__*/ ge({
281
281
  __name: "vue-ui-circle-pack",
282
282
  props: {
283
283
  config: {
@@ -294,18 +294,18 @@ var Ye = class {
294
294
  }
295
295
  },
296
296
  emits: ["selectDatapoint", "copyAlt"],
297
- setup(e, { expose: he, emit: Re }) {
298
- Fe((e) => ({ b5587190: lr.value }));
299
- let Be = C(() => import("./Tooltip-hhrkQ3Lk.js")), Ve = C(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), He = C(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Ue = C(() => import("./DataTable-oiM9uWrQ.js")), We = C(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ge = C(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ke = C(() => import("./PackageVersion-ekRvV3aF.js").then((e) => e.t)), qe = C(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), N = e, Je = Re, { vue_ui_circle_pack: Ye } = ae(), { isThemeValid: Xe, warnInvalidTheme: _t } = ue(), vt = v(() => !!N.dataset && N.dataset.length), P = O(h()), F = O(null), yt = O(null), bt = O(null), xt = O(0), St = O(0), Ct = O(0), wt = O(null), I = O(null), Tt = O(null), Et = O(!1), Dt = O(""), L = O(null), R = O(null), Ot = O({
297
+ setup(e, { expose: ge, emit: ze }) {
298
+ Ie((e) => ({ e036d6dc: fr.value }));
299
+ let Ve = C(() => import("./Tooltip-hhrkQ3Lk.js")), N = C(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), He = C(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Ue = C(() => import("./DataTable-oiM9uWrQ.js")), We = C(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), Ge = C(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Ke = C(() => import("./PackageVersion-CZZayD-D.js").then((e) => e.t)), qe = C(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), P = e, Je = ze, { vue_ui_circle_pack: Ye } = oe(), { isThemeValid: Xe, warnInvalidTheme: _t } = de(), vt = v(() => !!P.dataset && P.dataset.length), F = O(g()), I = O(null), yt = O(null), bt = O(null), xt = O(0), St = O(0), Ct = O(0), wt = O(null), L = O(null), Tt = O(null), Et = O(!1), Dt = O(""), R = O(null), z = O(null), Ot = O({
300
300
  x: 0,
301
301
  y: 0
302
- }), kt = O("pointer"), At = O(!1), z = O(Lt()), B = v(() => z.value.style.chart.circles.labels), V = v(() => z.value.style.chart.circles), H = v(() => z.value.style.chart);
303
- re({
304
- config: () => z.value,
305
- dataset: () => N.dataset,
302
+ }), kt = O("pointer"), At = O(!1), B = O(Rt()), V = v(() => B.value.style.chart.circles.labels), H = v(() => B.value.style.chart.circles), U = v(() => B.value.style.chart);
303
+ ie({
304
+ config: () => B.value,
305
+ dataset: () => P.dataset,
306
306
  component: "VueUiCirclePack",
307
307
  rules: [
308
- ie.emptyArray,
308
+ ae.emptyArray,
309
309
  {
310
310
  test: (e) => e.length === 1 && (!e[0].children || e[0]?.children.length === 0),
311
311
  message: [
@@ -324,10 +324,10 @@ var Ye = class {
324
324
  }
325
325
  ]
326
326
  });
327
- let { transitionEnabled: U } = fe({
328
- config: () => z.value.transitions,
329
- dataset: () => N.dataset
330
- }), W = v(() => z.value.userOptions.useCursorPointer), jt = v(() => f({
327
+ let { transitionEnabled: W } = pe({
328
+ config: () => B.value.transitions,
329
+ dataset: () => P.dataset
330
+ }), jt = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => p({
331
331
  defaultConfig: {
332
332
  userOptions: { show: !1 },
333
333
  table: { show: !1 },
@@ -342,12 +342,12 @@ var Ye = class {
342
342
  }
343
343
  } }
344
344
  },
345
- userConfig: z.value.skeletonConfig ?? {}
346
- })), { loading: Mt, FINAL_DATASET: Nt } = se({
347
- ...Pe(N),
348
- FINAL_CONFIG: z,
349
- prepareConfig: Lt,
350
- skeletonDataset: N.config?.skeletonDataset ?? [
345
+ userConfig: B.value.skeletonConfig ?? {}
346
+ })), { loading: Nt, FINAL_DATASET: Pt } = ce({
347
+ ...Fe(P),
348
+ FINAL_CONFIG: B,
349
+ prepareConfig: Rt,
350
+ skeletonDataset: P.config?.skeletonDataset ?? [
351
351
  {
352
352
  name: "_",
353
353
  value: 13,
@@ -379,23 +379,23 @@ var Ye = class {
379
379
  color: "#696969"
380
380
  }
381
381
  ],
382
- skeletonConfig: f({
383
- defaultConfig: z.value,
384
- userConfig: jt.value
382
+ skeletonConfig: p({
383
+ defaultConfig: B.value,
384
+ userConfig: Mt.value
385
385
  })
386
- }), { svgRef: G } = xe({ config: H.value.title }), { userOptionsVisible: Pt, setUserOptionsVisibility: Ft, keepUserOptionState: It } = be({ config: z.value });
387
- function Lt() {
388
- let e = le({
389
- userConfig: N.config,
386
+ }), { svgRef: G } = Se({ config: U.value.title }), { userOptionsVisible: Ft, setUserOptionsVisibility: It, keepUserOptionState: Lt } = xe({ config: B.value });
387
+ function Rt() {
388
+ let e = ue({
389
+ userConfig: P.config,
390
390
  defaultConfig: Ye
391
391
  }), t = e.theme;
392
392
  if (!t) return e;
393
393
  if (!Xe.value(e)) return _t(e), e;
394
- let n = le({
395
- userConfig: Ce[t] || N.config,
394
+ let n = ue({
395
+ userConfig: we[t] || P.config,
396
396
  defaultConfig: e
397
- }), r = le({
398
- userConfig: N.config,
397
+ }), r = ue({
398
+ userConfig: P.config,
399
399
  defaultConfig: n
400
400
  });
401
401
  return {
@@ -403,51 +403,63 @@ var Ye = class {
403
403
  customPalette: r.customPalette.length ? r.customPalette : d[t] || a
404
404
  };
405
405
  }
406
- Ie(() => N.config, (e) => {
407
- z.value = Lt(), Pt.value = !z.value.userOptions.showOnChartHover, sn(), xt.value += 1, St.value += 1, K.value.showTable = z.value.table.show, K.value.showTooltip = H.value.tooltip.show, K.value.showZoom = H.value.zoom?.show ?? !1;
406
+ function zt(e) {
407
+ let t = f(e);
408
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
409
+ }
410
+ let Bt = zt(P.config);
411
+ Le(() => P.config, (e, t) => {
412
+ let n = zt(e), r = n !== Bt;
413
+ Bt = n;
414
+ let i = Rt();
415
+ if (!r) {
416
+ B.value.style.chart.tooltip = i.style.chart.tooltip, K.value.showTooltip = B.value.style.chart.tooltip.show;
417
+ return;
418
+ }
419
+ B.value = i, Ft.value = !B.value.userOptions.showOnChartHover, un(), xt.value += 1, St.value += 1, K.value.showTable = B.value.table.show, K.value.showTooltip = U.value.tooltip.show, K.value.showZoom = U.value.zoom?.show ?? !1;
408
420
  }, { deep: !0 });
409
- let { isPrinting: Rt, isImaging: zt, generatePdf: Bt, generateImage: Vt } = oe({
410
- elementId: `vue-ui-circle-pack_${P.value}`,
411
- fileName: H.value.title.text || "vue-ui-circle-pack",
412
- options: z.value.userOptions.print
413
- }), Ht = v(() => z.value.userOptions.show && !H.value.title.text), K = O({
414
- showTable: z.value.table.show,
415
- showTooltip: H.value.tooltip.show,
416
- showZoom: H.value.zoom?.show ?? !1
421
+ let { isPrinting: Vt, isImaging: Ht, generatePdf: Ut, generateImage: Wt } = se({
422
+ elementId: `vue-ui-circle-pack_${F.value}`,
423
+ fileName: U.value.title.text || "vue-ui-circle-pack",
424
+ options: B.value.userOptions.print
425
+ }), Gt = v(() => B.value.userOptions.show && !U.value.title.text), K = O({
426
+ showTable: B.value.table.show,
427
+ showTooltip: U.value.tooltip.show,
428
+ showZoom: U.value.zoom?.show ?? !1
417
429
  });
418
- Ie(z, () => {
430
+ Le(B, () => {
419
431
  K.value = {
420
- showTable: z.value.table.show,
421
- showTooltip: H.value.tooltip.show,
422
- showZoom: H.value.zoom?.show ?? !1
432
+ showTable: B.value.table.show,
433
+ showTooltip: U.value.tooltip.show,
434
+ showZoom: U.value.zoom?.show ?? !1
423
435
  };
424
436
  }, { immediate: !0 });
425
437
  let q = O({
426
438
  h: 10,
427
439
  w: 10
428
- }), Ut = O([
440
+ }), Kt = O([
429
441
  0,
430
442
  0,
431
443
  100,
432
444
  100
433
- ]), Wt = O({
445
+ ]), qt = O({
434
446
  x: 0,
435
447
  y: 0,
436
448
  width: 100,
437
449
  height: 100
438
- }), Gt = v(() => z.value.debug), Kt = v(() => {
439
- let e = z.value.style?.chart || {};
450
+ }), Jt = v(() => B.value.debug), Yt = v(() => {
451
+ let e = B.value.style?.chart || {};
440
452
  return e.dimensions && typeof e.dimensions.width == "number" ? e.dimensions.width : typeof e.width == "number" ? e.width : 300;
441
- }), qt = v(() => {
442
- let e = z.value.style?.chart || {};
453
+ }), Xt = v(() => {
454
+ let e = B.value.style?.chart || {};
443
455
  return e.dimensions && typeof e.dimensions.height == "number" ? e.dimensions.height : typeof e.height == "number" ? e.height : 300;
444
456
  }), J = O([]), Y = O([]), X = O(null), Z = O(null);
445
- function Jt(e, t) {
457
+ function Zt(e, t) {
446
458
  q.value = {
447
459
  w: e,
448
460
  h: t
449
461
  };
450
- let n = ln.value.map(Yt);
462
+ let n = fn.value.map(Qt);
451
463
  if (!n.length) {
452
464
  let n = {
453
465
  x: 0,
@@ -455,56 +467,56 @@ var Ye = class {
455
467
  width: e,
456
468
  height: t
457
469
  };
458
- J.value = [], Y.value = [], Ut.value = [
470
+ J.value = [], Y.value = [], Kt.value = [
459
471
  n.x,
460
472
  n.y,
461
473
  n.width,
462
474
  n.height
463
- ], Wt.value = { ...n }, Tn(n);
475
+ ], qt.value = { ...n }, On(n);
464
476
  return;
465
477
  }
466
- let r = ze(n, t, e), [i, a, o, s] = Le(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2, d = r.map((e) => ({
478
+ let r = Be(n, t, e), [i, a, o, s] = Re(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2, d = r.map((e) => ({
467
479
  ...e,
468
480
  x: (e.x - i) * c + l,
469
481
  y: (e.y - a) * c + u,
470
482
  r: e.r * c
471
483
  }));
472
- J.value = tn(d), Y.value = J.value;
473
- let f = In({
484
+ J.value = an(d), Y.value = J.value;
485
+ let f = zn({
474
486
  x: 0,
475
487
  y: 0,
476
488
  width: e,
477
489
  height: t
478
490
  });
479
- Ut.value = [
491
+ Kt.value = [
480
492
  f.x,
481
493
  f.y,
482
494
  f.width,
483
495
  f.height
484
- ], Wt.value = { ...f }, Tn(f);
496
+ ], qt.value = { ...f }, On(f);
485
497
  }
486
- function Yt(e) {
498
+ function Qt(e) {
487
499
  return {
488
500
  ...e,
489
- children: Array.isArray(e.children) ? e.children.map(Yt) : []
501
+ children: Array.isArray(e.children) ? e.children.map(Qt) : []
490
502
  };
491
503
  }
492
- function Xt(e) {
504
+ function $t(e) {
493
505
  let t = Number(e?.value);
494
- return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + Xt(t), 0) : 0;
506
+ return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + $t(t), 0) : 0;
495
507
  }
496
- function Zt(e, t) {
497
- let n = d[z.value.theme || "default"] || a, r = cn.value.length ? cn.value : n.length ? n : a;
508
+ function en(e, t) {
509
+ let n = d[B.value.theme || "default"] || a, r = dn.value.length ? dn.value : n.length ? n : a;
498
510
  return s(e.color) || r[t % r.length] || a[t % a.length];
499
511
  }
500
- function Qt(e) {
501
- return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + Qt(t), 0);
512
+ function tn(e) {
513
+ return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + tn(t), 0);
502
514
  }
503
- function $t(e, t = null, n = 0, r = []) {
515
+ function nn(e, t = null, n = 0, r = []) {
504
516
  return Array.isArray(e) ? e.map((e, i) => {
505
- let a = Xt(e);
517
+ let a = $t(e);
506
518
  if (!Number.isFinite(a) || a <= 0) return null;
507
- let o = h(), c = [...r, i], l = c.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? s(e.color || t?.color) : Zt(e, l), d = $t(e.children, {
519
+ let o = g(), c = [...r, i], l = c.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? s(e.color || t?.color) : en(e, l), d = nn(e.children, {
508
520
  id: o,
509
521
  name: e.name,
510
522
  color: u,
@@ -522,17 +534,17 @@ var Ye = class {
522
534
  rootId: t?.rootId ?? o,
523
535
  hasChildren: d.length > 0,
524
536
  childCount: d.length,
525
- leafCount: d.length ? Qt({ children: d }) : 1,
537
+ leafCount: d.length ? tn({ children: d }) : 1,
526
538
  hierarchyPath: c,
527
539
  children: d
528
540
  };
529
541
  }).filter(Boolean) : [];
530
542
  }
531
- function en(e) {
543
+ function rn(e) {
532
544
  if (!Array.isArray(e.children) || !e.children.length) return [];
533
545
  let t = e.r * 2;
534
546
  if (!t) return [];
535
- let n = ze(e.children.map(Yt), t, t), [r, i, a, o] = Le(n, 1), s = Math.min(a ? t / a : 1, o ? t / o : 1) * .9, c = a * s, l = o * s, u = e.x - c / 2, d = e.y - l / 2;
547
+ let n = Be(e.children.map(Qt), t, t), [r, i, a, o] = Re(n, 1), s = Math.min(a ? t / a : 1, o ? t / o : 1) * .9, c = a * s, l = o * s, u = e.x - c / 2, d = e.y - l / 2;
536
548
  return n.map((e) => ({
537
549
  ...e,
538
550
  x: (e.x - r) * s + u,
@@ -540,146 +552,146 @@ var Ye = class {
540
552
  r: e.r * s
541
553
  }));
542
554
  }
543
- function tn(e) {
555
+ function an(e) {
544
556
  let t = [];
545
557
  return e.forEach((e) => {
546
- let n = en(e);
558
+ let n = rn(e);
547
559
  t.push({
548
560
  ...e,
549
561
  children: n
550
- }), t.push(...tn(n));
562
+ }), t.push(...an(n));
551
563
  }), t;
552
564
  }
553
- function nn(e, t) {
565
+ function on(e, t) {
554
566
  return !e || !t || !Array.isArray(e.hierarchyPath) || !Array.isArray(t.hierarchyPath) || e.hierarchyPath.length <= t.hierarchyPath.length ? !1 : t.hierarchyPath.every((t, n) => e.hierarchyPath[n] === t);
555
567
  }
556
- function rn(e) {
557
- return e.hasChildren ? B.value.parents.show : B.value.children.show;
568
+ function sn(e) {
569
+ return e.hasChildren ? V.value.parents.show : V.value.children.show;
558
570
  }
559
- function an() {
560
- if (!z.value.responsive || !F.value) return;
561
- let e = ge(() => {
562
- let { width: e, height: t } = _e({
563
- chart: F.value,
564
- title: H.value.title.text ? yt.value : null,
571
+ function cn() {
572
+ if (!B.value.responsive || !I.value) return;
573
+ let e = _e(() => {
574
+ let { width: e, height: t } = ve({
575
+ chart: I.value,
576
+ title: U.value.title.text ? yt.value : null,
565
577
  legend: null,
566
578
  source: wt.value,
567
579
  noTitle: bt.value
568
580
  });
569
581
  requestAnimationFrame(() => {
570
- !e || !t || (G.value && (G.value.setAttribute("width", e), G.value.setAttribute("height", t)), Jt(e, t));
582
+ e && t && (G.value && (G.value.setAttribute("width", e), G.value.setAttribute("height", t)), Zt(e, t));
571
583
  });
572
584
  });
573
- X.value && (Z.value && X.value.unobserve(Z.value), X.value.disconnect()), X.value = new ResizeObserver(e), Z.value = F.value.parentNode || F.value, Z.value && X.value.observe(Z.value), e();
585
+ X.value && (Z.value && X.value.unobserve(Z.value), X.value.disconnect()), X.value = new ResizeObserver(e), Z.value = I.value.parentNode || I.value, Z.value && X.value.observe(Z.value), e();
574
586
  }
575
- function on() {
587
+ function ln() {
576
588
  X.value && (Z.value && X.value.unobserve(Z.value), X.value.disconnect(), X.value = null, Z.value = null);
577
589
  }
578
- async function sn() {
579
- o(N.dataset) && ee({
590
+ async function un() {
591
+ o(P.dataset) && h({
580
592
  componentName: "VueUiCirclePack",
581
593
  type: "dataset",
582
- debug: Gt.value
594
+ debug: Jt.value
583
595
  });
584
- let e = Kt.value, t = qt.value;
585
- Jt(e, t), z.value.responsive ? an() : on();
596
+ let e = Yt.value, t = Xt.value;
597
+ Zt(e, t), B.value.responsive ? cn() : ln();
586
598
  }
587
- je(sn), Ae(() => {
588
- on();
589
- }), Ie(() => Nt.value, async (e) => {
590
- await sn();
599
+ Me(un), je(() => {
600
+ ln();
601
+ }), Le(() => Pt.value, async (e) => {
602
+ await un();
591
603
  }, { deep: !0 });
592
- let cn = v(() => ne(z.value.customPalette)), ln = v(() => $t(Nt.value)), un = v(() => J.value.length ? Math.max(...J.value.map((e) => e.r)) : 0);
593
- function dn(e, t) {
594
- return un.value ? t / un.value * e : 0;
604
+ let dn = v(() => re(B.value.customPalette)), fn = v(() => nn(Pt.value)), pn = v(() => J.value.length ? Math.max(...J.value.map((e) => e.r)) : 0);
605
+ function mn(e, t) {
606
+ return pn.value ? t / pn.value * e : 0;
595
607
  }
596
- function fn(e, t) {
597
- z.value.events.datapointLeave && z.value.events.datapointLeave({
608
+ function hn(e, t) {
609
+ B.value.events.datapointLeave && B.value.events.datapointLeave({
598
610
  datapoint: e,
599
611
  seriesIndex: t
600
- }), (kt.value !== "keyboard" || L.value?.id !== e?.id) && (Et.value = !1, L.value = null, R.value = null, kt.value = "pointer");
612
+ }), (kt.value !== "keyboard" || R.value?.id !== e?.id) && (Et.value = !1, R.value = null, z.value = null, kt.value = "pointer");
601
613
  }
602
- function pn(e, t) {
603
- Je("selectDatapoint", e), z.value.events.datapointClick && z.value.events.datapointClick({
614
+ function gn(e, t) {
615
+ Je("selectDatapoint", e), B.value.events.datapointClick && B.value.events.datapointClick({
604
616
  datapoint: e,
605
617
  seriesIndex: t
606
618
  });
607
619
  }
608
- let mn = O(null), hn = O(!1);
609
- function gn(e, t, r = "pointer") {
610
- L.value = e, R.value = t, kt.value = r, z.value.events.datapointEnter && z.value.events.datapointEnter({
620
+ let _n = O(null), vn = O(!1);
621
+ function yn(e, t, r = "pointer") {
622
+ R.value = e, z.value = t, kt.value = r, B.value.events.datapointEnter && B.value.events.datapointEnter({
611
623
  datapoint: e,
612
624
  seriesIndex: t
613
- }), mn.value = {
625
+ }), _n.value = {
614
626
  datapoint: e,
615
627
  seriesIndex: t,
616
- config: z.value,
628
+ config: B.value,
617
629
  series: Y.value
618
630
  }, Et.value = !0;
619
- let i = H.value.tooltip.customFormat;
620
- if (hn.value = !1, n(i)) try {
631
+ let i = U.value.tooltip.customFormat;
632
+ if (vn.value = !1, n(i)) try {
621
633
  let n = i({
622
634
  seriesIndex: t,
623
635
  datapoint: e,
624
636
  series: Y.value,
625
- config: z.value
637
+ config: B.value
626
638
  });
627
- typeof n == "string" && (Dt.value = n, hn.value = !0);
639
+ typeof n == "string" && (Dt.value = n, vn.value = !0);
628
640
  } catch {
629
- console.warn("Custom format cannot be applied."), hn.value = !1;
641
+ console.warn("Custom format cannot be applied."), vn.value = !1;
630
642
  }
631
- if (!hn.value) {
643
+ if (!vn.value) {
632
644
  let t = "";
633
645
  t += `
634
646
  <div style="display:flex;align-items:center;gap:4px;">
635
- <svg viewBox="0 0 10 10" height="${H.value.tooltip.fontSize}" width="${H.value.tooltip.fontSize}">
647
+ <svg viewBox="0 0 10 10" height="${U.value.tooltip.fontSize}" width="${U.value.tooltip.fontSize}">
636
648
  <circle
637
649
  cx="5"
638
650
  cy="5"
639
651
  r="5"
640
- fill="${V.value.gradient.show ? `url(#${e.id})` : e.color}"
652
+ fill="${H.value.gradient.show ? `url(#${e.id})` : e.color}"
641
653
  />
642
654
  </svg>
643
- <span>${e.name}: <b>${_n(e)}</b></span>
655
+ <span>${e.name}: <b>${bn(e)}</b></span>
644
656
  </div>
645
657
  `, Dt.value = t;
646
658
  }
647
659
  }
648
- function _n(e) {
649
- return p(B.value.value.formatter, e.value, l({
650
- p: B.value.value.prefix,
660
+ function bn(e) {
661
+ return m(V.value.value.formatter, e.value, l({
662
+ p: V.value.value.prefix,
651
663
  v: e.value,
652
- s: B.value.value.suffix,
653
- r: B.value.value.rounding
664
+ s: V.value.value.suffix,
665
+ r: V.value.value.rounding
654
666
  }));
655
667
  }
656
- function vn(e) {
668
+ function xn(e) {
657
669
  if (!e) return 0;
658
- let t = _n(e), n = e.r / (t.length || 1) * (t.length === 1 ? 1 : 2);
670
+ let t = bn(e), n = e.r / (t.length || 1) * (t.length === 1 ? 1 : 2);
659
671
  return Math.min(e.r / 2.5, n);
660
672
  }
661
673
  let Q = O(!1);
662
- function yn(e) {
674
+ function Sn(e) {
663
675
  Q.value = e, Ct.value += 1;
664
676
  }
665
- let bn = O(!1);
666
- function xn() {
667
- bn.value = !bn.value;
677
+ let Cn = O(!1);
678
+ function wn() {
679
+ Cn.value = !Cn.value;
668
680
  }
669
- let Sn = v(() => !bn.value && K.value.showZoom), { viewBox: $, resetZoom: Cn, isZoom: wn, setInitialViewBox: Tn } = Se(G, {
681
+ let Tn = v(() => !Cn.value && K.value.showZoom), { viewBox: $, resetZoom: En, isZoom: Dn, setInitialViewBox: On } = Ce(G, {
670
682
  x: 0,
671
683
  y: 0,
672
684
  width: Math.max(10, q.value.w),
673
685
  height: Math.max(10, q.value.h)
674
- }, H.value.zoom?.speed ?? 1, Sn);
675
- function En(e, t, n = 0) {
686
+ }, U.value.zoom?.speed ?? 1, Tn);
687
+ function kn(e, t, n = 0) {
676
688
  return !(e.x + e.width + n < t.x || t.x + t.width + n < e.x || e.y + e.height + n < t.y || t.y + t.height + n < e.y);
677
689
  }
678
- function Dn(e, t, n = 0) {
690
+ function An(e, t, n = 0) {
679
691
  let r = Math.min(Math.max(t.x, e.x - n), e.x + e.width + n), i = Math.min(Math.max(t.y, e.y - n), e.y + e.height + n), a = t.x - r, o = t.y - i;
680
692
  return a * a + o * o <= t.r * t.r;
681
693
  }
682
- function On(e, t, n = 1) {
694
+ function jn(e, t, n = 1) {
683
695
  let r = Math.max(4 * n, Math.min(t.width, t.height) * .01);
684
696
  return {
685
697
  ...e,
@@ -687,11 +699,11 @@ var Ye = class {
687
699
  y: Math.min(Math.max(e.y, t.y + r), t.y + t.height - e.height - r)
688
700
  };
689
701
  }
690
- function kn(e) {
702
+ function Mn(e) {
691
703
  let t = [e.name];
692
- return B.value.value.show && t.push(_n(e)), t.filter(Boolean);
704
+ return V.value.value.show && t.push(bn(e)), t.filter(Boolean);
693
705
  }
694
- function An(e, t, n, r, i) {
706
+ function Nn(e, t, n, r, i) {
695
707
  let a = e.x, o = e.y;
696
708
  return {
697
709
  right: {
@@ -744,12 +756,12 @@ var Ye = class {
744
756
  }
745
757
  }[r];
746
758
  }
747
- function jn(e, t) {
759
+ function Pn(e, t) {
748
760
  let n = [], r = t.get(e.parentId);
749
761
  for (; r;) n.push(r), r = t.get(r.parentId);
750
762
  return n;
751
763
  }
752
- function Mn(e, t, n, r, i, a) {
764
+ function Fn(e, t, n, r, i, a) {
753
765
  let o = e.x, s = e.y, c = t || e, l = a * .6, u = {
754
766
  right: {
755
767
  x: c.x + c.r + a,
@@ -790,10 +802,10 @@ var Ye = class {
790
802
  anchorY: s + Math.sin(p) * e.r
791
803
  };
792
804
  }
793
- function Nn(e, t = {}) {
805
+ function In(e, t = {}) {
794
806
  let { clamp: n = !0, scale: r = 1 } = t;
795
- if (!J.value.length || !q.value.w || !q.value.h || !H.value.parentTooltips.show) return [];
796
- let i = Math.max(8, H.value.parentTooltips.fontSizeRatio * 10) * r, a = i * 1.25, o = i * .75, s = i * .55, c = Math.max(8 * r, Math.min(e.width, e.height) * .025), l = Math.max(2 * r, Math.min(e.width, e.height) * .006), u = [
807
+ if (!J.value.length || !q.value.w || !q.value.h || !U.value.parentTooltips.show) return [];
808
+ let i = Math.max(8, U.value.parentTooltips.fontSizeRatio * 10) * r, a = i * 1.25, o = i * .75, s = i * .55, c = Math.max(8 * r, Math.min(e.width, e.height) * .025), l = Math.max(2 * r, Math.min(e.width, e.height) * .006), u = [
797
809
  "right",
798
810
  "left",
799
811
  "top",
@@ -804,8 +816,8 @@ var Ye = class {
804
816
  "bottomLeft"
805
817
  ], d = [], f = new Map(J.value.map((e) => [e.id, e]));
806
818
  return J.value.filter((e) => e.hasChildren && e.name).sort((e, t) => t.r - e.r).forEach((t) => {
807
- let p = jn(t, f).at(-1), m = kn(t), ee = m.reduce((e, t) => Math.max(e, String(t).length), 0), h = Math.max(i * 5, ee * i * .62 + o * 2), g = m.length * a + s * 2, te = p ? u.map((e) => Mn(t, p, h, g, e, c)) : [], ne = u.map((e) => An(t, h, g, e, c)), re = [...te, ...ne].map((t) => {
808
- let i = n ? On({
819
+ let p = Pn(t, f).at(-1), m = Mn(t), ee = m.reduce((e, t) => Math.max(e, String(t).length), 0), h = Math.max(i * 5, ee * i * .62 + o * 2), g = m.length * a + s * 2, te = p ? u.map((e) => Fn(t, p, h, g, e, c)) : [], ne = u.map((e) => Nn(t, h, g, e, c)), re = [...te, ...ne].map((t) => {
820
+ let i = n ? jn({
809
821
  x: t.x,
810
822
  y: t.y,
811
823
  width: h,
@@ -823,7 +835,7 @@ var Ye = class {
823
835
  lineX: i.x + i.width / 2,
824
836
  lineY: i.y + i.height / 2
825
837
  };
826
- }).find((e) => !d.some((t) => En(e, t, l)) && !J.value.some((t) => Dn(e, t, l)));
838
+ }).find((e) => !d.some((t) => kn(e, t, l)) && !J.value.some((t) => An(e, t, l)));
827
839
  re && d.push({
828
840
  ...re,
829
841
  datapoint: t,
@@ -838,18 +850,18 @@ var Ye = class {
838
850
  });
839
851
  }), d;
840
852
  }
841
- function Pn(e) {
842
- let t = Wt.value;
853
+ function Ln(e) {
854
+ let t = qt.value;
843
855
  if (!t.width || !t.height || !e.width || !e.height) return 1;
844
856
  let n = Math.min(e.width / t.width, e.height / t.height);
845
857
  return Number.isFinite(n) && n > 0 ? n : 1;
846
858
  }
847
- let Fn = v(() => Nn($.value, {
859
+ let Rn = v(() => In($.value, {
848
860
  clamp: !0,
849
- scale: Pn($.value)
861
+ scale: Ln($.value)
850
862
  }));
851
- function In(e) {
852
- let t = Nn(e, { clamp: !1 });
863
+ function zn(e) {
864
+ let t = In(e, { clamp: !1 });
853
865
  if (!t.length) return e;
854
866
  let n = Math.min(e.x, ...t.map((e) => e.x)), r = Math.min(e.y, ...t.map((e) => e.y)), i = Math.max(e.x + e.width, ...t.map((e) => e.x + e.width)), a = Math.max(e.y + e.height, ...t.map((e) => e.y + e.height)), o = Math.max(8, Math.min(e.width, e.height) * .025);
855
867
  return {
@@ -859,7 +871,7 @@ var Ye = class {
859
871
  height: a - r + o * 2
860
872
  };
861
873
  }
862
- function Ln(e) {
874
+ function Bn(e) {
863
875
  let t = [];
864
876
  function n(e, r = 0, i = "") {
865
877
  e.forEach((e) => {
@@ -874,8 +886,8 @@ var Ye = class {
874
886
  }
875
887
  return n(e), t;
876
888
  }
877
- let Rn = v(() => {
878
- let e = Ln(ln.value);
889
+ let Vn = v(() => {
890
+ let e = Bn(fn.value);
879
891
  return {
880
892
  head: Y.value.map((e) => ({
881
893
  name: e.name,
@@ -885,45 +897,45 @@ var Ye = class {
885
897
  body: e.map((e) => e.value),
886
898
  hierarchy: e
887
899
  };
888
- }), zn = v(() => Ln(ln.value).map((e) => ({
900
+ }), Hn = v(() => Bn(fn.value).map((e) => ({
889
901
  ...e,
890
902
  name: `${"- ".repeat(e.depth)}${e.name}`
891
903
  })));
892
- function Bn(e = null) {
893
- Oe(() => {
894
- let n = zn.value.map((e) => [
904
+ function Un(e = null) {
905
+ ke(() => {
906
+ let n = Hn.value.map((e) => [
895
907
  [e.name],
896
908
  [e.parentName || ""],
897
909
  [e.depth],
898
910
  [e.value]
899
911
  ]), i = [
900
- [H.value.title.text],
901
- [H.value.title.subtitle.text],
912
+ [U.value.title.text],
913
+ [U.value.title.subtitle.text],
902
914
  [
903
- [z.value.table.columnNames.datapoint],
915
+ [B.value.table.columnNames.datapoint],
904
916
  ["Parent"],
905
917
  ["Depth"],
906
- [z.value.table.columnNames.value]
918
+ [B.value.table.columnNames.value]
907
919
  ]
908
920
  ].concat(n), a = r(i);
909
921
  e ? e(a) : t({
910
922
  csvContent: a,
911
- title: H.value.title.text || "vue-ui-circle-pack"
923
+ title: U.value.title.text || "vue-ui-circle-pack"
912
924
  });
913
925
  });
914
926
  }
915
- let Vn = v(() => {
927
+ let Wn = v(() => {
916
928
  let e = [
917
- z.value.table.columnNames.datapoint,
918
- z.value.table.columnNames.parent,
919
- z.value.table.columnNames.depth,
920
- z.value.table.columnNames.value
921
- ], t = Rn.value.hierarchy.map((e) => {
929
+ B.value.table.columnNames.datapoint,
930
+ B.value.table.columnNames.parent,
931
+ B.value.table.columnNames.depth,
932
+ B.value.table.columnNames.value
933
+ ], t = Vn.value.hierarchy.map((e) => {
922
934
  let t = l({
923
- p: B.value.value.prefix,
935
+ p: V.value.value.prefix,
924
936
  v: e.value,
925
- s: B.value.value.suffix,
926
- r: B.value.value.rounding
937
+ s: V.value.value.suffix,
938
+ r: V.value.value.rounding
927
939
  });
928
940
  return [
929
941
  {
@@ -936,45 +948,45 @@ var Ye = class {
936
948
  ];
937
949
  }), n = {
938
950
  th: {
939
- backgroundColor: z.value.table.th.backgroundColor,
940
- color: z.value.table.th.color,
941
- outline: z.value.table.th.outline
951
+ backgroundColor: B.value.table.th.backgroundColor,
952
+ color: B.value.table.th.color,
953
+ outline: B.value.table.th.outline
942
954
  },
943
955
  td: {
944
- backgroundColor: z.value.table.td.backgroundColor,
945
- color: z.value.table.td.color,
946
- outline: z.value.table.td.outline
956
+ backgroundColor: B.value.table.td.backgroundColor,
957
+ color: B.value.table.td.color,
958
+ outline: B.value.table.td.outline
947
959
  },
948
- breakpoint: z.value.table.responsiveBreakpoint
960
+ breakpoint: B.value.table.responsiveBreakpoint
949
961
  };
950
962
  return {
951
963
  colNames: [
952
- z.value.table.columnNames.datapoint,
953
- z.value.table.columnNames.parent,
954
- z.value.table.columnNames.depth,
955
- z.value.table.columnNames.value
964
+ B.value.table.columnNames.datapoint,
965
+ B.value.table.columnNames.parent,
966
+ B.value.table.columnNames.depth,
967
+ B.value.table.columnNames.value
956
968
  ],
957
969
  head: e,
958
970
  body: t,
959
971
  config: n
960
972
  };
961
973
  });
962
- function Hn() {
974
+ function Gn() {
963
975
  K.value.showTable = !K.value.showTable;
964
976
  }
965
- function Un() {
977
+ function Kn() {
966
978
  K.value.showTooltip = !K.value.showTooltip;
967
979
  }
968
- function Wn() {
980
+ function qn() {
969
981
  K.value.showZoom = !K.value.showZoom;
970
982
  }
971
- function Gn() {
972
- return ln.value;
983
+ function Jn() {
984
+ return fn.value;
973
985
  }
974
- async function Kn({ scale: e = 2 } = {}) {
975
- if (!F.value) return;
976
- let { width: t, height: n } = F.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
977
- domElement: F.value,
986
+ async function Yn({ scale: e = 2 } = {}) {
987
+ if (!I.value) return;
988
+ let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
989
+ domElement: I.value,
978
990
  base64: !0,
979
991
  img: !0,
980
992
  scale: e
@@ -982,154 +994,154 @@ var Ye = class {
982
994
  return {
983
995
  imageUri: i,
984
996
  base64: a,
985
- title: H.value.title.text,
997
+ title: U.value.title.text,
986
998
  width: t,
987
999
  height: n,
988
1000
  aspectRatio: r
989
1001
  };
990
1002
  }
991
- let qn = v(() => {
992
- let e = z.value.table.useDialog && !z.value.table.show, t = K.value.showTable;
1003
+ let Xn = v(() => {
1004
+ let e = B.value.table.useDialog && !B.value.table.show, t = K.value.showTable;
993
1005
  return {
994
1006
  component: e ? qe : He,
995
- title: `${H.value.title.text}${H.value.title.subtitle.text ? `: ${H.value.title.subtitle.text}` : ""}`,
1007
+ title: `${U.value.title.text}${U.value.title.subtitle.text ? `: ${U.value.title.subtitle.text}` : ""}`,
996
1008
  props: e ? {
997
- backgroundColor: z.value.table.th.backgroundColor,
998
- color: z.value.table.th.color,
999
- headerColor: z.value.table.th.color,
1000
- headerBg: z.value.table.th.backgroundColor,
1009
+ backgroundColor: B.value.table.th.backgroundColor,
1010
+ color: B.value.table.th.color,
1011
+ headerColor: B.value.table.th.color,
1012
+ headerBg: B.value.table.th.backgroundColor,
1001
1013
  isFullscreen: Q.value,
1002
- fullscreenParent: F.value,
1014
+ fullscreenParent: I.value,
1003
1015
  forcedWidth: Math.min(500, window.innerWidth * .8),
1004
- isCursorPointer: W.value
1016
+ isCursorPointer: jt.value
1005
1017
  } : {
1006
1018
  hideDetails: !0,
1007
1019
  config: {
1008
1020
  open: t,
1009
1021
  maxHeight: 1e4,
1010
1022
  body: {
1011
- backgroundColor: H.value.backgroundColor,
1012
- color: H.value.color
1023
+ backgroundColor: U.value.backgroundColor,
1024
+ color: U.value.color
1013
1025
  },
1014
1026
  head: {
1015
- backgroundColor: H.value.backgroundColor,
1016
- color: H.value.color
1027
+ backgroundColor: U.value.backgroundColor,
1028
+ color: U.value.color
1017
1029
  }
1018
1030
  }
1019
1031
  }
1020
1032
  };
1021
1033
  });
1022
- Ie(() => K.value.showTable, (e) => {
1023
- z.value.table.show || (e && z.value.table.useDialog && I.value ? I.value.open() : I.value && "close" in I.value && I.value.close());
1034
+ Le(() => K.value.showTable, (e) => {
1035
+ B.value.table.show || (e && B.value.table.useDialog && L.value ? L.value.open() : L.value && "close" in L.value && L.value.close());
1024
1036
  });
1025
- function Jn() {
1037
+ function Zn() {
1026
1038
  K.value.showTable = !1, Tt.value && Tt.value.setTableIconState(!1);
1027
1039
  }
1028
- let Yn = v(() => H.value.backgroundColor), Xn = v(() => H.value.title), { isCallbackImaging: Zn, isCallbackSvg: Qn, generateSvg: $n, onGenerateImage: er } = de({
1040
+ let Qn = v(() => U.value.backgroundColor), $n = v(() => U.value.title), { isCallbackImaging: er, isCallbackSvg: tr, generateSvg: nr, onGenerateImage: rr } = fe({
1029
1041
  svg: G,
1030
- title: Xn,
1042
+ title: $n,
1031
1043
  legend: null,
1032
1044
  legendItems: null,
1033
- backgroundColor: Yn,
1034
- getSvgCallback: () => z.value.userOptions.callbacks.svg,
1035
- generateImage: Vt
1045
+ backgroundColor: Qn,
1046
+ getSvgCallback: () => B.value.userOptions.callbacks.svg,
1047
+ generateImage: Wt
1036
1048
  });
1037
- async function tr() {
1049
+ async function ir() {
1038
1050
  if (Je("copyAlt", {
1039
- config: z.value,
1040
- dataset: ln.value,
1051
+ config: B.value,
1052
+ dataset: fn.value,
1041
1053
  flattenedDataset: Y.value
1042
- }), !z.value.userOptions.callbacks.altCopy) {
1054
+ }), !B.value.userOptions.callbacks.altCopy) {
1043
1055
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1044
1056
  return;
1045
1057
  }
1046
- await Promise.resolve(z.value.userOptions.callbacks.altCopy({
1047
- config: z.value,
1048
- dataset: ln.value,
1058
+ await Promise.resolve(B.value.userOptions.callbacks.altCopy({
1059
+ config: B.value,
1060
+ dataset: fn.value,
1049
1061
  flattenedDataset: Y.value
1050
1062
  }));
1051
1063
  }
1052
- function nr(e) {
1064
+ function ar(e) {
1053
1065
  if (!Number.isFinite(e) || !G.value) return;
1054
1066
  let t = J.value[e];
1055
1067
  if (!t) return;
1056
1068
  let n = i(t.x, t.y, G.value);
1057
1069
  n && (Ot.value = n);
1058
1070
  }
1059
- function rr() {
1060
- if (R.value !== null) {
1061
- let e = J.value[R.value];
1062
- e && fn(e, R.value);
1071
+ function or() {
1072
+ if (z.value !== null) {
1073
+ let e = J.value[z.value];
1074
+ e && hn(e, z.value);
1063
1075
  }
1064
- R.value = null, kt.value = "pointer", Et.value = !1, L.value = null;
1076
+ z.value = null, kt.value = "pointer", Et.value = !1, R.value = null;
1065
1077
  }
1066
- function ir() {
1067
- R.value = null, At.value = !0;
1078
+ function sr() {
1079
+ z.value = null, At.value = !0;
1068
1080
  }
1069
- function ar() {
1070
- rr(), At.value = !1;
1081
+ function cr() {
1082
+ or(), At.value = !1;
1071
1083
  }
1072
- function or(e, t) {
1084
+ function lr(e, t) {
1073
1085
  let n = J.value.length;
1074
1086
  return n ? e === null || e < 0 || e >= n ? t === "next" ? 0 : n - 1 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
1075
1087
  }
1076
- function sr(e) {
1077
- if (!G.value || bn.value || document.activeElement !== G.value || !J.value.length) return;
1088
+ function ur(e) {
1089
+ if (!G.value || Cn.value || document.activeElement !== G.value || !J.value.length) return;
1078
1090
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1079
1091
  if (!t && !n && !r && !i) return;
1080
1092
  if (e.preventDefault(), e.stopPropagation(), i) {
1081
- rr();
1093
+ or();
1082
1094
  return;
1083
1095
  }
1084
1096
  if (r) {
1085
- if (R.value === null) return;
1086
- let e = J.value[R.value];
1097
+ if (z.value === null) return;
1098
+ let e = J.value[z.value];
1087
1099
  if (!e) return;
1088
- pn(e, R.value);
1100
+ gn(e, z.value);
1089
1101
  return;
1090
1102
  }
1091
- let a = R.value;
1092
- a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? a = or(a, "next") : t && (a = or(a, "previous"));
1103
+ let a = z.value;
1104
+ a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? a = lr(a, "next") : t && (a = lr(a, "previous"));
1093
1105
  let o = J.value[a];
1094
- o && (R.value = a, nr(a), gn(o, a, "keyboard"));
1106
+ o && (z.value = a, ar(a), yn(o, a, "keyboard"));
1095
1107
  }
1096
- let cr = v(() => ({
1097
- headers: Vn.value?.colNames ?? [],
1098
- rows: Vn.value?.body?.map((e) => [e[0]?.name ?? "", e[1]]) ?? []
1099
- })), lr = v(() => H.value.color);
1100
- return he({
1101
- getData: Gn,
1102
- getImage: Kn,
1103
- generateCsv: Bn,
1104
- generatePdf: Bt,
1105
- generateImage: Vt,
1106
- generateSvg: $n,
1107
- toggleTable: Hn,
1108
- toggleAnnotator: xn,
1109
- toggleFullscreen: yn,
1110
- copyAlt: tr,
1111
- toggleZoom: Wn,
1112
- resetZoom: Cn
1108
+ let dr = v(() => ({
1109
+ headers: Wn.value?.colNames ?? [],
1110
+ rows: Wn.value?.body?.map((e) => [e[0]?.name ?? "", e[1]]) ?? []
1111
+ })), fr = v(() => U.value.color);
1112
+ return ge({
1113
+ getData: Jn,
1114
+ getImage: Yn,
1115
+ generateCsv: Un,
1116
+ generatePdf: Ut,
1117
+ generateImage: Wt,
1118
+ generateSvg: nr,
1119
+ toggleTable: Gn,
1120
+ toggleAnnotator: wn,
1121
+ toggleFullscreen: Sn,
1122
+ copyAlt: ir,
1123
+ toggleZoom: qn,
1124
+ resetZoom: En
1113
1125
  }), (e, t) => (D(), x("div", {
1114
- id: `vue-ui-circle-pack_${P.value}`,
1115
- class: T(`vue-data-ui-component vue-ui-circle-pack ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j(Mt) ? "loading" : ""}`),
1126
+ id: `vue-ui-circle-pack_${F.value}`,
1127
+ class: T(`vue-data-ui-component vue-ui-circle-pack ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j(Nt) ? "loading" : ""}`),
1116
1128
  ref_key: "circlePackChart",
1117
- ref: F,
1118
- style: ke(`font-family:${z.value.style.fontFamily};text-align:center;background:${H.value.backgroundColor};`),
1119
- onMouseenter: t[2] ||= () => j(Ft)(!0),
1120
- onMouseleave: t[3] ||= () => j(Ft)(!1)
1129
+ ref: I,
1130
+ style: Ae(`font-family:${B.value.style.fontFamily};text-align:center;background:${U.value.backgroundColor};`),
1131
+ onMouseenter: t[2] ||= () => j(It)(!0),
1132
+ onMouseleave: t[3] ||= () => j(It)(!1)
1121
1133
  }, [
1122
1134
  S("div", {
1123
- id: `chart-instructions-${P.value}`,
1135
+ id: `chart-instructions-${F.value}`,
1124
1136
  class: "sr-only"
1125
- }, [S("p", null, A(z.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1126
- cr.value?.rows?.length ? (D(), y(ye, {
1137
+ }, [S("p", null, A(B.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
1138
+ dr.value?.rows?.length ? (D(), y(be, {
1127
1139
  key: 0,
1128
- uid: P.value,
1129
- head: cr.value.headers,
1130
- body: cr.value.rows,
1131
- notice: z.value.a11y.translations.tableAvailable,
1132
- caption: z.value.a11y.translations.tableCaption
1140
+ uid: F.value,
1141
+ head: dr.value.headers,
1142
+ body: dr.value.rows,
1143
+ notice: B.value.a11y.translations.tableAvailable,
1144
+ caption: B.value.a11y.translations.tableCaption
1133
1145
  }, null, 8, [
1134
1146
  "uid",
1135
1147
  "head",
@@ -1137,16 +1149,16 @@ var Ye = class {
1137
1149
  "notice",
1138
1150
  "caption"
1139
1151
  ])) : b("", !0),
1140
- z.value.userOptions.buttons.annotator ? (D(), y(j(Ge), {
1152
+ B.value.userOptions.buttons.annotator ? (D(), y(j(Ge), {
1141
1153
  key: 1,
1142
1154
  svgRef: j(G),
1143
- backgroundColor: H.value.backgroundColor,
1144
- color: H.value.color,
1145
- active: bn.value,
1146
- scale: un.value / 100,
1147
- isCursorPointer: W.value,
1148
- palette: z.value.userOptions.annotatorPalette,
1149
- onClose: xn
1155
+ backgroundColor: U.value.backgroundColor,
1156
+ color: U.value.color,
1157
+ active: Cn.value,
1158
+ scale: pn.value / 100,
1159
+ isCursorPointer: jt.value,
1160
+ palette: B.value.userOptions.annotatorPalette,
1161
+ onClose: wn
1150
1162
  }, {
1151
1163
  "annotator-action-close": M(() => [k(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1152
1164
  "annotator-action-color": M(({ color: t }) => [k(e.$slots, "annotator-action-color", E(w({ color: t })), void 0, !0)]),
@@ -1165,74 +1177,74 @@ var Ye = class {
1165
1177
  "palette"
1166
1178
  ])) : b("", !0),
1167
1179
  k(e.$slots, "userConfig", {}, void 0, !0),
1168
- Ht.value ? (D(), x("div", {
1180
+ Gt.value ? (D(), x("div", {
1169
1181
  key: 2,
1170
1182
  ref_key: "noTitle",
1171
1183
  ref: bt,
1172
1184
  class: "vue-data-ui-no-title-space",
1173
1185
  style: "height:36px; width: 100%;background:transparent"
1174
1186
  }, null, 512)) : b("", !0),
1175
- H.value.title.text ? (D(), x("div", {
1187
+ U.value.title.text ? (D(), x("div", {
1176
1188
  key: 3,
1177
1189
  ref_key: "chartTitle",
1178
1190
  ref: yt,
1179
1191
  style: "width:100%;background:transparent;padding-bottom:12px"
1180
- }, [(D(), y(me, {
1192
+ }, [(D(), y(he, {
1181
1193
  key: `title_${xt.value}`,
1182
1194
  config: {
1183
1195
  title: {
1184
1196
  cy: "donut-div-title",
1185
- ...H.value.title
1197
+ ...U.value.title
1186
1198
  },
1187
1199
  subtitle: {
1188
1200
  cy: "donut-div-subtitle",
1189
- ...H.value.title.subtitle
1201
+ ...U.value.title.subtitle
1190
1202
  }
1191
1203
  }
1192
1204
  }, null, 8, ["config"]))], 512)) : b("", !0),
1193
- z.value.userOptions.show && vt.value && (j(It) || j(Pt)) ? (D(), y(j(We), {
1205
+ B.value.userOptions.show && vt.value && (j(Lt) || j(Ft)) ? (D(), y(j(We), {
1194
1206
  ref_key: "userOptionsRef",
1195
1207
  ref: Tt,
1196
1208
  key: `user_option_${Ct.value}`,
1197
- backgroundColor: H.value.backgroundColor,
1198
- color: H.value.color,
1199
- isPrinting: j(Rt),
1200
- isImaging: j(zt),
1201
- uid: P.value,
1202
- hasTooltip: z.value.userOptions.buttons.tooltip,
1209
+ backgroundColor: U.value.backgroundColor,
1210
+ color: U.value.color,
1211
+ isPrinting: j(Vt),
1212
+ isImaging: j(Ht),
1213
+ uid: F.value,
1214
+ hasTooltip: B.value.userOptions.buttons.tooltip,
1203
1215
  isTooltip: K.value.showTooltip,
1204
1216
  hasLabel: !1,
1205
- hasPdf: z.value.userOptions.buttons.pdf,
1206
- hasImg: z.value.userOptions.buttons.img,
1207
- hasSvg: z.value.userOptions.buttons.svg,
1208
- hasXls: z.value.userOptions.buttons.csv,
1209
- hasTable: z.value.userOptions.buttons.table,
1210
- hasFullscreen: z.value.userOptions.buttons.fullscreen,
1211
- hasAltCopy: z.value.userOptions.buttons.altCopy,
1217
+ hasPdf: B.value.userOptions.buttons.pdf,
1218
+ hasImg: B.value.userOptions.buttons.img,
1219
+ hasSvg: B.value.userOptions.buttons.svg,
1220
+ hasXls: B.value.userOptions.buttons.csv,
1221
+ hasTable: B.value.userOptions.buttons.table,
1222
+ hasFullscreen: B.value.userOptions.buttons.fullscreen,
1223
+ hasAltCopy: B.value.userOptions.buttons.altCopy,
1212
1224
  isFullscreen: Q.value,
1213
- chartElement: F.value,
1214
- position: z.value.userOptions.position,
1215
- callbacks: z.value.userOptions.callbacks,
1216
- printScale: z.value.userOptions.print.scale,
1217
- titles: { ...z.value.userOptions.buttonTitles },
1218
- hasAnnotator: z.value.userOptions.buttons.annotator,
1219
- isAnnotation: bn.value,
1220
- tableDialog: z.value.table.useDialog,
1221
- isCursorPointer: W.value,
1222
- hasZoom: z.value.userOptions.buttons.zoom,
1225
+ chartElement: I.value,
1226
+ position: B.value.userOptions.position,
1227
+ callbacks: B.value.userOptions.callbacks,
1228
+ printScale: B.value.userOptions.print.scale,
1229
+ titles: { ...B.value.userOptions.buttonTitles },
1230
+ hasAnnotator: B.value.userOptions.buttons.annotator,
1231
+ isAnnotation: Cn.value,
1232
+ tableDialog: B.value.table.useDialog,
1233
+ isCursorPointer: jt.value,
1234
+ hasZoom: B.value.userOptions.buttons.zoom,
1223
1235
  isZoom: K.value.showZoom,
1224
- onToggleFullscreen: yn,
1225
- onGeneratePdf: j(Bt),
1226
- onGenerateCsv: Bn,
1227
- onGenerateImage: j(er),
1228
- onGenerateSvg: j($n),
1229
- onToggleTable: Hn,
1230
- onToggleTooltip: Un,
1231
- onToggleAnnotator: xn,
1232
- onToggleZoom: Wn,
1233
- onCopyAlt: tr,
1234
- style: ke({ visibility: j(It) ? j(Pt) ? "visible" : "hidden" : "visible" })
1235
- }, we({ _: 2 }, [
1236
+ onToggleFullscreen: Sn,
1237
+ onGeneratePdf: j(Ut),
1238
+ onGenerateCsv: Un,
1239
+ onGenerateImage: j(rr),
1240
+ onGenerateSvg: j(nr),
1241
+ onToggleTable: Gn,
1242
+ onToggleTooltip: Kn,
1243
+ onToggleAnnotator: wn,
1244
+ onToggleZoom: qn,
1245
+ onCopyAlt: ir,
1246
+ style: Ae({ visibility: j(Lt) ? j(Ft) ? "visible" : "hidden" : "visible" })
1247
+ }, Te({ _: 2 }, [
1236
1248
  e.$slots.menuIcon ? {
1237
1249
  name: "menuIcon",
1238
1250
  fn: M(({ isOpen: t, color: n }) => [k(e.$slots, "menuIcon", E(w({
@@ -1313,27 +1325,27 @@ var Ye = class {
1313
1325
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.isTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.callbacks.printScale.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.hasZoom.isZoom.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : b("", !0),
1314
1326
  S("div", { class: T({
1315
1327
  "vue-ui-circle-pack-svg-container": !0,
1316
- "not-responsive": !z.value.responsive
1328
+ "not-responsive": !B.value.responsive
1317
1329
  }) }, [(D(), x("svg", {
1318
1330
  ref_key: "svgRef",
1319
1331
  ref: G,
1320
- xmlns: j(te),
1321
- "aria-describedby": `chart-instructions-${P.value}`,
1332
+ xmlns: j(ne),
1333
+ "aria-describedby": `chart-instructions-${F.value}`,
1322
1334
  viewBox: `${j($).x} ${j($).y} ${j($).width} ${j($).height}`,
1323
1335
  preserveAspectRatio: "xMidYMid meet",
1324
1336
  class: T({
1325
1337
  "vue-data-ui-fullscreen--on": Q.value,
1326
1338
  "vue-data-ui-fulscreen--off": !Q.value,
1327
- "not-responsive": !z.value.responsive,
1328
- "vue-data-ui-no-transition": !j(U)
1339
+ "not-responsive": !B.value.responsive,
1340
+ "vue-data-ui-no-transition": !j(W)
1329
1341
  }),
1330
- style: ke(`display:block;${z.value.responsive ? "width:100%;height:auto" : "height:100%;"};overflow:${K.value.showZoom ? "hidden" : "visible"};background:transparent;color:${H.value.color};background:${H.value.backgroundColor};`),
1342
+ style: Ae(`display:block;${B.value.responsive ? "width:100%;height:auto" : "height:100%;"};overflow:${K.value.showZoom ? "hidden" : "visible"};background:transparent;color:${U.value.color};background:${U.value.backgroundColor};`),
1331
1343
  tabindex: "0",
1332
- onFocus: ir,
1333
- onBlur: ar,
1334
- onKeydown: sr
1344
+ onFocus: sr,
1345
+ onBlur: cr,
1346
+ onKeydown: ur
1335
1347
  }, [
1336
- Ee(j(Ke)),
1348
+ De(j(Ke)),
1337
1349
  e.$slots["chart-background"] ? (D(), x("foreignObject", {
1338
1350
  key: 0,
1339
1351
  x: j($).x,
@@ -1342,15 +1354,15 @@ var Ye = class {
1342
1354
  height: q.value.h,
1343
1355
  style: { pointerEvents: "none" }
1344
1356
  }, [k(e.$slots, "chart-background", {}, void 0, !0)], 8, et)) : b("", !0),
1345
- (D(!0), x(_, null, Me(J.value, (t, n) => (D(), x(_, { key: t.id }, [
1346
- S("defs", null, [Ee(ve, {
1357
+ (D(!0), x(_, null, Ne(J.value, (t, n) => (D(), x(_, { key: t.id }, [
1358
+ S("defs", null, [De(ye, {
1347
1359
  t: "radial",
1348
1360
  id: t.id,
1349
1361
  fy: "30%",
1350
1362
  stops: [
1351
1363
  [
1352
1364
  "10%",
1353
- j(m)(t.color, V.value.gradient.intensity / 100),
1365
+ j(ee)(t.color, H.value.gradient.intensity / 100),
1354
1366
  1
1355
1367
  ],
1356
1368
  [
@@ -1365,119 +1377,119 @@ var Ye = class {
1365
1377
  ]
1366
1378
  ]
1367
1379
  }, null, 8, ["id", "stops"])]),
1368
- e.$slots.pattern ? (D(), x("g", tt, [S("defs", null, [k(e.$slots, "pattern", De({ ref_for: !0 }, {
1380
+ e.$slots.pattern ? (D(), x("g", tt, [S("defs", null, [k(e.$slots, "pattern", Oe({ ref_for: !0 }, {
1369
1381
  ...t,
1370
- patternId: `pattern_${P.value}_${t.id}`
1382
+ patternId: `pattern_${F.value}_${t.id}`
1371
1383
  }), void 0, !0)])])) : b("", !0),
1372
1384
  S("rect", {
1373
- class: T({ "vue-data-ui-transition": j(U) }),
1385
+ class: T({ "vue-data-ui-transition": j(W) }),
1374
1386
  x: t.x - t.r,
1375
1387
  y: t.y - t.r,
1376
1388
  width: t.r * 2,
1377
1389
  height: t.r * 2,
1378
- stroke: V.value.stroke,
1390
+ stroke: H.value.stroke,
1379
1391
  "vector-effect": "non-scaling-stroke",
1380
- "stroke-width": V.value.strokeWidth * (un.value || 1) / 100,
1381
- fill: V.value.gradient.show ? `url(#${t.id})` : t.color,
1392
+ "stroke-width": H.value.strokeWidth * (pn.value || 1) / 100,
1393
+ fill: H.value.gradient.show ? `url(#${t.id})` : t.color,
1382
1394
  rx: t.r,
1383
- onMouseenter: (e) => gn(t, n, "pointer"),
1384
- onMouseout: (e) => fn(t, n),
1385
- onClick: (e) => pn(t, n)
1395
+ onMouseenter: (e) => yn(t, n, "pointer"),
1396
+ onMouseout: (e) => hn(t, n),
1397
+ onClick: (e) => gn(t, n)
1386
1398
  }, null, 42, nt),
1387
1399
  e.$slots.pattern ? (D(), x("rect", {
1388
1400
  key: 1,
1389
- class: T({ "vue-data-ui-transition": j(U) }),
1401
+ class: T({ "vue-data-ui-transition": j(W) }),
1390
1402
  x: t.x - t.r,
1391
1403
  y: t.y - t.r,
1392
1404
  width: t.r * 2,
1393
1405
  height: t.r * 2,
1394
- stroke: V.value.stroke,
1406
+ stroke: H.value.stroke,
1395
1407
  "vector-effect": "non-scaling-stroke",
1396
- "stroke-width": V.value.strokeWidth * (un.value || 1) / 100,
1397
- fill: `url(#pattern_${P.value}_${t.id})`,
1408
+ "stroke-width": H.value.strokeWidth * (pn.value || 1) / 100,
1409
+ fill: `url(#pattern_${F.value}_${t.id})`,
1398
1410
  rx: t.r,
1399
1411
  style: { pointerEvents: "none" }
1400
1412
  }, null, 10, rt)) : b("", !0)
1401
1413
  ], 64))), 128)),
1402
- (D(!0), x(_, null, Me(J.value, (e, t) => (D(), x(_, { key: e.id }, [e.hasChildren ? b("", !0) : (D(), x("rect", {
1414
+ (D(!0), x(_, null, Ne(J.value, (e, t) => (D(), x(_, { key: e.id }, [e.hasChildren ? b("", !0) : (D(), x("rect", {
1403
1415
  key: 0,
1404
- class: T({ "vue-data-ui-transition": j(U) }),
1416
+ class: T({ "vue-data-ui-transition": j(W) }),
1405
1417
  x: e.x - e.r,
1406
1418
  y: e.y - e.r,
1407
1419
  width: e.r * 2,
1408
1420
  height: e.r * 2,
1409
1421
  stroke: "none",
1410
- fill: L.value && L.value.id === e.id ? V.value.gradient.show ? `url(#${e.id})` : e.color : "transparent",
1422
+ fill: R.value && R.value.id === e.id ? H.value.gradient.show ? `url(#${e.id})` : e.color : "transparent",
1411
1423
  rx: e.r,
1412
- style: ke({
1413
- filter: L.value && L.value.id === e.id ? `drop-shadow(0px 0px 6px ${V.value.selectedShadowColor})` : "none",
1414
- opacity: +!!L.value,
1424
+ style: Ae({
1425
+ filter: R.value && R.value.id === e.id ? `drop-shadow(0px 0px 6px ${H.value.selectedShadowColor})` : "none",
1426
+ opacity: +!!R.value,
1415
1427
  pointerEvents: "none"
1416
1428
  })
1417
1429
  }, null, 14, it))], 64))), 128)),
1418
- (D(!0), x(_, null, Me(J.value, (t, n) => (D(), x(_, { key: `cl_${t.id}` }, [e.$slots["data-label"] && rn(t) ? k(e.$slots, "data-label", De({ ref_for: !0 }, {
1430
+ (D(!0), x(_, null, Ne(J.value, (t, n) => (D(), x(_, { key: `cl_${t.id}` }, [e.$slots["data-label"] && sn(t) ? k(e.$slots, "data-label", Oe({ ref_for: !0 }, {
1419
1431
  ...t,
1420
1432
  createTSpans: j(c),
1421
1433
  fontSize: {
1422
- name: t.r / 3 * B.value.name.fontSizeRatio,
1423
- value: vn(t) * B.value.value.fontSizeRatio
1434
+ name: t.r / 3 * V.value.name.fontSizeRatio,
1435
+ value: xn(t) * V.value.value.fontSizeRatio
1424
1436
  },
1425
- color: B.value.name.color ? B.value.name.color : j(g)(t.color)
1426
- }), void 0, !0, 0) : (D(), x(_, { key: 1 }, [B.value.name.show && t.name && rn(t) ? (D(), x("text", {
1437
+ color: V.value.name.color ? V.value.name.color : j(te)(t.color)
1438
+ }), void 0, !0, 0) : (D(), x(_, { key: 1 }, [V.value.name.show && t.name && sn(t) ? (D(), x("text", {
1427
1439
  key: 0,
1428
1440
  style: { pointerEvents: "none" },
1429
- class: T({ "vue-data-ui-transition": j(U) }),
1430
- transform: `translate(${t.x}, ${t.y + dn(t.r, B.value.name.offsetY) - t.r / 10})`,
1431
- "font-size": t.r / 3 * B.value.name.fontSizeRatio,
1432
- fill: B.value.name.color === "auto" ? j(g)(t.color) : B.value.name.color,
1433
- "font-weight": B.value.name.bold ? "bold" : "normal",
1441
+ class: T({ "vue-data-ui-transition": j(W) }),
1442
+ transform: `translate(${t.x}, ${t.y + mn(t.r, V.value.name.offsetY) - t.r / 10})`,
1443
+ "font-size": t.r / 3 * V.value.name.fontSizeRatio,
1444
+ fill: V.value.name.color === "auto" ? j(te)(t.color) : V.value.name.color,
1445
+ "font-weight": V.value.name.bold ? "bold" : "normal",
1434
1446
  "text-anchor": "middle"
1435
- }, A(t.name), 11, at)) : b("", !0), B.value.value.show && rn(t) ? (D(), x("text", {
1447
+ }, A(t.name), 11, at)) : b("", !0), V.value.value.show && sn(t) ? (D(), x("text", {
1436
1448
  key: 1,
1437
- class: T({ "vue-data-ui-transition": j(U) }),
1449
+ class: T({ "vue-data-ui-transition": j(W) }),
1438
1450
  style: {
1439
1451
  pointerEvents: "none",
1440
1452
  transition: "opacity 0.2s ease-in-out"
1441
1453
  },
1442
- transform: `translate(${t.x}, ${t.y + dn(t.r, B.value.value.offsetY) + t.r / 2.5})`,
1443
- "font-size": vn(t) * B.value.value.fontSizeRatio,
1444
- fill: B.value.value.color === "auto" ? j(g)(t.color) : B.value.value.color,
1445
- "font-weight": B.value.value.bold ? "bold" : "normal",
1454
+ transform: `translate(${t.x}, ${t.y + mn(t.r, V.value.value.offsetY) + t.r / 2.5})`,
1455
+ "font-size": xn(t) * V.value.value.fontSizeRatio,
1456
+ fill: V.value.value.color === "auto" ? j(te)(t.color) : V.value.value.color,
1457
+ "font-weight": V.value.value.bold ? "bold" : "normal",
1446
1458
  "text-anchor": "middle"
1447
- }, A(_n(t)), 11, ot)) : b("", !0)], 64)), k(e.$slots, "circle", De({ ref_for: !0 }, {
1459
+ }, A(bn(t)), 11, ot)) : b("", !0)], 64)), k(e.$slots, "circle", Oe({ ref_for: !0 }, {
1448
1460
  ...t,
1449
- showLabel: rn(t),
1450
- isSelected: L.value?.id === t.id,
1451
- isDescendantOfSelected: nn(t, L.value),
1452
- uid: `${n}_${P.value}`
1461
+ showLabel: sn(t),
1462
+ isSelected: R.value?.id === t.id,
1463
+ isDescendantOfSelected: on(t, R.value),
1464
+ uid: `${n}_${F.value}`
1453
1465
  }), void 0, !0)], 64))), 128)),
1454
- Fn.value.length && H.value.parentTooltips.show ? (D(), x("g", st, [(D(!0), x(_, null, Me(Fn.value, (t) => (D(), x("g", { key: `tltp_${t.id}` }, [
1466
+ Rn.value.length && U.value.parentTooltips.show ? (D(), x("g", st, [(D(!0), x(_, null, Ne(Rn.value, (t) => (D(), x("g", { key: `tltp_${t.id}` }, [
1455
1467
  S("path", {
1456
- class: T({ "vue-data-ui-transition": j(U) }),
1457
- stroke: H.value.parentTooltips.link.useSerieColor ? t.color : H.value.parentTooltips.link.stroke,
1468
+ class: T({ "vue-data-ui-transition": j(W) }),
1469
+ stroke: U.value.parentTooltips.link.useSerieColor ? t.color : U.value.parentTooltips.link.stroke,
1458
1470
  "vector-effect": "non-scaling-stroke",
1459
- "stroke-width": H.value.parentTooltips.link.strokeWidth,
1471
+ "stroke-width": U.value.parentTooltips.link.strokeWidth,
1460
1472
  "stroke-linecap": "round",
1461
- "stroke-dasharray": H.value.parentTooltips.link.strokeDasharray,
1462
- opacity: H.value.parentTooltips.link.opacity,
1473
+ "stroke-dasharray": U.value.parentTooltips.link.strokeDasharray,
1474
+ opacity: U.value.parentTooltips.link.opacity,
1463
1475
  d: `M${t.anchorX}, ${t.anchorY} ${t.lineX}, ${t.lineY}`
1464
1476
  }, null, 10, ct),
1465
1477
  S("rect", {
1466
- class: T({ "vue-data-ui-transition": j(U) }),
1478
+ class: T({ "vue-data-ui-transition": j(W) }),
1467
1479
  x: t.x,
1468
1480
  y: t.y,
1469
1481
  width: t.width,
1470
1482
  height: t.height,
1471
- rx: Math.max(3 * t.scale, t.fontSize / 2.5) * H.value.parentTooltips.borderRadiusRatio,
1472
- ry: Math.max(3 * t.scale, t.fontSize / 2.5) * H.value.parentTooltips.borderRadiusRatio,
1473
- fill: H.value.parentTooltips.backgroundColor,
1474
- stroke: H.value.parentTooltips.useSerieColor ? t.color : H.value.parentTooltips.stroke,
1483
+ rx: Math.max(3 * t.scale, t.fontSize / 2.5) * U.value.parentTooltips.borderRadiusRatio,
1484
+ ry: Math.max(3 * t.scale, t.fontSize / 2.5) * U.value.parentTooltips.borderRadiusRatio,
1485
+ fill: U.value.parentTooltips.backgroundColor,
1486
+ stroke: U.value.parentTooltips.useSerieColor ? t.color : U.value.parentTooltips.stroke,
1475
1487
  "vector-effect": "non-scaling-stroke",
1476
- "stroke-width": H.value.parentTooltips.strokeWidth,
1477
- filter: H.value.parentTooltips.filter
1488
+ "stroke-width": U.value.parentTooltips.strokeWidth,
1489
+ filter: U.value.parentTooltips.filter
1478
1490
  }, null, 10, lt),
1479
- k(e.$slots, "parent-tooltip", De({ ref_for: !0 }, { ...t }), () => [S("rect", {
1480
- class: T({ "vue-data-ui-transition": j(U) }),
1491
+ k(e.$slots, "parent-tooltip", Oe({ ref_for: !0 }, { ...t }), () => [S("rect", {
1492
+ class: T({ "vue-data-ui-transition": j(W) }),
1481
1493
  fill: t.color,
1482
1494
  x: t.x + t.paddingX * 1.3 - t.fontSize * .35,
1483
1495
  y: t.y + t.paddingY + t.lineHeight / 2 - t.fontSize * .35,
@@ -1485,13 +1497,13 @@ var Ye = class {
1485
1497
  width: t.fontSize * .7,
1486
1498
  height: t.fontSize * .7
1487
1499
  }, null, 10, ut), S("text", {
1488
- class: T({ "vue-data-ui-transition": j(U) }),
1500
+ class: T({ "vue-data-ui-transition": j(W) }),
1489
1501
  transform: `translate(${t.x + t.paddingX + t.fontSize}, ${t.y + t.paddingY + t.fontSize})`,
1490
1502
  "font-size": t.fontSize,
1491
- fill: H.value.parentTooltips.color,
1492
- "font-family": z.value.style.fontFamily,
1503
+ fill: U.value.parentTooltips.color,
1504
+ "font-family": B.value.style.fontFamily,
1493
1505
  "text-anchor": "start"
1494
- }, [(D(!0), x(_, null, Me(t.lines, (e, n) => (D(), x("tspan", {
1506
+ }, [(D(!0), x(_, null, Ne(t.lines, (e, n) => (D(), x("tspan", {
1495
1507
  key: `${t.id}_${n}`,
1496
1508
  x: 0,
1497
1509
  dy: n === 0 ? 0 : t.lineHeight
@@ -1501,27 +1513,27 @@ var Ye = class {
1501
1513
  drawingArea: { ...j($) },
1502
1514
  width: q.value.w,
1503
1515
  height: q.value.h,
1504
- isPrintingImg: j(Rt) || j(zt) || j(Zn),
1505
- isPrintingSvg: j(Qn)
1516
+ isPrintingImg: j(Vt) || j(Ht) || j(er),
1517
+ isPrintingSvg: j(tr)
1506
1518
  } }, void 0, !0)
1507
1519
  ], 46, $e)), e.$slots.hint ? (D(), x("div", pt, [k(e.$slots, "hint", E(w({
1508
- hint: z.value.a11y.translations.keyboardNavigation,
1520
+ hint: B.value.a11y.translations.keyboardNavigation,
1509
1521
  isVisible: At.value
1510
1522
  })), void 0, !0)])) : b("", !0)], 2),
1511
- e.$slots.watermark ? (D(), x("div", mt, [k(e.$slots, "watermark", E(w({ isPrinting: j(Rt) || j(zt) || j(Zn) || j(Qn) })), void 0, !0)])) : b("", !0),
1512
- j(wn) ? (D(), x("div", ht, [k(e.$slots, "reset-action", { reset: j(Cn) }, () => [S("button", {
1523
+ e.$slots.watermark ? (D(), x("div", mt, [k(e.$slots, "watermark", E(w({ isPrinting: j(Vt) || j(Ht) || j(er) || j(tr) })), void 0, !0)])) : b("", !0),
1524
+ j(Dn) ? (D(), x("div", ht, [k(e.$slots, "reset-action", { reset: j(En) }, () => [S("button", {
1513
1525
  "data-cy-reset": "",
1514
1526
  tabindex: "0",
1515
1527
  role: "button",
1516
1528
  class: "vue-data-ui-refresh-button",
1517
- style: ke({
1518
- background: H.value.backgroundColor,
1519
- cursor: W.value ? "pointer" : "default"
1529
+ style: Ae({
1530
+ background: U.value.backgroundColor,
1531
+ cursor: jt.value ? "pointer" : "default"
1520
1532
  }),
1521
- onClick: t[0] ||= (e) => j(Cn)(!0)
1522
- }, [Ee(j(Ve), {
1533
+ onClick: t[0] ||= (e) => j(En)(!0)
1534
+ }, [De(j(N), {
1523
1535
  name: "refresh",
1524
- stroke: H.value.color
1536
+ stroke: U.value.color
1525
1537
  }, null, 8, ["stroke"])], 4)], !0)])) : b("", !0),
1526
1538
  e.$slots.source ? (D(), x("div", {
1527
1539
  key: 7,
@@ -1529,33 +1541,33 @@ var Ye = class {
1529
1541
  ref: wt,
1530
1542
  dir: "auto"
1531
1543
  }, [k(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
1532
- Ee(j(Be), {
1533
- teleportTo: H.value.tooltip.teleportTo,
1544
+ De(j(Ve), {
1545
+ teleportTo: U.value.tooltip.teleportTo,
1534
1546
  show: K.value.showTooltip && Et.value,
1535
- backgroundColor: H.value.tooltip.backgroundColor,
1536
- color: H.value.tooltip.color,
1537
- fontSize: H.value.tooltip.fontSize,
1538
- borderRadius: H.value.tooltip.borderRadius,
1539
- borderColor: H.value.tooltip.borderColor,
1540
- borderWidth: H.value.tooltip.borderWidth,
1541
- backgroundOpacity: H.value.tooltip.backgroundOpacity,
1542
- position: H.value.tooltip.position,
1543
- offsetX: H.value.tooltip.offsetX,
1544
- offsetY: H.value.tooltip.offsetY,
1545
- parent: F.value,
1547
+ backgroundColor: U.value.tooltip.backgroundColor,
1548
+ color: U.value.tooltip.color,
1549
+ fontSize: U.value.tooltip.fontSize,
1550
+ borderRadius: U.value.tooltip.borderRadius,
1551
+ borderColor: U.value.tooltip.borderColor,
1552
+ borderWidth: U.value.tooltip.borderWidth,
1553
+ backgroundOpacity: U.value.tooltip.backgroundOpacity,
1554
+ position: U.value.tooltip.position,
1555
+ offsetX: U.value.tooltip.offsetX,
1556
+ offsetY: U.value.tooltip.offsetY,
1557
+ parent: I.value,
1546
1558
  content: Dt.value,
1547
- isCustom: hn.value,
1559
+ isCustom: vn.value,
1548
1560
  isFullscreen: Q.value,
1549
- smooth: H.value.tooltip.smooth,
1550
- backdropFilter: H.value.tooltip.backdropFilter,
1551
- smoothForce: H.value.tooltip.smoothForce,
1552
- smoothSnapThreshold: H.value.tooltip.smoothSnapThrehsold,
1561
+ smooth: U.value.tooltip.smooth,
1562
+ backdropFilter: U.value.tooltip.backdropFilter,
1563
+ smoothForce: U.value.tooltip.smoothForce,
1564
+ smoothSnapThreshold: U.value.tooltip.smoothSnapThrehsold,
1553
1565
  isA11yMode: kt.value === "keyboard",
1554
1566
  a11yPosition: Ot.value
1555
1567
  }, {
1556
- "tooltip-before": M(() => [k(e.$slots, "tooltip-before", E(w({ ...mn.value })), void 0, !0)]),
1557
- tooltip: M(() => [k(e.$slots, "tooltip", E(w({ ...mn.value })), void 0, !0)]),
1558
- "tooltip-after": M(() => [k(e.$slots, "tooltip-after", E(w({ ...mn.value })), void 0, !0)]),
1568
+ "tooltip-before": M(() => [k(e.$slots, "tooltip-before", E(w({ ..._n.value })), void 0, !0)]),
1569
+ tooltip: M(() => [k(e.$slots, "tooltip", E(w({ ..._n.value })), void 0, !0)]),
1570
+ "tooltip-after": M(() => [k(e.$slots, "tooltip-after", E(w({ ..._n.value })), void 0, !0)]),
1559
1571
  _: 3
1560
1572
  }, 8, [
1561
1573
  "teleportTo",
@@ -1581,24 +1593,24 @@ var Ye = class {
1581
1593
  "isA11yMode",
1582
1594
  "a11yPosition"
1583
1595
  ]),
1584
- vt.value && z.value.userOptions.buttons.table ? (D(), y(Ne(qn.value.component), De({ key: 8 }, qn.value.props, {
1596
+ vt.value && B.value.userOptions.buttons.table ? (D(), y(Pe(Xn.value.component), Oe({ key: 8 }, Xn.value.props, {
1585
1597
  ref_key: "tableUnit",
1586
- ref: I,
1587
- onClose: Jn
1588
- }), we({
1598
+ ref: L,
1599
+ onClose: Zn
1600
+ }), Te({
1589
1601
  content: M(() => [(D(), y(j(Ue), {
1590
1602
  key: `table_${St.value}`,
1591
- colNames: Vn.value.colNames,
1592
- head: Vn.value.head,
1593
- body: Vn.value.body,
1594
- config: Vn.value.config,
1595
- title: z.value.table.useDialog ? "" : qn.value.title,
1596
- withCloseButton: !z.value.table.useDialog,
1597
- isCursorPointer: W.value,
1598
- onClose: Jn
1603
+ colNames: Wn.value.colNames,
1604
+ head: Wn.value.head,
1605
+ body: Wn.value.body,
1606
+ config: Wn.value.config,
1607
+ title: B.value.table.useDialog ? "" : Xn.value.title,
1608
+ withCloseButton: !B.value.table.useDialog,
1609
+ isCursorPointer: jt.value,
1610
+ onClose: Zn
1599
1611
  }, {
1600
1612
  th: M(({ th: e }) => [S("div", gt, A(e), 1)]),
1601
- td: M(({ td: e }) => [Te(A(e.name || e), 1)]),
1613
+ td: M(({ td: e }) => [Ee(A(e.name || e), 1)]),
1602
1614
  _: 1
1603
1615
  }, 8, [
1604
1616
  "colNames",
@@ -1610,26 +1622,26 @@ var Ye = class {
1610
1622
  "isCursorPointer"
1611
1623
  ]))]),
1612
1624
  _: 2
1613
- }, [z.value.table.useDialog ? {
1625
+ }, [B.value.table.useDialog ? {
1614
1626
  name: "title",
1615
- fn: M(() => [Te(A(qn.value.title), 1)]),
1627
+ fn: M(() => [Ee(A(Xn.value.title), 1)]),
1616
1628
  key: "0"
1617
- } : void 0, z.value.table.useDialog ? {
1629
+ } : void 0, B.value.table.useDialog ? {
1618
1630
  name: "actions",
1619
1631
  fn: M(() => [S("button", {
1620
1632
  tabindex: "0",
1621
1633
  class: "vue-ui-user-options-button",
1622
- onClick: t[1] ||= (e) => Bn(z.value.userOptions.callbacks.csv),
1623
- style: ke({ cursor: W.value ? "pointer" : "default" })
1624
- }, [Ee(j(Ve), {
1634
+ onClick: t[1] ||= (e) => Un(B.value.userOptions.callbacks.csv),
1635
+ style: Ae({ cursor: jt.value ? "pointer" : "default" })
1636
+ }, [De(j(N), {
1625
1637
  name: "fileCsv",
1626
- stroke: qn.value.props.color
1638
+ stroke: Xn.value.props.color
1627
1639
  }, null, 8, ["stroke"])], 4)]),
1628
1640
  key: "1"
1629
1641
  } : void 0]), 1040)) : b("", !0),
1630
- k(e.$slots, "skeleton", {}, () => [j(Mt) ? (D(), y(ce, { key: 0 })) : b("", !0)], !0)
1642
+ k(e.$slots, "skeleton", {}, () => [j(Nt) ? (D(), y(le, { key: 0 })) : b("", !0)], !0)
1631
1643
  ], 46, Ze));
1632
1644
  }
1633
- }, [["__scopeId", "data-v-6cf025f4"]]);
1645
+ }, [["__scopeId", "data-v-e1c088b7"]]);
1634
1646
  //#endregion
1635
1647
  export { Xe as n, _t as t };