vue-data-ui 2.4.2 → 2.4.3

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 (194) hide show
  1. package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
  2. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  3. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
  5. package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
  7. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  8. package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
  9. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
  11. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
  13. package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
  14. package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
  15. package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
  16. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  17. package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
  19. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  20. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
  21. package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
  22. package/dist/index-eFox7weK.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -1
  25. package/dist/types/vue-data-ui.d.ts +4 -1
  26. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
  27. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  28. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
  29. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
  30. package/dist/useResponsive-BY8tgM1n.js +188 -0
  31. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  32. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
  33. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
  38. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
  41. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  42. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  43. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
  45. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  46. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
  48. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  49. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
  51. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  52. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  57. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  58. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
  60. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  61. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
  62. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
  64. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
  65. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
  67. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  68. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
  69. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  72. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
  73. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  74. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
  79. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
  81. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  82. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
  84. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
  85. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  86. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  87. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
  88. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
  89. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
  91. package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
  92. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
  94. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  96. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
  98. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
  99. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  100. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
  101. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  104. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  105. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  106. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  108. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  110. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  111. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  112. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  114. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  115. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  116. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  118. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  119. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  120. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
  121. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
  122. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
  123. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  124. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
  125. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  127. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  128. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  129. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
  131. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  132. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  133. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  134. package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
  135. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  136. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  137. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
  138. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  139. package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
  140. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  141. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
  142. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  143. package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
  144. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
  145. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  146. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  147. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
  148. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  149. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
  150. package/package.json +1 -1
  151. package/dist/index-FfZRtJ6A.cjs +0 -9
  152. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  153. package/dist/useResponsive-NZB-WLRF.js +0 -187
  154. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  155. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  156. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  157. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  158. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  159. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  160. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  161. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  162. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  163. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  164. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  165. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  166. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  167. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  168. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  169. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  170. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  171. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  172. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  174. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  175. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  176. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  177. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  178. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  179. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  180. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  181. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  182. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  183. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  184. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  185. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  186. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  187. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  188. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  189. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  190. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  191. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  192. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  193. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  194. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,13 +1,13 @@
