vue-data-ui 3.23.0 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
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";
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-Bttd6u5E.js";
3
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";
4
+ import { t as ge } from "./useConfig-DlNpz6P8.js";
5
+ import { t as _e } from "./usePrinter-DN5bYhTG.js";
6
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";
7
+ import { t as be } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Se } from "./useChartExport-DNiwdPmb.js";
10
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";
11
+ import { t as we } from "./img-Bnokohej.js";
12
+ import { n as Te } from "./Title-BE3qg9xl.js";
13
+ import { t as Ee } from "./Shape-C21CMlWS.js";
14
14
  import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as Ae } from "./DefGrad-DVBqDjhO.js";
17
- import { t as je } from "./BaseLegendToggle-CtAPwzr2.js";
17
+ import { t as je } from "./BaseLegendToggle-DZVucLnv.js";
18
18
  import { t as Me } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
20
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";
21
+ import { t as Fe } from "./labelUtils-BeVpDvTJ.js";
22
+ import { t as Ie } from "./Legend-CQxUgOd-.js";
23
23
  import { t as Le } from "./vue_ui_rings-BVgD2aMn.js";
24
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";
25
25
  //#region src/components/vue-ui-rings.vue
@@ -108,12 +108,12 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
108
108
  },
109
109
  emits: ["selectLegend", "copyAlt"],
110
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
+ let bt = p(() => import("./Tooltip-DhjyfHwz.js")), xt = p(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), St = p(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Ct = p(() => import("./DataTable-BbKgJ5UI.js")), wt = p(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Tt = p(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Et = p(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Dt = p(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_rings: Ot } = ge(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), 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), A = y(null), Gt = y({
112
112
  x: 0,
113
113
  y: 0
114
- }), j = y("pointer"), Jt = y(!1), M = y(tn());
114
+ }), Kt = y("pointer"), qt = y(!1), j = y(en());
115
115
  me({
116
- config: () => M.value,
116
+ config: () => j.value,
117
117
  dataset: () => C.dataset,
118
118
  component: "VueUiRings",
119
119
  rules: [
@@ -133,10 +133,10 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
133
133
  }
134
134
  ]
135
135
  });
136
- let { transitionEnabled: N } = Ce({
137
- config: () => M.value.transitions,
136
+ let { transitionEnabled: M } = Ce({
137
+ config: () => j.value.transitions,
138
138
  dataset: () => C.dataset
139
- }), P = c(() => M.value.userOptions.useCursorPointer), Yt = c(() => a({
139
+ }), N = c(() => j.value.userOptions.useCursorPointer), Jt = c(() => a({
140
140
  defaultConfig: {
141
141
  userOptions: { show: !1 },
142
142
  table: { show: !1 },
@@ -152,11 +152,11 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
152
152
  legend: { backgroundColor: "transparent" }
153
153
  } }
154
154
  },
155
- userConfig: M.value.skeletonConfig ?? {}
156
- })), { loading: F, FINAL_DATASET: Xt, manualLoading: Zt } = ve({
155
+ userConfig: j.value.skeletonConfig ?? {}
156
+ })), { loading: P, FINAL_DATASET: Yt, manualLoading: Xt } = ve({
157
157
  ...Ze(C),
158
- FINAL_CONFIG: M,
159
- prepareConfig: tn,
158
+ FINAL_CONFIG: j,
159
+ prepareConfig: en,
160
160
  skeletonDataset: C.config?.skeletonDataset ?? [
161
161
  {
162
162
  name: "_",
@@ -185,23 +185,23 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
185
185
  }
186
186
  ],
187
187
  skeletonConfig: a({
188
- defaultConfig: M.value,
189
- userConfig: Yt.value
188
+ defaultConfig: j.value,
189
+ userConfig: Jt.value
190
190
  })
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({
191
+ }), { userOptionsVisible: Zt, setUserOptionsVisibility: Qt, keepUserOptionState: $t } = Ne({ config: j.value }), { svgRef: F } = Pe({ config: j.value.style.chart.title });
192
+ function en() {
193
+ let e = be({
194
194
  userConfig: C.config,
195
195
  defaultConfig: Ot
196
196
  }), t = e.theme;
197
197
  if (!t) return e;
198
198
  if (!kt.value(e)) return At(e), e;
199
- let n = xe({
199
+ let n = be({
200
200
  userConfig: Le[t] || C.config,
201
201
  defaultConfig: e
202
202
  });
203
203
  return {
204
- ...xe({
204
+ ...be({
205
205
  userConfig: C.config,
206
206
  defaultConfig: n
207
207
  }),
@@ -209,37 +209,37 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
209
209
  };
210
210
  }
211
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;
212
+ P.value || (j.value = en()), Zt.value = !j.value.userOptions.showOnChartHover, nn(), zt.value += 1, Bt.value += 1, Vt.value += 1, B.value.showTable = j.value.table.show, B.value.showTooltip = j.value.style.chart.tooltip.show, B.value.showLabels = j.value.style.chart.layout.labels.dataLabels.show, V.value.width = j.value.style.chart.size, V.value.height = j.value.style.chart.size;
213
213
  }, { deep: !0 });
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;
214
+ let tn = c(() => {
215
+ let { markers: e } = j.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;
216
216
  return {
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
217
+ x: j.value.responsive ? i : n / j.value.style.chart.size * V.value.width,
218
+ y: 0 / j.value.style.chart.size * V.value.height
219
219
  };
220
- }), L = c(() => ({
221
- x: V.value.width / 2 + nn.value.x,
222
- y: V.value.height / 2 + nn.value.y
220
+ }), I = c(() => ({
221
+ x: V.value.width / 2 + tn.value.x,
222
+ y: V.value.height / 2 + tn.value.y
223
223
  }));
224
224
  $e(() => C.dataset, (e) => {
225
- Array.isArray(e) && e.length > 0 && (Zt.value = !1);
225
+ Array.isArray(e) && e.length > 0 && (Xt.value = !1);
226
226
  }, { deep: !0 });
227
- let R = Ye(null), z = Ye(null);
227
+ let L = Ye(null), R = Ye(null);
228
228
  Ke(() => {
229
- Ut.value = !0, an();
229
+ Ut.value = !0, nn();
230
230
  });
231
- let rn = c(() => !!M.value.debug);
232
- function an() {
231
+ let z = c(() => j.value.debug);
232
+ function nn() {
233
233
  if (se(C.dataset) ? (de({
234
234
  componentName: "VueUiRings",
235
235
  type: "dataset",
236
- debug: rn.value
237
- }), Zt.value = !0) : C.dataset.forEach((e, t) => {
236
+ debug: z.value
237
+ }), Xt.value = !0) : C.dataset.forEach((e, t) => {
238
238
  e.values.length || (de({
239
239
  componentName: "VueUiRings",
240
240
  type: "dataset",
241
- debug: rn.value
242
- }), Zt.value = !0), ce({
241
+ debug: z.value
242
+ }), Xt.value = !0), ce({
243
243
  datasetObject: e,
244
244
  requiredAttributes: ["name", "values"]
245
245
  }).forEach((e) => {
@@ -248,16 +248,16 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
248
248
  type: "datasetSerieAttribute",
249
249
  property: e,
250
250
  index: t,
251
- debug: rn.value
251
+ debug: z.value
252
252
  });
253
253
  });
254
- }), se(C.dataset) || (Zt.value = M.value.loading), M.value.responsive) {
254
+ }), se(C.dataset) || (Xt.value = j.value.loading), j.value.responsive) {
255
255
  let e = Oe(() => {
256
256
  Ht.value = !0;
257
257
  let { width: e, height: t } = ke({
258
258
  chart: O.value,
259
- title: M.value.style.chart.title.text ? Ft.value : null,
260
- legend: M.value.style.chart.legend.show ? It.value : null,
259
+ title: j.value.style.chart.title.text ? Ft.value : null,
260
+ legend: j.value.style.chart.legend.show ? It.value : null,
261
261
  source: Lt.value,
262
262
  noTitle: Rt.value
263
263
  });
@@ -265,42 +265,42 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
265
265
  V.value.width = e, V.value.height = t - 12, Ht.value = !1;
266
266
  });
267
267
  });
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);
268
+ 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);
269
269
  }
