vue-data-ui 3.22.13 → 3.23.0

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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,134 +1,136 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, Ct as r, E as i, Gt as a, Ht as o, K as s, Lt as c, Nt as l, Ot as ee, Q as te, W as ne, Y as re, Z as ie, d as ae, et as oe, f as se, ft as ce, g as le, i as ue, m as de, qt as fe, t as pe, v as me, x as he, zt as ge } from "./lib-CFm_J26b.js";
3
- import { t as _e } from "./useTimeLabels-B9CEuiLZ.js";
4
- import { t as ve } from "./useConfig-C0V0eG7L.js";
5
- import { t as ye } from "./usePrinter-BH-xle1O.js";
6
- import { n as be, t as xe } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as Se } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as Ce } from "./useNestedProp-BY6DNN3i.js";
9
- import { t as we } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Te } from "./useMountedDelay-BAjrhRJb.js";
11
- import { t as Ee } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as De } from "./img-Bikk1dGb.js";
13
- import { n as Oe } from "./Title-BuPs74IB.js";
14
- import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
16
- import { t as Me } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Ne } from "./BaseLegendToggle-DsWphmIb.js";
18
- import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Le } from "./Legend-C0xAnJdO.js";
22
- import { t as Re } from "./vue_ui_donut_evolution-D1yAAIHr.js";
23
- import { t as ze } from "./Slicer-C6qNUmZ4.js";
24
- import { Fragment as u, Teleport as Be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as We, nextTick as Ge, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ke, onMounted as qe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as T, toRefs as Xe, unref as E, watch as Ze, watchEffect as Qe, withCtx as D } from "vue";
2
+ import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as o, Pt as s, Q as c, Rt as ee, S as te, Ut as ne, X as re, _ as ie, f as ae, h as oe, i as se, jt as ce, kt as le, p as ue, pt as de, q as fe, t as pe, tt as me, w as he, wt as ge, y as _e } from "./lib-BuMGJ_a0.js";
3
+ import { n as ve, t as ye } from "./useHints-Dq_w2E8B.js";
4
+ import { t as be } from "./useTimeLabels-B9CEuiLZ.js";
5
+ import { t as xe } from "./useConfig-BilxnBNr.js";
6
+ import { t as Se } from "./usePrinter-BFvi4jVy.js";
7
+ import { n as Ce, t as we } from "./BaseScanner-DZvpgOjM.js";
8
+ import { t as Te } from "./useSvgExport-Ba9qBr9M.js";
9
+ import { t as Ee } from "./useNestedProp--NSEmhOH.js";
10
+ import { t as De } from "./useThemeCheck-C43Tcqmk.js";
11
+ import { t as Oe } from "./useTransitions-g_zBREk2.js";
12
+ import { t as ke } from "./useStableElementSize-C7KADDKj.js";
13
+ import { t as Ae } from "./useTimeLabelCollider-AEcY4Ioe.js";
14
+ import { t as je } from "./img-DIQG5q8T.js";
15
+ import { n as Me } from "./Title-BODtwViI.js";
16
+ import { t as Ne } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
+ import { l as Pe, t as Fe } from "./useResponsive-ZtArZtUf.js";
18
+ import { t as Ie } from "./DefGrad-DVBqDjhO.js";
19
+ import { t as Le } from "./BaseLegendToggle-CtAPwzr2.js";
20
+ import { t as Re } from "./A11yDataTable-DdRsVULz.js";
21
+ import { t as ze } from "./useUserOptionState-DK-_1ddE.js";
22
+ import { t as Be } from "./useChartAccessibility-DYqac8yF.js";
23
+ import { t as Ve } from "./Legend-CQTRlzK-.js";
24
+ import { t as He } from "./vue_ui_donut_evolution-D1yAAIHr.js";
25
+ import { t as Ue } from "./Slicer-5yIrdoJv.js";
26
+ import { Fragment as l, Teleport as We, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ge, createTextVNode as Ke, createVNode as qe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Je, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ye, onMounted as Xe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ze, shallowRef as Qe, toDisplayString as T, toRefs as $e, unref as E, watch as et, watchEffect as tt, withCtx as D } from "vue";
25
27
  //#region src/components/vue-ui-donut-evolution.vue