1
- import { computed as m, onMounted as He, ref as b, watch as Ee, openBlock as u, createElementBlock as h, normalizeClass as he, normalizeStyle as _, createBlock as P, createCommentVNode as N, unref as i, createSlots as Se, withCtx as y, renderSlot as w, normalizeProps as X, guardReactiveProps as W, createVNode as me, createElementVNode as S, Fragment as F, renderList as I, toDisplayString as q, createTextVNode as Me, nextTick as ze } from "vue";
2
- import { u as Ye, o as De, e as Ge, c as ge, t as Be, a as Ue, p as K, b as Ve, v, f as pe, X as je, F as be, K as Xe, i as We, q as qe, r as Ke } from "./index-DnVHQ2xI.js";
3
- import { _ as Re } from "./Title-5VmBwT4i.js";
4
- import { u as Ze, U as Je } from "./usePrinter-BEeNAqS5.js";
5
- import { D as Qe } from "./DataTable-DTk7C4Pr.js";
6
- import et from "./vue-ui-accordion-DspS4q3f.js";
7
- import tt from "./vue-ui-skeleton-aZmkNzAe.js";
8
- import { u as ye } from "./useNestedProp-Cox0K0Y5.js";
9
- import { _ as ot } from "./PackageVersion-CvCRsT5_.js";
10
- import { P as lt } from "./PenAndPaper-Jb0pLt3G.js";
1
+ import { computed as m, onMounted as He, ref as b, watch as Ee, openBlock as u, createElementBlock as v, normalizeClass as he, normalizeStyle as N, createBlock as P, createCommentVNode as $, unref as i, createSlots as Se, withCtx as y, renderSlot as k, normalizeProps as X, guardReactiveProps as W, createVNode as me, createElementVNode as S, Fragment as F, renderList as I, toDisplayString as q, createTextVNode as Me, nextTick as ze } from "vue";
2
+ import { u as Ye, o as De, e as Ge, c as ge, t as Be, a as Ue, p as K, b as Ve, v as f, f as pe, X as je, F as be, K as Xe, i as We, q as qe, r as Ke } from "./index-Bya_q1J-.js";
3
+ import { _ as Re } from "./Title-C5pIfQAz.js";
4
+ import { u as Ze, U as Je } from "./usePrinter-CiHd1FwD.js";
5
+ import { D as Qe } from "./DataTable-DYqC2pqu.js";
6
+ import et from "./vue-ui-accordion-DfUfL2dI.js";
7
+ import tt from "./vue-ui-skeleton-BYssP0K4.js";
8
+ import { u as ye } from "./useNestedProp-B33hazbH.js";
9
+ import { _ as ot } from "./PackageVersion-VkaUzgmt.js";
10
+ import { P as lt } from "./PenAndPaper-DAZYA8Ew.js";
11
11
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const nt = ["id"], st = {
13
13
  key: 1,
@@ -15,7 +15,11 @@ const nt = ["id"], st = {
15
15
  }, rt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"], ct = ["stop-color"], dt = ["d", "fill", "stroke", "stroke-width"], vt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], ft = ["x", "y", "font-size", "fill"], ht = ["x", "y", "font-size", "fill"], mt = {
16
16
  key: 3,
17
17
  class: "vue-data-ui-watermark"
18
- }, gt = ["innerHTML"], pt = {
18
+ }, gt = {
19
+ key: 5,
20
+ ref: "source",
21
+ dir: "auto"
22
+ }, pt = ["innerHTML"], bt = {
19
23
  __name: "vue-ui-flow",
20
24
  props: {
21
25
  config: {
@@ -69,12 +73,12 @@ const nt = ["id"], st = {
69
73
  const { isPrinting: ee, isImaging: te, generatePdf: oe, generateImage: le } = Ze({
70
74
  elementId: `flow_${z.value}`,
71
75
  fileName: e.value.style.chart.title.text || "vue-ui-flow"
72
- }), D = m(() => Ve(e.value.customPalette)), ae = m(() => e.value.style.chart.nodes.gap), $ = m(() => e.value.style.chart.nodes.width), O = b({
76
+ }), D = m(() => Ve(e.value.customPalette)), ae = m(() => e.value.style.chart.nodes.gap), x = m(() => e.value.style.chart.nodes.width), O = b({
73
77
  showTable: e.value.table.show
74
78
  }), ne = m(() => e.value.style.chart.links.width), G = m(() => !g.dataset || !g.dataset.length ? [] : g.dataset.map((t) => [
75
79
  t[0],
76
80
  t[1],
77
- v(t[2])
81
+ f(t[2])
78
82
  ])), se = m(() => {
79
83
  const t = {};
80
84
  function l(n) {
@@ -102,9 +106,9 @@ const nt = ["id"], st = {
102
106
  function n(s, r) {
103
107
  l[s] || (l[s] = { height: 0, level: null, inflow: 0, outflow: 0 }), l[s].level === null && (l[s].level = r), o[r] || (o[r] = []), o[r].includes(s) || o[r].push(s);
104
108
  }
105
- t.forEach(([s, r, f], x) => {
109
+ t.forEach(([s, r, h], _) => {
106
110
  const C = l[s] ? l[s].level : 0, E = C + 1;
107
- n(s, C), n(r, E), l[s].children || (l[s].children = []), l[s].children.push({ target: r, value: f }), l[s].outflow += f, l[r].inflow += f;
111
+ n(s, C), n(r, E), l[s].children || (l[s].children = []), l[s].children.push({ target: r, value: h }), l[s].outflow += h, l[r].inflow += h;
108
112
  }), Object.keys(l).forEach((s, r) => {
109
113
  l[s].color = D.value[r] || D.value[r % D.value.length] || K[r] || K[r % d.length];
110
114
  });
@@ -113,15 +117,15 @@ const nt = ["id"], st = {
113
117
  const a = {};
114
118
  for (const s in o) {
115
119
  let r = 0;
116
- o[s].forEach((f, x) => {
117
- const C = l[f].height;
118
- a[f] = {
120
+ o[s].forEach((h, _) => {
121
+ const C = l[h].height;
122
+ a[h] = {
119
123
  x: parseInt(s, 10) * ne.value + e.value.style.chart.padding.left,
120
124
  y: r,
121
125
  absoluteY: r,
122
126
  height: C,
123
- i: x,
124
- color: l[f].color,
127
+ i: _,
128
+ color: l[h].color,
125
129
  value: _e(C)
126
130
  }, r += C + ae.value;
127
131
  });
@@ -129,17 +133,17 @@ const nt = ["id"], st = {
129
133
  const c = [];
130
134
  for (const s in l) {
131
135
  let r = a[s].absoluteY;
132
- l[s].children && l[s].children.forEach(({ target: f, value: x }, C) => {
133
- const E = a[f].y, V = a[s], j = a[f], ce = v(r), de = v(r + x / l[s].outflow * V.height), ve = v(E), fe = v(E + x / l[f].inflow * j.height), Le = {
136
+ l[s].children && l[s].children.forEach(({ target: h, value: _ }, C) => {
137
+ const E = a[h].y, V = a[s], j = a[h], ce = f(r), de = f(r + _ / l[s].outflow * V.height), ve = f(E), fe = f(E + _ / l[h].inflow * j.height), Le = {
134
138
  id: ge(),
135
139
  source: s,
136
- target: f,
137
- path: `M ${v(V.x) + v($.value)} ${ce} L ${v(V.x) + v($.value)} ${de} L ${v(j.x)} ${fe} L ${v(j.x)} ${ve} Z`,
138
- value: x,
140
+ target: h,
141
+ path: `M ${f(V.x) + f(x.value)} ${ce} L ${f(V.x) + f(x.value)} ${de} L ${f(j.x)} ${fe} L ${f(j.x)} ${ve} Z`,
142
+ value: _,
139
143
  sourceColor: l[s].color,
140
- targetColor: l[f].color
144
+ targetColor: l[h].color
141
145
  };
142
- c.push(Le), r += de - ce, a[f].y += fe - ve;
146
+ c.push(Le), r += de - ce, a[h].y += fe - ve;
143
147
  });
144
148
  }
145
149
  return { nodeCoordinates: a, links: c };
@@ -166,7 +170,7 @@ const nt = ["id"], st = {
166
170
  const { top: t, right: l, left: o, bottom: n } = e.value.style.chart.padding, a = G.value.length * ne.value;
167
171
  return {
168
172
  height: Te.value + t + n,
169
- width: l + Math.max(...p.value.nodes.map((c) => c.x)) + $.value,
173
+ width: l + Math.max(...p.value.nodes.map((c) => c.x)) + x.value,
170
174
  left: o,
171
175
  top: t,
172
176
  right: a - l,
@@ -180,12 +184,12 @@ const nt = ["id"], st = {
180
184
  l[a] || (l[a] = []), o[c] || (o[c] = []), l[a].push(c), o[c].push(a);
181
185
  }), l[t] && l[t].forEach((a) => n.add(a)), o[t] && o[t].forEach((a) => n.add(a)), Array.from(n).concat(t);
182
186
  }
183
- const k = b(null), A = b(null);
187
+ const w = b(null), A = b(null);
184
188
  function Ie(t) {
185
- k.value = Fe(t.name), A.value = t.name;
189
+ w.value = Fe(t.name), A.value = t.name;
186
190
  }
187
191
  function Oe() {
188
- k.value = null, A.value = null;
192
+ w.value = null, A.value = null;
189
193
  }
190
194
  const re = m(() => p.value.links.map(({ source: t, target: l, sourceColor: o, targetColor: n, value: a }) => ({
191
195
  source: t,
@@ -276,11 +280,11 @@ const nt = ["id"], st = {
276
280
  generatePdf: oe,
277
281
  toggleTable: ie,
278
282
  toggleAnnotator: U
279
- }), (t, l) => (u(), h("div", {
283
+ }), (t, l) => (u(), v("div", {
280
284
  ref_key: "flowChart",
281
285
  ref: Y,
282
286
  class: he(`vue-ui-flow ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
283
- style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
287
+ style: N(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
284
288
  id: `flow_${z.value}`
285
289
  }, [
286
290
  e.value.userOptions.buttons.annotator ? (u(), P(lt, {
@@ -290,8 +294,8 @@ const nt = ["id"], st = {
290
294
  color: e.value.style.chart.color,
291
295
  active: H.value,
292
296
  onClose: U
293
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : N("", !0),
294
- e.value.style.chart.title.text ? (u(), h("div", st, [
297
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : $("", !0),
298
+ e.value.style.chart.title.text ? (u(), v("div", st, [
295
299
  (u(), P(Re, {
296
300
  key: `title_${J.value}`,
297
301
  config: {
@@ -305,7 +309,7 @@ const nt = ["id"], st = {
305
309
  }
306
310
  }
307
311
  }, null, 8, ["config"]))
308
- ])) : N("", !0),
312
+ ])) : $("", !0),
309
313
  e.value.userOptions.show && M.value ? (u(), P(Je, {
310
314
  ref: "details",
311
315
  key: `user_option_${Z.value}`,
@@ -335,55 +339,55 @@ const nt = ["id"], st = {
335
339
  t.$slots.optionPdf ? {
336
340
  name: "optionPdf",
337
341
  fn: y(() => [
338
- w(t.$slots, "optionPdf", {}, void 0, !0)
342
+ k(t.$slots, "optionPdf", {}, void 0, !0)
339
343
  ]),
340
344
  key: "0"
341
345
  } : void 0,
342
346
  t.$slots.optionCsv ? {
343
347
  name: "optionCsv",
344
348
  fn: y(() => [
345
- w(t.$slots, "optionCsv", {}, void 0, !0)
349
+ k(t.$slots, "optionCsv", {}, void 0, !0)
346
350
  ]),
347
351
  key: "1"
348
352
  } : void 0,
349
353
  t.$slots.optionImg ? {
350
354
  name: "optionImg",
351
355
  fn: y(() => [
352
- w(t.$slots, "optionImg", {}, void 0, !0)
356
+ k(t.$slots, "optionImg", {}, void 0, !0)
353
357
  ]),
354
358
  key: "2"
355
359
  } : void 0,
356
360
  t.$slots.optionTable ? {
357
361
  name: "optionTable",
358
362
  fn: y(() => [
359
- w(t.$slots, "optionTable", {}, void 0, !0)
363
+ k(t.$slots, "optionTable", {}, void 0, !0)
360
364
  ]),
361
365
  key: "3"
362
366
  } : void 0,
363
367
  t.$slots.optionFullscreen ? {
364
368
  name: "optionFullscreen",
365
369
  fn: y(({ toggleFullscreen: o, isFullscreen: n }) => [
366
- w(t.$slots, "optionFullscreen", X(W({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
370
+ k(t.$slots, "optionFullscreen", X(W({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
367
371
  ]),
368
372
  key: "4"
369
373
  } : void 0,
370
374
  t.$slots.optionAnnotator ? {
371
375
  name: "optionAnnotator",
372
376
  fn: y(({ toggleAnnotator: o, isAnnotator: n }) => [
373
- w(t.$slots, "optionAnnotator", X(W({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
377
+ k(t.$slots, "optionAnnotator", X(W({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
374
378
  ]),
375
379
  key: "5"
376
380
  } : void 0
377
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : N("", !0),
378
- (u(), h("svg", {
381
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : $("", !0),
382
+ (u(), v("svg", {
379
383
  xmlns: i(je),
380
384
  viewBox: `0 0 ${B.value.width} ${B.value.height}`,
381
385
  class: he({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
382
- style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
386
+ style: N(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
383
387
  }, [
384
388
  me(ot),
385
389
  S("defs", null, [
386
- (u(!0), h(F, null, I(p.value.links, (o, n) => (u(), h("linearGradient", {
390
+ (u(!0), v(F, null, I(p.value.links, (o, n) => (u(), v("linearGradient", {
387
391
  id: o.id,
388
392
  x1: "0%",
389
393
  y1: "0%",
@@ -400,42 +404,42 @@ const nt = ["id"], st = {
400
404
  }, null, 8, ct)
401
405
  ], 8, ut))), 256))
402
406
  ]),
403
- (u(!0), h(F, null, I(p.value.links, (o) => (u(), h("path", {
407
+ (u(!0), v(F, null, I(p.value.links, (o) => (u(), v("path", {
404
408
  class: "vue-ui-flow-link",
405
409
  d: o.path,
406
410
  fill: `url(#${o.id})`,
407
411
  stroke: e.value.style.chart.links.stroke,
408
412
  "stroke-width": e.value.style.chart.links.strokeWidth,
409
- style: _(`opacity:${A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
413
+ style: N(`opacity:${A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}`)
410
414
  }, null, 12, dt))), 256)),
411
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("rect", {
415
+ (u(!0), v(F, null, I(p.value.nodes, (o, n) => (u(), v("rect", {
412
416
  class: "vue-ui-flow-node",
413
417
  x: o.x,
414
- y: i(v)(o.absoluteY),
415
- height: i(v)(o.height),
416
- width: $.value,
418
+ y: i(f)(o.absoluteY),
419
+ height: i(f)(o.height),
420
+ width: x.value,
417
421
  fill: o.color,
418
422
  stroke: e.value.style.chart.nodes.stroke,
419
423
  "stroke-width": e.value.style.chart.nodes.strokeWidth,
420
424
  onMouseenter: (a) => Ie(o),
421
425
  onMouseleave: l[0] || (l[0] = (a) => Oe()),
422
- style: _(`opacity:${k.value ? k.value.includes(o.name) ? 1 : 0.2 : 1}`)
426
+ style: N(`opacity:${w.value ? w.value.includes(o.name) ? 1 : 0.2 : 1}`)
423
427
  }, null, 44, vt))), 256)),
424
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("text", {
425
- x: o.x + $.value / 2,
426
- y: i(v)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4),
428
+ (u(!0), v(F, null, I(p.value.nodes, (o, n) => (u(), v("text", {
429
+ x: o.x + x.value / 2,
430
+ y: i(f)(o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4),
427
431
  "font-size": e.value.style.chart.nodes.labels.fontSize,
428
432
  fill: i(be)(o.color),
429
433
  "text-anchor": "middle",
430
- style: _(`pointer-events: none; opacity:${k.value ? k.value.includes(o.name) ? 1 : 0 : 1}`)
434
+ style: N(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
431
435
  }, q(e.value.style.chart.nodes.labels.abbreviation.use ? i(Xe)({ source: o.name, length: e.value.style.chart.nodes.labels.abbreviation.length }) : o.name), 13, ft))), 256)),
432
- (u(!0), h(F, null, I(p.value.nodes, (o, n) => (u(), h("text", {
433
- x: o.x + $.value / 2,
434
- y: i(v)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize),
436
+ (u(!0), v(F, null, I(p.value.nodes, (o, n) => (u(), v("text", {
437
+ x: o.x + x.value / 2,
438
+ y: i(f)(o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize),
435
439
  "font-size": e.value.style.chart.nodes.labels.fontSize,
436
440
  fill: i(be)(o.color),
437
441
  "text-anchor": "middle",
438
- style: _(`pointer-events: none; opacity:${k.value ? k.value.includes(o.name) ? 1 : 0 : 1}`)
442
+ style: N(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
439
443
  }, q(i(We)(
440
444
  e.value.style.chart.nodes.labels.formatter,
441
445
  o.value,
@@ -447,12 +451,12 @@ const nt = ["id"], st = {
447
451
  }),
448
452
  { datapoint: o, seriesIndex: n }
449
453
  )), 13, ht))), 256)),
450
- w(t.$slots, "svg", { svg: B.value }, void 0, !0)
454
+ k(t.$slots, "svg", { svg: B.value }, void 0, !0)
451
455
  ], 14, rt)),
452
- t.$slots.watermark ? (u(), h("div", mt, [
453
- w(t.$slots, "watermark", X(W({ isPrinting: i(ee) || i(te) })), void 0, !0)
454
- ])) : N("", !0),
455
- M.value ? N("", !0) : (u(), P(tt, {
456
+ t.$slots.watermark ? (u(), v("div", mt, [
457
+ k(t.$slots, "watermark", X(W({ isPrinting: i(ee) || i(te) })), void 0, !0)
458
+ ])) : $("", !0),
459
+ M.value ? $("", !0) : (u(), P(tt, {
456
460
  key: 4,
457
461
  config: {
458
462
  type: "flow",
@@ -461,8 +465,11 @@ const nt = ["id"], st = {
461
465
  }
462
466
  }
463
467
  }, null, 8, ["config"])),
468
+ t.$slots.source ? (u(), v("div", gt, [
469
+ k(t.$slots, "source", {}, void 0, !0)
470
+ ], 512)) : $("", !0),
464
471
  M.value ? (u(), P(et, {
465
- key: 5,
472
+ key: 6,
466
473
  hideDetails: "",
467
474
  config: {
468
475
  open: O.value.showTable,
@@ -490,7 +497,7 @@ const nt = ["id"], st = {
490
497
  S("div", {
491
498
  innerHTML: o,
492
499
  style: { display: "flex", "align-items": "center" }
493
- }, null, 8, gt)
500
+ }, null, 8, pt)
494
501
  ]),
495
502
  td: y(({ td: o }) => [
496
503
  Me(q(o.name || o), 1)
@@ -499,10 +506,10 @@ const nt = ["id"], st = {
499
506
  }, 8, ["colNames", "head", "body", "config", "title"])
500
507
  ]),
501
508
  _: 1
502
- }, 8, ["config"])) : N("", !0)
509
+ }, 8, ["config"])) : $("", !0)
503
510
  ], 14, nt));
504
511
  }
505
- }, Ft = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-b1626dda"]]);
512
+ }, It = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-cbc0789b"]]);
506
513
  export {
507
- Ft as default
514
+ It as default
508
515
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-eFox7weK.cjs"),he=require("./Title-0Tp4hZ4u.cjs"),K=require("./usePrinter-CSRFnDBU.cjs"),me=require("./DataTable-DTzynbND.cjs"),pe=require("./vue-ui-accordion-TEMpM1hO.cjs"),ge=require("./vue-ui-skeleton-BqKzuhkB.cjs"),Q=require("./useNestedProp-BkgEhTQY.cjs"),ke=require("./PackageVersion-DwI-KhXH.cjs"),ye=require("./PenAndPaper-CDFVOo7X.cjs"),be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ce=["id"],we={key:1,style:"width:100%;background:transparent;padding-bottom:24px"},Ne=["xmlns","viewBox"],xe=["id"],$e=["stop-color"],Be=["stop-color"],_e=["d","fill","stroke","stroke-width"],Pe=["x","y","height","width","fill","stroke","stroke-width","onMouseenter"],Ee=["x","y","font-size","fill"],Se=["x","y","font-size","fill"],Te={key:3,class:"vue-data-ui-watermark"},Fe={key:5,ref:"source",dir:"auto"},Le=["innerHTML"],ze={__name:"vue-ui-flow",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(ee,{expose:te}){const f=ee,{vue_ui_flow:oe}=s.useConfig(),$=e.computed(()=>!!f.dataset&&f.dataset.length);e.onMounted(()=>{z()});function z(){s.objectIsEmpty(f.dataset)&&s.error({componentName:"VueUiFlow",type:"dataset"})}const B=e.ref(s.createUid()),_=e.ref(null),I=e.ref(0),O=e.ref(0),y=e.ref(!1);function le(o){y.value=o,I.value+=1}const t=e.computed({get:()=>A(),set:o=>o});function A(){const o=Q.useNestedProp({userConfig:f.config,defaultConfig:oe});return o.theme?{...Q.useNestedProp({userConfig:s.themes.vue_ui_flow[o.theme]||f.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>f.config,o=>{t.value=A(),z(),O.value+=1},{deep:!0});const{isPrinting:V,isImaging:H,generatePdf:M,generateImage:D}=K.usePrinter({elementId:`flow_${B.value}`,fileName:t.value.style.chart.title.text||"vue-ui-flow"}),P=e.computed(()=>s.convertCustomPalette(t.value.customPalette)),q=e.computed(()=>t.value.style.chart.nodes.gap),g=e.computed(()=>t.value.style.chart.nodes.width),b=e.ref({showTable:t.value.table.show}),Y=e.computed(()=>t.value.style.chart.links.width),E=e.computed(()=>!f.dataset||!f.dataset.length?[]:f.dataset.map(o=>[o[0],o[1],s.checkNaN(o[2])])),G=e.computed(()=>{const o={};function n(r){o[r]||(o[r]={inflow:0,outflow:0})}E.value.forEach(([r,a,i])=>{n(r),n(a),o[r].outflow+=i,o[a].inflow+=i});let l=0;for(const r in o){const a=Math.max(o[r].inflow,o[r].outflow);l=Math.max(l,a)}return l});function ne(o){return o/G.value*100+t.value.style.chart.nodes.minHeight}function ae(o){const n=t.value.style.chart.nodes.minHeight;return(o-n)/100*G.value}function re(o){const n={},l={};function r(u,c){n[u]||(n[u]={height:0,level:null,inflow:0,outflow:0}),n[u].level===null&&(n[u].level=c),l[c]||(l[c]=[]),l[c].includes(u)||l[c].push(u)}o.forEach(([u,c,v],k)=>{const p=n[u]?n[u].level:0,x=p+1;r(u,p),r(c,x),n[u].children||(n[u].children=[]),n[u].children.push({target:c,value:v}),n[u].outflow+=v,n[c].inflow+=v}),Object.keys(n).forEach((u,c)=>{n[u].color=P.value[c]||P.value[c%P.value.length]||s.palette[c]||s.palette[c%d.length]});for(const u in n)n[u].height=ne(Math.max(n[u].inflow,n[u].outflow)),n[u].name=u;const a={};for(const u in l){let c=0;l[u].forEach((v,k)=>{const p=n[v].height;a[v]={x:parseInt(u,10)*Y.value+t.value.style.chart.padding.left,y:c,absoluteY:c,height:p,i:k,color:n[v].color,value:ae(p)},c+=p+q.value})}const i=[];for(const u in n){let c=a[u].absoluteY;n[u].children&&n[u].children.forEach(({target:v,value:k},p)=>{const x=a[v].y,F=a[u],L=a[v],X=s.checkNaN(c),R=s.checkNaN(c+k/n[u].outflow*F.height),Z=s.checkNaN(x),J=s.checkNaN(x+k/n[v].inflow*L.height),fe={id:s.createUid(),source:u,target:v,path:`M ${s.checkNaN(F.x)+s.checkNaN(g.value)} ${X} L ${s.checkNaN(F.x)+s.checkNaN(g.value)} ${R} L ${s.checkNaN(L.x)} ${J} L ${s.checkNaN(L.x)} ${Z} Z`,value:k,sourceColor:n[u].color,targetColor:n[v].color};i.push(fe),c+=R-X,a[v].y+=J-Z})}return{nodeCoordinates:a,links:i}}const h=e.computed(()=>{const o=re(f.dataset);return{nodes:Object.keys(o.nodeCoordinates).map((n,l)=>({...o.nodeCoordinates[n],name:n})),links:o.links}}),se=e.computed(()=>ue(h.value.nodes));function ue(o){const n={};for(const r in o){const{x:a,height:i}=o[r];n[a]||(n[a]=0),n[a]+=i+q.value}return Math.max(...Object.values(n))}const S=e.computed(()=>{const{top:o,right:n,left:l,bottom:r}=t.value.style.chart.padding,a=E.value.length*Y.value;return{height:se.value+o+r,width:n+Math.max(...h.value.nodes.map(i=>i.x))+g.value,left:l,top:o,right:a-n,p_top:o,p_bottom:r}});function ce(o){const n={},l={},r=new Set;return E.value.forEach(([a,i,u])=>{n[a]||(n[a]=[]),l[i]||(l[i]=[]),n[a].push(i),l[i].push(a)}),n[o]&&n[o].forEach(a=>r.add(a)),l[o]&&l[o].forEach(a=>r.add(a)),Array.from(r).concat(o)}const m=e.ref(null),C=e.ref(null);function ie(o){m.value=ce(o.name),C.value=o.name}function de(){m.value=null,C.value=null}const U=e.computed(()=>h.value.links.map(({source:o,target:n,sourceColor:l,targetColor:r,value:a})=>({source:o,target:n,sourceColor:l,targetColor:r,value:a})));function j(){e.nextTick(()=>{const o=U.value.map((r,a)=>[[r.source],[r.target],[r.value]]),n=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[t.value.table.columnNames.source],[t.value.table.columnNames.target],[t.value.table.columnNames.value]]].concat(o),l=s.createCsvContent(n);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-flow"})})}const w=e.computed(()=>{const o=[t.value.table.columnNames.source,t.value.table.columnNames.target,t.value.table.columnNames.value],n=U.value.map((a,i)=>[{color:a.sourceColor,name:a.source},{color:a.targetColor,name:a.target},s.dataLabel({p:t.value.style.chart.nodes.labels.prefix,v:a.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding})]),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.source,t.value.table.columnNames.target,t.value.table.columnNames.value],head:o,body:n,config:l}});function ve(){return h.value}function W(){b.value.showTable=!b.value.showTable}const N=e.ref(!1);function T(){N.value=!N.value}return te({getData:ve,generateCsv:j,generateImage:D,generatePdf:M,toggleTable:W,toggleAnnotator:T}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"flowChart",ref:_,class:e.normalizeClass(`vue-ui-flow ${y.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`flow_${B.value}`},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ye.PenAndPaper,{key:0,parent:_.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:N.value,onClose:T},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",we,[(e.openBlock(),e.createBlock(he._sfc_main,{key:`title_${O.value}`,config:{title:{cy:"flow-title",...t.value.style.chart.title},subtitle:{cy:"flow-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value?(e.openBlock(),e.createBlock(K.UserOptions,{ref:"details",key:`user_option_${I.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(V),isImaging:e.unref(H),uid:B.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:y.value,titles:{...t.value.userOptions.buttonTitles},chartElement:_.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:N.value,onToggleFullscreen:le,onGeneratePdf:e.unref(M),onGenerateCsv:j,onGenerateImage:e.unref(D),onToggleTable:W,onToggleAnnotator:T},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:r})),void 0,!0)]),key:"4"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:r})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:r})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${S.value.width} ${S.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(ke._sfc_main),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.links,(l,r)=>(e.openBlock(),e.createElementBlock("linearGradient",{id:l.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.sourceColor},null,8,$e),e.createElementVNode("stop",{offset:"100%","stop-color":l.targetColor},null,8,Be)],8,xe))),256))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.links,l=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-flow-link",d:l.path,fill:`url(#${l.id})`,stroke:t.value.style.chart.links.stroke,"stroke-width":t.value.style.chart.links.strokeWidth,style:e.normalizeStyle(`opacity:${C.value?[l.target,l.source].includes(C.value)?1:.3:t.value.style.chart.links.opacity}`)},null,12,_e))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.nodes,(l,r)=>(e.openBlock(),e.createElementBlock("rect",{class:"vue-ui-flow-node",x:l.x,y:e.unref(s.checkNaN)(l.absoluteY),height:e.unref(s.checkNaN)(l.height),width:g.value,fill:l.color,stroke:t.value.style.chart.nodes.stroke,"stroke-width":t.value.style.chart.nodes.strokeWidth,onMouseenter:a=>ie(l),onMouseleave:n[0]||(n[0]=a=>de()),style:e.normalizeStyle(`opacity:${m.value?m.value.includes(l.name)?1:.2:1}`)},null,44,Pe))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.nodes,(l,r)=>(e.openBlock(),e.createElementBlock("text",{x:l.x+g.value/2,y:e.unref(s.checkNaN)(l.absoluteY+l.height/2-t.value.style.chart.nodes.labels.fontSize/4),"font-size":t.value.style.chart.nodes.labels.fontSize,fill:e.unref(s.adaptColorToBackground)(l.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${m.value?m.value.includes(l.name)?1:0:1}`)},e.toDisplayString(t.value.style.chart.nodes.labels.abbreviation.use?e.unref(s.abbreviate)({source:l.name,length:t.value.style.chart.nodes.labels.abbreviation.length}):l.name),13,Ee))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.nodes,(l,r)=>(e.openBlock(),e.createElementBlock("text",{x:l.x+g.value/2,y:e.unref(s.checkNaN)(l.absoluteY+l.height/2+t.value.style.chart.nodes.labels.fontSize),"font-size":t.value.style.chart.nodes.labels.fontSize,fill:e.unref(s.adaptColorToBackground)(l.color),"text-anchor":"middle",style:e.normalizeStyle(`pointer-events: none; opacity:${m.value?m.value.includes(l.name)?1:0:1}`)},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.nodes.labels.formatter,l.value,e.unref(s.dataLabel)({p:t.value.style.chart.nodes.labels.prefix,v:l.value,s:t.value.style.chart.nodes.labels.suffix,r:t.value.style.chart.nodes.labels.rounding}),{datapoint:l,seriesIndex:r})),13,Se))),256)),e.renderSlot(o.$slots,"svg",{svg:S.value},void 0,!0)],14,Ne)),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Te,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(V)||e.unref(H)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ge.default,{key:4,config:{type:"flow",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),o.$slots.source?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createBlock(pe.default,{key:6,hideDetails:"",config:{open:b.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(me.DataTable,{colNames:w.value.colNames,head:w.value.head,body:w.value.body,config:w.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:n[1]||(n[1]=l=>b.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Le)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,Ce))}},Ie=be._export_sfc(ze,[["__scopeId","data-v-cbc0789b"]]);exports.default=Ie;
@@ -1,15 +1,15 @@
1
- import { computed as h, onMounted as Pe, ref as u, watch as Se, openBlock as s, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as c, unref as p, createSlots as Ne, withCtx as i, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Le } from "vue";
2
- import { u as Ie, o as Oe, e as ce, g as Ae, c as ve, t as Fe, a as Ee, p as D, b as De, d as Ve, I as de, L as Be, f as k, X as Ge, i as he, x as pe, y as Me, q as ze, r as We } from "./index-DnVHQ2xI.js";
3
- import { L as He } from "./Legend-CYF2gpXG.js";
4
- import { _ as Ue } from "./Title-5VmBwT4i.js";
5
- import { _ as Xe } from "./Tooltip-Cj4EF7v1.js";
6
- import { D as Re } from "./DataTable-DTk7C4Pr.js";
7
- import { u as Ye, U as je } from "./usePrinter-BEeNAqS5.js";
8
- import qe from "./vue-ui-skeleton-aZmkNzAe.js";
9
- import Je from "./vue-ui-accordion-DspS4q3f.js";
10
- import { u as ye } from "./useNestedProp-Cox0K0Y5.js";
11
- import { _ as Ke } from "./PackageVersion-CvCRsT5_.js";
12
- import { P as Qe } from "./PenAndPaper-Jb0pLt3G.js";
1
+ import { computed as h, onMounted as Pe, ref as u, watch as Se, openBlock as s, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as i, unref as p, createSlots as Ne, withCtx as c, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Le } from "vue";
2
+ import { u as Ie, o as Oe, e as ce, g as Ae, c as ve, t as Fe, a as Ee, p as D, b as De, d as Ve, I as de, L as Be, f as k, X as Ge, i as he, x as pe, y as Me, q as ze, r as We } from "./index-Bya_q1J-.js";
3
+ import { L as He } from "./Legend-DNgTCgEK.js";
4
+ import { _ as Ue } from "./Title-C5pIfQAz.js";
5
+ import { _ as Xe } from "./Tooltip-Cz24YLfw.js";
6
+ import { D as Re } from "./DataTable-DYqC2pqu.js";
7
+ import { u as Ye, U as je } from "./usePrinter-CiHd1FwD.js";
8
+ import qe from "./vue-ui-skeleton-BYssP0K4.js";
9
+ import Je from "./vue-ui-accordion-DfUfL2dI.js";
10
+ import { u as ye } from "./useNestedProp-B33hazbH.js";
11
+ import { _ as Ke } from "./PackageVersion-VkaUzgmt.js";
12
+ import { P as Qe } from "./PenAndPaper-DAZYA8Ew.js";
13
13
  import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const et = ["id"], tt = {
15
15
  key: 1,
@@ -17,7 +17,11 @@ const et = ["id"], tt = {
17
17
  }, lt = ["xmlns", "viewBox"], at = ["id"], ot = ["stdDeviation"], st = ["d", "stroke", "stroke-width"], rt = ["d", "stroke", "stroke-width"], ut = ["filter"], nt = ["d", "stroke", "stroke-width"], it = ["d", "stroke-width", "onMouseenter", "onClick"], ct = {
18
18
  key: 4,
19
19
  class: "vue-data-ui-watermark"
20
- }, vt = ["onClick"], dt = { key: 0 }, ht = { key: 1 }, pt = ["innerHTML"], yt = {
20
+ }, vt = ["onClick"], dt = { key: 0 }, ht = { key: 1 }, pt = {
21
+ key: 7,
22
+ ref: "source",
23
+ dir: "auto"
24
+ }, yt = ["innerHTML"], ft = {
21
25
  __name: "vue-ui-galaxy",
22
26
  props: {
23
27
  config: {
@@ -279,7 +283,7 @@ const et = ["id"], tt = {
279
283
  color: e.value.style.chart.color,
280
284
  active: A.value,
281
285
  onClose: W
282
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
286
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
283
287
  e.value.style.chart.title.text ? (s(), n("div", tt, [
284
288
  (s(), $(Ue, {
285
289
  key: `title_${Y.value}`,
@@ -294,7 +298,7 @@ const et = ["id"], tt = {
294
298
  }
295
299
  }
296
300
  }, null, 8, ["config"]))
297
- ])) : c("", !0),
301
+ ])) : i("", !0),
298
302
  e.value.userOptions.show && L.value ? (s(), $(je, {
299
303
  ref_key: "details",
300
304
  ref: me,
@@ -327,54 +331,54 @@ const et = ["id"], tt = {
327
331
  }, Ne({ _: 2 }, [
328
332
  t.$slots.optionTooltip ? {
329
333
  name: "optionTooltip",
330
- fn: i(() => [
334
+ fn: c(() => [
331
335
  v(t.$slots, "optionTooltip", {}, void 0, !0)
332
336
  ]),
333
337
  key: "0"
334
338
  } : void 0,
335
339
  t.$slots.optionPdf ? {
336
340
  name: "optionPdf",
337
- fn: i(() => [
341
+ fn: c(() => [
338
342
  v(t.$slots, "optionPdf", {}, void 0, !0)
339
343
  ]),
340
344
  key: "1"
341
345
  } : void 0,
342
346
  t.$slots.optionCsv ? {
343
347
  name: "optionCsv",
344
- fn: i(() => [
348
+ fn: c(() => [
345
349
  v(t.$slots, "optionCsv", {}, void 0, !0)
346
350
  ]),
347
351
  key: "2"
348
352
  } : void 0,
349
353
  t.$slots.optionImg ? {
350
354
  name: "optionImg",
351
- fn: i(() => [
355
+ fn: c(() => [
352
356
  v(t.$slots, "optionImg", {}, void 0, !0)
353
357
  ]),
354
358
  key: "3"
355
359
  } : void 0,
356
360
  t.$slots.optionTable ? {
357
361
  name: "optionTable",
358
- fn: i(() => [
362
+ fn: c(() => [
359
363
  v(t.$slots, "optionTable", {}, void 0, !0)
360
364
  ]),
361
365
  key: "4"
362
366
  } : void 0,
363
367
  t.$slots.optionFullscreen ? {
364
368
  name: "optionFullscreen",
365
- fn: i(({ toggleFullscreen: l, isFullscreen: o }) => [
369
+ fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
366
370
  v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
367
371
  ]),
368
372
  key: "5"
369
373
  } : void 0,
370
374
  t.$slots.optionAnnotator ? {
371
375
  name: "optionAnnotator",
372
- fn: i(({ toggleAnnotator: l, isAnnotator: o }) => [
376
+ fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
373
377
  v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
374
378
  ]),
375
379
  key: "6"
376
380
  } : void 0
377
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
381
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
378
382
  L.value ? (s(), n("svg", {
379
383
  key: 3,
380
384
  xmlns: p(Ge),
@@ -405,7 +409,7 @@ const et = ["id"], tt = {
405
409
  stroke: e.value.style.chart.backgroundColor,
406
410
  "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
407
411
  "stroke-linecap": "round"
408
- }, null, 8, st)) : c("", !0),
412
+ }, null, 8, st)) : i("", !0),
409
413
  l.value ? (s(), n("path", {
410
414
  key: 1,
411
415
  d: l.path,
@@ -414,7 +418,7 @@ const et = ["id"], tt = {
414
418
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
415
419
  "stroke-linecap": "round",
416
420
  class: F(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
417
- }, null, 10, rt)) : c("", !0),
421
+ }, null, 10, rt)) : i("", !0),
418
422
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
419
423
  key: 2,
420
424
  filter: `url(#blur_${_.value})`
@@ -427,7 +431,7 @@ const et = ["id"], tt = {
427
431
  "stroke-linecap": "round",
428
432
  class: F(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
429
433
  }, null, 10, nt)
430
- ], 8, ut)) : c("", !0)
434
+ ], 8, ut)) : i("", !0)
431
435
  ]))), 256)),
432
436
  (s(!0), n(ue, null, ne(T.value, (l, o) => (s(), n("g", null, [
433
437
  l.value ? (s(), n("path", {
@@ -447,14 +451,14 @@ const et = ["id"], tt = {
447
451
  V.value = !1, f.value = null;
448
452
  }),
449
453
  onClick: (r) => U("selectDatapoint", l)
450
- }, null, 40, it)) : c("", !0)
454
+ }, null, 40, it)) : i("", !0)
451
455
  ]))), 256)),
452
456
  v(t.$slots, "svg", { svg: G.value }, void 0, !0)
453
- ], 14, lt)) : c("", !0),
457
+ ], 14, lt)) : i("", !0),
454
458
  t.$slots.watermark ? (s(), n("div", ct, [
455
459
  v(t.$slots, "watermark", S(N({ isPrinting: p(K) || p(Q) })), void 0, !0)
456
- ])) : c("", !0),
457
- L.value ? c("", !0) : (s(), $(qe, {
460
+ ])) : i("", !0),
461
+ L.value ? i("", !0) : (s(), $(qe, {
458
462
  key: 5,
459
463
  config: {
460
464
  type: "galaxy",
@@ -472,7 +476,7 @@ const et = ["id"], tt = {
472
476
  config: _e.value,
473
477
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
474
478
  }, {
475
- item: i(({ legend: l, index: o }) => [
479
+ item: c(({ legend: l, index: o }) => [
476
480
  x("div", {
477
481
  onClick: (r) => M(l),
478
482
  style: H(`opacity:${d.value.includes(l.id) ? 0.5 : 1}`)
@@ -496,8 +500,11 @@ const et = ["id"], tt = {
496
500
  ], 12, vt)
497
501
  ]),
498
502
  _: 1
499
- }, 8, ["legendSet", "config"])) : c("", !0),
503
+ }, 8, ["legendSet", "config"])) : i("", !0),
500
504
  v(t.$slots, "legend", { legend: le.value }, void 0, !0),
505
+ t.$slots.source ? (s(), n("div", pt, [
506
+ v(t.$slots, "source", {}, void 0, !0)
507
+ ], 512)) : i("", !0),
501
508
  re(Xe, {
502
509
  show: b.value.showTooltip && V.value,
503
510
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -513,16 +520,16 @@ const et = ["id"], tt = {
513
520
  content: B.value,
514
521
  isCustom: p(pe)(e.value.style.chart.tooltip.customFormat)
515
522
  }, {
516
- "tooltip-before": i(() => [
523
+ "tooltip-before": c(() => [
517
524
  v(t.$slots, "tooltip-before", S(N({ ...z.value })), void 0, !0)
518
525
  ]),
519
- "tooltip-after": i(() => [
526
+ "tooltip-after": c(() => [
520
527
  v(t.$slots, "tooltip-after", S(N({ ...z.value })), void 0, !0)
521
528
  ]),
522
529
  _: 3
523
530
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
524
531
  L.value ? (s(), $(Je, {
525
- key: 7,
532
+ key: 8,
526
533
  hideDetails: "",
527
534
  config: {
528
535
  open: b.value.showTable,
@@ -537,7 +544,7 @@ const et = ["id"], tt = {
537
544
  }
538
545
  }
539
546
  }, {
540
- content: i(() => [
547
+ content: c(() => [
541
548
  (s(), $(Re, {
542
549
  key: `table_${j.value}`,
543
550
  colNames: O.value.colNames,
@@ -547,23 +554,23 @@ const et = ["id"], tt = {
547
554
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
548
555
  onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
549
556
  }, {
550
- th: i(({ th: l }) => [
557
+ th: c(({ th: l }) => [
551
558
  x("div", {
552
559
  innerHTML: l,
553
560
  style: { display: "flex", "align-items": "center" }
554
- }, null, 8, pt)
561
+ }, null, 8, yt)
555
562
  ]),
556
- td: i(({ td: l }) => [
563
+ td: c(({ td: l }) => [
557
564
  ie(E(l.name || l), 1)
558
565
  ]),
559
566
  _: 1
560
567
  }, 8, ["colNames", "head", "body", "config", "title"]))
561
568
  ]),
562
569
  _: 1
563
- }, 8, ["config"])) : c("", !0)
570
+ }, 8, ["config"])) : i("", !0)
564
571
  ], 14, et));
565
572
  }
566
- }, Nt = /* @__PURE__ */ Ze(yt, [["__scopeId", "data-v-57830654"]]);
573
+ }, Lt = /* @__PURE__ */ Ze(ft, [["__scopeId", "data-v-f8542232"]]);
567
574
  export {
568
- Nt as default
575
+ Lt as default
569
576
  };