vue-data-ui 2.6.40 → 2.6.42

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 (200) hide show
  1. package/dist/{Arrow-DczKng-K.cjs → Arrow-C6-3JiKs.cjs} +1 -1
  2. package/dist/{Arrow-CKYmYJHq.js → Arrow-i50QW7Eq.js} +1 -1
  3. package/dist/{BaseIcon-rw8rKNKS.js → BaseIcon-BYl8WVrn.js} +1 -1
  4. package/dist/{BaseIcon-Db1HIrAt.cjs → BaseIcon-CGjwy6WD.cjs} +1 -1
  5. package/dist/{ColorPicker-oA_W-jVk.cjs → ColorPicker-Cpi--TbY.cjs} +1 -1
  6. package/dist/{ColorPicker-DyZK3Mhl.js → ColorPicker-rv2BDrXO.js} +3 -3
  7. package/dist/{DataTable-DvwmNjb-.js → DataTable-B_PZ5EQ5.js} +2 -2
  8. package/dist/{DataTable-Be-eTBzq.cjs → DataTable-Dp7g_Ei4.cjs} +1 -1
  9. package/dist/{Legend-Be8mrJpb.js → Legend-BB51QBPV.js} +2 -2
  10. package/dist/{Legend-j3YoAtEf.cjs → Legend-BB6S3gBp.cjs} +1 -1
  11. package/dist/{PackageVersion-D9Lm1C1X.js → PackageVersion-Cz-oD7U6.js} +1 -1
  12. package/dist/{PackageVersion-D_gJvbGU.cjs → PackageVersion-Dj3KQ8Ax.cjs} +1 -1
  13. package/dist/{PenAndPaper-DR58HO_U.js → PenAndPaper-DOTH2X_u.js} +3 -3
  14. package/dist/{PenAndPaper-DWG9pfri.cjs → PenAndPaper-OCjAJH70.cjs} +1 -1
  15. package/dist/{Shape-BuwIrUMv.js → Shape-CGBgd_EH.js} +1 -1
  16. package/dist/{Shape-BF6K6die.cjs → Shape-DCTTj5cs.cjs} +1 -1
  17. package/dist/{Slicer-bY7XVDi5.cjs → Slicer-BHKFOTCG.cjs} +1 -1
  18. package/dist/{Slicer-CUm2ijlc.js → Slicer-Dhto2Wym.js} +2 -2
  19. package/dist/{Title-BP4K_GLE.cjs → Title-BkwZ_rBI.cjs} +1 -1
  20. package/dist/{Title-D_MGglyN.js → Title-y0r2c8bY.js} +1 -1
  21. package/dist/{Tooltip-HRgkF8HD.js → Tooltip-CbWEnMUw.js} +1 -1
  22. package/dist/{Tooltip-KXn1rQhr.cjs → Tooltip-DhhX9jKQ.cjs} +1 -1
  23. package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
  24. package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
  25. package/dist/img-BIeSHu0f.js +15 -0
  26. package/dist/img-D6uvziU0.cjs +1 -0
  27. package/dist/index-Crz6y51C.cjs +9 -0
  28. package/dist/{index-BaaDnc4F.js → index-DWsIpwzs.js} +426 -384
  29. package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
  30. package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
  31. package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
  32. package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
  33. package/dist/pdf-BpXLKlRx.cjs +1 -0
  34. package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
  35. package/dist/style.css +1 -1
  36. package/dist/types/vue-data-ui.d.cts +16 -0
  37. package/dist/types/vue-data-ui.d.ts +16 -0
  38. package/dist/{useNestedProp-0jJvFRhK.cjs → useNestedProp-B8CE091o.cjs} +1 -1
  39. package/dist/{useNestedProp-D8vQcOps.js → useNestedProp-Bole8bsm.js} +1 -1
  40. package/dist/{usePrinter-y4-4tCWT.js → usePrinter-B8LELMkA.js} +125 -122
  41. package/dist/{usePrinter-C1Rlqzcj.cjs → usePrinter-Cqxw0sR7.cjs} +1 -1
  42. package/dist/{vue-data-ui-XwZHx4pB.js → vue-data-ui-BHNNKB7k.js} +61 -61
  43. package/dist/{vue-data-ui-CF4CU0e2.cjs → vue-data-ui-Dizs9qYs.cjs} +1 -1
  44. package/dist/vue-data-ui.cjs +1 -1
  45. package/dist/vue-data-ui.js +8 -8
  46. package/dist/{vue-ui-3d-bar-BOMvMoht.cjs → vue-ui-3d-bar-D-jstByg.cjs} +8 -8
  47. package/dist/{vue-ui-3d-bar-BYV4-yM3.js → vue-ui-3d-bar-D1DTuPTJ.js} +55 -54
  48. package/dist/{vue-ui-accordion-C5C3XQ8f.cjs → vue-ui-accordion-10T9IdE-.cjs} +1 -1
  49. package/dist/{vue-ui-accordion-CF9kQTXq.js → vue-ui-accordion-WrimcQK1.js} +3 -3
  50. package/dist/vue-ui-age-pyramid-0uO95dEL.cjs +1 -0
  51. package/dist/{vue-ui-age-pyramid-8KtaPkny.js → vue-ui-age-pyramid-vSOQxYMZ.js} +13 -12
  52. package/dist/{vue-ui-annotator-Dq1h3MZY.cjs → vue-ui-annotator-CzqmXArP.cjs} +1 -1
  53. package/dist/{vue-ui-annotator-KiLEzFIU.js → vue-ui-annotator-DuX2lvw8.js} +3 -3
  54. package/dist/vue-ui-bullet-hJsuFbdK.cjs +34 -0
  55. package/dist/{vue-ui-bullet-DBEuIuyH.js → vue-ui-bullet-ni1A0wmE.js} +11 -10
  56. package/dist/{vue-ui-candlestick-C13zgiOI.js → vue-ui-candlestick-CtFOtkuX.js} +14 -13
  57. package/dist/{vue-ui-candlestick-VazI0lag.cjs → vue-ui-candlestick-JSYKg3QU.cjs} +2 -2
  58. package/dist/vue-ui-carousel-table-BJsBlOAu.cjs +1 -0
  59. package/dist/{vue-ui-carousel-table-CoA9OyeC.js → vue-ui-carousel-table-Bc8SG-3_.js} +7 -6
  60. package/dist/{vue-ui-chestnut-V0eah1wF.cjs → vue-ui-chestnut-EPeVQvs_.cjs} +2 -2
  61. package/dist/{vue-ui-chestnut-kAdb7Jpi.js → vue-ui-chestnut-VR_UxBpO.js} +37 -36
  62. package/dist/{vue-ui-circle-pack-B0CreTV1.js → vue-ui-circle-pack-ECXVp4H4.js} +14 -13
  63. package/dist/vue-ui-circle-pack-NstojV4G.cjs +1 -0
  64. package/dist/{vue-ui-cursor-sHfZ-rR3.js → vue-ui-cursor-DRP_eOrg.js} +2 -2
  65. package/dist/{vue-ui-cursor-oLpASwAy.cjs → vue-ui-cursor-IZ28NWCv.cjs} +1 -1
  66. package/dist/{vue-ui-dashboard-CB7KJEOi.cjs → vue-ui-dashboard-BVoasjGP.cjs} +1 -1
  67. package/dist/{vue-ui-dashboard-D2ZQBDuk.js → vue-ui-dashboard-Bg4eu3bx.js} +3 -3
  68. package/dist/{vue-ui-digits-CiV3V0ry.js → vue-ui-digits-B2qzXXO6.js} +2 -2
  69. package/dist/{vue-ui-digits-e7EBKTDv.cjs → vue-ui-digits-BKR62-KQ.cjs} +1 -1
  70. package/dist/{vue-ui-donut-CrjqZ1ji.js → vue-ui-donut-BWbLJHC5.js} +15 -14
  71. package/dist/vue-ui-donut-Bnc5n4vE.cjs +1 -0
  72. package/dist/{vue-ui-donut-evolution-D_F3H8Oa.js → vue-ui-donut-evolution-Cpmdg9Na.js} +45 -44
  73. package/dist/vue-ui-donut-evolution-DyQPblkZ.cjs +1 -0
  74. package/dist/vue-ui-dumbbell-BjGLUyTB.cjs +9 -0
  75. package/dist/{vue-ui-dumbbell-POvEBmaZ.js → vue-ui-dumbbell-kOEJnUNy.js} +43 -42
  76. package/dist/vue-ui-flow-BxqHFumu.cjs +1 -0
  77. package/dist/{vue-ui-flow-BIfoibps.js → vue-ui-flow-DVvxwHKl.js} +53 -52
  78. package/dist/vue-ui-funnel-CPGQJsTE.cjs +1 -0
  79. package/dist/{vue-ui-funnel-DfF9uQGX.js → vue-ui-funnel-Dh9Zio3k.js} +13 -12
  80. package/dist/{vue-ui-galaxy-D6sV6X5K.js → vue-ui-galaxy-DBrUSx1b.js} +31 -30
  81. package/dist/vue-ui-galaxy-S4L3B76T.cjs +1 -0
  82. package/dist/vue-ui-gauge-Cs-ypQfN.cjs +1 -0
  83. package/dist/{vue-ui-gauge-CvbPkLM2.js → vue-ui-gauge-tZvlIU-S.js} +36 -35
  84. package/dist/{vue-ui-gizmo-DMsTB4ES.cjs → vue-ui-gizmo-CCSsG2_b.cjs} +1 -1
  85. package/dist/{vue-ui-gizmo-DUi7lRRe.js → vue-ui-gizmo-Dci5soUk.js} +3 -3
  86. package/dist/vue-ui-heatmap-DJ7wdUPo.cjs +1 -0
  87. package/dist/{vue-ui-heatmap-Dg8XejgT.js → vue-ui-heatmap-DOcrZCVa.js} +73 -72
  88. package/dist/vue-ui-history-plot-Cdbru79N.cjs +1 -0
  89. package/dist/{vue-ui-history-plot-BSd5bL15.js → vue-ui-history-plot-qtdp25Sg.js} +33 -32
  90. package/dist/{vue-ui-kpi-BAMbt0nE.js → vue-ui-kpi-DTXy_HfT.js} +3 -3
  91. package/dist/{vue-ui-kpi-m4GUxnZu.cjs → vue-ui-kpi-vLsne_Vi.cjs} +1 -1
  92. package/dist/{vue-ui-mini-loader-DiBQaEPy.js → vue-ui-mini-loader-B1MEbk8x.js} +2 -2
  93. package/dist/{vue-ui-mini-loader-BqVkQxqo.cjs → vue-ui-mini-loader-CuWWrNo9.cjs} +1 -1
  94. package/dist/vue-ui-molecule-BwO_9sCz.js +830 -0
  95. package/dist/vue-ui-molecule-huq_1VnO.cjs +1 -0
  96. package/dist/vue-ui-mood-radar-B4k3k2q7.cjs +1 -0
  97. package/dist/{vue-ui-mood-radar-INGk_0vz.js → vue-ui-mood-radar-CLiiGRyR.js} +14 -13
  98. package/dist/{vue-ui-nested-donuts-BABAXqTX.js → vue-ui-nested-donuts-CxAFaOns.js} +14 -13
  99. package/dist/{vue-ui-nested-donuts-COy2x2EF.cjs → vue-ui-nested-donuts-t_TWJrWV.cjs} +2 -2
  100. package/dist/{vue-ui-onion-B1NZLFqG.cjs → vue-ui-onion-DIQLewG_.cjs} +2 -2
  101. package/dist/{vue-ui-onion-CJkmj1Nh.js → vue-ui-onion-gweww1Nd.js} +14 -13
  102. package/dist/{vue-ui-parallel-coordinate-plot-CtpGIUKU.cjs → vue-ui-parallel-coordinate-plot-B48BZpEc.cjs} +2 -2
  103. package/dist/{vue-ui-parallel-coordinate-plot-DTUIv9ah.js → vue-ui-parallel-coordinate-plot-Dos2dhCW.js} +35 -34
  104. package/dist/vue-ui-quadrant-BYDJYypD.cjs +1 -0
  105. package/dist/{vue-ui-quadrant-CxNnHjD9.js → vue-ui-quadrant-fXKeOjn-.js} +43 -42
  106. package/dist/{vue-ui-quick-chart-BaHq9DyU.cjs → vue-ui-quick-chart-BVVVrJyc.cjs} +2 -2
  107. package/dist/{vue-ui-quick-chart-CJnwyWdJ.js → vue-ui-quick-chart-BojZdQHp.js} +12 -11
  108. package/dist/vue-ui-radar-C5mA8lGM.cjs +1 -0
  109. package/dist/{vue-ui-radar-CsvmcspN.js → vue-ui-radar-D4mB15zr.js} +15 -14
  110. package/dist/{vue-ui-rating-D7kDYc6s.js → vue-ui-rating-BG_CF73W.js} +10 -10
  111. package/dist/{vue-ui-rating-C-ef3ayK.cjs → vue-ui-rating-P9KkC2lE.cjs} +1 -1
  112. package/dist/vue-ui-relation-circle-CfNGeO3G.cjs +1 -0
  113. package/dist/{vue-ui-relation-circle-CY8ZIPpL.js → vue-ui-relation-circle-xYqp0Vj9.js} +13 -12
  114. package/dist/{vue-ui-rings-DEuJ9t0h.cjs → vue-ui-rings-Ba7xV0bh.cjs} +2 -2
  115. package/dist/{vue-ui-rings-Cxf9NoYT.js → vue-ui-rings-CTw5Guq9.js} +15 -14
  116. package/dist/{vue-ui-scatter-CiO-B7Jh.js → vue-ui-scatter-CMhOzUfw.js} +45 -44
  117. package/dist/vue-ui-scatter-UeHQSMn_.cjs +1 -0
  118. package/dist/{vue-ui-screenshot-BMuBV3BB.js → vue-ui-screenshot-DkB1LMw4.js} +2 -2
  119. package/dist/{vue-ui-screenshot--OYVY1cw.cjs → vue-ui-screenshot-Dqiqn0Tt.cjs} +1 -1
  120. package/dist/{vue-ui-skeleton-CM4wEsYA.cjs → vue-ui-skeleton-BZsFiqo5.cjs} +1 -1
  121. package/dist/{vue-ui-skeleton-6RiQNJSb.js → vue-ui-skeleton-DDZb9FFJ.js} +57 -57
  122. package/dist/{vue-ui-smiley-CUDVroKW.js → vue-ui-smiley-BgS5Przf.js} +2 -2
  123. package/dist/{vue-ui-smiley-DMzfsrun.cjs → vue-ui-smiley-CUmfLZx6.cjs} +1 -1
  124. package/dist/{vue-ui-spark-trend-fnRrg8Jj.js → vue-ui-spark-trend-NRIFklnc.js} +5 -5
  125. package/dist/{vue-ui-spark-trend-CTI98gTQ.cjs → vue-ui-spark-trend-w10yXsJZ.cjs} +1 -1
  126. package/dist/{vue-ui-sparkbar-HhcSqSxf.cjs → vue-ui-sparkbar-aigBoTy2.cjs} +1 -1
  127. package/dist/{vue-ui-sparkbar-msGI6wfO.js → vue-ui-sparkbar-ejr7X72c.js} +4 -4
  128. package/dist/{vue-ui-sparkgauge-C3obUsLf.js → vue-ui-sparkgauge-BOf5aBj9.js} +4 -4
  129. package/dist/{vue-ui-sparkgauge-DRpIVDwy.cjs → vue-ui-sparkgauge-CkefH_Q3.cjs} +1 -1
  130. package/dist/{vue-ui-sparkhistogram-DOVSl-l-.js → vue-ui-sparkhistogram-C64SJzGD.js} +5 -5
  131. package/dist/{vue-ui-sparkhistogram-OtRll6_F.cjs → vue-ui-sparkhistogram-Dtn7OLFq.cjs} +1 -1
  132. package/dist/{vue-ui-sparkline-Dyd6TPTP.cjs → vue-ui-sparkline-BKGLvlLw.cjs} +1 -1
  133. package/dist/{vue-ui-sparkline-DkX9L35W.js → vue-ui-sparkline-POZCJkr9.js} +15 -15
  134. package/dist/{vue-ui-sparkstackbar-Cfn7LKpJ.cjs → vue-ui-sparkstackbar-BxeVbtHZ.cjs} +1 -1
  135. package/dist/{vue-ui-sparkstackbar-Cq7MW3Jk.js → vue-ui-sparkstackbar-C7v5flng.js} +5 -5
  136. package/dist/{vue-ui-stackbar-BNy2XBmJ.js → vue-ui-stackbar-DUvKoTiT.js} +16 -15
  137. package/dist/{vue-ui-stackbar-DDbZ-_sO.cjs → vue-ui-stackbar-OS-G2tRA.cjs} +2 -2
  138. package/dist/{vue-ui-strip-plot-Cq9CqXxr.js → vue-ui-strip-plot-DvQPyqtk.js} +14 -13
  139. package/dist/vue-ui-strip-plot-IcTvmihM.cjs +1 -0
  140. package/dist/{vue-ui-table-js0Gdfqi.cjs → vue-ui-table-Bo5KWUa-.cjs} +2 -2
  141. package/dist/{vue-ui-table-BowZcUb5.js → vue-ui-table-C8zG8WTp.js} +1 -1
  142. package/dist/vue-ui-table-heatmap-DvRBb7Za.cjs +1 -0
  143. package/dist/{vue-ui-table-heatmap-BmObY7ZK.js → vue-ui-table-heatmap-N2a-kKWJ.js} +9 -8
  144. package/dist/{vue-ui-table-sparkline-BKDgWukC.js → vue-ui-table-sparkline-DOYmxyiy.js} +9 -8
  145. package/dist/vue-ui-table-sparkline-DVhyXHjb.cjs +1 -0
  146. package/dist/vue-ui-thermometer-CshBwaty.cjs +1 -0
  147. package/dist/{vue-ui-thermometer-BOF4YYvE.js → vue-ui-thermometer-DsFTU7hy.js} +26 -25
  148. package/dist/{vue-ui-timer-D6WS06mW.js → vue-ui-timer-BazkEbRz.js} +5 -5
  149. package/dist/{vue-ui-timer-BVoMdC97.cjs → vue-ui-timer-b4eSKrHr.cjs} +1 -1
  150. package/dist/{vue-ui-tiremarks-BD81LT9b.js → vue-ui-tiremarks-LjeTpuwu.js} +20 -19
  151. package/dist/vue-ui-tiremarks-tCyisBN-.cjs +1 -0
  152. package/dist/{vue-ui-treemap-CKETyAhh.js → vue-ui-treemap-CkPWe6se.js} +14 -13
  153. package/dist/vue-ui-treemap-o4rsDy3h.cjs +1 -0
  154. package/dist/{vue-ui-vertical-bar-nq74gMNu.cjs → vue-ui-vertical-bar-D3vjiqvq.cjs} +3 -3
  155. package/dist/{vue-ui-vertical-bar-D4RH4OTK.js → vue-ui-vertical-bar-ViFIMQc9.js} +16 -15
  156. package/dist/vue-ui-waffle-4Wpu2k9B.cjs +1 -0
  157. package/dist/{vue-ui-waffle-BHP27c7Q.js → vue-ui-waffle-D8uQiqvC.js} +15 -14
  158. package/dist/{vue-ui-wheel-BpEPqKp-.js → vue-ui-wheel-DgJ52HhJ.js} +10 -9
  159. package/dist/vue-ui-wheel-Wkp_TkAj.cjs +1 -0
  160. package/dist/{vue-ui-word-cloud-JH_eHxVf.js → vue-ui-word-cloud-BmX0SdIe.js} +39 -38
  161. package/dist/vue-ui-word-cloud-CtR6FmsK.cjs +1 -0
  162. package/dist/vue-ui-xy-B68466-C.cjs +3 -0
  163. package/dist/{vue-ui-xy-BGOtOn8w.js → vue-ui-xy-CnNugA_v.js} +52 -50
  164. package/dist/{vue-ui-xy-canvas-DLZANhlq.cjs → vue-ui-xy-canvas-D7IJkVz1.cjs} +2 -2
  165. package/dist/{vue-ui-xy-canvas-DVzzeUmj.js → vue-ui-xy-canvas-DRbFpLFp.js} +134 -133
  166. package/package.json +2 -2
  167. package/dist/img-BPGizWpM.cjs +0 -1
  168. package/dist/img-itj0Vdmx.js +0 -15
  169. package/dist/index-CBRI5uwl.cjs +0 -9
  170. package/dist/pdf-DSkQT5iH.cjs +0 -1
  171. package/dist/vue-ui-age-pyramid-Cm10v1iS.cjs +0 -1
  172. package/dist/vue-ui-bullet-yeUQYuwe.cjs +0 -34
  173. package/dist/vue-ui-carousel-table-Dkqumt0q.cjs +0 -1
  174. package/dist/vue-ui-circle-pack-CnYgigzx.cjs +0 -1
  175. package/dist/vue-ui-donut-DL51Fl9m.cjs +0 -1
  176. package/dist/vue-ui-donut-evolution-mCx3HfHW.cjs +0 -1
  177. package/dist/vue-ui-dumbbell-BIDzrdGX.cjs +0 -9
  178. package/dist/vue-ui-flow-D8CWkD2E.cjs +0 -1
  179. package/dist/vue-ui-funnel-DNQKb-CW.cjs +0 -1
  180. package/dist/vue-ui-galaxy-CXAhWSW2.cjs +0 -1
  181. package/dist/vue-ui-gauge-CODDDBdK.cjs +0 -1
  182. package/dist/vue-ui-heatmap-DDo0YoPA.cjs +0 -1
  183. package/dist/vue-ui-history-plot-Wb0vm3oN.cjs +0 -1
  184. package/dist/vue-ui-molecule-SgHDaN5w.cjs +0 -1
  185. package/dist/vue-ui-molecule-kryFDlxX.js +0 -826
  186. package/dist/vue-ui-mood-radar-p2yhGTuV.cjs +0 -1
  187. package/dist/vue-ui-quadrant-ZmF2s1_3.cjs +0 -1
  188. package/dist/vue-ui-radar-BgeUqzpX.cjs +0 -1
  189. package/dist/vue-ui-relation-circle-DRkjUqb1.cjs +0 -1
  190. package/dist/vue-ui-scatter-BlBNhmJ4.cjs +0 -1
  191. package/dist/vue-ui-strip-plot-t6_CVzQF.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-BAczw65J.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-HE8HXlhe.cjs +0 -1
  194. package/dist/vue-ui-thermometer-2RqSKVQ8.cjs +0 -1
  195. package/dist/vue-ui-tiremarks-CiZUYcuP.cjs +0 -1
  196. package/dist/vue-ui-treemap-BQeFDdrJ.cjs +0 -1
  197. package/dist/vue-ui-waffle-atvdP-Pb.cjs +0 -1
  198. package/dist/vue-ui-wheel-Diad5HyF.cjs +0 -1
  199. package/dist/vue-ui-word-cloud-B_ykSDTr.cjs +0 -1
  200. package/dist/vue-ui-xy-Csz1n4M-.cjs +0 -3
