vue-data-ui 3.22.7 → 3.22.8

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 (201) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
  10. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
  12. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  94. package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +24 -24
  106. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
  109. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
  117. package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
  121. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
  124. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
  125. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
  126. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
  127. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
  128. package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
  129. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
  130. package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
  131. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
  132. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
  133. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
  134. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
  143. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
  144. package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
  145. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
  153. package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
  154. package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
  155. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
  156. package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
  157. package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
  158. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
  159. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
  160. package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
  165. package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
  166. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
  167. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
  168. package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
  171. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
  174. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
  175. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
  176. package/package.json +1 -1
  177. package/dist/exposedLib-Be0ifkti.js +0 -19
  178. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  179. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  180. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  181. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  182. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  183. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  184. package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
  185. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  186. package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
  187. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  188. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  189. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  190. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  191. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  192. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  193. package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
  194. package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
  198. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  199. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  200. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  201. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,42 +1,42 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { F as t, Ft as n, Gt as r, Ot as i, Q as a, S as o, Ut as ee, W as te, X as ne, at as re, b as ie, i as ae, jt as s, q as c, t as oe, ut as se, vt as ce, w as le } from "./lib-EAmk-PgA.js";
3
- import { t as ue } from "./useConfig-DYM3f6EI.js";
4
- import { t as de } from "./usePrinter-DnGzpp6Q.js";
5
- import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as me } from "./useSvgExport-SVIsDot8.js";
7
- import { t as he } from "./useNestedProp-D8XqxgOU.js";
8
- import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as _e } from "./img-B_abIg0o.js";
10
- import { n as ve } from "./Title-PiTKr6sp.js";
11
- import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as be } from "./canvas-lib-BOP_HS11.js";
13
- import { t as xe } from "./useResponsive-BfnK0KxU.js";
14
- import { t as Se } from "./BaseLegendToggle-CHnlKalt.js";
15
- import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as we } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ee } from "./labelUtils-CTDRZdP1.js";
19
- import { t as De } from "./Legend-kAr7Vqqu.js";
20
- import { t as Oe } from "./vue_ui_galaxy-Ig0cc1_h.js";
21
- import { Fragment as ke, Teleport as Ae, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Pe, nextTick as g, normalizeClass as Fe, normalizeProps as _, normalizeStyle as v, onMounted as Ie, openBlock as y, ref as b, renderList as Le, renderSlot as x, resolveDynamicComponent as Re, toDisplayString as S, toRefs as ze, unref as C, watch as Be, withCtx as w } from "vue";
2
+ import { $ as t, G as n, I as r, It as i, J as a, Kt as o, Mt as s, S as ee, T as te, Wt as ne, Z as re, b as ie, dt as ae, i as oe, kt as se, ot as ce, t as le, yt as ue } from "./lib-JqW18y5I.js";
3
+ import { t as de } from "./useConfig-DYM3f6EI.js";
4
+ import { t as fe } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as he } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as ge } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ve } from "./img-DnP3eXuv.js";
10
+ import { n as ye } from "./Title-CcNiYzEo.js";
11
+ import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as xe } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as Se } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as Ce } from "./BaseLegendToggle-DtQ8vyfr.js";
15
+ import { t as we } from "./A11yDataTable-DdRsVULz.js";
16
+ import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
17
+ import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as De } from "./labelUtils-DBEh078l.js";
19
+ import { t as Oe } from "./Legend-ROt6ugzW.js";
20
+ import { t as ke } from "./vue_ui_galaxy-Ig0cc1_h.js";
21
+ import { Fragment as Ae, Teleport as je, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Fe, nextTick as Ie, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onMounted as Le, openBlock as v, ref as y, renderList as Re, renderSlot as b, resolveDynamicComponent as ze, toDisplayString as x, toRefs as Be, unref as S, watch as Ve, withCtx as C } from "vue";
22
22
  //#region src/components/vue-ui-galaxy.vue
23
- var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
23
+ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
24
24
  "xmlns",
25
25
  "aria-describedby",
26
26
  "viewBox"
