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,82 +1,83 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, C as r, E as i, Gt as a, K as ee, Lt as te, Nt as o, Q as ne, W as re, Y as s, bt as ie, et as ae, ft as oe, i as se, qt as ce, st as le, t as ue, x as de, y as fe, zt as pe } from "./lib-CFm_J26b.js";
3
- import { t as me } from "./useConfig-C0V0eG7L.js";
4
- import { t as he } from "./usePrinter-BH-xle1O.js";
5
- import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ve } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as ye } from "./useNestedProp-BY6DNN3i.js";
8
- import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as xe } from "./img-Bikk1dGb.js";
10
- import { n as Se } from "./Title-BuPs74IB.js";
11
- import { t as Ce } from "./Shape-BfnXr1nJ.js";
12
- import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
14
- import { t as De } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Oe } from "./BaseLegendToggle-DsWphmIb.js";
16
- import { t as ke } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as je } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Me } from "./labelUtils-BUhssos9.js";
20
- import { t as Ne } from "./Legend-C0xAnJdO.js";
21
- import { t as Pe } from "./vue_ui_rings-BVgD2aMn.js";
22
- import { Fragment as Fe, Teleport as Ie, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Be, nextTick as Ve, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as He, onMounted as Ue, openBlock as v, ref as y, renderList as We, renderSlot as b, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as qe, toRefs as Je, unref as x, useSlots as Ye, watch as Xe, withCtx as S } from "vue";
2
+ import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as ee, Pt as o, Rt as te, S as ne, Vt as re, X as s, b as ie, ct as ae, i as oe, jt as se, pt as ce, q as le, t as ue, tt as de, w as fe, xt as pe } from "./lib-BuMGJ_a0.js";
3
+ import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ge } from "./useConfig-BilxnBNr.js";
5
+ import { t as _e } from "./usePrinter-BFvi4jVy.js";
6
+ import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as be } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as xe } from "./useNestedProp--NSEmhOH.js";
9
+ import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as Ce } from "./useTransitions-g_zBREk2.js";
11
+ import { t as we } from "./img-DIQG5q8T.js";
12
+ import { n as Te } from "./Title-BODtwViI.js";
13
+ import { t as Ee } from "./Shape-BPMV94Ij.js";
14
+ import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as Ae } from "./DefGrad-DVBqDjhO.js";
17
+ import { t as je } from "./BaseLegendToggle-CtAPwzr2.js";
18
+ import { t as Me } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Fe } from "./labelUtils-C5lnc_xc.js";
22
+ import { t as Ie } from "./Legend-CQTRlzK-.js";
23
+ import { t as Le } from "./vue_ui_rings-BVgD2aMn.js";
24
+ import { Fragment as Re, Teleport as ze, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ue, nextTick as We, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ge, onMounted as Ke, openBlock as v, ref as y, renderList as qe, renderSlot as b, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, toRefs as Ze, unref as x, useSlots as Qe, watch as $e, withCtx as S } from "vue";
23
25
  //#region src/components/vue-ui-rings.vue
24
- var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
26
+ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
25
27
  "xmlns",
26
28
  "viewBox",
27
29
  "aria-describedby"
