vue-data-ui 3.22.10 → 3.22.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 (192) hide show
  1. package/dist/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
  11. package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
  15. package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
  94. package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
  95. package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/composables.d.ts +28 -11
  102. package/dist/types/vue-data-ui.d.ts +27 -9
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  107. package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
  108. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  109. package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
  110. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  111. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  112. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  113. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  114. package/dist/utils.js +3 -3
  115. package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
  116. package/dist/vue-data-ui.js +72 -72
  117. package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
  118. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  119. package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
  120. package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
  121. package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
  122. package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
  123. package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
  124. package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
  125. package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
  126. package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
  127. package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
  128. package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
  129. package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
  130. package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
  131. package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
  132. package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
  133. package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
  134. package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
  135. package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
  136. package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
  137. package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
  138. package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
  139. package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
  140. package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
  141. package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
  142. package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
  143. package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
  144. package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
  145. package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
  146. package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  147. package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
  148. package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
  149. package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
  150. package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
  151. package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
  152. package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
  153. package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
  154. package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
  155. package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
  156. package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
  157. package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
  158. package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
  159. package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
  160. package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
  161. package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
  162. package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
  163. package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
  164. package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
  165. package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
  166. package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
  167. package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
  168. package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
  169. package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
  170. package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
  171. package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
  172. package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
  173. package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
  174. package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
  175. package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
  176. package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
  177. package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
  178. package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
  179. package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
  180. package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
  181. package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
  182. package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
  183. package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
  184. package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
  185. package/package.json +3 -3
  186. package/dist/Slicer-WsWTQPKt.js +0 -1150
  187. package/dist/SlicerPreview-3n516NyE.js +0 -1688
  188. package/dist/useResponsive-BfnK0KxU.js +0 -19
  189. package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
  190. package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
  191. package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
  192. package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
@@ -1,138 +1,134 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, Ct as r, E as i, Gt as a, Ht as o, K as s, Lt as c, Nt as l, Ot as ee, Q as te, W as ne, Y as re, Z as ie, d as ae, et as oe, f as se, ft as ce, g as le, i as ue, m as de, qt as fe, t as pe, v as me, x as he, zt as ge } from "./lib-CnHx5WfV.js";
3
- import { t as _e } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as ve } from "./useConfig-DYM3f6EI.js";
5
- import { t as ye } from "./usePrinter-B-X_Pub0.js";
2
+ import { At as t, C as n, Ct as r, E as i, Gt as a, Ht as o, K as s, Lt as c, Nt as l, Ot as ee, Q as te, W as ne, Y as re, Z as ie, d as ae, et as oe, f as se, ft as ce, g as le, i as ue, m as de, qt as fe, t as pe, v as me, x as he, zt as ge } from "./lib-CFm_J26b.js";
3
+ import { t as _e } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as ve } from "./useConfig-C0V0eG7L.js";
5
+ import { t as ye } from "./usePrinter-BH-xle1O.js";
6
6
  import { n as be, t as xe } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as Se } from "./useSvgExport-SVIsDot8.js";
8
- import { t as Ce } from "./useNestedProp-D8NuRneO.js";
7
+ import { t as Se } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as Ce } from "./useNestedProp-BY6DNN3i.js";
9
9
  import { t as we } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Te } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as Ee } from "./img-CNdXiUfZ.js";
12
- import { n as De } from "./Title-Cr3jP7Qd.js";
13
- import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as ke } from "./canvas-lib-BOP_HS11.js";
15
- import { t as Ae } from "./useResponsive-BfnK0KxU.js";
16
- import { t as je } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Me } from "./BaseLegendToggle-BrQ2OlzI.js";
18
- import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Ie } from "./Legend-5VQGLnmx.js";
22
- import { t as Le } from "./vue_ui_donut_evolution-D1yAAIHr.js";
23
- import { t as Re } from "./Slicer-WsWTQPKt.js";
24
- import { Fragment as u, Teleport as ze, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ue, nextTick as We, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ge, onMounted as Ke, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as T, toRefs as Ye, unref as E, watch as Xe, watchEffect as Ze, withCtx as D } from "vue";
10
+ import { t as Te } from "./useMountedDelay-BAjrhRJb.js";
11
+ import { t as Ee } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as De } from "./img-Bikk1dGb.js";
13
+ import { n as Oe } from "./Title-BuPs74IB.js";
14
+ import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as Me } from "./DefGrad-DVBqDjhO.js";
17
+ import { t as Ne } from "./BaseLegendToggle-DsWphmIb.js";
18
+ import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Le } from "./Legend-C0xAnJdO.js";
22
+ import { t as Re } from "./vue_ui_donut_evolution-D1yAAIHr.js";
23
+ import { t as ze } from "./Slicer-C6qNUmZ4.js";
24
+ import { Fragment as u, Teleport as Be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as We, nextTick as Ge, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ke, onMounted as qe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as T, toRefs as Xe, unref as E, watch as Ze, watchEffect as Qe, withCtx as D } from "vue";
25
25
  //#region src/components/vue-ui-donut-evolution.vue
26
- var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
26
+ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
27
27
  "xmlns",
28
28
  "aria-describedby",
29
29
  "viewBox"
