vue-data-ui 3.25.3 → 3.25.5

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 +13 -13
  2. package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
  3. package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  4. package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
  5. package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
  6. package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  7. package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
  8. package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
  9. package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
  10. package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
  12. package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
  13. package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
  14. package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
  15. package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
  16. package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  17. package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
  18. package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
  19. package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-label.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  92. package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
  93. package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
  94. package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
  95. package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
  96. package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
  97. package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
  98. package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +70 -1
  104. package/dist/types/vue-ui-annotator.d.ts +58 -2
  105. package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
  106. package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
  107. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
  108. package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
  109. package/dist/utils.js +3 -3
  110. package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
  111. package/dist/vue-data-ui.js +74 -74
  112. package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
  113. package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
  114. package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
  115. package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
  116. package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
  117. package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
  118. package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
  119. package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
  120. package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
  121. package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
  122. package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
  123. package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
  124. package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
  125. package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
  126. package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
  127. package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
  128. package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
  129. package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
  130. package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
  131. package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
  132. package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
  133. package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
  134. package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
  135. package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
  136. package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
  137. package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
  138. package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
  139. package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
  140. package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
  141. package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
  142. package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
  143. package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
  144. package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
  145. package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
  146. package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
  147. package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
  148. package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
  149. package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
  150. package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
  151. package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
  152. package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
  153. package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
  154. package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
  155. package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
  156. package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
  157. package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
  158. package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
  159. package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
  160. package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
  161. package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
  162. package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
  163. package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
  164. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
  165. package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
  166. package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
  167. package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
  168. package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
  169. package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
  170. package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
  171. package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
  172. package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
  173. package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
  174. package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
  175. package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
  176. package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
  177. package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
  178. package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
  179. package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
  180. package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
  181. package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
  182. package/package.json +1 -1
  183. package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
  184. package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
  185. package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
  186. package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
  187. package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
  188. package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
  189. package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
  190. package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
  191. package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
  192. package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
  193. package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
  194. package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
  195. package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
  196. package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
  197. package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
  198. package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
  199. package/dist/vue-ui-table-DMJWplCT.js +0 -1352
  200. package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
@@ -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, 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-C7t_vY8w.js";
2
+ import { $ as t, Ct as n, D as r, Lt as i, Mt as a, Pt as o, Rt as s, S as ee, Ut as c, Vt as l, X as u, Yt as te, Zt as ne, b as re, f as ie, i as ae, lt as oe, n as se, nt as d, p as ce, q as le, t as ue, tt as de, w as fe } from "./lib-Dql7cqyA.js";
3
3
  import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
- import { t as he } from "./useConfig-CyCVHo81.js";
5
- import { t as ge } from "./usePrinter-VVTuFI6H.js";
4
+ import { t as he } from "./useConfig-C_mX5pOZ.js";
5
+ import { t as ge } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ye } from "./useNestedProp-BfTgFMXF.js";
7
+ import { t as ye } from "./useNestedProp-Chvyfpl-.js";
8
8
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as xe } from "./useChartExport-iwOqiIWX.js";
10
- import { t as Se } from "./img-IjqD_xWl.js";
11
- import { n as Ce } from "./Title-DIf1lG-_.js";
10
+ import { t as Se } from "./img-DhGApYG0.js";
11
+ import { n as Ce } from "./Title-CPHi-evi.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-BF-thEu0.js";
15
+ import { t as Oe } from "./BaseLegendToggle-__JnV08B.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-Bgt85NUY.js";
20
- import { t as Ne } from "./Legend-DmitJZi5.js";
19
+ import { t as Me } from "./labelUtils-BXX2NzRe.js";
20
+ import { t as Ne } from "./Legend-X4kF4PvW.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,7 +110,7 @@ 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-C3jBTIhR.js")), kt = v(() => import("./BaseIcon-CVrQHhw1.js").then((e) => e.n)), At = v(() => import("./vue-ui-accordion-DuARUUdY.js").then((e) => e.n)), jt = v(() => import("./DataTable-BBpTEQY5.js")), Mt = v(() => import("./UserOptions-m0uxKoiy.js").then((e) => e.n)), Nt = v(() => import("./PenAndPaper-DzM1vUXR.js").then((e) => e.t)), Pt = v(() => import("./PackageVersion-hRJtldYi.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-BCQY4Tir.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-hhrkQ3Lk.js")), kt = v(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), At = v(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), jt = v(() => import("./DataTable-COIO9gi4.js")), Mt = v(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Nt = v(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), Pt = v(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-BM_R41j8.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
  },
@@ -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(() => te({
185
+ }, sn = p(() => ne({
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: te({
216
+ skeletonConfig: ne({
217
217
  defaultConfig: F.value,
218
218
  userConfig: sn.value
219
219
  })
@@ -235,7 +235,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
235
235
  userConfig: O.config,
236
236
  defaultConfig: r
237
237
  }),
238
- customPalette: e.customPalette.length ? e.customPalette : o[n] || a
238
+ customPalette: e.customPalette.length ? e.customPalette : te[n] || i
239
239
  };
240
240
  }
241
241
  } else t = e;
@@ -254,21 +254,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
254
254
  left: r
255
255
  };
256
256
  });
