vue-data-ui 3.9.12 → 3.9.13

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 (164) hide show
  1. package/dist/{Arrow-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
  3. package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
  4. package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
  5. package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
  6. package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
  7. package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
  9. package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
  10. package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
  11. package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
  12. package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
  13. package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
  14. package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
  15. package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
  16. package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
  17. package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-candlestick.js +1 -1
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +1 -1
  27. package/dist/components/vue-ui-chord.js +1 -1
  28. package/dist/components/vue-ui-circle-pack.js +1 -1
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dag.js +1 -1
  31. package/dist/components/vue-ui-dashboard.js +1 -1
  32. package/dist/components/vue-ui-digits.js +1 -1
  33. package/dist/components/vue-ui-donut-evolution.js +1 -1
  34. package/dist/components/vue-ui-donut.js +1 -1
  35. package/dist/components/vue-ui-dumbbell.js +1 -1
  36. package/dist/components/vue-ui-flow.js +1 -1
  37. package/dist/components/vue-ui-funnel.js +1 -1
  38. package/dist/components/vue-ui-galaxy.js +1 -1
  39. package/dist/components/vue-ui-gauge.js +1 -1
  40. package/dist/components/vue-ui-geo.js +1 -1
  41. package/dist/components/vue-ui-gizmo.js +1 -1
  42. package/dist/components/vue-ui-heatmap.js +1 -1
  43. package/dist/components/vue-ui-history-plot.js +1 -1
  44. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  45. package/dist/components/vue-ui-icon.js +1 -1
  46. package/dist/components/vue-ui-kpi.js +1 -1
  47. package/dist/components/vue-ui-mini-loader.js +1 -1
  48. package/dist/components/vue-ui-molecule.js +1 -1
  49. package/dist/components/vue-ui-mood-radar.js +1 -1
  50. package/dist/components/vue-ui-nested-donuts.js +1 -1
  51. package/dist/components/vue-ui-onion.js +1 -1
  52. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  53. package/dist/components/vue-ui-quadrant.js +1 -1
  54. package/dist/components/vue-ui-quick-chart.js +1 -1
  55. package/dist/components/vue-ui-radar.js +1 -1
  56. package/dist/components/vue-ui-rating.js +1 -1
  57. package/dist/components/vue-ui-relation-circle.js +1 -1
  58. package/dist/components/vue-ui-ridgeline.js +1 -1
  59. package/dist/components/vue-ui-rings.js +1 -1
  60. package/dist/components/vue-ui-scatter.js +1 -1
  61. package/dist/components/vue-ui-skeleton.js +1 -1
  62. package/dist/components/vue-ui-smiley.js +1 -1
  63. package/dist/components/vue-ui-spark-trend.js +1 -1
  64. package/dist/components/vue-ui-sparkbar.js +1 -1
  65. package/dist/components/vue-ui-sparkgauge.js +1 -1
  66. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  67. package/dist/components/vue-ui-sparkline.js +1 -1
  68. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  69. package/dist/components/vue-ui-stackbar.js +1 -1
  70. package/dist/components/vue-ui-stackline.js +1 -1
  71. package/dist/components/vue-ui-strip-plot.js +1 -1
  72. package/dist/components/vue-ui-table-heatmap.js +1 -1
  73. package/dist/components/vue-ui-table-sparkline.js +1 -1
  74. package/dist/components/vue-ui-table.js +1 -1
  75. package/dist/components/vue-ui-thermometer.js +1 -1
  76. package/dist/components/vue-ui-timer.js +1 -1
  77. package/dist/components/vue-ui-tiremarks.js +1 -1
  78. package/dist/components/vue-ui-treemap.js +1 -1
  79. package/dist/components/vue-ui-vertical-bar.js +1 -1
  80. package/dist/components/vue-ui-waffle.js +1 -1
  81. package/dist/components/vue-ui-wheel.js +1 -1
  82. package/dist/components/vue-ui-word-cloud.js +1 -1
  83. package/dist/components/vue-ui-world.js +1 -1
  84. package/dist/components/vue-ui-xy-canvas.js +1 -1
  85. package/dist/components/vue-ui-xy.js +1 -1
  86. package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
  87. package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
  88. package/dist/labelUtils-PMU3ZGCb.js +30 -0
  89. package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
  90. package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
  91. package/dist/style.css +1 -1
  92. package/dist/types/vue-data-ui.d.ts +20 -0
  93. package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
  94. package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
  95. package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
  96. package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
  97. package/dist/vue-data-ui.js +83 -83
  98. package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
  99. package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
  100. package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
  101. package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
  102. package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
  103. package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
  104. package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
  105. package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
  106. package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
  107. package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
  108. package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
  109. package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
  110. package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
  111. package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
  112. package/dist/vue-ui-donut-D3---CiY.js +2082 -0
  113. package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
  114. package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
  115. package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
  116. package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
  117. package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
  118. package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
  119. package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
  120. package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
  121. package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
  122. package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
  123. package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
  124. package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
  125. package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
  126. package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
  127. package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
  128. package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
  129. package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
  130. package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
  131. package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
  132. package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
  133. package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
  134. package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
  135. package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
  136. package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
  137. package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
  138. package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
  139. package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
  140. package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
  141. package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
  142. package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
  143. package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
  144. package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
  145. package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
  146. package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
  147. package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
  148. package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
  149. package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
  150. package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
  151. package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
  152. package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
  153. package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
  154. package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
  155. package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
  156. package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
  157. package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
  158. package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
  159. package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
  160. package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
  161. package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
  162. package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
  163. package/package.json +1 -1
  164. package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
@@ -1,38 +1,39 @@
1
- import { defineAsyncComponent as S, ref as n, computed as d, toRefs as Bt, onMounted as Et, watch as Ee, createElementBlock as v, openBlock as r, unref as s, normalizeStyle as R, normalizeClass as W, createBlock as F, createCommentVNode as h, createElementVNode as $, createVNode as le, withCtx as i, renderSlot as c, normalizeProps as p, guardReactiveProps as y, createSlots as Ie, Fragment as Le, renderList as Ne, Teleport as It, toDisplayString as ae, resolveDynamicComponent as Lt, mergeProps as Nt, createTextVNode as Ve, nextTick as Me } from "vue";
2
- import { c as ze, t as Vt, o as Mt, g as Ge, k as zt, i as Gt, p as U, j as Rt, a6 as Re, l as Wt, aa as Ut, a as We, d as D, X as Ht, x as Ue, u as jt, q as Xt, Z as Yt } from "./lib-W9waxHL3.js";
3
- import { t as qt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Jt, a as ne } from "./useNestedProp-D-jUHecl.js";
5
- import { u as Kt, B as Qt } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as eo } from "./usePrinter-DhoMn87n.js";
7
- import { u as to } from "./useSvgExport-ByUukOZt.js";
8
- import { u as oo } from "./useThemeCheck-DGJ31Vi5.js";
9
- import { u as lo } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as ao } from "./useChartAccessibility-9icAAmYg.js";
11
- import no from "./img-BJzUSmkm.js";
12
- import ro from "./Title-DFtCaCah.js";
13
- import so from "./Legend-Dxz13z4E.js";
14
- import { _ as uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { arcs: { gradient: { color: "#1A1A1A" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, qe = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { arcs: { gradient: { color: "#fbfafa" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ze = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Je = {
1
+ import { defineAsyncComponent as S, ref as n, computed as d, toRefs as It, onMounted as Lt, watch as Le, createElementBlock as g, openBlock as r, unref as s, normalizeStyle as W, normalizeClass as U, createBlock as F, createCommentVNode as h, createElementVNode as $, createVNode as ae, withCtx as i, renderSlot as c, normalizeProps as p, guardReactiveProps as y, createSlots as Ne, Fragment as Ve, renderList as Me, Teleport as Nt, toDisplayString as ne, resolveDynamicComponent as Vt, mergeProps as Mt, createTextVNode as ze, nextTick as Ge } from "vue";
2
+ import { c as Re, t as zt, o as Gt, g as We, l as Rt, i as Wt, j as H, k as Ut, a7 as Ue, m as Ht, ab as jt, a as He, d as P, X as Xt, y as je, v as Yt, r as qt, _ as Jt } from "./lib-BwysEpWI.js";
3
+ import { b as Kt } from "./labelUtils-PMU3ZGCb.js";
4
+ import { t as Qt, u as Zt } from "./useResponsive-DfdjqQps.js";
5
+ import { u as eo, a as re } from "./useNestedProp--5lL-kf1.js";
6
+ import { u as to, B as oo } from "./BaseScanner-BMpwQAfz.js";
7
+ import { u as lo } from "./usePrinter-BJzHDpYF.js";
8
+ import { u as ao } from "./useSvgExport-ByUukOZt.js";
9
+ import { u as no } from "./useThemeCheck-DGJ31Vi5.js";
10
+ import { u as ro } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as so } from "./useChartAccessibility-9icAAmYg.js";
12
+ import uo from "./img-DKigoPDs.js";
13
+ import io from "./Title-BhURirpm.js";
14
+ import co from "./Legend-D6z73edh.js";
15
+ import { _ as vo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, qe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Je = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { arcs: { gradient: { color: "#1A1A1A" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { arcs: { gradient: { color: "#fbfafa" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Qe = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Ze = {
16
17
  default: {},
17
- dark: He,
18
- celebration: je,
19
- celebrationNight: Xe,
20
- hack: Ye,
21
- zen: qe,
22
- concrete: Ze
23
- }, Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ dark: Xe,
19
+ celebration: Ye,
20
+ celebrationNight: qe,
21
+ hack: Je,
22
+ zen: Ke,
23
+ concrete: Qe
24
+ }, Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
25
  __proto__: null,
25
- celebration: je,
26
- celebrationNight: Xe,
27
- concrete: Ze,
28
- dark: He,
29
- default: Je,
30
- hack: Ye,
31
- zen: qe
32
- }, Symbol.toStringTag, { value: "Module" })), io = ["id"], co = ["id"], vo = ["xmlns", "viewBox"], ho = ["width", "height"], go = ["id"], fo = ["stdDeviation"], bo = ["d", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], yo = ["filter"], mo = ["d", "stroke", "stroke-width"], Co = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], ko = {
26
+ celebration: Ye,
27
+ celebrationNight: qe,
28
+ concrete: Qe,
29
+ dark: Xe,
30
+ default: Ze,
31
+ hack: Je,
32
+ zen: Ke
33
+ }, Symbol.toStringTag, { value: "Module" })), go = ["id"], ho = ["id"], fo = ["xmlns", "viewBox"], bo = ["width", "height"], po = ["id"], yo = ["stdDeviation"], mo = ["d", "stroke", "stroke-width"], Co = ["d", "stroke", "stroke-width"], ko = ["filter"], wo = ["d", "stroke", "stroke-width"], Ao = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], $o = {
33
34
  key: 4,
34
35
  class: "vue-data-ui-watermark"
35
- }, wo = ["id"], Ao = ["onClick"], $o = ["innerHTML"], To = {
36
+ }, To = ["id"], xo = ["onClick"], So = ["innerHTML"], Fo = {
36
37
  __name: "vue-ui-galaxy",
37
38
  props: {
38
39
  config: {
@@ -49,14 +50,14 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
49
50
  }
50
51
  },
51
52
  emits: ["selectLegend", "selectDatapoint"],
52
- setup(Ke, { expose: Qe, emit: et }) {
53
- const tt = S(() => import("./Tooltip-B79qvriT.js")), ot = S(() => import("./BaseIcon-r3_sTK1A.js")), lt = S(() => import("./vue-ui-accordion-B6BX2vhq.js")), at = S(() => import("./DataTable-DNeCys3I.js")), nt = S(() => import("./PenAndPaper-CsqBamFZ.js")), rt = S(() => import("./UserOptions-B-2A_KRb.js")), st = S(() => import("./PackageVersion-BpArR90N.js")), ut = S(() => import("./BaseDraggableDialog-C167SnU0.js")), { vue_ui_galaxy: it } = Jt(), { isThemeValid: ct, warnInvalidTheme: dt } = oo(), m = Ke, C = n(ze()), k = n(null), H = n(!1), j = n(""), O = n(null), re = n(0), se = n(0), ue = n(0), ie = n(0), ce = n(null), de = n(null), ve = n(null), he = n(null), _ = n(null), N = n(null), ge = n(!1), B = n(null), X = n(null), fe = d(() => !!m.dataset && m.dataset.length), e = n(J()), { loading: Y, FINAL_DATASET: be } = Kt({
54
- ...Bt(m),
53
+ setup(et, { expose: tt, emit: ot }) {
54
+ const lt = S(() => import("./Tooltip-TDyKgLB6.js")), at = S(() => import("./BaseIcon-4i3dd7Ty.js")), nt = S(() => import("./vue-ui-accordion-tQNKwbVi.js")), rt = S(() => import("./DataTable-WrXCJkfE.js")), st = S(() => import("./PenAndPaper-DxIUvoQ8.js")), ut = S(() => import("./UserOptions-CzJWRC4s.js")), it = S(() => import("./PackageVersion-D3cMhAlf.js")), ct = S(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_galaxy: dt } = eo(), { isThemeValid: vt, warnInvalidTheme: gt } = no(), m = et, C = n(Re()), k = n(null), j = n(!1), X = n(""), D = n(null), se = n(0), ue = n(0), ie = n(0), ce = n(0), de = n(null), ve = n(null), ge = n(null), he = n(null), _ = n(null), V = n(null), fe = n(!1), B = n(null), Y = n(null), be = d(() => !!m.dataset && m.dataset.length), e = n(Q()), { loading: q, FINAL_DATASET: pe } = to({
55
+ ...It(m),
55
56
  FINAL_CONFIG: e,
56
- prepareConfig: J,
57
+ prepareConfig: Q,
57
58
  callback: () => {
58
59
  Promise.resolve().then(async () => {
59
- await Me(), f.value.showTable = e.value.table.show;
60
+ await Ge(), f.value.showTable = e.value.table.show;
60
61
  });
61
62
  },
62
63
  skeletonDataset: [
@@ -64,7 +65,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
64
65
  { name: "_", values: [13], color: "#C4C4C4" },
65
66
  { name: "_", values: [8], color: "#ADADAD" }
66
67
  ],
67
- skeletonConfig: Vt({
68
+ skeletonConfig: zt({
68
69
  defaultConfig: e.value,
69
70
  userConfig: {
70
71
  userOptions: { show: !1 },
@@ -81,125 +82,125 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
81
82
  }
82
83
  })
83
84
  });
84
- Et(() => {
85
- ge.value = !0, ye();
85
+ Lt(() => {
86
+ fe.value = !0, me();
86
87
  });
87
- const pe = d(() => !!e.value.debug);
88
- function ye() {
89
- if (Mt(m.dataset) ? Ge({
88
+ const ye = d(() => !!e.value.debug);
89
+ function me() {
90
+ if (Gt(m.dataset) ? We({
90
91
  componentName: "VueUiGalaxy",
91
92
  type: "dataset",
92
- debug: pe.value
93
+ debug: ye.value
93
94
  }) : m.dataset.forEach((t, l) => {
94
- zt({
95
+ Rt({
95
96
  datasetObject: t,
96
97
  requiredAttributes: ["name", "values"]
97
98
  }).forEach((o) => {
98
- Ge({
99
+ We({
99
100
  componentName: "VueUiGalaxy",
100
101
  type: "datasetSerieAttribute",
101
102
  property: o,
102
103
  index: l,
103
- debug: pe.value
104
+ debug: ye.value
104
105
  });
105
106
  });
106
107
  }), e.value.responsive) {
107
- const t = qt(() => {
108
+ const t = Qt(() => {
108
109
  const { width: l, height: o } = Zt({
109
110
  chart: k.value,
110
- title: e.value.style.chart.title.text ? ce.value : null,
111
- legend: e.value.style.chart.legend.show ? de.value : null,
111
+ title: e.value.style.chart.title.text ? de.value : null,
112
+ legend: e.value.style.chart.legend.show ? ve.value : null,
112
113
  noTitle: he.value,
113
- source: ve.value
114
+ source: ge.value
114
115
  });
115
116
  requestAnimationFrame(() => {
116
- V.value = Math.max(0.1, l), M.value = Math.max(0.1, o - 12);
117
+ M.value = Math.max(0.1, l), z.value = Math.max(0.1, o - 12);
117
118
  });
118
119
  });
119
- _.value && (N.value && _.value.unobserve(N.value), _.value.disconnect()), _.value = new ResizeObserver(t), N.value = k.value.parentNode, _.value.observe(N.value);
120
+ _.value && (V.value && _.value.unobserve(V.value), _.value.disconnect()), _.value = new ResizeObserver(t), V.value = k.value.parentNode, _.value.observe(V.value);
120
121
  }
121
122
  }
122
- const { userOptionsVisible: q, setUserOptionsVisibility: me, keepUserOptionState: Ce } = lo({ config: e.value }), { svgRef: Z } = ao({ config: e.value.style.chart.title });
123
- function J() {
124
- const t = ne({
123
+ const { userOptionsVisible: J, setUserOptionsVisibility: Ce, keepUserOptionState: ke } = ro({ config: e.value }), { svgRef: K } = so({ config: e.value.style.chart.title });
124
+ function Q() {
125
+ const t = re({
125
126
  userConfig: m.config,
126
- defaultConfig: it
127
+ defaultConfig: dt
127
128
  }), l = t.theme;
128
129
  if (!l) return t;
129
- if (!ct.value(t))
130
- return dt(t), t;
131
- const o = ne({
132
- userConfig: Je[l] || m.config,
130
+ if (!vt.value(t))
131
+ return gt(t), t;
132
+ const o = re({
133
+ userConfig: Ze[l] || m.config,
133
134
  defaultConfig: t
134
- }), a = ne({
135
+ }), a = re({
135
136
  userConfig: m.config,
136
137
  defaultConfig: o
137
138
  });
138
139
  return {
139
140
  ...a,
140
- customPalette: a.customPalette.length ? a.customPalette : Gt[l] || U
141
+ customPalette: a.customPalette.length ? a.customPalette : Wt[l] || H
141
142
  };
142
143
  }
143
- Ee(() => m.config, (t) => {
144
- e.value = J(), q.value = !e.value.userOptions.showOnChartHover, ye(), se.value += 1, ue.value += 1, ie.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
144
+ Le(() => m.config, (t) => {
145
+ e.value = Q(), J.value = !e.value.userOptions.showOnChartHover, me(), ue.value += 1, ie.value += 1, ce.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
145
146
  }, { deep: !0 });
146
- const { isPrinting: ke, isImaging: we, generatePdf: Ae, generateImage: $e } = eo({
147
+ const { isPrinting: we, isImaging: Ae, generatePdf: $e, generateImage: Te } = lo({
147
148
  elementId: `galaxy_${C.value}`,
148
149
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
149
150
  options: e.value.userOptions.print
150
- }), vt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = d(() => Rt(e.value.customPalette)), f = n({
151
+ }), ht = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ft = d(() => Ut(e.value.customPalette)), f = n({
151
152
  dataLabels: {
152
153
  show: e.value.style.chart.layout.labels.dataLabels.show
153
154
  },
154
155
  showTable: e.value.table.show,
155
156
  showTooltip: e.value.style.chart.tooltip.show
156
- }), V = n(250), M = n(180), gt = n(0), ft = n(0), T = d(() => ({
157
- width: V.value,
158
- height: M.value,
159
- viewBox: `${gt.value} ${ft.value} ${V.value} ${M.value}`
160
- })), Te = et, b = n([]);
157
+ }), M = n(250), z = n(180), bt = n(0), pt = n(0), T = d(() => ({
158
+ width: M.value,
159
+ height: z.value,
160
+ viewBox: `${bt.value} ${pt.value} ${M.value} ${z.value}`
161
+ })), xe = ot, b = n([]);
161
162
  function E(t) {
162
- b.value.includes(t.id) ? b.value = b.value.filter((l) => l !== t.id) : b.value.push(t.id), Te("selectLegend", I.value.map((l) => ({
163
+ b.value.includes(t.id) ? b.value = b.value.filter((l) => l !== t.id) : b.value.push(t.id), xe("selectLegend", I.value.map((l) => ({
163
164
  name: l.name,
164
165
  color: l.color,
165
166
  value: l.value
166
167
  })));
167
168
  }
168
- function xe(t) {
169
+ function Se(t) {
169
170
  if (!w.value.length)
170
171
  return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
171
172
  const l = w.value.find((o) => o.name === t);
172
173
  return l || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
173
174
  }
174
- function bt(t) {
175
- const l = xe(t);
175
+ function yt(t) {
176
+ const l = Se(t);
176
177
  l !== null && b.value.includes(l.id) && E({ id: l.id });
177
178
  }
178
- function pt(t) {
179
- const l = xe(t);
179
+ function mt(t) {
180
+ const l = Se(t);
180
181
  l !== null && (b.value.includes(l.id) || E({ id: l.id }));
181
182
  }
182
- const w = d(() => be.value.map((t, l) => ({
183
+ const w = d(() => pe.value.map((t, l) => ({
183
184
  name: t.name,
184
- color: Wt(t.color) || ht.value[l] || U[l] || U[l % U.length],
185
- value: t.values ? Re(t.values).reduce((o, a) => o + a, 0) : 0,
186
- absoluteValues: Re(t.values),
187
- id: ze()
185
+ color: Ht(t.color) || ft.value[l] || H[l] || H[l % H.length],
186
+ value: t.values ? Ue(t.values).reduce((o, a) => o + a, 0) : 0,
187
+ absoluteValues: Ue(t.values),
188
+ id: Re()
188
189
  })).sort((t, l) => l.value - t.value).map((t, l) => ({
189
190
  ...t,
190
191
  absoluteIndex: l
191
192
  })));
192
- function yt() {
193
+ function Ct() {
193
194
  return w.value.map((t) => ({
194
195
  name: t.name,
195
196
  color: t.color,
196
197
  value: t.value
197
198
  }));
198
199
  }
199
- const A = d(() => w.value.filter((t) => !b.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Se = n(190), Fe = d(() => w.value.filter((t) => !b.value.includes(t.id))), mt = d(
200
+ const A = d(() => w.value.filter((t) => !b.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Fe = n(190), De = d(() => w.value.filter((t) => !b.value.includes(t.id))), kt = d(
200
201
  () => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
201
- ), Ct = d(() => Ut({
202
- maxPoints: Se.value,
202
+ ), wt = d(() => jt({
203
+ maxPoints: Fe.value,
203
204
  a: e.value.style.chart.layout.arcs.a ?? 6,
204
205
  b: e.value.style.chart.layout.arcs.b ?? 6,
205
206
  angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
@@ -207,93 +208,117 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
207
208
  startY: T.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
208
209
  boxWidth: T.value.width,
209
210
  boxHeight: T.value.height,
210
- padding: mt.value
211
+ padding: kt.value
211
212
  })), I = d(() => {
212
213
  const t = [];
213
- for (let l = 0; l < Fe.value.length; l += 1) {
214
- const o = Fe.value[l], a = o.value / A.value * Se.value + (l > 0 && t.length ? t[l - 1].points : 0);
214
+ for (let l = 0; l < De.value.length; l += 1) {
215
+ const o = De.value[l], a = o.value / A.value * Fe.value + (l > 0 && t.length ? t[l - 1].points : 0);
215
216
  t.push({
216
217
  points: a,
217
218
  ...o,
218
219
  seriesIndex: l,
219
220
  proportion: o.value / A.value,
220
- path: Ct.value(a)
221
+ path: wt.value(a)
221
222
  });
222
223
  }
223
224
  return t.filter((l) => !b.value.includes(l.id)).toSorted((l, o) => o.points - l.points);
224
225
  });
225
- function K(t) {
226
- const l = Math.min(V.value, M.value), o = O.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, a = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * o, u = e.value.style.chart.layout.arcs.strokeWidth * o, g = e.value.style.chart.layout.arcs.strokeWidth / 2 * o;
226
+ function Z(t) {
227
+ const l = Math.min(M.value, z.value), o = D.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, a = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * o, u = e.value.style.chart.layout.arcs.strokeWidth * o, v = e.value.style.chart.layout.arcs.strokeWidth / 2 * o;
227
228
  return {
228
229
  border: a / 180 * l,
229
230
  path: u / 180 * l,
230
- blur: g / 180 * l
231
+ blur: v / 180 * l
231
232
  };
232
233
  }
233
- const P = n(!1);
234
- function De(t) {
235
- P.value = t, re.value += 1;
234
+ const O = n(!1);
235
+ function Oe(t) {
236
+ O.value = t, se.value += 1;
236
237
  }
237
- const Q = n(null);
238
- function kt(t) {
239
- H.value = !1, O.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
238
+ const ee = n(null);
239
+ function At(t) {
240
+ j.value = !1, D.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
240
241
  }
241
- function wt(t) {
242
- Te("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
242
+ function $t(t) {
243
+ xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
243
244
  }
244
- function At({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
245
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), Q.value = {
245
+ function Pe({
246
+ val: t,
247
+ percentage: l,
248
+ showVal: o,
249
+ showPercentage: a
250
+ }) {
251
+ const u = e.value.style.chart.layout.labels.dataLabels;
252
+ return Kt({
253
+ config: u,
254
+ val: t,
255
+ percentage: l,
256
+ showVal: o,
257
+ showPercentage: a
258
+ });
259
+ }
260
+ function Tt({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
261
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), ee.value = {
246
262
  datapoint: t,
247
263
  seriesIndex: o,
248
264
  series: w.value,
249
265
  config: e.value
250
- }, H.value = a, O.value = t.id;
266
+ }, j.value = a, D.value = t.id;
251
267
  let u = "";
252
- const g = e.value.style.chart.tooltip.customFormat;
253
- Ue(g) && Yt(() => g({
268
+ const v = e.value.style.chart.tooltip.customFormat;
269
+ je(v) && Jt(() => v({
254
270
  seriesIndex: o,
255
271
  datapoint: t,
256
272
  series: w.value,
257
273
  config: e.value
258
- })) ? j.value = g({
274
+ })) ? X.value = v({
259
275
  seriesIndex: o,
260
276
  datapoint: t,
261
277
  series: w.value,
262
278
  config: e.value
263
- }) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${We(
264
- e.value.style.chart.layout.labels.dataLabels.formatter,
265
- t.value,
266
- D({
267
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
268
- v: t.value,
269
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
270
- r: e.value.style.chart.tooltip.roundingValue
271
- }),
272
- { datapoint: t, seriesIndex: o }
273
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${D({
274
- v: t.proportion * 100,
275
- s: "%",
276
- r: e.value.style.chart.tooltip.roundingPercentage
277
- })})</span></div>` : u += `<b>${D({
278
- v: t.proportion * 100,
279
- s: "%",
280
- r: e.value.style.chart.tooltip.roundingPercentage
281
- })}</b></div>`), j.value = `<div>${u}</div>`);
279
+ }) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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="${t.color}"/></svg>`, u += `<b>${Pe({
280
+ showVal: e.value.style.chart.tooltip.showValue,
281
+ showPercentage: e.value.style.chart.tooltip.showPercentage,
282
+ val: He(
283
+ e.value.style.chart.layout.labels.dataLabels.formatter,
284
+ t.value,
285
+ P({
286
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
287
+ v: t.value,
288
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
289
+ r: e.value.style.chart.tooltip.roundingValue
290
+ }),
291
+ { datapoint: t, seriesIndex: o }
292
+ ),
293
+ percentage: P({
294
+ v: t.proportion * 100,
295
+ s: "%",
296
+ r: e.value.style.chart.tooltip.roundingPercentage
297
+ })
298
+ })}</b></div>`, X.value = `<div>${u}</div>`);
282
299
  }
283
- const ee = d(() => w.value.map((t, l) => ({
284
- ...t,
285
- proportion: (t.value || 0) / be.value.map((o) => (o.values || []).reduce((a, u) => a + u, 0)).reduce((o, a) => o + a, 0),
286
- opacity: b.value.includes(t.id) ? 0.5 : 1,
287
- shape: t.shape || "circle",
288
- segregate: () => E(t),
289
- isSegregated: b.value.includes(t.id),
290
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? We(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
300
+ const te = d(() => w.value.map((t, l) => {
301
+ const o = He(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, P({
291
302
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
292
303
  v: t.value,
293
304
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
294
305
  r: e.value.style.chart.legend.roundingValue
295
- }), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? b.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / A.value) ? "-" : D({ v: t.value / A.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
296
- }))), $t = d(() => ({
306
+ }), { datapoint: t, index: l }), a = isNaN(t.value / A.value) || b.value.includes(t.id) ? "-" : P({ v: t.value / A.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }), u = Pe({
307
+ showVal: e.value.style.chart.legend.showValue,
308
+ showPercentage: e.value.style.chart.legend.showPercentage,
309
+ val: o,
310
+ percentage: a
311
+ });
312
+ return {
313
+ ...t,
314
+ proportion: (t.value || 0) / pe.value.map((v) => (v.values || []).reduce((N, Et) => N + Et, 0)).reduce((v, N) => v + N, 0),
315
+ opacity: b.value.includes(t.id) ? 0.5 : 1,
316
+ shape: t.shape || "circle",
317
+ segregate: () => E(t),
318
+ isSegregated: b.value.includes(t.id),
319
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${u}`
320
+ };
321
+ })), xt = d(() => ({
297
322
  cy: "galaxy-div-legend",
298
323
  backgroundColor: e.value.style.chart.legend.backgroundColor,
299
324
  color: e.value.style.chart.legend.color,
@@ -307,29 +332,29 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
307
332
  })), l = I.value.map((o) => o.value);
308
333
  return { head: t, body: l };
309
334
  });
310
- function te(t = null) {
311
- Me(() => {
312
- const l = x.value.head.map((u, g) => [[
335
+ function oe(t = null) {
336
+ Ge(() => {
337
+ const l = x.value.head.map((u, v) => [[
313
338
  u.name
314
- ], [x.value.body[g]], [isNaN(x.value.body[g] / A.value) ? "-" : x.value.body[g] / A.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = jt(o);
315
- t ? t(a) : Xt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
339
+ ], [x.value.body[v]], [isNaN(x.value.body[v] / A.value) ? "-" : x.value.body[v] / A.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = Yt(o);
340
+ t ? t(a) : qt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
316
341
  });
317
342
  }
318
- const z = d(() => {
343
+ const G = d(() => {
319
344
  const t = [
320
345
  ' <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>',
321
- D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
346
+ P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
322
347
  "100%"
323
- ], l = x.value.head.map((u, g) => {
324
- const _t = D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
348
+ ], l = x.value.head.map((u, v) => {
349
+ const N = P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
325
350
  return [
326
351
  {
327
352
  color: u.color,
328
353
  name: u.name
329
354
  },
330
- _t,
331
- isNaN(x.value.body[g] / A.value) ? "-" : D({
332
- v: x.value.body[g] / A.value * 100,
355
+ N,
356
+ isNaN(x.value.body[v] / A.value) ? "-" : P({
357
+ v: x.value.body[v] / A.value * 100,
333
358
  s: "%",
334
359
  r: e.value.table.td.roundingPercentage
335
360
  })
@@ -358,22 +383,22 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
358
383
  config: o
359
384
  };
360
385
  });
361
- function Oe() {
386
+ function _e() {
362
387
  f.value.showTable = !f.value.showTable;
363
388
  }
364
- function Pe() {
389
+ function Be() {
365
390
  f.value.showTooltip = !f.value.showTooltip;
366
391
  }
367
- const G = n(!1);
368
- function oe() {
369
- G.value = !G.value;
392
+ const R = n(!1);
393
+ function le() {
394
+ R.value = !R.value;
370
395
  }
371
- async function Tt({ scale: t = 2 } = {}) {
396
+ async function St({ scale: t = 2 } = {}) {
372
397
  if (!k.value) return;
373
- const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: g } = await no({ domElement: k.value, base64: !0, img: !0, scale: t });
398
+ const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: v } = await uo({ domElement: k.value, base64: !0, img: !0, scale: t });
374
399
  return {
375
400
  imageUri: u,
376
- base64: g,
401
+ base64: v,
377
402
  title: e.value.style.chart.title.text,
378
403
  width: l,
379
404
  height: o,
@@ -383,14 +408,14 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
383
408
  const L = d(() => {
384
409
  const t = e.value.table.useDialog && !e.value.table.show, l = f.value.showTable;
385
410
  return {
386
- component: t ? ut : lt,
411
+ component: t ? ct : nt,
387
412
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
388
413
  props: t ? {
389
414
  backgroundColor: e.value.table.th.backgroundColor,
390
415
  color: e.value.table.th.color,
391
416
  headerColor: e.value.table.th.color,
392
417
  headerBg: e.value.table.th.backgroundColor,
393
- isFullscreen: P.value,
418
+ isFullscreen: O.value,
394
419
  fullscreenParent: k.value,
395
420
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
396
421
  } : {
@@ -410,58 +435,58 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
410
435
  }
411
436
  };
412
437
  });
413
- Ee(() => f.value.showTable, (t) => {
438
+ Le(() => f.value.showTable, (t) => {
414
439
  e.value.table.show || (t && e.value.table.useDialog && B.value ? B.value.open() : "close" in B.value && B.value.close());
415
440
  });
416
- function _e() {
417
- f.value.showTable = !1, X.value && X.value.setTableIconState(!1);
441
+ function Ee() {
442
+ f.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
418
443
  }
419
- const xt = d(() => ee.value.map((t) => ({
444
+ const Ft = d(() => te.value.map((t) => ({
420
445
  ...t,
421
446
  name: t.display
422
- }))), St = d(() => e.value.style.chart.backgroundColor), Ft = d(() => e.value.style.chart.legend), Dt = d(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: Pt } = to({
423
- svg: Z,
424
- title: Dt,
425
- legend: Ft,
426
- legendItems: xt,
427
- backgroundColor: St
447
+ }))), Dt = d(() => e.value.style.chart.backgroundColor), Ot = d(() => e.value.style.chart.legend), Pt = d(() => e.value.style.chart.title), { exportSvg: _t, getSvg: Bt } = ao({
448
+ svg: K,
449
+ title: Pt,
450
+ legend: Ot,
451
+ legendItems: Ft,
452
+ backgroundColor: Dt
428
453
  });
429
- async function Be({ isCb: t }) {
454
+ async function Ie({ isCb: t }) {
430
455
  if (t) {
431
- const { blob: l, url: o, text: a, dataUrl: u } = await Pt();
456
+ const { blob: l, url: o, text: a, dataUrl: u } = await Bt();
432
457
  e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: u });
433
458
  } else
434
- Ot();
459
+ _t();
435
460
  }
436
- return Qe({
437
- getData: yt,
438
- getImage: Tt,
439
- generatePdf: Ae,
440
- generateCsv: te,
441
- generateImage: $e,
442
- generateSvg: Be,
443
- hideSeries: pt,
444
- showSeries: bt,
445
- toggleTable: Oe,
446
- toggleTooltip: Pe,
447
- toggleAnnotator: oe,
448
- toggleFullscreen: De
449
- }), (t, l) => (r(), v("div", {
461
+ return tt({
462
+ getData: Ct,
463
+ getImage: St,
464
+ generatePdf: $e,
465
+ generateCsv: oe,
466
+ generateImage: Te,
467
+ generateSvg: Ie,
468
+ hideSeries: mt,
469
+ showSeries: yt,
470
+ toggleTable: _e,
471
+ toggleTooltip: Be,
472
+ toggleAnnotator: le,
473
+ toggleFullscreen: Oe
474
+ }), (t, l) => (r(), g("div", {
450
475
  ref_key: "galaxyChart",
451
476
  ref: k,
452
- class: W(`vue-data-ui-component vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${s(Y) ? "loading" : ""}`),
453
- style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
477
+ class: U(`vue-data-ui-component vue-ui-galaxy ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${s(q) ? "loading" : ""}`),
478
+ style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
454
479
  id: `galaxy_${C.value}`,
455
- onMouseenter: l[2] || (l[2] = () => s(me)(!0)),
456
- onMouseleave: l[3] || (l[3] = () => s(me)(!1))
480
+ onMouseenter: l[2] || (l[2] = () => s(Ce)(!0)),
481
+ onMouseleave: l[3] || (l[3] = () => s(Ce)(!1))
457
482
  }, [
458
- e.value.userOptions.buttons.annotator ? (r(), F(s(nt), {
483
+ e.value.userOptions.buttons.annotator ? (r(), F(s(st), {
459
484
  key: 0,
460
- svgRef: s(Z),
485
+ svgRef: s(K),
461
486
  backgroundColor: e.value.style.chart.backgroundColor,
462
487
  color: e.value.style.chart.color,
463
- active: G.value,
464
- onClose: oe
488
+ active: R.value,
489
+ onClose: le
465
490
  }, {
466
491
  "annotator-action-close": i(() => [
467
492
  c(t.$slots, "annotator-action-close", {}, void 0, !0)
@@ -483,21 +508,21 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
483
508
  ]),
484
509
  _: 3
485
510
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
486
- vt.value ? (r(), v("div", {
511
+ ht.value ? (r(), g("div", {
487
512
  key: 1,
488
513
  ref_key: "noTitle",
489
514
  ref: he,
490
515
  class: "vue-data-ui-no-title-space",
491
516
  style: "height:36px; width: 100%;background:transparent"
492
517
  }, null, 512)) : h("", !0),
493
- e.value.style.chart.title.text ? (r(), v("div", {
518
+ e.value.style.chart.title.text ? (r(), g("div", {
494
519
  key: 2,
495
520
  ref_key: "chartTitle",
496
- ref: ce,
521
+ ref: de,
497
522
  style: "width:100%;background:transparent;padding-bottom:24px"
498
523
  }, [
499
- (r(), F(ro, {
500
- key: `title_${se.value}`,
524
+ (r(), F(io, {
525
+ key: `title_${ue.value}`,
501
526
  config: {
502
527
  title: {
503
528
  cy: "galaxy-div-title",
@@ -512,15 +537,15 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
512
537
  ], 512)) : h("", !0),
513
538
  $("div", {
514
539
  id: `legend-top-${C.value}`
515
- }, null, 8, co),
516
- e.value.userOptions.show && fe.value && (s(Ce) || s(q)) ? (r(), F(s(rt), {
540
+ }, null, 8, ho),
541
+ e.value.userOptions.show && be.value && (s(ke) || s(J)) ? (r(), F(s(ut), {
517
542
  ref_key: "userOptionsRef",
518
- ref: X,
519
- key: `user_option_${re.value}`,
543
+ ref: Y,
544
+ key: `user_option_${se.value}`,
520
545
  backgroundColor: e.value.style.chart.backgroundColor,
521
546
  color: e.value.style.chart.color,
522
- isPrinting: s(ke),
523
- isImaging: s(we),
547
+ isPrinting: s(we),
548
+ isImaging: s(Ae),
524
549
  uid: C.value,
525
550
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
526
551
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -530,27 +555,27 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
530
555
  hasTable: e.value.userOptions.buttons.table,
531
556
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
532
557
  isTooltip: f.value.showTooltip,
533
- isFullscreen: P.value,
558
+ isFullscreen: O.value,
534
559
  titles: { ...e.value.userOptions.buttonTitles },
535
560
  chartElement: k.value,
536
561
  position: e.value.userOptions.position,
537
562
  hasAnnotator: e.value.userOptions.buttons.annotator,
538
- isAnnotation: G.value,
563
+ isAnnotation: R.value,
539
564
  callbacks: e.value.userOptions.callbacks,
540
565
  printScale: e.value.userOptions.print.scale,
541
566
  tableDialog: e.value.table.useDialog,
542
- onToggleFullscreen: De,
543
- onGeneratePdf: s(Ae),
544
- onGenerateCsv: te,
545
- onGenerateImage: s($e),
546
- onGenerateSvg: Be,
547
- onToggleTable: Oe,
548
- onToggleTooltip: Pe,
549
- onToggleAnnotator: oe,
550
- style: R({
551
- visibility: s(Ce) ? s(q) ? "visible" : "hidden" : "visible"
567
+ onToggleFullscreen: Oe,
568
+ onGeneratePdf: s($e),
569
+ onGenerateCsv: oe,
570
+ onGenerateImage: s(Te),
571
+ onGenerateSvg: Ie,
572
+ onToggleTable: _e,
573
+ onToggleTooltip: Be,
574
+ onToggleAnnotator: le,
575
+ style: W({
576
+ visibility: s(ke) ? s(J) ? "visible" : "hidden" : "visible"
552
577
  })
553
- }, Ie({ _: 2 }, [
578
+ }, Ne({ _: 2 }, [
554
579
  t.$slots.menuIcon ? {
555
580
  name: "menuIcon",
556
581
  fn: i(({ isOpen: o, color: a }) => [
@@ -615,16 +640,16 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
615
640
  key: "8"
616
641
  } : void 0
617
642
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
618
- (r(), v("svg", {
643
+ (r(), g("svg", {
619
644
  ref_key: "svgRef",
620
- ref: Z,
621
- xmlns: s(Ht),
622
- class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
645
+ ref: K,
646
+ xmlns: s(Xt),
647
+ class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
623
648
  viewBox: T.value.viewBox,
624
- style: R(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
649
+ style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
625
650
  }, [
626
- le(s(st)),
627
- t.$slots["chart-background"] ? (r(), v("foreignObject", {
651
+ ae(s(it)),
652
+ t.$slots["chart-background"] ? (r(), g("foreignObject", {
628
653
  key: 0,
629
654
  x: 0,
630
655
  y: 0,
@@ -635,7 +660,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
635
660
  }
636
661
  }, [
637
662
  c(t.$slots, "chart-background", {}, void 0, !0)
638
- ], 8, ho)) : h("", !0),
663
+ ], 8, bo)) : h("", !0),
639
664
  $("defs", null, [
640
665
  $("filter", {
641
666
  id: `blur_${C.value}`,
@@ -647,28 +672,28 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
647
672
  $("feGaussianBlur", {
648
673
  in: "SourceGraphic",
649
674
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
650
- }, null, 8, fo)
651
- ], 8, go)
675
+ }, null, 8, yo)
676
+ ], 8, po)
652
677
  ]),
653
- (r(!0), v(Le, null, Ne(I.value, (o) => (r(), v("g", null, [
654
- o.value ? (r(), v("path", {
678
+ (r(!0), g(Ve, null, Me(I.value, (o) => (r(), g("g", null, [
679
+ o.value ? (r(), g("path", {
655
680
  key: 0,
656
681
  d: o.path,
657
682
  fill: "none",
658
683
  stroke: e.value.style.chart.backgroundColor,
659
- "stroke-width": K(o).border,
684
+ "stroke-width": Z(o).border,
660
685
  "stroke-linecap": "round"
661
- }, null, 8, bo)) : h("", !0),
662
- o.value ? (r(), v("path", {
686
+ }, null, 8, mo)) : h("", !0),
687
+ o.value ? (r(), g("path", {
663
688
  key: 1,
664
689
  d: o.path,
665
690
  fill: "none",
666
691
  stroke: o.color,
667
- "stroke-width": K(o).path,
692
+ "stroke-width": Z(o).path,
668
693
  "stroke-linecap": "round",
669
- class: W(`${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
670
- }, null, 10, po)) : h("", !0),
671
- o.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), v("g", {
694
+ class: U(`${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
695
+ }, null, 10, Co)) : h("", !0),
696
+ o.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), g("g", {
672
697
  key: 2,
673
698
  filter: `url(#blur_${C.value})`
674
699
  }, [
@@ -676,73 +701,73 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
676
701
  d: o.path,
677
702
  fill: "none",
678
703
  stroke: e.value.style.chart.layout.arcs.gradient.color,
679
- "stroke-width": K(o).blur,
704
+ "stroke-width": Z(o).blur,
680
705
  "stroke-linecap": "round",
681
- class: W(`vue-ui-galaxy-gradient ${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
682
- }, null, 10, mo)
683
- ], 8, yo)) : h("", !0)
706
+ class: U(`vue-ui-galaxy-gradient ${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
707
+ }, null, 10, wo)
708
+ ], 8, ko)) : h("", !0)
684
709
  ]))), 256)),
685
- (r(!0), v(Le, null, Ne(I.value, (o, a) => (r(), v("g", null, [
686
- o.value ? (r(), v("path", {
710
+ (r(!0), g(Ve, null, Me(I.value, (o, a) => (r(), g("g", null, [
711
+ o.value ? (r(), g("path", {
687
712
  key: 0,
688
713
  d: o.path,
689
714
  fill: "none",
690
715
  stroke: "transparent",
691
716
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
692
717
  "stroke-linecap": "round",
693
- onMouseenter: (u) => At({
718
+ onMouseenter: (u) => Tt({
694
719
  datapoint: o,
695
720
  seriesIndex: o.seriesIndex,
696
721
  show: !0
697
722
  }),
698
- onMouseleave: (u) => kt(o),
699
- onClick: (u) => wt(o)
700
- }, null, 40, Co)) : h("", !0)
723
+ onMouseleave: (u) => At(o),
724
+ onClick: (u) => $t(o)
725
+ }, null, 40, Ao)) : h("", !0)
701
726
  ]))), 256)),
702
727
  c(t.$slots, "svg", { svg: T.value }, void 0, !0)
703
- ], 14, vo)),
704
- t.$slots.watermark ? (r(), v("div", ko, [
705
- c(t.$slots, "watermark", p(y({ isPrinting: s(ke) || s(we) })), void 0, !0)
728
+ ], 14, fo)),
729
+ t.$slots.watermark ? (r(), g("div", $o, [
730
+ c(t.$slots, "watermark", p(y({ isPrinting: s(we) || s(Ae) })), void 0, !0)
706
731
  ])) : h("", !0),
707
732
  $("div", {
708
733
  id: `legend-bottom-${C.value}`
709
- }, null, 8, wo),
710
- ge.value ? (r(), F(It, {
734
+ }, null, 8, To),
735
+ fe.value ? (r(), F(Nt, {
711
736
  key: 5,
712
737
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
713
738
  }, [
714
739
  $("div", {
715
740
  ref_key: "chartLegend",
716
- ref: de
741
+ ref: ve
717
742
  }, [
718
- e.value.style.chart.legend.show ? (r(), F(so, {
719
- key: `legend_${ie.value}`,
720
- legendSet: ee.value,
721
- config: $t.value,
743
+ e.value.style.chart.legend.show ? (r(), F(co, {
744
+ key: `legend_${ce.value}`,
745
+ legendSet: te.value,
746
+ config: xt.value,
722
747
  onClickMarker: l[0] || (l[0] = ({ legend: o }) => E(o))
723
748
  }, {
724
749
  item: i(({ legend: o, index: a }) => [
725
- s(Y) ? h("", !0) : (r(), v("div", {
750
+ s(q) ? h("", !0) : (r(), g("div", {
726
751
  key: 0,
727
752
  onClick: (u) => E(o),
728
- style: R(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
729
- }, ae(o.display), 13, Ao))
753
+ style: W(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
754
+ }, ne(o.display), 13, xo))
730
755
  ]),
731
756
  _: 1
732
757
  }, 8, ["legendSet", "config"])) : h("", !0),
733
- c(t.$slots, "legend", { legend: ee.value }, void 0, !0)
758
+ c(t.$slots, "legend", { legend: te.value }, void 0, !0)
734
759
  ], 512)
735
760
  ], 8, ["to"])) : h("", !0),
736
- t.$slots.source ? (r(), v("div", {
761
+ t.$slots.source ? (r(), g("div", {
737
762
  key: 6,
738
763
  ref_key: "source",
739
- ref: ve,
764
+ ref: ge,
740
765
  dir: "auto"
741
766
  }, [
742
767
  c(t.$slots, "source", {}, void 0, !0)
743
768
  ], 512)) : h("", !0),
744
- le(s(tt), {
745
- show: f.value.showTooltip && H.value,
769
+ ae(s(lt), {
770
+ show: f.value.showTooltip && j.value,
746
771
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
747
772
  color: e.value.style.chart.tooltip.color,
748
773
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -753,46 +778,46 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
753
778
  position: e.value.style.chart.tooltip.position,
754
779
  offsetY: e.value.style.chart.tooltip.offsetY,
755
780
  parent: k.value,
756
- content: j.value,
757
- isFullscreen: P.value,
758
- isCustom: s(Ue)(e.value.style.chart.tooltip.customFormat),
781
+ content: X.value,
782
+ isFullscreen: O.value,
783
+ isCustom: s(je)(e.value.style.chart.tooltip.customFormat),
759
784
  smooth: e.value.style.chart.tooltip.smooth,
760
785
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
761
786
  smoothForce: e.value.style.chart.tooltip.smoothForce,
762
787
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
763
788
  }, {
764
789
  "tooltip-before": i(() => [
765
- c(t.$slots, "tooltip-before", p(y({ ...Q.value })), void 0, !0)
790
+ c(t.$slots, "tooltip-before", p(y({ ...ee.value })), void 0, !0)
766
791
  ]),
767
792
  "tooltip-after": i(() => [
768
- c(t.$slots, "tooltip-after", p(y({ ...Q.value })), void 0, !0)
793
+ c(t.$slots, "tooltip-after", p(y({ ...ee.value })), void 0, !0)
769
794
  ]),
770
795
  _: 3
771
796
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
772
- fe.value && e.value.userOptions.buttons.table ? (r(), F(Lt(L.value.component), Nt({ key: 7 }, L.value.props, {
797
+ be.value && e.value.userOptions.buttons.table ? (r(), F(Vt(L.value.component), Mt({ key: 7 }, L.value.props, {
773
798
  ref_key: "tableUnit",
774
799
  ref: B,
775
- onClose: _e
776
- }), Ie({
800
+ onClose: Ee
801
+ }), Ne({
777
802
  content: i(() => [
778
- (r(), F(s(at), {
779
- key: `table_${ue.value}`,
780
- colNames: z.value.colNames,
781
- head: z.value.head,
782
- body: z.value.body,
783
- config: z.value.config,
803
+ (r(), F(s(rt), {
804
+ key: `table_${ie.value}`,
805
+ colNames: G.value.colNames,
806
+ head: G.value.head,
807
+ body: G.value.body,
808
+ config: G.value.config,
784
809
  title: e.value.table.useDialog ? "" : L.value.title,
785
810
  withCloseButton: !e.value.table.useDialog,
786
- onClose: _e
811
+ onClose: Ee
787
812
  }, {
788
813
  th: i(({ th: o }) => [
789
814
  $("div", {
790
815
  innerHTML: o,
791
816
  style: { display: "flex", "align-items": "center" }
792
- }, null, 8, $o)
817
+ }, null, 8, So)
793
818
  ]),
794
819
  td: i(({ td: o }) => [
795
- Ve(ae(o.name || o), 1)
820
+ ze(ne(o.name || o), 1)
796
821
  ]),
797
822
  _: 1
798
823
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -802,7 +827,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
802
827
  e.value.table.useDialog ? {
803
828
  name: "title",
804
829
  fn: i(() => [
805
- Ve(ae(L.value.title), 1)
830
+ ze(ne(L.value.title), 1)
806
831
  ]),
807
832
  key: "0"
808
833
  } : void 0,
@@ -812,9 +837,9 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
812
837
  $("button", {
813
838
  tabindex: "0",
814
839
  class: "vue-ui-user-options-button",
815
- onClick: l[1] || (l[1] = (o) => te(e.value.userOptions.callbacks.csv))
840
+ onClick: l[1] || (l[1] = (o) => oe(e.value.userOptions.callbacks.csv))
816
841
  }, [
817
- le(s(ot), {
842
+ ae(s(at), {
818
843
  name: "excel",
819
844
  stroke: L.value.props.color
820
845
  }, null, 8, ["stroke"])
@@ -823,15 +848,15 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
823
848
  key: "1"
824
849
  } : void 0
825
850
  ]), 1040)) : h("", !0),
826
- s(Y) ? (r(), F(Qt, { key: 8 })) : h("", !0)
827
- ], 46, io));
851
+ s(q) ? (r(), F(oo, { key: 8 })) : h("", !0)
852
+ ], 46, go));
828
853
  }
829
- }, xo = /* @__PURE__ */ uo(To, [["__scopeId", "data-v-0d1007ad"]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
854
+ }, Do = /* @__PURE__ */ vo(Fo, [["__scopeId", "data-v-76025af7"]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
830
855
  __proto__: null,
831
- default: xo
856
+ default: Do
832
857
  }, Symbol.toStringTag, { value: "Module" }));
833
858
  export {
834
- Go as a,
835
- Ro as b,
836
- xo as v
859
+ Ho as a,
860
+ jo as b,
861
+ Do as v
837
862
  };