26
- var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
28
+ var nt = /* @__PURE__ */ e({ default: () => Wt }), rt = ["id"], it = ["id"], at = ["id"], ot = { style: { position: "relative" } }, st = [
27
29
  "xmlns",
28
30
  "aria-describedby",
29
31
  "viewBox"
30
- ], at = [
32
+ ], ct = [
31
33
  "x",
32
34
  "y",
33
35
  "width",
34
36
  "height"
35
- ], ot = { key: 1 }, st = [
37
+ ], lt = { key: 1 }, ut = [
36
38
  "x1",
37
39
  "x2",
38
40
  "y1",
39
41
  "y2",
40
42
  "stroke",
41
43
  "stroke-width"
42
- ], ct = [
44
+ ], dt = [
43
45
  "x1",
44
46
  "x2",
45
47
  "y1",
46
48
  "y2",
47
49
  "stroke",
48
50
  "stroke-width"
49
- ], lt = { key: 0 }, ut = [
51
+ ], ft = { key: 0 }, pt = [
50
52
  "x1",
51
53
  "x2",
52
54
  "y1",
53
55
  "y2",
54
56
  "stroke",
55
57
  "stroke-width"
56
- ], dt = [
58
+ ], mt = [
57
59
  "font-size",
58
60
  "fill",
59
61
  "transform"
60
- ], ft = [
62
+ ], ht = [
61
63
  "x",
62
64
  "y",
63
65
  "font-size",
64
66
  "fill"
65
- ], pt = [
67
+ ], gt = [
66
68
  "d",
67
69
  "stroke",
68
70
  "stroke-width"
69
- ], mt = [
71
+ ], _t = [
70
72
  "transform",
71
73
  "font-size",
72
74
  "text-anchor",
73
75
  "fill",
74
76
  "font-weight"
75
- ], ht = { key: 0 }, gt = [
77
+ ], vt = { key: 0 }, yt = [
76
78
  "text-anchor",
77
79
  "font-size",
78
80
  "fill",
79
81
  "transform"
80
- ], _t = [
82
+ ], bt = [
81
83
  "text-anchor",
82
84
  "font-size",
83
85
  "fill",
84
86
  "transform",
85
87
  "innerHTML"
86
- ], vt = [
88
+ ], xt = [
87
89
  "x1",
88
90
  "y1",
89
91
  "x2",
90
92
  "y2",
91
93
  "stroke",
92
94
  "stroke-width"
93
- ], yt = { key: 1 }, bt = [
95
+ ], St = { key: 1 }, Ct = [
94
96
  "cx",
95
97
  "cy",
96
98
  "r",
97
99
  "fill"
98
- ], xt = { key: 0 }, St = { key: 0 }, Ct = ["d", "stroke"], wt = [
100
+ ], wt = { key: 0 }, Tt = { key: 0 }, Et = ["d", "stroke"], Dt = [
99
101
  "text-anchor",
100
102
  "x",
101
103
  "y",
102
104
  "fill"
103
- ], Tt = [
105
+ ], Ot = [
104
106
  "cx",
105
107
  "cy",
106
108
  "r",
107
109
  "fill"
108
- ], Et = { key: 0 }, Dt = [
110
+ ], kt = { key: 0 }, At = [
109
111
  "cx",
110
112
  "cy",
111
113
  "fill"
112
- ], Ot = { key: 1 }, kt = [
114
+ ], jt = { key: 1 }, Mt = [
113
115
  "d",
114
116
  "fill",
115
117
  "stroke"
116
- ], At = { key: 2 }, jt = [
118
+ ], Nt = { key: 2 }, Pt = [
117
119
  "d",
118
120
  "fill",
119
121
  "stroke"
120
- ], Mt = [
122
+ ], Ft = [
121
123
  "x",
122
124
  "y",
123
125
  "font-size",
124
126
  "fill"
125
- ], Nt = [
127
+ ], It = [
126
128
  "x",
127
129
  "y",
128
130
  "width",
129
131
  "height",
130
132
  "fill"
131
- ], Pt = [
133
+ ], Lt = [
132
134
  "x",
133
135
  "y",
134
136
  "width",
@@ -136,7 +138,7 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
136
138
  "onMouseenter",
137
139
  "onMouseleave",
138
140
  "onClick"
139
- ], Ft = {
141
+ ], Rt = {
140
142
  key: 0,
141
143
  style: {
142
144
  position: "absolute",
@@ -146,10 +148,10 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
146
148
  },
147
149
  "data-dom-to-png-ignore": "",
148
150
  "aria-hidden": "true"
149
- }, It = {
151
+ }, zt = {
150
152
  key: 5,
151
153
  class: "vue-data-ui-watermark"
152
- }, Lt = ["id"], Rt = ["onClick"], zt = { key: 0 }, Bt = { key: 1 }, Vt = /*#__PURE__*/ ke({
154
+ }, Bt = ["id"], Vt = ["onClick"], Ht = { key: 0 }, Ut = { key: 1 }, Wt = /*#__PURE__*/ Ne({
153
155
  __name: "vue-ui-donut-evolution",
154
156
  props: {
155
157
  config: {
@@ -166,52 +168,126 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
166
168
  }
167
169
  },
168
170
  emits: ["selectLegend", "copyAlt"],
169
- setup(e, { expose: ke, emit: $e }) {
170
- let Vt = g(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Ht = g(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Ut = g(() => import("./DataTable-DzPEVvSo.js")), Wt = g(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), Gt = g(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Kt = g(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), qt = g(() => import("./vue-ui-donut-ZIRebAWc.js").then((e) => e.n)), Jt = g(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_donut_evolution: Yt } = ve(), { isThemeValid: Xt, warnInvalidTheme: Zt } = we(), { isReady: Qt } = Te(300), O = e, k = S(s()), A = S([]), j = S(null), M = S(null), $t = S(!1), N = S(null), P = S(null), en = S(null), tn = S(0), nn = S(0), rn = S(0), an = S(0), on = S(0), sn = S(null), cn = S(null), ln = S(null), un = S(null), dn = S(!1), F = S(null), fn = S(null), pn = S(!1), mn = S(!1), hn = S(null), gn = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(!1), I = Ye(null), xn = Ye(null), Sn = S(null), L = S(null), Cn = S(!1), wn = $e, Tn = d(() => !!O.dataset && O.dataset.length);
171
- qe(() => {
172
- dn.value = !0, Dn();
171
+ setup(e, { expose: Ne, emit: nt }) {
172
+ let Wt = h(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), Gt = h(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Kt = h(() => import("./DataTable-D4tM9s5Y.js")), qt = h(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Jt = h(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Yt = h(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Xt = h(() => import("./vue-ui-donut-B_n6wF6B.js").then((e) => e.n)), Zt = h(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_donut_evolution: Qt } = xe(), { isThemeValid: $t, warnInvalidTheme: en } = De(), O = e, k = S(fe()), A = S([]), j = S(null), M = S(null), tn = S(!1), N = S(null), P = S(null), nn = S(null), rn = S(0), an = S(0), on = S(0), sn = S(0), cn = S(0), ln = S(null), un = S(null), dn = S(null), fn = S(null), pn = S(!1), mn = S(null), hn = S(null), gn = S(!1), _n = S(!1), vn = Qe(null), yn = S(0), bn = S(0), xn = S(!1);
173
+ function Sn() {
174
+ vn.value = P.value?.parentNode ?? null;
175
+ }
176
+ function Cn() {
177
+ return new Promise((e) => {
178
+ requestAnimationFrame(() => {
179
+ requestAnimationFrame(e);
180
+ });
181
+ });
182
+ }
183
+ async function wn() {
184
+ let e = ++bn.value;
185
+ await _(), await Cn(), await Cn(), e === bn.value && (yn.value += 1);
186
+ }
187
+ function Tn() {
188
+ xn.value || (xn.value = !0, _(() => {
189
+ xn.value = !1, Sn(), wn();
190
+ }));
191
+ }
192
+ let En = ke({
193
+ elementRef: vn,
194
+ minimumWidth: 2,
195
+ minimumHeight: 2,
196
+ stableFramesRequired: 2,
197
+ once: !1,
198
+ onSizeAccepted: () => {
199
+ wn();
200
+ }
201
+ }), Dn = S(null), On = S(null), kn = S(null), An = S(null), jn = S(null), Mn = S(!1), F = Qe(null), I = Qe(null), Nn = S(null), L = S(null), Pn = S(!1), Fn = nt, In = u(() => !!O.dataset && O.dataset.length);
202
+ Xe(() => {
203
+ pn.value = !0, Sn(), En.start(), Rn(), wn();
173
204
  });
174
- let En = d(() => !!R.value.debug);
175
- function Dn() {
176
- if (t(O.dataset) ? (oe({
205
+ let Ln = u(() => !!R.value.debug);
206
+ function Rn() {
207
+ if (ce(O.dataset) ? (me({
177
208
  componentName: "VueUiDonutEvolution",
178
209
  type: "dataset",
179
- debug: En.value
180
- }), jn.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
181
- ce({
210
+ debug: Ln.value
211
+ }), Un.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
212
+ de({
182
213
  datasetObject: e,
183
214
  requiredAttributes: ["name", "values"]
184
215
  }).forEach((e) => {
185
- oe({
216
+ me({
186
217
  componentName: "VueUiDonutEvolution",
187
218
  type: "datasetSerieAttribute",
188
219
  property: e,
189
220
  index: t,
190
- debug: En.value
191
- }), jn.value = !0;
221
+ debug: Ln.value
222
+ }), Un.value = !0;
192
223
  });
193
- }), t(O.dataset) || (jn.value = R.value.loading), setTimeout(() => {
194
- bn.value = !0;
195
- }, 10), Pn(), R.value.responsive) {
196
- let e = Ae(() => {
197
- bn.value = !1;
198
- let { width: e, height: t } = je({
224
+ }), ce(O.dataset) || (Un.value = R.value.loading), setTimeout(() => {
225
+ Mn.value = !0;
226
+ }, 10), Kn(), R.value.responsive) {
227
+ let e = Pe(() => {
228
+ Mn.value = !1;
229
+ let { width: e, height: t } = Fe({
199
230
  chart: P.value,
200
- title: R.value.style.chart.title.text ? hn.value : null,
201
- legend: R.value.style.chart.legend.show ? gn.value : null,
202
- slicer: R.value.style.chart.zoom.show && Mn.value > 1 ? yn.value : null,
203
- source: _n.value
231
+ title: R.value.style.chart.title.text ? Dn.value : null,
232
+ legend: R.value.style.chart.legend.show ? On.value : null,
233
+ slicer: R.value.style.chart.zoom.show && Wn.value > 1 ? jn.value : null,
234
+ source: kn.value
204
235
  });
205
236
  requestAnimationFrame(() => {
206
- B.value.width = e, B.value.height = t - 12, clearTimeout(Sn.value), Sn.value = setTimeout(() => {
207
- bn.value = !0;
237
+ B.value.width = e, B.value.height = t - 12, Tn(), clearTimeout(Nn.value), Nn.value = setTimeout(() => {
238
+ Mn.value = !0;
208
239
  }, 10);
209
240
  });
210
241
  });
211
- I.value && (xn.value && I.value.unobserve(xn.value), I.value.disconnect()), I.value = new ResizeObserver(e), xn.value = P.value.parentNode, I.value.observe(xn.value);
242
+ F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = P.value.parentNode, F.value.observe(I.value);
212
243
  }
244
+ Tn();
213
245
  }
214
- let R = S(Bn()), z = d(() => R.value.userOptions.useCursorPointer), On = d(() => fe({
246
+ let R = S(Qn());
247
+ ve({
248
+ config: () => R.value,
249
+ dataset: () => O.dataset,
250
+ component: "VueUiDonutEvolution",
251
+ rules: [
252
+ ye.emptyArray,
253
+ {
254
+ test: (e) => e.length === 1,
255
+ message: [
256
+ "👀 There is only a single series in your dataset. Consider:",
257
+ "",
258
+ "▶️ Using VueUiXy instead, for a regular line chart."
259
+ ]
260
+ },
261
+ {
262
+ test: (e) => e.length > 6,
263
+ message: [
264
+ "👀 The number of series is > 6, which makes donuts hard to read. Consider:",
265
+ "",
266
+ "▶️ Grouping small values dynamically into a single \"Other\" series.",
267
+ "",
268
+ "▶️ Using filters to let users choose a maximum number of series to display.",
269
+ "",
270
+ "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
271
+ ]
272
+ },
273
+ {
274
+ test: (e) => e.some((e) => e.values.length > 24),
275
+ message: [
276
+ "👀 Some series have a number of data points > 24, which can make the chart and donuts hard to read. Consider:",
277
+ "",
278
+ "▶️ Using larger time scales, or aggregated values.",
279
+ "",
280
+ "▶️ Filtering the time range by adding date intputs in your UI.",
281
+ "",
282
+ "▶️ Using VueUiXy to show longer series in a more comfortable display."
283
+ ]
284
+ }
285
+ ]
286
+ });
287
+ let { transitionEnabled: zn } = Oe({
288
+ config: () => R.value.transitions,
289
+ dataset: () => O.dataset
290
+ }), z = u(() => R.value.userOptions.useCursorPointer), Bn = u(() => a({
215
291
  defaultConfig: {
216
292
  useCssAnimation: !1,
217
293
  table: { show: !1 },
@@ -249,13 +325,13 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
249
325
  } }
250
326
  },
251
327
  userConfig: R.value.skeletonConfig ?? {}
252
- })), { loading: kn, FINAL_DATASET: An, manualLoading: jn } = be({
253
- ...Xe(O),
328
+ })), { loading: Vn, FINAL_DATASET: Hn, manualLoading: Un } = Ce({
329
+ ...$e(O),
254
330
  FINAL_CONFIG: R,
255
- prepareConfig: Bn,
331
+ prepareConfig: Qn,
256
332
  callback: () => {
257
333
  Promise.resolve().then(async () => {
258
- await Pn();
334
+ await Kn();
259
335
  });
260
336
  },
261
337
  skeletonDataset: O.config?.skeletonDataset ?? [
@@ -296,84 +372,84 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
296
372
  color: "#CACACA"
297
373
  }
298
374
  ],
299
- skeletonConfig: fe({
375
+ skeletonConfig: a({
300
376
  defaultConfig: R.value,
301
- userConfig: On.value
377
+ userConfig: Bn.value
302
378
  })
303
379
  }), B = S({
304
380
  width: R.value.style.chart.layout.width,
305
381
  height: R.value.style.chart.layout.height
306
- }), Mn = d(() => Math.max(...An.value.map((e) => e.values.length))), V = S({
382
+ }), Wn = u(() => Math.max(...Hn.value.map((e) => e.values.length))), V = S({
307
383
  start: 0,
308
- end: Mn.value
384
+ end: Wn.value
309
385
  });
310
- function Nn() {
311
- Pn();
386
+ function Gn() {
387
+ Kn();
312
388
  }
313
- async function Pn() {
314
- await Ge(), await Ge();
315
- let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = vn.value;
389
+ async function Kn() {
390
+ await _(), await _();
391
+ let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = An.value;
316
392
  V.value = {
317
393
  start: 0,
318
394
  max: q.value
319
- }, (e != null || t != null) && n ? (e == null ? (V.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (V.value.end = q.value, n.setEndValue(q.value)) : n.setEndValue(Fn(t + 1))) : (V.value = {
395
+ }, (e != null || t != null) && n ? (e == null ? (V.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (V.value.end = q.value, n.setEndValue(q.value)) : n.setEndValue(qn(t + 1))) : (V.value = {
320
396
  start: 0,
321
397
  end: q.value
322
- }, nn.value += 1);
398
+ }, an.value += 1), Tn();
323
399
  }
324
- function Fn(e) {
400
+ function qn(e) {
325
401
  let t = q.value;
326
402
  return e > t ? t : e < 0 || R.value.style.chart.zoom.startIndex !== null && e < R.value.style.chart.zoom.startIndex ? R.value.style.chart.zoom.startIndex === null ? 1 : R.value.style.chart.zoom.startIndex + 1 : e;
327
403
  }
328
- let { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = Fe({ config: R.value }), { svgRef: zn } = Ie({ config: R.value.style.chart.title });
329
- function Bn() {
330
- let e = Ce({
404
+ let { userOptionsVisible: Jn, setUserOptionsVisibility: Yn, keepUserOptionState: Xn } = ze({ config: R.value }), { svgRef: Zn } = Be({ config: R.value.style.chart.title });
405
+ function Qn() {
406
+ let e = Ee({
331
407
  userConfig: O.config,
332
- defaultConfig: Yt
408
+ defaultConfig: Qt
333
409
  }), t = {}, n = e.theme;
334
- if (n) if (!Xt.value(e)) Zt(e), t = e;
410
+ if (n) if (!$t.value(e)) en(e), t = e;
335
411
  else {
336
- let r = Ce({
337
- userConfig: Re[n] || O.config,
412
+ let r = Ee({
413
+ userConfig: He[n] || O.config,
338
414
  defaultConfig: e
339
415
  });
340
416
  t = {
341
- ...Ce({
417
+ ...Ee({
342
418
  userConfig: O.config,
343
419
  defaultConfig: r
344
420
  }),
345
- customPalette: e.customPalette ? e.customPalette : a[n] || l
421
+ customPalette: e.customPalette ? e.customPalette : o[n] || s
346
422
  };
347
423
  }
348
424
  else t = e;
349
425
  return t;
350
426
  }
351
- Ze(() => O.config, (e) => {
352
- kn.value || (R.value = Bn()), In.value = !R.value.userOptions.showOnChartHover, Dn(), rn.value += 1, an.value += 1, on.value += 1, H.value.showTable = R.value.table.show;
353
- }, { deep: !0 }), Ze(() => O.dataset, (e) => {
354
- Array.isArray(e) && e.length > 0 && (jn.value = !1), Nn();
427
+ et(() => O.config, (e) => {
428
+ Vn.value || (R.value = Qn()), Jn.value = !R.value.userOptions.showOnChartHover, Rn(), on.value += 1, sn.value += 1, cn.value += 1, H.value.showTable = R.value.table.show;
429
+ }, { deep: !0 }), et(() => O.dataset, (e) => {
430
+ Array.isArray(e) && e.length > 0 && (Un.value = !1), Gn();
355
431
  }, { deep: !0 });
356
- let { isPrinting: Vn, isImaging: Hn, generatePdf: Un, generateImage: Wn } = ye({
432
+ let { isPrinting: $n, isImaging: er, generatePdf: tr, generateImage: nr } = Se({
357
433
  elementId: k.value,
358
434
  fileName: R.value.style.chart.title.text || "vue-ui-donut-evolution",
359
435
  options: R.value.userOptions.print
360
- }), Gn = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), Kn = d(() => n(R.value.customPalette)), H = S({ showTable: R.value.table.show });
361
- Ze(R, () => {
436
+ }), rr = u(() => R.value.userOptions.show && !R.value.style.chart.title.text), ir = u(() => he(R.value.customPalette)), H = S({ showTable: R.value.table.show });
437
+ et(R, () => {
362
438
  H.value = { showTable: R.value.table.show };
363
439
  }, { immediate: !0 });
364
- let U = d(() => ({
440
+ let U = u(() => ({
365
441
  top: R.value.style.chart.layout.padding.top,
366
442
  right: R.value.style.chart.layout.padding.right,
367
443
  bottom: R.value.style.chart.layout.padding.bottom,
368
444
  left: R.value.style.chart.layout.padding.left
369
- })), W = d(() => R.value.style.chart.layout.grid.yAxis.position === "right");
370
- function qn() {
445
+ })), W = u(() => R.value.style.chart.layout.grid.yAxis.position === "right");
446
+ function ar() {
371
447
  let e = 0;
372
- sn.value && (e = Array.from(sn.value.querySelectorAll("text")).reduce((e, t) => {
448
+ ln.value && (e = Array.from(ln.value.querySelectorAll("text")).reduce((e, t) => {
373
449
  let n = t.getComputedTextLength();
374
450
  return n > e ? n : e;
375
451
  }, 0));
376
- let t = un.value ? un.value.getBoundingClientRect().width + R.value.style.chart.layout.grid.axis.yLabelOffsetX + R.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
452
+ let t = fn.value ? fn.value.getBoundingClientRect().width + R.value.style.chart.layout.grid.axis.yLabelOffsetX + R.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
377
453
  return {
378
454
  left: W.value ? 0 : n,
379
455
  right: W.value ? n : 0,
@@ -382,31 +458,32 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
382
458
  crosshair: 5
383
459
  };
384
460
  }
385
- let Jn = S(0), Yn = Ae((e) => {
386
- Jn.value = e;
461
+ let or = S(0), sr = Pe((e) => {
462
+ or.value = e;
387
463
  }, 100);
388
- Qe((e) => {
389
- let t = cn.value;
464
+ tt((e) => {
465
+ let t = un.value;
390
466
  if (!t) return;
391
467
  let n = new ResizeObserver((e) => {
392
- Yn(e[0].contentRect.height);
468
+ sr(e[0].contentRect.height);
393
469
  });
394
470
  n.observe(t), e(() => n.disconnect());
395
- }), Ke(() => {
396
- Jn.value = 0;
471
+ }), Ye(() => {
472
+ or.value = 0, En.stop(), clearTimeout(Nn.value), F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect(), F.value = null, I.value = null);
397
473
  });
398
- let Xn = d(() => {
474
+ let cr = u(() => {
399
475
  let e = 0;
400
- ln.value && (e = ln.value.getBBox().height);
476
+ dn.value && (e = dn.value.getBBox().height);
401
477
  let t = 0;
402
- return cn.value && (t = Jn.value), e + t + R.value.style.chart.layout.grid.axis.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
403
- }), G = d(() => {
404
- let e = qn(), t = R.value.style.chart.layout.dataLabels.fontSize * 3, n = B.value.width, r = B.value.height, i = U.value.left + e.left, a = n - U.value.right - e.right, o = n - i - U.value.right - e.right, s = r - U.value.top - U.value.bottom - t - Xn.value, c = U.value.top + t;
478
+ return un.value && (t = or.value), e + t + R.value.style.chart.layout.grid.axis.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
479
+ }), G = u(() => {
480
+ yn.value;
481
+ let e = ar(), t = R.value.style.chart.layout.dataLabels.fontSize * 3, n = B.value.width, r = B.value.height, i = U.value.left + e.left, a = n - U.value.right - e.right, o = n - i - U.value.right - e.right, s = r - U.value.top - U.value.bottom - t - cr.value, c = U.value.top + t;
405
482
  return {
406
483
  top: c,
407
484
  left: i,
408
485
  right: a,
409
- bottom: r - U.value.bottom - Xn.value,
486
+ bottom: r - U.value.bottom - cr.value,
410
487
  absoluteHeight: r,
411
488
  absoluteWidth: n,
412
489
  centerX: i + Math.max(10, o) / 2,
@@ -417,47 +494,47 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
417
494
  yAxisLabelWidth: e.yAxisLabelWidth,
418
495
  crosshair: e.crosshair
419
496
  };
420
- }), K = d(() => (An.value.forEach((e, t) => {
421
- [null, void 0].includes(e.name) && oe({
497
+ }), K = u(() => (Hn.value.forEach((e, t) => {
498
+ [null, void 0].includes(e.name) && me({
422
499
  componentName: "VueUiDonutEvolution",
423
500
  type: "datasetSerieAttribute",
424
501
  property: "name",
425
502
  index: t,
426
- debug: En.value
427
- }), [null, void 0].includes(e.values) && oe({
503
+ debug: Ln.value
504
+ }), [null, void 0].includes(e.values) && me({
428
505
  componentName: "VueUiDonutEvolution",
429
506
  type: "datasetSerieAttribute",
430
507
  property: "values",
431
508
  index: t,
432
- debug: En.value
509
+ debug: Ln.value
433
510
  });
434
- }), An.value.map((e, t) => ({
511
+ }), Hn.value.map((e, t) => ({
435
512
  ...e,
436
- values: c(e.values),
437
- color: he(e.color) || Kn.value[t] || l[t] || l[t % l.length],
513
+ values: ee(e.values),
514
+ color: te(e.color) || ir.value[t] || s[t] || s[t % s.length],
438
515
  length: (e.values || []).length,
439
- uid: s()
440
- })))), Zn = d(() => K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
516
+ uid: fe()
517
+ })))), lr = u(() => K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
441
518
  ...e,
442
519
  values: e.values.filter((e, t) => t >= V.value.start && t <= V.value.end)
443
- }))), q = d(() => Math.max(...K.value.map((e) => e.length))), J = S([]), Qn = 0;
444
- Qe(() => {
445
- let e = ++Qn;
520
+ }))), q = u(() => Math.max(...K.value.map((e) => e.length))), J = S([]), ur = 0;
521
+ tt(() => {
522
+ let e = ++ur;
446
523
  (async () => {
447
- let t = await _e({
524
+ let t = await be({
448
525
  values: R.value.style.chart.layout.grid.xAxis.dataLabels.values,
449
526
  maxDatapoints: q.value,
450
527
  formatter: R.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
451
528
  start: V.value.start,
452
529
  end: V.value.end
453
530
  });
454
- e === Qn && (J.value = t);
531
+ e === ur && (J.value = t);
455
532
  })();
456
533
  });
457
- let Y = d(() => G.value.width / (V.value.end - V.value.start)), $n = d(() => {
534
+ let Y = u(() => G.value.width / (V.value.end - V.value.start)), dr = u(() => {
458
535
  let e = [];
459
536
  for (let t = 0; t < V.value.end - V.value.start; t += 1) {
460
- let n = Zn.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = G.value.left + Y.value * t + Y.value / 2;
537
+ let n = lr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = G.value.left + Y.value * t + Y.value / 2;
461
538
  e.push({
462
539
  index: t,
463
540
  percentages: a,
@@ -467,26 +544,29 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
467
544
  });
468
545
  }
469
546
  return e;
470
- }), er = d(() => {
471
- let e = Math.max(...$n.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 1, t = Math.min(...$n.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 0, n = Math.max(R.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), i;
472
- return i = R.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, R.value.style.chart.layout.grid.yAxis.scaleMin), R.value.style.chart.layout.grid.yAxis.autoScale && (i = t, n = e), i === n && (i = n / 2, n *= 1.5), {
547
+ }), fr = u(() => {
548
+ let e = Math.max(...dr.value.map((e) => e.subtotal).filter((e) => ge(e))) ?? 1, t = Math.min(...dr.value.map((e) => e.subtotal).filter((e) => ge(e))) ?? 0, n = Math.max(R.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
549
+ return r = R.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, R.value.style.chart.layout.grid.yAxis.scaleMin), R.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
473
550
  max: n,
474
- min: i
551
+ min: r
475
552
  };
476
- }), X = d(() => {
477
- let e = $n.value.length === 1 ? er.value.max * 2 : er.value.max;
478
- return le(er.value.min, e, R.value.style.chart.layout.grid.yAxis.dataLabels.steps);
553
+ }), X = u(() => {
554
+ let e = dr.value.length === 1 ? fr.value.max * 2 : fr.value.max;
555
+ return ie(fr.value.min, e, R.value.style.chart.layout.grid.yAxis.dataLabels.steps);
479
556
  });
480
- function tr(e) {
557
+ et(() => X.value.ticks.join("|"), () => {
558
+ Tn();
559
+ }, { flush: "post" });
560
+ function pr(e) {
481
561
  return (e - X.value.min) / (X.value.max - X.value.min);
482
562
  }
483
- let nr = d(() => X.value.ticks.map((e) => ({
484
- y: G.value.bottom - G.value.height * tr(e),
563
+ let mr = u(() => X.value.ticks.map((e) => ({
564
+ y: G.value.bottom - G.value.height * pr(e),
485
565
  value: e
486
- }))), Z = d(() => {
487
- let e = $n.value, t = Math.max(...e.map((e) => e.subtotal));
566
+ }))), Z = u(() => {
567
+ let e = dr.value, t = Math.max(...e.map((e) => e.subtotal));
488
568
  return e.length === 1 && t * 2, e.map((t, n) => {
489
- let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a = j.value === t.index ? G.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > Y.value / 2 * .7 ? Y.value / 2 * .7 : r * 2, s = G.value.bottom - G.value.height * tr(t.subtotal), c = Zn.value.map((e) => ({
569
+ let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a = j.value === t.index ? G.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > Y.value / 2 * .7 ? Y.value / 2 * .7 : r * 2, s = G.value.bottom - G.value.height * pr(t.subtotal), c = lr.value.map((e) => ({
490
570
  color: e.color,
491
571
  name: e.name,
492
572
  value: e.values[n] ?? 0
@@ -497,14 +577,14 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
497
577
  radius: i,
498
578
  activeRadius: a,
499
579
  hoverRadius: o,
500
- donut: ee({ series: c }, t.x, s, i, i, 1.99999, 2, 1, 360, 105.25, i / 2),
501
- donutHover: ee({ series: c }, t.x, s, o, o, 1.99999, 2, 1, 360, 105.25, o / 2),
502
- donutFocus: ee({ series: c }, G.value.centerX, G.value.centerY, G.value.height / 3.6, G.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, G.value.height / 6)
580
+ donut: le({ series: c }, t.x, s, i, i, 1.99999, 2, 1, 360, 105.25, i / 2),
581
+ donutHover: le({ series: c }, t.x, s, o, o, 1.99999, 2, 1, 360, 105.25, o / 2),
582
+ donutFocus: le({ series: c }, G.value.centerX, G.value.centerY, G.value.height / 3.6, G.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, G.value.height / 6)
503
583
  };
504
584
  });
505
585
  });
506
- function rr(e, t, n) {
507
- return ue(R.value.style.chart.layout.dataLabels.formatter, e, re({
586
+ function hr(e, t, n) {
587
+ return se(R.value.style.chart.layout.dataLabels.formatter, e, re({
508
588
  p: R.value.style.chart.layout.dataLabels.prefix,
509
589
  v: e,
510
590
  s: R.value.style.chart.layout.dataLabels.suffix,
@@ -514,29 +594,29 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
514
594
  index: n
515
595
  });
516
596
  }
517
- function ir(e, t) {
518
- return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
597
+ function gr(e, t) {
598
+ return isNaN(e.value / ne(t, "value")) ? 0 : (e.value / ne(t, "value") * 100).toFixed(0) + "%";
519
599
  }
520
- function ar(e) {
600
+ function _r(e) {
521
601
  j.value = null, M.value = null, L.value = null, R.value.events.datapointLeave && R.value.events.datapointLeave({
522
602
  datapoint: e,
523
603
  seriesIndex: e.seriesIndex + V.value.start
524
604
  });
525
605
  }
526
- function or(e) {
606
+ function vr(e) {
527
607
  R.value.events.datapointEnter && R.value.events.datapointEnter({
528
608
  datapoint: e,
529
609
  seriesIndex: e.index + V.value.start
530
610
  }), j.value = e.index, M.value = e, L.value = e.index;
531
611
  }
532
- let sr = S(null);
533
- function cr(e, t) {
612
+ let yr = S(null);
613
+ function br(e, t) {
534
614
  R.value.events.datapointClick && R.value.events.datapointClick({
535
615
  datapoint: e,
536
616
  seriesIndex: e.index + V.value.start
537
- }), !(!e.subtotal || !R.value.style.chart.dialog.show) && (M.value = null, j.value = null, $t.value = !0, N.value = e, Dr(e), [null, void 0].includes(t) || (sr.value = t));
617
+ }), !(!e.subtotal || !R.value.style.chart.dialog.show) && (M.value = null, j.value = null, tn.value = !0, N.value = e, zr(e), [null, void 0].includes(t) || (yr.value = t));
538
618
  }
539
- let lr = d(() => K.value.map((e, t) => ({
619
+ let xr = u(() => K.value.map((e, t) => ({
540
620
  name: e.name,
541
621
  value: e.values.slice(V.value.start, V.value.end).reduce((e, t) => e + t, 0),
542
622
  shape: "circle",
@@ -545,9 +625,9 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
545
625
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
546
626
  ...e,
547
627
  opacity: A.value.includes(e.uid) ? .5 : 1,
548
- segregate: () => pr(e.uid),
628
+ segregate: () => Tr(e.uid),
549
629
  isSegregated: A.value.includes(e.uid),
550
- display: `${e.name}${R.value.style.chart.legend.showPercentage || R.value.style.chart.legend.showValue ? ": " : ""}${R.value.style.chart.legend.showValue ? ue(R.value.style.chart.layout.dataLabels.formatter, e.value, re({
630
+ display: `${e.name}${R.value.style.chart.legend.showPercentage || R.value.style.chart.legend.showValue ? ": " : ""}${R.value.style.chart.legend.showValue ? se(R.value.style.chart.layout.dataLabels.formatter, e.value, re({
551
631
  p: R.value.style.chart.layout.dataLabels.prefix,
552
632
  v: e.value,
553
633
  s: R.value.style.chart.layout.dataLabels.suffix,
@@ -555,12 +635,12 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
555
635
  }), {
556
636
  datapoint: e,
557
637
  seriesIndex: t
558
- }) : ""}${R.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${R.value.style.chart.legend.showValue ? " (" : ""}- %${R.value.style.chart.legend.showValue ? ")" : ""}` : `${R.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / ur.value) ? "-" : re({
559
- v: e.value / ur.value * 100,
638
+ }) : ""}${R.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${R.value.style.chart.legend.showValue ? " (" : ""}- %${R.value.style.chart.legend.showValue ? ")" : ""}` : `${R.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / Sr.value) ? "-" : re({
639
+ v: e.value / Sr.value * 100,
560
640
  s: "%",
561
641
  r: R.value.style.chart.legend.roundingPercentage
562
642
  })}${R.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
563
- }))), ur = d(() => Z.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), dr = d(() => ({
643
+ }))), Sr = u(() => Z.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), Cr = u(() => ({
564
644
  cy: "donut-div-legend",
565
645
  backgroundColor: R.value.style.chart.legend.backgroundColor,
566
646
  color: R.value.style.chart.legend.color,
@@ -568,31 +648,31 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
568
648
  paddingBottom: 12,
569
649
  fontWeight: R.value.style.chart.legend.bold ? "bold" : ""
570
650
  }));
571
- function fr() {
572
- A.value.length ? A.value = [] : lr.value.forEach((e) => {
651
+ function wr() {
652
+ A.value.length ? A.value = [] : xr.value.forEach((e) => {
573
653
  A.value.push(e.uid);
574
- }), wn("selectLegend", Zn.value);
654
+ }), Fn("selectLegend", lr.value);
575
655
  }
576
- function pr(e) {
577
- if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), wn("selectLegend", Zn.value);
656
+ function Tr(e) {
657
+ if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), Fn("selectLegend", lr.value);
578
658
  else {
579
659
  if (A.value.length === K.value.length - 1) return;
580
- A.value.push(e), wn("selectLegend", Zn.value);
660
+ A.value.push(e), Fn("selectLegend", lr.value);
581
661
  }
582
- N.value && cr(Z.value.find((e, t) => t === sr.value));
662
+ N.value && br(Z.value.find((e, t) => t === yr.value));
583
663
  }
584
- function mr(e) {
664
+ function Er(e) {
585
665
  return K.value.length ? K.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
586
666
  }
587
- function hr(e) {
588
- let t = mr(e);
589
- t !== null && A.value.includes(t.uid) && pr(t.uid);
667
+ function Dr(e) {
668
+ let t = Er(e);
669
+ t !== null && A.value.includes(t.uid) && Tr(t.uid);
590
670
  }
591
- function gr(e) {
592
- let t = mr(e);
593
- t !== null && (A.value.includes(t.uid) || pr(t.uid));
671
+ function Or(e) {
672
+ let t = Er(e);
673
+ t !== null && (A.value.includes(t.uid) || Tr(t.uid));
594
674
  }
595
- let Q = d(() => {
675
+ let Q = u(() => {
596
676
  let e = [""].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
597
677
  name: e.name,
598
678
  color: e.color
@@ -607,7 +687,7 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
607
687
  return {
608
688
  head: e,
609
689
  body: t,
610
- bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${rr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
690
+ bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${hr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
611
691
  config: {
612
692
  th: {
613
693
  backgroundColor: R.value.table.th.backgroundColor,
@@ -624,51 +704,51 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
624
704
  colNames: [R.value.table.columnNames.period].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), R.value.table.columnNames.total)
625
705
  };
626
706
  });
627
- function _r() {
707
+ function kr() {
628
708
  return K.value;
629
709
  }
630
- function vr(e = null) {
631
- Ge(() => {
632
- let t = [
710
+ function Ar(e = null) {
711
+ _(() => {
712
+ let n = [
633
713
  [R.value.style.chart.title.text],
634
714
  [R.value.style.chart.title.subtitle.text],
635
715
  [""]
636
- ], n = [...Q.value.head.map((e) => e.name ?? e)], r = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], a = i(t.concat([n]).concat(r));
637
- e ? e(a) : te({
638
- csvContent: a,
716
+ ], i = [...Q.value.head.map((e) => e.name ?? e)], a = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], o = r(n.concat([i]).concat(a));
717
+ e ? e(o) : t({
718
+ csvContent: o,
639
719
  title: R.value.style.chart.title.text || "vue-ui-donut-evolution"
640
720
  });
641
721
  });
642
722
  }
643
723
  let $ = S(!1);
644
- function yr(e) {
645
- $.value = e, tn.value += 1;
724
+ function jr(e) {
725
+ $.value = e, rn.value += 1;
646
726
  }
647
- function br() {
727
+ function Mr() {
648
728
  H.value.showTable = !H.value.showTable;
649
729
  }
650
- let xr = S(!1);
651
- function Sr() {
652
- xr.value = !xr.value;
730
+ let Nr = S(!1);
731
+ function Pr() {
732
+ Nr.value = !Nr.value;
653
733
  }
654
- function Cr(e) {
734
+ function Fr(e) {
655
735
  return e.proportion * 100 > R.value.style.chart.donuts.hover.hideLabelsUnderValue;
656
736
  }
657
- let wr = S([]), Tr = S({}), Er = S(null);
658
- function Dr(e) {
659
- wr.value = e.donut.map((e) => ({
737
+ let Ir = S([]), Lr = S({}), Rr = S(null);
738
+ function zr(e) {
739
+ Ir.value = e.donut.map((e) => ({
660
740
  name: e.name,
661
741
  values: [e.value],
662
742
  color: e.color
663
- })), Tr.value = ie({
743
+ })), Lr.value = c({
664
744
  ...R.value.style.chart.dialog.donutChart,
665
745
  responsive: !0,
666
746
  theme: R.value.theme
667
- }), Er.value && Er.value.open();
747
+ }), Rr.value && Rr.value.open();
668
748
  }
669
- async function Or({ scale: e = 2 } = {}) {
749
+ async function Br({ scale: e = 2 } = {}) {
670
750
  if (!P.value) return;
671
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await De({
751
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await je({
672
752
  domElement: P.value,
673
753
  base64: !0,
674
754
  img: !0,
@@ -683,8 +763,8 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
683
763
  aspectRatio: r
684
764
  };
685
765
  }
686
- Ee({
687
- timeLabelsEls: cn,
766
+ Ae({
767
+ timeLabelsEls: un,
688
768
  timeLabels: J,
689
769
  slicer: V,
690
770
  configRef: R,
@@ -708,14 +788,14 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
708
788
  "enable"
709
789
  ],
710
790
  isAutoSize: !1,
711
- width: d(() => B.value.width),
712
- height: d(() => B.value.height),
791
+ width: u(() => B.value.width),
792
+ height: u(() => B.value.height),
713
793
  rotation: R.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
714
794
  });
715
- let kr = d(() => {
795
+ let Vr = u(() => {
716
796
  let e = R.value.table.useDialog && !R.value.table.show, t = H.value.showTable;
717
797
  return {
718
- component: e ? Jt : Vt,
798
+ component: e ? Zt : Wt,
719
799
  title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
720
800
  props: e ? {
721
801
  backgroundColor: R.value.table.th.backgroundColor,
@@ -743,51 +823,51 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
743
823
  }
744
824
  };
745
825
  });
746
- Ze(() => H.value.showTable, (e) => {
747
- R.value.table.show || (e && R.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
826
+ et(() => H.value.showTable, (e) => {
827
+ R.value.table.show || (e && R.value.table.useDialog && mn.value ? mn.value.open() : "close" in mn.value && mn.value.close());
748
828
  });
749
- function Ar() {
750
- H.value.showTable = !1, fn.value && fn.value.setTableIconState(!1);
829
+ function Hr() {
830
+ H.value.showTable = !1, hn.value && hn.value.setTableIconState(!1);
751
831
  }
752
- let jr = d(() => lr.value.map((e) => ({
832
+ let Ur = u(() => xr.value.map((e) => ({
753
833
  ...e,
754
834
  name: e.display
755
- }))), Mr = d(() => R.value.style.chart.backgroundColor), Nr = d(() => R.value.style.chart.legend), { exportSvg: Pr, getSvg: Fr } = Se({
756
- svg: zn,
757
- title: d(() => R.value.style.chart.title),
758
- legend: Nr,
759
- legendItems: jr,
760
- backgroundColor: Mr
835
+ }))), Wr = u(() => R.value.style.chart.backgroundColor), Gr = u(() => R.value.style.chart.legend), { exportSvg: Kr, getSvg: qr } = Te({
836
+ svg: Zn,
837
+ title: u(() => R.value.style.chart.title),
838
+ legend: Gr,
839
+ legendItems: Ur,
840
+ backgroundColor: Wr
761
841
  });
762
- async function Ir({ isCb: e }) {
763
- mn.value = !0, await Ge();
842
+ async function Jr({ isCb: e }) {
843
+ _n.value = !0, await _();
764
844
  try {
765
845
  if (e) {
766
- let { blob: e, url: t, text: n, dataUrl: r } = await Fr();
846
+ let { blob: e, url: t, text: n, dataUrl: r } = await qr();
767
847
  await Promise.resolve(R.value.userOptions.callbacks.svg({
768
848
  blob: e,
769
849
  url: t,
770
850
  text: n,
771
851
  dataUrl: r
772
852
  }));
773
- } else await Promise.resolve(Pr());
853
+ } else await Promise.resolve(Kr());
774
854
  } finally {
775
- mn.value = !1;
855
+ _n.value = !1;
776
856
  }
777
857
  }
778
- function Lr(e) {
858
+ function Yr(e) {
779
859
  if (e?.stage === "start") {
780
- pn.value = !0;
860
+ gn.value = !0;
781
861
  return;
782
862
  }
783
863
  if (e?.stage === "end") {
784
- pn.value = !1;
864
+ gn.value = !1;
785
865
  return;
786
866
  }
787
- Wn();
867
+ nr();
788
868
  }
789
- async function Rr() {
790
- if (wn("copyAlt", {
869
+ async function Xr() {
870
+ if (Fn("copyAlt", {
791
871
  config: R.value,
792
872
  dataset: Z.value
793
873
  }), !R.value.userOptions.callbacks.altCopy) {
@@ -799,14 +879,14 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
799
879
  dataset: Z.value
800
880
  }));
801
881
  }
802
- function zr() {
803
- L.value = null, Cn.value = !0;
882
+ function Zr() {
883
+ L.value = null, Pn.value = !0;
804
884
  }
805
- function Br() {
806
- L.value = null, j.value = null, M.value = null, Cn.value = !1;
885
+ function Qr() {
886
+ L.value = null, j.value = null, M.value = null, Pn.value = !1;
807
887
  }
808
- function Vr(e) {
809
- if (!zn.value || xr.value || document.activeElement !== zn.value || !Z.value.length) return;
888
+ function $r(e) {
889
+ if (!Zn.value || Nr.value || document.activeElement !== Zn.value || !Z.value.length) return;
810
890
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
811
891
  if (!t && !n && !r && !i) return;
812
892
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -817,49 +897,49 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
817
897
  if (L.value === null) return;
818
898
  let e = Z.value[L.value];
819
899
  if (!e) return;
820
- cr(e, L.value);
900
+ br(e, L.value);
821
901
  return;
822
902
  }
823
903
  let a = L.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, c = o !== null && o >= 0 && o < Z.value.length;
824
904
  s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
825
- let l = Z.value[a];
826
- l && or(l);
905
+ let ee = Z.value[a];
906
+ ee && vr(ee);
827
907
  }
828
- let Hr = d(() => ({
908
+ let ei = u(() => ({
829
909
  headers: Q.value?.colNames ?? [],
830
910
  rows: Q.value?.bodyA11y ?? []
831
911
  }));
832
- return ke({
833
- getData: _r,
834
- getImage: Or,
835
- generatePdf: Un,
836
- generateCsv: vr,
837
- generateImage: Wn,
838
- generateSvg: Ir,
839
- hideSeries: gr,
840
- showSeries: hr,
841
- toggleTable: br,
842
- toggleAnnotator: Sr,
843
- toggleFullscreen: yr,
844
- copyAlt: Rr
845
- }), (e, t) => (x(), m("div", {
912
+ return Ne({
913
+ getData: kr,
914
+ getImage: Br,
915
+ generatePdf: tr,
916
+ generateCsv: Ar,
917
+ generateImage: nr,
918
+ generateSvg: Jr,
919
+ hideSeries: Or,
920
+ showSeries: Dr,
921
+ toggleTable: Mr,
922
+ toggleAnnotator: Pr,
923
+ toggleFullscreen: jr,
924
+ copyAlt: Xr
925
+ }), (e, t) => (x(), p("div", {
846
926
  ref_key: "donutEvolutionChart",
847
927
  ref: P,
848
928
  class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
849
929
  style: b(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
850
930
  id: k.value,
851
- onMouseenter: t[5] ||= () => E(Ln)(!0),
852
- onMouseleave: t[6] ||= () => E(Ln)(!1)
931
+ onMouseenter: t[5] ||= () => E(Yn)(!0),
932
+ onMouseleave: t[6] ||= () => E(Yn)(!1)
853
933
  }, [
854
- h("div", {
934
+ m("div", {
855
935
  id: `chart-instructions-${k.value}`,
856
936
  class: "sr-only"
857
- }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
858
- Hr.value?.rows?.length ? (x(), f(Pe, {
937
+ }, [m("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, it),
938
+ ei.value?.rows?.length ? (x(), d(Re, {
859
939
  key: 0,
860
940
  uid: k.value,
861
- head: Hr.value.headers,
862
- body: Hr.value.rows,
941
+ head: ei.value.headers,
942
+ body: ei.value.rows,
863
943
  notice: R.value.a11y.translations.tableAvailable,
864
944
  caption: R.value.a11y.translations.tableCaption
865
945
  }, null, 8, [
@@ -868,22 +948,22 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
868
948
  "body",
869
949
  "notice",
870
950
  "caption"
871
- ])) : p("", !0),
872
- R.value.userOptions.buttons.annotator ? (x(), f(E(Gt), {
951
+ ])) : f("", !0),
952
+ R.value.userOptions.buttons.annotator ? (x(), d(E(Jt), {
873
953
  key: 1,
874
- svgRef: E(zn),
954
+ svgRef: E(Zn),
875
955
  backgroundColor: R.value.style.chart.backgroundColor,
876
956
  color: R.value.style.chart.color,
877
- active: xr.value,
957
+ active: Nr.value,
878
958
  isCursorPointer: z.value,
879
- onClose: Sr
959
+ onClose: Pr
880
960
  }, {
881
961
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
882
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
883
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
884
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
885
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
886
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
962
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(g({ color: t })), void 0, !0)]),
963
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(g({ mode: t })), void 0, !0)]),
964
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(g({ disabled: t })), void 0, !0)]),
965
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(g({ disabled: t })), void 0, !0)]),
966
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(g({ disabled: t })), void 0, !0)]),
887
967
  _: 3
888
968
  }, 8, [
889
969
  "svgRef",
@@ -891,22 +971,22 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
891
971
  "color",
892
972
  "active",
893
973
  "isCursorPointer"
894
- ])) : p("", !0),
895
- Gn.value ? (x(), m("div", {
974
+ ])) : f("", !0),
975
+ rr.value ? (x(), p("div", {
896
976
  key: 2,
897
977
  ref_key: "noTitle",
898
- ref: en,
978
+ ref: nn,
899
979
  class: "vue-data-ui-no-title-space",
900
980
  style: "height:36px; width: 100%;background:transparent"
901
- }, null, 512)) : p("", !0),
902
- R.value.style.chart.title.text ? (x(), m("div", {
981
+ }, null, 512)) : f("", !0),
982
+ R.value.style.chart.title.text ? (x(), p("div", {
903
983
  key: 3,
904
984
  ref_key: "chartTitle",
905
- ref: hn,
985
+ ref: Dn,
906
986
  style: "width:100%;background:transparent;padding-bottom:24px",
907
- onMouseleave: ar
908
- }, [(x(), f(Oe, {
909
- key: `title_${rn.value}`,
987
+ onMouseleave: _r
988
+ }, [(x(), d(Me, {
989
+ key: `title_${on.value}`,
910
990
  config: {
911
991
  title: {
912
992
  cy: "donut-evolution-div-title",
@@ -917,16 +997,16 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
917
997
  ...R.value.style.chart.title.subtitle
918
998
  }
919
999
  }
920
- }, null, 8, ["config"]))], 544)) : p("", !0),
921
- h("div", { id: `legend-top-${k.value}` }, null, 8, nt),
922
- R.value.userOptions.show && Tn.value && (E(Rn) || E(In)) ? (x(), f(E(Kt), {
1000
+ }, null, 8, ["config"]))], 544)) : f("", !0),
1001
+ m("div", { id: `legend-top-${k.value}` }, null, 8, at),
1002
+ R.value.userOptions.show && In.value && (E(Xn) || E(Jn)) ? (x(), d(E(Yt), {
923
1003
  ref_key: "userOptionsRef",
924
- ref: fn,
925
- key: `user_options_${tn.value}`,
1004
+ ref: hn,
1005
+ key: `user_options_${rn.value}`,
926
1006
  backgroundColor: R.value.style.chart.backgroundColor,
927
1007
  color: R.value.style.chart.color,
928
- isPrinting: E(Vn),
929
- isImaging: E(Hn),
1008
+ isPrinting: E($n),
1009
+ isImaging: E(er),
930
1010
  uid: k.value,
931
1011
  hasPdf: R.value.userOptions.buttons.pdf,
932
1012
  hasImg: R.value.userOptions.buttons.img,
@@ -940,24 +1020,24 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
940
1020
  chartElement: P.value,
941
1021
  position: R.value.userOptions.position,
942
1022
  hasAnnotator: R.value.userOptions.buttons.annotator,
943
- isAnnotation: xr.value,
1023
+ isAnnotation: Nr.value,
944
1024
  callbacks: R.value.userOptions.callbacks,
945
1025
  printScale: R.value.userOptions.print.scale,
946
1026
  tableDialog: R.value.table.useDialog,
947
1027
  isCursorPointer: z.value,
948
- onToggleFullscreen: yr,
949
- onGeneratePdf: E(Un),
950
- onGenerateCsv: vr,
951
- onGenerateImage: Lr,
952
- onGenerateSvg: Ir,
953
- onToggleTable: br,
954
- onToggleAnnotator: Sr,
955
- onCopyAlt: Rr,
956
- style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
957
- }, Ve({ _: 2 }, [
1028
+ onToggleFullscreen: jr,
1029
+ onGeneratePdf: E(tr),
1030
+ onGenerateCsv: Ar,
1031
+ onGenerateImage: Yr,
1032
+ onGenerateSvg: Jr,
1033
+ onToggleTable: Mr,
1034
+ onToggleAnnotator: Pr,
1035
+ onCopyAlt: Xr,
1036
+ style: b({ visibility: E(Xn) ? E(Jn) ? "visible" : "hidden" : "visible" })
1037
+ }, Ge({ _: 2 }, [
958
1038
  e.$slots.menuIcon ? {
959
1039
  name: "menuIcon",
960
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
1040
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(g({
961
1041
  isOpen: t,
962
1042
  color: n
963
1043
  })), void 0, !0)]),
@@ -990,7 +1070,7 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
990
1070
  } : void 0,
991
1071
  e.$slots.optionFullscreen ? {
992
1072
  name: "optionFullscreen",
993
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
1073
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(g({
994
1074
  toggleFullscreen: t,
995
1075
  isFullscreen: n
996
1076
  })), void 0, !0)]),
@@ -998,7 +1078,7 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
998
1078
  } : void 0,
999
1079
  e.$slots.optionAnnotator ? {
1000
1080
  name: "optionAnnotator",
1001
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
1081
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(g({
1002
1082
  toggleAnnotator: t,
1003
1083
  isAnnotator: n
1004
1084
  })), void 0, !0)]),
@@ -1006,7 +1086,7 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1006
1086
  } : void 0,
1007
1087
  e.$slots.optionAltCopy ? {
1008
1088
  name: "optionAltCopy",
1009
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
1089
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(g({ altCopy: t })), void 0, !0)]),
1010
1090
  key: "8"
1011
1091
  } : void 0,
1012
1092
  e.$slots["custom-menu-before"] ? {
@@ -1044,33 +1124,34 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1044
1124
  "isCursorPointer",
1045
1125
  "onGeneratePdf",
1046
1126
  "style"
1047
- ])) : p("", !0),
1048
- h("div", rt, [(x(), m("svg", {
1127
+ ])) : f("", !0),
1128
+ m("div", ot, [(x(), p("svg", {
1049
1129
  ref_key: "svgRef",
1050
- ref: zn,
1130
+ ref: Zn,
1051
1131
  xmlns: E(pe),
1052
1132
  "aria-describedby": `chart-instructions-${k.value}`,
1053
1133
  class: v({
1054
1134
  "vue-data-ui-fullscreen--on": $.value,
1055
- "vue-data-ui-fulscreen--off": !$.value
1135
+ "vue-data-ui-fulscreen--off": !$.value,
1136
+ "vue-data-ui-no-transition": !E(zn)
1056
1137
  }),
1057
1138
  viewBox: `0 0 ${G.value.absoluteWidth} ${G.value.absoluteHeight}`,
1058
1139
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${R.value.style.chart.color};`),
1059
1140
  tabindex: "0",
1060
- onFocus: zr,
1061
- onBlur: Br,
1062
- onKeydown: Vr
1141
+ onFocus: Zr,
1142
+ onBlur: Qr,
1143
+ onKeydown: $r
1063
1144
  }, [
1064
- Ue(E(Wt)),
1065
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
1145
+ qe(E(qt)),
1146
+ e.$slots["chart-background"] ? (x(), p("foreignObject", {
1066
1147
  key: 0,
1067
1148
  x: G.value.left,
1068
1149
  y: G.value.top,
1069
1150
  width: G.value.width,
1070
1151
  height: G.value.height,
1071
1152
  style: { pointerEvents: "none" }
1072
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : p("", !0),
1073
- h("defs", null, [Ue(Me, {
1153
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : f("", !0),
1154
+ m("defs", null, [qe(Ie, {
1074
1155
  t: "linear",
1075
1156
  id: `hover_${k.value}`,
1076
1157
  x1: "0%",
@@ -1079,36 +1160,36 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1079
1160
  y2: "100%",
1080
1161
  stops: [[
1081
1162
  "0%",
1082
- E(ge)(R.value.style.chart.backgroundColor, R.value.style.chart.layout.highlighter.opacity),
1163
+ E(n)(R.value.style.chart.backgroundColor, R.value.style.chart.layout.highlighter.opacity),
1083
1164
  1
1084
1165
  ], [
1085
1166
  "100%",
1086
- E(ge)(R.value.style.chart.layout.highlighter.color, R.value.style.chart.layout.highlighter.opacity),
1167
+ E(n)(R.value.style.chart.layout.highlighter.color, R.value.style.chart.layout.highlighter.opacity),
1087
1168
  1
1088
1169
  ]]
1089
- }, null, 8, ["id", "stops"]), Ue(Me, {
1170
+ }, null, 8, ["id", "stops"]), qe(Ie, {
1090
1171
  t: "radial",
1091
1172
  id: `focus_${k.value}`,
1092
1173
  stops: [
1093
1174
  [
1094
1175
  "0%",
1095
- E(ge)(E(he)(R.value.style.chart.backgroundColor), 0),
1176
+ E(n)(E(te)(R.value.style.chart.backgroundColor), 0),
1096
1177
  1
1097
1178
  ],
1098
1179
  [
1099
1180
  "77%",
1100
- E(ge)("#FFFFFF", 30),
1181
+ E(n)("#FFFFFF", 30),
1101
1182
  1
1102
1183
  ],
1103
1184
  [
1104
1185
  "100%",
1105
- E(ge)(E(he)(R.value.style.chart.backgroundColor), 0),
1186
+ E(n)(E(te)(R.value.style.chart.backgroundColor), 0),
1106
1187
  1
1107
1188
  ]
1108
1189
  ]
1109
1190
  }, null, 8, ["id", "stops"])]),
1110
- R.value.style.chart.layout.grid.show ? (x(), m("g", ot, [
1111
- h("line", {
1191
+ R.value.style.chart.layout.grid.show ? (x(), p("g", lt, [
1192
+ m("line", {
1112
1193
  x1: W.value ? G.value.right : G.value.left,
1113
1194
  x2: W.value ? G.value.right : G.value.left,
1114
1195
  y1: G.value.top,
@@ -1116,8 +1197,8 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1116
1197
  stroke: R.value.style.chart.layout.grid.stroke,
1117
1198
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1118
1199
  "stroke-linecap": "round"
1119
- }, null, 8, st),
1120
- h("line", {
1200
+ }, null, 8, ut),
1201
+ m("line", {
1121
1202
  x1: G.value.left,
1122
1203
  x2: G.value.right,
1123
1204
  y1: G.value.bottom,
@@ -1125,8 +1206,8 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1125
1206
  stroke: R.value.style.chart.layout.grid.stroke,
1126
1207
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1127
1208
  "stroke-linecap": "round"
1128
- }, null, 8, ct),
1129
- R.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", lt, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("line", {
1209
+ }, null, 8, dt),
1210
+ R.value.style.chart.layout.grid.showVerticalLines ? (x(), p("g", ft, [(x(!0), p(l, null, C(V.value.end - V.value.start, (e, t) => (x(), p("line", {
1130
1211
  x1: G.value.left + (t + 1) * Y.value,
1131
1212
  x2: G.value.left + (t + 1) * Y.value,
1132
1213
  y1: G.value.top,
@@ -1134,51 +1215,51 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1134
1215
  stroke: R.value.style.chart.layout.grid.stroke,
1135
1216
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1136
1217
  "stroke-linecap": "round"
1137
- }, null, 8, ut))), 256))])) : p("", !0)
1138
- ])) : p("", !0),
1139
- h("g", null, [R.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
1218
+ }, null, 8, pt))), 256))])) : f("", !0)
1219
+ ])) : f("", !0),
1220
+ m("g", null, [R.value.style.chart.layout.grid.axis.yLabel ? (x(), p("text", {
1140
1221
  key: 0,
1141
1222
  ref_key: "yAxisLabel",
1142
- ref: un,
1223
+ ref: fn,
1143
1224
  "font-size": R.value.style.chart.layout.grid.axis.fontSize,
1144
1225
  fill: R.value.style.chart.layout.grid.axis.color,
1145
1226
  transform: `translate(${W.value ? G.value.absoluteWidth - R.value.style.chart.layout.grid.axis.fontSize / 2 - R.value.style.chart.layout.grid.axis.yLabelOffsetX : R.value.style.chart.layout.grid.axis.fontSize}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
1146
1227
  "text-anchor": "middle",
1147
1228
  style: { transition: "none" }
1148
- }, T(R.value.style.chart.layout.grid.axis.yLabel), 9, dt)) : p("", !0), R.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
1229
+ }, T(R.value.style.chart.layout.grid.axis.yLabel), 9, mt)) : f("", !0), R.value.style.chart.layout.grid.axis.xLabel ? (x(), p("text", {
1149
1230
  key: 1,
1150
1231
  ref_key: "xAxisLabel",
1151
- ref: ln,
1232
+ ref: dn,
1152
1233
  "text-anchor": "middle",
1153
1234
  x: G.value.absoluteWidth / 2,
1154
1235
  y: G.value.absoluteHeight - 3,
1155
1236
  "font-size": R.value.style.chart.layout.grid.axis.fontSize,
1156
1237
  fill: R.value.style.chart.layout.grid.axis.color
1157
- }, T(R.value.style.chart.layout.grid.axis.xLabel), 9, ft)) : p("", !0)]),
1158
- R.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1238
+ }, T(R.value.style.chart.layout.grid.axis.xLabel), 9, ht)) : f("", !0)]),
1239
+ R.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), p("g", {
1159
1240
  key: 2,
1160
1241
  ref_key: "scaleLabels",
1161
- ref: sn,
1242
+ ref: ln,
1162
1243
  class: v({
1163
1244
  "donut-opacity": !0,
1164
1245
  "donut-behind": j.value !== null
1165
1246
  })
1166
- }, [(x(!0), m(u, null, C(nr.value, (e, t) => (x(), m("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("path", {
1247
+ }, [(x(!0), p(l, null, C(mr.value, (e, t) => (x(), p("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (x(), p("path", {
1167
1248
  key: 0,
1168
- class: v({ "vue-data-ui-datalabel": E(Qt) }),
1249
+ class: v({ "vue-data-ui-transition": E(zn) }),
1169
1250
  d: `M${W.value ? G.value.right : G.value.left},${e.y} ${W.value ? G.value.right + 5 : G.value.left - 5},${e.y}`,
1170
1251
  stroke: R.value.style.chart.layout.grid.stroke,
1171
1252
  "stroke-width": R.value.style.chart.layout.grid.strokeWidth,
1172
1253
  "stroke-linecap": "round"
1173
- }, null, 10, pt)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
1254
+ }, null, 10, gt)) : f("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), p("text", {
1174
1255
  key: 1,
1175
- class: v({ "vue-data-ui-datalabel": E(Qt) }),
1256
+ class: v({ "vue-data-ui-transition": E(zn) }),
1176
1257
  transform: `translate(${W.value ? G.value.right - R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : G.value.left + R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7}, ${e.y + R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3})`,
1177
1258
  "font-size": R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1178
1259
  "text-anchor": W.value ? "start" : "end",
1179
1260
  fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
1180
1261
  "font-weight": R.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1181
- }, T(E(me)(e.value) ? E(ue)(R.value.style.chart.layout.dataLabels.formatter, e.value, E(re)({
1262
+ }, T(E(_e)(e.value) ? E(se)(R.value.style.chart.layout.dataLabels.formatter, e.value, E(re)({
1182
1263
  p: R.value.style.chart.layout.dataLabels.prefix,
1183
1264
  v: e.value,
1184
1265
  s: R.value.style.chart.layout.dataLabels.suffix,
@@ -1186,35 +1267,35 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1186
1267
  }), {
1187
1268
  datapoint: e,
1188
1269
  seriesIndex: t
1189
- }) : ""), 11, mt)) : p("", !0)]))), 128))], 2)) : p("", !0),
1190
- R.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
1270
+ }) : ""), 11, _t)) : f("", !0)]))), 128))], 2)) : f("", !0),
1271
+ R.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), p("g", {
1191
1272
  key: 3,
1192
1273
  ref_key: "timeLabelsEls",
1193
- ref: cn,
1274
+ ref: un,
1194
1275
  class: v({ "donut-opacity": !0 })
1195
- }, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("g", null, [(R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === q.value - 1) || !R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && J.value[t] && J.value[t].text ? (x(), m("g", ht, [String(J.value[t].text).includes("\n") ? (x(), m("text", {
1276
+ }, [(x(!0), p(l, null, C(V.value.end - V.value.start, (e, t) => (x(), p("g", null, [(R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === q.value - 1) || !R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && J.value[t] && J.value[t].text ? (x(), p("g", vt, [String(J.value[t].text).includes("\n") ? (x(), p("text", {
1196
1277
  key: 1,
1197
1278
  class: "vue-data-ui-time-label",
1198
1279
  "text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1199
1280
  "font-size": R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1200
1281
  fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
1201
1282
  transform: `translate(${G.value.left + Y.value * t + Y.value / 2}, ${G.value.bottom + R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${R.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
1202
- innerHTML: E(ne)({
1283
+ innerHTML: E(i)({
1203
1284
  content: String(J.value[t].text),
1204
1285
  fontSize: R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1205
1286
  fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
1206
1287
  x: 0,
1207
1288
  y: 0
1208
1289
  })
1209
- }, null, 8, _t)) : (x(), m("text", {
1290
+ }, null, 8, bt)) : (x(), p("text", {
1210
1291
  key: 0,
1211
1292
  class: "vue-data-ui-time-label",
1212
1293
  "text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1213
1294
  "font-size": R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
1214
1295
  fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
1215
1296
  transform: `translate(${G.value.left + Y.value * t + Y.value / 2}, ${G.value.bottom + R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${R.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
1216
- }, T(J.value[t].text || ""), 9, gt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
1217
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", null, [R.value.style.chart.layout.line.show && t < Z.value.length - 1 && ![e.subtotal, Z.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
1297
+ }, T(J.value[t].text || ""), 9, yt))])) : f("", !0)]))), 256))], 512)) : f("", !0),
1298
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("g", null, [R.value.style.chart.layout.line.show && t < Z.value.length - 1 && ![e.subtotal, Z.value[t + 1].subtotal].includes(null) ? (x(), p("line", {
1218
1299
  key: 0,
1219
1300
  class: v({
1220
1301
  "donut-opacity": !0,
@@ -1228,20 +1309,20 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1228
1309
  "stroke-width": R.value.style.chart.layout.line.strokeWidth,
1229
1310
  "stroke-linecap": "round",
1230
1311
  "stroke-linejoin": "round"
1231
- }, null, 10, vt)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", yt, [e.subtotal ? (x(), m("circle", {
1312
+ }, null, 10, xt)) : f("", !0), e.subtotal === null ? f("", !0) : (x(), p("g", St, [e.subtotal ? (x(), p("circle", {
1232
1313
  key: 0,
1233
1314
  cx: e.x,
1234
1315
  cy: e.y,
1235
1316
  r: e.activeRadius,
1236
1317
  fill: R.value.style.chart.backgroundColor
1237
- }, null, 8, bt)) : p("", !0)]))]))), 256)),
1238
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1318
+ }, null, 8, Ct)) : f("", !0)]))]))), 256)),
1319
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("g", { class: v({
1239
1320
  "donut-opacity": !0,
1240
1321
  "donut-behind": t !== j.value && j.value !== null
1241
- }) }, [e.subtotal ? (x(), m("g", xt, [j.value !== null && j.value === t ? (x(), m("g", St, [
1242
- (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Cr(t) ? (x(), m("path", {
1322
+ }) }, [e.subtotal ? (x(), p("g", wt, [j.value !== null && j.value === t ? (x(), p("g", Tt, [
1323
+ (x(!0), p(l, null, C(e.donutHover, (t) => (x(), p("g", null, [Fr(t) ? (x(), p("path", {
1243
1324
  key: 0,
1244
- d: E(de)(t, {
1325
+ d: E(oe)(t, {
1245
1326
  x: t.center.endX,
1246
1327
  y: t.center.endY
1247
1328
  }, 12, 12, {
@@ -1253,48 +1334,48 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1253
1334
  "stroke-linecap": "round",
1254
1335
  "stroke-linejoin": "round",
1255
1336
  fill: "none"
1256
- }, null, 8, Ct)) : p("", !0)]))), 256)),
1257
- (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Cr(t) ? (x(), m("text", {
1337
+ }, null, 8, Et)) : f("", !0)]))), 256)),
1338
+ (x(!0), p(l, null, C(e.donutHover, (t, n) => (x(), p("g", null, [Fr(t) ? (x(), p("text", {
1258
1339
  key: 0,
1259
1340
  "data-cy-hover-label": "",
1260
1341
  "text-anchor": E(ae)(t, !0, 0).anchor,
1261
1342
  x: E(ae)(t, !0, 9).x,
1262
- y: E(se)(t, 14, 10),
1343
+ y: E(ue)(t, 14, 10),
1263
1344
  fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
1264
1345
  "font-size": 8,
1265
1346
  "font-weight": "bold"
1266
- }, T(t.name) + ": " + T(ir(t, e.donut)) + " (" + T(t.value === null ? "-" : rr(t.value, t, n)) + ") ", 9, wt)) : p("", !0)]))), 256)),
1267
- h("g", null, [h("circle", {
1347
+ }, T(t.name) + ": " + T(gr(t, e.donut)) + " (" + T(t.value === null ? "-" : hr(t.value, t, n)) + ") ", 9, Dt)) : f("", !0)]))), 256)),
1348
+ m("g", null, [m("circle", {
1268
1349
  cx: e.x,
1269
1350
  cy: e.y,
1270
1351
  r: e.hoverRadius,
1271
1352
  fill: R.value.style.chart.backgroundColor
1272
- }, null, 8, Tt)])
1273
- ])) : p("", !0)])) : p("", !0)], 2))), 256)),
1274
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1353
+ }, null, 8, Ot)])
1354
+ ])) : f("", !0)])) : f("", !0)], 2))), 256)),
1355
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("g", { class: v({
1275
1356
  "donut-opacity": !0,
1276
1357
  "donut-behind": t !== j.value && j.value !== null
1277
- }) }, [e.subtotal === null ? p("", !0) : (x(), m("g", Et, [e.subtotal === 0 ? (x(), m("circle", {
1358
+ }) }, [e.subtotal === null ? f("", !0) : (x(), p("g", kt, [e.subtotal === 0 ? (x(), p("circle", {
1278
1359
  key: 0,
1279
1360
  cx: e.x,
1280
1361
  cy: e.y,
1281
1362
  r: 3,
1282
1363
  fill: R.value.style.chart.color
1283
- }, null, 8, Dt)) : j.value !== null && j.value === t ? (x(), m("g", Ot, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
1364
+ }, null, 8, At)) : j.value !== null && j.value === t ? (x(), p("g", jt, [(x(!0), p(l, null, C(e.donutHover, (e, t) => (x(), p("path", {
1284
1365
  d: e.arcSlice,
1285
1366
  fill: `${e.color}`,
1286
1367
  "stroke-width": 1,
1287
1368
  stroke: R.value.style.chart.backgroundColor
1288
- }, null, 8, kt))), 256))])) : (x(), m("g", At, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
1369
+ }, null, 8, Mt))), 256))])) : (x(), p("g", Nt, [(x(!0), p(l, null, C(e.donut, (e, t) => (x(), p("path", {
1289
1370
  d: e.arcSlice,
1290
1371
  fill: `${e.color}`,
1291
1372
  "stroke-width": .5,
1292
1373
  stroke: R.value.style.chart.backgroundColor
1293
- }, null, 8, jt))), 256))]))]))], 2))), 256)),
1294
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
1374
+ }, null, 8, Pt))), 256))]))]))], 2))), 256)),
1375
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("g", { class: v({
1295
1376
  "donut-opacity": !0,
1296
- "donut-behind": t !== j.value && j.value !== null || $t.value && t !== N.value.index
1297
- }) }, [e.subtotal !== null && R.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
1377
+ "donut-behind": t !== j.value && j.value !== null || tn.value && t !== N.value.index
1378
+ }) }, [e.subtotal !== null && R.value.style.chart.layout.dataLabels.show ? (x(), p("text", {
1298
1379
  key: 0,
1299
1380
  "text-anchor": "middle",
1300
1381
  x: e.x,
@@ -1302,47 +1383,47 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1302
1383
  "font-size": R.value.style.chart.layout.dataLabels.fontSize,
1303
1384
  "font-weight": "bold",
1304
1385
  fill: R.value.style.chart.layout.dataLabels.color
1305
- }, T(rr(e.subtotal, e, t)), 9, Mt)) : p("", !0)], 2))), 256)),
1306
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1386
+ }, T(hr(e.subtotal, e, t)), 9, Ft)) : f("", !0)], 2))), 256)),
1387
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("rect", {
1307
1388
  x: G.value.left + t * Y.value,
1308
1389
  y: G.value.top,
1309
1390
  width: Y.value,
1310
1391
  height: G.value.height,
1311
- fill: [j.value, sr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1312
- class: v({ "donut-hover": z.value && e.subtotal && [j.value, sr.value].includes(e.index) }),
1392
+ fill: [j.value, yr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1393
+ class: v({ "donut-hover": z.value && e.subtotal && [j.value, yr.value].includes(e.index) }),
1313
1394
  style: { pointerEvents: "none" }
1314
- }, null, 10, Nt))), 256)),
1315
- (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1395
+ }, null, 10, It))), 256)),
1396
+ (x(!0), p(l, null, C(Z.value, (e, t) => (x(), p("rect", {
1316
1397
  "data-cy-trap": "",
1317
1398
  x: G.value.left + t * Y.value,
1318
1399
  y: G.value.top,
1319
1400
  width: Y.value,
1320
1401
  height: G.value.height,
1321
1402
  fill: "transparent",
1322
- onMouseenter: (t) => or(e),
1323
- onMouseleave: (t) => ar(e),
1324
- onClick: (n) => cr(e, t),
1403
+ onMouseenter: (t) => vr(e),
1404
+ onMouseleave: (t) => _r(e),
1405
+ onClick: (n) => br(e, t),
1325
1406
  class: v({ "donut-hover": z.value && j.value === e.index && e.subtotal })
1326
- }, null, 42, Pt))), 256)),
1407
+ }, null, 42, Lt))), 256)),
1327
1408
  w(e.$slots, "svg", { svg: {
1328
1409
  ...G.value,
1329
- isPrintingImg: E(Vn) || E(Hn) || pn.value,
1330
- isPrintingSvg: mn.value
1410
+ isPrintingImg: E($n) || E(er) || gn.value,
1411
+ isPrintingSvg: _n.value
1331
1412
  } }, void 0, !0)
