vue-data-ui 2.10.7 → 2.10.8

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 (169) hide show
  1. package/README.md +2 -2
  2. package/dist/{Arrow-CB6EKr1I.cjs → Arrow-NnfTvwbg.cjs} +1 -1
  3. package/dist/{Arrow-CZUwKF2D.js → Arrow-aCcBx0NS.js} +1 -1
  4. package/dist/{BaseIcon-Bzv6qbPZ.js → BaseIcon-DTt4YbQE.js} +1 -1
  5. package/dist/{BaseIcon-BkA9Q34x.cjs → BaseIcon-DmfPEj6j.cjs} +1 -1
  6. package/dist/{ColorPicker-C_UcScy-.js → ColorPicker-DrovFYIL.js} +3 -3
  7. package/dist/{ColorPicker-CSWIZQFG.cjs → ColorPicker-DsEujcIN.cjs} +1 -1
  8. package/dist/{DataTable-BhwIv7c6.js → DataTable-CX-Ynkp4.js} +2 -2
  9. package/dist/{DataTable-BmSWykCq.cjs → DataTable-zSU-0X__.cjs} +1 -1
  10. package/dist/{Legend-CubpFiQC.js → Legend-BTvPguV6.js} +2 -2
  11. package/dist/{Legend-CMib9jhR.cjs → Legend-DFQ4iWI3.cjs} +1 -1
  12. package/dist/{PackageVersion-DmKsiZge.js → PackageVersion-CkUbRQrt.js} +1 -1
  13. package/dist/{PackageVersion-9kqlnk5q.cjs → PackageVersion-DxR-fKLM.cjs} +1 -1
  14. package/dist/{PenAndPaper-Dgf1a1MW.js → PenAndPaper-Br3OdauM.js} +3 -3
  15. package/dist/{PenAndPaper-CfWPwfS1.cjs → PenAndPaper-CG9o3ymS.cjs} +1 -1
  16. package/dist/{Shape-DVn1gKjR.cjs → Shape-D9l3WJGO.cjs} +1 -1
  17. package/dist/{Shape-BUW7OeOM.js → Shape-Y1FgLdPz.js} +1 -1
  18. package/dist/{Slicer-ud5drJRz.cjs → Slicer-B7FJCuCB.cjs} +1 -1
  19. package/dist/{Slicer-jB5tCct6.js → Slicer-C2GR76As.js} +2 -2
  20. package/dist/{Title-EjA2nkhd.cjs → Title-CEZO2hzQ.cjs} +1 -1
  21. package/dist/{Title-BDdzEGgo.js → Title-tlFeM12I.js} +1 -1
  22. package/dist/{Tooltip-Cdkz2ese.js → Tooltip-BCtHh3BT.js} +1 -1
  23. package/dist/{Tooltip-Dr2CQpGZ.cjs → Tooltip-BZa-QzER.cjs} +1 -1
  24. package/dist/documentation/installation.md +1 -1
  25. package/dist/{dom-to-png-0ag5uZSL.js → dom-to-png-CjxHTZgX.js} +1 -1
  26. package/dist/{dom-to-png-DfWDULgW.cjs → dom-to-png-fAhFmKHV.cjs} +1 -1
  27. package/dist/{img-BFXiOvkr.cjs → img-Ds_hWTTu.cjs} +1 -1
  28. package/dist/{img-DB4eqtiV.js → img-w_iFTYRY.js} +1 -1
  29. package/dist/{index-Co_0CzhC.js → index-Co5UfCMK.js} +9 -2
  30. package/dist/index-Dy2-pNb6.cjs +9 -0
  31. package/dist/{pdf-DUrwlnsH.js → pdf-BfkOvZWw.js} +1 -1
  32. package/dist/{pdf-D_ScD9oB.cjs → pdf-CCdcXY_7.cjs} +1 -1
  33. package/dist/style.css +1 -1
  34. package/dist/types/vue-data-ui.d.cts +5 -0
  35. package/dist/types/vue-data-ui.d.ts +5 -0
  36. package/dist/{useNestedProp-DqI_VUcm.js → useNestedProp-C22WP03t.js} +1 -1
  37. package/dist/{useNestedProp-DjOgO33z.cjs → useNestedProp-DQ8Jt3-Y.cjs} +1 -1
  38. package/dist/{usePrinter-CynLTaVl.cjs → usePrinter-BQEYwy4a.cjs} +1 -1
  39. package/dist/{usePrinter-BV6TePSm.js → usePrinter-D_wgo-7k.js} +3 -3
  40. package/dist/{vue-data-ui-D0yLIHBU.js → vue-data-ui-C18HDIa2.js} +62 -62
  41. package/dist/{vue-data-ui-BTfYQKf1.cjs → vue-data-ui-zmg06AF1.cjs} +1 -1
  42. package/dist/vue-data-ui.cjs +1 -1
  43. package/dist/vue-data-ui.js +1 -1
  44. package/dist/{vue-ui-3d-bar-cz81vDyE.cjs → vue-ui-3d-bar-C_gJuhTV.cjs} +1 -1
  45. package/dist/{vue-ui-3d-bar-c10gAuCo.js → vue-ui-3d-bar-SB6p5amV.js} +9 -9
  46. package/dist/{vue-ui-accordion-DMCnTtx0.js → vue-ui-accordion-CfB_jW1X.js} +3 -3
  47. package/dist/{vue-ui-accordion-BrbibtJK.cjs → vue-ui-accordion-dVGUWjXH.cjs} +1 -1
  48. package/dist/{vue-ui-age-pyramid-VrC5Ul6m.cjs → vue-ui-age-pyramid-DZ_ajGY_.cjs} +1 -1
  49. package/dist/{vue-ui-age-pyramid-qvsOA8yi.js → vue-ui-age-pyramid-G8ggvkGU.js} +10 -10
  50. package/dist/{vue-ui-annotator-DYHa8k6K.cjs → vue-ui-annotator-BkZat_7T.cjs} +1 -1
  51. package/dist/{vue-ui-annotator-Difg_FB4.js → vue-ui-annotator-DeoWv4A3.js} +2 -2
  52. package/dist/{vue-ui-bullet-D9jQThZ5.js → vue-ui-bullet-CvjS0_Pz.js} +8 -8
  53. package/dist/{vue-ui-bullet-Ck8VFaeu.cjs → vue-ui-bullet-D9jaszdm.cjs} +1 -1
  54. package/dist/{vue-ui-candlestick-Dsd_ba5D.cjs → vue-ui-candlestick-gnsNiFI3.cjs} +1 -1
  55. package/dist/{vue-ui-candlestick-CkGKxPxw.js → vue-ui-candlestick-xBYW3oOn.js} +11 -11
  56. package/dist/{vue-ui-carousel-table-CR-iVMMe.js → vue-ui-carousel-table-BKQIWhzt.js} +4 -4
  57. package/dist/{vue-ui-carousel-table-46CpWaYv.cjs → vue-ui-carousel-table-DNW8HJNv.cjs} +1 -1
  58. package/dist/{vue-ui-chestnut-C9hkjAMP.js → vue-ui-chestnut-C5RprHfl.js} +8 -8
  59. package/dist/{vue-ui-chestnut-DpZW075x.cjs → vue-ui-chestnut-D9UKh8la.cjs} +1 -1
  60. package/dist/{vue-ui-circle-pack-DCiIAJrq.js → vue-ui-circle-pack-Cx4gGG1K.js} +9 -9
  61. package/dist/{vue-ui-circle-pack-5_vQ6vaC.cjs → vue-ui-circle-pack-OTXbeD89.cjs} +1 -1
  62. package/dist/{vue-ui-cursor-DkNjb-zj.cjs → vue-ui-cursor-BuEDX1kV.cjs} +1 -1
  63. package/dist/{vue-ui-cursor-Cts6qtAH.js → vue-ui-cursor-Cdvi-0lD.js} +2 -2
  64. package/dist/{vue-ui-dashboard-DHHIcBg0.cjs → vue-ui-dashboard-BAPaHtqr.cjs} +1 -1
  65. package/dist/{vue-ui-dashboard-Db-_ElsA.js → vue-ui-dashboard-BLHl6FJI.js} +62 -62
  66. package/dist/{vue-ui-digits--pkv7eKf.js → vue-ui-digits-CCAt8_aJ.js} +2 -2
  67. package/dist/{vue-ui-digits-BV--b8cv.cjs → vue-ui-digits-YV4qxb86.cjs} +1 -1
  68. package/dist/{vue-ui-donut-D1OlfgtH.cjs → vue-ui-donut-BvjPFjpd.cjs} +1 -1
  69. package/dist/{vue-ui-donut-BxbbhGmV.js → vue-ui-donut-CNZIha3Z.js} +12 -12
  70. package/dist/{vue-ui-donut-evolution-2mbVNu_w.js → vue-ui-donut-evolution-DNhwy9qU.js} +11 -11
  71. package/dist/{vue-ui-donut-evolution-BetPU8WD.cjs → vue-ui-donut-evolution-Dxx5Psl4.cjs} +1 -1
  72. package/dist/{vue-ui-dumbbell-Brfkbz4H.js → vue-ui-dumbbell-BmRkAtBK.js} +10 -10
  73. package/dist/{vue-ui-dumbbell-B4tWeLVq.cjs → vue-ui-dumbbell-MGMSs7vG.cjs} +1 -1
  74. package/dist/vue-ui-flow-B3t_sNr4.cjs +3 -0
  75. package/dist/vue-ui-flow-CxhJwDZa.js +767 -0
  76. package/dist/{vue-ui-funnel-Bga3R3li.js → vue-ui-funnel-CJHKcUDg.js} +9 -9
  77. package/dist/{vue-ui-funnel-DJIRpxX0.cjs → vue-ui-funnel-twMmn36_.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DjpT9A4L.cjs → vue-ui-galaxy-BjBTNZ6j.cjs} +1 -1
  79. package/dist/{vue-ui-galaxy-CtUY6byr.js → vue-ui-galaxy-CDonLoXv.js} +11 -11
  80. package/dist/{vue-ui-gauge-Bob29zui.js → vue-ui-gauge-C7L0uVvx.js} +7 -7
  81. package/dist/{vue-ui-gauge-ByLQRCM5.cjs → vue-ui-gauge-DXadxMZn.cjs} +1 -1
  82. package/dist/{vue-ui-gizmo-Dj1TLLb1.js → vue-ui-gizmo-C9JuTLL-.js} +3 -3
  83. package/dist/{vue-ui-gizmo-DBCKjWN0.cjs → vue-ui-gizmo-u7ypeW6n.cjs} +1 -1
  84. package/dist/{vue-ui-heatmap-CAUnlp-o.cjs → vue-ui-heatmap-Cjckqsrg.cjs} +1 -1
  85. package/dist/{vue-ui-heatmap-BYH3bosu.js → vue-ui-heatmap-DaAgigHH.js} +10 -10
  86. package/dist/{vue-ui-history-plot-C1kOJElL.js → vue-ui-history-plot-KoGpnC64.js} +11 -11
  87. package/dist/{vue-ui-history-plot-CbTOgmxa.cjs → vue-ui-history-plot-YLMX8PqM.cjs} +1 -1
  88. package/dist/{vue-ui-kpi-BUoc8QIz.js → vue-ui-kpi-DNUDGlWM.js} +3 -3
  89. package/dist/{vue-ui-kpi-DTWa9I78.cjs → vue-ui-kpi-GZlFX5zg.cjs} +1 -1
  90. package/dist/{vue-ui-mini-loader-CSmFWNXS.js → vue-ui-mini-loader-9YvdM0_A.js} +2 -2
  91. package/dist/{vue-ui-mini-loader-C1awnIuZ.cjs → vue-ui-mini-loader-D1HhmCbC.cjs} +1 -1
  92. package/dist/{vue-ui-molecule-D9kSZQHB.js → vue-ui-molecule-B71fJREj.js} +11 -11
  93. package/dist/{vue-ui-molecule-CgSPoJxN.cjs → vue-ui-molecule-DDsKb9re.cjs} +1 -1
  94. package/dist/{vue-ui-mood-radar-DpQ8EBTg.cjs → vue-ui-mood-radar-BO4yaBxo.cjs} +1 -1
  95. package/dist/{vue-ui-mood-radar-qd5CCM58.js → vue-ui-mood-radar-DH4RYmdT.js} +11 -11
  96. package/dist/{vue-ui-nested-donuts-BP9gsX6T.cjs → vue-ui-nested-donuts-BlxuqLPb.cjs} +1 -1
  97. package/dist/{vue-ui-nested-donuts-OqJPZW8l.js → vue-ui-nested-donuts-bOXvQ01U.js} +11 -11
  98. package/dist/{vue-ui-onion-DYIgsIYr.cjs → vue-ui-onion-BugH4ThJ.cjs} +1 -1
  99. package/dist/{vue-ui-onion-rNOeD9u1.js → vue-ui-onion-D7VhEicc.js} +11 -11
  100. package/dist/{vue-ui-parallel-coordinate-plot-DQd14cew.js → vue-ui-parallel-coordinate-plot-Bc5Yr0Yr.js} +12 -12
  101. package/dist/{vue-ui-parallel-coordinate-plot-CDwhmDGl.cjs → vue-ui-parallel-coordinate-plot-DjTMM1Zt.cjs} +1 -1
  102. package/dist/{vue-ui-quadrant-RRM343kT.cjs → vue-ui-quadrant-Dni5Lkhg.cjs} +1 -1
  103. package/dist/{vue-ui-quadrant-CH856J9A.js → vue-ui-quadrant-PrjG5beo.js} +12 -12
  104. package/dist/{vue-ui-quick-chart-BLq8C-m8.js → vue-ui-quick-chart-C46V8Ffa.js} +9 -9
  105. package/dist/{vue-ui-quick-chart-BXYgI65b.cjs → vue-ui-quick-chart-LuGKbIvU.cjs} +1 -1
  106. package/dist/{vue-ui-radar-BuCYH3tO.js → vue-ui-radar-05pd47HM.js} +12 -12
  107. package/dist/{vue-ui-radar-38OxxA3O.cjs → vue-ui-radar-j2Vgot8p.cjs} +1 -1
  108. package/dist/{vue-ui-rating-D6OL6Aml.js → vue-ui-rating-Bl_q3TYs.js} +2 -2
  109. package/dist/{vue-ui-rating-CiqatGZ_.cjs → vue-ui-rating-ClxiMhPq.cjs} +1 -1
  110. package/dist/{vue-ui-relation-circle-ByhUL4R6.js → vue-ui-relation-circle-Bu5eYbEg.js} +7 -7
  111. package/dist/{vue-ui-relation-circle-DDYGMgUl.cjs → vue-ui-relation-circle-BuoQTWw_.cjs} +1 -1
  112. package/dist/{vue-ui-ridgeline-B5126LSF.js → vue-ui-ridgeline-D4ot7MF8.js} +12 -12
  113. package/dist/{vue-ui-ridgeline-C550XNkk.cjs → vue-ui-ridgeline-ESRn_Q1y.cjs} +1 -1
  114. package/dist/{vue-ui-rings-Dxp4dmO2.cjs → vue-ui-rings-D7o_vleu.cjs} +1 -1
  115. package/dist/{vue-ui-rings-DPXct3je.js → vue-ui-rings-Dyl5VV9I.js} +12 -12
  116. package/dist/{vue-ui-scatter-BWmY2_ij.cjs → vue-ui-scatter-B31kZz0w.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-_DhEpcsw.js → vue-ui-scatter-njuULIsD.js} +12 -12
  118. package/dist/{vue-ui-skeleton-Dzehgcp3.js → vue-ui-skeleton-BSlYUHZA.js} +3 -3
  119. package/dist/{vue-ui-skeleton-DvJP74jb.cjs → vue-ui-skeleton-Db7PiDqL.cjs} +1 -1
  120. package/dist/{vue-ui-smiley-BHd1V1Dv.js → vue-ui-smiley-BmNRkSub.js} +2 -2
  121. package/dist/{vue-ui-smiley-CtDCCsfg.cjs → vue-ui-smiley-CfdbRWq6.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-DDX-fjR-.js → vue-ui-spark-trend-B0Xvu1YP.js} +5 -5
  123. package/dist/{vue-ui-spark-trend-DDf1hJwg.cjs → vue-ui-spark-trend-CwtYlUEX.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-BT5NEz93.cjs → vue-ui-sparkbar-Xy7idkhv.cjs} +1 -1
  125. package/dist/{vue-ui-sparkbar-BWeY-FcV.js → vue-ui-sparkbar-e2-8wHQH.js} +4 -4
  126. package/dist/{vue-ui-sparkgauge-BQMHbq8E.js → vue-ui-sparkgauge-_cMBBl3V.js} +4 -4
  127. package/dist/{vue-ui-sparkgauge-IYvYlZ57.cjs → vue-ui-sparkgauge-vjcDqzGe.cjs} +1 -1
  128. package/dist/{vue-ui-sparkhistogram-cjsCsNyf.cjs → vue-ui-sparkhistogram-BpD6XxfA.cjs} +1 -1
  129. package/dist/{vue-ui-sparkhistogram-C5EdWvQP.js → vue-ui-sparkhistogram-DUyGQgqZ.js} +5 -5
  130. package/dist/{vue-ui-sparkline-CbKIpwVC.js → vue-ui-sparkline-D1wfG3Yw.js} +4 -4
  131. package/dist/{vue-ui-sparkline-BwZJpAAf.cjs → vue-ui-sparkline-cPPxz94c.cjs} +1 -1
  132. package/dist/{vue-ui-sparkstackbar-COxIfFgm.js → vue-ui-sparkstackbar-BCTx016Z.js} +5 -5
  133. package/dist/{vue-ui-sparkstackbar-BVJU36Jz.cjs → vue-ui-sparkstackbar-iRVpx_xT.cjs} +1 -1
  134. package/dist/{vue-ui-stackbar-Dr5hRx6G.js → vue-ui-stackbar--QKW68d6.js} +13 -13
  135. package/dist/{vue-ui-stackbar-CQ56hps8.cjs → vue-ui-stackbar-DCotybpB.cjs} +1 -1
  136. package/dist/{vue-ui-strip-plot-Mct4OE0A.js → vue-ui-strip-plot-BhLBOV7s.js} +11 -11
  137. package/dist/{vue-ui-strip-plot-B_nfC_fx.cjs → vue-ui-strip-plot-CdceC4jP.cjs} +1 -1
  138. package/dist/{vue-ui-table-DE3wOTyH.cjs → vue-ui-table-Cd9UeZXy.cjs} +1 -1
  139. package/dist/{vue-ui-table-B6LG28n8.js → vue-ui-table-DjDENKmJ.js} +3 -3
  140. package/dist/{vue-ui-table-heatmap-DDOoKybT.js → vue-ui-table-heatmap-CZdiE-l3.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-DuMRCIbx.cjs → vue-ui-table-heatmap-gbdWhEG_.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-gZWWmkQe.cjs → vue-ui-table-sparkline-BFQ4DQRu.cjs} +1 -1
  143. package/dist/{vue-ui-table-sparkline-D578FuNQ.js → vue-ui-table-sparkline-zGotm14D.js} +5 -5
  144. package/dist/{vue-ui-thermometer-BWHsyYj8.cjs → vue-ui-thermometer-CRhrvWm0.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-DFbYODrU.js → vue-ui-thermometer-DA3KgSw1.js} +7 -7
  146. package/dist/{vue-ui-timer-s73pZhYM.cjs → vue-ui-timer-DnXYrfrB.cjs} +1 -1
  147. package/dist/{vue-ui-timer-Bi6Q0m_J.js → vue-ui-timer-ult9htF3.js} +5 -5
  148. package/dist/{vue-ui-tiremarks-C68rB2kd.js → vue-ui-tiremarks-CRXtVmEM.js} +7 -7
  149. package/dist/{vue-ui-tiremarks-BcFJOrF8.cjs → vue-ui-tiremarks-Dht-uT9E.cjs} +1 -1
  150. package/dist/{vue-ui-treemap-b5rZtLKn.js → vue-ui-treemap-Ck5tHVnE.js} +12 -12
  151. package/dist/{vue-ui-treemap-B7_kcMng.cjs → vue-ui-treemap-pbhS4FfC.cjs} +1 -1
  152. package/dist/{vue-ui-vertical-bar-Bw42kw9a.cjs → vue-ui-vertical-bar-BZjsolLB.cjs} +1 -1
  153. package/dist/{vue-ui-vertical-bar-DyZ-gfQi.js → vue-ui-vertical-bar-egz76l34.js} +12 -12
  154. package/dist/{vue-ui-waffle-tk3zMyjq.cjs → vue-ui-waffle-C7za7d0u.cjs} +1 -1
  155. package/dist/{vue-ui-waffle-CG05FL_H.js → vue-ui-waffle-CrMkCjJJ.js} +12 -12
  156. package/dist/{vue-ui-wheel-RzXEZFfN.cjs → vue-ui-wheel-DIgPyNrB.cjs} +1 -1
  157. package/dist/{vue-ui-wheel-BTbteaZS.js → vue-ui-wheel-DzMpr4xY.js} +7 -7
  158. package/dist/{vue-ui-word-cloud-CUZ1Mm3Q.cjs → vue-ui-word-cloud-CNqAz548.cjs} +1 -1
  159. package/dist/{vue-ui-word-cloud-BKubtYCS.js → vue-ui-word-cloud-TS3az-LK.js} +10 -10
  160. package/dist/{vue-ui-world-BF0wSEJb.js → vue-ui-world-D3X01xYB.js} +11 -11
  161. package/dist/{vue-ui-world-BPcoReDh.cjs → vue-ui-world-DMdqTY5G.cjs} +1 -1
  162. package/dist/{vue-ui-xy-C8ZEeV9g.cjs → vue-ui-xy-CF87Afh2.cjs} +2 -2
  163. package/dist/{vue-ui-xy-canvas-CJl9RPzv.cjs → vue-ui-xy-canvas-2IL8lPL4.cjs} +1 -1
  164. package/dist/{vue-ui-xy-canvas-CYaJZj3B.js → vue-ui-xy-canvas-BHeV-3t9.js} +12 -12
  165. package/dist/{vue-ui-xy-AgcMweTZ.js → vue-ui-xy-tIBPr8r8.js} +16 -16
  166. package/package.json +1 -1
  167. package/dist/index-BX4v5fiN.cjs +0 -9
  168. package/dist/vue-ui-flow-BSptjAOo.cjs +0 -1
  169. package/dist/vue-ui-flow-BtfK7Ixu.js +0 -655
