vue-data-ui 2.3.84 → 2.3.86

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 (180) hide show
  1. package/dist/{Arrow-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
  2. package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
  3. package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
  4. package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
  5. package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
  6. package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
  7. package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
  8. package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
  9. package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
  10. package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
  11. package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
  12. package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
  13. package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
  14. package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
  15. package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
  16. package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
  17. package/dist/index-CVgBMJU6.cjs +4 -0
  18. package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +3 -0
  21. package/dist/types/vue-data-ui.d.ts +3 -0
  22. package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
  23. package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
  24. package/dist/usePrinter-B6qtXaHk.js +527 -0
  25. package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
  26. package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
  27. package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
  31. package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
  32. package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
  34. package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
  35. package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
  36. package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
  37. package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
  38. package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
  39. package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
  40. package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
  41. package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
  43. package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
  44. package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
  45. package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
  46. package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
  48. package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
  49. package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
  50. package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
  51. package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
  52. package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
  53. package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
  54. package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
  55. package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
  56. package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
  57. package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
  58. package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
  59. package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
  60. package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
  61. package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
  63. package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
  64. package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
  65. package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
  66. package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
  68. package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
  70. package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
  71. package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
  72. package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
  73. package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
  74. package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
  75. package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
  76. package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
  77. package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
  78. package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
  80. package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
  81. package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
  82. package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
  83. package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
  84. package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
  85. package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
  86. package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
  87. package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
  89. package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
  90. package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
  91. package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
  92. package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
  93. package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
  94. package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
  95. package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
  97. package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
  98. package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
  99. package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
  100. package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
  101. package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
  102. package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
  103. package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
  104. package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
  105. package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
  106. package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
  107. package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
  108. package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
  111. package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
  112. package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
  113. package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
  114. package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
  115. package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
  116. package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
  117. package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
  118. package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
  119. package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
  120. package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
  121. package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
  122. package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
  123. package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
  124. package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
  125. package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
  126. package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
  127. package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
  128. package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
  130. package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
  131. package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
  132. package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
  133. package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
  134. package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
  135. package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
  136. package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
  137. package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
  138. package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
  139. package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
  140. package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
  141. package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
  142. package/package.json +1 -1
  143. package/dist/index-Cx-40Fnz.cjs +0 -4
  144. package/dist/usePrinter-D9bNzUQP.js +0 -513
  145. package/dist/usePrinter-DbhL59iY.cjs +0 -1
  146. package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
  148. package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
  149. package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
  150. package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
  151. package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
  152. package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
  153. package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
  154. package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
  155. package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
  156. package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
  157. package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
  158. package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
  159. package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
  160. package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
  162. package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
  164. package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
  165. package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
  166. package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
  168. package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
  170. package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
  171. package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
  172. package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
  173. package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
  174. package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
  175. package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
  176. package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
  177. package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
  178. package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
  179. package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
  180. package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
@@ -1,15 +1,15 @@
1
- import { toRef as ne, resolveComponent as re, openBlock as s, createElementBlock as r, Fragment as y, renderList as U, withModifiers as M, createBlock as R, createCommentVNode as m, createElementVNode as x, toDisplayString as Se, normalizeStyle as K, createVNode as N, computed as B, onMounted as qe, ref as f, watch as Ze, normalizeClass as we, unref as I, createSlots as Je, withCtx as $, renderSlot as P, normalizeProps as Z, guardReactiveProps as J, createTextVNode as Ke, nextTick as Pe } from "vue";
2
- import { u as Qe, o as _e, e as et, c as Te, t as tt, a as ot, p as Fe, b as lt, X as at, l as st, N as nt, q as rt, r as it, x as ut, y as ct } from "./index-DI4DaxVG.js";
3
- import { _ as dt } from "./Title-Bk3h09h9.js";
4
- import { u as vt, U as ft } from "./usePrinter-D9bNzUQP.js";
5
- import { D as ht } from "./DataTable-C-iU_7h7.js";
6
- import { _ as pt } from "./Tooltip-CdB80DsD.js";
7
- import W from "./BaseIcon-B9ZZ6wkT.js";
8
- import gt from "./vue-ui-skeleton-DH4t1hrL.js";
9
- import yt from "./vue-ui-accordion-DsN9lxvc.js";
10
- import { u as Re } from "./useNestedProp-COsQo-tX.js";
11
- import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], kt = {
1
+ import { toRef as re, resolveComponent as ie, openBlock as s, createElementBlock as r, Fragment as y, renderList as z, withModifiers as H, createBlock as F, createCommentVNode as m, createElementVNode as $, toDisplayString as Le, normalizeStyle as ne, createVNode as U, computed as O, onMounted as Ze, ref as f, watch as Je, normalizeClass as Pe, unref as N, createSlots as Ke, withCtx as C, renderSlot as P, normalizeProps as J, guardReactiveProps as K, createTextVNode as Qe, nextTick as Te } from "vue";
2
+ import { u as _e, o as et, e as tt, c as Fe, t as ot, a as lt, p as Re, b as at, X as st, l as nt, N as rt, q as it, r as ut, x as ct, y as dt } from "./index-D2epy0rJ.js";
3
+ import { _ as vt } from "./Title-DJ2FNrSN.js";
4
+ import { u as ft, U as pt } from "./usePrinter-B6qtXaHk.js";
5
+ import { D as ht } from "./DataTable-tSDSY14n.js";
6
+ import { _ as gt } from "./Tooltip-CQpXRqRC.js";
7
+ import W from "./BaseIcon-B9istAKo.js";
8
+ import yt from "./vue-ui-skeleton-BLiYyX95.js";
9
+ import mt from "./vue-ui-accordion-DzTB2FL0.js";
10
+ import { u as Se } from "./useNestedProp-C_ZrJBd9.js";
11
+ import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const kt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], Ct = {
13
13
  __name: "RecursiveCircles",
14
14
  props: {
15
15
  color: {
@@ -38,49 +38,49 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
38
38
  }
39
39
  },
40
40
  emits: ["zoom", "hover"],
41
- setup(a, { emit: C }) {
42
- const k = a;
43
- function c(n) {
44
- C("zoom", n);
41
+ setup(a, { emit: k }) {
42
+ const b = a;
43
+ function u(n) {
44
+ k("zoom", n);
45
45
  }
46
- function d(n) {
47
- C("hover", n);
46
+ function c(n) {
47
+ k("hover", n);
48
48
  }
49
- return ne(k, "dataset").value.forEach((n) => {
50
- n.nodes && n.nodes.length > 0 && n.nodes.forEach((u) => {
51
- u.ancestor = n;
49
+ return re(b, "dataset").value.forEach((n) => {
50
+ n.nodes && n.nodes.length > 0 && n.nodes.forEach((v) => {
51
+ v.ancestor = n;
52
52
  });
53
- }), (n, u) => {
54
- const T = re("RecursiveCircles", !0);
55
- return s(!0), r(y, null, U(a.dataset, (h) => (s(), r(y, null, [
56
- h.polygonPath && h.polygonPath.coordinates ? (s(), r(y, { key: 0 }, [
57
- (s(!0), r(y, null, U(h.polygonPath.coordinates, (O, H) => (s(), r("circle", {
58
- cx: O.x,
59
- cy: O.y,
60
- r: h.circleRadius,
61
- fill: `url(#gradient_${h.color})`,
62
- stroke: a.hoveredUid && a.hoveredUid === h.uid ? a.strokeHovered : a.stroke,
63
- "stroke-width": a.hoveredUid && a.hoveredUid === h.uid ? h.circleRadius / 6 : h.circleRadius / 12,
53
+ }), (n, v) => {
54
+ const R = ie("RecursiveCircles", !0);
55
+ return s(!0), r(y, null, z(a.dataset, (p) => (s(), r(y, null, [
56
+ p.polygonPath && p.polygonPath.coordinates ? (s(), r(y, { key: 0 }, [
57
+ (s(!0), r(y, null, z(p.polygonPath.coordinates, (B, q) => (s(), r("circle", {
58
+ cx: B.x,
59
+ cy: B.y,
60
+ r: p.circleRadius,
61
+ fill: `url(#gradient_${p.color})`,
62
+ stroke: a.hoveredUid && a.hoveredUid === p.uid ? a.strokeHovered : a.stroke,
63
+ "stroke-width": a.hoveredUid && a.hoveredUid === p.uid ? p.circleRadius / 6 : p.circleRadius / 12,
64
64
  style: { cursor: "pointer" },
65
- onClick: M((b) => c(h), ["stop"]),
66
- onMouseover: (b) => d(h),
67
- onMouseleave: u[0] || (u[0] = (b) => d(null))
68
- }, null, 40, bt))), 256)),
69
- h.nodes && h.nodes.length > 0 ? (s(), R(T, {
65
+ onClick: H((L) => u(p), ["stop"]),
66
+ onMouseover: (L) => c(p),
67
+ onMouseleave: v[0] || (v[0] = (L) => c(null))
68
+ }, null, 40, kt))), 256)),
69
+ p.nodes && p.nodes.length > 0 ? (s(), F(R, {
70
70
  key: 0,
71
- dataset: h.nodes,
71
+ dataset: p.nodes,
72
72
  color: a.color,
73
73
  stroke: a.stroke,
74
74
  strokeHovered: a.strokeHovered,
75
75
  hoveredUid: a.hoveredUid,
76
- onZoom: c,
77
- onHover: d
76
+ onZoom: u,
77
+ onHover: c
78
78
  }, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : m("", !0)
79
79
  ], 64)) : m("", !0)
80
80
  ], 64))), 256);
81
81
  };
82
82
  }
83
- }, Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], $t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], xt = {
83
+ }, $t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], wt = {
84
84
  __name: "RecursiveLinks",
85
85
  props: {
86
86
  dataset: {
@@ -97,38 +97,38 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
97
97
  }
98
98
  },
99
99
  setup(a) {
100
- return ne(a, "dataset").value.forEach((c) => {
101
- c.nodes && c.nodes.length > 0 && c.nodes.forEach((d) => {
102
- d.ancestor = c;
100
+ return re(a, "dataset").value.forEach((u) => {
101
+ u.nodes && u.nodes.length > 0 && u.nodes.forEach((c) => {
102
+ c.ancestor = u;
103
103
  });
104
- }), (c, d) => {
105
- const S = re("RecursiveLinks", !0);
104
+ }), (u, c) => {
105
+ const S = ie("RecursiveLinks", !0);
106
106
  return s(), r(y, null, [
107
- (s(!0), r(y, null, U(a.dataset, (n) => (s(), r(y, null, [
108
- n.polygonPath && n.polygonPath.coordinates ? (s(!0), r(y, { key: 0 }, U(n.polygonPath.coordinates, (u, T) => (s(), r(y, null, [
107
+ (s(!0), r(y, null, z(a.dataset, (n) => (s(), r(y, null, [
108
+ n.polygonPath && n.polygonPath.coordinates ? (s(!0), r(y, { key: 0 }, z(n.polygonPath.coordinates, (v, R) => (s(), r(y, null, [
109
109
  n.ancestor && n.ancestor.polygonPath ? (s(), r(y, { key: 0 }, [
110
- x("line", {
111
- x1: u.x,
112
- y1: u.y,
110
+ $("line", {
111
+ x1: v.x,
112
+ y1: v.y,
113
113
  x2: n.ancestor.polygonPath.coordinates[0].x,
114
114
  y2: n.ancestor.polygonPath.coordinates[0].y,
115
115
  stroke: a.backgroundColor,
116
116
  "stroke-width": n.circleRadius / 1.5
117
- }, null, 8, Ct),
118
- x("line", {
119
- x1: u.x,
120
- y1: u.y,
117
+ }, null, 8, $t),
118
+ $("line", {
119
+ x1: v.x,
120
+ y1: v.y,
121
121
  x2: n.ancestor.polygonPath.coordinates[0].x,
122
122
  y2: n.ancestor.polygonPath.coordinates[0].y,
123
123
  stroke: a.color,
124
124
  "stroke-width": n.circleRadius / 2
125
- }, null, 8, $t)
125
+ }, null, 8, xt)
126
126
  ], 64)) : m("", !0)
127
127
  ], 64))), 256)) : m("", !0)
128
128
  ], 64))), 256)),
129
- (s(!0), r(y, null, U(a.dataset, (n) => (s(), r(y, null, [
129
+ (s(!0), r(y, null, z(a.dataset, (n) => (s(), r(y, null, [
130
130
  n.polygonPath && n.polygonPath.coordinates ? (s(), r(y, { key: 0 }, [
131
- n.nodes && n.nodes.length > 0 ? (s(), R(S, {
131
+ n.nodes && n.nodes.length > 0 ? (s(), F(S, {
132
132
  key: 0,
133
133
  dataset: n.nodes,
134
134
  color: a.color,
@@ -139,7 +139,7 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
139
139
  ], 64);
140
140
  };
141
141
  }
142
- }, wt = ["x", "y", "fill", "font-size"], Pt = {
142
+ }, Pt = ["x", "y", "fill", "font-size"], Tt = {
143
143
  __name: "RecursiveLabels",
144
144
  props: {
145
145
  color: {
@@ -156,26 +156,26 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
156
156
  }
157
157
  },
158
158
  emits: ["zoom", "hover"],
159
- setup(a, { emit: C }) {
160
- return ne(a, "dataset").value.forEach((d) => {
161
- d.nodes && d.nodes.length > 0 && d.nodes.forEach((S) => {
162
- S.ancestor = d;
159
+ setup(a, { emit: k }) {
160
+ return re(a, "dataset").value.forEach((c) => {
161
+ c.nodes && c.nodes.length > 0 && c.nodes.forEach((S) => {
162
+ S.ancestor = c;
163
163
  });
164
- }), (d, S) => {
165
- const n = re("RecursiveLabels", !0);
166
- return s(!0), r(y, null, U(a.dataset, (u) => (s(), r(y, null, [
167
- u.polygonPath && u.polygonPath.coordinates ? (s(), r(y, { key: 0 }, [
168
- (s(!0), r(y, null, U(u.polygonPath.coordinates, (T) => (s(), r("text", {
169
- x: T.x,
170
- y: T.y + u.circleRadius * 2,
164
+ }), (c, S) => {
165
+ const n = ie("RecursiveLabels", !0);
166
+ return s(!0), r(y, null, z(a.dataset, (v) => (s(), r(y, null, [
167
+ v.polygonPath && v.polygonPath.coordinates ? (s(), r(y, { key: 0 }, [
168
+ (s(!0), r(y, null, z(v.polygonPath.coordinates, (R) => (s(), r("text", {
169
+ x: R.x,
170
+ y: R.y + v.circleRadius * 2,
171
171
  fill: a.color,
172
- "font-size": u.circleRadius,
172
+ "font-size": v.circleRadius,
173
173
  "text-anchor": "middle",
174
174
  style: { opacity: "0.8", "pointer-events": "none" }
175
- }, Se(u.name), 9, wt))), 256)),
176
- u.nodes && u.nodes.length > 0 ? (s(), R(n, {
175
+ }, Le(v.name), 9, Pt))), 256)),
176
+ v.nodes && v.nodes.length > 0 ? (s(), F(n, {
177
177
  key: 0,
178
- dataset: u.nodes,
178
+ dataset: v.nodes,
179
179
  color: a.color,
180
180
  hoveredUid: a.hoveredUid
181
181
  }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0)
@@ -183,7 +183,7 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
183
183
  ], 64))), 256);
184
184
  };
185
185
  }
186
- }, Tt = { style: { position: "relative", height: "100%", width: "100%" } }, Ft = {
186
+ }, Ft = { style: { position: "relative", height: "100%", width: "100%" } }, Rt = {
187
187
  __name: "BaseDirectionPad",
188
188
  props: {
189
189
  color: {
@@ -196,57 +196,57 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
196
196
  }
197
197
  },
198
198
  emits: ["moveLeft", "moveTop", "moveRight", "moveBottom", "reset"],
199
- setup(a, { emit: C }) {
200
- return (k, c) => (s(), r("div", {
201
- style: K(`position: ${a.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${a.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
199
+ setup(a, { emit: k }) {
200
+ return (b, u) => (s(), r("div", {
201
+ style: ne(`position: ${a.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${a.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
202
202
  "data-html2canvas-ignore": ""
203
203
  }, [
204
- x("div", Tt, [
205
- x("button", {
206
- onClick: c[0] || (c[0] = M((d) => C("moveLeft"), ["stop"])),
204
+ $("div", Ft, [
205
+ $("button", {
206
+ onClick: u[0] || (u[0] = H((c) => k("moveLeft"), ["stop"])),
207
207
  style: { position: "absolute", left: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
208
208
  }, [
209
- N(W, {
209
+ U(W, {
210
210
  stroke: a.color,
211
211
  name: "arrowLeft",
212
212
  style: { cursor: "pointer" }
213
213
  }, null, 8, ["stroke"])
214
214
  ]),
215
- x("button", {
216
- onClick: c[1] || (c[1] = M((d) => C("moveTop"), ["stop"])),
215
+ $("button", {
216
+ onClick: u[1] || (u[1] = H((c) => k("moveTop"), ["stop"])),
217
217
  style: { position: "absolute", top: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
218
218
  }, [
219
- N(W, {
219
+ U(W, {
220
220
  stroke: a.color,
221
221
  name: "arrowTop",
222
222
  style: { cursor: "pointer" }
223
223
  }, null, 8, ["stroke"])
224
224
  ]),
225
- x("button", {
226
- onClick: c[2] || (c[2] = M((d) => C("moveRight"), ["stop"])),
225
+ $("button", {
226
+ onClick: u[2] || (u[2] = H((c) => k("moveRight"), ["stop"])),
227
227
  style: { position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
228
228
  }, [
229
- N(W, {
229
+ U(W, {
230
230
  stroke: a.color,
231
231
  name: "arrowRight",
232
232
  style: { cursor: "pointer" }
233
233
  }, null, 8, ["stroke"])
234
234
  ]),
235
- x("button", {
236
- onClick: c[3] || (c[3] = M((d) => C("moveBottom"), ["stop"])),
235
+ $("button", {
236
+ onClick: u[3] || (u[3] = H((c) => k("moveBottom"), ["stop"])),
237
237
  style: { position: "absolute", bottom: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
238
238
  }, [
239
- N(W, {
239
+ U(W, {
240
240
  stroke: a.color,
241
241
  name: "arrowBottom",
242
242
  style: { cursor: "pointer" }
243
243
  }, null, 8, ["stroke"])
244
244
  ]),
245
- x("button", {
246
- onClick: c[4] || (c[4] = M((d) => C("reset"), ["stop"])),
245
+ $("button", {
246
+ onClick: u[4] || (u[4] = H((c) => k("reset"), ["stop"])),
247
247
  style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
248
248
  }, [
249
- N(W, {
249
+ U(W, {
250
250
  stroke: a.color,
251
251
  name: "close",
252
252
  style: { cursor: "pointer" },
@@ -256,10 +256,13 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
256
256
  ])
257
257
  ], 4));
258
258
  }
259
- }, Rt = ["id"], St = ["xmlns", "viewBox"], Lt = ["id"], Dt = ["stop-color"], It = ["stop-color"], Nt = {
259
+ }, St = ["id"], Lt = {
260
+ key: 0,
261
+ style: "width:100%;background:transparent;"
262
+ }, Dt = ["xmlns", "viewBox"], It = ["id"], Nt = ["stop-color"], Ut = ["stop-color"], zt = {
260
263
  key: 4,
261
264
  class: "vue-data-ui-watermark"
262
- }, Ut = ["innerHTML"], zt = {
265
+ }, Bt = ["innerHTML"], Mt = {
263
266
  __name: "vue-ui-molecule",
264
267
  props: {
265
268
  config: {
@@ -275,188 +278,191 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
275
278
  }
276
279
  }
277
280
  },
278
- setup(a, { expose: C }) {
279
- const k = a, { vue_ui_molecule: c } = Qe(), d = B(() => !!k.dataset && k.dataset.length);
280
- qe(() => {
281
- _e(k.dataset) && et({
281
+ setup(a, { expose: k }) {
282
+ const b = a, { vue_ui_molecule: u } = _e(), c = O(() => !!b.dataset && b.dataset.length);
283
+ Ze(() => {
284
+ S();
285
+ });
286
+ function S() {
287
+ et(b.dataset) && tt({
282
288
  componentName: "VueUiMolecule",
283
289
  type: "dataset"
284
290
  });
285
- });
286
- const S = f(Te()), n = f(null), u = f(!1), T = f(""), h = f(null), O = f(null), H = f(!1), b = f(null), ie = f(null), Q = f(0), ue = f(0), ce = f(0), t = B({
287
- get: () => de(),
291
+ }
292
+ const n = f(Fe()), v = f(null), R = f(!1), p = f(""), B = f(null), q = f(null), L = f(!1), x = f(null), ue = f(null), Q = f(0), ce = f(0), de = f(0), t = O({
293
+ get: () => ve(),
288
294
  set: (e) => e
289
295
  });
290
- function de() {
291
- const e = Re({
292
- userConfig: k.config,
293
- defaultConfig: c
296
+ function ve() {
297
+ const e = Se({
298
+ userConfig: b.config,
299
+ defaultConfig: u
294
300
  });
295
301
  return e.theme ? {
296
- ...Re({
297
- userConfig: tt.vue_ui_molecule[e.theme] || k.config,
302
+ ...Se({
303
+ userConfig: ot.vue_ui_molecule[e.theme] || b.config,
298
304
  defaultConfig: e
299
305
  }),
300
- customPalette: ot[e.theme] || Fe
306
+ customPalette: lt[e.theme] || Re
301
307
  } : e;
302
308
  }
303
- Ze(() => k.config, (e) => {
304
- t.value = de(), prepareChart(), ue.value += 1, ce.value += 1;
309
+ Je(() => b.config, (e) => {
310
+ t.value = ve(), S(), ce.value += 1, de.value += 1;
305
311
  }, { deep: !0 });
306
- const { isPrinting: ve, isImaging: fe, generatePdf: he, generateImage: pe } = vt({
307
- elementId: `cluster_${S.value}`,
312
+ const { isPrinting: fe, isImaging: pe, generatePdf: he, generateImage: ge } = ft({
313
+ elementId: `cluster_${n.value}`,
308
314
  fileName: t.value.style.chart.title.text || "vue-ui-molecule"
309
- }), Le = B(() => lt(t.value.customPalette)), w = f({
315
+ }), De = O(() => at(t.value.customPalette)), w = f({
310
316
  showTable: t.value.table.show,
311
317
  showDataLabels: !0,
312
318
  showTooltip: t.value.style.chart.tooltip.show
313
319
  });
314
- function ge(e, o = 0) {
315
- return Array.isArray(e) && e.length > 0 && e[0].nodes ? ge(e[0].nodes, o + 1) : o;
320
+ function ye(e, o = 0) {
321
+ return Array.isArray(e) && e.length > 0 && e[0].nodes ? ye(e[0].nodes, o + 1) : o;
316
322
  }
317
- function De() {
318
- const e = ge(k.dataset);
323
+ function Ie() {
324
+ const e = ye(b.dataset);
319
325
  let o = 100, l = o;
320
- for (let v = 0; v < e; v += 1)
326
+ for (let d = 0; d < e; d += 1)
321
327
  o /= 1, l += o;
322
328
  return {
323
329
  height: l,
324
330
  width: l
325
331
  };
326
332
  }
327
- const L = f(De()), _ = f(`0 0 ${L.value.width} ${L.value.height}`);
328
- function ye(e, o = { x: -L.value.width / 2.43, y: L.value.height / 2 }, l = L.value.width / 1.1, v = 24, i = 0, p = 0, j = "#BBBBBB") {
333
+ const D = f(Ie()), _ = f(`0 0 ${D.value.width} ${D.value.height}`);
334
+ function me(e, o = { x: -D.value.width / 2.43, y: D.value.height / 2 }, l = D.value.width / 1.1, d = 24, i = 0, h = 0, j = "#BBBBBB") {
329
335
  if (e && e.length > 0) {
330
- const ae = nt({
336
+ const ae = rt({
331
337
  plot: o,
332
338
  radius: l,
333
339
  sides: e.length,
334
340
  rotation: i
335
341
  });
336
- e.forEach((g, z) => {
337
- const V = ae.coordinates[z];
338
- let D;
339
- if (g.ancestor ? g.ancestor.ancestor ? D = g.ancestor.color || j : (D = Le.value[p] || Fe[p] || j, p += 1) : D = j, g.polygonPath = {
342
+ e.forEach((g, M) => {
343
+ const V = ae.coordinates[M];
344
+ let I;
345
+ if (g.ancestor ? g.ancestor.ancestor ? I = g.ancestor.color || j : (I = De.value[h] || Re[h] || j, h += 1) : I = j, g.polygonPath = {
340
346
  coordinates: [V]
341
- }, g.circleRadius = v, g.color = D, g.uid = Te(), g.nodes && g.nodes.length > 0) {
342
- const se = !g.ancestor || !g.ancestor.ancestor ? p : 0;
343
- g.nodes = ye(
347
+ }, g.circleRadius = d, g.color = I, g.uid = Fe(), g.nodes && g.nodes.length > 0) {
348
+ const se = !g.ancestor || !g.ancestor.ancestor ? h : 0;
349
+ g.nodes = me(
344
350
  g.nodes,
345
351
  V,
346
352
  l / 2.9,
347
- v / 2.2,
348
- i + Math.PI * z / g.nodes.length,
353
+ d / 2.2,
354
+ i + Math.PI * M / g.nodes.length,
349
355
  se,
350
- D
356
+ I
351
357
  );
352
358
  }
353
359
  });
354
360
  }
355
361
  return e;
356
362
  }
357
- function Ie(e) {
363
+ function Ne(e) {
358
364
  const o = /* @__PURE__ */ new Set();
359
365
  function l(i) {
360
- i.forEach((p) => {
361
- p.color && !o.has(p.color) && o.add(p.color), p.nodes && p.nodes.length > 0 && l(p.nodes);
366
+ i.forEach((h) => {
367
+ h.color && !o.has(h.color) && o.add(h.color), h.nodes && h.nodes.length > 0 && l(h.nodes);
362
368
  });
363
369
  }
364
370
  l(e);
365
- const v = {};
366
- return Array.from(o).forEach((i, p) => {
367
- v[i] = `gradient_${p}`;
368
- }), v;
371
+ const d = {};
372
+ return Array.from(o).forEach((i, h) => {
373
+ d[i] = `gradient_${h}`;
374
+ }), d;
369
375
  }
370
- const Ne = B(() => Ie(F.value)), F = B(() => ye(k.dataset));
376
+ const Ue = O(() => Ne(T.value)), T = O(() => me(b.dataset));
371
377
  function ee() {
372
- H.value = !1, O.value = null, ie.value = null, b.value = null, oe({
378
+ L.value = !1, q.value = null, ue.value = null, x.value = null, oe({
373
379
  polygonPath: {
374
- coordinates: [{ x: L.value.width / 2, y: L.value.height / 2 }]
380
+ coordinates: [{ x: D.value.width / 2, y: D.value.height / 2 }]
375
381
  },
376
382
  circleRadius: 24
377
383
  });
378
384
  }
379
385
  const te = f(null);
380
386
  function oe(e) {
381
- h.value.focus(), Pe(() => {
387
+ B.value.focus(), Te(() => {
382
388
  te.value && cancelAnimationFrame(te.value);
383
- const o = _.value.split(" "), l = parseFloat(o[0]), v = parseFloat(o[1]), i = parseFloat(o[2]), p = parseFloat(o[3]), { x: j, y: ae } = e.polygonPath.coordinates[0], { circleRadius: g } = e, z = 8.34, V = j - g * z, D = ae - g * z, se = g * z * 2, Xe = g * z * 2, Ge = Math.sqrt((V - l) ** 2 + (D - v) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(Ge / 10))), je = (V - l) / Y, Ve = (D - v) / Y, Ye = (se - i) / Y, We = (Xe - p) / Y;
389
+ const o = _.value.split(" "), l = parseFloat(o[0]), d = parseFloat(o[1]), i = parseFloat(o[2]), h = parseFloat(o[3]), { x: j, y: ae } = e.polygonPath.coordinates[0], { circleRadius: g } = e, M = 8.34, V = j - g * M, I = ae - g * M, se = g * M * 2, Ge = g * M * 2, je = Math.sqrt((V - l) ** 2 + (I - d) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(je / 10))), Ve = (V - l) / Y, Ye = (I - d) / Y, We = (se - i) / Y, qe = (Ge - h) / Y;
384
390
  let A = 0;
385
- function xe() {
386
- _.value = `${l + je * A} ${v + Ve * A} ${i + Ye * A} ${p + We * A}`, A += t.value.style.chart.zoom.speed, A <= Y && (te.value = requestAnimationFrame(xe));
391
+ function we() {
392
+ _.value = `${l + Ve * A} ${d + Ye * A} ${i + We * A} ${h + qe * A}`, A += t.value.style.chart.zoom.speed, A <= Y && (te.value = requestAnimationFrame(we));
387
393
  }
388
- xe();
394
+ we();
389
395
  });
390
396
  }
391
- function Ue(e) {
392
- O.value === e.uid ? ee() : (O.value = e.uid, ie.value = e, b.value = {
397
+ function ze(e) {
398
+ q.value === e.uid ? ee() : (q.value = e.uid, ue.value = e, x.value = {
393
399
  circleRadius: e.circleRadius,
394
400
  polygonPath: {
395
401
  coordinates: [{ x: e.polygonPath.coordinates[0].x, y: e.polygonPath.coordinates[0].y }]
396
402
  }
397
- }, oe(e), H.value = e.uid !== F.value[0].uid);
403
+ }, oe(e), L.value = e.uid !== T.value[0].uid);
398
404
  }
399
- function ze(e) {
405
+ function Be(e) {
400
406
  if (e.target.nodeName !== "circle")
401
- ee(), H.value = !1;
407
+ ee(), L.value = !1;
402
408
  else
403
409
  return;
404
410
  }
405
411
  const le = f(null);
406
- function Be(e) {
412
+ function Me(e) {
407
413
  le.value = {
408
414
  datapoint: e,
409
415
  seriesIndex: -1,
410
- series: F.value,
416
+ series: T.value,
411
417
  config: t.value
412
418
  };
413
419
  const o = t.value.style.chart.tooltip.customFormat;
414
- if (ut(o) && ct(() => o({
420
+ if (ct(o) && dt(() => o({
415
421
  seriesIndex: -1,
416
422
  datapoint: e,
417
- series: F.value,
423
+ series: T.value,
418
424
  config: t.value
419
425
  })))
420
- T.value = o({
426
+ p.value = o({
421
427
  seriesIndex: -1,
422
428
  // well, ok
423
429
  datapoint: e,
424
- series: F.value,
430
+ series: T.value,
425
431
  config: t.value
426
432
  });
427
433
  else {
428
434
  let l = "";
429
- l += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (l += `<div style="width:100%;border-top:1px solid ${t.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), T.value = `<div style="font-family:inherit">${l}</div>`;
435
+ l += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (l += `<div style="width:100%;border-top:1px solid ${t.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), p.value = `<div style="font-family:inherit">${l}</div>`;
430
436
  }
431
437
  }
432
- const me = f(null), X = f(null);
433
- function Me(e) {
434
- me.value = e, e ? (u.value = !0, Be(e), X.value = e.uid) : (u.value = !1, T.value = "", X.value = null);
438
+ const be = f(null), X = f(null);
439
+ function Oe(e) {
440
+ be.value = e, e ? (R.value = !0, Me(e), X.value = e.uid) : (R.value = !1, p.value = "", X.value = null);
435
441
  }
436
- function q(e) {
437
- e === "right" && (b.value.polygonPath.coordinates[0].x += b.value.circleRadius), e === "left" && (b.value.polygonPath.coordinates[0].x -= b.value.circleRadius), e === "top" && (b.value.polygonPath.coordinates[0].y -= b.value.circleRadius), e === "bottom" && (b.value.polygonPath.coordinates[0].y += b.value.circleRadius), oe(b.value);
442
+ function Z(e) {
443
+ e === "right" && (x.value.polygonPath.coordinates[0].x += x.value.circleRadius), e === "left" && (x.value.polygonPath.coordinates[0].x -= x.value.circleRadius), e === "top" && (x.value.polygonPath.coordinates[0].y -= x.value.circleRadius), e === "bottom" && (x.value.polygonPath.coordinates[0].y += x.value.circleRadius), oe(x.value);
438
444
  }
439
- function Oe(e) {
445
+ function He(e) {
440
446
  const o = [];
441
- function l(v) {
442
- v.forEach((i) => {
443
- const p = {
447
+ function l(d) {
448
+ d.forEach((i) => {
449
+ const h = {
444
450
  name: i.name,
445
451
  details: i.details || "-",
446
452
  ancestor: i.ancestor && i.ancestor.name || "-",
447
453
  color: i.color || ""
448
454
  };
449
- o.push(p), i.nodes && i.nodes.length > 0 && l(i.nodes, i.name);
455
+ o.push(h), i.nodes && i.nodes.length > 0 && l(i.nodes, i.name);
450
456
  });
451
457
  }
452
458
  return l(e), o;
453
459
  }
454
- const He = B(() => Oe(F.value)), E = B(() => {
460
+ const Ee = O(() => He(T.value)), E = O(() => {
455
461
  const e = [
456
462
  t.value.table.translations.nodeName,
457
463
  t.value.table.translations.details,
458
464
  t.value.table.translations.ancestor
459
- ], o = He.value.map((i, p) => [
465
+ ], o = Ee.value.map((i, h) => [
460
466
  {
461
467
  color: i.color,
462
468
  name: i.name
@@ -475,7 +481,7 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
475
481
  outline: t.value.table.td.outline
476
482
  },
477
483
  breakpoint: t.value.table.responsiveBreakpoint
478
- }, v = [
484
+ }, d = [
479
485
  t.value.table.translations.nodeName,
480
486
  t.value.table.translations.details,
481
487
  t.value.table.translations.ancestor
@@ -484,55 +490,52 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
484
490
  head: e,
485
491
  body: o,
486
492
  config: l,
487
- colNames: v
493
+ colNames: d
488
494
  };
489
495
  });
490
- function be() {
491
- Pe(() => {
492
- const e = E.value.body.map((v, i) => [[v[0].name], [v[1]], [v[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...E.value.head]]].concat(e), l = rt(o);
493
- it({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
496
+ function ke() {
497
+ Te(() => {
498
+ const e = E.value.body.map((d, i) => [[d[0].name], [d[1]], [d[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...E.value.head]]].concat(e), l = it(o);
499
+ ut({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
494
500
  });
495
501
  }
496
- function Ee() {
497
- return F.value;
502
+ function Ae() {
503
+ return T.value;
498
504
  }
499
505
  const G = f(!1);
500
- function Ae(e) {
506
+ function Xe(e) {
501
507
  G.value = e, Q.value += 1;
502
508
  }
503
- function ke() {
509
+ function Ce() {
504
510
  w.value.showTable = !w.value.showTable;
505
511
  }
506
- function Ce() {
512
+ function $e() {
507
513
  w.value.showDataLabels = !w.value.showDataLabels;
508
514
  }
509
- function $e() {
515
+ function xe() {
510
516
  w.value.showTooltip = !w.value.showTooltip;
511
517
  }
512
- return C({
513
- getData: Ee,
518
+ return k({
519
+ getData: Ae,
514
520
  generatePdf: he,
515
- generateCsv: be,
516
- generateImage: pe,
517
- toggleTable: ke,
518
- toggleLabels: Ce,
519
- toggleTooltip: $e
521
+ generateCsv: ke,
522
+ generateImage: ge,
523
+ toggleTable: Ce,
524
+ toggleLabels: $e,
525
+ toggleTooltip: xe
520
526
  }), (e, o) => (s(), r("div", {
521
527
  onMouseleave: o[7] || (o[7] = (l) => {
522
- me.value = null, X.value = null;
528
+ be.value = null, X.value = null;
523
529
  }),
524
530
  ref_key: "moleculeChart",
525
- ref: h,
526
- class: we(`vue-ui-molecule ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
527
- style: K(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
528
- id: `cluster_${S.value}`
531
+ ref: B,
532
+ class: Pe(`vue-ui-molecule ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
533
+ style: ne(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
534
+ id: `cluster_${n.value}`
529
535
  }, [
530
- t.value.style.chart.title.text ? (s(), r("div", {
531
- key: 0,
532
- style: K(`width:100%;background:${t.value.style.chart.backgroundColor};`)
533
- }, [
534
- (s(), R(dt, {
535
- key: `title_${ue.value}`,
536
+ t.value.style.chart.title.text ? (s(), r("div", Lt, [
537
+ (s(), F(vt, {
538
+ key: `title_${ce.value}`,
536
539
  config: {
537
540
  title: {
538
541
  cy: "molecule-div-title",
@@ -544,16 +547,16 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
544
547
  }
545
548
  }
546
549
  }, null, 8, ["config"]))
547
- ], 4)) : m("", !0),
548
- t.value.userOptions.show && d.value ? (s(), R(ft, {
550
+ ])) : m("", !0),
551
+ t.value.userOptions.show && c.value ? (s(), F(pt, {
549
552
  ref_key: "details",
550
- ref: n,
553
+ ref: v,
551
554
  key: `user_options_${Q.value}`,
552
555
  backgroundColor: t.value.style.chart.backgroundColor,
553
556
  color: t.value.style.chart.color,
554
- isPrinting: I(ve),
555
- isImaging: I(fe),
556
- uid: S.value,
557
+ isPrinting: N(fe),
558
+ isImaging: N(pe),
559
+ uid: n.value,
557
560
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
558
561
  hasPdf: t.value.userOptions.buttons.pdf,
559
562
  hasXls: t.value.userOptions.buttons.csv,
@@ -563,75 +566,76 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
563
566
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
564
567
  isTooltip: w.value.showTooltip,
565
568
  titles: { ...t.value.userOptions.buttonTitles },
566
- chartElement: h.value,
567
- onToggleFullscreen: Ae,
568
- onGeneratePdf: I(he),
569
- onGenerateCsv: be,
570
- onGenerateImage: I(pe),
571
- onToggleTable: ke,
572
- onToggleLabels: Ce,
573
- onToggleTooltip: $e
574
- }, Je({ _: 2 }, [
569
+ chartElement: B.value,
570
+ position: t.value.userOptions.position,
571
+ onToggleFullscreen: Xe,
572
+ onGeneratePdf: N(he),
573
+ onGenerateCsv: ke,
574
+ onGenerateImage: N(ge),
575
+ onToggleTable: Ce,
576
+ onToggleLabels: $e,
577
+ onToggleTooltip: xe
578
+ }, Ke({ _: 2 }, [
575
579
  e.$slots.optionTooltip ? {
576
580
  name: "optionTooltip",
577
- fn: $(() => [
581
+ fn: C(() => [
578
582
  P(e.$slots, "optionTooltip", {}, void 0, !0)
579
583
  ]),
580
584
  key: "0"
581
585
  } : void 0,
582
586
  e.$slots.optionPdf ? {
583
587
  name: "optionPdf",
584
- fn: $(() => [
588
+ fn: C(() => [
585
589
  P(e.$slots, "optionPdf", {}, void 0, !0)
586
590
  ]),
587
591
  key: "1"
588
592
  } : void 0,
589
593
  e.$slots.optionCsv ? {
590
594
  name: "optionCsv",
591
- fn: $(() => [
595
+ fn: C(() => [
592
596
  P(e.$slots, "optionCsv", {}, void 0, !0)
593
597
  ]),
594
598
  key: "2"
595
599
  } : void 0,
596
600
  e.$slots.optionImg ? {
597
601
  name: "optionImg",
598
- fn: $(() => [
602
+ fn: C(() => [
599
603
  P(e.$slots, "optionImg", {}, void 0, !0)
600
604
  ]),
601
605
  key: "3"
602
606
  } : void 0,
603
607
  e.$slots.optionTable ? {
604
608
  name: "optionTable",
605
- fn: $(() => [
609
+ fn: C(() => [
606
610
  P(e.$slots, "optionTable", {}, void 0, !0)
607
611
  ]),
608
612
  key: "4"
609
613
  } : void 0,
610
614
  e.$slots.optionLabels ? {
611
615
  name: "optionLabels",
612
- fn: $(() => [
616
+ fn: C(() => [
613
617
  P(e.$slots, "optionLabels", {}, void 0, !0)
614
618
  ]),
615
619
  key: "5"
616
620
  } : void 0,
617
621
  e.$slots.optionFullscreen ? {
618
622
  name: "optionFullscreen",
619
- fn: $(({ toggleFullscreen: l, isFullscreen: v }) => [
620
- P(e.$slots, "optionFullscreen", Z(J({ toggleFullscreen: l, isFullscreen: v })), void 0, !0)
623
+ fn: C(({ toggleFullscreen: l, isFullscreen: d }) => [
624
+ P(e.$slots, "optionFullscreen", J(K({ toggleFullscreen: l, isFullscreen: d })), void 0, !0)
621
625
  ]),
622
626
  key: "6"
623
627
  } : void 0
624
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
625
- d.value ? (s(), r("svg", {
628
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
629
+ c.value ? (s(), r("svg", {
626
630
  key: 2,
627
- xmlns: I(at),
631
+ xmlns: N(st),
628
632
  viewBox: _.value,
629
- class: we({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
630
- style: K(`overflow: hidden; background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`),
631
- onClick: o[0] || (o[0] = M((l) => ze(l), ["stop"]))
633
+ class: Pe({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
634
+ style: ne(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
635
+ onClick: o[0] || (o[0] = H((l) => Be(l), ["stop"]))
632
636
  }, [
633
- x("defs", null, [
634
- (s(!0), r(y, null, U(Object.keys(Ne.value), (l) => (s(), r("radialGradient", {
637
+ $("defs", null, [
638
+ (s(!0), r(y, null, z(Object.keys(Ue.value), (l) => (s(), r("radialGradient", {
635
639
  id: `gradient_${l}`,
636
640
  cx: "50%",
637
641
  cy: "30%",
@@ -639,53 +643,53 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
639
643
  fx: "50%",
640
644
  fy: "50%"
641
645
  }, [
642
- x("stop", {
646
+ $("stop", {
643
647
  offset: "0%",
644
- "stop-color": I(st)(l, 0.5)
645
- }, null, 8, Dt),
646
- x("stop", {
648
+ "stop-color": N(nt)(l, 0.5)
649
+ }, null, 8, Nt),
650
+ $("stop", {
647
651
  offset: "100%",
648
652
  "stop-color": l
649
- }, null, 8, It)
650
- ], 8, Lt))), 256))
653
+ }, null, 8, Ut)
654
+ ], 8, It))), 256))
651
655
  ]),
652
- N(xt, {
653
- dataset: F.value,
656
+ U(wt, {
657
+ dataset: T.value,
654
658
  color: t.value.style.chart.links.stroke,
655
659
  backgroundColor: t.value.style.chart.backgroundColor
656
660
  }, null, 8, ["dataset", "color", "backgroundColor"]),
657
- N(kt, {
658
- dataset: F.value,
661
+ U(Ct, {
662
+ dataset: T.value,
659
663
  hoveredUid: X.value,
660
664
  stroke: t.value.style.chart.nodes.stroke,
661
665
  strokeHovered: t.value.style.chart.nodes.strokeHovered,
662
- onZoom: Ue,
663
- onHover: Me
666
+ onZoom: ze,
667
+ onHover: Oe
664
668
  }, null, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
665
- w.value.showDataLabels ? (s(), R(Pt, {
669
+ w.value.showDataLabels ? (s(), F(Tt, {
666
670
  key: 0,
667
- dataset: F.value,
671
+ dataset: T.value,
668
672
  color: t.value.style.chart.color,
669
673
  hoveredUid: X.value
670
674
  }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0),
671
- P(e.$slots, "svg", { svg: L.value }, void 0, !0)
672
- ], 14, St)) : m("", !0),
673
- H.value ? (s(), R(Ft, {
675
+ P(e.$slots, "svg", { svg: D.value }, void 0, !0)
676
+ ], 14, Dt)) : m("", !0),
677
+ L.value ? (s(), F(Rt, {
674
678
  key: `direction_pad_${Q.value}`,
675
679
  color: t.value.style.chart.color,
676
680
  isFullscreen: G.value,
677
- onMoveLeft: o[1] || (o[1] = (l) => q("left")),
678
- onMoveRight: o[2] || (o[2] = (l) => q("right")),
679
- onMoveTop: o[3] || (o[3] = (l) => q("top")),
680
- onMoveBottom: o[4] || (o[4] = (l) => q("bottom")),
681
+ onMoveLeft: o[1] || (o[1] = (l) => Z("left")),
682
+ onMoveRight: o[2] || (o[2] = (l) => Z("right")),
683
+ onMoveTop: o[3] || (o[3] = (l) => Z("top")),
684
+ onMoveBottom: o[4] || (o[4] = (l) => Z("bottom")),
681
685
  onReset: o[5] || (o[5] = (l) => {
682
- ee(), H.value = !1;
686
+ ee(), L.value = !1;
683
687
  })
684
688
  }, null, 8, ["color", "isFullscreen"])) : m("", !0),
685
- e.$slots.watermark ? (s(), r("div", Nt, [
686
- P(e.$slots, "watermark", Z(J({ isPrinting: I(ve) || I(fe) })), void 0, !0)
689
+ e.$slots.watermark ? (s(), r("div", zt, [
690
+ P(e.$slots, "watermark", J(K({ isPrinting: N(fe) || N(pe) })), void 0, !0)
687
691
  ])) : m("", !0),
688
- d.value ? m("", !0) : (s(), R(gt, {
692
+ c.value ? m("", !0) : (s(), F(yt, {
689
693
  key: 5,
690
694
  config: {
691
695
  type: "molecule",
@@ -697,8 +701,8 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
697
701
  }
698
702
  }
699
703
  }, null, 8, ["config"])),
700
- N(pt, {
701
- show: w.value.showTooltip && u.value,
704
+ U(gt, {
705
+ show: w.value.showTooltip && R.value,
702
706
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
703
707
  color: t.value.style.chart.tooltip.color,
704
708
  borderRadius: t.value.style.chart.tooltip.borderRadius,
@@ -708,19 +712,19 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
708
712
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
709
713
  position: t.value.style.chart.tooltip.position,
710
714
  offsetY: t.value.style.chart.tooltip.offsetY,
711
- parent: h.value,
712
- content: T.value,
715
+ parent: B.value,
716
+ content: p.value,
713
717
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
714
718
  }, {
715
- "tooltip-before": $(() => [
716
- P(e.$slots, "tooltip-before", Z(J({ ...le.value })), void 0, !0)
719
+ "tooltip-before": C(() => [
720
+ P(e.$slots, "tooltip-before", J(K({ ...le.value })), void 0, !0)
717
721
  ]),
718
- "tooltip-after": $(() => [
719
- P(e.$slots, "tooltip-after", Z(J({ ...le.value })), void 0, !0)
722
+ "tooltip-after": C(() => [
723
+ P(e.$slots, "tooltip-after", J(K({ ...le.value })), void 0, !0)
720
724
  ]),
721
725
  _: 3
722
726
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
723
- d.value ? (s(), R(yt, {
727
+ c.value ? (s(), F(mt, {
724
728
  key: 6,
725
729
  hideDetails: "",
726
730
  config: {
@@ -736,9 +740,9 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
736
740
  }
737
741
  }
738
742
  }, {
739
- content: $(() => [
740
- (s(), R(ht, {
741
- key: `table_${ce.value}`,
743
+ content: C(() => [
744
+ (s(), F(ht, {
745
+ key: `table_${de.value}`,
742
746
  colNames: E.value.colNames,
743
747
  head: E.value.head,
744
748
  body: E.value.body,
@@ -746,23 +750,23 @@ const bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
746
750
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
747
751
  onClose: o[6] || (o[6] = (l) => w.value.showTable = !1)
748
752
  }, {
749
- th: $(({ th: l }) => [
750
- x("div", {
753
+ th: C(({ th: l }) => [
754
+ $("div", {
751
755
  innerHTML: l,
752
756
  style: { display: "flex", "align-items": "center" }
753
- }, null, 8, Ut)
757
+ }, null, 8, Bt)
754
758
  ]),
755
- td: $(({ td: l }) => [
756
- Ke(Se(l.name || l), 1)
759
+ td: C(({ td: l }) => [
760
+ Qe(Le(l.name || l), 1)
757
761
  ]),
758
762
  _: 1
759
763
  }, 8, ["colNames", "head", "body", "config", "title"]))
760
764
  ]),
761
765
  _: 1
762
766
  }, 8, ["config"])) : m("", !0)
763
- ], 46, Rt));
767
+ ], 46, St));
764
768
  }
765
- }, Wt = /* @__PURE__ */ mt(zt, [["__scopeId", "data-v-2555e7ea"]]);
769
+ }, Zt = /* @__PURE__ */ bt(Mt, [["__scopeId", "data-v-e82d69dc"]]);
766
770
  export {
767
- Wt as default
771
+ Zt as default
768
772
  };