vue-data-ui 2.4.57 → 2.4.59

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,15 +1,15 @@
1
- import { toRef as ce, resolveComponent as de, openBlock as a, createElementBlock as r, Fragment as m, renderList as z, withModifiers as M, createBlock as F, createCommentVNode as y, createElementVNode as w, toDisplayString as Ie, normalizeStyle as _, createVNode as O, computed as N, onMounted as tt, ref as f, watch as ot, normalizeClass as Oe, unref as b, createSlots as lt, withCtx as C, renderSlot as $, normalizeProps as W, guardReactiveProps as q, createTextVNode as at, nextTick as Le } from "vue";
2
- import { u as nt, o as st, e as rt, c as Ue, t as it, a as ut, p as De, b as ct, X as dt, l as vt, O as ft, q as pt, r as ht, x as gt, y as yt } from "./index-CI-N9klv.js";
3
- import { _ as mt } from "./Title-DLjHHdyq.js";
4
- import { u as bt, U as kt } from "./usePrinter-CXc8xCKk.js";
5
- import { D as Ct } from "./DataTable-DgbrnD__.js";
6
- import { _ as $t } from "./Tooltip-BDaa-67h.js";
7
- import Z from "./BaseIcon-9gdEHMWK.js";
8
- import xt from "./vue-ui-skeleton-owIhXtQF.js";
9
- import wt from "./vue-ui-accordion-CYLks1fW.js";
10
- import { u as Ae } from "./useNestedProp-D1eJ0dvv.js";
11
- import { _ as Pt } from "./PackageVersion-S3SzpuwC.js";
12
- import { P as Tt } from "./PenAndPaper-v846FwcH.js";
1
+ import { toRef as ce, resolveComponent as de, openBlock as a, createElementBlock as r, Fragment as m, renderList as z, withModifiers as M, createBlock as R, createCommentVNode as h, createElementVNode as P, toDisplayString as Ie, normalizeStyle as _, createVNode as L, computed as N, onMounted as tt, ref as f, watch as ot, normalizeClass as Oe, unref as b, createSlots as lt, withCtx as $, renderSlot as k, normalizeProps as W, guardReactiveProps as q, createTextVNode as at, nextTick as Le } from "vue";
2
+ import { u as nt, o as st, e as rt, c as Ue, t as it, a as ut, p as De, b as ct, X as dt, l as vt, O as ft, q as ht, r as pt, x as gt, y as yt } from "./index-B9RAElpI.js";
3
+ import { _ as mt } from "./Title-zZtEcB9F.js";
4
+ import { u as bt, U as kt } from "./usePrinter-CwTAwqtF.js";
5
+ import { D as Ct } from "./DataTable-CFUKU8PU.js";
6
+ import { _ as $t } from "./Tooltip-DDJ2Wvjy.js";
7
+ import Z from "./BaseIcon-BbU81zOd.js";
8
+ import wt from "./vue-ui-skeleton-DVYD_VSe.js";
9
+ import xt from "./vue-ui-accordion-rNA598L6.js";
10
+ import { u as Ae } from "./useNestedProp-DuruL3Nt.js";
11
+ import { _ as Pt } from "./PackageVersion-C_FFs0BP.js";
12
+ import { P as Tt } from "./PenAndPaper-Dx24BtRW.js";
13
13
  import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], Ot = {
@@ -41,35 +41,35 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
41
41
  }
42
42
  },
43
43
  emits: ["zoom", "hover"],