257
- function hn(e, t = 1e3, r = 50) {
258
- return new Promise((i) => {
259
- let a = e.length;
260
- M.value = Array(a).fill(0), Zt.value = [];
261
- let o = 0;
262
- e.forEach((e, s) => {
257
+ function hn(e, t = 1e3, n = 50) {
258
+ return new Promise((r) => {
259
+ let i = e.length;
260
+ M.value = Array(i).fill(0), Zt.value = [];
261
+ let a = 0;
262
+ e.forEach((e, o) => {
263
263
  setTimeout(() => {
264
- let r = performance.now();
265
- function c(l) {
266
- let ee = Math.min((l - r) / t, 1), u = e * de(ee);
267
- M.value[s] = u, M.value = [...M.value];
268
- let te = [], d = 0;
264
+ let n = performance.now();
265
+ function s(ee) {
266
+ let c = Math.min((ee - n) / t, 1), u = e * de(c);
267
+ M.value[o] = u, M.value = [...M.value];
268
+ let te = [], ne = 0;
269
269
  O.dataset.forEach((e, t) => {
270
- 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));
271
- r > Number.MIN_VALUE && te.push({
270
+ let n = re(e.series.reduce((e, t) => e + re(l(t.values).reduce((e, t) => e + t, 0)), 0)) - re(M.value.slice(ne, ne + e.series.length).reduce((e, t) => e + t, 0));
271
+ n > Number.MIN_VALUE && te.push({
272
272
  name: "__ghost__",
273
273
  arcOf: e.name,
274
274
  arcOfId: `${k.value}_${t}`,
@@ -276,23 +276,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
276
276
  seriesIndex: -1,
277
277
  datasetIndex: t,
278
278
  color: "transparent",
279
- value: r,
280
- fullValue: r,
279
+ value: n,
280
+ fullValue: n,
281
281
  absoluteValues: [],
282
282
  ghost: !0
283
- }), d += e.series.length;
284
- }), Zt.value = te, ee < 1 ? requestAnimationFrame(c) : (o += 1, o === a && i());
283
+ }), ne += e.series.length;
284
+ }), Zt.value = te, c < 1 ? requestAnimationFrame(s) : (a += 1, a === i && r());
285
285
  }
286
- requestAnimationFrame(c);
287
- }, s * r);
286
+ requestAnimationFrame(s);
287
+ }, o * n);
288
288
  });
289
289
  });
290
290
  }
