vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  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-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  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 +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -1,24 +1,23 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
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-DWtet-Hh.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";
2
+ import { At as t, C as n, E as r, Gt as i, K as a, L as o, Lt as s, Nt as ee, Q as te, Y as c, bt as ne, et as re, ft as ie, i as ae, qt as oe, st as se, t as ce, x as le } from "./lib-CFm_J26b.js";
3
+ import { t as ue } from "./useConfig-C0V0eG7L.js";
4
+ import { t as de } from "./usePrinter-BH-xle1O.js";
5
+ import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as me } from "./useSvgExport-Ba9qBr9M.js";
7
+ import { t as he } from "./useNestedProp-BY6DNN3i.js";
8
+ import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as _e } from "./img-Bikk1dGb.js";
10
+ import { n as ve } from "./Title-BuPs74IB.js";
11
+ import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
13
+ import { t as Se } from "./BaseLegendToggle-DsWphmIb.js";
14
+ import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as we } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as Ee } from "./labelUtils-BUhssos9.js";
18
+ import { t as De } from "./Legend-C0xAnJdO.js";
19
+ import { t as Oe } from "./vue_ui_galaxy-Ig0cc1_h.js";
20
+ 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 Fe, normalizeClass as Ie, 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
21
  //#region src/components/vue-ui-galaxy.vue
23
22
  var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
24
23
  "xmlns",
