vue-data-ui 3.22.7 → 3.22.9

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 (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,24 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Gt as t, Ht as n, K as r, Ot as i, Q as a, S as o, Tt as s, Ut as c, V as l, W as u, X as d, b as f, i as p, jt as m, q as h, r as g, t as ee, vt as te, w as ne } from "./lib-EAmk-PgA.js";
3
- import { t as re } from "./useConfig-DYM3f6EI.js";
4
- import { t as ie } from "./usePrinter-DnGzpp6Q.js";
5
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as se } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ce } from "./useNestedProp-D8XqxgOU.js";
8
- import { t as le } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ue } from "./img-B_abIg0o.js";
10
- import { n as de } from "./Title-PiTKr6sp.js";
11
- import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as pe } from "./canvas-lib-BOP_HS11.js";
13
- import { t as me } from "./useResponsive-BfnK0KxU.js";
2
+ import { $ as t, Et as n, G as r, H as i, J as a, Kt as o, Mt as s, S as c, T as l, Ut as u, Wt as d, Z as f, b as p, i as m, kt as h, q as g, r as _, t as ee, yt as te } from "./lib-JqW18y5I.js";
3
+ import { t as ne } from "./useConfig-DYM3f6EI.js";
4
+ import { t as re } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as oe } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as se } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as le } from "./img-DnP3eXuv.js";
10
+ import { n as ue } from "./Title-CcNiYzEo.js";
11
+ import { t as de } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as fe } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as pe } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as me } from "./DefGrad-DVBqDjhO.js";
14
15
  import { t as he } from "./A11yDataTable-DdRsVULz.js";
15
16
  import { t as ge } from "./useUserOptionState-DK-_1ddE.js";
16
17
  import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
17
18
  import { t as ve } from "./usePanZoom-CYU3B4T3.js";
18
19
  import { t as ye } from "./vue_ui_circle_pack-DZC_rdfn.js";
19
- import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Ce, nextTick as we, normalizeClass as Te, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as Ee, onMounted as De, openBlock as D, ref as O, renderList as Oe, renderSlot as k, resolveDynamicComponent as ke, toDisplayString as A, toRefs as Ae, unref as j, useCssVars as je, watch as Me, withCtx as M } from "vue";
20
+ import { Fragment as v, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as w, guardReactiveProps as T, mergeProps as Ce, nextTick as we, normalizeClass as Te, normalizeProps as E, normalizeStyle as D, onBeforeUnmount as Ee, onMounted as De, openBlock as O, ref as k, renderList as Oe, renderSlot as A, resolveDynamicComponent as ke, toDisplayString as Ae, toRefs as je, unref as j, useCssVars as Me, watch as Ne, withCtx as M } from "vue";
20
21
  //#region src/packCircles.js
