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
@@ -1,655 +0,0 @@
1
- import { computed as m, onMounted as je, ref as b, watch as Xe, createElementBlock as f, openBlock as c, unref as i, normalizeStyle as S, normalizeClass as Fe, createBlock as G, createCommentVNode as N, createVNode as ne, createSlots as qe, withCtx as k, renderSlot as y, normalizeProps as A, guardReactiveProps as H, createElementVNode as J, Fragment as R, renderList as U, toDisplayString as re, createTextVNode as Je, nextTick as Ze } from "vue";
2
- import { u as Ke, o as Qe, e as et, c as ue, t as tt, p as ie, a as ot, b as lt, v as g, f as V, X as at, G as Pe, J as st, i as ce, q as nt, r as rt, x as ut } from "./index-Co_0CzhC.js";
3
- import { _ as it } from "./Title-BDdzEGgo.js";
4
- import { u as ct, U as dt } from "./usePrinter-BV6TePSm.js";
5
- import { D as vt } from "./DataTable-BhwIv7c6.js";
6
- import ft from "./vue-ui-accordion-DMCnTtx0.js";
7
- import ht from "./vue-ui-skeleton-Dzehgcp3.js";
8
- import { u as Se } from "./useNestedProp-DqI_VUcm.js";
9
- import { _ as pt } from "./PackageVersion-DmKsiZge.js";
10
- import { _ as gt } from "./PenAndPaper-Dgf1a1MW.js";
11
- import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as yt } from "./useChartAccessibility-BWojgys7.js";
13
- import { _ as bt } from "./Tooltip-Cdkz2ese.js";
14
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const wt = ["id"], Ct = {
16
- key: 1,
17
- ref: "noTitle",
18
- class: "vue-data-ui-no-title-space",
19
- style: "height:36px; width: 100%;background:transparent"
20
- }, $t = {
21
- key: 2,
22
- style: "width:100%;background:transparent;padding-bottom:24px"
23
- }, Tt = ["xmlns", "viewBox"], xt = ["width", "height"], _t = ["id"], Ot = ["stop-color"], Nt = ["stop-color"], Ft = ["d", "fill", "stroke", "stroke-width"], Pt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], St = ["x", "y", "font-size", "fill"], It = ["x", "y", "font-size", "fill"], Et = {
24
- key: 4,
25
- class: "vue-data-ui-watermark"
26
- }, At = {
27
- key: 6,
28
- ref: "source",
29
- dir: "auto"
30
- }, Ht = ["innerHTML"], Lt = {
31
- __name: "vue-ui-flow",
32
- props: {
33
- config: {
34
- type: Object,
35
- default() {
36
- return {};
37
- }
38
- },
39
- dataset: {
40
- type: Array,
41
- default() {
42
- return [];
43
- }
44
- }
45
- },
46
- setup(Ie, { expose: Ee }) {
47
- const { vue_ui_flow: Ae } = Ke(), $ = Ie, Z = m(() => !!$.dataset && $.dataset.length);
48
- je(() => {
49
- de();
50
- });
51
- function de() {
52
- Qe($.dataset) && et({
53
- componentName: "VueUiFlow",
54
- type: "dataset"
55
- });
56
- }
57
- const K = b(ue()), Q = b(null), ve = b(0), fe = b(0), ee = b(!1), te = b(""), I = b(!1);
58
- function He(t) {
59
- I.value = t, ve.value += 1;
60
- }
61
- const e = m({
62
- get: () => me(),
63
- set: (t) => t
64
- }), { userOptionsVisible: oe, setUserOptionsVisibility: he, keepUserOptionState: pe } = mt({ config: e.value }), { svgRef: ge } = yt({ config: e.value.style.chart.title });
65
- function me() {
66
- const t = Se({
67
- userConfig: $.config,
68
- defaultConfig: Ae
69
- });
70
- return t.theme ? {
71
- ...Se({
72
- userConfig: ot.vue_ui_flow[t.theme] || $.config,
73
- defaultConfig: t
74
- }),
75
- customPalette: tt[t.theme] || ie
76
- } : t;
77
- }
78
- Xe(() => $.config, (t) => {
79
- e.value = me(), oe.value = !e.value.userOptions.showOnChartHover, de(), fe.value += 1, x.value.showTable = e.value.table.show;
80
- }, { deep: !0 });
81
- const { isPrinting: ye, isImaging: be, generatePdf: ke, generateImage: we } = ct({
82
- elementId: `flow_${K.value}`,
83
- fileName: e.value.style.chart.title.text || "vue-ui-flow",
84
- options: e.value.userOptions.print
85
- }), Le = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), le = m(() => lt(e.value.customPalette)), Ce = m(() => e.value.style.chart.nodes.gap), E = m(() => e.value.style.chart.nodes.width), x = b({
86
- showTable: e.value.table.show,
87
- showTooltip: e.value.style.chart.tooltip.show
88
- }), $e = m(() => e.value.style.chart.links.width), B = m(() => !$.dataset || !$.dataset.length ? [] : $.dataset.map((t) => [
89
- t[0],
90
- t[1],
91
- g(t[2])
92
- ])), Te = m(() => {
93
- const t = {};
94
- function l(a) {
95
- t[a] || (t[a] = { inflow: 0, outflow: 0 });
96
- }
97
- B.value.forEach(([a, s, v]) => {
98
- l(a), l(s), t[a].outflow += v, t[s].inflow += v;
99
- });
100
- let o = 0;
101
- for (const a in t) {
102
- const s = Math.max(t[a].inflow, t[a].outflow);
103
- o = Math.max(o, s);
104
- }
105
- return o;
106
- });
107
- function Me(t) {
108
- return t / Te.value * 100 + e.value.style.chart.nodes.minHeight;
109
- }
110
- function ze(t) {
111
- const l = e.value.style.chart.nodes.minHeight;
112
- return (t - l) / 100 * Te.value;
113
- }
114
- function Ye(t) {
115
- const l = {}, o = {};
116
- function a(n, u) {
117
- l[n] || (l[n] = { height: 0, level: null, inflow: 0, outflow: 0, uid: ue() }), l[n].level === null && (l[n].level = u), o[u] || (o[u] = []), o[u].includes(n) || o[u].push(n);
118
- }
119
- t.forEach(([n, u, h], P) => {
120
- const T = l[n] ? l[n].level : 0, _ = T + 1;
121
- a(n, T), a(u, _), l[n].children || (l[n].children = []), l[n].children.push({ target: u, value: h }), l[n].outflow += h, l[u].inflow += h;
122
- }), Object.keys(l).forEach((n, u) => {
123
- l[n].color = le.value[u] || le.value[u % le.value.length] || ie[u] || ie[u % d.length];
124
- });
125
- for (const n in l)
126
- l[n].height = Me(Math.max(l[n].inflow, l[n].outflow)), l[n].name = n;
127
- const s = {};
128
- for (const n in o) {
129
- let u = 0;
130
- o[n].forEach((h, P) => {
131
- const T = l[h].height;
132
- s[h] = {
133
- x: parseInt(n, 10) * $e.value + e.value.style.chart.padding.left,
134
- y: u,
135
- absoluteY: u,
136
- height: T,
137
- i: P,
138
- color: l[h].color,
139
- value: ze(T)
140
- }, u += T + Ce.value;
141
- });
142
- }
143
- const v = [];
144
- for (const n in l) {
145
- let u = s[n].absoluteY + e.value.style.chart.padding.top;
146
- l[n].children && l[n].children.forEach(({ target: h, value: P }, T) => {
147
- const _ = s[h].y + e.value.style.chart.padding.top, M = s[n], z = s[h], w = g(u), O = g(u + P / l[n].outflow * M.height), Y = g(_), r = g(_ + P / l[h].inflow * z.height), p = {
148
- id: ue(),
149
- source: n,
150
- target: h,
151
- path: `M ${g(M.x) + g(E.value)} ${w} L ${g(M.x) + g(E.value)} ${O} L ${g(z.x)} ${r} L ${g(z.x)} ${Y} Z`,
152
- value: P,
153
- sourceColor: l[n].color,
154
- targetColor: l[h].color
155
- };
156
- v.push(p), u += O - w, s[h].y += r - Y;
157
- });
158
- }
159
- return { nodeCoordinates: s, links: v };
160
- }
161
- const C = m(() => {
162
- const t = Ye($.dataset);
163
- return {
164
- nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
165
- ...t.nodeCoordinates[l],
166
- name: l
167
- })),
168
- links: t.links
169
- };
170
- }), De = m(() => Ge(C.value.nodes));
171
- function Ge(t) {
172
- const l = {};
173
- for (const a in t) {
174
- const { x: s, height: v } = t[a];
175
- l[s] || (l[s] = 0), l[s] += v + Ce.value;
176
- }
177
- return Math.max(...Object.values(l));
178
- }
179
- const L = m(() => {
180
- const { top: t, right: l, left: o, bottom: a } = e.value.style.chart.padding, s = B.value.length * $e.value;
181
- return {
182
- height: De.value + t + a,
183
- width: l + Math.max(...C.value.nodes.map((v) => v.x)) + E.value,
184
- left: o,
185
- top: t,
186
- right: s - l,
187
- p_top: t,
188
- p_bottom: a
189
- };
190
- });
191
- function Re(t) {
192
- const l = {}, o = {}, a = /* @__PURE__ */ new Set();
193
- return B.value.forEach(([s, v, n]) => {
194
- l[s] || (l[s] = []), o[v] || (o[v] = []), l[s].push(v), o[v].push(s);
195
- }), l[t] && l[t].forEach((s) => a.add(s)), o[t] && o[t].forEach((s) => a.add(s)), Array.from(a).concat(t);
196
- }
197
- const F = b(null), W = b(null), ae = b(null), j = b(!1);
198
- function Ue(t) {
199
- F.value = Re(t.name), W.value = t.name;
200
- const l = t.name, o = B.value;
201
- let a = 0, s = 0, v = [], n = [];
202
- const u = new Set(o.map(([r]) => r)), h = new Set(o.map(([, r]) => r)), P = Array.from(u).filter((r) => !h.has(r)), T = o.filter(([r]) => P.includes(r)).reduce((r, [p, D, We]) => r + We, 0), _ = {};
203
- C.value.nodes.forEach((r) => {
204
- _[r.name] = r.color;
205
- }), o.forEach(([r, p, D]) => {
206
- p === l && (a += D, v.push({ source: r, value: D, color: _[r] })), r === l && (s += D, n.push({ target: p, value: D, color: _[p] }));
207
- });
208
- const M = Math.max(a, s), z = T > 0 ? M / T * 100 : 0, w = {
209
- name: l,
210
- inflow: a,
211
- outflow: s,
212
- from: v,
213
- to: n,
214
- percentOfTotal: z,
215
- color: _[l] || "#000000"
216
- };
217
- ae.value = { datapoint: w }, ee.value = !0;
218
- let O = "";
219
- const Y = e.value.style.chart.tooltip.customFormat;
220
- if (j.value = !1, ut(Y))
221
- try {
222
- const r = Y({
223
- datapoint: w,
224
- series: C.value,
225
- config: e.value
226
- });
227
- typeof r == "string" && (te.value = r, j.value = !0);
228
- } catch {
229
- console.warn("Custom format cannot be applied.");
230
- }
231
- if (!j.value) {
232
- const r = e.value.style.chart.tooltip.showPercentage ? `<div>${V({
233
- p: e.value.style.chart.tooltip.translations.percentOfTotal,
234
- v: w.percentOfTotal,
235
- s: "%",
236
- r: e.value.style.chart.tooltip.roundingPercentage
237
- })}</div>` : "";
238
- O += `<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:${w.color}">⏹</span>${w.name}${r}</div>`, w.from.length && (O += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, w.from.forEach((p) => {
239
- O += `<div><span style="color:${p.color}">⏹←</span> ${p.source}: ${ce(
240
- e.value.style.chart.nodes.labels.formatter,
241
- p.value,
242
- V({
243
- p: e.value.style.chart.nodes.labels.prefix,
244
- v: p.value,
245
- s: e.value.style.chart.nodes.labels.suffix,
246
- r: e.value.style.chart.nodes.labels.rounding
247
- })
248
- )}</div>`;
249
- })), w.to.length && (O += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, w.to.forEach((p) => {
250
- O += `<div><span style="color:${p.color}">⏹→</span> ${p.target}: ${ce(
251
- e.value.style.chart.nodes.labels.formatter,
252
- p.value,
253
- V({
254
- p: e.value.style.chart.nodes.labels.prefix,
255
- v: p.value,
256
- s: e.value.style.chart.nodes.labels.suffix,
257
- r: e.value.style.chart.nodes.labels.rounding
258
- })
259
- )}</div>`;
260
- })), te.value = O;
261
- }
262
- }
263
- function Ve() {
264
- F.value = null, W.value = null, ee.value = !1;
265
- }
266
- const xe = m(() => C.value.links.map(({ source: t, target: l, sourceColor: o, targetColor: a, value: s }) => ({
267
- source: t,
268
- target: l,
269
- sourceColor: o,
270
- targetColor: a,
271
- value: s
272
- })));
273
- function _e() {
274
- Ze(() => {
275
- const t = xe.value.map((a, s) => [
276
- [a.source],
277
- [a.target],
278
- [a.value]
279
- ]), l = [
280
- [e.value.style.chart.title.text],
281
- [e.value.style.chart.title.subtitle.text],
282
- [
283
- [e.value.table.columnNames.source],
284
- [e.value.table.columnNames.target],
285
- [e.value.table.columnNames.value]
286
- ]
287
- ].concat(t), o = nt(l);
288
- rt({
289
- csvContent: o,
290
- title: e.value.style.chart.title.text || "vue-ui-flow"
291
- });
292
- });
293
- }
294
- const X = m(() => {
295
- const t = [
296
- e.value.table.columnNames.source,
297
- e.value.table.columnNames.target,
298
- e.value.table.columnNames.value
299
- ], l = xe.value.map((s, v) => [
300
- {
301
- color: s.sourceColor,
302
- name: s.source
303
- },
304
- {
305
- color: s.targetColor,
306
- name: s.target
307
- },
308
- V({
309
- p: e.value.style.chart.nodes.labels.prefix,
310
- v: s.value,
311
- s: e.value.style.chart.nodes.labels.suffix,
312
- r: e.value.style.chart.nodes.labels.rounding
313
- })
314
- ]), o = {
315
- th: {
316
- backgroundColor: e.value.table.th.backgroundColor,
317
- color: e.value.table.th.color,
318
- outline: e.value.table.th.outline
319
- },
320
- td: {
321
- backgroundColor: e.value.table.td.backgroundColor,
322
- color: e.value.table.td.color,
323
- outline: e.value.table.td.outline
324
- },
325
- breakpoint: e.value.table.responsiveBreakpoint
326
- };
327
- return {
328
- colNames: [
329
- e.value.table.columnNames.source,
330
- e.value.table.columnNames.target,
331
- e.value.table.columnNames.value
332
- ],
333
- head: t,
334
- body: l,
335
- config: o
336
- };
337
- });
338
- function Be() {
339
- return C.value;
340
- }
341
- function Oe() {
342
- x.value.showTable = !x.value.showTable;
343
- }
344
- const q = b(!1);
345
- function se() {
346
- q.value = !q.value;
347
- }
348
- function Ne() {
349
- x.value.showTooltip = !x.value.showTooltip;
350
- }
351
- return Ee({
352
- getData: Be,
353
- generateCsv: _e,
354
- generateImage: we,
355
- generatePdf: ke,
356
- toggleTable: Oe,
357
- toggleAnnotator: se,
358
- toggleTooltip: Ne
359
- }), (t, l) => (c(), f("div", {
360
- ref_key: "flowChart",
361
- ref: Q,
362
- class: Fe(`vue-ui-flow ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
363
- style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
364
- id: `flow_${K.value}`,
365
- onMouseenter: l[2] || (l[2] = () => i(he)(!0)),
366
- onMouseleave: l[3] || (l[3] = () => i(he)(!1))
367
- }, [
368
- e.value.userOptions.buttons.annotator ? (c(), G(gt, {
369
- key: 0,
370
- svgRef: i(ge),
371
- backgroundColor: e.value.style.chart.backgroundColor,
372
- color: e.value.style.chart.color,
373
- active: q.value,
374
- onClose: se
375
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : N("", !0),
376
- Le.value ? (c(), f("div", Ct, null, 512)) : N("", !0),
377
- e.value.style.chart.title.text ? (c(), f("div", $t, [
378
- (c(), G(it, {
379
- key: `title_${fe.value}`,
380
- config: {
381
- title: {
382
- cy: "flow-title",
383
- ...e.value.style.chart.title
384
- },
385
- subtitle: {
386
- cy: "flow-subtitle",
387
- ...e.value.style.chart.title.subtitle
388
- }
389
- }
390
- }, null, 8, ["config"]))
391
- ])) : N("", !0),
392
- e.value.userOptions.show && Z.value && (i(pe) || i(oe)) ? (c(), G(dt, {
393
- ref: "details",
394
- key: `user_option_${ve.value}`,
395
- backgroundColor: e.value.style.chart.backgroundColor,
396
- color: e.value.style.chart.color,
397
- isPrinting: i(ye),
398
- isImaging: i(be),
399
- uid: K.value,
400
- hasPdf: e.value.userOptions.buttons.pdf,
401
- hasXls: e.value.userOptions.buttons.csv,
402
- hasImg: e.value.userOptions.buttons.img,
403
- hasTable: e.value.userOptions.buttons.table,
404
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
405
- isFullscreen: I.value,
406
- titles: { ...e.value.userOptions.buttonTitles },
407
- chartElement: Q.value,
408
- position: e.value.userOptions.position,
409
- hasAnnotator: e.value.userOptions.buttons.annotator,
410
- isAnnotation: q.value,
411
- hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
412
- isTooltip: x.value.showTooltip,
413
- onToggleTooltip: Ne,
414
- onToggleFullscreen: He,
415
- onGeneratePdf: i(ke),
416
- onGenerateCsv: _e,
417
- onGenerateImage: i(we),
418
- onToggleTable: Oe,
419
- onToggleAnnotator: se,
420
- style: S({
421
- visibility: i(pe) ? i(oe) ? "visible" : "hidden" : "visible"
422
- })
423
- }, qe({ _: 2 }, [
424
- t.$slots.menuIcon ? {
425
- name: "menuIcon",
426
- fn: k(({ isOpen: o, color: a }) => [
427
- y(t.$slots, "menuIcon", A(H({ isOpen: o, color: a })), void 0, !0)
428
- ]),
429
- key: "0"
430
- } : void 0,
431
- t.$slots.optionTooltip ? {
432
- name: "optionTooltip",
433
- fn: k(() => [
434
- y(t.$slots, "optionTooltip", {}, void 0, !0)
435
- ]),
436
- key: "1"
437
- } : void 0,
438
- t.$slots.optionPdf ? {
439
- name: "optionPdf",
440
- fn: k(() => [
441
- y(t.$slots, "optionPdf", {}, void 0, !0)
442
- ]),
443
- key: "2"
444
- } : void 0,
445
- t.$slots.optionCsv ? {
446
- name: "optionCsv",
447
- fn: k(() => [
448
- y(t.$slots, "optionCsv", {}, void 0, !0)
449
- ]),
450
- key: "3"
451
- } : void 0,
452
- t.$slots.optionImg ? {
453
- name: "optionImg",
454
- fn: k(() => [
455
- y(t.$slots, "optionImg", {}, void 0, !0)
456
- ]),
457
- key: "4"
458
- } : void 0,
459
- t.$slots.optionTable ? {
460
- name: "optionTable",
461
- fn: k(() => [
462
- y(t.$slots, "optionTable", {}, void 0, !0)
463
- ]),
464
- key: "5"
465
- } : void 0,
466
- t.$slots.optionFullscreen ? {
467
- name: "optionFullscreen",
468
- fn: k(({ toggleFullscreen: o, isFullscreen: a }) => [
469
- y(t.$slots, "optionFullscreen", A(H({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
470
- ]),
471
- key: "6"
472
- } : void 0,
473
- t.$slots.optionAnnotator ? {
474
- name: "optionAnnotator",
475
- fn: k(({ toggleAnnotator: o, isAnnotator: a }) => [
476
- y(t.$slots, "optionAnnotator", A(H({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
477
- ]),
478
- key: "7"
479
- } : void 0
480
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : N("", !0),
481
- (c(), f("svg", {
482
- ref_key: "svgRef",
483
- ref: ge,
484
- xmlns: i(at),
485
- viewBox: `0 0 ${L.value.width} ${L.value.height}`,
486
- class: Fe({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
487
- style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
488
- }, [
489
- ne(pt),
490
- t.$slots["chart-background"] ? (c(), f("foreignObject", {
491
- key: 0,
492
- x: 0,
493
- y: 0,
494
- width: L.value.width,
495
- height: L.value.height,
496
- style: {
497
- pointerEvents: "none"
498
- }
499
- }, [
500
- y(t.$slots, "chart-background", {}, void 0, !0)
501
- ], 8, xt)) : N("", !0),
502
- J("defs", null, [
503
- (c(!0), f(R, null, U(C.value.links, (o, a) => (c(), f("linearGradient", {
504
- id: o.id,
505
- x1: "0%",
506
- y1: "0%",
507
- x2: "100%",
508
- y2: "0%"
509
- }, [
510
- J("stop", {
511
- offset: "0%",
512
- "stop-color": o.sourceColor
513
- }, null, 8, Ot),
514
- J("stop", {
515
- offset: "100%",
516
- "stop-color": o.targetColor
517
- }, null, 8, Nt)
518
- ], 8, _t))), 256))
519
- ]),
520
- (c(!0), f(R, null, U(C.value.links, (o) => (c(), f("path", {
521
- class: "vue-ui-flow-link",
522
- d: o.path,
523
- fill: `url(#${o.id})`,
524
- stroke: e.value.style.chart.links.stroke,
525
- "stroke-width": e.value.style.chart.links.strokeWidth,
526
- style: S(`opacity:${W.value ? [o.target, o.source].includes(W.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
527
- }, null, 12, Ft))), 256)),
528
- (c(!0), f(R, null, U(C.value.nodes, (o, a) => (c(), f("rect", {
529
- class: "vue-ui-flow-node",
530
- x: o.x,
531
- y: i(g)(o.absoluteY) + e.value.style.chart.padding.top,
532
- height: i(g)(o.height),
533
- width: E.value,
534
- fill: o.color,
535
- stroke: e.value.style.chart.nodes.stroke,
536
- "stroke-width": e.value.style.chart.nodes.strokeWidth,
537
- onMouseenter: (s) => Ue(o),
538
- onMouseleave: l[0] || (l[0] = (s) => Ve()),
539
- style: S(`opacity:${F.value ? F.value.includes(o.name) ? 1 : 0.2 : 1}`)
540
- }, null, 44, Pt))), 256)),
541
- (c(!0), f(R, null, U(C.value.nodes, (o, a) => (c(), f("text", {
542
- x: o.x + E.value / 2,
543
- y: i(g)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4) + e.value.style.chart.padding.top,
544
- "font-size": e.value.style.chart.nodes.labels.fontSize,
545
- fill: i(Pe)(o.color),
546
- "text-anchor": "middle",
547
- style: S(`pointer-events: none; opacity:${F.value ? F.value.includes(o.name) ? 1 : 0 : 1}`)
548
- }, re(e.value.style.chart.nodes.labels.abbreviation.use ? i(st)({
549
- source: o.name,
550
- length: e.value.style.chart.nodes.labels.abbreviation.length
551
- }) : o.name), 13, St))), 256)),
552
- (c(!0), f(R, null, U(C.value.nodes, (o, a) => (c(), f("text", {
553
- x: o.x + E.value / 2,
554
- y: i(g)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize) + e.value.style.chart.padding.top,
555
- "font-size": e.value.style.chart.nodes.labels.fontSize,
556
- fill: i(Pe)(o.color),
557
- "text-anchor": "middle",
558
- style: S(`pointer-events: none; opacity:${F.value ? F.value.includes(o.name) ? 1 : 0 : 1}`)
559
- }, re(i(ce)(
560
- e.value.style.chart.nodes.labels.formatter,
561
- o.value,
562
- i(V)({
563
- p: e.value.style.chart.nodes.labels.prefix,
564
- v: o.value,
565
- s: e.value.style.chart.nodes.labels.suffix,
566
- r: e.value.style.chart.nodes.labels.rounding
567
- }),
568
- { datapoint: o, seriesIndex: a }
569
- )), 13, It))), 256)),
570
- y(t.$slots, "svg", { svg: L.value }, void 0, !0)
571
- ], 14, Tt)),
572
- t.$slots.watermark ? (c(), f("div", Et, [
573
- y(t.$slots, "watermark", A(H({ isPrinting: i(ye) || i(be) })), void 0, !0)
574
- ])) : N("", !0),
575
- Z.value ? N("", !0) : (c(), G(ht, {
576
- key: 5,
577
- config: {
578
- type: "flow",
579
- style: {
580
- backgroundColor: e.value.style.chart.backgroundColor
581
- }
582
- }
583
- }, null, 8, ["config"])),
584
- t.$slots.source ? (c(), f("div", At, [
585
- y(t.$slots, "source", {}, void 0, !0)
586
- ], 512)) : N("", !0),
587
- ne(bt, {
588
- show: x.value.showTooltip && ee.value,
589
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
590
- color: e.value.style.chart.tooltip.color,
591
- fontSize: e.value.style.chart.tooltip.fontSize,
592
- borderRadius: e.value.style.chart.tooltip.borderRadius,
593
- borderColor: e.value.style.chart.tooltip.borderColor,
594
- borderWidth: e.value.style.chart.tooltip.borderWidth,
595
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
596
- position: e.value.style.chart.tooltip.position,
597
- offsetY: e.value.style.chart.tooltip.offsetY,
598
- parent: Q.value,
599
- content: te.value,
600
- isCustom: j.value,
601
- isFullscreen: I.value
602
- }, {
603
- "tooltip-before": k(() => [
604
- y(t.$slots, "tooltip-before", A(H({ ...ae.value })), void 0, !0)
605
- ]),
606
- "tooltip-after": k(() => [
607
- y(t.$slots, "tooltip-after", A(H({ ...ae.value })), void 0, !0)
608
- ]),
609
- _: 3
610
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
611
- Z.value ? (c(), G(ft, {
612
- key: 7,
613
- hideDetails: "",
614
- config: {
615
- open: x.value.showTable,
616
- maxHeight: 1e4,
617
- body: {
618
- backgroundColor: e.value.style.chart.backgroundColor,
619
- color: e.value.style.chart.color
620
- },
621
- head: {
622
- backgroundColor: e.value.style.chart.backgroundColor,
623
- color: e.value.style.chart.color
624
- }
625
- }
626
- }, {
627
- content: k(() => [
628
- ne(vt, {
629
- colNames: X.value.colNames,
630
- head: X.value.head,
631
- body: X.value.body,
632
- config: X.value.config,
633
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
634
- onClose: l[1] || (l[1] = (o) => x.value.showTable = !1)
635
- }, {
636
- th: k(({ th: o }) => [
637
- J("div", {
638
- innerHTML: o,
639
- style: { display: "flex", "align-items": "center" }
640
- }, null, 8, Ht)
641
- ]),
642
- td: k(({ td: o }) => [
643
- Je(re(o.name || o), 1)
644
- ]),
645
- _: 1
646
- }, 8, ["colNames", "head", "body", "config", "title"])
647
- ]),
648
- _: 1
649
- }, 8, ["config"])) : N("", !0)
650
- ], 46, wt));
651
- }
652
- }, Zt = /* @__PURE__ */ kt(Lt, [["__scopeId", "data-v-17e83e4a"]]);
653
- export {
654
- Zt as default
655
- };