vue-data-ui 2.10.8 → 2.10.10

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 (164) hide show
  1. package/dist/{Arrow-NnfTvwbg.cjs → Arrow-CjydbHaJ.cjs} +1 -1
  2. package/dist/{Arrow-aCcBx0NS.js → Arrow-CkVAj2ex.js} +1 -1
  3. package/dist/{BaseIcon-DTt4YbQE.js → BaseIcon-CeAuvfV6.js} +1 -1
  4. package/dist/{BaseIcon-DmfPEj6j.cjs → BaseIcon-DvVvIgek.cjs} +1 -1
  5. package/dist/{ColorPicker-DsEujcIN.cjs → ColorPicker-Bc4l4E7Z.cjs} +1 -1
  6. package/dist/{ColorPicker-DrovFYIL.js → ColorPicker-DcVKrz_V.js} +3 -3
  7. package/dist/{DataTable-zSU-0X__.cjs → DataTable-CJVWuZQ7.cjs} +1 -1
  8. package/dist/{DataTable-CX-Ynkp4.js → DataTable-Dz3uePkM.js} +2 -2
  9. package/dist/{Legend-DFQ4iWI3.cjs → Legend-BVXdf95S.cjs} +1 -1
  10. package/dist/{Legend-BTvPguV6.js → Legend-DRjI7VTS.js} +2 -2
  11. package/dist/{PackageVersion-CkUbRQrt.js → PackageVersion-BNm7stW7.js} +1 -1
  12. package/dist/PackageVersion-NIHFWeLx.cjs +1 -0
  13. package/dist/{PenAndPaper-Br3OdauM.js → PenAndPaper-Ba1SBNDw.js} +3 -3
  14. package/dist/{PenAndPaper-CG9o3ymS.cjs → PenAndPaper-dU138eET.cjs} +1 -1
  15. package/dist/{Shape-D9l3WJGO.cjs → Shape-CwHZ-sW6.cjs} +1 -1
  16. package/dist/{Shape-Y1FgLdPz.js → Shape-DqWzVzjZ.js} +1 -1
  17. package/dist/{Slicer-C2GR76As.js → Slicer-9CXQSz7y.js} +2 -2
  18. package/dist/{Slicer-B7FJCuCB.cjs → Slicer-DLFjRDKI.cjs} +1 -1
  19. package/dist/{Title-CEZO2hzQ.cjs → Title-CcJuov8a.cjs} +1 -1
  20. package/dist/{Title-tlFeM12I.js → Title-CiymPFBZ.js} +1 -1
  21. package/dist/{Tooltip-BCtHh3BT.js → Tooltip-BXojuEca.js} +1 -1
  22. package/dist/{Tooltip-BZa-QzER.cjs → Tooltip-DolT-Egr.cjs} +1 -1
  23. package/dist/{dom-to-png-fAhFmKHV.cjs → dom-to-png-BACUnvWN.cjs} +1 -1
  24. package/dist/{dom-to-png-CjxHTZgX.js → dom-to-png-BbzDwc8c.js} +1 -1
  25. package/dist/{img-Ds_hWTTu.cjs → img-BCxvOZEr.cjs} +1 -1
  26. package/dist/{img-w_iFTYRY.js → img-O1YZMZE1.js} +1 -1
  27. package/dist/{index-Dy2-pNb6.cjs → index-CFHk7XOI.cjs} +1 -1
  28. package/dist/{index-Co5UfCMK.js → index-DvXHhwi7.js} +1 -1
  29. package/dist/{pdf-CCdcXY_7.cjs → pdf-Bq_WJR-q.cjs} +1 -1
  30. package/dist/{pdf-BfkOvZWw.js → pdf-CG4EnFNu.js} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/{useNestedProp-C22WP03t.js → useNestedProp-Bw2_FZ80.js} +1 -1
  33. package/dist/{useNestedProp-DQ8Jt3-Y.cjs → useNestedProp-dCmM2zfv.cjs} +1 -1
  34. package/dist/{usePrinter-BQEYwy4a.cjs → usePrinter-Cr-rXufG.cjs} +1 -1
  35. package/dist/{usePrinter-D_wgo-7k.js → usePrinter-D0Njbrwg.js} +3 -3
  36. package/dist/{vue-data-ui-zmg06AF1.cjs → vue-data-ui-BXsbflWH.cjs} +1 -1
  37. package/dist/{vue-data-ui-C18HDIa2.js → vue-data-ui-ukeuQLYG.js} +62 -62
  38. package/dist/vue-data-ui.cjs +1 -1
  39. package/dist/vue-data-ui.js +1 -1
  40. package/dist/{vue-ui-3d-bar-C_gJuhTV.cjs → vue-ui-3d-bar-C3-VA6Iq.cjs} +1 -1
  41. package/dist/{vue-ui-3d-bar-SB6p5amV.js → vue-ui-3d-bar-CaoKpu9l.js} +9 -9
  42. package/dist/{vue-ui-accordion-dVGUWjXH.cjs → vue-ui-accordion-BvbhG2QO.cjs} +1 -1
  43. package/dist/{vue-ui-accordion-CfB_jW1X.js → vue-ui-accordion-rd6DBLB5.js} +3 -3
  44. package/dist/{vue-ui-age-pyramid-G8ggvkGU.js → vue-ui-age-pyramid-Cjr5nyxr.js} +10 -10
  45. package/dist/{vue-ui-age-pyramid-DZ_ajGY_.cjs → vue-ui-age-pyramid-Cle-IO4l.cjs} +1 -1
  46. package/dist/{vue-ui-annotator-DeoWv4A3.js → vue-ui-annotator-DxegikPh.js} +2 -2
  47. package/dist/{vue-ui-annotator-BkZat_7T.cjs → vue-ui-annotator-Rvcr7Sf7.cjs} +1 -1
  48. package/dist/{vue-ui-bullet-D9jaszdm.cjs → vue-ui-bullet-BLYaTFAz.cjs} +1 -1
  49. package/dist/{vue-ui-bullet-CvjS0_Pz.js → vue-ui-bullet-CmuRRP70.js} +8 -8
  50. package/dist/{vue-ui-candlestick-gnsNiFI3.cjs → vue-ui-candlestick-BieBlp2c.cjs} +1 -1
  51. package/dist/{vue-ui-candlestick-xBYW3oOn.js → vue-ui-candlestick-DmA7Uqy4.js} +11 -11
  52. package/dist/{vue-ui-carousel-table-DNW8HJNv.cjs → vue-ui-carousel-table-9SZvnl9Q.cjs} +1 -1
  53. package/dist/{vue-ui-carousel-table-BKQIWhzt.js → vue-ui-carousel-table-CP0CJfcG.js} +4 -4
  54. package/dist/{vue-ui-chestnut-D9UKh8la.cjs → vue-ui-chestnut-CPF5eohd.cjs} +1 -1
  55. package/dist/{vue-ui-chestnut-C5RprHfl.js → vue-ui-chestnut-rna7-x5E.js} +8 -8
  56. package/dist/{vue-ui-circle-pack-Cx4gGG1K.js → vue-ui-circle-pack-COHe6gAY.js} +9 -9
  57. package/dist/{vue-ui-circle-pack-OTXbeD89.cjs → vue-ui-circle-pack-CwtKnUdV.cjs} +1 -1
  58. package/dist/{vue-ui-cursor-BuEDX1kV.cjs → vue-ui-cursor-B0CTU0OJ.cjs} +1 -1
  59. package/dist/{vue-ui-cursor-Cdvi-0lD.js → vue-ui-cursor-Bnz6m5UN.js} +2 -2
  60. package/dist/{vue-ui-dashboard-BAPaHtqr.cjs → vue-ui-dashboard-DZUi9h4u.cjs} +1 -1
  61. package/dist/{vue-ui-dashboard-BLHl6FJI.js → vue-ui-dashboard-DumW8xZp.js} +62 -62
  62. package/dist/{vue-ui-digits-CCAt8_aJ.js → vue-ui-digits-AvU7LQwA.js} +2 -2
  63. package/dist/{vue-ui-digits-YV4qxb86.cjs → vue-ui-digits-C9Lc2vf6.cjs} +1 -1
  64. package/dist/{vue-ui-donut-CNZIha3Z.js → vue-ui-donut-CF8KPH2H.js} +12 -12
  65. package/dist/{vue-ui-donut-BvjPFjpd.cjs → vue-ui-donut-CFadUVCm.cjs} +1 -1
  66. package/dist/{vue-ui-donut-evolution-Dxx5Psl4.cjs → vue-ui-donut-evolution-CF3yvm9u.cjs} +1 -1
  67. package/dist/{vue-ui-donut-evolution-DNhwy9qU.js → vue-ui-donut-evolution-D_eA5afL.js} +11 -11
  68. package/dist/{vue-ui-dumbbell-MGMSs7vG.cjs → vue-ui-dumbbell-CWZNqHum.cjs} +1 -1
  69. package/dist/{vue-ui-dumbbell-BmRkAtBK.js → vue-ui-dumbbell-CwvokBZU.js} +10 -10
  70. package/dist/vue-ui-flow-D8XUyGoY.cjs +3 -0
  71. package/dist/{vue-ui-flow-CxhJwDZa.js → vue-ui-flow-DH4I9526.js} +274 -273
  72. package/dist/{vue-ui-funnel-CJHKcUDg.js → vue-ui-funnel-BYQyM9Qy.js} +9 -9
  73. package/dist/{vue-ui-funnel-twMmn36_.cjs → vue-ui-funnel-Cj0ZTNhc.cjs} +1 -1
  74. package/dist/{vue-ui-galaxy-BjBTNZ6j.cjs → vue-ui-galaxy-BviAjFrA.cjs} +1 -1
  75. package/dist/{vue-ui-galaxy-CDonLoXv.js → vue-ui-galaxy-CKXBzmN1.js} +11 -11
  76. package/dist/{vue-ui-gauge-DXadxMZn.cjs → vue-ui-gauge-Cy31bXmf.cjs} +1 -1
  77. package/dist/{vue-ui-gauge-C7L0uVvx.js → vue-ui-gauge-DG6gMQYv.js} +7 -7
  78. package/dist/{vue-ui-gizmo-u7ypeW6n.cjs → vue-ui-gizmo-17lmQTkY.cjs} +1 -1
  79. package/dist/{vue-ui-gizmo-C9JuTLL-.js → vue-ui-gizmo-DFndi5tZ.js} +3 -3
  80. package/dist/{vue-ui-heatmap-Cjckqsrg.cjs → vue-ui-heatmap-BqjWfqcB.cjs} +1 -1
  81. package/dist/{vue-ui-heatmap-DaAgigHH.js → vue-ui-heatmap-D0qsMawE.js} +10 -10
  82. package/dist/{vue-ui-history-plot-KoGpnC64.js → vue-ui-history-plot-Cekgkdnm.js} +11 -11
  83. package/dist/{vue-ui-history-plot-YLMX8PqM.cjs → vue-ui-history-plot-Dgfl_nqu.cjs} +1 -1
  84. package/dist/{vue-ui-kpi-DNUDGlWM.js → vue-ui-kpi-DVJmaGJs.js} +3 -3
  85. package/dist/{vue-ui-kpi-GZlFX5zg.cjs → vue-ui-kpi-D_1edGUC.cjs} +1 -1
  86. package/dist/{vue-ui-mini-loader-D1HhmCbC.cjs → vue-ui-mini-loader-Ba-YuHH3.cjs} +1 -1
  87. package/dist/{vue-ui-mini-loader-9YvdM0_A.js → vue-ui-mini-loader-DeZTsVLO.js} +2 -2
  88. package/dist/{vue-ui-molecule-B71fJREj.js → vue-ui-molecule-Bl3QO6ap.js} +11 -11
  89. package/dist/{vue-ui-molecule-DDsKb9re.cjs → vue-ui-molecule-OfRmGbBu.cjs} +1 -1
  90. package/dist/{vue-ui-mood-radar-BO4yaBxo.cjs → vue-ui-mood-radar-C5m5P61q.cjs} +1 -1
  91. package/dist/{vue-ui-mood-radar-DH4RYmdT.js → vue-ui-mood-radar-DMAnLGTo.js} +11 -11
  92. package/dist/{vue-ui-nested-donuts-BlxuqLPb.cjs → vue-ui-nested-donuts-DfECvthA.cjs} +1 -1
  93. package/dist/{vue-ui-nested-donuts-bOXvQ01U.js → vue-ui-nested-donuts-pcIPwSEN.js} +11 -11
  94. package/dist/{vue-ui-onion-BugH4ThJ.cjs → vue-ui-onion-BERoTmw5.cjs} +1 -1
  95. package/dist/{vue-ui-onion-D7VhEicc.js → vue-ui-onion-BJQrXERJ.js} +11 -11
  96. package/dist/{vue-ui-parallel-coordinate-plot-DjTMM1Zt.cjs → vue-ui-parallel-coordinate-plot-CcxszfT5.cjs} +1 -1
  97. package/dist/{vue-ui-parallel-coordinate-plot-Bc5Yr0Yr.js → vue-ui-parallel-coordinate-plot-V5yjq2qt.js} +12 -12
  98. package/dist/{vue-ui-quadrant-Dni5Lkhg.cjs → vue-ui-quadrant-BjTSploz.cjs} +1 -1
  99. package/dist/{vue-ui-quadrant-PrjG5beo.js → vue-ui-quadrant-DmBXoM1K.js} +12 -12
  100. package/dist/{vue-ui-quick-chart-C46V8Ffa.js → vue-ui-quick-chart-8JQHu8_6.js} +9 -9
  101. package/dist/{vue-ui-quick-chart-LuGKbIvU.cjs → vue-ui-quick-chart-Vg51F_fv.cjs} +1 -1
  102. package/dist/{vue-ui-radar-05pd47HM.js → vue-ui-radar-B59hKBs9.js} +12 -12
  103. package/dist/{vue-ui-radar-j2Vgot8p.cjs → vue-ui-radar-DM6Sp8pR.cjs} +1 -1
  104. package/dist/{vue-ui-rating-Bl_q3TYs.js → vue-ui-rating-BOpo_dKd.js} +2 -2
  105. package/dist/{vue-ui-rating-ClxiMhPq.cjs → vue-ui-rating-DoWnn_wH.cjs} +1 -1
  106. package/dist/{vue-ui-relation-circle-Bu5eYbEg.js → vue-ui-relation-circle-BNSUjYth.js} +7 -7
  107. package/dist/{vue-ui-relation-circle-BuoQTWw_.cjs → vue-ui-relation-circle-Dw3E2cQS.cjs} +1 -1
  108. package/dist/{vue-ui-ridgeline-ESRn_Q1y.cjs → vue-ui-ridgeline-CfgyyLHT.cjs} +1 -1
  109. package/dist/{vue-ui-ridgeline-D4ot7MF8.js → vue-ui-ridgeline-DNLWxIOo.js} +12 -12
  110. package/dist/{vue-ui-rings-Dyl5VV9I.js → vue-ui-rings-Dz1eSPrm.js} +12 -12
  111. package/dist/{vue-ui-rings-D7o_vleu.cjs → vue-ui-rings-waaeEddc.cjs} +1 -1
  112. package/dist/{vue-ui-scatter-njuULIsD.js → vue-ui-scatter-CBfydDzi.js} +12 -12
  113. package/dist/{vue-ui-scatter-B31kZz0w.cjs → vue-ui-scatter-D66nsMM5.cjs} +1 -1
  114. package/dist/{vue-ui-skeleton-BSlYUHZA.js → vue-ui-skeleton-CJ9j8gHc.js} +3 -3
  115. package/dist/{vue-ui-skeleton-Db7PiDqL.cjs → vue-ui-skeleton-DcQQl9nv.cjs} +1 -1
  116. package/dist/{vue-ui-smiley-BmNRkSub.js → vue-ui-smiley-B62ZaIXL.js} +2 -2
  117. package/dist/{vue-ui-smiley-CfdbRWq6.cjs → vue-ui-smiley-CKgBpYEI.cjs} +1 -1
  118. package/dist/{vue-ui-spark-trend-CwtYlUEX.cjs → vue-ui-spark-trend-CcHJtofv.cjs} +1 -1
  119. package/dist/{vue-ui-spark-trend-B0Xvu1YP.js → vue-ui-spark-trend-DS6c__u7.js} +5 -5
  120. package/dist/{vue-ui-sparkbar-Xy7idkhv.cjs → vue-ui-sparkbar-ZAyG8tz6.cjs} +1 -1
  121. package/dist/{vue-ui-sparkbar-e2-8wHQH.js → vue-ui-sparkbar-oQceGXzy.js} +4 -4
  122. package/dist/{vue-ui-sparkgauge-vjcDqzGe.cjs → vue-ui-sparkgauge-DK08SKBD.cjs} +1 -1
  123. package/dist/{vue-ui-sparkgauge-_cMBBl3V.js → vue-ui-sparkgauge-Nqea8uqi.js} +4 -4
  124. package/dist/{vue-ui-sparkhistogram-BpD6XxfA.cjs → vue-ui-sparkhistogram-CRXHUkEG.cjs} +1 -1
  125. package/dist/{vue-ui-sparkhistogram-DUyGQgqZ.js → vue-ui-sparkhistogram-D53Fp0iI.js} +5 -5
  126. package/dist/{vue-ui-sparkline-D1wfG3Yw.js → vue-ui-sparkline-BGytINYe.js} +4 -4
  127. package/dist/{vue-ui-sparkline-cPPxz94c.cjs → vue-ui-sparkline-CcN5BzJC.cjs} +1 -1
  128. package/dist/{vue-ui-sparkstackbar-iRVpx_xT.cjs → vue-ui-sparkstackbar-BzN70G0w.cjs} +1 -1
  129. package/dist/{vue-ui-sparkstackbar-BCTx016Z.js → vue-ui-sparkstackbar-j7zxJEwR.js} +5 -5
  130. package/dist/{vue-ui-stackbar--QKW68d6.js → vue-ui-stackbar-DG1zFQ6I.js} +13 -13
  131. package/dist/{vue-ui-stackbar-DCotybpB.cjs → vue-ui-stackbar-_Rbe0zcH.cjs} +1 -1
  132. package/dist/{vue-ui-strip-plot-BhLBOV7s.js → vue-ui-strip-plot-BXBF0O7V.js} +11 -11
  133. package/dist/{vue-ui-strip-plot-CdceC4jP.cjs → vue-ui-strip-plot-DfLu7xBj.cjs} +1 -1
  134. package/dist/{vue-ui-table-DjDENKmJ.js → vue-ui-table-CQkGKA38.js} +3 -3
  135. package/dist/{vue-ui-table-heatmap-CZdiE-l3.js → vue-ui-table-heatmap-Be3sBs1v.js} +4 -4
  136. package/dist/{vue-ui-table-heatmap-gbdWhEG_.cjs → vue-ui-table-heatmap-D6q9ISlX.cjs} +1 -1
  137. package/dist/{vue-ui-table-Cd9UeZXy.cjs → vue-ui-table-jufn4CSz.cjs} +1 -1
  138. package/dist/{vue-ui-table-sparkline-zGotm14D.js → vue-ui-table-sparkline-BGA_BtKK.js} +5 -5
  139. package/dist/{vue-ui-table-sparkline-BFQ4DQRu.cjs → vue-ui-table-sparkline-DXn5vFtK.cjs} +1 -1
  140. package/dist/{vue-ui-thermometer-CRhrvWm0.cjs → vue-ui-thermometer-C2QTnZLg.cjs} +1 -1
  141. package/dist/{vue-ui-thermometer-DA3KgSw1.js → vue-ui-thermometer-D0ajQG3p.js} +7 -7
  142. package/dist/{vue-ui-timer-DnXYrfrB.cjs → vue-ui-timer-BUgMA6gQ.cjs} +1 -1
  143. package/dist/{vue-ui-timer-ult9htF3.js → vue-ui-timer-D8pO4CRs.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-CRXtVmEM.js → vue-ui-tiremarks-BBeVDMLy.js} +7 -7
  145. package/dist/{vue-ui-tiremarks-Dht-uT9E.cjs → vue-ui-tiremarks-Cz1hC6e6.cjs} +1 -1
  146. package/dist/{vue-ui-treemap-pbhS4FfC.cjs → vue-ui-treemap-BNuJbnXL.cjs} +1 -1
  147. package/dist/{vue-ui-treemap-Ck5tHVnE.js → vue-ui-treemap-DUoEwGF0.js} +12 -12
  148. package/dist/{vue-ui-vertical-bar-BZjsolLB.cjs → vue-ui-vertical-bar-ASDnRvkD.cjs} +1 -1
  149. package/dist/{vue-ui-vertical-bar-egz76l34.js → vue-ui-vertical-bar-j-ZfufVH.js} +12 -12
  150. package/dist/{vue-ui-waffle-C7za7d0u.cjs → vue-ui-waffle-CHV-QmJq.cjs} +1 -1
  151. package/dist/{vue-ui-waffle-CrMkCjJJ.js → vue-ui-waffle-Dev3qUVT.js} +12 -12
  152. package/dist/{vue-ui-wheel-DIgPyNrB.cjs → vue-ui-wheel-Drcpu-bo.cjs} +1 -1
  153. package/dist/{vue-ui-wheel-DzMpr4xY.js → vue-ui-wheel-JMze39OW.js} +7 -7
  154. package/dist/{vue-ui-word-cloud-CNqAz548.cjs → vue-ui-word-cloud-B_8TgWf5.cjs} +1 -1
  155. package/dist/{vue-ui-word-cloud-TS3az-LK.js → vue-ui-word-cloud-Bywulitd.js} +10 -10
  156. package/dist/{vue-ui-world-DMdqTY5G.cjs → vue-ui-world-BPpDQcP7.cjs} +1 -1
  157. package/dist/{vue-ui-world-D3X01xYB.js → vue-ui-world-BSDboMw1.js} +11 -11
  158. package/dist/{vue-ui-xy-CF87Afh2.cjs → vue-ui-xy-Do294mp4.cjs} +2 -2
  159. package/dist/{vue-ui-xy-tIBPr8r8.js → vue-ui-xy-_RG7ZoSc.js} +16 -16
  160. package/dist/{vue-ui-xy-canvas-2IL8lPL4.cjs → vue-ui-xy-canvas-BHznnIA0.cjs} +1 -1
  161. package/dist/{vue-ui-xy-canvas-BHeV-3t9.js → vue-ui-xy-canvas-Cs3pXcFe.js} +12 -12
  162. package/package.json +1 -1
  163. package/dist/PackageVersion-DxR-fKLM.cjs +0 -1
  164. package/dist/vue-ui-flow-B3t_sNr4.cjs +0 -3