30
- ], it = [
30
+ ], at = [
31
31
  "x",
32
32
  "y",
33
33
  "width",
34
34
  "height"
35
- ], at = { key: 1 }, ot = [
35
+ ], ot = { key: 1 }, st = [
36
36
  "x1",
37
37
  "x2",
38
38
  "y1",
39
39
  "y2",
40
40
  "stroke",
41
41
  "stroke-width"
42
- ], st = [
42
+ ], ct = [
43
43
  "x1",
44
44
  "x2",
45
45
  "y1",
46
46
  "y2",
47
47
  "stroke",
48
48
  "stroke-width"
49
- ], ct = { key: 0 }, lt = [
49
+ ], lt = { key: 0 }, ut = [
50
50
  "x1",
51
51
  "x2",
52
52
  "y1",
53
53
  "y2",
54
54
  "stroke",
55
55
  "stroke-width"
56
- ], ut = [
56
+ ], dt = [
57
57
  "font-size",
58
58
  "fill",
59
59
  "transform"
60
- ], dt = [
60
+ ], ft = [
61
61
  "x",
62
62
  "y",
63
63
  "font-size",
64
64
  "fill"
65
- ], ft = [
66
- "x1",
67
- "x2",
68
- "y1",
69
- "y2",
65
+ ], pt = [
66
+ "d",
70
67
  "stroke",
71
68
  "stroke-width"
72
- ], pt = [
73
- "x",
74
- "y",
69
+ ], mt = [
70
+ "transform",
75
71
  "font-size",
76
72
  "text-anchor",
77
73
  "fill",
78
74
  "font-weight"
79
- ], mt = { key: 0 }, ht = [
75
+ ], ht = { key: 0 }, gt = [
80
76
  "text-anchor",
81
77
  "font-size",
82
78
  "fill",
83
79
  "transform"
84
- ], gt = [
80
+ ], _t = [
85
81
  "text-anchor",
86
82
  "font-size",
87
83
  "fill",
88
84
  "transform",
89
85
  "innerHTML"
90
- ], _t = [
86
+ ], vt = [
91
87
  "x1",
92
88
  "y1",
93
89
  "x2",
94
90
  "y2",
95
91
  "stroke",
96
92
  "stroke-width"
97
- ], vt = { key: 1 }, yt = [
93
+ ], yt = { key: 1 }, bt = [
98
94
  "cx",
99
95
  "cy",
100
96
  "r",
101
97
  "fill"
102
- ], bt = { key: 0 }, xt = { key: 0 }, St = ["d", "stroke"], Ct = [
98
+ ], xt = { key: 0 }, St = { key: 0 }, Ct = ["d", "stroke"], wt = [
103
99
  "text-anchor",
104
100
  "x",
105
101
  "y",
106
102
  "fill"
107
- ], wt = [
103
+ ], Tt = [
108
104
  "cx",
109
105
  "cy",
110
106
  "r",
111
107
  "fill"
112
- ], Tt = { key: 0 }, Et = [
108
+ ], Et = { key: 0 }, Dt = [
113
109
  "cx",
114
110
  "cy",
115
111
  "fill"
116
- ], Dt = { key: 1 }, Ot = [
112
+ ], Ot = { key: 1 }, kt = [
117
113
  "d",
118
114
  "fill",
119
115
  "stroke"
120
- ], kt = { key: 2 }, At = [
116
+ ], At = { key: 2 }, jt = [
121
117
  "d",
122
118
  "fill",
123
119
  "stroke"
124
- ], jt = [
120
+ ], Mt = [
125
121
  "x",
126
122
  "y",
127
123
  "font-size",
128
124
  "fill"
129
- ], Mt = [
125
+ ], Nt = [
130
126
  "x",
131
127
  "y",
132
128
  "width",
133
129
  "height",
134
130
  "fill"
135
- ], Nt = [
131
+ ], Pt = [
136
132
  "x",
137
133
  "y",
138
134
  "width",
@@ -140,7 +136,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
140
136
  "onMouseenter",
141
137
  "onMouseleave",
142
138
  "onClick"
143
- ], Pt = {
139
+ ], Ft = {
144
140
  key: 0,
145
141
  style: {
146
142
  position: "absolute",
@@ -150,10 +146,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
150
146
  },
151
147
  "data-dom-to-png-ignore": "",
152
148
  "aria-hidden": "true"
153
- }, Ft = {
149
+ }, It = {
154
150
  key: 5,
155
151
  class: "vue-data-ui-watermark"
156
- }, It = ["id"], Lt = ["onClick"], Rt = { key: 0 }, zt = { key: 1 }, Bt = /*#__PURE__*/ Oe({
152
+ }, Lt = ["id"], Rt = ["onClick"], zt = { key: 0 }, Bt = { key: 1 }, Vt = /*#__PURE__*/ ke({
157
153
  __name: "vue-ui-donut-evolution",
158
154
  props: {
159
155
  config: {
@@ -170,18 +166,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
170
166
  }
171
167
  },
172
168
  emits: ["selectLegend", "copyAlt"],
173
- setup(e, { expose: Oe, emit: Qe }) {
174
- let Bt = g(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Vt = g(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Ht = g(() => import("./DataTable-ByZy5gt1.js")), Ut = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), Wt = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Gt = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Kt = g(() => import("./vue-ui-donut-Bc-EPZvu.js").then((e) => e.n)), qt = g(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_donut_evolution: Jt } = ve(), { isThemeValid: Yt, warnInvalidTheme: Xt } = we(), O = e, k = S(s()), A = S([]), j = S(null), M = S(null), Zt = S(!1), N = S(null), P = S(null), Qt = S(null), $t = S(0), en = S(0), tn = S(0), nn = S(0), rn = S(0), an = S(null), on = S(null), sn = S(null), cn = S(null), ln = S(!1), F = S(null), un = S(null), dn = S(!1), fn = S(!1), pn = S(null), mn = S(null), hn = S(null), gn = S(null), _n = S(null), vn = S(!1), I = Je(null), yn = Je(null), bn = S(null), L = S(null), xn = S(!1), Sn = Qe, Cn = d(() => !!O.dataset && O.dataset.length);
175
- Ke(() => {
176
- ln.value = !0, Tn();
169
+ setup(e, { expose: ke, emit: $e }) {
170
+ let Vt = g(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Ht = g(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Ut = g(() => import("./DataTable-DzPEVvSo.js")), Wt = g(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), Gt = g(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Kt = g(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), qt = g(() => import("./vue-ui-donut-BWbuCT47.js").then((e) => e.n)), Jt = g(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_donut_evolution: Yt } = ve(), { isThemeValid: Xt, warnInvalidTheme: Zt } = we(), { isReady: Qt } = Te(300), O = e, k = S(s()), A = S([]), j = S(null), M = S(null), $t = S(!1), N = S(null), P = S(null), en = S(null), tn = S(0), nn = S(0), rn = S(0), an = S(0), on = S(0), sn = S(null), cn = S(null), ln = S(null), un = S(null), dn = S(!1), F = S(null), fn = S(null), pn = S(!1), mn = S(!1), hn = S(null), gn = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(!1), I = Ye(null), xn = Ye(null), Sn = S(null), L = S(null), Cn = S(!1), wn = $e, Tn = d(() => !!O.dataset && O.dataset.length);
171
+ qe(() => {
172
+ dn.value = !0, Dn();
177
173
  });
178
- let wn = d(() => !!R.value.debug);
179
- function Tn() {
174
+ let En = d(() => !!R.value.debug);
175
+ function Dn() {
180
176
  if (t(O.dataset) ? (oe({
181
177
  componentName: "VueUiDonutEvolution",
182
178
  type: "dataset",
183
- debug: wn.value
184
- }), kn.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
179
+ debug: En.value
180
+ }), jn.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
185
181
  ce({
186
182
  datasetObject: e,
187
183
  requiredAttributes: ["name", "values"]
@@ -191,31 +187,31 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
191
187
  type: "datasetSerieAttribute",
192
188
  property: e,
193
189
  index: t,
194
- debug: wn.value
195
- }), kn.value = !0;
190
+ debug: En.value
191
+ }), jn.value = !0;
196
192
  });
197
- }), t(O.dataset) || (kn.value = R.value.loading), setTimeout(() => {
198
- vn.value = !0;
199
- }, 10), Mn(), R.value.responsive) {
200
- let e = ke(() => {
201
- vn.value = !1;
202
- let { width: e, height: t } = Ae({
193
+ }), t(O.dataset) || (jn.value = R.value.loading), setTimeout(() => {
194
+ bn.value = !0;
195
+ }, 10), Pn(), R.value.responsive) {
196
+ let e = Ae(() => {
197
+ bn.value = !1;
198
+ let { width: e, height: t } = je({
203
199
  chart: P.value,
204
- title: R.value.style.chart.title.text ? pn.value : null,
205
- legend: R.value.style.chart.legend.show ? mn.value : null,
206
- slicer: R.value.style.chart.zoom.show && An.value > 1 ? _n.value : null,
207
- source: hn.value
200
+ title: R.value.style.chart.title.text ? hn.value : null,
201
+ legend: R.value.style.chart.legend.show ? gn.value : null,
202
+ slicer: R.value.style.chart.zoom.show && Mn.value > 1 ? yn.value : null,
203
+ source: _n.value
208
204
  });
209
205
  requestAnimationFrame(() => {
210
- B.value.width = e, B.value.height = t - 12, clearTimeout(bn.value), bn.value = setTimeout(() => {
211
- vn.value = !0;
206
+ B.value.width = e, B.value.height = t - 12, clearTimeout(Sn.value), Sn.value = setTimeout(() => {
207
+ bn.value = !0;
212
208
  }, 10);
213
209
  });
214
210
  });
215
- I.value && (yn.value && I.value.unobserve(yn.value), I.value.disconnect()), I.value = new ResizeObserver(e), yn.value = P.value.parentNode, I.value.observe(yn.value);
211
+ I.value && (xn.value && I.value.unobserve(xn.value), I.value.disconnect()), I.value = new ResizeObserver(e), xn.value = P.value.parentNode, I.value.observe(xn.value);
216
212
  }
217
213
  }
218
- let R = S(Rn()), z = d(() => R.value.userOptions.useCursorPointer), En = d(() => fe({
214
+ let R = S(Bn()), z = d(() => R.value.userOptions.useCursorPointer), On = d(() => fe({
219
215
  defaultConfig: {
220
216
  useCssAnimation: !1,
221
217
  table: { show: !1 },
@@ -253,13 +249,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
253
249
  } }
254
250
  },
255
251
  userConfig: R.value.skeletonConfig ?? {}
256
- })), { loading: Dn, FINAL_DATASET: On, manualLoading: kn } = be({
257
- ...Ye(O),
252
+ })), { loading: kn, FINAL_DATASET: An, manualLoading: jn } = be({
253
+ ...Xe(O),
258
254
  FINAL_CONFIG: R,
259
- prepareConfig: Rn,
255
+ prepareConfig: Bn,
260
256
  callback: () => {
261
257
  Promise.resolve().then(async () => {
262
- await Mn();
258
+ await Pn();
263
259
  });
264
260
  },
265
261
  skeletonDataset: O.config?.skeletonDataset ?? [
@@ -302,43 +298,43 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
302
298
  ],
303
299
  skeletonConfig: fe({
304
300
  defaultConfig: R.value,
305
- userConfig: En.value
301
+ userConfig: On.value
306
302
  })
307
303
  }), B = S({
308
304
  width: R.value.style.chart.layout.width,
309
305
  height: R.value.style.chart.layout.height
310
- }), An = d(() => Math.max(...On.value.map((e) => e.values.length))), V = S({
306
+ }), Mn = d(() => Math.max(...An.value.map((e) => e.values.length))), V = S({
311
307
  start: 0,
312
- end: An.value
308
+ end: Mn.value
313
309
  });
314
- function jn() {
315
- Mn();
310
+ function Nn() {
311
+ Pn();
316
312
  }
317
- async function Mn() {
318
- await We(), await We();
319
- let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = gn.value;
313
+ async function Pn() {
314
+ await Ge(), await Ge();
315
+ let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = vn.value;
320
316
  V.value = {
321
317
  start: 0,
322
318
  max: q.value
323
- }, (e != null || t != null) && n ? (e == null ? (V.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (V.value.end = q.value, n.setEndValue(q.value)) : n.setEndValue(Nn(t + 1))) : (V.value = {
319
+ }, (e != null || t != null) && n ? (e == null ? (V.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (V.value.end = q.value, n.setEndValue(q.value)) : n.setEndValue(Fn(t + 1))) : (V.value = {
324
320
  start: 0,
325
321
  end: q.value
326
- }, en.value += 1);
322
+ }, nn.value += 1);
327
323
  }
328
- function Nn(e) {
324
+ function Fn(e) {
329
325
  let t = q.value;
330
326
  return e > t ? t : e < 0 || R.value.style.chart.zoom.startIndex !== null && e < R.value.style.chart.zoom.startIndex ? R.value.style.chart.zoom.startIndex === null ? 1 : R.value.style.chart.zoom.startIndex + 1 : e;
331
327
  }
332
- let { userOptionsVisible: Pn, setUserOptionsVisibility: Fn, keepUserOptionState: In } = Pe({ config: R.value }), { svgRef: Ln } = Fe({ config: R.value.style.chart.title });
333
- function Rn() {
328
+ let { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = Fe({ config: R.value }), { svgRef: zn } = Ie({ config: R.value.style.chart.title });
329
+ function Bn() {
334
330
  let e = Ce({
335
331
  userConfig: O.config,
336
- defaultConfig: Jt
332
+ defaultConfig: Yt
337
333
  }), t = {}, n = e.theme;
338
- if (n) if (!Yt.value(e)) Xt(e), t = e;
334
+ if (n) if (!Xt.value(e)) Zt(e), t = e;
339
335
  else {
340
336
  let r = Ce({
341
- userConfig: Le[n] || O.config,
337
+ userConfig: Re[n] || O.config,
342
338
  defaultConfig: e
343
339
  });
344
340
  t = {
@@ -352,17 +348,17 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
352
348
  else t = e;
353
349
  return t;
354
350
  }
355
- Xe(() => O.config, (e) => {
356
- Dn.value || (R.value = Rn()), Pn.value = !R.value.userOptions.showOnChartHover, Tn(), tn.value += 1, nn.value += 1, rn.value += 1, H.value.showTable = R.value.table.show;
357
- }, { deep: !0 }), Xe(() => O.dataset, (e) => {
358
- Array.isArray(e) && e.length > 0 && (kn.value = !1), jn();
351
+ Ze(() => O.config, (e) => {
352
+ kn.value || (R.value = Bn()), In.value = !R.value.userOptions.showOnChartHover, Dn(), rn.value += 1, an.value += 1, on.value += 1, H.value.showTable = R.value.table.show;
353
+ }, { deep: !0 }), Ze(() => O.dataset, (e) => {
354
+ Array.isArray(e) && e.length > 0 && (jn.value = !1), Nn();
359
355
  }, { deep: !0 });
360
- let { isPrinting: zn, isImaging: Bn, generatePdf: Vn, generateImage: Hn } = ye({
356
+ let { isPrinting: Vn, isImaging: Hn, generatePdf: Un, generateImage: Wn } = ye({
361
357
  elementId: k.value,
362
358
  fileName: R.value.style.chart.title.text || "vue-ui-donut-evolution",
363
359
  options: R.value.userOptions.print
364
- }), Un = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), Wn = d(() => n(R.value.customPalette)), H = S({ showTable: R.value.table.show });
365
- Xe(R, () => {
360
+ }), Gn = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), Kn = d(() => n(R.value.customPalette)), H = S({ showTable: R.value.table.show });
361
+ Ze(R, () => {
366
362
  H.value = { showTable: R.value.table.show };
367
363
  }, { immediate: !0 });
368
364
  let U = d(() => ({
@@ -371,13 +367,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
371
367
  bottom: R.value.style.chart.layout.padding.bottom,
372
368
  left: R.value.style.chart.layout.padding.left
373
369
  })), W = d(() => R.value.style.chart.layout.grid.yAxis.position === "right");
374
- function Gn() {
370
+ function qn() {
375
371
  let e = 0;
376
- an.value && (e = Array.from(an.value.querySelectorAll("text")).reduce((e, t) => {
372
+ sn.value && (e = Array.from(sn.value.querySelectorAll("text")).reduce((e, t) => {
377
373
  let n = t.getComputedTextLength();
378
374
  return n > e ? n : e;
379
375
  }, 0));
380
- let t = cn.value ? cn.value.getBoundingClientRect().width + R.value.style.chart.layout.grid.axis.yLabelOffsetX + R.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
376
+ let t = un.value ? un.value.getBoundingClientRect().width + R.value.style.chart.layout.grid.axis.yLabelOffsetX + R.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
381
377
  return {
382
378
  left: W.value ? 0 : n,
383
379
  right: W.value ? n : 0,
@@ -386,31 +382,31 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
386
382
  crosshair: 5
387
383
  };
388
384
  }
389
- let Kn = S(0), qn = ke((e) => {
390
- Kn.value = e;
385
+ let Jn = S(0), Yn = Ae((e) => {
386
+ Jn.value = e;
391
387
  }, 100);
392
- Ze((e) => {
393
- let t = on.value;
388
+ Qe((e) => {
389
+ let t = cn.value;
394
390
  if (!t) return;
395
391
  let n = new ResizeObserver((e) => {
396
- qn(e[0].contentRect.height);
392
+ Yn(e[0].contentRect.height);
397
393
  });
398
394
  n.observe(t), e(() => n.disconnect());
399
- }), Ge(() => {
400
- Kn.value = 0;
395
+ }), Ke(() => {
396
+ Jn.value = 0;
401
397
  });
402
- let Jn = d(() => {
398
+ let Xn = d(() => {
403
399
  let e = 0;
404
- sn.value && (e = sn.value.getBBox().height);
400
+ ln.value && (e = ln.value.getBBox().height);
405
401
  let t = 0;
406
- return on.value && (t = Kn.value), e + t + R.value.style.chart.layout.grid.axis.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
402
+ return cn.value && (t = Jn.value), e + t + R.value.style.chart.layout.grid.axis.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
407
403
  }), G = d(() => {
408
- let e = Gn(), t = R.value.style.chart.layout.dataLabels.fontSize * 3, n = B.value.width, r = B.value.height, i = U.value.left + e.left, a = n - U.value.right - e.right, o = n - i - U.value.right - e.right, s = r - U.value.top - U.value.bottom - t - Jn.value, c = U.value.top + t;
404
+ let e = qn(), t = R.value.style.chart.layout.dataLabels.fontSize * 3, n = B.value.width, r = B.value.height, i = U.value.left + e.left, a = n - U.value.right - e.right, o = n - i - U.value.right - e.right, s = r - U.value.top - U.value.bottom - t - Xn.value, c = U.value.top + t;
409
405
  return {
410
406
  top: c,
411
407
  left: i,
412
408
  right: a,
413
- bottom: r - U.value.bottom - Jn.value,
409
+ bottom: r - U.value.bottom - Xn.value,
414
410
  absoluteHeight: r,
415
411
  absoluteWidth: n,
416
412
  centerX: i + Math.max(10, o) / 2,
@@ -421,32 +417,32 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
421
417
  yAxisLabelWidth: e.yAxisLabelWidth,
422
418
  crosshair: e.crosshair
423
419
  };
424
- }), K = d(() => (On.value.forEach((e, t) => {
420
+ }), K = d(() => (An.value.forEach((e, t) => {
425
421
  [null, void 0].includes(e.name) && oe({
426
422
  componentName: "VueUiDonutEvolution",
427
423
  type: "datasetSerieAttribute",
428
424
  property: "name",
429
425
  index: t,
430
- debug: wn.value
426
+ debug: En.value
431
427
  }), [null, void 0].includes(e.values) && oe({
432
428
  componentName: "VueUiDonutEvolution",
433
429
  type: "datasetSerieAttribute",
434
430
  property: "values",
435
431
  index: t,
436
- debug: wn.value
432
+ debug: En.value
437
433
  });
438
- }), On.value.map((e, t) => ({
434
+ }), An.value.map((e, t) => ({
439
435
  ...e,
440
436
  values: c(e.values),
441
- color: he(e.color) || Wn.value[t] || l[t] || l[t % l.length],
437
+ color: he(e.color) || Kn.value[t] || l[t] || l[t % l.length],
442
438
  length: (e.values || []).length,
443
439
  uid: s()
444
- })))), Yn = d(() => K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
440
+ })))), Zn = d(() => K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
445
441
  ...e,
446
442
  values: e.values.filter((e, t) => t >= V.value.start && t <= V.value.end)
447
- }))), q = d(() => Math.max(...K.value.map((e) => e.length))), J = S([]), Xn = 0;
448
- Ze(() => {
449
- let e = ++Xn;
443
+ }))), q = d(() => Math.max(...K.value.map((e) => e.length))), J = S([]), Qn = 0;
444
+ Qe(() => {
445
+ let e = ++Qn;
450
446
  (async () => {
451
447
  let t = await _e({
452
448
  values: R.value.style.chart.layout.grid.xAxis.dataLabels.values,
@@ -455,13 +451,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
455
451
  start: V.value.start,
456
452
  end: V.value.end
457
453
  });
458
- e === Xn && (J.value = t);
454
+ e === Qn && (J.value = t);
459
455
  })();
460
456
  });
461
- let Y = d(() => G.value.width / (V.value.end - V.value.start)), Zn = d(() => {
457
+ let Y = d(() => G.value.width / (V.value.end - V.value.start)), $n = d(() => {
462
458
  let e = [];
463
459
  for (let t = 0; t < V.value.end - V.value.start; t += 1) {
464
- let n = Yn.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = G.value.left + Y.value * t + Y.value / 2;
460
+ let n = Zn.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = G.value.left + Y.value * t + Y.value / 2;
465
461
  e.push({
466
462
  index: t,
467
463
  percentages: a,
@@ -471,26 +467,26 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
471
467
  });
472
468
  }
473
469
  return e;
474
- }), Qn = d(() => {
475
- let e = Math.max(...Zn.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 1, t = Math.min(...Zn.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 0, n = Math.max(R.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), i;
470
+ }), er = d(() => {
471
+ let e = Math.max(...$n.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 1, t = Math.min(...$n.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 0, n = Math.max(R.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), i;
476
472
  return i = R.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, R.value.style.chart.layout.grid.yAxis.scaleMin), R.value.style.chart.layout.grid.yAxis.autoScale && (i = t, n = e), i === n && (i = n / 2, n *= 1.5), {
477
473
  max: n,
478
474
  min: i
479
475
  };
480
476
  }), X = d(() => {
481
- let e = Zn.value.length === 1 ? Qn.value.max * 2 : Qn.value.max;
482
- return le(Qn.value.min, e, R.value.style.chart.layout.grid.yAxis.dataLabels.steps);
477
+ let e = $n.value.length === 1 ? er.value.max * 2 : er.value.max;
478
+ return le(er.value.min, e, R.value.style.chart.layout.grid.yAxis.dataLabels.steps);
483
479
  });
484
- function $n(e) {
480
+ function tr(e) {
485
481
  return (e - X.value.min) / (X.value.max - X.value.min);
486
482
  }
487
- let er = d(() => X.value.ticks.map((e) => ({
488
- y: G.value.bottom - G.value.height * $n(e),
483
+ let nr = d(() => X.value.ticks.map((e) => ({
484
+ y: G.value.bottom - G.value.height * tr(e),
489
485
  value: e
490
486
  }))), Z = d(() => {
491
- let e = Zn.value, t = Math.max(...e.map((e) => e.subtotal));
487
+ let e = $n.value, t = Math.max(...e.map((e) => e.subtotal));
492
488
  return e.length === 1 && t * 2, e.map((t, n) => {
493
- let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a = j.value === t.index ? G.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > Y.value / 2 * .7 ? Y.value / 2 * .7 : r * 2, s = G.value.bottom - G.value.height * $n(t.subtotal), c = Yn.value.map((e) => ({
489
+ let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a = j.value === t.index ? G.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > Y.value / 2 * .7 ? Y.value / 2 * .7 : r * 2, s = G.value.bottom - G.value.height * tr(t.subtotal), c = Zn.value.map((e) => ({
494
490
  color: e.color,
495
491
  name: e.name,
496
492
  value: e.values[n] ?? 0
@@ -507,7 +503,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
507
503
  };
508
504
  });
509
505
  });
510
- function tr(e, t, n) {
506
+ function rr(e, t, n) {
511
507
  return ue(R.value.style.chart.layout.dataLabels.formatter, e, re({
512
508
  p: R.value.style.chart.layout.dataLabels.prefix,
513
509
  v: e,
@@ -518,29 +514,29 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
518
514
  index: n
519
515
  });
520
516
  }
521
- function nr(e, t) {
517
+ function ir(e, t) {
522
518
  return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
523
519
  }
524
- function rr(e) {
520
+ function ar(e) {
525
521
  j.value = null, M.value = null, L.value = null, R.value.events.datapointLeave && R.value.events.datapointLeave({
526
522
  datapoint: e,
527
523
  seriesIndex: e.seriesIndex + V.value.start
528
524
  });
529
525
  }
530
- function ir(e) {
526
+ function or(e) {
531
527
  R.value.events.datapointEnter && R.value.events.datapointEnter({
532
528
  datapoint: e,
533
529
  seriesIndex: e.index + V.value.start
534
530
  }), j.value = e.index, M.value = e, L.value = e.index;
535
531
  }
536
- let ar = S(null);
537
- function or(e, t) {
532
+ let sr = S(null);
533
+ function cr(e, t) {
538
534
  R.value.events.datapointClick && R.value.events.datapointClick({
539
535
  datapoint: e,
540
536
  seriesIndex: e.index + V.value.start
541
- }), !(!e.subtotal || !R.value.style.chart.dialog.show) && (M.value = null, j.value = null, Zt.value = !0, N.value = e, Tr(e), [null, void 0].includes(t) || (ar.value = t));
537
+ }), !(!e.subtotal || !R.value.style.chart.dialog.show) && (M.value = null, j.value = null, $t.value = !0, N.value = e, Dr(e), [null, void 0].includes(t) || (sr.value = t));
542
538
  }
543
- let sr = d(() => K.value.map((e, t) => ({
539
+ let lr = d(() => K.value.map((e, t) => ({
544
540
  name: e.name,
545
541
  value: e.values.slice(V.value.start, V.value.end).reduce((e, t) => e + t, 0),
546
542
  shape: "circle",
@@ -549,7 +545,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
549
545
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
550
546
  ...e,
551
547
  opacity: A.value.includes(e.uid) ? .5 : 1,
552
- segregate: () => dr(e.uid),
548
+ segregate: () => pr(e.uid),
553
549
  isSegregated: A.value.includes(e.uid),
554
550
  display: `${e.name}${R.value.style.chart.legend.showPercentage || R.value.style.chart.legend.showValue ? ": " : ""}${R.value.style.chart.legend.showValue ? ue(R.value.style.chart.layout.dataLabels.formatter, e.value, re({
555
551
  p: R.value.style.chart.layout.dataLabels.prefix,
@@ -559,12 +555,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
559
555
  }), {
560
556
  datapoint: e,
561
557
  seriesIndex: t
562
- }) : ""}${R.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${R.value.style.chart.legend.showValue ? " (" : ""}- %${R.value.style.chart.legend.showValue ? ")" : ""}` : `${R.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / cr.value) ? "-" : re({
563
- v: e.value / cr.value * 100,
558
+ }) : ""}${R.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${R.value.style.chart.legend.showValue ? " (" : ""}- %${R.value.style.chart.legend.showValue ? ")" : ""}` : `${R.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / ur.value) ? "-" : re({
559
+ v: e.value / ur.value * 100,
564
560
  s: "%",
565
561
  r: R.value.style.chart.legend.roundingPercentage
566
562
  })}${R.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
567
- }))), cr = d(() => Z.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), lr = d(() => ({
563
+ }))), ur = d(() => Z.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), dr = d(() => ({
568
564
  cy: "donut-div-legend",
569
565
  backgroundColor: R.value.style.chart.legend.backgroundColor,
570
566
  color: R.value.style.chart.legend.color,
@@ -572,29 +568,29 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
572
568
  paddingBottom: 12,
573
569
  fontWeight: R.value.style.chart.legend.bold ? "bold" : ""
574
570
  }));
575
- function ur() {
576
- A.value.length ? A.value = [] : sr.value.forEach((e) => {
571
+ function fr() {
572
+ A.value.length ? A.value = [] : lr.value.forEach((e) => {
577
573
  A.value.push(e.uid);
578
- }), Sn("selectLegend", Yn.value);
574
+ }), wn("selectLegend", Zn.value);
579
575
  }
580
- function dr(e) {
581
- if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), Sn("selectLegend", Yn.value);
576
+ function pr(e) {
577
+ if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), wn("selectLegend", Zn.value);
582
578
  else {
583
579
  if (A.value.length === K.value.length - 1) return;
584
- A.value.push(e), Sn("selectLegend", Yn.value);
580
+ A.value.push(e), wn("selectLegend", Zn.value);
585
581
  }
586
- N.value && or(Z.value.find((e, t) => t === ar.value));
582
+ N.value && cr(Z.value.find((e, t) => t === sr.value));
587
583
  }
588
- function fr(e) {
584
+ function mr(e) {
589
585
  return K.value.length ? K.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
590
586
  }
591
- function pr(e) {
592
- let t = fr(e);
593
- t !== null && A.value.includes(t.uid) && dr(t.uid);
587
+ function hr(e) {
588
+ let t = mr(e);
589
+ t !== null && A.value.includes(t.uid) && pr(t.uid);
594
590
  }
595
- function mr(e) {
596
- let t = fr(e);
597
- t !== null && (A.value.includes(t.uid) || dr(t.uid));
591
+ function gr(e) {
592
+ let t = mr(e);
593
+ t !== null && (A.value.includes(t.uid) || pr(t.uid));
598
594
  }
599
595
  let Q = d(() => {
600
596
  let e = [""].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
@@ -611,7 +607,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
611
607
  return {
612
608
  head: e,
613
609
  body: t,
614
- bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${tr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
610
+ bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${rr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
615
611
  config: {
616
612
  th: {
617
613
  backgroundColor: R.value.table.th.backgroundColor,
@@ -628,11 +624,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
628
624
  colNames: [R.value.table.columnNames.period].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), R.value.table.columnNames.total)
629
625
  };
630
626
  });
631
- function hr() {
627
+ function _r() {
632
628
  return K.value;
633
629
  }
634
- function gr(e = null) {
635
- We(() => {
630
+ function vr(e = null) {
631
+ Ge(() => {
636
632
  let t = [
637
633
  [R.value.style.chart.title.text],
638
634
  [R.value.style.chart.title.subtitle.text],
@@ -645,34 +641,34 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
645
641
  });
646
642
  }
647
643
  let $ = S(!1);
648
- function _r(e) {
649
- $.value = e, $t.value += 1;
644
+ function yr(e) {
645
+ $.value = e, tn.value += 1;
650
646
  }
651
- function vr() {
647
+ function br() {
652
648
  H.value.showTable = !H.value.showTable;
653
649
  }
654
- let yr = S(!1);
655
- function br() {
656
- yr.value = !yr.value;
650
+ let xr = S(!1);
651
+ function Sr() {
652
+ xr.value = !xr.value;
657
653
  }
658
- function xr(e) {
654
+ function Cr(e) {
659
655
  return e.proportion * 100 > R.value.style.chart.donuts.hover.hideLabelsUnderValue;
660
656
  }
661
- let Sr = S([]), Cr = S({}), wr = S(null);
662
- function Tr(e) {
663
- Sr.value = e.donut.map((e) => ({
657
+ let wr = S([]), Tr = S({}), Er = S(null);
658
+ function Dr(e) {
659
+ wr.value = e.donut.map((e) => ({
664
660
  name: e.name,
665
661
  values: [e.value],
666
662
  color: e.color
667
- })), Cr.value = ie({
663
+ })), Tr.value = ie({
668
664
  ...R.value.style.chart.dialog.donutChart,
669
665
  responsive: !0,
670
666
  theme: R.value.theme
671
- }), wr.value && wr.value.open();
667
+ }), Er.value && Er.value.open();
672
668
  }
673
- async function Er({ scale: e = 2 } = {}) {
669
+ async function Or({ scale: e = 2 } = {}) {
674
670
  if (!P.value) return;
675
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
671
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await De({
676
672
  domElement: P.value,
677
673
  base64: !0,
678
674
  img: !0,
@@ -687,8 +683,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
687
683
  aspectRatio: r
688
684
  };
689
685
  }
690
- Te({
691
- timeLabelsEls: on,
686
+ Ee({
687
+ timeLabelsEls: cn,
692
688
  timeLabels: J,
693
689
  slicer: V,
694
690
  configRef: R,
@@ -716,10 +712,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
716
712
  height: d(() => B.value.height),
717
713
  rotation: R.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
718
714
  });
719
- let Dr = d(() => {
715
+ let kr = d(() => {
720
716
  let e = R.value.table.useDialog && !R.value.table.show, t = H.value.showTable;
721
717
  return {
722
- component: e ? qt : Bt,
718
+ component: e ? Jt : Vt,
723
719
  title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
724
720
  props: e ? {
725
721
  backgroundColor: R.value.table.th.backgroundColor,
@@ -747,51 +743,51 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
747
743
  }
748
744
  };
749
745
  });
750
- Xe(() => H.value.showTable, (e) => {
746
+ Ze(() => H.value.showTable, (e) => {
751
747
  R.value.table.show || (e && R.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
752
748
  });
753
- function Or() {
754
- H.value.showTable = !1, un.value && un.value.setTableIconState(!1);
749
+ function Ar() {
750
+ H.value.showTable = !1, fn.value && fn.value.setTableIconState(!1);
755
751
  }
756
- let kr = d(() => sr.value.map((e) => ({
752
+ let jr = d(() => lr.value.map((e) => ({
757
753
  ...e,
758
754
  name: e.display
759
- }))), Ar = d(() => R.value.style.chart.backgroundColor), jr = d(() => R.value.style.chart.legend), { exportSvg: Mr, getSvg: Nr } = Se({
760
- svg: Ln,
755
+ }))), Mr = d(() => R.value.style.chart.backgroundColor), Nr = d(() => R.value.style.chart.legend), { exportSvg: Pr, getSvg: Fr } = Se({
756
+ svg: zn,
761
757
  title: d(() => R.value.style.chart.title),
762
- legend: jr,
763
- legendItems: kr,
764
- backgroundColor: Ar
758
+ legend: Nr,
759
+ legendItems: jr,
760
+ backgroundColor: Mr
765
761
  });
766
- async function Pr({ isCb: e }) {
767
- fn.value = !0, await We();
762
+ async function Ir({ isCb: e }) {
763
+ mn.value = !0, await Ge();
768
764
  try {
769
765
  if (e) {
770
- let { blob: e, url: t, text: n, dataUrl: r } = await Nr();
766
+ let { blob: e, url: t, text: n, dataUrl: r } = await Fr();
771
767
  await Promise.resolve(R.value.userOptions.callbacks.svg({
772
768
  blob: e,
773
769
  url: t,
774
770
  text: n,
775
771
  dataUrl: r
776
772
  }));
777
- } else await Promise.resolve(Mr());
773
+ } else await Promise.resolve(Pr());
778
774
  } finally {
779
- fn.value = !1;
775
+ mn.value = !1;
780
776
  }
781
777
  }
782
- function Fr(e) {
778
+ function Lr(e) {
783
779
  if (e?.stage === "start") {
784
- dn.value = !0;
780
+ pn.value = !0;
785
781
  return;
786
782
  }
787
783
  if (e?.stage === "end") {
788
- dn.value = !1;
784
+ pn.value = !1;
789
785
  return;
790
786
  }
791
- Hn();
787
+ Wn();
792
788
  }
793
- async function Ir() {
794
- if (Sn("copyAlt", {
789
+ async function Rr() {
790
+ if (wn("copyAlt", {
795
791
  config: R.value,
796
792
  dataset: Z.value
797
793
  }), !R.value.userOptions.callbacks.altCopy) {
@@ -803,14 +799,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
803
799
  dataset: Z.value
804
800
  }));
805
801
  }
806
- function Lr() {
807
- L.value = null, xn.value = !0;
802
+ function zr() {
803
+ L.value = null, Cn.value = !0;
808
804
  }
809
- function Rr() {
810
- L.value = null, j.value = null, M.value = null, xn.value = !1;
805
+ function Br() {
806
+ L.value = null, j.value = null, M.value = null, Cn.value = !1;
811
807
  }
812
- function zr(e) {
813
- if (!Ln.value || yr.value || document.activeElement !== Ln.value || !Z.value.length) return;
808
+ function Vr(e) {
809
+ if (!zn.value || xr.value || document.activeElement !== zn.value || !Z.value.length) return;
814
810
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
815
811
  if (!t && !n && !r && !i) return;
816
812
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -821,49 +817,49 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
821
817
  if (L.value === null) return;
822
818
  let e = Z.value[L.value];
823
819
  if (!e) return;
824
- or(e, L.value);
820
+ cr(e, L.value);
825
821
  return;
826
822
  }
827
823
  let a = L.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, c = o !== null && o >= 0 && o < Z.value.length;
828
824
  s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
829
825
  let l = Z.value[a];
830
- l && ir(l);
826
+ l && or(l);
831
827
  }
832
- let Br = d(() => ({
828
+ let Hr = d(() => ({
833
829
  headers: Q.value?.colNames ?? [],
834
830
  rows: Q.value?.bodyA11y ?? []
835
831
  }));
836
- return Oe({
837
- getData: hr,
838
- getImage: Er,
839
- generatePdf: Vn,
840
- generateCsv: gr,
841
- generateImage: Hn,
842
- generateSvg: Pr,
843
- hideSeries: mr,
844
- showSeries: pr,
845
- toggleTable: vr,
846
- toggleAnnotator: br,
847
- toggleFullscreen: _r,
848
- copyAlt: Ir
832
+ return ke({
833
+ getData: _r,
834
+ getImage: Or,
835
+ generatePdf: Un,
836
+ generateCsv: vr,
837
+ generateImage: Wn,
838
+ generateSvg: Ir,
839
+ hideSeries: gr,
840
+ showSeries: hr,
841
+ toggleTable: br,
842
+ toggleAnnotator: Sr,
843
+ toggleFullscreen: yr,
844
+ copyAlt: Rr
849
845
  }), (e, t) => (x(), m("div", {
850
846
  ref_key: "donutEvolutionChart",
851
847
  ref: P,
852
848
  class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
853
849
  style: b(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
854
850
  id: k.value,
855
- onMouseenter: t[5] ||= () => E(Fn)(!0),
856
- onMouseleave: t[6] ||= () => E(Fn)(!1)
851
+ onMouseenter: t[5] ||= () => E(Ln)(!0),
852
+ onMouseleave: t[6] ||= () => E(Ln)(!1)
857
853
  }, [
858
854
  h("div", {
859
855
  id: `chart-instructions-${k.value}`,
860
856
  class: "sr-only"
861
- }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, et),
862
- Br.value?.rows?.length ? (x(), f(Ne, {
857
+ }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
858
+ Hr.value?.rows?.length ? (x(), f(Pe, {
863
859
  key: 0,
864
860
  uid: k.value,
865
- head: Br.value.headers,
866
- body: Br.value.rows,
861
+ head: Hr.value.headers,
862
+ body: Hr.value.rows,
867
863
  notice: R.value.a11y.translations.tableAvailable,
868
864
  caption: R.value.a11y.translations.tableCaption
869
865
  }, null, 8, [
@@ -873,14 +869,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
873
869
  "notice",
874
870
  "caption"
875
871
  ])) : p("", !0),
876
- R.value.userOptions.buttons.annotator ? (x(), f(E(Wt), {
872
+ R.value.userOptions.buttons.annotator ? (x(), f(E(Gt), {
877
873
  key: 1,
878
- svgRef: E(Ln),
874
+ svgRef: E(zn),
879
875
  backgroundColor: R.value.style.chart.backgroundColor,
880
876
  color: R.value.style.chart.color,
881
- active: yr.value,
877
+ active: xr.value,
882
878
  isCursorPointer: z.value,
883
- onClose: br
879
+ onClose: Sr
884
880
  }, {
885
881
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
886
882
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -896,21 +892,21 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
896
892
  "active",
897
893
  "isCursorPointer"
898
894
  ])) : p("", !0),
899
- Un.value ? (x(), m("div", {
895
+ Gn.value ? (x(), m("div", {
900
896
  key: 2,
901
897
  ref_key: "noTitle",
902
- ref: Qt,
898
+ ref: en,
903
899
  class: "vue-data-ui-no-title-space",
904
900
  style: "height:36px; width: 100%;background:transparent"
905
901
  }, null, 512)) : p("", !0),
906
902
  R.value.style.chart.title.text ? (x(), m("div", {
907
903
  key: 3,
908
904
  ref_key: "chartTitle",
909
- ref: pn,
905
+ ref: hn,
910
906
  style: "width:100%;background:transparent;padding-bottom:24px",
911
- onMouseleave: rr
912
- }, [(x(), f(De, {
913
- key: `title_${tn.value}`,
907
+ onMouseleave: ar
908
+ }, [(x(), f(Oe, {
909
+ key: `title_${rn.value}`,
914
910
  config: {
915
911
  title: {
916
912
  cy: "donut-evolution-div-title",
@@ -922,15 +918,15 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
922
918
  }
923
919
  }
924
920
  }, null, 8, ["config"]))], 544)) : p("", !0),
925
- h("div", { id: `legend-top-${k.value}` }, null, 8, tt),
926
- R.value.userOptions.show && Cn.value && (E(In) || E(Pn)) ? (x(), f(E(Gt), {
921
+ h("div", { id: `legend-top-${k.value}` }, null, 8, nt),
922
+ R.value.userOptions.show && Tn.value && (E(Rn) || E(In)) ? (x(), f(E(Kt), {
927
923
  ref_key: "userOptionsRef",
928
- ref: un,
929
- key: `user_options_${$t.value}`,
924
+ ref: fn,
925
+ key: `user_options_${tn.value}`,
930
926
  backgroundColor: R.value.style.chart.backgroundColor,
931
927
  color: R.value.style.chart.color,
932
- isPrinting: E(zn),
933
- isImaging: E(Bn),
928
+ isPrinting: E(Vn),
929
+ isImaging: E(Hn),
934
930
  uid: k.value,
935
931
  hasPdf: R.value.userOptions.buttons.pdf,
936
932
  hasImg: R.value.userOptions.buttons.img,
@@ -944,21 +940,21 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
944
940
  chartElement: P.value,
945
941
  position: R.value.userOptions.position,
946
942
  hasAnnotator: R.value.userOptions.buttons.annotator,
947
- isAnnotation: yr.value,
943
+ isAnnotation: xr.value,
948
944
  callbacks: R.value.userOptions.callbacks,
949
945
  printScale: R.value.userOptions.print.scale,
950
946
  tableDialog: R.value.table.useDialog,
951
947
  isCursorPointer: z.value,
952
- onToggleFullscreen: _r,
953
- onGeneratePdf: E(Vn),
954
- onGenerateCsv: gr,
955
- onGenerateImage: Fr,
956
- onGenerateSvg: Pr,
957
- onToggleTable: vr,
958
- onToggleAnnotator: br,
959
- onCopyAlt: Ir,
960
- style: b({ visibility: E(In) ? E(Pn) ? "visible" : "hidden" : "visible" })
961
- }, Be({ _: 2 }, [
948
+ onToggleFullscreen: yr,
949
+ onGeneratePdf: E(Un),
950
+ onGenerateCsv: vr,
951
+ onGenerateImage: Lr,
952
+ onGenerateSvg: Ir,
953
+ onToggleTable: br,
954
+ onToggleAnnotator: Sr,
955
+ onCopyAlt: Rr,
956
+ style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
957
+ }, Ve({ _: 2 }, [
962
958
  e.$slots.menuIcon ? {
963
959
  name: "menuIcon",
964
960
  fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
@@ -1049,9 +1045,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1049
1045
  "onGeneratePdf",
1050
1046
  "style"
1051
1047
  ])) : p("", !0),
1052
- h("div", nt, [(x(), m("svg", {
1048
+ h("div", rt, [(x(), m("svg", {
1053
1049
  ref_key: "svgRef",
1054
- ref: Ln,
1050
+ ref: zn,
1055
1051
  xmlns: E(pe),
1056
1052
  "aria-describedby": `chart-instructions-${k.value}`,
1057
1053
  class: v({
@@ -1061,11 +1057,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1061
1057
  viewBox: `0 0 ${G.value.absoluteWidth} ${G.value.absoluteHeight}`,
1062
1058
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${R.value.style.chart.color};`),
1063
1059
  tabindex: "0",
1064
- onFocus: Lr,
1065
- onBlur: Rr,
1066
- onKeydown: zr
1060
+ onFocus: zr,
1061
+ onBlur: Br,
1062
+ onKeydown: Vr
1067
1063
  }, [
1068
- He(E(Ut)),
1064
+ Ue(E(Wt)),
1069
1065
  e.$slots["chart-background"] ? (x(), m("foreignObject", {
1070
1066
  key: 0,
1071
1067
  x: G.value.left,
@@ -1073,8 +1069,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1073
1069
  width: G.value.width,
1074
1070
  height: G.value.height,
1075
1071
  style: { pointerEvents: "none" }
1076
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : p("", !0),
1077
- h("defs", null, [He(je, {
1072
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : p("", !0),
1073
+ h("defs", null, [Ue(Me, {
1078
1074
  t: "linear",
1079
1075
  id: `hover_${k.value}`,
1080
1076
  x1: "0%",
@@ -1090,7 +1086,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1090
1086
  E(ge)(R.value.style.chart.layout.highlighter.color, R.value.style.chart.layout.highlighter.opacity),
1091
1087
  1
1092
1088
  ]]
1093
- }, null, 8, ["id", "stops"]), He(je, {
1089
+ }, null, 8, ["id", "stops"]), Ue(Me, {
1094
1090
  t: "radial",
1095
1091
  id: `focus_${k.value}`,
1096
1092
  stops: [
@@ -1111,7 +1107,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1111
1107
  ]
1112
1108
  ]
1113
1109
  }, null, 8, ["id", "stops"])]),
1114
- R.value.style.chart.layout.grid.show ? (x(), m("g", at, [
1110
+ R.value.style.chart.layout.grid.show ? (x(), m("g", ot, [
1115
1111
  h("line", {
1116
1112
  x1: W.value ? G.value.right : G.value.left,
1117
1113
  x2: W.value ? G.value.right : G.value.left,
@@ -1120,7 +1116,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1120
1116
  stroke: R.value.style.chart.layout.grid.stroke,
1121
1117
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1122
1118
  "stroke-linecap": "round"
1123
- }, null, 8, ot),
1119
+ }, null, 8, st),
1124
1120
  h("line", {
1125
1121
  x1: G.value.left,
1126
1122
  x2: G.value.right,
@@ -1129,8 +1125,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1129
1125
  stroke: R.value.style.chart.layout.grid.stroke,
1130
1126
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1131
1127
  "stroke-linecap": "round"
1132
- }, null, 8, st),
1133
- R.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", ct, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("line", {
1128
+ }, null, 8, ct),
1129
+ R.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", lt, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("line", {
1134
1130
  x1: G.value.left + (t + 1) * Y.value,
1135
1131
  x2: G.value.left + (t + 1) * Y.value,
1136
1132
  y1: G.value.top,
@@ -1138,47 +1134,46 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1138
1134
  stroke: R.value.style.chart.layout.grid.stroke,
1139
1135
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1140
1136
  "stroke-linecap": "round"
1141
- }, null, 8, lt))), 256))])) : p("", !0)
1137
+ }, null, 8, ut))), 256))])) : p("", !0)
1142
1138
  ])) : p("", !0),
1143
1139
  h("g", null, [R.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
1144
1140
  key: 0,
1145
1141
  ref_key: "yAxisLabel",
1146
- ref: cn,
1142
+ ref: un,
1147
1143
  "font-size": R.value.style.chart.layout.grid.axis.fontSize,
1148
1144
  fill: R.value.style.chart.layout.grid.axis.color,
1149
1145
  transform: `translate(${W.value ? G.value.absoluteWidth - R.value.style.chart.layout.grid.axis.fontSize / 2 - R.value.style.chart.layout.grid.axis.yLabelOffsetX : R.value.style.chart.layout.grid.axis.fontSize}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
1150
1146
  "text-anchor": "middle",
1151
1147
  style: { transition: "none" }
1152
- }, T(R.value.style.chart.layout.grid.axis.yLabel), 9, ut)) : p("", !0), R.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1148
+ }, T(R.value.style.chart.layout.grid.axis.yLabel), 9, dt)) : p("", !0), R.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1153
1149
  key: 1,
1154
1150
  ref_key: "xAxisLabel",
1155
- ref: sn,
1151
+ ref: ln,
1156
1152
  "text-anchor": "middle",
1157
1153
  x: G.value.absoluteWidth / 2,
1158
1154
  y: G.value.absoluteHeight - 3,
1159
1155
  "font-size": R.value.style.chart.layout.grid.axis.fontSize,
1160
1156
  fill: R.value.style.chart.layout.grid.axis.color
1161
- }, T(R.value.style.chart.layout.grid.axis.xLabel), 9, dt)) : p("", !0)]),
1157
+ }, T(R.value.style.chart.layout.grid.axis.xLabel), 9, ft)) : p("", !0)]),
1162
1158
  R.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1163
1159
  key: 2,
1164
1160
  ref_key: "scaleLabels",
1165
- ref: an,
1161
+ ref: sn,
1166
1162
  class: v({
1167
1163
  "donut-opacity": !0,
1168
1164
  "donut-behind": j.value !== null
1169
1165
  })
1170
- }, [(x(!0), m(u, null, C(er.value, (e, t) => (x(), m("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("line", {
1166
+ }, [(x(!0), m(u, null, C(nr.value, (e, t) => (x(), m("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("path", {
1171
1167
  key: 0,
1172
- x1: W.value ? G.value.right : G.value.left,
1173
- x2: W.value ? G.value.right + 5 : G.value.left - 5,
1174
- y1: e.y,
1175
- y2: e.y,
1168
+ class: v({ "vue-data-ui-datalabel": E(Qt) }),
1169
+ d: `M${W.value ? G.value.right : G.value.left},${e.y} ${W.value ? G.value.right + 5 : G.value.left - 5},${e.y}`,
1176
1170
  stroke: R.value.style.chart.layout.grid.stroke,
1177
- "stroke-width": R.value.style.chart.layout.grid.strokeWidth
1178
- }, null, 8, ft)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
1171
+ "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1172
+ "stroke-linecap": "round"
1173
+ }, null, 10, pt)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
1179
1174
  key: 1,
1180
- x: W.value ? G.value.right - R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : G.value.left + R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1181
- y: e.y + R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
1175
+ class: v({ "vue-data-ui-datalabel": E(Qt) }),
1176
+ transform: `translate(${W.value ? G.value.right - R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : G.value.left + R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7}, ${e.y + R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3})`,
1182
1177
  "font-size": R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1183
1178
  "text-anchor": W.value ? "start" : "end",
1184
1179
  fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
@@ -1191,13 +1186,13 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1191
1186
  }), {
1192
1187
  datapoint: e,
1193
1188
  seriesIndex: t
1194
- }) : ""), 9, pt)) : p("", !0)]))), 256))], 2)) : p("", !0),
1189
+ }) : ""), 11, mt)) : p("", !0)]))), 128))], 2)) : p("", !0),
1195
1190
  R.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
1196
1191
  key: 3,
1197
1192
  ref_key: "timeLabelsEls",
1198
- ref: on,
1193
+ ref: cn,
1199
1194
  class: v({ "donut-opacity": !0 })
1200
- }, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("g", null, [(R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === q.value - 1) || !R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && J.value[t] && J.value[t].text ? (x(), m("g", mt, [String(J.value[t].text).includes("\n") ? (x(), m("text", {
1195
+ }, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("g", null, [(R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === q.value - 1) || !R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && J.value[t] && J.value[t].text ? (x(), m("g", ht, [String(J.value[t].text).includes("\n") ? (x(), m("text", {
1201
1196
  key: 1,
1202
1197
  class: "vue-data-ui-time-label",
1203
1198
  "text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
@@ -1211,14 +1206,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1211
1206
  x: 0,
1212
1207
  y: 0
1213
1208
  })
1214
- }, null, 8, gt)) : (x(), m("text", {
1209
+ }, null, 8, _t)) : (x(), m("text", {
1215
1210
  key: 0,
1216
1211
  class: "vue-data-ui-time-label",
1217
1212
  "text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1218
1213
  "font-size": R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1219
1214
  fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
1220
1215
  transform: `translate(${G.value.left + Y.value * t + Y.value / 2}, ${G.value.bottom + R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${R.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1221
- }, T(J.value[t].text || ""), 9, ht))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1216
+ }, T(J.value[t].text || ""), 9, gt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1222
1217
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", null, [R.value.style.chart.layout.line.show && t < Z.value.length - 1 && ![e.subtotal, Z.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1223
1218
  key: 0,
1224
1219
  class: v({
@@ -1233,18 +1228,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1233
1228
  "stroke-width": R.value.style.chart.layout.line.strokeWidth,
1234
1229
  "stroke-linecap": "round",
1235
1230
  "stroke-linejoin": "round"
1236
- }, null, 10, _t)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", vt, [e.subtotal ? (x(), m("circle", {
1231
+ }, null, 10, vt)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", yt, [e.subtotal ? (x(), m("circle", {
1237
1232
  key: 0,
1238
1233
  cx: e.x,
1239
1234
  cy: e.y,
1240
1235
  r: e.activeRadius,
1241
1236
  fill: R.value.style.chart.backgroundColor
1242
- }, null, 8, yt)) : p("", !0)]))]))), 256)),
1237
+ }, null, 8, bt)) : p("", !0)]))]))), 256)),
1243
1238
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1244
1239
  "donut-opacity": !0,
1245
1240
  "donut-behind": t !== j.value && j.value !== null
1246
- }) }, [e.subtotal ? (x(), m("g", bt, [j.value !== null && j.value === t ? (x(), m("g", xt, [
1247
- (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [xr(t) ? (x(), m("path", {
1241
+ }) }, [e.subtotal ? (x(), m("g", xt, [j.value !== null && j.value === t ? (x(), m("g", St, [
1242
+ (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Cr(t) ? (x(), m("path", {
1248
1243
  key: 0,
1249
1244
  d: E(de)(t, {
1250
1245
  x: t.center.endX,
@@ -1258,8 +1253,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1258
1253
  "stroke-linecap": "round",
1259
1254
  "stroke-linejoin": "round",
1260
1255
  fill: "none"
1261
- }, null, 8, St)) : p("", !0)]))), 256)),
1262
- (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [xr(t) ? (x(), m("text", {
1256
+ }, null, 8, Ct)) : p("", !0)]))), 256)),
1257
+ (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Cr(t) ? (x(), m("text", {
1263
1258
  key: 0,
1264
1259
  "data-cy-hover-label": "",
1265
1260
  "text-anchor": E(ae)(t, !0, 0).anchor,
@@ -1268,37 +1263,37 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1268
1263
  fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
1269
1264
  "font-size": 8,
1270
1265
  "font-weight": "bold"
1271
- }, T(t.name) + ": " + T(nr(t, e.donut)) + " (" + T(t.value === null ? "-" : tr(t.value, t, n)) + ") ", 9, Ct)) : p("", !0)]))), 256)),
1266
+ }, T(t.name) + ": " + T(ir(t, e.donut)) + " (" + T(t.value === null ? "-" : rr(t.value, t, n)) + ") ", 9, wt)) : p("", !0)]))), 256)),
1272
1267
  h("g", null, [h("circle", {
1273
1268
  cx: e.x,
1274
1269
  cy: e.y,
1275
1270
  r: e.hoverRadius,
1276
1271
  fill: R.value.style.chart.backgroundColor
1277
- }, null, 8, wt)])
1272
+ }, null, 8, Tt)])
1278
1273
  ])) : p("", !0)])) : p("", !0)], 2))), 256)),