27
- ], qe = ["width", "height"], Je = ["id"], Ye = ["stdDeviation"], Xe = [
27
+ ], Je = ["width", "height"], Ye = ["id"], Xe = ["stdDeviation"], Ze = [
28
28
  "d",
29
29
  "stroke",
30
30
  "stroke-width"
31
- ], Ze = [
31
+ ], Qe = [
32
32
  "d",
33
33
  "stroke",
34
34
  "stroke-width"
35
- ], Qe = ["filter"], $e = [
35
+ ], $e = ["filter"], et = [
36
36
  "d",
37
37
  "stroke",
38
38
  "stroke-width"
39
- ], et = [
39
+ ], tt = [
40
40
  "data-a11y-serie-id",
41
41
  "d",
42
42
  "stroke-width",
@@ -44,7 +44,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
44
44
  "onMouseenter",
45
45
  "onMouseleave",
46
46
  "onClick"
47
- ], tt = {
47
+ ], nt = {
48
48
  key: 0,
49
49
  style: {
50
50
  position: "absolute",
@@ -54,10 +54,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
54
54
  },
55
55
  "data-dom-to-png-ignore": "",
56
56
  "aria-hidden": "true"
57
- }, nt = {
57
+ }, rt = {
58
58
  key: 5,
59
59
  class: "vue-data-ui-watermark"
60
- }, rt = ["id"], it = ["onClick"], at = ["innerHTML"], ot = /*#__PURE__*/ ye({
60
+ }, it = ["id"], at = ["onClick"], ot = ["innerHTML"], st = /*#__PURE__*/ be({
61
61
  __name: "vue-ui-galaxy",
62
62
  props: {
63
63
  config: {
@@ -78,11 +78,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
78
78
  "selectDatapoint",
79
79
  "copyAlt"
80
80
  ],
81
- setup(e, { expose: ye, emit: Ve }) {
82
- let ot = m(() => import("./Tooltip-B8yYfISA.js")), st = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), ct = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), lt = m(() => import("./DataTable-CVF7DoZn.js")), ut = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), dt = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), ft = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), pt = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_galaxy: mt } = ue(), { isThemeValid: ht, warnInvalidTheme: gt } = ge(), T = e, E = b(te()), D = b(null), O = b(!1), _t = b(""), k = b(null), vt = b(0), yt = b(0), bt = b(0), xt = b(0), St = b(null), Ct = b(null), wt = b(null), Tt = b(null), A = b(null), Et = b(null), Dt = b(!1), j = b(null), Ot = b(null), kt = b(!1), At = b(!1), M = b(null), N = b(null), jt = b({
81
+ setup(e, { expose: be, emit: He }) {
82
+ let st = p(() => import("./Tooltip-CxOrWlFy.js")), ct = p(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), lt = p(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), ut = p(() => import("./DataTable-D9NvewTT.js")), dt = p(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), ft = p(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), pt = p(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), mt = p(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_galaxy: ht } = de(), { isThemeValid: gt, warnInvalidTheme: _t } = _e(), w = e, T = y(n()), E = y(null), D = y(!1), vt = y(""), O = y(null), yt = y(0), bt = y(0), xt = y(0), St = y(0), Ct = y(null), wt = y(null), Tt = y(null), Et = y(null), k = y(null), A = y(null), Dt = y(!1), j = y(null), Ot = y(null), M = y(!1), kt = y(!1), N = y(null), At = y(null), jt = y({
83
83
  x: 0,
84
84
  y: 0
85
- }), Mt = b("pointer"), Nt = b(!1), Pt = l(() => !!T.dataset && T.dataset.length), P = b(Ht()), F = l(() => P.value.userOptions.useCursorPointer), Ft = l(() => r({
85
+ }), Mt = y("pointer"), Nt = y(!1), Pt = c(() => !!w.dataset && w.dataset.length), P = y(Ut()), F = c(() => P.value.userOptions.useCursorPointer), Ft = c(() => o({
86
86
  defaultConfig: {
87
87
  userOptions: { show: !1 },
88
88
  table: { show: !1 },
@@ -93,16 +93,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
93
93
  } }
94
94
  },
95
95
  userConfig: P.value.skeletonConfig ?? {}
96
- })), { loading: I, FINAL_DATASET: It } = fe({
97
- ...ze(T),
96
+ })), { loading: It, FINAL_DATASET: Lt } = pe({
97
+ ...Be(w),
98
98
  FINAL_CONFIG: P,
99
- prepareConfig: Ht,
99
+ prepareConfig: Ut,
100
100
  callback: () => {
101
101
  Promise.resolve().then(async () => {
102
- await g(), R.value.showTable = P.value.table.show;
102
+ await Ie(), L.value.showTable = P.value.table.show;
103
103
  });
104
104
  },
105
- skeletonDataset: T.config?.skeletonDataset ?? [
105
+ skeletonDataset: w.config?.skeletonDataset ?? [
106
106
  {
107
107
  name: "_",
108
108
  values: [21],
@@ -119,171 +119,171 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
119
119
  color: "#ADADAD"
120
120
  }
121
121
  ],
122
- skeletonConfig: r({
122
+ skeletonConfig: o({
123
123
  defaultConfig: P.value,
124
124
  userConfig: Ft.value
125
125
  })
126
126
  });
127
- Ie(() => {
128
- Dt.value = !0, Rt();
127
+ Le(() => {
128
+ Dt.value = !0, zt();
129
129
  });
130
- let Lt = l(() => !!P.value.debug);
131
- function Rt() {
132
- if (i(T.dataset) ? a({
130
+ let Rt = c(() => !!P.value.debug);
131
+ function zt() {
132
+ if (se(w.dataset) ? t({
133
133
  componentName: "VueUiGalaxy",
134
134
  type: "dataset",
135
- debug: Lt.value
136
- }) : T.dataset.forEach((e, t) => {
137
- se({
135
+ debug: Rt.value
136
+ }) : w.dataset.forEach((e, n) => {
137
+ ae({
138
138
  datasetObject: e,
139
139
  requiredAttributes: ["name", "values"]
140
140
  }).forEach((e) => {
141
- a({
141
+ t({
142
142
  componentName: "VueUiGalaxy",
143
143
  type: "datasetSerieAttribute",
144
144
  property: e,
145
- index: t,
146
- debug: Lt.value
145
+ index: n,
146
+ debug: Rt.value
147
147
  });
148
148
  });
149
149
  }), P.value.responsive) {
150
- let e = be(() => {
151
- let { width: e, height: t } = xe({
152
- chart: D.value,
153
- title: P.value.style.chart.title.text ? St.value : null,
154
- legend: P.value.style.chart.legend.show ? Ct.value : null,
155
- noTitle: Tt.value,
156
- source: wt.value
150
+ let e = xe(() => {
151
+ let { width: e, height: t } = Se({
152
+ chart: E.value,
153
+ title: P.value.style.chart.title.text ? Ct.value : null,
154
+ legend: P.value.style.chart.legend.show ? wt.value : null,
155
+ noTitle: Et.value,
156
+ source: Tt.value
157
157
  });
158
158
  requestAnimationFrame(() => {
159
- z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
159
+ R.value = Math.max(.1, e), z.value = Math.max(.1, t - 12);
160
160
  });
161
161
  });
162
- A.value && (Et.value && A.value.unobserve(Et.value), A.value.disconnect()), A.value = new ResizeObserver(e), Et.value = D.value.parentNode, A.value.observe(Et.value);
162
+ 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);
163
163
  }
164
164
  }
165
- let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = we({ config: P.value }), { svgRef: L } = Te({ config: P.value.style.chart.title });
166
- function Ht() {
167
- let e = he({
168
- userConfig: T.config,
169
- defaultConfig: mt
165
+ let { userOptionsVisible: Bt, setUserOptionsVisibility: Vt, keepUserOptionState: Ht } = Te({ config: P.value }), { svgRef: I } = Ee({ config: P.value.style.chart.title });
166
+ function Ut() {
167
+ let e = ge({
168
+ userConfig: w.config,
169
+ defaultConfig: ht
170
170
  }), t = e.theme;
171
171
  if (!t) return e;
172
- if (!ht.value(e)) return gt(e), e;
173
- let n = he({
174
- userConfig: Oe[t] || T.config,
172
+ if (!gt.value(e)) return _t(e), e;
173
+ let n = ge({
174
+ userConfig: ke[t] || w.config,
175
175
  defaultConfig: e
176
- }), r = he({
177
- userConfig: T.config,
176
+ }), r = ge({
177
+ userConfig: w.config,
178
178
  defaultConfig: n
179
179
  });
180
180
  return {
181
181
  ...r,
182
- customPalette: r.customPalette.length ? r.customPalette : ee[t] || s
182
+ customPalette: r.customPalette.length ? r.customPalette : ne[t] || s
183
183
  };
184
184
  }
185
- Be(() => T.config, (e) => {
186
- P.value = Ht(), zt.value = !P.value.userOptions.showOnChartHover, Rt(), yt.value += 1, bt.value += 1, xt.value += 1, R.value.dataLabels.show = P.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = P.value.table.show, R.value.showTooltip = P.value.style.chart.tooltip.show;
185
+ Ve(() => w.config, (e) => {
186
+ P.value = Ut(), Bt.value = !P.value.userOptions.showOnChartHover, zt(), bt.value += 1, xt.value += 1, St.value += 1, L.value.dataLabels.show = P.value.style.chart.layout.labels.dataLabels.show, L.value.showTable = P.value.table.show, L.value.showTooltip = P.value.style.chart.tooltip.show;
187
187
  }, { deep: !0 });
188
- let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = de({
189
- elementId: `galaxy_${E.value}`,
188
+ let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = fe({
189
+ elementId: `galaxy_${T.value}`,
190
190
  fileName: P.value.style.chart.title.text || "vue-ui-galaxy",
191
191
  options: P.value.userOptions.print
192
- }), qt = l(() => P.value.userOptions.show && !P.value.style.chart.title.text), Jt = l(() => o(P.value.customPalette)), R = b({
192
+ }), Jt = c(() => P.value.userOptions.show && !P.value.style.chart.title.text), Yt = c(() => ee(P.value.customPalette)), L = y({
193
193
  dataLabels: { show: P.value.style.chart.layout.labels.dataLabels.show },
194
194
  showTable: P.value.table.show,
195
195
  showTooltip: P.value.style.chart.tooltip.show
196
- }), z = b(250), B = b(180), Yt = b(0), Xt = b(0), V = l(() => ({
197
- width: z.value,
198
- height: B.value,
199
- viewBox: `${Yt.value} ${Xt.value} ${z.value} ${B.value}`
200
- })), Zt = Ve, H = b([]);
201
- function Qt() {
202
- Zt("selectLegend", K.value.map((e) => ({
196
+ }), R = y(250), z = y(180), Xt = y(0), Zt = y(0), B = c(() => ({
197
+ width: R.value,
198
+ height: z.value,
199
+ viewBox: `${Xt.value} ${Zt.value} ${R.value} ${z.value}`
200
+ })), Qt = He, V = y([]);
201
+ function $t() {
202
+ Qt("selectLegend", G.value.map((e) => ({
203
203
  name: e.name,
204
204
  color: e.color,
205
205
  value: e.value
206
206
  })));
207
207
  }
208
- function $t() {
209
- H.value.length ? H.value = [] : J.value.forEach((e) => {
210
- H.value.push(e.id);
211
- }), Qt();
212
- }
213
- function U(e) {
214
- H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), Qt();
208
+ function en() {
209
+ V.value.length ? V.value = [] : J.value.forEach((e) => {
210
+ V.value.push(e.id);
211
+ }), $t();
215
212
  }
216
- function en(e) {
217
- return W.value.length ? W.value.find((t) => t.name === e) || (P.value.debug && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (P.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null);
213
+ function H(e) {
214
+ V.value.includes(e.id) ? V.value = V.value.filter((t) => t !== e.id) : V.value.push(e.id), $t();
218
215
  }
219
216
  function tn(e) {
220
- let t = en(e);
221
- t !== null && H.value.includes(t.id) && U({ id: t.id });
217
+ return U.value.length ? U.value.find((t) => t.name === e) || (P.value.debug && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (P.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null);
222
218
  }
223
219
  function nn(e) {
224
- let t = en(e);
225
- t !== null && (H.value.includes(t.id) || U({ id: t.id }));
220
+ let t = tn(e);
221
+ t !== null && V.value.includes(t.id) && H({ id: t.id });
226
222
  }
227
- let W = l(() => It.value.map((e, t) => ({
223
+ function rn(e) {
224
+ let t = tn(e);
225
+ t !== null && (V.value.includes(t.id) || H({ id: t.id }));
226
+ }
227
+ let U = c(() => Lt.value.map((e, t) => ({
228
228
  name: e.name,
229
- color: ie(e.color) || Jt.value[t] || s[t] || s[t % s.length],
230
- value: e.values ? n(e.values).reduce((e, t) => e + t, 0) : 0,
231
- absoluteValues: n(e.values),
232
- id: te()
229
+ color: ie(e.color) || Yt.value[t] || s[t] || s[t % s.length],
230
+ value: e.values ? i(e.values).reduce((e, t) => e + t, 0) : 0,
231
+ absoluteValues: i(e.values),
232
+ id: n()
233
233
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
234
234
  ...e,
235
235
  absoluteIndex: t
236
236
  })));
237
- function rn() {
238
- return W.value.map((e) => ({
237
+ function an() {
238
+ return U.value.map((e) => ({
239
239
  name: e.name,
240
240
  color: e.color,
241
241
  value: e.value
242
242
  }));
243
243
  }
244
- let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), an = b(190), on = l(() => W.value.filter((e) => !H.value.includes(e.id))), sn = l(() => (P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth) / 2 + (P.value.style.chart.layout.padding ?? 12)), cn = l(() => t({
245
- maxPoints: an.value,
244
+ let W = c(() => U.value.filter((e) => !V.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), on = y(190), sn = c(() => U.value.filter((e) => !V.value.includes(e.id))), cn = c(() => (P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth) / 2 + (P.value.style.chart.layout.padding ?? 12)), ln = c(() => r({
245
+ maxPoints: on.value,
246
246
  a: P.value.style.chart.layout.arcs.a ?? 6,
247
247
  b: P.value.style.chart.layout.arcs.b ?? 6,
248
248
  angleStep: P.value.style.chart.layout.arcs.angleStep ?? .07,
249
- startX: V.value.width / 2 + P.value.style.chart.layout.arcs.offsetX,
250
- startY: V.value.height / 2 + P.value.style.chart.layout.arcs.offsetY,
251
- boxWidth: V.value.width,
252
- boxHeight: V.value.height,
253
- padding: sn.value
254
- })), K = l(() => {
249
+ startX: B.value.width / 2 + P.value.style.chart.layout.arcs.offsetX,
250
+ startY: B.value.height / 2 + P.value.style.chart.layout.arcs.offsetY,
251
+ boxWidth: B.value.width,
252
+ boxHeight: B.value.height,
253
+ padding: cn.value
254
+ })), G = c(() => {
255
255
  let e = [];
256
- for (let t = 0; t < on.value.length; t += 1) {
257
- let n = on.value[t], r = n.value / G.value * an.value + (t > 0 && e.length ? e[t - 1].points : 0);
256
+ for (let t = 0; t < sn.value.length; t += 1) {
257
+ let n = sn.value[t], r = n.value / W.value * on.value + (t > 0 && e.length ? e[t - 1].points : 0);
258
258
  e.push({
259
259
  points: r,
260
260
  ...n,
261
261
  seriesIndex: t,
262
- proportion: n.value / G.value,
263
- path: cn.value(r)
262
+ proportion: n.value / W.value,
263
+ path: ln.value(r)
264
264
  });
265
265
  }
266
- return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
266
+ return e.filter((e) => !V.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
267
267
  });
268
- function ln(e) {
269
- let t = Math.min(z.value, B.value), n = k.value === e.id && P.value.style.chart.layout.arcs.hoverEffect.show ? P.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth) * n, i = P.value.style.chart.layout.arcs.strokeWidth * n, a = P.value.style.chart.layout.arcs.strokeWidth / 2 * n;
268
+ function un(e) {
269
+ let t = Math.min(R.value, z.value), n = O.value === e.id && P.value.style.chart.layout.arcs.hoverEffect.show ? P.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth) * n, i = P.value.style.chart.layout.arcs.strokeWidth * n, a = P.value.style.chart.layout.arcs.strokeWidth / 2 * n;
270
270
  return {
271
271
  border: r / 180 * t,
272
272
  path: i / 180 * t,
273
273
  blur: a / 180 * t
274
274
  };
275
275
  }
276
- let q = b(!1);
277
- function un(e) {
278
- q.value = e, vt.value += 1;
276
+ let K = y(!1);
277
+ function dn(e) {
278
+ K.value = e, yt.value += 1;
279
279
  }
280
- let dn = b(null);
280
+ let q = y(null);
281
281
  function fn() {
282
- O.value = !1, k.value = null, M.value = null, N.value = null;
282
+ D.value = !1, O.value = null, N.value = null, At.value = null;
283
283
  }
284
284
  function pn(e) {
285
- if (!L.value || !e) return;
286
- let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
285
+ if (!I.value || !e) return;
286
+ let t = I.value.querySelector(`[data-a11y-serie-id="${e}"]`);
287
287
  if (!t) return;
288
288
  let n = t.getBoundingClientRect();
289
289
  jt.value = {
@@ -295,17 +295,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
295
295
  P.value.events.datapointLeave && P.value.events.datapointLeave({
296
296
  datapoint: e,
297
297
  seriesIndex: e.absoluteIndex
298
- }), !(N.value === e.id && Mt.value === "keyboard") && (O.value = !1, k.value = null);
298
+ }), !(At.value === e.id && Mt.value === "keyboard") && (D.value = !1, O.value = null);
299
299
  }
300
300
  function hn(e) {
301
- Zt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
301
+ Qt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
302
302
  datapoint: e,
303
303
  seriesIndex: e.absoluteIndex
304
304
  });
305
305
  }
306
306
  function gn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
307
307
  let i = P.value.style.chart.layout.labels.dataLabels;
308
- return Ee({
308
+ return De({
309
309
  config: i,
310
310
  val: e,
311
311
  percentage: t,
@@ -313,32 +313,32 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
313
313
  showPercentage: r
314
314
  });
315
315
  }
316
- function _n({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
316
+ function _n({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: o = null }) {
317
317
  if (P.value.events.datapointEnter && P.value.events.datapointEnter({
318
318
  datapoint: e,
319
319
  seriesIndex: e.absoluteIndex
320
- }), !R.value.showTooltip) return;
321
- Mt.value = i, M.value = a, N.value = e.id, dn.value = {
320
+ }), !L.value.showTooltip) return;
321
+ Mt.value = i, N.value = o, At.value = e.id, q.value = {
322
322
  datapoint: e,
323
323
  seriesIndex: n,
324
- series: W.value,
324
+ series: U.value,
325
325
  config: P.value
326
- }, O.value = r, k.value = e.id;
327
- let o = "", ee = P.value.style.chart.tooltip.customFormat;
328
- ce(ee) && re(() => ee({
326
+ }, D.value = r, O.value = e.id;
327
+ let s = "", ee = P.value.style.chart.tooltip.customFormat;
328
+ ue(ee) && ce(() => ee({
329
329
  seriesIndex: n,
330
330
  datapoint: e,
331
- series: W.value,
331
+ series: U.value,
332
332
  config: P.value
333
- })) ? _t.value = ee({
333
+ })) ? vt.value = ee({
334
334
  seriesIndex: n,
335
335
  datapoint: e,
336
- series: W.value,
336
+ series: U.value,
337
337
  config: P.value
338
- }) : (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.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>${gn({
338
+ }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<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>`, s += `<b>${gn({
339
339
  showVal: P.value.style.chart.tooltip.showValue,
340
340
  showPercentage: P.value.style.chart.tooltip.showPercentage,
341
- val: ae(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
341
+ val: oe(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, a({
342
342
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
343
343
  v: e.value,
344
344
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -347,17 +347,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
347
347
  datapoint: e,
348
348
  seriesIndex: n
349
349
  }),
350
- percentage: c({
350
+ percentage: a({
351
351
  v: e.proportion * 100,
352
352
  s: "%",
353
353
  r: P.value.style.chart.tooltip.roundingPercentage
354
354
  })
355
- })}</b></div>`, _t.value = `<div>${o}</div>`), i === "keyboard" && g(() => {
355
+ })}</b></div>`, vt.value = `<div>${s}</div>`), i === "keyboard" && Ie(() => {
356
356
  pn(e.id);
357
357
  });
358
358
  }
359
- let J = l(() => W.value.map((e, t) => {
360
- let n = ae(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
359
+ let J = c(() => U.value.map((e, t) => {
360
+ let n = oe(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, a({
361
361
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
362
362
  v: e.value,
363
363
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -365,8 +365,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
365
365
  }), {
366
366
  datapoint: e,
367
367
  index: t
368
- }), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : c({
369
- v: e.value / G.value * 100,
368
+ }), r = isNaN(e.value / W.value) || V.value.includes(e.id) ? "-" : a({
369
+ v: e.value / W.value * 100,
370
370
  s: "%",
371
371
  r: P.value.style.chart.legend.roundingPercentage
372
372
  }), i = gn({
@@ -377,34 +377,34 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
377
377
  });
378
378
  return {
379
379
  ...e,
380
- proportion: (e.value || 0) / It.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
381
- opacity: H.value.includes(e.id) ? .5 : 1,
380
+ proportion: (e.value || 0) / Lt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
381
+ opacity: V.value.includes(e.id) ? .5 : 1,
382
382
  shape: e.shape || "circle",
383
- segregate: () => U(e),
384
- isSegregated: H.value.includes(e.id),
383
+ segregate: () => H(e),
384
+ isSegregated: V.value.includes(e.id),
385
385
  display: `${e.name}${P.value.style.chart.legend.showPercentage || P.value.style.chart.legend.showValue ? ": " : ""}${i}`
386
386
  };
387
- })), vn = l(() => ({
387
+ })), vn = c(() => ({
388
388
  cy: "galaxy-div-legend",
389
389
  backgroundColor: P.value.style.chart.legend.backgroundColor,
390
390
  color: P.value.style.chart.legend.color,
391
391
  fontSize: P.value.style.chart.legend.fontSize,
392
392
  paddingBottom: 12,
393
393
  fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
394
- })), Y = l(() => ({
395
- head: K.value.map((e) => ({
394
+ })), Y = c(() => ({
395
+ head: G.value.map((e) => ({
396
396
  name: e.name,
397
397
  color: e.color
398
398
  })),
399
- body: K.value.map((e) => e.value)
399
+ body: G.value.map((e) => e.value)
400
400
  }));
401
401
  function yn(e = null) {
402
- g(() => {
402
+ Ie(() => {
403
403
  let t = Y.value.head.map((e, t) => [
404
404
  [e.name],
405
405
  [Y.value.body[t]],
406
- [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
407
- ]), n = le([
406
+ [isNaN(Y.value.body[t] / W.value) ? "-" : Y.value.body[t] / W.value * 100]
407
+ ]), n = te([
408
408
  [P.value.style.chart.title.text],
409
409
  [P.value.style.chart.title.subtitle.text],
410
410
  [
@@ -413,24 +413,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
413
413
  ["%"]
414
414
  ]
415
415
  ].concat(t));
416
- e ? e(n) : ne({
416
+ e ? e(n) : re({
417
417
  csvContent: n,
418
418
  title: P.value.style.chart.title.text || "vue-ui-galaxy"
419
419
  });
420
420
  });
421
421
  }
422
- let X = l(() => {
422
+ let X = c(() => {
423
423
  let e = [
424
424
  " <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>",
425
- c({
425
+ a({
426
426
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
427
- v: G.value,
427
+ v: W.value,
428
428
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
429
429
  r: P.value.table.td.roundingValue
430
430
  }),
431
431
  "100%"
432
432
  ], t = Y.value.head.map((e, t) => {
433
- let n = c({
433
+ let n = a({
434
434
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
435
435
  v: Y.value.body[t],
436
436
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -442,8 +442,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
442
442
  name: e.name
443
443
  },
444
444
  n,
445
- isNaN(Y.value.body[t] / G.value) ? "-" : c({
446
- v: Y.value.body[t] / G.value * 100,
445
+ isNaN(Y.value.body[t] / W.value) ? "-" : a({
446
+ v: Y.value.body[t] / W.value * 100,
447
447
  s: "%",
448
448
  r: P.value.table.td.roundingPercentage
449
449
  })
@@ -473,19 +473,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
473
473
  };
474
474
  });
475
475
  function bn() {
476
- R.value.showTable = !R.value.showTable;
476
+ L.value.showTable = !L.value.showTable;
477
477
  }
478
478
  function xn() {
479
- R.value.showTooltip = !R.value.showTooltip;
479
+ L.value.showTooltip = !L.value.showTooltip;
480
480
  }
481
- let Z = b(!1);
481
+ let Z = y(!1);
482
482
  function Sn() {
483
483
  Z.value = !Z.value;
484
484
  }
485
485
  async function Cn({ scale: e = 2 } = {}) {
486
- if (!D.value) return;
487
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
488
- domElement: D.value,
486
+ if (!E.value) return;
487
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
488
+ domElement: E.value,
489
489
  base64: !0,
490
490
  img: !0,
491
491
  scale: e
@@ -499,18 +499,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
499
499
  aspectRatio: r
500
500
  };
501
501
  }
502
- let Q = l(() => {
503
- let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
502
+ let Q = c(() => {
503
+ let e = P.value.table.useDialog && !P.value.table.show, t = L.value.showTable;
504
504
  return {
505
- component: e ? pt : ct,
505
+ component: e ? mt : lt,
506
506
  title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
507
507
  props: e ? {
508
508
  backgroundColor: P.value.table.th.backgroundColor,
509
509
  color: P.value.table.th.color,
510
510
  headerColor: P.value.table.th.color,
511
511
  headerBg: P.value.table.th.backgroundColor,
512
- isFullscreen: q.value,
513
- fullscreenParent: D.value,
512
+ isFullscreen: K.value,
513
+ fullscreenParent: E.value,
514
514
  forcedWidth: Math.min(500, window.innerWidth * .8),
515
515
  isCursorPointer: F.value
516
516
  } : {
@@ -530,24 +530,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
530
530
  }
531
531
  };
532
532
  });
533
- Be(() => R.value.showTable, (e) => {
533
+ Ve(() => L.value.showTable, (e) => {
534
534
  P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
535
535
  });
536
536
  function wn() {
537
- R.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
537
+ L.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
538
538
  }
539
- let Tn = l(() => J.value.map((e) => ({
539
+ let Tn = c(() => J.value.map((e) => ({
540
540
  ...e,
541
541
  name: e.display
542
- }))), En = l(() => P.value.style.chart.backgroundColor), Dn = l(() => P.value.style.chart.legend), { exportSvg: On, getSvg: kn } = me({
543
- svg: L,
544
- title: l(() => P.value.style.chart.title),
542
+ }))), En = c(() => P.value.style.chart.backgroundColor), Dn = c(() => P.value.style.chart.legend), { exportSvg: On, getSvg: kn } = he({
543
+ svg: I,
544
+ title: c(() => P.value.style.chart.title),
545
545
  legend: Dn,
546
546
  legendItems: Tn,
547
547
  backgroundColor: En
548
548
  });
549
549
  async function An({ isCb: e }) {
550
- At.value = !0, await g();
550
+ kt.value = !0, await Ie();
551
551
  try {
552
552
  if (e) {
553
553
  let { blob: e, url: t, text: n, dataUrl: r } = await kn();
@@ -559,41 +559,41 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
559
559
  }));
560
560
  } else await Promise.resolve(On());
561
561
  } finally {
562
- At.value = !1;
562
+ kt.value = !1;
563
563
  }
564
564
  }
565
565
  function jn(e) {
566
566
  if (e?.stage === "start") {
567
- kt.value = !0;
567
+ M.value = !0;
568
568
  return;
569
569
  }
570
570
  if (e?.stage === "end") {
571
- kt.value = !1;
571
+ M.value = !1;
572
572
  return;
573
573
  }
574
- Kt();
574
+ qt();
575
575
  }
576
576
  async function Mn() {
577
- if (Zt("copyAlt", {
577
+ if (Qt("copyAlt", {
578
578
  config: P.value,
579
- dataset: W.value
579
+ dataset: U.value
580
580
  }), !P.value.userOptions.callbacks.altCopy) {
581
581
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
582
582
  return;
583
583
  }
584
584
  await Promise.resolve(P.value.userOptions.callbacks.altCopy({
585
585
  config: P.value,
586
- dataset: W.value
586
+ dataset: U.value
587
587
  }));
588
588
  }
589
589
  function Nn() {
590
- M.value = null, N.value = null, Nt.value = !0;
590
+ N.value = null, At.value = null, Nt.value = !0;
591
591
  }
592
592
  function Pn() {
593
593
  fn(), Nt.value = !1;
594
594
  }
595
595
  function Fn(e) {
596
- if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
596
+ if (!I.value || Z.value || document.activeElement !== I.value || !$.value.length) return;
597
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";
598
598
  if (!t && !n && !r && !i) return;
599
599
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -601,13 +601,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
601
601
  return;
602
602
  }
603
603
  if (r) {
604
- if (M.value === null) return;
605
- let e = $.value[M.value];
604
+ if (N.value === null) return;
605
+ let e = $.value[N.value];
606
606
  if (!e) return;
607
607
  hn(e.datapoint);
608
608
  return;
609
609
  }
610
- let a = M.value;
610
+ let a = N.value;
611
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));
612
612
  let o = $.value[a];
613
613
  o && _n({
@@ -618,45 +618,45 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
618
618
  flatIndex: a
619
619
  });
620
620
  }
621
- let In = l(() => ({
621
+ let In = c(() => ({
622
622
  headers: X.value?.colNames ?? [],
623
623
  rows: X.value?.body ?? []
624
- })), $ = l(() => K.value.map((e, t) => ({
624
+ })), $ = c(() => G.value.map((e, t) => ({
625
625
  datapoint: e,
626
626
  index: t
627
627
  })));
628
- return ye({
629
- getData: rn,
628
+ return be({
629
+ getData: an,
630
630
  getImage: Cn,
631
- generatePdf: Gt,
631
+ generatePdf: Kt,
632
632
  generateCsv: yn,
633
- generateImage: Kt,
633
+ generateImage: qt,
634
634
  generateSvg: An,
635
- hideSeries: nn,
636
- showSeries: tn,
635
+ hideSeries: rn,
636
+ showSeries: nn,
637
637
  toggleTable: bn,
638
638
  toggleTooltip: xn,
639
639
  toggleAnnotator: Sn,
640
- toggleFullscreen: un,
640
+ toggleFullscreen: dn,
641
641
  copyAlt: Mn
642
- }), (e, t) => (y(), f("div", {
642
+ }), (e, t) => (v(), d("div", {
643
643
  ref_key: "galaxyChart",
644
- ref: D,
645
- class: Fe(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"} ${C(I) ? "loading" : ""}`),
646
- style: v(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;${P.value.style.chart.title.text ? "" : "padding-top:36px"};background:${P.value.style.chart.backgroundColor}`),
647
- id: `galaxy_${E.value}`,
648
- onMouseenter: t[2] ||= () => C(Bt)(!0),
644
+ ref: E,
645
+ class: h(`vue-data-ui-component vue-ui-galaxy ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"} ${S(It) ? "loading" : ""}`),
646
+ style: _(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;${P.value.style.chart.title.text ? "" : "padding-top:36px"};background:${P.value.style.chart.backgroundColor}`),
647
+ id: `galaxy_${T.value}`,
648
+ onMouseenter: t[2] ||= () => S(Vt)(!0),
649
649
  onMouseleave: t[3] ||= () => {
650
- C(Bt)(!1), Nt.value || fn();
650
+ S(Vt)(!1), Nt.value || fn();
651
651
  }
652
652
  }, [
653
- p("div", {
654
- id: `chart-instructions-${E.value}`,
653
+ f("div", {
654
+ id: `chart-instructions-${T.value}`,
655
655
  class: "sr-only"
656
- }, [p("p", null, S(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
657
- In.value?.rows?.length ? (y(), u(Ce, {
656
+ }, [f("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, We),
657
+ In.value?.rows?.length ? (v(), l(we, {
658
658
  key: 0,
659
- uid: E.value,
659
+ uid: T.value,
660
660
  head: In.value.headers,
661
661
  body: In.value.rows,
662
662
  notice: P.value.a11y.translations.tableAvailable,
@@ -667,22 +667,22 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
667
667
  "body",
668
668
  "notice",
669
669
  "caption"
670
- ])) : d("", !0),
671
- P.value.userOptions.buttons.annotator ? (y(), u(C(ut), {
670
+ ])) : u("", !0),
671
+ P.value.userOptions.buttons.annotator ? (v(), l(S(dt), {
672
672
  key: 1,
673
- svgRef: C(L),
673
+ svgRef: S(I),
674
674
  backgroundColor: P.value.style.chart.backgroundColor,
675
675
  color: P.value.style.chart.color,
676
676
  active: Z.value,
677
677
  isCursorPointer: F.value,
678
678
  onClose: Sn
679
679
  }, {
680
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
681
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
682
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
683
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
684
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
685
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
680
+ "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
681
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(m({ color: t })), void 0, !0)]),
682
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(m({ mode: t })), void 0, !0)]),
683
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(m({ disabled: t })), void 0, !0)]),
684
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(m({ disabled: t })), void 0, !0)]),
685
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(m({ disabled: t })), void 0, !0)]),
686
686
  _: 3
687
687
  }, 8, [
688
688
  "svgRef",
@@ -690,21 +690,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
690
690
  "color",
691
691
  "active",
692
692
  "isCursorPointer"
693
- ])) : d("", !0),
694
- qt.value ? (y(), f("div", {
693
+ ])) : u("", !0),
694
+ Jt.value ? (v(), d("div", {
695
695
  key: 2,
696
696
  ref_key: "noTitle",
697
- ref: Tt,
697
+ ref: Et,
698
698
  class: "vue-data-ui-no-title-space",
699
699
  style: "height:36px; width: 100%;background:transparent"
700
- }, null, 512)) : d("", !0),
701
- P.value.style.chart.title.text ? (y(), f("div", {
700
+ }, null, 512)) : u("", !0),
701
+ P.value.style.chart.title.text ? (v(), d("div", {
702
702
  key: 3,
703
703
  ref_key: "chartTitle",
704
- ref: St,
704
+ ref: Ct,
705
705
  style: "width:100%;background:transparent;padding-bottom:24px"
706
- }, [(y(), u(ve, {
707
- key: `title_${yt.value}`,
706
+ }, [(v(), l(ye, {
707
+ key: `title_${bt.value}`,
708
708
  config: {
709
709
  title: {
710
710
  cy: "galaxy-div-title",
@@ -715,17 +715,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
715
715
  ...P.value.style.chart.title.subtitle
716
716
  }
717
717
  }
718
- }, null, 8, ["config"]))], 512)) : d("", !0),
719
- p("div", { id: `legend-top-${E.value}` }, null, 8, We),
720
- P.value.userOptions.show && Pt.value && (C(Vt) || C(zt)) ? (y(), u(C(dt), {
718
+ }, null, 8, ["config"]))], 512)) : u("", !0),
719
+ f("div", { id: `legend-top-${T.value}` }, null, 8, Ge),
720
+ P.value.userOptions.show && Pt.value && (S(Ht) || S(Bt)) ? (v(), l(S(ft), {
721
721
  ref_key: "userOptionsRef",
722
722
  ref: Ot,
723
- key: `user_option_${vt.value}`,
723
+ key: `user_option_${yt.value}`,
724
724
  backgroundColor: P.value.style.chart.backgroundColor,
725
725
  color: P.value.style.chart.color,
726
- isPrinting: C(Ut),
727
- isImaging: C(Wt),
728
- uid: E.value,
726
+ isPrinting: S(Wt),
727
+ isImaging: S(Gt),
728
+ uid: T.value,
729
729
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
730
730
  hasPdf: P.value.userOptions.buttons.pdf,
731
731
  hasXls: P.value.userOptions.buttons.csv,
@@ -734,10 +734,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
734
734
  hasTable: P.value.userOptions.buttons.table,
735
735
  hasFullscreen: P.value.userOptions.buttons.fullscreen,
736
736
  hasAltCopy: P.value.userOptions.buttons.altCopy,
737
- isTooltip: R.value.showTooltip,
738
- isFullscreen: q.value,
737
+ isTooltip: L.value.showTooltip,
738
+ isFullscreen: K.value,
739
739
  titles: { ...P.value.userOptions.buttonTitles },
740
- chartElement: D.value,
740
+ chartElement: E.value,
741
741
  position: P.value.userOptions.position,
742
742
  hasAnnotator: P.value.userOptions.buttons.annotator,
743
743
  isAnnotation: Z.value,
@@ -745,8 +745,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
745
745
  printScale: P.value.userOptions.print.scale,
746
746
  tableDialog: P.value.table.useDialog,
747
747
  isCursorPointer: F.value,
748
- onToggleFullscreen: un,
749
- onGeneratePdf: C(Gt),
748
+ onToggleFullscreen: dn,
749
+ onGeneratePdf: S(Kt),
750
750
  onGenerateCsv: yn,
751
751
  onGenerateImage: jn,
752
752
  onGenerateSvg: An,
@@ -754,11 +754,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
754
754
  onToggleTooltip: xn,
755
755
  onToggleAnnotator: Sn,
756
756
  onCopyAlt: Mn,
757
- style: v({ visibility: C(Vt) ? C(zt) ? "visible" : "hidden" : "visible" })
758
- }, je({ _: 2 }, [
757
+ style: _({ visibility: S(Ht) ? S(Bt) ? "visible" : "hidden" : "visible" })
758
+ }, Me({ _: 2 }, [
759
759
  e.$slots.menuIcon ? {
760
760
  name: "menuIcon",
761
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
761
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(m({
762
762
  isOpen: t,
763
763
  color: n
764
764
  })), void 0, !0)]),
@@ -766,37 +766,37 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
766
766
  } : void 0,
767
767
  e.$slots.optionTooltip ? {
768
768
  name: "optionTooltip",
769
- fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
769
+ fn: C(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
770
770
  key: "1"
771
771
  } : void 0,
772
772
  e.$slots.optionPdf ? {
773
773
  name: "optionPdf",
774
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
774
+ fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
775
775
  key: "2"
776
776
  } : void 0,
777
777
  e.$slots.optionCsv ? {
778
778
  name: "optionCsv",
779
- fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
779
+ fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
780
780
  key: "3"
781
781
  } : void 0,
782
782
  e.$slots.optionImg ? {
783
783
  name: "optionImg",
784
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
784
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
785
785
  key: "4"
786
786
  } : void 0,
787
787
  e.$slots.optionSvg ? {
788
788
  name: "optionSvg",
789
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
789
+ fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
790
790
  key: "5"
791
791
  } : void 0,
792
792
  e.$slots.optionTable ? {
793
793
  name: "optionTable",
794
- fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
794
+ fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
795
795
  key: "6"
796
796
  } : void 0,
797
797
  e.$slots.optionFullscreen ? {
798
798
  name: "optionFullscreen",
799
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
799
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(m({
800
800
  toggleFullscreen: t,
801
801
  isFullscreen: n
802
802
  })), void 0, !0)]),
@@ -804,7 +804,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
804
804
  } : void 0,
805
805
  e.$slots.optionAnnotator ? {
806
806
  name: "optionAnnotator",
807
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
807
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(m({
808
808
  toggleAnnotator: t,
809
809
  isAnnotator: n
810
810
  })), void 0, !0)]),
@@ -812,86 +812,86 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
812
812
  } : void 0,
813
813
  e.$slots.optionAltCopy ? {
814
814
  name: "optionAltCopy",
815
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
815
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(m({ altCopy: t })), void 0, !0)]),
816
816
  key: "9"
817
817
  } : void 0,
818
818
  e.$slots["custom-menu-before"] ? {
819
819
  name: "custom-menu-before",
820
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
820
+ fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
821
821
  key: "10"
822
822
  } : void 0,
823
823
  e.$slots["custom-menu-after"] ? {
824
824
  name: "custom-menu-after",
825
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
825
+ fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
826
826
  key: "11"
827
827
  } : void 0
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.style".split("."))) : d("", !0),
829
- p("div", Ge, [(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.style".split("."))) : u("", !0),
829
+ f("div", Ke, [(v(), d("svg", {
830
830
  ref_key: "svgRef",
831
- ref: L,
832
- xmlns: C(oe),
833
- "aria-describedby": `chart-instructions-${E.value}`,
834
- class: Fe({
835
- "vue-data-ui-fullscreen--on": q.value,
836
- "vue-data-ui-fulscreen--off": !q.value
831
+ ref: I,
832
+ xmlns: S(le),
833
+ "aria-describedby": `chart-instructions-${T.value}`,
834
+ class: h({
835
+ "vue-data-ui-fullscreen--on": K.value,
836
+ "vue-data-ui-fulscreen--off": !K.value
837
837
  }),
838
- viewBox: V.value.viewBox,
839
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color}`),
838
+ viewBox: B.value.viewBox,
839
+ style: _(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color}`),
840
840
  tabindex: "0",
841
841
  onFocus: Nn,
842
842
  onBlur: Pn,
843
843
  onKeydown: Fn
844
844
  }, [
845
- Ne(C(ft)),
846
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
845
+ Pe(S(pt)),
846
+ e.$slots["chart-background"] ? (v(), d("foreignObject", {
847
847
  key: 0,
848
848
  x: 0,
849
849
  y: 0,
850
- width: V.value.width,
851
- height: V.value.height,
850
+ width: B.value.width,
851
+ height: B.value.height,
852
852
  style: { pointerEvents: "none" }
853
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : d("", !0),
854
- p("defs", null, [p("filter", {
855
- id: `blur_${E.value}`,
853
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : u("", !0),
854
+ f("defs", null, [f("filter", {
855
+ id: `blur_${T.value}`,
856
856
  x: "-50%",
857
857
  y: "-50%",
858
858
  width: "200%",
859
859
  height: "200%"
860
- }, [p("feGaussianBlur", {
860
+ }, [f("feGaussianBlur", {
861
861
  in: "SourceGraphic",
862
862
  stdDeviation: 100 / P.value.style.chart.layout.arcs.gradient.intensity
863
- }, null, 8, Ye)], 8, Je)]),
864
- (y(!0), f(ke, null, Le(K.value, (e) => (y(), f("g", null, [
865
- e.value ? (y(), f("path", {
863
+ }, null, 8, Xe)], 8, Ye)]),
864
+ (v(!0), d(Ae, null, Re(G.value, (e) => (v(), d("g", null, [
865
+ e.value ? (v(), d("path", {
866
866
  key: 0,
867
867
  d: e.path,
868
868
  fill: "none",
869
869
  stroke: P.value.style.chart.backgroundColor,
870
- "stroke-width": ln(e).border,
870
+ "stroke-width": un(e).border,
871
871
  "stroke-linecap": "round"
872
- }, null, 8, Xe)) : d("", !0),
873
- e.value ? (y(), f("path", {
872
+ }, null, 8, Ze)) : u("", !0),
873
+ e.value ? (v(), d("path", {
874
874
  key: 1,
875
875
  d: e.path,
876
876
  fill: "none",
877
877
  stroke: e.color,
878
- "stroke-width": ln(e).path,
878
+ "stroke-width": un(e).path,
879
879
  "stroke-linecap": "round",
880
- class: Fe(`${k.value && k.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
881
- }, null, 10, Ze)) : d("", !0),
882
- e.value && P.value.style.chart.layout.arcs.gradient.show ? (y(), f("g", {
880
+ class: h(`${O.value && O.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
881
+ }, null, 10, Qe)) : u("", !0),
882
+ e.value && P.value.style.chart.layout.arcs.gradient.show ? (v(), d("g", {
883
883
  key: 2,
884
- filter: `url(#blur_${E.value})`
885
- }, [p("path", {
884
+ filter: `url(#blur_${T.value})`
885
+ }, [f("path", {
886
886
  d: e.path,
887
887
  fill: "none",
888
888
  stroke: P.value.style.chart.layout.arcs.gradient.color,
889
- "stroke-width": ln(e).blur,
889
+ "stroke-width": un(e).blur,
890
890
  "stroke-linecap": "round",
891
- class: Fe(`vue-ui-galaxy-gradient ${k.value && k.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
892
- }, null, 10, $e)], 8, Qe)) : d("", !0)
891
+ class: h(`vue-ui-galaxy-gradient ${O.value && O.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
892
+ }, null, 10, et)], 8, $e)) : u("", !0)
893
893
  ]))), 256)),
894
- (y(!0), f(ke, null, Le(K.value, (e, t) => (y(), f("g", null, [e.value ? (y(), f("path", {
894
+ (v(!0), d(Ae, null, Re(G.value, (e, t) => (v(), d("g", null, [e.value ? (v(), d("path", {
895
895
  key: 0,
896
896
  "data-a11y-serie-id": e.id,
897
897
  d: e.path,
@@ -899,7 +899,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
899
899
  stroke: "transparent",
900
900
  "stroke-width": P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth,
901
901
  "stroke-linecap": "round",
902
- "aria-label": `${e.name}: ${C(c)({
902
+ "aria-label": `${e.name}: ${S(a)({
903
903
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
904
904
  v: e.value,
905
905
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -915,59 +915,59 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
915
915
  }),
916
916
  onMouseleave: (t) => mn(e),
917
917
  onClick: (t) => hn(e)
918
- }, null, 40, et)) : d("", !0)]))), 256)),
919
- x(e.$slots, "svg", { svg: {
920
- ...V.value,
921
- isPrintingImg: C(Ut) || C(Wt) || kt.value,
922
- isPrintingSvg: At.value
918
+ }, null, 40, tt)) : u("", !0)]))), 256)),
919
+ b(e.$slots, "svg", { svg: {
920
+ ...B.value,
921
+ isPrintingImg: S(Wt) || S(Gt) || M.value,
922
+ isPrintingSvg: kt.value
923
923
  } }, void 0, !0)
924
- ], 46, Ke)), e.$slots.hint ? (y(), f("div", tt, [x(e.$slots, "hint", _(h({
924
+ ], 46, qe)), e.$slots.hint ? (v(), d("div", nt, [b(e.$slots, "hint", g(m({
925
925
  hint: P.value.a11y.translations.keyboardNavigation,
926
926
  isVisible: Nt.value
927
- })), void 0, !0)])) : d("", !0)]),
928
- e.$slots.watermark ? (y(), f("div", nt, [x(e.$slots, "watermark", _(h({ isPrinting: C(Ut) || C(Wt) || kt.value || At.value })), void 0, !0)])) : d("", !0),
929
- p("div", { id: `legend-bottom-${E.value}` }, null, 8, rt),
930
- Dt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ae, {
927
+ })), void 0, !0)])) : u("", !0)]),
928
+ e.$slots.watermark ? (v(), d("div", rt, [b(e.$slots, "watermark", g(m({ isPrinting: S(Wt) || S(Gt) || M.value || kt.value })), void 0, !0)])) : u("", !0),
929
+ f("div", { id: `legend-bottom-${T.value}` }, null, 8, it),
930
+ Dt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(je, {
931
931
  key: 6,
932
- to: P.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
933
- }, [p("div", {
932
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
933
+ }, [f("div", {
934
934
  ref_key: "chartLegend",
935
- ref: Ct
936
- }, [x(e.$slots, "legend", { legend: J.value }, () => [P.value.style.chart.legend.show ? (y(), u(De, {
937
- key: `legend_${xt.value}`,
935
+ ref: wt
936
+ }, [b(e.$slots, "legend", { legend: J.value }, () => [P.value.style.chart.legend.show ? (v(), l(Oe, {
937
+ key: `legend_${St.value}`,
938
938
  legendSet: J.value,
939
939
  config: vn.value,
940
- onClickMarker: t[0] ||= ({ legend: e }) => U(e)
940
+ onClickMarker: t[0] ||= ({ legend: e }) => H(e)
941
941
  }, {
942
- item: w(({ legend: e, index: t }) => [C(I) ? d("", !0) : (y(), f("div", {
942
+ item: C(({ legend: e, index: t }) => [S(It) ? u("", !0) : (v(), d("div", {
943
943
  key: 0,
944
- onClick: (t) => U(e),
945
- style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
946
- }, S(e.display), 13, it))]),
947
- legendToggle: w(() => [J.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !C(I) ? (y(), u(Se, {
944
+ onClick: (t) => H(e),
945
+ style: _(`opacity:${V.value.includes(e.id) ? .5 : 1}`)
946
+ }, x(e.display), 13, at))]),
947
+ legendToggle: C(() => [J.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !S(It) ? (v(), l(Ce, {
948
948
  key: 0,
949
949
  backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
950
950
  color: P.value.style.chart.legend.selectAllToggle.color,
951
951
  fontSize: P.value.style.chart.legend.fontSize,
952
- checked: H.value.length > 0,
953
- onToggle: $t
952
+ checked: V.value.length > 0,
953
+ onToggle: en
954
954
  }, null, 8, [
955
955
  "backgroundColor",
956
956
  "color",
957
957
  "fontSize",
958
958
  "checked"
959
- ])) : d("", !0)]),
959
+ ])) : u("", !0)]),
960
960
  _: 1
961
- }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
962
- e.$slots.source ? (y(), f("div", {
961
+ }, 8, ["legendSet", "config"])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
962
+ e.$slots.source ? (v(), d("div", {
963
963
  key: 7,
964
964
  ref_key: "source",
965
- ref: wt,
965
+ ref: Tt,
966
966
  dir: "auto"
967
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
968
- Ne(C(ot), {
967
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
968
+ Pe(S(st), {
969
969
  teleportTo: P.value.style.chart.tooltip.teleportTo,
970
- show: R.value.showTooltip && O.value,
970
+ show: L.value.showTooltip && D.value,
971
971
  backgroundColor: P.value.style.chart.tooltip.backgroundColor,
972
972
  color: P.value.style.chart.tooltip.color,
973
973
  borderRadius: P.value.style.chart.tooltip.borderRadius,
@@ -978,10 +978,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
978
978
  position: P.value.style.chart.tooltip.position,
979
979
  offsetX: P.value.style.chart.tooltip.offsetX,
980
980
  offsetY: P.value.style.chart.tooltip.offsetY,
981
- parent: D.value,
982
- content: _t.value,
983
- isFullscreen: q.value,
984
- isCustom: C(ce)(P.value.style.chart.tooltip.customFormat),
981
+ parent: E.value,
982
+ content: vt.value,
983
+ isFullscreen: K.value,
984
+ isCustom: S(ue)(P.value.style.chart.tooltip.customFormat),
985
985
  smooth: P.value.style.chart.tooltip.smooth,
986
986
  backdropFilter: P.value.style.chart.tooltip.backdropFilter,
987
987
  smoothForce: P.value.style.chart.tooltip.smoothForce,
@@ -989,9 +989,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
989
989
  isA11yMode: Mt.value === "keyboard",
990
990
  a11yPosition: jt.value
991
991
  }, {
992
- "tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...dn.value })), void 0, !0)]),
993
- tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...dn.value })), void 0, !0)]),
994
- "tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...dn.value })), void 0, !0)]),
992
+ "tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(m({ ...q.value })), void 0, !0)]),
993
+ tooltip: C(() => [b(e.$slots, "tooltip", g(m({ ...q.value })), void 0, !0)]),
994
+ "tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(m({ ...q.value })), void 0, !0)]),
995
995
  _: 3
996
996
  }, 8, [
997
997
  "teleportTo",
@@ -1017,13 +1017,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
1017
1017
  "isA11yMode",
1018
1018
  "a11yPosition"
1019
1019
  ]),
1020
- Pt.value && P.value.userOptions.buttons.table ? (y(), u(Re(Q.value.component), Pe({ key: 8 }, Q.value.props, {
1020
+ Pt.value && P.value.userOptions.buttons.table ? (v(), l(ze(Q.value.component), Fe({ key: 8 }, Q.value.props, {
1021
1021
  ref_key: "tableUnit",
1022
1022
  ref: j,
1023
1023
  onClose: wn
1024
- }), je({
1025
- content: w(() => [(y(), u(C(lt), {
1026
- key: `table_${bt.value}`,
1024
+ }), Me({
1025
+ content: C(() => [(v(), l(S(ut), {
1026
+ key: `table_${xt.value}`,
1027
1027
  colNames: X.value.colNames,
1028
1028
  head: X.value.head,
1029
1029
  body: X.value.body,
@@ -1033,14 +1033,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
1033
1033
  isCursorPointer: F.value,
1034
1034
  onClose: wn
1035
1035
  }, {
1036
- th: w(({ th: e }) => [p("div", {
1036
+ th: C(({ th: e }) => [f("div", {
1037
1037
  innerHTML: e,
1038
1038
  style: {
1039
1039
  display: "flex",
1040
1040
  "align-items": "center"
1041
1041
  }
1042
- }, null, 8, at)]),
1043
- td: w(({ td: e }) => [Me(S(e.name || e), 1)]),
1042
+ }, null, 8, ot)]),
1043
+ td: C(({ td: e }) => [Ne(x(e.name || e), 1)]),
1044
1044
  _: 1
1045
1045
  }, 8, [
1046
1046
  "colNames",
@@ -1054,24 +1054,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We
1054
1054
  _: 2
1055
1055
  }, [P.value.table.useDialog ? {
1056
1056
  name: "title",
1057
- fn: w(() => [Me(S(Q.value.title), 1)]),
1057
+ fn: C(() => [Ne(x(Q.value.title), 1)]),
1058
1058
  key: "0"
1059
1059
  } : void 0, P.value.table.useDialog ? {
1060
1060
  name: "actions",
1061
- fn: w(() => [p("button", {
1061
+ fn: C(() => [f("button", {
1062
1062
  tabindex: "0",
1063
1063
  class: "vue-ui-user-options-button",
1064
1064
  onClick: t[1] ||= (e) => yn(P.value.userOptions.callbacks.csv),
1065
- style: v({ cursor: F.value ? "pointer" : "default" })
1066
- }, [Ne(C(st), {
1065
+ style: _({ cursor: F.value ? "pointer" : "default" })
1066
+ }, [Pe(S(ct), {
1067
1067
  name: "fileCsv",
1068
1068
  stroke: Q.value.props.color
1069
1069
  }, null, 8, ["stroke"])], 4)]),
1070
1070
  key: "1"
1071
- } : void 0]), 1040)) : d("", !0),
1072
- x(e.$slots, "skeleton", {}, () => [C(I) ? (y(), u(pe, { key: 0 })) : d("", !0)], !0)
1073
- ], 46, He));
1071
+ } : void 0]), 1040)) : u("", !0),
1072
+ b(e.$slots, "skeleton", {}, () => [S(It) ? (v(), l(me, { key: 0 })) : u("", !0)], !0)
1073
+ ], 46, Ue));
1074
1074
  }
1075
1075
  }, [["__scopeId", "data-v-d013ae09"]]);
1076
1076
  //#endregion
1077
- export { Ve as n, ot as t };
1077
+ export { He as n, st as t };