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,43 +1,43 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Jt as r, Kt as i, Pt as a, R as o, Rt as s, S as ee, X as c, ct as te, i as ne, jt as re, pt as ie, q as ae, t as oe, tt as se, w as ce, xt as le } from "./lib-BuMGJ_a0.js";
2
+ import { $ as t, D as n, Jt as r, Kt as i, Pt as a, R as o, Rt as s, S as ee, X as c, ct as te, i as ne, jt as re, pt as ie, q as ae, t as oe, tt as se, w as ce, xt as le } from "./lib-Bttd6u5E.js";
3
3
  import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
- import { t as fe } from "./useConfig-BilxnBNr.js";
5
- import { t as pe } from "./usePrinter-BFvi4jVy.js";
4
+ import { t as fe } from "./useConfig-DlNpz6P8.js";
5
+ import { t as pe } from "./usePrinter-DN5bYhTG.js";
6
6
  import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as _e } from "./useNestedProp--NSEmhOH.js";
9
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as ge } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ve } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as ye } from "./useTransitions-g_zBREk2.js";
11
- import { t as be } from "./img-DIQG5q8T.js";
12
- import { n as xe } from "./Title-BODtwViI.js";
11
+ import { t as be } from "./img-Bnokohej.js";
12
+ import { n as xe } from "./Title-BE3qg9xl.js";
13
13
  import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Te } from "./BaseLegendToggle-CtAPwzr2.js";
15
+ import { t as Te } from "./BaseLegendToggle-DZVucLnv.js";
16
16
  import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as De } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as ke } from "./labelUtils-C5lnc_xc.js";
20
- import { t as Ae } from "./Legend-CQTRlzK-.js";
19
+ import { t as ke } from "./labelUtils-BeVpDvTJ.js";
20
+ import { t as Ae } from "./Legend-CQxUgOd-.js";
21
21
  import { t as je } from "./vue_ui_galaxy-Ig0cc1_h.js";
22
- import { Fragment as Me, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as ze, openBlock as y, ref as b, renderList as Be, renderSlot as x, resolveDynamicComponent as Ve, toDisplayString as S, toRefs as He, unref as C, watch as Ue, withCtx as w } from "vue";
22
+ import { Fragment as Me, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as ze, openBlock as y, ref as b, renderList as Be, renderSlot as x, resolveDynamicComponent as Ve, toDisplayString as He, toRefs as Ue, unref as S, watch as We, withCtx as C } from "vue";
23
23
  //#region src/components/vue-ui-galaxy.vue
