vue-data-ui 2.10.7 → 2.10.9

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-CZUwKF2D.js → Arrow-DCEAiiSq.js} +1 -1
  3. package/dist/{Arrow-CB6EKr1I.cjs → Arrow-kcA0IBBo.cjs} +1 -1
  4. package/dist/{BaseIcon-BkA9Q34x.cjs → BaseIcon-CmdFxgkp.cjs} +1 -1
  5. package/dist/{BaseIcon-Bzv6qbPZ.js → BaseIcon-DPO_4Adb.js} +1 -1
  6. package/dist/{ColorPicker-C_UcScy-.js → ColorPicker-D0FMoBTo.js} +3 -3
  7. package/dist/{ColorPicker-CSWIZQFG.cjs → ColorPicker-DJn8_rVA.cjs} +1 -1
  8. package/dist/{DataTable-BhwIv7c6.js → DataTable-BaAjwD5U.js} +2 -2
  9. package/dist/{DataTable-BmSWykCq.cjs → DataTable-OM4js4qI.cjs} +1 -1
  10. package/dist/{Legend-CubpFiQC.js → Legend-DqxOfhbM.js} +2 -2
  11. package/dist/{Legend-CMib9jhR.cjs → Legend-qwuGpvF8.cjs} +1 -1
  12. package/dist/{PackageVersion-9kqlnk5q.cjs → PackageVersion-Di-ZyR0_.cjs} +1 -1
  13. package/dist/{PackageVersion-DmKsiZge.js → PackageVersion-gI4tUgWr.js} +1 -1
  14. package/dist/{PenAndPaper-CfWPwfS1.cjs → PenAndPaper-CtYhqkG5.cjs} +1 -1
  15. package/dist/{PenAndPaper-Dgf1a1MW.js → PenAndPaper-Di3hcmp3.js} +3 -3
  16. package/dist/{Shape-DVn1gKjR.cjs → Shape-CHiMFkEQ.cjs} +1 -1
  17. package/dist/{Shape-BUW7OeOM.js → Shape-DJcgH2ks.js} +1 -1
  18. package/dist/{Slicer-ud5drJRz.cjs → Slicer-BrBOWXeJ.cjs} +1 -1
  19. package/dist/{Slicer-jB5tCct6.js → Slicer-DWZhB9e4.js} +2 -2
  20. package/dist/{Title-BDdzEGgo.js → Title-B55VMGbm.js} +1 -1
  21. package/dist/{Title-EjA2nkhd.cjs → Title-BiyGREAz.cjs} +1 -1
  22. package/dist/{Tooltip-Dr2CQpGZ.cjs → Tooltip-C-Kq18lz.cjs} +1 -1
  23. package/dist/{Tooltip-Cdkz2ese.js → Tooltip-CMiCE06y.js} +1 -1
  24. package/dist/documentation/installation.md +1 -1
  25. package/dist/{dom-to-png-0ag5uZSL.js → dom-to-png-C6TvW1Fi.js} +1 -1
  26. package/dist/{dom-to-png-DfWDULgW.cjs → dom-to-png-vuA7iQ84.cjs} +1 -1
  27. package/dist/{img-BFXiOvkr.cjs → img-DHHWE-ji.cjs} +1 -1
  28. package/dist/{img-DB4eqtiV.js → img-z4AasNO4.js} +1 -1
  29. package/dist/index-DlALYfRS.cjs +9 -0
  30. package/dist/{index-Co_0CzhC.js → index-bVqxfptX.js} +9 -2
  31. package/dist/{pdf-DUrwlnsH.js → pdf-Ch5KSecz.js} +1 -1
  32. package/dist/{pdf-D_ScD9oB.cjs → pdf-D2qvws06.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-DjOgO33z.cjs → useNestedProp-BZX7zlGv.cjs} +1 -1
  37. package/dist/{useNestedProp-DqI_VUcm.js → useNestedProp-DU-vsdTb.js} +1 -1
  38. package/dist/{usePrinter-BV6TePSm.js → usePrinter-BbeIGqpA.js} +3 -3
  39. package/dist/{usePrinter-CynLTaVl.cjs → usePrinter-n1HzfoSm.cjs} +1 -1
  40. package/dist/{vue-data-ui-D0yLIHBU.js → vue-data-ui-BI_bQ5jM.js} +62 -62
  41. package/dist/{vue-data-ui-BTfYQKf1.cjs → vue-data-ui-DRqEhGYC.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-BBKU0pAV.cjs} +1 -1
  45. package/dist/{vue-ui-3d-bar-c10gAuCo.js → vue-ui-3d-bar-MSs9iIHL.js} +9 -9
  46. package/dist/{vue-ui-accordion-BrbibtJK.cjs → vue-ui-accordion-CByAeInD.cjs} +1 -1
  47. package/dist/{vue-ui-accordion-DMCnTtx0.js → vue-ui-accordion-DQKCLM2T.js} +3 -3
  48. package/dist/{vue-ui-age-pyramid-VrC5Ul6m.cjs → vue-ui-age-pyramid-D05rUuJG.cjs} +1 -1
  49. package/dist/{vue-ui-age-pyramid-qvsOA8yi.js → vue-ui-age-pyramid-pX29qF4-.js} +10 -10
  50. package/dist/{vue-ui-annotator-Difg_FB4.js → vue-ui-annotator-BuG8aus2.js} +2 -2
  51. package/dist/{vue-ui-annotator-DYHa8k6K.cjs → vue-ui-annotator-CvcBBO7e.cjs} +1 -1
  52. package/dist/{vue-ui-bullet-D9jQThZ5.js → vue-ui-bullet-B9Xg6ifm.js} +8 -8
  53. package/dist/{vue-ui-bullet-Ck8VFaeu.cjs → vue-ui-bullet-BdvVX5da.cjs} +1 -1
  54. package/dist/{vue-ui-candlestick-CkGKxPxw.js → vue-ui-candlestick-B_iC_QzE.js} +11 -11
  55. package/dist/{vue-ui-candlestick-Dsd_ba5D.cjs → vue-ui-candlestick-DPEZe5JP.cjs} +1 -1
  56. package/dist/{vue-ui-carousel-table-CR-iVMMe.js → vue-ui-carousel-table-DGEoBYe-.js} +4 -4
  57. package/dist/{vue-ui-carousel-table-46CpWaYv.cjs → vue-ui-carousel-table-DOB6NiBx.cjs} +1 -1
  58. package/dist/{vue-ui-chestnut-C9hkjAMP.js → vue-ui-chestnut-CiWVelvx.js} +8 -8
  59. package/dist/{vue-ui-chestnut-DpZW075x.cjs → vue-ui-chestnut-DxF_6jB2.cjs} +1 -1
  60. package/dist/{vue-ui-circle-pack-DCiIAJrq.js → vue-ui-circle-pack-CJN2ybvx.js} +9 -9
  61. package/dist/{vue-ui-circle-pack-5_vQ6vaC.cjs → vue-ui-circle-pack-XEEX0oEn.cjs} +1 -1
  62. package/dist/{vue-ui-cursor-DkNjb-zj.cjs → vue-ui-cursor-7loRJMGF.cjs} +1 -1
  63. package/dist/{vue-ui-cursor-Cts6qtAH.js → vue-ui-cursor-CqAjc9W_.js} +2 -2
  64. package/dist/{vue-ui-dashboard-DHHIcBg0.cjs → vue-ui-dashboard-CQn61jnh.cjs} +1 -1
  65. package/dist/{vue-ui-dashboard-Db-_ElsA.js → vue-ui-dashboard-CdpzgIs_.js} +62 -62
  66. package/dist/{vue-ui-digits--pkv7eKf.js → vue-ui-digits-7ACjmgPM.js} +2 -2
  67. package/dist/{vue-ui-digits-BV--b8cv.cjs → vue-ui-digits-CuxGcV9M.cjs} +1 -1
  68. package/dist/{vue-ui-donut-D1OlfgtH.cjs → vue-ui-donut-BtvQmKji.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-2mbVNu_w.js → vue-ui-donut-evolution-BpEJNoJM.js} +11 -11
  70. package/dist/{vue-ui-donut-evolution-BetPU8WD.cjs → vue-ui-donut-evolution-fOc16UtY.cjs} +1 -1
  71. package/dist/{vue-ui-donut-BxbbhGmV.js → vue-ui-donut-m7KcUt0k.js} +12 -12
  72. package/dist/{vue-ui-dumbbell-B4tWeLVq.cjs → vue-ui-dumbbell-BTvPq02T.cjs} +1 -1
  73. package/dist/{vue-ui-dumbbell-Brfkbz4H.js → vue-ui-dumbbell-Sy7rxejU.js} +10 -10
  74. package/dist/vue-ui-flow-BccWxEzt.cjs +3 -0
  75. package/dist/vue-ui-flow-CbszU2ms.js +755 -0
  76. package/dist/{vue-ui-funnel-Bga3R3li.js → vue-ui-funnel-D3b6l6X6.js} +9 -9
  77. package/dist/{vue-ui-funnel-DJIRpxX0.cjs → vue-ui-funnel-D87BZsNK.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DjpT9A4L.cjs → vue-ui-galaxy-CDGqzTCy.cjs} +1 -1
  79. package/dist/{vue-ui-galaxy-CtUY6byr.js → vue-ui-galaxy-CUuzThWx.js} +11 -11
  80. package/dist/{vue-ui-gauge-Bob29zui.js → vue-ui-gauge-24FEcSzr.js} +7 -7
  81. package/dist/{vue-ui-gauge-ByLQRCM5.cjs → vue-ui-gauge-B6RkYKug.cjs} +1 -1
  82. package/dist/{vue-ui-gizmo-DBCKjWN0.cjs → vue-ui-gizmo-BAsoCXMw.cjs} +1 -1
  83. package/dist/{vue-ui-gizmo-Dj1TLLb1.js → vue-ui-gizmo-DeYTfhQU.js} +3 -3
  84. package/dist/{vue-ui-heatmap-BYH3bosu.js → vue-ui-heatmap-DpmJyXn-.js} +10 -10
  85. package/dist/{vue-ui-heatmap-CAUnlp-o.cjs → vue-ui-heatmap-QCkbTog8.cjs} +1 -1
  86. package/dist/{vue-ui-history-plot-CbTOgmxa.cjs → vue-ui-history-plot-BAW3WchG.cjs} +1 -1
  87. package/dist/{vue-ui-history-plot-C1kOJElL.js → vue-ui-history-plot-CBeiEcTE.js} +11 -11
  88. package/dist/{vue-ui-kpi-BUoc8QIz.js → vue-ui-kpi-3gKMDrTH.js} +3 -3
  89. package/dist/{vue-ui-kpi-DTWa9I78.cjs → vue-ui-kpi-Pki59wPC.cjs} +1 -1
  90. package/dist/{vue-ui-mini-loader-C1awnIuZ.cjs → vue-ui-mini-loader-BdSgh6y-.cjs} +1 -1
  91. package/dist/{vue-ui-mini-loader-CSmFWNXS.js → vue-ui-mini-loader-Bo-F8i3n.js} +2 -2
  92. package/dist/{vue-ui-molecule-CgSPoJxN.cjs → vue-ui-molecule-Bbs_Vy-A.cjs} +1 -1
  93. package/dist/{vue-ui-molecule-D9kSZQHB.js → vue-ui-molecule-DkVkHwM_.js} +11 -11
  94. package/dist/{vue-ui-mood-radar-qd5CCM58.js → vue-ui-mood-radar-7qs15-ye.js} +11 -11
  95. package/dist/{vue-ui-mood-radar-DpQ8EBTg.cjs → vue-ui-mood-radar-DcyKE-45.cjs} +1 -1
  96. package/dist/{vue-ui-nested-donuts-OqJPZW8l.js → vue-ui-nested-donuts-BYwluLLM.js} +11 -11
  97. package/dist/{vue-ui-nested-donuts-BP9gsX6T.cjs → vue-ui-nested-donuts-iifvTxeT.cjs} +1 -1
  98. package/dist/{vue-ui-onion-rNOeD9u1.js → vue-ui-onion-B7Asvx4M.js} +11 -11
  99. package/dist/{vue-ui-onion-DYIgsIYr.cjs → vue-ui-onion-DsS8vdCr.cjs} +1 -1
  100. package/dist/{vue-ui-parallel-coordinate-plot-CDwhmDGl.cjs → vue-ui-parallel-coordinate-plot-CWyjLwOL.cjs} +1 -1
  101. package/dist/{vue-ui-parallel-coordinate-plot-DQd14cew.js → vue-ui-parallel-coordinate-plot-CayH9RQe.js} +12 -12
  102. package/dist/{vue-ui-quadrant-RRM343kT.cjs → vue-ui-quadrant--6zm3Tkv.cjs} +1 -1
  103. package/dist/{vue-ui-quadrant-CH856J9A.js → vue-ui-quadrant-BSjpS3JD.js} +12 -12
  104. package/dist/{vue-ui-quick-chart-BLq8C-m8.js → vue-ui-quick-chart-DbfWPULd.js} +9 -9
  105. package/dist/{vue-ui-quick-chart-BXYgI65b.cjs → vue-ui-quick-chart-DkUGMBfD.cjs} +1 -1
  106. package/dist/{vue-ui-radar-38OxxA3O.cjs → vue-ui-radar-BrA-apr-.cjs} +1 -1
  107. package/dist/{vue-ui-radar-BuCYH3tO.js → vue-ui-radar-CvK5Nz5U.js} +12 -12
  108. package/dist/{vue-ui-rating-D6OL6Aml.js → vue-ui-rating-C5qFRKy9.js} +2 -2
  109. package/dist/{vue-ui-rating-CiqatGZ_.cjs → vue-ui-rating-ctOiwHRD.cjs} +1 -1
  110. package/dist/{vue-ui-relation-circle-DDYGMgUl.cjs → vue-ui-relation-circle-35rE0_C0.cjs} +1 -1
  111. package/dist/{vue-ui-relation-circle-ByhUL4R6.js → vue-ui-relation-circle-ChUKc3S5.js} +7 -7
  112. package/dist/{vue-ui-ridgeline-C550XNkk.cjs → vue-ui-ridgeline-C_LoyQPY.cjs} +1 -1
  113. package/dist/{vue-ui-ridgeline-B5126LSF.js → vue-ui-ridgeline-DDrBrbxq.js} +12 -12
  114. package/dist/{vue-ui-rings-DPXct3je.js → vue-ui-rings-DGhi_Jcb.js} +12 -12
  115. package/dist/{vue-ui-rings-Dxp4dmO2.cjs → vue-ui-rings-IM473vOr.cjs} +1 -1
  116. package/dist/{vue-ui-scatter-BWmY2_ij.cjs → vue-ui-scatter-B7h_hWj7.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-_DhEpcsw.js → vue-ui-scatter-DS9rUuE5.js} +12 -12
  118. package/dist/{vue-ui-skeleton-Dzehgcp3.js → vue-ui-skeleton-BARmXI9_.js} +3 -3
  119. package/dist/{vue-ui-skeleton-DvJP74jb.cjs → vue-ui-skeleton-C-I7hIHS.cjs} +1 -1
  120. package/dist/{vue-ui-smiley-BHd1V1Dv.js → vue-ui-smiley-Ce4Rju1r.js} +2 -2
  121. package/dist/{vue-ui-smiley-CtDCCsfg.cjs → vue-ui-smiley-DwI6j0i8.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-DDf1hJwg.cjs → vue-ui-spark-trend-BfcDH-Gp.cjs} +1 -1
  123. package/dist/{vue-ui-spark-trend-DDX-fjR-.js → vue-ui-spark-trend-CE1USqg6.js} +5 -5
  124. package/dist/{vue-ui-sparkbar-BWeY-FcV.js → vue-ui-sparkbar-B3NBNGl8.js} +4 -4
  125. package/dist/{vue-ui-sparkbar-BT5NEz93.cjs → vue-ui-sparkbar-CdDBwkff.cjs} +1 -1
  126. package/dist/{vue-ui-sparkgauge-IYvYlZ57.cjs → vue-ui-sparkgauge-CPq_DRcO.cjs} +1 -1
  127. package/dist/{vue-ui-sparkgauge-BQMHbq8E.js → vue-ui-sparkgauge-Kgl_vvc7.js} +4 -4
  128. package/dist/{vue-ui-sparkhistogram-cjsCsNyf.cjs → vue-ui-sparkhistogram-B9Mf4nA9.cjs} +1 -1
  129. package/dist/{vue-ui-sparkhistogram-C5EdWvQP.js → vue-ui-sparkhistogram-DNvaByAm.js} +5 -5
  130. package/dist/{vue-ui-sparkline-CbKIpwVC.js → vue-ui-sparkline-6fUsXxoo.js} +4 -4
  131. package/dist/{vue-ui-sparkline-BwZJpAAf.cjs → vue-ui-sparkline-DPFtUR9k.cjs} +1 -1
  132. package/dist/{vue-ui-sparkstackbar-COxIfFgm.js → vue-ui-sparkstackbar-B_O87Udb.js} +5 -5
  133. package/dist/{vue-ui-sparkstackbar-BVJU36Jz.cjs → vue-ui-sparkstackbar-D8gErBiD.cjs} +1 -1
  134. package/dist/{vue-ui-stackbar-Dr5hRx6G.js → vue-ui-stackbar-SQkqb5uZ.js} +13 -13
  135. package/dist/{vue-ui-stackbar-CQ56hps8.cjs → vue-ui-stackbar-a7bzDCRQ.cjs} +1 -1
  136. package/dist/{vue-ui-strip-plot-B_nfC_fx.cjs → vue-ui-strip-plot-BbCMpSG9.cjs} +1 -1
  137. package/dist/{vue-ui-strip-plot-Mct4OE0A.js → vue-ui-strip-plot-Czg_UcLg.js} +11 -11
  138. package/dist/{vue-ui-table-B6LG28n8.js → vue-ui-table-B0ANgSAH.js} +3 -3
  139. package/dist/{vue-ui-table-DE3wOTyH.cjs → vue-ui-table-DTys0wh5.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-DDOoKybT.js → vue-ui-table-heatmap---afBYht.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-DuMRCIbx.cjs → vue-ui-table-heatmap-B46ApT8a.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-gZWWmkQe.cjs → vue-ui-table-sparkline-CSi_2E82.cjs} +1 -1
  143. package/dist/{vue-ui-table-sparkline-D578FuNQ.js → vue-ui-table-sparkline-cuO4BEcb.js} +5 -5
  144. package/dist/{vue-ui-thermometer-BWHsyYj8.cjs → vue-ui-thermometer-Bco6ThIk.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-DFbYODrU.js → vue-ui-thermometer-Cu3N2aZN.js} +7 -7
  146. package/dist/{vue-ui-timer-Bi6Q0m_J.js → vue-ui-timer-DnQAvYVy.js} +5 -5
  147. package/dist/{vue-ui-timer-s73pZhYM.cjs → vue-ui-timer-GkxVjTEC.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-BcFJOrF8.cjs → vue-ui-tiremarks-CNW6BXVF.cjs} +1 -1
  149. package/dist/{vue-ui-tiremarks-C68rB2kd.js → vue-ui-tiremarks-PX1AQ6u9.js} +7 -7
  150. package/dist/{vue-ui-treemap-b5rZtLKn.js → vue-ui-treemap-Drg5MEcW.js} +12 -12
  151. package/dist/{vue-ui-treemap-B7_kcMng.cjs → vue-ui-treemap-dm6Ion7A.cjs} +1 -1
  152. package/dist/{vue-ui-vertical-bar-DyZ-gfQi.js → vue-ui-vertical-bar-BtkKFF7C.js} +12 -12
  153. package/dist/{vue-ui-vertical-bar-Bw42kw9a.cjs → vue-ui-vertical-bar-eA-iYb9s.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-CG05FL_H.js → vue-ui-waffle-BAFVYzdi.js} +12 -12
  155. package/dist/{vue-ui-waffle-tk3zMyjq.cjs → vue-ui-waffle-Bn77Yd88.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-RzXEZFfN.cjs → vue-ui-wheel-D4VdCS3n.cjs} +1 -1
  157. package/dist/{vue-ui-wheel-BTbteaZS.js → vue-ui-wheel-fMANwaEy.js} +7 -7
  158. package/dist/{vue-ui-word-cloud-BKubtYCS.js → vue-ui-word-cloud-Du0UUBsh.js} +10 -10
  159. package/dist/{vue-ui-word-cloud-CUZ1Mm3Q.cjs → vue-ui-word-cloud-bX4J2Y8V.cjs} +1 -1
  160. package/dist/{vue-ui-world-BF0wSEJb.js → vue-ui-world-B-Guo08O.js} +11 -11
  161. package/dist/{vue-ui-world-BPcoReDh.cjs → vue-ui-world-BHNBu5o5.cjs} +1 -1
  162. package/dist/{vue-ui-xy-AgcMweTZ.js → vue-ui-xy-BN9Lh6Ic.js} +16 -16
  163. package/dist/{vue-ui-xy-C8ZEeV9g.cjs → vue-ui-xy-BkQt8l_A.cjs} +2 -2
  164. package/dist/{vue-ui-xy-canvas-CYaJZj3B.js → vue-ui-xy-canvas-D9avmh08.js} +12 -12
  165. package/dist/{vue-ui-xy-canvas-CJl9RPzv.cjs → vue-ui-xy-canvas-cfQsHd-5.cjs} +1 -1
  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
- };