1332
- ], 46, it)), e.$slots.hint ? (x(), m("div", Ft, [w(e.$slots, "hint", y(_({
1413
+ ], 46, st)), e.$slots.hint ? (x(), p("div", Rt, [w(e.$slots, "hint", y(g({
1333
1414
  hint: R.value.a11y.translations.keyboardNavigation,
1334
- isVisible: Cn.value
1335
- })), void 0, !0)])) : p("", !0)]),
1336
- e.$slots.watermark ? (x(), m("div", It, [w(e.$slots, "watermark", y(_({ isPrinting: E(Vn) || E(Hn) || pn.value || mn.value })), void 0, !0)])) : p("", !0),
1337
- h("div", {
1415
+ isVisible: Pn.value
1416
+ })), void 0, !0)])) : f("", !0)]),
1417
+ e.$slots.watermark ? (x(), p("div", zt, [w(e.$slots, "watermark", y(g({ isPrinting: E($n) || E(er) || gn.value || _n.value })), void 0, !0)])) : f("", !0),
1418
+ m("div", {
1338
1419
  ref_key: "chartSlicer",
1339
- ref: yn,
1420
+ ref: jn,
1340
1421
  style: b(`width:100%;background:${R.value.style.chart.backgroundColor}`),
1341
1422
  "data-dom-to-png-ignore": ""
1342
- }, [q.value > 1 && R.value.style.chart.zoom.show ? (x(), f(ze, {
1423
+ }, [q.value > 1 && R.value.style.chart.zoom.show ? (x(), d(Ue, {
1343
1424
  ref_key: "slicerComponent",
1344
- ref: vn,
1345
- key: `slicer_${nn.value}`,
1425
+ ref: An,
1426
+ key: `slicer_${an.value}`,
1346
1427
  background: R.value.style.chart.zoom.color,
1347
1428
  borderColor: R.value.style.chart.backgroundColor,
1348
1429
  fontSize: R.value.style.chart.zoom.fontSize,
@@ -1368,9 +1449,9 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1368
1449
  focusRangeRatio: R.value.style.chart.zoom.focusRangeRatio,
1369
1450
  isCursorPointer: z.value,
1370
1451
  maxWidth: R.value.style.chart.zoom.maxWidth,
1371
- onReset: Nn
1452
+ onReset: Gn
1372
1453
  }, {
1373
- "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
1454
+ "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(g({ reset: t })), void 0, !0)]),
1374
1455
  _: 3
1375
1456
  }, 8, [
1376
1457
  "background",
@@ -1395,63 +1476,63 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1395
1476
  "focusRangeRatio",
1396
1477
  "isCursorPointer",
1397
1478
  "maxWidth"
1398
- ])) : p("", !0)], 4),
1399
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, Lt),
1400
- dn.value && (R.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Be, {
1479
+ ])) : f("", !0)], 4),
1480
+ m("div", { id: `legend-bottom-${k.value}` }, null, 8, Bt),
1481
+ pn.value && (R.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(We, {
1401
1482
  key: 6,
1402
1483
  to: R.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1403
- }, [h("div", {
1484
+ }, [m("div", {
1404
1485
  ref_key: "chartLegend",
1405
- ref: gn
1406
- }, [w(e.$slots, "legend", { legend: lr.value }, () => [R.value.style.chart.legend.show ? (x(), f(Le, {
1407
- key: `legend_${on.value}`,
1408
- legendSet: lr.value,
1409
- config: dr.value,
1410
- onClickMarker: t[2] ||= ({ legend: e }) => pr(e.uid)
1486
+ ref: On
1487
+ }, [w(e.$slots, "legend", { legend: xr.value }, () => [R.value.style.chart.legend.show ? (x(), d(Ve, {
1488
+ key: `legend_${cn.value}`,
1489
+ legendSet: xr.value,
1490
+ config: Cr.value,
1491
+ onClickMarker: t[2] ||= ({ legend: e }) => Tr(e.uid)
1411
1492
  }, {
1412
- item: D(({ legend: e, index: t }) => [h("div", {
1413
- onClick: (t) => pr(e.uid),
1493
+ item: D(({ legend: e, index: t }) => [m("div", {
1494
+ onClick: (t) => Tr(e.uid),
1414
1495
  style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
1415
- }, T(e.display), 13, Rt)]),
1416
- legendToggle: D(() => [lr.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(kn) ? (x(), f(Ne, {
1496
+ }, T(e.display), 13, Vt)]),
1497
+ legendToggle: D(() => [xr.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(Vn) ? (x(), d(Le, {
1417
1498
  key: 0,
1418
1499
  backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
1419
1500
  color: R.value.style.chart.legend.selectAllToggle.color,
1420
1501
  fontSize: R.value.style.chart.legend.fontSize,
1421
1502
  checked: A.value.length > 0,
1422
- onToggle: fr
1503
+ onToggle: wr
1423
1504
  }, null, 8, [
1424
1505
  "backgroundColor",
1425
1506
  "color",
1426
1507
  "fontSize",
1427
1508
  "checked"
1428
- ])) : p("", !0)]),
1509
+ ])) : f("", !0)]),
1429
1510
  _: 1
1430
- }, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1431
- e.$slots.source ? (x(), m("div", {
1511
+ }, 8, ["legendSet", "config"])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
1512
+ e.$slots.source ? (x(), p("div", {
1432
1513
  key: 7,
1433
1514
  ref_key: "source",
1434
- ref: _n,
1515
+ ref: kn,
1435
1516
  dir: "auto"
1436
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1437
- Tn.value && R.value.userOptions.buttons.table ? (x(), f(Je(kr.value.component), We({ key: 8 }, kr.value.props, {
1517
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1518
+ In.value && R.value.userOptions.buttons.table ? (x(), d(Ze(Vr.value.component), Je({ key: 8 }, Vr.value.props, {
1438
1519
  ref_key: "tableUnit",
1439
- ref: F,
1440
- onClose: Ar
1441
- }), Ve({
1442
- content: D(() => [(x(), f(E(Ut), {
1443
- key: `table_${an.value}`,
1520
+ ref: mn,
1521
+ onClose: Hr
1522
+ }), Ge({
1523
+ content: D(() => [(x(), d(E(Kt), {
1524
+ key: `table_${sn.value}`,
1444
1525
  colNames: Q.value.colNames,
1445
1526
  head: Q.value.head,
1446
1527
  body: Q.value.body,
1447
1528
  config: Q.value.config,
1448
- title: R.value.table.useDialog ? "" : kr.value.title,
1529
+ title: R.value.table.useDialog ? "" : Vr.value.title,
1449
1530
  withCloseButton: !R.value.table.useDialog,
1450
1531
  isCursorPointer: z.value,
1451
- onClose: Ar
1532
+ onClose: Hr
1452
1533
  }, {
1453
- th: D(({ th: e }) => [He(T(e.name ?? e), 1)]),
1454
- td: D(({ td: e }) => [e.value === null ? (x(), m("span", zt, "-")) : (x(), m("b", Bt, T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(R.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(R.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1534
+ th: D(({ th: e }) => [Ke(T(e.name ?? e), 1)]),
1535
+ td: D(({ td: e }) => [e.value === null ? (x(), p("span", Ht, "-")) : (x(), p("b", Ut, T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(R.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.suffix), 1)), m("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(R.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
1455
1536
  _: 1
1456
1537
  }, 8, [
1457
1538
  "colNames",
@@ -1465,27 +1546,27 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1465
1546
  _: 2
1466
1547
  }, [R.value.table.useDialog ? {
1467
1548
  name: "title",
1468
- fn: D(() => [He(T(kr.value.title), 1)]),
1549
+ fn: D(() => [Ke(T(Vr.value.title), 1)]),
1469
1550
  key: "0"
1470
1551
  } : void 0, R.value.table.useDialog ? {
1471
1552
  name: "actions",
1472
- fn: D(() => [h("button", {
1553
+ fn: D(() => [m("button", {
1473
1554
  tabindex: "0",
1474
1555
  class: "vue-ui-user-options-button",
1475
- onClick: t[3] ||= (e) => vr(R.value.userOptions.callbacks.csv),
1556
+ onClick: t[3] ||= (e) => Ar(R.value.userOptions.callbacks.csv),
1476
1557
  style: b({ cursor: z.value ? "cursor" : "default" })
1477
- }, [Ue(E(Ht), {
1558
+ }, [qe(E(Gt), {
1478
1559
  name: "fileCsv",
1479
- stroke: kr.value.props.color
1560
+ stroke: Vr.value.props.color
1480
1561
  }, null, 8, ["stroke"])], 4)]),
1481
1562
  key: "1"
1482
- } : void 0]), 1040)) : p("", !0),
1483
- R.value.style.chart.dialog.show ? (x(), f(E(Jt), {
1563
+ } : void 0]), 1040)) : f("", !0),
1564
+ R.value.style.chart.dialog.show ? (x(), d(E(Zt), {
1484
1565
  key: 9,
1485
1566
  ref_key: "dialog",
1486
- ref: Er,
1567
+ ref: Rr,
1487
1568
  onClose: t[4] ||= (e) => {
1488
- N.value = null, $t.value = !1, M.value = null, j.value = null, sr.value = null;
1569
+ N.value = null, tn.value = !1, M.value = null, j.value = null, yr.value = null;
1489
1570
  },
1490
1571
  backgroundColor: R.value.style.chart.dialog.backgroundColor,
1491
1572
  color: R.value.style.chart.dialog.color,
@@ -1494,12 +1575,12 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1494
1575
  isFullscreen: $.value,
1495
1576
  fullscreenParent: P.value
1496
1577
  }, {
1497
- title: D(() => [He(T(J.value[Number(N.value.index)] ? J.value[Number(N.value.index)].text : ""), 1)]),
1498
- content: D(() => [N.value ? (x(), f(E(qt), {
1578
+ title: D(() => [Ke(T(J.value[Number(N.value.index)] ? J.value[Number(N.value.index)].text : ""), 1)]),
1579
+ content: D(() => [N.value ? (x(), d(E(Xt), {
1499
1580
  key: 0,
1500
- config: Tr.value,
1501
- dataset: wr.value
1502
- }, null, 8, ["config", "dataset"])) : p("", !0)]),
1581
+ config: Lr.value,
1582
+ dataset: Ir.value
1583
+ }, null, 8, ["config", "dataset"])) : f("", !0)]),
1503
1584
  _: 1
1504
1585
  }, 8, [
1505
1586
  "backgroundColor",
@@ -1508,10 +1589,10 @@ var $e = /* @__PURE__ */ e({ default: () => Vt }), et = ["id"], tt = ["id"], nt
1508
1589
  "headerColor",
1509
1590
  "isFullscreen",
1510
1591
  "fullscreenParent"
1511
- ])) : p("", !0),
1512
- E(kn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1513
- ], 46, et));
1592
+ ])) : f("", !0),
1593
+ E(Vn) ? (x(), d(we, { key: 10 })) : f("", !0)
1594
+ ], 46, rt));
1514
1595
  }
1515
- }, [["__scopeId", "data-v-344b2cc9"]]);
1596
+ }, [["__scopeId", "data-v-54b0bf03"]]);
1516
1597
  //#endregion
1517
- export { $e as n, Vt as t };
1598
+ export { nt as n, Wt as t };