vue-data-ui 2.3.90 → 2.3.92

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 (188) hide show
  1. package/README.md +3 -2
  2. package/dist/{Arrow-C_Fnn6al.js → Arrow-16rQhq4i.js} +1 -1
  3. package/dist/{Arrow-D1pymKl6.cjs → Arrow-CdJD01md.cjs} +1 -1
  4. package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-CAmYNoaf.js} +1 -1
  5. package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-dYWMubrH.cjs} +1 -1
  6. package/dist/{DataTable-Cmbf3abv.js → DataTable-BXnbua0J.js} +2 -2
  7. package/dist/{DataTable-cOEA6Z37.cjs → DataTable-oa0Srfuc.cjs} +1 -1
  8. package/dist/{Legend-CCq0mNRg.js → Legend-Cr1hulgT.js} +1 -1
  9. package/dist/{Legend-XqP6-7Ac.cjs → Legend-Dhm9_peB.cjs} +1 -1
  10. package/dist/PackageVersion-BVZfgDqm.js +10 -0
  11. package/dist/PackageVersion-BkgJVmj1.cjs +1 -0
  12. package/dist/{Shape-BNocET8E.js → Shape-D75m5xWM.js} +1 -1
  13. package/dist/{Shape-B51JGReT.cjs → Shape-hGbEoQOv.cjs} +1 -1
  14. package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-B7ya0m2Q.cjs} +1 -1
  15. package/dist/{Slicer-BKszZXjM.js → Slicer-Bx8AozB8.js} +2 -2
  16. package/dist/{Title-DlBwa3-X.js → Title-1Sw6EmHy.js} +1 -1
  17. package/dist/{Title-BaR4XyXa.cjs → Title-Bjrh7khe.cjs} +1 -1
  18. package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-CPATjuur.cjs} +1 -1
  19. package/dist/{Tooltip-w32n-8sY.js → Tooltip-EJf3VBPR.js} +1 -1
  20. package/dist/documentation/installation.md +1 -1
  21. package/dist/index-D09qCApg.cjs +4 -0
  22. package/dist/{index-DQl1TFXa.js → index-DhJby8wL.js} +8 -3
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +16 -0
  25. package/dist/types/vue-data-ui.d.ts +16 -0
  26. package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-Bwd7mK1Z.cjs} +1 -1
  27. package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-CrHvyupb.js} +1 -1
  28. package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Bwm8J3RQ.js} +1 -1
  29. package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-DdsPm5a4.cjs} +1 -1
  30. package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-CLxne31S.js} +57 -57
  31. package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-ZitCqVgG.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/vue-ui-3d-bar-DAv5cYGJ.cjs +19 -0
  35. package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Dg87_AAm.js} +148 -146
  36. package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-BAHX7KzB.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-Cn5Jbplg.js} +3 -3
  38. package/dist/vue-ui-age-pyramid-GzHwQzsH.cjs +1 -0
  39. package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-PlamQWqC.js} +83 -81
  40. package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-DGgQwl-K.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-Dd5KF_cy.js} +1 -1
  42. package/dist/vue-ui-candlestick-BIEB2J1w.cjs +2 -0
  43. package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-DTzwPhV5.js} +113 -111
  44. package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-HNTf5AYY.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-YEfvPESA.js} +4 -4
  46. package/dist/vue-ui-chestnut-DzjdAYsT.cjs +6 -0
  47. package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-PzMOM7mp.js} +161 -159
  48. package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-C5rsiCdn.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-DWea2yXV.js} +2 -2
  50. package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-BqXhoS8m.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CVespiTo.js} +2 -2
  52. package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-gNKgZqYU.js} +2 -2
  53. package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-wmDN7Vkf.cjs} +1 -1
  54. package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-Ch6HH0ja.js} +102 -100
  55. package/dist/vue-ui-donut-evolution-DhDxLZ1J.cjs +1 -0
  56. package/dist/vue-ui-donut-n37BZPxr.cjs +1 -0
  57. package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-sQunZI1L.js} +118 -116
  58. package/dist/vue-ui-dumbbell-B9Z_pjnG.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-lFlZX8Yi.js} +88 -86
  60. package/dist/vue-ui-flow-BaFpUJg-.cjs +1 -0
  61. package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CSIOC-JR.js} +65 -63
  62. package/dist/vue-ui-galaxy-BIR5GxIc.cjs +1 -0
  63. package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-DL2mnel_.js} +82 -80
  64. package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BMq7KT3t.js} +56 -54
  65. package/dist/vue-ui-gauge-r_qvpwE7.cjs +1 -0
  66. package/dist/vue-ui-gizmo-DBas_Sw_.cjs +1 -0
  67. package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-Dj7zvNI1.js} +32 -30
  68. package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-pqBYIrxm.js} +99 -97
  69. package/dist/vue-ui-heatmap-qPgEhAzc.cjs +1 -0
  70. package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-Cmo9J7wp.cjs} +1 -1
  71. package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-ZPBinMiF.js} +3 -3
  72. package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-Ce-jbgMT.cjs} +1 -1
  73. package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-DOTWhLi9.js} +2 -2
  74. package/dist/vue-ui-molecule-D429iwPP.cjs +1 -0
  75. package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-RDpgNrHQ.js} +77 -75
  76. package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CD5L8WCU.js} +76 -74
  77. package/dist/vue-ui-mood-radar-CdLJxrkT.cjs +1 -0
  78. package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-A-tid5cQ.js} +112 -110
  79. package/dist/vue-ui-nested-donuts-DyM3uc7x.cjs +17 -0
  80. package/dist/vue-ui-onion-BKql8oal.cjs +5 -0
  81. package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-Cap01Ehu.js} +82 -80
  82. package/dist/vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs +8 -0
  83. package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-CcDKe4L0.js} +91 -89
  84. package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-BDEfAeyJ.js} +141 -139
  85. package/dist/vue-ui-quadrant-CZzdpeQ2.cjs +1 -0
  86. package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-DlAUYg5u.js} +166 -164
  87. package/dist/vue-ui-quick-chart-DpGYUyhq.cjs +15 -0
  88. package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CbTln7gs.js} +89 -87
  89. package/dist/vue-ui-radar-oBeaHlpT.cjs +1 -0
  90. package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-BU7-F3_e.cjs} +1 -1
  91. package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-BkDncqow.js} +2 -2
  92. package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-C5B6UNGd.js} +54 -52
  93. package/dist/vue-ui-relation-circle-IWiJWgcB.cjs +1 -0
  94. package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-BujVUJ90.js} +97 -93
  95. package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-Df2cRgD8.cjs} +2 -2
  96. package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-D6yqZJ7s.js} +132 -130
  97. package/dist/vue-ui-scatter-jFTeM2hW.cjs +1 -0
  98. package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-CHAySwpv.js} +1 -1
  99. package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-CVu8IM33.cjs} +1 -1
  100. package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-ASX40MGk.js} +423 -388
  101. package/dist/vue-ui-skeleton-CAlTn_Cg.cjs +41 -0
  102. package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-DGVzhza2.js} +2 -2
  103. package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-dwCqhB0r.cjs} +1 -1
  104. package/dist/vue-ui-spark-trend-A1EHFK_r.cjs +1 -0
  105. package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-B7XhDvTj.js} +42 -40
  106. package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-BuNcvi66.js} +53 -51
  107. package/dist/vue-ui-sparkbar-CwNjHOjD.cjs +1 -0
  108. package/dist/vue-ui-sparkgauge-ISu154lS.cjs +1 -0
  109. package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-JY2kB9WX.js} +31 -29
  110. package/dist/vue-ui-sparkhistogram-C8zyC-ii.cjs +1 -0
  111. package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-DyEPWxkP.js} +69 -67
  112. package/dist/vue-ui-sparkline-DL3Thtc4.cjs +1 -0
  113. package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-DYC3sdvQ.js} +65 -63
  114. package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-7TmtP3WR.js} +46 -44
  115. package/dist/vue-ui-sparkstackbar-ChIM9bn2.cjs +1 -0
  116. package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-CP5C6Gb_.js} +128 -126
  117. package/dist/vue-ui-stackbar-DrtiSaNc.cjs +6 -0
  118. package/dist/vue-ui-strip-plot-BMYMIHGu.cjs +1 -0
  119. package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-DJQCq_KE.js} +78 -76
  120. package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-D6hvgMif.cjs} +1 -1
  121. package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-IJi0xaVg.js} +1 -1
  122. package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-BZNKXZNs.cjs} +1 -1
  123. package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-Ls8_xq0D.js} +4 -4
  124. package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BQFK30H1.cjs} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeuvdssX.js} +5 -5
  126. package/dist/vue-ui-thermometer-DKm8SXlE.cjs +1 -0
  127. package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-DPWIvG92.js} +80 -78
  128. package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-CEzDvZf7.js} +62 -60
  129. package/dist/vue-ui-timer-n6lv7oTx.cjs +64 -0
  130. package/dist/vue-ui-tiremarks-B33mHXZN.cjs +1 -0
  131. package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-BUGoY22W.js} +51 -49
  132. package/dist/vue-ui-treemap-DPxBZUUr.cjs +1 -0
  133. package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-DmOYjJ_F.js} +93 -91
  134. package/dist/vue-ui-vertical-bar-BJMYX8t4.cjs +4 -0
  135. package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BpVKdSY5.js} +110 -108
  136. package/dist/vue-ui-waffle-DGcueccy.cjs +1 -0
  137. package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-ULg6SwPx.js} +72 -70
  138. package/dist/vue-ui-wheel-CWKq-CFW.cjs +1 -0
  139. package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-DlmgZd-_.js} +43 -41
  140. package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +1 -0
  141. package/dist/vue-ui-word-cloud-DWyboczt.js +574 -0
  142. package/dist/vue-ui-xy-Cz81fw_E.cjs +3 -0
  143. package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-V13Ns1gv.js} +507 -504
  144. package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-B9cRe5gT.js} +10 -10
  145. package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-GiuHOyj5.cjs} +1 -1
  146. package/package.json +1 -1
  147. package/dist/index-B8EMsnjU.cjs +0 -4
  148. package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
  149. package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
  150. package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
  151. package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
  152. package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
  153. package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
  154. package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
  155. package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
  156. package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
  157. package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
  158. package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
  159. package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
  160. package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
  161. package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
  162. package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
  163. package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
  164. package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
  165. package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
  166. package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
  167. package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
  168. package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
  169. package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
  170. package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
  171. package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
  172. package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
  174. package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
  175. package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
  176. package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
  177. package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
  178. package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
  179. package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
  180. package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
  181. package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
  182. package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
  183. package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
  184. package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
  185. package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
  186. package/dist/vue-ui-word-cloud-dMBTVGVk.js +0 -513
  187. package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
  188. package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
