vue-data-ui 3.23.10 → 3.23.12

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 (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
  13. package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.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-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
  95. package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
  96. package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
  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/vue-data-ui.d.ts +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
  110. package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
  112. package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
  114. package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
  115. package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
  117. package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
  118. package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
  119. package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
  120. package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
  121. package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
  122. package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
  123. package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
  124. package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
  125. package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
  126. package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
  128. package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
  129. package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
  130. package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
  131. package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
  132. package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
  133. package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
  134. package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
  135. package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
  136. package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
  138. package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
  141. package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
  142. package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
  143. package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
  145. package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
  147. package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
  148. package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
  150. package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
  151. package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
  152. package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
  153. package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
  154. package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
  159. package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
  161. package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
  162. package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
  163. package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
  164. package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
  167. package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
  168. package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
  170. package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
  171. package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
  172. package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
  174. package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
  175. package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
  176. package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
  177. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  178. package/package.json +1 -1
  179. package/dist/exposedLib-vfRiIvq_.js +0 -28
  180. package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
  181. package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
  182. package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
  183. package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
  184. package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
  185. package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
  186. package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
  187. package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
  188. package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
  189. package/dist/vue-ui-onion-C27GpneA.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
  191. package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
  192. package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
  193. package/dist/vue-ui-rings-obVfb09j.js +0 -1250
  194. package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
  195. package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
  196. package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
  197. package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
  198. package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
  199. package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
  200. package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, At as n, Bt as r, D as i, Jt as a, M as ee, Vt as te, X as o, i as ne, jt as re, q as ie, t as ae, tt as oe } from "./lib-AT2PUyyh.js";
2
+ import { $ as t, D as n, Ht as r, M as i, Mt as a, Nt as ee, Ut as te, X as o, Xt as ne, i as re, nt as ie, q as ae, t as oe } from "./lib-Dqr_-I6Y.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as le } from "./useConfig-DwdGsXTx.js";
5
- import { t as ue } from "./usePrinter-BFS7d6eb.js";
5
+ import { t as ue } from "./usePrinter-CEiH1b6R.js";
6
6
  import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as s } from "./useNestedProp-CW0vJS1B.js";
7
+ import { t as s } from "./useNestedProp-CulPqtou.js";
8
8
  import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as me } from "./useChartExport-DNiwdPmb.js";
10
- import { t as he } from "./img-tU9mMt9W.js";
11
- import { n as ge } from "./Title-BGLPsoA9.js";
10
+ import { t as he } from "./img-Bkzj3lDD.js";
11
+ import { n as ge } from "./Title-CaVA8EIw.js";
12
12
  import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
14
  import { t as be } from "./DefGrad-DVBqDjhO.js";
15
15
  import { t as xe } from "./A11yDataTable-DdRsVULz.js";
16
16
  import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
17
17
  import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as we } from "./Legend-DWEFXq9E.js";
18
+ import { t as we } from "./Legend-BJtY2RA9.js";
19
19
  import { t as Te } from "./vue_ui_mood_radar-BA6LAKhk.js";
20
20
  import { Fragment as Ee, Teleport as De, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Oe, createTextVNode as ke, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as g, normalizeStyle as _, onMounted as Ne, openBlock as v, ref as y, renderList as Pe, renderSlot as b, resolveDynamicComponent as Fe, toDisplayString as x, toRefs as Ie, unref as S, watch as Le, withCtx as C } from "vue";
21
21
  //#region src/components/vue-ui-mood-radar.vue
@@ -95,14 +95,14 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
95
95
  },
96
96
  emits: ["copyAlt"],
