vue-data-ui 3.22.2 → 3.22.4

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 (203) hide show
  1. package/dist/{Arrow-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
  3. package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
  4. package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
  5. package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
  6. package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
  7. package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
  8. package/dist/Legend-DXOzbXb-.js +156 -0
  9. package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
  10. package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
  11. package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
  12. package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
  13. package/dist/Slicer-hEvKOLw3.js +1145 -0
  14. package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
  15. package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
  16. package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
  17. package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
  18. package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
  89. package/dist/exposedLib-C2U48XK7.js +19 -0
  90. package/dist/img-B29J8tV5.js +129 -0
  91. package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
  92. package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
  93. package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
  94. package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
  95. package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +69 -2
  101. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
  103. package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
  104. package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
  105. package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
  106. package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
  107. package/dist/utils.js +14 -14
  108. package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
  111. package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
  113. package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
  114. package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
  115. package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
  116. package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
  117. package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
  118. package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
  119. package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
  120. package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
  121. package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
  122. package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
  123. package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
  124. package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
  125. package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
  126. package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
  127. package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
  128. package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
  129. package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
  130. package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
  131. package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
  132. package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
  133. package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
  134. package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
  135. package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
  136. package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
  137. package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
  138. package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
  139. package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
  140. package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
  141. package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
  142. package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
  143. package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
  144. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
  145. package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
  146. package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
  147. package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
  148. package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
  149. package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
  150. package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
  151. package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
  152. package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
  153. package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
  154. package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
  155. package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
  156. package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
  157. package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
  158. package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
  159. package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
  160. package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
  161. package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
  162. package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
  163. package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
  164. package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
  165. package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
  166. package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
  167. package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
  168. package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
  170. package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
  171. package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
  172. package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
  173. package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
  174. package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
  175. package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
  176. package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
  177. package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
  178. package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
  179. package/package.json +1 -1
  180. package/dist/Legend-BVDhEEsC.js +0 -115
  181. package/dist/Slicer-ClR833cP.js +0 -1144
  182. package/dist/exposedLib-CffbQxjN.js +0 -19
  183. package/dist/img-BCAOkqfM.js +0 -74
  184. package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
  185. package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
  186. package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
  187. package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
  188. package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
  189. package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
  190. package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
  191. package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
  192. package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
  193. package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
  194. package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
  195. package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
  196. package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
  197. package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
  198. package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
  199. package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
  200. package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
  201. package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
  202. package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
  203. package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, G as n, H as r, J as i, Kt as a, S as o, Ut as s, V as c, Vt as ee, X as l, ct as te, i as ne, kt as u, r as re, t as ie, x as ae, y as oe } from "./lib-CXicicWN.js";
3
- import { t as se } from "./useConfig-Bf_EBbe3.js";
4
- import { t as ce } from "./usePrinter-Dng0UK-G.js";
2
+ import { Gt as t, Jt as n, Ot as r, Q as i, S as a, U as o, Ut as s, W as c, X as ee, b as l, i as te, jt as u, q as ne, r as re, t as ie, ut as ae, w as oe } from "./lib-CuwHGt1j.js";
3
+ import { t as se } from "./useConfig-pVLia3dt.js";
4
+ import { t as ce } from "./usePrinter-C0wAS8yc.js";
5
5
  import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as de } from "./useSvgExport-SVIsDot8.js";
7
- import { t as fe } from "./useNestedProp-APyFoLCQ.js";
7
+ import { t as fe } from "./useNestedProp-BjkuFaz1.js";
8
8
  import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as me } from "./img-BCAOkqfM.js";
10
- import { n as he } from "./Title-CVYf1f8m.js";
11
- import { t as ge } from "./Shape-C5OvuwII.js";
9
+ import { t as me } from "./img-B29J8tV5.js";
10
+ import { n as he } from "./Title-DDEEO-Nr.js";
11
+ import { t as ge } from "./Shape-BnF9aMPX.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { c as ve } from "./canvas-lib-BOP_HS11.js";
14
14
  import { t as ye } from "./useResponsive-BfnK0KxU.js";
15
15
  import { t as be } from "./A11yDataTable-DdRsVULz.js";
16
16
  import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
17
17
  import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ce } from "./Legend-BVDhEEsC.js";