44
- setup(n, { emit: x }) {
45
- const k = n;
44
+ setup(n, { emit: w }) {
45
+ const C = n;
46
46
  function c(s) {
47
- x("zoom", s);
47
+ w("zoom", s);
48
48
  }
49
49
  function d(s) {
50
- x("hover", s);
50
+ w("hover", s);
51
51
  }
52
- return ce(k, "dataset").value.forEach((s) => {
52
+ return ce(C, "dataset").value.forEach((s) => {
53
53
  s.nodes && s.nodes.length > 0 && s.nodes.forEach((v) => {
54
54
  v.ancestor = s;
55
55
  });
56
56
  }), (s, v) => {
57
- const S = de("RecursiveCircles", !0);
57
+ const O = de("RecursiveCircles", !0);
58
58
  return a(!0), r(m, null, z(n.dataset, (p) => (a(), r(m, null, [
59
59
  p.polygonPath && p.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
60
- (a(!0), r(m, null, z(p.polygonPath.coordinates, (U, J) => (a(), r("circle", {
61
- cx: U.x,
62
- cy: U.y,
60
+ (a(!0), r(m, null, z(p.polygonPath.coordinates, (D, J) => (a(), r("circle", {
61
+ cx: D.x,
62
+ cy: D.y,
63
63
  r: p.circleRadius,
64
64
  fill: `url(#gradient_${p.color})`,
65
65
  stroke: n.hoveredUid && n.hoveredUid === p.uid ? n.strokeHovered : n.stroke,
66
66
  "stroke-width": n.hoveredUid && n.hoveredUid === p.uid ? p.circleRadius / 6 : p.circleRadius / 12,
67
67
  style: { cursor: "pointer" },
68
- onClick: M((D) => c(p), ["stop"]),
69
- onMouseover: (D) => d(p),
70
- onMouseleave: v[0] || (v[0] = (D) => d(null))
68
+ onClick: M((A) => c(p), ["stop"]),
69
+ onMouseover: (A) => d(p),
70
+ onMouseleave: v[0] || (v[0] = (A) => d(null))
71
71
  }, null, 40, St))), 256)),
72
- p.nodes && p.nodes.length > 0 ? (a(), F(S, {
72
+ p.nodes && p.nodes.length > 0 ? (a(), R(O, {
73
73
  key: 0,
74
74
  dataset: p.nodes,
75
75
  color: n.color,
@@ -78,8 +78,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
78
78
  hoveredUid: n.hoveredUid,
79
79
  onZoom: c,
80
80
  onHover: d
81
- }, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : y("", !0)
82
- ], 64)) : y("", !0)
81
+ }, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : h("", !0)
82
+ ], 64)) : h("", !0)
83
83
  ], 64))), 256);
84
84
  };
85
85
  }
@@ -105,12 +105,12 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
105
105
  d.ancestor = c;
106
106
  });
107
107
  }), (c, d) => {
108
- const L = de("RecursiveLinks", !0);
108
+ const U = de("RecursiveLinks", !0);
109
109
  return a(), r(m, null, [
110
110
  (a(!0), r(m, null, z(n.dataset, (s) => (a(), r(m, null, [
111
- s.polygonPath && s.polygonPath.coordinates ? (a(!0), r(m, { key: 0 }, z(s.polygonPath.coordinates, (v, S) => (a(), r(m, null, [
111
+ s.polygonPath && s.polygonPath.coordinates ? (a(!0), r(m, { key: 0 }, z(s.polygonPath.coordinates, (v, O) => (a(), r(m, null, [
112
112
  s.ancestor && s.ancestor.polygonPath ? (a(), r(m, { key: 0 }, [
113
- w("line", {
113
+ P("line", {
114
114
  x1: v.x,
115
115
  y1: v.y,
116
116
  x2: s.ancestor.polygonPath.coordinates[0].x,
@@ -118,7 +118,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
118
118
  stroke: n.backgroundColor,
119
119
  "stroke-width": s.circleRadius / 1.5
120
120
  }, null, 8, Lt),
121
- w("line", {
121
+ P("line", {
122
122
  x1: v.x,
123
123
  y1: v.y,
124
124
  x2: s.ancestor.polygonPath.coordinates[0].x,
@@ -126,18 +126,18 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
126
126
  stroke: n.color,
127
127
  "stroke-width": s.circleRadius / 2
128
128
  }, null, 8, Ut)
129
- ], 64)) : y("", !0)
130
- ], 64))), 256)) : y("", !0)
129
+ ], 64)) : h("", !0)
130
+ ], 64))), 256)) : h("", !0)
131
131
  ], 64))), 256)),
132
132
  (a(!0), r(m, null, z(n.dataset, (s) => (a(), r(m, null, [
133
133
  s.polygonPath && s.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
134
- s.nodes && s.nodes.length > 0 ? (a(), F(L, {
134
+ s.nodes && s.nodes.length > 0 ? (a(), R(U, {
135
135
  key: 0,
136
136
  dataset: s.nodes,
137
137
  color: n.color,
138
138
  backgroundColor: n.backgroundColor
139
- }, null, 8, ["dataset", "color", "backgroundColor"])) : y("", !0)
140
- ], 64)) : y("", !0)
139
+ }, null, 8, ["dataset", "color", "backgroundColor"])) : h("", !0)
140
+ ], 64)) : h("", !0)
141
141
  ], 64))), 256))
142
142
  ], 64);
143
143
  };
@@ -159,30 +159,30 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
159
159
  }
160
160
  },
161
161
  emits: ["zoom", "hover"],
