vue-data-ui 3.23.9 → 3.23.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 (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
  13. package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
  95. package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
  96. package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
  110. package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
  112. package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
  114. package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
  115. package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
  117. package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
  118. package/dist/vue-ui-chord-BuConnPN.js +1345 -0
  119. package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
  120. package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
  121. package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
  122. package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
  123. package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
  124. package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
  125. package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
  126. package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
  128. package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
  129. package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
  130. package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
  131. package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
  132. package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
  133. package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
  134. package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
  135. package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
  136. package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
  138. package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
  141. package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
  142. package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
  143. package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
  145. package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
  147. package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
  148. package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
  150. package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
  151. package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
  152. package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
  153. package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
  154. package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
  159. package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
  161. package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
  162. package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
  163. package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
  164. package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
  167. package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
  168. package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
  170. package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
  171. package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
  172. package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
  174. package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
  175. package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
  176. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  177. package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
  178. package/package.json +1 -1
  179. package/dist/exposedLib-C0DPCgFj.js +0 -28
  180. package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
  181. package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
  182. package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
  183. package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
  184. package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
  185. package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
  186. package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
  187. package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
  188. package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
  189. package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
  191. package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
  192. package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
  193. package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
  194. package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
  195. package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
  196. package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
  197. package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
  198. package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
  199. package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
  200. package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
@@ -1,43 +1,43 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Jt as r, Kt as i, Pt as a, R as o, Rt as s, S as ee, X as c, ct as te, i as ne, jt as re, pt as ie, q as ae, t as oe, tt as se, w as ce, xt as le } from "./lib-Bttd6u5E.js";
2
+ import { $ as t, Bt as n, D as r, It as i, Jt as a, Nt as o, R as s, S as ee, St as te, X as c, Xt as ne, i as re, lt as ie, mt as ae, nt as oe, q as se, t as ce, w as le } from "./lib-Dqr_-I6Y.js";
3
3
  import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as fe } from "./useConfig-DwdGsXTx.js";
5
- import { t as pe } from "./usePrinter-DN5bYhTG.js";
5
+ import { t as pe } from "./usePrinter-CEiH1b6R.js";
6
6
  import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ge } from "./useNestedProp-vPNvh7rV.js";
7
+ import { t as ge } from "./useNestedProp-CulPqtou.js";
8
8
  import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as ve } from "./useChartExport-DNiwdPmb.js";
10
10
  import { t as ye } from "./useTransitions-g_zBREk2.js";
11
- import { t as be } from "./img-Bnokohej.js";
12
- import { n as xe } from "./Title-BE3qg9xl.js";
11
+ import { t as be } from "./img-Bkzj3lDD.js";
12
+ import { n as xe } from "./Title-CaVA8EIw.js";
13
13
  import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Te } from "./BaseLegendToggle-DZVucLnv.js";
15
+ import { t as Te } from "./BaseLegendToggle-CtEdLr4R.js";
16
16
  import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as De } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as ke } from "./labelUtils-BeVpDvTJ.js";
20
- import { t as Ae } from "./Legend-CQxUgOd-.js";
19
+ import { t as ke } from "./labelUtils-iX76cA2-.js";
20
+ import { t as Ae } from "./Legend-BJtY2RA9.js";
21
21
  import { t as je } from "./vue_ui_galaxy-Ig0cc1_h.js";
22
- import { Fragment as Me, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as ze, openBlock as y, ref as b, renderList as Be, renderSlot as x, resolveDynamicComponent as Ve, toDisplayString as He, toRefs as Ue, unref as S, watch as We, withCtx as C } from "vue";
22
+ import { Fragment as Me, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as m, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Re, openBlock as b, ref as x, renderList as ze, renderSlot as S, resolveDynamicComponent as Be, toDisplayString as C, toRefs as Ve, unref as w, watch as He, withCtx as T } from "vue";
23
23
  //#region src/components/vue-ui-galaxy.vue
