vue-data-ui 2.3.84 → 2.3.85

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 (172) hide show
  1. package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CLOh6oi7.cjs} +1 -1
  2. package/dist/{Arrow-CQ1ubni5.js → Arrow-JwDgP3de.js} +1 -1
  3. package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
  4. package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-BysUnfCR.js} +1 -1
  5. package/dist/{DataTable-C-iU_7h7.js → DataTable-MkG5Dqrn.js} +2 -2
  6. package/dist/{DataTable-CEtr89Og.cjs → DataTable-pVXaNplZ.cjs} +1 -1
  7. package/dist/{Legend-pU_BwhaW.js → Legend-KW7sTwN3.js} +1 -1
  8. package/dist/{Legend-D2ZBCCXe.cjs → Legend-k2mcTp7z.cjs} +1 -1
  9. package/dist/{Shape-CyM44biU.js → Shape-BFiZBf3X.js} +1 -1
  10. package/dist/{Shape-BO_KyCq8.cjs → Shape-COoEWeGM.cjs} +1 -1
  11. package/dist/{Slicer-CZobytqL.js → Slicer-CALc-Q4W.js} +2 -2
  12. package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-DCyxUSsn.cjs} +1 -1
  13. package/dist/{Title-B1_d29Eh.cjs → Title-BaKZYHEx.cjs} +1 -1
  14. package/dist/{Title-Bk3h09h9.js → Title-ISDbzCH8.js} +1 -1
  15. package/dist/{Tooltip-CdB80DsD.js → Tooltip-BHmMXOej.js} +1 -1
  16. package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
  17. package/dist/{index-DI4DaxVG.js → index-BiuHBtkZ.js} +1 -1
  18. package/dist/{index-Cx-40Fnz.cjs → index-D-vy9N1v.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
  21. package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-Ck5_RzLu.js} +1 -1
  22. package/dist/{usePrinter-D9bNzUQP.js → usePrinter-Do8KiK5h.js} +1 -1
  23. package/dist/{usePrinter-DbhL59iY.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
  24. package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-CAl2KJv9.js} +57 -57
  25. package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-CVYCyzY-.cjs} +1 -1
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
  29. package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
  30. package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
  31. package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
  32. package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
  34. package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
  35. package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
  36. package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
  37. package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
  38. package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
  40. package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
  41. package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
  42. package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-B1xa5yua.js} +2 -2
  43. package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
  46. package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-BUpjWWnD.js} +2 -2
  47. package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
  48. package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
  49. package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
  50. package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
  51. package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
  52. package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
  53. package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
  54. package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
  55. package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
  57. package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
  58. package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-CGh_m922.js} +61 -61
  59. package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
  61. package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
  64. package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-B4zr_geL.js} +3 -3
  65. package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
  68. package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
  69. package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
  70. package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
  72. package/dist/{vue-ui-nested-donuts-C3CMWjgk.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
  74. package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
  75. package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-DQMLPe3M.js} +88 -88
  76. package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
  78. package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
  79. package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
  81. package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
  82. package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-B9TZPujK.js} +42 -42
  83. package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
  84. package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-B0pNsmGB.js} +2 -2
  85. package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
  86. package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
  87. package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
  88. package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-BuvFDBXg.js} +77 -77
  89. package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
  90. package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
  91. package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
  92. package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
  93. package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
  94. package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
  96. package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
  98. package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
  99. package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
  100. package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
  101. package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
  102. package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
  103. package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
  104. package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
  105. package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
  106. package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
  108. package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
  109. package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
  111. package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
  114. package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-328De4vk.cjs} +1 -1
  115. package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-CamkBCdL.js} +1 -1
  116. package/dist/{vue-ui-table-heatmap-BnwiB4id.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
  117. package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
  118. package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
  120. package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
  121. package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
  122. package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-BPepr5eV.js} +4 -4
  123. package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
  124. package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
  125. package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
  126. package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
  127. package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-CWu43qLo.js} +12 -12
  128. package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
  129. package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
  130. package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
  131. package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
  132. package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
  133. package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
  134. package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
  135. package/dist/{vue-ui-word-cloud-D5JLdr9g.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
  136. package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
  137. package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-DgEdZz0O.js} +356 -361
  138. package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
  139. package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
  143. package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
  144. package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
  145. package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
  146. package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
  147. package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
  148. package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
  149. package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
  150. package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
  151. package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
  152. package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
  153. package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
  154. package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
  155. package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
  156. package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
  157. package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
  158. package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
  159. package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
  160. package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
  161. package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
  162. package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
  163. package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
  164. package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
  165. package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
  166. package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
  167. package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
  168. package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
  169. package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
  170. package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
  171. package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
  172. package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