97
97
  setup(e, { expose: _e, emit: Re }) {
98
- let w = m(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), xt = m(() => import("./DataTable-DMsScfkx.js")), St = m(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), T = e, kt = Re, E = y(ie()), D = y(null), O = y(null), At = y(null), jt = y(0), Mt = y(0), Nt = y(0), Pt = y(null), Ft = y(null), k = y(null), A = y(null), It = y(null), Lt = y(!1), j = y(null), Rt = y(null), M = y(null), zt = y(!1), Bt = c(() => !!T.dataset && Object.keys(T.dataset).length), N = y(Jt());
98
+ let w = m(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), xt = m(() => import("./DataTable-CmyEubtT.js")), St = m(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), T = e, kt = Re, E = y(ae()), D = y(null), O = y(null), At = y(null), jt = y(0), Mt = y(0), Nt = y(0), Pt = y(null), Ft = y(null), k = y(null), A = y(null), It = y(null), Lt = y(!1), j = y(null), Rt = y(null), M = y(null), zt = y(!1), Bt = c(() => !!T.dataset && Object.keys(T.dataset).length), N = y(Jt());
99
99
  se({
100
100
  config: () => N.value,
101
101
  dataset: () => T.dataset,
102
102
  component: "VueUiMoodRadar",
103
103
  rules: [ce.noHint]
104
104
  });
105
- let P = c(() => N.value.userOptions.useCursorPointer), Vt = c(() => a({
105
+ let P = c(() => N.value.userOptions.useCursorPointer), Vt = c(() => ne({
106
106
  defaultConfig: {
107
107
  userOptions: { show: !1 },
108
108
  table: { show: !1 },
@@ -145,7 +145,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
145
145
  4: 1,
146
146
  5: 1
147
147
  },
148
- skeletonConfig: a({
148
+ skeletonConfig: ne({
149
149
  defaultConfig: N.value,
150
150
  userConfig: Vt.value
151
151
  })
@@ -155,7 +155,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
155
155
  });
156
156
  let Ut = c(() => N.value.debug);
157
157
  function Wt() {
158
- if (re(T.dataset) && oe({
158
+ if (ee(T.dataset) && ie({
159
159
  componentName: "VueUiMoodRadar",
160
160
  type: "dataset",
161
161
  debug: Ut.value
@@ -236,7 +236,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
236
236
  let t = $t[e], n = en.value[e] || t;
237
237
  return `translate(${n.x - t.x}, ${n.y - t.y})`;
238
238
  }
239
- let tn = c(() => ee({
239
+ let tn = c(() => i({
240
240
  plot: {
241
241
  x: z.value.width / 2,
242
242
  y: z.value.height / 2
@@ -267,7 +267,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
267
267
  onSelect: () => U(e.key)
268
268
  })).sort((e, t) => t.key - e.key)), an = c(() => H.value.map((e, t) => ({
269
269
  ...e,
270
- display: `${ne(N.value.style.chart.layout.dataLabel.formatter, e.value, o({
270
+ display: `${re(N.value.style.chart.layout.dataLabel.formatter, e.value, o({
271
271
  p: N.value.style.chart.layout.dataLabel.prefix,
272
272
  v: e.value,
273
273
  s: N.value.style.chart.layout.dataLabel.suffix,
@@ -284,7 +284,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
284
284
  "4",
285
285
  "5"
286
286
  ].forEach((e) => {
287
- [null, void 0].includes(F.value[e]) && oe({
287
+ [null, void 0].includes(F.value[e]) && ie({
288
288
  componentName: "VueUiMoodRadar",
289
289
  type: "datasetAttribute",
290
290
  property: e,
@@ -348,11 +348,11 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
348
348
  }));
349
349
  function cn(e = null) {
350
350
  je(() => {
351
- let n = q.value.head.map((e, t) => [
351
+ let r = q.value.head.map((e, t) => [
352
352
  [e.name],
353
353
  [q.value.body[t]],
354
354
  [isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
355
- ]), r = [
355
+ ]), i = [
356
356
  [N.value.style.chart.title.text],
357
357
  [N.value.style.chart.title.subtitle.text],
358
358
  [
@@ -360,7 +360,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
360
360
  ["val"],
361
361
  ["%"]
362
362
  ]
363
- ].concat(n), a = i(r);
363
+ ].concat(r), a = n(i);
364
364
  e ? e(a) : t({
365
365
  csvContent: a,
366
366
  title: N.value.style.chart.title.text || "vue-ui-mood-radar"
@@ -505,7 +505,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
505
505
  return H.value.find((t) => String(t.key) === String(e));
506
506
  }
507
507
  function Dn(e, t, n) {
508
- return ne(N.value.style.chart.layout.dataLabel.formatter, e, o({
508
+ return re(N.value.style.chart.layout.dataLabel.formatter, e, o({
509
509
  p: N.value.style.chart.layout.dataLabel.prefix,
510
510
  v: e,
511
511
  s: N.value.style.chart.layout.dataLabel.suffix,
@@ -760,7 +760,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
760
760
  f("div", He, [(v(), d("svg", {
761
761
  ref_key: "svgRef",
762
762
  ref: I,
763
- xmlns: S(ae),
763
+ xmlns: S(oe),
764
764
  "aria-describedby": `chart-instructions-${E.value}`,
765
765
  viewBox: `0 0 ${z.value.width} ${z.value.height}`,
766
766
  class: Me({
@@ -903,7 +903,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
903
903
  onClick: t[14] ||= (e) => K("1")
904
904
  }, null, 40, st)], 8, at),
905
905
  f("path", {
906
- d: S(n)(on.value.map((e) => e.plots)),
906
+ d: S(a)(on.value.map((e) => e.plots)),
907
907
  stroke: N.value.style.chart.layout.dataPolygon.stroke,
908
908
  "stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth,
909
909
  "stroke-linecap": "round",
@@ -944,7 +944,7 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
944
944
  "font-size": "12",
945
945
  "text-anchor": "middle",
946
946
  "font-weight": N.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
947
- }, x(S(ne)(N.value.style.chart.layout.dataLabel.formatter, e.value, S(o)({
947
+ }, x(S(re)(N.value.style.chart.layout.dataLabel.formatter, e.value, S(o)({
948
948
  p: N.value.style.chart.layout.dataLabel.prefix,
949
949
  v: e.value,
950
950
  s: N.value.style.chart.layout.dataLabel.suffix,
@@ -1,23 +1,23 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, D as r, Ft as i, Jt as a, Kt as o, Pt as s, Rt as c, S as l, X as u, b as ee, ct as te, et as ne, f as re, i as d, jt as ie, kt as ae, n as oe, p as se, q as ce, t as le, tt as ue, w as de, xt as fe } from "./lib-AT2PUyyh.js";
2
+ import { $ as t, Bt as n, D as r, Ht as i, It as a, Jt as o, Lt as s, Nt as c, S as l, St as ee, X as u, Xt as te, b as ne, f as d, i as re, jt as ie, lt as ae, n as oe, nt as se, p as ce, q as le, t as ue, tt as de, w as fe } from "./lib-Dqr_-I6Y.js";
3
3
  import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as he } from "./useConfig-DwdGsXTx.js";
5
- import { t as ge } from "./usePrinter-BFS7d6eb.js";
5
+ import { t as ge } from "./usePrinter-CEiH1b6R.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ye } from "./useNestedProp-CW0vJS1B.js";
7
+ import { t as ye } from "./useNestedProp-CulPqtou.js";
8
8
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as xe } from "./useChartExport-DNiwdPmb.js";
10
- import { t as Se } from "./img-tU9mMt9W.js";
11
- import { n as Ce } from "./Title-BGLPsoA9.js";
10
+ import { t as Se } from "./img-Bkzj3lDD.js";
11
+ import { n as Ce } from "./Title-CaVA8EIw.js";
12
12
  import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
14
14
  import { t as De } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Oe } from "./BaseLegendToggle-wRhcG_-q.js";
15
+ import { t as Oe } from "./BaseLegendToggle-CtEdLr4R.js";
16
16
  import { t as ke } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as je } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Me } from "./labelUtils-C_lMnQRs.js";
20
- import { t as Ne } from "./Legend-DWEFXq9E.js";
19
+ import { t as Me } from "./labelUtils-iX76cA2-.js";
20
+ import { t as Ne } from "./Legend-BJtY2RA9.js";
21
21
  import { t as Pe } from "./vue_ui_nested_donuts-B8csIoVO.js";
22
22
  import { Fragment as f, Teleport as Fe, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as b, normalizeStyle as He, onBeforeUnmount as Ue, onMounted as We, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as T, toRefs as qe, unref as E, vShow as Je, watch as Ye, withCtx as D, withDirectives as Xe } from "vue";
23
23
  //#region src/components/vue-ui-nested-donuts.vue
@@ -110,14 +110,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
110
110
  "copyAlt"
111
111
  ],
112
112
  setup(e, { expose: we, emit: Ze }) {
113
- let Ot = v(() => import("./Tooltip-DO4-MVhc.js")), kt = v(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), At = v(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), jt = v(() => import("./DataTable-DMsScfkx.js")), Mt = v(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), Nt = v(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), Pt = v(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_nested_donuts: It } = he(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = p({
113
+ let Ot = v(() => import("./Tooltip-CVxJe3UW.js")), kt = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), At = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), jt = v(() => import("./DataTable-CmyEubtT.js")), Mt = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Nt = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Pt = v(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_nested_donuts: It } = he(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = p({
114
114
  get() {
115
115
  return !!O.dataset && O.dataset.length;
116
116
  },
117
117
  set(e) {
118
118
  return e;
119
119
  }
120
- }), k = S(ce()), Bt = S(!1), Vt = S(""), Ht = S(null), Ut = S(0), A = S(null), Wt = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(0), Yt = S(0), Xt = S(0), j = S(!0), M = S([]), Zt = S([]), Qt = S(!1), $t = S(null), en = S(null), N = S(null), tn = S({
120
+ }), k = S(le()), Bt = S(!1), Vt = S(""), Ht = S(null), Ut = S(0), A = S(null), Wt = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(0), Yt = S(0), Xt = S(0), j = S(!0), M = S([]), Zt = S([]), Qt = S(!1), $t = S(null), en = S(null), N = S(null), tn = S({
121
121
  x: 0,
122
122
  y: 0
123
123
  }), nn = S("pointer"), rn = S(!1), P = S(!1);
@@ -182,7 +182,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
182
182
  color: "#CACACA"
183
183
  }
184
184
  ]
185
- }, sn = p(() => a({
185
+ }, sn = p(() => te({
186
186
  defaultConfig: {
187
187
  useCssAnimation: !1,
188
188
  table: { show: !1 },
@@ -213,7 +213,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
213
213
  });
214
214
  },
215
215
  skeletonDataset: O.config?.skeletonDataset ?? [on, on],
216
- skeletonConfig: a({
216
+ skeletonConfig: te({
217
217
  defaultConfig: F.value,
218
218
  userConfig: sn.value
219
219
  })
@@ -234,7 +234,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
234
234
  userConfig: O.config,
235
235
  defaultConfig: r
236
236
  }),
237
- customPalette: e.customPalette.length ? e.customPalette : o[n] || s
237
+ customPalette: e.customPalette.length ? e.customPalette : o[n] || a
238
238
  };
239
239
  }
240
240
  else t = e;
@@ -253,21 +253,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
253
253
  left: r
254
254
  };
255
255
  });
256
- function hn(e, t = 1e3, n = 50) {
257
- return new Promise((r) => {
258
- let i = e.length;
259
- M.value = Array(i).fill(0), Zt.value = [];
260
- let a = 0;
261
- e.forEach((e, o) => {
256
+ function hn(e, t = 1e3, r = 50) {
257
+ return new Promise((i) => {
258
+ let a = e.length;
259
+ M.value = Array(a).fill(0), Zt.value = [];
260
+ let o = 0;
261
+ e.forEach((e, s) => {
262
262
  setTimeout(() => {
263
- let n = performance.now();
264
- function s(l) {
265
- let u = Math.min((l - n) / t, 1), te = e * ne(u);
266
- M.value[o] = te, M.value = [...M.value];
267
- let re = [], d = 0;
263
+ let r = performance.now();
264
+ function c(l) {
265
+ let ee = Math.min((l - r) / t, 1), u = e * de(ee);
266
+ M.value[s] = u, M.value = [...M.value];
267
+ let te = [], d = 0;
268
268
  O.dataset.forEach((e, t) => {
269
- let n = ee(e.series.reduce((e, t) => e + ee(c(t.values).reduce((e, t) => e + t, 0)), 0)) - ee(M.value.slice(d, d + e.series.length).reduce((e, t) => e + t, 0));
270
- n > Number.MIN_VALUE && re.push({
269
+ let r = ne(e.series.reduce((e, t) => e + ne(n(t.values).reduce((e, t) => e + t, 0)), 0)) - ne(M.value.slice(d, d + e.series.length).reduce((e, t) => e + t, 0));
270
+ r > Number.MIN_VALUE && te.push({
271
271
  name: "__ghost__",
272
272
  arcOf: e.name,
273
273
  arcOfId: `${k.value}_${t}`,
@@ -275,23 +275,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
275
275
  seriesIndex: -1,
276
276
  datasetIndex: t,
277
277
  color: "transparent",
278
- value: n,
279
- fullValue: n,
278
+ value: r,
279
+ fullValue: r,
280
280
  absoluteValues: [],
281
281
  ghost: !0
282
282
  }), d += e.series.length;
283
- }), Zt.value = re, u < 1 ? requestAnimationFrame(s) : (a += 1, a === i && r());
283
+ }), Zt.value = te, ee < 1 ? requestAnimationFrame(c) : (o += 1, o === a && i());
284
284
  }
285
- requestAnimationFrame(s);
286
- }, o * n);
285
+ requestAnimationFrame(c);
286
+ }, s * r);
287
287
  });
288
288
  });
289
289
  }
290
290
  async function gn() {
291
291
  if (F.value.startAnimation?.show) {
292
- let e = L.value.flatMap((e) => e.series).map((e) => c(e.values).reduce((e, t) => e + t, 0));
292
+ let e = L.value.flatMap((e) => e.series).map((e) => n(e.values).reduce((e, t) => e + t, 0));
293
293
  M.value = e.map(() => 0), j.value = !0, Zt.value = L.value.map((e, t) => {
294
- let n = e.series.reduce((e, t) => e + c(t.values).reduce((e, t) => e + t, 0), 0);
294
+ let r = e.series.reduce((e, t) => e + n(t.values).reduce((e, t) => e + t, 0), 0);
295
295
  return {
296
296
  name: "__ghost__",
297
297
  arcOf: e.name,
@@ -300,8 +300,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
300
300
  seriesIndex: -1,
301
301
  datasetIndex: t,
302
302
  color: "transparent",
303
- value: n,
304
- fullValue: n,
303
+ value: r,
304
+ fullValue: r,
305
305
  absoluteValues: [],
306
306
  ghost: !0
307
307
  };
@@ -315,7 +315,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
315
315
  });
316
316
  let z = Ke(null), _n = Ke(null), B = p(() => F.value.debug);
317
317
  function vn() {
318
- if (ie(O.dataset) ? (ue({
318
+ if (c(O.dataset) ? (se({
319
319
  componentName: "VueUiNestedDonuts",
320
320
  type: "dataset",
321
321
  debug: B.value
@@ -343,7 +343,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
343
343
  elementId: `nested_donuts_${k.value}`,
344
344
  fileName: F.value.style.chart.title.text || "vue-ui-nested-donuts",
345
345
  options: F.value.userOptions.print
346
- }), Cn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), wn = p(() => de(F.value.customPalette)), V = S({
346
+ }), Cn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), wn = p(() => fe(F.value.customPalette)), V = S({
347
347
  dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
348
348
  showTable: F.value.table.show,
349
349
  showTooltip: F.value.style.chart.tooltip.show
@@ -368,42 +368,42 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
368
368
  index: t
369
369
  });
370
370
  }
371
- function En({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = ne }) {
371
+ function En({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = de }) {
372
372
  let o = performance.now();
373
373
  function s(c) {
374
- let l = Math.min((c - o) / n, 1), u = a(l);
375
- r(e + (t - e) * u, l), l < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
374
+ let l = Math.min((c - o) / n, 1), ee = a(l);
375
+ r(e + (t - e) * ee, l), l < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
376
376
  }
377
377
  requestAnimationFrame(s);
378
378
  }
379
379
  let W = S([]), G = p(() => {
380
380
  cn.value, L.value.forEach((e, t) => {
381
- [null, void 0].includes(e.name) && ue({
381
+ [null, void 0].includes(e.name) && se({
382
382
  componentName: "VueUiNestedDonuts",
383
383
  type: "datasetSerieAttribute",
384
384
  property: "name",
385
385
  index: t,
386
386
  debug: B.value
387
- }), [null, void 0].includes(e.series) ? ue({
387
+ }), [null, void 0].includes(e.series) ? se({
388
388
  componentName: "VueUiNestedDonuts",
389
389
  type: "datasetSerieAttribute",
390
390
  property: "series",
391
391
  index: t,
392
392
  debug: B.value
393
- }) : e.series.length === 0 ? ue({
393
+ }) : e.series.length === 0 ? se({
394
394
  componentName: "VueUiNestedDonuts",
395
395
  type: "datasetAttributeEmpty",
396
396
  property: `series at index ${t}`,
397
397
  debug: B.value
398
398
  }) : e.series.forEach((e, t) => {
399
- [null, void 0].includes(e.name) && ue({
399
+ [null, void 0].includes(e.name) && se({
400
400
  componentName: "VueUiNestedDonuts",
401
401
  type: "datasetSerieAttribute",
402
402
  property: "name",
403
403
  index: t,
404
404
  key: "serie",
405
405
  debug: B.value
406
- }), [null, void 0].includes(e.values) && ue({
406
+ }), [null, void 0].includes(e.values) && se({
407
407
  componentName: "VueUiNestedDonuts",
408
408
  type: "datasetSerieAttribute",
409
409
  property: "values",
@@ -414,23 +414,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
414
414
  });
415
415
  });
416
416
  let e = 0;
417
- return L.value.map((t, n) => ({
417
+ return L.value.map((t, r) => ({
418
418
  ...t,
419
- total: t.series.filter((e) => !W.value.includes(e.id)).map((e) => c(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
420
- datasetIndex: n,
421
- id: `${k.value}_${n}`,
422
- series: t.series.map((r, i) => {
423
- let a = c(r.values).reduce((e, t) => e + t, 0);
419
+ total: t.series.filter((e) => !W.value.includes(e.id)).map((e) => n(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
420
+ datasetIndex: r,
421
+ id: `${k.value}_${r}`,
422
+ series: t.series.map((i, o) => {
423
+ let s = n(i.values).reduce((e, t) => e + t, 0);
424
424
  return {
425
- name: r.name,
425
+ name: i.name,
426
426
  arcOf: t.name,
427
- arcOfId: `${k.value}_${n}`,
428
- id: `${k.value}_${n}_${i}`,
429
- seriesIndex: i,
430
- datasetIndex: n,
431
- color: l(r.color) || wn.value[i] || s[i % s.length],
432
- value: j.value ? M.value[e++] ?? 0 : a,
433
- absoluteValues: r.values || []
427
+ arcOfId: `${k.value}_${r}`,
428
+ id: `${k.value}_${r}_${o}`,
429
+ seriesIndex: o,
430
+ datasetIndex: r,
431
+ color: l(i.color) || wn.value[o] || a[o % a.length],
432
+ value: j.value ? M.value[e++] ?? 0 : s,
433
+ absoluteValues: i.values || []
434
434
  };
435
435
  })
436
436
  }));
@@ -465,18 +465,18 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
465
465
  U("selectLegend", q.value);
466
466
  }
467
467
  function Y(e) {
468
- let t = O.dataset.flatMap((e, t) => e.series.map((e, n) => ({
469
- value: c(e.values).reduce((e, t) => e + t, 0),
470
- id: `${k.value}_${t}_${n}`,
468
+ let t = O.dataset.flatMap((e, t) => e.series.map((e, r) => ({
469
+ value: n(e.values).reduce((e, t) => e + t, 0),
470
+ id: `${k.value}_${t}_${r}`,
471
471
  arcOfId: `${k.value}_${t}`
472
472
  }))).find((t) => t.id === e.id);
473
473
  if (!t) return;
474
- let n = G.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, r = J.value.flatMap((e) => e.series).find((t) => t.id === e.id), i = r ? r.value : 0, a = G.value.find((e) => e.id === t.arcOfId);
475
- if (!a) return;
476
- let o = a.series.map((e) => e.id), s = Dn(o, o.length - 1, W.value);
474
+ let r = G.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, i = J.value.flatMap((e) => e.series).find((t) => t.id === e.id), a = i ? i.value : 0, o = G.value.find((e) => e.id === t.arcOfId);
475
+ if (!o) return;
476
+ let s = o.series.map((e) => e.id), c = Dn(s, s.length - 1, W.value);
477
477
  W.value.includes(e.id) ? (W.value = W.value.filter((t) => t !== e.id), F.value.serieToggleAnimation.show ? En({
478
- from: i,
479
- to: n,
478
+ from: a,
479
+ to: r,
480
480
  duration: F.value.serieToggleAnimation.durationMs,
481
481
  onUpdate: (t) => {
482
482
  J.value = J.value.map((n) => ({
@@ -494,10 +494,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
494
494
  ...t,
495
495
  series: t.series.map((t) => t.id === e.id ? {
496
496
  ...t,
497
- value: n
497
+ value: r
498
498
  } : t)
499
- })), U("selectLegend", q.value))) : s && (F.value.serieToggleAnimation.show ? En({
500
- from: i,
499
+ })), U("selectLegend", q.value))) : c && (F.value.serieToggleAnimation.show ? En({
500
+ from: a,
501
501
  to: 0,
502
502
  duration: F.value.serieToggleAnimation.durationMs,
503
503
  onUpdate: (t) => {
@@ -539,7 +539,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
539
539
  let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = K.value - t * K.value / J.value.length, i = j.value ? Zt.value.find((e) => e.datasetIndex === t) : null, a = [...e.series, ...i ? [i] : []].map((e) => ({
540
540
  ...e,
541
541
  value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
542
- })), o = ae({ series: [{
542
+ })), o = ie({ series: [{
543
543
  name: "_",
544
544
  color: F.value.style.chart.layout.donut.emptyFill,
545
545
  value: 1
@@ -552,13 +552,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
552
552
  radius: r,
553
553
  skeleton: o,
554
554
  fullCirclePath: s,
555
- donut: ae({ series: a }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value)
555
+ donut: ie({ series: a }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value)
556
556
  };
557
557
  })), Pn = p(() => [...G.value].map((e, t) => {
558
558
  let n = t * K.value / G.value.length;
559
559
  return {
560
560
  sizeRatio: n,
561
- donut: ae({ series: [{ value: 1 }] }, H.value.width / 2, H.value.height / 2, K.value - n, K.value - n, 1.99999, 2, 1, 360, 105.25, K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio)[0]
561
+ donut: ie({ series: [{ value: 1 }] }, H.value.width / 2, H.value.height / 2, K.value - n, K.value - n, 1.99999, 2, 1, 360, 105.25, K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio)[0]
562
562
  };
563
563
  })), Fn = S(null), In = S(null), Z = S(null), Ln = S(null);
564
564
  function Rn({ datapoint: e, seriesIndex: t }) {
@@ -587,7 +587,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
587
587
  config: F.value
588
588
  };
589
589
  let i = F.value.style.chart.tooltip.customFormat;
590
- if (fe(i) && te(() => i({
590
+ if (ee(i) && ae(() => i({
591
591
  seriesIndex: n,
592
592
  datapoint: e,
593
593
  series: J.value,
@@ -620,7 +620,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
620
620
  config: F.value.style.chart.tooltip,
621
621
  showVal: F.value.style.chart.tooltip.showValue,
622
622
  showPercentage: F.value.style.chart.tooltip.showPercentage,
623
- val: d(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
623
+ val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
624
624
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
625
625
  v: e.value,
626
626
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -640,7 +640,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
640
640
  </div>
641
641
  `;
642
642
  });
643
- } else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${d(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
643
+ } else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
644
644
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
645
645
  v: e.value,
646
646
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -670,42 +670,42 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
670
670
  if (!F.value.style.chart.tooltip.showAllItemsAtIndex || W.value.length) return [null, void 0].includes(In.value) || In.value === e.id ? "" : `url(#blur_${k.value})`;
671
671
  }
672
672
  let Un = p(() => G.value.map((e, t) => {
673
- let n = e.series.filter((e) => !W.value.includes(e.id)), r = j.value ? n.map((e) => {
674
- let n = L.value[t].series.findIndex((t) => t.name === e.name);
675
- return c(L.value[t].series[n].values).reduce((e, t) => e + t, 0);
676
- }).reduce((e, t) => e + t, 0) : n.map((e) => e.value).reduce((e, t) => e + t, 0);
677
- return e.series.map((e, n) => {
678
- let i = c(L.value[t].series[n].values).reduce((e, t) => e + t, 0), a = j.value ? i : e.value, o = zn({
679
- val: d(F.value.style.chart.layout.labels.dataLabels.formatter, a, u({
673
+ let r = e.series.filter((e) => !W.value.includes(e.id)), i = j.value ? r.map((e) => {
674
+ let r = L.value[t].series.findIndex((t) => t.name === e.name);
675
+ return n(L.value[t].series[r].values).reduce((e, t) => e + t, 0);
676
+ }).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
677
+ return e.series.map((e, r) => {
678
+ let a = n(L.value[t].series[r].values).reduce((e, t) => e + t, 0), o = j.value ? a : e.value, s = zn({
679
+ val: re(F.value.style.chart.layout.labels.dataLabels.formatter, o, u({
680
680
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
681
- v: a,
681
+ v: o,
682
682
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
683
683
  r: F.value.style.chart.legend.roundingValue
684
684
  }), {
685
685
  datapoint: e,
686
- seriesIndex: n
686
+ seriesIndex: r
687
687
  }),
688
- percentage: isNaN(a / r) || W.value.includes(e.id) ? "-" : u({
689
- v: a / r * 100,
688
+ percentage: isNaN(o / i) || W.value.includes(e.id) ? "-" : u({
689
+ v: o / i * 100,
690
690
  s: "%",
691
691
  r: F.value.style.chart.legend.roundingPercentage
692
692
  }),
693
693
  showVal: F.value.style.chart.legend.showValue,
694
694
  showPercentage: F.value.style.chart.legend.showPercentage,
695
695
  config: F.value.style.chart.legend
696
- }), s = `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${o}`;
696
+ }), c = `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${s}`;
697
697
  return {
698
698
  name: e.name,
699
699
  color: e.color,
700
- value: a,
701
- display: s,
702
- svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${s}`,
700
+ value: o,
701
+ display: c,
702
+ svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${c}`,
703
703
  shape: "circle",
704
704
  arcOf: e.arcOf,
705
705
  id: e.id,
706
- seriesIndex: n,
706
+ seriesIndex: r,
707
707
  datasetIndex: t,
708
- total: r,
708
+ total: i,
709
709
  opacity: W.value.includes(e.id) ? .5 : 1,
710
710
  segregate: () => Y(e),
711
711
  isSegregated: W.value.includes(e.id)
@@ -1156,7 +1156,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1156
1156
  _("div", tt, [(x(), g("svg", {
1157
1157
  ref_key: "svgRef",
1158
1158
  ref: R,
1159
- xmlns: E(le),
1159
+ xmlns: E(ue),
1160
1160
  "aria-describedby": `chart-instructions-${k.value}`,
1161
1161
  class: Ve({
1162
1162
  "vue-data-ui-fullscreen--on": P.value,
@@ -1195,7 +1195,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1195
1195
  ],
1196
1196
  [
1197
1197
  `${(1 - Mn.value / Nn.value[t]) * 100}%`,
1198
- E(n)("#FFFFFF", 0),
1198
+ E(i)("#FFFFFF", 0),
1199
1199
  0
1200
1200
  ],
1201
1201
  [
@@ -1289,25 +1289,25 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1289
1289
  }) : e.name), 9, gt)) : h("", !0)]))), 256))]))), 256))])) : h("", !0),
1290
1290
  F.value.style.chart.layout.labels.dataLabels.show ? (x(), g("g", _t, [(x(!0), g(f, null, C(X.value, (e, t) => (x(), g("g", null, [(x(!0), g(f, null, C(e.donut.filter((e) => !e.ghost), (e, n) => (x(), g("g", { filter: Hn(e, n) }, [Xe(_("text", {
1291
1291
  opacity: +!!Vn(e),
1292
- "text-anchor": E(re)(e, !0).anchor,
1293
- x: E(re)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1294
- y: E(se)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst && F.value.style.chart.layout.labels.dataLabels.showValue ? F.value.style.chart.layout.labels.dataLabels.fontSize : 0),
1292
+ "text-anchor": E(d)(e, !0).anchor,
1293
+ x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1294
+ y: E(ce)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst && F.value.style.chart.layout.labels.dataLabels.showValue ? F.value.style.chart.layout.labels.dataLabels.fontSize : 0),
1295
1295
  fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
1296
1296
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1297
1297
  "font-weight": F.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
1298
- }, T(E(i)(E(u)({
1298
+ }, T(E(s)(E(u)({
1299
1299
  v: e.proportion * 100,
1300
1300
  s: "%",
1301
1301
  r: F.value.style.chart.layout.labels.dataLabels.roundingPercentage
1302
1302
  }), F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? "(" : "", F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? ")" : "")), 9, yt), [[Je, V.value.dataLabels.show && F.value.style.chart.layout.labels.dataLabels.showPercentage]]), Xe(_("text", {
1303
1303
  opacity: +!!Vn(e),
1304
- "text-anchor": E(re)(e, !0).anchor,
1305
- x: E(re)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1306
- y: E(se)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst || !F.value.style.chart.layout.labels.dataLabels.showPercentage ? 0 : F.value.style.chart.layout.labels.dataLabels.fontSize),
1304
+ "text-anchor": E(d)(e, !0).anchor,
1305
+ x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1306
+ y: E(ce)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst || !F.value.style.chart.layout.labels.dataLabels.showPercentage ? 0 : F.value.style.chart.layout.labels.dataLabels.fontSize),
1307
1307
  fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
1308
1308
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1309
1309
  "font-weight": F.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1310
- }, T(E(i)(E(d)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
1310
+ }, T(E(s)(E(re)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
1311
1311
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
1312
1312
  v: e.value,
1313
1313
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1361,7 +1361,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1361
1361
  parent: A.value,
1362
1362
  content: Vt.value,
1363
1363
  isFullscreen: P.value,
1364
- isCustom: E(fe)(F.value.style.chart.tooltip.customFormat),
1364
+ isCustom: E(ee)(F.value.style.chart.tooltip.customFormat),
1365
1365
  smooth: F.value.style.chart.tooltip.smooth,
1366
1366
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1367
1367
  smoothForce: F.value.style.chart.tooltip.smoothForce,