vue-data-ui 3.22.7 → 3.22.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,137 +1,138 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Et as n, Ft as r, Gt as i, H as a, Lt as o, Ot as s, Q as c, S as l, Ut as ee, W as te, X as ne, Y as re, _ as ie, b as ae, d as oe, h as se, i as ce, jt as le, p as ue, q as de, t as fe, u as pe, ut as me, w as he, xt as ge } from "./lib-EAmk-PgA.js";
2
+ import { $ as t, Dt as n, G as r, It as i, J as a, Kt as o, Mt as s, Rt as c, S as l, St as ee, T as te, U as ne, Vt as re, Wt as ie, X as ae, Z as oe, _ as se, b as ce, d as le, dt as ue, h as de, i as fe, kt as pe, p as me, t as he, u as ge } from "./lib-JqW18y5I.js";
3
3
  import { t as _e } from "./useTimeLabels-BmBRv27Y.js";
4
4
  import { t as ve } from "./useConfig-DYM3f6EI.js";
5
- import { t as ye } from "./usePrinter-DnGzpp6Q.js";
5
+ import { t as ye } from "./usePrinter-CqqHmnBI.js";
6
6
  import { n as be, t as xe } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as Se } from "./useSvgExport-SVIsDot8.js";
8
- import { t as Ce } from "./useNestedProp-D8XqxgOU.js";
8
+ import { t as Ce } from "./useNestedProp-DIuuzG1r.js";
9
9
  import { t as we } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as Te } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as Ee } from "./img-B_abIg0o.js";
12
- import { n as De } from "./Title-PiTKr6sp.js";
11
+ import { t as Ee } from "./img-DnP3eXuv.js";
12
+ import { n as De } from "./Title-CcNiYzEo.js";
13
13
  import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { c as ke } from "./canvas-lib-BOP_HS11.js";
15
15
  import { t as Ae } from "./useResponsive-BfnK0KxU.js";
16
- import { t as je } from "./BaseLegendToggle-CHnlKalt.js";
17
- import { t as Me } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Fe } from "./Legend-kAr7Vqqu.js";
21
- import { t as Ie } from "./vue_ui_donut_evolution-D1yAAIHr.js";
22
- import { t as Le } from "./Slicer-6FOtg9py.js";
23
- import { Fragment as u, Teleport as Re, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as T, toRefs as Je, unref as E, watch as Ye, watchEffect as Xe, withCtx as D } from "vue";
16
+ import { t as je } from "./DefGrad-DVBqDjhO.js";
17
+ import { t as Me } from "./BaseLegendToggle-DWtet-Hh.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-ROt6ugzW.js";
22
+ import { t as Le } from "./vue_ui_donut_evolution-D1yAAIHr.js";
23
+ import { t as Re } from "./Slicer-CW_XPIKL.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";
24
25
  //#region src/components/vue-ui-donut-evolution.vue
