vue-data-ui 2.6.39 → 2.6.41

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-B97dY5c5.js → Arrow-CzwnuhQC.js} +1 -1
  2. package/dist/{Arrow-5ip5m31y.cjs → Arrow-j4Npojhv.cjs} +1 -1
  3. package/dist/{BaseIcon-CPtTZ5gm.js → BaseIcon-DyOT6PYJ.js} +1 -1
  4. package/dist/{BaseIcon-CnmrKVrD.cjs → BaseIcon-lwGFy7CI.cjs} +1 -1
  5. package/dist/{ColorPicker-anuoNM-p.cjs → ColorPicker-BiTtlEx1.cjs} +1 -1
  6. package/dist/{ColorPicker-DDG5q9jR.js → ColorPicker-DHXRDP2o.js} +3 -3
  7. package/dist/{DataTable-pO-dTL2C.js → DataTable-B8Vnlflz.js} +2 -2
  8. package/dist/{DataTable-DYeuLcih.cjs → DataTable-CX-Mdafj.cjs} +1 -1
  9. package/dist/{Legend-BNLVnEGq.js → Legend-Bw9vX_fW.js} +2 -2
  10. package/dist/{Legend-qp4VAykH.cjs → Legend-DgyuPw1G.cjs} +1 -1
  11. package/dist/{PackageVersion-DuXUuz0O.js → PackageVersion-C6hdi5vE.js} +1 -1
  12. package/dist/{PackageVersion-BzhafpGr.cjs → PackageVersion-CvpIoiav.cjs} +1 -1
  13. package/dist/{PenAndPaper-ZkRFCit4.cjs → PenAndPaper-5L5c2K-j.cjs} +1 -1
  14. package/dist/{PenAndPaper-CoDyTQsZ.js → PenAndPaper-DBNdemyU.js} +3 -3
  15. package/dist/{Shape-DH4XF-dc.js → Shape-CcQr04tT.js} +1 -1
  16. package/dist/{Shape-DroaKLIm.cjs → Shape-my_oX1r-.cjs} +1 -1
  17. package/dist/{Slicer-C854GBKY.js → Slicer-CJT21pOl.js} +2 -2
  18. package/dist/{Slicer-Bo7bO5E5.cjs → Slicer-Dpuspld0.cjs} +1 -1
  19. package/dist/{Title-CcDml6Zf.cjs → Title-CnyZaLp0.cjs} +1 -1
  20. package/dist/{Title-C223TJ6C.js → Title-Dfjx2pT6.js} +1 -1
  21. package/dist/{Tooltip-BvROZcv0.js → Tooltip-C3kzKkai.js} +1 -1
  22. package/dist/{Tooltip-lj99sBKN.cjs → Tooltip-V6vr6k8X.cjs} +1 -1
  23. package/dist/{index-CVHop7bB.js → index-BAPUY6BW.js} +409 -382
  24. package/dist/index-CVZp-EFm.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +1 -0
  27. package/dist/types/vue-data-ui.d.ts +1 -0
  28. package/dist/{useNestedProp-DVSKLFhF.cjs → useNestedProp-Ch_Tbu0f.cjs} +1 -1
  29. package/dist/{useNestedProp-DB5XMx_s.js → useNestedProp-X5u-cjpn.js} +1 -1
  30. package/dist/{usePrinter-D3Sb5fSb.cjs → usePrinter-BJ8ChcXf.cjs} +1 -1
  31. package/dist/{usePrinter-CXjj2NA9.js → usePrinter-BsXYrX84.js} +1 -1
  32. package/dist/{vue-data-ui-Bv_90b2c.cjs → vue-data-ui-CZG3ODq3.cjs} +1 -1
  33. package/dist/{vue-data-ui-C7FFFFUg.js → vue-data-ui-OBrcs0EY.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +8 -8
  36. package/dist/{vue-ui-3d-bar-DQaDfIEU.cjs → vue-ui-3d-bar-BOUSglv4.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-BkaPHEfQ.js → vue-ui-3d-bar-BRhfbpJd.js} +9 -9
  38. package/dist/{vue-ui-accordion-Ds-8LBd7.cjs → vue-ui-accordion-BS_katXk.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-DZkJGmcV.js → vue-ui-accordion-Dm7ZlylJ.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-CklczrE2.cjs → vue-ui-age-pyramid-Bt_wuZiO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-_QqaTWL9.js → vue-ui-age-pyramid-CBtPdObD.js} +10 -10
  42. package/dist/{vue-ui-annotator-DvTfQVeB.cjs → vue-ui-annotator-B8HvCy1u.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-CkYus97l.js → vue-ui-annotator-Rb7-Ig4d.js} +1 -1
  44. package/dist/{vue-ui-bullet-7XbqAz6z.cjs → vue-ui-bullet-BlYz0H5Q.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-D_VtAlvO.js → vue-ui-bullet-C7ftUjYQ.js} +8 -8
  46. package/dist/{vue-ui-candlestick-B423J4Df.cjs → vue-ui-candlestick-DY4EKJPX.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-RzjBpRWa.js → vue-ui-candlestick-D_osh2qN.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-CDGpVNBq.cjs → vue-ui-carousel-table-DHN5NuUS.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-BcKE75Fr.js → vue-ui-carousel-table-M72bzy85.js} +4 -4
  50. package/dist/{vue-ui-chestnut-BpqaO6Ki.cjs → vue-ui-chestnut-BdHd-Juu.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-DlJ4UHAd.js → vue-ui-chestnut-i7EtBpLY.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-C75Ig7Ot.js → vue-ui-circle-pack-BC1uScHe.js} +9 -9
  53. package/dist/{vue-ui-circle-pack-HI9e7B2K.cjs → vue-ui-circle-pack-rf-DQQuM.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-9UG_5YM1.cjs → vue-ui-cursor-B06MWQUK.cjs} +1 -1
  55. package/dist/{vue-ui-cursor-DQRdy4kP.js → vue-ui-cursor-eJ2ExkFm.js} +2 -2
  56. package/dist/{vue-ui-dashboard-LImeuX9g.js → vue-ui-dashboard-BAwwet8B.js} +2 -2
  57. package/dist/{vue-ui-dashboard-J0p7RHcR.cjs → vue-ui-dashboard-m-sB4TXH.cjs} +1 -1
  58. package/dist/{vue-ui-digits-BCj_Px9b.js → vue-ui-digits-B6ivU7b9.js} +2 -2
  59. package/dist/{vue-ui-digits-DfnixiIy.cjs → vue-ui-digits-C5jmpiTL.cjs} +1 -1
  60. package/dist/{vue-ui-donut-DaqG2jcW.js → vue-ui-donut-DtZ-n8vd.js} +12 -12
  61. package/dist/{vue-ui-donut-CvxOiV5F.cjs → vue-ui-donut-GBs-eAbp.cjs} +1 -1
  62. package/dist/{vue-ui-donut-evolution-QJnKCDWk.cjs → vue-ui-donut-evolution-DdDVkeuH.cjs} +1 -1
  63. package/dist/{vue-ui-donut-evolution-BFn-J1jp.js → vue-ui-donut-evolution-VJpinb_g.js} +11 -11
  64. package/dist/{vue-ui-dumbbell-C_nCYtcd.cjs → vue-ui-dumbbell-94nsg3t1.cjs} +1 -1
  65. package/dist/{vue-ui-dumbbell-DD8_k_pA.js → vue-ui-dumbbell-EoH10k2D.js} +10 -10
  66. package/dist/{vue-ui-flow-Dls16uj4.js → vue-ui-flow-B-xWkgVv.js} +9 -9
  67. package/dist/{vue-ui-flow-CCXQ4mYO.cjs → vue-ui-flow-Ddn2S7NR.cjs} +1 -1
  68. package/dist/{vue-ui-funnel-ClCnyvUX.cjs → vue-ui-funnel-Iawza5lZ.cjs} +1 -1
  69. package/dist/{vue-ui-funnel-X6bFgq1Z.js → vue-ui-funnel-hdajl9CD.js} +9 -9
  70. package/dist/{vue-ui-galaxy-CRDleJUe.cjs → vue-ui-galaxy-BoiBmzst.cjs} +1 -1
  71. package/dist/{vue-ui-galaxy-Boa9gjJV.js → vue-ui-galaxy-CeqCjd4V.js} +11 -11
  72. package/dist/{vue-ui-gauge-DzjMmBFe.cjs → vue-ui-gauge-B4aBDTfP.cjs} +1 -1
  73. package/dist/{vue-ui-gauge-DAwO2xJz.js → vue-ui-gauge-BSuGWZEY.js} +7 -7
  74. package/dist/{vue-ui-gizmo-BvGlHcHy.cjs → vue-ui-gizmo-D_J2R5JU.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-ChFEuLno.js → vue-ui-gizmo-VFwChXXf.js} +3 -3
  76. package/dist/vue-ui-heatmap-BNlBRWi1.cjs +1 -0
  77. package/dist/{vue-ui-heatmap-D2mH3GRc.js → vue-ui-heatmap-DAeCu-iM.js} +53 -53
  78. package/dist/{vue-ui-history-plot-CsjNiSkK.cjs → vue-ui-history-plot-BcjI3J96.cjs} +1 -1
  79. package/dist/{vue-ui-history-plot-C2ynFIiK.js → vue-ui-history-plot-Caty-SWt.js} +11 -11
  80. package/dist/{vue-ui-kpi-C8kidDY0.js → vue-ui-kpi-B2WcjLWP.js} +3 -3
  81. package/dist/{vue-ui-kpi-BuojbCip.cjs → vue-ui-kpi-Bu24xnG8.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-32UNlDDN.js → vue-ui-mini-loader-B8QzxySW.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BBLK1NYq.cjs → vue-ui-mini-loader-BgW5M00P.cjs} +1 -1
  84. package/dist/vue-ui-molecule-Ds0uou9B.js +829 -0
  85. package/dist/vue-ui-molecule-WPdx8i08.cjs +1 -0
  86. package/dist/{vue-ui-mood-radar-UpFKESLA.cjs → vue-ui-mood-radar-D45uj8xo.cjs} +1 -1
  87. package/dist/{vue-ui-mood-radar-DibQpZ4m.js → vue-ui-mood-radar-DMrAwNQa.js} +11 -11
  88. package/dist/{vue-ui-nested-donuts-CH0on2fU.cjs → vue-ui-nested-donuts-3orKF1Fi.cjs} +1 -1
  89. package/dist/{vue-ui-nested-donuts-C30jFP2v.js → vue-ui-nested-donuts-FSCi4a9f.js} +11 -11
  90. package/dist/{vue-ui-onion-C_lRLYfI.cjs → vue-ui-onion-CiXgGubD.cjs} +1 -1
  91. package/dist/{vue-ui-onion-BvKTXaMU.js → vue-ui-onion-YWVe7eaq.js} +11 -11
  92. package/dist/{vue-ui-parallel-coordinate-plot-C9V9mpG7.js → vue-ui-parallel-coordinate-plot-C8vxLtTa.js} +12 -12
  93. package/dist/{vue-ui-parallel-coordinate-plot-3Y3tw-xu.cjs → vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs} +1 -1
  94. package/dist/{vue-ui-quadrant-BJbfTZHj.js → vue-ui-quadrant-DmDoysAq.js} +40 -40
  95. package/dist/{vue-ui-quadrant-Bdfj6rMa.cjs → vue-ui-quadrant-LTIGWJiO.cjs} +1 -1
  96. package/dist/{vue-ui-quick-chart-CQetx6nm.cjs → vue-ui-quick-chart-BgSeWNxv.cjs} +1 -1
  97. package/dist/{vue-ui-quick-chart-DVzpgYpH.js → vue-ui-quick-chart-CwJe7rJt.js} +9 -9
  98. package/dist/{vue-ui-radar-DNhe9CJp.js → vue-ui-radar-Bo9SbfBN.js} +12 -12
  99. package/dist/{vue-ui-radar-uL_2DFoA.cjs → vue-ui-radar-CblS9X1n.cjs} +1 -1
  100. package/dist/{vue-ui-rating-Dl5EXfoM.cjs → vue-ui-rating-CqY6A4WX.cjs} +1 -1
  101. package/dist/{vue-ui-rating-CScqTeBz.js → vue-ui-rating-DPs6BKf1.js} +10 -10
  102. package/dist/{vue-ui-relation-circle-CMfcB2y4.js → vue-ui-relation-circle-3Al_2yf1.js} +7 -7
  103. package/dist/{vue-ui-relation-circle-BOAv03ET.cjs → vue-ui-relation-circle-COYe9dsQ.cjs} +1 -1
  104. package/dist/{vue-ui-rings-Ct4IZrwW.js → vue-ui-rings-D9_ClLdg.js} +12 -12
  105. package/dist/{vue-ui-rings-1guUWjBV.cjs → vue-ui-rings-DOlqslSN.cjs} +1 -1
  106. package/dist/{vue-ui-scatter-C2lZcn5O.js → vue-ui-scatter-DFDHrRyc.js} +42 -42
  107. package/dist/{vue-ui-scatter-D-llNCbW.cjs → vue-ui-scatter-DQhoY0TK.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-D7K40IXf.cjs → vue-ui-screenshot-BWVTxKN_.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-BBazxOqC.js → vue-ui-screenshot-R1IzXCqt.js} +1 -1
  110. package/dist/{vue-ui-skeleton-BUNaR9Kg.js → vue-ui-skeleton-DBfQG5lC.js} +57 -57
  111. package/dist/{vue-ui-skeleton-cQoXWosg.cjs → vue-ui-skeleton-Dn9J8aVW.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-CCDBWRTa.js → vue-ui-smiley-CLv8dmnr.js} +2 -2
  113. package/dist/{vue-ui-smiley-_gyL-r4c.cjs → vue-ui-smiley-DQ7I4CcQ.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-B9xYWR4x.js → vue-ui-spark-trend-B0qbQaxj.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-D5M7L8Nn.cjs → vue-ui-spark-trend-Drp1E7DH.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-B9q9xGj6.js → vue-ui-sparkbar-Bz_QHNKp.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-B9_aTFqL.cjs → vue-ui-sparkbar-DYW_BgkY.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-DlJWcy62.js → vue-ui-sparkgauge-5EIHFUiW.js} +4 -4
  119. package/dist/{vue-ui-sparkgauge-BIVUXWRg.cjs → vue-ui-sparkgauge-C6tB0nl4.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-gn3DIsxZ.js → vue-ui-sparkhistogram-COdCqBiI.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-Dm0Vtvn1.cjs → vue-ui-sparkhistogram-KIw7nvKd.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Ch2QWsMO.cjs → vue-ui-sparkline-CXIdKGso.cjs} +1 -1
  123. package/dist/{vue-ui-sparkline-9MoD7O9K.js → vue-ui-sparkline-DgUc7CMn.js} +15 -15
  124. package/dist/{vue-ui-sparkstackbar-BACwbjpj.js → vue-ui-sparkstackbar-BUqauQMd.js} +5 -5
  125. package/dist/{vue-ui-sparkstackbar-aFnfjz2u.cjs → vue-ui-sparkstackbar-MrQzEVeh.cjs} +1 -1
  126. package/dist/{vue-ui-stackbar-DcXIU7MJ.cjs → vue-ui-stackbar-BUJpFyA3.cjs} +1 -1
  127. package/dist/{vue-ui-stackbar-B4gbMSfv.js → vue-ui-stackbar-C-i36fcc.js} +13 -13
  128. package/dist/{vue-ui-strip-plot-g3BjFUT5.cjs → vue-ui-strip-plot-BLECfP0D.cjs} +1 -1
  129. package/dist/{vue-ui-strip-plot-2H2e_73D.js → vue-ui-strip-plot-Dc82V8Qo.js} +11 -11
  130. package/dist/{vue-ui-table-Do6l-NwY.cjs → vue-ui-table-0E7zmWIW.cjs} +1 -1
  131. package/dist/{vue-ui-table-a03YNGcq.js → vue-ui-table-DnAzCFyM.js} +1 -1
  132. package/dist/{vue-ui-table-heatmap-CNjY0h0g.cjs → vue-ui-table-heatmap-BHSksmMn.cjs} +1 -1
  133. package/dist/{vue-ui-table-heatmap-CeF3qQ6v.js → vue-ui-table-heatmap-CzwyhRmp.js} +4 -4
  134. package/dist/{vue-ui-table-sparkline-dISGVncg.js → vue-ui-table-sparkline-BU4he5wL.js} +5 -5
  135. package/dist/{vue-ui-table-sparkline-BpQv4cWI.cjs → vue-ui-table-sparkline-BoVrzVok.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-C25rhVvw.cjs → vue-ui-thermometer-DeJpqEix.cjs} +1 -1
  137. package/dist/{vue-ui-thermometer-Cc343GDr.js → vue-ui-thermometer-uShXro0_.js} +7 -7
  138. package/dist/{vue-ui-timer-TeAbWeT2.cjs → vue-ui-timer-C8qXGSrQ.cjs} +1 -1
  139. package/dist/{vue-ui-timer-ByQXGLpD.js → vue-ui-timer-D6L29mt9.js} +5 -5
  140. package/dist/{vue-ui-tiremarks-zdNTuR2J.js → vue-ui-tiremarks-BcjGqJn-.js} +7 -7
  141. package/dist/{vue-ui-tiremarks-CG0Da6_3.cjs → vue-ui-tiremarks-CQ4yESxv.cjs} +1 -1
  142. package/dist/{vue-ui-treemap-B_xkm-3z.js → vue-ui-treemap-BpB4ofIX.js} +11 -11
  143. package/dist/{vue-ui-treemap-Cqx_LVJx.cjs → vue-ui-treemap-DbTCrAmK.cjs} +1 -1
  144. package/dist/{vue-ui-vertical-bar-BlOQzW7s.js → vue-ui-vertical-bar-CEIg-_SG.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-CR1hPIJS.cjs → vue-ui-vertical-bar-Q5ArQTC0.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-CnvaOKK_.cjs → vue-ui-waffle-B61yE93N.cjs} +1 -1
  147. package/dist/{vue-ui-waffle-DELAI7_M.js → vue-ui-waffle-h8UbPcuC.js} +12 -12
  148. package/dist/{vue-ui-wheel-CLP2SMB4.js → vue-ui-wheel-BhLEyhW_.js} +7 -7
  149. package/dist/{vue-ui-wheel-DONILlPN.cjs → vue-ui-wheel-Chc9pVEu.cjs} +1 -1
  150. package/dist/{vue-ui-word-cloud-D4oJGtfH.cjs → vue-ui-word-cloud-Cq6mmJVo.cjs} +1 -1
  151. package/dist/{vue-ui-word-cloud-DTxLmJhe.js → vue-ui-word-cloud-oa6Tnt3L.js} +10 -10
  152. package/dist/{vue-ui-xy-CNBUMris.cjs → vue-ui-xy-Brt11wmo.cjs} +1 -1
  153. package/dist/{vue-ui-xy-QB9D95yQ.js → vue-ui-xy-CXY00bkP.js} +46 -46
  154. package/dist/{vue-ui-xy-canvas-4rdG5Bzv.cjs → vue-ui-xy-canvas-Ce4kC0Xz.cjs} +1 -1
  155. package/dist/{vue-ui-xy-canvas-DrVvMTQo.js → vue-ui-xy-canvas-DapzRtyI.js} +40 -40
  156. package/package.json +1 -1
  157. package/dist/index-CuhZ_hul.cjs +0 -9
  158. package/dist/vue-ui-heatmap-DiKzEnfD.cjs +0 -1
  159. package/dist/vue-ui-molecule-C_giWPuq.cjs +0 -1
  160. package/dist/vue-ui-molecule-DWJWHwg9.js +0 -826
@@ -0,0 +1,829 @@
1
+ import { toRef as he, resolveComponent as fe, createElementBlock as d, openBlock as s, Fragment as k, renderList as M, createCommentVNode as m, createBlock as R, createElementVNode as W, withModifiers as Ge, renderSlot as w, mergeProps as xe, withCtx as P, toDisplayString as Se, ref as p, onMounted as Ae, onUnmounted as Ve, watchEffect as We, computed as _, watch as Xe, unref as b, normalizeStyle as ve, normalizeClass as Pe, createVNode as ae, createSlots as je, normalizeProps as G, guardReactiveProps as V, createTextVNode as Ye, nextTick as Ze } from "vue";
2
+ import { u as qe, o as Qe, e as Je, c as Te, t as Ke, p as Fe, a as et, b as tt, P as ot, X as lt, l as st, Q as nt, d as Le, q as at, r as rt, x as it, y as ut } from "./index-BAPUY6BW.js";
3
+ import { _ as ct } from "./Title-Dfjx2pT6.js";
4
+ import { u as dt, U as vt } from "./usePrinter-BsXYrX84.js";
5
+ import { D as ht } from "./DataTable-B8Vnlflz.js";
6
+ import { _ as ft } from "./Tooltip-C3kzKkai.js";
7
+ import yt from "./vue-ui-skeleton-DBfQG5lC.js";
8
+ import pt from "./vue-ui-accordion-Dm7ZlylJ.js";
9
+ import { u as Ee } from "./useNestedProp-X5u-cjpn.js";
10
+ import { _ as mt } from "./PackageVersion-C6hdi5vE.js";
11
+ import { P as gt } from "./PenAndPaper-DBNdemyU.js";
12
+ import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
13
+ import { u as kt } from "./useChartAccessibility-BWojgys7.js";
14
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const $t = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], wt = ["x", "y", "height", "width", "onClick", "onMouseover"], xt = {
16
+ __name: "RecursiveCircles",
17
+ props: {
18
+ color: {
19
+ type: String,
20
+ default: "#000000"
21
+ },
22
+ dataset: {
23
+ type: Array,
24
+ default: () => []
25
+ },
26
+ hoveredUid: {
27
+ type: String,
28
+ default: null
29
+ },
30
+ linkColor: {
31
+ type: String,
32
+ default: "#CCCCCC"
33
+ },
34
+ stroke: {
35
+ type: String,
36
+ default: "#FFFFFF"
37
+ },
38
+ strokeHovered: {
39
+ type: String,
40
+ default: "#000000"
41
+ }
42
+ },
43
+ emits: ["click", "hover"],
44
+ setup(r, { emit: z }) {
45
+ const H = r, E = z;
46
+ function a(n) {
47
+ E("click", n);
48
+ }
49
+ function C(n) {
50
+ E("hover", n);
51
+ }
52
+ return he(H, "dataset").value.forEach((n) => {
53
+ n.nodes && n.nodes.length > 0 && n.nodes.forEach((f) => {
54
+ f.ancestor = n;
55
+ });
56
+ }), (n, f) => {
57
+ const B = fe("RecursiveCircles", !0);
58
+ return s(!0), d(k, null, M(r.dataset, (i) => (s(), d(k, null, [
59
+ i.polygonPath && i.polygonPath.coordinates ? (s(), d(k, { key: 0 }, [
60
+ (s(!0), d(k, null, M(i.polygonPath.coordinates, (x, U) => (s(), d(k, null, [
61
+ W("circle", {
62
+ cx: x.x,
63
+ cy: x.y,
64
+ r: i.circleRadius,
65
+ fill: `url(#gradient_${i.color})`,
66
+ stroke: r.hoveredUid && r.hoveredUid === i.uid ? r.strokeHovered : r.stroke,
67
+ "stroke-width": r.hoveredUid && r.hoveredUid === i.uid ? i.circleRadius / 6 : i.circleRadius / 12,
68
+ style: { cursor: "pointer" },
69
+ onClick: (S) => a(i),
70
+ onMouseover: (S) => C(i),
71
+ onMouseleave: f[0] || (f[0] = (S) => C(null))
72
+ }, null, 40, $t),
73
+ n.$slots.node ? (s(), d("foreignObject", {
74
+ key: 0,
75
+ x: x.x - i.circleRadius,
76
+ y: x.y - i.circleRadius,
77
+ height: i.circleRadius * 2,
78
+ width: i.circleRadius * 2,
79
+ style: { overflow: "visible" },
80
+ onClick: Ge((S) => a(i), ["stop"]),
81
+ onMouseover: (S) => C(i),
82
+ onMouseleave: f[1] || (f[1] = (S) => C(null))
83
+ }, [
84
+ w(n.$slots, "node", xe({ ref_for: !0 }, { node: i }))
85
+ ], 40, wt)) : m("", !0)
86
+ ], 64))), 256)),
87
+ i.nodes && i.nodes.length > 0 ? (s(), R(B, {
88
+ key: 0,
89
+ dataset: i.nodes,
90
+ color: r.color,
91
+ stroke: r.stroke,
92
+ strokeHovered: r.strokeHovered,
93
+ hoveredUid: r.hoveredUid,
94
+ onClick: a,
95
+ onHover: C
96
+ }, {
97
+ node: P(({ node: x }) => [
98
+ w(n.$slots, "node", xe({ ref_for: !0 }, { node: x }))
99
+ ]),
100
+ _: 2
101
+ }, 1032, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : m("", !0)
102
+ ], 64)) : m("", !0)
103
+ ], 64))), 256);
104
+ };
105
+ }
106
+ }, Pt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Tt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ft = {
107
+ __name: "RecursiveLinks",
108
+ props: {
109
+ dataset: {
110
+ type: Array,
111
+ default: () => []
112
+ },
113
+ color: {
114
+ type: String,
115
+ default: "#DDDDDD"
116
+ },
117
+ backgroundColor: {
118
+ type: String,
119
+ default: "#FFFFFF"
120
+ }
121
+ },
122
+ setup(r) {
123
+ return he(r, "dataset").value.forEach((E) => {
124
+ E.nodes && E.nodes.length > 0 && E.nodes.forEach((a) => {
125
+ a.ancestor = E;
126
+ });
127
+ }), (E, a) => {
128
+ const C = fe("RecursiveLinks", !0);
129
+ return s(), d(k, null, [
130
+ (s(!0), d(k, null, M(r.dataset, (u) => (s(), d(k, null, [
131
+ u.polygonPath && u.polygonPath.coordinates ? (s(!0), d(k, { key: 0 }, M(u.polygonPath.coordinates, (n, f) => (s(), d(k, null, [
132
+ u.ancestor && u.ancestor.polygonPath ? (s(), d(k, { key: 0 }, [
133
+ W("line", {
134
+ x1: n.x,
135
+ y1: n.y,
136
+ x2: u.ancestor.polygonPath.coordinates[0].x,
137
+ y2: u.ancestor.polygonPath.coordinates[0].y,
138
+ stroke: r.backgroundColor,
139
+ "stroke-width": u.circleRadius / 1.5
140
+ }, null, 8, Pt),
141
+ W("line", {
142
+ x1: n.x,
143
+ y1: n.y,
144
+ x2: u.ancestor.polygonPath.coordinates[0].x,
145
+ y2: u.ancestor.polygonPath.coordinates[0].y,
146
+ stroke: r.color,
147
+ "stroke-width": u.circleRadius / 2
148
+ }, null, 8, Tt)
149
+ ], 64)) : m("", !0)
150
+ ], 64))), 256)) : m("", !0)
151
+ ], 64))), 256)),
152
+ (s(!0), d(k, null, M(r.dataset, (u) => (s(), d(k, null, [
153
+ u.polygonPath && u.polygonPath.coordinates ? (s(), d(k, { key: 0 }, [
154
+ u.nodes && u.nodes.length > 0 ? (s(), R(C, {
155
+ key: 0,
156
+ dataset: u.nodes,
157
+ color: r.color,
158
+ backgroundColor: r.backgroundColor
159
+ }, null, 8, ["dataset", "color", "backgroundColor"])) : m("", !0)
160
+ ], 64)) : m("", !0)
161
+ ], 64))), 256))
162
+ ], 64);
163
+ };
164
+ }
165
+ }, Lt = ["x", "y", "fill", "font-size"], Et = {
166
+ __name: "RecursiveLabels",
167
+ props: {
168
+ color: {
169
+ type: String,
170
+ default: "#000000"
171
+ },
172
+ dataset: {
173
+ type: Array,
174
+ default: () => []
175
+ },
176
+ hoveredUid: {
177
+ type: String,
178
+ default: null
179
+ }
180
+ },
181
+ emits: ["zoom", "hover"],
182
+ setup(r, { emit: z }) {
183
+ return he(r, "dataset").value.forEach((a) => {
184
+ a.nodes && a.nodes.length > 0 && a.nodes.forEach((C) => {
185
+ C.ancestor = a;
186
+ });
187
+ }), (a, C) => {
188
+ const u = fe("RecursiveLabels", !0);
189
+ return s(!0), d(k, null, M(r.dataset, (n) => (s(), d(k, null, [
190
+ n.polygonPath && n.polygonPath.coordinates ? (s(), d(k, { key: 0 }, [
191
+ (s(!0), d(k, null, M(n.polygonPath.coordinates, (f) => (s(), d("text", {
192
+ x: f.x,
193
+ y: f.y + n.circleRadius * 2,
194
+ fill: r.color,
195
+ "font-size": n.circleRadius,
196
+ "text-anchor": "middle",
197
+ style: { opacity: "0.8", "pointer-events": "none" }
198
+ }, Se(n.name), 9, Lt))), 256)),
199
+ n.nodes && n.nodes.length > 0 ? (s(), R(u, {
200
+ key: 0,
201
+ dataset: n.nodes,
202
+ color: r.color,
203
+ hoveredUid: r.hoveredUid
204
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0)
205
+ ], 64)) : m("", !0)
206
+ ], 64))), 256);
207
+ };
208
+ }
209
+ };
210
+ function St(r, z = { x: 0, y: 0, width: 100, height: 100 }, H = 1, E) {
211
+ const a = p({ ...z }), C = p(1), u = p(!1), n = p({ x: 0, y: 0 });
212
+ let f = { x: 0, y: 0 }, B = null, i = null;
213
+ function x(o) {
214
+ var D;
215
+ const v = r.value;
216
+ if (!v) return { x: 0, y: 0 };
217
+ const g = v.createSVGPoint();
218
+ g.x = o.clientX, g.y = o.clientY;
219
+ const T = (D = v.getScreenCTM()) == null ? void 0 : D.inverse();
220
+ return T ? g.matrixTransform(T) : { x: 0, y: 0 };
221
+ }
222
+ function U(o) {
223
+ u.value = !0;
224
+ const v = x(o.touches ? o.touches[0] : o);
225
+ n.value = { x: v.x, y: v.y }, f = { x: 0, y: 0 };
226
+ }
227
+ function S(o) {
228
+ if (!u.value) return;
229
+ const v = x(o.touches ? o.touches[0] : o);
230
+ let g = v.x - n.value.x, T = v.y - n.value.y;
231
+ Math.abs(g) < 0.3 && Math.abs(T) < 0.3 || (f.x = g * 0.8 + f.x * 0.2, f.y = T * 0.8 + f.y * 0.2, n.value = v, B || (B = requestAnimationFrame(oe)));
232
+ }
233
+ function oe() {
234
+ a.value.x -= f.x, a.value.y -= f.y, B = null;
235
+ }
236
+ function I() {
237
+ u.value = !1;
238
+ }
239
+ function e(o) {
240
+ o.preventDefault();
241
+ const v = o.deltaY > 0 ? 0.9 : 1.1;
242
+ j(v, x(o));
243
+ }
244
+ function X(o) {
245
+ o.preventDefault();
246
+ const v = x(o), g = 1.02 * (1 + H / 100);
247
+ le(g, v);
248
+ }
249
+ function le(o, v) {
250
+ i && cancelAnimationFrame(i);
251
+ let g = C.value, T = g * o, D = 0;
252
+ const $ = () => {
253
+ D += 0.02;
254
+ let Z = g + (T - g) * se(D);
255
+ if (D >= 1) {
256
+ C.value = T, i = null;
257
+ return;
258
+ }
259
+ j(Z / g, v), i = requestAnimationFrame($);
260
+ };
261
+ $();
262
+ }
263
+ const se = (o) => o < 0.5 ? 2 * o * o : -1 + (4 - 2 * o) * o;
264
+ function j(o, v) {
265
+ const g = C.value * o, T = g / C.value, D = a.value.width / T, $ = a.value.height / T, Z = (v.x - a.value.x) * (1 - 1 / T), re = (v.y - a.value.y) * (1 - 1 / T);
266
+ a.value.x += Z, a.value.y += re, a.value.width = D, a.value.height = $, C.value = g;
267
+ }
268
+ Ae(J), Ve(Y);
269
+ function J() {
270
+ const o = r.value;
271
+ o && (o.addEventListener("mousedown", U), o.addEventListener("mousemove", S), o.addEventListener("mouseup", I), o.addEventListener("mouseleave", I), o.addEventListener("wheel", e, { passive: !1 }), o.addEventListener("dblclick", X), o.addEventListener("touchstart", (v) => {
272
+ v.preventDefault(), U(v);
273
+ }, { passive: !1 }), o.addEventListener("touchmove", (v) => {
274
+ v.preventDefault(), S(v);
275
+ }, { passive: !1 }), o.addEventListener("touchend", I));
276
+ }
277
+ function Y() {
278
+ const o = r.value;
279
+ o && (o.removeEventListener("mousedown", U), o.removeEventListener("mousemove", S), o.removeEventListener("mouseup", I), o.removeEventListener("mouseleave", I), o.removeEventListener("wheel", e), o.removeEventListener("dblclick", X), o.removeEventListener("touchstart", U), o.removeEventListener("touchmove", S), o.removeEventListener("touchend", I));
280
+ }
281
+ return We(() => (E.value ? J() : Y(), () => {
282
+ Y();
283
+ })), { viewBox: a };
284
+ }
285
+ const At = ["id"], Ot = {
286
+ key: 1,
287
+ ref: "noTitle",
288
+ class: "vue-data-ui-no-title-space",
289
+ style: "height:36px; width: 100%;background:transparent"
290
+ }, Dt = {
291
+ key: 2,
292
+ style: "width:100%;background:transparent;"
293
+ }, Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], It = ["id"], Nt = ["stop-color"], _t = ["stop-color"], Mt = {
294
+ key: 5,
295
+ class: "vue-data-ui-watermark"
296
+ }, zt = {
297
+ key: 7,
298
+ ref: "source",
299
+ dir: "auto"
300
+ }, Ht = ["innerHTML"], Bt = {
301
+ __name: "vue-ui-molecule",
302
+ props: {
303
+ config: {
304
+ type: Object,
305
+ default() {
306
+ return {};
307
+ }
308
+ },
309
+ dataset: {
310
+ type: Array,
311
+ default() {
312
+ return [];
313
+ }
314
+ }
315
+ },
316
+ emits: ["selectNode"],
317
+ setup(r, { expose: z, emit: H }) {
318
+ const { vue_ui_molecule: E } = qe(), a = r, C = H, u = _(() => !!a.dataset && a.dataset.length);
319
+ Ae(() => {
320
+ n();
321
+ });
322
+ function n() {
323
+ Qe(a.dataset) && Je({
324
+ componentName: "VueUiMolecule",
325
+ type: "dataset"
326
+ });
327
+ }
328
+ const f = p(Te()), B = p(null), i = p(!1), x = p(""), U = p(null), S = p(0), oe = p(0), I = p(0), e = _({
329
+ get: () => J(),
330
+ set: (t) => t
331
+ }), { userOptionsVisible: X, setUserOptionsVisibility: le, keepUserOptionState: se } = bt({ config: e.value }), { svgRef: j } = kt({ config: e.value.style.chart.title });
332
+ function J() {
333
+ const t = Ee({
334
+ userConfig: a.config,
335
+ defaultConfig: E
336
+ });
337
+ return t.theme ? {
338
+ ...Ee({
339
+ userConfig: et.vue_ui_molecule[t.theme] || a.config,
340
+ defaultConfig: t
341
+ }),
342
+ customPalette: Ke[t.theme] || Fe
343
+ } : t;
344
+ }
345
+ Xe(() => a.config, (t) => {
346
+ e.value = J(), X.value = !e.value.userOptions.showOnChartHover, n(), oe.value += 1, I.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show;
347
+ }, { deep: !0 });
348
+ const { isPrinting: Y, isImaging: o, generatePdf: v, generateImage: g } = dt({
349
+ elementId: `cluster_${f.value}`,
350
+ fileName: e.value.style.chart.title.text || "vue-ui-molecule"
351
+ }), T = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = _(() => tt(e.value.customPalette)), $ = p({
352
+ showTable: e.value.table.show,
353
+ showDataLabels: !0,
354
+ showTooltip: e.value.style.chart.tooltip.show
355
+ });
356
+ function Z(t, c = 0) {
357
+ return Array.isArray(t) && t.length > 0 && t[0].nodes ? Z(t[0].nodes, c + 1) : c;
358
+ }
359
+ function re() {
360
+ const t = Z(a.dataset);
361
+ let c = 100, l = c;
362
+ for (let y = 0; y < t; y += 1)
363
+ c /= 1, l += c;
364
+ return {
365
+ height: l,
366
+ width: l
367
+ };
368
+ }
369
+ const L = p(re());
370
+ p(`0 0 ${L.value.width} ${L.value.height}`);
371
+ function ye(t, c = { x: -L.value.width / 2.43, y: L.value.height / 2 }, l = L.value.width / 1.1, y = 24, h = 0, F = 0, A = "#BBBBBB", ce = 0) {
372
+ if (!Array.isArray(t) || t.length === 0) return t;
373
+ const Be = nt({
374
+ plot: c,
375
+ radius: l,
376
+ sides: t.length,
377
+ rotation: h
378
+ });
379
+ return t.forEach((O, Ce) => {
380
+ const $e = Be.coordinates[Ce], we = O.color ? (() => {
381
+ let de = Le(O.color);
382
+ return de.startsWith("#") ? de : `#${de}`;
383
+ })() : null;
384
+ let Q;
385
+ we ? Q = we : ce === 0 ? Q = A : ce === 1 ? (Q = D.value[F] || Fe[F] || A, F += 1) : Q = A, O.polygonPath = { coordinates: [$e] }, O.circleRadius = y, O.color = Q, O.uid = Te(), Array.isArray(O.nodes) && O.nodes.length && (O.nodes = ye(
386
+ O.nodes,
387
+ $e,
388
+ l / 2.9,
389
+ y / 2.2,
390
+ h + Math.PI * Ce / O.nodes.length,
391
+ F,
392
+ Q,
393
+ ce + 1
394
+ ));
395
+ }), t;
396
+ }
397
+ function Oe(t) {
398
+ const c = /* @__PURE__ */ new Set();
399
+ function l(h) {
400
+ h.forEach((F) => {
401
+ if (!F.color) return;
402
+ let A = F.color;
403
+ /^#?[0-9A-F]{6}$/i.test(A) || (A = Le(A)), A.startsWith("#") || (A = `#${A}`), c.add(A), Array.isArray(F.nodes) && F.nodes.length && l(F.nodes);
404
+ });
405
+ }
406
+ l(t);
407
+ const y = {};
408
+ return Array.from(c).forEach((h) => {
409
+ const F = h.slice(1);
410
+ y[h] = `gradient_${F}`;
411
+ }), y;
412
+ }
413
+ const De = _(() => Oe(N.value)), N = _(() => {
414
+ const t = ot(a.dataset);
415
+ return ye(t);
416
+ }), ie = p(null);
417
+ function Re(t) {
418
+ ie.value = {
419
+ datapoint: t,
420
+ seriesIndex: -1,
421
+ series: N.value,
422
+ config: e.value
423
+ };
424
+ const c = e.value.style.chart.tooltip.customFormat;
425
+ if (it(c) && ut(() => c({
426
+ seriesIndex: -1,
427
+ datapoint: t,
428
+ series: N.value,
429
+ config: e.value
430
+ })))
431
+ x.value = c({
432
+ seriesIndex: -1,
433
+ // well, ok
434
+ datapoint: t,
435
+ series: N.value,
436
+ config: e.value
437
+ });
438
+ else {
439
+ let l = "";
440
+ l += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (l += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), x.value = `<div style="font-family:inherit">${l}</div>`;
441
+ }
442
+ }
443
+ const pe = p(null), K = p(null);
444
+ function Ue(t) {
445
+ pe.value = t, t ? (i.value = !0, Re(t), K.value = t.uid) : (i.value = !1, x.value = "", K.value = null);
446
+ }
447
+ function Ie(t) {
448
+ const c = [];
449
+ function l(y) {
450
+ y.forEach((h) => {
451
+ const F = {
452
+ name: h.name,
453
+ details: h.details || "-",
454
+ ancestor: h.ancestor && h.ancestor.name || "-",
455
+ color: h.color || ""
456
+ };
457
+ c.push(F), h.nodes && h.nodes.length > 0 && l(h.nodes, h.name);
458
+ });
459
+ }
460
+ return l(t), c;
461
+ }
462
+ const Ne = _(() => Ie(N.value)), q = _(() => {
463
+ const t = [
464
+ e.value.table.translations.nodeName,
465
+ e.value.table.translations.details,
466
+ e.value.table.translations.ancestor
467
+ ], c = Ne.value.map((h, F) => [
468
+ {
469
+ color: h.color,
470
+ name: h.name
471
+ },
472
+ h.details,
473
+ h.ancestor || ""
474
+ ]), l = {
475
+ th: {
476
+ backgroundColor: e.value.table.th.backgroundColor,
477
+ color: e.value.table.th.color,
478
+ outline: e.value.table.th.outline
479
+ },
480
+ td: {
481
+ backgroundColor: e.value.table.td.backgroundColor,
482
+ color: e.value.table.td.color,
483
+ outline: e.value.table.td.outline
484
+ },
485
+ breakpoint: e.value.table.responsiveBreakpoint
486
+ }, y = [
487
+ e.value.table.translations.nodeName,
488
+ e.value.table.translations.details,
489
+ e.value.table.translations.ancestor
490
+ ];
491
+ return {
492
+ head: t,
493
+ body: c,
494
+ config: l,
495
+ colNames: y
496
+ };
497
+ });
498
+ function me() {
499
+ Ze(() => {
500
+ const t = q.value.body.map((y, h) => [[y[0].name], [y[1]], [y[2]]]), c = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...q.value.head]]].concat(t), l = at(c);
501
+ rt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-molecule" });
502
+ });
503
+ }
504
+ function _e() {
505
+ return N.value;
506
+ }
507
+ const ee = p(!1);
508
+ function Me(t) {
509
+ ee.value = t, S.value += 1;
510
+ }
511
+ function ge() {
512
+ $.value.showTable = !$.value.showTable;
513
+ }
514
+ function be() {
515
+ $.value.showDataLabels = !$.value.showDataLabels;
516
+ }
517
+ function ke() {
518
+ $.value.showTooltip = !$.value.showTooltip;
519
+ }
520
+ const te = p(!1);
521
+ function ue() {
522
+ te.value = !te.value;
523
+ }
524
+ const ze = _(() => !te.value), { viewBox: ne } = St(j, {
525
+ x: 0,
526
+ y: 0,
527
+ width: L.value.width <= 0 ? 10 : L.value.width,
528
+ height: L.value.height <= 0 ? 10 : L.value.height
529
+ }, e.value.style.chart.zoom.speed, ze);
530
+ function He(t) {
531
+ C("selectNode", t);
532
+ }
533
+ return z({
534
+ getData: _e,
535
+ generatePdf: v,
536
+ generateCsv: me,
537
+ generateImage: g,
538
+ toggleTable: ge,
539
+ toggleLabels: be,
540
+ toggleTooltip: ke,
541
+ toggleAnnotator: ue
542
+ }), (t, c) => (s(), d("div", {
543
+ ref_key: "moleculeChart",
544
+ ref: U,
545
+ class: Pe(`vue-ui-molecule ${ee.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
546
+ style: ve(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
547
+ id: `cluster_${f.value}`,
548
+ onMouseleave: c[1] || (c[1] = (l) => {
549
+ pe.value = null, K.value = null, b(le)(!1);
550
+ }),
551
+ onMouseenter: c[2] || (c[2] = () => b(le)(!0))
552
+ }, [
553
+ e.value.userOptions.buttons.annotator ? (s(), R(gt, {
554
+ key: 0,
555
+ svgRef: b(j),
556
+ backgroundColor: e.value.style.chart.backgroundColor,
557
+ color: e.value.style.chart.color,
558
+ active: te.value,
559
+ onClose: ue
560
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
561
+ T.value ? (s(), d("div", Ot, null, 512)) : m("", !0),
562
+ e.value.style.chart.title.text ? (s(), d("div", Dt, [
563
+ (s(), R(ct, {
564
+ key: `title_${oe.value}`,
565
+ config: {
566
+ title: {
567
+ cy: "molecule-div-title",
568
+ ...e.value.style.chart.title
569
+ },
570
+ subtitle: {
571
+ cy: "molecule-div-subtitle",
572
+ ...e.value.style.chart.title.subtitle
573
+ }
574
+ }
575
+ }, null, 8, ["config"]))
576
+ ])) : m("", !0),
577
+ e.value.userOptions.show && u.value && (b(se) || b(X)) ? (s(), R(vt, {
578
+ ref_key: "details",
579
+ ref: B,
580
+ key: `user_options_${S.value}`,
581
+ backgroundColor: e.value.style.chart.backgroundColor,
582
+ color: e.value.style.chart.color,
583
+ isPrinting: b(Y),
584
+ isImaging: b(o),
585
+ uid: f.value,
586
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
587
+ hasPdf: e.value.userOptions.buttons.pdf,
588
+ hasXls: e.value.userOptions.buttons.csv,
589
+ hasImg: e.value.userOptions.buttons.img,
590
+ hasTable: e.value.userOptions.buttons.table,
591
+ hasLabel: e.value.userOptions.buttons.labels,
592
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
593
+ isTooltip: $.value.showTooltip,
594
+ titles: { ...e.value.userOptions.buttonTitles },
595
+ chartElement: U.value,
596
+ position: e.value.userOptions.position,
597
+ hasAnnotator: e.value.userOptions.buttons.annotator,
598
+ isAnnotation: te.value,
599
+ onToggleFullscreen: Me,
600
+ onGeneratePdf: b(v),
601
+ onGenerateCsv: me,
602
+ onGenerateImage: b(g),
603
+ onToggleTable: ge,
604
+ onToggleLabels: be,
605
+ onToggleTooltip: ke,
606
+ onToggleAnnotator: ue,
607
+ style: ve({
608
+ visibility: b(se) ? b(X) ? "visible" : "hidden" : "visible"
609
+ })
610
+ }, je({ _: 2 }, [
611
+ t.$slots.menuIcon ? {
612
+ name: "menuIcon",
613
+ fn: P(({ isOpen: l, color: y }) => [
614
+ w(t.$slots, "menuIcon", G(V({ isOpen: l, color: y })), void 0, !0)
615
+ ]),
616
+ key: "0"
617
+ } : void 0,
618
+ t.$slots.optionTooltip ? {
619
+ name: "optionTooltip",
620
+ fn: P(() => [
621
+ w(t.$slots, "optionTooltip", {}, void 0, !0)
622
+ ]),
623
+ key: "1"
624
+ } : void 0,
625
+ t.$slots.optionPdf ? {
626
+ name: "optionPdf",
627
+ fn: P(() => [
628
+ w(t.$slots, "optionPdf", {}, void 0, !0)
629
+ ]),
630
+ key: "2"
631
+ } : void 0,
632
+ t.$slots.optionCsv ? {
633
+ name: "optionCsv",
634
+ fn: P(() => [
635
+ w(t.$slots, "optionCsv", {}, void 0, !0)
636
+ ]),
637
+ key: "3"
638
+ } : void 0,
639
+ t.$slots.optionImg ? {
640
+ name: "optionImg",
641
+ fn: P(() => [
642
+ w(t.$slots, "optionImg", {}, void 0, !0)
643
+ ]),
644
+ key: "4"
645
+ } : void 0,
646
+ t.$slots.optionTable ? {
647
+ name: "optionTable",
648
+ fn: P(() => [
649
+ w(t.$slots, "optionTable", {}, void 0, !0)
650
+ ]),
651
+ key: "5"
652
+ } : void 0,
653
+ t.$slots.optionLabels ? {
654
+ name: "optionLabels",
655
+ fn: P(() => [
656
+ w(t.$slots, "optionLabels", {}, void 0, !0)
657
+ ]),
658
+ key: "6"
659
+ } : void 0,
660
+ t.$slots.optionFullscreen ? {
661
+ name: "optionFullscreen",
662
+ fn: P(({ toggleFullscreen: l, isFullscreen: y }) => [
663
+ w(t.$slots, "optionFullscreen", G(V({ toggleFullscreen: l, isFullscreen: y })), void 0, !0)
664
+ ]),
665
+ key: "7"
666
+ } : void 0,
667
+ t.$slots.optionAnnotator ? {
668
+ name: "optionAnnotator",
669
+ fn: P(({ toggleAnnotator: l, isAnnotator: y }) => [
670
+ w(t.$slots, "optionAnnotator", G(V({ toggleAnnotator: l, isAnnotator: y })), void 0, !0)
671
+ ]),
672
+ key: "8"
673
+ } : void 0
674
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
675
+ u.value ? (s(), d("svg", {
676
+ key: 4,
677
+ ref_key: "svgRef",
678
+ ref: j,
679
+ xmlns: b(lt),
680
+ viewBox: `${b(ne).x} ${b(ne).y} ${b(ne).width} ${b(ne).height}`,
681
+ class: Pe({ "vue-data-ui-fullscreen--on": ee.value, "vue-data-ui-fulscreen--off": !ee.value }),
682
+ style: ve(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
683
+ }, [
684
+ ae(mt),
685
+ t.$slots["chart-background"] ? (s(), d("foreignObject", {
686
+ key: 0,
687
+ x: 0,
688
+ y: 0,
689
+ width: L.value.width <= 0 ? 10 : L.value.width,
690
+ height: L.value.height <= 0 ? 10 : L.value.height,
691
+ style: {
692
+ pointerEvents: "none"
693
+ }
694
+ }, [
695
+ w(t.$slots, "chart-background", {}, void 0, !0)
696
+ ], 8, Ut)) : m("", !0),
697
+ W("defs", null, [
698
+ (s(!0), d(k, null, M(Object.keys(De.value), (l) => (s(), d("radialGradient", {
699
+ id: `gradient_${l}`,
700
+ cx: "50%",
701
+ cy: "30%",
702
+ r: "50%",
703
+ fx: "50%",
704
+ fy: "50%"
705
+ }, [
706
+ W("stop", {
707
+ offset: "0%",
708
+ "stop-color": b(st)(l, 0.5)
709
+ }, null, 8, Nt),
710
+ W("stop", {
711
+ offset: "100%",
712
+ "stop-color": l
713
+ }, null, 8, _t)
714
+ ], 8, It))), 256))
715
+ ]),
716
+ ae(Ft, {
717
+ dataset: N.value,
718
+ color: e.value.style.chart.links.stroke,
719
+ backgroundColor: e.value.style.chart.backgroundColor
720
+ }, null, 8, ["dataset", "color", "backgroundColor"]),
721
+ ae(xt, {
722
+ dataset: N.value,
723
+ hoveredUid: K.value,
724
+ stroke: e.value.style.chart.nodes.stroke,
725
+ strokeHovered: e.value.style.chart.nodes.strokeHovered,
726
+ onClick: He,
727
+ onHover: Ue
728
+ }, {
729
+ node: P(({ node: l }) => [
730
+ w(t.$slots, "node", G(V({ node: l })), void 0, !0)
731
+ ]),
732
+ _: 3
733
+ }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
734
+ $.value.showDataLabels ? (s(), R(Et, {
735
+ key: 1,
736
+ dataset: N.value,
737
+ color: e.value.style.chart.color,
738
+ hoveredUid: K.value
739
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0),
740
+ w(t.$slots, "svg", { svg: L.value }, void 0, !0)
741
+ ], 14, Rt)) : m("", !0),
742
+ t.$slots.watermark ? (s(), d("div", Mt, [
743
+ w(t.$slots, "watermark", G(V({ isPrinting: b(Y) || b(o) })), void 0, !0)
744
+ ])) : m("", !0),
745
+ u.value ? m("", !0) : (s(), R(yt, {
746
+ key: 6,
747
+ config: {
748
+ type: "molecule",
749
+ style: {
750
+ backgroundColor: e.value.style.chart.backgroundColor,
751
+ molecule: {
752
+ color: "#CCCCCC"
753
+ }
754
+ }
755
+ }
756
+ }, null, 8, ["config"])),
757
+ t.$slots.source ? (s(), d("div", zt, [
758
+ w(t.$slots, "source", {}, void 0, !0)
759
+ ], 512)) : m("", !0),
760
+ ae(ft, {
761
+ show: $.value.showTooltip && i.value,
762
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
763
+ color: e.value.style.chart.tooltip.color,
764
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
765
+ borderColor: e.value.style.chart.tooltip.borderColor,
766
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
767
+ fontSize: e.value.style.chart.tooltip.fontSize,
768
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
769
+ position: e.value.style.chart.tooltip.position,
770
+ offsetY: e.value.style.chart.tooltip.offsetY,
771
+ parent: U.value,
772
+ content: x.value,
773
+ isFullscreen: ee.value,
774
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
775
+ }, {
776
+ "tooltip-before": P(() => [
777
+ w(t.$slots, "tooltip-before", G(V({ ...ie.value })), void 0, !0)
778
+ ]),
779
+ "tooltip-after": P(() => [
780
+ w(t.$slots, "tooltip-after", G(V({ ...ie.value })), void 0, !0)
781
+ ]),
782
+ _: 3
783
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
784
+ u.value ? (s(), R(pt, {
785
+ key: 8,
786
+ hideDetails: "",
787
+ config: {
788
+ open: $.value.showTable,
789
+ maxHeight: 1e4,
790
+ body: {
791
+ backgroundColor: e.value.style.chart.backgroundColor,
792
+ color: e.value.style.chart.color
793
+ },
794
+ head: {
795
+ backgroundColor: e.value.style.chart.backgroundColor,
796
+ color: e.value.style.chart.color
797
+ }
798
+ }
799
+ }, {
800
+ content: P(() => [
801
+ (s(), R(ht, {
802
+ key: `table_${I.value}`,
803
+ colNames: q.value.colNames,
804
+ head: q.value.head,
805
+ body: q.value.body,
806
+ config: q.value.config,
807
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
808
+ onClose: c[0] || (c[0] = (l) => $.value.showTable = !1)
809
+ }, {
810
+ th: P(({ th: l }) => [
811
+ W("div", {
812
+ innerHTML: l,
813
+ style: { display: "flex", "align-items": "center" }
814
+ }, null, 8, Ht)
815
+ ]),
816
+ td: P(({ td: l }) => [
817
+ Ye(Se(l.name || l), 1)
818
+ ]),
819
+ _: 1
820
+ }, 8, ["colNames", "head", "body", "config", "title"]))
821
+ ]),
822
+ _: 1
823
+ }, 8, ["config"])) : m("", !0)
824
+ ], 46, At));
825
+ }
826
+ }, lo = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-9545fb0c"]]);
827
+ export {
828
+ lo as default
829
+ };