21
- function Ne(e, t = 0) {
22
+ function Pe(e, t = 0) {
22
23
  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);
23
24
  return [
24
25
  n,
@@ -27,20 +28,20 @@ function Ne(e, t = 0) {
27
28
  a - i
28
29
  ];
29
30
  }
30
- function Pe(e, t, n) {
31
+ function Fe(e, t, n) {
31
32
  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;
32
33
  return Math.max(Math.abs(o * n), Math.abs(s * t));
33
34
  }
34
- function Fe(e, t, n) {
35
- let r = Pe, i = e.length;
35
+ function Ie(e, t, n) {
36
+ let r = Fe, i = e.length;
36
37
  if (!i) return e;
37
38
  e.sort((e, t) => t.r - e.r);
38
39
  let a, o, s;
39
40
  if (a = e[0], a.x = 0, a.y = 0, !(i > 1)) return e;
40
- if (o = e[1], a.x = -o.r, o.x = a.r, o.y = 0, !(i > 2)) return Le(e, n, t), e;
41
- Ie(o, a, s = e[2]), a = new We(a), o = new We(o), s = new We(s), a.next = s.previous = o, o.next = a.previous = s, s.next = o.previous = a;
41
+ if (o = e[1], a.x = -o.r, o.x = a.r, o.y = 0, !(i > 2)) return Re(e, n, t), e;
42
+ Le(o, a, s = e[2]), a = new Ge(a), o = new Ge(o), s = new Ge(s), a.next = s.previous = o, o.next = a.previous = s, s.next = o.previous = a;
42
43
  packLoop: for (let c = 3; c < i; ++c) {
43
- Ie(a._, o._, s = e[c]), s = new We(s);
44
+ Le(a._, o._, s = e[c]), s = new Ge(s);
44
45
  let i = o.next, l = a.previous, u = o._.r, d = a._.r;
45
46
  do
46
47
  if (u <= d) {
@@ -65,9 +66,9 @@ function Fe(e, t, n) {
65
66
  }
66
67
  a = f, o = a.next;
67
68
  }
68
- return Le(e, n, t), Be(e, n, t), e;
69
+ return Re(e, n, t), Ve(e, n, t), e;
69
70
  }
70
- function Ie(e, t, n) {
71
+ function Le(e, t, n) {
71
72
  let r = e.x - t.x, i = e.y - t.y, a = r * r + i * i;
72
73
  if (a) {
73
74
  let o = (t.r + n.r) ** 2, s = (e.r + n.r) ** 2;
@@ -84,27 +85,27 @@ function N(e, t) {
84
85
  let n = e.r + t.r - 1e-6, r = t.x - e.x, i = t.y - e.y;
85
86
  return n > 0 && n * n > r * r + i * i;
86
87
  }
87
- function Le(e, t, n) {
88
+ function Re(e, t, n) {
88
89
  if (e.length < 4) return;
89
90
  let r = e[0].r, i = e.findIndex((e) => e.r < r * .6), a = i === -1 ? Math.min(e.length, 12) : i, o = e.slice(0, Math.max(3, a));
90
91
  for (let t = 0; t < 80; t += 1) {
91
92
  let t = !1;
92
93
  for (let n = 0; n < o.length; n += 1) {
93
94
  let r = o[n], i = .06 * (1 - n / Math.max(1, o.length)), a = r.x * (1 - i), s = r.y * (1 - i);
94
- Re(r, a, s, e, n) && (r.x = a, r.y = s, t = !0);
95
+ ze(r, a, s, e, n) && (r.x = a, r.y = s, t = !0);
95
96
  }
96
- if (ze(o), !t) break;
97
+ if (Be(o), !t) break;
97
98
  }
98
99
  let s = o.reduce((e, t) => e + t.x, 0) / o.length, c = o.reduce((e, t) => e + t.y, 0) / o.length;
99
100
  for (let t of e) t.x -= s, t.y -= c;
100
101
  }
101
- function Re(e, t, n, r) {
102
+ function ze(e, t, n, r) {
102
103
  let i = e.x, a = e.y;
103
104
  e.x = t, e.y = n;
104
105
  for (let t of r) if (t !== e && N(e, t)) return e.x = i, e.y = a, !1;
105
106
  return e.x = i, e.y = a, !0;
106
107
  }
107
- function ze(e) {
108
+ function Be(e) {
108
109
  for (let t = 0; t < 6; t += 1) {
109
110
  let t = !1;
110
111
  for (let n = 0; n < e.length - 1; n += 1) for (let r = n + 1; r < e.length; r += 1) {
@@ -117,19 +118,19 @@ function ze(e) {
117
118
  if (!t) break;
118
119
  }
119
120
  }
120
- function Be(e, t, n) {
121
+ function Ve(e, t, n) {
121
122
  if (e.length < 6) return;
122
123
  let r = e[0].r, i = e.findIndex((e) => e.r <= r * .45);
123
124
  if (i !== -1) for (let r = i; r < e.length; r += 1) {
124
- let i = e[r], a = Ve(i, e.slice(0, r), t, n);
125
+ let i = e[r], a = He(i, e.slice(0, r), t, n);
125
126
  a && (i.x = a.x, i.y = a.y);
126
127
  }
127
128
  }
128
- function Ve(e, t, n, r) {
129
+ function He(e, t, n, r) {
129
130
  if (t.length < 2) return null;
130
131
  let i = null, a = Infinity;
131
132
  for (let o = 0; o < t.length - 1; o += 1) for (let s = o + 1; s < t.length; s += 1) {
132
- let c = t[o], l = t[s], u = He(c, l, e.r);
133
+ let c = t[o], l = t[s], u = Ue(c, l, e.r);
133
134
  for (let o of u) {
134
135
  if (!o) continue;
135
136
  let s = {
@@ -138,31 +139,31 @@ function Ve(e, t, n, r) {
138
139
  y: o.y
139
140
  };
140
141
  if (!P(s, t)) continue;
141
- let c = Ue(s, t, n, r);
142
+ let c = We(s, t, n, r);
142
143
  c < a && (a = c, i = o);
143
144
  }
144
145
  }
145
146
  return i;
146
147
  }
147
- function He(e, t, n) {
148
+ function Ue(e, t, n) {
148
149
  let r = e.r + n, i = t.r + n, a = t.x - e.x, o = t.y - e.y, s = a * a + o * o, c = Math.sqrt(s);
149
150
  if (!c || c > r + i || c < Math.abs(r - i)) return [];
150
151
  let l = (r * r - i * i + s) / (2 * c), u = r * r - l * l;
151
152
  if (u < 0) return [];
152
- let d = Math.sqrt(u), f = a / c, p = o / c, m = e.x + l * f, h = e.y + l * p, g = -p * d, ee = f * d;
153
+ let d = Math.sqrt(u), f = a / c, p = o / c, m = e.x + l * f, h = e.y + l * p, g = -p * d, _ = f * d;
153
154
  return [{
154
155
  x: m + g,
155
- y: h + ee
156
+ y: h + _
156
157
  }, {
157
158
  x: m - g,
158
- y: h - ee
159
+ y: h - _
159
160
  }];
160
161
  }
161
162
  function P(e, t) {
162
163
  for (let n of t) if (N(n, e)) return !1;
163
164
  return !0;
164
165
  }
165
- function Ue(e, t, n, r) {
166
+ function We(e, t, n, r) {
166
167
  let i = e.x / Math.max(1, n), a = e.y / Math.max(1, r), o = i * i + a * a, s = [];
167
168
  for (let n of t) {
168
169
  let t = e.x - n.x, r = e.y - n.y, i = Math.sqrt(t * t + r * r) - (e.r + n.r);
@@ -172,20 +173,20 @@ function Ue(e, t, n, r) {
172
173
  let c = s[0] ?? 0, l = s[1] ?? c, u = s[2] ?? l;
173
174
  return c * 8 + l * 4 + u * 2 + o * e.r * 12;
174
175
  }
175
- var We = class {
176
+ var Ge = class {
176
177
  constructor(e) {
177
178
  this._ = e, this.next = null, this.previous = null;
178
179
  }
179
- }, Ge = /* @__PURE__ */ e({ default: () => gt }), Ke = ["id"], qe = ["id"], Je = [
180
+ }, Ke = /* @__PURE__ */ e({ default: () => pt }), qe = ["id"], Je = ["id"], Ye = [
180
181
  "xmlns",
181
182
  "aria-describedby",
182
183
  "viewBox"
183
- ], Ye = [
184
+ ], Xe = [
184
185
  "x",
185
186
  "y",
186
187
  "width",
187
188
  "height"
188
- ], Xe = ["id"], Ze = ["stop-color"], Qe = ["stop-color"], $e = ["stop-color"], et = { key: 0 }, tt = [
189
+ ], Ze = { key: 0 }, Qe = [
189
190
  "x",
190
191
  "y",
191
192
  "width",
@@ -197,7 +198,7 @@ var We = class {
197
198
  "onMouseenter",
198
199
  "onMouseout",
199
200
  "onClick"
200
- ], nt = [
201
+ ], $e = [
201
202
  "x",
202
203
  "y",
203
204
  "width",
@@ -206,29 +207,29 @@ var We = class {
206
207
  "stroke-width",
207
208
  "fill",
208
209
  "rx"
209
- ], rt = [
210
+ ], et = [
210
211
  "x",
211
212
  "y",
212
213
  "width",
213
214
  "height",
214
215
  "fill",
215
216
  "rx"
216
- ], it = [
217
+ ], tt = [
217
218
  "x",
218
219
  "y",
219
220
  "font-size",
220
221
  "fill",
221
222
  "font-weight"
222
- ], at = [
223
+ ], nt = [
223
224
  "x",
224
225
  "y",
225
226
  "font-size",
226
227
  "fill",
227
228
  "font-weight"
228
- ], ot = {
229
+ ], rt = {
229
230
  key: 1,
230
231
  style: { pointerEvents: "none" }
231
- }, st = [
232
+ }, it = [
232
233
  "x1",
233
234
  "y1",
234
235
  "x2",
@@ -237,7 +238,7 @@ var We = class {
237
238
  "stroke-width",
238
239
  "stroke-dasharray",
239
240
  "opacity"
240
- ], ct = [
241
+ ], at = [
241
242
  "x",
242
243
  "y",
243
244
  "width",
@@ -247,18 +248,18 @@ var We = class {
247
248
  "stroke",
248
249
  "stroke-width",
249
250
  "filter"
250
- ], lt = [
251
+ ], ot = [
251
252
  "cx",
252
253
  "cy",
253
254
  "r",
254
255
  "fill"
255
- ], ut = [
256
+ ], st = [
256
257
  "x",
257
258
  "y",
258
259
  "font-size",
259
260
  "fill",
260
261
  "font-family"
261
- ], dt = ["x", "dy"], ft = {
262
+ ], ct = ["x", "dy"], lt = {
262
263
  key: 0,
263
264
  style: {
264
265
  position: "absolute",
@@ -268,14 +269,14 @@ var We = class {
268
269
  },
269
270
  "data-dom-to-png-ignore": "",
270
271
  "aria-hidden": "true"
271
- }, pt = {
272
+ }, ut = {
272
273
  key: 5,
273
274
  class: "vue-data-ui-watermark"
274
- }, mt = {
275
+ }, dt = {
275
276
  key: 6,
276
277
  "data-dom-to-png-ignore": "",
277
278
  class: "reset-wrapper"
278
- }, ht = ["innerHTML"], gt = /*#__PURE__*/ fe({
279
+ }, ft = ["innerHTML"], pt = /*#__PURE__*/ de({
279
280
  __name: "vue-ui-circle-pack",
280
281
  props: {
281
282
  config: {
@@ -292,12 +293,12 @@ var We = class {
292
293
  }
293
294
  },
294
295
  emits: ["selectDatapoint", "copyAlt"],
295
- setup(e, { expose: fe, emit: Pe }) {
296
- je((e) => ({ v0548cdba: ir.value }));
297
- let Ie = C(() => import("./Tooltip-B8yYfISA.js")), N = C(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Le = C(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Re = C(() => import("./DataTable-CVF7DoZn.js")), ze = C(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Be = C(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Ve = C(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), He = C(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), P = e, Ue = Pe, { vue_ui_circle_pack: We } = re(), { isThemeValid: Ge, warnInvalidTheme: gt } = le(), _t = v(() => !!P.dataset && P.dataset.length), F = O(u()), I = O(null), vt = O(null), yt = O(null), bt = O(0), xt = O(0), St = O(0), Ct = O(null), L = O(null), wt = O(null), Tt = O(!1), Et = O(""), R = O(null), Dt = O(!1), Ot = O(!1), z = O(null), kt = O({
296
+ setup(e, { expose: de, emit: Fe }) {
297
+ Me((e) => ({ b39799b6: tr.value }));
298
+ let Le = w(() => import("./Tooltip-CxOrWlFy.js")), N = w(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Re = w(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), ze = w(() => import("./DataTable-BxpTMgfK.js")), Be = w(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Ve = w(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), He = w(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Ue = w(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), P = e, We = Fe, { vue_ui_circle_pack: Ge } = ne(), { isThemeValid: Ke, warnInvalidTheme: pt } = ce(), mt = y(() => !!P.dataset && P.dataset.length), F = k(r()), I = k(null), ht = k(null), gt = k(null), _t = k(0), vt = k(0), yt = k(0), bt = k(null), L = k(null), xt = k(null), St = k(!1), Ct = k(""), R = k(null), wt = k(!1), Tt = k(!1), z = k(null), Et = k({
298
299
  x: 0,
299
300
  y: 0
300
- }), At = O("pointer"), jt = O(!1), B = O(Rt()), V = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => t({
301
+ }), Dt = k("pointer"), Ot = k(!1), B = k(Ft()), V = y(() => B.value.userOptions.useCursorPointer), kt = y(() => o({
301
302
  defaultConfig: {
302
303
  userOptions: { show: !1 },
303
304
  table: { show: !1 },
@@ -313,10 +314,10 @@ var We = class {
313
314
  } }
314
315
  },
315
316
  userConfig: B.value.skeletonConfig ?? {}
316
- })), { loading: Nt, FINAL_DATASET: Pt } = ae({
317
- ...Ae(P),
317
+ })), { loading: At, FINAL_DATASET: jt } = ie({
318
+ ...je(P),
318
319
  FINAL_CONFIG: B,
319
- prepareConfig: Rt,
320
+ prepareConfig: Ft,
320
321
  skeletonDataset: P.config?.skeletonDataset ?? [
321
322
  {
322
323
  name: "_",
@@ -349,70 +350,70 @@ var We = class {
349
350
  color: "#696969"
350
351
  }
351
352
  ],
352
- skeletonConfig: t({
353
+ skeletonConfig: o({
353
354
  defaultConfig: B.value,
354
- userConfig: Mt.value
355
+ userConfig: kt.value
355
356
  })
356
- }), { svgRef: H } = _e({ config: B.value.style.chart.title }), { userOptionsVisible: Ft, setUserOptionsVisibility: It, keepUserOptionState: Lt } = ge({ config: B.value });
357
- function Rt() {
358
- let e = ce({
357
+ }), { svgRef: H } = _e({ config: B.value.style.chart.title }), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } = ge({ config: B.value });
358
+ function Ft() {
359
+ let e = se({
359
360
  userConfig: P.config,
360
- defaultConfig: We
361
+ defaultConfig: Ge
361
362
  }), t = e.theme;
362
363
  if (!t) return e;
363
- if (!Ge.value(e)) return gt(e), e;
364
- let n = ce({
364
+ if (!Ke.value(e)) return pt(e), e;
365
+ let n = se({
365
366
  userConfig: ye[t] || P.config,
366
367
  defaultConfig: e
367
- }), r = ce({
368
+ }), r = se({
368
369
  userConfig: P.config,
369
370
  defaultConfig: n
370
371
  });
371
372
  return {
372
373
  ...r,
373
- customPalette: r.customPalette.length ? r.customPalette : c[t] || m
374
+ customPalette: r.customPalette.length ? r.customPalette : d[t] || s
374
375
  };
375
376
  }
376
- Me(() => P.config, (e) => {
377
- B.value = Rt(), Ft.value = !B.value.userOptions.showOnChartHover, sn(), bt.value += 1, xt.value += 1, U.value.showTable = B.value.table.show, U.value.showTooltip = B.value.style.chart.tooltip.show, U.value.showZoom = B.value.style.chart.zoom?.show ?? !1;
377
+ Ne(() => P.config, (e) => {
378
+ B.value = Ft(), Mt.value = !B.value.userOptions.showOnChartHover, rn(), _t.value += 1, vt.value += 1, U.value.showTable = B.value.table.show, U.value.showTooltip = B.value.style.chart.tooltip.show, U.value.showZoom = B.value.style.chart.zoom?.show ?? !1;
378
379
  }, { deep: !0 });
379
- let { isPrinting: zt, isImaging: Bt, generatePdf: Vt, generateImage: Ht } = ie({
380
+ let { isPrinting: It, isImaging: Lt, generatePdf: Rt, generateImage: zt } = re({
380
381
  elementId: `vue-ui-circle-pack_${F.value}`,
381
382
  fileName: B.value.style.chart.title.text || "vue-ui-circle-pack",
382
383
  options: B.value.userOptions.print
383
- }), Ut = v(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = O({
384
+ }), Bt = y(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = k({
384
385
  showTable: B.value.table.show,
385
386
  showTooltip: B.value.style.chart.tooltip.show,
386
387
  showZoom: B.value.style.chart.zoom?.show ?? !1
387
388
  });
388
- Me(B, () => {
389
+ Ne(B, () => {
389
390
  U.value = {
390
391
  showTable: B.value.table.show,
391
392
  showTooltip: B.value.style.chart.tooltip.show,
392
393
  showZoom: B.value.style.chart.zoom?.show ?? !1
393
394
  };
394
395
  }, { immediate: !0 });
395
- let W = O({
396
+ let W = k({
396
397
  h: 10,
397
398
  w: 10
398
- }), Wt = O([
399
+ }), Vt = k([
399
400
  0,
400
401
  0,
401
402
  100,
402
403
  100
403
- ]), Gt = v(() => B.value.debug), Kt = v(() => {
404
+ ]), Ht = y(() => B.value.debug), Ut = y(() => {
404
405
  let e = B.value.style?.chart || {};
405
406
  return e.dimensions && typeof e.dimensions.width == "number" ? e.dimensions.width : typeof e.width == "number" ? e.width : 300;
406
- }), qt = v(() => {
407
+ }), Wt = y(() => {
407
408
  let e = B.value.style?.chart || {};
408
409
  return e.dimensions && typeof e.dimensions.height == "number" ? e.dimensions.height : typeof e.height == "number" ? e.height : 300;
409
- }), G = O([]), K = O([]), q = O(null), J = O(null);
410
- function Jt(e, t) {
410
+ }), G = k([]), K = k([]), q = k(null), J = k(null);
411
+ function Gt(e, t) {
411
412
  W.value = {
412
413
  w: e,
413
414
  h: t
414
415
  };
415
- let n = Y.value.map(Yt);
416
+ let n = Y.value.map(Kt);
416
417
  if (!n.length) {
417
418
  let n = {
418
419
  x: 0,
@@ -420,84 +421,84 @@ var We = class {
420
421
  width: e,
421
422
  height: t
422
423
  };
423
- G.value = [], K.value = [], Wt.value = [
424
+ G.value = [], K.value = [], Vt.value = [
424
425
  n.x,
425
426
  n.y,
426
427
  n.width,
427
428
  n.height
428
- ], Cn(n);
429
+ ], bn(n);
429
430
  return;
430
431
  }
431
- let r = Fe(n, t, e), [i, a, o, s] = Ne(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2;
432
- G.value = tn(r.map((e) => ({
432
+ let r = Ie(n, t, e), [i, a, o, s] = Pe(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2;
433
+ G.value = Qt(r.map((e) => ({
433
434
  ...e,
434
435
  x: (e.x - i) * c + l,
435
436
  y: (e.y - a) * c + u,
436
437
  r: e.r * c
437
438
  }))), K.value = G.value;
438
- let d = Nn({
439
+ let d = An({
439
440
  x: 0,
440
441
  y: 0,
441
442
  width: e,
442
443
  height: t
443
444
  });
444
- Wt.value = [
445
+ Vt.value = [
445
446
  d.x,
446
447
  d.y,
447
448
  d.width,
448
449
  d.height
449
- ], Cn(d);
450
+ ], bn(d);
450
451
  }
451
- function Yt(e) {
452
+ function Kt(e) {
452
453
  return {
453
454
  ...e,
454
- children: Array.isArray(e.children) ? e.children.map(Yt) : []
455
+ children: Array.isArray(e.children) ? e.children.map(Kt) : []
455
456
  };
456
457
  }
457
- function Xt(e) {
458
+ function qt(e) {
458
459
  let t = Number(e?.value);
459
- return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + Xt(t), 0) : 0;
460
+ return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + qt(t), 0) : 0;
460
461
  }
461
- function Zt(e, t) {
462
- let n = c[B.value.theme || "default"] || m, r = cn.value.length ? cn.value : n.length ? n : m;
463
- return f(e.color) || r[t % r.length] || m[t % m.length];
462
+ function Jt(e, t) {
463
+ let n = d[B.value.theme || "default"] || s, r = an.value.length ? an.value : n.length ? n : s;
464
+ return p(e.color) || r[t % r.length] || s[t % s.length];
464
465
  }
465
- function Qt(e) {
466
- return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + Qt(t), 0);
466
+ function Yt(e) {
467
+ return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + Yt(t), 0);
467
468
  }
468
- function $t(e, t = null, n = 0, r = []) {
469
- return Array.isArray(e) ? e.map((e, i) => {
470
- let a = Xt(e);
471
- if (!Number.isFinite(a) || a <= 0) return null;
472
- let o = u(), s = [...r, i], c = s.reduce((e, t, n) => e + t + n, 0), l = e.color || t?.color ? f(e.color || t?.color) : Zt(e, c), d = $t(e.children, {
473
- id: o,
469
+ function Xt(e, t = null, n = 0, i = []) {
470
+ return Array.isArray(e) ? e.map((e, a) => {
471
+ let o = qt(e);
472
+ if (!Number.isFinite(o) || o <= 0) return null;
473
+ let s = r(), c = [...i, a], l = c.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? p(e.color || t?.color) : Jt(e, l), d = Xt(e.children, {
474
+ id: s,
474
475
  name: e.name,
475
- color: l,
476
- rootId: t?.rootId ?? o
477
- }, n + 1, s);
476
+ color: u,
477
+ rootId: t?.rootId ?? s
478
+ }, n + 1, c);
478
479
  return {
479
480
  ...e,
480
- value: a,
481
- r: a,
482
- id: o,
483
- color: l,
481
+ value: o,
482
+ r: o,
483
+ id: s,
484
+ color: u,
484
485
  depth: n,
485
486
  parentId: t?.id ?? null,
486
487
  parentName: t?.name ?? null,
487
- rootId: t?.rootId ?? o,
488
+ rootId: t?.rootId ?? s,
488
489
  hasChildren: d.length > 0,
489
490
  childCount: d.length,
490
- leafCount: d.length ? Qt({ children: d }) : 1,
491
- hierarchyPath: s,
491
+ leafCount: d.length ? Yt({ children: d }) : 1,
492
+ hierarchyPath: c,
492
493
  children: d
493
494
  };
494
495
  }).filter(Boolean) : [];
495
496
  }
496
- function en(e) {
497
+ function Zt(e) {
497
498
  if (!Array.isArray(e.children) || !e.children.length) return [];
498
499
  let t = e.r * 2;
499
500
  if (!t) return [];
500
- let n = Fe(e.children.map(Yt), t, t), [r, i, a, o] = Ne(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;
501
+ let n = Ie(e.children.map(Kt), t, t), [r, i, a, o] = Pe(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;
501
502
  return n.map((e) => ({
502
503
  ...e,
503
504
  x: (e.x - r) * s + u,
@@ -505,95 +506,95 @@ var We = class {
505
506
  r: e.r * s
506
507
  }));
507
508
  }
508
- function tn(e) {
509
+ function Qt(e) {
509
510
  let t = [];
510
511
  return e.forEach((e) => {
511
- let n = en(e);
512
+ let n = Zt(e);
512
513
  t.push({
513
514
  ...e,
514
515
  children: n
515
- }), t.push(...tn(n));
516
+ }), t.push(...Qt(n));
516
517
  }), t;
517
518
  }
518
- function nn(e, t) {
519
+ function $t(e, t) {
519
520
  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);
520
521
  }
521
- function rn(e) {
522
+ function en(e) {
522
523
  return e.hasChildren ? B.value.style.chart.circles.labels.parents.show : B.value.style.chart.circles.labels.children.show;
523
524
  }
524
- function an() {
525
+ function tn() {
525
526
  if (!B.value.responsive || !I.value) return;
526
- let e = pe(() => {
527
- let { width: e, height: t } = me({
527
+ let e = fe(() => {
528
+ let { width: e, height: t } = pe({
528
529
  chart: I.value,
529
- title: B.value.style.chart.title.text ? vt.value : null,
530
+ title: B.value.style.chart.title.text ? ht.value : null,
530
531
  legend: null,
531
- source: Ct.value,
532
- noTitle: yt.value
532
+ source: bt.value,
533
+ noTitle: gt.value
533
534
  });
534
535
  requestAnimationFrame(() => {
535
- !e || !t || (H.value && (H.value.setAttribute("width", e), H.value.setAttribute("height", t)), Jt(e, t));
536
+ !e || !t || (H.value && (H.value.setAttribute("width", e), H.value.setAttribute("height", t)), Gt(e, t));
536
537
  });
537
538
  });
538
539
  q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect()), q.value = new ResizeObserver(e), J.value = I.value.parentNode || I.value, J.value && q.value.observe(J.value), e();
539
540
  }
540
- function on() {
541
+ function nn() {
541
542
  q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect(), q.value = null, J.value = null);
542
543
  }
543
- async function sn() {
544
- i(P.dataset) && a({
544
+ async function rn() {
545
+ h(P.dataset) && t({
545
546
  componentName: "VueUiCirclePack",
546
547
  type: "dataset",
547
- debug: Gt.value
548
+ debug: Ht.value
548
549
  });
549
- let e = Kt.value, t = qt.value;
550
- Jt(e, t), B.value.responsive ? an() : on();
550
+ let e = Ut.value, n = Wt.value;
551
+ Gt(e, n), B.value.responsive ? tn() : nn();
551
552
  }
552
- De(sn), Ee(() => {
553
- on();
554
- }), Me(() => Pt.value, async (e) => {
555
- await sn();
553
+ De(rn), Ee(() => {
554
+ nn();
555
+ }), Ne(() => jt.value, async (e) => {
556
+ await rn();
556
557
  }, { deep: !0 });
557
- let cn = v(() => o(B.value.customPalette)), Y = v(() => $t(Pt.value)), ln = v(() => G.value.length ? Math.max(...G.value.map((e) => e.r)) : 0);
558
- function un(e, t) {
559
- return ln.value ? t / ln.value * e : 0;
558
+ let an = y(() => c(B.value.customPalette)), Y = y(() => Xt(jt.value)), on = y(() => G.value.length ? Math.max(...G.value.map((e) => e.r)) : 0);
559
+ function sn(e, t) {
560
+ return on.value ? t / on.value * e : 0;
560
561
  }
561
- function dn(e, t) {
562
+ function cn(e, t) {
562
563
  B.value.events.datapointLeave && B.value.events.datapointLeave({
563
564
  datapoint: e,
564
565
  seriesIndex: t
565
- }), !(At.value === "keyboard" && R.value?.id === e?.id) && (Tt.value = !1, R.value = null, z.value = null, At.value = "pointer");
566
+ }), !(Dt.value === "keyboard" && R.value?.id === e?.id) && (St.value = !1, R.value = null, z.value = null, Dt.value = "pointer");
566
567
  }
567
- function fn(e, t) {
568
- Ue("selectDatapoint", e), B.value.events.datapointClick && B.value.events.datapointClick({
568
+ function ln(e, t) {
569
+ We("selectDatapoint", e), B.value.events.datapointClick && B.value.events.datapointClick({
569
570
  datapoint: e,
570
571
  seriesIndex: t
571
572
  });
572
573
  }
573
- let pn = O(null), mn = O(!1);
574
- function hn(e, t, n = "pointer") {
575
- R.value = e, z.value = t, At.value = n, B.value.events.datapointEnter && B.value.events.datapointEnter({
574
+ let un = k(null), dn = k(!1);
575
+ function fn(e, t, n = "pointer") {
576
+ R.value = e, z.value = t, Dt.value = n, B.value.events.datapointEnter && B.value.events.datapointEnter({
576
577
  datapoint: e,
577
578
  seriesIndex: t
578
- }), pn.value = {
579
+ }), un.value = {
579
580
  datapoint: e,
580
581
  seriesIndex: t,
581
582
  config: B.value,
582
583
  series: K.value
583
- }, Tt.value = !0;
584
+ }, St.value = !0;
584
585
  let r = B.value.style.chart.tooltip.customFormat;
585
- if (mn.value = !1, te(r)) try {
586
+ if (dn.value = !1, te(r)) try {
586
587
  let n = r({
587
588
  seriesIndex: t,
588
589
  datapoint: e,
589
590
  series: K.value,
590
591
  config: B.value
591
592
  });
592
- typeof n == "string" && (Et.value = n, mn.value = !0);
593
+ typeof n == "string" && (Ct.value = n, dn.value = !0);
593
594
  } catch {
594
- console.warn("Custom format cannot be applied."), mn.value = !1;
595
+ console.warn("Custom format cannot be applied."), dn.value = !1;
595
596
  }
596
- if (!mn.value) {
597
+ if (!dn.value) {
597
598
  let t = "";
598
599
  t += `
599
600
  <div style="display:flex;align-items:center;gap:4px;">
@@ -605,46 +606,46 @@ var We = class {
605
606
  fill="${B.value.style.chart.circles.gradient.show ? `url(#${e.id})` : e.color}"
606
607
  />
607
608
  </svg>
608
- <span>${e.name}: <b>${gn(e)}</b></span>
609
+ <span>${e.name}: <b>${pn(e)}</b></span>
609
610
  </div>
610
- `, Et.value = t;
611
+ `, Ct.value = t;
611
612
  }
612
613
  }
613
- function gn(e) {
614
- return p(B.value.style.chart.circles.labels.value.formatter, e.value, h({
614
+ function pn(e) {
615
+ return m(B.value.style.chart.circles.labels.value.formatter, e.value, a({
615
616
  p: B.value.style.chart.circles.labels.value.prefix,
616
617
  v: e.value,
617
618
  s: B.value.style.chart.circles.labels.value.suffix,
618
619
  r: B.value.style.chart.circles.labels.value.rounding
619
620
  }));
620
621
  }
621
- function _n(e) {
622
+ function mn(e) {
622
623
  if (!e) return 0;
623
- let t = gn(e), n = e.r / (t.length || 1) * (t.length === 1 ? 1 : 2);
624
+ let t = pn(e), n = e.r / (t.length || 1) * (t.length === 1 ? 1 : 2);
624
625
  return Math.min(e.r / 2.5, n);
625
626
  }
626
- let X = O(!1);
627
- function vn(e) {
628
- X.value = e, St.value += 1;
627
+ let X = k(!1);
628
+ function hn(e) {
629
+ X.value = e, yt.value += 1;
629
630
  }
630
- let Z = O(!1);
631
- function yn() {
631
+ let Z = k(!1);
632
+ function gn() {
632
633
  Z.value = !Z.value;
633
634
  }
634
- let bn = v(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: xn, isZoom: Sn, setInitialViewBox: Cn } = ve(H, {
635
+ let _n = y(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: vn, isZoom: yn, setInitialViewBox: bn } = ve(H, {
635
636
  x: 0,
636
637
  y: 0,
637
638
  width: Math.max(10, W.value.w),
638
639
  height: Math.max(10, W.value.h)
639
- }, B.value.style.chart.zoom?.speed ?? 1, bn);
640
- function wn(e, t, n = 0) {
640
+ }, B.value.style.chart.zoom?.speed ?? 1, _n);
641
+ function xn(e, t, n = 0) {
641
642
  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);
642
643
  }
643
- function Tn(e, t, n = 0) {
644
+ function Sn(e, t, n = 0) {
644
645
  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;
645
646
  return a * a + o * o <= t.r * t.r;
646
647
  }
647
- function En(e, t) {
648
+ function Cn(e, t) {
648
649
  let n = Math.max(4, Math.min(t.width, t.height) * .01);
649
650
  return {
650
651
  ...e,
@@ -652,11 +653,11 @@ var We = class {
652
653
  y: Math.min(Math.max(e.y, t.y + n), t.y + t.height - e.height - n)
653
654
  };
654
655
  }
655
- function Dn(e) {
656
+ function wn(e) {
656
657
  let t = [e.name];
657
- return B.value.style.chart.circles.labels.value.show && t.push(gn(e)), t.filter(Boolean);
658
+ return B.value.style.chart.circles.labels.value.show && t.push(pn(e)), t.filter(Boolean);
658
659
  }
659
- function On(e, t, n, r, i) {
660
+ function Tn(e, t, n, r, i) {
660
661
  let a = e.x, o = e.y;
661
662
  return {
662
663
  right: {
@@ -709,12 +710,12 @@ var We = class {
709
710
  }
710
711
  }[r];
711
712
  }
712
- function kn(e, t) {
713
+ function En(e, t) {
713
714
  let n = [], r = t.get(e.parentId);
714
715
  for (; r;) n.push(r), r = t.get(r.parentId);
715
716
  return n;
716
717
  }
717
- function An(e, t, n, r, i, a) {
718
+ function Dn(e, t, n, r, i, a) {
718
719
  let o = e.x, s = e.y, c = t || e, l = a * .6, u = {
719
720
  right: {
720
721
  x: c.x + c.r + a,
@@ -755,7 +756,7 @@ var We = class {
755
756
  anchorY: s + Math.sin(p) * e.r
756
757
  };
757
758
  }
758
- function jn(e, t = {}) {
759
+ function On(e, t = {}) {
759
760
  let { clamp: n = !0 } = t;
760
761
  if (!G.value.length || !W.value.w || !W.value.h || !B.value.style.chart.parentTooltips.show) return [];
761
762
  let r = Math.max(8, B.value.style.chart.parentTooltips.fontSizeRatio * 10), i = r * 1.25, a = r * .75, o = r * .55, s = Math.max(8, Math.min(e.width, e.height) * .025), c = Math.max(2, Math.min(e.width, e.height) * .006), l = [
@@ -769,8 +770,8 @@ var We = class {
769
770
  "bottomLeft"
770
771
  ], u = [], d = new Map(G.value.map((e) => [e.id, e]));
771
772
  return G.value.filter((e) => e.hasChildren && e.name).sort((e, t) => t.r - e.r).forEach((t) => {
772
- let f = kn(t, d).at(-1), p = Dn(t), m = p.reduce((e, t) => Math.max(e, String(t).length), 0), h = Math.max(r * 5, m * r * .62 + a * 2), g = p.length * i + o * 2, ee = f ? l.map((e) => An(t, f, h, g, e, s)) : [], te = l.map((e) => On(t, h, g, e, s)), ne = [...ee, ...te].map((t) => {
773
- let r = n ? En({
773
+ let f = En(t, d).at(-1), p = wn(t), m = p.reduce((e, t) => Math.max(e, String(t).length), 0), h = Math.max(r * 5, m * r * .62 + a * 2), g = p.length * i + o * 2, _ = f ? l.map((e) => Dn(t, f, h, g, e, s)) : [], ee = l.map((e) => Tn(t, h, g, e, s)), te = [..._, ...ee].map((t) => {
774
+ let r = n ? Cn({
774
775
  x: t.x,
775
776
  y: t.y,
776
777
  width: h,
@@ -788,9 +789,9 @@ var We = class {
788
789
  lineX: r.x + r.width / 2,
789
790
  lineY: r.y + r.height / 2
790
791
  };
791
- }).find((e) => u.some((t) => wn(e, t, c)) ? !1 : !G.value.some((t) => Tn(e, t, c)));
792
- ne && u.push({
793
- ...ne,
792
+ }).find((e) => u.some((t) => xn(e, t, c)) ? !1 : !G.value.some((t) => Sn(e, t, c)));
793
+ te && u.push({
794
+ ...te,
794
795
  datapoint: t,
795
796
  id: `parent_tooltip_${t.id}`,
796
797
  color: t.color,
@@ -802,9 +803,9 @@ var We = class {
802
803
  });
803
804
  }), u;
804
805
  }
805
- let Mn = v(() => jn(Q.value, { clamp: !0 }));
806
- function Nn(e) {
807
- let t = jn(e, { clamp: !1 });
806
+ let kn = y(() => On(Q.value, { clamp: !0 }));
807
+ function An(e) {
808
+ let t = On(e, { clamp: !1 });
808
809
  if (!t.length) return e;
809
810
  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);
810
811
  return {
@@ -814,7 +815,7 @@ var We = class {
814
815
  height: a - r + o * 2
815
816
  };
816
817
  }
817
- function Pn(e) {
818
+ function jn(e) {
818
819
  let t = [];
819
820
  function n(e, r = 0, i = "") {
820
821
  e.forEach((e) => {
@@ -829,8 +830,8 @@ var We = class {
829
830
  }
830
831
  return n(e), t;
831
832
  }
832
- let Fn = v(() => {
833
- let e = Pn(Y.value);
833
+ let Mn = y(() => {
834
+ let e = jn(Y.value);
834
835
  return {
835
836
  head: K.value.map((e) => ({
836
837
  name: e.name,
@@ -840,18 +841,18 @@ var We = class {
840
841
  body: e.map((e) => e.value),
841
842
  hierarchy: e
842
843
  };
843
- }), In = v(() => Pn(Y.value).map((e) => ({
844
+ }), Nn = y(() => jn(Y.value).map((e) => ({
844
845
  ...e,
845
846
  name: `${"- ".repeat(e.depth)}${e.name}`
846
847
  })));
847
- function Ln(e = null) {
848
+ function Pn(e = null) {
848
849
  we(() => {
849
- let t = In.value.map((e) => [
850
+ let t = Nn.value.map((e) => [
850
851
  [e.name],
851
852
  [e.parentName || ""],
852
853
  [e.depth],
853
854
  [e.value]
854
- ]), n = ne([
855
+ ]), n = l([
855
856
  [B.value.style.chart.title.text],
856
857
  [B.value.style.chart.title.subtitle.text],
857
858
  [
@@ -861,20 +862,20 @@ var We = class {
861
862
  [B.value.table.columnNames.value]
862
863
  ]
863
864
  ].concat(t));
864
- e ? e(n) : d({
865
+ e ? e(n) : f({
865
866
  csvContent: n,
866
867
  title: B.value.style.chart.title.text || "vue-ui-circle-pack"
867
868
  });
868
869
  });
869
870
  }
870
- let $ = v(() => {
871
+ let $ = y(() => {
871
872
  let e = [
872
873
  B.value.table.columnNames.datapoint,
873
874
  B.value.table.columnNames.parent,
874
875
  B.value.table.columnNames.depth,
875
876
  B.value.table.columnNames.value
876
- ], t = Fn.value.hierarchy.map((e) => {
877
- let t = h({
877
+ ], t = Mn.value.hierarchy.map((e) => {
878
+ let t = a({
878
879
  p: B.value.style.chart.circles.labels.value.prefix,
879
880
  v: e.value,
880
881
  s: B.value.style.chart.circles.labels.value.suffix,
@@ -914,21 +915,21 @@ var We = class {
914
915
  config: n
915
916
  };
916
917
  });
917
- function Rn() {
918
+ function Fn() {
918
919
  U.value.showTable = !U.value.showTable;
919
920
  }
920
- function zn() {
921
+ function In() {
921
922
  U.value.showTooltip = !U.value.showTooltip;
922
923
  }
923
- function Bn() {
924
+ function Ln() {
924
925
  U.value.showZoom = !U.value.showZoom;
925
926
  }
926
- function Vn() {
927
+ function Rn() {
927
928
  return Y.value;
928
929
  }
929
- async function Hn({ scale: e = 2 } = {}) {
930
+ async function zn({ scale: e = 2 } = {}) {
930
931
  if (!I.value) return;
931
- let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ue({
932
+ let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await le({
932
933
  domElement: I.value,
933
934
  base64: !0,
934
935
  img: !0,
@@ -943,10 +944,10 @@ var We = class {
943
944
  aspectRatio: r
944
945
  };
945
946
  }
946
- let Un = v(() => {
947
+ let Bn = y(() => {
947
948
  let e = B.value.table.useDialog && !B.value.table.show, t = U.value.showTable;
948
949
  return {
949
- component: e ? He : Le,
950
+ component: e ? Ue : Re,
950
951
  title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
951
952
  props: e ? {
952
953
  backgroundColor: B.value.table.th.backgroundColor,
@@ -974,46 +975,46 @@ var We = class {
974
975
  }
975
976
  };
976
977
  });
977
- Me(() => U.value.showTable, (e) => {
978
+ Ne(() => U.value.showTable, (e) => {
978
979
  B.value.table.show || (e && B.value.table.useDialog && L.value ? L.value.open() : L.value && "close" in L.value && L.value.close());
979
980
  });
980
- function Wn() {
981
- U.value.showTable = !1, wt.value && wt.value.setTableIconState(!1);
981
+ function Vn() {
982
+ U.value.showTable = !1, xt.value && xt.value.setTableIconState(!1);
982
983
  }
983
- let Gn = v(() => B.value.style.chart.backgroundColor), { exportSvg: Kn, getSvg: qn } = se({
984
+ let Hn = y(() => B.value.style.chart.backgroundColor), { exportSvg: Un, getSvg: Wn } = oe({
984
985
  svg: H,
985
- title: v(() => B.value.style.chart.title),
986
- backgroundColor: Gn
986
+ title: y(() => B.value.style.chart.title),
987
+ backgroundColor: Hn
987
988
  });
988
- async function Jn({ isCb: e }) {
989
- Ot.value = !0, await we();
989
+ async function Gn({ isCb: e }) {
990
+ Tt.value = !0, await we();
990
991
  try {
991
992
  if (e) {
992
- let { blob: e, url: t, text: n, dataUrl: r } = await qn();
993
+ let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
993
994
  await Promise.resolve(B.value.userOptions.callbacks.svg({
994
995
  blob: e,
995
996
  url: t,
996
997
  text: n,
997
998
  dataUrl: r
998
999
  }));
999
- } else await Promise.resolve(Kn());
1000
+ } else await Promise.resolve(Un());
1000
1001
  } finally {
1001
- Ot.value = !1;
1002
+ Tt.value = !1;
1002
1003
  }
1003
1004
  }
1004
- function Yn(e) {
1005
+ function Kn(e) {
1005
1006
  if (e?.stage === "start") {
1006
- Dt.value = !0;
1007
+ wt.value = !0;
1007
1008
  return;
1008
1009
  }
1009
1010
  if (e?.stage === "end") {
1010
- Dt.value = !1;
1011
+ wt.value = !1;
1011
1012
  return;
1012
1013
  }
1013
- Ht();
1014
+ zt();
1014
1015
  }
1015
- async function Xn() {
1016
- if (Ue("copyAlt", {
1016
+ async function qn() {
1017
+ if (We("copyAlt", {
1017
1018
  config: B.value,
1018
1019
  dataset: Y.value,
1019
1020
  flattenedDataset: K.value
@@ -1027,85 +1028,85 @@ var We = class {
1027
1028
  flattenedDataset: K.value
1028
1029
  }));
1029
1030
  }
1030
- function Zn(e) {
1031
+ function Jn(e) {
1031
1032
  if (!Number.isFinite(e) || !H.value) return;
1032
1033
  let t = G.value[e];
1033
1034
  if (!t) return;
1034
- let r = n(t.x, t.y, H.value);
1035
- r && (kt.value = r);
1035
+ let n = u(t.x, t.y, H.value);
1036
+ n && (Et.value = n);
1036
1037
  }
1037
- function Qn() {
1038
+ function Yn() {
1038
1039
  if (z.value !== null) {
1039
1040
  let e = G.value[z.value];
1040
- e && dn(e, z.value);
1041
+ e && cn(e, z.value);
1041
1042
  }
1042
- z.value = null, At.value = "pointer", Tt.value = !1, R.value = null;
1043
+ z.value = null, Dt.value = "pointer", St.value = !1, R.value = null;
1043
1044
  }
1044
- function $n() {
1045
- z.value = null, jt.value = !0;
1045
+ function Xn() {
1046
+ z.value = null, Ot.value = !0;
1046
1047
  }
1047
- function er() {
1048
- Qn(), jt.value = !1;
1048
+ function Zn() {
1049
+ Yn(), Ot.value = !1;
1049
1050
  }
1050
- function tr(e, t) {
1051
+ function Qn(e, t) {
1051
1052
  let n = G.value.length;
1052
1053
  return n ? e === null || e < 0 || e >= n ? t === "next" ? 0 : n - 1 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
1053
1054
  }
1054
- function nr(e) {
1055
+ function $n(e) {
1055
1056
  if (!H.value || Z.value || document.activeElement !== H.value || !G.value.length) return;
1056
1057
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1057
1058
  if (!t && !n && !r && !i) return;
1058
1059
  if (e.preventDefault(), e.stopPropagation(), i) {
1059
- Qn();
1060
+ Yn();
1060
1061
  return;
1061
1062
  }
1062
1063
  if (r) {
1063
1064
  if (z.value === null) return;
1064
1065
  let e = G.value[z.value];
1065
1066
  if (!e) return;
1066
- fn(e, z.value);
1067
+ ln(e, z.value);
1067
1068
  return;
1068
1069
  }
1069
1070
  let a = z.value;
1070
- a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? a = tr(a, "next") : t && (a = tr(a, "previous"));
1071
+ a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? a = Qn(a, "next") : t && (a = Qn(a, "previous"));
1071
1072
  let o = G.value[a];
1072
- o && (z.value = a, Zn(a), hn(o, a, "keyboard"));
1073
+ o && (z.value = a, Jn(a), fn(o, a, "keyboard"));
1073
1074
  }
1074
- let rr = v(() => ({
1075
+ let er = y(() => ({
1075
1076
  headers: $.value?.colNames ?? [],
1076
1077
  rows: $.value?.body?.map((e) => [e[0]?.name ?? "", e[1]]) ?? []
1077
- })), ir = v(() => B.value.style.chart.color);
1078
- return fe({
1079
- getData: Vn,
1080
- getImage: Hn,
1081
- generateCsv: Ln,
1082
- generatePdf: Vt,
1083
- generateImage: Ht,
1084
- generateSvg: Jn,
1085
- toggleTable: Rn,
1086
- toggleAnnotator: yn,
1087
- toggleFullscreen: vn,
1088
- copyAlt: Xn,
1089
- toggleZoom: Bn,
1090
- resetZoom: xn
1091
- }), (e, t) => (D(), x("div", {
1078
+ })), tr = y(() => B.value.style.chart.color);
1079
+ return de({
1080
+ getData: Rn,
1081
+ getImage: zn,
1082
+ generateCsv: Pn,
1083
+ generatePdf: Rt,
1084
+ generateImage: zt,
1085
+ generateSvg: Gn,
1086
+ toggleTable: Fn,
1087
+ toggleAnnotator: gn,
1088
+ toggleFullscreen: hn,
1089
+ copyAlt: qn,
1090
+ toggleZoom: Ln,
1091
+ resetZoom: vn
1092
+ }), (e, t) => (O(), S("div", {
1092
1093
  id: `vue-ui-circle-pack_${F.value}`,
1093
- class: Te(`vue-data-ui-component vue-ui-circle-pack ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j(Nt) ? "loading" : ""}`),
1094
+ class: Te(`vue-data-ui-component vue-ui-circle-pack ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j(At) ? "loading" : ""}`),
1094
1095
  ref_key: "circlePackChart",
1095
1096
  ref: I,
1096
- style: E(`font-family:${B.value.style.fontFamily};text-align:center;background:${B.value.style.chart.backgroundColor};`),
1097
- onMouseenter: t[2] ||= () => j(It)(!0),
1098
- onMouseleave: t[3] ||= () => j(It)(!1)
1097
+ style: D(`font-family:${B.value.style.fontFamily};text-align:center;background:${B.value.style.chart.backgroundColor};`),
1098
+ onMouseenter: t[2] ||= () => j(Nt)(!0),
1099
+ onMouseleave: t[3] ||= () => j(Nt)(!1)
1099
1100
  }, [
1100
- S("div", {
1101
+ C("div", {
1101
1102
  id: `chart-instructions-${F.value}`,
1102
1103
  class: "sr-only"
1103
- }, [S("p", null, A(B.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
1104
- rr.value?.rows?.length ? (D(), y(he, {
1104
+ }, [C("p", null, Ae(B.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1105
+ er.value?.rows?.length ? (O(), b(he, {
1105
1106
  key: 0,
1106
1107
  uid: F.value,
1107
- head: rr.value.headers,
1108
- body: rr.value.rows,
1108
+ head: er.value.headers,
1109
+ body: er.value.rows,
1109
1110
  notice: B.value.a11y.translations.tableAvailable,
1110
1111
  caption: B.value.a11y.translations.tableCaption
1111
1112
  }, null, 8, [
@@ -1114,23 +1115,23 @@ var We = class {
1114
1115
  "body",
1115
1116
  "notice",
1116
1117
  "caption"
1117
- ])) : b("", !0),
1118
- B.value.userOptions.buttons.annotator ? (D(), y(j(Be), {
1118
+ ])) : x("", !0),
1119
+ B.value.userOptions.buttons.annotator ? (O(), b(j(Ve), {
1119
1120
  key: 1,
1120
1121
  svgRef: j(H),
1121
1122
  backgroundColor: B.value.style.chart.backgroundColor,
1122
1123
  color: B.value.style.chart.color,
1123
1124
  active: Z.value,
1124
- scale: ln.value / 100,
1125
+ scale: on.value / 100,
1125
1126
  isCursorPointer: V.value,
1126
- onClose: yn
1127
+ onClose: gn
1127
1128
  }, {
1128
- "annotator-action-close": M(() => [k(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1129
- "annotator-action-color": M(({ color: t }) => [k(e.$slots, "annotator-action-color", T(w({ color: t })), void 0, !0)]),
1130
- "annotator-action-draw": M(({ mode: t }) => [k(e.$slots, "annotator-action-draw", T(w({ mode: t })), void 0, !0)]),
1131
- "annotator-action-undo": M(({ disabled: t }) => [k(e.$slots, "annotator-action-undo", T(w({ disabled: t })), void 0, !0)]),
1132
- "annotator-action-redo": M(({ disabled: t }) => [k(e.$slots, "annotator-action-redo", T(w({ disabled: t })), void 0, !0)]),
1133
- "annotator-action-delete": M(({ disabled: t }) => [k(e.$slots, "annotator-action-delete", T(w({ disabled: t })), void 0, !0)]),
1129
+ "annotator-action-close": M(() => [A(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1130
+ "annotator-action-color": M(({ color: t }) => [A(e.$slots, "annotator-action-color", E(T({ color: t })), void 0, !0)]),
1131
+ "annotator-action-draw": M(({ mode: t }) => [A(e.$slots, "annotator-action-draw", E(T({ mode: t })), void 0, !0)]),
1132
+ "annotator-action-undo": M(({ disabled: t }) => [A(e.$slots, "annotator-action-undo", E(T({ disabled: t })), void 0, !0)]),
1133
+ "annotator-action-redo": M(({ disabled: t }) => [A(e.$slots, "annotator-action-redo", E(T({ disabled: t })), void 0, !0)]),
1134
+ "annotator-action-delete": M(({ disabled: t }) => [A(e.$slots, "annotator-action-delete", E(T({ disabled: t })), void 0, !0)]),
1134
1135
  _: 3
1135
1136
  }, 8, [
1136
1137
  "svgRef",
@@ -1139,22 +1140,22 @@ var We = class {
1139
1140
  "active",
1140
1141
  "scale",
1141
1142
  "isCursorPointer"
1142
- ])) : b("", !0),
1143
- k(e.$slots, "userConfig", {}, void 0, !0),
1144
- Ut.value ? (D(), x("div", {
1143
+ ])) : x("", !0),
1144
+ A(e.$slots, "userConfig", {}, void 0, !0),
1145
+ Bt.value ? (O(), S("div", {
1145
1146
  key: 2,
1146
1147
  ref_key: "noTitle",
1147
- ref: yt,
1148
+ ref: gt,
1148
1149
  class: "vue-data-ui-no-title-space",
1149
1150
  style: "height:36px; width: 100%;background:transparent"
1150
- }, null, 512)) : b("", !0),
1151
- B.value.style.chart.title.text ? (D(), x("div", {
1151
+ }, null, 512)) : x("", !0),
1152
+ B.value.style.chart.title.text ? (O(), S("div", {
1152
1153
  key: 3,
1153
1154
  ref_key: "chartTitle",
1154
- ref: vt,
1155
+ ref: ht,
1155
1156
  style: "width:100%;background:transparent;padding-bottom:12px"
1156
- }, [(D(), y(de, {
1157
- key: `title_${bt.value}`,
1157
+ }, [(O(), b(ue, {
1158
+ key: `title_${_t.value}`,
1158
1159
  config: {
1159
1160
  title: {
1160
1161
  cy: "donut-div-title",
@@ -1165,15 +1166,15 @@ var We = class {
1165
1166
  ...B.value.style.chart.title.subtitle
1166
1167
  }
1167
1168
  }
1168
- }, null, 8, ["config"]))], 512)) : b("", !0),
1169
- B.value.userOptions.show && _t.value && (j(Lt) || j(Ft)) ? (D(), y(j(ze), {
1169
+ }, null, 8, ["config"]))], 512)) : x("", !0),
1170
+ B.value.userOptions.show && mt.value && (j(Pt) || j(Mt)) ? (O(), b(j(Be), {
1170
1171
  ref_key: "userOptionsRef",
1171
- ref: wt,
1172
- key: `user_option_${St.value}`,
1172
+ ref: xt,
1173
+ key: `user_option_${yt.value}`,
1173
1174
  backgroundColor: B.value.style.chart.backgroundColor,
1174
1175
  color: B.value.style.chart.color,
1175
- isPrinting: j(zt),
1176
- isImaging: j(Bt),
1176
+ isPrinting: j(It),
1177
+ isImaging: j(Lt),
1177
1178
  uid: F.value,
1178
1179
  hasTooltip: B.value.userOptions.buttons.tooltip,
1179
1180
  isTooltip: U.value.showTooltip,
@@ -1197,21 +1198,21 @@ var We = class {
1197
1198
  isCursorPointer: V.value,
1198
1199
  hasZoom: B.value.userOptions.buttons.zoom,
1199
1200
  isZoom: U.value.showZoom,
1200
- onToggleFullscreen: vn,
1201
- onGeneratePdf: j(Vt),
1202
- onGenerateCsv: Ln,
1203
- onGenerateImage: Yn,
1204
- onGenerateSvg: Jn,
1205
- onToggleTable: Rn,
1206
- onToggleTooltip: zn,
1207
- onToggleAnnotator: yn,
1208
- onToggleZoom: Bn,
1209
- onCopyAlt: Xn,
1210
- style: E({ visibility: j(Lt) ? j(Ft) ? "visible" : "hidden" : "visible" })
1201
+ onToggleFullscreen: hn,
1202
+ onGeneratePdf: j(Rt),
1203
+ onGenerateCsv: Pn,
1204
+ onGenerateImage: Kn,
1205
+ onGenerateSvg: Gn,
1206
+ onToggleTable: Fn,
1207
+ onToggleTooltip: In,
1208
+ onToggleAnnotator: gn,
1209
+ onToggleZoom: Ln,
1210
+ onCopyAlt: qn,
1211
+ style: D({ visibility: j(Pt) ? j(Mt) ? "visible" : "hidden" : "visible" })
1211
1212
  }, be({ _: 2 }, [
1212
1213
  e.$slots.menuIcon ? {
1213
1214
  name: "menuIcon",
1214
- fn: M(({ isOpen: t, color: n }) => [k(e.$slots, "menuIcon", T(w({
1215
+ fn: M(({ isOpen: t, color: n }) => [A(e.$slots, "menuIcon", E(T({
1215
1216
  isOpen: t,
1216
1217
  color: n
1217
1218
  })), void 0, !0)]),
@@ -1219,37 +1220,37 @@ var We = class {
1219
1220
  } : void 0,
1220
1221
  e.$slots.optionTooltip ? {
1221
1222
  name: "optionTooltip",
1222
- fn: M(() => [k(e.$slots, "optionTooltip", {}, void 0, !0)]),
1223
+ fn: M(() => [A(e.$slots, "optionTooltip", {}, void 0, !0)]),
1223
1224
  key: "1"
1224
1225
  } : void 0,
1225
1226
  e.$slots.optionPdf ? {
1226
1227
  name: "optionPdf",
1227
- fn: M(() => [k(e.$slots, "optionPdf", {}, void 0, !0)]),
1228
+ fn: M(() => [A(e.$slots, "optionPdf", {}, void 0, !0)]),
1228
1229
  key: "2"
1229
1230
  } : void 0,
1230
1231
  e.$slots.optionCsv ? {
1231
1232
  name: "optionCsv",
1232
- fn: M(() => [k(e.$slots, "optionCsv", {}, void 0, !0)]),
1233
+ fn: M(() => [A(e.$slots, "optionCsv", {}, void 0, !0)]),
1233
1234
  key: "3"
1234
1235
  } : void 0,
1235
1236
  e.$slots.optionImg ? {
1236
1237
  name: "optionImg",
1237
- fn: M(() => [k(e.$slots, "optionImg", {}, void 0, !0)]),
1238
+ fn: M(() => [A(e.$slots, "optionImg", {}, void 0, !0)]),
1238
1239
  key: "4"
1239
1240
  } : void 0,
1240
1241
  e.$slots.optionSvg ? {
1241
1242
  name: "optionSvg",
1242
- fn: M(() => [k(e.$slots, "optionSvg", {}, void 0, !0)]),
1243
+ fn: M(() => [A(e.$slots, "optionSvg", {}, void 0, !0)]),
1243
1244
  key: "5"
1244
1245
  } : void 0,
1245
1246
  e.$slots.optionTable ? {
1246
1247
  name: "optionTable",
1247
- fn: M(() => [k(e.$slots, "optionTable", {}, void 0, !0)]),
1248
+ fn: M(() => [A(e.$slots, "optionTable", {}, void 0, !0)]),
1248
1249
  key: "6"
1249
1250
  } : void 0,
1250
1251
  e.$slots.optionFullscreen ? {
1251
1252
  name: "optionFullscreen",
1252
- fn: M(({ toggleFullscreen: t, isFullscreen: n }) => [k(e.$slots, "optionFullscreen", T(w({
1253
+ fn: M(({ toggleFullscreen: t, isFullscreen: n }) => [A(e.$slots, "optionFullscreen", E(T({
1253
1254
  toggleFullscreen: t,
1254
1255
  isFullscreen: n
1255
1256
  })), void 0, !0)]),
@@ -1257,7 +1258,7 @@ var We = class {
1257
1258
  } : void 0,
1258
1259
  e.$slots.optionAnnotator ? {
1259
1260
  name: "optionAnnotator",
1260
- fn: M(({ toggleAnnotator: t, isAnnotator: n }) => [k(e.$slots, "optionAnnotator", T(w({
1261
+ fn: M(({ toggleAnnotator: t, isAnnotator: n }) => [A(e.$slots, "optionAnnotator", E(T({
1261
1262
  toggleAnnotator: t,
1262
1263
  isAnnotator: n
1263
1264
  })), void 0, !0)]),
@@ -1265,7 +1266,7 @@ var We = class {
1265
1266
  } : void 0,
1266
1267
  e.$slots.optionZoom ? {
1267
1268
  name: "optionZoom",
1268
- fn: M(({ toggleZoom: t, isZoomLocked: n }) => [k(e.$slots, "optionZoom", T(w({
1269
+ fn: M(({ toggleZoom: t, isZoomLocked: n }) => [A(e.$slots, "optionZoom", E(T({
1269
1270
  toggleZoom: t,
1270
1271
  isZoomLocked: n
1271
1272
  })), void 0, !0)]),
@@ -1273,24 +1274,24 @@ var We = class {
1273
1274
  } : void 0,
1274
1275
  e.$slots.optionAltCopy ? {
1275
1276
  name: "optionAltCopy",
1276
- fn: M(({ altCopy: t }) => [k(e.$slots, "optionAltCopy", T(w({ altCopy: t })), void 0, !0)]),
1277
+ fn: M(({ altCopy: t }) => [A(e.$slots, "optionAltCopy", E(T({ altCopy: t })), void 0, !0)]),
1277
1278
  key: "10"
1278
1279
  } : void 0,
1279
1280
  e.$slots["custom-menu-before"] ? {
1280
1281
  name: "custom-menu-before",
1281
- fn: M(() => [k(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1282
+ fn: M(() => [A(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1282
1283
  key: "11"
1283
1284
  } : void 0,
1284
1285
  e.$slots["custom-menu-after"] ? {
1285
1286
  name: "custom-menu-after",
1286
- fn: M(() => [k(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1287
+ fn: M(() => [A(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1287
1288
  key: "12"
1288
1289
  } : void 0
1289
- ]), 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.style".split("."))) : b("", !0),
1290
- S("div", { class: Te({
1290
+ ]), 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.style".split("."))) : x("", !0),
1291
+ C("div", { class: Te({
1291
1292
  "vue-ui-circle-pack-svg-container": !0,
1292
1293
  "not-responsive": !B.value.responsive
1293
- }) }, [(D(), x("svg", {
1294
+ }) }, [(O(), S("svg", {
1294
1295
  ref_key: "svgRef",
1295
1296
  ref: H,
1296
1297
  xmlns: j(ee),
@@ -1302,70 +1303,75 @@ var We = class {
1302
1303
  "vue-data-ui-fulscreen--off": !X.value,
1303
1304
  "not-responsive": !B.value.responsive
1304
1305
  }),
1305
- style: E(`display:block;${B.value.responsive ? "width:100%;height:auto" : "height:100%;"};overflow:${U.value.showZoom ? "hidden" : "visible"};background:transparent;color:${B.value.style.chart.color};background:${B.value.style.chart.backgroundColor};`),
1306
+ style: D(`display:block;${B.value.responsive ? "width:100%;height:auto" : "height:100%;"};overflow:${U.value.showZoom ? "hidden" : "visible"};background:transparent;color:${B.value.style.chart.color};background:${B.value.style.chart.backgroundColor};`),
1306
1307
  tabindex: "0",
1307
- onFocus: $n,
1308
- onBlur: er,
1309
- onKeydown: nr
1308
+ onFocus: Xn,
1309
+ onBlur: Zn,
1310
+ onKeydown: $n
1310
1311
  }, [
1311
- Se(j(Ve)),
1312
- e.$slots["chart-background"] ? (D(), x("foreignObject", {
1312
+ Se(j(He)),
1313
+ e.$slots["chart-background"] ? (O(), S("foreignObject", {
1313
1314
  key: 0,
1314
1315
  x: j(Q).x,
1315
1316
  y: j(Q).y,
1316
1317
  width: W.value.w,
1317
1318
  height: W.value.h,
1318
1319
  style: { pointerEvents: "none" }
1319
- }, [k(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : b("", !0),
1320
- (D(!0), x(_, null, Oe(G.value, (t, n) => (D(), x(_, { key: t.id }, [
1321
- S("defs", null, [S("radialGradient", {
1320
+ }, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : x("", !0),
1321
+ (O(!0), S(v, null, Oe(G.value, (t, r) => (O(), S(v, { key: t.id }, [
1322
+ C("defs", null, [Se(me, {
1323
+ t: "radial",
1322
1324
  id: t.id,
1323
- fy: "30%"
1324
- }, [
1325
- S("stop", {
1326
- offset: "10%",
1327
- "stop-color": j(s)(t.color, B.value.style.chart.circles.gradient.intensity / 100)
1328
- }, null, 8, Ze),
1329
- S("stop", {
1330
- offset: "90%",
1331
- "stop-color": j(r)(t.color, .1)
1332
- }, null, 8, Qe),
1333
- S("stop", {
1334
- offset: "100%",
1335
- "stop-color": t.color
1336
- }, null, 8, $e)
1337
- ], 8, Xe)]),
1338
- e.$slots.pattern ? (D(), x("g", et, [S("defs", null, [k(e.$slots, "pattern", Ce({ ref_for: !0 }, {
1325
+ fy: "30%",
1326
+ stops: [
1327
+ [
1328
+ "10%",
1329
+ j(n)(t.color, B.value.style.chart.circles.gradient.intensity / 100),
1330
+ 1
1331
+ ],
1332
+ [
1333
+ "90%",
1334
+ j(g)(t.color, .1),
1335
+ 1
1336
+ ],
1337
+ [
1338
+ "100%",
1339
+ t.color,
1340
+ 1
1341
+ ]
1342
+ ]
1343
+ }, null, 8, ["id", "stops"])]),
1344
+ e.$slots.pattern ? (O(), S("g", Ze, [C("defs", null, [A(e.$slots, "pattern", Ce({ ref_for: !0 }, {
1339
1345
  ...t,
1340
1346
  patternId: `pattern_${F.value}_${t.id}`
1341
- }), void 0, !0)])])) : b("", !0),
1342
- S("rect", {
1347
+ }), void 0, !0)])])) : x("", !0),
1348
+ C("rect", {
1343
1349
  x: t.x - t.r,
1344
1350
  y: t.y - t.r,
1345
1351
  width: t.r * 2,
1346
1352
  height: t.r * 2,
1347
1353
  stroke: B.value.style.chart.circles.stroke,
1348
- "stroke-width": B.value.style.chart.circles.strokeWidth * (ln.value || 1) / 100,
1354
+ "stroke-width": B.value.style.chart.circles.strokeWidth * (on.value || 1) / 100,
1349
1355
  fill: B.value.style.chart.circles.gradient.show ? `url(#${t.id})` : t.color,
1350
1356
  rx: t.r,
1351
- onMouseenter: (e) => hn(t, n, "pointer"),
1352
- onMouseout: (e) => dn(t, n),
1353
- onClick: (e) => fn(t, n)
1354
- }, null, 40, tt),
1355
- e.$slots.pattern ? (D(), x("rect", {
1357
+ onMouseenter: (e) => fn(t, r, "pointer"),
1358
+ onMouseout: (e) => cn(t, r),
1359
+ onClick: (e) => ln(t, r)
1360
+ }, null, 40, Qe),
1361
+ e.$slots.pattern ? (O(), S("rect", {
1356
1362
  key: 1,
1357
1363
  x: t.x - t.r,
1358
1364
  y: t.y - t.r,
1359
1365
  width: t.r * 2,
1360
1366
  height: t.r * 2,
1361
1367
  stroke: B.value.style.chart.circles.stroke,
1362
- "stroke-width": B.value.style.chart.circles.strokeWidth * (ln.value || 1) / 100,
1368
+ "stroke-width": B.value.style.chart.circles.strokeWidth * (on.value || 1) / 100,
1363
1369
  fill: `url(#pattern_${F.value}_${t.id})`,
1364
1370
  rx: t.r,
1365
1371
  style: { pointerEvents: "none" }
1366
- }, null, 8, nt)) : b("", !0)
1372
+ }, null, 8, $e)) : x("", !0)
1367
1373
  ], 64))), 128)),
1368
- (D(!0), x(_, null, Oe(G.value, (e, t) => (D(), x(_, { key: e.id }, [e.hasChildren ? b("", !0) : (D(), x("rect", {
1374
+ (O(!0), S(v, null, Oe(G.value, (e, t) => (O(), S(v, { key: e.id }, [e.hasChildren ? x("", !0) : (O(), S("rect", {
1369
1375
  key: 0,
1370
1376
  x: e.x - e.r,
1371
1377
  y: e.y - e.r,
@@ -1374,57 +1380,57 @@ var We = class {
1374
1380
  stroke: "none",
1375
1381
  fill: R.value && R.value.id === e.id ? B.value.style.chart.circles.gradient.show ? `url(#${e.id})` : e.color : "transparent",
1376
1382
  rx: e.r,
1377
- style: E({
1383
+ style: D({
1378
1384
  filter: R.value && R.value.id === e.id ? `drop-shadow(0px 0px 6px ${B.value.style.chart.circles.selectedShadowColor})` : "none",
1379
1385
  opacity: +!!R.value,
1380
1386
  pointerEvents: "none",
1381
1387
  transition: "opacity 0.2s ease-in-out"
1382
1388
  })
1383
- }, null, 12, rt))], 64))), 128)),
1384
- (D(!0), x(_, null, Oe(G.value, (t, n) => (D(), x(_, { key: t.id }, [e.$slots["data-label"] && rn(t) ? k(e.$slots, "data-label", Ce({
1389
+ }, null, 12, et))], 64))), 128)),
1390
+ (O(!0), S(v, null, Oe(G.value, (t, n) => (O(), S(v, { key: t.id }, [e.$slots["data-label"] && en(t) ? A(e.$slots, "data-label", Ce({
1385
1391
  key: 0,
1386
1392
  ref_for: !0
1387
1393
  }, {
1388
1394
  ...t,
1389
- createTSpans: j(l),
1395
+ createTSpans: j(i),
1390
1396
  fontSize: {
1391
1397
  name: t.r / 3 * B.value.style.chart.circles.labels.name.fontSizeRatio,
1392
- value: _n(t) * B.value.style.chart.circles.labels.value.fontSizeRatio
1398
+ value: mn(t) * B.value.style.chart.circles.labels.value.fontSizeRatio
1393
1399
  },
1394
- color: B.value.style.chart.circles.labels.name.color ? B.value.style.chart.circles.labels.name.color : j(g)(t.color)
1395
- }), void 0, !0) : (D(), x(_, { key: 1 }, [B.value.style.chart.circles.labels.name.show && t.name && rn(t) ? (D(), x("text", {
1400
+ color: B.value.style.chart.circles.labels.name.color ? B.value.style.chart.circles.labels.name.color : j(_)(t.color)
1401
+ }), void 0, !0) : (O(), S(v, { key: 1 }, [B.value.style.chart.circles.labels.name.show && t.name && en(t) ? (O(), S("text", {
1396
1402
  key: 0,
1397
1403
  style: {
1398
1404
  pointerEvents: "none",
1399
1405
  transition: "opacity 0.2s ease-in-out"
1400
1406
  },
1401
1407
  x: t.x,
1402
- y: t.y + un(t.r, B.value.style.chart.circles.labels.name.offsetY) - t.r / 10,
1408
+ y: t.y + sn(t.r, B.value.style.chart.circles.labels.name.offsetY) - t.r / 10,
1403
1409
  "font-size": t.r / 3 * B.value.style.chart.circles.labels.name.fontSizeRatio,
1404
- fill: B.value.style.chart.circles.labels.name.color === "auto" ? j(g)(t.color) : B.value.style.chart.circles.labels.name.color,
1410
+ fill: B.value.style.chart.circles.labels.name.color === "auto" ? j(_)(t.color) : B.value.style.chart.circles.labels.name.color,
1405
1411
  "font-weight": B.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
1406
1412
  "text-anchor": "middle"
1407
- }, A(t.name), 9, it)) : b("", !0), B.value.style.chart.circles.labels.value.show && rn(t) ? (D(), x("text", {
1413
+ }, Ae(t.name), 9, tt)) : x("", !0), B.value.style.chart.circles.labels.value.show && en(t) ? (O(), S("text", {
1408
1414
  key: 1,
1409
1415
  style: {
1410
1416
  pointerEvents: "none",
1411
1417
  transition: "opacity 0.2s ease-in-out"
1412
1418
  },
1413
1419
  x: t.x,
1414
- y: t.y + un(t.r, B.value.style.chart.circles.labels.value.offsetY) + t.r / 2.5,
1415
- "font-size": _n(t) * B.value.style.chart.circles.labels.value.fontSizeRatio,
1416
- fill: B.value.style.chart.circles.labels.value.color === "auto" ? j(g)(t.color) : B.value.style.chart.circles.labels.value.color,
1420
+ y: t.y + sn(t.r, B.value.style.chart.circles.labels.value.offsetY) + t.r / 2.5,
1421
+ "font-size": mn(t) * B.value.style.chart.circles.labels.value.fontSizeRatio,
1422
+ fill: B.value.style.chart.circles.labels.value.color === "auto" ? j(_)(t.color) : B.value.style.chart.circles.labels.value.color,
1417
1423
  "font-weight": B.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
1418
1424
  "text-anchor": "middle"
1419
- }, A(gn(t)), 9, at)) : b("", !0)], 64)), k(e.$slots, "circle", Ce({ ref_for: !0 }, {
1425
+ }, Ae(pn(t)), 9, nt)) : x("", !0)], 64)), A(e.$slots, "circle", Ce({ ref_for: !0 }, {
1420
1426
  ...t,
1421
- showLabel: rn(t),
1427
+ showLabel: en(t),
1422
1428
  isSelected: R.value?.id === t.id,
1423
- isDescendantOfSelected: nn(t, R.value),
1429
+ isDescendantOfSelected: $t(t, R.value),
1424
1430
  uid: `${n}_${F.value}`
1425
1431
  }), void 0, !0)], 64))), 128)),
1426
- Mn.value.length && B.value.style.chart.parentTooltips.show ? (D(), x("g", ot, [(D(!0), x(_, null, Oe(Mn.value, (t) => (D(), x("g", { key: t.id }, [
1427
- S("line", {
1432
+ kn.value.length && B.value.style.chart.parentTooltips.show ? (O(), S("g", rt, [(O(!0), S(v, null, Oe(kn.value, (t) => (O(), S("g", { key: t.id }, [
1433
+ C("line", {
1428
1434
  x1: t.anchorX,
1429
1435
  y1: t.anchorY,
1430
1436
  x2: t.lineX,
@@ -1434,8 +1440,8 @@ var We = class {
1434
1440
  "stroke-linecap": "round",
1435
1441
  "stroke-dasharray": B.value.style.chart.parentTooltips.link.strokeDasharray,
1436
1442
  opacity: B.value.style.chart.parentTooltips.link.opacity
1437
- }, null, 8, st),
1438
- S("rect", {
1443
+ }, null, 8, it),
1444
+ C("rect", {
1439
1445
  x: t.x,
1440
1446
  y: t.y,
1441
1447
  width: t.width,
@@ -1445,60 +1451,60 @@ var We = class {
1445
1451
  stroke: B.value.style.chart.parentTooltips.useSerieColor ? t.color : B.value.style.chart.parentTooltips.stroke,
1446
1452
  "stroke-width": B.value.style.chart.parentTooltips.strokeWidth,
1447
1453
  filter: B.value.style.chart.parentTooltips.filter
1448
- }, null, 8, ct),
1449
- k(e.$slots, "parent-tooltip", Ce({ ref_for: !0 }, { ...t }), () => [S("circle", {
1454
+ }, null, 8, at),
1455
+ A(e.$slots, "parent-tooltip", Ce({ ref_for: !0 }, { ...t }), () => [C("circle", {
1450
1456
  cx: t.x + t.paddingX * 1.3,
1451
1457
  cy: t.y + t.paddingY + t.lineHeight / 2,
1452
1458
  r: t.fontSize * .35,
1453
1459
  fill: t.color
1454
- }, null, 8, lt), S("text", {
1460
+ }, null, 8, ot), C("text", {
1455
1461
  x: t.x + t.paddingX + t.fontSize,
1456
1462
  y: t.y + t.paddingY + t.fontSize,
1457
1463
  "font-size": t.fontSize,
1458
1464
  fill: B.value.style.chart.parentTooltips.color,
1459
1465
  "font-family": B.value.style.fontFamily,
1460
1466
  "text-anchor": "start"
1461
- }, [(D(!0), x(_, null, Oe(t.lines, (e, n) => (D(), x("tspan", {
1467
+ }, [(O(!0), S(v, null, Oe(t.lines, (e, n) => (O(), S("tspan", {
1462
1468
  key: `${t.id}_${n}`,
1463
1469
  x: t.x + t.paddingX + t.fontSize,
1464
1470
  dy: n === 0 ? 0 : t.lineHeight
1465
- }, A(e), 9, dt))), 128))], 8, ut)], !0)
1466
- ]))), 128))])) : b("", !0),
1467
- k(e.$slots, "svg", { svg: {
1471
+ }, Ae(e), 9, ct))), 128))], 8, st)], !0)
1472
+ ]))), 128))])) : x("", !0),
1473
+ A(e.$slots, "svg", { svg: {
1468
1474
  drawingArea: { ...j(Q) },
1469
1475
  width: W.value.w,
1470
1476
  height: W.value.h,
1471
- isPrintingImg: j(zt) || j(Bt) || Dt.value,
1472
- isPrintingSvg: Ot.value
1477
+ isPrintingImg: j(It) || j(Lt) || wt.value,
1478
+ isPrintingSvg: Tt.value
1473
1479
  } }, void 0, !0)
1474
- ], 46, Je)), e.$slots.hint ? (D(), x("div", ft, [k(e.$slots, "hint", T(w({
1480
+ ], 46, Ye)), e.$slots.hint ? (O(), S("div", lt, [A(e.$slots, "hint", E(T({
1475
1481
  hint: B.value.a11y.translations.keyboardNavigation,
1476
- isVisible: jt.value
1477
- })), void 0, !0)])) : b("", !0)], 2),
1478
- e.$slots.watermark ? (D(), x("div", pt, [k(e.$slots, "watermark", T(w({ isPrinting: j(zt) || j(Bt) || Dt.value || Ot.value })), void 0, !0)])) : b("", !0),
1479
- j(Sn) ? (D(), x("div", mt, [k(e.$slots, "reset-action", { reset: j(xn) }, () => [S("button", {
1482
+ isVisible: Ot.value
1483
+ })), void 0, !0)])) : x("", !0)], 2),
1484
+ e.$slots.watermark ? (O(), S("div", ut, [A(e.$slots, "watermark", E(T({ isPrinting: j(It) || j(Lt) || wt.value || Tt.value })), void 0, !0)])) : x("", !0),
1485
+ j(yn) ? (O(), S("div", dt, [A(e.$slots, "reset-action", { reset: j(vn) }, () => [C("button", {
1480
1486
  "data-cy-reset": "",
1481
1487
  tabindex: "0",
1482
1488
  role: "button",
1483
1489
  class: "vue-data-ui-refresh-button",
1484
- style: E({
1490
+ style: D({
1485
1491
  background: B.value.style.chart.backgroundColor,
1486
1492
  cursor: V.value ? "pointer" : "default"
1487
1493
  }),
1488
- onClick: t[0] ||= (e) => j(xn)(!0)
1494
+ onClick: t[0] ||= (e) => j(vn)(!0)
1489
1495
  }, [Se(j(N), {
1490
1496
  name: "refresh",
1491
1497
  stroke: B.value.style.chart.color
1492
- }, null, 8, ["stroke"])], 4)], !0)])) : b("", !0),
1493
- e.$slots.source ? (D(), x("div", {
1498
+ }, null, 8, ["stroke"])], 4)], !0)])) : x("", !0),
1499
+ e.$slots.source ? (O(), S("div", {
1494
1500
  key: 7,
1495
1501
  ref_key: "source",
1496
- ref: Ct,
1502
+ ref: bt,
1497
1503
  dir: "auto"
1498
- }, [k(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
1499
- Se(j(Ie), {
1504
+ }, [A(e.$slots, "source", {}, void 0, !0)], 512)) : x("", !0),
1505
+ Se(j(Le), {
1500
1506
  teleportTo: B.value.style.chart.tooltip.teleportTo,
1501
- show: U.value.showTooltip && Tt.value,
1507
+ show: U.value.showTooltip && St.value,
1502
1508
  backgroundColor: B.value.style.chart.tooltip.backgroundColor,
1503
1509
  color: B.value.style.chart.tooltip.color,
1504
1510
  fontSize: B.value.style.chart.tooltip.fontSize,
@@ -1510,19 +1516,19 @@ var We = class {
1510
1516
  offsetX: B.value.style.chart.tooltip.offsetX,
1511
1517
  offsetY: B.value.style.chart.tooltip.offsetY,
1512
1518
  parent: I.value,
1513
- content: Et.value,
1514
- isCustom: mn.value,
1519
+ content: Ct.value,
1520
+ isCustom: dn.value,
1515
1521
  isFullscreen: X.value,
1516
1522
  smooth: B.value.style.chart.tooltip.smooth,
1517
1523
  backdropFilter: B.value.style.chart.tooltip.backdropFilter,
1518
1524
  smoothForce: B.value.style.chart.tooltip.smoothForce,
1519
1525
  smoothSnapThreshold: B.value.style.chart.tooltip.smoothSnapThrehsold,
1520
- isA11yMode: At.value === "keyboard",
1521
- a11yPosition: kt.value
1526
+ isA11yMode: Dt.value === "keyboard",
1527
+ a11yPosition: Et.value
1522
1528
  }, {
1523
- "tooltip-before": M(() => [k(e.$slots, "tooltip-before", T(w({ ...pn.value })), void 0, !0)]),
1524
- tooltip: M(() => [k(e.$slots, "tooltip", T(w({ ...pn.value })), void 0, !0)]),
1525
- "tooltip-after": M(() => [k(e.$slots, "tooltip-after", T(w({ ...pn.value })), void 0, !0)]),
1529
+ "tooltip-before": M(() => [A(e.$slots, "tooltip-before", E(T({ ...un.value })), void 0, !0)]),
1530
+ tooltip: M(() => [A(e.$slots, "tooltip", E(T({ ...un.value })), void 0, !0)]),
1531
+ "tooltip-after": M(() => [A(e.$slots, "tooltip-after", E(T({ ...un.value })), void 0, !0)]),
1526
1532
  _: 3
1527
1533
  }, 8, [
1528
1534
  "teleportTo",
@@ -1548,30 +1554,30 @@ var We = class {
1548
1554
  "isA11yMode",
1549
1555
  "a11yPosition"
1550
1556
  ]),
1551
- _t.value && B.value.userOptions.buttons.table ? (D(), y(ke(Un.value.component), Ce({ key: 8 }, Un.value.props, {
1557
+ mt.value && B.value.userOptions.buttons.table ? (O(), b(ke(Bn.value.component), Ce({ key: 8 }, Bn.value.props, {
1552
1558
  ref_key: "tableUnit",
1553
1559
  ref: L,
1554
- onClose: Wn
1560
+ onClose: Vn
1555
1561
  }), be({
1556
- content: M(() => [(D(), y(j(Re), {
1557
- key: `table_${xt.value}`,
1562
+ content: M(() => [(O(), b(j(ze), {
1563
+ key: `table_${vt.value}`,
1558
1564
  colNames: $.value.colNames,
1559
1565
  head: $.value.head,
1560
1566
  body: $.value.body,
1561
1567
  config: $.value.config,
1562
- title: B.value.table.useDialog ? "" : Un.value.title,
1568
+ title: B.value.table.useDialog ? "" : Bn.value.title,
1563
1569
  withCloseButton: !B.value.table.useDialog,
1564
1570
  isCursorPointer: V.value,
1565
- onClose: Wn
1571
+ onClose: Vn
1566
1572
  }, {
1567
- th: M(({ th: e }) => [S("div", {
1573
+ th: M(({ th: e }) => [C("div", {
1568
1574
  innerHTML: e,
1569
1575
  style: {
1570
1576
  display: "flex",
1571
1577
  "align-items": "center"
1572
1578
  }
1573
- }, null, 8, ht)]),
1574
- td: M(({ td: e }) => [xe(A(e.name || e), 1)]),
1579
+ }, null, 8, ft)]),
1580
+ td: M(({ td: e }) => [xe(Ae(e.name || e), 1)]),
1575
1581
  _: 1
1576
1582
  }, 8, [
1577
1583
  "colNames",
@@ -1585,24 +1591,24 @@ var We = class {
1585
1591
  _: 2
1586
1592
  }, [B.value.table.useDialog ? {
1587
1593
  name: "title",
1588
- fn: M(() => [xe(A(Un.value.title), 1)]),
1594
+ fn: M(() => [xe(Ae(Bn.value.title), 1)]),
1589
1595
  key: "0"
1590
1596
  } : void 0, B.value.table.useDialog ? {
1591
1597
  name: "actions",
1592
- fn: M(() => [S("button", {
1598
+ fn: M(() => [C("button", {
1593
1599
  tabindex: "0",
1594
1600
  class: "vue-ui-user-options-button",
1595
- onClick: t[1] ||= (e) => Ln(B.value.userOptions.callbacks.csv),
1596
- style: E({ cursor: V.value ? "pointer" : "default" })
1601
+ onClick: t[1] ||= (e) => Pn(B.value.userOptions.callbacks.csv),
1602
+ style: D({ cursor: V.value ? "pointer" : "default" })
1597
1603
  }, [Se(j(N), {
1598
1604
  name: "fileCsv",
1599
- stroke: Un.value.props.color
1605
+ stroke: Bn.value.props.color
1600
1606
  }, null, 8, ["stroke"])], 4)]),
1601
1607
  key: "1"
1602
- } : void 0]), 1040)) : b("", !0),
1603
- k(e.$slots, "skeleton", {}, () => [j(Nt) ? (D(), y(oe, { key: 0 })) : b("", !0)], !0)
1604
- ], 46, Ke));
1608
+ } : void 0]), 1040)) : x("", !0),
1609
+ A(e.$slots, "skeleton", {}, () => [j(At) ? (O(), b(ae, { key: 0 })) : x("", !0)], !0)
1610
+ ], 46, qe));
1605
1611
  }
1606
- }, [["__scopeId", "data-v-a67cc1b9"]]);
1612
+ }, [["__scopeId", "data-v-a9dfcd55"]]);
1607
1613
  //#endregion
1608
- export { Ge as n, gt as t };
1614
+ export { Ke as n, pt as t };