1279
1274
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1280
1275
  "donut-opacity": !0,
1281
1276
  "donut-behind": t !== j.value && j.value !== null
1282
- }) }, [e.subtotal === null ? p("", !0) : (x(), m("g", Tt, [e.subtotal === 0 ? (x(), m("circle", {
1277
+ }) }, [e.subtotal === null ? p("", !0) : (x(), m("g", Et, [e.subtotal === 0 ? (x(), m("circle", {
1283
1278
  key: 0,
1284
1279
  cx: e.x,
1285
1280
  cy: e.y,
1286
1281
  r: 3,
1287
1282
  fill: R.value.style.chart.color
1288
- }, null, 8, Et)) : j.value !== null && j.value === t ? (x(), m("g", Dt, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
1283
+ }, null, 8, Dt)) : j.value !== null && j.value === t ? (x(), m("g", Ot, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
1289
1284
  d: e.arcSlice,
1290
1285
  fill: `${e.color}`,
1291
1286
  "stroke-width": 1,
1292
1287
  stroke: R.value.style.chart.backgroundColor
1293
- }, null, 8, Ot))), 256))])) : (x(), m("g", kt, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1288
+ }, null, 8, kt))), 256))])) : (x(), m("g", At, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1294
1289
  d: e.arcSlice,
1295
1290
  fill: `${e.color}`,
1296
1291
  "stroke-width": .5,
1297
1292
  stroke: R.value.style.chart.backgroundColor
1298
- }, null, 8, At))), 256))]))]))], 2))), 256)),
1293
+ }, null, 8, jt))), 256))]))]))], 2))), 256)),
1299
1294
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1300
1295
  "donut-opacity": !0,
