vue-data-ui 2.3.60 → 2.3.62

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 (163) hide show
  1. package/dist/{Arrow-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
  2. package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
  3. package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
  4. package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
  5. package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
  6. package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
  7. package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
  8. package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
  9. package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
  10. package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
  11. package/dist/Slicer-DoMAeSUY.cjs +1 -0
  12. package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
  13. package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
  14. package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
  15. package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
  16. package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
  17. package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
  18. package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
  21. package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
  22. package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
  23. package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
  24. package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
  25. package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +7 -7
  28. package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
  29. package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
  30. package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
  31. package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
  32. package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
  34. package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
  38. package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
  40. package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
  41. package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
  42. package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
  43. package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
  46. package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
  47. package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
  48. package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
  49. package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
  50. package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
  51. package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
  52. package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
  54. package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
  55. package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
  56. package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
  57. package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
  58. package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
  59. package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
  61. package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
  64. package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
  65. package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
  66. package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
  70. package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
  71. package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
  72. package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
  74. package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
  75. package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
  78. package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
  79. package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
  80. package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
  81. package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
  82. package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
  83. package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
  84. package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
  85. package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
  87. package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
  88. package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
  89. package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
  90. package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
  91. package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
  92. package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
  93. package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
  95. package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
  97. package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
  99. package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
  100. package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
  101. package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
  102. package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
  103. package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
  104. package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
  105. package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
  106. package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
  108. package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
  109. package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
  110. package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
  111. package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
  112. package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
  114. package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
  115. package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
  117. package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
  118. package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
  119. package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
  120. package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
  121. package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
  122. package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
  123. package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
  124. package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
  125. package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
  126. package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
  127. package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
  128. package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
  129. package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
  130. package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
  131. package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
  132. package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
  133. package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
  134. package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
  135. package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
  136. package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
  137. package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
  138. package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
  140. package/package.json +1 -1
  141. package/dist/Slicer-PPS43jOo.cjs +0 -1
  142. package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
  143. package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
  144. package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
  145. package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
  146. package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
  147. package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
  148. package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
  149. package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
  150. package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
  151. package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
  152. package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
  153. package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
  154. package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
  155. package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
  156. package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
  157. package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
  158. package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
  159. package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
  160. package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
  161. package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
  162. package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
  163. package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
@@ -1,18 +1,18 @@
1
- import { computed as v, onMounted as me, ref as n, openBlock as r, createElementBlock as u, normalizeClass as S, normalizeStyle as L, createVNode as A, createCommentVNode as d, createBlock as I, unref as h, createSlots as ke, withCtx as i, renderSlot as y, normalizeProps as F, guardReactiveProps as O, createElementVNode as x, Fragment as ee, renderList as te, createTextVNode as le, toDisplayString as E, nextTick as Ce } from "vue";
2
- import { u as we, o as xe, e as ae, g as $e, c as oe, t as Te, a as _e, p as D, b as Pe, d as Ne, G as Se, f as k, X as Le, i as se, w as re, x as Ie, q as Fe, r as Oe } from "./index-CpHoINpJ.js";
3
- import { L as Ee } from "./Legend-DB6v_LvZ.js";
4
- import { _ as De } from "./Title-xP0rAF4q.js";
5
- import { _ as Ge } from "./Tooltip-DfBa_7Ur.js";
6
- import { D as Ve } from "./DataTable-1VV0us-8.js";
7
- import { u as Be, U as Me } from "./usePrinter-BHy-mfVg.js";
8
- import We from "./vue-ui-skeleton-DuM6yey6.js";
9
- import ze from "./vue-ui-accordion-BZloYo0L.js";
10
- import { u as ue } from "./useNestedProp-BOjw3Yqn.js";
11
- import { _ as Ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"], Ye = ["d", "stroke", "stroke-width"], je = ["d", "stroke", "stroke-width"], qe = ["filter"], Je = ["d", "stroke", "stroke-width"], Ke = ["d", "stroke-width", "onMouseenter", "onClick"], Qe = {
1
+ import { computed as v, onMounted as ke, ref as n, openBlock as r, createElementBlock as u, normalizeClass as S, normalizeStyle as L, createVNode as A, createCommentVNode as d, createBlock as I, unref as h, createSlots as Ce, withCtx as i, renderSlot as y, normalizeProps as F, guardReactiveProps as O, createElementVNode as x, Fragment as ee, renderList as te, createTextVNode as le, toDisplayString as E, nextTick as we } from "vue";
2
+ import { u as xe, o as $e, e as ae, g as Te, c as oe, t as _e, a as Pe, p as D, b as Ne, d as Se, F as se, I as Le, f as k, X as Ie, i as re, x as ue, y as Fe, q as Oe, r as Ee } from "./index-BshV7sX1.js";
3
+ import { L as De } from "./Legend-B9dawQa7.js";
4
+ import { _ as Ve } from "./Title-fb3BzoXj.js";
5
+ import { _ as Be } from "./Tooltip-CBugtvWB.js";
6
+ import { D as Ge } from "./DataTable-luIjNnne.js";
7
+ import { u as Me, U as ze } from "./usePrinter-Culo-aKo.js";
8
+ import We from "./vue-ui-skeleton-7qakoAGH.js";
9
+ import Ae from "./vue-ui-accordion-B6AxEnAr.js";
10
+ import { u as ne } from "./useNestedProp-B235bkr5.js";
11
+ import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"], je = ["d", "stroke", "stroke-width"], qe = ["d", "stroke", "stroke-width"], Je = ["filter"], Ke = ["d", "stroke", "stroke-width"], Qe = ["d", "stroke-width", "onMouseenter", "onClick"], Ze = {
13
13
  key: 3,
14
14
  class: "vue-data-ui-watermark"
15
- }, Ze = ["onClick"], et = { key: 0 }, tt = { key: 1 }, lt = ["innerHTML"], at = {
15
+ }, et = ["onClick"], tt = { key: 0 }, lt = { key: 1 }, at = ["innerHTML"], ot = {
16
16
  __name: "vue-ui-galaxy",
17
17
  props: {
18
18
  config: {
@@ -29,14 +29,14 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
29
29
  }
30
30
  },
31
31
  emits: ["selectLegend", "selectDatapoint"],
32
- setup(ne, { expose: ie, emit: H }) {
33
- const p = ne, { vue_ui_galaxy: ce } = we(), P = v(() => !!p.dataset && p.dataset.length);
34
- me(() => {
35
- xe(p.dataset) ? ae({
32
+ setup(ie, { expose: ce, emit: H }) {
33
+ const p = ie, { vue_ui_galaxy: ve } = xe(), P = v(() => !!p.dataset && p.dataset.length);
34
+ ke(() => {
35
+ $e(p.dataset) ? ae({
36
36
  componentName: "VueUiGalaxy",
37
37
  type: "dataset"
38
38
  }) : p.dataset.forEach((t, a) => {
39
- $e({
39
+ Te({
40
40
  datasetObject: t,
41
41
  requiredAttributes: ["name", "values"]
42
42
  }).forEach((l) => {
@@ -49,22 +49,22 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
49
49
  });
50
50
  });
51
51
  });
52
- const $ = n(oe()), G = n(null), ve = n(null), V = n(!1), B = n(""), g = n(null), U = n(0), e = v(() => {
53
- const t = ue({
52
+ const $ = n(oe()), V = n(null), de = n(null), B = n(!1), G = n(""), g = n(null), U = n(0), e = v(() => {
53
+ const t = ne({
54
54
  userConfig: p.config,
55
- defaultConfig: ce
55
+ defaultConfig: ve
56
56
  });
57
57
  return t.theme ? {
58
- ...ue({
59
- userConfig: Te.vue_ui_galaxy[t.theme] || p.config,
58
+ ...ne({
59
+ userConfig: _e.vue_ui_galaxy[t.theme] || p.config,
60
60
  defaultConfig: t
61
61
  }),
62
- customPalette: _e[t.theme] || D
62
+ customPalette: Pe[t.theme] || D
63
63
  } : t;
64
- }), { isPrinting: X, isImaging: R, generatePdf: Y, generateImage: j } = Be({
64
+ }), { isPrinting: X, isImaging: R, generatePdf: Y, generateImage: j } = Me({
65
65
  elementId: `galaxy_${$.value}`,
66
66
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
67
- }), de = v(() => Pe(e.value.customPalette)), b = n({
67
+ }), he = v(() => Ne(e.value.customPalette)), b = n({
68
68
  dataLabels: {
69
69
  show: e.value.style.chart.layout.labels.dataLabels.show
70
70
  },
@@ -75,7 +75,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
75
75
  // or 250 if non fibo
76
76
  width: 250
77
77
  }), c = n([]);
78
- function W(t) {
78
+ function z(t) {
79
79
  c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id), H("selectLegend", T.value.map((a) => ({
80
80
  name: a.name,
81
81
  color: a.color,
@@ -84,30 +84,30 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
84
84
  }
85
85
  const C = v(() => p.dataset.map((t, a) => ({
86
86
  name: t.name,
87
- color: Ne(t.color) || de.value[a] || D[a] || D[a % D.length],
88
- value: t.values ? t.values.reduce((l, o) => l + o, 0) : 0,
89
- absoluteValues: t.values || [0],
87
+ color: Se(t.color) || he.value[a] || D[a] || D[a % D.length],
88
+ value: t.values ? se(t.values).reduce((l, o) => l + o, 0) : 0,
89
+ absoluteValues: se(t.values),
90
90
  id: oe(),
91
91
  seriesIndex: a
92
92
  })).sort((t, a) => a.value - t.value));
93
- function he() {
93
+ function ye() {
94
94
  return C.value.map((t) => ({
95
95
  name: t.name,
96
96
  color: t.color,
97
97
  value: t.value
98
98
  }));
99
99
  }
100
- const f = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), ye = n(190), q = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
100
+ const f = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), ge = n(190), q = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
101
101
  const t = [];
102
102
  for (let a = 0; a < q.value.length; a += 1) {
103
103
  const l = q.value[a];
104
- let o = l.value / f.value * ye.value;
104
+ let o = l.value / f.value * ge.value;
105
105
  a > 0 && t.length && (o += t[a - 1].points), t.push({
106
106
  points: o,
107
107
  ...l,
108
108
  seriesIndex: a,
109
109
  proportion: l.value / f.value,
110
- path: Se({
110
+ path: Le({
111
111
  points: o,
112
112
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
113
113
  startY: 90 + e.value.style.chart.layout.arcs.offsetY
@@ -116,30 +116,30 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
116
116
  }
117
117
  return t.filter((a, l) => !c.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
118
118
  }), _ = n(!1);
119
- function ge(t) {
119
+ function fe(t) {
120
120
  _.value = t, U.value += 1;
121
121
  }
122
- const z = n(null);
123
- function fe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
124
- z.value = {
122
+ const W = n(null);
123
+ function pe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
124
+ W.value = {
125
125
  datapoint: t,
126
126
  seriesIndex: l,
127
127
  series: C.value,
128
128
  config: e.value
129
- }, V.value = o, g.value = t.id;
129
+ }, B.value = o, g.value = t.id;
130
130
  let s = "";
131
131
  const w = e.value.style.chart.tooltip.customFormat;
132
- re(w) && Ie(() => w({
132
+ ue(w) && Fe(() => w({
133
133
  seriesIndex: l,
134
134
  datapoint: t,
135
135
  series: C.value,
136
136
  config: e.value
137
- })) ? B.value = w({
137
+ })) ? G.value = w({
138
138
  seriesIndex: l,
139
139
  datapoint: t,
140
140
  series: C.value,
141
141
  config: e.value
142
- }) : (s += `<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>`, 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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${se(
142
+ }) : (s += `<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>`, 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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${re(
143
143
  e.value.style.chart.layout.labels.dataLabels.formatter,
144
144
  t.value,
145
145
  k({
@@ -157,16 +157,16 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
157
157
  v: t.proportion * 100,
158
158
  s: "%",
159
159
  r: e.value.style.chart.tooltip.roundingPercentage
160
- })}</b></div>`), B.value = `<div>${s}</div>`);
160
+ })}</b></div>`), G.value = `<div>${s}</div>`);
161
161
  }
162
162
  const J = v(() => C.value.map((t, a) => ({
163
163
  ...t,
164
164
  proportion: (t.value || 0) / p.dataset.map((l) => (l.values || []).reduce((o, s) => o + s, 0)).reduce((l, o) => l + o, 0),
165
165
  opacity: c.value.includes(t.id) ? 0.5 : 1,
166
166
  shape: t.shape || "circle",
167
- segregate: () => W(t),
167
+ segregate: () => z(t),
168
168
  isSegregated: c.value.includes(t.id)
169
- }))), pe = v(() => ({
169
+ }))), be = v(() => ({
170
170
  cy: "galaxy-div-legend",
171
171
  backgroundColor: e.value.style.chart.legend.backgroundColor,
172
172
  color: e.value.style.chart.legend.color,
@@ -181,11 +181,11 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
181
181
  return { head: t, body: a };
182
182
  });
183
183
  function K() {
184
- Ce(() => {
184
+ we(() => {
185
185
  const t = m.value.head.map((o, s) => [[
186
186
  o.name
187
- ], [m.value.body[s]], [isNaN(m.value.body[s] / f.value) ? "-" : m.value.body[s] / f.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Fe(a);
188
- Oe({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
187
+ ], [m.value.body[s]], [isNaN(m.value.body[s] / f.value) ? "-" : m.value.body[s] / f.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Oe(a);
188
+ Ee({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
189
189
  });
190
190
  }
191
191
  const N = v(() => {
@@ -194,13 +194,13 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
194
194
  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 }),
195
195
  "100%"
196
196
  ], a = m.value.head.map((s, w) => {
197
- const be = 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 });
197
+ const me = 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 });
198
198
  return [
199
199
  {
200
200
  color: s.color,
201
201
  name: s.name
202
202
  },
203
- be,
203
+ me,
204
204
  isNaN(m.value.body[w] / f.value) ? "-" : k({
205
205
  v: m.value.body[w] / f.value * 100,
206
206
  s: "%",
@@ -237,8 +237,8 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
237
237
  function Z() {
238
238
  b.value.showTooltip = !b.value.showTooltip;
239
239
  }
240
- return ie({
241
- getData: he,
240
+ return ce({
241
+ getData: ye,
242
242
  generatePdf: Y,
243
243
  generateCsv: K,
244
244
  generateImage: j,
@@ -246,7 +246,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
246
246
  toggleTooltip: Z
247
247
  }), (t, a) => (r(), u("div", {
248
248
  ref_key: "galaxyChart",
249
- ref: G,
249
+ ref: V,
250
250
  class: S(`vue-ui-galaxy ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
251
251
  style: L(`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}`),
252
252
  id: `galaxy_${$.value}`
@@ -255,7 +255,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
255
255
  key: 0,
256
256
  style: L(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
257
257
  }, [
258
- A(De, {
258
+ A(Ve, {
259
259
  config: {
260
260
  title: {
261
261
  cy: "galaxy-div-title",
@@ -268,9 +268,9 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
268
268
  }
269
269
  }, null, 8, ["config"])
270
270
  ], 4)) : d("", !0),
271
- e.value.userOptions.show && P.value ? (r(), I(Me, {
271
+ e.value.userOptions.show && P.value ? (r(), I(ze, {
272
272
  ref_key: "details",
273
- ref: ve,
273
+ ref: de,
274
274
  key: `user_option_${U.value}`,
275
275
  backgroundColor: e.value.style.chart.backgroundColor,
276
276
  color: e.value.style.chart.color,
@@ -286,14 +286,14 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
286
286
  isTooltip: b.value.showTooltip,
287
287
  isFullscreen: _.value,
288
288
  titles: { ...e.value.userOptions.buttonTitles },
289
- chartElement: G.value,
290
- onToggleFullscreen: ge,
289
+ chartElement: V.value,
290
+ onToggleFullscreen: fe,
291
291
  onGeneratePdf: h(Y),
292
292
  onGenerateCsv: K,
293
293
  onGenerateImage: h(j),
294
294
  onToggleTable: Q,
295
295
  onToggleTooltip: Z
296
- }, ke({ _: 2 }, [
296
+ }, Ce({ _: 2 }, [
297
297
  t.$slots.optionTooltip ? {
298
298
  name: "optionTooltip",
299
299
  fn: i(() => [
@@ -339,7 +339,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
339
339
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
340
340
  P.value ? (r(), u("svg", {
341
341
  key: 2,
342
- xmlns: h(Le),
342
+ xmlns: h(Ie),
343
343
  class: S({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
344
344
  viewBox: `0 0 ${M.value.width} ${M.value.height}`,
345
345
  style: L(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
@@ -355,8 +355,8 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
355
355
  x("feGaussianBlur", {
356
356
  in: "SourceGraphic",
357
357
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
358
- }, null, 8, Re)
359
- ], 8, Xe)
358
+ }, null, 8, Ye)
359
+ ], 8, Re)
360
360
  ]),
361
361
  (r(!0), u(ee, null, te(T.value, (l) => (r(), u("g", null, [
362
362
  l.value ? (r(), u("path", {
@@ -366,7 +366,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
366
366
  stroke: e.value.style.chart.backgroundColor,
367
367
  "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),
368
368
  "stroke-linecap": "round"
369
- }, null, 8, Ye)) : d("", !0),
369
+ }, null, 8, je)) : d("", !0),
370
370
  l.value ? (r(), u("path", {
371
371
  key: 1,
372
372
  d: l.path,
@@ -375,7 +375,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
375
375
  "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),
376
376
  "stroke-linecap": "round",
377
377
  class: S(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
378
- }, null, 10, je)) : d("", !0),
378
+ }, null, 10, qe)) : d("", !0),
379
379
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), u("g", {
380
380
  key: 2,
381
381
  filter: `url(#blur_${$.value})`
@@ -387,8 +387,8 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
387
387
  "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),
388
388
  "stroke-linecap": "round",
389
389
  class: S(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
390
- }, null, 10, Je)
391
- ], 8, qe)) : d("", !0)
390
+ }, null, 10, Ke)
391
+ ], 8, Je)) : d("", !0)
392
392
  ]))), 256)),
393
393
  (r(!0), u(ee, null, te(T.value, (l, o) => (r(), u("g", null, [
394
394
  l.value ? (r(), u("path", {
@@ -398,21 +398,21 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
398
398
  stroke: "transparent",
399
399
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
400
400
  "stroke-linecap": "round",
401
- onMouseenter: (s) => fe({
401
+ onMouseenter: (s) => pe({
402
402
  datapoint: l,
403
403
  relativeIndex: o,
404
404
  seriesIndex: l.seriesIndex,
405
405
  show: !0
406
406
  }),
407
407
  onMouseleave: a[0] || (a[0] = (s) => {
408
- V.value = !1, g.value = null;
408
+ B.value = !1, g.value = null;
409
409
  }),
410
410
  onClick: (s) => H("selectDatapoint", l)
411
- }, null, 40, Ke)) : d("", !0)
411
+ }, null, 40, Qe)) : d("", !0)
412
412
  ]))), 256)),
413
413
  y(t.$slots, "svg", { svg: M.value }, void 0, !0)
414
- ], 14, Ue)) : d("", !0),
415
- t.$slots.watermark ? (r(), u("div", Qe, [
414
+ ], 14, Xe)) : d("", !0),
415
+ t.$slots.watermark ? (r(), u("div", Ze, [
416
416
  y(t.$slots, "watermark", F(O({ isPrinting: h(X) || h(R) })), void 0, !0)
417
417
  ])) : d("", !0),
418
418
  P.value ? d("", !0) : (r(), I(We, {
@@ -427,18 +427,18 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
427
427
  }
428
428
  }
429
429
  }, null, 8, ["config"])),
430
- e.value.style.chart.legend.show ? (r(), I(Ee, {
430
+ e.value.style.chart.legend.show ? (r(), I(De, {
431
431
  key: 5,
432
432
  legendSet: J.value,
433
- config: pe.value,
434
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
433
+ config: be.value,
434
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => z(l))
435
435
  }, {
436
436
  item: i(({ legend: l, index: o }) => [
437
437
  x("div", {
438
- onClick: (s) => W(l),
438
+ onClick: (s) => z(l),
439
439
  style: L(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
440
440
  }, [
441
- le(E(l.name) + ": " + E(h(se)(
441
+ le(E(l.name) + ": " + E(h(re)(
442
442
  e.value.style.chart.layout.labels.dataLabels.formatter,
443
443
  l.value,
444
444
  h(k)({
@@ -449,18 +449,18 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
449
449
  }),
450
450
  { datapoint: l, seriesIndex: o }
451
451
  )) + " ", 1),
452
- c.value.includes(l.id) ? (r(), u("span", tt, " ( - % ) ")) : (r(), u("span", et, " (" + E(isNaN(l.value / f.value) ? "-" : h(k)({
452
+ c.value.includes(l.id) ? (r(), u("span", lt, " ( - % ) ")) : (r(), u("span", tt, " (" + E(isNaN(l.value / f.value) ? "-" : h(k)({
453
453
  v: l.value / f.value * 100,
454
454
  s: "%",
455
455
  r: e.value.style.chart.legend.roundingPercentage
456
456
  })) + ") ", 1))
457
- ], 12, Ze)
457
+ ], 12, et)
458
458
  ]),
459
459
  _: 1
460
460
  }, 8, ["legendSet", "config"])) : d("", !0),
461
461
  y(t.$slots, "legend", { legend: J.value }, void 0, !0),
462
- A(Ge, {
463
- show: b.value.showTooltip && V.value,
462
+ A(Be, {
463
+ show: b.value.showTooltip && B.value,
464
464
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
465
465
  color: e.value.style.chart.tooltip.color,
466
466
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -470,19 +470,19 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
470
470
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
471
471
  position: e.value.style.chart.tooltip.position,
472
472
  offsetY: e.value.style.chart.tooltip.offsetY,
473
- parent: G.value,
474
- content: B.value,
475
- isCustom: h(re)(e.value.style.chart.tooltip.customFormat)
473
+ parent: V.value,
474
+ content: G.value,
475
+ isCustom: h(ue)(e.value.style.chart.tooltip.customFormat)
476
476
  }, {
477
477
  "tooltip-before": i(() => [
478
- y(t.$slots, "tooltip-before", F(O({ ...z.value })), void 0, !0)
478
+ y(t.$slots, "tooltip-before", F(O({ ...W.value })), void 0, !0)
479
479
  ]),
480
480
  "tooltip-after": i(() => [
481
- y(t.$slots, "tooltip-after", F(O({ ...z.value })), void 0, !0)
481
+ y(t.$slots, "tooltip-after", F(O({ ...W.value })), void 0, !0)
482
482
  ]),
483
483
  _: 3
484
484
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
485
- P.value ? (r(), I(ze, {
485
+ P.value ? (r(), I(Ae, {
486
486
  key: 6,
487
487
  hideDetails: "",
488
488
  config: {
@@ -499,7 +499,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
499
499
  }
500
500
  }, {
501
501
  content: i(() => [
502
- A(Ve, {
502
+ A(Ge, {
503
503
  colNames: N.value.colNames,
504
504
  head: N.value.head,
505
505
  body: N.value.body,
@@ -511,7 +511,7 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
511
511
  x("div", {
512
512
  innerHTML: l,
513
513
  style: { display: "flex", "align-items": "center" }
514
- }, null, 8, lt)
514
+ }, null, 8, at)
515
515
  ]),
516
516
  td: i(({ td: l }) => [
517
517
  le(E(l.name || l), 1)
@@ -521,9 +521,9 @@ const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"]
521
521
  ]),
522
522
  _: 1
523
523
  }, 8, ["config"])) : d("", !0)
524
- ], 14, He));
524
+ ], 14, Ue));
525
525
  }
526
- }, gt = /* @__PURE__ */ Ae(at, [["__scopeId", "data-v-6f44b172"]]);
526
+ }, ft = /* @__PURE__ */ He(ot, [["__scopeId", "data-v-57d0334c"]]);
527
527
  export {
528
- gt as default
528
+ ft as default
529
529
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-D2ZScauW.cjs"),K=require("./Legend-6JY5pUsT.cjs"),Q=require("./Title-CBcoQe02.cjs"),Z=require("./Tooltip-BhuD1Kc5.cjs"),ee=require("./DataTable-yf_eyv8c.cjs"),D=require("./usePrinter-eqT4IYET.cjs"),te=require("./vue-ui-skeleton-BLhbQje-.cjs"),le=require("./vue-ui-accordion-BhCJcWDd.cjs"),q=require("./useNestedProp-BU7yyXFA.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],re=["xmlns","viewBox"],se=["id"],ne=["stdDeviation"],ue=["d","stroke","stroke-width"],ie=["d","stroke","stroke-width"],ce=["filter"],de=["d","stroke","stroke-width"],ve=["d","stroke-width","onMouseenter","onClick"],he={key:3,class:"vue-data-ui-watermark"},pe=["onClick"],ye={key:0},fe={key:1},ge=["innerHTML"],me={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(G,{expose:M,emit:B}){const d=G,{vue_ui_galaxy:A}=r.useConfig(),b=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(()=>{r.objectIsEmpty(d.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):d.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})});const f=e.ref(r.createUid()),C=e.ref(null),W=e.ref(null),w=e.ref(!1),x=e.ref(""),i=e.ref(null),S=e.ref(0),t=e.computed(()=>{const l=q.useNestedProp({userConfig:d.config,defaultConfig:A});return l.theme?{...q.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||d.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}),{isPrinting:_,isImaging:P,generatePdf:L,generateImage:E}=D.usePrinter({elementId:`galaxy_${f.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),U=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 N(l){u.value.includes(l.id)?u.value=u.value.filter(a=>a!==l.id):u.value.push(l.id),B("selectLegend",g.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const p=e.computed(()=>d.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||U.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,s)=>o+s,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function H(){return p.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const c=e.computed(()=>p.value.filter(l=>!u.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),R=e.ref(190),V=e.computed(()=>p.value.filter(l=>!u.value.includes(l.id))),g=e.computed(()=>{const l=[];for(let a=0;a<V.value.length;a+=1){const o=V.value[a];let s=o.value/c.value*R.value;a>0&&l.length&&(s+=l[a-1].points),l.push({points:s,...o,seriesIndex:a,proportion:o.value/c.value,path:r.createSpiralPath({points:s,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!u.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),m=e.ref(!1);function X(l){m.value=l,S.value+=1}const T=e.ref(null);function j({datapoint:l,_relativeIndex:a,seriesIndex:o,show:s=!1}){T.value={datapoint:l,seriesIndex:o,series:p.value,config:t.value},w.value=s,i.value=l.id;let n="";const y=t.value.style.chart.tooltip.customFormat;r.isFunction(y)&&r.functionReturnsString(()=>y({seriesIndex:o,datapoint:l,series:p.value,config:t.value}))?x.value=y({seriesIndex:o,datapoint:l,series:p.value,config:t.value}):(n+=`<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>`,n+=`<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&&(n+=`<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:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?n+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:n+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),x.value=`<div>${n}</div>`)}const F=e.computed(()=>p.value.map((l,a)=>({...l,proportion:(l.value||0)/d.dataset.map(o=>(o.values||[]).reduce((s,n)=>s+n,0)).reduce((o,s)=>o+s,0),opacity:u.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>N(l),isSegregated:u.value.includes(l.id)}))),Y=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(o=>({name:o.name,color:o.color})),a=g.value.map(o=>o.value);return{head:l,body:a}});function I(){e.nextTick(()=>{const l=h.value.head.map((s,n)=>[[s.name],[h.value.body[n]],[isNaN(h.value.body[n]/c.value)?"-":h.value.body[n]/c.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,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:c.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=h.value.head.map((n,y)=>{const J=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:h.value.body[y],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},J,isNaN(h.value.body[y]/c.value)?"-":r.dataLabel({v:h.value.body[y]/c.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={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:a,config:o}});function z(){v.value.showTable=!v.value.showTable}function O(){v.value.showTooltip=!v.value.showTooltip}return M({getData:H,generatePdf:L,generateCsv:I,generateImage:E,toggleTable:z,toggleTooltip:O}),(l,a)=>(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_${f.value}`},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:24px`)},[e.createVNode(Q._sfc_main,{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"])],4)):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value?(e.openBlock(),e.createBlock(D.UserOptions,{ref_key:"details",ref:W,key:`user_option_${S.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(_),isImaging:e.unref(P),uid:f.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:X,onGeneratePdf:e.unref(L),onGenerateCsv:I,onGenerateImage:e.unref(E),onToggleTable:z,onToggleTooltip:O},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:o,isFullscreen:s})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:s})),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:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${f.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,ne)],8,se)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.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)*(i.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,ue)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(i.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${i.value&&i.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,ie)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${f.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(i.value===o.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 ${i.value&&i.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,de)],8,ce)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,s)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.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:n=>j({datapoint:o,relativeIndex:s,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=n=>{w.value=!1,i.value=null}),onClick:n=>B("selectDatapoint",o)},null,40,ve)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:$.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",he,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(_)||e.unref(P)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(te.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(K.Legend,{key:5,legendSet:F.value,config:Y.value,onClickMarker:a[1]||(a[1]=({legend:o})=>N(o))},{item:e.withCtx(({legend:o,index:s})=>[e.createElementVNode("div",{onClick:n=>N(o),style:e.normalizeStyle(`opacity:${u.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:s}))+" ",1),u.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",fe," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",ye," ("+e.toDisplayString(isNaN(o.value/c.value)?"-":e.unref(r.dataLabel)({v:o.value/c.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,pe)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:F.value},void 0,!0),e.createVNode(Z._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(le.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.createVNode(ee.DataTable,{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:a[2]||(a[2]=o=>v.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,ge)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,ae))}},be=oe._export_sfc(me,[["__scopeId","data-v-57d0334c"]]);exports.default=be;