291
291
  async function gn() {
292
292
  if (F.value.startAnimation?.show) {
293
- let e = L.value.flatMap((e) => e.series).map((e) => n(e.values).reduce((e, t) => e + t, 0));
293
+ let e = L.value.flatMap((e) => e.series).map((e) => l(e.values).reduce((e, t) => e + t, 0));
294
294
  M.value = e.map(() => 0), j.value = !0, Zt.value = L.value.map((e, t) => {
295
- let r = e.series.reduce((e, t) => e + n(t.values).reduce((e, t) => e + t, 0), 0);
295
+ let n = e.series.reduce((e, t) => e + l(t.values).reduce((e, t) => e + t, 0), 0);
296
296
  return {
297
297
  name: "__ghost__",
298
298
  arcOf: e.name,
@@ -301,8 +301,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
301
301
  seriesIndex: -1,
302
302
  datasetIndex: t,
303
303
  color: "transparent",
304
- value: r,
305
- fullValue: r,
304
+ value: n,
305
+ fullValue: n,
306
306
  absoluteValues: [],
307
307
  ghost: !0
308
308
  };
@@ -316,7 +316,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
316
316
  });
317
317
  let z = Ke(null), _n = Ke(null), B = p(() => F.value.debug);
318
318
  function vn() {
319
- if (c(O.dataset) ? (se({
319
+ if (o(O.dataset) ? (d({
320
320
  componentName: "VueUiNestedDonuts",
321
321
  type: "dataset",
322
322
  debug: B.value
@@ -371,40 +371,40 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
371
371
  }
372
372
  function En({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = de }) {
373
373
  let o = performance.now();
374
- function s(c) {
375
- let l = Math.min((c - o) / n, 1), ee = a(l);
376
- r(e + (t - e) * ee, l), l < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
374
+ function s(ee) {
375
+ let c = Math.min((ee - o) / n, 1), l = a(c);
376
+ r(e + (t - e) * l, c), c < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
377
377
  }
378
378
  requestAnimationFrame(s);
379
379
  }
380
380
  let W = S([]), G = p(() => {
381
381
  cn.value, L.value.forEach((e, t) => {
382
- [null, void 0].includes(e.name) && se({
382
+ [null, void 0].includes(e.name) && d({
383
383
  componentName: "VueUiNestedDonuts",
384
384
  type: "datasetSerieAttribute",
385
385
  property: "name",
386
386
  index: t,
387
387
  debug: B.value
388
- }), [null, void 0].includes(e.series) ? se({
388
+ }), [null, void 0].includes(e.series) ? d({
389
389
  componentName: "VueUiNestedDonuts",
390
390
  type: "datasetSerieAttribute",
391
391
  property: "series",
392
392
  index: t,
393
393
  debug: B.value
394
- }) : e.series.length === 0 ? se({
394
+ }) : e.series.length === 0 ? d({
395
395
  componentName: "VueUiNestedDonuts",
396
396
  type: "datasetAttributeEmpty",
397
397
  property: `series at index ${t}`,
398
398
  debug: B.value
399
399
  }) : e.series.forEach((e, t) => {
400
- [null, void 0].includes(e.name) && se({
400
+ [null, void 0].includes(e.name) && d({
401
401
  componentName: "VueUiNestedDonuts",
402
402
  type: "datasetSerieAttribute",
403
403
  property: "name",
404
404
  index: t,
405
405
  key: "serie",
406
406
  debug: B.value
407
- }), [null, void 0].includes(e.values) && se({
407
+ }), [null, void 0].includes(e.values) && d({
408
408
  componentName: "VueUiNestedDonuts",
409
409
  type: "datasetSerieAttribute",
410
410
  property: "values",
@@ -415,23 +415,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
415
415
  });
416
416
  });
417
417
  let e = 0;
418
- return L.value.map((t, r) => ({
418
+ return L.value.map((t, n) => ({
419
419
  ...t,
420
- 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),
421
- datasetIndex: r,
422
- id: `${k.value}_${r}`,
423
- series: t.series.map((i, o) => {
424
- let s = n(i.values).reduce((e, t) => e + t, 0);
420
+ total: t.series.filter((e) => !W.value.includes(e.id)).map((e) => l(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
421
+ datasetIndex: n,
422
+ id: `${k.value}_${n}`,
423
+ series: t.series.map((r, a) => {
424
+ let o = l(r.values).reduce((e, t) => e + t, 0);
425
425
  return {
426
- name: i.name,
426
+ name: r.name,
427
427
  arcOf: t.name,
428
- arcOfId: `${k.value}_${r}`,
429
- id: `${k.value}_${r}_${o}`,
430
- seriesIndex: o,
431
- datasetIndex: r,
432
- color: l(i.color) || wn.value[o] || a[o % a.length],
433
- value: j.value ? M.value[e++] ?? 0 : s,
434
- absoluteValues: i.values || []
428
+ arcOfId: `${k.value}_${n}`,
429
+ id: `${k.value}_${n}_${a}`,
430
+ seriesIndex: a,
431
+ datasetIndex: n,
432
+ color: ee(r.color) || wn.value[a] || i[a % i.length],
433
+ value: j.value ? M.value[e++] ?? 0 : o,
434
+ absoluteValues: r.values || []
435
435
  };
436
436
  })
437
437
  }));
@@ -466,18 +466,18 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
466
466
  U("selectLegend", q.value);
467
467
  }
468
468
  function Y(e) {
469
- let t = O.dataset.flatMap((e, t) => e.series.map((e, r) => ({
470
- value: n(e.values).reduce((e, t) => e + t, 0),
471
- id: `${k.value}_${t}_${r}`,
469
+ let t = O.dataset.flatMap((e, t) => e.series.map((e, n) => ({
470
+ value: l(e.values).reduce((e, t) => e + t, 0),
471
+ id: `${k.value}_${t}_${n}`,
472
472
  arcOfId: `${k.value}_${t}`
473
473
  }))).find((t) => t.id === e.id);
474
474
  if (!t) return;
475
- 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);
476
- if (!o) return;
477
- let s = o.series.map((e) => e.id), c = Dn(s, s.length - 1, W.value);
475
+ 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);
476
+ if (!a) return;
477
+ let o = a.series.map((e) => e.id), s = Dn(o, o.length - 1, W.value);
478
478
  W.value.includes(e.id) ? (W.value = W.value.filter((t) => t !== e.id), F.value.serieToggleAnimation.show ? En({
479
- from: a,
480
- to: r,
479
+ from: i,
480
+ to: n,
481
481
  duration: F.value.serieToggleAnimation.durationMs,
482
482
  onUpdate: (t) => {
483
483
  J.value = J.value.map((n) => ({
@@ -495,10 +495,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
495
495
  ...t,
496
496
  series: t.series.map((t) => t.id === e.id ? {
497
497
  ...t,
498
- value: r
498
+ value: n
499
499
  } : t)
500
- })), U("selectLegend", q.value))) : c && (F.value.serieToggleAnimation.show ? En({
501
- from: a,
500
+ })), U("selectLegend", q.value))) : s && (F.value.serieToggleAnimation.show ? En({
501
+ from: i,
502
502
  to: 0,
503
503
  duration: F.value.serieToggleAnimation.durationMs,
504
504
  onUpdate: (t) => {
@@ -537,29 +537,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
537
537
  }) : W.value.includes(t.id) || Y({ id: t.id }));
538
538
  }
539
539
  let Mn = p(() => K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio), Nn = p(() => J.value.map((e, t) => K.value - t * K.value / G.value.length)), X = p(() => J.value.map((e, t) => {
540
- 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
+ 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, o = [...e.series, ...i ? [i] : []].map((e) => ({
541
541
  ...e,
542
542
  value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
543
- })), o = ie({ series: [{
543
+ })), s = a({ series: [{
544
544
  name: "_",
545
545
  color: F.value.style.chart.layout.donut.emptyFill,
546
546
  value: 1
547
- }] }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value), s = `M ${H.value.width / 2},${H.value.height / 2 + r}
547
+ }] }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value), ee = `M ${H.value.width / 2},${H.value.height / 2 + r}
548
548
  a ${r},${r} 0 1,1 0,${-2 * r}
549
549
  a ${r},${r} 0 1,1 0,${2 * r}`;
550
550
  return {
551
551
  ...e,
552
552
  hasData: n,
553
553
  radius: r,
554
- skeleton: o,
555
- fullCirclePath: s,
556
- donut: ie({ series: a }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value)
554
+ skeleton: s,
555
+ fullCirclePath: ee,
556
+ donut: a({ series: o }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value)
557
557
  };
558
558
  })), Pn = p(() => [...G.value].map((e, t) => {
559
559
  let n = t * K.value / G.value.length;
560
560
  return {
561
561
  sizeRatio: n,
562
- 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
+ donut: a({ 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]
563
563
  };
564
564
  })), Fn = S(null), In = S(null), Z = S(null), Ln = S(null);
565
565
  function Rn({ datapoint: e, seriesIndex: t }) {
@@ -577,24 +577,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
577
577
  showPercentage: r
578
578
  });
579
579
  }
580
- function Bn({ datapoint: e, _relativeIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
580
+ function Bn({ datapoint: e, _relativeIndex: t, seriesIndex: r, triggerMode: i = "pointer" }) {
581
581
  F.value.events.datapointEnter && F.value.events.datapointEnter({
582
582
  datapoint: e,
583
- seriesIndex: n
584
- }), nn.value = r, N.value = n, Fn.value = e.arcOfId, In.value = e.id, Z.value = n, Ht.value = e.id, Ln.value = {
583
+ seriesIndex: r
584
+ }), nn.value = i, N.value = r, Fn.value = e.arcOfId, In.value = e.id, Z.value = r, Ht.value = e.id, Ln.value = {
585
585
  datapoint: e,
586
- seriesIndex: n,
586
+ seriesIndex: r,
587
587
  series: J.value,
588
588
  config: F.value
589
589
  };
590
- let i = F.value.style.chart.tooltip.customFormat;
591
- if (ee(i) && ae(() => i({
592
- seriesIndex: n,
590
+ let a = F.value.style.chart.tooltip.customFormat;
591
+ if (n(a) && oe(() => a({
592
+ seriesIndex: r,
593
593
  datapoint: e,
594
594
  series: J.value,
595
595
  config: F.value
596
- }))) Vt.value = i({
597
- seriesIndex: n,
596
+ }))) Vt.value = a({
597
+ seriesIndex: r,
598
598
  datapoint: e,
599
599
  series: J.value,
600
600
  config: F.value
@@ -602,11 +602,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
602
602
  else {
603
603
  let t = "";
604
604
  if (F.value.style.chart.tooltip.showAllItemsAtIndex && W.value.length === 0) {
605
- let r = J.value.map((e) => e.series.find((e) => e.seriesIndex === n));
606
- r.forEach((i, a) => {
605
+ let n = J.value.map((e) => e.series.find((e) => e.seriesIndex === r));
606
+ n.forEach((i, a) => {
607
607
  if (!i) return "";
608
608
  t += `
609
- <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${a < r.length - 1 ? `border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor}` : ""}">
609
+ <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${a < n.length - 1 ? `border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor}` : ""}">
610
610
  <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
611
611
  <svg viewBox="0 0 20 20" height="${F.value.style.chart.tooltip.fontSize}" width="${F.value.style.chart.tooltip.fontSize}">
612
612
  <circle cx="10" cy="10" r="10" fill="${i.color}"/>
@@ -621,14 +621,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
621
621
  config: F.value.style.chart.tooltip,
622
622
  showVal: F.value.style.chart.tooltip.showValue,
623
623
  showPercentage: F.value.style.chart.tooltip.showPercentage,
624
- val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
624
+ val: ae(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
625
625
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
626
626
  v: e.value,
627
627
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
628
628
  r: F.value.style.chart.tooltip.roundingValue
629
629
  }), {
630
630
  datapoint: e,
631
- seriesIndex: n
631
+ seriesIndex: r
632
632
  }),
633
633
  percentage: u({
634
634
  v: i.proportion * 100,
@@ -641,14 +641,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
641
641
  </div>
642
642
  `;
643
643
  });
644
- } 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
+ } 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>${ae(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
645
645
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
646
646
  v: e.value,
647
647
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
648
648
  r: F.value.style.chart.tooltip.roundingValue
649
649
  }), {
650
650
  datapoint: e,
651
- seriesIndex: n
651
+ seriesIndex: r
652
652
  })}</b>`), F.value.style.chart.tooltip.showPercentage && (F.value.style.chart.tooltip.showValue ? t += `<span>(${u({
653
653
  v: e.proportion * 100,
654
654
  s: "%",
@@ -671,42 +671,42 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
671
671
  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})`;
672
672
  }
673
673
  let Un = p(() => G.value.map((e, t) => {
674
- let r = e.series.filter((e) => !W.value.includes(e.id)), i = j.value ? r.map((e) => {
675
- let r = L.value[t].series.findIndex((t) => t.name === e.name);
676
- return n(L.value[t].series[r].values).reduce((e, t) => e + t, 0);
677
- }).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
678
- return e.series.map((e, r) => {
679
- let a = n(L.value[t].series[r].values).reduce((e, t) => e + t, 0), o = j.value ? a : e.value, s = zn({
680
- val: re(F.value.style.chart.layout.labels.dataLabels.formatter, o, u({
674
+ let n = e.series.filter((e) => !W.value.includes(e.id)), r = j.value ? n.map((e) => {
675
+ let n = L.value[t].series.findIndex((t) => t.name === e.name);
676
+ return l(L.value[t].series[n].values).reduce((e, t) => e + t, 0);
677
+ }).reduce((e, t) => e + t, 0) : n.map((e) => e.value).reduce((e, t) => e + t, 0);
678
+ return e.series.map((e, n) => {
679
+ let i = l(L.value[t].series[n].values).reduce((e, t) => e + t, 0), a = j.value ? i : e.value, o = zn({
680
+ val: ae(F.value.style.chart.layout.labels.dataLabels.formatter, a, u({
681
681
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
682
- v: o,
682
+ v: a,
683
683
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
684
684
  r: F.value.style.chart.legend.roundingValue
685
685
  }), {
686
686
  datapoint: e,
687
- seriesIndex: r
687
+ seriesIndex: n
688
688
  }),
689
- percentage: isNaN(o / i) || W.value.includes(e.id) ? "-" : u({
690
- v: o / i * 100,
689
+ percentage: isNaN(a / r) || W.value.includes(e.id) ? "-" : u({
690
+ v: a / r * 100,
691
691
  s: "%",
692
692
  r: F.value.style.chart.legend.roundingPercentage
693
693
  }),
694
694
  showVal: F.value.style.chart.legend.showValue,
695
695
  showPercentage: F.value.style.chart.legend.showPercentage,
696
696
  config: F.value.style.chart.legend
697
- }), c = `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${s}`;
697
+ }), s = `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${o}`;
698
698
  return {
699
699
  name: e.name,
700
700
  color: e.color,
701
- value: o,
702
- display: c,
703
- svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${c}`,
701
+ value: a,
702
+ display: s,
703
+ svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${s}`,
704
704
  shape: "circle",
705
705
  arcOf: e.arcOf,
706
706
  id: e.id,
707
- seriesIndex: r,
707
+ seriesIndex: n,
708
708
  datasetIndex: t,
709
- total: i,
709
+ total: r,
710
710
  opacity: W.value.includes(e.id) ? .5 : 1,
711
711
  segregate: () => Y(e),
712
712
  isSegregated: W.value.includes(e.id)
@@ -924,13 +924,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
924
924
  });
925
925
  return;
926
926
  }
927
- let a = N.value, o = Z.value, s = a !== null && a >= 0 && a < $.value.length, c = o !== null && o >= 0 && o < $.value.length;
928
- s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
929
- let l = $.value[a];
930
- l && (N.value = a, gr(), Bn({
931
- datapoint: l,
927
+ let a = N.value, o = Z.value, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
928
+ s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
929
+ let c = $.value[a];
930
+ c && (N.value = a, gr(), Bn({
931
+ datapoint: c,
932
932
  relativeIndex: a,
933
- seriesIndex: l.seriesIndex,
933
+ seriesIndex: c.seriesIndex,
934
934
  show: !0,
935
935
  triggerMode: "keyboard"
936
936
  }));
@@ -997,6 +997,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
997
997
  color: F.value.style.chart.color,
998
998
  active: Zn.value,
999
999
  isCursorPointer: I.value,
1000
+ palette: F.value.userOptions.annotatorPalette,
1000
1001
  onClose: Qn
1001
1002
  }, {
1002
1003
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1011,7 +1012,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1011
1012
  "backgroundColor",
1012
1013
  "color",
1013
1014
  "active",
1014
- "isCursorPointer"
1015
+ "isCursorPointer",
1016
+ "palette"
1015
1017
  ])) : h("", !0),
1016
1018
  Cn.value ? (x(), g("div", {
1017
1019
  key: 2,
@@ -1196,7 +1198,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1196
1198
  ],
1197
1199
  [
1198
1200
  `${(1 - Mn.value / Nn.value[t]) * 100}%`,
1199
- E(i)("#FFFFFF", 0),
1201
+ E(c)("#FFFFFF", 0),
1200
1202
  0
1201
1203
  ],
1202
1204
  [
@@ -1273,7 +1275,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1273
1275
  "text-anchor": "middle",
1274
1276
  method: "align",
1275
1277
  spacing: "auto"
1276
- }, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(oe)({
1278
+ }, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(se)({
1277
1279
  source: e.name,
1278
1280
  length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1279
1281
  }) : e.name), 9, ht)], 8, mt)) : h("", !0)]))), 256))]))), 256)) : (x(!0), g(f, { key: 1 }, C(X.value, (e, t) => (x(), g("g", null, [(x(!0), g(f, null, C(e.donut, (t, n) => (x(), g("g", null, [n === 0 && H.value.width && H.value.height ? (x(), g("text", {
@@ -1284,14 +1286,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1284
1286
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1285
1287
  "font-weight": F.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
1286
1288
  fill: F.value.style.chart.layout.labels.dataLabels.color
1287
- }, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(oe)({
1289
+ }, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(se)({
1288
1290
  source: e.name,
1289
1291
  length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1290
1292
  }) : e.name), 9, gt)) : h("", !0)]))), 256))]))), 256))])) : h("", !0),
1291
1293
  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", {
1292
1294
  opacity: +!!Vn(e),
1293
- "text-anchor": E(d)(e, !0).anchor,
1294
- x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1295
+ "text-anchor": E(ie)(e, !0).anchor,
1296
+ x: E(ie)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1295
1297
  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),
1296
1298
  fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
1297
1299
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
@@ -1302,13 +1304,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1302
1304
  r: F.value.style.chart.layout.labels.dataLabels.roundingPercentage
1303
1305
  }), 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", {
1304
1306
  opacity: +!!Vn(e),
1305
- "text-anchor": E(d)(e, !0).anchor,
1306
- x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1307
+ "text-anchor": E(ie)(e, !0).anchor,
1308
+ x: E(ie)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
1307
1309
  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),
1308
1310
  fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
1309
1311
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1310
1312
  "font-weight": F.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1311
- }, T(E(s)(E(re)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
1313
+ }, T(E(s)(E(ae)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
1312
1314
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
1313
1315
  v: e.value,
1314
1316
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1362,7 +1364,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1362
1364
  parent: A.value,
1363
1365
  content: Vt.value,
1364
1366
  isFullscreen: P.value,
1365
- isCustom: E(ee)(F.value.style.chart.tooltip.customFormat),
1367
+ isCustom: E(n)(F.value.style.chart.tooltip.customFormat),
1366
1368
  smooth: F.value.style.chart.tooltip.smooth,
1367
1369
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1368
1370
  smoothForce: F.value.style.chart.tooltip.smoothForce,
@@ -1496,6 +1498,6 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
1496
1498
  w(e.$slots, "skeleton", {}, () => [E(cn) ? (x(), m(ve, { key: 0 })) : h("", !0)], !0)
1497
1499
  ], 46, Qe));
1498
1500
  }
1499
- }, [["__scopeId", "data-v-bbf98f8b"]]);
1501
+ }, [["__scopeId", "data-v-cbec12a9"]]);
1500
1502
  //#endregion
1501
1503
  export { Ze as n, Ot as t };