1301
- "donut-behind": t !== j.value && j.value !== null || Zt.value && t !== N.value.index
1296
+ "donut-behind": t !== j.value && j.value !== null || $t.value && t !== N.value.index
1302
1297
  }) }, [e.subtotal !== null && R.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
1303
1298
  key: 0,
1304
1299
  "text-anchor": "middle",
@@ -1307,16 +1302,16 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1307
1302
  "font-size": R.value.style.chart.layout.dataLabels.fontSize,
1308
1303
  "font-weight": "bold",
1309
1304
  fill: R.value.style.chart.layout.dataLabels.color
1310
- }, T(tr(e.subtotal, e, t)), 9, jt)) : p("", !0)], 2))), 256)),
1305
+ }, T(rr(e.subtotal, e, t)), 9, Mt)) : p("", !0)], 2))), 256)),
1311
1306
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1312
1307
  x: G.value.left + t * Y.value,
1313
1308
  y: G.value.top,
1314
1309
  width: Y.value,
1315
1310
  height: G.value.height,
1316
- fill: [j.value, ar.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1317
- class: v({ "donut-hover": z.value && e.subtotal && [j.value, ar.value].includes(e.index) }),
1311
+ fill: [j.value, sr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1312
+ class: v({ "donut-hover": z.value && e.subtotal && [j.value, sr.value].includes(e.index) }),
1318
1313
  style: { pointerEvents: "none" }
1319
- }, null, 10, Mt))), 256)),
1314
+ }, null, 10, Nt))), 256)),
1320
1315
  (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1321
1316
  "data-cy-trap": "",
1322
1317
  x: G.value.left + t * Y.value,
@@ -1324,30 +1319,30 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1324
1319
  width: Y.value,
1325
1320
  height: G.value.height,
1326
1321
  fill: "transparent",
1327
- onMouseenter: (t) => ir(e),
1328
- onMouseleave: (t) => rr(e),
1329
- onClick: (n) => or(e, t),
1322
+ onMouseenter: (t) => or(e),
1323
+ onMouseleave: (t) => ar(e),
1324
+ onClick: (n) => cr(e, t),
1330
1325
  class: v({ "donut-hover": z.value && j.value === e.index && e.subtotal })
1331
- }, null, 42, Nt))), 256)),
1326
+ }, null, 42, Pt))), 256)),
1332
1327
  w(e.$slots, "svg", { svg: {
1333
1328
  ...G.value,
1334
- isPrintingImg: E(zn) || E(Bn) || dn.value,
1335
- isPrintingSvg: fn.value
1329
+ isPrintingImg: E(Vn) || E(Hn) || pn.value,
1330
+ isPrintingSvg: mn.value
1336
1331
  } }, void 0, !0)
