vue-data-ui 2.6.48 → 2.6.49

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 (160) hide show
  1. package/dist/{Arrow-DeHvznlG.js → Arrow-Dv70pgNR.js} +1 -1
  2. package/dist/{Arrow-jh252AWJ.cjs → Arrow-shhEXYsq.cjs} +1 -1
  3. package/dist/{BaseIcon-DWuVl2GU.cjs → BaseIcon-D6QkKJpU.cjs} +1 -1
  4. package/dist/{BaseIcon-CZ5jKnR9.js → BaseIcon-ZZc7VY8d.js} +1 -1
  5. package/dist/{ColorPicker-yVPblb7p.cjs → ColorPicker-CGbS8gKN.cjs} +1 -1
  6. package/dist/{ColorPicker-BRTL96G8.js → ColorPicker-CUJpXuSS.js} +3 -3
  7. package/dist/{DataTable-zudSEeN9.cjs → DataTable-CRuMrwb8.cjs} +1 -1
  8. package/dist/{DataTable-BgfkOnBv.js → DataTable-CmnlvDKM.js} +2 -2
  9. package/dist/{Legend-cMLffIlh.js → Legend-B3rCxiju.js} +2 -2
  10. package/dist/{Legend-B0HXtacF.cjs → Legend-KLm00z8t.cjs} +1 -1
  11. package/dist/{PackageVersion-D4qZn7kl.js → PackageVersion-DavVl5j6.js} +1 -1
  12. package/dist/{PackageVersion-C6rcQig3.cjs → PackageVersion-DwKk69DU.cjs} +1 -1
  13. package/dist/{PenAndPaper-BAQpQDGa.js → PenAndPaper-CGAd_cD9.js} +3 -3
  14. package/dist/{PenAndPaper-DrtaW-dp.cjs → PenAndPaper-hlX2Djxv.cjs} +1 -1
  15. package/dist/{Shape-DllpVFvn.cjs → Shape-BGYZa31d.cjs} +1 -1
  16. package/dist/{Shape-CsDyTgir.js → Shape-CWFBkvfP.js} +1 -1
  17. package/dist/{Slicer-msNNVisO.js → Slicer-BEOWbyKm.js} +2 -2
  18. package/dist/{Slicer-BlR2F0u2.cjs → Slicer-CAyYbVK-.cjs} +1 -1
  19. package/dist/{Title-CzrNFvru.js → Title-Ch602IT9.js} +1 -1
  20. package/dist/{Title-BMptuaY_.cjs → Title-Iy2d-Bd1.cjs} +1 -1
  21. package/dist/{Tooltip-BjCE_Xgz.js → Tooltip-0IaPNa9t.js} +1 -1
  22. package/dist/{Tooltip-3cVqgTfY.cjs → Tooltip-DhV-T1A4.cjs} +1 -1
  23. package/dist/{index-BkXUnRSw.cjs → index-C4TeRZvT.cjs} +2 -2
  24. package/dist/{index-CFFS5fou.js → index-C7spnOfS.js} +5 -2
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-BeNFEsBg.cjs → useNestedProp-BS-4R8zR.cjs} +1 -1
  27. package/dist/{useNestedProp-WmGLMI7a.js → useNestedProp-BXHzK3EV.js} +1 -1
  28. package/dist/usePanZoom-CWL8SzZN.js +79 -0
  29. package/dist/usePanZoom-CppTL3G-.cjs +1 -0
  30. package/dist/{usePrinter-V42TEKtB.js → usePrinter-BDUIRBP4.js} +1 -1
  31. package/dist/{usePrinter-pQdLIFcU.cjs → usePrinter-bFMowLOh.cjs} +1 -1
  32. package/dist/{vue-data-ui-BHqGQu50.js → vue-data-ui-Be5Tgffi.js} +61 -61
  33. package/dist/{vue-data-ui-CSvoco2Z.cjs → vue-data-ui-CAyq9OfR.cjs} +1 -1
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-3HSZgDqW.js → vue-ui-3d-bar-CtOPLOD3.js} +9 -9
  37. package/dist/{vue-ui-3d-bar-enGIMYF-.cjs → vue-ui-3d-bar-M3DFCjSK.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-C0Xh8ENO.cjs → vue-ui-accordion-BIbie2vw.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-68aNqLIG.js → vue-ui-accordion-Bk2aYAD-.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-0ARpZkDU.cjs → vue-ui-age-pyramid-CR9x-PgJ.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-DqO9Yf9E.js → vue-ui-age-pyramid-hyVqCFgO.js} +10 -10
  42. package/dist/{vue-ui-annotator-DO9HUbCU.cjs → vue-ui-annotator-BXHTI64K.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-ONpVjIMZ.js → vue-ui-annotator-Qn0uc5GZ.js} +1 -1
  44. package/dist/{vue-ui-bullet-8GyHi1kK.js → vue-ui-bullet-CrWBMd4n.js} +8 -8
  45. package/dist/{vue-ui-bullet-DHH7hqHz.cjs → vue-ui-bullet-DM6lx30F.cjs} +1 -1
  46. package/dist/{vue-ui-candlestick-C77dJq5O.js → vue-ui-candlestick-B2jTfGz7.js} +11 -11
  47. package/dist/{vue-ui-candlestick-BumYsF-O.cjs → vue-ui-candlestick-DUZlc7tm.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BxFiQRr9.cjs → vue-ui-carousel-table-3QViQ5Bi.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-BgdM7pov.js → vue-ui-carousel-table-Cy39XJq8.js} +4 -4
  50. package/dist/{vue-ui-chestnut-CQkrFvJa.cjs → vue-ui-chestnut-CAEZuh12.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-COPZicvP.js → vue-ui-chestnut-Dr3sUQIO.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-DFr3W9PK.js → vue-ui-circle-pack-C8lFd9HI.js} +9 -9
  53. package/dist/{vue-ui-circle-pack-orK3sDBb.cjs → vue-ui-circle-pack-DNSLbFV_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-Dd01d8dq.cjs → vue-ui-cursor-B4KSNGDd.cjs} +1 -1
  55. package/dist/{vue-ui-cursor-CqT_0xhF.js → vue-ui-cursor-Bim9FO5p.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BIY1p9ii.cjs → vue-ui-dashboard-BlMkdmJG.cjs} +1 -1
  57. package/dist/{vue-ui-dashboard-CwlJ0U8Z.js → vue-ui-dashboard-q2N-lR5R.js} +2 -2
  58. package/dist/{vue-ui-digits-ejZtkmOF.cjs → vue-ui-digits-BxsLTjn3.cjs} +1 -1
  59. package/dist/{vue-ui-digits-DWbFzx6q.js → vue-ui-digits-Cs5S9-t4.js} +2 -2
  60. package/dist/{vue-ui-donut-ZjQOuqdK.cjs → vue-ui-donut-CHAu83aL.cjs} +1 -1
  61. package/dist/{vue-ui-donut-IqhIH5Hs.js → vue-ui-donut-CsK4bhU9.js} +12 -12
  62. package/dist/{vue-ui-donut-evolution-DzBOXBNU.cjs → vue-ui-donut-evolution-DIgg0r1H.cjs} +1 -1
  63. package/dist/{vue-ui-donut-evolution-DK4Ry8OG.js → vue-ui-donut-evolution-DRIjATMj.js} +11 -11
  64. package/dist/{vue-ui-dumbbell-DoERaO7T.cjs → vue-ui-dumbbell-Dnd5xBoE.cjs} +1 -1
  65. package/dist/{vue-ui-dumbbell-CxDinKeH.js → vue-ui-dumbbell-RqWpXNMb.js} +10 -10
  66. package/dist/{vue-ui-flow-BuaBA2J_.cjs → vue-ui-flow-DLkZ_RPK.cjs} +1 -1
  67. package/dist/{vue-ui-flow-BnE9cqZL.js → vue-ui-flow-Wl9BdRET.js} +9 -9
  68. package/dist/{vue-ui-funnel-CYtp-5QK.js → vue-ui-funnel-BtEiPtWV.js} +9 -9
  69. package/dist/{vue-ui-funnel-mn1BtOGd.cjs → vue-ui-funnel-C9kqSvdp.cjs} +1 -1
  70. package/dist/{vue-ui-galaxy-D4bzB7id.cjs → vue-ui-galaxy-DuHBx10N.cjs} +1 -1
  71. package/dist/{vue-ui-galaxy-Cb6K-pE8.js → vue-ui-galaxy-Dy0szrMW.js} +11 -11
  72. package/dist/{vue-ui-gauge-Cs0dyaGc.cjs → vue-ui-gauge-BHTXAsP3.cjs} +1 -1
  73. package/dist/{vue-ui-gauge-CwefloBc.js → vue-ui-gauge-Bl5tGVHq.js} +7 -7
  74. package/dist/{vue-ui-gizmo-Breb8hRA.cjs → vue-ui-gizmo-C4BrHDh4.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-CRp_vQxS.js → vue-ui-gizmo-DMyPBBMU.js} +3 -3
  76. package/dist/{vue-ui-heatmap-C_64kZde.js → vue-ui-heatmap-TlpTNG5t.js} +10 -10
  77. package/dist/{vue-ui-heatmap-BMn83Iw6.cjs → vue-ui-heatmap-sFIr2K5p.cjs} +1 -1
  78. package/dist/{vue-ui-history-plot-D_0c6-QM.cjs → vue-ui-history-plot-DAjdzGlR.cjs} +1 -1
  79. package/dist/{vue-ui-history-plot-DvIN9tLu.js → vue-ui-history-plot-Dy1j0BxQ.js} +11 -11
  80. package/dist/{vue-ui-kpi-D6w1Z0ut.js → vue-ui-kpi-BcmSRMqx.js} +3 -3
  81. package/dist/{vue-ui-kpi-DFXNg3nw.cjs → vue-ui-kpi-ujEXx77P.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-B7tT5tbh.js → vue-ui-mini-loader-CjnStv_v.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-cO3I00Pq.cjs → vue-ui-mini-loader-DAPA-14x.cjs} +1 -1
  84. package/dist/vue-ui-molecule-DR0XoKl0.cjs +1 -0
  85. package/dist/vue-ui-molecule-JFJY9rsO.js +755 -0
  86. package/dist/{vue-ui-mood-radar-ByDpmuxU.cjs → vue-ui-mood-radar-BaysMegc.cjs} +1 -1
  87. package/dist/{vue-ui-mood-radar-Cx_8YqzF.js → vue-ui-mood-radar-COoBSKNH.js} +11 -11
  88. package/dist/{vue-ui-nested-donuts-DHWlR3jy.js → vue-ui-nested-donuts-CtFedcCD.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-aI-ze2j2.cjs → vue-ui-nested-donuts-DYBuISa1.cjs} +1 -1
  90. package/dist/{vue-ui-onion-B6zylASt.js → vue-ui-onion-CEUV1mny.js} +11 -11
  91. package/dist/{vue-ui-onion-Dynyp18f.cjs → vue-ui-onion-D6ZwBWQg.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-GWh7DX3Y.cjs → vue-ui-parallel-coordinate-plot-BxNT4su_.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-CiLB1BKE.js → vue-ui-parallel-coordinate-plot-DYTDHl62.js} +12 -12
  94. package/dist/{vue-ui-quadrant-D7SEY4Nj.js → vue-ui-quadrant-Bgw63sh8.js} +12 -12
  95. package/dist/{vue-ui-quadrant-DxaQZoLd.cjs → vue-ui-quadrant-j31KXFQl.cjs} +1 -1
  96. package/dist/{vue-ui-quick-chart-D1NfrJg3.js → vue-ui-quick-chart-DQQj-yff.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-BxHBJWtp.cjs → vue-ui-quick-chart-oEQhbqjr.cjs} +1 -1
  98. package/dist/{vue-ui-radar-CoZBZklY.cjs → vue-ui-radar-C5pUYB_x.cjs} +1 -1
  99. package/dist/{vue-ui-radar-B9DxtK3T.js → vue-ui-radar-D8z1eA3O.js} +12 -12
  100. package/dist/{vue-ui-rating-DDCXKsJS.js → vue-ui-rating-CEIibBYU.js} +2 -2
  101. package/dist/{vue-ui-rating-k2SeZNIl.cjs → vue-ui-rating-CGh8TQ5M.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-B11wnErY.cjs → vue-ui-relation-circle-Bf6kjYWL.cjs} +1 -1
  103. package/dist/{vue-ui-relation-circle-Be4MpIZt.js → vue-ui-relation-circle-BrIe8bZU.js} +7 -7
  104. package/dist/{vue-ui-rings-B2IabkNN.js → vue-ui-rings-6l5DQ0_9.js} +12 -12
  105. package/dist/{vue-ui-rings-CnhnlHk4.cjs → vue-ui-rings-BmSQzToz.cjs} +1 -1
  106. package/dist/{vue-ui-scatter-uyOOlflr.js → vue-ui-scatter-0geSLTUp.js} +12 -12
  107. package/dist/{vue-ui-scatter-tU7Sls6T.cjs → vue-ui-scatter-g67ClUSv.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-Y8ZFxWOK.js → vue-ui-screenshot-CshpwrmO.js} +1 -1
  109. package/dist/{vue-ui-screenshot-CQUUa4js.cjs → vue-ui-screenshot-r5tJCW0O.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-CE6Rhdwq.js → vue-ui-skeleton-Bn49rVXa.js} +3 -3
  111. package/dist/{vue-ui-skeleton-BQSnhKj4.cjs → vue-ui-skeleton-D7ijXB6x.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-CwnOcaDD.js → vue-ui-smiley-CzAtJD1G.js} +2 -2
  113. package/dist/{vue-ui-smiley-C9qaB_MO.cjs → vue-ui-smiley-HofydNoz.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-ZMvBWU7T.js → vue-ui-spark-trend-B70DhKVg.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-xU3yJI0s.cjs → vue-ui-spark-trend-CdTdbj6x.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CyhZr6ox.js → vue-ui-sparkbar-CZ8Nw4fl.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-DMJyaiJL.cjs → vue-ui-sparkbar-cJ7Wu051.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-BAGFZVWH.cjs → vue-ui-sparkgauge-BWNkoMqk.cjs} +1 -1
  119. package/dist/{vue-ui-sparkgauge-C59o5PLo.js → vue-ui-sparkgauge-D-VwonfZ.js} +4 -4
  120. package/dist/{vue-ui-sparkhistogram-Br2lTOWq.js → vue-ui-sparkhistogram-BK58LMOs.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-hR2cA_1P.cjs → vue-ui-sparkhistogram-hBwVKdOS.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Cj9Shaxo.cjs → vue-ui-sparkline-BD4gkpj_.cjs} +1 -1
  123. package/dist/{vue-ui-sparkline-XjVDZSJW.js → vue-ui-sparkline-DORXFea9.js} +4 -4
  124. package/dist/{vue-ui-sparkstackbar-D1k-uOj4.js → vue-ui-sparkstackbar-CNu5TNGE.js} +5 -5
  125. package/dist/{vue-ui-sparkstackbar-hPuv4RZq.cjs → vue-ui-sparkstackbar-ClcY4WWe.cjs} +1 -1
  126. package/dist/{vue-ui-stackbar-DCW5UenP.js → vue-ui-stackbar--aCaS5x2.js} +13 -13
  127. package/dist/{vue-ui-stackbar-B3y0c9T0.cjs → vue-ui-stackbar-CkMwpXvU.cjs} +1 -1
  128. package/dist/{vue-ui-strip-plot-DNrU2G2r.cjs → vue-ui-strip-plot-BiFHgg1S.cjs} +1 -1
  129. package/dist/{vue-ui-strip-plot-Ctlsvtbq.js → vue-ui-strip-plot-CFVbMS6X.js} +11 -11
  130. package/dist/{vue-ui-table-xBKNheLy.js → vue-ui-table-B_3Ilpbe.js} +1 -1
  131. package/dist/{vue-ui-table-CAK_tKR0.cjs → vue-ui-table-DR255TsX.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-BqXr-8TN.js → vue-ui-table-heatmap-BNxAz0s0.js} +4 -4
  133. package/dist/{vue-ui-table-heatmap-BR07D_Jk.cjs → vue-ui-table-heatmap-GUBFCD5M.cjs} +1 -1
  134. package/dist/{vue-ui-table-sparkline-B7B3c3Kb.cjs → vue-ui-table-sparkline-B4tLXnLP.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-D_URlvKj.js → vue-ui-table-sparkline-DSOduMZf.js} +5 -5
  136. package/dist/{vue-ui-thermometer-BR9SzHOJ.cjs → vue-ui-thermometer-D4xuEt1d.cjs} +1 -1
  137. package/dist/{vue-ui-thermometer-C6PZ9mvq.js → vue-ui-thermometer-DmM-HnTb.js} +7 -7
  138. package/dist/{vue-ui-timer-Qv1fF4Rq.cjs → vue-ui-timer-CRvBgkAk.cjs} +1 -1
  139. package/dist/{vue-ui-timer-Bg-ffBSP.js → vue-ui-timer-Cv3Nx66b.js} +5 -5
  140. package/dist/{vue-ui-tiremarks-CjYT3G69.js → vue-ui-tiremarks-ASWxcVYt.js} +7 -7
  141. package/dist/{vue-ui-tiremarks-BfQsDoMb.cjs → vue-ui-tiremarks-BCm4J3AS.cjs} +1 -1
  142. package/dist/{vue-ui-treemap-DYmCTmlo.js → vue-ui-treemap-DkTT9Fpa.js} +12 -12
  143. package/dist/{vue-ui-treemap-BxdErYLZ.cjs → vue-ui-treemap-K-I2E3e-.cjs} +1 -1
  144. package/dist/{vue-ui-vertical-bar-BbSaoHnx.js → vue-ui-vertical-bar-CKAyFHu9.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-D6020yMP.cjs → vue-ui-vertical-bar-CYsYkq04.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-BYHvDjBd.js → vue-ui-waffle-DA1_yNZ7.js} +12 -12
  147. package/dist/{vue-ui-waffle-DCa7TbcY.cjs → vue-ui-waffle-WHpYY_yA.cjs} +1 -1
  148. package/dist/{vue-ui-wheel-Dfpw-TGn.cjs → vue-ui-wheel-CWY3hkRC.cjs} +1 -1
  149. package/dist/{vue-ui-wheel-CXcHXSmc.js → vue-ui-wheel-vebQiYtM.js} +7 -7
  150. package/dist/vue-ui-word-cloud-CABqCfl5.js +571 -0
  151. package/dist/vue-ui-word-cloud-H7016Zdi.cjs +1 -0
  152. package/dist/{vue-ui-xy-C_ZIwWl7.js → vue-ui-xy-C2OQ78CJ.js} +14 -14
  153. package/dist/{vue-ui-xy-DOT-R_9J.cjs → vue-ui-xy-CrCJrk6u.cjs} +1 -1
  154. package/dist/{vue-ui-xy-canvas-C_LTt1hr.cjs → vue-ui-xy-canvas-D5iPJqoe.cjs} +1 -1
  155. package/dist/{vue-ui-xy-canvas-CW7oyZMn.js → vue-ui-xy-canvas-DvZgi7HV.js} +12 -12
  156. package/package.json +2 -2
  157. package/dist/vue-ui-molecule-BsrAlvIA.js +0 -830
  158. package/dist/vue-ui-molecule-Cgn3O9Zb.cjs +0 -1
  159. package/dist/vue-ui-word-cloud-BS68DlmA.cjs +0 -1
  160. package/dist/vue-ui-word-cloud-BaXm2uvH.js +0 -646