270
270
  setTimeout(() => {
271
271
  w.value = !0;
272
272
  }, 600);
273
273
  }
274
274
  Ge(() => {
275
- R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
275
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
276
276
  });
277
- let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
277
+ let { isPrinting: rn, isImaging: an, generatePdf: on, generateImage: sn } = _e({
278
278
  elementId: `rings_${T.value}`,
279
- fileName: M.value.style.chart.title.text || "vue-ui-rings",
280
- options: M.value.userOptions.print
281
- }), un = c(() => M.value.userOptions.show && !M.value.style.chart.title.text), dn = c(() => fe(M.value.customPalette)), B = y({
282
- showTable: M.value.table.show,
283
- showTooltip: M.value.style.chart.tooltip.show,
284
- showLabels: M.value.style.chart.layout.labels.dataLabels.show
279
+ fileName: j.value.style.chart.title.text || "vue-ui-rings",
280
+ options: j.value.userOptions.print
281
+ }), cn = c(() => j.value.userOptions.show && !j.value.style.chart.title.text), ln = c(() => fe(j.value.customPalette)), B = y({
282
+ showTable: j.value.table.show,
283
+ showTooltip: j.value.style.chart.tooltip.show,
284
+ showLabels: j.value.style.chart.layout.labels.dataLabels.show
285
285
  });
286
- $e(M, () => {
286
+ $e(j, () => {
287
287
  B.value = {
288
- showTable: M.value.table.show,
289
- showTooltip: M.value.style.chart.tooltip.show,
290
- showLabels: M.value.style.chart.layout.labels.dataLabels.show
288
+ showTable: j.value.table.show,
289
+ showTooltip: j.value.style.chart.tooltip.show,
290
+ showLabels: j.value.style.chart.layout.labels.dataLabels.show
291
291
  };
292
292
  }, { immediate: !0 });
293
293
  let V = y({
294
- height: M.value.style.chart.size,
295
- width: M.value.style.chart.size
296
- }), fn = c(() => Math.min(V.value.height, V.value.width)), pn = et, H = y([]);
297
- function mn() {
294
+ height: j.value.style.chart.size,
295
+ width: j.value.style.chart.size
296
+ }), un = c(() => Math.min(V.value.height, V.value.width)), dn = et, H = y([]);
297
+ function fn() {
298
298
  H.value.length ? H.value = [] : G.value.forEach((e) => {
299
299
  H.value.push(e.uid);
300
- }), hn();
300
+ }), pn();
301
301
  }