24
- var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
+ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], Ze = ["width", "height"], Qe = ["id"], $e = ["stdDeviation"], et = [
28
+ ], Ye = ["width", "height"], Xe = ["id"], Ze = ["stdDeviation"], Qe = [
29
29
  "d",
30
30
  "stroke",
31
31
  "stroke-width"
32
- ], tt = [
32
+ ], $e = [
33
33
  "d",
34
34
  "stroke",
35
35
  "stroke-width"
36
- ], nt = ["filter"], rt = [
36
+ ], et = ["filter"], tt = [
37
37
  "d",
38
38
  "stroke",
39
39
  "stroke-width"
40
- ], it = [
40
+ ], nt = [
41
41
  "data-a11y-serie-id",
42
42
  "d",
43
43
  "stroke-width",
@@ -45,7 +45,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
45
45
  "onMouseenter",
46
46
  "onMouseleave",
47
47
  "onClick"
48
- ], at = {
48
+ ], rt = {
49
49
  key: 0,
50
50
  style: {
51
51
  position: "absolute",
@@ -55,10 +55,10 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
55
55
  },
56
56
  "data-dom-to-png-ignore": "",
57
57
  "aria-hidden": "true"
58
- }, ot = {
58
+ }, it = {
59
59
  key: 5,
60
60
  class: "vue-data-ui-watermark"
61
- }, st = ["id"], ct = ["onClick"], lt = ["innerHTML"], ut = /*#__PURE__*/ Se({
61
+ }, at = ["id"], ot = ["onClick"], st = { key: 0 }, ct = { key: 1 }, lt = /*#__PURE__*/ Se({
62
62
  __name: "vue-ui-galaxy",
63
63
  props: {
64
64
  config: {
@@ -79,14 +79,14 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
79
79
  "selectDatapoint",
80
80
  "copyAlt"
81
81
  ],
82
- setup(e, { expose: Se, emit: Ge }) {
83
- let ut = m(() => import("./Tooltip-DhjyfHwz.js")), dt = m(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), ft = m(() => import("./vue-ui-accordion-CLU_su1P.js").then((e) => e.n)), pt = m(() => import("./DataTable-BbKgJ5UI.js")), mt = m(() => import("./PenAndPaper-C0UZ74fa.js").then((e) => e.t)), ht = m(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), gt = m(() => import("./PackageVersion-B629oKuX.js").then((e) => e.t)), _t = m(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_galaxy: vt } = fe(), { isThemeValid: yt, warnInvalidTheme: bt } = _e(), w = e, T = b(ae()), E = b(null), D = b(!1), xt = b(""), O = b(null), St = b(0), Ct = b(0), wt = b(0), Tt = b(0), Et = b(null), Dt = b(null), Ot = b(null), kt = b(null), k = b(null), A = b(null), At = b(!1), j = b(null), jt = b(null), M = b(null), N = b(null), Mt = b({
82
+ setup(e, { expose: Se, emit: Ue }) {
83
+ let lt = h(() => import("./Tooltip-CVxJe3UW.js")), ut = h(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), dt = h(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), ft = h(() => import("./DataTable-CmyEubtT.js")), pt = h(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), mt = h(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), ht = h(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), gt = h(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_galaxy: _t } = fe(), { isThemeValid: vt, warnInvalidTheme: yt } = _e(), E = e, D = x(se()), O = x(null), k = x(!1), bt = x(""), A = x(null), xt = x(0), St = x(0), Ct = x(0), wt = x(0), Tt = x(null), Et = x(null), Dt = x(null), Ot = x(null), j = x(null), kt = x(null), At = x(!1), M = x(null), jt = x(null), N = x(null), Mt = x(null), Nt = x({
84
84
  x: 0,
85
85
  y: 0
86
- }), Nt = b("pointer"), P = b(!1), Pt = l(() => !!w.dataset && w.dataset.length), F = b(Ht());
86
+ }), Pt = x("pointer"), P = x(!1), Ft = l(() => !!E.dataset && E.dataset.length), F = x(Gt());
87
87
  ue({
88
88
  config: () => F.value,
89
- dataset: () => w.dataset,
89
+ dataset: () => E.dataset,
90
90
  component: "VueUiGalaxy",
91
91
  rules: [
92
92
  de.singleSeries,
@@ -105,10 +105,10 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
105
105
  }
106
106
  ]
107
107
  });
108
- let { transitionEnabled: Ft } = ye({
108
+ let { transitionEnabled: It } = ye({
109
109
  config: () => F.value.transitions,
110
- dataset: () => w.dataset
111
- }), I = l(() => F.value.userOptions.useCursorPointer), It = l(() => r({
110
+ dataset: () => E.dataset
111
+ }), I = l(() => F.value.userOptions.useCursorPointer), Lt = l(() => ne({
112
112
  defaultConfig: {
113
113
  userOptions: { show: !1 },
114
114
  table: { show: !1 },
@@ -119,16 +119,16 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
119
119
  } }
120
120
  },
121
121
  userConfig: F.value.skeletonConfig ?? {}
122
- })), { loading: L, FINAL_DATASET: Lt } = me({
123
- ...Ue(w),
122
+ })), { loading: Rt, FINAL_DATASET: zt } = me({
123
+ ...Ve(E),
124
124
  FINAL_CONFIG: F,
125
- prepareConfig: Ht,
125
+ prepareConfig: Gt,
126
126
  callback: () => {
127
127
  Promise.resolve().then(async () => {
128
- await Re(), B.value.showTable = F.value.table.show;
128
+ await Le(), R.value.showTable = F.value.table.show;
129
129
  });
130
130
  },
131
- skeletonDataset: w.config?.skeletonDataset ?? [
131
+ skeletonDataset: E.config?.skeletonDataset ?? [
132
132
  {
133
133
  name: "_",
134
134
  values: [21],
@@ -145,26 +145,26 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
145
145
  color: "#ADADAD"
146
146
  }
147
147
  ],
148
- skeletonConfig: r({
148
+ skeletonConfig: ne({
149
149
  defaultConfig: F.value,
150
- userConfig: It.value
150
+ userConfig: Lt.value
151
151
  })
152
152
  });
153
- ze(() => {
154
- At.value = !0, Rt();
153
+ Re(() => {
154
+ At.value = !0, Vt();
155
155
  });
156
- let R = l(() => F.value.debug);
157
- function Rt() {
158
- if (re(w.dataset) ? se({
156
+ let Bt = l(() => F.value.debug);
157
+ function Vt() {
158
+ if (o(E.dataset) ? oe({
159
159
  componentName: "VueUiGalaxy",
160
160
  type: "dataset",
161
- debug: R.value
162
- }) : R.value && w.dataset.forEach((e, t) => {
163
- ie({
161
+ debug: Bt.value
162
+ }) : Bt.value && E.dataset.forEach((e, t) => {
163
+ ae({
164
164
  datasetObject: e,
165
165
  requiredAttributes: ["name", "values"]
166
166
  }).forEach((e) => {
167
- se({
167
+ oe({
168
168
  componentName: "VueUiGalaxy",
169
169
  type: "datasetSerieAttribute",
170
170
  property: e,
@@ -174,100 +174,100 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
174
174
  }), F.value.responsive) {
175
175
  let e = Ce(() => {
176
176
  let { width: e, height: t } = we({
177
- chart: E.value,
178
- title: F.value.style.chart.title.text ? Et.value : null,
179
- legend: F.value.style.chart.legend.show ? Dt.value : null,
180
- noTitle: kt.value,
181
- source: Ot.value
177
+ chart: O.value,
178
+ title: F.value.style.chart.title.text ? Tt.value : null,
179
+ legend: F.value.style.chart.legend.show ? Et.value : null,
180
+ noTitle: Ot.value,
181
+ source: Dt.value
182
182
  });
183
183
  requestAnimationFrame(() => {
184
- Yt.value = Math.max(.1, e), Xt.value = Math.max(.1, t - 12);
184
+ z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
185
185
  });
186
186
  });
187
- k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = E.value.parentNode, k.value.observe(A.value);
187
+ j.value && (kt.value && j.value.unobserve(kt.value), j.value.disconnect()), j.value = new ResizeObserver(e), kt.value = O.value.parentNode, j.value.observe(kt.value);
188
188
  }
189
189
  }
190
- let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = De({ config: F.value }), { svgRef: z } = Oe({ config: F.value.style.chart.title });
191
- function Ht() {
190
+ let { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } = De({ config: F.value }), { svgRef: L } = Oe({ config: F.value.style.chart.title });
191
+ function Gt() {
192
192
  let e = ge({
193
- userConfig: w.config,
194
- defaultConfig: vt
193
+ userConfig: E.config,
194
+ defaultConfig: _t
195
195
  }), t = e.theme;
196
196
  if (!t) return e;
197
- if (!yt.value(e)) return bt(e), e;
197
+ if (!vt.value(e)) return yt(e), e;
198
198
  let n = ge({
199
- userConfig: je[t] || w.config,
199
+ userConfig: je[t] || E.config,
200
200
  defaultConfig: e
201
201
  }), r = ge({
202
- userConfig: w.config,
202
+ userConfig: E.config,
203
203
  defaultConfig: n
204
204
  });
205
205
  return {
206
206
  ...r,
207
- customPalette: r.customPalette.length ? r.customPalette : i[t] || a
207
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || i
208
208
  };
209
209
  }
210
- We(() => w.config, (e) => {
211
- F.value = Ht(), zt.value = !F.value.userOptions.showOnChartHover, Rt(), Ct.value += 1, wt.value += 1, Tt.value += 1, B.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = F.value.table.show, B.value.showTooltip = F.value.style.chart.tooltip.show;
210
+ He(() => E.config, (e) => {
211
+ F.value = Gt(), Ht.value = !F.value.userOptions.showOnChartHover, Vt(), St.value += 1, Ct.value += 1, wt.value += 1, R.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = F.value.table.show, R.value.showTooltip = F.value.style.chart.tooltip.show;
212
212
  }, { deep: !0 });
213
- let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = pe({
214
- elementId: `galaxy_${T.value}`,
213
+ let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } = pe({
214
+ elementId: `galaxy_${D.value}`,
215
215
  fileName: F.value.style.chart.title.text || "vue-ui-galaxy",
216
216
  options: F.value.userOptions.print
217
- }), qt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), Jt = l(() => ce(F.value.customPalette)), B = b({
217
+ }), Xt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), Zt = l(() => le(F.value.customPalette)), R = x({
218
218
  dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
219
219
  showTable: F.value.table.show,
220
220
  showTooltip: F.value.style.chart.tooltip.show
221
- }), Yt = b(250), Xt = b(180), Zt = b(0), Qt = b(0), V = l(() => ({
222
- width: Yt.value,
223
- height: Xt.value,
224
- viewBox: `${Zt.value} ${Qt.value} ${Yt.value} ${Xt.value}`
225
- })), $t = Ge, H = b([]);
226
- function en() {
227
- $t("selectLegend", K.value.map((e) => ({
221
+ }), z = x(250), B = x(180), Qt = x(0), $t = x(0), V = l(() => ({
222
+ width: z.value,
223
+ height: B.value,
224
+ viewBox: `${Qt.value} ${$t.value} ${z.value} ${B.value}`
225
+ })), en = Ue, H = x([]);
226
+ function tn() {
227
+ en("selectLegend", K.value.map((e) => ({
228
228
  name: e.name,
229
229
  color: e.color,
230
230
  value: e.value
231
231
  })));
232
232
  }
233
- function tn() {
233
+ function nn() {
234
234
  H.value.length ? H.value = [] : J.value.forEach((e) => {
235
235
  H.value.push(e.id);
236
- }), en();
236
+ }), tn();
237
237
  }
238
238
  function U(e) {
239
- H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), en();
240
- }
241
- function nn(e) {
242
- return W.value.length ? W.value.find((t) => t.name === e) || (R.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (R.value && console.warn("VueUiGalaxy - There are no series to show."), null);
239
+ H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), tn();
243
240
  }
244
241
  function rn(e) {
245
- let t = nn(e);
246
- t !== null && H.value.includes(t.id) && U({ id: t.id });
242
+ return W.value.length ? W.value.find((t) => t.name === e) || (Bt.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (Bt.value && console.warn("VueUiGalaxy - There are no series to show."), null);
247
243
  }
248
244
  function an(e) {
249
- let t = nn(e);
245
+ let t = rn(e);
246
+ t !== null && H.value.includes(t.id) && U({ id: t.id });
247
+ }
248
+ function on(e) {
249
+ let t = rn(e);
250
250
  t !== null && (H.value.includes(t.id) || U({ id: t.id }));
251
251
  }
252
- let W = l(() => Lt.value.map((e, t) => ({
252
+ let W = l(() => zt.value.map((e, t) => ({
253
253
  name: e.name,
254
- color: ee(e.color) || Jt.value[t] || a[t] || a[t % a.length],
255
- value: e.values ? s(e.values).reduce((e, t) => e + t, 0) : 0,
256
- absoluteValues: s(e.values),
257
- id: ae()
254
+ color: ee(e.color) || Zt.value[t] || i[t] || i[t % i.length],
255
+ value: e.values ? n(e.values).reduce((e, t) => e + t, 0) : 0,
256
+ absoluteValues: n(e.values),
257
+ id: se()
258
258
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
259
259
  ...e,
260
260
  absoluteIndex: t
261
261
  })));
262
- function on() {
262
+ function sn() {
263
263
  return W.value.map((e) => ({
264
264
  name: e.name,
265
265
  color: e.color,
266
266
  value: e.value
267
267
  }));
268
268
  }
269
- let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), sn = b(190), cn = l(() => W.value.filter((e) => !H.value.includes(e.id))), ln = l(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), un = l(() => o({
270
- maxPoints: sn.value,
269
+ let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), cn = x(190), ln = l(() => W.value.filter((e) => !H.value.includes(e.id))), un = l(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), dn = l(() => s({
270
+ maxPoints: cn.value,
271
271
  a: F.value.style.chart.layout.arcs.a ?? 6,
272
272
  b: F.value.style.chart.layout.arcs.b ?? 6,
273
273
  angleStep: F.value.style.chart.layout.arcs.angleStep ?? .07,
@@ -275,60 +275,60 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
275
275
  startY: V.value.height / 2 + F.value.style.chart.layout.arcs.offsetY,
276
276
  boxWidth: V.value.width,
277
277
  boxHeight: V.value.height,
278
- padding: ln.value
278
+ padding: un.value
279
279
  })), K = l(() => {
280
280
  let e = [];
281
- for (let t = 0; t < cn.value.length; t += 1) {
282
- let n = cn.value[t], r = n.value / G.value * sn.value + (t > 0 && e.length ? e[t - 1].points : 0);
281
+ for (let t = 0; t < ln.value.length; t += 1) {
282
+ let n = ln.value[t], r = n.value / G.value * cn.value + (t > 0 && e.length ? e[t - 1].points : 0);
283
283
  e.push({
284
284
  points: r,
285
285
  ...n,
286
286
  seriesIndex: t,
287
287
  proportion: n.value / G.value,
288
- path: un.value(r)
288
+ path: dn.value(r)
289
289
  });
290
290
  }
291
291
  return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
292
292
  });
293
- function dn(e) {
294
- let t = Math.min(Yt.value, Xt.value), n = O.value === e.id && F.value.style.chart.layout.arcs.hoverEffect.show ? F.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) * n, i = F.value.style.chart.layout.arcs.strokeWidth * n, a = F.value.style.chart.layout.arcs.strokeWidth / 2 * n;
293
+ function fn(e) {
294
+ let t = Math.min(z.value, B.value), n = A.value === e.id && F.value.style.chart.layout.arcs.hoverEffect.show ? F.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) * n, i = F.value.style.chart.layout.arcs.strokeWidth * n, a = F.value.style.chart.layout.arcs.strokeWidth / 2 * n;
295
295
  return {
296
296
  border: r / 180 * t,
297
297
  path: i / 180 * t,
298
298
  blur: a / 180 * t
299
299
  };
300
300
  }
301
- let q = b(!1);
302
- function fn(e) {
303
- q.value = e, St.value += 1;
301
+ let q = x(!1);
302
+ function pn(e) {
303
+ q.value = e, xt.value += 1;
304
304
  }
305
- let pn = b(null);
306
- function mn() {
307
- D.value = !1, O.value = null, M.value = null, N.value = null;
305
+ let mn = x(null);
306
+ function hn() {
307
+ k.value = !1, A.value = null, N.value = null, Mt.value = null;
308
308
  }
309
- function hn(e) {
310
- if (!z.value || !e) return;
311
- let t = z.value.querySelector(`[data-a11y-serie-id="${e}"]`);
309
+ function gn(e) {
310
+ if (!L.value || !e) return;
311
+ let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
312
312
  if (!t) return;
313
313
  let n = t.getBoundingClientRect();
314
- Mt.value = {
314
+ Nt.value = {
315
315
  x: n.left + n.width / 2,
316
316
  y: n.top + n.height / 2
317
317
  };
318
318
  }
319
- function gn(e) {
319
+ function _n(e) {
320
320
  F.value.events.datapointLeave && F.value.events.datapointLeave({
321
321
  datapoint: e,
322
322
  seriesIndex: e.absoluteIndex
323
- }), (N.value !== e.id || Nt.value !== "keyboard") && (D.value = !1, O.value = null);
323
+ }), (Mt.value !== e.id || Pt.value !== "keyboard") && (k.value = !1, A.value = null);
324
324
  }
325
- function _n(e) {
326
- $t("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
325
+ function vn(e) {
326
+ en("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
327
327
  datapoint: e,
328
328
  seriesIndex: e.absoluteIndex
329
329
  });
330
330
  }
331
- function vn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
331
+ function yn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
332
332
  let i = F.value.style.chart.layout.labels.dataLabels;
333
333
  return ke({
334
334
  config: i,
@@ -338,32 +338,32 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
338
338
  showPercentage: r
339
339
  });
340
340
  }
341
- function yn({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
341
+ function bn({ datapoint: e, _relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer", flatIndex: a = null }) {
342
342
  if (F.value.events.datapointEnter && F.value.events.datapointEnter({
343
343
  datapoint: e,
344
344
  seriesIndex: e.absoluteIndex
345
- }), !B.value.showTooltip) return;
346
- Nt.value = i, M.value = a, N.value = e.id, pn.value = {
345
+ }), !R.value.showTooltip) return;
346
+ Pt.value = i, N.value = a, Mt.value = e.id, mn.value = {
347
347
  datapoint: e,
348
348
  seriesIndex: n,
349
349
  series: W.value,
350
350
  config: F.value
351
- }, D.value = r, O.value = e.id;
351
+ }, k.value = r, A.value = e.id;
352
352
  let o = "", s = F.value.style.chart.tooltip.customFormat;
353
- le(s) && te(() => s({
353
+ te(s) && ie(() => s({
354
354
  seriesIndex: n,
355
355
  datapoint: e,
356
356
  series: W.value,
357
357
  config: F.value
358
- })) ? xt.value = s({
358
+ })) ? bt.value = s({
359
359
  seriesIndex: n,
360
360
  datapoint: e,
361
361
  series: W.value,
362
362
  config: F.value
363
- }) : (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${vn({
363
+ }) : (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${yn({
364
364
  showVal: F.value.style.chart.tooltip.showValue,
365
365
  showPercentage: F.value.style.chart.tooltip.showPercentage,
366
- val: ne(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
366
+ val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
367
367
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
368
368
  v: e.value,
369
369
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -377,12 +377,12 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
377
377
  s: "%",
378
378
  r: F.value.style.chart.tooltip.roundingPercentage
379
379
  })
380
- })}</b></div>`, xt.value = `<div>${o}</div>`), i === "keyboard" && Re(() => {
381
- hn(e.id);
380
+ })}</b></div>`, bt.value = `<div>${o}</div>`), i === "keyboard" && Le(() => {
381
+ gn(e.id);
382
382
  });
383
383
  }
384
384
  let J = l(() => W.value.map((e, t) => {
385
- let n = ne(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
385
+ let n = re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
386
386
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
387
387
  v: e.value,
388
388
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
@@ -394,7 +394,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
394
394
  v: e.value / G.value * 100,
395
395
  s: "%",
396
396
  r: F.value.style.chart.legend.roundingPercentage
397
- }), i = vn({
397
+ }), i = yn({
398
398
  showVal: F.value.style.chart.legend.showValue,
399
399
  showPercentage: F.value.style.chart.legend.showPercentage,
400
400
  val: n,
@@ -402,14 +402,14 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
402
402
  });
403
403
  return {
404
404
  ...e,
405
- proportion: (e.value || 0) / Lt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
405
+ proportion: (e.value || 0) / zt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
406
406
  opacity: H.value.includes(e.id) ? .5 : 1,
407
407
  shape: e.shape || "circle",
408
408
  segregate: () => U(e),
409
409
  isSegregated: H.value.includes(e.id),
410
410
  display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${i}`
411
411
  };
412
- })), bn = l(() => ({
412
+ })), xn = l(() => ({
413
413
  cy: "galaxy-div-legend",
414
414
  backgroundColor: F.value.style.chart.legend.backgroundColor,
415
415
  color: F.value.style.chart.legend.color,
@@ -423,9 +423,9 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
423
423
  })),
424
424
  body: K.value.map((e) => e.value)
425
425
  }));
426
- function xn(e = null) {
427
- Re(() => {
428
- let r = Y.value.head.map((e, t) => [
426
+ function Sn(e = null) {
427
+ Le(() => {
428
+ let n = Y.value.head.map((e, t) => [
429
429
  [e.name],
430
430
  [Y.value.body[t]],
431
431
  [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
@@ -437,7 +437,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
437
437
  ["val"],
438
438
  ["%"]
439
439
  ]
440
- ].concat(r), a = n(i);
440
+ ].concat(n), a = r(i);
441
441
  e ? e(a) : t({
442
442
  csvContent: a,
443
443
  title: F.value.style.chart.title.text || "vue-ui-galaxy"
@@ -446,7 +446,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
446
446
  }
447
447
  let X = l(() => {
448
448
  let e = [
449
- " <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>",
449
+ "__SUM__",
450
450
  c({
451
451
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
452
452
  v: G.value,
@@ -497,20 +497,20 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
497
497
  config: n
498
498
  };
499
499
  });
500
- function Sn() {
501
- B.value.showTable = !B.value.showTable;
502
- }
503
500
  function Cn() {
504
- B.value.showTooltip = !B.value.showTooltip;
501
+ R.value.showTable = !R.value.showTable;
505
502
  }
506
- let Z = b(!1);
507
503
  function wn() {
504
+ R.value.showTooltip = !R.value.showTooltip;
505
+ }
506
+ let Z = x(!1);
507
+ function Tn() {
508
508
  Z.value = !Z.value;
509
509
  }
510
- async function Tn({ scale: e = 2 } = {}) {
511
- if (!E.value) return;
512
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
513
- domElement: E.value,
510
+ async function En({ scale: e = 2 } = {}) {
511
+ if (!O.value) return;
512
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
513
+ domElement: O.value,
514
514
  base64: !0,
515
515
  img: !0,
516
516
  scale: e
@@ -525,9 +525,9 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
525
525
  };
526
526
  }
527
527
  let Q = l(() => {
528
- let e = F.value.table.useDialog && !F.value.table.show, t = B.value.showTable;
528
+ let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
529
529
  return {
530
- component: e ? _t : ft,
530
+ component: e ? gt : dt,
531
531
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
532
532
  props: e ? {
533
533
  backgroundColor: F.value.table.th.backgroundColor,
@@ -535,7 +535,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
535
535
  headerColor: F.value.table.th.color,
536
536
  headerBg: F.value.table.th.backgroundColor,
537
537
  isFullscreen: q.value,
538
- fullscreenParent: E.value,
538
+ fullscreenParent: O.value,
539
539
  forcedWidth: Math.min(500, window.innerWidth * .8),
540
540
  isCursorPointer: I.value
541
541
  } : {
@@ -555,26 +555,26 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
555
555
  }
556
556
  };
557
557
  });
558
- We(() => B.value.showTable, (e) => {
559
- F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
558
+ He(() => R.value.showTable, (e) => {
559
+ F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
560
560
  });
561
- function En() {
562
- B.value.showTable = !1, jt.value && jt.value.setTableIconState(!1);
561
+ function Dn() {
562
+ R.value.showTable = !1, jt.value && jt.value.setTableIconState(!1);
563
563
  }
564
- let Dn = l(() => J.value.map((e) => ({
564
+ let On = l(() => J.value.map((e) => ({
565
565
  ...e,
566
566
  name: e.display
567
- }))), On = l(() => F.value.style.chart.backgroundColor), kn = l(() => F.value.style.chart.legend), An = l(() => F.value.style.chart.title), { isCallbackImaging: jn, isCallbackSvg: Mn, generateSvg: Nn, onGenerateImage: Pn } = ve({
568
- svg: z,
569
- title: An,
570
- legend: kn,
571
- legendItems: Dn,
572
- backgroundColor: On,
567
+ }))), kn = l(() => F.value.style.chart.backgroundColor), An = l(() => F.value.style.chart.legend), jn = l(() => F.value.style.chart.title), { isCallbackImaging: Mn, isCallbackSvg: Nn, generateSvg: Pn, onGenerateImage: Fn } = ve({
568
+ svg: L,
569
+ title: jn,
570
+ legend: An,
571
+ legendItems: On,
572
+ backgroundColor: kn,
573
573
  getSvgCallback: () => F.value.userOptions.callbacks.svg,
574
- generateImage: Kt
574
+ generateImage: Yt
575
575
  });
576
- async function Fn() {
577
- if ($t("copyAlt", {
576
+ async function In() {
577
+ if (en("copyAlt", {
578
578
  config: F.value,
579
579
  dataset: W.value
580
580
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -586,31 +586,31 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
586
586
  dataset: W.value
587
587
  }));
588
588
  }
589
- function In() {
590
- M.value = null, N.value = null, P.value = !0;
591
- }
592
589
  function Ln() {
593
- mn(), P.value = !1;
590
+ N.value = null, Mt.value = null, P.value = !0;
594
591
  }
595
- function Rn(e) {
596
- if (!z.value || Z.value || document.activeElement !== z.value || !$.value.length) return;
592
+ function Rn() {
593
+ hn(), P.value = !1;
594
+ }
595
+ function zn(e) {
596
+ if (!L.value || Z.value || document.activeElement !== L.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) {
600
- mn();
600
+ hn();
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
- _n(e.datapoint);
607
+ vn(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
- o && yn({
613
+ o && bn({
614
614
  datapoint: o.datapoint,
615
615
  seriesIndex: o.datapoint.seriesIndex,
616
616
  show: !0,
@@ -618,7 +618,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
618
618
  flatIndex: a
619
619
  });
620
620
  }
621
- let zn = l(() => ({
621
+ let Bn = l(() => ({
622
622
  headers: X.value?.colNames ?? [],
623
623
  rows: X.value?.body ?? []
624
624
  })), $ = l(() => K.value.map((e, t) => ({
@@ -626,39 +626,39 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
626
626
  index: t
627
627
  })));
628
628
  return Se({
629
- getData: on,
630
- getImage: Tn,
631
- generatePdf: Gt,
632
- generateCsv: xn,
633
- generateImage: Kt,
634
- generateSvg: Nn,
635
- hideSeries: an,
636
- showSeries: rn,
637
- toggleTable: Sn,
638
- toggleTooltip: Cn,
639
- toggleAnnotator: wn,
640
- toggleFullscreen: fn,
641
- copyAlt: Fn
642
- }), (e, t) => (y(), f("div", {
629
+ getData: sn,
630
+ getImage: En,
631
+ generatePdf: Jt,
632
+ generateCsv: Sn,
633
+ generateImage: Yt,
634
+ generateSvg: Pn,
635
+ hideSeries: on,
636
+ showSeries: an,
637
+ toggleTable: Cn,
638
+ toggleTooltip: wn,
639
+ toggleAnnotator: Tn,
640
+ toggleFullscreen: pn,
641
+ copyAlt: In
642
+ }), (e, t) => (b(), f("div", {
643
643
  ref_key: "galaxyChart",
644
- ref: E,
645
- class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${S(L) ? "loading" : ""}`),
646
- style: v(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
647
- id: `galaxy_${T.value}`,
648
- onMouseenter: t[2] ||= () => S(Bt)(!0),
644
+ ref: O,
645
+ class: _(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${w(Rt) ? "loading" : ""}`),
646
+ style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
647
+ id: `galaxy_${D.value}`,
648
+ onMouseenter: t[2] ||= () => w(Ut)(!0),
649
649
  onMouseleave: t[3] ||= () => {
650
- S(Bt)(!1), P.value || mn();
650
+ w(Ut)(!1), P.value || hn();
651
651
  }
652
652
  }, [
653
653
  p("div", {
654
- id: `chart-instructions-${T.value}`,
654
+ id: `chart-instructions-${D.value}`,
655
655
  class: "sr-only"
656
- }, [p("p", null, He(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
657
- zn.value?.rows?.length ? (y(), u(Ee, {
656
+ }, [p("p", null, C(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
657
+ Bn.value?.rows?.length ? (b(), u(Ee, {
658
658
  key: 0,
659
- uid: T.value,
660
- head: zn.value.headers,
661
- body: zn.value.rows,
659
+ uid: D.value,
660
+ head: Bn.value.headers,
661
+ body: Bn.value.rows,
662
662
  notice: F.value.a11y.translations.tableAvailable,
663
663
  caption: F.value.a11y.translations.tableCaption
664
664
  }, null, 8, [
@@ -668,21 +668,21 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
668
668
  "notice",
669
669
  "caption"
670
670
  ])) : d("", !0),
671
- F.value.userOptions.buttons.annotator ? (y(), u(S(mt), {
671
+ F.value.userOptions.buttons.annotator ? (b(), u(w(pt), {
672
672
  key: 1,
673
- svgRef: S(z),
673
+ svgRef: w(L),
674
674
  backgroundColor: F.value.style.chart.backgroundColor,
675
675
  color: F.value.style.chart.color,
676
676
  active: Z.value,
677
677
  isCursorPointer: I.value,
678
- onClose: wn
678
+ onClose: Tn
679
679
  }, {
680
- "annotator-action-close": C(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
681
- "annotator-action-color": C(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
682
- "annotator-action-draw": C(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
683
- "annotator-action-undo": C(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
684
- "annotator-action-redo": C(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
685
- "annotator-action-delete": C(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
680
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
681
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
682
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
683
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
684
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
685
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
686
686
  _: 3
687
687
  }, 8, [
688
688
  "svgRef",
@@ -691,20 +691,20 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
691
691
  "active",
692
692
  "isCursorPointer"
693
693
  ])) : d("", !0),
694
- qt.value ? (y(), f("div", {
694
+ Xt.value ? (b(), f("div", {
695
695
  key: 2,
696
696
  ref_key: "noTitle",
697
- ref: kt,
697
+ ref: Ot,
698
698
  class: "vue-data-ui-no-title-space",
699
699
  style: "height:36px; width: 100%;background:transparent"
700
700
  }, null, 512)) : d("", !0),
701
- F.value.style.chart.title.text ? (y(), f("div", {
701
+ F.value.style.chart.title.text ? (b(), f("div", {
702
702
  key: 3,
703
703
  ref_key: "chartTitle",
704
- ref: Et,
704
+ ref: Tt,
705
705
  style: "width:100%;background:transparent;padding-bottom:24px"
706
- }, [(y(), u(xe, {
707
- key: `title_${Ct.value}`,
706
+ }, [(b(), u(xe, {
707
+ key: `title_${St.value}`,
708
708
  config: {
709
709
  title: {
710
710
  cy: "galaxy-div-title",
@@ -716,16 +716,16 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
716
716
  }
717
717
  }
718
718
  }, null, 8, ["config"]))], 512)) : d("", !0),
719
- p("div", { id: `legend-top-${T.value}` }, null, 8, Je),
720
- F.value.userOptions.show && Pt.value && (S(Vt) || S(zt)) ? (y(), u(S(ht), {
719
+ p("div", { id: `legend-top-${D.value}` }, null, 8, Ke),
720
+ F.value.userOptions.show && Ft.value && (w(Wt) || w(Ht)) ? (b(), u(w(mt), {
721
721
  ref_key: "userOptionsRef",
722
722
  ref: jt,
723
- key: `user_option_${St.value}`,
723
+ key: `user_option_${xt.value}`,
724
724
  backgroundColor: F.value.style.chart.backgroundColor,
725
725
  color: F.value.style.chart.color,
726
- isPrinting: S(Ut),
727
- isImaging: S(Wt),
728
- uid: T.value,
726
+ isPrinting: w(Kt),
727
+ isImaging: w(qt),
728
+ uid: D.value,
729
729
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
730
730
  hasPdf: F.value.userOptions.buttons.pdf,
731
731
  hasXls: F.value.userOptions.buttons.csv,
@@ -734,10 +734,10 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
734
734
  hasTable: F.value.userOptions.buttons.table,
735
735
  hasFullscreen: F.value.userOptions.buttons.fullscreen,
736
736
  hasAltCopy: F.value.userOptions.buttons.altCopy,
737
- isTooltip: B.value.showTooltip,
737
+ isTooltip: R.value.showTooltip,
738
738
  isFullscreen: q.value,
739
739
  titles: { ...F.value.userOptions.buttonTitles },
740
- chartElement: E.value,
740
+ chartElement: O.value,
741
741
  position: F.value.userOptions.position,
742
742
  hasAnnotator: F.value.userOptions.buttons.annotator,
743
743
  isAnnotation: Z.value,
@@ -745,20 +745,20 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
745
745
  printScale: F.value.userOptions.print.scale,
746
746
  tableDialog: F.value.table.useDialog,
747
747
  isCursorPointer: I.value,
748
- onToggleFullscreen: fn,
749
- onGeneratePdf: S(Gt),
750
- onGenerateCsv: xn,
751
- onGenerateImage: S(Pn),
752
- onGenerateSvg: S(Nn),
753
- onToggleTable: Sn,
754
- onToggleTooltip: Cn,
755
- onToggleAnnotator: wn,
756
- onCopyAlt: Fn,
757
- style: v({ visibility: S(Vt) ? S(zt) ? "visible" : "hidden" : "visible" })
748
+ onToggleFullscreen: pn,
749
+ onGeneratePdf: w(Jt),
750
+ onGenerateCsv: Sn,
751
+ onGenerateImage: w(Fn),
752
+ onGenerateSvg: w(Pn),
753
+ onToggleTable: Cn,
754
+ onToggleTooltip: wn,
755
+ onToggleAnnotator: Tn,
756
+ onCopyAlt: In,
757
+ style: y({ visibility: w(Wt) ? w(Ht) ? "visible" : "hidden" : "visible" })
758
758
  }, Pe({ _: 2 }, [
759
759
  e.$slots.menuIcon ? {
760
760
  name: "menuIcon",
761
- fn: C(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
761
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
762
762
  isOpen: t,
763
763
  color: n
764
764
  })), void 0, !0)]),
@@ -766,37 +766,37 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
766
766
  } : void 0,
767
767
  e.$slots.optionTooltip ? {
768
768
  name: "optionTooltip",
769
- fn: C(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
769
+ fn: T(() => [S(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: C(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
774
+ fn: T(() => [S(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: C(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
779
+ fn: T(() => [S(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: C(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
784
+ fn: T(() => [S(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: C(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
789
+ fn: T(() => [S(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: C(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
794
+ fn: T(() => [S(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: C(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
799
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
800
800
  toggleFullscreen: t,
801
801
  isFullscreen: n
802
802
  })), void 0, !0)]),
@@ -804,7 +804,7 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
804
804
  } : void 0,
805
805
  e.$slots.optionAnnotator ? {
806
806
  name: "optionAnnotator",
807
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
807
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
808
808
  toggleAnnotator: t,
809
809
  isAnnotator: n
810
810
  })), void 0, !0)]),
@@ -812,47 +812,47 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
812
812
  } : void 0,
813
813
  e.$slots.optionAltCopy ? {
814
814
  name: "optionAltCopy",
815
- fn: C(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
815
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ 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: C(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
820
+ fn: T(() => [S(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: C(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
825
+ fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
826
826
  key: "11"
827
827
  } : void 0
828
828
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
829
- p("div", Ye, [(y(), f("svg", {
829
+ p("div", qe, [(b(), f("svg", {
830
830
  ref_key: "svgRef",
831
- ref: z,
832
- xmlns: S(oe),
833
- "aria-describedby": `chart-instructions-${T.value}`,
834
- class: g({
831
+ ref: L,
832
+ xmlns: w(ce),
833
+ "aria-describedby": `chart-instructions-${D.value}`,
834
+ class: _({
835
835
  "vue-data-ui-fullscreen--on": q.value,
836
836
  "vue-data-ui-fulscreen--off": !q.value
837
837
  }),
838
838
  viewBox: V.value.viewBox,
839
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
839
+ style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
840
840
  tabindex: "0",
841
- onFocus: In,
842
- onBlur: Ln,
843
- onKeydown: Rn
841
+ onFocus: Ln,
842
+ onBlur: Rn,
843
+ onKeydown: zn
844
844
  }, [
845
- Ie(S(gt)),
846
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
845
+ m(w(ht)),
846
+ e.$slots["chart-background"] ? (b(), f("foreignObject", {
847
847
  key: 0,
848
848
  x: 0,
849
849
  y: 0,
850
850
  width: V.value.width,
851
851
  height: V.value.height,
852
852
  style: { pointerEvents: "none" }
853
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
853
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : d("", !0),
854
854
  p("defs", null, [p("filter", {
855
- id: `blur_${T.value}`,
855
+ id: `blur_${D.value}`,
856
856
  x: "-50%",
857
857
  y: "-50%",
858
858
  width: "200%",
@@ -860,46 +860,46 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
860
860
  }, [p("feGaussianBlur", {
861
861
  in: "SourceGraphic",
862
862
  stdDeviation: 100 / F.value.style.chart.layout.arcs.gradient.intensity
863
- }, null, 8, $e)], 8, Qe)]),
864
- (y(!0), f(Me, null, Be(K.value, (e) => (y(), f("g", { key: `dp_${e.id}` }, [
865
- e.value ? (y(), f("path", {
863
+ }, null, 8, Ze)], 8, Xe)]),
864
+ (b(!0), f(Me, null, ze(K.value, (e) => (b(), f("g", { key: `dp_${e.id}` }, [
865
+ e.value ? (b(), f("path", {
866
866
  key: 0,
867
867
  d: e.path,
868
868
  fill: "none",
869
869
  stroke: F.value.style.chart.backgroundColor,
870
- "stroke-width": dn(e).border,
871
- class: g({ "vue-data-ui-transition": S(Ft) }),
870
+ "stroke-width": fn(e).border,
871
+ class: _({ "vue-data-ui-transition": w(It) }),
872
872
  "stroke-linecap": "round"
873
- }, null, 10, et)) : d("", !0),
874
- e.value ? (y(), f("path", {
873
+ }, null, 10, Qe)) : d("", !0),
874
+ e.value ? (b(), f("path", {
875
875
  key: 1,
876
876
  d: e.path,
877
877
  fill: "none",
878
878
  stroke: e.color,
879
- "stroke-width": dn(e).path,
879
+ "stroke-width": fn(e).path,
880
880
  "stroke-linecap": "round",
881
- class: g({
882
- "vue-data-ui-transition": S(Ft),
883
- "vue-ui-galaxy-blur": O.value && O.value !== e.id && F.value.useBlurOnHover
881
+ class: _({
882
+ "vue-data-ui-transition": w(It),
883
+ "vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
884
884
  })
885
- }, null, 10, tt)) : d("", !0),
886
- e.value && F.value.style.chart.layout.arcs.gradient.show ? (y(), f("g", {
885
+ }, null, 10, $e)) : d("", !0),
886
+ e.value && F.value.style.chart.layout.arcs.gradient.show ? (b(), f("g", {
887
887
  key: 2,
888
- filter: `url(#blur_${T.value})`
888
+ filter: `url(#blur_${D.value})`
889
889
  }, [p("path", {
890
890
  d: e.path,
891
891
  fill: "none",
892
892
  stroke: F.value.style.chart.layout.arcs.gradient.color,
893
- "stroke-width": dn(e).blur,
893
+ "stroke-width": fn(e).blur,
894
894
  "stroke-linecap": "round",
895
- class: g({
895
+ class: _({
896
896
  "vue-ui-galaxy-gradient": !0,
897
- "vue-data-ui-transition": S(Ft),
898
- "vue-ui-galaxy-blur": O.value && O.value !== e.id && F.value.useBlurOnHover
897
+ "vue-data-ui-transition": w(It),
898
+ "vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
899
899
  })
900
- }, null, 10, rt)], 8, nt)) : d("", !0)
900
+ }, null, 10, tt)], 8, et)) : d("", !0)
901
901
  ]))), 128)),
902
- (y(!0), f(Me, null, Be(K.value, (e, t) => (y(), f("g", null, [e.value ? (y(), f("path", {
902
+ (b(!0), f(Me, null, ze(K.value, (e, t) => (b(), f("g", null, [e.value ? (b(), f("path", {
903
903
  key: 0,
904
904
  "data-a11y-serie-id": e.id,
905
905
  d: e.path,
@@ -907,13 +907,13 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
907
907
  stroke: "transparent",
908
908
  "stroke-width": F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth,
909
909
  "stroke-linecap": "round",
910
- "aria-label": `${e.name}: ${S(c)({
910
+ "aria-label": `${e.name}: ${w(c)({
911
911
  p: F.value.style.chart.layout.labels.dataLabels.prefix,
912
912
  v: e.value,
913
913
  s: F.value.style.chart.layout.labels.dataLabels.suffix,
914
914
  r: F.value.style.chart.tooltip.roundingValue
915
915
  })}`,
916
- onMouseenter: (n) => yn({
916
+ onMouseenter: (n) => bn({
917
917
  datapoint: e,
918
918
  relativeIndex: t,
919
919
  seriesIndex: e.seriesIndex,
@@ -921,44 +921,44 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
921
921
  triggerMode: "pointer",
922
922
  flatIndex: t
923
923
  }),
924
- onMouseleave: (t) => gn(e),
925
- onClick: (t) => _n(e)
926
- }, null, 40, it)) : d("", !0)]))), 256)),
927
- x(e.$slots, "svg", { svg: {
924
+ onMouseleave: (t) => _n(e),
925
+ onClick: (t) => vn(e)
926
+ }, null, 40, nt)) : d("", !0)]))), 256)),
927
+ S(e.$slots, "svg", { svg: {
928
928
  ...V.value,
929
- isPrintingImg: S(Ut) || S(Wt) || S(jn),
930
- isPrintingSvg: S(Mn)
929
+ isPrintingImg: w(Kt) || w(qt) || w(Mn),
930
+ isPrintingSvg: w(Nn)
931
931
  } }, void 0, !0)
932
- ], 46, Xe)), e.$slots.hint ? (y(), f("div", at, [x(e.$slots, "hint", _(h({
932
+ ], 46, Je)), e.$slots.hint ? (b(), f("div", rt, [S(e.$slots, "hint", v(g({
933
933
  hint: F.value.a11y.translations.keyboardNavigation,
934
934
  isVisible: P.value
935
935
  })), void 0, !0)])) : d("", !0)]),
936
- e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: S(Ut) || S(Wt) || S(jn) || S(Mn) })), void 0, !0)])) : d("", !0),
937
- p("div", { id: `legend-bottom-${T.value}` }, null, 8, st),
938
- At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
936
+ e.$slots.watermark ? (b(), f("div", it, [S(e.$slots, "watermark", v(g({ isPrinting: w(Kt) || w(qt) || w(Mn) || w(Nn) })), void 0, !0)])) : d("", !0),
937
+ p("div", { id: `legend-bottom-${D.value}` }, null, 8, at),
938
+ At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (b(), u(Ne, {
939
939
  key: 6,
940
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
940
+ to: F.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
941
941
  }, [p("div", {
942
942
  ref_key: "chartLegend",
943
- ref: Dt
944
- }, [x(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (y(), u(Ae, {
945
- key: `legend_${Tt.value}`,
943
+ ref: Et
944
+ }, [S(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (b(), u(Ae, {
945
+ key: `legend_${wt.value}`,
946
946
  legendSet: J.value,
947
- config: bn.value,
947
+ config: xn.value,
948
948
  onClickMarker: t[0] ||= ({ legend: e }) => U(e)
949
949
  }, {
950
- item: C(({ legend: e, index: t }) => [S(L) ? d("", !0) : (y(), f("div", {
950
+ item: T(({ legend: e, index: t }) => [w(Rt) ? d("", !0) : (b(), f("div", {
951
951
  key: 0,
952
952
  onClick: (t) => U(e),
953
- style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
954
- }, He(e.display), 13, ct))]),
955
- legendToggle: C(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !S(L) ? (y(), u(Te, {
953
+ style: y(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
954
+ }, C(e.display), 13, ot))]),
955
+ legendToggle: T(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !w(Rt) ? (b(), u(Te, {
956
956
  key: 0,
957
957
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
958
958
  color: F.value.style.chart.legend.selectAllToggle.color,
959
959
  fontSize: F.value.style.chart.legend.fontSize,
960
960
  checked: H.value.length > 0,
961
- onToggle: tn
961
+ onToggle: nn
962
962
  }, null, 8, [
963
963
  "backgroundColor",
964
964
  "color",
@@ -967,15 +967,15 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
967
967
  ])) : d("", !0)]),
968
968
  _: 1
969
969
  }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
970
- e.$slots.source ? (y(), f("div", {
970
+ e.$slots.source ? (b(), f("div", {
971
971
  key: 7,
972
972
  ref_key: "source",
973
- ref: Ot,
973
+ ref: Dt,
974
974
  dir: "auto"
975
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
976
- Ie(S(ut), {
975
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
976
+ m(w(lt), {
977
977
  teleportTo: F.value.style.chart.tooltip.teleportTo,
978
- show: B.value.showTooltip && D.value,
978
+ show: R.value.showTooltip && k.value,
979
979
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
980
980
  color: F.value.style.chart.tooltip.color,
981
981
  borderRadius: F.value.style.chart.tooltip.borderRadius,
@@ -986,20 +986,20 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
986
986
  position: F.value.style.chart.tooltip.position,
987
987
  offsetX: F.value.style.chart.tooltip.offsetX,
988
988
  offsetY: F.value.style.chart.tooltip.offsetY,
989
- parent: E.value,
990
- content: xt.value,
989
+ parent: O.value,
990
+ content: bt.value,
991
991
  isFullscreen: q.value,
992
- isCustom: S(le)(F.value.style.chart.tooltip.customFormat),
992
+ isCustom: w(te)(F.value.style.chart.tooltip.customFormat),
993
993
  smooth: F.value.style.chart.tooltip.smooth,
994
994
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
995
995
  smoothForce: F.value.style.chart.tooltip.smoothForce,
996
996
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
997
- isA11yMode: Nt.value === "keyboard",
998
- a11yPosition: Mt.value
997
+ isA11yMode: Pt.value === "keyboard",
998
+ a11yPosition: Nt.value
999
999
  }, {
1000
- "tooltip-before": C(() => [x(e.$slots, "tooltip-before", _(h({ ...pn.value })), void 0, !0)]),
1001
- tooltip: C(() => [x(e.$slots, "tooltip", _(h({ ...pn.value })), void 0, !0)]),
1002
- "tooltip-after": C(() => [x(e.$slots, "tooltip-after", _(h({ ...pn.value })), void 0, !0)]),
1000
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", v(g({ ...mn.value })), void 0, !0)]),
1001
+ tooltip: T(() => [S(e.$slots, "tooltip", v(g({ ...mn.value })), void 0, !0)]),
1002
+ "tooltip-after": T(() => [S(e.$slots, "tooltip-after", v(g({ ...mn.value })), void 0, !0)]),
1003
1003
  _: 3
1004
1004
  }, 8, [
1005
1005
  "teleportTo",
@@ -1025,13 +1025,13 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
1025
1025
  "isA11yMode",
1026
1026
  "a11yPosition"
1027
1027
  ]),
1028
- Pt.value && F.value.userOptions.buttons.table ? (y(), u(Ve(Q.value.component), Le({ key: 8 }, Q.value.props, {
1028
+ Ft.value && F.value.userOptions.buttons.table ? (b(), u(Be(Q.value.component), Ie({ key: 8 }, Q.value.props, {
1029
1029
  ref_key: "tableUnit",
1030
- ref: j,
1031
- onClose: En
1030
+ ref: M,
1031
+ onClose: Dn
1032
1032
  }), Pe({
1033
- content: C(() => [(y(), u(S(pt), {
1034
- key: `table_${wt.value}`,
1033
+ content: T(() => [(b(), u(w(ft), {
1034
+ key: `table_${Ct.value}`,
1035
1035
  colNames: X.value.colNames,
1036
1036
  head: X.value.head,
1037
1037
  body: X.value.body,
@@ -1039,16 +1039,14 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
1039
1039
  title: F.value.table.useDialog ? "" : Q.value.title,
1040
1040
  withCloseButton: !F.value.table.useDialog,
1041
1041
  isCursorPointer: I.value,
1042
- onClose: En
1042
+ onClose: Dn
1043
1043
  }, {
1044
- th: C(({ th: e }) => [p("div", {
1045
- innerHTML: e,
1046
- style: {
1047
- display: "flex",
1048
- "align-items": "center"
1049
- }
1050
- }, null, 8, lt)]),
1051
- td: C(({ td: e }) => [Fe(He(e.name || e), 1)]),
1044
+ th: T(({ th: e }) => [e === "__SUM__" ? (b(), f("div", st, [m(w(ut), {
1045
+ name: "sigma",
1046
+ stroke: X.value.config.th.color,
1047
+ size: 16
1048
+ }, null, 8, ["stroke"])])) : (b(), f("div", ct, C(e), 1))]),
1049
+ td: T(({ td: e }) => [Fe(C(e.name || e), 1)]),
1052
1050
  _: 1
1053
1051
  }, 8, [
1054
1052
  "colNames",
@@ -1062,24 +1060,24 @@ var Ge = /* @__PURE__ */ e({ default: () => ut }), Ke = ["id"], qe = ["id"], Je
1062
1060
  _: 2
1063
1061
  }, [F.value.table.useDialog ? {
1064
1062
  name: "title",
1065
- fn: C(() => [Fe(He(Q.value.title), 1)]),
1063
+ fn: T(() => [Fe(C(Q.value.title), 1)]),
1066
1064
  key: "0"
1067
1065
  } : void 0, F.value.table.useDialog ? {
1068
1066
  name: "actions",
1069
- fn: C(() => [p("button", {
1067
+ fn: T(() => [p("button", {
1070
1068
  tabindex: "0",
1071
1069
  class: "vue-ui-user-options-button",
1072
- onClick: t[1] ||= (e) => xn(F.value.userOptions.callbacks.csv),
1073
- style: v({ cursor: I.value ? "pointer" : "default" })
1074
- }, [Ie(S(dt), {
1070
+ onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
1071
+ style: y({ cursor: I.value ? "pointer" : "default" })
1072
+ }, [m(w(ut), {
1075
1073
  name: "fileCsv",
1076
1074
  stroke: Q.value.props.color
1077
1075
  }, null, 8, ["stroke"])], 4)]),
1078
1076
  key: "1"
1079
1077
  } : void 0]), 1040)) : d("", !0),
1080
- x(e.$slots, "skeleton", {}, () => [S(L) ? (y(), u(he, { key: 0 })) : d("", !0)], !0)
1081
- ], 46, Ke));
1078
+ S(e.$slots, "skeleton", {}, () => [w(Rt) ? (b(), u(he, { key: 0 })) : d("", !0)], !0)
1079
+ ], 46, We));
1082
1080
  }
1083
- }, [["__scopeId", "data-v-29ce5588"]]);
1081
+ }, [["__scopeId", "data-v-f3449bf3"]]);
1084
1082
  //#endregion
1085
- export { Ge as n, ut as t };
1083
+ export { Ue as n, lt as t };