162
- setup(n, { emit: x }) {
162
+ setup(n, { emit: w }) {
163
163
  return ce(n, "dataset").value.forEach((d) => {
164
- d.nodes && d.nodes.length > 0 && d.nodes.forEach((L) => {
165
- L.ancestor = d;
164
+ d.nodes && d.nodes.length > 0 && d.nodes.forEach((U) => {
165
+ U.ancestor = d;
166
166
  });
167
- }), (d, L) => {
167
+ }), (d, U) => {
168
168
  const s = de("RecursiveLabels", !0);
169
169
  return a(!0), r(m, null, z(n.dataset, (v) => (a(), r(m, null, [
170
170
  v.polygonPath && v.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
171
- (a(!0), r(m, null, z(v.polygonPath.coordinates, (S) => (a(), r("text", {
172
- x: S.x,
173
- y: S.y + v.circleRadius * 2,
171
+ (a(!0), r(m, null, z(v.polygonPath.coordinates, (O) => (a(), r("text", {
172
+ x: O.x,
173
+ y: O.y + v.circleRadius * 2,
174
174
  fill: n.color,
175
175
  "font-size": v.circleRadius,
176
176
  "text-anchor": "middle",
177
177
  style: { opacity: "0.8", "pointer-events": "none" }
178
178
  }, Ie(v.name), 9, At))), 256)),
179
- v.nodes && v.nodes.length > 0 ? (a(), F(s, {
179
+ v.nodes && v.nodes.length > 0 ? (a(), R(s, {
180
180
  key: 0,
181
181
  dataset: v.nodes,
182
182
  color: n.color,
183
183
  hoveredUid: n.hoveredUid
184
- }, null, 8, ["dataset", "color", "hoveredUid"])) : y("", !0)
185
- ], 64)) : y("", !0)
184
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : h("", !0)
185
+ ], 64)) : h("", !0)
186
186
  ], 64))), 256);
187
187
  };
188
188
  }
@@ -199,57 +199,57 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
199
199
  }
200
200
  },
201
201
  emits: ["moveLeft", "moveTop", "moveRight", "moveBottom", "reset"],
202
- setup(n, { emit: x }) {
203
- return (k, c) => (a(), r("div", {
202
+ setup(n, { emit: w }) {
203
+ return (C, c) => (a(), r("div", {
204
204
  style: _(`position: ${n.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${n.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
205
205
  "data-html2canvas-ignore": ""
206
206
  }, [
207
- w("div", Nt, [
208
- w("button", {
209
- onClick: c[0] || (c[0] = M((d) => x("moveLeft"), ["stop"])),
207
+ P("div", Nt, [
208
+ P("button", {
209
+ onClick: c[0] || (c[0] = M((d) => w("moveLeft"), ["stop"])),
210
210
  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" }
211
211
  }, [
212
- O(Z, {
212
+ L(Z, {
213
213
  stroke: n.color,
214
214
  name: "arrowLeft",
215
215
  style: { cursor: "pointer" }
216
216
  }, null, 8, ["stroke"])
217
217
  ]),
218
- w("button", {
219
- onClick: c[1] || (c[1] = M((d) => x("moveTop"), ["stop"])),
218
+ P("button", {
219
+ onClick: c[1] || (c[1] = M((d) => w("moveTop"), ["stop"])),
220
220
  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" }
221
221
  }, [
222
- O(Z, {
222
+ L(Z, {
223
223
  stroke: n.color,
224
224
  name: "arrowTop",
225
225
  style: { cursor: "pointer" }
226
226
  }, null, 8, ["stroke"])
227
227
  ]),
228
- w("button", {
229
- onClick: c[2] || (c[2] = M((d) => x("moveRight"), ["stop"])),
228
+ P("button", {
229
+ onClick: c[2] || (c[2] = M((d) => w("moveRight"), ["stop"])),
230
230
  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" }
231
231
  }, [
232
- O(Z, {
232
+ L(Z, {
233
233
  stroke: n.color,
234
234
  name: "arrowRight",
235
235
  style: { cursor: "pointer" }
236
236
  }, null, 8, ["stroke"])
237
237
  ]),
238
- w("button", {
239
- onClick: c[3] || (c[3] = M((d) => x("moveBottom"), ["stop"])),
238
+ P("button", {
239
+ onClick: c[3] || (c[3] = M((d) => w("moveBottom"), ["stop"])),
240
240
  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" }
241
241
  }, [
242
- O(Z, {
242
+ L(Z, {
243
243
  stroke: n.color,
244
244
  name: "arrowBottom",
245
245
  style: { cursor: "pointer" }
246
246
  }, null, 8, ["stroke"])
247
247
  ]),
248
- w("button", {
249
- onClick: c[4] || (c[4] = M((d) => x("reset"), ["stop"])),
248
+ P("button", {
249
+ onClick: c[4] || (c[4] = M((d) => w("reset"), ["stop"])),
250
250
  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" }
251
251
  }, [
252
- O(Z, {
252
+ L(Z, {
253
253
  stroke: n.color,
254
254
  name: "close",
255
255
  style: { cursor: "pointer" },
@@ -267,14 +267,14 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
267
267
  }, Ht = {
268
268
  key: 2,
269
269
  style: "width:100%;background:transparent;"
270
- }, Et = ["xmlns", "viewBox"], Vt = ["id"], Xt = ["stop-color"], Gt = ["stop-color"], jt = {
270
+ }, Et = ["xmlns", "viewBox"], Vt = ["width", "height"], Xt = ["id"], jt = ["stop-color"], Gt = ["stop-color"], Yt = {
271
271
  key: 6,
272
272
  class: "vue-data-ui-watermark"
273
- }, Yt = {
273
+ }, Wt = {
274
274
  key: 8,
275
275
  ref: "source",
276
276
  dir: "auto"
277
- }, Wt = ["innerHTML"], qt = {
277
+ }, qt = ["innerHTML"], Zt = {
278
278
  __name: "vue-ui-molecule",
279
279
  props: {
280
280
  config: {
@@ -290,41 +290,41 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
290
290
  }
291
291
  }
292
292
  },
293
- setup(n, { expose: x }) {
294
- const k = n, { vue_ui_molecule: c } = nt(), d = N(() => !!k.dataset && k.dataset.length);
293
+ setup(n, { expose: w }) {
294
+ const C = n, { vue_ui_molecule: c } = nt(), d = N(() => !!C.dataset && C.dataset.length);
295
295
  tt(() => {
296
- L();
296
+ U();
297
297
  });
298
- function L() {
299
- st(k.dataset) && rt({
298
+ function U() {
299
+ st(C.dataset) && rt({
300
300
  componentName: "VueUiMolecule",
301
301
  type: "dataset"
302
302
  });
303
303
  }
304
- const s = f(Ue()), v = f(null), S = f(!1), p = f(""), U = f(null), J = f(null), D = f(!1), P = f(null), ve = f(null), ee = f(0), fe = f(0), pe = f(0), t = N({
304
+ const s = f(Ue()), v = f(null), O = f(!1), p = f(""), D = f(null), J = f(null), A = f(!1), T = f(null), ve = f(null), ee = f(0), fe = f(0), he = f(0), t = N({
305
305
  get: () => ye(),
306
306
  set: (e) => e
307
- }), { userOptionsVisible: te, setUserOptionsVisibility: he, keepUserOptionState: ge } = Ft({ config: t.value });
307
+ }), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: ge } = Ft({ config: t.value });
308
308
  function ye() {
309
309
  const e = Ae({
310
- userConfig: k.config,
310
+ userConfig: C.config,
311
311
  defaultConfig: c
312
312
  });
313
313
  return e.theme ? {
314
314
  ...Ae({
315
- userConfig: it.vue_ui_molecule[e.theme] || k.config,
315
+ userConfig: it.vue_ui_molecule[e.theme] || C.config,
316
316
  defaultConfig: e
317
317
  }),
318
318
  customPalette: ut[e.theme] || De
319
319
  } : e;
320
320
  }
321
- ot(() => k.config, (e) => {
322
- t.value = ye(), te.value = !t.value.showOnChartHover, L(), fe.value += 1, pe.value += 1;
321
+ ot(() => C.config, (e) => {
322
+ t.value = ye(), te.value = !t.value.showOnChartHover, U(), fe.value += 1, he.value += 1;
323
323
  }, { deep: !0 });
324
324
  const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = bt({
325
325
  elementId: `cluster_${s.value}`,
326
326
  fileName: t.value.style.chart.title.text || "vue-ui-molecule"
327
- }), Ne = N(() => t.value.userOptions.show && !t.value.style.chart.title.text), ze = N(() => ct(t.value.customPalette)), T = f({
327
+ }), Ne = N(() => t.value.userOptions.show && !t.value.style.chart.title.text), ze = N(() => ct(t.value.customPalette)), F = f({
328
328
  showTable: t.value.table.show,
329
329
  showDataLabels: !0,
330
330
  showTooltip: t.value.style.chart.tooltip.show
@@ -333,7 +333,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
333
333
  return Array.isArray(e) && e.length > 0 && e[0].nodes ? $e(e[0].nodes, o + 1) : o;
334
334
  }
335
335
  function Be() {
336
- const e = $e(k.dataset);
336
+ const e = $e(C.dataset);
337
337
  let o = 100, l = o;
338
338
  for (let u = 0; u < e; u += 1)
339
339
  o /= 1, l += o;
@@ -342,8 +342,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
342
342
  width: l
343
343
  };
344
344
  }
345
- const A = f(Be()), oe = f(`0 0 ${A.value.width} ${A.value.height}`);
346
- function xe(e, o = { x: -A.value.width / 2.43, y: A.value.height / 2 }, l = A.value.width / 1.1, u = 24, i = 0, h = 0, G = "#BBBBBB") {
345
+ const x = f(Be()), oe = f(`0 0 ${x.value.width} ${x.value.height}`);
346
+ function we(e, o = { x: -x.value.width / 2.43, y: x.value.height / 2 }, l = x.value.width / 1.1, u = 24, i = 0, g = 0, j = "#BBBBBB") {
347
347
  if (e && e.length > 0) {
348
348
  const ie = ft({
349
349
  plot: o,
@@ -351,19 +351,19 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
351
351
  sides: e.length,
352
352
  rotation: i
353
353
  });
354
- e.forEach((g, B) => {
355
- const j = ie.coordinates[B];
354
+ e.forEach((y, B) => {
355
+ const G = ie.coordinates[B];
356
356
  let I;
357
- if (g.ancestor ? g.ancestor.ancestor ? I = g.ancestor.color || G : (I = ze.value[h] || De[h] || G, h += 1) : I = G, g.polygonPath = {
358
- coordinates: [j]
359
- }, g.circleRadius = u, g.color = I, g.uid = Ue(), g.nodes && g.nodes.length > 0) {
360
- const ue = !g.ancestor || !g.ancestor.ancestor ? h : 0;
361
- g.nodes = xe(
362
- g.nodes,
363
- j,
357
+ if (y.ancestor ? y.ancestor.ancestor ? I = y.ancestor.color || j : (I = ze.value[g] || De[g] || j, g += 1) : I = j, y.polygonPath = {
358
+ coordinates: [G]
359
+ }, y.circleRadius = u, y.color = I, y.uid = Ue(), y.nodes && y.nodes.length > 0) {
360
+ const ue = !y.ancestor || !y.ancestor.ancestor ? g : 0;
361
+ y.nodes = we(
362
+ y.nodes,
363
+ G,
364
364
  l / 2.9,
365
365
  u / 2.2,
366
- i + Math.PI * B / g.nodes.length,
366
+ i + Math.PI * B / y.nodes.length,
367
367
  ue,
368
368
  I
369
369
  );
@@ -375,48 +375,48 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
375
375
  function Me(e) {
376
376
  const o = /* @__PURE__ */ new Set();
377
377
  function l(i) {
378
- i.forEach((h) => {
379
- h.color && !o.has(h.color) && o.add(h.color), h.nodes && h.nodes.length > 0 && l(h.nodes);
378
+ i.forEach((g) => {
379
+ g.color && !o.has(g.color) && o.add(g.color), g.nodes && g.nodes.length > 0 && l(g.nodes);
380
380
  });
381
381
  }
382
382
  l(e);
383
383
  const u = {};
384
- return Array.from(o).forEach((i, h) => {
385
- u[i] = `gradient_${h}`;
384
+ return Array.from(o).forEach((i, g) => {
385
+ u[i] = `gradient_${g}`;
386
386
  }), u;
387
387
  }
388
- const He = N(() => Me(R.value)), R = N(() => xe(k.dataset));
388
+ const He = N(() => Me(S.value)), S = N(() => we(C.dataset));
389
389
  function le() {
390
- D.value = !1, J.value = null, ve.value = null, P.value = null, ne({
390
+ A.value = !1, J.value = null, ve.value = null, T.value = null, ne({
391
391
  polygonPath: {
392
- coordinates: [{ x: A.value.width / 2, y: A.value.height / 2 }]
392
+ coordinates: [{ x: x.value.width / 2, y: x.value.height / 2 }]
393
393
  },
394
394
  circleRadius: 24
395
395
  });
396
396
  }
397
397
  const ae = f(null);
398
398
  function ne(e) {
399
- U.value.focus(), Le(() => {
399
+ D.value.focus(), Le(() => {
400
400
  ae.value && cancelAnimationFrame(ae.value);
401
- const o = oe.value.split(" "), l = parseFloat(o[0]), u = parseFloat(o[1]), i = parseFloat(o[2]), h = parseFloat(o[3]), { x: G, y: ie } = e.polygonPath.coordinates[0], { circleRadius: g } = e, B = 8.34, j = G - g * B, I = ie - g * B, ue = g * B * 2, Ze = g * B * 2, Je = Math.sqrt((j - l) ** 2 + (I - u) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(Je / 10))), Ke = (j - l) / Y, Qe = (I - u) / Y, _e = (ue - i) / Y, et = (Ze - h) / Y;
401
+ const o = oe.value.split(" "), l = parseFloat(o[0]), u = parseFloat(o[1]), i = parseFloat(o[2]), g = parseFloat(o[3]), { x: j, y: ie } = e.polygonPath.coordinates[0], { circleRadius: y } = e, B = 8.34, G = j - y * B, I = ie - y * B, ue = y * B * 2, Ze = y * B * 2, Je = Math.sqrt((G - l) ** 2 + (I - u) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(Je / 10))), Ke = (G - l) / Y, Qe = (I - u) / Y, _e = (ue - i) / Y, et = (Ze - g) / Y;
402
402
  let V = 0;
403
403
  function Se() {
404
- oe.value = `${l + Ke * V} ${u + Qe * V} ${i + _e * V} ${h + et * V}`, V += t.value.style.chart.zoom.speed, V <= Y && (ae.value = requestAnimationFrame(Se));
404
+ oe.value = `${l + Ke * V} ${u + Qe * V} ${i + _e * V} ${g + et * V}`, V += t.value.style.chart.zoom.speed, V <= Y && (ae.value = requestAnimationFrame(Se));
405
405
  }
406
406
  Se();
407
407
  });
408
408
  }
409
409
  function Ee(e) {
410
- J.value === e.uid ? le() : (J.value = e.uid, ve.value = e, P.value = {
410
+ J.value === e.uid ? le() : (J.value = e.uid, ve.value = e, T.value = {
411
411
  circleRadius: e.circleRadius,
412
412
  polygonPath: {
413
413
  coordinates: [{ x: e.polygonPath.coordinates[0].x, y: e.polygonPath.coordinates[0].y }]
414
414
  }
415
- }, ne(e), D.value = e.uid !== R.value[0].uid);
415
+ }, ne(e), A.value = e.uid !== S.value[0].uid);
416
416
  }
417
417
  function Ve(e) {
418
418
  if (e.target.nodeName !== "circle")
419
- le(), D.value = !1;
419
+ le(), A.value = !1;
420
420
  else
421
421
  return;
422
422
  }
@@ -425,21 +425,21 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
425
425
  se.value = {
426
426
  datapoint: e,
427
427
  seriesIndex: -1,
428
- series: R.value,
428
+ series: S.value,
429
429
  config: t.value
430
430
  };
431
431
  const o = t.value.style.chart.tooltip.customFormat;
432
432
  if (gt(o) && yt(() => o({
433
433
  seriesIndex: -1,
434
434
  datapoint: e,
435
- series: R.value,
435
+ series: S.value,
436
436
  config: t.value
437
437
  })))
438
438
  p.value = o({
439
439
  seriesIndex: -1,
440
440
  // well, ok
441
441
  datapoint: e,
442
- series: R.value,
442
+ series: S.value,
443
443
  config: t.value
444
444
  });
445
445
  else {
@@ -447,34 +447,34 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
447
447
  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>`;
448
448
  }
449
449
  }
450
- const we = f(null), X = f(null);
451
- function Ge(e) {
452
- we.value = e, e ? (S.value = !0, Xe(e), X.value = e.uid) : (S.value = !1, p.value = "", X.value = null);
450
+ const xe = f(null), X = f(null);
451
+ function je(e) {
452
+ xe.value = e, e ? (O.value = !0, Xe(e), X.value = e.uid) : (O.value = !1, p.value = "", X.value = null);
453
453
  }
454
454
  function K(e) {
455
- e === "right" && (P.value.polygonPath.coordinates[0].x += P.value.circleRadius), e === "left" && (P.value.polygonPath.coordinates[0].x -= P.value.circleRadius), e === "top" && (P.value.polygonPath.coordinates[0].y -= P.value.circleRadius), e === "bottom" && (P.value.polygonPath.coordinates[0].y += P.value.circleRadius), ne(P.value);
455
+ e === "right" && (T.value.polygonPath.coordinates[0].x += T.value.circleRadius), e === "left" && (T.value.polygonPath.coordinates[0].x -= T.value.circleRadius), e === "top" && (T.value.polygonPath.coordinates[0].y -= T.value.circleRadius), e === "bottom" && (T.value.polygonPath.coordinates[0].y += T.value.circleRadius), ne(T.value);
456
456
  }
457
- function je(e) {
457
+ function Ge(e) {
458
458
  const o = [];
459
459
  function l(u) {
460
460
  u.forEach((i) => {
461
- const h = {
461
+ const g = {
462
462
  name: i.name,
463
463
  details: i.details || "-",
464
464
  ancestor: i.ancestor && i.ancestor.name || "-",
465
465
  color: i.color || ""
466
466
  };
467
- o.push(h), i.nodes && i.nodes.length > 0 && l(i.nodes, i.name);
467
+ o.push(g), i.nodes && i.nodes.length > 0 && l(i.nodes, i.name);
468
468
  });
469
469
  }
470
470
  return l(e), o;
471
471
  }
472
- const Ye = N(() => je(R.value)), H = N(() => {
472
+ const Ye = N(() => Ge(S.value)), H = N(() => {
473
473
  const e = [
474
474
  t.value.table.translations.nodeName,
475
475
  t.value.table.translations.details,
476
476
  t.value.table.translations.ancestor
477
- ], o = Ye.value.map((i, h) => [
477
+ ], o = Ye.value.map((i, g) => [
478
478
  {
479
479
  color: i.color,
480
480
  name: i.name
@@ -507,31 +507,31 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
507
507
  });
508
508
  function Pe() {
509
509
  Le(() => {
510
- const e = H.value.body.map((u, i) => [[u[0].name], [u[1]], [u[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...H.value.head]]].concat(e), l = pt(o);
511
- ht({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
510
+ const e = H.value.body.map((u, i) => [[u[0].name], [u[1]], [u[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...H.value.head]]].concat(e), l = ht(o);
511
+ pt({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
512
512
  });
513
513
  }
514
514
  function We() {
515
- return R.value;
515
+ return S.value;
516
516
  }
517
517
  const E = f(!1);
518
518
  function qe(e) {
519
519
  E.value = e, ee.value += 1;
520
520
  }
521
521
  function Te() {
522
- T.value.showTable = !T.value.showTable;
522
+ F.value.showTable = !F.value.showTable;
523
523
  }
524
524
  function Fe() {
525
- T.value.showDataLabels = !T.value.showDataLabels;
525
+ F.value.showDataLabels = !F.value.showDataLabels;
526
526
  }
527
527
  function Re() {
528
- T.value.showTooltip = !T.value.showTooltip;
528
+ F.value.showTooltip = !F.value.showTooltip;
529
529
  }
530
530
  const Q = f(!1);
531
531
  function re() {
532
532
  Q.value = !Q.value;
533
533
  }
534
- return x({
534
+ return w({
535
535
  getData: We,
536
536
  generatePdf: ke,
537
537
  generateCsv: Pe,
@@ -542,26 +542,26 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
542
542
  toggleAnnotator: re
543
543
  }), (e, o) => (a(), r("div", {
544
544
  ref_key: "moleculeChart",
545
- ref: U,
545
+ ref: D,
546
546
  class: Oe(`vue-ui-molecule ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
547
547
  style: _(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
548
548
  id: `cluster_${s.value}`,
549
549
  onMouseleave: o[7] || (o[7] = (l) => {
550
- we.value = null, X.value = null, b(he)(!1);
550
+ xe.value = null, X.value = null, b(pe)(!1);
551
551
  }),
552
- onMouseenter: o[8] || (o[8] = () => b(he)(!0))
552
+ onMouseenter: o[8] || (o[8] = () => b(pe)(!0))
553
553
  }, [
554
- t.value.userOptions.buttons.annotator ? (a(), F(Tt, {
554
+ t.value.userOptions.buttons.annotator ? (a(), R(Tt, {
555
555
  key: 0,
556
- parent: U.value,
556
+ parent: D.value,
557
557
  backgroundColor: t.value.style.chart.backgroundColor,
558
558
  color: t.value.style.chart.color,
559
559
  active: Q.value,
560
560
  onClose: re
561
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
562
- Ne.value ? (a(), r("div", Mt, null, 512)) : y("", !0),
561
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
562
+ Ne.value ? (a(), r("div", Mt, null, 512)) : h("", !0),
563
563
  t.value.style.chart.title.text ? (a(), r("div", Ht, [
564
- (a(), F(mt, {
564
+ (a(), R(mt, {
565
565
  key: `title_${fe.value}`,
566
566
  config: {
567
567
  title: {
@@ -574,8 +574,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
574
574
  }
575
575
  }
576
576
  }, null, 8, ["config"]))
577
- ])) : y("", !0),
578
- t.value.userOptions.show && d.value && (b(ge) || b(te)) ? (a(), F(kt, {
577
+ ])) : h("", !0),
578
+ t.value.userOptions.show && d.value && (b(ge) || b(te)) ? (a(), R(kt, {
579
579
  ref_key: "details",
580
580
  ref: v,
581
581
  key: `user_options_${ee.value}`,
@@ -591,9 +591,9 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
591
591
  hasTable: t.value.userOptions.buttons.table,
592
592
  hasLabel: t.value.userOptions.buttons.labels,
593
593
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
594
- isTooltip: T.value.showTooltip,
594
+ isTooltip: F.value.showTooltip,
595
595
  titles: { ...t.value.userOptions.buttonTitles },
596
- chartElement: U.value,
596
+ chartElement: D.value,
597
597
  position: t.value.userOptions.position,
598
598
  hasAnnotator: t.value.userOptions.buttons.annotator,
599
599
  isAnnotation: Q.value,
@@ -611,61 +611,61 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
611
611
  }, lt({ _: 2 }, [
612
612
  e.$slots.optionTooltip ? {
613
613
  name: "optionTooltip",
614
- fn: C(() => [
615
- $(e.$slots, "optionTooltip", {}, void 0, !0)
614
+ fn: $(() => [
615
+ k(e.$slots, "optionTooltip", {}, void 0, !0)
616
616
  ]),
617
617
  key: "0"
618
618
  } : void 0,
619
619
  e.$slots.optionPdf ? {
620
620
  name: "optionPdf",
621
- fn: C(() => [
622
- $(e.$slots, "optionPdf", {}, void 0, !0)
621
+ fn: $(() => [
622
+ k(e.$slots, "optionPdf", {}, void 0, !0)
623
623
  ]),
624
624
  key: "1"
625
625
  } : void 0,
626
626
  e.$slots.optionCsv ? {
627
627
  name: "optionCsv",
628
- fn: C(() => [
629
- $(e.$slots, "optionCsv", {}, void 0, !0)
628
+ fn: $(() => [
629
+ k(e.$slots, "optionCsv", {}, void 0, !0)
630
630
  ]),
631
631
  key: "2"
632
632
  } : void 0,
633
633
  e.$slots.optionImg ? {
634
634
  name: "optionImg",
635
- fn: C(() => [
636
- $(e.$slots, "optionImg", {}, void 0, !0)
635
+ fn: $(() => [
636
+ k(e.$slots, "optionImg", {}, void 0, !0)
637
637
  ]),
638
638
  key: "3"
639
639
  } : void 0,
640
640
  e.$slots.optionTable ? {
641
641
  name: "optionTable",
642
- fn: C(() => [
643
- $(e.$slots, "optionTable", {}, void 0, !0)
642
+ fn: $(() => [
643
+ k(e.$slots, "optionTable", {}, void 0, !0)
644
644
  ]),
645
645
  key: "4"
646
646
  } : void 0,
647
647
  e.$slots.optionLabels ? {
648
648
  name: "optionLabels",
649
- fn: C(() => [
650
- $(e.$slots, "optionLabels", {}, void 0, !0)
649
+ fn: $(() => [
650
+ k(e.$slots, "optionLabels", {}, void 0, !0)
651
651
  ]),
652
652
  key: "5"
653
653
  } : void 0,
654
654
  e.$slots.optionFullscreen ? {
655
655
  name: "optionFullscreen",
656
- fn: C(({ toggleFullscreen: l, isFullscreen: u }) => [
657
- $(e.$slots, "optionFullscreen", W(q({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
656
+ fn: $(({ toggleFullscreen: l, isFullscreen: u }) => [
657
+ k(e.$slots, "optionFullscreen", W(q({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
658
658
  ]),
659
659
  key: "6"
660
660
  } : void 0,
661
661
  e.$slots.optionAnnotator ? {
662
662
  name: "optionAnnotator",
663
- fn: C(({ toggleAnnotator: l, isAnnotator: u }) => [
664
- $(e.$slots, "optionAnnotator", W(q({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
663
+ fn: $(({ toggleAnnotator: l, isAnnotator: u }) => [
664
+ k(e.$slots, "optionAnnotator", W(q({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
665
665
  ]),
666
666
  key: "7"
667
667
  } : void 0
668
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
668
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
669
669
  d.value ? (a(), r("svg", {
670
670
  key: 4,
671
671
  xmlns: b(dt),
@@ -674,8 +674,20 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
674
674
  style: _(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
675
675
  onClick: o[0] || (o[0] = M((l) => Ve(l), ["stop"]))
676
676
  }, [
677
- O(Pt),
678
- w("defs", null, [
677
+ L(Pt),
678
+ e.$slots["chart-background"] ? (a(), r("foreignObject", {
679
+ key: 0,
680
+ x: 0,
681
+ y: 0,
682
+ width: x.value.width <= 0 ? 10 : x.value.width,
683
+ height: x.value.height <= 0 ? 10 : x.value.height,
684
+ style: {
685
+ pointerEvents: "none"
686
+ }
687
+ }, [
688
+ k(e.$slots, "chart-background", {}, void 0, !0)
689
+ ], 8, Vt)) : h("", !0),
690
+ P("defs", null, [
679
691
  (a(!0), r(m, null, z(Object.keys(He.value), (l) => (a(), r("radialGradient", {
680
692
  id: `gradient_${l}`,
681
693
  cx: "50%",
@@ -684,38 +696,38 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
684
696
  fx: "50%",
685
697
  fy: "50%"
686
698
  }, [
687
- w("stop", {
699
+ P("stop", {
688
700
  offset: "0%",
689
701
  "stop-color": b(vt)(l, 0.5)
690
- }, null, 8, Xt),
691
- w("stop", {
702
+ }, null, 8, jt),
703
+ P("stop", {
692
704
  offset: "100%",
693
705
  "stop-color": l
694
706
  }, null, 8, Gt)
695
- ], 8, Vt))), 256))
707
+ ], 8, Xt))), 256))
696
708
  ]),
697
- O(Dt, {
698
- dataset: R.value,
709
+ L(Dt, {
710
+ dataset: S.value,
699
711
  color: t.value.style.chart.links.stroke,
700
712
  backgroundColor: t.value.style.chart.backgroundColor
701
713
  }, null, 8, ["dataset", "color", "backgroundColor"]),
702
- O(Ot, {
703
- dataset: R.value,
714
+ L(Ot, {
715
+ dataset: S.value,
704
716
  hoveredUid: X.value,
705
717
  stroke: t.value.style.chart.nodes.stroke,
706
718
  strokeHovered: t.value.style.chart.nodes.strokeHovered,
707
719
  onZoom: Ee,
708
- onHover: Ge
720
+ onHover: je
709
721
  }, null, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
710
- T.value.showDataLabels ? (a(), F(It, {
711
- key: 0,
712
- dataset: R.value,
722
+ F.value.showDataLabels ? (a(), R(It, {
723
+ key: 1,
724
+ dataset: S.value,
713
725
  color: t.value.style.chart.color,
714
726
  hoveredUid: X.value
715
- }, null, 8, ["dataset", "color", "hoveredUid"])) : y("", !0),
716
- $(e.$slots, "svg", { svg: A.value }, void 0, !0)
717
- ], 14, Et)) : y("", !0),
718
- D.value ? (a(), F(zt, {
727
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : h("", !0),
728
+ k(e.$slots, "svg", { svg: x.value }, void 0, !0)
729
+ ], 14, Et)) : h("", !0),
730
+ A.value ? (a(), R(zt, {
719
731
  key: `direction_pad_${ee.value}`,
720
732
  color: t.value.style.chart.color,
721
733
  isFullscreen: E.value,
@@ -724,13 +736,13 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
724
736
  onMoveTop: o[3] || (o[3] = (l) => K("top")),
725
737
  onMoveBottom: o[4] || (o[4] = (l) => K("bottom")),
726
738
  onReset: o[5] || (o[5] = (l) => {
727
- le(), D.value = !1;
739
+ le(), A.value = !1;
728
740
  })
729
- }, null, 8, ["color", "isFullscreen"])) : y("", !0),
730
- e.$slots.watermark ? (a(), r("div", jt, [
731
- $(e.$slots, "watermark", W(q({ isPrinting: b(me) || b(be) })), void 0, !0)
732
- ])) : y("", !0),
733
- d.value ? y("", !0) : (a(), F(xt, {
741
+ }, null, 8, ["color", "isFullscreen"])) : h("", !0),
742
+ e.$slots.watermark ? (a(), r("div", Yt, [
743
+ k(e.$slots, "watermark", W(q({ isPrinting: b(me) || b(be) })), void 0, !0)
744
+ ])) : h("", !0),
745
+ d.value ? h("", !0) : (a(), R(wt, {
734
746
  key: 7,
735
747
  config: {
736
748
  type: "molecule",
@@ -742,11 +754,11 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
742
754
  }
743
755
  }
744
756
  }, null, 8, ["config"])),
745
- e.$slots.source ? (a(), r("div", Yt, [
746
- $(e.$slots, "source", {}, void 0, !0)
747
- ], 512)) : y("", !0),
748
- O($t, {
749
- show: T.value.showTooltip && S.value,
757
+ e.$slots.source ? (a(), r("div", Wt, [
758
+ k(e.$slots, "source", {}, void 0, !0)
759
+ ], 512)) : h("", !0),
760
+ L($t, {
761
+ show: F.value.showTooltip && O.value,
750
762
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
751
763
  color: t.value.style.chart.tooltip.color,
752
764
  borderRadius: t.value.style.chart.tooltip.borderRadius,
@@ -756,24 +768,24 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
756
768
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
757
769
  position: t.value.style.chart.tooltip.position,
758
770
  offsetY: t.value.style.chart.tooltip.offsetY,
759
- parent: U.value,
771
+ parent: D.value,
760
772
  content: p.value,
761
773
  isFullscreen: E.value,
762
774
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
763
775
  }, {
764
- "tooltip-before": C(() => [
765
- $(e.$slots, "tooltip-before", W(q({ ...se.value })), void 0, !0)
776
+ "tooltip-before": $(() => [
777
+ k(e.$slots, "tooltip-before", W(q({ ...se.value })), void 0, !0)
766
778
  ]),
767
- "tooltip-after": C(() => [
768
- $(e.$slots, "tooltip-after", W(q({ ...se.value })), void 0, !0)
779
+ "tooltip-after": $(() => [
780
+ k(e.$slots, "tooltip-after", W(q({ ...se.value })), void 0, !0)
769
781
  ]),
770
782
  _: 3
771
783
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
772
- d.value ? (a(), F(wt, {
784
+ d.value ? (a(), R(xt, {
773
785
  key: 9,
774
786
  hideDetails: "",
775
787
  config: {
776
- open: T.value.showTable,
788
+ open: F.value.showTable,
777
789
  maxHeight: 1e4,
778
790
  body: {
779
791
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -785,33 +797,33 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
785
797
  }
786
798
  }
787
799
  }, {
788
- content: C(() => [
789
- (a(), F(Ct, {
790
- key: `table_${pe.value}`,
800
+ content: $(() => [
801
+ (a(), R(Ct, {
802
+ key: `table_${he.value}`,
791
803
  colNames: H.value.colNames,
792
804
  head: H.value.head,
793
805
  body: H.value.body,
794
806
  config: H.value.config,
795
807
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
796
- onClose: o[6] || (o[6] = (l) => T.value.showTable = !1)
808
+ onClose: o[6] || (o[6] = (l) => F.value.showTable = !1)
797
809
  }, {
798
- th: C(({ th: l }) => [
799
- w("div", {
810
+ th: $(({ th: l }) => [
811
+ P("div", {
800
812
  innerHTML: l,
801
813
  style: { display: "flex", "align-items": "center" }
802
- }, null, 8, Wt)
814
+ }, null, 8, qt)
803
815
  ]),
804
- td: C(({ td: l }) => [
816
+ td: $(({ td: l }) => [
805
817
  at(Ie(l.name || l), 1)
806
818
  ]),
807
819
  _: 1
808
820
  }, 8, ["colNames", "head", "body", "config", "title"]))
809
821
  ]),
810
822
  _: 1
811
- }, 8, ["config"])) : y("", !0)
823
+ }, 8, ["config"])) : h("", !0)
812
824
  ], 46, Bt));
813
825
  }
814
- }, uo = /* @__PURE__ */ Rt(qt, [["__scopeId", "data-v-8277f51b"]]);
826
+ }, co = /* @__PURE__ */ Rt(Zt, [["__scopeId", "data-v-84f8e29e"]]);
815
827
  export {
816
- uo as default
828
+ co as default
817
829
  };