vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -0,0 +1,798 @@
1
+ import { toRef as ue, resolveComponent as ce, openBlock as a, createElementBlock as r, Fragment as y, renderList as z, withModifiers as M, createBlock as T, createCommentVNode as m, createElementVNode as x, toDisplayString as Ae, normalizeStyle as ie, createVNode as S, computed as B, onMounted as Ke, ref as f, watch as Qe, normalizeClass as Fe, unref as N, createSlots as _e, withCtx as k, renderSlot as $, normalizeProps as W, guardReactiveProps as q, createTextVNode as et, nextTick as Re } from "vue";
2
+ import { u as tt, o as ot, e as lt, c as Se, t as at, a as nt, p as Le, b as st, X as rt, l as it, O as ut, q as ct, r as dt, x as vt, y as ft } from "./index-DnVHQ2xI.js";
3
+ import { _ as pt } from "./Title-5VmBwT4i.js";
4
+ import { u as ht, U as gt } from "./usePrinter-BEeNAqS5.js";
5
+ import { D as yt } from "./DataTable-DTk7C4Pr.js";
6
+ import { _ as mt } from "./Tooltip-Cj4EF7v1.js";
7
+ import Z from "./BaseIcon-rRli6Sfv.js";
8
+ import bt from "./vue-ui-skeleton-aZmkNzAe.js";
9
+ import kt from "./vue-ui-accordion-DspS4q3f.js";
10
+ import { u as De } from "./useNestedProp-Cox0K0Y5.js";
11
+ import { _ as Ct } from "./PackageVersion-CvCRsT5_.js";
12
+ import { P as $t } from "./PenAndPaper-Jb0pLt3G.js";
13
+ import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const wt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], Pt = {
15
+ __name: "RecursiveCircles",
16
+ props: {
17
+ color: {
18
+ type: String,
19
+ default: "#000000"
20
+ },
21
+ dataset: {
22
+ type: Array,
23
+ default: () => []
24
+ },
25
+ hoveredUid: {
26
+ type: String,
27
+ default: null
28
+ },
29
+ linkColor: {
30
+ type: String,
31
+ default: "#CCCCCC"
32
+ },
33
+ stroke: {
34
+ type: String,
35
+ default: "#FFFFFF"
36
+ },
37
+ strokeHovered: {
38
+ type: String,
39
+ default: "#000000"
40
+ }
41
+ },
42
+ emits: ["zoom", "hover"],
43
+ setup(n, { emit: C }) {
44
+ const b = n;
45
+ function c(s) {
46
+ C("zoom", s);
47
+ }
48
+ function d(s) {
49
+ C("hover", s);
50
+ }
51
+ return ue(b, "dataset").value.forEach((s) => {
52
+ s.nodes && s.nodes.length > 0 && s.nodes.forEach((v) => {
53
+ v.ancestor = s;
54
+ });
55
+ }), (s, v) => {
56
+ const R = ce("RecursiveCircles", !0);
57
+ return a(!0), r(y, null, z(n.dataset, (p) => (a(), r(y, null, [
58
+ p.polygonPath && p.polygonPath.coordinates ? (a(), r(y, { key: 0 }, [
59
+ (a(!0), r(y, null, z(p.polygonPath.coordinates, (D, J) => (a(), r("circle", {
60
+ cx: D.x,
61
+ cy: D.y,
62
+ r: p.circleRadius,
63
+ fill: `url(#gradient_${p.color})`,
64
+ stroke: n.hoveredUid && n.hoveredUid === p.uid ? n.strokeHovered : n.stroke,
65
+ "stroke-width": n.hoveredUid && n.hoveredUid === p.uid ? p.circleRadius / 6 : p.circleRadius / 12,
66
+ style: { cursor: "pointer" },
67
+ onClick: M((A) => c(p), ["stop"]),
68
+ onMouseover: (A) => d(p),
69
+ onMouseleave: v[0] || (v[0] = (A) => d(null))
70
+ }, null, 40, wt))), 256)),
71
+ p.nodes && p.nodes.length > 0 ? (a(), T(R, {
72
+ key: 0,
73
+ dataset: p.nodes,
74
+ color: n.color,
75
+ stroke: n.stroke,
76
+ strokeHovered: n.strokeHovered,
77
+ hoveredUid: n.hoveredUid,
78
+ onZoom: c,
79
+ onHover: d
80
+ }, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : m("", !0)
81
+ ], 64)) : m("", !0)
82
+ ], 64))), 256);
83
+ };
84
+ }
85
+ }, Tt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = {
86
+ __name: "RecursiveLinks",
87
+ props: {
88
+ dataset: {
89
+ type: Array,
90
+ default: () => []
91
+ },
92
+ color: {
93
+ type: String,
94
+ default: "#DDDDDD"
95
+ },
96
+ backgroundColor: {
97
+ type: String,
98
+ default: "#FFFFFF"
99
+ }
100
+ },
101
+ setup(n) {
102
+ return ue(n, "dataset").value.forEach((c) => {
103
+ c.nodes && c.nodes.length > 0 && c.nodes.forEach((d) => {
104
+ d.ancestor = c;
105
+ });
106
+ }), (c, d) => {
107
+ const L = ce("RecursiveLinks", !0);
108
+ return a(), r(y, null, [
109
+ (a(!0), r(y, null, z(n.dataset, (s) => (a(), r(y, null, [
110
+ s.polygonPath && s.polygonPath.coordinates ? (a(!0), r(y, { key: 0 }, z(s.polygonPath.coordinates, (v, R) => (a(), r(y, null, [
111
+ s.ancestor && s.ancestor.polygonPath ? (a(), r(y, { key: 0 }, [
112
+ x("line", {
113
+ x1: v.x,
114
+ y1: v.y,
115
+ x2: s.ancestor.polygonPath.coordinates[0].x,
116
+ y2: s.ancestor.polygonPath.coordinates[0].y,
117
+ stroke: n.backgroundColor,
118
+ "stroke-width": s.circleRadius / 1.5
119
+ }, null, 8, Tt),
120
+ x("line", {
121
+ x1: v.x,
122
+ y1: v.y,
123
+ x2: s.ancestor.polygonPath.coordinates[0].x,
124
+ y2: s.ancestor.polygonPath.coordinates[0].y,
125
+ stroke: n.color,
126
+ "stroke-width": s.circleRadius / 2
127
+ }, null, 8, Ft)
128
+ ], 64)) : m("", !0)
129
+ ], 64))), 256)) : m("", !0)
130
+ ], 64))), 256)),
131
+ (a(!0), r(y, null, z(n.dataset, (s) => (a(), r(y, null, [
132
+ s.polygonPath && s.polygonPath.coordinates ? (a(), r(y, { key: 0 }, [
133
+ s.nodes && s.nodes.length > 0 ? (a(), T(L, {
134
+ key: 0,
135
+ dataset: s.nodes,
136
+ color: n.color,
137
+ backgroundColor: n.backgroundColor
138
+ }, null, 8, ["dataset", "color", "backgroundColor"])) : m("", !0)
139
+ ], 64)) : m("", !0)
140
+ ], 64))), 256))
141
+ ], 64);
142
+ };
143
+ }
144
+ }, St = ["x", "y", "fill", "font-size"], Lt = {
145
+ __name: "RecursiveLabels",
146
+ props: {
147
+ color: {
148
+ type: String,
149
+ default: "#000000"
150
+ },
151
+ dataset: {
152
+ type: Array,
153
+ default: () => []
154
+ },
155
+ hoveredUid: {
156
+ type: String,
157
+ default: null
158
+ }
159
+ },
160
+ emits: ["zoom", "hover"],
161
+ setup(n, { emit: C }) {
162
+ return ue(n, "dataset").value.forEach((d) => {
163
+ d.nodes && d.nodes.length > 0 && d.nodes.forEach((L) => {
164
+ L.ancestor = d;
165
+ });
166
+ }), (d, L) => {
167
+ const s = ce("RecursiveLabels", !0);
168
+ return a(!0), r(y, null, z(n.dataset, (v) => (a(), r(y, null, [
169
+ v.polygonPath && v.polygonPath.coordinates ? (a(), r(y, { key: 0 }, [
170
+ (a(!0), r(y, null, z(v.polygonPath.coordinates, (R) => (a(), r("text", {
171
+ x: R.x,
172
+ y: R.y + v.circleRadius * 2,
173
+ fill: n.color,
174
+ "font-size": v.circleRadius,
175
+ "text-anchor": "middle",
176
+ style: { opacity: "0.8", "pointer-events": "none" }
177
+ }, Ae(v.name), 9, St))), 256)),
178
+ v.nodes && v.nodes.length > 0 ? (a(), T(s, {
179
+ key: 0,
180
+ dataset: v.nodes,
181
+ color: n.color,
182
+ hoveredUid: n.hoveredUid
183
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0)
184
+ ], 64)) : m("", !0)
185
+ ], 64))), 256);
186
+ };
187
+ }
188
+ }, Dt = { style: { position: "relative", height: "100%", width: "100%" } }, At = {
189
+ __name: "BaseDirectionPad",
190
+ props: {
191
+ color: {
192
+ type: String,
193
+ default: "#FF0000"
194
+ },
195
+ isFullscreen: {
196
+ type: Boolean,
197
+ default: !1
198
+ }
199
+ },
200
+ emits: ["moveLeft", "moveTop", "moveRight", "moveBottom", "reset"],
201
+ setup(n, { emit: C }) {
202
+ return (b, c) => (a(), r("div", {
203
+ style: ie(`position: ${n.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${n.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
204
+ "data-html2canvas-ignore": ""
205
+ }, [
206
+ x("div", Dt, [
207
+ x("button", {
208
+ onClick: c[0] || (c[0] = M((d) => C("moveLeft"), ["stop"])),
209
+ 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" }
210
+ }, [
211
+ S(Z, {
212
+ stroke: n.color,
213
+ name: "arrowLeft",
214
+ style: { cursor: "pointer" }
215
+ }, null, 8, ["stroke"])
216
+ ]),
217
+ x("button", {
218
+ onClick: c[1] || (c[1] = M((d) => C("moveTop"), ["stop"])),
219
+ 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" }
220
+ }, [
221
+ S(Z, {
222
+ stroke: n.color,
223
+ name: "arrowTop",
224
+ style: { cursor: "pointer" }
225
+ }, null, 8, ["stroke"])
226
+ ]),
227
+ x("button", {
228
+ onClick: c[2] || (c[2] = M((d) => C("moveRight"), ["stop"])),
229
+ 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" }
230
+ }, [
231
+ S(Z, {
232
+ stroke: n.color,
233
+ name: "arrowRight",
234
+ style: { cursor: "pointer" }
235
+ }, null, 8, ["stroke"])
236
+ ]),
237
+ x("button", {
238
+ onClick: c[3] || (c[3] = M((d) => C("moveBottom"), ["stop"])),
239
+ 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" }
240
+ }, [
241
+ S(Z, {
242
+ stroke: n.color,
243
+ name: "arrowBottom",
244
+ style: { cursor: "pointer" }
245
+ }, null, 8, ["stroke"])
246
+ ]),
247
+ x("button", {
248
+ onClick: c[4] || (c[4] = M((d) => C("reset"), ["stop"])),
249
+ 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" }
250
+ }, [
251
+ S(Z, {
252
+ stroke: n.color,
253
+ name: "close",
254
+ style: { cursor: "pointer" },
255
+ strokeWidth: 2
256
+ }, null, 8, ["stroke"])
257
+ ])
258
+ ])
259
+ ], 4));
260
+ }
261
+ }, It = ["id"], Ut = {
262
+ key: 1,
263
+ style: "width:100%;background:transparent;"
264
+ }, Nt = ["xmlns", "viewBox"], zt = ["id"], Ot = ["stop-color"], Bt = ["stop-color"], Mt = {
265
+ key: 5,
266
+ class: "vue-data-ui-watermark"
267
+ }, Ht = ["innerHTML"], Et = {
268
+ __name: "vue-ui-molecule",
269
+ props: {
270
+ config: {
271
+ type: Object,
272
+ default() {
273
+ return {};
274
+ }
275
+ },
276
+ dataset: {
277
+ type: Array,
278
+ default() {
279
+ return [];
280
+ }
281
+ }
282
+ },
283
+ setup(n, { expose: C }) {
284
+ const b = n, { vue_ui_molecule: c } = tt(), d = B(() => !!b.dataset && b.dataset.length);
285
+ Ke(() => {
286
+ L();
287
+ });
288
+ function L() {
289
+ ot(b.dataset) && lt({
290
+ componentName: "VueUiMolecule",
291
+ type: "dataset"
292
+ });
293
+ }
294
+ const s = f(Se()), v = f(null), R = f(!1), p = f(""), D = f(null), J = f(null), A = f(!1), w = f(null), de = f(null), _ = f(0), ve = f(0), fe = f(0), t = B({
295
+ get: () => pe(),
296
+ set: (e) => e
297
+ });
298
+ function pe() {
299
+ const e = De({
300
+ userConfig: b.config,
301
+ defaultConfig: c
302
+ });
303
+ return e.theme ? {
304
+ ...De({
305
+ userConfig: at.vue_ui_molecule[e.theme] || b.config,
306
+ defaultConfig: e
307
+ }),
308
+ customPalette: nt[e.theme] || Le
309
+ } : e;
310
+ }
311
+ Qe(() => b.config, (e) => {
312
+ t.value = pe(), L(), ve.value += 1, fe.value += 1;
313
+ }, { deep: !0 });
314
+ const { isPrinting: he, isImaging: ge, generatePdf: ye, generateImage: me } = ht({
315
+ elementId: `cluster_${s.value}`,
316
+ fileName: t.value.style.chart.title.text || "vue-ui-molecule"
317
+ }), Ie = B(() => st(t.value.customPalette)), P = f({
318
+ showTable: t.value.table.show,
319
+ showDataLabels: !0,
320
+ showTooltip: t.value.style.chart.tooltip.show
321
+ });
322
+ function be(e, l = 0) {
323
+ return Array.isArray(e) && e.length > 0 && e[0].nodes ? be(e[0].nodes, l + 1) : l;
324
+ }
325
+ function Ue() {
326
+ const e = be(b.dataset);
327
+ let l = 100, o = l;
328
+ for (let u = 0; u < e; u += 1)
329
+ l /= 1, o += l;
330
+ return {
331
+ height: o,
332
+ width: o
333
+ };
334
+ }
335
+ const I = f(Ue()), ee = f(`0 0 ${I.value.width} ${I.value.height}`);
336
+ function ke(e, l = { x: -I.value.width / 2.43, y: I.value.height / 2 }, o = I.value.width / 1.1, u = 24, i = 0, h = 0, j = "#BBBBBB") {
337
+ if (e && e.length > 0) {
338
+ const se = ut({
339
+ plot: l,
340
+ radius: o,
341
+ sides: e.length,
342
+ rotation: i
343
+ });
344
+ e.forEach((g, O) => {
345
+ const V = se.coordinates[O];
346
+ let U;
347
+ if (g.ancestor ? g.ancestor.ancestor ? U = g.ancestor.color || j : (U = Ie.value[h] || Le[h] || j, h += 1) : U = j, g.polygonPath = {
348
+ coordinates: [V]
349
+ }, g.circleRadius = u, g.color = U, g.uid = Se(), g.nodes && g.nodes.length > 0) {
350
+ const re = !g.ancestor || !g.ancestor.ancestor ? h : 0;
351
+ g.nodes = ke(
352
+ g.nodes,
353
+ V,
354
+ o / 2.9,
355
+ u / 2.2,
356
+ i + Math.PI * O / g.nodes.length,
357
+ re,
358
+ U
359
+ );
360
+ }
361
+ });
362
+ }
363
+ return e;
364
+ }
365
+ function Ne(e) {
366
+ const l = /* @__PURE__ */ new Set();
367
+ function o(i) {
368
+ i.forEach((h) => {
369
+ h.color && !l.has(h.color) && l.add(h.color), h.nodes && h.nodes.length > 0 && o(h.nodes);
370
+ });
371
+ }
372
+ o(e);
373
+ const u = {};
374
+ return Array.from(l).forEach((i, h) => {
375
+ u[i] = `gradient_${h}`;
376
+ }), u;
377
+ }
378
+ const ze = B(() => Ne(F.value)), F = B(() => ke(b.dataset));
379
+ function te() {
380
+ A.value = !1, J.value = null, de.value = null, w.value = null, le({
381
+ polygonPath: {
382
+ coordinates: [{ x: I.value.width / 2, y: I.value.height / 2 }]
383
+ },
384
+ circleRadius: 24
385
+ });
386
+ }
387
+ const oe = f(null);
388
+ function le(e) {
389
+ D.value.focus(), Re(() => {
390
+ oe.value && cancelAnimationFrame(oe.value);
391
+ const l = ee.value.split(" "), o = parseFloat(l[0]), u = parseFloat(l[1]), i = parseFloat(l[2]), h = parseFloat(l[3]), { x: j, y: se } = e.polygonPath.coordinates[0], { circleRadius: g } = e, O = 8.34, V = j - g * O, U = se - g * O, re = g * O * 2, Ve = g * O * 2, Ye = Math.sqrt((V - o) ** 2 + (U - u) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(Ye / 10))), We = (V - o) / Y, qe = (U - u) / Y, Ze = (re - i) / Y, Je = (Ve - h) / Y;
392
+ let E = 0;
393
+ function Te() {
394
+ ee.value = `${o + We * E} ${u + qe * E} ${i + Ze * E} ${h + Je * E}`, E += t.value.style.chart.zoom.speed, E <= Y && (oe.value = requestAnimationFrame(Te));
395
+ }
396
+ Te();
397
+ });
398
+ }
399
+ function Oe(e) {
400
+ J.value === e.uid ? te() : (J.value = e.uid, de.value = e, w.value = {
401
+ circleRadius: e.circleRadius,
402
+ polygonPath: {
403
+ coordinates: [{ x: e.polygonPath.coordinates[0].x, y: e.polygonPath.coordinates[0].y }]
404
+ }
405
+ }, le(e), A.value = e.uid !== F.value[0].uid);
406
+ }
407
+ function Be(e) {
408
+ if (e.target.nodeName !== "circle")
409
+ te(), A.value = !1;
410
+ else
411
+ return;
412
+ }
413
+ const ae = f(null);
414
+ function Me(e) {
415
+ ae.value = {
416
+ datapoint: e,
417
+ seriesIndex: -1,
418
+ series: F.value,
419
+ config: t.value
420
+ };
421
+ const l = t.value.style.chart.tooltip.customFormat;
422
+ if (vt(l) && ft(() => l({
423
+ seriesIndex: -1,
424
+ datapoint: e,
425
+ series: F.value,
426
+ config: t.value
427
+ })))
428
+ p.value = l({
429
+ seriesIndex: -1,
430
+ // well, ok
431
+ datapoint: e,
432
+ series: F.value,
433
+ config: t.value
434
+ });
435
+ else {
436
+ let o = "";
437
+ o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (o += `<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">${o}</div>`;
438
+ }
439
+ }
440
+ const Ce = f(null), X = f(null);
441
+ function He(e) {
442
+ Ce.value = e, e ? (R.value = !0, Me(e), X.value = e.uid) : (R.value = !1, p.value = "", X.value = null);
443
+ }
444
+ function K(e) {
445
+ e === "right" && (w.value.polygonPath.coordinates[0].x += w.value.circleRadius), e === "left" && (w.value.polygonPath.coordinates[0].x -= w.value.circleRadius), e === "top" && (w.value.polygonPath.coordinates[0].y -= w.value.circleRadius), e === "bottom" && (w.value.polygonPath.coordinates[0].y += w.value.circleRadius), le(w.value);
446
+ }
447
+ function Ee(e) {
448
+ const l = [];
449
+ function o(u) {
450
+ u.forEach((i) => {
451
+ const h = {
452
+ name: i.name,
453
+ details: i.details || "-",
454
+ ancestor: i.ancestor && i.ancestor.name || "-",
455
+ color: i.color || ""
456
+ };
457
+ l.push(h), i.nodes && i.nodes.length > 0 && o(i.nodes, i.name);
458
+ });
459
+ }
460
+ return o(e), l;
461
+ }
462
+ const Xe = B(() => Ee(F.value)), H = B(() => {
463
+ const e = [
464
+ t.value.table.translations.nodeName,
465
+ t.value.table.translations.details,
466
+ t.value.table.translations.ancestor
467
+ ], l = Xe.value.map((i, h) => [
468
+ {
469
+ color: i.color,
470
+ name: i.name
471
+ },
472
+ i.details,
473
+ i.ancestor || ""
474
+ ]), o = {
475
+ th: {
476
+ backgroundColor: t.value.table.th.backgroundColor,
477
+ color: t.value.table.th.color,
478
+ outline: t.value.table.th.outline
479
+ },
480
+ td: {
481
+ backgroundColor: t.value.table.td.backgroundColor,
482
+ color: t.value.table.td.color,
483
+ outline: t.value.table.td.outline
484
+ },
485
+ breakpoint: t.value.table.responsiveBreakpoint
486
+ }, u = [
487
+ t.value.table.translations.nodeName,
488
+ t.value.table.translations.details,
489
+ t.value.table.translations.ancestor
490
+ ];
491
+ return {
492
+ head: e,
493
+ body: l,
494
+ config: o,
495
+ colNames: u
496
+ };
497
+ });
498
+ function $e() {
499
+ Re(() => {
500
+ const e = H.value.body.map((u, i) => [[u[0].name], [u[1]], [u[2]]]), l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...H.value.head]]].concat(e), o = ct(l);
501
+ dt({ csvContent: o, title: t.value.style.chart.title.text || "vue-ui-molecule" });
502
+ });
503
+ }
504
+ function Ge() {
505
+ return F.value;
506
+ }
507
+ const G = f(!1);
508
+ function je(e) {
509
+ G.value = e, _.value += 1;
510
+ }
511
+ function xe() {
512
+ P.value.showTable = !P.value.showTable;
513
+ }
514
+ function we() {
515
+ P.value.showDataLabels = !P.value.showDataLabels;
516
+ }
517
+ function Pe() {
518
+ P.value.showTooltip = !P.value.showTooltip;
519
+ }
520
+ const Q = f(!1);
521
+ function ne() {
522
+ Q.value = !Q.value;
523
+ }
524
+ return C({
525
+ getData: Ge,
526
+ generatePdf: ye,
527
+ generateCsv: $e,
528
+ generateImage: me,
529
+ toggleTable: xe,
530
+ toggleLabels: we,
531
+ toggleTooltip: Pe,
532
+ toggleAnnotator: ne
533
+ }), (e, l) => (a(), r("div", {
534
+ onMouseleave: l[7] || (l[7] = (o) => {
535
+ Ce.value = null, X.value = null;
536
+ }),
537
+ ref_key: "moleculeChart",
538
+ ref: D,
539
+ class: Fe(`vue-ui-molecule ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
540
+ style: ie(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
541
+ id: `cluster_${s.value}`
542
+ }, [
543
+ t.value.userOptions.buttons.annotator ? (a(), T($t, {
544
+ key: 0,
545
+ parent: D.value,
546
+ backgroundColor: t.value.style.chart.backgroundColor,
547
+ color: t.value.style.chart.color,
548
+ active: Q.value,
549
+ onClose: ne
550
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
551
+ t.value.style.chart.title.text ? (a(), r("div", Ut, [
552
+ (a(), T(pt, {
553
+ key: `title_${ve.value}`,
554
+ config: {
555
+ title: {
556
+ cy: "molecule-div-title",
557
+ ...t.value.style.chart.title
558
+ },
559
+ subtitle: {
560
+ cy: "molecule-div-subtitle",
561
+ ...t.value.style.chart.title.subtitle
562
+ }
563
+ }
564
+ }, null, 8, ["config"]))
565
+ ])) : m("", !0),
566
+ t.value.userOptions.show && d.value ? (a(), T(gt, {
567
+ ref_key: "details",
568
+ ref: v,
569
+ key: `user_options_${_.value}`,
570
+ backgroundColor: t.value.style.chart.backgroundColor,
571
+ color: t.value.style.chart.color,
572
+ isPrinting: N(he),
573
+ isImaging: N(ge),
574
+ uid: s.value,
575
+ hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
576
+ hasPdf: t.value.userOptions.buttons.pdf,
577
+ hasXls: t.value.userOptions.buttons.csv,
578
+ hasImg: t.value.userOptions.buttons.img,
579
+ hasTable: t.value.userOptions.buttons.table,
580
+ hasLabel: t.value.userOptions.buttons.labels,
581
+ hasFullscreen: t.value.userOptions.buttons.fullscreen,
582
+ isTooltip: P.value.showTooltip,
583
+ titles: { ...t.value.userOptions.buttonTitles },
584
+ chartElement: D.value,
585
+ position: t.value.userOptions.position,
586
+ hasAnnotator: t.value.userOptions.buttons.annotator,
587
+ isAnnotation: Q.value,
588
+ onToggleFullscreen: je,
589
+ onGeneratePdf: N(ye),
590
+ onGenerateCsv: $e,
591
+ onGenerateImage: N(me),
592
+ onToggleTable: xe,
593
+ onToggleLabels: we,
594
+ onToggleTooltip: Pe,
595
+ onToggleAnnotator: ne
596
+ }, _e({ _: 2 }, [
597
+ e.$slots.optionTooltip ? {
598
+ name: "optionTooltip",
599
+ fn: k(() => [
600
+ $(e.$slots, "optionTooltip", {}, void 0, !0)
601
+ ]),
602
+ key: "0"
603
+ } : void 0,
604
+ e.$slots.optionPdf ? {
605
+ name: "optionPdf",
606
+ fn: k(() => [
607
+ $(e.$slots, "optionPdf", {}, void 0, !0)
608
+ ]),
609
+ key: "1"
610
+ } : void 0,
611
+ e.$slots.optionCsv ? {
612
+ name: "optionCsv",
613
+ fn: k(() => [
614
+ $(e.$slots, "optionCsv", {}, void 0, !0)
615
+ ]),
616
+ key: "2"
617
+ } : void 0,
618
+ e.$slots.optionImg ? {
619
+ name: "optionImg",
620
+ fn: k(() => [
621
+ $(e.$slots, "optionImg", {}, void 0, !0)
622
+ ]),
623
+ key: "3"
624
+ } : void 0,
625
+ e.$slots.optionTable ? {
626
+ name: "optionTable",
627
+ fn: k(() => [
628
+ $(e.$slots, "optionTable", {}, void 0, !0)
629
+ ]),
630
+ key: "4"
631
+ } : void 0,
632
+ e.$slots.optionLabels ? {
633
+ name: "optionLabels",
634
+ fn: k(() => [
635
+ $(e.$slots, "optionLabels", {}, void 0, !0)
636
+ ]),
637
+ key: "5"
638
+ } : void 0,
639
+ e.$slots.optionFullscreen ? {
640
+ name: "optionFullscreen",
641
+ fn: k(({ toggleFullscreen: o, isFullscreen: u }) => [
642
+ $(e.$slots, "optionFullscreen", W(q({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
643
+ ]),
644
+ key: "6"
645
+ } : void 0,
646
+ e.$slots.optionAnnotator ? {
647
+ name: "optionAnnotator",
648
+ fn: k(({ toggleAnnotator: o, isAnnotator: u }) => [
649
+ $(e.$slots, "optionAnnotator", W(q({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
650
+ ]),
651
+ key: "7"
652
+ } : void 0
653
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
654
+ d.value ? (a(), r("svg", {
655
+ key: 3,
656
+ xmlns: N(rt),
657
+ viewBox: ee.value,
658
+ class: Fe({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
659
+ style: ie(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
660
+ onClick: l[0] || (l[0] = M((o) => Be(o), ["stop"]))
661
+ }, [
662
+ S(Ct),
663
+ x("defs", null, [
664
+ (a(!0), r(y, null, z(Object.keys(ze.value), (o) => (a(), r("radialGradient", {
665
+ id: `gradient_${o}`,
666
+ cx: "50%",
667
+ cy: "30%",
668
+ r: "50%",
669
+ fx: "50%",
670
+ fy: "50%"
671
+ }, [
672
+ x("stop", {
673
+ offset: "0%",
674
+ "stop-color": N(it)(o, 0.5)
675
+ }, null, 8, Ot),
676
+ x("stop", {
677
+ offset: "100%",
678
+ "stop-color": o
679
+ }, null, 8, Bt)
680
+ ], 8, zt))), 256))
681
+ ]),
682
+ S(Rt, {
683
+ dataset: F.value,
684
+ color: t.value.style.chart.links.stroke,
685
+ backgroundColor: t.value.style.chart.backgroundColor
686
+ }, null, 8, ["dataset", "color", "backgroundColor"]),
687
+ S(Pt, {
688
+ dataset: F.value,
689
+ hoveredUid: X.value,
690
+ stroke: t.value.style.chart.nodes.stroke,
691
+ strokeHovered: t.value.style.chart.nodes.strokeHovered,
692
+ onZoom: Oe,
693
+ onHover: He
694
+ }, null, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
695
+ P.value.showDataLabels ? (a(), T(Lt, {
696
+ key: 0,
697
+ dataset: F.value,
698
+ color: t.value.style.chart.color,
699
+ hoveredUid: X.value
700
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0),
701
+ $(e.$slots, "svg", { svg: I.value }, void 0, !0)
702
+ ], 14, Nt)) : m("", !0),
703
+ A.value ? (a(), T(At, {
704
+ key: `direction_pad_${_.value}`,
705
+ color: t.value.style.chart.color,
706
+ isFullscreen: G.value,
707
+ onMoveLeft: l[1] || (l[1] = (o) => K("left")),
708
+ onMoveRight: l[2] || (l[2] = (o) => K("right")),
709
+ onMoveTop: l[3] || (l[3] = (o) => K("top")),
710
+ onMoveBottom: l[4] || (l[4] = (o) => K("bottom")),
711
+ onReset: l[5] || (l[5] = (o) => {
712
+ te(), A.value = !1;
713
+ })
714
+ }, null, 8, ["color", "isFullscreen"])) : m("", !0),
715
+ e.$slots.watermark ? (a(), r("div", Mt, [
716
+ $(e.$slots, "watermark", W(q({ isPrinting: N(he) || N(ge) })), void 0, !0)
717
+ ])) : m("", !0),
718
+ d.value ? m("", !0) : (a(), T(bt, {
719
+ key: 6,
720
+ config: {
721
+ type: "molecule",
722
+ style: {
723
+ backgroundColor: t.value.style.chart.backgroundColor,
724
+ molecule: {
725
+ color: "#CCCCCC"
726
+ }
727
+ }
728
+ }
729
+ }, null, 8, ["config"])),
730
+ S(mt, {
731
+ show: P.value.showTooltip && R.value,
732
+ backgroundColor: t.value.style.chart.tooltip.backgroundColor,
733
+ color: t.value.style.chart.tooltip.color,
734
+ borderRadius: t.value.style.chart.tooltip.borderRadius,
735
+ borderColor: t.value.style.chart.tooltip.borderColor,
736
+ borderWidth: t.value.style.chart.tooltip.borderWidth,
737
+ fontSize: t.value.style.chart.tooltip.fontSize,
738
+ backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
739
+ position: t.value.style.chart.tooltip.position,
740
+ offsetY: t.value.style.chart.tooltip.offsetY,
741
+ parent: D.value,
742
+ content: p.value,
743
+ isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
744
+ }, {
745
+ "tooltip-before": k(() => [
746
+ $(e.$slots, "tooltip-before", W(q({ ...ae.value })), void 0, !0)
747
+ ]),
748
+ "tooltip-after": k(() => [
749
+ $(e.$slots, "tooltip-after", W(q({ ...ae.value })), void 0, !0)
750
+ ]),
751
+ _: 3
752
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
753
+ d.value ? (a(), T(kt, {
754
+ key: 7,
755
+ hideDetails: "",
756
+ config: {
757
+ open: P.value.showTable,
758
+ maxHeight: 1e4,
759
+ body: {
760
+ backgroundColor: t.value.style.chart.backgroundColor,
761
+ color: t.value.style.chart.color
762
+ },
763
+ head: {
764
+ backgroundColor: t.value.style.chart.backgroundColor,
765
+ color: t.value.style.chart.color
766
+ }
767
+ }
768
+ }, {
769
+ content: k(() => [
770
+ (a(), T(yt, {
771
+ key: `table_${fe.value}`,
772
+ colNames: H.value.colNames,
773
+ head: H.value.head,
774
+ body: H.value.body,
775
+ config: H.value.config,
776
+ title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
777
+ onClose: l[6] || (l[6] = (o) => P.value.showTable = !1)
778
+ }, {
779
+ th: k(({ th: o }) => [
780
+ x("div", {
781
+ innerHTML: o,
782
+ style: { display: "flex", "align-items": "center" }
783
+ }, null, 8, Ht)
784
+ ]),
785
+ td: k(({ td: o }) => [
786
+ et(Ae(o.name || o), 1)
787
+ ]),
788
+ _: 1
789
+ }, 8, ["colNames", "head", "body", "config", "title"]))
790
+ ]),
791
+ _: 1
792
+ }, 8, ["config"])) : m("", !0)
793
+ ], 46, It));
794
+ }
795
+ }, to = /* @__PURE__ */ xt(Et, [["__scopeId", "data-v-900f33cd"]]);
796
+ export {
797
+ to as default
798
+ };