28
- ], rt = ["width", "height"], it = { key: 1 }, at = [
30
+ ], ot = ["width", "height"], st = { key: 1 }, ct = [
29
31
  "stroke",
30
32
  "cx",
31
33
  "cy",
32
34
  "r",
33
35
  "fill"
34
- ], ot = [
36
+ ], lt = [
35
37
  "stroke",
36
38
  "stroke-width",
37
39
  "cx",
38
40
  "cy",
39
41
  "r",
40
42
  "fill"
41
- ], st = [
43
+ ], ut = [
42
44
  "stroke",
43
45
  "stroke-width",
44
46
  "cx",
45
47
  "cy",
46
48
  "r",
47
49
  "fill"
48
- ], ct = [
50
+ ], dt = [
49
51
  "cx",
50
52
  "cy",
51
53
  "r",
52
54
  "onMouseenter",
53
55
  "onMouseleave",
54
56
  "onClick"
55
- ], lt = [
57
+ ], ft = [
56
58
  "x",
57
59
  "y",
58
60
  "width",
59
61
  "height",
60
62
  "fill",
61
63
  "rx"
62
- ], ut = [
64
+ ], pt = [
63
65
  "cx",
64
66
  "cy",
65
67
  "r",
66
68
  "fill",
67
69
  "stroke"
68
- ], dt = [
69
- "x",
70
- "y",
70
+ ], mt = [
71
71
  "text-anchor",
72
72
  "font-size",
73
73
  "fill",
74
74
  "font-weight",
75
+ "transform",
75
76
  "onMouseenter",
76
77
  "onMouseleave",
77
78
  "onClick",
78
79
  "innerHTML"
79
- ], ft = {
80
+ ], ht = {
80
81
  key: 0,
81
82
  style: {
82
83
  position: "absolute",
@@ -86,10 +87,10 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
86
87
  },
87
88
  "data-dom-to-png-ignore": "",
88
89
  "aria-hidden": "true"
89
- }, pt = {
90
+ }, gt = {
90
91
  key: 5,
91
92
  class: "vue-data-ui-watermark"
92
- }, mt = ["id"], ht = ["onClick"], gt = ["innerHTML"], _t = /*#__PURE__*/ we({
93
+ }, _t = ["id"], vt = ["onClick"], yt = ["innerHTML"], bt = /*#__PURE__*/ De({
93
94
  __name: "vue-ui-rings",
94
95
  props: {
95
96
  config: {
@@ -106,11 +107,36 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
106
107
  }
107
108
  },
108
109
  emits: ["selectLegend", "copyAlt"],
109
- setup(e, { expose: we, emit: Ze }) {
110
- let _t = p(() => import("./Tooltip-CA1rtSyl.js")), vt = p(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), yt = p(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), bt = p(() => import("./DataTable-DzPEVvSo.js")), xt = p(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), St = p(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Ct = p(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), wt = p(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_rings: Tt } = me(), { isThemeValid: Et, warnInvalidTheme: Dt } = be(), Ot = Ye(), C = e, w = y(!1), kt = c(() => !!C.dataset && C.dataset.length), T = y(ee()), E = y(!1), At = y(""), D = y(null), jt = y(0), O = y(null), Mt = y(null), Nt = y(null), Pt = y(null), Ft = y(null), It = y(0), Lt = y(0), Rt = y(0), zt = y(!1), Bt = y(!1), k = y(null), Vt = y(null), Ht = y(!1), Ut = y(!1), A = y(null), Wt = y({
110
+ setup(e, { expose: De, emit: et }) {
111
+ let bt = p(() => import("./Tooltip-CMTGxeYO.js")), xt = p(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), St = p(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), Ct = p(() => import("./DataTable-D4tM9s5Y.js")), wt = p(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Tt = p(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Et = p(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Dt = p(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_rings: Ot } = ge(), { isThemeValid: kt, warnInvalidTheme: At } = Se(), jt = Qe(), C = e, w = y(!1), Mt = c(() => !!C.dataset && C.dataset.length), T = y(le()), E = y(!1), Nt = y(""), D = y(null), Pt = y(0), O = y(null), Ft = y(null), It = y(null), Lt = y(null), Rt = y(null), zt = y(0), Bt = y(0), Vt = y(0), Ht = y(!1), Ut = y(!1), k = y(null), Wt = y(null), Gt = y(!1), Kt = y(!1), A = y(null), qt = y({
111
112
  x: 0,
112
113
  y: 0
113
- }), j = y("pointer"), Gt = y(!1), M = y(Qt()), N = c(() => M.value.userOptions.useCursorPointer), Kt = c(() => ce({
114
+ }), j = y("pointer"), Jt = y(!1), M = y(tn());
115
+ me({
116
+ config: () => M.value,
117
+ dataset: () => C.dataset,
118
+ component: "VueUiRings",
119
+ rules: [
120
+ he.singleSeries,
121
+ he.emptyArray,
122
+ {
123
+ test: (e) => e.length > 6,
124
+ message: [
125
+ "👀 The number of series is > 6. Consider:",
126
+ "",
127
+ "▶️ Grouping small values dynamically into a single \"Other\" series.",
128
+ "",
129
+ "▶️ Using filters to let users choose a maximum number of series to display.",
130
+ "",
131
+ "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
132
+ ]
133
+ }
134
+ ]
135
+ });
136
+ let { transitionEnabled: N } = Ce({
137
+ config: () => M.value.transitions,
138
+ dataset: () => C.dataset
139
+ }), P = c(() => M.value.userOptions.useCursorPointer), Yt = c(() => a({
114
140
  defaultConfig: {
115
141
  userOptions: { show: !1 },
116
142
  table: { show: !1 },
@@ -127,10 +153,10 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
127
153
  } }
128
154
  },
129
155
  userConfig: M.value.skeletonConfig ?? {}
130
- })), { loading: P, FINAL_DATASET: qt, manualLoading: Jt } = ge({
131
- ...Je(C),
156
+ })), { loading: F, FINAL_DATASET: Xt, manualLoading: Zt } = ve({
157
+ ...Ze(C),
132
158
  FINAL_CONFIG: M,
133
- prepareConfig: Qt,
159
+ prepareConfig: tn,
134
160
  skeletonDataset: C.config?.skeletonDataset ?? [
135
161
  {
136
162
  name: "_",
@@ -158,163 +184,163 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
158
184
  color: "#DBDBDB"
159
185
  }
160
186
  ],
161
- skeletonConfig: ce({
187
+ skeletonConfig: a({
162
188
  defaultConfig: M.value,
163
- userConfig: Kt.value
189
+ userConfig: Yt.value
164
190
  })
165
- }), { userOptionsVisible: Yt, setUserOptionsVisibility: Xt, keepUserOptionState: Zt } = Ae({ config: M.value }), { svgRef: F } = je({ config: M.value.style.chart.title });
166
- function Qt() {
167
- let e = ye({
191
+ }), { userOptionsVisible: Qt, setUserOptionsVisibility: $t, keepUserOptionState: en } = Ne({ config: M.value }), { svgRef: I } = Pe({ config: M.value.style.chart.title });
192
+ function tn() {
193
+ let e = xe({
168
194
  userConfig: C.config,
169
- defaultConfig: Tt
195
+ defaultConfig: Ot
170
196
  }), t = e.theme;
171
197
  if (!t) return e;
172
- if (!Et.value(e)) return Dt(e), e;
173
- let n = ye({
174
- userConfig: Pe[t] || C.config,
198
+ if (!kt.value(e)) return At(e), e;
199
+ let n = xe({
200
+ userConfig: Le[t] || C.config,
175
201
  defaultConfig: e
176
202
  });
177
203
  return {
178
- ...ye({
204
+ ...xe({
179
205
  userConfig: C.config,
180
206
  defaultConfig: n
181
207
  }),
182
- customPalette: e.customPalette.length ? e.customPalette : a[e.theme] || o
208
+ customPalette: e.customPalette.length ? e.customPalette : ee[e.theme] || o
183
209
  };
184
210
  }
185
- Xe(() => C.config, (e) => {
186
- P.value || (M.value = Qt()), Yt.value = !M.value.userOptions.showOnChartHover, tn(), It.value += 1, Lt.value += 1, Rt.value += 1, z.value.showTable = M.value.table.show, z.value.showTooltip = M.value.style.chart.tooltip.show, z.value.showLabels = M.value.style.chart.layout.labels.dataLabels.show, B.value.width = M.value.style.chart.size, B.value.height = M.value.style.chart.size;
211
+ $e(() => C.config, (e) => {
212
+ F.value || (M.value = tn()), Qt.value = !M.value.userOptions.showOnChartHover, an(), zt.value += 1, Bt.value += 1, Vt.value += 1, B.value.showTable = M.value.table.show, B.value.showTooltip = M.value.style.chart.tooltip.show, B.value.showLabels = M.value.style.chart.layout.labels.dataLabels.show, V.value.width = M.value.style.chart.size, V.value.height = M.value.style.chart.size;
187
213
  }, { deep: !0 });
188
- let $t = c(() => {
189
- let { markers: e } = M.value.style.chart.layout.labels.dataLabels, t = q.value / 2, n = z.value.showLabels ? e.position === "left" ? t : -t : 0, r = z.value.showLabels ? B.value.width / 2 - t : 0, i = e.position === "left" ? r : -r;
214
+ let nn = c(() => {
215
+ let { markers: e } = M.value.style.chart.layout.labels.dataLabels, t = J.value / 2, n = B.value.showLabels ? e.position === "left" ? t : -t : 0, r = B.value.showLabels ? V.value.width / 2 - t : 0, i = e.position === "left" ? r : -r;
190
216
  return {
191
- x: M.value.responsive ? i : n / M.value.style.chart.size * B.value.width,
192
- y: 0 / M.value.style.chart.size * B.value.height
217
+ x: M.value.responsive ? i : n / M.value.style.chart.size * V.value.width,
218
+ y: 0 / M.value.style.chart.size * V.value.height
193
219
  };
194
- }), I = c(() => ({
195
- x: B.value.width / 2 + $t.value.x,
196
- y: B.value.height / 2 + $t.value.y
220
+ }), L = c(() => ({
221
+ x: V.value.width / 2 + nn.value.x,
222
+ y: V.value.height / 2 + nn.value.y
197
223
  }));
198
- Xe(() => C.dataset, (e) => {
199
- Array.isArray(e) && e.length > 0 && (Jt.value = !1);
224
+ $e(() => C.dataset, (e) => {
225
+ Array.isArray(e) && e.length > 0 && (Zt.value = !1);
200
226
  }, { deep: !0 });
201
- let L = Ke(null), R = Ke(null);
202
- Ue(() => {
203
- Bt.value = !0, tn();
227
+ let R = Ye(null), z = Ye(null);
228
+ Ke(() => {
229
+ Ut.value = !0, an();
204
230
  });
205
- let en = c(() => !!M.value.debug);
206
- function tn() {
207
- if (t(C.dataset) ? (ae({
231
+ let rn = c(() => !!M.value.debug);
232
+ function an() {
233
+ if (se(C.dataset) ? (de({
208
234
  componentName: "VueUiRings",
209
235
  type: "dataset",
210
- debug: en.value
211
- }), Jt.value = !0) : C.dataset.forEach((e, t) => {
212
- e.values.length || (ae({
236
+ debug: rn.value
237
+ }), Zt.value = !0) : C.dataset.forEach((e, t) => {
238
+ e.values.length || (de({
213
239
  componentName: "VueUiRings",
214
240
  type: "dataset",
215
- debug: en.value
216
- }), Jt.value = !0), oe({
241
+ debug: rn.value
242
+ }), Zt.value = !0), ce({
217
243
  datasetObject: e,
218
244
  requiredAttributes: ["name", "values"]
219
245
  }).forEach((e) => {
220
- ae({
246
+ de({
221
247
  componentName: "VueUiRings",
222
248
  type: "datasetSerieAttribute",
223
249
  property: e,
224
250
  index: t,
225
- debug: en.value
251
+ debug: rn.value
226
252
  });
227
253
  });
228
- }), t(C.dataset) || (Jt.value = M.value.loading), M.value.responsive) {
229
- let e = Te(() => {
230
- zt.value = !0;
231
- let { width: e, height: t } = Ee({
254
+ }), se(C.dataset) || (Zt.value = M.value.loading), M.value.responsive) {
255
+ let e = Oe(() => {
256
+ Ht.value = !0;
257
+ let { width: e, height: t } = ke({
232
258
  chart: O.value,
233
- title: M.value.style.chart.title.text ? Mt.value : null,
234
- legend: M.value.style.chart.legend.show ? Nt.value : null,
235
- source: Pt.value,
236
- noTitle: Ft.value
259
+ title: M.value.style.chart.title.text ? Ft.value : null,
260
+ legend: M.value.style.chart.legend.show ? It.value : null,
261
+ source: Lt.value,
262
+ noTitle: Rt.value
237
263
  });
238
264
  requestAnimationFrame(() => {
239
- B.value.width = e, B.value.height = t - 12, zt.value = !1;
265
+ V.value.width = e, V.value.height = t - 12, Ht.value = !1;
240
266
  });
241
267
  });
242
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = O.value.parentNode, L.value.observe(R.value);
268
+ R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value = O.value.parentNode, R.value.observe(z.value);
243
269
  }
244
270
  setTimeout(() => {
245
271
  w.value = !0;
246
272
  }, 600);
247
273
  }
248
- He(() => {
249
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
274
+ Ge(() => {
275
+ R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
250
276
  });
251
- let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = he({
277
+ let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
252
278
  elementId: `rings_${T.value}`,
253
279
  fileName: M.value.style.chart.title.text || "vue-ui-rings",
254
280
  options: M.value.userOptions.print
255
- }), sn = c(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = c(() => r(M.value.customPalette)), z = y({
281
+ }), un = c(() => M.value.userOptions.show && !M.value.style.chart.title.text), dn = c(() => fe(M.value.customPalette)), B = y({
256
282
  showTable: M.value.table.show,
257
283
  showTooltip: M.value.style.chart.tooltip.show,
258
284
  showLabels: M.value.style.chart.layout.labels.dataLabels.show
259
285
  });
260
- Xe(M, () => {
261
- z.value = {
286
+ $e(M, () => {
287
+ B.value = {
262
288
  showTable: M.value.table.show,
263
289
  showTooltip: M.value.style.chart.tooltip.show,
264
290
  showLabels: M.value.style.chart.layout.labels.dataLabels.show
265
291
  };
266
292
  }, { immediate: !0 });
267
- let B = y({
293
+ let V = y({
268
294
  height: M.value.style.chart.size,
269
295
  width: M.value.style.chart.size
270
- }), ln = c(() => Math.min(B.value.height, B.value.width)), un = Ze, V = y([]);
271
- function dn() {
272
- V.value.length ? V.value = [] : W.value.forEach((e) => {
273
- V.value.push(e.uid);
274
- }), fn();
296
+ }), fn = c(() => Math.min(V.value.height, V.value.width)), pn = et, H = y([]);
297
+ function mn() {
298
+ H.value.length ? H.value = [] : G.value.forEach((e) => {
299
+ H.value.push(e.uid);
300
+ }), hn();
275
301
  }
276
- function fn() {
277
- un("selectLegend", K.value.map((e) => ({
302
+ function hn() {
303
+ pn("selectLegend", q.value.map((e) => ({
278
304
  name: e.name,
279
305
  color: e.color,
280
306
  value: e.value
281
307
  })));
282
308
  }
283
- function H(e) {
284
- if (V.value.includes(e)) V.value = V.value.filter((t) => t !== e);
309
+ function U(e) {
310
+ if (H.value.includes(e)) H.value = H.value.filter((t) => t !== e);
285
311
  else {
286
- if (V.value.length === U.value.length - 1) return;
287
- V.value.push(e);
312
+ if (H.value.length === W.value.length - 1) return;
313
+ H.value.push(e);
288
314
  }
289
- fn();
315
+ hn();
290
316
  }
291
- function pn(e) {
292
- return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiRings - There are no series to show."), null);
317
+ function gn(e) {
318
+ return W.value.length ? W.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiRings - There are no series to show."), null);
293
319
  }
294
- function mn(e) {
295
- let t = pn(e);
296
- t !== null && V.value.includes(t.uid) && H(t.uid);
320
+ function _n(e) {
321
+ let t = gn(e);
322
+ t !== null && H.value.includes(t.uid) && U(t.uid);
297
323
  }
298
- function hn(e) {
299
- let t = pn(e);
300
- t !== null && (V.value.includes(t.uid) || H(t.uid));
324
+ function vn(e) {
325
+ let t = gn(e);
326
+ t !== null && (H.value.includes(t.uid) || U(t.uid));
301
327
  }
302
- let gn = c(() => Math.max(...U.value.filter((e) => !V.value.includes(e.uid)).map(({ value: e }) => e)));
303
- function _n(e) {
304
- return e / gn.value;
328
+ let yn = c(() => Math.max(...W.value.filter((e) => !H.value.includes(e.uid)).map(({ value: e }) => e)));
329
+ function bn(e) {
330
+ return e / yn.value;
305
331
  }
306
- let U = c(() => qt.value.map(({ values: e, name: t, color: n = null }, r) => {
332
+ let W = c(() => Xt.value.map(({ values: e, name: t, color: n = null }, r) => {
307
333
  let i = te(e).reduce((e, t) => e + t, 0);
308
334
  return {
309
335
  name: t,
310
- color: n || de(n) || cn.value[r] || o[r] || o[r % o.length],
336
+ color: n || ne(n) || dn.value[r] || o[r] || o[r % o.length],
311
337
  value: i,
312
- proportion: i / qt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
313
- uid: ee(),
338
+ proportion: i / Xt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
339
+ uid: le(),
314
340
  absoluteIndex: r
315
341
  };
316
- })), W = c(() => U.value.map((e, t) => {
317
- let n = se(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, s({
342
+ })), G = c(() => W.value.map((e, t) => {
343
+ let n = oe(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, s({
318
344
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
319
345
  v: e.value,
320
346
  s: M.value.style.chart.layout.labels.dataLabels.suffix,
@@ -322,43 +348,43 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
322
348
  }), {
323
349
  datapoint: e,
324
350
  index: t
325
- }), r = isNaN(e.value / G.value) ? "-" : s({
326
- v: e.value / G.value * 100,
351
+ }), r = isNaN(e.value / K.value) ? "-" : s({
352
+ v: e.value / K.value * 100,
327
353
  s: "%",
328
354
  r: M.value.style.chart.legend.roundingPercentage
329
- }), i = Sn({
355
+ }), i = Tn({
330
356
  showVal: M.value.style.chart.legend.showValue,
331
357
  showPercentage: M.value.style.chart.legend.showPercentage,
332
358
  val: n,
333
- percentage: V.value.includes(e.uid) ? "-%" : r
359
+ percentage: H.value.includes(e.uid) ? "-%" : r
334
360
  });
335
361
  return {
336
362
  ...e,
337
363
  shape: "circle",
338
- opacity: V.value.includes(e.uid) ? .5 : 1,
339
- segregate: () => H(e.uid),
340
- isSegregated: V.value.includes(e.uid),
364
+ opacity: H.value.includes(e.uid) ? .5 : 1,
365
+ segregate: () => U(e.uid),
366
+ isSegregated: H.value.includes(e.uid),
341
367
  display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${i}`
342
368
  };
343
- }).toSorted((e, t) => t.value - e.value)), vn = c(() => ({
369
+ }).toSorted((e, t) => t.value - e.value)), xn = c(() => ({
344
370
  cy: "rings-div-legend",
345
371
  backgroundColor: M.value.style.chart.legend.backgroundColor,
346
372
  color: M.value.style.chart.legend.color,
347
373
  fontSize: M.value.style.chart.legend.fontSize,
348
374
  paddingBottom: 12,
349
375
  fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
350
- })), G = c(() => U.value.filter((e) => !V.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), K = c(() => U.value.filter((e) => !V.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, a) => ({
376
+ })), K = c(() => W.value.filter((e) => !H.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), q = c(() => W.value.filter((e) => !H.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, a) => ({
351
377
  absoluteIndex: i,
352
378
  uid: r,
353
379
  name: e,
354
- color: n || de(n) || cn.value[a] || o[a] || o[a % o.length],
380
+ color: n || ne(n) || dn.value[a] || o[a] || o[a % o.length],
355
381
  value: t,
356
- proportion: _n(t),
357
- percentage: t / G.value * 100,
358
- strokeWidth: M.value.style.chart.layout.rings.strokeWidth * _n(t)
382
+ proportion: bn(t),
383
+ percentage: t / K.value * 100,
384
+ strokeWidth: M.value.style.chart.layout.rings.strokeWidth * bn(t)
359
385
  })).toSorted((e, t) => t.value - e.value));
360
- function yn() {
361
- return K.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
386
+ function Sn() {
387
+ return q.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
362
388
  name: e,
363
389
  color: t,
364
390
  value: n,
@@ -366,22 +392,22 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
366
392
  percentage: i
367
393
  }));
368
394
  }
369
- let q = c(() => ln.value - M.value.style.chart.layout.rings.strokeWidth * 2);
370
- function bn(e, t) {
395
+ let J = c(() => fn.value - M.value.style.chart.layout.rings.strokeWidth * 2);
396
+ function Cn(e, t) {
371
397
  M.value.events.datapointClick && M.value.events.datapointClick({
372
398
  datapoint: e,
373
399
  seriesIndex: t
374
400
  });
375
401
  }
376
- function xn(e, t) {
402
+ function wn(e, t) {
377
403
  D.value = null, E.value = !1, A.value = null, j.value = "pointer", M.value.events.datapointLeave && M.value.events.datapointLeave({
378
404
  datapoint: e,
379
405
  seriesIndex: t
380
406
  });
381
407
  }
382
- function Sn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
408
+ function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
383
409
  let i = M.value.style.chart.layout.labels.dataLabels;
384
- return Me({
410
+ return Fe({
385
411
  config: i,
386
412
  val: e,
387
413
  percentage: t,
@@ -389,8 +415,8 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
389
415
  showPercentage: r
390
416
  });
391
417
  }
392
- function Cn(e) {
393
- let t = M.value.style.chart.layout.labels.dataLabels, n = se(t.formatter, e.value, s({
418
+ function En(e) {
419
+ let t = M.value.style.chart.layout.labels.dataLabels, n = oe(t.formatter, e.value, s({
394
420
  p: t.prefix,
395
421
  v: e.value,
396
422
  s: t.suffix,
@@ -400,56 +426,56 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
400
426
  s: "%",
401
427
  r: t.roundingPercentage
402
428
  });
403
- return `${e.name}\n${Sn({
429
+ return `${e.name}\n${Tn({
404
430
  val: n,
405
431
  percentage: r,
406
432
  showVal: t.showValue,
407
433
  showPercentage: t.showPercentage
408
434
  })}`;
409
435
  }
410
- function J(e) {
411
- return fe(q.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : q.value * e.proportion / 2 * .9);
436
+ function Y(e) {
437
+ return ie(J.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : J.value * e.proportion / 2 * .9);
412
438
  }
413
- function wn(e, t) {
414
- return t === 0 ? I.value.y : I.value.y + q.value * K.value[0].proportion / 2 - q.value * e.proportion / 2 - 2 * (t + 1);
439
+ function Dn(e, t) {
440
+ return t === 0 ? L.value.y : L.value.y + J.value * q.value[0].proportion / 2 - J.value * e.proportion / 2 - 2 * (t + 1);
415
441
  }
416
- function Y(e, t) {
417
- let n = M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(q.value / 2) : q.value / 2;
442
+ function X(e, t) {
443
+ let n = M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(J.value / 2) : J.value / 2;
418
444
  return {
419
- x: I.value.x + n,
420
- y: wn(e, t) - J(e)
445
+ x: L.value.x + n,
446
+ y: Dn(e, t) - Y(e)
421
447
  };
422
448
  }
423
- let Tn = y(null);
424
- function En(e, t, n = "pointer") {
449
+ let On = y(null);
450
+ function kn(e, t, n = "pointer") {
425
451
  if (M.value.events.datapointEnter && M.value.events.datapointEnter({
426
452
  datapoint: e,
427
453
  seriesIndex: t
428
- }), V.value.length === C.dataset.length) return;
429
- Tn.value = {
454
+ }), H.value.length === C.dataset.length) return;
455
+ On.value = {
430
456
  datapoint: e,
431
457
  seriesIndex: t,
432
- series: K.value,
458
+ series: q.value,
433
459
  config: M.value
434
460
  }, D.value = t, A.value = t, j.value = n;
435
- let r = K.value[t], i = M.value.style.chart.tooltip.customFormat;
436
- if (ie(i) && le(() => i({
461
+ let r = q.value[t], i = M.value.style.chart.tooltip.customFormat;
462
+ if (pe(i) && ae(() => i({
437
463
  seriesIndex: t,
438
464
  datapoint: e,
439
- series: K.value,
465
+ series: q.value,
440
466
  config: M.value
441
- }))) At.value = i({
467
+ }))) Nt.value = i({
442
468
  seriesIndex: t,
443
469
  datapoint: e,
444
- series: K.value,
470
+ series: q.value,
445
471
  config: M.value
446
472
  });
447
473
  else {
448
474
  let n = "";
449
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${r.color}" />${Ot.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${T.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Sn({
475
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${r.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${T.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Tn({
450
476
  showVal: M.value.style.chart.tooltip.showValue,
451
477
  showPercentage: M.value.style.chart.tooltip.showPercentage,
452
- val: `<span>${se(M.value.style.chart.layout.labels.dataLabels.formatter, r.value, s({
478
+ val: `<span>${oe(M.value.style.chart.layout.labels.dataLabels.formatter, r.value, s({
453
479
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
454
480
  v: r.value,
455
481
  s: M.value.style.chart.layout.labels.dataLabels.suffix,
@@ -459,42 +485,42 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
459
485
  seriesIndex: t
460
486
  })}</span>`,
461
487
  percentage: s({
462
- v: r.value / G.value * 100,
488
+ v: r.value / K.value * 100,
463
489
  s: "%",
464
490
  r: M.value.style.chart.tooltip.roundingPercentage
465
491
  })
466
- })}</b></div>`, At.value = n;
492
+ })}</b></div>`, Nt.value = n;
467
493
  }
468
494
  E.value = !0;
469
495
  }
470
- let X = c(() => ({
471
- head: K.value.map((e) => ({
496
+ let Z = c(() => ({
497
+ head: q.value.map((e) => ({
472
498
  name: e.name,
473
499
  color: e.color
474
500
  })),
475
- body: K.value.map((e) => e.value)
476
- })), Z = c(() => {
501
+ body: q.value.map((e) => e.value)
502
+ })), Q = c(() => {
477
503
  let e = [
478
504
  " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
479
505
  s({
480
506
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
481
- v: G.value,
507
+ v: K.value,
482
508
  s: M.value.style.chart.layout.labels.dataLabels.suffix,
483
509
  r: M.value.table.td.roundingValue
484
510
  }),
485
511
  "100%"
486
- ], t = X.value.head.map((e, t) => [
512
+ ], t = Z.value.head.map((e, t) => [
487
513
  {
488
514
  color: e.color,
489
515
  name: e.name
490
516
  },
491
517
  s({
492
518
  p: M.value.style.chart.layout.labels.dataLabels.prefix,
493
- v: X.value.body[t],
519
+ v: Z.value.body[t],
494
520
  s: M.value.style.chart.layout.labels.dataLabels.suffix,
495
521
  r: M.value.table.td.roundingValue
496
522
  }),
497
- isNaN(X.value.body[t] / G.value) ? "-" : (X.value.body[t] / G.value * 100).toFixed(M.value.table.td.roundingPercentage) + "%"
523
+ isNaN(Z.value.body[t] / K.value) ? "-" : (Z.value.body[t] / K.value * 100).toFixed(M.value.table.td.roundingPercentage) + "%"
498
524
  ]);
499
525
  return {
500
526
  head: e,
@@ -520,13 +546,13 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
520
546
  ]
521
547
  };
522
548
  });
523
- function Dn(e = null) {
524
- Ve(() => {
525
- let t = X.value.head.map((e, t) => [
549
+ function An(e = null) {
550
+ We(() => {
551
+ let n = Z.value.head.map((e, t) => [
526
552
  [e.name],
527
- [X.value.body[t]],
528
- [isNaN(X.value.body[t] / G.value) ? "-" : X.value.body[t] / G.value * 100]
529
- ]), n = i([
553
+ [Z.value.body[t]],
554
+ [isNaN(Z.value.body[t] / K.value) ? "-" : Z.value.body[t] / K.value * 100]
555
+ ]), i = r([
530
556
  [M.value.style.chart.title.text],
531
557
  [M.value.style.chart.title.subtitle.text],
532
558
  [
@@ -534,33 +560,33 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
534
560
  ["val"],
535
561
  ["%"]
536
562
  ]
537
- ].concat(t));
538
- e ? e(n) : ne({
539
- csvContent: n,
563
+ ].concat(n));
564
+ e ? e(i) : t({
565
+ csvContent: i,
540
566
  title: M.value.style.chart.title.text || "vue-ui-rings"
541
567
  });
542
568
  });
543
569
  }
544
- let Q = y(!1);
545
- function On(e) {
546
- Q.value = e, jt.value += 1;
570
+ let $ = y(!1);
571
+ function jn(e) {
572
+ $.value = e, Pt.value += 1;
547
573
  }
548
- function kn() {
549
- z.value.showTable = !z.value.showTable;
574
+ function Mn() {
575
+ B.value.showTable = !B.value.showTable;
550
576
  }
551
- function An() {
552
- z.value.showTooltip = !z.value.showTooltip;
577
+ function Nn() {
578
+ B.value.showTooltip = !B.value.showTooltip;
553
579
  }
554
- function jn() {
555
- z.value.showLabels = !z.value.showLabels;
580
+ function Pn() {
581
+ B.value.showLabels = !B.value.showLabels;
556
582
  }
557
- let Mn = y(!1);
558
- function Nn() {
559
- Mn.value = !Mn.value;
583
+ let Fn = y(!1);
584
+ function In() {
585
+ Fn.value = !Fn.value;
560
586
  }
561
- async function Pn({ scale: e = 2 } = {}) {
587
+ async function Ln({ scale: e = 2 } = {}) {
562
588
  if (!O.value) return;
563
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
589
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
564
590
  domElement: O.value,
565
591
  base64: !0,
566
592
  img: !0,
@@ -575,20 +601,20 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
575
601
  aspectRatio: r
576
602
  };
577
603
  }
578
- let $ = c(() => {
579
- let e = M.value.table.useDialog && !M.value.table.show, t = z.value.showTable;
604
+ let Rn = c(() => {
605
+ let e = M.value.table.useDialog && !M.value.table.show, t = B.value.showTable;
580
606
  return {
581
- component: e ? wt : yt,
607
+ component: e ? Dt : St,
582
608
  title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
583
609
  props: e ? {
584
610
  backgroundColor: M.value.table.th.backgroundColor,
585
611
  color: M.value.table.th.color,
586
612
  headerColor: M.value.table.th.color,
587
613
  headerBg: M.value.table.th.backgroundColor,
588
- isFullscreen: Q.value,
614
+ isFullscreen: $.value,
589
615
  fullscreenParent: O.value,
590
616
  forcedWidth: Math.min(800, window.innerWidth * .8),
591
- isCursorPointer: N.value
617
+ isCursorPointer: P.value
592
618
  } : {
593
619
  hideDetails: !0,
594
620
  config: {
@@ -606,70 +632,70 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
606
632
  }
607
633
  };
608
634
  });
609
- Xe(() => z.value.showTable, (e) => {
635
+ $e(() => B.value.showTable, (e) => {
610
636
  M.value.table.show || (e && M.value.table.useDialog && k.value ? k.value.open() : "close" in k.value && k.value.close());
611
637
  });
612
- function Fn() {
613
- z.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
638
+ function zn() {
639
+ B.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
614
640
  }
615
- let In = c(() => W.value.map((e) => ({
641
+ let Bn = c(() => G.value.map((e) => ({
616
642
  ...e,
617
643
  name: e.display
618
- }))), Ln = c(() => M.value.style.chart.backgroundColor), Rn = c(() => M.value.style.chart.legend), { exportSvg: zn, getSvg: Bn } = ve({
619
- svg: F,
644
+ }))), Vn = c(() => M.value.style.chart.backgroundColor), Hn = c(() => M.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = be({
645
+ svg: I,
620
646
  title: c(() => M.value.style.chart.title),
621
- legend: Rn,
622
- legendItems: In,
623
- backgroundColor: Ln
647
+ legend: Hn,
648
+ legendItems: Bn,
649
+ backgroundColor: Vn
624
650
  });
625
- async function Vn({ isCb: e }) {
626
- Ut.value = !0, await Ve();
651
+ async function Gn({ isCb: e }) {
652
+ Kt.value = !0, await We();
627
653
  try {
628
654
  if (e) {
629
- let { blob: e, url: t, text: n, dataUrl: r } = await Bn();
655
+ let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
630
656
  await Promise.resolve(M.value.userOptions.callbacks.svg({
631
657
  blob: e,
632
658
  url: t,
633
659
  text: n,
634
660
  dataUrl: r
635
661
  }));
636
- } else await Promise.resolve(zn());
662
+ } else await Promise.resolve(Un());
637
663
  } finally {
638
- Ut.value = !1;
664
+ Kt.value = !1;
639
665
  }
640
666
  }
641
- function Hn(e) {
667
+ function Kn(e) {
642
668
  if (e?.stage === "start") {
643
- Ht.value = !0;
669
+ Gt.value = !0;
644
670
  return;
645
671
  }
646
672
  if (e?.stage === "end") {
647
- Ht.value = !1;
673
+ Gt.value = !1;
648
674
  return;
649
675
  }
650
- on();
676
+ ln();
651
677
  }
652
- async function Un() {
653
- if (un("copyAlt", {
678
+ async function qn() {
679
+ if (pn("copyAlt", {
654
680
  config: M.value,
655
- dataset: K.value
681
+ dataset: q.value
656
682
  }), !M.value.userOptions.callbacks.altCopy) {
657
683
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
658
684
  return;
659
685
  }
660
686
  await Promise.resolve(M.value.userOptions.callbacks.altCopy({
661
687
  config: M.value,
662
- dataset: K.value
688
+ dataset: q.value
663
689
  }));
664
690
  }
665
- function Wn() {
666
- A.value = null, Gt.value = !0;
691
+ function Jn() {
692
+ A.value = null, Jt.value = !0;
667
693
  }
668
- function Gn() {
669
- A.value = null, j.value = "pointer", E.value = !1, D.value = null, Gt.value = !1;
694
+ function Yn() {
695
+ A.value = null, j.value = "pointer", E.value = !1, D.value = null, Jt.value = !1;
670
696
  }
671
- function Kn(e) {
672
- if (!F.value || Mn.value || document.activeElement !== F.value || !K.value.length || V.value.length === C.dataset.length) return;
697
+ function Xn(e) {
698
+ if (!I.value || Fn.value || document.activeElement !== I.value || !q.value.length || H.value.length === C.dataset.length) return;
673
699
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
674
700
  if (!t && !n && !r && !i) return;
675
701
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -678,65 +704,65 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
678
704
  }
679
705
  if (r) {
680
706
  if (A.value === null) return;
681
- let e = K.value[A.value];
707
+ let e = q.value[A.value];
682
708
  if (!e) return;
683
- bn(e, A.value);
709
+ Cn(e, A.value);
684
710
  return;
685
711
  }
686
712
  let a = A.value;
687
- a === null || a < 0 || a >= K.value.length ? a = n ? 0 : K.value.length - 1 : n ? (a += 1, a >= K.value.length && (a = 0)) : t && (--a, a < 0 && (a = K.value.length - 1));
688
- let ee = K.value[a];
689
- ee && (qn(a), En(ee, a, "keyboard"));
713
+ a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
714
+ let ee = q.value[a];
715
+ ee && (Zn(a), kn(ee, a, "keyboard"));
690
716
  }
691
- function qn(e) {
692
- if (!Number.isFinite(e) || !F.value) return;
693
- let t = K.value[e];
717
+ function Zn(e) {
718
+ if (!Number.isFinite(e) || !I.value) return;
719
+ let t = q.value[e];
694
720
  if (!t) return;
695
- let n = Y(t, e), r = F.value.getBoundingClientRect();
696
- Wt.value = {
697
- x: r.left + n.x / B.value.width * r.width,
698
- y: r.top + n.y / B.value.height * r.height
721
+ let n = X(t, e), r = I.value.getBoundingClientRect();
722
+ qt.value = {
723
+ x: r.left + n.x / V.value.width * r.width,
724
+ y: r.top + n.y / V.value.height * r.height
699
725
  };
700
726
  }
701
- let Jn = c(() => ({
702
- headers: Z.value?.colNames ?? [],
703
- rows: Z.value?.a11yBody ?? []
727
+ let Qn = c(() => ({
728
+ headers: Q.value?.colNames ?? [],
729
+ rows: Q.value?.a11yBody ?? []
704
730
  }));
705
- return we({
706
- getData: yn,
707
- getImage: Pn,
708
- generatePdf: an,
709
- generateCsv: Dn,
710
- generateImage: on,
711
- generateSvg: Vn,
712
- hideSeries: hn,
713
- showSeries: mn,
714
- toggleTable: kn,
715
- toggleTooltip: An,
716
- toggleAnnotator: Nn,
717
- toggleFullscreen: On,
718
- toggleLabels: jn,
719
- copyAlt: Un
731
+ return De({
732
+ getData: Sn,
733
+ getImage: Ln,
734
+ generatePdf: cn,
735
+ generateCsv: An,
736
+ generateImage: ln,
737
+ generateSvg: Gn,
738
+ hideSeries: vn,
739
+ showSeries: _n,
740
+ toggleTable: Mn,
741
+ toggleTooltip: Nn,
742
+ toggleAnnotator: In,
743
+ toggleFullscreen: jn,
744
+ toggleLabels: Pn,
745
+ copyAlt: qn
720
746
  }), (e, t) => (v(), d("div", {
721
747
  ref_key: "ringsChart",
722
748
  ref: O,
723
- class: h(`vue-data-ui-component vue-ui-rings ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
749
+ class: h(`vue-data-ui-component vue-ui-rings ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
724
750
  style: _(`font-family:${M.value.style.fontFamily};text-align:center;width:100%;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
725
751
  id: `rings_${T.value}`,
726
752
  onMouseleave: t[2] ||= (e) => {
727
- D.value = null, E.value = !1, x(Xt)(!1);
753
+ D.value = null, E.value = !1, x($t)(!1);
728
754
  },
729
- onMouseenter: t[3] ||= () => x(Xt)(!0)
755
+ onMouseenter: t[3] ||= () => x($t)(!0)
730
756
  }, [
731
757
  f("div", {
732
758
  id: `chart-instructions-${T.value}`,
733
759
  class: "sr-only"
734
- }, [f("p", null, qe(M.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
735
- Jn.value?.rows?.length ? (v(), l(ke, {
760
+ }, [f("p", null, Xe(M.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
761
+ Qn.value?.rows?.length ? (v(), l(Me, {
736
762
  key: 0,
737
763
  uid: T.value,
738
- head: Jn.value.headers,
739
- body: Jn.value.rows,
764
+ head: Qn.value.headers,
765
+ body: Qn.value.rows,
740
766
  notice: M.value.a11y.translations.tableAvailable,
741
767
  caption: M.value.a11y.translations.tableCaption
742
768
  }, null, 8, [
@@ -746,14 +772,14 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
746
772
  "notice",
747
773
  "caption"
748
774
  ])) : u("", !0),
749
- M.value.userOptions.buttons.annotator ? (v(), l(x(xt), {
775
+ M.value.userOptions.buttons.annotator ? (v(), l(x(wt), {
750
776
  key: 1,
751
- svgRef: x(F),
777
+ svgRef: x(I),
752
778
  backgroundColor: M.value.style.chart.backgroundColor,
753
779
  color: M.value.style.chart.color,
754
- active: Mn.value,
755
- isCursorPointer: N.value,
756
- onClose: Nn
780
+ active: Fn.value,
781
+ isCursorPointer: P.value,
782
+ onClose: In
757
783
  }, {
758
784
  "annotator-action-close": S(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
759
785
  "annotator-action-color": S(({ color: t }) => [b(e.$slots, "annotator-action-color", g(m({ color: t })), void 0, !0)]),
@@ -769,20 +795,20 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
769
795
  "active",
770
796
  "isCursorPointer"
771
797
  ])) : u("", !0),
772
- sn.value ? (v(), d("div", {
798
+ un.value ? (v(), d("div", {
773
799
  key: 2,
774
800
  ref_key: "noTitle",
775
- ref: Ft,
801
+ ref: Rt,
776
802
  class: "vue-data-ui-no-title-space",
777
803
  style: "height:36px; width: 100%;background:transparent"
778
804
  }, null, 512)) : u("", !0),
779
805
  M.value.style.chart.title.text ? (v(), d("div", {
780
806
  key: 3,
781
807
  ref_key: "chartTitle",
782
- ref: Mt,
808
+ ref: Ft,
783
809
  style: "width:100%;background:transparent"
784
- }, [(v(), l(Se, {
785
- key: `title_${It.value}`,
810
+ }, [(v(), l(Te, {
811
+ key: `title_${zt.value}`,
786
812
  config: {
787
813
  title: {
788
814
  cy: "rings-div-title",
@@ -794,15 +820,15 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
794
820
  }
795
821
  }
796
822
  }, null, 8, ["config"]))], 512)) : u("", !0),
797
- f("div", { id: `legend-top-${T.value}` }, null, 8, et),
798
- M.value.userOptions.show && kt.value && (x(Zt) || x(Yt)) ? (v(), l(x(St), {
823
+ f("div", { id: `legend-top-${T.value}` }, null, 8, rt),
824
+ M.value.userOptions.show && Mt.value && (x(en) || x(Qt)) ? (v(), l(x(Tt), {
799
825
  ref_key: "userOptionsRef",
800
- ref: Vt,
801
- key: `user_options_${jt.value}`,
826
+ ref: Wt,
827
+ key: `user_options_${Pt.value}`,
802
828
  backgroundColor: M.value.style.chart.backgroundColor,
803
829
  color: M.value.style.chart.color,
804
- isPrinting: x(nn),
805
- isImaging: x(rn),
830
+ isPrinting: x(on),
831
+ isImaging: x(sn),
806
832
  uid: T.value,
807
833
  hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
808
834
  hasPdf: M.value.userOptions.buttons.pdf,
@@ -813,29 +839,29 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
813
839
  hasFullscreen: M.value.userOptions.buttons.fullscreen,
814
840
  hasAltCopy: M.value.userOptions.buttons.altCopy,
815
841
  hasLabel: M.value.userOptions.buttons.labels,
816
- isTooltip: z.value.showTooltip,
817
- isFullscreen: Q.value,
842
+ isTooltip: B.value.showTooltip,
843
+ isFullscreen: $.value,
818
844
  titles: { ...M.value.userOptions.buttonTitles },
819
845
  chartElement: O.value,
820
846
  position: M.value.userOptions.position,
821
847
  hasAnnotator: M.value.userOptions.buttons.annotator,
822
- isAnnotation: Mn.value,
848
+ isAnnotation: Fn.value,
823
849
  callbacks: M.value.userOptions.callbacks,
824
850
  printScale: M.value.userOptions.print.scale,
825
851
  tableDialog: M.value.table.useDialog,
826
- isCursorPointer: N.value,
827
- onToggleFullscreen: On,
828
- onGeneratePdf: x(an),
829
- onGenerateCsv: Dn,
830
- onGenerateImage: Hn,
831
- onGenerateSvg: Vn,
832
- onToggleTable: kn,
833
- onToggleTooltip: An,
834
- onToggleAnnotator: Nn,
835
- onToggleLabels: jn,
836
- onCopyAlt: Un,
837
- style: _({ visibility: x(Zt) ? x(Yt) ? "visible" : "hidden" : "visible" })
838
- }, Le({ _: 2 }, [
852
+ isCursorPointer: P.value,
853
+ onToggleFullscreen: jn,
854
+ onGeneratePdf: x(cn),
855
+ onGenerateCsv: An,
856
+ onGenerateImage: Kn,
857
+ onGenerateSvg: Gn,
858
+ onToggleTable: Mn,
859
+ onToggleTooltip: Nn,
860
+ onToggleAnnotator: In,
861
+ onToggleLabels: Pn,
862
+ onCopyAlt: qn,
863
+ style: _({ visibility: x(en) ? x(Qt) ? "visible" : "hidden" : "visible" })
864
+ }, Be({ _: 2 }, [
839
865
  e.$slots.menuIcon ? {
840
866
  name: "menuIcon",
841
867
  fn: S(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(m({
@@ -911,33 +937,34 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
911
937
  key: "12"
912
938
  } : void 0
913
939
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.hasLabel.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : u("", !0),
914
- f("div", tt, [(v(), d("svg", {
940
+ f("div", it, [(v(), d("svg", {
915
941
  ref_key: "svgRef",
916
- ref: F,
942
+ ref: I,
917
943
  xmlns: x(ue),
918
944
  class: h({
919
- "vue-data-ui-fullscreen--on": Q.value,
920
- "vue-data-ui-fulscreen--off": !Q.value,
921
- resizing: zt.value || x(P)
945
+ "vue-data-ui-fullscreen--on": $.value,
946
+ "vue-data-ui-fulscreen--off": !$.value,
947
+ resizing: Ht.value || x(F),
948
+ "vue-data-ui-no-transition": !x(N)
922
949
  }),
923
- viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
950
+ viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
924
951
  style: _(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
925
952
  "aria-describedby": `chart-instructions-${T.value}`,
926
953
  tabindex: "0",
927
- onFocus: Wn,
928
- onBlur: Gn,
929
- onKeydown: Kn
954
+ onFocus: Jn,
955
+ onBlur: Yn,
956
+ onKeydown: Xn
930
957
  }, [
931
- ze(x(Ct)),
958
+ He(x(Et)),
932
959
  e.$slots["chart-background"] ? (v(), d("foreignObject", {
933
960
  key: 0,
934
961
  x: 0,
935
962
  y: 0,
936
- width: B.value.width <= 0 ? 10 : B.value.width,
937
- height: B.value.height <= 0 ? 10 : B.value.height,
963
+ width: V.value.width <= 0 ? 10 : V.value.width,
964
+ height: V.value.height <= 0 ? 10 : V.value.height,
938
965
  style: { pointerEvents: "none" }
939
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : u("", !0),
940
- f("defs", null, [(v(!0), d(Fe, null, We(K.value, (e, t) => (v(), l(De, {
966
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : u("", !0),
967
+ f("defs", null, [(v(!0), d(Re, null, qe(q.value, (e, t) => (v(), l(Ae, {
941
968
  t: "radial",
942
969
  cx: "50%",
943
970
  cy: "30%",
@@ -948,7 +975,7 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
948
975
  key: `gradient_${T.value}_${t}`,
949
976
  stops: [[
950
977
  "0%",
951
- x(pe)(x(n)(e.color, .05), 100 - M.value.style.chart.layout.rings.gradient.intensity),
978
+ x(n)(x(re)(e.color, .05), 100 - M.value.style.chart.layout.rings.gradient.intensity),
952
979
  1
953
980
  ], [
954
981
  "100%",
@@ -956,157 +983,156 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
956
983
  1
957
984
  ]]
958
985
  }, null, 8, ["id", "stops"]))), 128))]),
959
- e.$slots.pattern ? (v(), d("g", it, [(v(!0), d(Fe, null, We(K.value, (t) => (v(), d("defs", null, [b(e.$slots, "pattern", Be({ ref_for: !0 }, {
986
+ e.$slots.pattern ? (v(), d("g", st, [(v(!0), d(Re, null, qe(q.value, (t) => (v(), d("defs", null, [b(e.$slots, "pattern", Ue({ ref_for: !0 }, {
960
987
  seriesIndex: t.absoluteIndex,
961
988
  patternId: `pattern_${T.value}_${t.absoluteIndex}`
962
989
  }), void 0, !0)]))), 256))])) : u("", !0),
963
- (v(!0), d(Fe, null, We(K.value, (t, n) => (v(), d("g", null, [
990
+ (v(!0), d(Re, null, qe(q.value, (t, n) => (v(), d("g", { key: `r_${t.uid}` }, [
964
991
  f("circle", {
965
992
  class: h({
966
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
967
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
993
+ "vue-data-ui-transition": w.value && x(N),
994
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
968
995
  "vue-ui-rings-opacity": D.value !== null && D.value !== n
969
996
  }),
970
997
  style: _(`animation-delay:${n * 100}ms`),
971
998
  stroke: M.value.style.chart.layout.rings.stroke,
972
- cx: I.value.x,
973
- cy: wn(t, n),
974
- r: J(t),
999
+ cx: L.value.x,
1000
+ cy: Dn(t, n),
1001
+ r: Y(t),
975
1002
  fill: M.value.style.chart.layout.rings.gradient.underlayerColor
976
- }, null, 14, at),
1003
+ }, null, 14, ct),
977
1004
  f("circle", {
978
1005
  class: h({
979
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
980
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
1006
+ "vue-data-ui-transition": w.value && x(N),
1007
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
981
1008
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
982
1009
  "vue-ui-rings-blur": D.value !== null && D.value !== n
983
1010
  }),
984
1011
  style: _(`animation-delay:${n * 100}ms`),
985
1012
  stroke: M.value.style.chart.layout.rings.stroke,
986
1013
  "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
987
- cx: I.value.x,
988
- cy: wn(t, n),
989
- r: J(t),
1014
+ cx: L.value.x,
1015
+ cy: Dn(t, n),
1016
+ r: Y(t),
990
1017
  fill: M.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${T.value}_${n})` : t.color
991
- }, null, 14, ot),
1018
+ }, null, 14, lt),
992
1019
  e.$slots.pattern ? (v(), d("circle", {
993
1020
  key: 0,
994
1021
  class: h({
995
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
996
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
1022
+ "vue-data-ui-transition": w.value && x(N),
1023
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
997
1024
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
998
1025
  "vue-ui-rings-blur": D.value !== null && D.value !== n
999
1026
  }),
1000
1027
  style: _(`animation-delay:${n * 100}ms`),
1001
1028
  stroke: M.value.style.chart.layout.rings.stroke,
1002
1029
  "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
1003
- cx: I.value.x,
1004
- cy: wn(t, n),
1005
- r: J(t),
1030
+ cx: L.value.x,
1031
+ cy: Dn(t, n),
1032
+ r: Y(t),
1006
1033
  fill: `url(#pattern_${T.value}_${t.absoluteIndex})`
1007
- }, null, 14, st)) : u("", !0),
1034
+ }, null, 14, ut)) : u("", !0),
1008
1035
  f("circle", {
1009
1036
  stroke: "none",
1010
- cx: I.value.x,
1011
- cy: wn(t, n),
1012
- r: J(t),
1037
+ cx: L.value.x,
1038
+ cy: Dn(t, n),
1039
+ r: Y(t),
1013
1040
  fill: "transparent",
1014
- onMouseenter: (e) => En(t, n, "pointer"),
1015
- onMouseleave: (e) => xn(t, n),
1016
- onClick: (e) => bn(t, n)
1017
- }, null, 40, ct),
1018
- z.value.showLabels ? (v(), d(Fe, { key: 1 }, [
1041
+ onMouseenter: (e) => kn(t, n, "pointer"),
1042
+ onMouseleave: (e) => wn(t, n),
1043
+ onClick: (e) => Cn(t, n)
1044
+ }, null, 40, dt),
1045
+ B.value.showLabels ? (v(), d(Re, { key: 1 }, [
1019
1046
  f("rect", {
1020
- x: M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(t, n).x : I.value.x,
1021
- y: Y(t, n).y - M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
1022
- width: Math.abs(I.value.x - Y(t, n).x),
1047
+ x: M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? X(t, n).x : L.value.x,
1048
+ y: X(t, n).y - M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
1049
+ width: Math.abs(L.value.x - X(t, n).x),
1023
1050
  height: M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1024
1051
  fill: M.value.style.chart.layout.labels.dataLabels.markers.stroke,
1025
1052
  rx: M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1026
1053
  class: h({
1027
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
1028
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
1054
+ "vue-data-ui-transition": w.value && x(N),
1055
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1029
1056
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1030
1057
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1031
1058
  })
1032
- }, null, 10, lt),
1059
+ }, null, 10, ft),
1033
1060
  f("circle", {
1034
- cx: Y(t, n).x,
1035
- cy: Y(t, n).y,
1061
+ cx: X(t, n).x,
1062
+ cy: X(t, n).y,
1036
1063
  r: M.value.style.chart.layout.labels.dataLabels.markers.radius,
1037
1064
  fill: t.color,
1038
1065
  stroke: M.value.style.chart.backgroundColor,
1039
1066
  class: h({
1040
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
1041
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
1067
+ "vue-data-ui-transition": w.value && x(N),
1068
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1042
1069
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1043
1070
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1044
1071
  })
1045
- }, null, 10, ut),
1072
+ }, null, 10, pt),
1046
1073
  f("text", {
1047
- x: Y(t, n).x + (M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -M.value.style.chart.layout.labels.dataLabels.offsetX : M.value.style.chart.layout.labels.dataLabels.offsetX),
1048
- y: Y(t, n).y + M.value.style.chart.layout.labels.dataLabels.fontSize / 3,
1049
1074
  "text-anchor": M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
1050
1075
  "font-size": M.value.style.chart.layout.labels.dataLabels.fontSize,
1051
1076
  fill: M.value.style.chart.layout.labels.dataLabels.color,
1052
1077
  "font-weight": M.value.style.chart.layout.labels.dataLabels.bold ? "bold" : "normal",
1053
1078
  class: h({
1054
- "vue-ui-rings-item": w.value && M.value.useCssAnimation,
1055
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(P),
1079
+ "vue-data-ui-transition": w.value && x(N),
1080
+ "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1056
1081
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1057
1082
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1058
1083
  }),
1059
- onMouseenter: (e) => En(t, n, "pointer"),
1060
- onMouseleave: (e) => xn(t, n),
1061
- onClick: (e) => bn(t, n),
1062
- innerHTML: x(re)({
1063
- content: Cn(t),
1084
+ transform: `translate(${X(t, n).x + (M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -M.value.style.chart.layout.labels.dataLabels.offsetX - 6 : M.value.style.chart.layout.labels.dataLabels.offsetX) + 6}, ${X(t, n).y + M.value.style.chart.layout.labels.dataLabels.fontSize / 3})`,
1085
+ onMouseenter: (e) => kn(t, n, "pointer"),
1086
+ onMouseleave: (e) => wn(t, n),
1087
+ onClick: (e) => Cn(t, n),
1088
+ innerHTML: x(i)({
1089
+ content: En(t),
1064
1090
  fontSize: M.value.style.chart.layout.labels.dataLabels.fontSize,
1065
1091
  fill: M.value.style.chart.layout.labels.dataLabels.color,
1066
- x: Y(t, n).x + (M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -M.value.style.chart.layout.labels.dataLabels.offsetX - 6 - M.value.style.chart.layout.labels.dataLabels.markers.radius : M.value.style.chart.layout.labels.dataLabels.offsetX + 6 + M.value.style.chart.layout.labels.dataLabels.markers.radius),
1067
- y: Y(t, n).y + M.value.style.chart.layout.labels.dataLabels.fontSize / 3,
1092
+ x: 0,
1093
+ y: 0,
1068
1094
  translateY: !0
1069
1095
  })
1070
- }, null, 42, dt)
1096
+ }, null, 42, mt)
1071
1097
  ], 64)) : u("", !0)
1072
- ]))), 256)),
1098
+ ]))), 128)),
1073
1099
  b(e.$slots, "svg", { svg: {
1074
- ...B.value,
1075
- isPrintingImg: x(nn) || x(rn) || Ht.value,
1076
- isPrintingSvg: Ut.value
1100
+ ...V.value,
1101
+ isPrintingImg: x(on) || x(sn) || Gt.value,
1102
+ isPrintingSvg: Kt.value
1077
1103
  } }, void 0, !0)
1078
- ], 46, nt)), e.$slots.hint ? (v(), d("div", ft, [b(e.$slots, "hint", g(m({
1104
+ ], 46, at)), e.$slots.hint ? (v(), d("div", ht, [b(e.$slots, "hint", g(m({
1079
1105
  hint: M.value.a11y.translations.keyboardNavigation,
1080
- isVisible: Gt.value
1106
+ isVisible: Jt.value
1081
1107
  })), void 0, !0)])) : u("", !0)]),
1082
- e.$slots.watermark ? (v(), d("div", pt, [b(e.$slots, "watermark", g(m({ isPrinting: x(nn) || x(rn) || Ht.value || Ut.value })), void 0, !0)])) : u("", !0),
1083
- f("div", { id: `legend-bottom-${T.value}` }, null, 8, mt),
1084
- Bt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(Ie, {
1108
+ e.$slots.watermark ? (v(), d("div", gt, [b(e.$slots, "watermark", g(m({ isPrinting: x(on) || x(sn) || Gt.value || Kt.value })), void 0, !0)])) : u("", !0),
1109
+ f("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
1110
+ Ut.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(ze, {
1085
1111
  key: 6,
1086
1112
  to: M.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1087
1113
  }, [f("div", {
1088
1114
  ref_key: "chartLegend",
1089
- ref: Nt
1090
- }, [b(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show ? (v(), l(Ne, {
1091
- key: `legend_${Rt.value}`,
1092
- legendSet: W.value,
1093
- config: vn.value,
1094
- isCursorPointer: N.value,
1095
- onClickMarker: t[0] ||= ({ legend: e }) => H(e.uid)
1096
- }, Le({
1097
- item: S(({ legend: e, index: t }) => [x(P) ? u("", !0) : (v(), d("div", {
1115
+ ref: It
1116
+ }, [b(e.$slots, "legend", { legend: G.value }, () => [M.value.style.chart.legend.show ? (v(), l(Ie, {
1117
+ key: `legend_${Vt.value}`,
1118
+ legendSet: G.value,
1119
+ config: xn.value,
1120
+ isCursorPointer: P.value,
1121
+ onClickMarker: t[0] ||= ({ legend: e }) => U(e.uid)
1122
+ }, Be({
1123
+ item: S(({ legend: e, index: t }) => [x(F) ? u("", !0) : (v(), d("div", {
1098
1124
  key: 0,
1099
- onClick: (t) => H(e.uid),
1100
- style: _(`opacity:${V.value.includes(e.uid) ? .5 : 1}`)
1101
- }, qe(e.display), 13, ht))]),
1102
- legendToggle: S(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !x(P) ? (v(), l(Oe, {
1125
+ onClick: (t) => U(e.uid),
1126
+ style: _(`opacity:${H.value.includes(e.uid) ? .5 : 1}`)
1127
+ }, Xe(e.display), 13, vt))]),
1128
+ legendToggle: S(() => [G.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !x(F) ? (v(), l(je, {
1103
1129
  key: 0,
1104
1130
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1105
1131
  color: M.value.style.chart.legend.selectAllToggle.color,
1106
1132
  fontSize: M.value.style.chart.legend.fontSize,
1107
- checked: V.value.length > 0,
1108
- isCursorPointer: N.value,
1109
- onToggle: dn
1133
+ checked: H.value.length > 0,
1134
+ isCursorPointer: P.value,
1135
+ onToggle: mn
1110
1136
  }, null, 8, [
1111
1137
  "backgroundColor",
1112
1138
  "color",
@@ -1117,7 +1143,7 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1117
1143
  _: 2
1118
1144
  }, [e.$slots.pattern ? {
1119
1145
  name: "legend-pattern",
1120
- fn: S(({ legend: e, index: t }) => [ze(Ce, {
1146
+ fn: S(({ legend: e, index: t }) => [He(Ee, {
1121
1147
  shape: e.shape,
1122
1148
  radius: 30,
1123
1149
  stroke: "none",
@@ -1136,12 +1162,12 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1136
1162
  e.$slots.source ? (v(), d("div", {
1137
1163
  key: 7,
1138
1164
  ref_key: "source",
1139
- ref: Pt,
1165
+ ref: Lt,
1140
1166
  dir: "auto"
1141
1167
  }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1142
- ze(x(_t), {
1168
+ He(x(bt), {
1143
1169
  teleportTo: M.value.style.chart.tooltip.teleportTo,
1144
- show: z.value.showTooltip && E.value && V.value.length < C.dataset.length,
1170
+ show: B.value.showTooltip && E.value && H.value.length < C.dataset.length,
1145
1171
  backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1146
1172
  color: M.value.style.chart.tooltip.color,
1147
1173
  borderRadius: M.value.style.chart.tooltip.borderRadius,
@@ -1153,19 +1179,19 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1153
1179
  offsetX: M.value.style.chart.tooltip.offsetX,
1154
1180
  offsetY: M.value.style.chart.tooltip.offsetY,
1155
1181
  parent: O.value,
1156
- content: At.value,
1157
- isFullscreen: Q.value,
1182
+ content: Nt.value,
1183
+ isFullscreen: $.value,
1158
1184
  isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
1159
1185
  smooth: M.value.style.chart.tooltip.smooth,
1160
1186
  backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1161
1187
  smoothForce: M.value.style.chart.tooltip.smoothForce,
1162
1188
  smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1163
1189
  isA11yMode: j.value === "keyboard",
1164
- a11yPosition: Wt.value
1190
+ a11yPosition: qt.value
1165
1191
  }, {
1166
- "tooltip-before": S(() => [b(e.$slots, "tooltip-before", g(m({ ...Tn.value })), void 0, !0)]),
1167
- tooltip: S(() => [b(e.$slots, "tooltip", g(m({ ...Tn.value })), void 0, !0)]),
1168
- "tooltip-after": S(() => [b(e.$slots, "tooltip-after", g(m({ ...Tn.value })), void 0, !0)]),
1192
+ "tooltip-before": S(() => [b(e.$slots, "tooltip-before", g(m({ ...On.value })), void 0, !0)]),
1193
+ tooltip: S(() => [b(e.$slots, "tooltip", g(m({ ...On.value })), void 0, !0)]),
1194
+ "tooltip-after": S(() => [b(e.$slots, "tooltip-after", g(m({ ...On.value })), void 0, !0)]),
1169
1195
  _: 3
1170
1196
  }, 8, [
1171
1197
  "teleportTo",
@@ -1191,21 +1217,21 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1191
1217
  "isA11yMode",
1192
1218
  "a11yPosition"
1193
1219
  ]),
1194
- kt.value && M.value.userOptions.buttons.table ? (v(), l(Ge($.value.component), Be({ key: 8 }, $.value.props, {
1220
+ Mt.value && M.value.userOptions.buttons.table ? (v(), l(Je(Rn.value.component), Ue({ key: 8 }, Rn.value.props, {
1195
1221
  ref_key: "tableUnit",
1196
1222
  ref: k,
1197
- onClose: Fn
1198
- }), Le({
1199
- content: S(() => [(v(), l(x(bt), {
1200
- key: `table_${Lt.value}`,
1201
- colNames: Z.value.colNames,
1202
- head: Z.value.head,
1203
- body: Z.value.body,
1204
- config: Z.value.config,
1205
- title: M.value.table.useDialog ? "" : $.value.title,
1223
+ onClose: zn
1224
+ }), Be({
1225
+ content: S(() => [(v(), l(x(Ct), {
1226
+ key: `table_${Bt.value}`,
1227
+ colNames: Q.value.colNames,
1228
+ head: Q.value.head,
1229
+ body: Q.value.body,
1230
+ config: Q.value.config,
1231
+ title: M.value.table.useDialog ? "" : Rn.value.title,
1206
1232
  withCloseButton: !M.value.table.useDialog,
1207
- isCursorPointer: N.value,
1208
- onClose: Fn
1233
+ isCursorPointer: P.value,
1234
+ onClose: zn
1209
1235
  }, {
1210
1236
  th: S(({ th: e }) => [f("div", {
1211
1237
  innerHTML: e,
@@ -1213,8 +1239,8 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1213
1239
  display: "flex",
1214
1240
  "align-items": "center"
1215
1241
  }
1216
- }, null, 8, gt)]),
1217
- td: S(({ td: e }) => [Re(qe(e.name || e), 1)]),
1242
+ }, null, 8, yt)]),
1243
+ td: S(({ td: e }) => [Ve(Xe(e.name || e), 1)]),
1218
1244
  _: 1
1219
1245
  }, 8, [
1220
1246
  "colNames",
@@ -1228,24 +1254,24 @@ var Ze = /* @__PURE__ */ e({ default: () => _t }), Qe = ["id"], $e = ["id"], et
1228
1254
  _: 2
1229
1255
  }, [M.value.table.useDialog ? {
1230
1256
  name: "title",
1231
- fn: S(() => [Re(qe($.value.title), 1)]),
1257
+ fn: S(() => [Ve(Xe(Rn.value.title), 1)]),
1232
1258
  key: "0"
1233
1259
  } : void 0, M.value.table.useDialog ? {
1234
1260
  name: "actions",
1235
1261
  fn: S(() => [f("button", {
1236
1262
  tabindex: "0",
1237
1263
  class: "vue-ui-user-options-button",
1238
- onClick: t[1] ||= (e) => Dn(M.value.userOptions.callbacks.csv),
1239
- style: _({ cursor: N.value ? "pointer" : "default" })
1240
- }, [ze(x(vt), {
1264
+ onClick: t[1] ||= (e) => An(M.value.userOptions.callbacks.csv),
1265
+ style: _({ cursor: P.value ? "pointer" : "default" })
1266
+ }, [He(x(xt), {
1241
1267
  name: "fileCsv",
1242
- stroke: $.value.props.color
1268
+ stroke: Rn.value.props.color
1243
1269
  }, null, 8, ["stroke"])], 4)]),
1244
1270
  key: "1"
1245
1271
  } : void 0]), 1040)) : u("", !0),
1246
- b(e.$slots, "skeleton", {}, () => [x(P) ? (v(), l(_e, { key: 0 })) : u("", !0)], !0)
1247
- ], 46, Qe));
1272
+ b(e.$slots, "skeleton", {}, () => [x(F) ? (v(), l(ye, { key: 0 })) : u("", !0)], !0)
1273
+ ], 46, tt));
1248
1274
  }
1249
- }, [["__scopeId", "data-v-7ca35ef0"]]);
1275
+ }, [["__scopeId", "data-v-31e09f14"]]);
1250
1276
  //#endregion
1251
- export { Ze as n, _t as t };
1277
+ export { et as n, bt as t };