@@ -1,18 +1,21 @@
1
- import { computed as v, onMounted as $e, ref as u, watch as _e, openBlock as s, createElementBlock as n, normalizeClass as L, normalizeStyle as I, createBlock as x, createCommentVNode as d, unref as h, createSlots as Te, withCtx as i, renderSlot as y, normalizeProps as F, guardReactiveProps as O, createElementVNode as $, Fragment as oe, renderList as se, createTextVNode as re, toDisplayString as E, createVNode as Pe, nextTick as Se } from "vue";
2
- import { u as Ne, o as Le, e as ue, g as Ie, c as ne, t as Fe, a as Oe, p as D, b as Ee, d as De, G as ie, J as Ge, f as k, X as Ve, i as ce, x as ve, y as Be, q as Me, r as ze } from "./index-DI4DaxVG.js";
3
- import { L as We } from "./Legend-pU_BwhaW.js";
4
- import { _ as Ae } from "./Title-Bk3h09h9.js";
5
- import { _ as He } from "./Tooltip-CdB80DsD.js";
6
- import { D as Ue } from "./DataTable-C-iU_7h7.js";
7
- import { u as Xe, U as Re } from "./usePrinter-D9bNzUQP.js";
8
- import Ye from "./vue-ui-skeleton-DH4t1hrL.js";
9
- import je from "./vue-ui-accordion-DsN9lxvc.js";
10
- import { u as de } from "./useNestedProp-COsQo-tX.js";
1
+ import { computed as v, onMounted as $e, ref as u, watch as _e, openBlock as s, createElementBlock as n, normalizeClass as L, normalizeStyle as W, createBlock as x, createCommentVNode as d, unref as h, createSlots as Te, withCtx as i, renderSlot as y, normalizeProps as I, guardReactiveProps as F, createElementVNode as $, Fragment as oe, renderList as se, createTextVNode as re, toDisplayString as O, createVNode as Pe, nextTick as Se } from "vue";
2
+ import { u as Ne, o as Le, e as ue, g as Ie, c as ne, t as Fe, a as Oe, p as E, b as Ee, d as De, G as ie, J as Ge, f as k, X as Ve, i as ce, x as ve, y as Be, q as Me, r as ze } from "./index-BiuHBtkZ.js";
3
+ import { L as We } from "./Legend-KW7sTwN3.js";
4
+ import { _ as Ae } from "./Title-ISDbzCH8.js";
5
+ import { _ as He } from "./Tooltip-BHmMXOej.js";
6
+ import { D as Ue } from "./DataTable-MkG5Dqrn.js";
7
+ import { u as Xe, U as Re } from "./usePrinter-Do8KiK5h.js";
8
+ import Ye from "./vue-ui-skeleton-Du4zw-c1.js";
9
+ import je from "./vue-ui-accordion-D2fhyKpk.js";
10
+ import { u as de } from "./useNestedProp-Ck5_RzLu.js";
11
11
  import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"], et = ["d", "stroke", "stroke-width"], tt = ["d", "stroke", "stroke-width"], lt = ["filter"], at = ["d", "stroke", "stroke-width"], ot = ["d", "stroke-width", "onMouseenter", "onClick"], st = {