25
- var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
26
+ var Qe = /* @__PURE__ */ e({ default: () => Bt }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
26
27
  "xmlns",
27
28
  "aria-describedby",
28
29
  "viewBox"
29
- ], rt = [
30
+ ], it = [
30
31
  "x",
31
32
  "y",
32
33
  "width",
33
34
  "height"
34
- ], it = ["id"], at = ["stop-color"], ot = ["stop-color"], st = ["id"], ct = ["stop-color"], lt = ["stop-color"], ut = ["stop-color"], dt = { key: 1 }, ft = [
35
+ ], at = { key: 1 }, ot = [
35
36
  "x1",
36
37
  "x2",
37
38
  "y1",
38
39
  "y2",
39
40
  "stroke",
40
41
  "stroke-width"
41
- ], pt = [
42
+ ], st = [
42
43
  "x1",
43
44
  "x2",
44
45
  "y1",
45
46
  "y2",
46
47
  "stroke",
47
48
  "stroke-width"
48
- ], mt = { key: 0 }, ht = [
49
+ ], ct = { key: 0 }, lt = [
49
50
  "x1",
50
51
  "x2",
51
52
  "y1",
52
53
  "y2",
53
54
  "stroke",
54
55
  "stroke-width"
55
- ], gt = [
56
+ ], ut = [
56
57
  "font-size",
57
58
  "fill",
58
59
  "transform"
59
- ], _t = [
60
+ ], dt = [
60
61
  "x",
61
62
  "y",
62
63
  "font-size",
63
64
  "fill"
64
- ], vt = [
65
+ ], ft = [
65
66
  "x1",
66
67
  "x2",
67
68
  "y1",
68
69
  "y2",
69
70
  "stroke",
70
71
  "stroke-width"
71
- ], yt = [
72
+ ], pt = [
72
73
  "x",
73
74
  "y",
74
75
  "font-size",
75
76
  "text-anchor",
76
77
  "fill",
77
78
  "font-weight"
78
- ], bt = { key: 0 }, xt = [
79
+ ], mt = { key: 0 }, ht = [
79
80
  "text-anchor",
80
81
  "font-size",
81
82
  "fill",
82
83
  "transform"
83
- ], St = [
84
+ ], gt = [
84
85
  "text-anchor",
85
86
  "font-size",
86
87
  "fill",
87
88
  "transform",
88
89
  "innerHTML"
89
- ], Ct = [
90
+ ], _t = [
90
91
  "x1",
91
92
  "y1",
92
93
  "x2",
93
94
  "y2",
94
95
  "stroke",
95
96
  "stroke-width"
96
- ], wt = { key: 1 }, Tt = [
97
+ ], vt = { key: 1 }, yt = [
97
98
  "cx",
98
99
  "cy",
99
100
  "r",
100
101
  "fill"
101
- ], Et = { key: 0 }, Dt = { key: 0 }, Ot = ["d", "stroke"], kt = [
102
+ ], bt = { key: 0 }, xt = { key: 0 }, St = ["d", "stroke"], Ct = [
102
103
  "text-anchor",
103
104
  "x",
104
105
  "y",
105
106
  "fill"
106
- ], At = [
107
+ ], wt = [
107
108
  "cx",
108
109
  "cy",
109
110
  "r",
110
111
  "fill"
111
- ], jt = { key: 0 }, Mt = [
112
+ ], Tt = { key: 0 }, Et = [
112
113
  "cx",
113
114
  "cy",
114
115
  "fill"
115
- ], Nt = { key: 1 }, Pt = [
116
+ ], Dt = { key: 1 }, Ot = [
116
117
  "d",
117
118
  "fill",
118
119
  "stroke"
119
- ], Ft = { key: 2 }, It = [
120
+ ], kt = { key: 2 }, At = [
120
121
  "d",
121
122
  "fill",
122
123
  "stroke"
123
- ], Lt = [
124
+ ], jt = [
124
125
  "x",
125
126
  "y",
126
127
  "font-size",
127
128
  "fill"
128
- ], Rt = [
129
+ ], Mt = [
129
130
  "x",
130
131
  "y",
131
132
  "width",
132
133
  "height",
133
134
  "fill"
134
- ], zt = [
135
+ ], Nt = [
135
136
  "x",
136
137
  "y",
137
138
  "width",
@@ -139,7 +140,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
139
140
  "onMouseenter",
140
141
  "onMouseleave",
141
142
  "onClick"
142
- ], Bt = {
143
+ ], Pt = {
143
144
  key: 0,
144
145
  style: {
145
146
  position: "absolute",
@@ -149,10 +150,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
149
150
  },
150
151
  "data-dom-to-png-ignore": "",
151
152
  "aria-hidden": "true"
152
- }, Vt = {
153
+ }, Ft = {
153
154
  key: 5,
154
155
  class: "vue-data-ui-watermark"
155
- }, Ht = ["id"], Ut = ["onClick"], Wt = { key: 0 }, Gt = { key: 1 }, Kt = /*#__PURE__*/ Oe({
156
+ }, It = ["id"], Lt = ["onClick"], Rt = { key: 0 }, zt = { key: 1 }, Bt = /*#__PURE__*/ Oe({
156
157
  __name: "vue-ui-donut-evolution",
157
158
  props: {
158
159
  config: {
@@ -169,52 +170,52 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
169
170
  }
170
171
  },
171
172
  emits: ["selectLegend", "copyAlt"],
172
- setup(e, { expose: Oe, emit: Ze }) {
173
- let Kt = g(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Jt = g(() => import("./DataTable-CVF7DoZn.js")), Yt = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-CLheJPcO.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(te()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), gn = S(null), _n = S(null), vn = S(!1), yn = S(!1), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(null), Tn = S(!1), En = qe(null), Dn = qe(null), On = S(null), F = S(null), kn = S(!1), An = Ze, jn = d(() => !!O.dataset && O.dataset.length);
174
- Ge(() => {
175
- hn.value = !0, Nn();
173
+ setup(e, { expose: Oe, emit: Qe }) {
174
+ let Bt = g(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), Vt = g(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Ht = g(() => import("./DataTable-BxpTMgfK.js")), Ut = g(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Wt = g(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Gt = g(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Kt = g(() => import("./vue-ui-donut-BoZdciGh.js").then((e) => e.n)), qt = g(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_donut_evolution: Jt } = ve(), { isThemeValid: Yt, warnInvalidTheme: Xt } = we(), O = e, k = S(r()), 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), un = S(null), dn = S(null), fn = S(!1), pn = S(!1), mn = S(null), hn = S(null), gn = S(null), _n = S(null), vn = S(null), yn = S(!1), bn = Je(null), xn = Je(null), Sn = S(null), F = S(null), Cn = S(!1), wn = Qe, Tn = d(() => !!O.dataset && O.dataset.length);
175
+ Ke(() => {
176
+ ln.value = !0, Dn();
176
177
  });
177
- let Mn = d(() => !!I.value.debug);
178
- function Nn() {
179
- if (s(O.dataset) ? (c({
178
+ let En = d(() => !!I.value.debug);
179
+ function Dn() {
180
+ if (pe(O.dataset) ? (t({
180
181
  componentName: "VueUiDonutEvolution",
181
182
  type: "dataset",
182
- debug: Mn.value
183
- }), Ln.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
184
- me({
183
+ debug: En.value
184
+ }), jn.value = !0) : O.dataset.length && O.dataset.forEach((e, n) => {
185
+ ue({
185
186
  datasetObject: e,
186
187
  requiredAttributes: ["name", "values"]
187
188
  }).forEach((e) => {
188
- c({
189
+ t({
189
190
  componentName: "VueUiDonutEvolution",
190
191
  type: "datasetSerieAttribute",
191
192
  property: e,
192
- index: t,
193
- debug: Mn.value
194
- }), Ln.value = !0;
193
+ index: n,
194
+ debug: En.value
195
+ }), jn.value = !0;
195
196
  });
196
- }), s(O.dataset) || (Ln.value = I.value.loading), setTimeout(() => {
197
- Tn.value = !0;
198
- }, 10), Bn(), I.value.responsive) {
197
+ }), pe(O.dataset) || (jn.value = I.value.loading), setTimeout(() => {
198
+ yn.value = !0;
199
+ }, 10), Pn(), I.value.responsive) {
199
200
  let e = ke(() => {
200
- Tn.value = !1;
201
+ yn.value = !1;
201
202
  let { width: e, height: t } = Ae({
202
203
  chart: P.value,
203
- title: I.value.style.chart.title.text ? bn.value : null,
204
- legend: I.value.style.chart.legend.show ? xn.value : null,
205
- slicer: I.value.style.chart.zoom.show && Rn.value > 1 ? wn.value : null,
206
- source: Sn.value
204
+ title: I.value.style.chart.title.text ? mn.value : null,
205
+ legend: I.value.style.chart.legend.show ? hn.value : null,
206
+ slicer: I.value.style.chart.zoom.show && Mn.value > 1 ? vn.value : null,
207
+ source: gn.value
207
208
  });
208
209
  requestAnimationFrame(() => {
209
- R.value.width = e, R.value.height = t - 12, clearTimeout(On.value), On.value = setTimeout(() => {
210
- Tn.value = !0;
210
+ R.value.width = e, R.value.height = t - 12, clearTimeout(Sn.value), Sn.value = setTimeout(() => {
211
+ yn.value = !0;
211
212
  }, 10);
212
213
  });
213
214
  });
214
- En.value && (Dn.value && En.value.unobserve(Dn.value), En.value.disconnect()), En.value = new ResizeObserver(e), Dn.value = P.value.parentNode, En.value.observe(Dn.value);
215
+ bn.value && (xn.value && bn.value.unobserve(xn.value), bn.value.disconnect()), bn.value = new ResizeObserver(e), xn.value = P.value.parentNode, bn.value.observe(xn.value);
215
216
  }
216
217
  }
217
- let I = S(Gn()), L = d(() => I.value.userOptions.useCursorPointer), Pn = d(() => i({
218
+ let I = S(Bn()), L = d(() => I.value.userOptions.useCursorPointer), On = d(() => o({
218
219
  defaultConfig: {
219
220
  useCssAnimation: !1,
220
221
  table: { show: !1 },
@@ -252,13 +253,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
252
253
  } }
253
254
  },
254
255
  userConfig: I.value.skeletonConfig ?? {}
255
- })), { loading: Fn, FINAL_DATASET: In, manualLoading: Ln } = be({
256
- ...Je(O),
256
+ })), { loading: kn, FINAL_DATASET: An, manualLoading: jn } = be({
257
+ ...Ye(O),
257
258
  FINAL_CONFIG: I,
258
- prepareConfig: Gn,
259
+ prepareConfig: Bn,
259
260
  callback: () => {
260
261
  Promise.resolve().then(async () => {
261
- await Bn();
262
+ await Pn();
262
263
  });
263
264
  },
264
265
  skeletonDataset: O.config?.skeletonDataset ?? [
@@ -299,45 +300,45 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
299
300
  color: "#CACACA"
300
301
  }
301
302
  ],
302
- skeletonConfig: i({
303
+ skeletonConfig: o({
303
304
  defaultConfig: I.value,
304
- userConfig: Pn.value
305
+ userConfig: On.value
305
306
  })
306
307
  }), R = S({
307
308
  width: I.value.style.chart.layout.width,
308
309
  height: I.value.style.chart.layout.height
309
- }), Rn = d(() => Math.max(...In.value.map((e) => e.values.length))), z = S({
310
+ }), Mn = d(() => Math.max(...An.value.map((e) => e.values.length))), z = S({
310
311
  start: 0,
311
- end: Rn.value
312
+ end: Mn.value
312
313
  });
313
- function zn() {
314
- Bn();
314
+ function Nn() {
315
+ Pn();
315
316
  }
316
- async function Bn() {
317
- await Ue(), await Ue();
318
- let { startIndex: e, endIndex: t } = I.value.style.chart.zoom, n = Cn.value;
317
+ async function Pn() {
318
+ await We(), await We();
319
+ let { startIndex: e, endIndex: t } = I.value.style.chart.zoom, n = _n.value;
319
320
  z.value = {
320
321
  start: 0,
321
- max: K.value
322
- }, (e != null || t != null) && n ? (e == null ? (z.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (z.value.end = K.value, n.setEndValue(K.value)) : n.setEndValue(Vn(t + 1))) : (z.value = {
322
+ max: G.value
323
+ }, (e != null || t != null) && n ? (e == null ? (z.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (z.value.end = G.value, n.setEndValue(G.value)) : n.setEndValue(Fn(t + 1))) : (z.value = {
323
324
  start: 0,
324
- end: K.value
325
- }, sn.value += 1);
325
+ end: G.value
326
+ }, en.value += 1);
326
327
  }
327
- function Vn(e) {
328
- let t = K.value;
328
+ function Fn(e) {
329
+ let t = G.value;
329
330
  return e > t ? t : e < 0 || I.value.style.chart.zoom.startIndex !== null && e < I.value.style.chart.zoom.startIndex ? I.value.style.chart.zoom.startIndex === null ? 1 : I.value.style.chart.zoom.startIndex + 1 : e;
330
331
  }
331
- let { userOptionsVisible: Hn, setUserOptionsVisibility: Un, keepUserOptionState: Wn } = Ne({ config: I.value }), { svgRef: B } = Pe({ config: I.value.style.chart.title });
332
- function Gn() {
332
+ let { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = Pe({ config: I.value }), { svgRef: zn } = Fe({ config: I.value.style.chart.title });
333
+ function Bn() {
333
334
  let e = Ce({
334
335
  userConfig: O.config,
335
- defaultConfig: en
336
+ defaultConfig: Jt
336
337
  }), t = {}, n = e.theme;
337
- if (n) if (!tn.value(e)) nn(e), t = e;
338
+ if (n) if (!Yt.value(e)) Xt(e), t = e;
338
339
  else {
339
340
  let r = Ce({
340
- userConfig: Ie[n] || O.config,
341
+ userConfig: Le[n] || O.config,
341
342
  defaultConfig: e
342
343
  });
343
344
  t = {
@@ -345,71 +346,71 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
345
346
  userConfig: O.config,
346
347
  defaultConfig: r
347
348
  }),
348
- customPalette: e.customPalette ? e.customPalette : ee[n] || le
349
+ customPalette: e.customPalette ? e.customPalette : ie[n] || s
349
350
  };
350
351
  }
351
352
  else t = e;
352
353
  return t;
353
354
  }
354
- Ye(() => O.config, (e) => {
355
- Fn.value || (I.value = Gn()), Hn.value = !I.value.userOptions.showOnChartHover, Nn(), cn.value += 1, ln.value += 1, un.value += 1, V.value.showTable = I.value.table.show;
356
- }, { deep: !0 }), Ye(() => O.dataset, (e) => {
357
- Array.isArray(e) && e.length > 0 && (Ln.value = !1), zn();
355
+ Xe(() => O.config, (e) => {
356
+ kn.value || (I.value = Bn()), In.value = !I.value.userOptions.showOnChartHover, Dn(), tn.value += 1, nn.value += 1, rn.value += 1, B.value.showTable = I.value.table.show;
357
+ }, { deep: !0 }), Xe(() => O.dataset, (e) => {
358
+ Array.isArray(e) && e.length > 0 && (jn.value = !1), Nn();
358
359
  }, { deep: !0 });
359
- let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = ye({
360
+ let { isPrinting: Vn, isImaging: Hn, generatePdf: Un, generateImage: Wn } = ye({
360
361
  elementId: k.value,
361
362
  fileName: I.value.style.chart.title.text || "vue-ui-donut-evolution",
362
363
  options: I.value.userOptions.print
363
- }), Xn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), Zn = d(() => l(I.value.customPalette)), V = S({ showTable: I.value.table.show });
364
- Ye(I, () => {
365
- V.value = { showTable: I.value.table.show };
364
+ }), Gn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), Kn = d(() => l(I.value.customPalette)), B = S({ showTable: I.value.table.show });
365
+ Xe(I, () => {
366
+ B.value = { showTable: I.value.table.show };
366
367
  }, { immediate: !0 });
367
- let H = d(() => ({
368
+ let V = d(() => ({
368
369
  top: I.value.style.chart.layout.padding.top,
369
370
  right: I.value.style.chart.layout.padding.right,
370
371
  bottom: I.value.style.chart.layout.padding.bottom,
371
372
  left: I.value.style.chart.layout.padding.left
372
- })), U = d(() => I.value.style.chart.layout.grid.yAxis.position === "right");
373
- function Qn() {
373
+ })), H = d(() => I.value.style.chart.layout.grid.yAxis.position === "right");
374
+ function qn() {
374
375
  let e = 0;
375
- dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
376
+ an.value && (e = Array.from(an.value.querySelectorAll("text")).reduce((e, t) => {
376
377
  let n = t.getComputedTextLength();
377
378
  return n > e ? n : e;
378
379
  }, 0));
379
- let t = mn.value ? mn.value.getBoundingClientRect().width + I.value.style.chart.layout.grid.axis.yLabelOffsetX + I.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
380
+ let t = cn.value ? cn.value.getBoundingClientRect().width + I.value.style.chart.layout.grid.axis.yLabelOffsetX + I.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
380
381
  return {
381
- left: U.value ? 0 : n,
382
- right: U.value ? n : 0,
382
+ left: H.value ? 0 : n,
383
+ right: H.value ? n : 0,
383
384
  scaleLabelsWidth: e,
384
385
  yAxisLabelWidth: t,
385
386
  crosshair: 5
386
387
  };
387
388
  }
388
- let $n = S(0), er = ke((e) => {
389
- $n.value = e;
389
+ let Jn = S(0), Yn = ke((e) => {
390
+ Jn.value = e;
390
391
  }, 100);
391
- Xe((e) => {
392
- let t = fn.value;
392
+ Ze((e) => {
393
+ let t = on.value;
393
394
  if (!t) return;
394
395
  let n = new ResizeObserver((e) => {
395
- er(e[0].contentRect.height);
396
+ Yn(e[0].contentRect.height);
396
397
  });
397
398
  n.observe(t), e(() => n.disconnect());
398
- }), We(() => {
399
- $n.value = 0;
399
+ }), Ge(() => {
400
+ Jn.value = 0;
400
401
  });
401
- let tr = d(() => {
402
+ let Xn = d(() => {
402
403
  let e = 0;
403
- pn.value && (e = pn.value.getBBox().height);
404
+ sn.value && (e = sn.value.getBBox().height);
404
405
  let t = 0;
405
- return fn.value && (t = $n.value), e + t + I.value.style.chart.layout.grid.axis.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
406
- }), W = d(() => {
407
- let e = Qn(), t = I.value.style.chart.layout.dataLabels.fontSize * 3, n = R.value.width, r = R.value.height, i = H.value.left + e.left, a = n - H.value.right - e.right, o = n - i - H.value.right - e.right, s = r - H.value.top - H.value.bottom - t - tr.value, c = H.value.top + t;
406
+ return on.value && (t = Jn.value), e + t + I.value.style.chart.layout.grid.axis.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
407
+ }), U = d(() => {
408
+ let e = qn(), t = I.value.style.chart.layout.dataLabels.fontSize * 3, n = R.value.width, r = R.value.height, i = V.value.left + e.left, a = n - V.value.right - e.right, o = n - i - V.value.right - e.right, s = r - V.value.top - V.value.bottom - t - Xn.value, c = V.value.top + t;
408
409
  return {
409
410
  top: c,
410
411
  left: i,
411
412
  right: a,
412
- bottom: r - H.value.bottom - tr.value,
413
+ bottom: r - V.value.bottom - Xn.value,
413
414
  absoluteHeight: r,
414
415
  absoluteWidth: n,
415
416
  centerX: i + Math.max(10, o) / 2,
@@ -420,47 +421,47 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
420
421
  yAxisLabelWidth: e.yAxisLabelWidth,
421
422
  crosshair: e.crosshair
422
423
  };
423
- }), G = d(() => (In.value.forEach((e, t) => {
424
- [null, void 0].includes(e.name) && c({
424
+ }), W = d(() => (An.value.forEach((e, n) => {
425
+ [null, void 0].includes(e.name) && t({
425
426
  componentName: "VueUiDonutEvolution",
426
427
  type: "datasetSerieAttribute",
427
428
  property: "name",
428
- index: t,
429
- debug: Mn.value
430
- }), [null, void 0].includes(e.values) && c({
429
+ index: n,
430
+ debug: En.value
431
+ }), [null, void 0].includes(e.values) && t({
431
432
  componentName: "VueUiDonutEvolution",
432
433
  type: "datasetSerieAttribute",
433
434
  property: "values",
434
- index: t,
435
- debug: Mn.value
435
+ index: n,
436
+ debug: En.value
436
437
  });
437
- }), In.value.map((e, t) => ({
438
+ }), An.value.map((e, t) => ({
438
439
  ...e,
439
- values: r(e.values),
440
- color: ae(e.color) || Zn.value[t] || le[t] || le[t % le.length],
440
+ values: i(e.values),
441
+ color: ce(e.color) || Kn.value[t] || s[t] || s[t % s.length],
441
442
  length: (e.values || []).length,
442
- uid: te()
443
- })))), nr = d(() => G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
443
+ uid: r()
444
+ })))), Zn = d(() => W.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
444
445
  ...e,
445
446
  values: e.values.filter((e, t) => t >= z.value.start && t <= z.value.end)
446
- }))), K = d(() => Math.max(...G.value.map((e) => e.length))), q = S([]), rr = 0;
447
- Xe(() => {
448
- let e = ++rr;
447
+ }))), G = d(() => Math.max(...W.value.map((e) => e.length))), K = S([]), Qn = 0;
448
+ Ze(() => {
449
+ let e = ++Qn;
449
450
  (async () => {
450
451
  let t = await _e({
451
452
  values: I.value.style.chart.layout.grid.xAxis.dataLabels.values,
452
- maxDatapoints: K.value,
453
+ maxDatapoints: G.value,
453
454
  formatter: I.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
454
455
  start: z.value.start,
455
456
  end: z.value.end
456
457
  });
457
- e === rr && (q.value = t);
458
+ e === Qn && (K.value = t);
458
459
  })();
459
460
  });
460
- let J = d(() => W.value.width / (z.value.end - z.value.start)), ir = d(() => {
461
+ let q = d(() => U.value.width / (z.value.end - z.value.start)), $n = d(() => {
461
462
  let e = [];
462
463
  for (let t = 0; t < z.value.end - z.value.start; t += 1) {
463
- let n = nr.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 = W.value.left + J.value * t + J.value / 2;
464
+ 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 = U.value.left + q.value * t + q.value / 2;
464
465
  e.push({
465
466
  index: t,
466
467
  percentages: a,
@@ -470,26 +471,26 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
470
471
  });
471
472
  }
472
473
  return e;
473
- }), ar = d(() => {
474
- let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => ge(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => ge(e))) ?? 0, n = Math.max(I.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
474
+ }), er = d(() => {
475
+ let e = Math.max(...$n.value.map((e) => e.subtotal).filter((e) => ee(e))) ?? 1, t = Math.min(...$n.value.map((e) => e.subtotal).filter((e) => ee(e))) ?? 0, n = Math.max(I.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
475
476
  return r = I.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, I.value.style.chart.layout.grid.yAxis.scaleMin), I.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
476
477
  max: n,
477
478
  min: r
478
479
  };
479
- }), Y = d(() => {
480
- let e = ir.value.length === 1 ? ar.value.max * 2 : ar.value.max;
481
- return se(ar.value.min, e, I.value.style.chart.layout.grid.yAxis.dataLabels.steps);
480
+ }), J = d(() => {
481
+ let e = $n.value.length === 1 ? er.value.max * 2 : er.value.max;
482
+ return de(er.value.min, e, I.value.style.chart.layout.grid.yAxis.dataLabels.steps);
482
483
  });
483
- function or(e) {
484
- return (e - Y.value.min) / (Y.value.max - Y.value.min);
484
+ function tr(e) {
485
+ return (e - J.value.min) / (J.value.max - J.value.min);
485
486
  }
486
- let sr = d(() => Y.value.ticks.map((e) => ({
487
- y: W.value.bottom - W.value.height * or(e),
487
+ let nr = d(() => J.value.ticks.map((e) => ({
488
+ y: U.value.bottom - U.value.height * tr(e),
488
489
  value: e
489
- }))), X = d(() => {
490
- let e = ir.value, t = Math.max(...e.map((e) => e.subtotal));
490
+ }))), Y = d(() => {
491
+ let e = $n.value, t = Math.max(...e.map((e) => e.subtotal));
491
492
  return e.length === 1 && t * 2, e.map((t, r) => {
492
- let i = Math.min(W.value.width / 24, J.value / 2 * .7), a = i > W.value.width / 16 ? W.value.width / 16 : i, o = j.value === t.index ? W.value.width / 16 : a, s = e.length > 4 ? i * 2 : i * 2 > J.value / 2 * .7 ? J.value / 2 * .7 : i * 2, c = W.value.bottom - W.value.height * or(t.subtotal), l = nr.value.map((e) => ({
493
+ let i = Math.min(U.value.width / 24, q.value / 2 * .7), a = i > U.value.width / 16 ? U.value.width / 16 : i, o = j.value === t.index ? U.value.width / 16 : a, s = e.length > 4 ? i * 2 : i * 2 > q.value / 2 * .7 ? q.value / 2 * .7 : i * 2, c = U.value.bottom - U.value.height * tr(t.subtotal), l = Zn.value.map((e) => ({
493
494
  color: e.color,
494
495
  name: e.name,
495
496
  value: e.values[r] ?? 0
@@ -502,12 +503,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
502
503
  hoverRadius: s,
503
504
  donut: n({ series: l }, t.x, c, a, a, 1.99999, 2, 1, 360, 105.25, a / 2),
504
505
  donutHover: n({ series: l }, t.x, c, s, s, 1.99999, 2, 1, 360, 105.25, s / 2),
505
- donutFocus: n({ series: l }, W.value.centerX, W.value.centerY, W.value.height / 3.6, W.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, W.value.height / 6)
506
+ donutFocus: n({ series: l }, U.value.centerX, U.value.centerY, U.value.height / 3.6, U.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, U.value.height / 6)
506
507
  };
507
508
  });
508
509
  });
509
- function cr(e, t, n) {
510
- return ce(I.value.style.chart.layout.dataLabels.formatter, e, de({
510
+ function rr(e, t, n) {
511
+ return fe(I.value.style.chart.layout.dataLabels.formatter, e, a({
511
512
  p: I.value.style.chart.layout.dataLabels.prefix,
512
513
  v: e,
513
514
  s: I.value.style.chart.layout.dataLabels.suffix,
@@ -517,29 +518,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
517
518
  index: n
518
519
  });
519
520
  }
520
- function lr(e, n) {
521
- return isNaN(e.value / t(n, "value")) ? 0 : (e.value / t(n, "value") * 100).toFixed(0) + "%";
521
+ function ir(e, t) {
522
+ return isNaN(e.value / re(t, "value")) ? 0 : (e.value / re(t, "value") * 100).toFixed(0) + "%";
522
523
  }
523
- function ur(e) {
524
+ function ar(e) {
524
525
  j.value = null, M.value = null, F.value = null, I.value.events.datapointLeave && I.value.events.datapointLeave({
525
526
  datapoint: e,
526
527
  seriesIndex: e.seriesIndex + z.value.start
527
528
  });
528
529
  }
529
- function dr(e) {
530
+ function or(e) {
530
531
  I.value.events.datapointEnter && I.value.events.datapointEnter({
531
532
  datapoint: e,
532
533
  seriesIndex: e.index + z.value.start
533
534
  }), j.value = e.index, M.value = e, F.value = e.index;
534
535
  }
535
- let fr = S(null);
536
- function pr(e, t) {
536
+ let sr = S(null);
537
+ function cr(e, t) {
537
538
  I.value.events.datapointClick && I.value.events.datapointClick({
538
539
  datapoint: e,
539
540
  seriesIndex: e.index + z.value.start
540
- }), !(!e.subtotal || !I.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
541
+ }), !(!e.subtotal || !I.value.style.chart.dialog.show) && (M.value = null, j.value = null, Zt.value = !0, N.value = e, Er(e), [null, void 0].includes(t) || (sr.value = t));
541
542
  }
542
- let Z = d(() => G.value.map((e, t) => ({
543
+ let lr = d(() => W.value.map((e, t) => ({
543
544
  name: e.name,
544
545
  value: e.values.slice(z.value.start, z.value.end).reduce((e, t) => e + t, 0),
545
546
  shape: "circle",
@@ -548,9 +549,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
548
549
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
549
550
  ...e,
550
551
  opacity: A.value.includes(e.uid) ? .5 : 1,
551
- segregate: () => _r(e.uid),
552
+ segregate: () => pr(e.uid),
552
553
  isSegregated: A.value.includes(e.uid),
553
- display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? ce(I.value.style.chart.layout.dataLabels.formatter, e.value, de({
554
+ display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? fe(I.value.style.chart.layout.dataLabels.formatter, e.value, a({
554
555
  p: I.value.style.chart.layout.dataLabels.prefix,
555
556
  v: e.value,
556
557
  s: I.value.style.chart.layout.dataLabels.suffix,
@@ -558,12 +559,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
558
559
  }), {
559
560
  datapoint: e,
560
561
  seriesIndex: t
561
- }) : ""}${I.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / mr.value) ? "-" : de({
562
- v: e.value / mr.value * 100,
562
+ }) : ""}${I.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / ur.value) ? "-" : a({
563
+ v: e.value / ur.value * 100,
563
564
  s: "%",
564
565
  r: I.value.style.chart.legend.roundingPercentage
565
566
  })}${I.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
566
- }))), mr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), hr = d(() => ({
567
+ }))), ur = d(() => Y.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), dr = d(() => ({
567
568
  cy: "donut-div-legend",
568
569
  backgroundColor: I.value.style.chart.legend.backgroundColor,
569
570
  color: I.value.style.chart.legend.color,
@@ -571,38 +572,38 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
571
572
  paddingBottom: 12,
572
573
  fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
573
574
  }));
574
- function gr() {
575
- A.value.length ? A.value = [] : Z.value.forEach((e) => {
575
+ function fr() {
576
+ A.value.length ? A.value = [] : lr.value.forEach((e) => {
576
577
  A.value.push(e.uid);
577
- }), An("selectLegend", nr.value);
578
+ }), wn("selectLegend", Zn.value);
578
579
  }
579
- function _r(e) {
580
- if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), An("selectLegend", nr.value);
580
+ function pr(e) {
581
+ if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), wn("selectLegend", Zn.value);
581
582
  else {
582
- if (A.value.length === G.value.length - 1) return;
583
- A.value.push(e), An("selectLegend", nr.value);
583
+ if (A.value.length === W.value.length - 1) return;
584
+ A.value.push(e), wn("selectLegend", Zn.value);
584
585
  }
585
- N.value && pr(X.value.find((e, t) => t === fr.value));
586
+ N.value && cr(Y.value.find((e, t) => t === sr.value));
586
587
  }
587
- function vr(e) {
588
- return G.value.length ? G.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
588
+ function mr(e) {
589
+ return W.value.length ? W.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
589
590
  }
590
- function yr(e) {
591
- let t = vr(e);
592
- t !== null && A.value.includes(t.uid) && _r(t.uid);
591
+ function hr(e) {
592
+ let t = mr(e);
593
+ t !== null && A.value.includes(t.uid) && pr(t.uid);
593
594
  }
594
- function br(e) {
595
- let t = vr(e);
596
- t !== null && (A.value.includes(t.uid) || _r(t.uid));
595
+ function gr(e) {
596
+ let t = mr(e);
597
+ t !== null && (A.value.includes(t.uid) || pr(t.uid));
597
598
  }
598
- let Q = d(() => {
599
- let e = [""].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
599
+ let X = d(() => {
600
+ let e = [""].concat(W.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
600
601
  name: e.name,
601
602
  color: e.color
602
603
  })), ["Σ"]), t = [];
603
- for (let e = 0; e < K.value; e += 1) {
604
- let n = G.value.filter((e) => !A.value.includes(e.uid)).map((t) => t.values[e] ?? 0).reduce((e, t) => e + t, 0);
605
- t.push([q.value[e] ? q.value[e].text : "-"].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((t) => ({
604
+ for (let e = 0; e < G.value; e += 1) {
605
+ let n = W.value.filter((e) => !A.value.includes(e.uid)).map((t) => t.values[e] ?? 0).reduce((e, t) => e + t, 0);
606
+ t.push([K.value[e] ? K.value[e].text : "-"].concat(W.value.filter((e) => !A.value.includes(e.uid)).map((t) => ({
606
607
  value: t.values[e] ?? 0,
607
608
  percentage: t.values[e] ? t.values[e] / n * 100 : 0
608
609
  })), [`${I.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(I.value.table.td.roundingValue))}${I.value.style.chart.layout.dataLabels.suffix}`]));
@@ -610,7 +611,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
610
611
  return {
611
612
  head: e,
612
613
  body: t,
613
- bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${cr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
614
+ 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)}%)`)),
614
615
  config: {
615
616
  th: {
616
617
  backgroundColor: I.value.table.th.backgroundColor,
@@ -624,52 +625,52 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
624
625
  },
625
626
  breakpoint: I.value.table.responsiveBreakpoint
626
627
  },
627
- colNames: [I.value.table.columnNames.period].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), I.value.table.columnNames.total)
628
+ colNames: [I.value.table.columnNames.period].concat(W.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), I.value.table.columnNames.total)
628
629
  };
629
630
  });
630
- function xr() {
631
- return G.value;
631
+ function _r() {
632
+ return W.value;
632
633
  }
633
- function Sr(e = null) {
634
- Ue(() => {
634
+ function vr(e = null) {
635
+ We(() => {
635
636
  let t = [
636
637
  [I.value.style.chart.title.text],
637
638
  [I.value.style.chart.title.subtitle.text],
638
639
  [""]
639
- ], n = [...Q.value.head.map((e) => e.name ?? e)], r = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], i = he(t.concat([n]).concat(r));
640
- e ? e(i) : ne({
640
+ ], n = [...X.value.head.map((e) => e.name ?? e)], r = [...X.value.body.map((e) => e.map((e) => e.value ?? e))], i = te(t.concat([n]).concat(r));
641
+ e ? e(i) : oe({
641
642
  csvContent: i,
642
643
  title: I.value.style.chart.title.text || "vue-ui-donut-evolution"
643
644
  });
644
645
  });
645
646
  }
646
- let $ = S(!1);
647
- function Cr(e) {
648
- $.value = e, on.value += 1;
647
+ let Z = S(!1);
648
+ function yr(e) {
649
+ Z.value = e, $t.value += 1;
649
650
  }
650
- function wr() {
651
- V.value.showTable = !V.value.showTable;
651
+ function br() {
652
+ B.value.showTable = !B.value.showTable;
652
653
  }
653
- let Tr = S(!1);
654
- function Er() {
655
- Tr.value = !Tr.value;
654
+ let Q = S(!1);
655
+ function xr() {
656
+ Q.value = !Q.value;
656
657
  }
657
- function Dr(e) {
658
+ function Sr(e) {
658
659
  return e.proportion * 100 > I.value.style.chart.donuts.hover.hideLabelsUnderValue;
659
660
  }
660
- let Or = S([]), kr = S({}), Ar = S(null);
661
- function jr(e) {
662
- Or.value = e.donut.map((e) => ({
661
+ let Cr = S([]), wr = S({}), Tr = S(null);
662
+ function Er(e) {
663
+ Cr.value = e.donut.map((e) => ({
663
664
  name: e.name,
664
665
  values: [e.value],
665
666
  color: e.color
666
- })), kr.value = re({
667
+ })), wr.value = ae({
667
668
  ...I.value.style.chart.dialog.donutChart,
668
669
  responsive: !0,
669
670
  theme: I.value.theme
670
- }), Ar.value && Ar.value.open();
671
+ }), Tr.value && Tr.value.open();
671
672
  }
672
- async function Mr({ scale: e = 2 } = {}) {
673
+ async function Dr({ scale: e = 2 } = {}) {
673
674
  if (!P.value) return;
674
675
  let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
675
676
  domElement: P.value,
@@ -687,8 +688,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
687
688
  };
688
689
  }
689
690
  Te({
690
- timeLabelsEls: fn,
691
- timeLabels: q,
691
+ timeLabelsEls: on,
692
+ timeLabels: K,
692
693
  slicer: z,
693
694
  configRef: I,
694
695
  rotationPath: [
@@ -715,17 +716,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
715
716
  height: d(() => R.value.height),
716
717
  rotation: I.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
717
718
  });
718
- let Nr = d(() => {
719
- let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
719
+ let $ = d(() => {
720
+ let e = I.value.table.useDialog && !I.value.table.show, t = B.value.showTable;
720
721
  return {
721
- component: e ? $t : Kt,
722
+ component: e ? qt : Bt,
722
723
  title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
723
724
  props: e ? {
724
725
  backgroundColor: I.value.table.th.backgroundColor,
725
726
  color: I.value.table.th.color,
726
727
  headerColor: I.value.table.th.color,
727
728
  headerBg: I.value.table.th.backgroundColor,
728
- isFullscreen: $.value,
729
+ isFullscreen: Z.value,
729
730
  fullscreenParent: P.value,
730
731
  forcedWidth: Math.min(800, window.innerWidth * .8),
731
732
  isCursorPointer: L.value
@@ -746,70 +747,70 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
746
747
  }
747
748
  };
748
749
  });
749
- Ye(() => V.value.showTable, (e) => {
750
- I.value.table.show || (e && I.value.table.useDialog && gn.value ? gn.value.open() : "close" in gn.value && gn.value.close());
750
+ Xe(() => B.value.showTable, (e) => {
751
+ I.value.table.show || (e && I.value.table.useDialog && un.value ? un.value.open() : "close" in un.value && un.value.close());
751
752
  });
752
- function Pr() {
753
- V.value.showTable = !1, _n.value && _n.value.setTableIconState(!1);
753
+ function Or() {
754
+ B.value.showTable = !1, dn.value && dn.value.setTableIconState(!1);
754
755
  }
755
- let Fr = d(() => Z.value.map((e) => ({
756
+ let kr = d(() => lr.value.map((e) => ({
756
757
  ...e,
757
758
  name: e.display
758
- }))), Ir = d(() => I.value.style.chart.backgroundColor), Lr = d(() => I.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Se({
759
- svg: B,
759
+ }))), Ar = d(() => I.value.style.chart.backgroundColor), jr = d(() => I.value.style.chart.legend), { exportSvg: Mr, getSvg: Nr } = Se({
760
+ svg: zn,
760
761
  title: d(() => I.value.style.chart.title),
761
- legend: Lr,
762
- legendItems: Fr,
763
- backgroundColor: Ir
762
+ legend: jr,
763
+ legendItems: kr,
764
+ backgroundColor: Ar
764
765
  });
765
- async function Br({ isCb: e }) {
766
- yn.value = !0, await Ue();
766
+ async function Pr({ isCb: e }) {
767
+ pn.value = !0, await We();
767
768
  try {
768
769
  if (e) {
769
- let { blob: e, url: t, text: n, dataUrl: r } = await zr();
770
+ let { blob: e, url: t, text: n, dataUrl: r } = await Nr();
770
771
  await Promise.resolve(I.value.userOptions.callbacks.svg({
771
772
  blob: e,
772
773
  url: t,
773
774
  text: n,
774
775
  dataUrl: r
775
776
  }));
776
- } else await Promise.resolve(Rr());
777
+ } else await Promise.resolve(Mr());
777
778
  } finally {
778
- yn.value = !1;
779
+ pn.value = !1;
779
780
  }
780
781
  }
781
- function Vr(e) {
782
+ function Fr(e) {
782
783
  if (e?.stage === "start") {
783
- vn.value = !0;
784
+ fn.value = !0;
784
785
  return;
785
786
  }
786
787
  if (e?.stage === "end") {
787
- vn.value = !1;
788
+ fn.value = !1;
788
789
  return;
789
790
  }
790
- Yn();
791
+ Wn();
791
792
  }
792
- async function Hr() {
793
- if (An("copyAlt", {
793
+ async function Ir() {
794
+ if (wn("copyAlt", {
794
795
  config: I.value,
795
- dataset: X.value
796
+ dataset: Y.value
796
797
  }), !I.value.userOptions.callbacks.altCopy) {
797
798
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
798
799
  return;
799
800
  }
800
801
  await Promise.resolve(I.value.userOptions.callbacks.altCopy({
801
802
  config: I.value,
802
- dataset: X.value
803
+ dataset: Y.value
803
804
  }));
804
805
  }
805
- function Ur() {
806
- F.value = null, kn.value = !0;
806
+ function Lr() {
807
+ F.value = null, Cn.value = !0;
807
808
  }
808
- function Wr() {
809
- F.value = null, j.value = null, M.value = null, kn.value = !1;
809
+ function Rr() {
810
+ F.value = null, j.value = null, M.value = null, Cn.value = !1;
810
811
  }
811
- function Gr(e) {
812
- if (!B.value || Tr.value || document.activeElement !== B.value || !X.value.length) return;
812
+ function zr(e) {
813
+ if (!zn.value || Q.value || document.activeElement !== zn.value || !Y.value.length) return;
813
814
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
814
815
  if (!t && !n && !r && !i) return;
815
816
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -818,51 +819,51 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
818
819
  }
819
820
  if (r) {
820
821
  if (F.value === null) return;
821
- let e = X.value[F.value];
822
+ let e = Y.value[F.value];
822
823
  if (!e) return;
823
- pr(e, F.value);
824
+ cr(e, F.value);
824
825
  return;
825
826
  }
826
- let a = F.value, o = j.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
827
- s ? n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= X.value.length && (a = 0), a < 0 && (a = X.value.length - 1)) : a = n ? 0 : X.value.length - 1;
828
- let l = X.value[a];
829
- l && dr(l);
827
+ let a = F.value, o = j.value, s = a !== null && a >= 0 && a < Y.value.length, c = o !== null && o >= 0 && o < Y.value.length;
828
+ s ? n ? (a += 1, a >= Y.value.length && (a = 0)) : t && (--a, a < 0 && (a = Y.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Y.value.length && (a = 0), a < 0 && (a = Y.value.length - 1)) : a = n ? 0 : Y.value.length - 1;
829
+ let l = Y.value[a];
830
+ l && or(l);
830
831
  }
831
- let Kr = d(() => ({
832
- headers: Q.value?.colNames ?? [],
833
- rows: Q.value?.bodyA11y ?? []
832
+ let Br = d(() => ({
833
+ headers: X.value?.colNames ?? [],
834
+ rows: X.value?.bodyA11y ?? []
834
835
  }));
835
836
  return Oe({
836
- getData: xr,
837
- getImage: Mr,
838
- generatePdf: Jn,
839
- generateCsv: Sr,
840
- generateImage: Yn,
841
- generateSvg: Br,
842
- hideSeries: br,
843
- showSeries: yr,
844
- toggleTable: wr,
845
- toggleAnnotator: Er,
846
- toggleFullscreen: Cr,
847
- copyAlt: Hr
837
+ getData: _r,
838
+ getImage: Dr,
839
+ generatePdf: Un,
840
+ generateCsv: vr,
841
+ generateImage: Wn,
842
+ generateSvg: Pr,
843
+ hideSeries: gr,
844
+ showSeries: hr,
845
+ toggleTable: br,
846
+ toggleAnnotator: xr,
847
+ toggleFullscreen: yr,
848
+ copyAlt: Ir
848
849
  }), (e, t) => (x(), m("div", {
849
850
  ref_key: "donutEvolutionChart",
850
851
  ref: P,
851
- class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
852
+ class: v(`vue-data-ui-component vue-ui-donut-evolution ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
852
853
  style: b(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.chart.backgroundColor}`),
853
854
  id: k.value,
854
- onMouseenter: t[5] ||= () => E(Un)(!0),
855
- onMouseleave: t[6] ||= () => E(Un)(!1)
855
+ onMouseenter: t[5] ||= () => E(Ln)(!0),
856
+ onMouseleave: t[6] ||= () => E(Ln)(!1)
856
857
  }, [
857
858
  h("div", {
858
859
  id: `chart-instructions-${k.value}`,
859
860
  class: "sr-only"
860
- }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
861
- Kr.value?.rows?.length ? (x(), f(Me, {
861
+ }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, et),
862
+ Br.value?.rows?.length ? (x(), f(Ne, {
862
863
  key: 0,
863
864
  uid: k.value,
864
- head: Kr.value.headers,
865
- body: Kr.value.rows,
865
+ head: Br.value.headers,
866
+ body: Br.value.rows,
866
867
  notice: I.value.a11y.translations.tableAvailable,
867
868
  caption: I.value.a11y.translations.tableCaption
868
869
  }, null, 8, [
@@ -872,14 +873,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
872
873
  "notice",
873
874
  "caption"
874
875
  ])) : p("", !0),
875
- I.value.userOptions.buttons.annotator ? (x(), f(E(Xt), {
876
+ I.value.userOptions.buttons.annotator ? (x(), f(E(Wt), {
876
877
  key: 1,
877
- svgRef: E(B),
878
+ svgRef: E(zn),
878
879
  backgroundColor: I.value.style.chart.backgroundColor,
879
880
  color: I.value.style.chart.color,
880
- active: Tr.value,
881
+ active: Q.value,
881
882
  isCursorPointer: L.value,
882
- onClose: Er
883
+ onClose: xr
883
884
  }, {
884
885
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
885
886
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -895,21 +896,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
895
896
  "active",
896
897
  "isCursorPointer"
897
898
  ])) : p("", !0),
898
- Xn.value ? (x(), m("div", {
899
+ Gn.value ? (x(), m("div", {
899
900
  key: 2,
900
901
  ref_key: "noTitle",
901
- ref: an,
902
+ ref: Qt,
902
903
  class: "vue-data-ui-no-title-space",
903
904
  style: "height:36px; width: 100%;background:transparent"
904
905
  }, null, 512)) : p("", !0),
905
906
  I.value.style.chart.title.text ? (x(), m("div", {
906
907
  key: 3,
907
908
  ref_key: "chartTitle",
908
- ref: bn,
909
+ ref: mn,
909
910
  style: "width:100%;background:transparent;padding-bottom:24px",
910
- onMouseleave: ur
911
+ onMouseleave: ar
911
912
  }, [(x(), f(De, {
912
- key: `title_${cn.value}`,
913
+ key: `title_${tn.value}`,
913
914
  config: {
914
915
  title: {
915
916
  cy: "donut-evolution-div-title",
@@ -921,15 +922,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
921
922
  }
922
923
  }
923
924
  }, null, 8, ["config"]))], 544)) : p("", !0),
924
- h("div", { id: `legend-top-${k.value}` }, null, 8, et),
925
- I.value.userOptions.show && jn.value && (E(Wn) || E(Hn)) ? (x(), f(E(Zt), {
925
+ h("div", { id: `legend-top-${k.value}` }, null, 8, tt),
926
+ I.value.userOptions.show && Tn.value && (E(Rn) || E(In)) ? (x(), f(E(Gt), {
926
927
  ref_key: "userOptionsRef",
927
- ref: _n,
928
- key: `user_options_${on.value}`,
928
+ ref: dn,
929
+ key: `user_options_${$t.value}`,
929
930
  backgroundColor: I.value.style.chart.backgroundColor,
930
931
  color: I.value.style.chart.color,
931
- isPrinting: E(Kn),
932
- isImaging: E(qn),
932
+ isPrinting: E(Vn),
933
+ isImaging: E(Hn),
933
934
  uid: k.value,
934
935
  hasPdf: I.value.userOptions.buttons.pdf,
935
936
  hasImg: I.value.userOptions.buttons.img,
@@ -938,26 +939,26 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
938
939
  hasTable: I.value.userOptions.buttons.table,
939
940
  hasFullscreen: I.value.userOptions.buttons.fullscreen,
940
941
  hasAltCopy: I.value.userOptions.buttons.altCopy,
941
- isFullscreen: $.value,
942
+ isFullscreen: Z.value,
942
943
  titles: { ...I.value.userOptions.buttonTitles },
943
944
  chartElement: P.value,
944
945
  position: I.value.userOptions.position,
945
946
  hasAnnotator: I.value.userOptions.buttons.annotator,
946
- isAnnotation: Tr.value,
947
+ isAnnotation: Q.value,
947
948
  callbacks: I.value.userOptions.callbacks,
948
949
  printScale: I.value.userOptions.print.scale,
949
950
  tableDialog: I.value.table.useDialog,
950
951
  isCursorPointer: L.value,
951
- onToggleFullscreen: Cr,
952
- onGeneratePdf: E(Jn),
953
- onGenerateCsv: Sr,
954
- onGenerateImage: Vr,
955
- onGenerateSvg: Br,
956
- onToggleTable: wr,
957
- onToggleAnnotator: Er,
958
- onCopyAlt: Hr,
959
- style: b({ visibility: E(Wn) ? E(Hn) ? "visible" : "hidden" : "visible" })
960
- }, ze({ _: 2 }, [
952
+ onToggleFullscreen: yr,
953
+ onGeneratePdf: E(Un),
954
+ onGenerateCsv: vr,
955
+ onGenerateImage: Fr,
956
+ onGenerateSvg: Pr,
957
+ onToggleTable: br,
958
+ onToggleAnnotator: xr,
959
+ onCopyAlt: Ir,
960
+ style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
961
+ }, Be({ _: 2 }, [
961
962
  e.$slots.menuIcon ? {
962
963
  name: "menuIcon",
963
964
  fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
@@ -1048,130 +1049,141 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1048
1049
  "onGeneratePdf",
1049
1050
  "style"
1050
1051
  ])) : p("", !0),
1051
- h("div", tt, [(x(), m("svg", {
1052
+ h("div", nt, [(x(), m("svg", {
1052
1053
  ref_key: "svgRef",
1053
- ref: B,
1054
- xmlns: E(fe),
1054
+ ref: zn,
1055
+ xmlns: E(he),
1055
1056
  "aria-describedby": `chart-instructions-${k.value}`,
1056
1057
  class: v({
1057
- "vue-data-ui-fullscreen--on": $.value,
1058
- "vue-data-ui-fulscreen--off": !$.value
1058
+ "vue-data-ui-fullscreen--on": Z.value,
1059
+ "vue-data-ui-fulscreen--off": !Z.value
1059
1060
  }),
1060
- viewBox: `0 0 ${W.value.absoluteWidth} ${W.value.absoluteHeight}`,
1061
+ viewBox: `0 0 ${U.value.absoluteWidth} ${U.value.absoluteHeight}`,
1061
1062
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color};`),
1062
1063
  tabindex: "0",
1063
- onFocus: Ur,
1064
- onBlur: Wr,
1065
- onKeydown: Gr
1064
+ onFocus: Lr,
1065
+ onBlur: Rr,
1066
+ onKeydown: zr
1066
1067
  }, [
1067
- Ve(E(Yt)),
1068
+ He(E(Ut)),
1068
1069
  e.$slots["chart-background"] ? (x(), m("foreignObject", {
1069
1070
  key: 0,
1070
- x: W.value.left,
1071
- y: W.value.top,
1072
- width: W.value.width,
1073
- height: W.value.height,
1071
+ x: U.value.left,
1072
+ y: U.value.top,
1073
+ width: U.value.width,
1074
+ height: U.value.height,
1074
1075
  style: { pointerEvents: "none" }
1075
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : p("", !0),
1076
- h("defs", null, [h("linearGradient", {
1076
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : p("", !0),
1077
+ h("defs", null, [He(je, {
1078
+ t: "linear",
1077
1079
  id: `hover_${k.value}`,
1078
1080
  x1: "0%",
1079
1081
  y1: "0%",
1080
1082
  x2: "0%",
1081
- y2: "100%"
1082
- }, [h("stop", {
1083
- offset: "0%",
1084
- "stop-color": E(o)(I.value.style.chart.backgroundColor, I.value.style.chart.layout.highlighter.opacity)
1085
- }, null, 8, at), h("stop", {
1086
- offset: "100%",
1087
- "stop-color": E(o)(I.value.style.chart.layout.highlighter.color, I.value.style.chart.layout.highlighter.opacity)
1088
- }, null, 8, ot)], 8, it), h("radialGradient", { id: `focus_${k.value}` }, [
1089
- h("stop", {
1090
- offset: "0%",
1091
- "stop-color": E(o)(E(ae)(I.value.style.chart.backgroundColor), 0)
1092
- }, null, 8, ct),
1093
- h("stop", {
1094
- offset: "77%",
1095
- "stop-color": E(o)("#FFFFFF", 30)
1096
- }, null, 8, lt),
1097
- h("stop", {
1098
- offset: "100%",
1099
- "stop-color": E(o)(E(ae)(I.value.style.chart.backgroundColor), 0)
1100
- }, null, 8, ut)
1101
- ], 8, st)]),
1102
- I.value.style.chart.layout.grid.show ? (x(), m("g", dt, [
1083
+ y2: "100%",
1084
+ stops: [[
1085
+ "0%",
1086
+ E(c)(I.value.style.chart.backgroundColor, I.value.style.chart.layout.highlighter.opacity),
1087
+ 1
1088
+ ], [
1089
+ "100%",
1090
+ E(c)(I.value.style.chart.layout.highlighter.color, I.value.style.chart.layout.highlighter.opacity),
1091
+ 1
1092
+ ]]
1093
+ }, null, 8, ["id", "stops"]), He(je, {
1094
+ t: "radial",
1095
+ id: `focus_${k.value}`,
1096
+ stops: [
1097
+ [
1098
+ "0%",
1099
+ E(c)(E(ce)(I.value.style.chart.backgroundColor), 0),
1100
+ 1
1101
+ ],
1102
+ [
1103
+ "77%",
1104
+ E(c)("#FFFFFF", 30),
1105
+ 1
1106
+ ],
1107
+ [
1108
+ "100%",
1109
+ E(c)(E(ce)(I.value.style.chart.backgroundColor), 0),
1110
+ 1
1111
+ ]
1112
+ ]
1113
+ }, null, 8, ["id", "stops"])]),
1114
+ I.value.style.chart.layout.grid.show ? (x(), m("g", at, [
1103
1115
  h("line", {
1104
- x1: U.value ? W.value.right : W.value.left,
1105
- x2: U.value ? W.value.right : W.value.left,
1106
- y1: W.value.top,
1107
- y2: W.value.top + W.value.height,
1116
+ x1: H.value ? U.value.right : U.value.left,
1117
+ x2: H.value ? U.value.right : U.value.left,
1118
+ y1: U.value.top,
1119
+ y2: U.value.top + U.value.height,
1108
1120
  stroke: I.value.style.chart.layout.grid.stroke,
1109
1121
  "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1110
1122
  "stroke-linecap": "round"
1111
- }, null, 8, ft),
1123
+ }, null, 8, ot),
1112
1124
  h("line", {
1113
- x1: W.value.left,
1114
- x2: W.value.right,
1115
- y1: W.value.bottom,
1116
- y2: W.value.bottom,
1125
+ x1: U.value.left,
1126
+ x2: U.value.right,
1127
+ y1: U.value.bottom,
1128
+ y2: U.value.bottom,
1117
1129
  stroke: I.value.style.chart.layout.grid.stroke,
1118
1130
  "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1119
1131
  "stroke-linecap": "round"
1120
- }, null, 8, pt),
1121
- I.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", mt, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, t) => (x(), m("line", {
1122
- x1: W.value.left + (t + 1) * J.value,
1123
- x2: W.value.left + (t + 1) * J.value,
1124
- y1: W.value.top,
1125
- y2: W.value.bottom,
1132
+ }, null, 8, st),
1133
+ I.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", ct, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, t) => (x(), m("line", {
1134
+ x1: U.value.left + (t + 1) * q.value,
1135
+ x2: U.value.left + (t + 1) * q.value,
1136
+ y1: U.value.top,
1137
+ y2: U.value.bottom,
1126
1138
  stroke: I.value.style.chart.layout.grid.stroke,
1127
1139
  "stroke-width": I.value.style.chart.layout.grid.strokeWidth,
1128
1140
  "stroke-linecap": "round"
1129
- }, null, 8, ht))), 256))])) : p("", !0)
1141
+ }, null, 8, lt))), 256))])) : p("", !0)
1130
1142
  ])) : p("", !0),
1131
1143
  h("g", null, [I.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
1132
1144
  key: 0,
1133
1145
  ref_key: "yAxisLabel",
1134
- ref: mn,
1146
+ ref: cn,
1135
1147
  "font-size": I.value.style.chart.layout.grid.axis.fontSize,
1136
1148
  fill: I.value.style.chart.layout.grid.axis.color,
1137
- transform: `translate(${U.value ? W.value.absoluteWidth - I.value.style.chart.layout.grid.axis.fontSize / 2 - I.value.style.chart.layout.grid.axis.yLabelOffsetX : I.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1149
+ transform: `translate(${H.value ? U.value.absoluteWidth - I.value.style.chart.layout.grid.axis.fontSize / 2 - I.value.style.chart.layout.grid.axis.yLabelOffsetX : I.value.style.chart.layout.grid.axis.fontSize}, ${U.value.top + U.value.height / 2}) rotate(-90)`,
1138
1150
  "text-anchor": "middle",
1139
1151
  style: { transition: "none" }
1140
- }, T(I.value.style.chart.layout.grid.axis.yLabel), 9, gt)) : p("", !0), I.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1152
+ }, T(I.value.style.chart.layout.grid.axis.yLabel), 9, ut)) : p("", !0), I.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1141
1153
  key: 1,
1142
1154
  ref_key: "xAxisLabel",
1143
- ref: pn,
1155
+ ref: sn,
1144
1156
  "text-anchor": "middle",
1145
- x: W.value.absoluteWidth / 2,
1146
- y: W.value.absoluteHeight - 3,
1157
+ x: U.value.absoluteWidth / 2,
1158
+ y: U.value.absoluteHeight - 3,
1147
1159
  "font-size": I.value.style.chart.layout.grid.axis.fontSize,
1148
1160
  fill: I.value.style.chart.layout.grid.axis.color
1149
- }, T(I.value.style.chart.layout.grid.axis.xLabel), 9, _t)) : p("", !0)]),
1161
+ }, T(I.value.style.chart.layout.grid.axis.xLabel), 9, dt)) : p("", !0)]),
1150
1162
  I.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1151
1163
  key: 2,
1152
1164
  ref_key: "scaleLabels",
1153
- ref: dn,
1165
+ ref: an,
1154
1166
  class: v({
1155
1167
  "donut-opacity": !0,
1156
1168
  "donut-behind": j.value !== null
1157
1169
  })
1158
- }, [(x(!0), m(u, null, C(sr.value, (e, t) => (x(), m("g", null, [e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("line", {
1170
+ }, [(x(!0), m(u, null, C(nr.value, (e, t) => (x(), m("g", null, [e.value >= J.value.min && e.value <= J.value.max ? (x(), m("line", {
1159
1171
  key: 0,
1160
- x1: U.value ? W.value.right : W.value.left,
1161
- x2: U.value ? W.value.right + 5 : W.value.left - 5,
1172
+ x1: H.value ? U.value.right : U.value.left,
1173
+ x2: H.value ? U.value.right + 5 : U.value.left - 5,
1162
1174
  y1: e.y,
1163
1175
  y2: e.y,
1164
1176
  stroke: I.value.style.chart.layout.grid.stroke,
1165
1177
  "stroke-width": I.value.style.chart.layout.grid.strokeWidth
1166
- }, null, 8, vt)) : p("", !0), e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("text", {
1178
+ }, null, 8, ft)) : p("", !0), e.value >= J.value.min && e.value <= J.value.max ? (x(), m("text", {
1167
1179
  key: 1,
1168
- x: U.value ? W.value.right - I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1180
+ x: H.value ? U.value.right - I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : U.value.left + I.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1169
1181
  y: e.y + I.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
1170
1182
  "font-size": I.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1171
- "text-anchor": U.value ? "start" : "end",
1183
+ "text-anchor": H.value ? "start" : "end",
1172
1184
  fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
1173
1185
  "font-weight": I.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1174
- }, T(E(ie)(e.value) ? E(ce)(I.value.style.chart.layout.dataLabels.formatter, e.value, E(de)({
1186
+ }, T(E(se)(e.value) ? E(fe)(I.value.style.chart.layout.dataLabels.formatter, e.value, E(a)({
1175
1187
  p: I.value.style.chart.layout.dataLabels.prefix,
1176
1188
  v: e.value,
1177
1189
  s: I.value.style.chart.layout.dataLabels.suffix,
@@ -1179,35 +1191,35 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1179
1191
  }), {
1180
1192
  datapoint: e,
1181
1193
  seriesIndex: t
1182
- }) : ""), 9, yt)) : p("", !0)]))), 256))], 2)) : p("", !0),
1194
+ }) : ""), 9, pt)) : p("", !0)]))), 256))], 2)) : p("", !0),
1183
1195
  I.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
1184
1196
  key: 3,
1185
1197
  ref_key: "timeLabelsEls",
1186
- ref: fn,
1198
+ ref: on,
1187
1199
  class: v({ "donut-opacity": !0 })
1188
- }, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, t) => (x(), m("g", null, [(I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === K.value - 1) || !I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && q.value[t] && q.value[t].text ? (x(), m("g", bt, [String(q.value[t].text).includes("\n") ? (x(), m("text", {
1200
+ }, [(x(!0), m(u, null, C(z.value.end - z.value.start, (e, t) => (x(), m("g", null, [(I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === G.value - 1) || !I.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && K.value[t] && K.value[t].text ? (x(), m("g", mt, [String(K.value[t].text).includes("\n") ? (x(), m("text", {
1189
1201
  key: 1,
1190
1202
  class: "vue-data-ui-time-label",
1191
1203
  "text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1192
1204
  "font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1193
1205
  fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1194
- transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
1195
- innerHTML: E(a)({
1196
- content: String(q.value[t].text),
1206
+ transform: `translate(${U.value.left + q.value * t + q.value / 2}, ${U.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
1207
+ innerHTML: E(ne)({
1208
+ content: String(K.value[t].text),
1197
1209
  fontSize: I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1198
1210
  fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1199
1211
  x: 0,
1200
1212
  y: 0
1201
1213
  })
1202
- }, null, 8, St)) : (x(), m("text", {
1214
+ }, null, 8, gt)) : (x(), m("text", {
1203
1215
  key: 0,
1204
1216
  class: "vue-data-ui-time-label",
1205
1217
  "text-anchor": I.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : I.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1206
1218
  "font-size": I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1207
1219
  fill: I.value.style.chart.layout.grid.xAxis.dataLabels.color,
1208
- transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${W.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1209
- }, T(q.value[t].text || ""), 9, xt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1210
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", null, [I.value.style.chart.layout.line.show && t < X.value.length - 1 && ![e.subtotal, X.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1220
+ transform: `translate(${U.value.left + q.value * t + q.value / 2}, ${U.value.bottom + I.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + I.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${I.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1221
+ }, T(K.value[t].text || ""), 9, ht))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1222
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", null, [I.value.style.chart.layout.line.show && t < Y.value.length - 1 && ![e.subtotal, Y.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1211
1223
  key: 0,
1212
1224
  class: v({
1213
1225
  "donut-opacity": !0,
@@ -1215,26 +1227,26 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1215
1227
  }),
1216
1228
  x1: e.x,
1217
1229
  y1: e.y,
1218
- x2: X.value[t + 1].x,
1219
- y2: X.value[t + 1].y,
1230
+ x2: Y.value[t + 1].x,
1231
+ y2: Y.value[t + 1].y,
1220
1232
  stroke: I.value.style.chart.layout.line.stroke,
1221
1233
  "stroke-width": I.value.style.chart.layout.line.strokeWidth,
1222
1234
  "stroke-linecap": "round",
1223
1235
  "stroke-linejoin": "round"
1224
- }, null, 10, Ct)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", wt, [e.subtotal ? (x(), m("circle", {
1236
+ }, null, 10, _t)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", vt, [e.subtotal ? (x(), m("circle", {
1225
1237
  key: 0,
1226
1238
  cx: e.x,
1227
1239
  cy: e.y,
1228
1240
  r: e.activeRadius,
1229
1241
  fill: I.value.style.chart.backgroundColor
1230
- }, null, 8, Tt)) : p("", !0)]))]))), 256)),
1231
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
1242
+ }, null, 8, yt)) : p("", !0)]))]))), 256)),
1243
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", { class: v({
1232
1244
  "donut-opacity": !0,
1233
1245
  "donut-behind": t !== j.value && j.value !== null
1234
- }) }, [e.subtotal ? (x(), m("g", Et, [j.value !== null && j.value === t ? (x(), m("g", Dt, [
1235
- (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Dr(t) ? (x(), m("path", {
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, [Sr(t) ? (x(), m("path", {
1236
1248
  key: 0,
1237
- d: E(ue)(t, {
1249
+ d: E(me)(t, {
1238
1250
  x: t.center.endX,
1239
1251
  y: t.center.endY
1240
1252
  }, 12, 12, {
@@ -1246,47 +1258,47 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1246
1258
  "stroke-linecap": "round",
1247
1259
  "stroke-linejoin": "round",
1248
1260
  fill: "none"
1249
- }, null, 8, Ot)) : p("", !0)]))), 256)),
1250
- (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Dr(t) ? (x(), m("text", {
1261
+ }, null, 8, St)) : p("", !0)]))), 256)),
1262
+ (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Sr(t) ? (x(), m("text", {
1251
1263
  key: 0,
1252
1264
  "data-cy-hover-label": "",
1253
- "text-anchor": E(pe)(t, !0, 0).anchor,
1254
- x: E(pe)(t, !0, 9).x,
1255
- y: E(oe)(t, 14, 10),
1265
+ "text-anchor": E(ge)(t, !0, 0).anchor,
1266
+ x: E(ge)(t, !0, 9).x,
1267
+ y: E(le)(t, 14, 10),
1256
1268
  fill: I.value.style.chart.layout.grid.yAxis.dataLabels.color,
1257
1269
  "font-size": 8,
1258
1270
  "font-weight": "bold"
1259
- }, T(t.name) + ": " + T(lr(t, e.donut)) + " (" + T(t.value === null ? "-" : cr(t.value, t, n)) + ") ", 9, kt)) : p("", !0)]))), 256)),
1271
+ }, T(t.name) + ": " + T(ir(t, e.donut)) + " (" + T(t.value === null ? "-" : rr(t.value, t, n)) + ") ", 9, Ct)) : p("", !0)]))), 256)),
1260
1272
  h("g", null, [h("circle", {
1261
1273
  cx: e.x,
1262
1274
  cy: e.y,
1263
1275
  r: e.hoverRadius,
1264
1276
  fill: I.value.style.chart.backgroundColor
1265
- }, null, 8, At)])
1277
+ }, null, 8, wt)])
1266
1278
  ])) : p("", !0)])) : p("", !0)], 2))), 256)),
1267
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
1279
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", { class: v({
1268
1280
  "donut-opacity": !0,
1269
1281
  "donut-behind": t !== j.value && j.value !== null
1270
- }) }, [e.subtotal === null ? p("", !0) : (x(), m("g", jt, [e.subtotal === 0 ? (x(), m("circle", {
1282
+ }) }, [e.subtotal === null ? p("", !0) : (x(), m("g", Tt, [e.subtotal === 0 ? (x(), m("circle", {
1271
1283
  key: 0,
1272
1284
  cx: e.x,
1273
1285
  cy: e.y,
1274
1286
  r: 3,
1275
1287
  fill: I.value.style.chart.color
1276
- }, null, 8, Mt)) : j.value !== null && j.value === t ? (x(), m("g", Nt, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
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", {
1277
1289
  d: e.arcSlice,
1278
1290
  fill: `${e.color}`,
1279
1291
  "stroke-width": 1,
1280
1292
  stroke: I.value.style.chart.backgroundColor
1281
- }, null, 8, Pt))), 256))])) : (x(), m("g", Ft, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1293
+ }, null, 8, Ot))), 256))])) : (x(), m("g", kt, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1282
1294
  d: e.arcSlice,
1283
1295
  fill: `${e.color}`,
1284
1296
  "stroke-width": .5,
1285
1297
  stroke: I.value.style.chart.backgroundColor
1286
- }, null, 8, It))), 256))]))]))], 2))), 256)),
1287
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", { class: v({
1298
+ }, null, 8, At))), 256))]))]))], 2))), 256)),
1299
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", { class: v({
1288
1300
  "donut-opacity": !0,
1289
- "donut-behind": t !== j.value && j.value !== null || rn.value && t !== N.value.index
1301
+ "donut-behind": t !== j.value && j.value !== null || Zt.value && t !== N.value.index
1290
1302
  }) }, [e.subtotal !== null && I.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
1291
1303
  key: 0,
1292
1304
  "text-anchor": "middle",
@@ -1295,57 +1307,57 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1295
1307
  "font-size": I.value.style.chart.layout.dataLabels.fontSize,
1296
1308
  "font-weight": "bold",
1297
1309
  fill: I.value.style.chart.layout.dataLabels.color
1298
- }, T(cr(e.subtotal, e, t)), 9, Lt)) : p("", !0)], 2))), 256)),
1299
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
1300
- x: W.value.left + t * J.value,
1301
- y: W.value.top,
1302
- width: J.value,
1303
- height: W.value.height,
1304
- fill: [j.value, fr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1305
- class: v({ "donut-hover": L.value && e.subtotal && [j.value, fr.value].includes(e.index) }),
1310
+ }, T(rr(e.subtotal, e, t)), 9, jt)) : p("", !0)], 2))), 256)),
1311
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("rect", {
1312
+ x: U.value.left + t * q.value,
1313
+ y: U.value.top,
1314
+ width: q.value,
1315
+ height: U.value.height,
1316
+ fill: [j.value, sr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1317
+ class: v({ "donut-hover": L.value && e.subtotal && [j.value, sr.value].includes(e.index) }),
1306
1318
  style: { pointerEvents: "none" }
1307
- }, null, 10, Rt))), 256)),
1308
- (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
1319
+ }, null, 10, Mt))), 256)),
1320
+ (x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("rect", {
1309
1321
  "data-cy-trap": "",
1310
- x: W.value.left + t * J.value,
1311
- y: W.value.top,
1312
- width: J.value,
1313
- height: W.value.height,
1322
+ x: U.value.left + t * q.value,
1323
+ y: U.value.top,
1324
+ width: q.value,
1325
+ height: U.value.height,
1314
1326
  fill: "transparent",
1315
- onMouseenter: (t) => dr(e),
1316
- onMouseleave: (t) => ur(e),
1317
- onClick: (n) => pr(e, t),
1327
+ onMouseenter: (t) => or(e),
1328
+ onMouseleave: (t) => ar(e),
1329
+ onClick: (n) => cr(e, t),
1318
1330
  class: v({ "donut-hover": L.value && j.value === e.index && e.subtotal })
1319
- }, null, 42, zt))), 256)),
1331
+ }, null, 42, Nt))), 256)),
1320
1332
  w(e.$slots, "svg", { svg: {
1321
- ...W.value,
1322
- isPrintingImg: E(Kn) || E(qn) || vn.value,
1323
- isPrintingSvg: yn.value
1333
+ ...U.value,
1334
+ isPrintingImg: E(Vn) || E(Hn) || fn.value,
1335
+ isPrintingSvg: pn.value
1324
1336
  } }, void 0, !0)
1325
- ], 46, nt)), e.$slots.hint ? (x(), m("div", Bt, [w(e.$slots, "hint", y(_({
1337
+ ], 46, rt)), e.$slots.hint ? (x(), m("div", Pt, [w(e.$slots, "hint", y(_({
1326
1338
  hint: I.value.a11y.translations.keyboardNavigation,
1327
- isVisible: kn.value
1339
+ isVisible: Cn.value
1328
1340
  })), void 0, !0)])) : p("", !0)]),
1329
- e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Kn) || E(qn) || vn.value || yn.value })), void 0, !0)])) : p("", !0),
1341
+ e.$slots.watermark ? (x(), m("div", Ft, [w(e.$slots, "watermark", y(_({ isPrinting: E(Vn) || E(Hn) || fn.value || pn.value })), void 0, !0)])) : p("", !0),
1330
1342
  h("div", {
1331
1343
  ref_key: "chartSlicer",
1332
- ref: wn,
1344
+ ref: vn,
1333
1345
  style: b(`width:100%;background:${I.value.style.chart.backgroundColor}`),
1334
1346
  "data-dom-to-png-ignore": ""
1335
- }, [K.value > 1 && I.value.style.chart.zoom.show ? (x(), f(Le, {
1347
+ }, [G.value > 1 && I.value.style.chart.zoom.show ? (x(), f(Re, {
1336
1348
  ref_key: "slicerComponent",
1337
- ref: Cn,
1338
- key: `slicer_${sn.value}`,
1349
+ ref: _n,
1350
+ key: `slicer_${en.value}`,
1339
1351
  background: I.value.style.chart.zoom.color,
1340
1352
  borderColor: I.value.style.chart.backgroundColor,
1341
1353
  fontSize: I.value.style.chart.zoom.fontSize,
1342
1354
  useResetSlot: I.value.style.chart.zoom.useResetSlot,
1343
- labelLeft: q.value[0] ? q.value[0].text : "",
1344
- labelRight: q.value.at(-1) ? q.value.at(-1).text : "",
1355
+ labelLeft: K.value[0] ? K.value[0].text : "",
1356
+ labelRight: K.value.at(-1) ? K.value.at(-1).text : "",
1345
1357
  textColor: I.value.style.chart.color,
1346
1358
  inputColor: I.value.style.chart.zoom.color,
1347
1359
  selectColor: I.value.style.chart.zoom.highlightColor,
1348
- max: K.value,
1360
+ max: G.value,
1349
1361
  min: 0,
1350
1362
  valueStart: z.value.start,
1351
1363
  valueEnd: z.value.end,
@@ -1354,14 +1366,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1354
1366
  end: z.value.end,
1355
1367
  "onUpdate:end": t[1] ||= (e) => z.value.end = e,
1356
1368
  refreshStartPoint: I.value.style.chart.zoom.startIndex === null ? 0 : I.value.style.chart.zoom.startIndex,
1357
- refreshEndPoint: I.value.style.chart.zoom.endIndex === null ? K.value : I.value.style.chart.zoom.endIndex + 1,
1369
+ refreshEndPoint: I.value.style.chart.zoom.endIndex === null ? G.value : I.value.style.chart.zoom.endIndex + 1,
1358
1370
  enableRangeHandles: I.value.style.chart.zoom.enableRangeHandles,
1359
1371
  enableSelectionDrag: I.value.style.chart.zoom.enableSelectionDrag,
1360
1372
  focusOnDrag: I.value.style.chart.zoom.focusOnDrag,
1361
1373
  focusRangeRatio: I.value.style.chart.zoom.focusRangeRatio,
1362
1374
  isCursorPointer: L.value,
1363
1375
  maxWidth: I.value.style.chart.zoom.maxWidth,
1364
- onReset: zn
1376
+ onReset: Nn
1365
1377
  }, {
1366
1378
  "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
1367
1379
  _: 3
@@ -1389,30 +1401,30 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1389
1401
  "isCursorPointer",
1390
1402
  "maxWidth"
1391
1403
  ])) : p("", !0)], 4),
1392
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, Ht),
1393
- hn.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Re, {
1404
+ h("div", { id: `legend-bottom-${k.value}` }, null, 8, It),
1405
+ ln.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(ze, {
1394
1406
  key: 6,
1395
1407
  to: I.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1396
1408
  }, [h("div", {
1397
1409
  ref_key: "chartLegend",
1398
- ref: xn
1399
- }, [w(e.$slots, "legend", { legend: Z.value }, () => [I.value.style.chart.legend.show ? (x(), f(Fe, {
1400
- key: `legend_${un.value}`,
1401
- legendSet: Z.value,
1402
- config: hr.value,
1403
- onClickMarker: t[2] ||= ({ legend: e }) => _r(e.uid)
1410
+ ref: hn
1411
+ }, [w(e.$slots, "legend", { legend: lr.value }, () => [I.value.style.chart.legend.show ? (x(), f(Ie, {
1412
+ key: `legend_${rn.value}`,
1413
+ legendSet: lr.value,
1414
+ config: dr.value,
1415
+ onClickMarker: t[2] ||= ({ legend: e }) => pr(e.uid)
1404
1416
  }, {
1405
1417
  item: D(({ legend: e, index: t }) => [h("div", {
1406
- onClick: (t) => _r(e.uid),
1418
+ onClick: (t) => pr(e.uid),
1407
1419
  style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
1408
- }, T(e.display), 13, Ut)]),
1409
- legendToggle: D(() => [Z.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !E(Fn) ? (x(), f(je, {
1420
+ }, T(e.display), 13, Lt)]),
1421
+ legendToggle: D(() => [lr.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !E(kn) ? (x(), f(Me, {
1410
1422
  key: 0,
1411
1423
  backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
1412
1424
  color: I.value.style.chart.legend.selectAllToggle.color,
1413
1425
  fontSize: I.value.style.chart.legend.fontSize,
1414
1426
  checked: A.value.length > 0,
1415
- onToggle: gr
1427
+ onToggle: fr
1416
1428
  }, null, 8, [
1417
1429
  "backgroundColor",
1418
1430
  "color",
@@ -1424,27 +1436,27 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1424
1436
  e.$slots.source ? (x(), m("div", {
1425
1437
  key: 7,
1426
1438
  ref_key: "source",
1427
- ref: Sn,
1439
+ ref: gn,
1428
1440
  dir: "auto"
1429
1441
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1430
- jn.value && I.value.userOptions.buttons.table ? (x(), f(Ke(Nr.value.component), He({ key: 8 }, Nr.value.props, {
1442
+ Tn.value && I.value.userOptions.buttons.table ? (x(), f(qe($.value.component), Ue({ key: 8 }, $.value.props, {
1431
1443
  ref_key: "tableUnit",
1432
- ref: gn,
1433
- onClose: Pr
1434
- }), ze({
1435
- content: D(() => [(x(), f(E(Jt), {
1436
- key: `table_${ln.value}`,
1437
- colNames: Q.value.colNames,
1438
- head: Q.value.head,
1439
- body: Q.value.body,
1440
- config: Q.value.config,
1441
- title: I.value.table.useDialog ? "" : Nr.value.title,
1444
+ ref: un,
1445
+ onClose: Or
1446
+ }), Be({
1447
+ content: D(() => [(x(), f(E(Ht), {
1448
+ key: `table_${nn.value}`,
1449
+ colNames: X.value.colNames,
1450
+ head: X.value.head,
1451
+ body: X.value.body,
1452
+ config: X.value.config,
1453
+ title: I.value.table.useDialog ? "" : $.value.title,
1442
1454
  withCloseButton: !I.value.table.useDialog,
1443
1455
  isCursorPointer: L.value,
1444
- onClose: Pr
1456
+ onClose: Or
1445
1457
  }, {
1446
- th: D(({ th: e }) => [Be(T(e.name ?? e), 1)]),
1447
- td: D(({ td: e }) => [e.value === null ? (x(), m("span", Wt, "-")) : (x(), m("b", Gt, T(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(I.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(I.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
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) ? "" : I.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(I.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : I.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(I.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1448
1460
  _: 1
1449
1461
  }, 8, [
1450
1462
  "colNames",
@@ -1458,40 +1470,40 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1458
1470
  _: 2
1459
1471
  }, [I.value.table.useDialog ? {
1460
1472
  name: "title",
1461
- fn: D(() => [Be(T(Nr.value.title), 1)]),
1473
+ fn: D(() => [Ve(T($.value.title), 1)]),
1462
1474
  key: "0"
1463
1475
  } : void 0, I.value.table.useDialog ? {
1464
1476
  name: "actions",
1465
1477
  fn: D(() => [h("button", {
1466
1478
  tabindex: "0",
1467
1479
  class: "vue-ui-user-options-button",
1468
- onClick: t[3] ||= (e) => Sr(I.value.userOptions.callbacks.csv),
1480
+ onClick: t[3] ||= (e) => vr(I.value.userOptions.callbacks.csv),
1469
1481
  style: b({ cursor: L.value ? "cursor" : "default" })
1470
- }, [Ve(E(qt), {
1482
+ }, [He(E(Vt), {
1471
1483
  name: "fileCsv",
1472
- stroke: Nr.value.props.color
1484
+ stroke: $.value.props.color
1473
1485
  }, null, 8, ["stroke"])], 4)]),
1474
1486
  key: "1"
1475
1487
  } : void 0]), 1040)) : p("", !0),
1476
- I.value.style.chart.dialog.show ? (x(), f(E($t), {
1488
+ I.value.style.chart.dialog.show ? (x(), f(E(qt), {
1477
1489
  key: 9,
1478
1490
  ref_key: "dialog",
1479
- ref: Ar,
1491
+ ref: Tr,
1480
1492
  onClose: t[4] ||= (e) => {
1481
- N.value = null, rn.value = !1, M.value = null, j.value = null, fr.value = null;
1493
+ N.value = null, Zt.value = !1, M.value = null, j.value = null, sr.value = null;
1482
1494
  },
1483
1495
  backgroundColor: I.value.style.chart.dialog.backgroundColor,
1484
1496
  color: I.value.style.chart.dialog.color,
1485
1497
  headerBg: I.value.style.chart.dialog.header.backgroundColor,
1486
1498
  headerColor: I.value.style.chart.dialog.header.color,
1487
- isFullscreen: $.value,
1499
+ isFullscreen: Z.value,
1488
1500
  fullscreenParent: P.value
1489
1501
  }, {
1490
- title: D(() => [Be(T(q.value[Number(N.value.index)] ? q.value[Number(N.value.index)].text : ""), 1)]),
1491
- content: D(() => [N.value ? (x(), f(E(Qt), {
1502
+ title: D(() => [Ve(T(K.value[Number(N.value.index)] ? K.value[Number(N.value.index)].text : ""), 1)]),
1503
+ content: D(() => [N.value ? (x(), f(E(Kt), {
1492
1504
  key: 0,
1493
- config: kr.value,
1494
- dataset: Or.value
1505
+ config: wr.value,
1506
+ dataset: Cr.value
1495
1507
  }, null, 8, ["config", "dataset"])) : p("", !0)]),
1496
1508
  _: 1
1497
1509
  }, 8, [
@@ -1502,9 +1514,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1502
1514
  "isFullscreen",
1503
1515
  "fullscreenParent"
1504
1516
  ])) : p("", !0),
1505
- E(Fn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1506
- ], 46, Qe));
1517
+ E(kn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1518
+ ], 46, $e));
1507
1519
  }
1508
- }, [["__scopeId", "data-v-b09f1aa6"]]);
1520
+ }, [["__scopeId", "data-v-5ddd11b9"]]);
1509
1521
  //#endregion
1510
- export { Ze as n, Kt as t };
1522
+ export { Qe as n, Bt as t };