@@ -1,19 +1,20 @@
1
- import { computed as m, onMounted as Le, ref as y, watch as He, openBlock as r, createElementBlock as h, normalizeClass as ce, normalizeStyle as _, createBlock as E, createCommentVNode as T, unref as i, createSlots as Oe, withCtx as k, renderSlot as C, normalizeProps as de, guardReactiveProps as ve, createElementVNode as S, Fragment as P, renderList as F, toDisplayString as U, createVNode as Ee, createTextVNode as Se, nextTick as Me } from "vue";
2
- import { u as ze, o as Ye, e as De, c as fe, t as Ge, a as Be, p as V, b as Ae, v, f as he, X as Ue, F as me, I as Ve, i as je, q as Xe, r as We } from "./index-DQl1TFXa.js";
3
- import { _ as qe } from "./Title-DlBwa3-X.js";
4
- import { u as Re, U as Ze } from "./usePrinter-DgKGVvJC.js";
5
- import { D as Je } from "./DataTable-Cmbf3abv.js";
6
- import Ke from "./vue-ui-accordion-CroZrm7T.js";
7
- import Qe from "./vue-ui-skeleton-BVJGmYjj.js";
8
- import { u as ge } from "./useNestedProp-lmeFt-ev.js";
9
- import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const tt = ["id"], lt = {
1
+ import { computed as m, onMounted as He, ref as y, watch as Oe, openBlock as r, createElementBlock as h, normalizeClass as ce, normalizeStyle as _, createBlock as E, createCommentVNode as T, unref as i, createSlots as Ee, withCtx as k, renderSlot as C, normalizeProps as de, guardReactiveProps as ve, createVNode as fe, createElementVNode as S, Fragment as P, renderList as F, toDisplayString as U, createTextVNode as Se, nextTick as Me } from "vue";
2
+ import { u as ze, o as Ye, e as De, c as he, t as Ge, a as Be, p as V, b as Ae, v, f as me, X as Ue, F as ge, I as Ve, i as je, q as Xe, r as We } from "./index-DhJby8wL.js";
3
+ import { _ as qe } from "./Title-1Sw6EmHy.js";
4
+ import { u as Re, U as Ze } from "./usePrinter-Bwm8J3RQ.js";
5
+ import { D as Je } from "./DataTable-BXnbua0J.js";
6
+ import Ke from "./vue-ui-accordion-Cn5Jbplg.js";
7
+ import Qe from "./vue-ui-skeleton-ASX40MGk.js";
8
+ import { u as pe } from "./useNestedProp-CrHvyupb.js";
9
+ import { _ as et } from "./PackageVersion-BVZfgDqm.js";
10
+ import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const lt = ["id"], ot = {
11
12
  key: 0,
12
13
  style: "width:100%;background:transparent;padding-bottom:24px"
13
- }, ot = ["xmlns", "viewBox"], at = ["id"], nt = ["stop-color"], st = ["stop-color"], ut = ["d", "fill", "stroke", "stroke-width"], rt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], it = ["x", "y", "font-size", "fill"], ct = ["x", "y", "font-size", "fill"], dt = {
14
+ }, at = ["xmlns", "viewBox"], nt = ["id"], st = ["stop-color"], ut = ["stop-color"], rt = ["d", "fill", "stroke", "stroke-width"], it = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], ct = ["x", "y", "font-size", "fill"], dt = ["x", "y", "font-size", "fill"], vt = {
14
15
  key: 2,
15
16
  class: "vue-data-ui-watermark"
16
- }, vt = ["innerHTML"], ft = {
17
+ }, ft = ["innerHTML"], ht = {
17
18
  __name: "vue-ui-flow",
18
19
  props: {
19
20
  config: {
@@ -29,9 +30,9 @@ const tt = ["id"], lt = {
29
30
  }
30
31
  }
31
32
  },
32
- setup(pe, { expose: be }) {
33
- const g = pe, { vue_ui_flow: ye } = ze(), M = m(() => !!g.dataset && g.dataset.length);
34
- Le(() => {
33
+ setup(be, { expose: ye }) {
34
+ const g = be, { vue_ui_flow: ke } = ze(), M = m(() => !!g.dataset && g.dataset.length);
35
+ He(() => {
35
36
  j();
36
37
  });
37
38
  function j() {
@@ -40,8 +41,8 @@ const tt = ["id"], lt = {
40
41
  type: "dataset"
41
42
  });
42
43
  }
43
- const z = y(fe()), X = y(null), W = y(0), q = y(0), N = y(!1);
44
- function ke(t) {
44
+ const z = y(he()), X = y(null), W = y(0), q = y(0), N = y(!1);
45
+ function we(t) {
45
46
  N.value = t, W.value += 1;
46
47
  }
47
48
  const e = m({
@@ -49,19 +50,19 @@ const tt = ["id"], lt = {
49
50
  set: (t) => t
50
51
  });
51
52
  function R() {
52
- const t = ge({
53
+ const t = pe({
53
54
  userConfig: g.config,
54
- defaultConfig: ye
55
+ defaultConfig: ke
55
56
  });
56
57
  return t.theme ? {
57
- ...ge({
58
+ ...pe({
58
59
  userConfig: Ge.vue_ui_flow[t.theme] || g.config,
59
60
  defaultConfig: t
60
61
  }),
61
62
  customPalette: Be[t.theme] || V
62
63
  } : t;
63
64
  }
64
- He(() => g.config, (t) => {
65
+ Oe(() => g.config, (t) => {
65
66
  e.value = R(), j(), q.value += 1;
66
67
  }, { deep: !0 });
67
68
  const { isPrinting: Z, isImaging: J, generatePdf: K, generateImage: Q } = Re({
@@ -88,14 +89,14 @@ const tt = ["id"], lt = {
88
89
  }
89
90
  return l;
90
91
  });
91
- function we(t) {
92
+ function Ce(t) {
92
93
  return t / le.value * 100 + e.value.style.chart.nodes.minHeight;
93
94
  }
94
- function Ce(t) {
95
+ function xe(t) {
95
96
  const o = e.value.style.chart.nodes.minHeight;
96
97
  return (t - o) / 100 * le.value;
97
98
  }
98
- function xe(t) {
99
+ function $e(t) {
99
100
  const o = {}, l = {};
100
101
  function n(s, u) {
101
102
  o[s] || (o[s] = { height: 0, level: null, inflow: 0, outflow: 0 }), o[s].level === null && (o[s].level = u), l[u] || (l[u] = []), l[u].includes(s) || l[u].push(s);
@@ -107,7 +108,7 @@ const tt = ["id"], lt = {
107
108
  o[s].color = Y.value[u] || Y.value[u % Y.value.length] || V[u] || V[u % d.length];
108
109
  });
109
110
  for (const s in o)
110
- o[s].height = we(Math.max(o[s].inflow, o[s].outflow)), o[s].name = s;
111
+ o[s].height = Ce(Math.max(o[s].inflow, o[s].outflow)), o[s].name = s;
111
112
  const a = {};
112
113
  for (const s in l) {
113
114
  let u = 0;
@@ -120,7 +121,7 @@ const tt = ["id"], lt = {
120
121
  height: w,
121
122
  i: $,
122
123
  color: o[f].color,
123
- value: Ce(w)
124
+ value: xe(w)
124
125
  }, u += w + ee.value;
125
126
  });
126
127
  }
@@ -128,8 +129,8 @@ const tt = ["id"], lt = {
128
129
  for (const s in o) {
129
130
  let u = a[s].absoluteY;
130
131
  o[s].children && o[s].children.forEach(({ target: f, value: $ }, w) => {
131
- const O = a[f].y, B = a[s], A = a[f], se = v(u), ue = v(u + $ / o[s].outflow * B.height), re = v(O), ie = v(O + $ / o[f].inflow * A.height), Ie = {
132
- id: fe(),
132
+ const O = a[f].y, B = a[s], A = a[f], se = v(u), ue = v(u + $ / o[s].outflow * B.height), re = v(O), ie = v(O + $ / o[f].inflow * A.height), Le = {
133
+ id: he(),
133
134
  source: s,
134
135
  target: f,
135
136
  path: `M ${v(B.x) + v(x.value)} ${se} L ${v(B.x) + v(x.value)} ${ue} L ${v(A.x)} ${ie} L ${v(A.x)} ${re} Z`,
@@ -137,13 +138,13 @@ const tt = ["id"], lt = {
137
138
  sourceColor: o[s].color,
138
139
  targetColor: o[f].color
139
140
  };
140
- c.push(Ie), u += ue - se, a[f].y += ie - re;
141
+ c.push(Le), u += ue - se, a[f].y += ie - re;
141
142
  });
142
143
  }
143
144
  return { nodeCoordinates: a, links: c };
144
145
  }
145
146
  const p = m(() => {
146
- const t = xe(g.dataset);
147
+ const t = $e(g.dataset);
147
148
  return {
148
149
  nodes: Object.keys(t.nodeCoordinates).map((o, l) => ({
149
150
  ...t.nodeCoordinates[o],
@@ -151,8 +152,8 @@ const tt = ["id"], lt = {
151
152
  })),
152
153
  links: t.links
153
154
  };
154
- }), $e = m(() => _e(p.value.nodes));
155
- function _e(t) {
155
+ }), _e = m(() => Ne(p.value.nodes));
156
+ function Ne(t) {
156
157
  const o = {};
157
158
  for (const n in t) {
158
159
  const { x: a, height: c } = t[n];
@@ -163,7 +164,7 @@ const tt = ["id"], lt = {
163
164
  const G = m(() => {
164
165
  const { top: t, right: o, left: l, bottom: n } = e.value.style.chart.padding, a = D.value.length * te.value;
165
166
  return {
166
- height: $e.value + t + n,
167
+ height: _e.value + t + n,
167
168
  width: o + Math.max(...p.value.nodes.map((c) => c.x)) + x.value,
168
169
  left: l,
169
170
  top: t,
@@ -172,17 +173,17 @@ const tt = ["id"], lt = {
172
173
  p_bottom: n
173
174
  };
174
175
  });
175
- function Ne(t) {
176
+ function Te(t) {
176
177
  const o = {}, l = {}, n = /* @__PURE__ */ new Set();
177
178
  return D.value.forEach(([a, c, s]) => {
178
179
  o[a] || (o[a] = []), l[c] || (l[c] = []), o[a].push(c), l[c].push(a);
179
180
  }), o[t] && o[t].forEach((a) => n.add(a)), l[t] && l[t].forEach((a) => n.add(a)), Array.from(n).concat(t);
180
181
  }
181
182
  const b = y(null), L = y(null);
182
- function Te(t) {
183
- b.value = Ne(t.name), L.value = t.name;
183
+ function Pe(t) {
184
+ b.value = Te(t.name), L.value = t.name;
184
185
  }
185
- function Pe() {
186
+ function Fe() {
186
187
  b.value = null, L.value = null;
187
188
  }
188
189
  const oe = m(() => p.value.links.map(({ source: t, target: o, sourceColor: l, targetColor: n, value: a }) => ({
@@ -227,7 +228,7 @@ const tt = ["id"], lt = {
227
228
  color: a.targetColor,
228
229
  name: a.target
229
230
  },
230
- he({
231
+ me({
231
232
  p: e.value.style.chart.nodes.labels.prefix,
232
233
  v: a.value,
233
234
  s: e.value.style.chart.nodes.labels.suffix,
@@ -257,14 +258,14 @@ const tt = ["id"], lt = {
257
258
  config: l
258
259
  };
259
260
  });
260
- function Fe() {
261
+ function Ie() {
261
262
  return p.value;
262
263
  }
263
264
  function ne() {
264
265
  I.value.showTable = !I.value.showTable;
265
266
  }
266
- return be({
267
- getData: Fe,
267
+ return ye({
268
+ getData: Ie,
268
269
  generateCsv: ae,
269
270
  generateImage: Q,
270
271
  generatePdf: K,
@@ -276,7 +277,7 @@ const tt = ["id"], lt = {
276
277
  style: _(`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}`),
277
278
  id: `flow_${z.value}`
278
279
  }, [
279
- e.value.style.chart.title.text ? (r(), h("div", lt, [
280
+ e.value.style.chart.title.text ? (r(), h("div", ot, [
280
281
  (r(), E(qe, {
281
282
  key: `title_${q.value}`,
282
283
  config: {
@@ -308,12 +309,12 @@ const tt = ["id"], lt = {
308
309
  titles: { ...e.value.userOptions.buttonTitles },
309
310
  chartElement: X.value,
310
311
  position: e.value.userOptions.position,
311
- onToggleFullscreen: ke,
312
+ onToggleFullscreen: we,
312
313
  onGeneratePdf: i(K),
313
314
  onGenerateCsv: ae,
314
315
  onGenerateImage: i(Q),
315
316
  onToggleTable: ne
316
- }, Oe({ _: 2 }, [
317
+ }, Ee({ _: 2 }, [
317
318
  t.$slots.optionPdf ? {
318
319
  name: "optionPdf",
319
320
  fn: k(() => [
@@ -356,6 +357,7 @@ const tt = ["id"], lt = {
356
357
  class: ce({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
357
358
  style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
358
359
  }, [
360
+ fe(et),
359
361
  S("defs", null, [
360
362
  (r(!0), h(P, null, F(p.value.links, (l, n) => (r(), h("linearGradient", {
361
363
  id: l.id,
@@ -367,12 +369,12 @@ const tt = ["id"], lt = {
367
369
  S("stop", {
368
370
  offset: "0%",
369
371
  "stop-color": l.sourceColor
370
- }, null, 8, nt),
372
+ }, null, 8, st),
371
373
  S("stop", {
372
374
  offset: "100%",
373
375
  "stop-color": l.targetColor
374
- }, null, 8, st)
375
- ], 8, at))), 256))
376
+ }, null, 8, ut)
377
+ ], 8, nt))), 256))
376
378
  ]),
377
379
  (r(!0), h(P, null, F(p.value.links, (l) => (r(), h("path", {
378
380
  class: "vue-ui-flow-link",
@@ -381,7 +383,7 @@ const tt = ["id"], lt = {
381
383
  stroke: e.value.style.chart.links.stroke,
382
384
  "stroke-width": e.value.style.chart.links.strokeWidth,
383
385
  style: _(`opacity:${L.value ? [l.target, l.source].includes(L.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
384
- }, null, 12, ut))), 256)),
386
+ }, null, 12, rt))), 256)),
385
387
  (r(!0), h(P, null, F(p.value.nodes, (l, n) => (r(), h("rect", {
386
388
  class: "vue-ui-flow-node",
387
389
  x: l.x,
@@ -391,39 +393,39 @@ const tt = ["id"], lt = {
391
393
  fill: l.color,
392
394
  stroke: e.value.style.chart.nodes.stroke,
393
395
  "stroke-width": e.value.style.chart.nodes.strokeWidth,
394
- onMouseenter: (a) => Te(l),
395
- onMouseleave: o[0] || (o[0] = (a) => Pe()),
396
+ onMouseenter: (a) => Pe(l),
397
+ onMouseleave: o[0] || (o[0] = (a) => Fe()),
396
398
  style: _(`opacity:${b.value ? b.value.includes(l.name) ? 1 : 0.2 : 1}`)
397
- }, null, 44, rt))), 256)),
399
+ }, null, 44, it))), 256)),
398
400
  (r(!0), h(P, null, F(p.value.nodes, (l, n) => (r(), h("text", {
399
401
  x: l.x + x.value / 2,
400
402
  y: i(v)(l.absoluteY + l.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4),
401
403
  "font-size": e.value.style.chart.nodes.labels.fontSize,
402
- fill: i(me)(l.color),
404
+ fill: i(ge)(l.color),
403
405
  "text-anchor": "middle",
404
406
  style: _(`pointer-events: none; opacity:${b.value ? b.value.includes(l.name) ? 1 : 0 : 1}`)
405
- }, U(e.value.style.chart.nodes.labels.abbreviation.use ? i(Ve)({ source: l.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : l.name), 13, it))), 256)),
407
+ }, U(e.value.style.chart.nodes.labels.abbreviation.use ? i(Ve)({ source: l.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : l.name), 13, ct))), 256)),
406
408
  (r(!0), h(P, null, F(p.value.nodes, (l, n) => (r(), h("text", {
407
409
  x: l.x + x.value / 2,
408
410
  y: i(v)(l.absoluteY + l.height / 2 + e.value.style.chart.nodes.labels.fontSize),
409
411
  "font-size": e.value.style.chart.nodes.labels.fontSize,
410
- fill: i(me)(l.color),
412
+ fill: i(ge)(l.color),
411
413
  "text-anchor": "middle",
412
414
  style: _(`pointer-events: none; opacity:${b.value ? b.value.includes(l.name) ? 1 : 0 : 1}`)
413
415
  }, U(i(je)(
414
416
  e.value.style.chart.nodes.labels.formatter,
415
417
  l.value,
416
- i(he)({
418
+ i(me)({
417
419
  p: e.value.style.chart.nodes.labels.prefix,
418
420
  v: l.value,
419
421
  s: e.value.style.chart.nodes.labels.suffix,
420
422
  r: e.value.style.chart.nodes.labels.rounding
421
423
  }),
422
424
  { datapoint: l, seriesIndex: n }
423
- )), 13, ct))), 256)),
425
+ )), 13, dt))), 256)),
424
426
  C(t.$slots, "svg", { svg: G.value }, void 0, !0)
425
- ], 14, ot)),
426
- t.$slots.watermark ? (r(), h("div", dt, [
427
+ ], 14, at)),
428
+ t.$slots.watermark ? (r(), h("div", vt, [
427
429
  C(t.$slots, "watermark", de(ve({ isPrinting: i(Z) || i(J) })), void 0, !0)
428
430
  ])) : T("", !0),
429
431
  M.value ? T("", !0) : (r(), E(Qe, {
@@ -452,7 +454,7 @@ const tt = ["id"], lt = {
452
454
  }
453
455
  }, {
454
456
  content: k(() => [
455
- Ee(Je, {
457
+ fe(Je, {
456
458
  colNames: H.value.colNames,
457
459
  head: H.value.head,
458
460
  body: H.value.body,
@@ -464,7 +466,7 @@ const tt = ["id"], lt = {
464
466
  S("div", {
465
467
  innerHTML: l,
466
468
  style: { display: "flex", "align-items": "center" }
467
- }, null, 8, vt)
469
+ }, null, 8, ft)
468
470
  ]),
469
471
  td: k(({ td: l }) => [
470
472
  Se(U(l.name || l), 1)
@@ -474,9 +476,9 @@ const tt = ["id"], lt = {
474
476
  ]),
475
477
  _: 1
476
478
  }, 8, ["config"])) : T("", !0)
477
- ], 14, tt));
479
+ ], 14, lt));
478
480
  }
479
- }, xt = /* @__PURE__ */ et(ft, [["__scopeId", "data-v-51f26d4b"]]);
481
+ }, _t = /* @__PURE__ */ tt(ht, [["__scopeId", "data-v-53bf76e7"]]);
480
482
  export {
481
- xt as default
483
+ _t as default
482
484
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-D09qCApg.cjs"),le=require("./Legend-Dhm9_peB.cjs"),oe=require("./Title-Bjrh7khe.cjs"),ae=require("./Tooltip-CPATjuur.cjs"),re=require("./DataTable-oa0Srfuc.cjs"),W=require("./usePrinter-DdsPm5a4.cjs"),ne=require("./vue-ui-skeleton-CAlTn_Cg.cjs"),se=require("./vue-ui-accordion-BAHX7KzB.cjs"),U=require("./useNestedProp-Bwd7mK1Z.cjs"),ue=require("./PackageVersion-BkgJVmj1.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ce=["id"],de={key:0,style:"width:100%;background:transparent;padding-bottom:24px"},ve=["xmlns","viewBox"],he=["id"],pe=["stdDeviation"],fe=["d","stroke","stroke-width"],ye=["d","stroke","stroke-width"],ge=["filter"],me=["d","stroke","stroke-width"],be=["d","stroke-width","onMouseenter","onClick"],ke={key:3,class:"vue-data-ui-watermark"},Ce=["onClick"],we={key:0},xe={key:1},$e=["innerHTML"],Be={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(H,{expose:R,emit:T}){const i=H,{vue_ui_galaxy:X}=r.useConfig(),b=e.computed(()=>!!i.dataset&&i.dataset.length);e.onMounted(()=>{N()});function N(){r.objectIsEmpty(i.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):i.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}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),S=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(),N(),P.value+=1,L.value+=1,E.value+=1},{deep:!0});const{isPrinting:F,isImaging:I,generatePdf:O,generateImage:z}=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(a=>a!==l.id):u.value.push(l.id),T("selectLegend",g.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const p=e.computed(()=>i.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||Y.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.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,a)=>l+a,0)),K=e.ref(190),D=e.computed(()=>p.value.filter(l=>!u.value.includes(l.id))),g=e.computed(()=>{const l=[];for(let a=0;a<D.value.length;a+=1){const o=D.value[a];let n=o.value/d.value*K.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.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((a,o)=>!u.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),m=e.ref(!1);function Q(l){m.value=l,S.value+=1}const _=e.ref(null);function Z({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){_.value={datapoint:l,seriesIndex:o,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:o,datapoint:l,series:p.value,config:t.value}))?x.value=f({seriesIndex:o,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:o})}</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,a)=>({...l,proportion:(l.value||0)/i.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+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(o=>({name:o.name,color:o.color})),a=g.value.map(o=>o.value);return{head:l,body:a}});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]]),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:d.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=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})]}),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 M(){v.value.showTable=!v.value.showTable}function A(){v.value.showTooltip=!v.value.showTooltip}return R({getData:J,generatePdf:O,generateCsv:G,generateImage:z,toggleTable:M,toggleTooltip:A}),(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_${y.value}`},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",de,[(e.openBlock(),e.createBlock(oe._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_${S.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,position:t.value.userOptions.position,onToggleFullscreen:Q,onGeneratePdf:e.unref(O),onGenerateCsv:G,onGenerateImage:e.unref(z),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:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,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","position","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.createVNode(ue._sfc_main),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,pe)],8,he)]),(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)*(c.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,fe)):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*(c.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(`${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,ye)):e.createCommentVNode("",!0),o.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:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(c.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 ${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,me)],8,ge)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,n)=>(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:s=>Z({datapoint:o,relativeIndex:n,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{w.value=!1,c.value=null}),onClick:s=>T("selectDatapoint",o)},null,40,be)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:$.value},void 0,!0)],14,ve)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",ke,[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:a[1]||(a[1]=({legend:o})=>B(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>B(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:n}))+" ",1),u.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",xe," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",we," ("+e.toDisplayString(isNaN(o.value/d.value)?"-":e.unref(r.dataLabel)({v:o.value/d.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Ce)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:q.value},void 0,!0),e.createVNode(ae._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({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.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: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,$e)]),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,ce))}},_e=ie._export_sfc(Be,[["__scopeId","data-v-20ef4a66"]]);exports.default=_e;