@@ -1,15 +1,15 @@
1
1
  import { ref as c, computed as f, onMounted as We, onBeforeUnmount as He, watch as Ee, createElementBlock as r, openBlock as s, unref as h, normalizeStyle as M, normalizeClass as O, renderSlot as x, createBlock as z, createCommentVNode as v, createElementVNode as T, createVNode as we, createSlots as Ge, withCtx as m, normalizeProps as I, guardReactiveProps as P, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as Ve, nextTick as qe } from "vue";
2
- import { u as Ze, c as Ce, o as Je, e as _e, g as Ke, b as Qe, d as et, p as H, D as $e, i as F, f as X, X as tt, l as lt, h as at, G as st, F as N, t as ot, a as rt, C as E, q as nt, r as ut, x as it } from "./index-CFFS5fou.js";
3
- import { u as Me } from "./useNestedProp-WmGLMI7a.js";
4
- import { u as ct, U as vt } from "./usePrinter-V42TEKtB.js";
5
- import { _ as ht } from "./PackageVersion-D4qZn7kl.js";
6
- import { L as yt } from "./Legend-cMLffIlh.js";
7
- import { _ as dt } from "./Title-CzrNFvru.js";
8
- import { _ as ft } from "./Tooltip-BjCE_Xgz.js";
9
- import { D as xt } from "./DataTable-BgfkOnBv.js";
10
- import pt from "./vue-ui-accordion-68aNqLIG.js";
11
- import { P as mt } from "./PenAndPaper-BAQpQDGa.js";
12
- import gt from "./vue-ui-skeleton-CE6Rhdwq.js";
2
+ import { u as Ze, c as Ce, o as Je, e as _e, g as Ke, b as Qe, d as et, p as H, D as $e, i as F, f as X, X as tt, l as lt, h as at, G as st, F as N, t as ot, a as rt, C as E, q as nt, r as ut, x as it } from "./index-C7spnOfS.js";
3
+ import { u as Me } from "./useNestedProp-BXHzK3EV.js";
4
+ import { u as ct, U as vt } from "./usePrinter-BDUIRBP4.js";
5
+ import { _ as ht } from "./PackageVersion-DavVl5j6.js";
6
+ import { L as yt } from "./Legend-B3rCxiju.js";
7
+ import { _ as dt } from "./Title-Ch602IT9.js";
8
+ import { _ as ft } from "./Tooltip-0IaPNa9t.js";
9
+ import { D as xt } from "./DataTable-CmnlvDKM.js";
10
+ import pt from "./vue-ui-accordion-Bk2aYAD-.js";
11
+ import { P as mt } from "./PenAndPaper-CGAd_cD9.js";
12
+ import gt from "./vue-ui-skeleton-Bn49rVXa.js";
13
13
  import { t as bt, u as kt } from "./useResponsive-Cw4oZ8sQ.js";