24
- var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
24
+ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], Xe = ["width", "height"], Ze = ["id"], Qe = ["stdDeviation"], $e = [
28
+ ], Ze = ["width", "height"], Qe = ["id"], $e = ["stdDeviation"], et = [
29
29
  "d",
30
30
  "stroke",
31
31
  "stroke-width"
32
- ], et = [
32
+ ], tt = [
33
33
  "d",
34
34
  "stroke",
35
35
  "stroke-width"
36
- ], tt = ["filter"], nt = [
36
+ ], nt = ["filter"], rt = [
37
37
  "d",
38
38
  "stroke",
39
39
  "stroke-width"
40
- ], rt = [
40
+ ], it = [
41
41
  "data-a11y-serie-id",
42
42
  "d",
43
43
  "stroke-width",
@@ -45,7 +45,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
45
45
  "onMouseenter",
46
46
  "onMouseleave",
47
47
  "onClick"
48
- ], it = {
48
+ ], at = {
49
49
  key: 0,
50
50
  style: {
51
51
  position: "absolute",
@@ -55,10 +55,10 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
55
55
  },
56
56
  "data-dom-to-png-ignore": "",
57
57
  "aria-hidden": "true"
58
- }, at = {
58
+ }, ot = {
59
59
  key: 5,
60
60
  class: "vue-data-ui-watermark"
61
- }, ot = ["id"], st = ["onClick"], ct = ["innerHTML"], lt = /*#__PURE__*/ Se({
61
+ }, st = ["id"], ct = ["onClick"], lt = ["innerHTML"], ut = /*#__PURE__*/ Se({
62
62
  __name: "vue-ui-galaxy",
63
63
  props: {
64
64
  config: {
@@ -79,14 +79,14 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
79
79
  "selectDatapoint",
80
80
  "copyAlt"
81
81
  ],
82
- setup(e, { expose: Se, emit: We }) {
83
- let lt = m(() => import("./Tooltip-CMTGxeYO.js")), ut = m(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), dt = m(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), ft = m(() => import("./DataTable-D4tM9s5Y.js")), pt = m(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), mt = m(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), ht = m(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), gt = m(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_galaxy: _t } = fe(), { isThemeValid: vt, warnInvalidTheme: yt } = ve(), T = e, E = b(ae()), D = b(null), bt = b(!1), xt = b(""), O = b(null), St = b(0), Ct = b(0), wt = b(0), Tt = b(0), Et = b(null), Dt = b(null), Ot = b(null), kt = b(null), k = b(null), At = b(null), jt = b(!1), A = b(null), Mt = b(null), Nt = b(!1), j = b(!1), M = b(null), N = b(null), Pt = b({
82
+ setup(e, { expose: Se, emit: Ge }) {
83
+ let ut = m(() => import("./Tooltip-DhjyfHwz.js")), dt = m(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), ft = m(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), pt = m(() => import("./DataTable-BbKgJ5UI.js")), mt = m(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), ht = m(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), gt = m(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), _t = m(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_galaxy: vt } = fe(), { isThemeValid: yt, warnInvalidTheme: bt } = _e(), w = e, T = b(ae()), E = b(null), D = b(!1), xt = b(""), O = b(null), St = b(0), Ct = b(0), wt = b(0), Tt = b(0), Et = b(null), Dt = b(null), Ot = b(null), kt = b(null), k = b(null), A = b(null), At = b(!1), j = b(null), jt = b(null), M = b(null), N = b(null), Mt = b({
84
84
  x: 0,
85
85
  y: 0
86
- }), Ft = b("pointer"), P = b(!1), It = l(() => !!T.dataset && T.dataset.length), F = b(Kt());
86
+ }), Nt = b("pointer"), P = b(!1), Pt = l(() => !!w.dataset && w.dataset.length), F = b(Ht());
87
87
  ue({
88
88
  config: () => F.value,
89
- dataset: () => T.dataset,
89
+ dataset: () => w.dataset,
90
90
  component: "VueUiGalaxy",
91
91
  rules: [
92
92
  de.singleSeries,
@@ -105,10 +105,10 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
105
105
  }
106
106
  ]
107
107
  });
108
- let { transitionEnabled: Lt } = ye({
108
+ let { transitionEnabled: Ft } = ye({
109
109
  config: () => F.value.transitions,
110
- dataset: () => T.dataset
111
- }), I = l(() => F.value.userOptions.useCursorPointer), Rt = l(() => r({
110
+ dataset: () => w.dataset
111
+ }), I = l(() => F.value.userOptions.useCursorPointer), It = l(() => r({
112
112
  defaultConfig: {
113
113
  userOptions: { show: !1 },
114
114
  table: { show: !1 },
@@ -119,16 +119,16 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
119
119
  } }
120
120
  },
121
121
  userConfig: F.value.skeletonConfig ?? {}
122
- })), { loading: zt, FINAL_DATASET: Bt } = me({
123
- ...He(T),
122
+ })), { loading: L, FINAL_DATASET: Lt } = me({
123
+ ...Ue(w),
124
124
  FINAL_CONFIG: F,
125
- prepareConfig: Kt,
125
+ prepareConfig: Ht,
126
126
  callback: () => {
127
127
  Promise.resolve().then(async () => {
128
- await Re(), R.value.showTable = F.value.table.show;
128
+ await Re(), B.value.showTable = F.value.table.show;
129
129
  });
130
130
  },
131
- skeletonDataset: T.config?.skeletonDataset ?? [
131
+ skeletonDataset: w.config?.skeletonDataset ?? [
132
132
  {
133
133
  name: "_",
134
134
  values: [21],
@@ -147,19 +147,19 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
147
147
  ],
148
148
  skeletonConfig: r({
149
149
  defaultConfig: F.value,
150
- userConfig: Rt.value
150
+ userConfig: It.value
151
151
  })
152
152
  });
153
153
  ze(() => {
154
- jt.value = !0, Ht();
154
+ At.value = !0, Rt();
155
155
  });
156
- let Vt = l(() => !!F.value.debug);
157
- function Ht() {
158
- if (re(T.dataset) ? se({
156
+ let R = l(() => F.value.debug);
157
+ function Rt() {
158
+ if (re(w.dataset) ? se({
159
159
  componentName: "VueUiGalaxy",
160
160
  type: "dataset",
161
- debug: Vt.value
162
- }) : T.dataset.forEach((e, t) => {
161
+ debug: R.value
162
+ }) : R.value && w.dataset.forEach((e, t) => {
163
163
  ie({
164
164
  datasetObject: e,
165
165
  requiredAttributes: ["name", "values"]
@@ -168,39 +168,38 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
168
168
  componentName: "VueUiGalaxy",
169
169
  type: "datasetSerieAttribute",
170
170
  property: e,
171
- index: t,
172
- debug: Vt.value
171
+ index: t
173
172
  });
174
173
  });
175
174
  }), F.value.responsive) {
176
175
  let e = Ce(() => {
177
176
  let { width: e, height: t } = we({
178
- chart: D.value,
177
+ chart: E.value,
179
178
  title: F.value.style.chart.title.text ? Et.value : null,
180
179
  legend: F.value.style.chart.legend.show ? Dt.value : null,
181
180
  noTitle: kt.value,
182
181
  source: Ot.value
183
182
  });
184
183
  requestAnimationFrame(() => {
185
- z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
184
+ Yt.value = Math.max(.1, e), Xt.value = Math.max(.1, t - 12);
186
185
  });
187
186
  });
188
- k.value && (At.value && k.value.unobserve(At.value), k.value.disconnect()), k.value = new ResizeObserver(e), At.value = D.value.parentNode, k.value.observe(At.value);
187
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = E.value.parentNode, k.value.observe(A.value);
189
188
  }
190
189
  }
191
- let { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = De({ config: F.value }), { svgRef: L } = Oe({ config: F.value.style.chart.title });
192
- function Kt() {
193
- let e = _e({
194
- userConfig: T.config,
195
- defaultConfig: _t
190
+ let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = De({ config: F.value }), { svgRef: z } = Oe({ config: F.value.style.chart.title });
191
+ function Ht() {
192
+ let e = ge({
193
+ userConfig: w.config,
194
+ defaultConfig: vt
196
195
  }), t = e.theme;
197
196
  if (!t) return e;
198
- if (!vt.value(e)) return yt(e), e;
199
- let n = _e({
200
- userConfig: je[t] || T.config,
197
+ if (!yt.value(e)) return bt(e), e;
198
+ let n = ge({
199
+ userConfig: je[t] || w.config,
201
200
  defaultConfig: e
202
- }), r = _e({
203
- userConfig: T.config,
201
+ }), r = ge({
202
+ userConfig: w.config,
204
203
  defaultConfig: n
205
204
  });
206
205
  return {
@@ -208,51 +207,51 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
208
207
  customPalette: r.customPalette.length ? r.customPalette : i[t] || a
209
208
  };
210
209
  }
211
- Ue(() => T.config, (e) => {
212
- F.value = Kt(), Ut.value = !F.value.userOptions.showOnChartHover, Ht(), Ct.value += 1, wt.value += 1, Tt.value += 1, R.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = F.value.table.show, R.value.showTooltip = F.value.style.chart.tooltip.show;
210
+ We(() => w.config, (e) => {
211
+ F.value = Ht(), zt.value = !F.value.userOptions.showOnChartHover, Rt(), Ct.value += 1, wt.value += 1, Tt.value += 1, B.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = F.value.table.show, B.value.showTooltip = F.value.style.chart.tooltip.show;
213
212
  }, { deep: !0 });
214
- let { isPrinting: qt, isImaging: Jt, generatePdf: Yt, generateImage: Xt } = pe({
215
- elementId: `galaxy_${E.value}`,
213
+ let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = pe({
214
+ elementId: `galaxy_${T.value}`,
216
215
  fileName: F.value.style.chart.title.text || "vue-ui-galaxy",
217
216
  options: F.value.userOptions.print
218
- }), Zt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), Qt = l(() => ce(F.value.customPalette)), R = b({
217
+ }), qt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), Jt = l(() => ce(F.value.customPalette)), B = b({
219
218
  dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
220
219
  showTable: F.value.table.show,
221
220
  showTooltip: F.value.style.chart.tooltip.show
222
- }), z = b(250), B = b(180), $t = b(0), en = b(0), V = l(() => ({
223
- width: z.value,
224
- height: B.value,
225
- viewBox: `${$t.value} ${en.value} ${z.value} ${B.value}`
226
- })), tn = We, H = b([]);
227
- function nn() {
228
- tn("selectLegend", K.value.map((e) => ({
221
+ }), Yt = b(250), Xt = b(180), Zt = b(0), Qt = b(0), V = l(() => ({
222
+ width: Yt.value,
223
+ height: Xt.value,
224
+ viewBox: `${Zt.value} ${Qt.value} ${Yt.value} ${Xt.value}`
225
+ })), $t = Ge, H = b([]);
226
+ function en() {
227
+ $t("selectLegend", K.value.map((e) => ({
229
228
  name: e.name,
230
229
  color: e.color,
231
230
  value: e.value
232
231
  })));
233
232
  }
234
- function rn() {
233
+ function tn() {
235
234
  H.value.length ? H.value = [] : J.value.forEach((e) => {
236
235
  H.value.push(e.id);
237
- }), nn();
236
+ }), en();
238
237
  }
239
238
  function U(e) {
240
- H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), nn();
239
+ H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), en();
241
240
  }
242
- function an(e) {
243
- return W.value.length ? W.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null);
241
+ function nn(e) {
242
+ return W.value.length ? W.value.find((t) => t.name === e) || (R.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (R.value && console.warn("VueUiGalaxy - There are no series to show."), null);
244
243
  }
245
- function on(e) {
246
- let t = an(e);
244
+ function rn(e) {
245
+ let t = nn(e);
247
246
  t !== null && H.value.includes(t.id) && U({ id: t.id });
248
247
  }
249
- function sn(e) {
250
- let t = an(e);
248
+ function an(e) {
249
+ let t = nn(e);
251
250
  t !== null && (H.value.includes(t.id) || U({ id: t.id }));
252
251
  }
253
- let W = l(() => Bt.value.map((e, t) => ({
252
+ let W = l(() => Lt.value.map((e, t) => ({
254
253
  name: e.name,
255
- color: ee(e.color) || Qt.value[t] || a[t] || a[t % a.length],
254
+ color: ee(e.color) || Jt.value[t] || a[t] || a[t % a.length],
256
255
  value: e.values ? s(e.values).reduce((e, t) => e + t, 0) : 0,
257
256
  absoluteValues: s(e.values),
258
257
  id: ae()
@@ -260,15 +259,15 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
260
259
  ...e,
261
260
  absoluteIndex: t
262
261
  })));
263
- function cn() {
262
+ function on() {
264
263
  return W.value.map((e) => ({
265
264
  name: e.name,
266
265
  color: e.color,
267
266
  value: e.value
268
267
  }));
269
268
  }
270
- let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), ln = b(190), un = l(() => W.value.filter((e) => !H.value.includes(e.id))), dn = l(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), fn = l(() => o({
271
- maxPoints: ln.value,
269
+ let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), sn = b(190), cn = l(() => W.value.filter((e) => !H.value.includes(e.id))), ln = l(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), un = l(() => o({
270
+ maxPoints: sn.value,
272
271
  a: F.value.style.chart.layout.arcs.a ?? 6,
273
272
  b: F.value.style.chart.layout.arcs.b ?? 6,
274
273
  angleStep: F.value.style.chart.layout.arcs.angleStep ?? .07,
@@ -276,23 +275,23 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
276
275
  startY: V.value.height / 2 + F.value.style.chart.layout.arcs.offsetY,
277
276
  boxWidth: V.value.width,
278
277
  boxHeight: V.value.height,
279
- padding: dn.value
278
+ padding: ln.value
280
279
  })), K = l(() => {
281
280
  let e = [];
282
- for (let t = 0; t < un.value.length; t += 1) {
283
- let n = un.value[t], r = n.value / G.value * ln.value + (t > 0 && e.length ? e[t - 1].points : 0);
281
+ for (let t = 0; t < cn.value.length; t += 1) {
282
+ let n = cn.value[t], r = n.value / G.value * sn.value + (t > 0 && e.length ? e[t - 1].points : 0);
284
283
  e.push({
285
284
  points: r,
286
285
  ...n,
287
286
  seriesIndex: t,
288
287
  proportion: n.value / G.value,
289
- path: fn.value(r)
288
+ path: un.value(r)
290
289
  });
291
290
  }
292
291
  return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
293
292
  });
294
- function pn(e) {
295
- let t = Math.min(z.value, B.value), n = O.value === e.id && F.value.style.chart.layout.arcs.hoverEffect.show ? F.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) * n, i = F.value.style.chart.layout.arcs.strokeWidth * n, a = F.value.style.chart.layout.arcs.strokeWidth / 2 * n;
293
+ function dn(e) {
294
+ let t = Math.min(Yt.value, Xt.value), n = O.value === e.id && F.value.style.chart.layout.arcs.hoverEffect.show ? F.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) * n, i = F.value.style.chart.layout.arcs.strokeWidth * n, a = F.value.style.chart.layout.arcs.strokeWidth / 2 * n;
296
295
  return {
297
296
  border: r / 180 * t,
298
297
  path: i / 180 * t,
@@ -300,36 +299,36 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
300
299
  };
301
300
  }
302
301
  let q = b(!1);
303
- function mn(e) {
302
+ function fn(e) {
304
303
  q.value = e, St.value += 1;
305
304
  }
306
- let hn = b(null);
307
- function gn() {
308
- bt.value = !1, O.value = null, M.value = null, N.value = null;
305
+ let pn = b(null);
306
+ function mn() {
307
+ D.value = !1, O.value = null, M.value = null, N.value = null;
309
308
  }
310
- function _n(e) {
311
- if (!L.value || !e) return;
312
- let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
309
+ function hn(e) {
310
+ if (!z.value || !e) return;
311
+ let t = z.value.querySelector(`[data-a11y-serie-id="${e}"]`);
313
312
  if (!t) return;
314
313
  let n = t.getBoundingClientRect();
315
- Pt.value = {
314
+ Mt.value = {
316
315
  x: n.left + n.width / 2,
317
316
  y: n.top + n.height / 2
318
317
  };
319
318
  }
320
- function vn(e) {
319
+ function gn(e) {
321
320
  F.value.events.datapointLeave && F.value.events.datapointLeave({
322
321
  datapoint: e,
323
322
  seriesIndex: e.absoluteIndex
324
- }), !(N.value === e.id && Ft.value === "keyboard") && (bt.value = !1, O.value = null);
323
+ }), (N.value !== e.id || Nt.value !== "keyboard") && (D.value = !1, O.value = null);
325
324
  }
326
- function yn(e) {
327
- tn("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
325
+ function _n(e) {
326
+ $t("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
328
327
  datapoint: e,
329
328
  seriesIndex: e.absoluteIndex
330
329
  });
331
330
  }
332
- function bn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
331
+ function vn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
333
332
  let i = F.value.style.chart.layout.labels.dataLabels;
334
333
  return ke({
335
334
  config: i,
@@ -339,17 +338,17 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
339
338
  showPercentage: r
340
339
  });
341
340
  }
342
- function xn({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
341
+ function yn({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
343
342
  if (F.value.events.datapointEnter && F.value.events.datapointEnter({
344
343
  datapoint: e,
345
344
  seriesIndex: e.absoluteIndex
346
- }), !R.value.showTooltip) return;
347
- Ft.value = i, M.value = a, N.value = e.id, hn.value = {
345
+ }), !B.value.showTooltip) return;
346
+ Nt.value = i, M.value = a, N.value = e.id, pn.value = {
348
347
  datapoint: e,
349
348
  seriesIndex: n,
350
349
  series: W.value,
351
350
  config: F.value
352
- }, bt.value = r, O.value = e.id;
351
+ }, D.value = r, O.value = e.id;
353
352
  let o = "", s = F.value.style.chart.tooltip.customFormat;
354
353
  le(s) && te(() => s({
355
354
  seriesIndex: n,
@@ -361,7 +360,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
361
360
  datapoint: e,
362
361
  series: W.value,
363
362
  config: F.value
364
- }) : (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${bn({
363
+ }) : (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${vn({
365
364
  showVal: F.value.style.chart.tooltip.showValue,
366
365
  showPercentage: F.value.style.chart.tooltip.showPercentage,
367
366
  val: ne(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
@@ -379,7 +378,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
379
378
  r: F.value.style.chart.tooltip.roundingPercentage
380
379
  })
381
380
  })}</b></div>`, xt.value = `<div>${o}</div>`), i === "keyboard" && Re(() => {
382
- _n(e.id);
381
+ hn(e.id);
383
382
  });
384
383
  }
385
384
  let J = l(() => W.value.map((e, t) => {
@@ -395,7 +394,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
395
394
  v: e.value / G.value * 100,
396
395
  s: "%",
397
396
  r: F.value.style.chart.legend.roundingPercentage
398
- }), i = bn({
397
+ }), i = vn({
399
398
  showVal: F.value.style.chart.legend.showValue,
400
399
  showPercentage: F.value.style.chart.legend.showPercentage,
401
400
  val: n,
@@ -403,14 +402,14 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
403
402
  });
404
403
  return {
405
404
  ...e,
406
- proportion: (e.value || 0) / Bt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
405
+ proportion: (e.value || 0) / Lt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
407
406
  opacity: H.value.includes(e.id) ? .5 : 1,
408
407
  shape: e.shape || "circle",
409
408
  segregate: () => U(e),
410
409
  isSegregated: H.value.includes(e.id),
411
410
  display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${i}`
412
411
  };
413
- })), Sn = l(() => ({
412
+ })), bn = l(() => ({
414
413
  cy: "galaxy-div-legend",
415
414
  backgroundColor: F.value.style.chart.legend.backgroundColor,
416
415
  color: F.value.style.chart.legend.color,
@@ -424,13 +423,13 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
424
423
  })),
425
424
  body: K.value.map((e) => e.value)
426
425
  }));
427
- function Cn(e = null) {
426
+ function xn(e = null) {
428
427
  Re(() => {
429
428
  let r = Y.value.head.map((e, t) => [
430
429
  [e.name],
431
430
  [Y.value.body[t]],
432
431
  [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
433
- ]), i = n([
432
+ ]), i = [
434
433
  [F.value.style.chart.title.text],
435
434
  [F.value.style.chart.title.subtitle.text],
436
435
  [
@@ -438,9 +437,9 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
438
437
  ["val"],
439
438
  ["%"]
440
439
  ]
441
- ].concat(r));
442
- e ? e(i) : t({
443
- csvContent: i,
440
+ ].concat(r), a = n(i);
441
+ e ? e(a) : t({
442
+ csvContent: a,
444
443
  title: F.value.style.chart.title.text || "vue-ui-galaxy"
445
444
  });
446
445
  });
@@ -498,20 +497,20 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
498
497
  config: n
499
498
  };
500
499
  });
501
- function wn() {
502
- R.value.showTable = !R.value.showTable;
500
+ function Sn() {
501
+ B.value.showTable = !B.value.showTable;
503
502
  }
504
- function Tn() {
505
- R.value.showTooltip = !R.value.showTooltip;
503
+ function Cn() {
504
+ B.value.showTooltip = !B.value.showTooltip;
506
505
  }
507
506
  let Z = b(!1);
508
- function En() {
507
+ function wn() {
509
508
  Z.value = !Z.value;
510
509
  }
511
- async function Dn({ scale: e = 2 } = {}) {
512
- if (!D.value) return;
513
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
514
- domElement: D.value,
510
+ async function Tn({ scale: e = 2 } = {}) {
511
+ if (!E.value) return;
512
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
513
+ domElement: E.value,
515
514
  base64: !0,
516
515
  img: !0,
517
516
  scale: e
@@ -526,9 +525,9 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
526
525
  };
527
526
  }
528
527
  let Q = l(() => {
529
- let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
528
+ let e = F.value.table.useDialog && !F.value.table.show, t = B.value.showTable;
530
529
  return {
531
- component: e ? gt : dt,
530
+ component: e ? _t : ft,
532
531
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
533
532
  props: e ? {
534
533
  backgroundColor: F.value.table.th.backgroundColor,
@@ -536,7 +535,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
536
535
  headerColor: F.value.table.th.color,
537
536
  headerBg: F.value.table.th.backgroundColor,
538
537
  isFullscreen: q.value,
539
- fullscreenParent: D.value,
538
+ fullscreenParent: E.value,
540
539
  forcedWidth: Math.min(500, window.innerWidth * .8),
541
540
  isCursorPointer: I.value
542
541
  } : {
@@ -556,51 +555,26 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
556
555
  }
557
556
  };
558
557
  });
559
- Ue(() => R.value.showTable, (e) => {
560
- F.value.table.show || (e && F.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
558
+ We(() => B.value.showTable, (e) => {
559
+ F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
561
560
  });
562
- function On() {
563
- R.value.showTable = !1, Mt.value && Mt.value.setTableIconState(!1);
561
+ function En() {
562
+ B.value.showTable = !1, jt.value && jt.value.setTableIconState(!1);
564
563
  }
565
- let kn = l(() => J.value.map((e) => ({
564
+ let Dn = l(() => J.value.map((e) => ({
566
565
  ...e,
567
566
  name: e.display
568
- }))), An = l(() => F.value.style.chart.backgroundColor), jn = l(() => F.value.style.chart.legend), { exportSvg: Mn, getSvg: Nn } = ge({
569
- svg: L,
570
- title: l(() => F.value.style.chart.title),
571
- legend: jn,
572
- legendItems: kn,
573
- backgroundColor: An
567
+ }))), On = l(() => F.value.style.chart.backgroundColor), kn = l(() => F.value.style.chart.legend), An = l(() => F.value.style.chart.title), { isCallbackImaging: jn, isCallbackSvg: Mn, generateSvg: Nn, onGenerateImage: Pn } = ve({
568
+ svg: z,
569
+ title: An,
570
+ legend: kn,
571
+ legendItems: Dn,
572
+ backgroundColor: On,
573
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
574
+ generateImage: Kt
574
575
  });
575
- async function Pn({ isCb: e }) {
576
- j.value = !0, await Re();
577
- try {
578
- if (e) {
579
- let { blob: e, url: t, text: n, dataUrl: r } = await Nn();
580
- await Promise.resolve(F.value.userOptions.callbacks.svg({
581
- blob: e,
582
- url: t,
583
- text: n,
584
- dataUrl: r
585
- }));
586
- } else await Promise.resolve(Mn());
587
- } finally {
588
- j.value = !1;
589
- }
590
- }
591
- function Fn(e) {
592
- if (e?.stage === "start") {
593
- Nt.value = !0;
594
- return;
595
- }
596
- if (e?.stage === "end") {
597
- Nt.value = !1;
598
- return;
599
- }
600
- Xt();
601
- }
602
- async function In() {
603
- if (tn("copyAlt", {
576
+ async function Fn() {
577
+ if ($t("copyAlt", {
604
578
  config: F.value,
605
579
  dataset: W.value
606
580
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -612,31 +586,31 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
612
586
  dataset: W.value
613
587
  }));
614
588
  }
615
- function Ln() {
589
+ function In() {
616
590
  M.value = null, N.value = null, P.value = !0;
617
591
  }
618
- function Rn() {
619
- gn(), P.value = !1;
592
+ function Ln() {
593
+ mn(), P.value = !1;
620
594
  }
621
- function zn(e) {
622
- if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
595
+ function Rn(e) {
596
+ if (!z.value || Z.value || document.activeElement !== z.value || !$.value.length) return;
623
597
  let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
624
598
  if (!t && !n && !r && !i) return;
625
599
  if (e.preventDefault(), e.stopPropagation(), i) {
626
- gn();
600
+ mn();
627
601
  return;
628
602
  }
629
603
  if (r) {
630
604
  if (M.value === null) return;
631
605
  let e = $.value[M.value];
632
606
  if (!e) return;
633
- yn(e.datapoint);
607
+ _n(e.datapoint);
634
608
  return;
635
609
  }
636
610
  let a = M.value;
637
611
  a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0));
638
612
  let o = $.value[a];
639
- o && xn({
613
+ o && yn({
640
614
  datapoint: o.datapoint,
641
615
  seriesIndex: o.datapoint.seriesIndex,
642
616
  show: !0,
@@ -644,7 +618,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
644
618
  flatIndex: a
645
619
  });
646
620
  }
647
- let Bn = l(() => ({
621
+ let zn = l(() => ({
648
622
  headers: X.value?.colNames ?? [],
649
623
  rows: X.value?.body ?? []
650
624
  })), $ = l(() => K.value.map((e, t) => ({
@@ -652,39 +626,39 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
652
626
  index: t
653
627
  })));
654
628
  return Se({
655
- getData: cn,
656
- getImage: Dn,
657
- generatePdf: Yt,
658
- generateCsv: Cn,
659
- generateImage: Xt,
660
- generateSvg: Pn,
661
- hideSeries: sn,
662
- showSeries: on,
663
- toggleTable: wn,
664
- toggleTooltip: Tn,
665
- toggleAnnotator: En,
666
- toggleFullscreen: mn,
667
- copyAlt: In
629
+ getData: on,
630
+ getImage: Tn,
631
+ generatePdf: Gt,
632
+ generateCsv: xn,
633
+ generateImage: Kt,
634
+ generateSvg: Nn,
635
+ hideSeries: an,
636
+ showSeries: rn,
637
+ toggleTable: Sn,
638
+ toggleTooltip: Cn,
639
+ toggleAnnotator: wn,
640
+ toggleFullscreen: fn,
641
+ copyAlt: Fn
668
642
  }), (e, t) => (y(), f("div", {
669
643
  ref_key: "galaxyChart",
670
- ref: D,
671
- class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${C(zt) ? "loading" : ""}`),
644
+ ref: E,
645
+ class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${S(L) ? "loading" : ""}`),
672
646
  style: v(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
673
- id: `galaxy_${E.value}`,
674
- onMouseenter: t[2] ||= () => C(Wt)(!0),
647
+ id: `galaxy_${T.value}`,
648
+ onMouseenter: t[2] ||= () => S(Bt)(!0),
675
649
  onMouseleave: t[3] ||= () => {
676
- C(Wt)(!1), P.value || gn();
650
+ S(Bt)(!1), P.value || mn();
677
651
  }
678
652
  }, [
679
653
  p("div", {
680
- id: `chart-instructions-${E.value}`,
654
+ id: `chart-instructions-${T.value}`,
681
655
  class: "sr-only"
682
- }, [p("p", null, S(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
683
- Bn.value?.rows?.length ? (y(), u(Ee, {
656
+ }, [p("p", null, He(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
657
+ zn.value?.rows?.length ? (y(), u(Ee, {
684
658
  key: 0,
685
- uid: E.value,
686
- head: Bn.value.headers,
687
- body: Bn.value.rows,
659
+ uid: T.value,
660
+ head: zn.value.headers,
661
+ body: zn.value.rows,
688
662
  notice: F.value.a11y.translations.tableAvailable,
689
663
  caption: F.value.a11y.translations.tableCaption
690
664
  }, null, 8, [
@@ -694,21 +668,21 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
694
668
  "notice",
695
669
  "caption"
696
670
  ])) : d("", !0),
697
- F.value.userOptions.buttons.annotator ? (y(), u(C(pt), {
671
+ F.value.userOptions.buttons.annotator ? (y(), u(S(mt), {
698
672
  key: 1,
699
- svgRef: C(L),
673
+ svgRef: S(z),
700
674
  backgroundColor: F.value.style.chart.backgroundColor,
701
675
  color: F.value.style.chart.color,
702
676
  active: Z.value,
703
677
  isCursorPointer: I.value,
704
- onClose: En
678
+ onClose: wn
705
679
  }, {
706
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
707
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
708
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
709
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
710
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
711
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
680
+ "annotator-action-close": C(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
681
+ "annotator-action-color": C(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
682
+ "annotator-action-draw": C(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
683
+ "annotator-action-undo": C(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
684
+ "annotator-action-redo": C(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
685
+ "annotator-action-delete": C(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
712
686
  _: 3
713
687
  }, 8, [
714
688
  "svgRef",
@@ -717,7 +691,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
717
691
  "active",
718
692
  "isCursorPointer"
719
693
  ])) : d("", !0),
720
- Zt.value ? (y(), f("div", {
694
+ qt.value ? (y(), f("div", {
721
695
  key: 2,
722
696
  ref_key: "noTitle",
723
697
  ref: kt,
@@ -742,16 +716,16 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
742
716
  }
743
717
  }
744
718
  }, null, 8, ["config"]))], 512)) : d("", !0),
745
- p("div", { id: `legend-top-${E.value}` }, null, 8, qe),
746
- F.value.userOptions.show && It.value && (C(Gt) || C(Ut)) ? (y(), u(C(mt), {
719
+ p("div", { id: `legend-top-${T.value}` }, null, 8, Je),
720
+ F.value.userOptions.show && Pt.value && (S(Vt) || S(zt)) ? (y(), u(S(ht), {
747
721
  ref_key: "userOptionsRef",
748
- ref: Mt,
722
+ ref: jt,
749
723
  key: `user_option_${St.value}`,
750
724
  backgroundColor: F.value.style.chart.backgroundColor,
751
725
  color: F.value.style.chart.color,
752
- isPrinting: C(qt),
753
- isImaging: C(Jt),
754
- uid: E.value,
726
+ isPrinting: S(Ut),
727
+ isImaging: S(Wt),
728
+ uid: T.value,
755
729
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
756
730
  hasPdf: F.value.userOptions.buttons.pdf,
757
731
  hasXls: F.value.userOptions.buttons.csv,
@@ -760,10 +734,10 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
760
734
  hasTable: F.value.userOptions.buttons.table,
761
735
  hasFullscreen: F.value.userOptions.buttons.fullscreen,
762
736
  hasAltCopy: F.value.userOptions.buttons.altCopy,
763
- isTooltip: R.value.showTooltip,
737
+ isTooltip: B.value.showTooltip,
764
738
  isFullscreen: q.value,
765
739
  titles: { ...F.value.userOptions.buttonTitles },
766
- chartElement: D.value,
740
+ chartElement: E.value,
767
741
  position: F.value.userOptions.position,
768
742
  hasAnnotator: F.value.userOptions.buttons.annotator,
769
743
  isAnnotation: Z.value,
@@ -771,20 +745,20 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
771
745
  printScale: F.value.userOptions.print.scale,
772
746
  tableDialog: F.value.table.useDialog,
773
747
  isCursorPointer: I.value,
774
- onToggleFullscreen: mn,
775
- onGeneratePdf: C(Yt),
776
- onGenerateCsv: Cn,
777
- onGenerateImage: Fn,
778
- onGenerateSvg: Pn,
779
- onToggleTable: wn,
780
- onToggleTooltip: Tn,
781
- onToggleAnnotator: En,
782
- onCopyAlt: In,
783
- style: v({ visibility: C(Gt) ? C(Ut) ? "visible" : "hidden" : "visible" })
748
+ onToggleFullscreen: fn,
749
+ onGeneratePdf: S(Gt),
750
+ onGenerateCsv: xn,
751
+ onGenerateImage: S(Pn),
752
+ onGenerateSvg: S(Nn),
753
+ onToggleTable: Sn,
754
+ onToggleTooltip: Cn,
755
+ onToggleAnnotator: wn,
756
+ onCopyAlt: Fn,
757
+ style: v({ visibility: S(Vt) ? S(zt) ? "visible" : "hidden" : "visible" })
784
758
  }, Pe({ _: 2 }, [
785
759
  e.$slots.menuIcon ? {
786
760
  name: "menuIcon",
787
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
761
+ fn: C(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
788
762
  isOpen: t,
789
763
  color: n
790
764
  })), void 0, !0)]),
@@ -792,37 +766,37 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
792
766
  } : void 0,
793
767
  e.$slots.optionTooltip ? {
794
768
  name: "optionTooltip",
795
- fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
769
+ fn: C(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
796
770
  key: "1"
797
771
  } : void 0,
798
772
  e.$slots.optionPdf ? {
799
773
  name: "optionPdf",
800
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
774
+ fn: C(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
801
775
  key: "2"
802
776
  } : void 0,
803
777
  e.$slots.optionCsv ? {
804
778
  name: "optionCsv",
805
- fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
779
+ fn: C(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
806
780
  key: "3"
807
781
  } : void 0,
808
782
  e.$slots.optionImg ? {
809
783
  name: "optionImg",
810
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
784
+ fn: C(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
811
785
  key: "4"
812
786
  } : void 0,
813
787
  e.$slots.optionSvg ? {
814
788
  name: "optionSvg",
815
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
789
+ fn: C(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
816
790
  key: "5"
817
791
  } : void 0,
818
792
  e.$slots.optionTable ? {
819
793
  name: "optionTable",
820
- fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
794
+ fn: C(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
821
795
  key: "6"
822
796
  } : void 0,
823
797
  e.$slots.optionFullscreen ? {
824
798
  name: "optionFullscreen",
825
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
799
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
826
800
  toggleFullscreen: t,
827
801
  isFullscreen: n
828
802
  })), void 0, !0)]),
@@ -830,7 +804,7 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
830
804
  } : void 0,
831
805
  e.$slots.optionAnnotator ? {
832
806
  name: "optionAnnotator",
833
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
807
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
834
808
  toggleAnnotator: t,
835
809
  isAnnotator: n
836
810
  })), void 0, !0)]),
@@ -838,25 +812,25 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
838
812
  } : void 0,
839
813
  e.$slots.optionAltCopy ? {
840
814
  name: "optionAltCopy",
841
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
815
+ fn: C(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
842
816
  key: "9"
843
817
  } : void 0,
844
818
  e.$slots["custom-menu-before"] ? {
845
819
  name: "custom-menu-before",
846
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
820
+ fn: C(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
847
821
  key: "10"
848
822
  } : void 0,
849
823
  e.$slots["custom-menu-after"] ? {
850
824
  name: "custom-menu-after",
851
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
825
+ fn: C(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
852
826
  key: "11"
853
827
  } : void 0
854
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
855
- p("div", Je, [(y(), f("svg", {
828
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
829
+ p("div", Ye, [(y(), f("svg", {
856
830
  ref_key: "svgRef",
857
- ref: L,
858
- xmlns: C(oe),
859
- "aria-describedby": `chart-instructions-${E.value}`,
831
+ ref: z,
832
+ xmlns: S(oe),
833
+ "aria-describedby": `chart-instructions-${T.value}`,
860
834
  class: g({
861
835
  "vue-data-ui-fullscreen--on": q.value,
862
836
  "vue-data-ui-fulscreen--off": !q.value
@@ -864,11 +838,11 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
864
838
  viewBox: V.value.viewBox,
865
839
  style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
866
840
  tabindex: "0",
867
- onFocus: Ln,
868
- onBlur: Rn,
869
- onKeydown: zn
841
+ onFocus: In,
842
+ onBlur: Ln,
843
+ onKeydown: Rn
870
844
  }, [
871
- Ie(C(ht)),
845
+ Ie(S(gt)),
872
846
  e.$slots["chart-background"] ? (y(), f("foreignObject", {
873
847
  key: 0,
874
848
  x: 0,
@@ -876,9 +850,9 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
876
850
  width: V.value.width,
877
851
  height: V.value.height,
878
852
  style: { pointerEvents: "none" }
879
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : d("", !0),
853
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
880
854
  p("defs", null, [p("filter", {
881
- id: `blur_${E.value}`,
855
+ id: `blur_${T.value}`,
882
856
  x: "-50%",
883
857
  y: "-50%",
884
858
  width: "200%",
@@ -886,44 +860,44 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
886
860
  }, [p("feGaussianBlur", {
887
861
  in: "SourceGraphic",
888
862
  stdDeviation: 100 / F.value.style.chart.layout.arcs.gradient.intensity
889
- }, null, 8, Qe)], 8, Ze)]),
863
+ }, null, 8, $e)], 8, Qe)]),
890
864
  (y(!0), f(Me, null, Be(K.value, (e) => (y(), f("g", { key: `dp_${e.id}` }, [
891
865
  e.value ? (y(), f("path", {
892
866
  key: 0,
893
867
  d: e.path,
894
868
  fill: "none",
895
869
  stroke: F.value.style.chart.backgroundColor,
896
- "stroke-width": pn(e).border,
897
- class: g({ "vue-data-ui-transition": C(Lt) }),
870
+ "stroke-width": dn(e).border,
871
+ class: g({ "vue-data-ui-transition": S(Ft) }),
898
872
  "stroke-linecap": "round"
899
- }, null, 10, $e)) : d("", !0),
873
+ }, null, 10, et)) : d("", !0),
900
874
  e.value ? (y(), f("path", {
901
875
  key: 1,
902
876
  d: e.path,
903
877
  fill: "none",
904
878
  stroke: e.color,
905
- "stroke-width": pn(e).path,
879
+ "stroke-width": dn(e).path,
906
880
  "stroke-linecap": "round",
907
881
  class: g({
908
- "vue-data-ui-transition": C(Lt),
882
+ "vue-data-ui-transition": S(Ft),
909
883
  "vue-ui-galaxy-blur": O.value && O.value !== e.id && F.value.useBlurOnHover
910
884
  })
911
- }, null, 10, et)) : d("", !0),
885
+ }, null, 10, tt)) : d("", !0),
912
886
  e.value && F.value.style.chart.layout.arcs.gradient.show ? (y(), f("g", {
913
887
  key: 2,
914
- filter: `url(#blur_${E.value})`
888
+ filter: `url(#blur_${T.value})`
915
889
  }, [p("path", {
916
890
  d: e.path,
917
891
  fill: "none",
918
892
  stroke: F.value.style.chart.layout.arcs.gradient.color,
919
- "stroke-width": pn(e).blur,
893
+ "stroke-width": dn(e).blur,
920
894
  "stroke-linecap": "round",
921
895
  class: g({
922
896
  "vue-ui-galaxy-gradient": !0,
923
- "vue-data-ui-transition": C(Lt),
897
+ "vue-data-ui-transition": S(Ft),
924
898
  "vue-ui-galaxy-blur": O.value && O.value !== e.id && F.value.useBlurOnHover
925
899
  })
926
- }, null, 10, nt)], 8, tt)) : d("", !0)
900
+ }, null, 10, rt)], 8, nt)) : d("", !0)
927
901
  ]))), 128)),
928
902
  (y(!0), f(Me, null, Be(K.value, (e, t) => (y(), f("g", null, [e.value ? (y(), f("path", {
929
903
  key: 0,
@@ -933,13 +907,13 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
933
907
  stroke: "transparent",
934
908
  "stroke-width": F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth,
935
909
  "stroke-linecap": "round",
936
- "aria-label": `${e.name}: ${C(c)({
910
+ "aria-label": `${e.name}: ${S(c)({
937
911
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
938
912
  v: e.value,
939
913
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
940
914
  r: F.value.style.chart.tooltip.roundingValue
941
915
  })}`,
942
- onMouseenter: (n) => xn({
916
+ onMouseenter: (n) => yn({
943
917
  datapoint: e,
944
918
  relativeIndex: t,
945
919
  seriesIndex: e.seriesIndex,
@@ -947,44 +921,44 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
947
921
  triggerMode: "pointer",
948
922
  flatIndex: t
949
923
  }),
950
- onMouseleave: (t) => vn(e),
951
- onClick: (t) => yn(e)
952
- }, null, 40, rt)) : d("", !0)]))), 256)),
924
+ onMouseleave: (t) => gn(e),
925
+ onClick: (t) => _n(e)
926
+ }, null, 40, it)) : d("", !0)]))), 256)),
953
927
  x(e.$slots, "svg", { svg: {
954
928
  ...V.value,
955
- isPrintingImg: C(qt) || C(Jt) || Nt.value,
956
- isPrintingSvg: j.value
929
+ isPrintingImg: S(Ut) || S(Wt) || S(jn),
930
+ isPrintingSvg: S(Mn)
957
931
  } }, void 0, !0)
958
- ], 46, Ye)), e.$slots.hint ? (y(), f("div", it, [x(e.$slots, "hint", _(h({
932
+ ], 46, Xe)), e.$slots.hint ? (y(), f("div", at, [x(e.$slots, "hint", _(h({
959
933
  hint: F.value.a11y.translations.keyboardNavigation,
960
934
  isVisible: P.value
961
935
  })), void 0, !0)])) : d("", !0)]),
962
- e.$slots.watermark ? (y(), f("div", at, [x(e.$slots, "watermark", _(h({ isPrinting: C(qt) || C(Jt) || Nt.value || j.value })), void 0, !0)])) : d("", !0),
963
- p("div", { id: `legend-bottom-${E.value}` }, null, 8, ot),
964
- jt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
936
+ e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: S(Ut) || S(Wt) || S(jn) || S(Mn) })), void 0, !0)])) : d("", !0),
937
+ p("div", { id: `legend-bottom-${T.value}` }, null, 8, st),
938
+ At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
965
939
  key: 6,
966
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
940
+ to: F.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
967
941
  }, [p("div", {
968
942
  ref_key: "chartLegend",
969
943
  ref: Dt
970
944
  }, [x(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (y(), u(Ae, {
971
945
  key: `legend_${Tt.value}`,
972
946
  legendSet: J.value,
973
- config: Sn.value,
947
+ config: bn.value,
974
948
  onClickMarker: t[0] ||= ({ legend: e }) => U(e)
975
949
  }, {
976
- item: w(({ legend: e, index: t }) => [C(zt) ? d("", !0) : (y(), f("div", {
950
+ item: C(({ legend: e, index: t }) => [S(L) ? d("", !0) : (y(), f("div", {
977
951
  key: 0,
978
952
  onClick: (t) => U(e),
979
953
  style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
980
- }, S(e.display), 13, st))]),
981
- legendToggle: w(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !C(zt) ? (y(), u(Te, {
954
+ }, He(e.display), 13, ct))]),
955
+ legendToggle: C(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !S(L) ? (y(), u(Te, {
982
956
  key: 0,
983
957
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
984
958
  color: F.value.style.chart.legend.selectAllToggle.color,
985
959
  fontSize: F.value.style.chart.legend.fontSize,
986
960
  checked: H.value.length > 0,
987
- onToggle: rn
961
+ onToggle: tn
988
962
  }, null, 8, [
989
963
  "backgroundColor",
990
964
  "color",
@@ -999,9 +973,9 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
999
973
  ref: Ot,
1000
974
  dir: "auto"
1001
975
  }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1002
- Ie(C(lt), {
976
+ Ie(S(ut), {
1003
977
  teleportTo: F.value.style.chart.tooltip.teleportTo,
1004
- show: R.value.showTooltip && bt.value,
978
+ show: B.value.showTooltip && D.value,
1005
979
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
1006
980
  color: F.value.style.chart.tooltip.color,
1007
981
  borderRadius: F.value.style.chart.tooltip.borderRadius,
@@ -1012,20 +986,20 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
1012
986
  position: F.value.style.chart.tooltip.position,
1013
987
  offsetX: F.value.style.chart.tooltip.offsetX,
1014
988
  offsetY: F.value.style.chart.tooltip.offsetY,
1015
- parent: D.value,
989
+ parent: E.value,
1016
990
  content: xt.value,
1017
991
  isFullscreen: q.value,
1018
- isCustom: C(le)(F.value.style.chart.tooltip.customFormat),
992
+ isCustom: S(le)(F.value.style.chart.tooltip.customFormat),
1019
993
  smooth: F.value.style.chart.tooltip.smooth,
1020
994
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1021
995
  smoothForce: F.value.style.chart.tooltip.smoothForce,
1022
996
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1023
- isA11yMode: Ft.value === "keyboard",
1024
- a11yPosition: Pt.value
997
+ isA11yMode: Nt.value === "keyboard",
998
+ a11yPosition: Mt.value
1025
999
  }, {
1026
- "tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...hn.value })), void 0, !0)]),
1027
- tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...hn.value })), void 0, !0)]),
1028
- "tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...hn.value })), void 0, !0)]),
1000
+ "tooltip-before": C(() => [x(e.$slots, "tooltip-before", _(h({ ...pn.value })), void 0, !0)]),
1001
+ tooltip: C(() => [x(e.$slots, "tooltip", _(h({ ...pn.value })), void 0, !0)]),
1002
+ "tooltip-after": C(() => [x(e.$slots, "tooltip-after", _(h({ ...pn.value })), void 0, !0)]),
1029
1003
  _: 3
1030
1004
  }, 8, [
1031
1005
  "teleportTo",
@@ -1051,12 +1025,12 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
1051
1025
  "isA11yMode",
1052
1026
  "a11yPosition"
1053
1027
  ]),
1054
- It.value && F.value.userOptions.buttons.table ? (y(), u(Ve(Q.value.component), Le({ key: 8 }, Q.value.props, {
1028
+ Pt.value && F.value.userOptions.buttons.table ? (y(), u(Ve(Q.value.component), Le({ key: 8 }, Q.value.props, {
1055
1029
  ref_key: "tableUnit",
1056
- ref: A,
1057
- onClose: On
1030
+ ref: j,
1031
+ onClose: En
1058
1032
  }), Pe({
1059
- content: w(() => [(y(), u(C(ft), {
1033
+ content: C(() => [(y(), u(S(pt), {
1060
1034
  key: `table_${wt.value}`,
1061
1035
  colNames: X.value.colNames,
1062
1036
  head: X.value.head,
@@ -1065,16 +1039,16 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
1065
1039
  title: F.value.table.useDialog ? "" : Q.value.title,
1066
1040
  withCloseButton: !F.value.table.useDialog,
1067
1041
  isCursorPointer: I.value,
1068
- onClose: On
1042
+ onClose: En
1069
1043
  }, {
1070
- th: w(({ th: e }) => [p("div", {
1044
+ th: C(({ th: e }) => [p("div", {
1071
1045
  innerHTML: e,
1072
1046
  style: {
1073
1047
  display: "flex",
1074
1048
  "align-items": "center"
1075
1049
  }
1076
- }, null, 8, ct)]),
1077
- td: w(({ td: e }) => [Fe(S(e.name || e), 1)]),
1050
+ }, null, 8, lt)]),
1051
+ td: C(({ td: e }) => [Fe(He(e.name || e), 1)]),
1078
1052
  _: 1
1079
1053
  }, 8, [
1080
1054
  "colNames",
@@ -1088,24 +1062,24 @@ var We = /* @__PURE__ */ e({ default: () => lt }), Ge = ["id"], Ke = ["id"], qe
1088
1062
  _: 2
1089
1063
  }, [F.value.table.useDialog ? {
1090
1064
  name: "title",
1091
- fn: w(() => [Fe(S(Q.value.title), 1)]),
1065
+ fn: C(() => [Fe(He(Q.value.title), 1)]),
1092
1066
  key: "0"
1093
1067
  } : void 0, F.value.table.useDialog ? {
1094
1068
  name: "actions",
1095
- fn: w(() => [p("button", {
1069
+ fn: C(() => [p("button", {
1096
1070
  tabindex: "0",
1097
1071
  class: "vue-ui-user-options-button",
1098
- onClick: t[1] ||= (e) => Cn(F.value.userOptions.callbacks.csv),
1072
+ onClick: t[1] ||= (e) => xn(F.value.userOptions.callbacks.csv),
1099
1073
  style: v({ cursor: I.value ? "pointer" : "default" })
1100
- }, [Ie(C(ut), {
1074
+ }, [Ie(S(dt), {
1101
1075
  name: "fileCsv",
1102
1076
  stroke: Q.value.props.color
1103
1077
  }, null, 8, ["stroke"])], 4)]),
1104
1078
  key: "1"
1105
1079
  } : void 0]), 1040)) : d("", !0),
1106
- x(e.$slots, "skeleton", {}, () => [C(zt) ? (y(), u(he, { key: 0 })) : d("", !0)], !0)
1107
- ], 46, Ge));
1080
+ x(e.$slots, "skeleton", {}, () => [S(L) ? (y(), u(he, { key: 0 })) : d("", !0)], !0)
1081
+ ], 46, Ke));
1108
1082
  }
1109
- }, [["__scopeId", "data-v-f966d1c9"]]);
1083
+ }, [["__scopeId", "data-v-29ce5588"]]);
1110
1084
  //#endregion
1111
- export { We as n, lt as t };
1085
+ export { Ge as n, ut as t };