@@ -57,7 +56,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
57
56
  }, rt = {
58
57
  key: 5,
59
58
  class: "vue-data-ui-watermark"
60
- }, it = ["id"], at = ["onClick"], ot = ["innerHTML"], st = /*#__PURE__*/ be({
59
+ }, it = ["id"], at = ["onClick"], ot = ["innerHTML"], st = /*#__PURE__*/ ye({
61
60
  __name: "vue-ui-galaxy",
62
61
  props: {
63
62
  config: {
@@ -78,11 +77,11 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
78
77
  "selectDatapoint",
79
78
  "copyAlt"
80
79
  ],
81
- setup(e, { expose: be, emit: He }) {
82
- let st = p(() => import("./Tooltip-CxOrWlFy.js")), ct = p(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), lt = p(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), ut = p(() => import("./DataTable-BxpTMgfK.js")), dt = p(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), ft = p(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), pt = p(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), mt = p(() => import("./BaseDraggableDialog-Av7Uxq5V.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({
80
+ setup(e, { expose: ye, emit: He }) {
81
+ let st = m(() => import("./Tooltip-CA1rtSyl.js")), ct = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), lt = m(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), ut = m(() => import("./DataTable-DzPEVvSo.js")), dt = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), ft = m(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), pt = m(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), mt = m(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_galaxy: ht } = ue(), { isThemeValid: gt, warnInvalidTheme: _t } = ge(), w = e, T = y(a()), 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), kt = y(!1), At = y(!1), M = y(null), N = y(null), jt = y({
83
82
  x: 0,
84
83
  y: 0
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({
84
+ }), Mt = y("pointer"), Nt = y(!1), Pt = l(() => !!w.dataset && w.dataset.length), P = y(Ht()), F = l(() => P.value.userOptions.useCursorPointer), Ft = l(() => oe({
86
85
  defaultConfig: {
87
86
  userOptions: { show: !1 },
88
87
  table: { show: !1 },
@@ -93,13 +92,13 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
93
92
  } }
94
93
  },
95
94
  userConfig: P.value.skeletonConfig ?? {}
96
- })), { loading: It, FINAL_DATASET: Lt } = pe({
95
+ })), { loading: I, FINAL_DATASET: It } = fe({
97
96
  ...Be(w),
98
97
  FINAL_CONFIG: P,
99
- prepareConfig: Ut,
98
+ prepareConfig: Ht,
100
99
  callback: () => {
101
100
  Promise.resolve().then(async () => {
102
- await Ie(), L.value.showTable = P.value.table.show;
101
+ await Fe(), R.value.showTable = P.value.table.show;
103
102
  });
104
103
  },
105
104
  skeletonDataset: w.config?.skeletonDataset ?? [
@@ -119,36 +118,36 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
119
118
  color: "#ADADAD"
120
119
  }
121
120
  ],
122
- skeletonConfig: o({
121
+ skeletonConfig: oe({
123
122
  defaultConfig: P.value,
124
123
  userConfig: Ft.value
125
124
  })
126
125
  });
127
126
  Le(() => {
128
- Dt.value = !0, zt();
127
+ Dt.value = !0, Rt();
129
128
  });
130
- let Rt = c(() => !!P.value.debug);
131
- function zt() {
132
- if (se(w.dataset) ? t({
129
+ let Lt = l(() => !!P.value.debug);
130
+ function Rt() {
131
+ if (t(w.dataset) ? re({
133
132
  componentName: "VueUiGalaxy",
134
133
  type: "dataset",
135
- debug: Rt.value
136
- }) : w.dataset.forEach((e, n) => {
137
- ae({
134
+ debug: Lt.value
135
+ }) : w.dataset.forEach((e, t) => {
136
+ ie({
138
137
  datasetObject: e,
139
138
  requiredAttributes: ["name", "values"]
140
139
  }).forEach((e) => {
141
- t({
140
+ re({
142
141
  componentName: "VueUiGalaxy",
143
142
  type: "datasetSerieAttribute",
144
143
  property: e,
145
- index: n,
146
- debug: Rt.value
144
+ index: t,
145
+ debug: Lt.value
147
146
  });
148
147
  });
149
148
  }), P.value.responsive) {
150
- let e = xe(() => {
151
- let { width: e, height: t } = Se({
149
+ let e = be(() => {
150
+ let { width: e, height: t } = xe({
152
151
  chart: E.value,
153
152
  title: P.value.style.chart.title.text ? Ct.value : null,
154
153
  legend: P.value.style.chart.legend.show ? wt.value : null,
@@ -156,134 +155,134 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
156
155
  source: Tt.value
157
156
  });
158
157
  requestAnimationFrame(() => {
159
- R.value = Math.max(.1, e), z.value = Math.max(.1, t - 12);
158
+ z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
160
159
  });
161
160
  });
162
161
  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
162
  }
164
163
  }
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({
164
+ let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = we({ config: P.value }), { svgRef: L } = Te({ config: P.value.style.chart.title });
165
+ function Ht() {
166
+ let e = he({
168
167
  userConfig: w.config,
169
168
  defaultConfig: ht
170
169
  }), t = e.theme;
171
170
  if (!t) return e;
172
171
  if (!gt.value(e)) return _t(e), e;
173
- let n = ge({
174
- userConfig: ke[t] || w.config,
172
+ let n = he({
173
+ userConfig: Oe[t] || w.config,
175
174
  defaultConfig: e
176
- }), r = ge({
175
+ }), r = he({
177
176
  userConfig: w.config,
178
177
  defaultConfig: n
179
178
  });
180
179
  return {
181
180
  ...r,
182
- customPalette: r.customPalette.length ? r.customPalette : ne[t] || s
181
+ customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
183
182
  };
184
183
  }
185
184
  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;
185
+ P.value = Ht(), zt.value = !P.value.userOptions.showOnChartHover, Rt(), bt.value += 1, xt.value += 1, St.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;
187
186
  }, { deep: !0 });
188
- let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = fe({
187
+ let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = de({
189
188
  elementId: `galaxy_${T.value}`,
190
189
  fileName: P.value.style.chart.title.text || "vue-ui-galaxy",
191
190
  options: P.value.userOptions.print
192
- }), Jt = c(() => P.value.userOptions.show && !P.value.style.chart.title.text), Yt = c(() => ee(P.value.customPalette)), L = y({
191
+ }), qt = l(() => P.value.userOptions.show && !P.value.style.chart.title.text), Jt = l(() => n(P.value.customPalette)), R = y({
193
192
  dataLabels: { show: P.value.style.chart.layout.labels.dataLabels.show },
194
193
  showTable: P.value.table.show,
195
194
  showTooltip: P.value.style.chart.tooltip.show
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) => ({
195
+ }), z = y(250), B = y(180), Yt = y(0), Xt = y(0), V = l(() => ({
196
+ width: z.value,
197
+ height: B.value,
198
+ viewBox: `${Yt.value} ${Xt.value} ${z.value} ${B.value}`
199
+ })), Zt = He, H = y([]);
200
+ function Qt() {
201
+ Zt("selectLegend", K.value.map((e) => ({
203
202
  name: e.name,
204
203
  color: e.color,
205
204
  value: e.value
206
205
  })));
207
206
  }
208
- function en() {
209
- V.value.length ? V.value = [] : J.value.forEach((e) => {
210
- V.value.push(e.id);
211
- }), $t();
207
+ function $t() {
208
+ H.value.length ? H.value = [] : J.value.forEach((e) => {
209
+ H.value.push(e.id);
210
+ }), Qt();
211
+ }
212
+ function U(e) {
213
+ H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), Qt();
212
214
  }
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();
215
+ function en(e) {
216
+ 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);
215
217
  }
216
218
  function tn(e) {
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);
219
+ let t = en(e);
220
+ t !== null && H.value.includes(t.id) && U({ id: t.id });
218
221
  }
219
222
  function nn(e) {
220
- let t = tn(e);
221
- t !== null && V.value.includes(t.id) && H({ id: t.id });
222
- }
223
- function rn(e) {
224
- let t = tn(e);
225
- t !== null && (V.value.includes(t.id) || H({ id: t.id }));
223
+ let t = en(e);
224
+ t !== null && (H.value.includes(t.id) || U({ id: t.id }));
226
225
  }
227
- let U = c(() => Lt.value.map((e, t) => ({
226
+ let W = l(() => It.value.map((e, t) => ({
228
227
  name: e.name,
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()
228
+ color: le(e.color) || Jt.value[t] || ee[t] || ee[t % ee.length],
229
+ value: e.values ? s(e.values).reduce((e, t) => e + t, 0) : 0,
230
+ absoluteValues: s(e.values),
231
+ id: a()
233
232
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
234
233
  ...e,
235
234
  absoluteIndex: t
236
235
  })));
237
- function an() {
238
- return U.value.map((e) => ({
236
+ function rn() {
237
+ return W.value.map((e) => ({
239
238
  name: e.name,
240
239
  color: e.color,
241
240
  value: e.value
242
241
  }));
243
242
  }
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,
243
+ let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), an = y(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(() => o({
244
+ maxPoints: an.value,
246
245
  a: P.value.style.chart.layout.arcs.a ?? 6,
247
246
  b: P.value.style.chart.layout.arcs.b ?? 6,
248
247
  angleStep: P.value.style.chart.layout.arcs.angleStep ?? .07,
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(() => {
248
+ startX: V.value.width / 2 + P.value.style.chart.layout.arcs.offsetX,
249
+ startY: V.value.height / 2 + P.value.style.chart.layout.arcs.offsetY,
250
+ boxWidth: V.value.width,
251
+ boxHeight: V.value.height,
252
+ padding: sn.value
253
+ })), K = l(() => {
255
254
  let e = [];
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);
255
+ for (let t = 0; t < on.value.length; t += 1) {
256
+ let n = on.value[t], r = n.value / G.value * an.value + (t > 0 && e.length ? e[t - 1].points : 0);
258
257
  e.push({
259
258
  points: r,
260
259
  ...n,
261
260
  seriesIndex: t,
262
- proportion: n.value / W.value,
263
- path: ln.value(r)
261
+ proportion: n.value / G.value,
262
+ path: cn.value(r)
264
263
  });
265
264
  }
266
- return e.filter((e) => !V.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
265
+ return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
267
266
  });
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;
267
+ function ln(e) {
268
+ let t = Math.min(z.value, B.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
269
  return {
271
270
  border: r / 180 * t,
272
271
  path: i / 180 * t,
273
272
  blur: a / 180 * t
274
273
  };
275
274
  }
276
- let K = y(!1);
277
- function dn(e) {
278
- K.value = e, yt.value += 1;
275
+ let q = y(!1);
276
+ function un(e) {
277
+ q.value = e, yt.value += 1;
279
278
  }
280
- let q = y(null);
279
+ let dn = y(null);
281
280
  function fn() {
282
- D.value = !1, O.value = null, N.value = null, At.value = null;
281
+ D.value = !1, O.value = null, M.value = null, N.value = null;
283
282
  }
284
283
  function pn(e) {
285
- if (!I.value || !e) return;
286
- let t = I.value.querySelector(`[data-a11y-serie-id="${e}"]`);
284
+ if (!L.value || !e) return;
285
+ let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
287
286
  if (!t) return;
288
287
  let n = t.getBoundingClientRect();
289
288
  jt.value = {
@@ -295,17 +294,17 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
295
294
  P.value.events.datapointLeave && P.value.events.datapointLeave({
296
295
  datapoint: e,
297
296
  seriesIndex: e.absoluteIndex
298
- }), !(At.value === e.id && Mt.value === "keyboard") && (D.value = !1, O.value = null);
297
+ }), !(N.value === e.id && Mt.value === "keyboard") && (D.value = !1, O.value = null);
299
298
  }
300
299
  function hn(e) {
301
- Qt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
300
+ Zt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
302
301
  datapoint: e,
303
302
  seriesIndex: e.absoluteIndex
304
303
  });
305
304
  }
306
305
  function gn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
307
306
  let i = P.value.style.chart.layout.labels.dataLabels;
308
- return De({
307
+ return Ee({
309
308
  config: i,
310
309
  val: e,
311
310
  percentage: t,
@@ -313,32 +312,32 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
313
312
  showPercentage: r
314
313
  });
315
314
  }
316
- function _n({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: o = null }) {
315
+ function _n({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
317
316
  if (P.value.events.datapointEnter && P.value.events.datapointEnter({
318
317
  datapoint: e,
319
318
  seriesIndex: e.absoluteIndex
320
- }), !L.value.showTooltip) return;
321
- Mt.value = i, N.value = o, At.value = e.id, q.value = {
319
+ }), !R.value.showTooltip) return;
320
+ Mt.value = i, M.value = a, N.value = e.id, dn.value = {
322
321
  datapoint: e,
323
322
  seriesIndex: n,
324
- series: U.value,
323
+ series: W.value,
325
324
  config: P.value
326
325
  }, D.value = r, O.value = e.id;
327
- let s = "", ee = P.value.style.chart.tooltip.customFormat;
328
- ue(ee) && ce(() => ee({
326
+ let o = "", s = P.value.style.chart.tooltip.customFormat;
327
+ ne(s) && se(() => s({
329
328
  seriesIndex: n,
330
329
  datapoint: e,
331
- series: U.value,
330
+ series: W.value,
332
331
  config: P.value
333
- })) ? vt.value = ee({
332
+ })) ? vt.value = s({
334
333
  seriesIndex: n,
335
334
  datapoint: e,
336
- series: U.value,
335
+ series: W.value,
337
336
  config: P.value
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({
337
+ }) : (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({
339
338
  showVal: P.value.style.chart.tooltip.showValue,
340
339
  showPercentage: P.value.style.chart.tooltip.showPercentage,
341
- val: oe(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, a({
340
+ val: ae(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
342
341
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
343
342
  v: e.value,
344
343
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -347,17 +346,17 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
347
346
  datapoint: e,
348
347
  seriesIndex: n
349
348
  }),
350
- percentage: a({
349
+ percentage: c({
351
350
  v: e.proportion * 100,
352
351
  s: "%",
353
352
  r: P.value.style.chart.tooltip.roundingPercentage
354
353
  })
355
- })}</b></div>`, vt.value = `<div>${s}</div>`), i === "keyboard" && Ie(() => {
354
+ })}</b></div>`, vt.value = `<div>${o}</div>`), i === "keyboard" && Fe(() => {
356
355
  pn(e.id);
357
356
  });
358
357
  }
359
- let J = c(() => U.value.map((e, t) => {
360
- let n = oe(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, a({
358
+ let J = l(() => W.value.map((e, t) => {
359
+ let n = ae(P.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
361
360
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
362
361
  v: e.value,
363
362
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -365,8 +364,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
365
364
  }), {
366
365
  datapoint: e,
367
366
  index: t
368
- }), r = isNaN(e.value / W.value) || V.value.includes(e.id) ? "-" : a({
369
- v: e.value / W.value * 100,
367
+ }), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : c({
368
+ v: e.value / G.value * 100,
370
369
  s: "%",
371
370
  r: P.value.style.chart.legend.roundingPercentage
372
371
  }), i = gn({
@@ -377,34 +376,34 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
377
376
  });
378
377
  return {
379
378
  ...e,
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,
379
+ proportion: (e.value || 0) / It.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
380
+ opacity: H.value.includes(e.id) ? .5 : 1,
382
381
  shape: e.shape || "circle",
383
- segregate: () => H(e),
384
- isSegregated: V.value.includes(e.id),
382
+ segregate: () => U(e),
383
+ isSegregated: H.value.includes(e.id),
385
384
  display: `${e.name}${P.value.style.chart.legend.showPercentage || P.value.style.chart.legend.showValue ? ": " : ""}${i}`
386
385
  };
387
- })), vn = c(() => ({
386
+ })), vn = l(() => ({
388
387
  cy: "galaxy-div-legend",
389
388
  backgroundColor: P.value.style.chart.legend.backgroundColor,
390
389
  color: P.value.style.chart.legend.color,
391
390
  fontSize: P.value.style.chart.legend.fontSize,
392
391
  paddingBottom: 12,
393
392
  fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
394
- })), Y = c(() => ({
395
- head: G.value.map((e) => ({
393
+ })), Y = l(() => ({
394
+ head: K.value.map((e) => ({
396
395
  name: e.name,
397
396
  color: e.color
398
397
  })),
399
- body: G.value.map((e) => e.value)
398
+ body: K.value.map((e) => e.value)
400
399
  }));
401
400
  function yn(e = null) {
402
- Ie(() => {
401
+ Fe(() => {
403
402
  let t = Y.value.head.map((e, t) => [
404
403
  [e.name],
405
404
  [Y.value.body[t]],
406
- [isNaN(Y.value.body[t] / W.value) ? "-" : Y.value.body[t] / W.value * 100]
407
- ]), n = te([
405
+ [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
406
+ ]), n = r([
408
407
  [P.value.style.chart.title.text],
409
408
  [P.value.style.chart.title.subtitle.text],
410
409
  [
@@ -413,24 +412,24 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
413
412
  ["%"]
414
413
  ]
415
414
  ].concat(t));
416
- e ? e(n) : re({
415
+ e ? e(n) : te({
417
416
  csvContent: n,
418
417
  title: P.value.style.chart.title.text || "vue-ui-galaxy"
419
418
  });
420
419
  });
421
420
  }
422
- let X = c(() => {
421
+ let X = l(() => {
423
422
  let e = [
424
423
  " <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
- a({
424
+ c({
426
425
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
427
- v: W.value,
426
+ v: G.value,
428
427
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
429
428
  r: P.value.table.td.roundingValue
430
429
  }),
431
430
  "100%"
432
431
  ], t = Y.value.head.map((e, t) => {
433
- let n = a({
432
+ let n = c({
434
433
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
435
434
  v: Y.value.body[t],
436
435
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -442,8 +441,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
442
441
  name: e.name
443
442
  },
444
443
  n,
445
- isNaN(Y.value.body[t] / W.value) ? "-" : a({
446
- v: Y.value.body[t] / W.value * 100,
444
+ isNaN(Y.value.body[t] / G.value) ? "-" : c({
445
+ v: Y.value.body[t] / G.value * 100,
447
446
  s: "%",
448
447
  r: P.value.table.td.roundingPercentage
449
448
  })
@@ -473,10 +472,10 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
473
472
  };
474
473
  });
475
474
  function bn() {
476
- L.value.showTable = !L.value.showTable;
475
+ R.value.showTable = !R.value.showTable;
477
476
  }
478
477
  function xn() {
479
- L.value.showTooltip = !L.value.showTooltip;
478
+ R.value.showTooltip = !R.value.showTooltip;
480
479
  }
481
480
  let Z = y(!1);
482
481
  function Sn() {
@@ -484,7 +483,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
484
483
  }
485
484
  async function Cn({ scale: e = 2 } = {}) {
486
485
  if (!E.value) return;
487
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
486
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
488
487
  domElement: E.value,
489
488
  base64: !0,
490
489
  img: !0,
@@ -499,8 +498,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
499
498
  aspectRatio: r
500
499
  };
501
500
  }
502
- let Q = c(() => {
503
- let e = P.value.table.useDialog && !P.value.table.show, t = L.value.showTable;
501
+ let Q = l(() => {
502
+ let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
504
503
  return {
505
504
  component: e ? mt : lt,
506
505
  title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
@@ -509,7 +508,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
509
508
  color: P.value.table.th.color,
510
509
  headerColor: P.value.table.th.color,
511
510
  headerBg: P.value.table.th.backgroundColor,
512
- isFullscreen: K.value,
511
+ isFullscreen: q.value,
513
512
  fullscreenParent: E.value,
514
513
  forcedWidth: Math.min(500, window.innerWidth * .8),
515
514
  isCursorPointer: F.value
@@ -530,24 +529,24 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
530
529
  }
531
530
  };
532
531
  });
533
- Ve(() => L.value.showTable, (e) => {
532
+ Ve(() => R.value.showTable, (e) => {
534
533
  P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
535
534
  });
536
535
  function wn() {
537
- L.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
536
+ R.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
538
537
  }
539
- let Tn = c(() => J.value.map((e) => ({
538
+ let Tn = l(() => J.value.map((e) => ({
540
539
  ...e,
541
540
  name: e.display
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),
541
+ }))), En = l(() => P.value.style.chart.backgroundColor), Dn = l(() => P.value.style.chart.legend), { exportSvg: On, getSvg: kn } = me({
542
+ svg: L,
543
+ title: l(() => P.value.style.chart.title),
545
544
  legend: Dn,
546
545
  legendItems: Tn,
547
546
  backgroundColor: En
548
547
  });
549
548
  async function An({ isCb: e }) {
550
- kt.value = !0, await Ie();
549
+ At.value = !0, await Fe();
551
550
  try {
552
551
  if (e) {
553
552
  let { blob: e, url: t, text: n, dataUrl: r } = await kn();
@@ -559,41 +558,41 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
559
558
  }));
560
559
  } else await Promise.resolve(On());
561
560
  } finally {
562
- kt.value = !1;
561
+ At.value = !1;
563
562
  }
564
563
  }
565
564
  function jn(e) {
566
565
  if (e?.stage === "start") {
567
- M.value = !0;
566
+ kt.value = !0;
568
567
  return;
569
568
  }
570
569
  if (e?.stage === "end") {
571
- M.value = !1;
570
+ kt.value = !1;
572
571
  return;
573
572
  }
574
- qt();
573
+ Kt();
575
574
  }
576
575
  async function Mn() {
577
- if (Qt("copyAlt", {
576
+ if (Zt("copyAlt", {
578
577
  config: P.value,
579
- dataset: U.value
578
+ dataset: W.value
580
579
  }), !P.value.userOptions.callbacks.altCopy) {
581
580
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
582
581
  return;
583
582
  }
584
583
  await Promise.resolve(P.value.userOptions.callbacks.altCopy({
585
584
  config: P.value,
586
- dataset: U.value
585
+ dataset: W.value
587
586
  }));
588
587
  }
589
588
  function Nn() {
590
- N.value = null, At.value = null, Nt.value = !0;
589
+ M.value = null, N.value = null, Nt.value = !0;
591
590
  }
592
591
  function Pn() {
593
592
  fn(), Nt.value = !1;
594
593
  }
595
594
  function Fn(e) {
596
- if (!I.value || Z.value || document.activeElement !== I.value || !$.value.length) return;
595
+ if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
597
596
  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
597
  if (!t && !n && !r && !i) return;
599
598
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -601,13 +600,13 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
601
600
  return;
602
601
  }
603
602
  if (r) {
604
- if (N.value === null) return;
605
- let e = $.value[N.value];
603
+ if (M.value === null) return;
604
+ let e = $.value[M.value];
606
605
  if (!e) return;
607
606
  hn(e.datapoint);
608
607
  return;
609
608
  }
610
- let a = N.value;
609
+ let a = M.value;
611
610
  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
611
  let o = $.value[a];
613
612
  o && _n({
@@ -618,43 +617,43 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
618
617
  flatIndex: a
619
618
  });
620
619
  }
621
- let In = c(() => ({
620
+ let In = l(() => ({
622
621
  headers: X.value?.colNames ?? [],
623
622
  rows: X.value?.body ?? []
624
- })), $ = c(() => G.value.map((e, t) => ({
623
+ })), $ = l(() => K.value.map((e, t) => ({
625
624
  datapoint: e,
626
625
  index: t
627
626
  })));
628
- return be({
629
- getData: an,
627
+ return ye({
628
+ getData: rn,
630
629
  getImage: Cn,
631
- generatePdf: Kt,
630
+ generatePdf: Gt,
632
631
  generateCsv: yn,
633
- generateImage: qt,
632
+ generateImage: Kt,
634
633
  generateSvg: An,
635
- hideSeries: rn,
636
- showSeries: nn,
634
+ hideSeries: nn,
635
+ showSeries: tn,
637
636
  toggleTable: bn,
638
637
  toggleTooltip: xn,
639
638
  toggleAnnotator: Sn,
640
- toggleFullscreen: dn,
639
+ toggleFullscreen: un,
641
640
  copyAlt: Mn
642
- }), (e, t) => (v(), d("div", {
641
+ }), (e, t) => (v(), f("div", {
643
642
  ref_key: "galaxyChart",
644
643
  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" : ""}`),
644
+ class: Ie(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"} ${S(I) ? "loading" : ""}`),
646
645
  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
646
  id: `galaxy_${T.value}`,
648
- onMouseenter: t[2] ||= () => S(Vt)(!0),
647
+ onMouseenter: t[2] ||= () => S(Bt)(!0),
649
648
  onMouseleave: t[3] ||= () => {
650
- S(Vt)(!1), Nt.value || fn();
649
+ S(Bt)(!1), Nt.value || fn();
651
650
  }
652
651
  }, [
653
- f("div", {
652
+ p("div", {
654
653
  id: `chart-instructions-${T.value}`,
655
654
  class: "sr-only"
656
- }, [f("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, We),
657
- In.value?.rows?.length ? (v(), l(we, {
655
+ }, [p("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, We),
656
+ In.value?.rows?.length ? (v(), u(Ce, {
658
657
  key: 0,
659
658
  uid: T.value,
660
659
  head: In.value.headers,
@@ -667,10 +666,10 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
667
666
  "body",
668
667
  "notice",
669
668
  "caption"
670
- ])) : u("", !0),
671
- P.value.userOptions.buttons.annotator ? (v(), l(S(dt), {
669
+ ])) : d("", !0),
670
+ P.value.userOptions.buttons.annotator ? (v(), u(S(dt), {
672
671
  key: 1,
673
- svgRef: S(I),
672
+ svgRef: S(L),
674
673
  backgroundColor: P.value.style.chart.backgroundColor,
675
674
  color: P.value.style.chart.color,
676
675
  active: Z.value,
@@ -678,11 +677,11 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
678
677
  onClose: Sn
679
678
  }, {
680
679
  "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)]),
680
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
681
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
682
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
683
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
684
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
686
685
  _: 3
687
686
  }, 8, [
688
687
  "svgRef",
@@ -690,20 +689,20 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
690
689
  "color",
691
690
  "active",
692
691
  "isCursorPointer"
693
- ])) : u("", !0),
694
- Jt.value ? (v(), d("div", {
692
+ ])) : d("", !0),
693
+ qt.value ? (v(), f("div", {
695
694
  key: 2,
696
695
  ref_key: "noTitle",
697
696
  ref: Et,
698
697
  class: "vue-data-ui-no-title-space",
699
698
  style: "height:36px; width: 100%;background:transparent"
700
- }, null, 512)) : u("", !0),
701
- P.value.style.chart.title.text ? (v(), d("div", {
699
+ }, null, 512)) : d("", !0),
700
+ P.value.style.chart.title.text ? (v(), f("div", {
702
701
  key: 3,
703
702
  ref_key: "chartTitle",
704
703
  ref: Ct,
705
704
  style: "width:100%;background:transparent;padding-bottom:24px"
706
- }, [(v(), l(ye, {
705
+ }, [(v(), u(ve, {
707
706
  key: `title_${bt.value}`,
708
707
  config: {
709
708
  title: {
@@ -715,16 +714,16 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
715
714
  ...P.value.style.chart.title.subtitle
716
715
  }
717
716
  }
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), {
717
+ }, null, 8, ["config"]))], 512)) : d("", !0),
718
+ p("div", { id: `legend-top-${T.value}` }, null, 8, Ge),
719
+ P.value.userOptions.show && Pt.value && (S(Vt) || S(zt)) ? (v(), u(S(ft), {
721
720
  ref_key: "userOptionsRef",
722
721
  ref: Ot,
723
722
  key: `user_option_${yt.value}`,
724
723
  backgroundColor: P.value.style.chart.backgroundColor,
725
724
  color: P.value.style.chart.color,
726
- isPrinting: S(Wt),
727
- isImaging: S(Gt),
725
+ isPrinting: S(Ut),
726
+ isImaging: S(Wt),
728
727
  uid: T.value,
729
728
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
730
729
  hasPdf: P.value.userOptions.buttons.pdf,
@@ -734,8 +733,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
734
733
  hasTable: P.value.userOptions.buttons.table,
735
734
  hasFullscreen: P.value.userOptions.buttons.fullscreen,
736
735
  hasAltCopy: P.value.userOptions.buttons.altCopy,
737
- isTooltip: L.value.showTooltip,
738
- isFullscreen: K.value,
736
+ isTooltip: R.value.showTooltip,
737
+ isFullscreen: q.value,
739
738
  titles: { ...P.value.userOptions.buttonTitles },
740
739
  chartElement: E.value,
741
740
  position: P.value.userOptions.position,
@@ -745,8 +744,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
745
744
  printScale: P.value.userOptions.print.scale,
746
745
  tableDialog: P.value.table.useDialog,
747
746
  isCursorPointer: F.value,
748
- onToggleFullscreen: dn,
749
- onGeneratePdf: S(Kt),
747
+ onToggleFullscreen: un,
748
+ onGeneratePdf: S(Gt),
750
749
  onGenerateCsv: yn,
751
750
  onGenerateImage: jn,
752
751
  onGenerateSvg: An,
@@ -754,11 +753,11 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
754
753
  onToggleTooltip: xn,
755
754
  onToggleAnnotator: Sn,
756
755
  onCopyAlt: Mn,
757
- style: _({ visibility: S(Ht) ? S(Bt) ? "visible" : "hidden" : "visible" })
758
- }, Me({ _: 2 }, [
756
+ style: _({ visibility: S(Vt) ? S(zt) ? "visible" : "hidden" : "visible" })
757
+ }, je({ _: 2 }, [
759
758
  e.$slots.menuIcon ? {
760
759
  name: "menuIcon",
761
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(m({
760
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
762
761
  isOpen: t,
763
762
  color: n
764
763
  })), void 0, !0)]),
@@ -796,7 +795,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
796
795
  } : void 0,
797
796
  e.$slots.optionFullscreen ? {
798
797
  name: "optionFullscreen",
799
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(m({
798
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
800
799
  toggleFullscreen: t,
801
800
  isFullscreen: n
802
801
  })), void 0, !0)]),
@@ -804,7 +803,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
804
803
  } : void 0,
805
804
  e.$slots.optionAnnotator ? {
806
805
  name: "optionAnnotator",
807
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(m({
806
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
808
807
  toggleAnnotator: t,
809
808
  isAnnotator: n
810
809
  })), void 0, !0)]),
@@ -812,7 +811,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
812
811
  } : void 0,
813
812
  e.$slots.optionAltCopy ? {
814
813
  name: "optionAltCopy",
815
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(m({ altCopy: t })), void 0, !0)]),
814
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
816
815
  key: "9"
817
816
  } : void 0,
818
817
  e.$slots["custom-menu-before"] ? {
@@ -825,73 +824,73 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
825
824
  fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
826
825
  key: "11"
827
826
  } : 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("."))) : u("", !0),
829
- f("div", Ke, [(v(), d("svg", {
827
+ ]), 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),
828
+ p("div", Ke, [(v(), f("svg", {
830
829
  ref_key: "svgRef",
831
- ref: I,
832
- xmlns: S(le),
830
+ ref: L,
831
+ xmlns: S(ce),
833
832
  "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
833
+ class: Ie({
834
+ "vue-data-ui-fullscreen--on": q.value,
835
+ "vue-data-ui-fulscreen--off": !q.value
837
836
  }),
838
- viewBox: B.value.viewBox,
837
+ viewBox: V.value.viewBox,
839
838
  style: _(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color}`),
840
839
  tabindex: "0",
841
840
  onFocus: Nn,
842
841
  onBlur: Pn,
843
842
  onKeydown: Fn
844
843
  }, [
845
- Pe(S(pt)),
846
- e.$slots["chart-background"] ? (v(), d("foreignObject", {
844
+ Ne(S(pt)),
845
+ e.$slots["chart-background"] ? (v(), f("foreignObject", {
847
846
  key: 0,
848
847
  x: 0,
849
848
  y: 0,
850
- width: B.value.width,
851
- height: B.value.height,
849
+ width: V.value.width,
850
+ height: V.value.height,
852
851
  style: { pointerEvents: "none" }
853
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : u("", !0),
854
- f("defs", null, [f("filter", {
852
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : d("", !0),
853
+ p("defs", null, [p("filter", {
855
854
  id: `blur_${T.value}`,
856
855
  x: "-50%",
857
856
  y: "-50%",
858
857
  width: "200%",
859
858
  height: "200%"
860
- }, [f("feGaussianBlur", {
859
+ }, [p("feGaussianBlur", {
861
860
  in: "SourceGraphic",
862
861
  stdDeviation: 100 / P.value.style.chart.layout.arcs.gradient.intensity
863
862
  }, 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", {
863
+ (v(!0), f(ke, null, Re(K.value, (e) => (v(), f("g", null, [
864
+ e.value ? (v(), f("path", {
866
865
  key: 0,
867
866
  d: e.path,
868
867
  fill: "none",
869
868
  stroke: P.value.style.chart.backgroundColor,
870
- "stroke-width": un(e).border,
869
+ "stroke-width": ln(e).border,
871
870
  "stroke-linecap": "round"
872
- }, null, 8, Ze)) : u("", !0),
873
- e.value ? (v(), d("path", {
871
+ }, null, 8, Ze)) : d("", !0),
872
+ e.value ? (v(), f("path", {
874
873
  key: 1,
875
874
  d: e.path,
876
875
  fill: "none",
877
876
  stroke: e.color,
878
- "stroke-width": un(e).path,
877
+ "stroke-width": ln(e).path,
879
878
  "stroke-linecap": "round",
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", {
879
+ class: Ie(`${O.value && O.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
880
+ }, null, 10, Qe)) : d("", !0),
881
+ e.value && P.value.style.chart.layout.arcs.gradient.show ? (v(), f("g", {
883
882
  key: 2,
884
883
  filter: `url(#blur_${T.value})`
885
- }, [f("path", {
884
+ }, [p("path", {
886
885
  d: e.path,
887
886
  fill: "none",
888
887
  stroke: P.value.style.chart.layout.arcs.gradient.color,
889
- "stroke-width": un(e).blur,
888
+ "stroke-width": ln(e).blur,
890
889
  "stroke-linecap": "round",
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)
890
+ class: Ie(`vue-ui-galaxy-gradient ${O.value && O.value !== e.id && P.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
891
+ }, null, 10, et)], 8, $e)) : d("", !0)
893
892
  ]))), 256)),
894
- (v(!0), d(Ae, null, Re(G.value, (e, t) => (v(), d("g", null, [e.value ? (v(), d("path", {
893
+ (v(!0), f(ke, null, Re(K.value, (e, t) => (v(), f("g", null, [e.value ? (v(), f("path", {
895
894
  key: 0,
896
895
  "data-a11y-serie-id": e.id,
897
896
  d: e.path,
@@ -899,7 +898,7 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
899
898
  stroke: "transparent",
900
899
  "stroke-width": P.value.style.chart.layout.arcs.strokeWidth + P.value.style.chart.layout.arcs.borderWidth,
901
900
  "stroke-linecap": "round",
902
- "aria-label": `${e.name}: ${S(a)({
901
+ "aria-label": `${e.name}: ${S(c)({
903
902
  p: P.value.style.chart.layout.labels.dataLabels.prefix,
904
903
  v: e.value,
905
904
  s: P.value.style.chart.layout.labels.dataLabels.suffix,
@@ -915,59 +914,59 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
915
914
  }),
916
915
  onMouseleave: (t) => mn(e),
917
916
  onClick: (t) => hn(e)
918
- }, null, 40, tt)) : u("", !0)]))), 256)),
917
+ }, null, 40, tt)) : d("", !0)]))), 256)),
919
918
  b(e.$slots, "svg", { svg: {
920
- ...B.value,
921
- isPrintingImg: S(Wt) || S(Gt) || M.value,
922
- isPrintingSvg: kt.value
919
+ ...V.value,
920
+ isPrintingImg: S(Ut) || S(Wt) || kt.value,
921
+ isPrintingSvg: At.value
923
922
  } }, void 0, !0)
924
- ], 46, qe)), e.$slots.hint ? (v(), d("div", nt, [b(e.$slots, "hint", g(m({
923
+ ], 46, qe)), e.$slots.hint ? (v(), f("div", nt, [b(e.$slots, "hint", g(h({
925
924
  hint: P.value.a11y.translations.keyboardNavigation,
926
925
  isVisible: Nt.value
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, {
926
+ })), void 0, !0)])) : d("", !0)]),
927
+ e.$slots.watermark ? (v(), f("div", rt, [b(e.$slots, "watermark", g(h({ isPrinting: S(Ut) || S(Wt) || kt.value || At.value })), void 0, !0)])) : d("", !0),
928
+ p("div", { id: `legend-bottom-${T.value}` }, null, 8, it),
929
+ Dt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(Ae, {
931
930
  key: 6,
932
931
  to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
933
- }, [f("div", {
932
+ }, [p("div", {
934
933
  ref_key: "chartLegend",
935
934
  ref: wt
936
- }, [b(e.$slots, "legend", { legend: J.value }, () => [P.value.style.chart.legend.show ? (v(), l(Oe, {
935
+ }, [b(e.$slots, "legend", { legend: J.value }, () => [P.value.style.chart.legend.show ? (v(), u(De, {
937
936
  key: `legend_${St.value}`,
938
937
  legendSet: J.value,
939
938
  config: vn.value,
940
- onClickMarker: t[0] ||= ({ legend: e }) => H(e)
939
+ onClickMarker: t[0] ||= ({ legend: e }) => U(e)
941
940
  }, {
942
- item: C(({ legend: e, index: t }) => [S(It) ? u("", !0) : (v(), d("div", {
941
+ item: C(({ legend: e, index: t }) => [S(I) ? d("", !0) : (v(), f("div", {
943
942
  key: 0,
944
- onClick: (t) => H(e),
945
- style: _(`opacity:${V.value.includes(e.id) ? .5 : 1}`)
943
+ onClick: (t) => U(e),
944
+ style: _(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
946
945
  }, x(e.display), 13, at))]),
947
- legendToggle: C(() => [J.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !S(It) ? (v(), l(Ce, {
946
+ legendToggle: C(() => [J.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !S(I) ? (v(), u(Se, {
948
947
  key: 0,
949
948
  backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
950
949
  color: P.value.style.chart.legend.selectAllToggle.color,
951
950
  fontSize: P.value.style.chart.legend.fontSize,
952
- checked: V.value.length > 0,
953
- onToggle: en
951
+ checked: H.value.length > 0,
952
+ onToggle: $t
954
953
  }, null, 8, [
955
954
  "backgroundColor",
956
955
  "color",
957
956
  "fontSize",
958
957
  "checked"
959
- ])) : u("", !0)]),
958
+ ])) : d("", !0)]),
960
959
  _: 1
961
- }, 8, ["legendSet", "config"])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
962
- e.$slots.source ? (v(), d("div", {
960
+ }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
961
+ e.$slots.source ? (v(), f("div", {
963
962
  key: 7,
964
963
  ref_key: "source",
965
964
  ref: Tt,
966
965
  dir: "auto"
967
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
968
- Pe(S(st), {
966
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
967
+ Ne(S(st), {
969
968
  teleportTo: P.value.style.chart.tooltip.teleportTo,
970
- show: L.value.showTooltip && D.value,
969
+ show: R.value.showTooltip && D.value,
971
970
  backgroundColor: P.value.style.chart.tooltip.backgroundColor,
972
971
  color: P.value.style.chart.tooltip.color,
973
972
  borderRadius: P.value.style.chart.tooltip.borderRadius,
@@ -980,8 +979,8 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
980
979
  offsetY: P.value.style.chart.tooltip.offsetY,
981
980
  parent: E.value,
982
981
  content: vt.value,
983
- isFullscreen: K.value,
984
- isCustom: S(ue)(P.value.style.chart.tooltip.customFormat),
982
+ isFullscreen: q.value,
983
+ isCustom: S(ne)(P.value.style.chart.tooltip.customFormat),
985
984
  smooth: P.value.style.chart.tooltip.smooth,
986
985
  backdropFilter: P.value.style.chart.tooltip.backdropFilter,
987
986
  smoothForce: P.value.style.chart.tooltip.smoothForce,
@@ -989,9 +988,9 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
989
988
  isA11yMode: Mt.value === "keyboard",
990
989
  a11yPosition: jt.value
991
990
  }, {
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)]),
991
+ "tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(h({ ...dn.value })), void 0, !0)]),
992
+ tooltip: C(() => [b(e.$slots, "tooltip", g(h({ ...dn.value })), void 0, !0)]),
993
+ "tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(h({ ...dn.value })), void 0, !0)]),
995
994
  _: 3
996
995
  }, 8, [
997
996
  "teleportTo",
@@ -1017,12 +1016,12 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
1017
1016
  "isA11yMode",
1018
1017
  "a11yPosition"
1019
1018
  ]),
1020
- Pt.value && P.value.userOptions.buttons.table ? (v(), l(ze(Q.value.component), Fe({ key: 8 }, Q.value.props, {
1019
+ Pt.value && P.value.userOptions.buttons.table ? (v(), u(ze(Q.value.component), Pe({ key: 8 }, Q.value.props, {
1021
1020
  ref_key: "tableUnit",
1022
1021
  ref: j,
1023
1022
  onClose: wn
1024
- }), Me({
1025
- content: C(() => [(v(), l(S(ut), {
1023
+ }), je({
1024
+ content: C(() => [(v(), u(S(ut), {
1026
1025
  key: `table_${xt.value}`,
1027
1026
  colNames: X.value.colNames,
1028
1027
  head: X.value.head,
@@ -1033,14 +1032,14 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
1033
1032
  isCursorPointer: F.value,
1034
1033
  onClose: wn
1035
1034
  }, {
1036
- th: C(({ th: e }) => [f("div", {
1035
+ th: C(({ th: e }) => [p("div", {
1037
1036
  innerHTML: e,
1038
1037
  style: {
1039
1038
  display: "flex",
1040
1039
  "align-items": "center"
1041
1040
  }
1042
1041
  }, null, 8, ot)]),
1043
- td: C(({ td: e }) => [Ne(x(e.name || e), 1)]),
1042
+ td: C(({ td: e }) => [Me(x(e.name || e), 1)]),
1044
1043
  _: 1
1045
1044
  }, 8, [
1046
1045
  "colNames",
@@ -1054,22 +1053,22 @@ var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge
1054
1053
  _: 2
1055
1054
  }, [P.value.table.useDialog ? {
1056
1055
  name: "title",
1057
- fn: C(() => [Ne(x(Q.value.title), 1)]),
1056
+ fn: C(() => [Me(x(Q.value.title), 1)]),
1058
1057
  key: "0"
1059
1058
  } : void 0, P.value.table.useDialog ? {
1060
1059
  name: "actions",
1061
- fn: C(() => [f("button", {
1060
+ fn: C(() => [p("button", {
1062
1061
  tabindex: "0",
1063
1062
  class: "vue-ui-user-options-button",
1064
1063
  onClick: t[1] ||= (e) => yn(P.value.userOptions.callbacks.csv),
1065
1064
  style: _({ cursor: F.value ? "pointer" : "default" })
1066
- }, [Pe(S(ct), {
1065
+ }, [Ne(S(ct), {
1067
1066
  name: "fileCsv",
1068
1067
  stroke: Q.value.props.color
1069
1068
  }, null, 8, ["stroke"])], 4)]),
1070
1069
  key: "1"
1071
- } : void 0]), 1040)) : u("", !0),
1072
- b(e.$slots, "skeleton", {}, () => [S(It) ? (v(), l(me, { key: 0 })) : u("", !0)], !0)
1070
+ } : void 0]), 1040)) : d("", !0),
1071
+ b(e.$slots, "skeleton", {}, () => [S(I) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
1073
1072
  ], 46, Ue));
1074
1073
  }
1075
1074
  }, [["__scopeId", "data-v-d013ae09"]]);