18
+ import { t as Ce } from "./Legend-DXOzbXb-.js";
19
19
  import { t as we } from "./vue_ui_chord-DPfS1Umc.js";
20
20
  import { Fragment as d, Teleport as Te, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as ke, nextTick as Ae, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as je, onMounted as Me, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ne, shallowRef as Pe, toDisplayString as E, toRefs as Fe, unref as D, useCssVars as Ie, watch as Le, withCtx as O, withModifiers as Re } from "vue";
21
21
  //#region src/components/vue-ui-chord.vue
@@ -141,7 +141,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = ["id"], He
141
141
  ],
142
142
  setup(e, { expose: _e, emit: ze }) {
143
143
  Ie((e) => ({ v73ba9455: e.slicerColor }));
144
- let _t = _(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), vt = _(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), yt = _(() => import("./DataTable-DJZgdnIn.js")), bt = _(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), xt = _(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), St = _(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Ct = _(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_chord: wt } = se(), { isThemeValid: Tt, warnInvalidTheme: Et } = pe(), k = e, Dt = ze, A = C(!!k.dataset && Object.hasOwn(k.dataset, "matrix")), j = C(r()), M = C(null), N = C(null), P = C(null), Ot = C(0), F = C(null), kt = C(null), At = C(null), jt = C(null), Mt = C(null), Nt = C(0), Pt = C(0), Ft = C(0), I = C(!1), L = Pe(null), R = Pe(null), It = C(!1), Lt = C(null), Rt = C(null), zt = C(!1), Bt = C(!1), z = C("group"), B = C(null), Vt = C(!1), V = C(Qt()), H = f(() => V.value.userOptions.useCursorPointer), Ht = f(() => s({
144
+ let _t = _(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), vt = _(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), yt = _(() => import("./DataTable-PidUPOit.js")), bt = _(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), xt = _(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), St = _(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Ct = _(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_chord: wt } = se(), { isThemeValid: Tt, warnInvalidTheme: Et } = pe(), k = e, Dt = ze, A = C(!!k.dataset && Object.hasOwn(k.dataset, "matrix")), j = C(c()), M = C(null), N = C(null), P = C(null), Ot = C(0), F = C(null), kt = C(null), At = C(null), jt = C(null), Mt = C(null), Nt = C(0), Pt = C(0), Ft = C(0), I = C(!1), L = Pe(null), R = Pe(null), It = C(!1), Lt = C(null), Rt = C(null), zt = C(!1), Bt = C(!1), z = C("group"), B = C(null), Vt = C(!1), V = C(Qt()), H = f(() => V.value.userOptions.useCursorPointer), Ht = f(() => t({
145
145
  defaultConfig: {
146
146
  useCssAnimation: !1,
147
147
  userOptions: { show: !1 },
@@ -205,7 +205,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = ["id"], He
205
205
  "#969696"
206
206
  ]
207
207
  },
208
- skeletonConfig: s({
208
+ skeletonConfig: t({
209
209
  defaultConfig: V.value,
210
210
  userConfig: Ht.value
211
211
  })
@@ -230,7 +230,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = ["id"], He
230
230
  });
231
231
  return {
232
232
  ...r,
233
- customPalette: r.customPalette.length ? r.customPalette : ee[t] || u
233
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || u
234
234
  };
235
235
  }
236
236
  Le(() => k.config, (e) => {
@@ -241,21 +241,21 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = ["id"], He
241
241
  en(), tn(), Nt.value += 1, Pt.value += 1, Ft.value += 1;
242
242
  });
243
243
  function en() {
244
- if (t(k.dataset)) {
245
- l({
244
+ if (r(k.dataset)) {
245
+ i({
246
246
  componentName: "VueUiChord",
247
247
  type: "dataset",
248
248
  debug: $t.value
249
249
  }), A.value = !1, Wt.value = !0;
250
250
  return;
251
251
  }
252
- let e = te({
252
+ let e = ae({
253
253
  datasetObject: k.dataset,
254
254
  requiredAttributes: ["matrix"]
255
255
  });
256
256
  if (e.length) {
257
257
  e.forEach((e) => {
258
- l({
258
+ i({
259
259
  componentName: "VueUiChord",
260
260
  type: "datasetAttribute",
261
261
  property: e,
@@ -264,16 +264,16 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = ["id"], He
264
264
  }), A.value = !1, Wt.value = !0;
265
265
  return;
266
266
  }
267
- let n = k.dataset.matrix;
268
- if (!Array.isArray(n) || n.length < 2) {
267
+ let t = k.dataset.matrix;
268
+ if (!Array.isArray(t) || t.length < 2) {
269
269
  console.warn("VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:\n \nmatrix:[\n [1, 1],\n [1, 1]\n]"), A.value = !1, Wt.value = !0;
270
270
  return;
271
271
  }
272
- let r = n.length, i = n.findIndex((e) => !Array.isArray(e) || e.length !== r);
273
- if (i !== -1) {
274
- console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${i} has ${Array.isArray(n[i]) ? n[i].length : "NaN"} elements instead of the required ${r}
272
+ let n = t.length, a = t.findIndex((e) => !Array.isArray(e) || e.length !== n);
273
+ if (a !== -1) {
274
+ console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${a} has ${Array.isArray(t[a]) ? t[a].length : "NaN"} elements instead of the required ${n}
275
275
 
276
- dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`), A.value = !1, Wt.value = !0;
276
+ dataset.matrix[${a}] = [${Array.isArray(t[a]) ? t[a].toString() : "invalid"}]`), A.value = !1, Wt.value = !0;
277
277
  return;
278
278
  }
279
279
  A.value = !0, Wt.value = !1;
@@ -312,30 +312,30 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
312
312
  let K = C({
313
313
  height: 600,
314
314
  width: 600
315
- }), an = f(() => V.value.userOptions.show && !V.value.style.chart.title.text), on = f(() => ae(V.value.customPalette)), q = f(() => ({
315
+ }), an = f(() => V.value.userOptions.show && !V.value.style.chart.title.text), on = f(() => a(V.value.customPalette)), q = f(() => ({
316
316
  inner: K.value.width * .3 * V.value.style.chart.arcs.innerRadiusRatio,
317
317
  outer: K.value.width * .34 * V.value.style.chart.arcs.outerRadiusRatio
318
318
  })), sn = f(() => V.value.style.chart.arcs.padAngle / 100), J = f(() => ({
319
319
  matrix: U.value.matrix ?? [[0]],
320
320
  labels: U.value.labels ?? [""],
321
- colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => oe(e)) : U.value.matrix.map((e, t) => on.value[t] || u[t] || u[t % u.length])
321
+ colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => l(e)) : U.value.matrix.map((e, t) => on.value[t] || u[t] || u[t % u.length])
322
322
  }));
323
323
  function cn(e, t) {
324
- let n = e.length, i = q.value.inner, a = Array(n).fill(0), o = 0;
325
- for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) a[t] += e[t][r], o += e[t][r];
326
- let s = (2 * Math.PI - t * n) / o, c = [], ee = 0;
324
+ let n = e.length, r = q.value.inner, i = Array(n).fill(0), a = 0;
325
+ for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) i[t] += e[t][r], a += e[t][r];
326
+ let o = (2 * Math.PI - t * n) / a, s = [], ee = 0;
327
327
  for (let e = 0; e < n; e += 1) {
328
- let n = ee, i = n + a[e] * s;
329
- c.push({
328
+ let n = ee, r = n + i[e] * o;
329
+ s.push({
330
330
  index: e,
331
331
  pattern: `pattern_${j.value}_${e}`,
332
332
  startAngle: n,
333
- endAngle: i,
333
+ endAngle: r,
334
334
  name: J.value.labels[e],
335
- id: r(),
335
+ id: c(),
336
336
  color: J.value.colors[e],
337
- proportion: a[e] / o
338
- }), ee = i + t;
337
+ proportion: i[e] / a
338
+ }), ee = r + t;
339
339
  }
340
340
  let l = [];
341
341
  for (let t = 0; t < n; t += 1) {
@@ -344,23 +344,23 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
344
344
  v: e
345
345
  }));
346
346
  n.sort((e, t) => t.v - e.v);
347
- let r = c[t].startAngle;
347
+ let i = s[t].startAngle;
348
348
  for (let { j: e, v: a } of n) {
349
- let n = r, o = n + a * s;
349
+ let n = i, c = n + a * o;
350
350
  l.push({
351
351
  index: t,
352
352
  subIndex: e,
353
353
  pattern: `pattern_${j.value}_${t}`,
354
354
  startAngle: n,
355
- endAngle: o,
355
+ endAngle: c,
356
356
  value: a,
357
357
  groupName: J.value.labels[t],
358
- groupId: c[t].id,
358
+ groupId: s[t].id,
359
359
  groupColor: J.value.colors[t],
360
- midAngle: (n + o) / 2,
361
- midBaseX: Math.cos((n + o) / 2 - Math.PI / 2) * i,
362
- midBaseY: Math.sin((n + o) / 2 - Math.PI / 2) * i
363
- }), r = o;
360
+ midAngle: (n + c) / 2,
361
+ midBaseX: Math.cos((n + c) / 2 - Math.PI / 2) * r,
362
+ midBaseY: Math.sin((n + c) / 2 - Math.PI / 2) * r
363
+ }), i = c;
364
364
  }
365
365
  }
366
366
  let te = [];
@@ -369,11 +369,11 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
369
369
  te.push({
370
370
  source: e,
371
371
  target: t,
372
- id: r()
372
+ id: c()
373
373
  });
374
374
  }
375
375
  return {
376
- groups: c,
376
+ groups: s,
377
377
  chords: te
378
378
  };
379
379
  }
@@ -453,12 +453,12 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
453
453
  return e;
454
454
  });
455
455
  function dn(e, t, n, r) {
456
- let i = e - Math.PI / 2, a = t - Math.PI / 2, o = Math.cos(i) * n, s = Math.sin(i) * n, c = Math.cos(a) * n, ee = Math.sin(a) * n, l = Math.cos(a) * r, te = Math.sin(a) * r, ne = Math.cos(i) * r, u = Math.sin(i) * r, re = +(t - e > Math.PI);
457
- return `M${o},${s} A${n},${n} 0 ${re} 1 ${c},${ee} L${l},${te} A${r},${r} 0 ${re} 0 ${ne},${u} Z`;
456
+ let i = e - Math.PI / 2, a = t - Math.PI / 2, o = Math.cos(i) * n, s = Math.sin(i) * n, c = Math.cos(a) * n, ee = Math.sin(a) * n, l = Math.cos(a) * r, te = Math.sin(a) * r, u = Math.cos(i) * r, ne = Math.sin(i) * r, re = +(t - e > Math.PI);
457
+ return `M${o},${s} A${n},${n} 0 ${re} 1 ${c},${ee} L${l},${te} A${r},${r} 0 ${re} 0 ${u},${ne} Z`;
458
458
  }
459
459
  function fn(e, t) {
460
- let n = q.value.inner, r = e.startAngle - Math.PI / 2, i = e.endAngle - Math.PI / 2, a = t.startAngle - Math.PI / 2, o = t.endAngle - Math.PI / 2, s = Math.cos(r) * n, c = Math.sin(r) * n, ee = Math.cos(i) * n, l = Math.sin(i) * n, te = Math.cos(a) * n, ne = Math.sin(a) * n, u = Math.cos(o) * n, re = Math.sin(o) * n;
461
- return `M${s},${c}A${n},${n} 0 ${+(e.endAngle - e.startAngle > Math.PI)} 1 ${ee},${l}Q0,0 ${te},${ne}A${n},${n} 0 ${+(t.endAngle - t.startAngle > Math.PI)} 1 ${u},${re}Q0,0 ${s},${c}Z`;
460
+ let n = q.value.inner, r = e.startAngle - Math.PI / 2, i = e.endAngle - Math.PI / 2, a = t.startAngle - Math.PI / 2, o = t.endAngle - Math.PI / 2, s = Math.cos(r) * n, c = Math.sin(r) * n, ee = Math.cos(i) * n, l = Math.sin(i) * n, te = Math.cos(a) * n, u = Math.sin(a) * n, ne = Math.cos(o) * n, re = Math.sin(o) * n;
461
+ return `M${s},${c}A${n},${n} 0 ${+(e.endAngle - e.startAngle > Math.PI)} 1 ${ee},${l}Q0,0 ${te},${u}A${n},${n} 0 ${+(t.endAngle - t.startAngle > Math.PI)} 1 ${ne},${re}Q0,0 ${s},${c}Z`;
462
462
  }
463
463
  let pn = f(() => X.value * Math.PI / 180);
464
464
  function mn(e) {
@@ -496,7 +496,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
496
496
  yn.value = !1;
497
497
  }
498
498
  function En(e) {
499
- return ne(V.value.style.chart.ribbons.labels.formatter, e, n({
499
+ return te(V.value.style.chart.ribbons.labels.formatter, e, ne({
500
500
  p: V.value.style.chart.ribbons.labels.prefix,
501
501
  v: e,
502
502
  s: V.value.style.chart.ribbons.labels.suffix,
@@ -627,12 +627,12 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
627
627
  });
628
628
  function Kn(e = null) {
629
629
  Ae(() => {
630
- let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), n = o([
630
+ let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), n = oe([
631
631
  [V.value.style.chart.title.text],
632
632
  [V.value.style.chart.title.subtitle.text],
633
633
  [[""], ...J.value.labels.map((e, t) => [e || t])]
634
634
  ].concat(t));
635
- e ? e(n) : i({
635
+ e ? e(n) : ee({
636
636
  csvContent: n,
637
637
  title: V.value.style.chart.title.text || "vue-ui-chord"
638
638
  });
@@ -656,7 +656,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
656
656
  };
657
657
  }
658
658
  function Jn(e, t) {
659
- return `${J.value.labels[t]}${V.value.style.chart.arcs.labels.showPercentage ? n({
659
+ return `${J.value.labels[t]}${V.value.style.chart.arcs.labels.showPercentage ? ne({
660
660
  p: " (",
661
661
  v: isNaN(e.proportion) ? 0 : e.proportion * 100,
662
662
  s: "%)",
@@ -1242,7 +1242,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
1242
1242
  href: `#labelPath-${t}_${j.value}`,
1243
1243
  startOffset: "50%",
1244
1244
  "text-anchor": "middle"
1245
- }, E(J.value.labels[t]) + E(V.value.style.chart.arcs.labels.showPercentage ? D(n)({
1245
+ }, E(J.value.labels[t]) + E(V.value.style.chart.arcs.labels.showPercentage ? D(ne)({
1246
1246
  p: " (",
1247
1247
  v: isNaN(e.proportion) ? 0 : e.proportion * 100,
1248
1248
  s: "%)",
@@ -1259,8 +1259,8 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
1259
1259
  "font-size": V.value.style.chart.arcs.labels.fontSize,
1260
1260
  "font-weight": V.value.style.chart.arcs.labels.bold ? "bold" : "normal",
1261
1261
  fill: V.value.style.chart.arcs.labels.color,
1262
- innerHTML: D(c)({
1263
- content: D(a)(Jn(e, t)),
1262
+ innerHTML: D(o)({
1263
+ content: D(n)(Jn(e, t)),
1264
1264
  fontSize: V.value.style.chart.arcs.labels.fontSize,
1265
1265
  fill: V.value.style.chart.arcs.labels.color,
1266
1266
  x: 0,
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, J as o, S as s, Ut as c, Vt as l, W as u, X as d, gt as f, i as p, kt as m, r as h, t as g, x as ee, y as te, z as ne } from "./lib-CXicicWN.js";
3
- import { t as re } from "./useConfig-Bf_EBbe3.js";
4
- import { t as ie } from "./usePrinter-Dng0UK-G.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-CuwHGt1j.js";
3
+ import { t as re } from "./useConfig-pVLia3dt.js";
4
+ import { t as ie } from "./usePrinter-C0wAS8yc.js";
5
5
  import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as se } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ce } from "./useNestedProp-APyFoLCQ.js";
7
+ import { t as ce } from "./useNestedProp-BjkuFaz1.js";
8
8
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ue } from "./img-BCAOkqfM.js";
10
- import { n as de } from "./Title-CVYf1f8m.js";
9
+ import { t as ue } from "./img-B29J8tV5.js";
10
+ import { n as de } from "./Title-DDEEO-Nr.js";
11
11
  import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as pe } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as me } from "./useResponsive-BfnK0KxU.js";
@@ -294,10 +294,10 @@ var We = class {
294
294
  emits: ["selectDatapoint", "copyAlt"],
295
295
  setup(e, { expose: fe, emit: Pe }) {
296
296
  je((e) => ({ v0548cdba: ir.value }));
297
- let Ie = C(() => import("./Tooltip-BmGCBJuU.js")), N = C(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), Le = C(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), Re = C(() => import("./DataTable-DJZgdnIn.js")), ze = C(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Be = C(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Ve = C(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), He = C(() => import("./BaseDraggableDialog-a9xCKjW-.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(a()), 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({
297
+ let Ie = C(() => import("./Tooltip-BhKov422.js")), N = C(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Le = C(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), Re = C(() => import("./DataTable-PidUPOit.js")), ze = C(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Be = C(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), Ve = C(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), He = C(() => import("./BaseDraggableDialog-DjzNWkiE.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({
298
298
  x: 0,
299
299
  y: 0
300
- }), At = O("pointer"), jt = O(!1), B = O(Rt()), V = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => c({
300
+ }), At = O("pointer"), jt = O(!1), B = O(Rt()), V = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => t({
301
301
  defaultConfig: {
302
302
  userOptions: { show: !1 },
303
303
  table: { show: !1 },
@@ -349,7 +349,7 @@ var We = class {
349
349
  color: "#696969"
350
350
  }
351
351
  ],
352
- skeletonConfig: c({
352
+ skeletonConfig: t({
353
353
  defaultConfig: B.value,
354
354
  userConfig: Mt.value
355
355
  })
@@ -370,7 +370,7 @@ var We = class {
370
370
  });
371
371
  return {
372
372
  ...r,
373
- customPalette: r.customPalette.length ? r.customPalette : l[t] || m
373
+ customPalette: r.customPalette.length ? r.customPalette : c[t] || m
374
374
  };
375
375
  }
376
376
  Me(() => P.config, (e) => {
@@ -459,36 +459,36 @@ var We = class {
459
459
  return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + Xt(t), 0) : 0;
460
460
  }
461
461
  function Zt(e, t) {
462
- let n = l[B.value.theme || "default"] || m, r = cn.value.length ? cn.value : n.length ? n : m;
463
- return te(e.color) || r[t % r.length] || m[t % m.length];
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];
464
464
  }
465
465
  function Qt(e) {
466
466
  return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + Qt(t), 0);
467
467
  }
468
468
  function $t(e, t = null, n = 0, r = []) {
469
469
  return Array.isArray(e) ? e.map((e, i) => {
470
- let o = Xt(e);
471
- if (!Number.isFinite(o) || o <= 0) return null;
472
- let s = a(), c = [...r, i], l = c.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? te(e.color || t?.color) : Zt(e, l), d = $t(e.children, {
473
- id: s,
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,
474
474
  name: e.name,
475
- color: u,
476
- rootId: t?.rootId ?? s
477
- }, n + 1, c);
475
+ color: l,
476
+ rootId: t?.rootId ?? o
477
+ }, n + 1, s);
478
478
  return {
479
479
  ...e,
480
- value: o,
481
- r: o,
482
- id: s,
483
- color: u,
480
+ value: a,
481
+ r: a,
482
+ id: o,
483
+ color: l,
484
484
  depth: n,
485
485
  parentId: t?.id ?? null,
486
486
  parentName: t?.name ?? null,
487
- rootId: t?.rootId ?? s,
487
+ rootId: t?.rootId ?? o,
488
488
  hasChildren: d.length > 0,
489
489
  childCount: d.length,
490
490
  leafCount: d.length ? Qt({ children: d }) : 1,
491
- hierarchyPath: c,
491
+ hierarchyPath: s,
492
492
  children: d
493
493
  };
494
494
  }).filter(Boolean) : [];
@@ -541,7 +541,7 @@ var We = class {
541
541
  q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect(), q.value = null, J.value = null);
542
542
  }
543
543
  async function sn() {
544
- r(P.dataset) && d({
544
+ i(P.dataset) && a({
545
545
  componentName: "VueUiCirclePack",
546
546
  type: "dataset",
547
547
  debug: Gt.value
@@ -554,7 +554,7 @@ var We = class {
554
554
  }), Me(() => Pt.value, async (e) => {
555
555
  await sn();
556
556
  }, { deep: !0 });
557
- let cn = v(() => ee(B.value.customPalette)), Y = v(() => $t(Pt.value)), ln = v(() => G.value.length ? Math.max(...G.value.map((e) => e.r)) : 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
558
  function un(e, t) {
559
559
  return ln.value ? t / ln.value * e : 0;
560
560
  }
@@ -582,7 +582,7 @@ var We = class {
582
582
  series: K.value
583
583
  }, Tt.value = !0;
584
584
  let r = B.value.style.chart.tooltip.customFormat;
585
- if (mn.value = !1, f(r)) try {
585
+ if (mn.value = !1, te(r)) try {
586
586
  let n = r({
587
587
  seriesIndex: t,
588
588
  datapoint: e,
@@ -611,7 +611,7 @@ var We = class {
611
611
  }
612
612
  }
613
613
  function gn(e) {
614
- return p(B.value.style.chart.circles.labels.value.formatter, e.value, i({
614
+ return p(B.value.style.chart.circles.labels.value.formatter, e.value, h({
615
615
  p: B.value.style.chart.circles.labels.value.prefix,
616
616
  v: e.value,
617
617
  s: B.value.style.chart.circles.labels.value.suffix,
@@ -851,7 +851,7 @@ var We = class {
851
851
  [e.parentName || ""],
852
852
  [e.depth],
853
853
  [e.value]
854
- ]), n = s([
854
+ ]), n = ne([
855
855
  [B.value.style.chart.title.text],
856
856
  [B.value.style.chart.title.subtitle.text],
857
857
  [
@@ -861,7 +861,7 @@ var We = class {
861
861
  [B.value.table.columnNames.value]
862
862
  ]
863
863
  ].concat(t));
864
- e ? e(n) : o({
864
+ e ? e(n) : d({
865
865
  csvContent: n,
866
866
  title: B.value.style.chart.title.text || "vue-ui-circle-pack"
867
867
  });
@@ -874,7 +874,7 @@ var We = class {
874
874
  B.value.table.columnNames.depth,
875
875
  B.value.table.columnNames.value
876
876
  ], t = Fn.value.hierarchy.map((e) => {
877
- let t = i({
877
+ let t = h({
878
878
  p: B.value.style.chart.circles.labels.value.prefix,
879
879
  v: e.value,
880
880
  s: B.value.style.chart.circles.labels.value.suffix,
@@ -1029,9 +1029,9 @@ var We = class {
1029
1029
  }
1030
1030
  function Zn(e) {
1031
1031
  if (!Number.isFinite(e) || !H.value) return;
1032
- let n = G.value[e];
1033
- if (!n) return;
1034
- let r = t(n.x, n.y, H.value);
1032
+ let t = G.value[e];
1033
+ if (!t) return;
1034
+ let r = n(t.x, t.y, H.value);
1035
1035
  r && (kt.value = r);
1036
1036
  }
1037
1037
  function Qn() {
@@ -1293,7 +1293,7 @@ var We = class {
1293
1293
  }) }, [(D(), x("svg", {
1294
1294
  ref_key: "svgRef",
1295
1295
  ref: H,
1296
- xmlns: j(g),
1296
+ xmlns: j(ee),
1297
1297
  "aria-describedby": `chart-instructions-${F.value}`,
1298
1298
  viewBox: `${j(Q).x} ${j(Q).y} ${j(Q).width} ${j(Q).height}`,
1299
1299
  preserveAspectRatio: "xMidYMid meet",
@@ -1317,18 +1317,18 @@ var We = class {
1317
1317
  height: W.value.h,
1318
1318
  style: { pointerEvents: "none" }
1319
1319
  }, [k(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : b("", !0),
1320
- (D(!0), x(_, null, Oe(G.value, (t, r) => (D(), x(_, { key: t.id }, [
1320
+ (D(!0), x(_, null, Oe(G.value, (t, n) => (D(), x(_, { key: t.id }, [
1321
1321
  S("defs", null, [S("radialGradient", {
1322
1322
  id: t.id,
1323
1323
  fy: "30%"
1324
1324
  }, [
1325
1325
  S("stop", {
1326
1326
  offset: "10%",
1327
- "stop-color": j(n)(t.color, B.value.style.chart.circles.gradient.intensity / 100)
1327
+ "stop-color": j(s)(t.color, B.value.style.chart.circles.gradient.intensity / 100)
1328
1328
  }, null, 8, Ze),
1329
1329
  S("stop", {
1330
1330
  offset: "90%",
1331
- "stop-color": j(u)(t.color, .1)
1331
+ "stop-color": j(r)(t.color, .1)
1332
1332
  }, null, 8, Qe),
1333
1333
  S("stop", {
1334
1334
  offset: "100%",
@@ -1348,9 +1348,9 @@ var We = class {
1348
1348
  "stroke-width": B.value.style.chart.circles.strokeWidth * (ln.value || 1) / 100,
1349
1349
  fill: B.value.style.chart.circles.gradient.show ? `url(#${t.id})` : t.color,
1350
1350
  rx: t.r,
1351
- onMouseenter: (e) => hn(t, r, "pointer"),
1352
- onMouseout: (e) => dn(t, r),
1353
- onClick: (e) => fn(t, r)
1351
+ onMouseenter: (e) => hn(t, n, "pointer"),
1352
+ onMouseout: (e) => dn(t, n),
1353
+ onClick: (e) => fn(t, n)
1354
1354
  }, null, 40, tt),
1355
1355
  e.$slots.pattern ? (D(), x("rect", {
1356
1356
  key: 1,
@@ -1386,12 +1386,12 @@ var We = class {
1386
1386
  ref_for: !0
1387
1387
  }, {
1388
1388
  ...t,
1389
- createTSpans: j(ne),
1389
+ createTSpans: j(l),
1390
1390
  fontSize: {
1391
1391
  name: t.r / 3 * B.value.style.chart.circles.labels.name.fontSizeRatio,
1392
1392
  value: _n(t) * B.value.style.chart.circles.labels.value.fontSizeRatio
1393
1393
  },
1394
- color: B.value.style.chart.circles.labels.name.color ? B.value.style.chart.circles.labels.name.color : j(h)(t.color)
1394
+ color: B.value.style.chart.circles.labels.name.color ? B.value.style.chart.circles.labels.name.color : j(g)(t.color)
1395
1395
  }), void 0, !0) : (D(), x(_, { key: 1 }, [B.value.style.chart.circles.labels.name.show && t.name && rn(t) ? (D(), x("text", {
1396
1396
  key: 0,
1397
1397
  style: {
@@ -1401,7 +1401,7 @@ var We = class {
1401
1401
  x: t.x,
1402
1402
  y: t.y + un(t.r, B.value.style.chart.circles.labels.name.offsetY) - t.r / 10,
1403
1403
  "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(h)(t.color) : B.value.style.chart.circles.labels.name.color,
1404
+ fill: B.value.style.chart.circles.labels.name.color === "auto" ? j(g)(t.color) : B.value.style.chart.circles.labels.name.color,
1405
1405
  "font-weight": B.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
1406
1406
  "text-anchor": "middle"
1407
1407
  }, A(t.name), 9, it)) : b("", !0), B.value.style.chart.circles.labels.value.show && rn(t) ? (D(), x("text", {
@@ -1413,7 +1413,7 @@ var We = class {
1413
1413
  x: t.x,
1414
1414
  y: t.y + un(t.r, B.value.style.chart.circles.labels.value.offsetY) + t.r / 2.5,
1415
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(h)(t.color) : B.value.style.chart.circles.labels.value.color,
1416
+ fill: B.value.style.chart.circles.labels.value.color === "auto" ? j(g)(t.color) : B.value.style.chart.circles.labels.value.color,
1417
1417
  "font-weight": B.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
1418
1418
  "text-anchor": "middle"
1419
1419
  }, A(gn(t)), 9, at)) : b("", !0)], 64)), k(e.$slots, "circle", Ce({ ref_for: !0 }, {
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ft as t, H as n, t as ee } from "./lib-CXicicWN.js";
3
- import { t as r } from "./useConfig-Bf_EBbe3.js";
4
- import { t as i } from "./useNestedProp-APyFoLCQ.js";
2
+ import { Lt as t, W as n, t as ee } from "./lib-CuwHGt1j.js";
3
+ import { t as r } from "./useConfig-pVLia3dt.js";
4
+ import { t as i } from "./useNestedProp-BjkuFaz1.js";
5
5
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { n as te } from "./PackageVersion-Dx81ZIAL.js";
6
+ import { n as te } from "./PackageVersion-Cm-3hwIF.js";
7
7
  import { Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, nextTick as ne, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b } from "vue";
8
8
  //#region src/components/vue-ui-cursor.vue
9
9
  var x = /* @__PURE__ */ e({ default: () => R }), re = [