@@ -0,0 +1,830 @@
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-DWsIpwzs.js";
3
+ import { _ as ct } from "./Title-y0r2c8bY.js";
4
+ import { u as dt, U as vt } from "./usePrinter-B8LELMkA.js";
5
+ import { D as ht } from "./DataTable-B_PZ5EQ5.js";
6
+ import { _ as ft } from "./Tooltip-CbWEnMUw.js";
7
+ import yt from "./vue-ui-skeleton-DDZb9FFJ.js";
8
+ import pt from "./vue-ui-accordion-WrimcQK1.js";
9
+ import { u as Ee } from "./useNestedProp-Bole8bsm.js";
10
+ import { _ as mt } from "./PackageVersion-Cz-oD7U6.js";
11
+ import { P as gt } from "./PenAndPaper-DOTH2X_u.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
+ options: e.value.userOptions.print
352
+ }), T = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = _(() => tt(e.value.customPalette)), $ = p({
353
+ showTable: e.value.table.show,
354
+ showDataLabels: !0,
355
+ showTooltip: e.value.style.chart.tooltip.show
356
+ });
357
+ function Z(t, c = 0) {
358
+ return Array.isArray(t) && t.length > 0 && t[0].nodes ? Z(t[0].nodes, c + 1) : c;
359
+ }
360
+ function re() {
361
+ const t = Z(a.dataset);
362
+ let c = 100, l = c;
363
+ for (let y = 0; y < t; y += 1)
364
+ c /= 1, l += c;
365
+ return {
366
+ height: l,
367
+ width: l
368
+ };
369
+ }
370
+ const L = p(re());
371
+ p(`0 0 ${L.value.width} ${L.value.height}`);
372
+ 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) {
373
+ if (!Array.isArray(t) || t.length === 0) return t;
374
+ const Be = nt({
375
+ plot: c,
376
+ radius: l,
377
+ sides: t.length,
378
+ rotation: h
379
+ });
380
+ return t.forEach((O, Ce) => {
381
+ const $e = Be.coordinates[Ce], we = O.color ? (() => {
382
+ let de = Le(O.color);
383
+ return de.startsWith("#") ? de : `#${de}`;
384
+ })() : null;
385
+ let Q;
386
+ 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(
387
+ O.nodes,
388
+ $e,
389
+ l / 2.9,
390
+ y / 2.2,
391
+ h + Math.PI * Ce / O.nodes.length,
392
+ F,
393
+ Q,
394
+ ce + 1
395
+ ));
396
+ }), t;
397
+ }
398
+ function Oe(t) {
399
+ const c = /* @__PURE__ */ new Set();
400
+ function l(h) {
401
+ h.forEach((F) => {
402
+ if (!F.color) return;
403
+ let A = F.color;
404
+ /^#?[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);
405
+ });
406
+ }
407
+ l(t);
408
+ const y = {};
409
+ return Array.from(c).forEach((h) => {
410
+ const F = h.slice(1);
411
+ y[h] = `gradient_${F}`;
412
+ }), y;
413
+ }
414
+ const De = _(() => Oe(N.value)), N = _(() => {
415
+ const t = ot(a.dataset);
416
+ return ye(t);
417
+ }), ie = p(null);
418
+ function Re(t) {
419
+ ie.value = {
420
+ datapoint: t,
421
+ seriesIndex: -1,
422
+ series: N.value,
423
+ config: e.value
424
+ };
425
+ const c = e.value.style.chart.tooltip.customFormat;
426
+ if (it(c) && ut(() => c({
427
+ seriesIndex: -1,
428
+ datapoint: t,
429
+ series: N.value,
430
+ config: e.value
431
+ })))
432
+ x.value = c({
433
+ seriesIndex: -1,
434
+ // well, ok
435
+ datapoint: t,
436
+ series: N.value,
437
+ config: e.value
438
+ });
439
+ else {
440
+ let l = "";
441
+ 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>`;
442
+ }
443
+ }
444
+ const pe = p(null), K = p(null);
445
+ function Ue(t) {
446
+ pe.value = t, t ? (i.value = !0, Re(t), K.value = t.uid) : (i.value = !1, x.value = "", K.value = null);
447
+ }
448
+ function Ie(t) {
449
+ const c = [];
450
+ function l(y) {
451
+ y.forEach((h) => {
452
+ const F = {
453
+ name: h.name,
454
+ details: h.details || "-",
455
+ ancestor: h.ancestor && h.ancestor.name || "-",
456
+ color: h.color || ""
457
+ };
458
+ c.push(F), h.nodes && h.nodes.length > 0 && l(h.nodes, h.name);
459
+ });
460
+ }
461
+ return l(t), c;
462
+ }
463
+ const Ne = _(() => Ie(N.value)), q = _(() => {
464
+ const t = [
465
+ e.value.table.translations.nodeName,
466
+ e.value.table.translations.details,
467
+ e.value.table.translations.ancestor
468
+ ], c = Ne.value.map((h, F) => [
469
+ {
470
+ color: h.color,
471
+ name: h.name
472
+ },
473
+ h.details,
474
+ h.ancestor || ""
475
+ ]), l = {
476
+ th: {
477
+ backgroundColor: e.value.table.th.backgroundColor,
478
+ color: e.value.table.th.color,
479
+ outline: e.value.table.th.outline
480
+ },
481
+ td: {
482
+ backgroundColor: e.value.table.td.backgroundColor,
483
+ color: e.value.table.td.color,
484
+ outline: e.value.table.td.outline
485
+ },
486
+ breakpoint: e.value.table.responsiveBreakpoint
487
+ }, y = [
488
+ e.value.table.translations.nodeName,
489
+ e.value.table.translations.details,
490
+ e.value.table.translations.ancestor
491
+ ];
492
+ return {
493
+ head: t,
494
+ body: c,
495
+ config: l,
496
+ colNames: y
497
+ };
498
+ });
499
+ function me() {
500
+ Ze(() => {
501
+ 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);
502
+ rt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-molecule" });
503
+ });
504
+ }
505
+ function _e() {
506
+ return N.value;
507
+ }
508
+ const ee = p(!1);
509
+ function Me(t) {
510
+ ee.value = t, S.value += 1;
511
+ }
512
+ function ge() {
513
+ $.value.showTable = !$.value.showTable;
514
+ }
515
+ function be() {
516
+ $.value.showDataLabels = !$.value.showDataLabels;
517
+ }
518
+ function ke() {
519
+ $.value.showTooltip = !$.value.showTooltip;
520
+ }
521
+ const te = p(!1);
522
+ function ue() {
523
+ te.value = !te.value;
524
+ }
525
+ const ze = _(() => !te.value), { viewBox: ne } = St(j, {
526
+ x: 0,
527
+ y: 0,
528
+ width: L.value.width <= 0 ? 10 : L.value.width,
529
+ height: L.value.height <= 0 ? 10 : L.value.height
530
+ }, e.value.style.chart.zoom.speed, ze);
531
+ function He(t) {
532
+ C("selectNode", t);
533
+ }
534
+ return z({
535
+ getData: _e,
536
+ generatePdf: v,
537
+ generateCsv: me,
538
+ generateImage: g,
539
+ toggleTable: ge,
540
+ toggleLabels: be,
541
+ toggleTooltip: ke,
542
+ toggleAnnotator: ue
543
+ }), (t, c) => (s(), d("div", {
544
+ ref_key: "moleculeChart",
545
+ ref: U,
546
+ class: Pe(`vue-ui-molecule ${ee.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
547
+ style: ve(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
548
+ id: `cluster_${f.value}`,
549
+ onMouseleave: c[1] || (c[1] = (l) => {
550
+ pe.value = null, K.value = null, b(le)(!1);
551
+ }),
552
+ onMouseenter: c[2] || (c[2] = () => b(le)(!0))
553
+ }, [
554
+ e.value.userOptions.buttons.annotator ? (s(), R(gt, {
555
+ key: 0,
556
+ svgRef: b(j),
557
+ backgroundColor: e.value.style.chart.backgroundColor,
558
+ color: e.value.style.chart.color,
559
+ active: te.value,
560
+ onClose: ue
561
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
562
+ T.value ? (s(), d("div", Ot, null, 512)) : m("", !0),
563
+ e.value.style.chart.title.text ? (s(), d("div", Dt, [
564
+ (s(), R(ct, {
565
+ key: `title_${oe.value}`,
566
+ config: {
567
+ title: {
568
+ cy: "molecule-div-title",
569
+ ...e.value.style.chart.title
570
+ },
571
+ subtitle: {
572
+ cy: "molecule-div-subtitle",
573
+ ...e.value.style.chart.title.subtitle
574
+ }
575
+ }
576
+ }, null, 8, ["config"]))
577
+ ])) : m("", !0),
578
+ e.value.userOptions.show && u.value && (b(se) || b(X)) ? (s(), R(vt, {
579
+ ref_key: "details",
580
+ ref: B,
581
+ key: `user_options_${S.value}`,
582
+ backgroundColor: e.value.style.chart.backgroundColor,
583
+ color: e.value.style.chart.color,
584
+ isPrinting: b(Y),
585
+ isImaging: b(o),
586
+ uid: f.value,
587
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
588
+ hasPdf: e.value.userOptions.buttons.pdf,
589
+ hasXls: e.value.userOptions.buttons.csv,
590
+ hasImg: e.value.userOptions.buttons.img,
591
+ hasTable: e.value.userOptions.buttons.table,
592
+ hasLabel: e.value.userOptions.buttons.labels,
593
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
594
+ isTooltip: $.value.showTooltip,
595
+ titles: { ...e.value.userOptions.buttonTitles },
596
+ chartElement: U.value,
597
+ position: e.value.userOptions.position,
598
+ hasAnnotator: e.value.userOptions.buttons.annotator,
599
+ isAnnotation: te.value,
600
+ onToggleFullscreen: Me,
601
+ onGeneratePdf: b(v),
602
+ onGenerateCsv: me,
603
+ onGenerateImage: b(g),
604
+ onToggleTable: ge,
605
+ onToggleLabels: be,
606
+ onToggleTooltip: ke,
607
+ onToggleAnnotator: ue,
608
+ style: ve({
609
+ visibility: b(se) ? b(X) ? "visible" : "hidden" : "visible"
610
+ })
611
+ }, je({ _: 2 }, [
612
+ t.$slots.menuIcon ? {
613
+ name: "menuIcon",
614
+ fn: P(({ isOpen: l, color: y }) => [
615
+ w(t.$slots, "menuIcon", G(V({ isOpen: l, color: y })), void 0, !0)
616
+ ]),
617
+ key: "0"
618
+ } : void 0,
619
+ t.$slots.optionTooltip ? {
620
+ name: "optionTooltip",
621
+ fn: P(() => [
622
+ w(t.$slots, "optionTooltip", {}, void 0, !0)
623
+ ]),
624
+ key: "1"
625
+ } : void 0,
626
+ t.$slots.optionPdf ? {
627
+ name: "optionPdf",
628
+ fn: P(() => [
629
+ w(t.$slots, "optionPdf", {}, void 0, !0)
630
+ ]),
631
+ key: "2"
632
+ } : void 0,
633
+ t.$slots.optionCsv ? {
634
+ name: "optionCsv",
635
+ fn: P(() => [
636
+ w(t.$slots, "optionCsv", {}, void 0, !0)
637
+ ]),
638
+ key: "3"
639
+ } : void 0,
640
+ t.$slots.optionImg ? {
641
+ name: "optionImg",
642
+ fn: P(() => [
643
+ w(t.$slots, "optionImg", {}, void 0, !0)
644
+ ]),
645
+ key: "4"
646
+ } : void 0,
647
+ t.$slots.optionTable ? {
648
+ name: "optionTable",
649
+ fn: P(() => [
650
+ w(t.$slots, "optionTable", {}, void 0, !0)
651
+ ]),
652
+ key: "5"
653
+ } : void 0,
654
+ t.$slots.optionLabels ? {
655
+ name: "optionLabels",
656
+ fn: P(() => [
657
+ w(t.$slots, "optionLabels", {}, void 0, !0)
658
+ ]),
659
+ key: "6"
660
+ } : void 0,
661
+ t.$slots.optionFullscreen ? {
662
+ name: "optionFullscreen",
663
+ fn: P(({ toggleFullscreen: l, isFullscreen: y }) => [
664
+ w(t.$slots, "optionFullscreen", G(V({ toggleFullscreen: l, isFullscreen: y })), void 0, !0)
665
+ ]),
666
+ key: "7"
667
+ } : void 0,
668
+ t.$slots.optionAnnotator ? {
669
+ name: "optionAnnotator",
670
+ fn: P(({ toggleAnnotator: l, isAnnotator: y }) => [
671
+ w(t.$slots, "optionAnnotator", G(V({ toggleAnnotator: l, isAnnotator: y })), void 0, !0)
672
+ ]),
673
+ key: "8"
674
+ } : void 0
675
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
676
+ u.value ? (s(), d("svg", {
677
+ key: 4,
678
+ ref_key: "svgRef",
679
+ ref: j,
680
+ xmlns: b(lt),
681
+ viewBox: `${b(ne).x} ${b(ne).y} ${b(ne).width} ${b(ne).height}`,
682
+ class: Pe({ "vue-data-ui-fullscreen--on": ee.value, "vue-data-ui-fulscreen--off": !ee.value }),
683
+ style: ve(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
684
+ }, [
685
+ ae(mt),
686
+ t.$slots["chart-background"] ? (s(), d("foreignObject", {
687
+ key: 0,
688
+ x: 0,
689
+ y: 0,
690
+ width: L.value.width <= 0 ? 10 : L.value.width,
691
+ height: L.value.height <= 0 ? 10 : L.value.height,
692
+ style: {
693
+ pointerEvents: "none"
694
+ }
695
+ }, [
696
+ w(t.$slots, "chart-background", {}, void 0, !0)
697
+ ], 8, Ut)) : m("", !0),
698
+ W("defs", null, [
699
+ (s(!0), d(k, null, M(Object.keys(De.value), (l) => (s(), d("radialGradient", {
700
+ id: `gradient_${l}`,
701
+ cx: "50%",
702
+ cy: "30%",
703
+ r: "50%",
704
+ fx: "50%",
705
+ fy: "50%"
706
+ }, [
707
+ W("stop", {
708
+ offset: "0%",
709
+ "stop-color": b(st)(l, 0.5)
710
+ }, null, 8, Nt),
711
+ W("stop", {
712
+ offset: "100%",
713
+ "stop-color": l
714
+ }, null, 8, _t)
715
+ ], 8, It))), 256))
716
+ ]),
717
+ ae(Ft, {
718
+ dataset: N.value,
719
+ color: e.value.style.chart.links.stroke,
720
+ backgroundColor: e.value.style.chart.backgroundColor
721
+ }, null, 8, ["dataset", "color", "backgroundColor"]),
722
+ ae(xt, {
723
+ dataset: N.value,
724
+ hoveredUid: K.value,
725
+ stroke: e.value.style.chart.nodes.stroke,
726
+ strokeHovered: e.value.style.chart.nodes.strokeHovered,
727
+ onClick: He,
728
+ onHover: Ue
729
+ }, {
730
+ node: P(({ node: l }) => [
731
+ w(t.$slots, "node", G(V({ node: l })), void 0, !0)
732
+ ]),
733
+ _: 3
734
+ }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
735
+ $.value.showDataLabels ? (s(), R(Et, {
736
+ key: 1,
737
+ dataset: N.value,
738
+ color: e.value.style.chart.color,
739
+ hoveredUid: K.value
740
+ }, null, 8, ["dataset", "color", "hoveredUid"])) : m("", !0),
741
+ w(t.$slots, "svg", { svg: L.value }, void 0, !0)
742
+ ], 14, Rt)) : m("", !0),
743
+ t.$slots.watermark ? (s(), d("div", Mt, [
744
+ w(t.$slots, "watermark", G(V({ isPrinting: b(Y) || b(o) })), void 0, !0)
745
+ ])) : m("", !0),
746
+ u.value ? m("", !0) : (s(), R(yt, {
747
+ key: 6,
748
+ config: {
749
+ type: "molecule",
750
+ style: {
751
+ backgroundColor: e.value.style.chart.backgroundColor,
752
+ molecule: {
753
+ color: "#CCCCCC"
754
+ }
755
+ }
756
+ }
757
+ }, null, 8, ["config"])),
758
+ t.$slots.source ? (s(), d("div", zt, [
759
+ w(t.$slots, "source", {}, void 0, !0)
760
+ ], 512)) : m("", !0),
761
+ ae(ft, {
762
+ show: $.value.showTooltip && i.value,
763
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
764
+ color: e.value.style.chart.tooltip.color,
765
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
766
+ borderColor: e.value.style.chart.tooltip.borderColor,
767
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
768
+ fontSize: e.value.style.chart.tooltip.fontSize,
769
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
770
+ position: e.value.style.chart.tooltip.position,
771
+ offsetY: e.value.style.chart.tooltip.offsetY,
772
+ parent: U.value,
773
+ content: x.value,
774
+ isFullscreen: ee.value,
775
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
776
+ }, {
777
+ "tooltip-before": P(() => [
778
+ w(t.$slots, "tooltip-before", G(V({ ...ie.value })), void 0, !0)
779
+ ]),
780
+ "tooltip-after": P(() => [
781
+ w(t.$slots, "tooltip-after", G(V({ ...ie.value })), void 0, !0)
782
+ ]),
783
+ _: 3
784
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
785
+ u.value ? (s(), R(pt, {
786
+ key: 8,
787
+ hideDetails: "",
788
+ config: {
789
+ open: $.value.showTable,
790
+ maxHeight: 1e4,
791
+ body: {
792
+ backgroundColor: e.value.style.chart.backgroundColor,
793
+ color: e.value.style.chart.color
794
+ },
795
+ head: {
796
+ backgroundColor: e.value.style.chart.backgroundColor,
797
+ color: e.value.style.chart.color
798
+ }
799
+ }
800
+ }, {
801
+ content: P(() => [
802
+ (s(), R(ht, {
803
+ key: `table_${I.value}`,
804
+ colNames: q.value.colNames,
805
+ head: q.value.head,
806
+ body: q.value.body,
807
+ config: q.value.config,
808
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
809
+ onClose: c[0] || (c[0] = (l) => $.value.showTable = !1)
810
+ }, {
811
+ th: P(({ th: l }) => [
812
+ W("div", {
813
+ innerHTML: l,
814
+ style: { display: "flex", "align-items": "center" }
815
+ }, null, 8, Ht)
816
+ ]),
817
+ td: P(({ td: l }) => [
818
+ Ye(Se(l.name || l), 1)
819
+ ]),
820
+ _: 1
821
+ }, 8, ["colNames", "head", "body", "config", "title"]))
822
+ ]),
823
+ _: 1
824
+ }, 8, ["config"])) : m("", !0)
825
+ ], 46, At));
826
+ }
827
+ }, lo = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-d296dc0b"]]);
828
+ export {
829
+ lo as default
830
+ };