12
+ const Je = ["id"], Ke = {
13
+ key: 0,
14
+ style: "width:100%;background:transparent;padding-bottom:24px"
15
+ }, Qe = ["xmlns", "viewBox"], Ze = ["id"], et = ["stdDeviation"], tt = ["d", "stroke", "stroke-width"], lt = ["d", "stroke", "stroke-width"], at = ["filter"], ot = ["d", "stroke", "stroke-width"], st = ["d", "stroke-width", "onMouseenter", "onClick"], rt = {
13
16
  key: 3,
14
17
  class: "vue-data-ui-watermark"
15
- }, rt = ["onClick"], ut = { key: 0 }, nt = { key: 1 }, it = ["innerHTML"], ct = {
18
+ }, ut = ["onClick"], nt = { key: 0 }, it = { key: 1 }, ct = ["innerHTML"], vt = {
16
19
  __name: "vue-ui-galaxy",
17
20
  props: {
18
21
  config: {
@@ -30,15 +33,15 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
30
33
  },
31
34
  emits: ["selectLegend", "selectDatapoint"],
32
35
  setup(he, { expose: ye, emit: A }) {
33
- const g = he, { vue_ui_galaxy: ge } = Ne(), S = v(() => !!g.dataset && g.dataset.length);
36
+ const p = he, { vue_ui_galaxy: pe } = Ne(), S = v(() => !!p.dataset && p.dataset.length);
34
37
  $e(() => {
35
38
  H();
36
39
  });
37
40
  function H() {
38
- Le(g.dataset) ? ue({
41
+ Le(p.dataset) ? ue({
39
42
  componentName: "VueUiGalaxy",
40
43
  type: "dataset"
41
- }) : g.dataset.forEach((t, a) => {
44
+ }) : p.dataset.forEach((t, a) => {
42
45
  Ie({
43
46
  datasetObject: t,
44
47
  requiredAttributes: ["name", "values"]
@@ -52,50 +55,50 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
52
55
  });
53
56
  });
54
57
  }
55
- const _ = u(ne()), G = u(null), fe = u(null), V = u(!1), B = u(""), f = u(null), U = u(0), X = u(0), R = u(0), Y = u(0), e = v({
58
+ const _ = u(ne()), D = u(null), ge = u(null), G = u(!1), V = u(""), g = u(null), U = u(0), X = u(0), R = u(0), Y = u(0), e = v({
56
59
  get: () => j(),
57
60
  set: (t) => t
58
61
  });
59
62
  function j() {
60
63
  const t = de({
61
- userConfig: g.config,
62
- defaultConfig: ge
64
+ userConfig: p.config,
65
+ defaultConfig: pe
63
66
  });
64
67
  return t.theme ? {
65
68
  ...de({
66
- userConfig: Fe.vue_ui_galaxy[t.theme] || g.config,
69
+ userConfig: Fe.vue_ui_galaxy[t.theme] || p.config,
67
70
  defaultConfig: t
68
71
  }),
69
- customPalette: Oe[t.theme] || D
72
+ customPalette: Oe[t.theme] || E
70
73
  } : t;
71
74
  }
72
- _e(() => g.config, (t) => {
75
+ _e(() => p.config, (t) => {
73
76
  e.value = j(), H(), X.value += 1, R.value += 1, Y.value += 1;
74
77
  }, { deep: !0 });
75
78
  const { isPrinting: q, isImaging: J, generatePdf: K, generateImage: Q } = Xe({
76
79
  elementId: `galaxy_${_.value}`,
77
80
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
78
- }), pe = v(() => Ee(e.value.customPalette)), b = u({
81
+ }), fe = v(() => Ee(e.value.customPalette)), b = u({
79
82
  dataLabels: {
80
83
  show: e.value.style.chart.layout.labels.dataLabels.show
81
84
  },
82
85
  showTable: e.value.table.show,
83
86
  showTooltip: e.value.style.chart.tooltip.show
84
- }), M = u({
87
+ }), B = u({
85
88
  height: 180,
86
89
  // or 250 if non fibo
87
90
  width: 250
88
91
  }), c = u([]);
89
- function z(t) {
92
+ function M(t) {
90
93
  c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id), A("selectLegend", T.value.map((a) => ({
91
94
  name: a.name,
92
95
  color: a.color,
93
96
  value: a.value
94
97
  })));
95
98
  }
96
- const C = v(() => g.dataset.map((t, a) => ({
99
+ const C = v(() => p.dataset.map((t, a) => ({
97
100
  name: t.name,
98
- color: De(t.color) || pe.value[a] || D[a] || D[a % D.length],
101
+ color: De(t.color) || fe.value[a] || E[a] || E[a % E.length],
99
102
  value: t.values ? ie(t.values).reduce((l, o) => l + o, 0) : 0,
100
103
  absoluteValues: ie(t.values),
101
104
  id: ne(),
@@ -108,16 +111,16 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
108
111
  value: t.value
109
112
  }));
110
113
  }
111
- const p = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), me = u(190), Z = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
114
+ const f = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), me = u(190), Z = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
112
115
  const t = [];
113
116
  for (let a = 0; a < Z.value.length; a += 1) {
114
117
  const l = Z.value[a];
115
- let o = l.value / p.value * me.value;
118
+ let o = l.value / f.value * me.value;
116
119
  a > 0 && t.length && (o += t[a - 1].points), t.push({
117
120
  points: o,
118
121
  ...l,
119
122
  seriesIndex: a,
120
- proportion: l.value / p.value,
123
+ proportion: l.value / f.value,
121
124
  path: Ge({
122
125
  points: o,
123
126
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
@@ -130,14 +133,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
130
133
  function ke(t) {
131
134
  P.value = t, U.value += 1;
132
135
  }
133
- const W = u(null);
136
+ const z = u(null);
134
137
  function Ce({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
135
- W.value = {
138
+ z.value = {
136
139
  datapoint: t,
137
140
  seriesIndex: l,
138
141
  series: C.value,
139
142
  config: e.value
140
- }, V.value = o, f.value = t.id;
143
+ }, G.value = o, g.value = t.id;
141
144
  let r = "";
142
145
  const w = e.value.style.chart.tooltip.customFormat;
143
146
  ve(w) && Be(() => w({
@@ -145,7 +148,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
145
148
  datapoint: t,
146
149
  series: C.value,
147
150
  config: e.value
148
- })) ? B.value = w({
151
+ })) ? V.value = w({
149
152
  seriesIndex: l,
150
153
  datapoint: t,
151
154
  series: C.value,
@@ -168,14 +171,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
168
171
  v: t.proportion * 100,
169
172
  s: "%",
170
173
  r: e.value.style.chart.tooltip.roundingPercentage
171
- })}</b></div>`), B.value = `<div>${r}</div>`);
174
+ })}</b></div>`), V.value = `<div>${r}</div>`);
172
175
  }
173
176
  const ee = v(() => C.value.map((t, a) => ({
174
177
  ...t,
175
- proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((o, r) => o + r, 0)).reduce((l, o) => l + o, 0),
178
+ proportion: (t.value || 0) / p.dataset.map((l) => (l.values || []).reduce((o, r) => o + r, 0)).reduce((l, o) => l + o, 0),
176
179
  opacity: c.value.includes(t.id) ? 0.5 : 1,
177
180
  shape: t.shape || "circle",
178
- segregate: () => z(t),
181
+ segregate: () => M(t),
179
182
  isSegregated: c.value.includes(t.id)
180
183
  }))), we = v(() => ({
181
184
  cy: "galaxy-div-legend",
@@ -195,14 +198,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
195
198
  Se(() => {
196
199
  const t = m.value.head.map((o, r) => [[
197
200
  o.name
198
- ], [m.value.body[r]], [isNaN(m.value.body[r] / p.value) ? "-" : m.value.body[r] / p.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Me(a);
201
+ ], [m.value.body[r]], [isNaN(m.value.body[r] / f.value) ? "-" : m.value.body[r] / f.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Me(a);
199
202
  ze({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
200
203
  });
201
204
  }
202
205
  const N = v(() => {
203
206
  const t = [
204
207
  ' <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>',
205
- k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: p.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
208
+ k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: f.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
206
209
  "100%"
207
210
  ], a = m.value.head.map((r, w) => {
208
211
  const xe = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
@@ -212,8 +215,8 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
212
215
  name: r.name
213
216
  },
214
217
  xe,
215
- isNaN(m.value.body[w] / p.value) ? "-" : k({
216
- v: m.value.body[w] / p.value * 100,
218
+ isNaN(m.value.body[w] / f.value) ? "-" : k({
219
+ v: m.value.body[w] / f.value * 100,
217
220
  s: "%",
218
221
  r: e.value.table.td.roundingPercentage
219
222
  })
@@ -257,15 +260,12 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
257
260
  toggleTooltip: ae
258
261
  }), (t, a) => (s(), n("div", {
259
262
  ref_key: "galaxyChart",
260
- ref: G,
263
+ ref: D,
261
264
  class: L(`vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
262
- style: I(`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}`),
265
+ 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}`),
263
266
  id: `galaxy_${_.value}`
264
267
  }, [
265
- e.value.style.chart.title.text ? (s(), n("div", {
266
- key: 0,
267
- style: I(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
268
- }, [
268
+ e.value.style.chart.title.text ? (s(), n("div", Ke, [
269
269
  (s(), x(Ae, {
270
270
  key: `title_${X.value}`,
271
271
  config: {
@@ -279,10 +279,10 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
279
279
  }
280
280
  }
281
281
  }, null, 8, ["config"]))
282
- ], 4)) : d("", !0),
282
+ ])) : d("", !0),
283
283
  e.value.userOptions.show && S.value ? (s(), x(Re, {
284
284
  ref_key: "details",
285
- ref: fe,
285
+ ref: ge,
286
286
  key: `user_option_${U.value}`,
287
287
  backgroundColor: e.value.style.chart.backgroundColor,
288
288
  color: e.value.style.chart.color,
@@ -298,7 +298,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
298
298
  isTooltip: b.value.showTooltip,
299
299
  isFullscreen: P.value,
300
300
  titles: { ...e.value.userOptions.buttonTitles },
301
- chartElement: G.value,
301
+ chartElement: D.value,
302
302
  onToggleFullscreen: ke,
303
303
  onGeneratePdf: h(K),
304
304
  onGenerateCsv: te,
@@ -344,7 +344,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
344
344
  t.$slots.optionFullscreen ? {
345
345
  name: "optionFullscreen",
346
346
  fn: i(({ toggleFullscreen: l, isFullscreen: o }) => [
347
- y(t.$slots, "optionFullscreen", F(O({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
347
+ y(t.$slots, "optionFullscreen", I(F({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
348
348
  ]),
349
349
  key: "5"
350
350
  } : void 0
@@ -353,8 +353,8 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
353
353
  key: 2,
354
354
  xmlns: h(Ve),
355
355
  class: L({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
356
- viewBox: `0 0 ${M.value.width} ${M.value.height}`,
357
- style: I(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
356
+ viewBox: `0 0 ${B.value.width} ${B.value.height}`,
357
+ style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
358
358
  }, [
359
359
  $("defs", null, [
360
360
  $("filter", {
@@ -367,8 +367,8 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
367
367
  $("feGaussianBlur", {
368
368
  in: "SourceGraphic",
369
369
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
370
- }, null, 8, Ze)
371
- ], 8, Qe)
370
+ }, null, 8, et)
371
+ ], 8, Ze)
372
372
  ]),
373
373
  (s(!0), n(oe, null, se(T.value, (l) => (s(), n("g", null, [
374
374
  l.value ? (s(), n("path", {
@@ -376,18 +376,18 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
376
376
  d: l.path,
377
377
  fill: "none",
378
378
  stroke: e.value.style.chart.backgroundColor,
379
- "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
379
+ "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
380
380
  "stroke-linecap": "round"
381
- }, null, 8, et)) : d("", !0),
381
+ }, null, 8, tt)) : d("", !0),
382
382
  l.value ? (s(), n("path", {
383
383
  key: 1,
384
384
  d: l.path,
385
385
  fill: "none",
386
386
  stroke: l.color,
387
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
387
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
388
388
  "stroke-linecap": "round",
389
- class: L(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
390
- }, null, 10, tt)) : d("", !0),
389
+ class: L(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
390
+ }, null, 10, lt)) : d("", !0),
391
391
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
392
392
  key: 2,
393
393
  filter: `url(#blur_${_.value})`
@@ -396,11 +396,11 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
396
396
  d: l.path,
397
397
  fill: "none",
398
398
  stroke: e.value.style.chart.layout.arcs.gradient.color,
399
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
399
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
400
400
  "stroke-linecap": "round",
401
- class: L(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
402
- }, null, 10, at)
403
- ], 8, lt)) : d("", !0)
401
+ class: L(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
402
+ }, null, 10, ot)
403
+ ], 8, at)) : d("", !0)
404
404
  ]))), 256)),
405
405
  (s(!0), n(oe, null, se(T.value, (l, o) => (s(), n("g", null, [
406
406
  l.value ? (s(), n("path", {
@@ -417,15 +417,15 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
417
417
  show: !0
418
418
  }),
419
419
  onMouseleave: a[0] || (a[0] = (r) => {
420
- V.value = !1, f.value = null;
420
+ G.value = !1, g.value = null;
421
421
  }),
422
422
  onClick: (r) => A("selectDatapoint", l)
423
- }, null, 40, ot)) : d("", !0)
423
+ }, null, 40, st)) : d("", !0)
424
424
  ]))), 256)),
425
- y(t.$slots, "svg", { svg: M.value }, void 0, !0)
426
- ], 14, Ke)) : d("", !0),
427
- t.$slots.watermark ? (s(), n("div", st, [
428
- y(t.$slots, "watermark", F(O({ isPrinting: h(q) || h(J) })), void 0, !0)
425
+ y(t.$slots, "svg", { svg: B.value }, void 0, !0)
426
+ ], 14, Qe)) : d("", !0),
427
+ t.$slots.watermark ? (s(), n("div", rt, [
428
+ y(t.$slots, "watermark", I(F({ isPrinting: h(q) || h(J) })), void 0, !0)
429
429
  ])) : d("", !0),
430
430
  S.value ? d("", !0) : (s(), x(Ye, {
431
431
  key: 4,
@@ -443,14 +443,14 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
443
443
  key: `legend_${Y.value}`,
444
444
  legendSet: ee.value,
445
445
  config: we.value,
446
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => z(l))
446
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
447
447
  }, {
448
448
  item: i(({ legend: l, index: o }) => [
449
449
  $("div", {
450
- onClick: (r) => z(l),
451
- style: I(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
450
+ onClick: (r) => M(l),
451
+ style: W(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
452
452
  }, [
453
- re(E(l.name) + ": " + E(h(ce)(
453
+ re(O(l.name) + ": " + O(h(ce)(
454
454
  e.value.style.chart.layout.labels.dataLabels.formatter,
455
455
  l.value,
456
456
  h(k)({
@@ -461,18 +461,18 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
461
461
  }),
462
462
  { datapoint: l, seriesIndex: o }
463
463
  )) + " ", 1),
464
- c.value.includes(l.id) ? (s(), n("span", nt, " ( - % ) ")) : (s(), n("span", ut, " (" + E(isNaN(l.value / p.value) ? "-" : h(k)({
465
- v: l.value / p.value * 100,
464
+ c.value.includes(l.id) ? (s(), n("span", it, " ( - % ) ")) : (s(), n("span", nt, " (" + O(isNaN(l.value / f.value) ? "-" : h(k)({
465
+ v: l.value / f.value * 100,
466
466
  s: "%",
467
467
  r: e.value.style.chart.legend.roundingPercentage
468
468
  })) + ") ", 1))
469
- ], 12, rt)
469
+ ], 12, ut)
470
470
  ]),
471
471
  _: 1
472
472
  }, 8, ["legendSet", "config"])) : d("", !0),
473
473
  y(t.$slots, "legend", { legend: ee.value }, void 0, !0),
474
474
  Pe(He, {
475
- show: b.value.showTooltip && V.value,
475
+ show: b.value.showTooltip && G.value,
476
476
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
477
477
  color: e.value.style.chart.tooltip.color,
478
478
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -482,15 +482,15 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
482
482
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
483
483
  position: e.value.style.chart.tooltip.position,
484
484
  offsetY: e.value.style.chart.tooltip.offsetY,
485
- parent: G.value,
486
- content: B.value,
485
+ parent: D.value,
486
+ content: V.value,
487
487
  isCustom: h(ve)(e.value.style.chart.tooltip.customFormat)
488
488
  }, {
489
489
  "tooltip-before": i(() => [
490
- y(t.$slots, "tooltip-before", F(O({ ...W.value })), void 0, !0)
490
+ y(t.$slots, "tooltip-before", I(F({ ...z.value })), void 0, !0)
491
491
  ]),
492
492
  "tooltip-after": i(() => [
493
- y(t.$slots, "tooltip-after", F(O({ ...W.value })), void 0, !0)
493
+ y(t.$slots, "tooltip-after", I(F({ ...z.value })), void 0, !0)
494
494
  ]),
495
495
  _: 3
496
496
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
@@ -524,10 +524,10 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
524
524
  $("div", {
525
525
  innerHTML: l,
526
526
  style: { display: "flex", "align-items": "center" }
527
- }, null, 8, it)
527
+ }, null, 8, ct)
528
528
  ]),
529
529
  td: i(({ td: l }) => [
530
- re(E(l.name || l), 1)
530
+ re(O(l.name || l), 1)
531
531
  ]),
532
532
  _: 1
533
533
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -536,7 +536,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"]
536
536
  }, 8, ["config"])) : d("", !0)
537
537
  ], 14, Je));
538
538
  }
539
- }, wt = /* @__PURE__ */ qe(ct, [["__scopeId", "data-v-5fb613d4"]]);
539
+ }, xt = /* @__PURE__ */ qe(vt, [["__scopeId", "data-v-51a0130c"]]);
540
540
  export {
541
- wt as default
541
+ xt as default
542
542
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-D-vy9N1v.cjs"),le=require("./Legend-k2mcTp7z.cjs"),ae=require("./Title-BaKZYHEx.cjs"),oe=require("./Tooltip-okAYzo5Y.cjs"),re=require("./DataTable-pVXaNplZ.cjs"),W=require("./usePrinter-P4nLcXX-.cjs"),ne=require("./vue-ui-skeleton-DJhwv2oY.cjs"),se=require("./vue-ui-accordion-btKAUUTu.cjs"),U=require("./useNestedProp-B9yDavuy.cjs"),ue=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ie=["id"],ce={key:0,style:"width:100%;background:transparent;padding-bottom:24px"},de=["xmlns","viewBox"],ve=["id"],he=["stdDeviation"],pe=["d","stroke","stroke-width"],fe=["d","stroke","stroke-width"],ye=["filter"],ge=["d","stroke","stroke-width"],me=["d","stroke-width","onMouseenter","onClick"],be={key:3,class:"vue-data-ui-watermark"},ke=["onClick"],Ce={key:0},we={key:1},xe=["innerHTML"],$e={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(H,{expose:R,emit:_}){const i=H,{vue_ui_galaxy:X}=r.useConfig(),b=e.computed(()=>!!i.dataset&&i.dataset.length);e.onMounted(()=>{S()});function S(){r.objectIsEmpty(i.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):i.dataset.forEach((l,o)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(a=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:a,index:o})})})}const y=e.ref(r.createUid()),C=e.ref(null),j=e.ref(null),w=e.ref(!1),x=e.ref(""),c=e.ref(null),N=e.ref(0),P=e.ref(0),L=e.ref(0),E=e.ref(0),t=e.computed({get:()=>V(),set:l=>l});function V(){const l=U.useNestedProp({userConfig:i.config,defaultConfig:X});return l.theme?{...U.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||i.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>i.config,l=>{t.value=V(),S(),P.value+=1,L.value+=1,E.value+=1},{deep:!0});const{isPrinting:F,isImaging:I,generatePdf:z,generateImage:O}=W.usePrinter({elementId:`galaxy_${y.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),Y=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),$=e.ref({height:180,width:250}),u=e.ref([]);function B(l){u.value.includes(l.id)?u.value=u.value.filter(o=>o!==l.id):u.value.push(l.id),_("selectLegend",g.value.map(o=>({name:o.name,color:o.color,value:o.value})))}const p=e.computed(()=>i.dataset.map((l,o)=>({name:l.name,color:r.convertColorToHex(l.color)||Y.value[o]||r.palette[o]||r.palette[o%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((a,n)=>a+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:o})).sort((l,o)=>o.value-l.value));function J(){return p.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const d=e.computed(()=>p.value.filter(l=>!u.value.includes(l.id)).map(l=>l.value).reduce((l,o)=>l+o,0)),K=e.ref(190),D=e.computed(()=>p.value.filter(l=>!u.value.includes(l.id))),g=e.computed(()=>{const l=[];for(let o=0;o<D.value.length;o+=1){const a=D.value[o];let n=a.value/d.value*K.value;o>0&&l.length&&(n+=l[o-1].points),l.push({points:n,...a,seriesIndex:o,proportion:a.value/d.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((o,a)=>!u.value.includes(o.id)).toSorted((o,a)=>a.points-o.points)}),m=e.ref(!1);function Q(l){m.value=l,N.value+=1}const T=e.ref(null);function Z({datapoint:l,_relativeIndex:o,seriesIndex:a,show:n=!1}){T.value={datapoint:l,seriesIndex:a,series:p.value,config:t.value},w.value=n,c.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:a,datapoint:l,series:p.value,config:t.value}))?x.value=f({seriesIndex:a,datapoint:l,series:p.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:a})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),x.value=`<div>${s}</div>`)}const q=e.computed(()=>p.value.map((l,o)=>({...l,proportion:(l.value||0)/i.dataset.map(a=>(a.values||[]).reduce((n,s)=>n+s,0)).reduce((a,n)=>a+n,0),opacity:u.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>B(l),isSegregated:u.value.includes(l.id)}))),ee=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),h=e.computed(()=>{const l=g.value.map(a=>({name:a.name,color:a.color})),o=g.value.map(a=>a.value);return{head:l,body:o}});function G(){e.nextTick(()=>{const l=h.value.head.map((n,s)=>[[n.name],[h.value.body[s]],[isNaN(h.value.body[s]/d.value)?"-":h.value.body[s]/d.value*100]]),o=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const k=e.computed(()=>{const l=[' <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>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:d.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],o=h.value.head.map((s,f)=>{const te=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:h.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},te,isNaN(h.value.body[f]/d.value)?"-":r.dataLabel({v:h.value.body[f]/d.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:o,config:a}});function M(){v.value.showTable=!v.value.showTable}function A(){v.value.showTooltip=!v.value.showTooltip}return R({getData:J,generatePdf:z,generateCsv:G,generateImage:O,toggleTable:M,toggleTooltip:A}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:C,class:e.normalizeClass(`vue-ui-galaxy ${m.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${y.value}`},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ce,[(e.openBlock(),e.createBlock(ae._sfc_main,{key:`title_${P.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value?(e.openBlock(),e.createBlock(W.UserOptions,{ref_key:"details",ref:j,key:`user_option_${N.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(F),isImaging:e.unref(I),uid:y.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:v.value.showTooltip,isFullscreen:m.value,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,onToggleFullscreen:Q,onGeneratePdf:e.unref(z),onGenerateCsv:G,onGenerateImage:e.unref(O),onToggleTable:M,onToggleTooltip:A},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":m.value,"vue-data-ui-fulscreen--off":!m.value}),viewBox:`0 0 ${$.value.width} ${$.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${y.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,he)],8,ve)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,a=>(e.openBlock(),e.createElementBlock("g",null,[a.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:a.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(c.value===a.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,pe)):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:a.path,fill:"none",stroke:a.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(c.value===a.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${c.value&&c.value!==a.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,fe)):e.createCommentVNode("",!0),a.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${y.value})`},[e.createElementVNode("path",{d:a.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(c.value===a.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${c.value&&c.value!==a.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,ge)],8,ye)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",null,[a.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:a.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>Z({datapoint:a,relativeIndex:n,seriesIndex:a.seriesIndex,show:!0}),onMouseleave:o[0]||(o[0]=s=>{w.value=!1,c.value=null}),onClick:s=>_("selectDatapoint",a)},null,40,me)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:$.value},void 0,!0)],14,de)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",be,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(F)||e.unref(I)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ne.default,{key:4,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(le.Legend,{key:`legend_${E.value}`,legendSet:q.value,config:ee.value,onClickMarker:o[1]||(o[1]=({legend:a})=>B(a))},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:s=>B(a),style:e.normalizeStyle(`opacity:${u.value.includes(a.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(a.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,a.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:a.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:a,seriesIndex:n}))+" ",1),u.value.includes(a.id)?(e.openBlock(),e.createElementBlock("span",we," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ce," ("+e.toDisplayString(isNaN(a.value/d.value)?"-":e.unref(r.dataLabel)({v:a.value/d.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,ke)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:q.value},void 0,!0),e.createVNode(oe._sfc_main,{show:v.value.showTooltip&&w.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:x.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),b.value?(e.openBlock(),e.createBlock(se.default,{key:6,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(re.DataTable,{key:`table_${L.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[2]||(o[2]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,xe)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a.name||a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,ie))}},Be=ue._export_sfc($e,[["__scopeId","data-v-51a0130c"]]);exports.default=Be;