302
- function hn() {
303
- pn("selectLegend", q.value.map((e) => ({
302
+ function pn() {
303
+ dn("selectLegend", q.value.map((e) => ({
304
304
  name: e.name,
305
305
  color: e.color,
306
306
  value: e.value
@@ -312,49 +312,49 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
312
312
  if (H.value.length === W.value.length - 1) return;
313
313
  H.value.push(e);
314
314
  }
315
- hn();
315
+ pn();
316
316
  }
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);
317
+ function mn(e) {
318
+ return W.value.length ? W.value.find((t) => t.name === e) || (z.value && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (z.value && console.warn("VueUiRings - There are no series to show."), null);
319
319
  }
320
- function _n(e) {
321
- let t = gn(e);
320
+ function hn(e) {
321
+ let t = mn(e);
322
322
  t !== null && H.value.includes(t.uid) && U(t.uid);
323
323
  }
324
- function vn(e) {
325
- let t = gn(e);
324
+ function gn(e) {
325
+ let t = mn(e);
326
326
  t !== null && (H.value.includes(t.uid) || U(t.uid));
327
327
  }
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;
328
+ let _n = c(() => Math.max(...W.value.filter((e) => !H.value.includes(e.uid)).map(({ value: e }) => e)));
329
+ function vn(e) {
330
+ return e / _n.value;
331
331
  }
332
- let W = c(() => Xt.value.map(({ values: e, name: t, color: n = null }, r) => {
332
+ let W = c(() => Yt.value.map(({ values: e, name: t, color: n = null }, r) => {
333
333
  let i = te(e).reduce((e, t) => e + t, 0);
334
334
  return {
335
335
  name: t,
336
- color: n || ne(n) || dn.value[r] || o[r] || o[r % o.length],
336
+ color: n || ne(n) || ln.value[r] || o[r] || o[r % o.length],
337
337
  value: i,
338
- proportion: i / Xt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
338
+ proportion: i / Yt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
339
339
  uid: le(),
340
340
  absoluteIndex: r
341
341
  };
342
342
  })), G = c(() => W.value.map((e, t) => {
343
- let n = oe(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, s({
344
- p: M.value.style.chart.layout.labels.dataLabels.prefix,
343
+ let n = oe(j.value.style.chart.layout.labels.dataLabels.formatter, e.value, s({
344
+ p: j.value.style.chart.layout.labels.dataLabels.prefix,
345
345
  v: e.value,
346
- s: M.value.style.chart.layout.labels.dataLabels.suffix,
347
- r: M.value.style.chart.legend.roundingValue
346
+ s: j.value.style.chart.layout.labels.dataLabels.suffix,
347
+ r: j.value.style.chart.legend.roundingValue
348
348
  }), {
349
349
  datapoint: e,
350
350
  index: t
351
351
  }), r = isNaN(e.value / K.value) ? "-" : s({
352
352
  v: e.value / K.value * 100,
353
353
  s: "%",
354
- r: M.value.style.chart.legend.roundingPercentage
355
- }), i = Tn({
356
- showVal: M.value.style.chart.legend.showValue,
357
- showPercentage: M.value.style.chart.legend.showPercentage,
354
+ r: j.value.style.chart.legend.roundingPercentage
355
+ }), i = Cn({
356
+ showVal: j.value.style.chart.legend.showValue,
357
+ showPercentage: j.value.style.chart.legend.showPercentage,
358
358
  val: n,
359
359
  percentage: H.value.includes(e.uid) ? "-%" : r
360
360
  });
@@ -364,26 +364,26 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
364
364
  opacity: H.value.includes(e.uid) ? .5 : 1,
365
365
  segregate: () => U(e.uid),
366
366
  isSegregated: H.value.includes(e.uid),
367
- display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${i}`
367
+ display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${i}`
368
368
  };
369
- }).toSorted((e, t) => t.value - e.value)), xn = c(() => ({
369
+ }).toSorted((e, t) => t.value - e.value)), yn = c(() => ({
370
370
  cy: "rings-div-legend",
371
- backgroundColor: M.value.style.chart.legend.backgroundColor,
372
- color: M.value.style.chart.legend.color,
373
- fontSize: M.value.style.chart.legend.fontSize,
371
+ backgroundColor: j.value.style.chart.legend.backgroundColor,
372
+ color: j.value.style.chart.legend.color,
373
+ fontSize: j.value.style.chart.legend.fontSize,
374
374
  paddingBottom: 12,
375
- fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
375
+ fontWeight: j.value.style.chart.legend.bold ? "bold" : ""
376
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) => ({
377
377
  absoluteIndex: i,
378
378
  uid: r,
379
379
  name: e,
380
- color: n || ne(n) || dn.value[a] || o[a] || o[a % o.length],
380
+ color: n || ne(n) || ln.value[a] || o[a] || o[a % o.length],
381
381
  value: t,
382
- proportion: bn(t),
382
+ proportion: vn(t),
383
383
  percentage: t / K.value * 100,
384
- strokeWidth: M.value.style.chart.layout.rings.strokeWidth * bn(t)
384
+ strokeWidth: j.value.style.chart.layout.rings.strokeWidth * vn(t)
385
385
  })).toSorted((e, t) => t.value - e.value));
386
- function Sn() {
386
+ function bn() {
387
387
  return q.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
388
388
  name: e,
389
389
  color: t,
@@ -392,21 +392,21 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
392
392
  percentage: i
393
393
  }));
394
394
  }
395
- let J = c(() => fn.value - M.value.style.chart.layout.rings.strokeWidth * 2);
396
- function Cn(e, t) {
397
- M.value.events.datapointClick && M.value.events.datapointClick({
395
+ let J = c(() => un.value - j.value.style.chart.layout.rings.strokeWidth * 2);
396
+ function xn(e, t) {
397
+ j.value.events.datapointClick && j.value.events.datapointClick({
398
398
  datapoint: e,
399
399
  seriesIndex: t
400
400
  });
401
401
  }
402
- function wn(e, t) {
403
- D.value = null, E.value = !1, A.value = null, j.value = "pointer", M.value.events.datapointLeave && M.value.events.datapointLeave({
402
+ function Sn(e, t) {
403
+ D.value = null, E.value = !1, A.value = null, Kt.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
404
404
  datapoint: e,
405
405
  seriesIndex: t
406
406
  });
407
407
  }
408
- function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
409
- let i = M.value.style.chart.layout.labels.dataLabels;
408
+ function Cn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
409
+ let i = j.value.style.chart.layout.labels.dataLabels;
410
410
  return Fe({
411
411
  config: i,
412
412
  val: e,
@@ -415,8 +415,8 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
415
415
  showPercentage: r
416
416
  });
417
417
  }
418
- function En(e) {
419
- let t = M.value.style.chart.layout.labels.dataLabels, n = oe(t.formatter, e.value, s({
418
+ function wn(e) {
419
+ let t = j.value.style.chart.layout.labels.dataLabels, n = oe(t.formatter, e.value, s({
420
420
  p: t.prefix,
421
421
  v: e.value,
422
422
  s: t.suffix,
@@ -426,60 +426,60 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
426
426
  s: "%",
427
427
  r: t.roundingPercentage
428
428
  });
429
- return `${e.name}\n${Tn({
429
+ return `${e.name}\n${Cn({
430
430
  val: n,
431
431
  percentage: r,
432
432
  showVal: t.showValue,
433
433
  showPercentage: t.showPercentage
434
434
  })}`;
435
435
  }
436
- function Y(e) {
436
+ function Tn(e) {
437
437
  return ie(J.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : J.value * e.proportion / 2 * .9);
438
438
  }
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);
439
+ function En(e, t) {
440
+ return t === 0 ? I.value.y : I.value.y + J.value * q.value[0].proportion / 2 - J.value * e.proportion / 2 - 2 * (t + 1);
441
441
  }
442
- function X(e, t) {
443
- let n = M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(J.value / 2) : J.value / 2;
442
+ function Y(e, t) {
443
+ let n = j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(J.value / 2) : J.value / 2;
444
444
  return {
445
- x: L.value.x + n,
446
- y: Dn(e, t) - Y(e)
445
+ x: I.value.x + n,
446
+ y: En(e, t) - Tn(e)
447
447
  };
448
448
  }
449
- let On = y(null);
450
- function kn(e, t, n = "pointer") {
451
- if (M.value.events.datapointEnter && M.value.events.datapointEnter({
449
+ let Dn = y(null);
450
+ function On(e, t, n = "pointer") {
451
+ if (j.value.events.datapointEnter && j.value.events.datapointEnter({
452
452
  datapoint: e,
453
453
  seriesIndex: t
454
454
  }), H.value.length === C.dataset.length) return;
455
- On.value = {
455
+ Dn.value = {
456
456
  datapoint: e,
457
457
  seriesIndex: t,
458
458
  series: q.value,
459
- config: M.value
460
- }, D.value = t, A.value = t, j.value = n;
461
- let r = q.value[t], i = M.value.style.chart.tooltip.customFormat;
459
+ config: j.value
460
+ }, D.value = t, A.value = t, Kt.value = n;
461
+ let r = q.value[t], i = j.value.style.chart.tooltip.customFormat;
462
462
  if (pe(i) && ae(() => i({
463
463
  seriesIndex: t,
464
464
  datapoint: e,
465
465
  series: q.value,
466
- config: M.value
466
+ config: j.value
467
467
  }))) Nt.value = i({
468
468
  seriesIndex: t,
469
469
  datapoint: e,
470
470
  series: q.value,
471
- config: M.value
471
+ config: j.value
472
472
  });
473
473
  else {
474
474
  let n = "";
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({
476
- showVal: M.value.style.chart.tooltip.showValue,
477
- showPercentage: M.value.style.chart.tooltip.showPercentage,
478
- val: `<span>${oe(M.value.style.chart.layout.labels.dataLabels.formatter, r.value, s({
479
- p: M.value.style.chart.layout.labels.dataLabels.prefix,
475
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.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>${Cn({
476
+ showVal: j.value.style.chart.tooltip.showValue,
477
+ showPercentage: j.value.style.chart.tooltip.showPercentage,
478
+ val: `<span>${oe(j.value.style.chart.layout.labels.dataLabels.formatter, r.value, s({
479
+ p: j.value.style.chart.layout.labels.dataLabels.prefix,
480
480
  v: r.value,
481
- s: M.value.style.chart.layout.labels.dataLabels.suffix,
482
- r: M.value.style.chart.tooltip.roundingValue
481
+ s: j.value.style.chart.layout.labels.dataLabels.suffix,
482
+ r: j.value.style.chart.tooltip.roundingValue
483
483
  }), {
484
484
  datapoint: e,
485
485
  seriesIndex: t
@@ -487,40 +487,40 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
487
487
  percentage: s({
488
488
  v: r.value / K.value * 100,
489
489
  s: "%",
490
- r: M.value.style.chart.tooltip.roundingPercentage
490
+ r: j.value.style.chart.tooltip.roundingPercentage
491
491
  })
492
492
  })}</b></div>`, Nt.value = n;
493
493
  }
494
494
  E.value = !0;
495
495
  }
496
- let Z = c(() => ({
496
+ let X = c(() => ({
497
497
  head: q.value.map((e) => ({
498
498
  name: e.name,
499
499
  color: e.color
500
500
  })),
501
501
  body: q.value.map((e) => e.value)
502
- })), Q = c(() => {
502
+ })), Z = c(() => {
503
503
  let e = [
504
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>",
505
505
  s({
506
- p: M.value.style.chart.layout.labels.dataLabels.prefix,
506
+ p: j.value.style.chart.layout.labels.dataLabels.prefix,
507
507
  v: K.value,
508
- s: M.value.style.chart.layout.labels.dataLabels.suffix,
509
- r: M.value.table.td.roundingValue
508
+ s: j.value.style.chart.layout.labels.dataLabels.suffix,
509
+ r: j.value.table.td.roundingValue
510
510
  }),
511
511
  "100%"
512
- ], t = Z.value.head.map((e, t) => [
512
+ ], t = X.value.head.map((e, t) => [
513
513
  {
514
514
  color: e.color,
515
515
  name: e.name
516
516
  },
517
517
  s({
518
- p: M.value.style.chart.layout.labels.dataLabels.prefix,
519
- v: Z.value.body[t],
520
- s: M.value.style.chart.layout.labels.dataLabels.suffix,
521
- r: M.value.table.td.roundingValue
518
+ p: j.value.style.chart.layout.labels.dataLabels.prefix,
519
+ v: X.value.body[t],
520
+ s: j.value.style.chart.layout.labels.dataLabels.suffix,
521
+ r: j.value.table.td.roundingValue
522
522
  }),
523
- isNaN(Z.value.body[t] / K.value) ? "-" : (Z.value.body[t] / K.value * 100).toFixed(M.value.table.td.roundingPercentage) + "%"
523
+ isNaN(X.value.body[t] / K.value) ? "-" : (X.value.body[t] / K.value * 100).toFixed(j.value.table.td.roundingPercentage) + "%"
524
524
  ]);
525
525
  return {
526
526
  head: e,
@@ -528,63 +528,63 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
528
528
  a11yBody: t.map((e) => e.map((e, t) => t === 0 ? e.name : e)),
529
529
  config: {
530
530
  th: {
531
- backgroundColor: M.value.table.th.backgroundColor,
532
- color: M.value.table.th.color,
533
- outline: M.value.table.th.outline
531
+ backgroundColor: j.value.table.th.backgroundColor,
532
+ color: j.value.table.th.color,
533
+ outline: j.value.table.th.outline
534
534
  },
535
535
  td: {
536
- backgroundColor: M.value.table.td.backgroundColor,
537
- color: M.value.table.td.color,
538
- outline: M.value.table.td.outline
536
+ backgroundColor: j.value.table.td.backgroundColor,
537
+ color: j.value.table.td.color,
538
+ outline: j.value.table.td.outline
539
539
  },
540
- breakpoint: M.value.table.responsiveBreakpoint
540
+ breakpoint: j.value.table.responsiveBreakpoint
541
541
  },
542
542
  colNames: [
543
- M.value.table.columnNames.series,
544
- M.value.table.columnNames.value,
545
- M.value.table.columnNames.percentage
543
+ j.value.table.columnNames.series,
544
+ j.value.table.columnNames.value,
545
+ j.value.table.columnNames.percentage
546
546
  ]
547
547
  };
548
548
  });
549
- function An(e = null) {
549
+ function kn(e = null) {
550
550
  We(() => {
551
- let n = Z.value.head.map((e, t) => [
551
+ let n = X.value.head.map((e, t) => [
552
552
  [e.name],
553
- [Z.value.body[t]],
554
- [isNaN(Z.value.body[t] / K.value) ? "-" : Z.value.body[t] / K.value * 100]
555
- ]), i = r([
556
- [M.value.style.chart.title.text],
557
- [M.value.style.chart.title.subtitle.text],
553
+ [X.value.body[t]],
554
+ [isNaN(X.value.body[t] / K.value) ? "-" : X.value.body[t] / K.value * 100]
555
+ ]), i = [
556
+ [j.value.style.chart.title.text],
557
+ [j.value.style.chart.title.subtitle.text],
558
558
  [
559
559
  [""],
560
560
  ["val"],
561
561
  ["%"]
562
562
  ]
563
- ].concat(n));
564
- e ? e(i) : t({
565
- csvContent: i,
566
- title: M.value.style.chart.title.text || "vue-ui-rings"
563
+ ].concat(n), a = r(i);
564
+ e ? e(a) : t({
565
+ csvContent: a,
566
+ title: j.value.style.chart.title.text || "vue-ui-rings"
567
567
  });
568
568
  });
569
569
  }
570
- let $ = y(!1);
571
- function jn(e) {
572
- $.value = e, Pt.value += 1;
570
+ let Q = y(!1);
571
+ function An(e) {
572
+ Q.value = e, Pt.value += 1;
573
573
  }
574
- function Mn() {
574
+ function jn() {
575
575
  B.value.showTable = !B.value.showTable;
576
576
  }
577
- function Nn() {
577
+ function Mn() {
578
578
  B.value.showTooltip = !B.value.showTooltip;
579
579
  }
580
- function Pn() {
580
+ function Nn() {
581
581
  B.value.showLabels = !B.value.showLabels;
582
582
  }
583
- let Fn = y(!1);
584
- function In() {
585
- Fn.value = !Fn.value;
583
+ let Pn = y(!1);
584
+ function Fn() {
585
+ Pn.value = !Pn.value;
586
586
  }
587
- async function Ln({ scale: e = 2 } = {}) {
587
+ async function In({ scale: e = 2 } = {}) {
588
588
  if (!O.value) return;
589
589
  let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
590
590
  domElement: O.value,
@@ -595,176 +595,151 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
595
595
  return {
596
596
  imageUri: i,
597
597
  base64: a,
598
- title: M.value.style.chart.title.text,
598
+ title: j.value.style.chart.title.text,
599
599
  width: t,
600
600
  height: n,
601
601
  aspectRatio: r
602
602
  };
603
603
  }
604
- let Rn = c(() => {
605
- let e = M.value.table.useDialog && !M.value.table.show, t = B.value.showTable;
604
+ let $ = c(() => {
605
+ let e = j.value.table.useDialog && !j.value.table.show, t = B.value.showTable;
606
606
  return {
607
607
  component: e ? Dt : St,
608
- title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
608
+ title: `${j.value.style.chart.title.text}${j.value.style.chart.title.subtitle.text ? `: ${j.value.style.chart.title.subtitle.text}` : ""}`,
609
609
  props: e ? {
610
- backgroundColor: M.value.table.th.backgroundColor,
611
- color: M.value.table.th.color,
612
- headerColor: M.value.table.th.color,
613
- headerBg: M.value.table.th.backgroundColor,
614
- isFullscreen: $.value,
610
+ backgroundColor: j.value.table.th.backgroundColor,
611
+ color: j.value.table.th.color,
612
+ headerColor: j.value.table.th.color,
613
+ headerBg: j.value.table.th.backgroundColor,
614
+ isFullscreen: Q.value,
615
615
  fullscreenParent: O.value,
616
616
  forcedWidth: Math.min(800, window.innerWidth * .8),
617
- isCursorPointer: P.value
617
+ isCursorPointer: N.value
618
618
  } : {
619
619
  hideDetails: !0,
620
620
  config: {
621
621
  open: t,
622
622
  maxHeight: 1e4,
623
623
  body: {
624
- backgroundColor: M.value.style.chart.backgroundColor,
625
- color: M.value.style.chart.color
624
+ backgroundColor: j.value.style.chart.backgroundColor,
625
+ color: j.value.style.chart.color
626
626
  },
627
627
  head: {
628
- backgroundColor: M.value.style.chart.backgroundColor,
629
- color: M.value.style.chart.color
628
+ backgroundColor: j.value.style.chart.backgroundColor,
629
+ color: j.value.style.chart.color
630
630
  }
631
631
  }
632
632
  }
633
633
  };
634
634
  });
635
635
  $e(() => B.value.showTable, (e) => {
636
- M.value.table.show || (e && M.value.table.useDialog && k.value ? k.value.open() : "close" in k.value && k.value.close());
636
+ j.value.table.show || (e && j.value.table.useDialog && k.value ? k.value.open() : "close" in k.value && k.value.close());
637
637
  });
638
- function zn() {
638
+ function Ln() {
639
639
  B.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
640
640
  }
641
- let Bn = c(() => G.value.map((e) => ({
641
+ let Rn = c(() => G.value.map((e) => ({
642
642
  ...e,
643
643
  name: e.display
644
- }))), Vn = c(() => M.value.style.chart.backgroundColor), Hn = c(() => M.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = be({
645
- svg: I,
646
- title: c(() => M.value.style.chart.title),
647
- legend: Hn,
648
- legendItems: Bn,
649
- backgroundColor: Vn
644
+ }))), zn = c(() => j.value.style.chart.backgroundColor), Bn = c(() => j.value.style.chart.legend), Vn = c(() => j.value.style.chart.title), { isCallbackImaging: Hn, isCallbackSvg: Un, generateSvg: Wn, onGenerateImage: Gn } = Se({
645
+ svg: F,
646
+ title: Vn,
647
+ legend: Bn,
648
+ legendItems: Rn,
649
+ backgroundColor: zn,
650
+ getSvgCallback: () => j.value.userOptions.callbacks.svg,
651
+ generateImage: sn
650
652
  });
651
- async function Gn({ isCb: e }) {
652
- Kt.value = !0, await We();
653
- try {
654
- if (e) {
655
- let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
656
- await Promise.resolve(M.value.userOptions.callbacks.svg({
657
- blob: e,
658
- url: t,
659
- text: n,
660
- dataUrl: r
661
- }));
662
- } else await Promise.resolve(Un());
663
- } finally {
664
- Kt.value = !1;
665
- }
666
- }
667
- function Kn(e) {
668
- if (e?.stage === "start") {
669
- Gt.value = !0;
670
- return;
671
- }
672
- if (e?.stage === "end") {
673
- Gt.value = !1;
674
- return;
675
- }
676
- ln();
677
- }
678
- async function qn() {
679
- if (pn("copyAlt", {
680
- config: M.value,
653
+ async function Kn() {
654
+ if (dn("copyAlt", {
655
+ config: j.value,
681
656
  dataset: q.value
682
- }), !M.value.userOptions.callbacks.altCopy) {
657
+ }), !j.value.userOptions.callbacks.altCopy) {
683
658
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
684
659
  return;
685
660
  }
686
- await Promise.resolve(M.value.userOptions.callbacks.altCopy({
687
- config: M.value,
661
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
662
+ config: j.value,
688
663
  dataset: q.value
689
664
  }));
690
665
  }
691
- function Jn() {
692
- A.value = null, Jt.value = !0;
666
+ function qn() {
667
+ A.value = null, qt.value = !0;
693
668
  }
694
- function Yn() {
695
- A.value = null, j.value = "pointer", E.value = !1, D.value = null, Jt.value = !1;
669
+ function Jn() {
670
+ A.value = null, Kt.value = "pointer", E.value = !1, D.value = null, qt.value = !1;
696
671
  }
697
- function Xn(e) {
698
- if (!I.value || Fn.value || document.activeElement !== I.value || !q.value.length || H.value.length === C.dataset.length) return;
672
+ function Yn(e) {
673
+ if (!F.value || Pn.value || document.activeElement !== F.value || !q.value.length || H.value.length === C.dataset.length) return;
699
674
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
700
675
  if (!t && !n && !r && !i) return;
701
676
  if (e.preventDefault(), e.stopPropagation(), i) {
702
- A.value = null, j.value = "pointer", E.value = !1, D.value = null;
677
+ A.value = null, Kt.value = "pointer", E.value = !1, D.value = null;
703
678
  return;
704
679
  }
705
680
  if (r) {
706
681
  if (A.value === null) return;
707
682
  let e = q.value[A.value];
708
683
  if (!e) return;
709
- Cn(e, A.value);
684
+ xn(e, A.value);
710
685
  return;
711
686
  }
712
687
  let a = A.value;
713
688
  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
689
  let ee = q.value[a];
715
- ee && (Zn(a), kn(ee, a, "keyboard"));
690
+ ee && (Xn(a), On(ee, a, "keyboard"));
716
691
  }
717
- function Zn(e) {
718
- if (!Number.isFinite(e) || !I.value) return;
692
+ function Xn(e) {
693
+ if (!Number.isFinite(e) || !F.value) return;
719
694
  let t = q.value[e];
720
695
  if (!t) return;
721
- let n = X(t, e), r = I.value.getBoundingClientRect();
722
- qt.value = {
696
+ let n = Y(t, e), r = F.value.getBoundingClientRect();
697
+ Gt.value = {
723
698
  x: r.left + n.x / V.value.width * r.width,
724
699
  y: r.top + n.y / V.value.height * r.height
725
700
  };
726
701
  }
727
- let Qn = c(() => ({
728
- headers: Q.value?.colNames ?? [],
729
- rows: Q.value?.a11yBody ?? []
702
+ let Zn = c(() => ({
703
+ headers: Z.value?.colNames ?? [],
704
+ rows: Z.value?.a11yBody ?? []
730
705
  }));
731
706
  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
707
+ getData: bn,
708
+ getImage: In,
709
+ generatePdf: on,
710
+ generateCsv: kn,
711
+ generateImage: sn,
712
+ generateSvg: Wn,
713
+ hideSeries: gn,
714
+ showSeries: hn,
715
+ toggleTable: jn,
716
+ toggleTooltip: Mn,
717
+ toggleAnnotator: Fn,
718
+ toggleFullscreen: An,
719
+ toggleLabels: Nn,
720
+ copyAlt: Kn
746
721
  }), (e, t) => (v(), d("div", {
747
722
  ref_key: "ringsChart",
748
723
  ref: O,
749
- class: h(`vue-data-ui-component vue-ui-rings ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
750
- style: _(`font-family:${M.value.style.fontFamily};text-align:center;width:100%;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
724
+ class: h(`vue-data-ui-component vue-ui-rings ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
725
+ style: _(`font-family:${j.value.style.fontFamily};text-align:center;width:100%;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
751
726
  id: `rings_${T.value}`,
752
727
  onMouseleave: t[2] ||= (e) => {
753
- D.value = null, E.value = !1, x($t)(!1);
728
+ D.value = null, E.value = !1, x(Qt)(!1);
754
729
  },
755
- onMouseenter: t[3] ||= () => x($t)(!0)
730
+ onMouseenter: t[3] ||= () => x(Qt)(!0)
756
731
  }, [
757
732
  f("div", {
758
733
  id: `chart-instructions-${T.value}`,
759
734
  class: "sr-only"
760
- }, [f("p", null, Xe(M.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
761
- Qn.value?.rows?.length ? (v(), l(Me, {
735
+ }, [f("p", null, Xe(j.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
736
+ Zn.value?.rows?.length ? (v(), l(Me, {
762
737
  key: 0,
763
738
  uid: T.value,
764
- head: Qn.value.headers,
765
- body: Qn.value.rows,
766
- notice: M.value.a11y.translations.tableAvailable,
767
- caption: M.value.a11y.translations.tableCaption
739
+ head: Zn.value.headers,
740
+ body: Zn.value.rows,
741
+ notice: j.value.a11y.translations.tableAvailable,
742
+ caption: j.value.a11y.translations.tableCaption
768
743
  }, null, 8, [
769
744
  "uid",
770
745
  "head",
@@ -772,14 +747,14 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
772
747
  "notice",
773
748
  "caption"
774
749
  ])) : u("", !0),
775
- M.value.userOptions.buttons.annotator ? (v(), l(x(wt), {
750
+ j.value.userOptions.buttons.annotator ? (v(), l(x(wt), {
776
751
  key: 1,
777
- svgRef: x(I),
778
- backgroundColor: M.value.style.chart.backgroundColor,
779
- color: M.value.style.chart.color,
780
- active: Fn.value,
781
- isCursorPointer: P.value,
782
- onClose: In
752
+ svgRef: x(F),
753
+ backgroundColor: j.value.style.chart.backgroundColor,
754
+ color: j.value.style.chart.color,
755
+ active: Pn.value,
756
+ isCursorPointer: N.value,
757
+ onClose: Fn
783
758
  }, {
784
759
  "annotator-action-close": S(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
785
760
  "annotator-action-color": S(({ color: t }) => [b(e.$slots, "annotator-action-color", g(m({ color: t })), void 0, !0)]),
@@ -795,14 +770,14 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
795
770
  "active",
796
771
  "isCursorPointer"
797
772
  ])) : u("", !0),
798
- un.value ? (v(), d("div", {
773
+ cn.value ? (v(), d("div", {
799
774
  key: 2,
800
775
  ref_key: "noTitle",
801
776
  ref: Rt,
802
777
  class: "vue-data-ui-no-title-space",
803
778
  style: "height:36px; width: 100%;background:transparent"
804
779
  }, null, 512)) : u("", !0),
805
- M.value.style.chart.title.text ? (v(), d("div", {
780
+ j.value.style.chart.title.text ? (v(), d("div", {
806
781
  key: 3,
807
782
  ref_key: "chartTitle",
808
783
  ref: Ft,
@@ -812,55 +787,55 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
812
787
  config: {
813
788
  title: {
814
789
  cy: "rings-div-title",
815
- ...M.value.style.chart.title
790
+ ...j.value.style.chart.title
816
791
  },
817
792
  subtitle: {
818
793
  cy: "rings-div-subtitle",
819
- ...M.value.style.chart.title.subtitle
794
+ ...j.value.style.chart.title.subtitle
820
795
  }
821
796
  }
822
797
  }, null, 8, ["config"]))], 512)) : u("", !0),
823
798
  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
+ j.value.userOptions.show && Mt.value && (x($t) || x(Zt)) ? (v(), l(x(Tt), {
825
800
  ref_key: "userOptionsRef",
826
801
  ref: Wt,
827
802
  key: `user_options_${Pt.value}`,
828
- backgroundColor: M.value.style.chart.backgroundColor,
829
- color: M.value.style.chart.color,
830
- isPrinting: x(on),
831
- isImaging: x(sn),
803
+ backgroundColor: j.value.style.chart.backgroundColor,
804
+ color: j.value.style.chart.color,
805
+ isPrinting: x(rn),
806
+ isImaging: x(an),
832
807
  uid: T.value,
833
- hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
834
- hasPdf: M.value.userOptions.buttons.pdf,
835
- hasXls: M.value.userOptions.buttons.csv,
836
- hasImg: M.value.userOptions.buttons.img,
837
- hasSvg: M.value.userOptions.buttons.svg,
838
- hasTable: M.value.userOptions.buttons.table,
839
- hasFullscreen: M.value.userOptions.buttons.fullscreen,
840
- hasAltCopy: M.value.userOptions.buttons.altCopy,
841
- hasLabel: M.value.userOptions.buttons.labels,
808
+ hasTooltip: j.value.userOptions.buttons.tooltip && j.value.style.chart.tooltip.show,
809
+ hasPdf: j.value.userOptions.buttons.pdf,
810
+ hasXls: j.value.userOptions.buttons.csv,
811
+ hasImg: j.value.userOptions.buttons.img,
812
+ hasSvg: j.value.userOptions.buttons.svg,
813
+ hasTable: j.value.userOptions.buttons.table,
814
+ hasFullscreen: j.value.userOptions.buttons.fullscreen,
815
+ hasAltCopy: j.value.userOptions.buttons.altCopy,
816
+ hasLabel: j.value.userOptions.buttons.labels,
842
817
  isTooltip: B.value.showTooltip,
843
- isFullscreen: $.value,
844
- titles: { ...M.value.userOptions.buttonTitles },
818
+ isFullscreen: Q.value,
819
+ titles: { ...j.value.userOptions.buttonTitles },
845
820
  chartElement: O.value,
846
- position: M.value.userOptions.position,
847
- hasAnnotator: M.value.userOptions.buttons.annotator,
848
- isAnnotation: Fn.value,
849
- callbacks: M.value.userOptions.callbacks,
850
- printScale: M.value.userOptions.print.scale,
851
- tableDialog: M.value.table.useDialog,
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" })
821
+ position: j.value.userOptions.position,
822
+ hasAnnotator: j.value.userOptions.buttons.annotator,
823
+ isAnnotation: Pn.value,
824
+ callbacks: j.value.userOptions.callbacks,
825
+ printScale: j.value.userOptions.print.scale,
826
+ tableDialog: j.value.table.useDialog,
827
+ isCursorPointer: N.value,
828
+ onToggleFullscreen: An,
829
+ onGeneratePdf: x(on),
830
+ onGenerateCsv: kn,
831
+ onGenerateImage: x(Gn),
832
+ onGenerateSvg: x(Wn),
833
+ onToggleTable: jn,
834
+ onToggleTooltip: Mn,
835
+ onToggleAnnotator: Fn,
836
+ onToggleLabels: Nn,
837
+ onCopyAlt: Kn,
838
+ style: _({ visibility: x($t) ? x(Zt) ? "visible" : "hidden" : "visible" })
864
839
  }, Be({ _: 2 }, [
865
840
  e.$slots.menuIcon ? {
866
841
  name: "menuIcon",
@@ -936,24 +911,24 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
936
911
  fn: S(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
937
912
  key: "12"
938
913
  } : void 0
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
+ ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
940
915
  f("div", it, [(v(), d("svg", {
941
916
  ref_key: "svgRef",
942
- ref: I,
917
+ ref: F,
943
918
  xmlns: x(ue),
944
919
  class: h({
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)
920
+ "vue-data-ui-fullscreen--on": Q.value,
921
+ "vue-data-ui-fulscreen--off": !Q.value,
922
+ resizing: Ht.value || x(P),
923
+ "vue-data-ui-no-transition": !x(M)
949
924
  }),
950
925
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
951
- style: _(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
926
+ style: _(`max-width:100%;overflow:hidden;background:transparent;color:${j.value.style.chart.color}`),
952
927
  "aria-describedby": `chart-instructions-${T.value}`,
953
928
  tabindex: "0",
954
- onFocus: Jn,
955
- onBlur: Yn,
956
- onKeydown: Xn
929
+ onFocus: qn,
930
+ onBlur: Jn,
931
+ onKeydown: Yn
957
932
  }, [
958
933
  He(x(Et)),
959
934
  e.$slots["chart-background"] ? (v(), d("foreignObject", {
@@ -975,7 +950,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
975
950
  key: `gradient_${T.value}_${t}`,
976
951
  stops: [[
977
952
  "0%",
978
- x(n)(x(re)(e.color, .05), 100 - M.value.style.chart.layout.rings.gradient.intensity),
953
+ x(n)(x(re)(e.color, .05), 100 - j.value.style.chart.layout.rings.gradient.intensity),
979
954
  1
980
955
  ], [
981
956
  "100%",
@@ -990,105 +965,105 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
990
965
  (v(!0), d(Re, null, qe(q.value, (t, n) => (v(), d("g", { key: `r_${t.uid}` }, [
991
966
  f("circle", {
992
967
  class: h({
993
- "vue-data-ui-transition": w.value && x(N),
994
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
968
+ "vue-data-ui-transition": w.value && x(M),
969
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
995
970
  "vue-ui-rings-opacity": D.value !== null && D.value !== n
996
971
  }),
997
972
  style: _(`animation-delay:${n * 100}ms`),
998
- stroke: M.value.style.chart.layout.rings.stroke,
999
- cx: L.value.x,
1000
- cy: Dn(t, n),
1001
- r: Y(t),
1002
- fill: M.value.style.chart.layout.rings.gradient.underlayerColor
973
+ stroke: j.value.style.chart.layout.rings.stroke,
974
+ cx: I.value.x,
975
+ cy: En(t, n),
976
+ r: Tn(t),
977
+ fill: j.value.style.chart.layout.rings.gradient.underlayerColor
1003
978
  }, null, 14, ct),
1004
979
  f("circle", {
1005
980
  class: h({
1006
- "vue-data-ui-transition": w.value && x(N),
1007
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1008
- "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
981
+ "vue-data-ui-transition": w.value && x(M),
982
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
983
+ "vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
1009
984
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1010
985
  }),
1011
986
  style: _(`animation-delay:${n * 100}ms`),
1012
- stroke: M.value.style.chart.layout.rings.stroke,
987
+ stroke: j.value.style.chart.layout.rings.stroke,
1013
988
  "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
1014
- cx: L.value.x,
1015
- cy: Dn(t, n),
1016
- r: Y(t),
1017
- fill: M.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${T.value}_${n})` : t.color
989
+ cx: I.value.x,
990
+ cy: En(t, n),
991
+ r: Tn(t),
992
+ fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${T.value}_${n})` : t.color
1018
993
  }, null, 14, lt),
1019
994
  e.$slots.pattern ? (v(), d("circle", {
1020
995
  key: 0,
1021
996
  class: h({
1022
- "vue-data-ui-transition": w.value && x(N),
1023
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1024
- "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
997
+ "vue-data-ui-transition": w.value && x(M),
998
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
999
+ "vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
1025
1000
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1026
1001
  }),
1027
1002
  style: _(`animation-delay:${n * 100}ms`),
1028
- stroke: M.value.style.chart.layout.rings.stroke,
1003
+ stroke: j.value.style.chart.layout.rings.stroke,
1029
1004
  "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
1030
- cx: L.value.x,
1031
- cy: Dn(t, n),
1032
- r: Y(t),
1005
+ cx: I.value.x,
1006
+ cy: En(t, n),
1007
+ r: Tn(t),
1033
1008
  fill: `url(#pattern_${T.value}_${t.absoluteIndex})`
1034
1009
  }, null, 14, ut)) : u("", !0),
1035
1010
  f("circle", {
1036
1011
  stroke: "none",
1037
- cx: L.value.x,
1038
- cy: Dn(t, n),
1039
- r: Y(t),
1012
+ cx: I.value.x,
1013
+ cy: En(t, n),
1014
+ r: Tn(t),
1040
1015
  fill: "transparent",
1041
- onMouseenter: (e) => kn(t, n, "pointer"),
1042
- onMouseleave: (e) => wn(t, n),
1043
- onClick: (e) => Cn(t, n)
1016
+ onMouseenter: (e) => On(t, n, "pointer"),
1017
+ onMouseleave: (e) => Sn(t, n),
1018
+ onClick: (e) => xn(t, n)
1044
1019
  }, null, 40, dt),
1045
1020
  B.value.showLabels ? (v(), d(Re, { key: 1 }, [
1046
1021
  f("rect", {
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),
1050
- height: M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1051
- fill: M.value.style.chart.layout.labels.dataLabels.markers.stroke,
1052
- rx: M.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1022
+ x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(t, n).x : I.value.x,
1023
+ y: Y(t, n).y - j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
1024
+ width: Math.abs(I.value.x - Y(t, n).x),
1025
+ height: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1026
+ fill: j.value.style.chart.layout.labels.dataLabels.markers.stroke,
1027
+ rx: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
1053
1028
  class: h({
1054
- "vue-data-ui-transition": w.value && x(N),
1055
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1056
- "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1029
+ "vue-data-ui-transition": w.value && x(M),
1030
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
1031
+ "vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
1057
1032
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1058
1033
  })
1059
1034
  }, null, 10, ft),
1060
1035
  f("circle", {
1061
- cx: X(t, n).x,
1062
- cy: X(t, n).y,
1063
- r: M.value.style.chart.layout.labels.dataLabels.markers.radius,
1036
+ cx: Y(t, n).x,
1037
+ cy: Y(t, n).y,
1038
+ r: j.value.style.chart.layout.labels.dataLabels.markers.radius,
1064
1039
  fill: t.color,
1065
- stroke: M.value.style.chart.backgroundColor,
1040
+ stroke: j.value.style.chart.backgroundColor,
1066
1041
  class: h({
1067
- "vue-data-ui-transition": w.value && x(N),
1068
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1069
- "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1042
+ "vue-data-ui-transition": w.value && x(M),
1043
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
1044
+ "vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
1070
1045
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1071
1046
  })
1072
1047
  }, null, 10, pt),
1073
1048
  f("text", {
1074
- "text-anchor": M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
1075
- "font-size": M.value.style.chart.layout.labels.dataLabels.fontSize,
1076
- fill: M.value.style.chart.layout.labels.dataLabels.color,
1077
- "font-weight": M.value.style.chart.layout.labels.dataLabels.bold ? "bold" : "normal",
1049
+ "text-anchor": j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
1050
+ "font-size": j.value.style.chart.layout.labels.dataLabels.fontSize,
1051
+ fill: j.value.style.chart.layout.labels.dataLabels.color,
1052
+ "font-weight": j.value.style.chart.layout.labels.dataLabels.bold ? "bold" : "normal",
1078
1053
  class: h({
1079
- "vue-data-ui-transition": w.value && x(N),
1080
- "vue-rings-item-onload": !w.value && M.value.useCssAnimation && !x(F),
1081
- "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1054
+ "vue-data-ui-transition": w.value && x(M),
1055
+ "vue-rings-item-onload": !w.value && j.value.useCssAnimation && !x(P),
1056
+ "vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
1082
1057
  "vue-ui-rings-blur": D.value !== null && D.value !== n
1083
1058
  }),
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),
1059
+ transform: `translate(${Y(t, n).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX - 6 : j.value.style.chart.layout.labels.dataLabels.offsetX) + 6}, ${Y(t, n).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3})`,
1060
+ onMouseenter: (e) => On(t, n, "pointer"),
1061
+ onMouseleave: (e) => Sn(t, n),
1062
+ onClick: (e) => xn(t, n),
1088
1063
  innerHTML: x(i)({
1089
- content: En(t),
1090
- fontSize: M.value.style.chart.layout.labels.dataLabels.fontSize,
1091
- fill: M.value.style.chart.layout.labels.dataLabels.color,
1064
+ content: wn(t),
1065
+ fontSize: j.value.style.chart.layout.labels.dataLabels.fontSize,
1066
+ fill: j.value.style.chart.layout.labels.dataLabels.color,
1092
1067
  x: 0,
1093
1068
  y: 0,
1094
1069
  translateY: !0
@@ -1098,41 +1073,41 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
1098
1073
  ]))), 128)),
1099
1074
  b(e.$slots, "svg", { svg: {
1100
1075
  ...V.value,
1101
- isPrintingImg: x(on) || x(sn) || Gt.value,
1102
- isPrintingSvg: Kt.value
1076
+ isPrintingImg: x(rn) || x(an) || x(Hn),
1077
+ isPrintingSvg: x(Un)
1103
1078
  } }, void 0, !0)
1104
1079
  ], 46, at)), e.$slots.hint ? (v(), d("div", ht, [b(e.$slots, "hint", g(m({
1105
- hint: M.value.a11y.translations.keyboardNavigation,
1106
- isVisible: Jt.value
1080
+ hint: j.value.a11y.translations.keyboardNavigation,
1081
+ isVisible: qt.value
1107
1082
  })), void 0, !0)])) : u("", !0)]),
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),
1083
+ e.$slots.watermark ? (v(), d("div", gt, [b(e.$slots, "watermark", g(m({ isPrinting: x(rn) || x(an) || x(Hn) || x(Un) })), void 0, !0)])) : u("", !0),
1109
1084
  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
+ Ut.value && (j.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(ze, {
1111
1086
  key: 6,
1112
- to: M.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1087
+ to: j.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1113
1088
  }, [f("div", {
1114
1089
  ref_key: "chartLegend",
1115
1090
  ref: It
1116
- }, [b(e.$slots, "legend", { legend: G.value }, () => [M.value.style.chart.legend.show ? (v(), l(Ie, {
1091
+ }, [b(e.$slots, "legend", { legend: G.value }, () => [j.value.style.chart.legend.show ? (v(), l(Ie, {
1117
1092
  key: `legend_${Vt.value}`,
1118
1093
  legendSet: G.value,
1119
- config: xn.value,
1120
- isCursorPointer: P.value,
1094
+ config: yn.value,
1095
+ isCursorPointer: N.value,
1121
1096
  onClickMarker: t[0] ||= ({ legend: e }) => U(e.uid)
1122
1097
  }, Be({
1123
- item: S(({ legend: e, index: t }) => [x(F) ? u("", !0) : (v(), d("div", {
1098
+ item: S(({ legend: e, index: t }) => [x(P) ? u("", !0) : (v(), d("div", {
1124
1099
  key: 0,
1125
1100
  onClick: (t) => U(e.uid),
1126
1101
  style: _(`opacity:${H.value.includes(e.uid) ? .5 : 1}`)
1127
1102
  }, 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
+ legendToggle: S(() => [G.value.length > 2 && j.value.style.chart.legend.selectAllToggle.show && !x(P) ? (v(), l(je, {
1129
1104
  key: 0,
1130
- backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1131
- color: M.value.style.chart.legend.selectAllToggle.color,
1132
- fontSize: M.value.style.chart.legend.fontSize,
1105
+ backgroundColor: j.value.style.chart.legend.selectAllToggle.backgroundColor,
1106
+ color: j.value.style.chart.legend.selectAllToggle.color,
1107
+ fontSize: j.value.style.chart.legend.fontSize,
1133
1108
  checked: H.value.length > 0,
1134
- isCursorPointer: P.value,
1135
- onToggle: mn
1109
+ isCursorPointer: N.value,
1110
+ onToggle: fn
1136
1111
  }, null, 8, [
1137
1112
  "backgroundColor",
1138
1113
  "color",
@@ -1166,32 +1141,32 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
1166
1141
  dir: "auto"
1167
1142
  }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1168
1143
  He(x(bt), {
1169
- teleportTo: M.value.style.chart.tooltip.teleportTo,
1144
+ teleportTo: j.value.style.chart.tooltip.teleportTo,
1170
1145
  show: B.value.showTooltip && E.value && H.value.length < C.dataset.length,
1171
- backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1172
- color: M.value.style.chart.tooltip.color,
1173
- borderRadius: M.value.style.chart.tooltip.borderRadius,
1174
- borderColor: M.value.style.chart.tooltip.borderColor,
1175
- borderWidth: M.value.style.chart.tooltip.borderWidth,
1176
- fontSize: M.value.style.chart.tooltip.fontSize,
1177
- backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
1178
- position: M.value.style.chart.tooltip.position,
1179
- offsetX: M.value.style.chart.tooltip.offsetX,
1180
- offsetY: M.value.style.chart.tooltip.offsetY,
1146
+ backgroundColor: j.value.style.chart.tooltip.backgroundColor,
1147
+ color: j.value.style.chart.tooltip.color,
1148
+ borderRadius: j.value.style.chart.tooltip.borderRadius,
1149
+ borderColor: j.value.style.chart.tooltip.borderColor,
1150
+ borderWidth: j.value.style.chart.tooltip.borderWidth,
1151
+ fontSize: j.value.style.chart.tooltip.fontSize,
1152
+ backgroundOpacity: j.value.style.chart.tooltip.backgroundOpacity,
1153
+ position: j.value.style.chart.tooltip.position,
1154
+ offsetX: j.value.style.chart.tooltip.offsetX,
1155
+ offsetY: j.value.style.chart.tooltip.offsetY,
1181
1156
  parent: O.value,
1182
1157
  content: Nt.value,
1183
- isFullscreen: $.value,
1184
- isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
1185
- smooth: M.value.style.chart.tooltip.smooth,
1186
- backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1187
- smoothForce: M.value.style.chart.tooltip.smoothForce,
1188
- smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1189
- isA11yMode: j.value === "keyboard",
1190
- a11yPosition: qt.value
1158
+ isFullscreen: Q.value,
1159
+ isCustom: j.value.style.chart.tooltip.customFormat && typeof j.value.style.chart.tooltip.customFormat == "function",
1160
+ smooth: j.value.style.chart.tooltip.smooth,
1161
+ backdropFilter: j.value.style.chart.tooltip.backdropFilter,
1162
+ smoothForce: j.value.style.chart.tooltip.smoothForce,
1163
+ smoothSnapThreshold: j.value.style.chart.tooltip.smoothSnapThreshold,
1164
+ isA11yMode: Kt.value === "keyboard",
1165
+ a11yPosition: Gt.value
1191
1166
  }, {
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)]),
1167
+ "tooltip-before": S(() => [b(e.$slots, "tooltip-before", g(m({ ...Dn.value })), void 0, !0)]),
1168
+ tooltip: S(() => [b(e.$slots, "tooltip", g(m({ ...Dn.value })), void 0, !0)]),
1169
+ "tooltip-after": S(() => [b(e.$slots, "tooltip-after", g(m({ ...Dn.value })), void 0, !0)]),
1195
1170
  _: 3
1196
1171
  }, 8, [
1197
1172
  "teleportTo",
@@ -1217,21 +1192,21 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
1217
1192
  "isA11yMode",
1218
1193
  "a11yPosition"
1219
1194
  ]),
1220
- Mt.value && M.value.userOptions.buttons.table ? (v(), l(Je(Rn.value.component), Ue({ key: 8 }, Rn.value.props, {
1195
+ Mt.value && j.value.userOptions.buttons.table ? (v(), l(Je($.value.component), Ue({ key: 8 }, $.value.props, {
1221
1196
  ref_key: "tableUnit",
1222
1197
  ref: k,
1223
- onClose: zn
1198
+ onClose: Ln
1224
1199
  }), Be({
1225
1200
  content: S(() => [(v(), l(x(Ct), {
1226
1201
  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,
1232
- withCloseButton: !M.value.table.useDialog,
1233
- isCursorPointer: P.value,
1234
- onClose: zn
1202
+ colNames: Z.value.colNames,
1203
+ head: Z.value.head,
1204
+ body: Z.value.body,
1205
+ config: Z.value.config,
1206
+ title: j.value.table.useDialog ? "" : $.value.title,
1207
+ withCloseButton: !j.value.table.useDialog,
1208
+ isCursorPointer: N.value,
1209
+ onClose: Ln
1235
1210
  }, {
1236
1211
  th: S(({ th: e }) => [f("div", {
1237
1212
  innerHTML: e,
@@ -1252,26 +1227,26 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
1252
1227
  "isCursorPointer"
1253
1228
  ]))]),
1254
1229
  _: 2
1255
- }, [M.value.table.useDialog ? {
1230
+ }, [j.value.table.useDialog ? {
1256
1231
  name: "title",
1257
- fn: S(() => [Ve(Xe(Rn.value.title), 1)]),
1232
+ fn: S(() => [Ve(Xe($.value.title), 1)]),
1258
1233
  key: "0"
1259
- } : void 0, M.value.table.useDialog ? {
1234
+ } : void 0, j.value.table.useDialog ? {
1260
1235
  name: "actions",
1261
1236
  fn: S(() => [f("button", {
1262
1237
  tabindex: "0",
1263
1238
  class: "vue-ui-user-options-button",
1264
- onClick: t[1] ||= (e) => An(M.value.userOptions.callbacks.csv),
1265
- style: _({ cursor: P.value ? "pointer" : "default" })
1239
+ onClick: t[1] ||= (e) => kn(j.value.userOptions.callbacks.csv),
1240
+ style: _({ cursor: N.value ? "pointer" : "default" })
1266
1241
  }, [He(x(xt), {
1267
1242
  name: "fileCsv",
1268
- stroke: Rn.value.props.color
1243
+ stroke: $.value.props.color
1269
1244
  }, null, 8, ["stroke"])], 4)]),
1270
1245
  key: "1"
1271
1246
  } : void 0]), 1040)) : u("", !0),
1272
- b(e.$slots, "skeleton", {}, () => [x(F) ? (v(), l(ye, { key: 0 })) : u("", !0)], !0)
1247
+ b(e.$slots, "skeleton", {}, () => [x(P) ? (v(), l(ye, { key: 0 })) : u("", !0)], !0)
1273
1248
  ], 46, tt));
1274
1249
  }
1275
- }, [["__scopeId", "data-v-31e09f14"]]);
1250
+ }, [["__scopeId", "data-v-93e9c460"]]);
1276
1251
  //#endregion
1277
1252
  export { et as n, bt as t };