@@ -0,0 +1,767 @@
1
+ import { computed as m, onMounted as ot, ref as b, watch as lt, createElementBlock as y, openBlock as c, unref as v, normalizeStyle as F, normalizeClass as He, createBlock as H, createCommentVNode as x, createElementVNode as Y, createVNode as de, createSlots as at, withCtx as $, renderSlot as k, normalizeProps as D, guardReactiveProps as B, Fragment as U, renderList as V, toDisplayString as W, createTextVNode as nt, nextTick as st } from "vue";
2
+ import { u as rt, o as ut, e as it, c as ve, t as ct, p as L, a as dt, b as vt, v as _, d as ft, f as j, X as ht, G as Ye, J as pt, i as fe, q as gt, r as mt, x as yt } from "./index-Co5UfCMK.js";
3
+ import { _ as bt } from "./Title-tlFeM12I.js";
4
+ import { u as kt, U as Ct } from "./usePrinter-D_wgo-7k.js";
5
+ import { D as wt } from "./DataTable-CX-Ynkp4.js";
6
+ import $t from "./vue-ui-accordion-CfB_jW1X.js";
7
+ import _t from "./vue-ui-skeleton-BSlYUHZA.js";
8
+ import { u as De } from "./useNestedProp-C22WP03t.js";
9
+ import { _ as Tt } from "./PackageVersion-CkUbRQrt.js";
10
+ import { _ as xt } from "./PenAndPaper-Br3OdauM.js";
11
+ import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
12
+ import { u as Ot } from "./useChartAccessibility-BWojgys7.js";
13
+ import { _ as St } from "./Tooltip-BCtHh3BT.js";
14
+ import { L as Ft } from "./Legend-BTvPguV6.js";
15
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Pt = ["id"], It = {
17
+ key: 1,
18
+ ref: "noTitle",
19
+ class: "vue-data-ui-no-title-space",
20
+ style: "height:36px; width: 100%;background:transparent"
21
+ }, Et = {
22
+ key: 2,
23
+ style: "width:100%;background:transparent;padding-bottom:24px"
24
+ }, zt = ["xmlns", "viewBox"], At = ["width", "height"], Mt = ["id"], Ht = ["stop-color"], Yt = ["stop-color"], Dt = ["d", "fill", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], Gt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Ut = {
25
+ key: 4,
26
+ class: "vue-data-ui-watermark"
27
+ }, Vt = ["onClick"], Wt = {
28
+ key: 6,
29
+ ref: "source",
30
+ dir: "auto"
31
+ }, jt = ["innerHTML"], Xt = {
32
+ __name: "vue-ui-flow",
33
+ props: {
34
+ config: {
35
+ type: Object,
36
+ default() {
37
+ return {};
38
+ }
39
+ },
40
+ dataset: {
41
+ type: Array,
42
+ default() {
43
+ return [];
44
+ }
45
+ }
46
+ },
47
+ setup(Be, { expose: Ge }) {
48
+ const { vue_ui_flow: Re } = rt(), T = Be, te = m(() => !!T.dataset && T.dataset.length);
49
+ ot(() => {
50
+ he();
51
+ });
52
+ function he() {
53
+ ut(T.dataset) && it({
54
+ componentName: "VueUiFlow",
55
+ type: "dataset"
56
+ });
57
+ }
58
+ const oe = b(ve()), le = b(null), pe = b(0), ge = b(0), ae = b(!1), ne = b(""), Ue = b(null), E = b(!1);
59
+ function Ve(t) {
60
+ E.value = t, pe.value += 1;
61
+ }
62
+ const e = m({
63
+ get: () => ke(),
64
+ set: (t) => t
65
+ }), { userOptionsVisible: se, setUserOptionsVisibility: me, keepUserOptionState: ye } = Nt({ config: e.value }), { svgRef: be } = Ot({
66
+ config: e.value.style.chart.title
67
+ });
68
+ function ke() {
69
+ const t = De({
70
+ userConfig: T.config,
71
+ defaultConfig: Re
72
+ });
73
+ let l = t;
74
+ return t.theme ? l = {
75
+ ...De({
76
+ userConfig: dt.vue_ui_flow[t.theme] || T.config,
77
+ defaultConfig: t
78
+ }),
79
+ customPalette: ct[t.theme] || L
80
+ } : l = t, l.nodeCategories = T.config.nodeCategories || {}, l.nodeCategoryColors = T.config.nodeCategoryColors || {}, l;
81
+ }
82
+ lt(
83
+ () => T.config,
84
+ (t) => {
85
+ e.value = ke(), se.value = !e.value.userOptions.showOnChartHover, he(), ge.value += 1, N.value.showTable = e.value.table.show;
86
+ },
87
+ { deep: !0 }
88
+ );
89
+ const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = kt({
90
+ elementId: `flow_${oe.value}`,
91
+ fileName: e.value.style.chart.title.text || "vue-ui-flow",
92
+ options: e.value.userOptions.print
93
+ }), We = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), X = m(() => vt(e.value.customPalette)), Te = m(() => e.value.style.chart.nodes.gap), z = m(() => e.value.style.chart.nodes.width), N = b({
94
+ showTable: e.value.table.show,
95
+ showTooltip: e.value.style.chart.tooltip.show
96
+ }), xe = m(() => e.value.style.chart.links.width), q = m(() => !T.dataset || !T.dataset.length ? [] : T.dataset.map((t, l) => [
97
+ t[0],
98
+ t[1],
99
+ _(t[2]),
100
+ t[3] ? ft(t[3]) : X.value[l] || X.value[l % X.value.length] || L[l] || L[l % d.length]
101
+ ])), Ne = m(() => {
102
+ const t = {};
103
+ function l(a) {
104
+ t[a] || (t[a] = { inflow: 0, outflow: 0 });
105
+ }
106
+ q.value.forEach(([a, s, p]) => {
107
+ l(a), l(s), t[a].outflow += p, t[s].inflow += p;
108
+ });
109
+ let o = 0;
110
+ for (const a in t) {
111
+ const s = Math.max(t[a].inflow, t[a].outflow);
112
+ o = Math.max(o, s);
113
+ }
114
+ return o;
115
+ });
116
+ function je(t) {
117
+ return t / Ne.value * 100 + e.value.style.chart.nodes.minHeight;
118
+ }
119
+ function Xe(t) {
120
+ const l = e.value.style.chart.nodes.minHeight;
121
+ return (t - l) / 100 * Ne.value;
122
+ }
123
+ function qe(t) {
124
+ const l = {}, o = {};
125
+ function a(n, u) {
126
+ l[n] || (l[n] = {
127
+ height: 0,
128
+ level: null,
129
+ inflow: 0,
130
+ outflow: 0,
131
+ uid: ve()
132
+ }), l[n].level === null && (l[n].level = u), o[u] || (o[u] = []), o[u].includes(n) || o[u].push(n);
133
+ }
134
+ t.forEach(([n, u, i]) => {
135
+ var r;
136
+ const f = ((r = l[n]) == null ? void 0 : r.level) ?? 0, g = f + 1;
137
+ a(n, f), a(u, g), l[n].children || (l[n].children = []), l[n].children.push({ target: u, value: i }), l[n].outflow += i, l[u].inflow += i;
138
+ });
139
+ const s = new Set(t.map(([n]) => n)), p = new Set(t.map(([, n]) => n)), M = Array.from(s).filter((n) => !p.has(n)), Q = {};
140
+ M.forEach((n, u) => {
141
+ Q[n] = X.value[u] || L[u % L.length];
142
+ });
143
+ const R = {};
144
+ t.forEach(([n, u, i, f]) => {
145
+ f && (R[n] = f, R[u] = f);
146
+ }), Object.keys(l).forEach((n, u) => {
147
+ var g, r;
148
+ const i = (g = e.value.nodeCategories) == null ? void 0 : g[n], f = i ? (r = e.value.nodeCategoryColors) == null ? void 0 : r[i] : null;
149
+ l[n].color = R[n] || // 1) explicit
150
+ f || // 2) category
151
+ (M.includes(n) ? Q[n] : null) || // 3) root
152
+ L[u % L.length];
153
+ });
154
+ for (const n in l)
155
+ l[n].height = je(
156
+ Math.max(l[n].inflow, l[n].outflow)
157
+ ), l[n].name = n;
158
+ const O = {};
159
+ for (const n in o) {
160
+ let u = 0;
161
+ o[n].forEach((i, f) => {
162
+ const g = l[i];
163
+ O[i] = {
164
+ x: parseInt(n, 10) * xe.value + e.value.style.chart.padding.left,
165
+ y: u,
166
+ absoluteY: u,
167
+ height: g.height,
168
+ i: f,
169
+ color: g.color,
170
+ value: Xe(g.height)
171
+ }, u += g.height + Te.value;
172
+ });
173
+ }
174
+ const I = [];
175
+ for (const n of Object.keys(l)) {
176
+ let u = O[n].absoluteY + e.value.style.chart.padding.top;
177
+ const i = l[n], f = O[n];
178
+ i.children && i.children.forEach(({ target: g, value: r }) => {
179
+ const h = O[g], S = l[g], ee = _(u), Ae = _(
180
+ u + r / i.outflow * f.height
181
+ ), ce = _(
182
+ h.y + e.value.style.chart.padding.top
183
+ ), Me = _(
184
+ ce + r / S.inflow * h.height
185
+ );
186
+ I.push({
187
+ id: ve(),
188
+ source: n,
189
+ target: g,
190
+ path: `M ${_(f.x + z.value)} ${ee} L ${_(f.x + z.value)} ${Ae} L ${_(h.x)} ${Me} L ${_(h.x)} ${ce} Z`,
191
+ value: r,
192
+ sourceColor: i.color,
193
+ targetColor: S.color
194
+ }), u += Ae - ee, O[g].y += Me - ce;
195
+ });
196
+ }
197
+ return { nodeCoordinates: O, links: I };
198
+ }
199
+ const C = m(() => {
200
+ const t = qe(T.dataset);
201
+ return {
202
+ nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
203
+ ...t.nodeCoordinates[l],
204
+ name: l
205
+ })),
206
+ links: t.links
207
+ };
208
+ }), Je = m(() => Ze(C.value.nodes));
209
+ function Ze(t) {
210
+ const l = {};
211
+ for (const a in t) {
212
+ const { x: s, height: p } = t[a];
213
+ l[s] || (l[s] = 0), l[s] += p + Te.value;
214
+ }
215
+ return Math.max(...Object.values(l));
216
+ }
217
+ const G = m(() => {
218
+ const {
219
+ top: t,
220
+ right: l,
221
+ left: o,
222
+ bottom: a
223
+ } = e.value.style.chart.padding, s = q.value.length * xe.value;
224
+ return {
225
+ height: Je.value + t + a,
226
+ width: l + Math.max(...C.value.nodes.map((p) => p.x)) + z.value,
227
+ left: o,
228
+ top: t,
229
+ right: s - l,
230
+ p_top: t,
231
+ p_bottom: a
232
+ };
233
+ });
234
+ function Ke(t) {
235
+ const l = {}, o = {}, a = /* @__PURE__ */ new Set();
236
+ return q.value.forEach(([s, p, M]) => {
237
+ l[s] || (l[s] = []), o[p] || (o[p] = []), l[s].push(p), o[p].push(s);
238
+ }), l[t] && l[t].forEach((s) => a.add(s)), o[t] && o[t].forEach((s) => a.add(s)), Array.from(a).concat(t);
239
+ }
240
+ const w = b(null), A = b(null), re = b(null), J = b(!1);
241
+ function Qe(t) {
242
+ P.value = [], w.value = Ke(t.name), A.value = t.name;
243
+ const l = t.name, o = q.value;
244
+ let a = 0, s = 0, p = [], M = [];
245
+ const Q = new Set(o.map(([r]) => r)), R = new Set(o.map(([, r]) => r)), ze = Array.from(Q).filter((r) => !R.has(r)), O = o.filter(([r]) => ze.includes(r)).reduce((r, [h, S, ee]) => r + ee, 0), I = {};
246
+ C.value.nodes.forEach((r) => {
247
+ I[r.name] = r.color;
248
+ }), o.forEach(([r, h, S]) => {
249
+ h === l && (a += S, p.push({ source: r, value: S, color: I[r] })), r === l && (s += S, M.push({ target: h, value: S, color: I[h] }));
250
+ });
251
+ const n = Math.max(a, s), u = O > 0 ? n / O * 100 : 0, i = {
252
+ name: l,
253
+ inflow: a,
254
+ outflow: s,
255
+ from: p,
256
+ to: M,
257
+ percentOfTotal: u,
258
+ color: I[l] || "#000000"
259
+ };
260
+ re.value = { datapoint: i }, ae.value = !0;
261
+ let f = "";
262
+ const g = e.value.style.chart.tooltip.customFormat;
263
+ if (J.value = !1, yt(g))
264
+ try {
265
+ const r = g({
266
+ datapoint: i,
267
+ series: C.value,
268
+ config: e.value
269
+ });
270
+ typeof r == "string" && (ne.value = r, J.value = !0);
271
+ } catch {
272
+ console.warn("Custom format cannot be applied.");
273
+ }
274
+ if (!J.value) {
275
+ const r = e.value.style.chart.tooltip.showPercentage ? `<div>${j({
276
+ p: e.value.style.chart.tooltip.translations.percentOfTotal,
277
+ v: i.percentOfTotal,
278
+ s: "%",
279
+ r: e.value.style.chart.tooltip.roundingPercentage
280
+ })}</div>` : "";
281
+ f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${i.color}">⏹</span>${i.name}${r}</div>`, i.from.length && (f += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, i.from.forEach((h) => {
282
+ f += `<div><span style="color:${h.color}">⏹←</span> ${h.source}: ${fe(
283
+ e.value.style.chart.nodes.labels.formatter,
284
+ h.value,
285
+ j({
286
+ p: e.value.style.chart.nodes.labels.prefix,
287
+ v: h.value,
288
+ s: e.value.style.chart.nodes.labels.suffix,
289
+ r: e.value.style.chart.nodes.labels.rounding
290
+ })
291
+ )}</div>`;
292
+ })), i.to.length && (f += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, i.to.forEach((h) => {
293
+ f += `<div><span style="color:${h.color}">⏹→</span> ${h.target}: ${fe(
294
+ e.value.style.chart.nodes.labels.formatter,
295
+ h.value,
296
+ j({
297
+ p: e.value.style.chart.nodes.labels.prefix,
298
+ v: h.value,
299
+ s: e.value.style.chart.nodes.labels.suffix,
300
+ r: e.value.style.chart.nodes.labels.rounding
301
+ })
302
+ )}</div>`;
303
+ })), ne.value = f;
304
+ }
305
+ }
306
+ function Oe() {
307
+ w.value = null, A.value = null, ae.value = !1;
308
+ }
309
+ const Se = m(() => C.value.links.map(
310
+ ({ source: t, target: l, sourceColor: o, targetColor: a, value: s }) => ({
311
+ source: t,
312
+ target: l,
313
+ sourceColor: o,
314
+ targetColor: a,
315
+ value: s
316
+ })
317
+ ));
318
+ function Fe() {
319
+ st(() => {
320
+ const t = Se.value.map((a, s) => [[a.source], [a.target], [a.value]]), l = [
321
+ [e.value.style.chart.title.text],
322
+ [e.value.style.chart.title.subtitle.text],
323
+ [
324
+ [e.value.table.columnNames.source],
325
+ [e.value.table.columnNames.target],
326
+ [e.value.table.columnNames.value]
327
+ ]
328
+ ].concat(t), o = gt(l);
329
+ mt({
330
+ csvContent: o,
331
+ title: e.value.style.chart.title.text || "vue-ui-flow"
332
+ });
333
+ });
334
+ }
335
+ const Z = m(() => {
336
+ const t = [
337
+ e.value.table.columnNames.source,
338
+ e.value.table.columnNames.target,
339
+ e.value.table.columnNames.value
340
+ ], l = Se.value.map((s, p) => [
341
+ {
342
+ color: s.sourceColor,
343
+ name: s.source
344
+ },
345
+ {
346
+ color: s.targetColor,
347
+ name: s.target
348
+ },
349
+ j({
350
+ p: e.value.style.chart.nodes.labels.prefix,
351
+ v: s.value,
352
+ s: e.value.style.chart.nodes.labels.suffix,
353
+ r: e.value.style.chart.nodes.labels.rounding
354
+ })
355
+ ]), o = {
356
+ th: {
357
+ backgroundColor: e.value.table.th.backgroundColor,
358
+ color: e.value.table.th.color,
359
+ outline: e.value.table.th.outline
360
+ },
361
+ td: {
362
+ backgroundColor: e.value.table.td.backgroundColor,
363
+ color: e.value.table.td.color,
364
+ outline: e.value.table.td.outline
365
+ },
366
+ breakpoint: e.value.table.responsiveBreakpoint
367
+ };
368
+ return {
369
+ colNames: [
370
+ e.value.table.columnNames.source,
371
+ e.value.table.columnNames.target,
372
+ e.value.table.columnNames.value
373
+ ],
374
+ head: t,
375
+ body: l,
376
+ config: o
377
+ };
378
+ });
379
+ function et() {
380
+ return C.value;
381
+ }
382
+ function Le() {
383
+ N.value.showTable = !N.value.showTable;
384
+ }
385
+ const K = b(!1);
386
+ function ue() {
387
+ K.value = !K.value;
388
+ }
389
+ function Pe() {
390
+ N.value.showTooltip = !N.value.showTooltip;
391
+ }
392
+ const Ie = m(() => {
393
+ const t = new Set(
394
+ C.value.nodes.map(
395
+ (l) => e.value.nodeCategories[l.name] || "__uncategorized__"
396
+ )
397
+ );
398
+ return Array.from(t).map((l) => ({
399
+ name: l,
400
+ color: e.value.nodeCategoryColors[l] || L[0],
401
+ shape: "square",
402
+ count: C.value.nodes.filter(
403
+ (o) => (e.value.nodeCategories[o.name] || "__uncategorized__") === l
404
+ ).length
405
+ })).map((l, o) => ({
406
+ ...l,
407
+ segregate: () => ie({ legend: l, i: o }),
408
+ opacity: P.value.length ? P.value.includes(o) ? 1 : 0.5 : 1
409
+ }));
410
+ }), Ee = m(
411
+ () => Ie.value.filter((t) => t.name !== "__uncategorized__")
412
+ ), P = b([]);
413
+ function ie({ legend: t, i: l }) {
414
+ var a;
415
+ const o = t.name;
416
+ if ((a = w.value) != null && a.every(
417
+ (s) => e.value.nodeCategories[s] === o
418
+ )) {
419
+ w.value = null, A.value = null, P.value = [];
420
+ return;
421
+ }
422
+ P.value = [l], w.value = C.value.nodes.filter((s) => e.value.nodeCategories[s.name] === o).map((s) => s.name), A.value = null;
423
+ }
424
+ const tt = m(() => ({
425
+ cy: "flow-legend",
426
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
427
+ color: e.value.style.chart.legend.color,
428
+ fontSize: e.value.style.chart.legend.fontSize,
429
+ paddingBottom: e.value.style.chart.legend.paddingBottom,
430
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
431
+ }));
432
+ return Ge({
433
+ getData: et,
434
+ generateCsv: Fe,
435
+ generateImage: _e,
436
+ generatePdf: $e,
437
+ toggleTable: Le,
438
+ toggleAnnotator: ue,
439
+ toggleTooltip: Pe,
440
+ drillCategory: ie,
441
+ unselectNode: Oe
442
+ }), (t, l) => (c(), y("div", {
443
+ ref_key: "flowChart",
444
+ ref: le,
445
+ class: He(`vue-ui-flow ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
446
+ style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
447
+ id: `flow_${oe.value}`,
448
+ onMouseenter: l[3] || (l[3] = () => v(me)(!0)),
449
+ onMouseleave: l[4] || (l[4] = () => v(me)(!1))
450
+ }, [
451
+ e.value.userOptions.buttons.annotator ? (c(), H(xt, {
452
+ key: 0,
453
+ svgRef: v(be),
454
+ backgroundColor: e.value.style.chart.backgroundColor,
455
+ color: e.value.style.chart.color,
456
+ active: K.value,
457
+ onClose: ue
458
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
459
+ We.value ? (c(), y("div", It, null, 512)) : x("", !0),
460
+ e.value.style.chart.title.text ? (c(), y("div", Et, [
461
+ (c(), H(bt, {
462
+ key: `title_${ge.value}`,
463
+ config: {
464
+ title: {
465
+ cy: "flow-title",
466
+ ...e.value.style.chart.title
467
+ },
468
+ subtitle: {
469
+ cy: "flow-subtitle",
470
+ ...e.value.style.chart.title.subtitle
471
+ }
472
+ }
473
+ }, null, 8, ["config"]))
474
+ ])) : x("", !0),
475
+ e.value.userOptions.show && te.value && (v(ye) || v(se)) ? (c(), H(Ct, {
476
+ ref: "details",
477
+ key: `user_option_${pe.value}`,
478
+ backgroundColor: e.value.style.chart.backgroundColor,
479
+ color: e.value.style.chart.color,
480
+ isPrinting: v(Ce),
481
+ isImaging: v(we),
482
+ uid: oe.value,
483
+ hasPdf: e.value.userOptions.buttons.pdf,
484
+ hasXls: e.value.userOptions.buttons.csv,
485
+ hasImg: e.value.userOptions.buttons.img,
486
+ hasTable: e.value.userOptions.buttons.table,
487
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
488
+ isFullscreen: E.value,
489
+ titles: { ...e.value.userOptions.buttonTitles },
490
+ chartElement: le.value,
491
+ position: e.value.userOptions.position,
492
+ hasAnnotator: e.value.userOptions.buttons.annotator,
493
+ isAnnotation: K.value,
494
+ hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
495
+ isTooltip: N.value.showTooltip,
496
+ onToggleTooltip: Pe,
497
+ onToggleFullscreen: Ve,
498
+ onGeneratePdf: v($e),
499
+ onGenerateCsv: Fe,
500
+ onGenerateImage: v(_e),
501
+ onToggleTable: Le,
502
+ onToggleAnnotator: ue,
503
+ style: F({
504
+ visibility: v(ye) ? v(se) ? "visible" : "hidden" : "visible"
505
+ })
506
+ }, at({ _: 2 }, [
507
+ t.$slots.menuIcon ? {
508
+ name: "menuIcon",
509
+ fn: $(({ isOpen: o, color: a }) => [
510
+ k(t.$slots, "menuIcon", D(B({ isOpen: o, color: a })), void 0, !0)
511
+ ]),
512
+ key: "0"
513
+ } : void 0,
514
+ t.$slots.optionTooltip ? {
515
+ name: "optionTooltip",
516
+ fn: $(() => [
517
+ k(t.$slots, "optionTooltip", {}, void 0, !0)
518
+ ]),
519
+ key: "1"
520
+ } : void 0,
521
+ t.$slots.optionPdf ? {
522
+ name: "optionPdf",
523
+ fn: $(() => [
524
+ k(t.$slots, "optionPdf", {}, void 0, !0)
525
+ ]),
526
+ key: "2"
527
+ } : void 0,
528
+ t.$slots.optionCsv ? {
529
+ name: "optionCsv",
530
+ fn: $(() => [
531
+ k(t.$slots, "optionCsv", {}, void 0, !0)
532
+ ]),
533
+ key: "3"
534
+ } : void 0,
535
+ t.$slots.optionImg ? {
536
+ name: "optionImg",
537
+ fn: $(() => [
538
+ k(t.$slots, "optionImg", {}, void 0, !0)
539
+ ]),
540
+ key: "4"
541
+ } : void 0,
542
+ t.$slots.optionTable ? {
543
+ name: "optionTable",
544
+ fn: $(() => [
545
+ k(t.$slots, "optionTable", {}, void 0, !0)
546
+ ]),
547
+ key: "5"
548
+ } : void 0,
549
+ t.$slots.optionFullscreen ? {
550
+ name: "optionFullscreen",
551
+ fn: $(({ toggleFullscreen: o, isFullscreen: a }) => [
552
+ k(t.$slots, "optionFullscreen", D(B({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
553
+ ]),
554
+ key: "6"
555
+ } : void 0,
556
+ t.$slots.optionAnnotator ? {
557
+ name: "optionAnnotator",
558
+ fn: $(({ toggleAnnotator: o, isAnnotator: a }) => [
559
+ k(t.$slots, "optionAnnotator", D(B({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
560
+ ]),
561
+ key: "7"
562
+ } : void 0
563
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
564
+ (c(), y("svg", {
565
+ ref_key: "svgRef",
566
+ ref: be,
567
+ xmlns: v(ht),
568
+ viewBox: `0 0 ${G.value.width} ${G.value.height}`,
569
+ class: He({
570
+ "vue-data-ui-fullscreen--on": E.value,
571
+ "vue-data-ui-fulscreen--off": !E.value
572
+ }),
573
+ style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
574
+ }, [
575
+ de(Tt),
576
+ t.$slots["chart-background"] ? (c(), y("foreignObject", {
577
+ key: 0,
578
+ x: 0,
579
+ y: 0,
580
+ width: G.value.width,
581
+ height: G.value.height,
582
+ style: {
583
+ pointerEvents: "none"
584
+ }
585
+ }, [
586
+ k(t.$slots, "chart-background", {}, void 0, !0)
587
+ ], 8, At)) : x("", !0),
588
+ Y("defs", null, [
589
+ (c(!0), y(U, null, V(C.value.links, (o, a) => (c(), y("linearGradient", {
590
+ id: o.id,
591
+ x1: "0%",
592
+ y1: "0%",
593
+ x2: "100%",
594
+ y2: "0%"
595
+ }, [
596
+ Y("stop", {
597
+ offset: "0%",
598
+ "stop-color": o.sourceColor
599
+ }, null, 8, Ht),
600
+ Y("stop", {
601
+ offset: "100%",
602
+ "stop-color": o.targetColor
603
+ }, null, 8, Yt)
604
+ ], 8, Mt))), 256))
605
+ ]),
606
+ (c(!0), y(U, null, V(C.value.links, (o) => (c(), y("path", {
607
+ class: "vue-ui-flow-link",
608
+ d: o.path,
609
+ fill: `url(#${o.id})`,
610
+ stroke: e.value.style.chart.links.stroke,
611
+ "stroke-width": e.value.style.chart.links.strokeWidth,
612
+ style: F(`
613
+ opacity:${w.value ? w.value.includes(o.source) && w.value.includes(o.target) ? 1 : 0.3 : A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
614
+ `)
615
+ }, null, 12, Dt))), 256)),
616
+ (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("rect", {
617
+ class: "vue-ui-flow-node",
618
+ x: o.x,
619
+ y: v(_)(o.absoluteY) + e.value.style.chart.padding.top,
620
+ height: v(_)(o.height),
621
+ width: z.value,
622
+ fill: o.color,
623
+ stroke: e.value.style.chart.nodes.stroke,
624
+ "stroke-width": e.value.style.chart.nodes.strokeWidth,
625
+ onMouseenter: (s) => Qe(o),
626
+ onMouseleave: l[0] || (l[0] = (s) => Oe()),
627
+ style: F(`opacity:${w.value ? w.value.includes(o.name) ? 1 : 0.3 : 1}`)
628
+ }, null, 44, Bt))), 256)),
629
+ (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("text", {
630
+ x: o.x + z.value / 2,
631
+ y: v(_)(
632
+ o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4
633
+ ) + e.value.style.chart.padding.top,
634
+ "font-size": e.value.style.chart.nodes.labels.fontSize,
635
+ fill: v(Ye)(o.color),
636
+ "text-anchor": "middle",
637
+ style: F(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
638
+ }, W(e.value.style.chart.nodes.labels.abbreviation.use ? v(pt)({
639
+ source: o.name,
640
+ length: e.value.style.chart.nodes.labels.abbreviation.length
641
+ }) : o.name), 13, Gt))), 256)),
642
+ (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("text", {
643
+ x: o.x + z.value / 2,
644
+ y: v(_)(
645
+ o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize
646
+ ) + e.value.style.chart.padding.top,
647
+ "font-size": e.value.style.chart.nodes.labels.fontSize,
648
+ fill: v(Ye)(o.color),
649
+ "text-anchor": "middle",
650
+ style: F(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
651
+ }, W(v(fe)(
652
+ e.value.style.chart.nodes.labels.formatter,
653
+ o.value,
654
+ v(j)({
655
+ p: e.value.style.chart.nodes.labels.prefix,
656
+ v: o.value,
657
+ s: e.value.style.chart.nodes.labels.suffix,
658
+ r: e.value.style.chart.nodes.labels.rounding
659
+ }),
660
+ { datapoint: o, seriesIndex: a }
661
+ )), 13, Rt))), 256)),
662
+ k(t.$slots, "svg", { svg: G.value }, void 0, !0)
663
+ ], 14, zt)),
664
+ t.$slots.watermark ? (c(), y("div", Ut, [
665
+ k(t.$slots, "watermark", D(B({ isPrinting: v(Ce) || v(we) })), void 0, !0)
666
+ ])) : x("", !0),
667
+ te.value ? x("", !0) : (c(), H(_t, {
668
+ key: 5,
669
+ config: {
670
+ type: "flow",
671
+ style: {
672
+ backgroundColor: e.value.style.chart.backgroundColor
673
+ }
674
+ }
675
+ }, null, 8, ["config"])),
676
+ Y("div", {
677
+ ref_key: "chartLegend",
678
+ ref: Ue
679
+ }, [
680
+ e.value.style.chart.legend.show && Ee.value.length ? (c(), H(Ft, {
681
+ key: 0,
682
+ legendSet: Ee.value,
683
+ config: tt.value,
684
+ onClickMarker: l[1] || (l[1] = (o) => ie(o))
685
+ }, {
686
+ item: $(({ legend: o, index: a }) => [
687
+ Y("div", {
688
+ onClick: (s) => o.segregate(),
689
+ style: F(`opacity:${P.value.length ? P.value.includes(a) ? 1 : 0.5 : 1}`)
690
+ }, W(o.name) + " (" + W(o.count) + ") ", 13, Vt)
691
+ ]),
692
+ _: 1
693
+ }, 8, ["legendSet", "config"])) : x("", !0),
694
+ k(t.$slots, "legend", { legend: Ie.value }, void 0, !0)
695
+ ], 512),
696
+ t.$slots.source ? (c(), y("div", Wt, [
697
+ k(t.$slots, "source", {}, void 0, !0)
698
+ ], 512)) : x("", !0),
699
+ de(St, {
700
+ show: N.value.showTooltip && ae.value,
701
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
702
+ color: e.value.style.chart.tooltip.color,
703
+ fontSize: e.value.style.chart.tooltip.fontSize,
704
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
705
+ borderColor: e.value.style.chart.tooltip.borderColor,
706
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
707
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
708
+ position: e.value.style.chart.tooltip.position,
709
+ offsetY: e.value.style.chart.tooltip.offsetY,
710
+ parent: le.value,
711
+ content: ne.value,
712
+ isCustom: J.value,
713
+ isFullscreen: E.value
714
+ }, {
715
+ "tooltip-before": $(() => [
716
+ k(t.$slots, "tooltip-before", D(B({ ...re.value })), void 0, !0)
717
+ ]),
718
+ "tooltip-after": $(() => [
719
+ k(t.$slots, "tooltip-after", D(B({ ...re.value })), void 0, !0)
720
+ ]),
721
+ _: 3
722
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
723
+ te.value ? (c(), H($t, {
724
+ key: 7,
725
+ hideDetails: "",
726
+ config: {
727
+ open: N.value.showTable,
728
+ maxHeight: 1e4,
729
+ body: {
730
+ backgroundColor: e.value.style.chart.backgroundColor,
731
+ color: e.value.style.chart.color
732
+ },
733
+ head: {
734
+ backgroundColor: e.value.style.chart.backgroundColor,
735
+ color: e.value.style.chart.color
736
+ }
737
+ }
738
+ }, {
739
+ content: $(() => [
740
+ de(wt, {
741
+ colNames: Z.value.colNames,
742
+ head: Z.value.head,
743
+ body: Z.value.body,
744
+ config: Z.value.config,
745
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
746
+ onClose: l[2] || (l[2] = (o) => N.value.showTable = !1)
747
+ }, {
748
+ th: $(({ th: o }) => [
749
+ Y("div", {
750
+ innerHTML: o,
751
+ style: { display: "flex", "align-items": "center" }
752
+ }, null, 8, jt)
753
+ ]),
754
+ td: $(({ td: o }) => [
755
+ nt(W(o.name || o), 1)
756
+ ]),
757
+ _: 1
758
+ }, 8, ["colNames", "head", "body", "config", "title"])
759
+ ]),
760
+ _: 1
761
+ }, 8, ["config"])) : x("", !0)
762
+ ], 46, Pt));
763
+ }
764
+ }, co = /* @__PURE__ */ Lt(Xt, [["__scopeId", "data-v-e6473b78"]]);
765
+ export {
766
+ co as default
767
+ };