14
14
  import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
@@ -1,7 +1,7 @@
1
1
  import { computed as D, useSlots as x, onMounted as g, watch as C, ref as $, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as k, renderSlot as n, createTextVNode as y, toDisplayString as h, createVNode as z, Fragment as A, unref as b } from "vue";
2
- import { u as w } from "./useNestedProp-WmGLMI7a.js";
3
- import { u as B, i as L, f as M } from "./index-CFFS5fou.js";
4
- import E from "./vue-ui-digits-DWbFzx6q.js";
2
+ import { u as w } from "./useNestedProp-BXHzK3EV.js";
3
+ import { u as B, i as L, f as M } from "./index-C7spnOfS.js";
4
+ import E from "./vue-ui-digits-Cs5S9-t4.js";
5
5
  const G = {
6
6
  __name: "vue-ui-kpi",
7
7
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./useNestedProp-BeNFEsBg.cjs"),u=require("./index-BkXUnRSw.cjs"),y=require("./vue-ui-digits-ejZtkmOF.cjs"),C={__name:"vue-ui-kpi",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(n){const{vue_ui_kpi:m}=u.useConfig(),o=n,a=e.computed({get:()=>i(),set:t=>t}),f=e.useSlots();e.onMounted(()=>{f["chart-background"]&&console.warn("VueUiKpi does not support the #chart-background slot.")});function i(){return p.useNestedProp({userConfig:o.config,defaultConfig:m})}e.watch(()=>o.config,t=>{a.value=i(),r()},{deep:!0});const g=e.ref((typeof o.dataset=="number",o.dataset)),l=e.ref(a.value.useAnimation?a.value.animationValueStart:g.value),s=t=>{const v=a.value.animationFrames,c=Math.abs(t-l.value)/v;function d(){l.value<t?l.value=Math.min(l.value+c,t):l.value>t&&(l.value=Math.max(l.value-c,t)),l.value!==t&&requestAnimationFrame(d)}d()};e.onMounted(()=>{r()});function r(){a.value.useAnimation?(l.value=a.value.animationValueStart,s(o.dataset)):l.value=o.dataset}return e.watch(()=>o.dataset,t=>{a.value.useAnimation?s(t):l.value=t}),(t,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-kpi ${a.value.layoutClass}`),style:e.normalizeStyle(`background:${a.value.backgroundColor}; ${a.value.layoutCss}`)},[e.createElementVNode("div",{class:e.normalizeClass(`vue-ui-kpi-title ${a.value.titleClass}`),style:e.normalizeStyle(`font-family: ${a.value.fontFamily}; font-size:${a.value.titleFontSize}px; color:${a.value.titleColor}; font-weight:${a.value.titleBold?"bold":"normal"}; ${a.value.titleCss}`)},[e.renderSlot(t.$slots,"title",{comment:n.dataset}),e.createTextVNode(" "+e.toDisplayString(a.value.title),1)],6),e.renderSlot(t.$slots,"comment-before",{comment:n.dataset}),e.createElementVNode("div",{class:e.normalizeClass(`vue-ui-kpi-value ${a.value.valueClass}`),style:e.normalizeStyle(`font-family: ${a.value.fontFamily}; font-size:${a.value.valueFontSize}px; color:${a.value.valueColor}; font-weight:${a.value.valueBold?"bold":"normal"}; ${a.value.valueCss}`)},[e.renderSlot(t.$slots,"value",{comment:n.dataset}),a.value.analogDigits.show?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({height:a.value.analogDigits.height+"px"})},[e.createVNode(y.default,{dataset:Number(l.value.toFixed(a.value.valueRounding)),config:{backgroundColor:a.value.backgroundColor,digits:{color:a.value.analogDigits.color,skeletonColor:a.value.analogDigits.skeletonColor}}},null,8,["dataset","config"])],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(u.applyDataLabel)(a.value.formatter,l.value,e.unref(u.dataLabel)({p:a.value.prefix,v:l.value,s:a.value.suffix,r:a.value.valueRounding}))),1)],64))],6),e.renderSlot(t.$slots,"comment-after",{comment:n.dataset})],6))}};exports.default=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./useNestedProp-BS-4R8zR.cjs"),u=require("./index-C4TeRZvT.cjs"),y=require("./vue-ui-digits-BxsLTjn3.cjs"),C={__name:"vue-ui-kpi",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(n){const{vue_ui_kpi:m}=u.useConfig(),o=n,a=e.computed({get:()=>i(),set:t=>t}),f=e.useSlots();e.onMounted(()=>{f["chart-background"]&&console.warn("VueUiKpi does not support the #chart-background slot.")});function i(){return p.useNestedProp({userConfig:o.config,defaultConfig:m})}e.watch(()=>o.config,t=>{a.value=i(),r()},{deep:!0});const g=e.ref((typeof o.dataset=="number",o.dataset)),l=e.ref(a.value.useAnimation?a.value.animationValueStart:g.value),s=t=>{const v=a.value.animationFrames,c=Math.abs(t-l.value)/v;function d(){l.value<t?l.value=Math.min(l.value+c,t):l.value>t&&(l.value=Math.max(l.value-c,t)),l.value!==t&&requestAnimationFrame(d)}d()};e.onMounted(()=>{r()});function r(){a.value.useAnimation?(l.value=a.value.animationValueStart,s(o.dataset)):l.value=o.dataset}return e.watch(()=>o.dataset,t=>{a.value.useAnimation?s(t):l.value=t}),(t,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-kpi ${a.value.layoutClass}`),style:e.normalizeStyle(`background:${a.value.backgroundColor}; ${a.value.layoutCss}`)},[e.createElementVNode("div",{class:e.normalizeClass(`vue-ui-kpi-title ${a.value.titleClass}`),style:e.normalizeStyle(`font-family: ${a.value.fontFamily}; font-size:${a.value.titleFontSize}px; color:${a.value.titleColor}; font-weight:${a.value.titleBold?"bold":"normal"}; ${a.value.titleCss}`)},[e.renderSlot(t.$slots,"title",{comment:n.dataset}),e.createTextVNode(" "+e.toDisplayString(a.value.title),1)],6),e.renderSlot(t.$slots,"comment-before",{comment:n.dataset}),e.createElementVNode("div",{class:e.normalizeClass(`vue-ui-kpi-value ${a.value.valueClass}`),style:e.normalizeStyle(`font-family: ${a.value.fontFamily}; font-size:${a.value.valueFontSize}px; color:${a.value.valueColor}; font-weight:${a.value.valueBold?"bold":"normal"}; ${a.value.valueCss}`)},[e.renderSlot(t.$slots,"value",{comment:n.dataset}),a.value.analogDigits.show?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({height:a.value.analogDigits.height+"px"})},[e.createVNode(y.default,{dataset:Number(l.value.toFixed(a.value.valueRounding)),config:{backgroundColor:a.value.backgroundColor,digits:{color:a.value.analogDigits.color,skeletonColor:a.value.analogDigits.skeletonColor}}},null,8,["dataset","config"])],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(u.applyDataLabel)(a.value.formatter,l.value,e.unref(u.dataLabel)({p:a.value.prefix,v:l.value,s:a.value.suffix,r:a.value.valueRounding}))),1)],64))],6),e.renderSlot(t.$slots,"comment-after",{comment:n.dataset})],6))}};exports.default=C;
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
2
- import { u as m } from "./useNestedProp-WmGLMI7a.js";
3
- import { u as y, X as L } from "./index-CFFS5fou.js";
2
+ import { u as m } from "./useNestedProp-BXHzK3EV.js";
3
+ import { u as y, X as L } from "./index-C7spnOfS.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
6
6
  __name: "vue-ui-mini-loader",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./useNestedProp-BeNFEsBg.cjs"),n=require("./index-BkXUnRSw.cjs"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g=["xmlns","viewBox"],C={key:0},_=["stroke"],h=["stroke"],M=["stroke"],y={key:1},B=["stroke"],f={key:2},L=["stroke"],b={__name:"vue-ui-mini-loader",props:{config:{type:Object,default(){return{}}}},setup(u){e.useCssVars(k=>({"4430a3e6":c.value,"056a6732":d.value,"7f3540a4":p.value}));const{vue_ui_mini_loader:a}=n.useConfig(),i=u,t=e.computed(()=>v.useNestedProp({userConfig:i.config,defaultConfig:a})),s=e.ref({onion:"-10 -10 84 84",line:"-10 -10 112 84",bar:"-10 -10 106 84"}),r=e.computed(()=>({gutter:`stroke:${t.value.line.gutterColor};opacity:${t.value.line.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.line.gutterBlur}px);`})),l=e.computed(()=>({gutter:`stroke:${t.value.bar.gutterColor};opacity:${t.value.bar.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.bar.gutterBlur}px);`})),o=e.computed(()=>({gutter:`stroke:${t.value.onion.gutterColor};opacity:${t.value.onion.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.onion.gutterBlur}px);`})),c=e.computed(()=>`blur(${t.value.onion.trackBlur}px) hue-rotate(${t.value.onion.trackHueRotate}deg)`),d=e.computed(()=>`blur(${t.value.line.trackBlur}px) hue-rotate(${t.value.line.trackHueRotate}deg)`),p=e.computed(()=>`blur(${t.value.bar.trackBlur}px) hue-rotate(${t.value.bar.trackHueRotate}deg)`);return(k,x)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-mini-loader",xmlns:e.unref(n.XMLNS),viewBox:s.value[t.value.type],style:{background:"transparent"},width:"100%"},[t.value.type==="onion"?(e.openBlock(),e.createElementBlock("g",C,[e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,_),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,h),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,M)])):e.createCommentVNode("",!0),t.value.type==="line"?(e.openBlock(),e.createElementBlock("g",y,[e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(r.value.gutter+r.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5",stroke:t.value.line.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"line-animated"},null,8,B)])):e.createCommentVNode("",!0),t.value.type==="bar"?(e.openBlock(),e.createElementBlock("g",f,[e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(l.value.gutter+l.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5",stroke:t.value.bar.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"bar-animated"},null,8,L)])):e.createCommentVNode("",!0)],8,g))}},N=m._export_sfc(b,[["__scopeId","data-v-3b670831"]]);exports.default=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./useNestedProp-BS-4R8zR.cjs"),n=require("./index-C4TeRZvT.cjs"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g=["xmlns","viewBox"],C={key:0},_=["stroke"],h=["stroke"],M=["stroke"],y={key:1},B=["stroke"],f={key:2},L=["stroke"],b={__name:"vue-ui-mini-loader",props:{config:{type:Object,default(){return{}}}},setup(u){e.useCssVars(k=>({"4430a3e6":c.value,"056a6732":d.value,"7f3540a4":p.value}));const{vue_ui_mini_loader:a}=n.useConfig(),i=u,t=e.computed(()=>v.useNestedProp({userConfig:i.config,defaultConfig:a})),s=e.ref({onion:"-10 -10 84 84",line:"-10 -10 112 84",bar:"-10 -10 106 84"}),r=e.computed(()=>({gutter:`stroke:${t.value.line.gutterColor};opacity:${t.value.line.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.line.gutterBlur}px);`})),l=e.computed(()=>({gutter:`stroke:${t.value.bar.gutterColor};opacity:${t.value.bar.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.bar.gutterBlur}px);`})),o=e.computed(()=>({gutter:`stroke:${t.value.onion.gutterColor};opacity:${t.value.onion.gutterOpacity};`,gutterBlur:`filter:blur(${t.value.onion.gutterBlur}px);`})),c=e.computed(()=>`blur(${t.value.onion.trackBlur}px) hue-rotate(${t.value.onion.trackHueRotate}deg)`),d=e.computed(()=>`blur(${t.value.line.trackBlur}px) hue-rotate(${t.value.line.trackHueRotate}deg)`),p=e.computed(()=>`blur(${t.value.bar.trackBlur}px) hue-rotate(${t.value.bar.trackHueRotate}deg)`);return(k,x)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-mini-loader",xmlns:e.unref(n.XMLNS),viewBox:s.value[t.value.type],style:{background:"transparent"},width:"100%"},[t.value.type==="onion"?(e.openBlock(),e.createElementBlock("g",C,[e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(o.value.gutter+o.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,_),e.createElementVNode("path",{d:"M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,h),e.createElementVNode("path",{d:"M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25",stroke:t.value.onion.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"onion-animated"},null,8,M)])):e.createCommentVNode("",!0),t.value.type==="line"?(e.openBlock(),e.createElementBlock("g",y,[e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(r.value.gutter+r.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5",stroke:t.value.line.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"line-animated"},null,8,B)])):e.createCommentVNode("",!0),t.value.type==="bar"?(e.openBlock(),e.createElementBlock("g",f,[e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5","stroke-width":"4",fill:"none","stroke-linecap":"round",style:e.normalizeStyle(l.value.gutter+l.value.gutterBlur)},null,4),e.createElementVNode("path",{d:"M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5",stroke:t.value.bar.trackColor,"stroke-width":"4",fill:"none","stroke-linecap":"round",class:"bar-animated"},null,8,L)])):e.createCommentVNode("",!0)],8,g))}},N=m._export_sfc(b,[["__scopeId","data-v-3b670831"]]);exports.default=N;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-C4TeRZvT.cjs"),Ce=require("./Title-Iy2d-Bd1.cjs"),ne=require("./usePrinter-bFMowLOh.cjs"),Be=require("./DataTable-CRuMrwb8.cjs"),we=require("./Tooltip-DhV-T1A4.cjs"),$e=require("./vue-ui-skeleton-D7ijXB6x.cjs"),Pe=require("./vue-ui-accordion-BIbie2vw.cjs"),ae=require("./useNestedProp-BS-4R8zR.cjs"),Ne=require("./PackageVersion-DwKk69DU.cjs"),Te=require("./PenAndPaper-hlX2Djxv.cjs"),Fe=require("./useUserOptionState-BgepsfED.cjs"),Se=require("./useChartAccessibility-Cm7nkzTG.cjs"),xe=require("./usePanZoom-CppTL3G-.cjs"),Ee=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Re=["cx","cy","r","fill","stroke","stroke-width","onClick","onMouseover"],Ve=["x","y","height","width","onClick","onMouseover"],Oe={__name:"RecursiveCircles",props:{color:{type:String,default:"#000000"},dataset:{type:Array,default:()=>[]},hoveredUid:{type:String,default:null},linkColor:{type:String,default:"#CCCCCC"},stroke:{type:String,default:"#FFFFFF"},strokeHovered:{type:String,default:"#000000"}},emits:["click","hover"],setup(a,{emit:$}){const P=a,y=$;function d(r){y("click",r)}function g(r){y("hover",r)}return e.toRef(P,"dataset").value.forEach(r=>{r.nodes&&r.nodes.length>0&&r.nodes.forEach(f=>{f.ancestor=r})}),(r,f)=>{const V=e.resolveComponent("RecursiveCircles",!0);return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.dataset,i=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[i.polygonPath&&i.polygonPath.coordinates?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.polygonPath.coordinates,(k,E)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("circle",{cx:k.x,cy:k.y,r:i.circleRadius,fill:`url(#gradient_${i.color})`,stroke:a.hoveredUid&&a.hoveredUid===i.uid?a.strokeHovered:a.stroke,"stroke-width":a.hoveredUid&&a.hoveredUid===i.uid?i.circleRadius/6:i.circleRadius/12,style:{cursor:"pointer"},onClick:w=>d(i),onMouseover:w=>g(i),onMouseleave:f[0]||(f[0]=w=>g(null))},null,40,Re),r.$slots.node?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:k.x-i.circleRadius,y:k.y-i.circleRadius,height:i.circleRadius*2,width:i.circleRadius*2,style:{overflow:"visible"},onClick:e.withModifiers(w=>d(i),["stop"]),onMouseover:w=>g(i),onMouseleave:f[1]||(f[1]=w=>g(null))},[e.renderSlot(r.$slots,"node",e.mergeProps({ref_for:!0},{node:i}))],40,Ve)):e.createCommentVNode("",!0)],64))),256)),i.nodes&&i.nodes.length>0?(e.openBlock(),e.createBlock(V,{key:0,dataset:i.nodes,color:a.color,stroke:a.stroke,strokeHovered:a.strokeHovered,hoveredUid:a.hoveredUid,onClick:d,onHover:g},{node:e.withCtx(({node:k})=>[e.renderSlot(r.$slots,"node",e.mergeProps({ref_for:!0},{node:k}))]),_:2},1032,["dataset","color","stroke","strokeHovered","hoveredUid"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64))),256)}}},Ae=["x1","y1","x2","y2","stroke","stroke-width"],Le=["x1","y1","x2","y2","stroke","stroke-width"],Ue={__name:"RecursiveLinks",props:{dataset:{type:Array,default:()=>[]},color:{type:String,default:"#DDDDDD"},backgroundColor:{type:String,default:"#FFFFFF"}},setup(a){const $=a;return e.toRef($,"dataset").value.forEach(y=>{y.nodes&&y.nodes.length>0&&y.nodes.forEach(d=>{d.ancestor=y})}),(y,d)=>{const g=e.resolveComponent("RecursiveLinks",!0);return e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.dataset,s=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.polygonPath&&s.polygonPath.coordinates?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.polygonPath.coordinates,(r,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.ancestor&&s.ancestor.polygonPath?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("line",{x1:r.x,y1:r.y,x2:s.ancestor.polygonPath.coordinates[0].x,y2:s.ancestor.polygonPath.coordinates[0].y,stroke:a.backgroundColor,"stroke-width":s.circleRadius/1.5},null,8,Ae),e.createElementVNode("line",{x1:r.x,y1:r.y,x2:s.ancestor.polygonPath.coordinates[0].x,y2:s.ancestor.polygonPath.coordinates[0].y,stroke:a.color,"stroke-width":s.circleRadius/2},null,8,Le)],64)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)],64))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.dataset,s=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.polygonPath&&s.polygonPath.coordinates?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s.nodes&&s.nodes.length>0?(e.openBlock(),e.createBlock(g,{key:0,dataset:s.nodes,color:a.color,backgroundColor:a.backgroundColor},null,8,["dataset","color","backgroundColor"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64))),256))],64)}}},De=["x","y","fill","font-size"],Ie={__name:"RecursiveLabels",props:{color:{type:String,default:"#000000"},dataset:{type:Array,default:()=>[]},hoveredUid:{type:String,default:null}},emits:["zoom","hover"],setup(a,{emit:$}){const P=a;return e.toRef(P,"dataset").value.forEach(d=>{d.nodes&&d.nodes.length>0&&d.nodes.forEach(g=>{g.ancestor=d})}),(d,g)=>{const s=e.resolveComponent("RecursiveLabels",!0);return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.dataset,r=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.polygonPath&&r.polygonPath.coordinates?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.polygonPath.coordinates,f=>(e.openBlock(),e.createElementBlock("text",{x:f.x,y:f.y+r.circleRadius*2,fill:a.color,"font-size":r.circleRadius,"text-anchor":"middle",style:{opacity:"0.8","pointer-events":"none"}},e.toDisplayString(r.name),9,De))),256)),r.nodes&&r.nodes.length>0?(e.openBlock(),e.createBlock(s,{key:0,dataset:r.nodes,color:a.color,hoveredUid:a.hoveredUid},null,8,["dataset","color","hoveredUid"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64))),256)}}},ze=["id"],_e={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},He={key:2,style:"width:100%;background:transparent;"},Me=["xmlns","viewBox"],qe=["width","height"],Ge=["id"],je=["stop-color"],We=["stop-color"],Xe={key:5,class:"vue-data-ui-watermark"},Ye={key:7,ref:"source",dir:"auto"},Ze=["innerHTML"],Je={__name:"vue-ui-molecule",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectNode"],setup(a,{expose:$,emit:P}){const{vue_ui_molecule:y}=v.useConfig(),d=a,g=P,s=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(()=>{r()});function r(){v.objectIsEmpty(d.dataset)&&v.error({componentName:"VueUiMolecule",type:"dataset"})}const f=e.ref(v.createUid()),V=e.ref(null),i=e.ref(!1),k=e.ref(""),E=e.ref(null),w=e.ref(0),z=e.ref(0),_=e.ref(0),t=e.computed({get:()=>q(),set:o=>o}),{userOptionsVisible:O,setUserOptionsVisibility:H,keepUserOptionState:M}=Fe.useUserOptionState({config:t.value}),{svgRef:A}=Se.useChartAccessibility({config:t.value.style.chart.title});function q(){const o=ae.useNestedProp({userConfig:d.config,defaultConfig:y});return o.theme?{...ae.useNestedProp({userConfig:v.themes.vue_ui_molecule[o.theme]||d.config,defaultConfig:o}),customPalette:v.themePalettes[o.theme]||v.palette}:o}e.watch(()=>d.config,o=>{t.value=q(),O.value=!t.value.userOptions.showOnChartHover,r(),z.value+=1,_.value+=1,m.value.showTable=t.value.table.show,m.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const{isPrinting:G,isImaging:j,generatePdf:W,generateImage:X}=ne.usePrinter({elementId:`cluster_${f.value}`,fileName:t.value.style.chart.title.text||"vue-ui-molecule",options:t.value.userOptions.print}),se=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),ie=e.computed(()=>v.convertCustomPalette(t.value.customPalette)),m=e.ref({showTable:t.value.table.show,showDataLabels:!0,showTooltip:t.value.style.chart.tooltip.show});function Y(o,n=0){return Array.isArray(o)&&o.length>0&&o[0].nodes?Y(o[0].nodes,n+1):n}function ue(){const o=Y(d.dataset);let n=100,l=n;for(let c=0;c<o;c+=1)n/=1,l+=n;return{height:l,width:l}}const p=e.ref(ue());e.ref(`0 0 ${p.value.width} ${p.value.height}`);function Z(o,n={x:-p.value.width/2.43,y:p.value.height/2},l=p.value.width/1.1,c=24,u=0,h=0,b="#BBBBBB",D=0){if(!Array.isArray(o)||o.length===0)return o;const be=v.createPolygonPath({plot:n,radius:l,sides:o.length,rotation:u});return o.forEach((C,oe)=>{const le=be.coordinates[oe],re=C.color?(()=>{let I=v.convertColorToHex(C.color);return I.startsWith("#")?I:`#${I}`})():null;let T;re?T=re:D===0?T=b:D===1?(T=ie.value[h]||v.palette[h]||b,h+=1):T=b,C.polygonPath={coordinates:[le]},C.circleRadius=c,C.color=T,C.uid=v.createUid(),Array.isArray(C.nodes)&&C.nodes.length&&(C.nodes=Z(C.nodes,le,l/2.9,c/2.2,u+Math.PI*oe/C.nodes.length,h,T,D+1))}),o}function ce(o){const n=new Set;function l(u){u.forEach(h=>{if(!h.color)return;let b=h.color;/^#?[0-9A-F]{6}$/i.test(b)||(b=v.convertColorToHex(b)),b.startsWith("#")||(b=`#${b}`),n.add(b),Array.isArray(h.nodes)&&h.nodes.length&&l(h.nodes)})}l(o);const c={};return Array.from(n).forEach(u=>{const h=u.slice(1);c[u]=`gradient_${h}`}),c}const de=e.computed(()=>ce(B.value)),B=e.computed(()=>{const o=v.deepClone(d.dataset);return Z(o)}),L=e.ref(null);function ve(o){L.value={datapoint:o,seriesIndex:-1,series:B.value,config:t.value};const n=t.value.style.chart.tooltip.customFormat;if(v.isFunction(n)&&v.functionReturnsString(()=>n({seriesIndex:-1,datapoint:o,series:B.value,config:t.value})))k.value=n({seriesIndex:-1,datapoint:o,series:B.value,config:t.value});else{let l="";l+=`<div style="display:flex;align-items:center;gap:3px"><div style="color:${o.color}">⬤</div><div>${o.name}</div></div>`,o.details&&(l+=`<div style="width:100%;border-top:1px solid ${t.value.style.chart.tooltip.borderColor};margin-top: 2px">${o.details}</div>`),k.value=`<div style="font-family:inherit">${l}</div>`}}const J=e.ref(null),F=e.ref(null);function he(o){J.value=o,o?(i.value=!0,ve(o),F.value=o.uid):(i.value=!1,k.value="",F.value=null)}function fe(o){const n=[];function l(c){c.forEach(u=>{const h={name:u.name,details:u.details||"-",ancestor:u.ancestor&&u.ancestor.name||"-",color:u.color||""};n.push(h),u.nodes&&u.nodes.length>0&&l(u.nodes,u.name)})}return l(o),n}const pe=e.computed(()=>fe(B.value)),N=e.computed(()=>{const o=[t.value.table.translations.nodeName,t.value.table.translations.details,t.value.table.translations.ancestor],n=pe.value.map((u,h)=>[{color:u.color,name:u.name},u.details,u.ancestor||""]),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},c=[t.value.table.translations.nodeName,t.value.table.translations.details,t.value.table.translations.ancestor];return{head:o,body:n,config:l,colNames:c}});function K(){e.nextTick(()=>{const o=N.value.body.map((c,u)=>[[c[0].name],[c[1]],[c[2]]]),n=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[...N.value.head]]].concat(o),l=v.createCsvContent(n);v.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-molecule"})})}function me(){return B.value}const S=e.ref(!1);function ge(o){S.value=o,w.value+=1}function Q(){m.value.showTable=!m.value.showTable}function ee(){m.value.showDataLabels=!m.value.showDataLabels}function te(){m.value.showTooltip=!m.value.showTooltip}const x=e.ref(!1);function U(){x.value=!x.value}const ye=e.computed(()=>!x.value),{viewBox:R}=xe.usePanZoom(A,{x:0,y:0,width:p.value.width<=0?10:p.value.width,height:p.value.height<=0?10:p.value.height},t.value.style.chart.zoom.speed,ye);function ke(o){g("selectNode",o)}return $({getData:me,generatePdf:W,generateCsv:K,generateImage:X,toggleTable:Q,toggleLabels:ee,toggleTooltip:te,toggleAnnotator:U}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"moleculeChart",ref:E,class:e.normalizeClass(`vue-ui-molecule ${S.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),id:`cluster_${f.value}`,onMouseleave:n[1]||(n[1]=l=>{J.value=null,F.value=null,e.unref(H)(!1)}),onMouseenter:n[2]||(n[2]=()=>e.unref(H)(!0))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Te.PenAndPaper,{key:0,svgRef:e.unref(A),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:x.value,onClose:U},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),se.value?(e.openBlock(),e.createElementBlock("div",_e,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",He,[(e.openBlock(),e.createBlock(Ce._sfc_main,{key:`title_${z.value}`,config:{title:{cy:"molecule-div-title",...t.value.style.chart.title},subtitle:{cy:"molecule-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&s.value&&(e.unref(M)||e.unref(O))?(e.openBlock(),e.createBlock(ne.UserOptions,{ref_key:"details",ref:V,key:`user_options_${w.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(G),isImaging:e.unref(j),uid:f.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:m.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:E.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:x.value,onToggleFullscreen:ge,onGeneratePdf:e.unref(W),onGenerateCsv:K,onGenerateImage:e.unref(X),onToggleTable:Q,onToggleLabels:ee,onToggleTooltip:te,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(M)?e.unref(O)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:c})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:c})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionLabels",{},void 0,!0)]),key:"6"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:c})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:c})),void 0,!0)]),key:"7"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:c})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:c})),void 0,!0)]),key:"8"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:A,xmlns:e.unref(v.XMLNS),viewBox:`${e.unref(R).x} ${e.unref(R).y} ${e.unref(R).width} ${e.unref(R).height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":S.value,"vue-data-ui-fulscreen--off":!S.value}),style:e.normalizeStyle(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Ne._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:p.value.width<=0?10:p.value.width,height:p.value.height<=0?10:p.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,qe)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(de.value),l=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`gradient_${l}`,cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(v.lightenHexColor)(l,.5)},null,8,je),e.createElementVNode("stop",{offset:"100%","stop-color":l},null,8,We)],8,Ge))),256))]),e.createVNode(Ue,{dataset:B.value,color:t.value.style.chart.links.stroke,backgroundColor:t.value.style.chart.backgroundColor},null,8,["dataset","color","backgroundColor"]),e.createVNode(Oe,{dataset:B.value,hoveredUid:F.value,stroke:t.value.style.chart.nodes.stroke,strokeHovered:t.value.style.chart.nodes.strokeHovered,onClick:ke,onHover:he},{node:e.withCtx(({node:l})=>[e.renderSlot(o.$slots,"node",e.normalizeProps(e.guardReactiveProps({node:l})),void 0,!0)]),_:3},8,["dataset","hoveredUid","stroke","strokeHovered"]),m.value.showDataLabels?(e.openBlock(),e.createBlock(Ie,{key:1,dataset:B.value,color:t.value.style.chart.color,hoveredUid:F.value},null,8,["dataset","color","hoveredUid"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:p.value},void 0,!0)],14,Me)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Xe,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(G)||e.unref(j)})),void 0,!0)])):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($e.default,{key:6,config:{type:"molecule",style:{backgroundColor:t.value.style.chart.backgroundColor,molecule:{color:"#CCCCCC"}}}},null,8,["config"])),o.$slots.source?(e.openBlock(),e.createElementBlock("div",Ye,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(we._sfc_main,{show:m.value.showTooltip&&i.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:E.value,content:k.value,isFullscreen:S.value,isCustom:t.value.style.chart.tooltip.customFormat&&typeof t.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),s.value?(e.openBlock(),e.createBlock(Pe.default,{key:8,hideDetails:"",config:{open:m.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Be.DataTable,{key:`table_${_.value}`,colNames:N.value.colNames,head:N.value.head,body:N.value.body,config:N.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:n[0]||(n[0]=l=>m.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Ze)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ze))}},Ke=Ee._export_sfc(Je,[["__scopeId","data-v-d296dc0b"]]);exports.default=Ke;