1337
- ], 46, rt)), e.$slots.hint ? (x(), m("div", Pt, [w(e.$slots, "hint", y(_({
1332
+ ], 46, it)), e.$slots.hint ? (x(), m("div", Ft, [w(e.$slots, "hint", y(_({
1338
1333
  hint: R.value.a11y.translations.keyboardNavigation,
1339
- isVisible: xn.value
1334
+ isVisible: Cn.value
1340
1335
  })), void 0, !0)])) : p("", !0)]),
1341
- e.$slots.watermark ? (x(), m("div", Ft, [w(e.$slots, "watermark", y(_({ isPrinting: E(zn) || E(Bn) || dn.value || fn.value })), void 0, !0)])) : p("", !0),
1336
+ e.$slots.watermark ? (x(), m("div", It, [w(e.$slots, "watermark", y(_({ isPrinting: E(Vn) || E(Hn) || pn.value || mn.value })), void 0, !0)])) : p("", !0),
1342
1337
  h("div", {
1343
1338
  ref_key: "chartSlicer",
1344
- ref: _n,
1339
+ ref: yn,
1345
1340
  style: b(`width:100%;background:${R.value.style.chart.backgroundColor}`),
1346
1341
  "data-dom-to-png-ignore": ""
1347
- }, [q.value > 1 && R.value.style.chart.zoom.show ? (x(), f(Re, {
1342
+ }, [q.value > 1 && R.value.style.chart.zoom.show ? (x(), f(ze, {
1348
1343
  ref_key: "slicerComponent",
1349
- ref: gn,
1350
- key: `slicer_${en.value}`,
1344
+ ref: vn,
1345
+ key: `slicer_${nn.value}`,
1351
1346
  background: R.value.style.chart.zoom.color,
1352
1347
  borderColor: R.value.style.chart.backgroundColor,
1353
1348
  fontSize: R.value.style.chart.zoom.fontSize,
@@ -1373,7 +1368,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1373
1368
  focusRangeRatio: R.value.style.chart.zoom.focusRangeRatio,
1374
1369
  isCursorPointer: z.value,
1375
1370
  maxWidth: R.value.style.chart.zoom.maxWidth,
1376
- onReset: jn
1371
+ onReset: Nn
1377
1372
  }, {
1378
1373
  "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
1379
1374
  _: 3
@@ -1401,30 +1396,30 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1401
1396
  "isCursorPointer",
1402
1397
  "maxWidth"
1403
1398
  ])) : p("", !0)], 4),
1404
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, It),
1405
- ln.value && (R.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(ze, {
1399
+ h("div", { id: `legend-bottom-${k.value}` }, null, 8, Lt),
1400
+ dn.value && (R.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Be, {
1406
1401
  key: 6,
1407
1402
  to: R.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1408
1403
  }, [h("div", {
1409
1404
  ref_key: "chartLegend",
1410
- ref: mn
1411
- }, [w(e.$slots, "legend", { legend: sr.value }, () => [R.value.style.chart.legend.show ? (x(), f(Ie, {
1412
- key: `legend_${rn.value}`,
1413
- legendSet: sr.value,
1414
- config: lr.value,
1415
- onClickMarker: t[2] ||= ({ legend: e }) => dr(e.uid)
1405
+ ref: gn
1406
+ }, [w(e.$slots, "legend", { legend: lr.value }, () => [R.value.style.chart.legend.show ? (x(), f(Le, {
1407
+ key: `legend_${on.value}`,
1408
+ legendSet: lr.value,
1409
+ config: dr.value,
1410
+ onClickMarker: t[2] ||= ({ legend: e }) => pr(e.uid)
1416
1411
  }, {
1417
1412
  item: D(({ legend: e, index: t }) => [h("div", {
1418
- onClick: (t) => dr(e.uid),
1413
+ onClick: (t) => pr(e.uid),
1419
1414
  style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
1420
- }, T(e.display), 13, Lt)]),
1421
- legendToggle: D(() => [sr.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(Dn) ? (x(), f(Me, {
1415
+ }, T(e.display), 13, Rt)]),
1416
+ legendToggle: D(() => [lr.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(kn) ? (x(), f(Ne, {
1422
1417
  key: 0,
1423
1418
  backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
1424
1419
  color: R.value.style.chart.legend.selectAllToggle.color,
1425
1420
  fontSize: R.value.style.chart.legend.fontSize,
1426
1421
  checked: A.value.length > 0,
1427
- onToggle: ur
1422
+ onToggle: fr
1428
1423
  }, null, 8, [
1429
1424
  "backgroundColor",
1430
1425
  "color",
@@ -1436,27 +1431,27 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1436
1431
  e.$slots.source ? (x(), m("div", {
1437
1432
  key: 7,
1438
1433
  ref_key: "source",
1439
- ref: hn,
1434
+ ref: _n,
1440
1435
  dir: "auto"
1441
1436
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1442
- Cn.value && R.value.userOptions.buttons.table ? (x(), f(qe(Dr.value.component), Ue({ key: 8 }, Dr.value.props, {
1437
+ Tn.value && R.value.userOptions.buttons.table ? (x(), f(Je(kr.value.component), We({ key: 8 }, kr.value.props, {
1443
1438
  ref_key: "tableUnit",
1444
1439
  ref: F,
1445
- onClose: Or
1446
- }), Be({
1447
- content: D(() => [(x(), f(E(Ht), {
1448
- key: `table_${nn.value}`,
1440
+ onClose: Ar
1441
+ }), Ve({
1442
+ content: D(() => [(x(), f(E(Ut), {
1443
+ key: `table_${an.value}`,
1449
1444
  colNames: Q.value.colNames,
1450
1445
  head: Q.value.head,
1451
1446
  body: Q.value.body,
1452
1447
  config: Q.value.config,
1453
- title: R.value.table.useDialog ? "" : Dr.value.title,
1448
+ title: R.value.table.useDialog ? "" : kr.value.title,
1454
1449
  withCloseButton: !R.value.table.useDialog,
1455
1450
  isCursorPointer: z.value,
1456
- onClose: Or
1451
+ onClose: Ar
1457
1452
  }, {
1458
- th: D(({ th: e }) => [Ve(T(e.name ?? e), 1)]),
1459
- td: D(({ td: e }) => [e.value === null ? (x(), m("span", Rt, "-")) : (x(), m("b", zt, T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(R.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(R.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1453
+ th: D(({ th: e }) => [He(T(e.name ?? e), 1)]),
1454
+ td: D(({ td: e }) => [e.value === null ? (x(), m("span", zt, "-")) : (x(), m("b", Bt, T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(R.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(R.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1460
1455
  _: 1
1461
1456
  }, 8, [
1462
1457
  "colNames",
@@ -1470,27 +1465,27 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1470
1465
  _: 2
1471
1466
  }, [R.value.table.useDialog ? {
1472
1467
  name: "title",
1473
- fn: D(() => [Ve(T(Dr.value.title), 1)]),
1468
+ fn: D(() => [He(T(kr.value.title), 1)]),
1474
1469
  key: "0"
1475
1470
  } : void 0, R.value.table.useDialog ? {
1476
1471
  name: "actions",
1477
1472
  fn: D(() => [h("button", {
1478
1473
  tabindex: "0",
1479
1474
  class: "vue-ui-user-options-button",
1480
- onClick: t[3] ||= (e) => gr(R.value.userOptions.callbacks.csv),
1475
+ onClick: t[3] ||= (e) => vr(R.value.userOptions.callbacks.csv),
1481
1476
  style: b({ cursor: z.value ? "cursor" : "default" })
1482
- }, [He(E(Vt), {
1477
+ }, [Ue(E(Ht), {
1483
1478
  name: "fileCsv",
1484
- stroke: Dr.value.props.color
1479
+ stroke: kr.value.props.color
1485
1480
  }, null, 8, ["stroke"])], 4)]),
1486
1481
  key: "1"
1487
1482
  } : void 0]), 1040)) : p("", !0),
1488
- R.value.style.chart.dialog.show ? (x(), f(E(qt), {
1483
+ R.value.style.chart.dialog.show ? (x(), f(E(Jt), {
1489
1484
  key: 9,
1490
1485
  ref_key: "dialog",
1491
- ref: wr,
1486
+ ref: Er,
1492
1487
  onClose: t[4] ||= (e) => {
1493
- N.value = null, Zt.value = !1, M.value = null, j.value = null, ar.value = null;
1488
+ N.value = null, $t.value = !1, M.value = null, j.value = null, sr.value = null;
1494
1489
  },
1495
1490
  backgroundColor: R.value.style.chart.dialog.backgroundColor,
1496
1491
  color: R.value.style.chart.dialog.color,
@@ -1499,11 +1494,11 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1499
1494
  isFullscreen: $.value,
1500
1495
  fullscreenParent: P.value
1501
1496
  }, {
1502
- title: D(() => [Ve(T(J.value[Number(N.value.index)] ? J.value[Number(N.value.index)].text : ""), 1)]),
1503
- content: D(() => [N.value ? (x(), f(E(Kt), {
1497
+ title: D(() => [He(T(J.value[Number(N.value.index)] ? J.value[Number(N.value.index)].text : ""), 1)]),
1498
+ content: D(() => [N.value ? (x(), f(E(qt), {
1504
1499
  key: 0,
1505
- config: Cr.value,
1506
- dataset: Sr.value
1500
+ config: Tr.value,
1501
+ dataset: wr.value
1507
1502
  }, null, 8, ["config", "dataset"])) : p("", !0)]),
1508
1503
  _: 1
1509
1504
  }, 8, [
@@ -1514,9 +1509,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt
1514
1509
  "isFullscreen",
1515
1510
  "fullscreenParent"
1516
1511
  ])) : p("", !0),
1517
- E(Dn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1518
- ], 46, $e));
1512
+ E(kn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1513
+ ], 46, et));
1519
1514
  }
1520
- }, [["__scopeId", "data-v-5ddd11b9"]]);
1515
+ }, [["__scopeId", "data-v-344b2cc9"]]);
1521
1516
  //#endregion
1522
- export { Qe as n, Bt as t };
1517
+ export { $e as n, Vt as t };