@@ -1,34 +1,34 @@
1
- import { computed as m, onMounted as ot, ref as b, watch as lt, createElementBlock as y, openBlock as c, unref as v, normalizeStyle as F, normalizeClass as He, createBlock as H, createCommentVNode as x, createElementVNode as Y, createVNode as de, createSlots as at, withCtx as $, renderSlot as k, normalizeProps as D, guardReactiveProps as B, Fragment as U, renderList as V, toDisplayString as W, createTextVNode as nt, nextTick as st } from "vue";
2
- import { u as rt, o as ut, e as it, c as ve, t as ct, p as L, a as dt, b as vt, v as _, d as ft, f as j, X as ht, G as Ye, J as pt, i as fe, q as gt, r as mt, x as yt } from "./index-Co5UfCMK.js";
3
- import { _ as bt } from "./Title-tlFeM12I.js";
4
- import { u as kt, U as Ct } from "./usePrinter-D_wgo-7k.js";
5
- import { D as wt } from "./DataTable-CX-Ynkp4.js";
6
- import $t from "./vue-ui-accordion-CfB_jW1X.js";
7
- import _t from "./vue-ui-skeleton-BSlYUHZA.js";
8
- import { u as De } from "./useNestedProp-C22WP03t.js";
9
- import { _ as Tt } from "./PackageVersion-CkUbRQrt.js";
10
- import { _ as xt } from "./PenAndPaper-Br3OdauM.js";
11
- import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as Ot } from "./useChartAccessibility-BWojgys7.js";
13
- import { _ as St } from "./Tooltip-BCtHh3BT.js";
14
- import { L as Ft } from "./Legend-BTvPguV6.js";
15
- import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Pt = ["id"], It = {
1
+ import { computed as g, onMounted as et, ref as b, watch as tt, createElementBlock as m, openBlock as c, unref as d, normalizeStyle as P, normalizeClass as Ae, createBlock as B, createCommentVNode as x, createElementVNode as Y, createVNode as de, createSlots as ot, withCtx as $, renderSlot as k, normalizeProps as D, guardReactiveProps as R, Fragment as V, renderList as W, toDisplayString as j, createTextVNode as lt, nextTick as at } from "vue";
2
+ import { u as nt, o as st, e as rt, c as ve, t as ut, p as O, a as it, b as ct, v as _, d as dt, f as X, X as vt, G as Me, J as ft, i as fe, q as ht, r as pt, x as gt } from "./index-DvXHhwi7.js";
3
+ import { _ as mt } from "./Title-CiymPFBZ.js";
4
+ import { u as yt, U as bt } from "./usePrinter-D0Njbrwg.js";
5
+ import { D as kt } from "./DataTable-Dz3uePkM.js";
6
+ import Ct from "./vue-ui-accordion-rd6DBLB5.js";
7
+ import wt from "./vue-ui-skeleton-CJ9j8gHc.js";
8
+ import { u as He } from "./useNestedProp-Bw2_FZ80.js";
9
+ import { _ as $t } from "./PackageVersion-BNm7stW7.js";
10
+ import { _ as _t } from "./PenAndPaper-Ba1SBNDw.js";
11
+ import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
12
+ import { u as xt } from "./useChartAccessibility-BWojgys7.js";
13
+ import { _ as Nt } from "./Tooltip-BXojuEca.js";
14
+ import { L as Ot } from "./Legend-DRjI7VTS.js";
15
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Ft = ["id"], Lt = {
17
17
  key: 1,
18
18
  ref: "noTitle",
19
19
  class: "vue-data-ui-no-title-space",
20
20
  style: "height:36px; width: 100%;background:transparent"
21
- }, Et = {
21
+ }, Pt = {
22
22
  key: 2,
23
23
  style: "width:100%;background:transparent;padding-bottom:24px"
24
- }, zt = ["xmlns", "viewBox"], At = ["width", "height"], Mt = ["id"], Ht = ["stop-color"], Yt = ["stop-color"], Dt = ["d", "fill", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], Gt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Ut = {
24
+ }, It = ["xmlns", "viewBox"], Et = ["width", "height"], zt = ["id"], At = ["stop-color"], Mt = ["stop-color"], Ht = ["d", "fill", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], Yt = ["x", "y", "font-size", "fill"], Dt = ["x", "y", "font-size", "fill"], Rt = {
25
25
  key: 4,
26
26
  class: "vue-data-ui-watermark"
27
- }, Vt = ["onClick"], Wt = {
27
+ }, Gt = ["onClick"], Ut = {
28
28
  key: 6,
29
29
  ref: "source",
30
30
  dir: "auto"
31
- }, jt = ["innerHTML"], Xt = {
31
+ }, Vt = ["innerHTML"], Wt = {
32
32
  __name: "vue-ui-flow",
33
33
  props: {
34
34
  config: {
@@ -44,67 +44,67 @@ const Pt = ["id"], It = {
44
44
  }
45
45
  }
46
46
  },
47
- setup(Be, { expose: Ge }) {
48
- const { vue_ui_flow: Re } = rt(), T = Be, te = m(() => !!T.dataset && T.dataset.length);
49
- ot(() => {
47
+ setup(Be, { expose: Ye }) {
48
+ const { vue_ui_flow: De } = nt(), T = Be, ee = g(() => !!T.dataset && T.dataset.length);
49
+ et(() => {
50
50
  he();
51
51
  });
52
52
  function he() {
53
- ut(T.dataset) && it({
53
+ st(T.dataset) && rt({
54
54
  componentName: "VueUiFlow",
55
55
  type: "dataset"
56
56
  });
57
57
  }
58
- const oe = b(ve()), le = b(null), pe = b(0), ge = b(0), ae = b(!1), ne = b(""), Ue = b(null), E = b(!1);
59
- function Ve(t) {
60
- E.value = t, pe.value += 1;
58
+ const te = b(ve()), oe = b(null), pe = b(0), ge = b(0), le = b(!1), ae = b(""), Re = b(null), z = b(!1);
59
+ function Ge(t) {
60
+ z.value = t, pe.value += 1;
61
61
  }
62
- const e = m({
62
+ const e = g({
63
63
  get: () => ke(),
64
64
  set: (t) => t
65
- }), { userOptionsVisible: se, setUserOptionsVisibility: me, keepUserOptionState: ye } = Nt({ config: e.value }), { svgRef: be } = Ot({
65
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: me, keepUserOptionState: ye } = Tt({ config: e.value }), { svgRef: be } = xt({
66
66
  config: e.value.style.chart.title
67
67
  });
68
68
  function ke() {
69
- const t = De({
69
+ const t = He({
70
70
  userConfig: T.config,
71
- defaultConfig: Re
71
+ defaultConfig: De
72
72
  });
73
73
  let l = t;
74
74
  return t.theme ? l = {
75
- ...De({
76
- userConfig: dt.vue_ui_flow[t.theme] || T.config,
75
+ ...He({
76
+ userConfig: it.vue_ui_flow[t.theme] || T.config,
77
77
  defaultConfig: t
78
78
  }),
79
- customPalette: ct[t.theme] || L
79
+ customPalette: ut[t.theme] || O
80
80
  } : l = t, l.nodeCategories = T.config.nodeCategories || {}, l.nodeCategoryColors = T.config.nodeCategoryColors || {}, l;
81
81
  }
82
- lt(
82
+ tt(
83
83
  () => T.config,
84
84
  (t) => {
85
- e.value = ke(), se.value = !e.value.userOptions.showOnChartHover, he(), ge.value += 1, N.value.showTable = e.value.table.show;
85
+ e.value = ke(), ne.value = !e.value.userOptions.showOnChartHover, he(), ge.value += 1, N.value.showTable = e.value.table.show;
86
86
  },
87
87
  { deep: !0 }
88
88
  );
89
- const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = kt({
90
- elementId: `flow_${oe.value}`,
89
+ const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = yt({
90
+ elementId: `flow_${te.value}`,
91
91
  fileName: e.value.style.chart.title.text || "vue-ui-flow",
92
92
  options: e.value.userOptions.print
93
- }), We = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), X = m(() => vt(e.value.customPalette)), Te = m(() => e.value.style.chart.nodes.gap), z = m(() => e.value.style.chart.nodes.width), N = b({
93
+ }), Ue = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), q = g(() => ct(e.value.customPalette)), Te = g(() => e.value.style.chart.nodes.gap), A = g(() => e.value.style.chart.nodes.width), N = b({
94
94
  showTable: e.value.table.show,
95
95
  showTooltip: e.value.style.chart.tooltip.show
96
- }), xe = m(() => e.value.style.chart.links.width), q = m(() => !T.dataset || !T.dataset.length ? [] : T.dataset.map((t, l) => [
96
+ }), Ve = g(() => e.value.style.chart.links.width), se = g(() => !T.dataset || !T.dataset.length ? [] : T.dataset.map((t, l) => [
97
97
  t[0],
98
98
  t[1],
99
99
  _(t[2]),
100
- t[3] ? ft(t[3]) : X.value[l] || X.value[l % X.value.length] || L[l] || L[l % d.length]
101
- ])), Ne = m(() => {
100
+ t[3] ? dt(t[3]) : q.value[l] || q.value[l % q.value.length] || O[l] || O[l % O.length]
101
+ ])), xe = g(() => {
102
102
  const t = {};
103
103
  function l(a) {
104
104
  t[a] || (t[a] = { inflow: 0, outflow: 0 });
105
105
  }
106
- q.value.forEach(([a, s, p]) => {
107
- l(a), l(s), t[a].outflow += p, t[s].inflow += p;
106
+ se.value.forEach(([a, s, h]) => {
107
+ l(a), l(s), t[a].outflow += h, t[s].inflow += h;
108
108
  });
109
109
  let o = 0;
110
110
  for (const a in t) {
@@ -113,14 +113,14 @@ const Pt = ["id"], It = {
113
113
  }
114
114
  return o;
115
115
  });
116
- function je(t) {
117
- return t / Ne.value * 100 + e.value.style.chart.nodes.minHeight;
116
+ function We(t) {
117
+ return t / xe.value * 100 + e.value.style.chart.nodes.minHeight;
118
118
  }
119
- function Xe(t) {
119
+ function je(t) {
120
120
  const l = e.value.style.chart.nodes.minHeight;
121
- return (t - l) / 100 * Ne.value;
121
+ return (t - l) / 100 * xe.value;
122
122
  }
123
- function qe(t) {
123
+ function Xe(t) {
124
124
  const l = {}, o = {};
125
125
  function a(n, u) {
126
126
  l[n] || (l[n] = {
@@ -133,71 +133,71 @@ const Pt = ["id"], It = {
133
133
  }
134
134
  t.forEach(([n, u, i]) => {
135
135
  var r;
136
- const f = ((r = l[n]) == null ? void 0 : r.level) ?? 0, g = f + 1;
137
- a(n, f), a(u, g), l[n].children || (l[n].children = []), l[n].children.push({ target: u, value: i }), l[n].outflow += i, l[u].inflow += i;
136
+ const v = ((r = l[n]) == null ? void 0 : r.level) ?? 0, p = v + 1;
137
+ a(n, v), a(u, p), l[n].children || (l[n].children = []), l[n].children.push({ target: u, value: i }), l[n].outflow += i, l[u].inflow += i;
138
138
  });
139
- const s = new Set(t.map(([n]) => n)), p = new Set(t.map(([, n]) => n)), M = Array.from(s).filter((n) => !p.has(n)), Q = {};
140
- M.forEach((n, u) => {
141
- Q[n] = X.value[u] || L[u % L.length];
139
+ const s = new Set(t.map(([n]) => n)), h = new Set(t.map(([, n]) => n)), S = Array.from(s).filter((n) => !h.has(n)), U = {};
140
+ S.forEach((n, u) => {
141
+ U[n] = q.value[u] || O[u % O.length];
142
142
  });
143
- const R = {};
144
- t.forEach(([n, u, i, f]) => {
145
- f && (R[n] = f, R[u] = f);
143
+ const E = {};
144
+ t.forEach(([n, u, i, v]) => {
145
+ v && (E[n] = v, E[u] = v);
146
146
  }), Object.keys(l).forEach((n, u) => {
147
- var g, r;
148
- const i = (g = e.value.nodeCategories) == null ? void 0 : g[n], f = i ? (r = e.value.nodeCategoryColors) == null ? void 0 : r[i] : null;
149
- l[n].color = R[n] || // 1) explicit
150
- f || // 2) category
151
- (M.includes(n) ? Q[n] : null) || // 3) root
152
- L[u % L.length];
147
+ var p, r;
148
+ const i = (p = e.value.nodeCategories) == null ? void 0 : p[n], v = i ? (r = e.value.nodeCategoryColors) == null ? void 0 : r[i] : null;
149
+ l[n].color = E[n] || // 1) explicit
150
+ v || // 2) category
151
+ (S.includes(n) ? U[n] : null) || // 3) root
152
+ O[u % O.length];
153
153
  });
154
154
  for (const n in l)
155
- l[n].height = je(
155
+ l[n].height = We(
156
156
  Math.max(l[n].inflow, l[n].outflow)
157
157
  ), l[n].name = n;
158
- const O = {};
158
+ const w = {};
159
159
  for (const n in o) {
160
160
  let u = 0;
161
- o[n].forEach((i, f) => {
162
- const g = l[i];
163
- O[i] = {
164
- x: parseInt(n, 10) * xe.value + e.value.style.chart.padding.left,
161
+ o[n].forEach((i, v) => {
162
+ const p = l[i];
163
+ w[i] = {
164
+ x: parseInt(n, 10) * Ve.value + e.value.style.chart.padding.left,
165
165
  y: u,
166
166
  absoluteY: u,
167
- height: g.height,
168
- i: f,
169
- color: g.color,
170
- value: Xe(g.height)
171
- }, u += g.height + Te.value;
167
+ height: p.height,
168
+ i: v,
169
+ color: p.color,
170
+ value: je(p.height)
171
+ }, u += p.height + Te.value;
172
172
  });
173
173
  }
174
- const I = [];
174
+ const F = [];
175
175
  for (const n of Object.keys(l)) {
176
- let u = O[n].absoluteY + e.value.style.chart.padding.top;
177
- const i = l[n], f = O[n];
178
- i.children && i.children.forEach(({ target: g, value: r }) => {
179
- const h = O[g], S = l[g], ee = _(u), Ae = _(
180
- u + r / i.outflow * f.height
176
+ let u = w[n].absoluteY + e.value.style.chart.padding.top;
177
+ const i = l[n], v = w[n];
178
+ i.children && i.children.forEach(({ target: p, value: r }) => {
179
+ const f = w[p], L = l[p], Q = _(u), Ee = _(
180
+ u + r / i.outflow * v.height
181
181
  ), ce = _(
182
- h.y + e.value.style.chart.padding.top
183
- ), Me = _(
184
- ce + r / S.inflow * h.height
182
+ f.y + e.value.style.chart.padding.top
183
+ ), ze = _(
184
+ ce + r / L.inflow * f.height
185
185
  );
186
- I.push({
186
+ F.push({
187
187
  id: ve(),
188
188
  source: n,
189
- target: g,
190
- path: `M ${_(f.x + z.value)} ${ee} L ${_(f.x + z.value)} ${Ae} L ${_(h.x)} ${Me} L ${_(h.x)} ${ce} Z`,
189
+ target: p,
190
+ path: `M ${_(v.x + A.value)} ${Q} L ${_(v.x + A.value)} ${Ee} L ${_(f.x)} ${ze} L ${_(f.x)} ${ce} Z`,
191
191
  value: r,
192
192
  sourceColor: i.color,
193
- targetColor: S.color
194
- }), u += Ae - ee, O[g].y += Me - ce;
193
+ targetColor: L.color
194
+ }), u += Ee - Q, w[p].y += ze - ce;
195
195
  });
196
196
  }
197
- return { nodeCoordinates: O, links: I };
197
+ return { nodeCoordinates: w, links: F };
198
198
  }
199
- const C = m(() => {
200
- const t = qe(T.dataset);
199
+ const y = g(() => {
200
+ const t = Xe(T.dataset);
201
201
  return {
202
202
  nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
203
203
  ...t.nodeCoordinates[l],
@@ -205,108 +205,109 @@ const Pt = ["id"], It = {
205
205
  })),
206
206
  links: t.links
207
207
  };
208
- }), Je = m(() => Ze(C.value.nodes));
209
- function Ze(t) {
208
+ });
209
+ g(() => qe(y.value.nodes));
210
+ function qe(t) {
210
211
  const l = {};
211
212
  for (const a in t) {
212
- const { x: s, height: p } = t[a];
213
- l[s] || (l[s] = 0), l[s] += p + Te.value;
213
+ const { x: s, height: h } = t[a];
214
+ l[s] || (l[s] = 0), l[s] += h + Te.value;
214
215
  }
215
216
  return Math.max(...Object.values(l));
216
217
  }
217
- const G = m(() => {
218
- const {
219
- top: t,
220
- right: l,
221
- left: o,
222
- bottom: a
223
- } = e.value.style.chart.padding, s = q.value.length * xe.value;
218
+ const G = g(() => {
219
+ const t = e.value.style.chart.padding, l = t.top, o = t.bottom, a = t.left, s = t.right, h = y.value.nodes.reduce(
220
+ (H, w) => Math.max(H, w.x),
221
+ 0
222
+ ), S = a + h + A.value + s, E = y.value.nodes.reduce((H, w) => {
223
+ const n = w.y + l + w.height;
224
+ return Math.max(H, n);
225
+ }, 0) + o;
224
226
  return {
225
- height: Je.value + t + a,
226
- width: l + Math.max(...C.value.nodes.map((p) => p.x)) + z.value,
227
- left: o,
228
- top: t,
229
- right: s - l,
230
- p_top: t,
231
- p_bottom: a
227
+ width: S,
228
+ height: E,
229
+ left: a,
230
+ top: l,
231
+ right: s,
232
+ bottom: o
232
233
  };
233
234
  });
234
- function Ke(t) {
235
+ function Je(t) {
235
236
  const l = {}, o = {}, a = /* @__PURE__ */ new Set();
236
- return q.value.forEach(([s, p, M]) => {
237
- l[s] || (l[s] = []), o[p] || (o[p] = []), l[s].push(p), o[p].push(s);
237
+ return se.value.forEach(([s, h, S]) => {
238
+ l[s] || (l[s] = []), o[h] || (o[h] = []), l[s].push(h), o[h].push(s);
238
239
  }), l[t] && l[t].forEach((s) => a.add(s)), o[t] && o[t].forEach((s) => a.add(s)), Array.from(a).concat(t);
239
240
  }
240
- const w = b(null), A = b(null), re = b(null), J = b(!1);
241
- function Qe(t) {
242
- P.value = [], w.value = Ke(t.name), A.value = t.name;
243
- const l = t.name, o = q.value;
244
- let a = 0, s = 0, p = [], M = [];
245
- const Q = new Set(o.map(([r]) => r)), R = new Set(o.map(([, r]) => r)), ze = Array.from(Q).filter((r) => !R.has(r)), O = o.filter(([r]) => ze.includes(r)).reduce((r, [h, S, ee]) => r + ee, 0), I = {};
246
- C.value.nodes.forEach((r) => {
247
- I[r.name] = r.color;
248
- }), o.forEach(([r, h, S]) => {
249
- h === l && (a += S, p.push({ source: r, value: S, color: I[r] })), r === l && (s += S, M.push({ target: h, value: S, color: I[h] }));
241
+ const C = b(null), M = b(null), re = b(null), J = b(!1);
242
+ function Ze(t) {
243
+ I.value = [], C.value = Je(t.name), M.value = t.name;
244
+ const l = t.name, o = se.value;
245
+ let a = 0, s = 0, h = [], S = [];
246
+ const U = new Set(o.map(([r]) => r)), E = new Set(o.map(([, r]) => r)), H = Array.from(U).filter((r) => !E.has(r)), w = o.filter(([r]) => H.includes(r)).reduce((r, [f, L, Q]) => r + Q, 0), F = {};
247
+ y.value.nodes.forEach((r) => {
248
+ F[r.name] = r.color;
249
+ }), o.forEach(([r, f, L]) => {
250
+ f === l && (a += L, h.push({ source: r, value: L, color: F[r] })), r === l && (s += L, S.push({ target: f, value: L, color: F[f] }));
250
251
  });
251
- const n = Math.max(a, s), u = O > 0 ? n / O * 100 : 0, i = {
252
+ const n = Math.max(a, s), u = w > 0 ? n / w * 100 : 0, i = {
252
253
  name: l,
253
254
  inflow: a,
254
255
  outflow: s,
255
- from: p,
256
- to: M,
256
+ from: h,
257
+ to: S,
257
258
  percentOfTotal: u,
258
- color: I[l] || "#000000"
259
+ color: F[l] || "#000000"
259
260
  };
260
- re.value = { datapoint: i }, ae.value = !0;
261
- let f = "";
262
- const g = e.value.style.chart.tooltip.customFormat;
263
- if (J.value = !1, yt(g))
261
+ re.value = { datapoint: i }, le.value = !0;
262
+ let v = "";
263
+ const p = e.value.style.chart.tooltip.customFormat;
264
+ if (J.value = !1, gt(p))
264
265
  try {
265
- const r = g({
266
+ const r = p({
266
267
  datapoint: i,
267
- series: C.value,
268
+ series: y.value,
268
269
  config: e.value
269
270
  });
270
- typeof r == "string" && (ne.value = r, J.value = !0);
271
+ typeof r == "string" && (ae.value = r, J.value = !0);
271
272
  } catch {
272
273
  console.warn("Custom format cannot be applied.");
273
274
  }
274
275
  if (!J.value) {
275
- const r = e.value.style.chart.tooltip.showPercentage ? `<div>${j({
276
+ const r = e.value.style.chart.tooltip.showPercentage ? `<div>${X({
276
277
  p: e.value.style.chart.tooltip.translations.percentOfTotal,
277
278
  v: i.percentOfTotal,
278
279
  s: "%",
279
280
  r: e.value.style.chart.tooltip.roundingPercentage
280
281
  })}</div>` : "";
281
- f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${i.color}">⏹</span>${i.name}${r}</div>`, i.from.length && (f += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, i.from.forEach((h) => {
282
- f += `<div><span style="color:${h.color}">⏹←</span> ${h.source}: ${fe(
282
+ v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${i.color}">⏹</span>${i.name}${r}</div>`, i.from.length && (v += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, i.from.forEach((f) => {
283
+ v += `<div><span style="color:${f.color}">⏹←</span> ${f.source}: ${fe(
283
284
  e.value.style.chart.nodes.labels.formatter,
284
- h.value,
285
- j({
285
+ f.value,
286
+ X({
286
287
  p: e.value.style.chart.nodes.labels.prefix,
287
- v: h.value,
288
+ v: f.value,
288
289
  s: e.value.style.chart.nodes.labels.suffix,
289
290
  r: e.value.style.chart.nodes.labels.rounding
290
291
  })
291
292
  )}</div>`;
292
- })), i.to.length && (f += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, i.to.forEach((h) => {
293
- f += `<div><span style="color:${h.color}">⏹→</span> ${h.target}: ${fe(
293
+ })), i.to.length && (v += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, i.to.forEach((f) => {
294
+ v += `<div><span style="color:${f.color}">⏹→</span> ${f.target}: ${fe(
294
295
  e.value.style.chart.nodes.labels.formatter,
295
- h.value,
296
- j({
296
+ f.value,
297
+ X({
297
298
  p: e.value.style.chart.nodes.labels.prefix,
298
- v: h.value,
299
+ v: f.value,
299
300
  s: e.value.style.chart.nodes.labels.suffix,
300
301
  r: e.value.style.chart.nodes.labels.rounding
301
302
  })
302
303
  )}</div>`;
303
- })), ne.value = f;
304
+ })), ae.value = v;
304
305
  }
305
306
  }
306
- function Oe() {
307
- w.value = null, A.value = null, ae.value = !1;
307
+ function Ne() {
308
+ C.value = null, M.value = null, le.value = !1;
308
309
  }
309
- const Se = m(() => C.value.links.map(
310
+ const Oe = g(() => y.value.links.map(
310
311
  ({ source: t, target: l, sourceColor: o, targetColor: a, value: s }) => ({
311
312
  source: t,
312
313
  target: l,
@@ -315,9 +316,9 @@ const Pt = ["id"], It = {
315
316
  value: s
316
317
  })
317
318
  ));
318
- function Fe() {
319
- st(() => {
320
- const t = Se.value.map((a, s) => [[a.source], [a.target], [a.value]]), l = [
319
+ function Se() {
320
+ at(() => {
321
+ const t = Oe.value.map((a, s) => [[a.source], [a.target], [a.value]]), l = [
321
322
  [e.value.style.chart.title.text],
322
323
  [e.value.style.chart.title.subtitle.text],
323
324
  [
@@ -325,19 +326,19 @@ const Pt = ["id"], It = {
325
326
  [e.value.table.columnNames.target],
326
327
  [e.value.table.columnNames.value]
327
328
  ]
328
- ].concat(t), o = gt(l);
329
- mt({
329
+ ].concat(t), o = ht(l);
330
+ pt({
330
331
  csvContent: o,
331
332
  title: e.value.style.chart.title.text || "vue-ui-flow"
332
333
  });
333
334
  });
334
335
  }
335
- const Z = m(() => {
336
+ const Z = g(() => {
336
337
  const t = [
337
338
  e.value.table.columnNames.source,
338
339
  e.value.table.columnNames.target,
339
340
  e.value.table.columnNames.value
340
- ], l = Se.value.map((s, p) => [
341
+ ], l = Oe.value.map((s, h) => [
341
342
  {
342
343
  color: s.sourceColor,
343
344
  name: s.source
@@ -346,7 +347,7 @@ const Pt = ["id"], It = {
346
347
  color: s.targetColor,
347
348
  name: s.target
348
349
  },
349
- j({
350
+ X({
350
351
  p: e.value.style.chart.nodes.labels.prefix,
351
352
  v: s.value,
352
353
  s: e.value.style.chart.nodes.labels.suffix,
@@ -376,52 +377,52 @@ const Pt = ["id"], It = {
376
377
  config: o
377
378
  };
378
379
  });
379
- function et() {
380
- return C.value;
380
+ function Ke() {
381
+ return y.value;
381
382
  }
382
- function Le() {
383
+ function Fe() {
383
384
  N.value.showTable = !N.value.showTable;
384
385
  }
385
386
  const K = b(!1);
386
387
  function ue() {
387
388
  K.value = !K.value;
388
389
  }
389
- function Pe() {
390
+ function Le() {
390
391
  N.value.showTooltip = !N.value.showTooltip;
391
392
  }
392
- const Ie = m(() => {
393
+ const Pe = g(() => {
393
394
  const t = new Set(
394
- C.value.nodes.map(
395
+ y.value.nodes.map(
395
396
  (l) => e.value.nodeCategories[l.name] || "__uncategorized__"
396
397
  )
397
398
  );
398
399
  return Array.from(t).map((l) => ({
399
400
  name: l,
400
- color: e.value.nodeCategoryColors[l] || L[0],
401
+ color: e.value.nodeCategoryColors[l] || O[0],
401
402
  shape: "square",
402
- count: C.value.nodes.filter(
403
+ count: y.value.nodes.filter(
403
404
  (o) => (e.value.nodeCategories[o.name] || "__uncategorized__") === l
404
405
  ).length
405
406
  })).map((l, o) => ({
406
407
  ...l,
407
408
  segregate: () => ie({ legend: l, i: o }),
408
- opacity: P.value.length ? P.value.includes(o) ? 1 : 0.5 : 1
409
+ opacity: I.value.length ? I.value.includes(o) ? 1 : 0.5 : 1
409
410
  }));
410
- }), Ee = m(
411
- () => Ie.value.filter((t) => t.name !== "__uncategorized__")
412
- ), P = b([]);
411
+ }), Ie = g(
412
+ () => Pe.value.filter((t) => t.name !== "__uncategorized__")
413
+ ), I = b([]);
413
414
  function ie({ legend: t, i: l }) {
414
415
  var a;
415
416
  const o = t.name;
416
- if ((a = w.value) != null && a.every(
417
+ if ((a = C.value) != null && a.every(
417
418
  (s) => e.value.nodeCategories[s] === o
418
419
  )) {
419
- w.value = null, A.value = null, P.value = [];
420
+ C.value = null, M.value = null, I.value = [];
420
421
  return;
421
422
  }
422
- P.value = [l], w.value = C.value.nodes.filter((s) => e.value.nodeCategories[s.name] === o).map((s) => s.name), A.value = null;
423
+ I.value = [l], C.value = y.value.nodes.filter((s) => e.value.nodeCategories[s.name] === o).map((s) => s.name), M.value = null;
423
424
  }
424
- const tt = m(() => ({
425
+ const Qe = g(() => ({
425
426
  cy: "flow-legend",
426
427
  backgroundColor: e.value.style.chart.legend.backgroundColor,
427
428
  color: e.value.style.chart.legend.color,
@@ -429,36 +430,36 @@ const Pt = ["id"], It = {
429
430
  paddingBottom: e.value.style.chart.legend.paddingBottom,
430
431
  fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
431
432
  }));
432
- return Ge({
433
- getData: et,
434
- generateCsv: Fe,
433
+ return Ye({
434
+ getData: Ke,
435
+ generateCsv: Se,
435
436
  generateImage: _e,
436
437
  generatePdf: $e,
437
- toggleTable: Le,
438
+ toggleTable: Fe,
438
439
  toggleAnnotator: ue,
439
- toggleTooltip: Pe,
440
+ toggleTooltip: Le,
440
441
  drillCategory: ie,
441
- unselectNode: Oe
442
- }), (t, l) => (c(), y("div", {
442
+ unselectNode: Ne
443
+ }), (t, l) => (c(), m("div", {
443
444
  ref_key: "flowChart",
444
- ref: le,
445
- class: He(`vue-ui-flow ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
446
- style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
447
- id: `flow_${oe.value}`,
448
- onMouseenter: l[3] || (l[3] = () => v(me)(!0)),
449
- onMouseleave: l[4] || (l[4] = () => v(me)(!1))
445
+ ref: oe,
446
+ class: Ae(`vue-ui-flow ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
447
+ style: P(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
448
+ id: `flow_${te.value}`,
449
+ onMouseenter: l[3] || (l[3] = () => d(me)(!0)),
450
+ onMouseleave: l[4] || (l[4] = () => d(me)(!1))
450
451
  }, [
451
- e.value.userOptions.buttons.annotator ? (c(), H(xt, {
452
+ e.value.userOptions.buttons.annotator ? (c(), B(_t, {
452
453
  key: 0,
453
- svgRef: v(be),
454
+ svgRef: d(be),
454
455
  backgroundColor: e.value.style.chart.backgroundColor,
455
456
  color: e.value.style.chart.color,
456
457
  active: K.value,
457
458
  onClose: ue
458
459
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
459
- We.value ? (c(), y("div", It, null, 512)) : x("", !0),
460
- e.value.style.chart.title.text ? (c(), y("div", Et, [
461
- (c(), H(bt, {
460
+ Ue.value ? (c(), m("div", Lt, null, 512)) : x("", !0),
461
+ e.value.style.chart.title.text ? (c(), m("div", Pt, [
462
+ (c(), B(mt, {
462
463
  key: `title_${ge.value}`,
463
464
  config: {
464
465
  title: {
@@ -472,42 +473,42 @@ const Pt = ["id"], It = {
472
473
  }
473
474
  }, null, 8, ["config"]))
474
475
  ])) : x("", !0),
475
- e.value.userOptions.show && te.value && (v(ye) || v(se)) ? (c(), H(Ct, {
476
+ e.value.userOptions.show && ee.value && (d(ye) || d(ne)) ? (c(), B(bt, {
476
477
  ref: "details",
477
478
  key: `user_option_${pe.value}`,
478
479
  backgroundColor: e.value.style.chart.backgroundColor,
479
480
  color: e.value.style.chart.color,
480
- isPrinting: v(Ce),
481
- isImaging: v(we),
482
- uid: oe.value,
481
+ isPrinting: d(Ce),
482
+ isImaging: d(we),
483
+ uid: te.value,
483
484
  hasPdf: e.value.userOptions.buttons.pdf,
484
485
  hasXls: e.value.userOptions.buttons.csv,
485
486
  hasImg: e.value.userOptions.buttons.img,
486
487
  hasTable: e.value.userOptions.buttons.table,
487
488
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
488
- isFullscreen: E.value,
489
+ isFullscreen: z.value,
489
490
  titles: { ...e.value.userOptions.buttonTitles },
490
- chartElement: le.value,
491
+ chartElement: oe.value,
491
492
  position: e.value.userOptions.position,
492
493
  hasAnnotator: e.value.userOptions.buttons.annotator,
493
494
  isAnnotation: K.value,
494
495
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
495
496
  isTooltip: N.value.showTooltip,
496
- onToggleTooltip: Pe,
497
- onToggleFullscreen: Ve,
498
- onGeneratePdf: v($e),
499
- onGenerateCsv: Fe,
500
- onGenerateImage: v(_e),
501
- onToggleTable: Le,
497
+ onToggleTooltip: Le,
498
+ onToggleFullscreen: Ge,
499
+ onGeneratePdf: d($e),
500
+ onGenerateCsv: Se,
501
+ onGenerateImage: d(_e),
502
+ onToggleTable: Fe,
502
503
  onToggleAnnotator: ue,
503
- style: F({
504
- visibility: v(ye) ? v(se) ? "visible" : "hidden" : "visible"
504
+ style: P({
505
+ visibility: d(ye) ? d(ne) ? "visible" : "hidden" : "visible"
505
506
  })
506
- }, at({ _: 2 }, [
507
+ }, ot({ _: 2 }, [
507
508
  t.$slots.menuIcon ? {
508
509
  name: "menuIcon",
509
510
  fn: $(({ isOpen: o, color: a }) => [
510
- k(t.$slots, "menuIcon", D(B({ isOpen: o, color: a })), void 0, !0)
511
+ k(t.$slots, "menuIcon", D(R({ isOpen: o, color: a })), void 0, !0)
511
512
  ]),
512
513
  key: "0"
513
514
  } : void 0,
@@ -549,31 +550,31 @@ const Pt = ["id"], It = {
549
550
  t.$slots.optionFullscreen ? {
550
551
  name: "optionFullscreen",
551
552
  fn: $(({ toggleFullscreen: o, isFullscreen: a }) => [
552
- k(t.$slots, "optionFullscreen", D(B({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
553
+ k(t.$slots, "optionFullscreen", D(R({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
553
554
  ]),
554
555
  key: "6"
555
556
  } : void 0,
556
557
  t.$slots.optionAnnotator ? {
557
558
  name: "optionAnnotator",
558
559
  fn: $(({ toggleAnnotator: o, isAnnotator: a }) => [
559
- k(t.$slots, "optionAnnotator", D(B({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
560
+ k(t.$slots, "optionAnnotator", D(R({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
560
561
  ]),
561
562
  key: "7"
562
563
  } : void 0
563
564
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
564
- (c(), y("svg", {
565
+ (c(), m("svg", {
565
566
  ref_key: "svgRef",
566
567
  ref: be,
567
- xmlns: v(ht),
568
+ xmlns: d(vt),
568
569
  viewBox: `0 0 ${G.value.width} ${G.value.height}`,
569
- class: He({
570
- "vue-data-ui-fullscreen--on": E.value,
571
- "vue-data-ui-fulscreen--off": !E.value
570
+ class: Ae({
571
+ "vue-data-ui-fullscreen--on": z.value,
572
+ "vue-data-ui-fulscreen--off": !z.value
572
573
  }),
573
- style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
574
+ style: P(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
574
575
  }, [
575
- de(Tt),
576
- t.$slots["chart-background"] ? (c(), y("foreignObject", {
576
+ de($t),
577
+ t.$slots["chart-background"] ? (c(), m("foreignObject", {
577
578
  key: 0,
578
579
  x: 0,
579
580
  y: 0,
@@ -584,9 +585,9 @@ const Pt = ["id"], It = {
584
585
  }
585
586
  }, [
586
587
  k(t.$slots, "chart-background", {}, void 0, !0)
587
- ], 8, At)) : x("", !0),
588
+ ], 8, Et)) : x("", !0),
588
589
  Y("defs", null, [
589
- (c(!0), y(U, null, V(C.value.links, (o, a) => (c(), y("linearGradient", {
590
+ (c(!0), m(V, null, W(y.value.links, (o, a) => (c(), m("linearGradient", {
590
591
  id: o.id,
591
592
  x1: "0%",
592
593
  y1: "0%",
@@ -596,75 +597,75 @@ const Pt = ["id"], It = {
596
597
  Y("stop", {
597
598
  offset: "0%",
598
599
  "stop-color": o.sourceColor
599
- }, null, 8, Ht),
600
+ }, null, 8, At),
600
601
  Y("stop", {
601
602
  offset: "100%",
602
603
  "stop-color": o.targetColor
603
- }, null, 8, Yt)
604
- ], 8, Mt))), 256))
604
+ }, null, 8, Mt)
605
+ ], 8, zt))), 256))
605
606
  ]),
606
- (c(!0), y(U, null, V(C.value.links, (o) => (c(), y("path", {
607
+ (c(!0), m(V, null, W(y.value.links, (o) => (c(), m("path", {
607
608
  class: "vue-ui-flow-link",
608
609
  d: o.path,
609
610
  fill: `url(#${o.id})`,
610
611
  stroke: e.value.style.chart.links.stroke,
611
612
  "stroke-width": e.value.style.chart.links.strokeWidth,
612
- style: F(`
613
- opacity:${w.value ? w.value.includes(o.source) && w.value.includes(o.target) ? 1 : 0.3 : A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
613
+ style: P(`
614
+ opacity:${C.value ? C.value.includes(o.source) && C.value.includes(o.target) ? 1 : 0.3 : M.value ? [o.target, o.source].includes(M.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
614
615
  `)
615
- }, null, 12, Dt))), 256)),
616
- (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("rect", {
616
+ }, null, 12, Ht))), 256)),
617
+ (c(!0), m(V, null, W(y.value.nodes, (o, a) => (c(), m("rect", {
617
618
  class: "vue-ui-flow-node",
618
619
  x: o.x,
619
- y: v(_)(o.absoluteY) + e.value.style.chart.padding.top,
620
- height: v(_)(o.height),
621
- width: z.value,
620
+ y: d(_)(o.absoluteY) + e.value.style.chart.padding.top,
621
+ height: d(_)(o.height),
622
+ width: A.value,
622
623
  fill: o.color,
623
624
  stroke: e.value.style.chart.nodes.stroke,
624
625
  "stroke-width": e.value.style.chart.nodes.strokeWidth,
625
- onMouseenter: (s) => Qe(o),
626
- onMouseleave: l[0] || (l[0] = (s) => Oe()),
627
- style: F(`opacity:${w.value ? w.value.includes(o.name) ? 1 : 0.3 : 1}`)
626
+ onMouseenter: (s) => Ze(o),
627
+ onMouseleave: l[0] || (l[0] = (s) => Ne()),
628
+ style: P(`opacity:${C.value ? C.value.includes(o.name) ? 1 : 0.3 : 1}`)
628
629
  }, null, 44, Bt))), 256)),
629
- (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("text", {
630
- x: o.x + z.value / 2,
631
- y: v(_)(
630
+ (c(!0), m(V, null, W(y.value.nodes, (o, a) => (c(), m("text", {
631
+ x: o.x + A.value / 2,
632
+ y: d(_)(
632
633
  o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4
633
634
  ) + e.value.style.chart.padding.top,
634
635
  "font-size": e.value.style.chart.nodes.labels.fontSize,
635
- fill: v(Ye)(o.color),
636
+ fill: d(Me)(o.color),
636
637
  "text-anchor": "middle",
637
- style: F(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
638
- }, W(e.value.style.chart.nodes.labels.abbreviation.use ? v(pt)({
638
+ style: P(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
639
+ }, j(e.value.style.chart.nodes.labels.abbreviation.use ? d(ft)({
639
640
  source: o.name,
640
641
  length: e.value.style.chart.nodes.labels.abbreviation.length
641
- }) : o.name), 13, Gt))), 256)),
642
- (c(!0), y(U, null, V(C.value.nodes, (o, a) => (c(), y("text", {
643
- x: o.x + z.value / 2,
644
- y: v(_)(
642
+ }) : o.name), 13, Yt))), 256)),
643
+ (c(!0), m(V, null, W(y.value.nodes, (o, a) => (c(), m("text", {
644
+ x: o.x + A.value / 2,
645
+ y: d(_)(
645
646
  o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize
646
647
  ) + e.value.style.chart.padding.top,
647
648
  "font-size": e.value.style.chart.nodes.labels.fontSize,
648
- fill: v(Ye)(o.color),
649
+ fill: d(Me)(o.color),
649
650
  "text-anchor": "middle",
650
- style: F(`pointer-events: none; opacity:${w.value ? w.value.includes(o.name) ? 1 : 0 : 1}`)
651
- }, W(v(fe)(
651
+ style: P(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
652
+ }, j(d(fe)(
652
653
  e.value.style.chart.nodes.labels.formatter,
653
654
  o.value,
654
- v(j)({
655
+ d(X)({
655
656
  p: e.value.style.chart.nodes.labels.prefix,
656
657
  v: o.value,
657
658
  s: e.value.style.chart.nodes.labels.suffix,
658
659
  r: e.value.style.chart.nodes.labels.rounding
659
660
  }),
660
661
  { datapoint: o, seriesIndex: a }
661
- )), 13, Rt))), 256)),
662
+ )), 13, Dt))), 256)),
662
663
  k(t.$slots, "svg", { svg: G.value }, void 0, !0)
663
- ], 14, zt)),
664
- t.$slots.watermark ? (c(), y("div", Ut, [
665
- k(t.$slots, "watermark", D(B({ isPrinting: v(Ce) || v(we) })), void 0, !0)
664
+ ], 14, It)),
665
+ t.$slots.watermark ? (c(), m("div", Rt, [
666
+ k(t.$slots, "watermark", D(R({ isPrinting: d(Ce) || d(we) })), void 0, !0)
666
667
  ])) : x("", !0),
667
- te.value ? x("", !0) : (c(), H(_t, {
668
+ ee.value ? x("", !0) : (c(), B(wt, {
668
669
  key: 5,
669
670
  config: {
670
671
  type: "flow",
@@ -675,29 +676,29 @@ const Pt = ["id"], It = {
675
676
  }, null, 8, ["config"])),
676
677
  Y("div", {
677
678
  ref_key: "chartLegend",
678
- ref: Ue
679
+ ref: Re
679
680
  }, [
680
- e.value.style.chart.legend.show && Ee.value.length ? (c(), H(Ft, {
681
+ e.value.style.chart.legend.show && Ie.value.length ? (c(), B(Ot, {
681
682
  key: 0,
682
- legendSet: Ee.value,
683
- config: tt.value,
683
+ legendSet: Ie.value,
684
+ config: Qe.value,
684
685
  onClickMarker: l[1] || (l[1] = (o) => ie(o))
685
686
  }, {
686
687
  item: $(({ legend: o, index: a }) => [
687
688
  Y("div", {
688
689
  onClick: (s) => o.segregate(),
689
- style: F(`opacity:${P.value.length ? P.value.includes(a) ? 1 : 0.5 : 1}`)
690
- }, W(o.name) + " (" + W(o.count) + ") ", 13, Vt)
690
+ style: P(`opacity:${I.value.length ? I.value.includes(a) ? 1 : 0.5 : 1}`)
691
+ }, j(o.name) + " (" + j(o.count) + ") ", 13, Gt)
691
692
  ]),
692
693
  _: 1
693
694
  }, 8, ["legendSet", "config"])) : x("", !0),
694
- k(t.$slots, "legend", { legend: Ie.value }, void 0, !0)
695
+ k(t.$slots, "legend", { legend: Pe.value }, void 0, !0)
695
696
  ], 512),
696
- t.$slots.source ? (c(), y("div", Wt, [
697
+ t.$slots.source ? (c(), m("div", Ut, [
697
698
  k(t.$slots, "source", {}, void 0, !0)
698
699
  ], 512)) : x("", !0),
699
- de(St, {
700
- show: N.value.showTooltip && ae.value,
700
+ de(Nt, {
701
+ show: N.value.showTooltip && le.value,
701
702
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
702
703
  color: e.value.style.chart.tooltip.color,
703
704
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -707,20 +708,20 @@ const Pt = ["id"], It = {
707
708
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
708
709
  position: e.value.style.chart.tooltip.position,
709
710
  offsetY: e.value.style.chart.tooltip.offsetY,
710
- parent: le.value,
711
- content: ne.value,
711
+ parent: oe.value,
712
+ content: ae.value,
712
713
  isCustom: J.value,
713
- isFullscreen: E.value
714
+ isFullscreen: z.value
714
715
  }, {
715
716
  "tooltip-before": $(() => [
716
- k(t.$slots, "tooltip-before", D(B({ ...re.value })), void 0, !0)
717
+ k(t.$slots, "tooltip-before", D(R({ ...re.value })), void 0, !0)
717
718
  ]),
718
719
  "tooltip-after": $(() => [
719
- k(t.$slots, "tooltip-after", D(B({ ...re.value })), void 0, !0)
720
+ k(t.$slots, "tooltip-after", D(R({ ...re.value })), void 0, !0)
720
721
  ]),
721
722
  _: 3
722
723
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
723
- te.value ? (c(), H($t, {
724
+ ee.value ? (c(), B(Ct, {
724
725
  key: 7,
725
726
  hideDetails: "",
726
727
  config: {
@@ -737,7 +738,7 @@ const Pt = ["id"], It = {
737
738
  }
738
739
  }, {
739
740
  content: $(() => [
740
- de(wt, {
741
+ de(kt, {
741
742
  colNames: Z.value.colNames,
742
743
  head: Z.value.head,
743
744
  body: Z.value.body,
@@ -749,19 +750,19 @@ const Pt = ["id"], It = {
749
750
  Y("div", {
750
751
  innerHTML: o,
751
752
  style: { display: "flex", "align-items": "center" }
752
- }, null, 8, jt)
753
+ }, null, 8, Vt)
753
754
  ]),
754
755
  td: $(({ td: o }) => [
755
- nt(W(o.name || o), 1)
756
+ lt(j(o.name || o), 1)
756
757
  ]),
757
758
  _: 1
758
759
  }, 8, ["colNames", "head", "body", "config", "title"])
759
760
  ]),
760
761
  _: 1
761
762
  }, 8, ["config"])) : x("", !0)
762
- ], 46, Pt));
763
+ ], 46, Ft));
763
764
  }
764
- }, co = /* @__PURE__ */ Lt(Xt, [["__scopeId", "data-v-e6473b78"]]);
765
+ }, uo = /* @__PURE__ */ St(Wt, [["__scopeId", "data-v-25e5df9a"]]);
765
766
  export {
766
- co as default
767
+ uo as default
767
768
  };