vue-data-ui 3.26.5 → 3.27.0

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 (200) hide show
  1. package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
  95. package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -59
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  184. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  185. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  186. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  187. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  189. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  190. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  192. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  193. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  194. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  195. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  197. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  198. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  200. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
@@ -1,22 +1,22 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Pt as r, Q as i, Rt as a, X as o, _ as s, at as ee, b as te, i as c, nt as ne, qt as re, t as ie, tn as ae, vt as oe } from "./lib-TWIH5fGr.js";
2
+ import { $ as t, D as n, Ft as r, Jt as i, Q as a, X as o, _ as s, at as ee, b as te, i as c, nn as ne, nt as re, t as ie, yt as ae, zt as oe } from "./lib-D4wK6ljP.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-DObkR9Aa.js";
5
- import { t as ue } from "./usePrinter-8Y1Rju0Y.js";
4
+ import { t as le } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as ue } from "./usePrinter-DdW2GSm0.js";
6
6
  import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as pe } from "./useNestedProp-BxOdWM0c.js";
7
+ import { t as pe } from "./useNestedProp-DR_8JPol.js";
8
8
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as he } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as _e } from "./img-KURaWjZI.js";
12
- import { n as ve } from "./Title-Bd98RysU.js";
11
+ import { t as _e } from "./img-Bb5rHcpO.js";
12
+ import { n as ve } from "./Title-BMCuINbv.js";
13
13
  import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
14
  import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
15
15
  import { t as l } from "./DefGrad-DVBqDjhO.js";
16
16
  import { t as Se } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as we } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Te } from "./Legend-D9FGXIbQ.js";
19
+ import { t as Te } from "./Legend-CulFgjUY.js";
20
20
  import { t as Ee } from "./usePrefersMotion-BC-CsqR1.js";
21
21
  import { t as De } from "./vue_ui_dumbbell-Bfe_jFyi.js";
22
22
  import { Fragment as u, Teleport as Oe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as y, normalizeStyle as Pe, onBeforeUnmount as Fe, onMounted as Ie, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as w, toRefs as ze, unref as T, vShow as Be, watch as Ve, watchEffect as He, withCtx as E, withDirectives as Ue } from "vue";
@@ -183,7 +183,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
183
183
  },
184
184
  emits: ["selectDatapoint", "copyAlt"],
185
185
  setup(e, { expose: ye, emit: We }) {
186
- let kt = _(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), At = _(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), jt = _(() => import("./DataTable-B6LDCXBz.js")), Mt = _(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Nt = _(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Pt = _(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_dumbbell: It } = le(), { isThemeValid: Lt, warnInvalidTheme: Rt } = me(), zt = Ee(), D = e, Bt = We, Vt = d({
186
+ let kt = _(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), At = _(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), jt = _(() => import("./DataTable-CjF_An2h.js")), Mt = _(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Nt = _(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Pt = _(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_dumbbell: It } = le(), { isThemeValid: Lt, warnInvalidTheme: Rt } = me(), zt = Ee(), D = e, Bt = We, Vt = d({
187
187
  get() {
188
188
  return !!D.dataset && D.dataset.length;
189
189
  },
@@ -208,7 +208,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
208
208
  ]
209
209
  }]
210
210
  });
211
- let on = d(() => P.value.userOptions.useCursorPointer), sn = d(() => ae({
211
+ let on = d(() => P.value.userOptions.useCursorPointer), sn = d(() => ne({
212
212
  defaultConfig: {
213
213
  userOptions: { show: !1 },
214
214
  table: { show: !1 },
@@ -276,7 +276,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
276
276
  end: 5
277
277
  }
278
278
  ],
279
- skeletonConfig: ae({
279
+ skeletonConfig: ne({
280
280
  defaultConfig: P.value,
281
281
  userConfig: sn.value
282
282
  })
@@ -308,12 +308,12 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
308
308
  });
309
309
  let gn = d(() => P.value.debug);
310
310
  function _n() {
311
- if (a(D.dataset) ? ee({
311
+ if (oe(D.dataset) ? ee({
312
312
  componentName: "VueUiDumbbell",
313
313
  type: "dataset",
314
314
  debug: gn.value
315
315
  }) : D.dataset.forEach((e, t) => {
316
- oe({
316
+ ae({
317
317
  datasetObject: e,
318
318
  requiredAttributes: [
319
319
  "name",
@@ -581,7 +581,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
581
581
  [P.value.table.columnNames.end]
582
582
  ]
583
583
  ].concat(t), i = n(r);
584
- e ? e(i) : ne({
584
+ e ? e(i) : re({
585
585
  csvContent: i,
586
586
  title: z.value.title.text || "vue-ui-dumbbell"
587
587
  });
@@ -1192,7 +1192,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1192
1192
  y: q.value.top,
1193
1193
  height: Math.max(.1, q.value.height),
1194
1194
  width: j.value ? Math.max(.1, Math.abs(j.value.endX - j.value.startX)) : 0,
1195
- fill: j.value ? T(re)(R.value.rectColor, R.value.rectOpacity) : "transparent",
1195
+ fill: j.value ? T(i)(R.value.rectColor, R.value.rectOpacity) : "transparent",
1196
1196
  style: { transition: "all 0.3s ease-in-out" }
1197
1197
  }, null, 8, lt), [[Be, R.value.showRect && j.value !== null && ![null, void 0].includes(j.value.start) && ![null, void 0].includes(j.value.end)]]),
1198
1198
  Ue(h("text", {
@@ -1216,7 +1216,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1216
1216
  ],
1217
1217
  [
1218
1218
  "90%",
1219
- T(i)(L.value.startColor, .1),
1219
+ T(a)(L.value.startColor, .1),
1220
1220
  1
1221
1221
  ],
1222
1222
  [
@@ -1238,7 +1238,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1238
1238
  ],
1239
1239
  [
1240
1240
  "90%",
1241
- T(i)(L.value.endColor, .1),
1241
+ T(a)(L.value.endColor, .1),
1242
1242
  1
1243
1243
  ],
1244
1244
  [
@@ -1260,7 +1260,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1260
1260
  ],
1261
1261
  [
1262
1262
  "90%",
1263
- T(i)(L.value.evaluationColors.positive, .1),
1263
+ T(a)(L.value.evaluationColors.positive, .1),
1264
1264
  1
1265
1265
  ],
1266
1266
  [
@@ -1282,7 +1282,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1282
1282
  ],
1283
1283
  [
1284
1284
  "90%",
1285
- T(i)(L.value.evaluationColors.negative, .1),
1285
+ T(a)(L.value.evaluationColors.negative, .1),
1286
1286
  1
1287
1287
  ],
1288
1288
  [
@@ -1304,7 +1304,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1304
1304
  ],
1305
1305
  [
1306
1306
  "90%",
1307
- T(i)(L.value.evaluationColors.neutral, .1),
1307
+ T(a)(L.value.evaluationColors.neutral, .1),
1308
1308
  1
1309
1309
  ],
1310
1310
  [
@@ -1423,7 +1423,7 @@ var We = /* @__PURE__ */ e({ default: () => kt }), Ge = ["id"], Ke = ["id"], qe
1423
1423
  y: q.value.top + t * Math.max(.1, q.value.rowHeight),
1424
1424
  width: Math.max(.1, q.value.width),
1425
1425
  height: Math.max(.1, q.value.rowHeight),
1426
- fill: A.value === null ? "transparent" : A.value === t ? T(re)(z.value.highlighter.color, z.value.highlighter.opacity) : "transparent",
1426
+ fill: A.value === null ? "transparent" : A.value === t ? T(i)(z.value.highlighter.color, z.value.highlighter.opacity) : "transparent",
1427
1427
  onMouseenter: (n) => qn({
1428
1428
  datapoint: e,
1429
1429
  seriesIndex: t
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Et as i, Rt as a, S as o, Vt as s, X as c, at as l, b as u, et as d, i as f, n as ee, nt as p, r as m, t as h, tn as g, w as te } from "./lib-TWIH5fGr.js";
3
- import { n as _, t as v } from "./useHints-Dq_w2E8B.js";
4
- import { t as y } from "./useConfig-DObkR9Aa.js";
5
- import { t as b } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as x, t as ne } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as re } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as S } from "./useThemeCheck-C43Tcqmk.js";
2
+ import { $ as t, D as n, Dt as r, Ht as i, S as a, X as o, at as s, b as c, en as l, et as u, i as d, n as f, nn as p, nt as m, r as h, t as g, w as _, zt as ee } from "./lib-D4wK6ljP.js";
3
+ import { n as v, t as y } from "./useHints-Dq_w2E8B.js";
4
+ import { t as b } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as x } from "./usePrinter-DdW2GSm0.js";
6
+ import { n as S, t as te } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as ne } from "./useNestedProp-DR_8JPol.js";
8
+ import { t as re } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as ie } from "./useChartExport-iwOqiIWX.js";
10
- import { t as ae } from "./img-KURaWjZI.js";
11
- import { n as oe } from "./Title-Bd98RysU.js";
10
+ import { t as ae } from "./img-Bb5rHcpO.js";
11
+ import { n as oe } from "./Title-BMCuINbv.js";
12
12
  import { t as se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { l as ce, t as le } from "./useResponsive-ZtArZtUf.js";
14
14
  import { t as ue } from "./A11yDataTable-DdRsVULz.js";
15
15
  import { t as de } from "./useUserOptionState-DK-_1ddE.js";
16
16
  import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as pe } from "./Legend-D9FGXIbQ.js";
17
+ import { t as pe } from "./Legend-CulFgjUY.js";
18
18
  import { t as me } from "./vue_ui_flow-BewZjjKG.js";
19
19
  import { Fragment as he, Teleport as ge, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as _e, createTextVNode as ve, createVNode as ye, defineAsyncComponent as O, guardReactiveProps as k, mergeProps as be, nextTick as xe, normalizeClass as Se, normalizeProps as A, normalizeStyle as j, onMounted as Ce, openBlock as M, ref as N, renderList as we, renderSlot as P, resolveDynamicComponent as Te, toDisplayString as F, toRefs as Ee, unref as I, watch as De, withCtx as L } from "vue";
20
20
  //#region src/components/vue-ui-flow.vue
@@ -90,7 +90,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
90
90
  },
91
91
  emits: ["copyAlt"],
92
92
  setup(e, { expose: se, emit: Oe }) {
93
- let Ye = O(() => import("./Tooltip-DmQeI5WE.js")), Xe = O(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), Ze = O(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), Qe = O(() => import("./DataTable-B6LDCXBz.js")), $e = O(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), et = O(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), tt = O(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), nt = O(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_flow: rt } = y(), { isThemeValid: it, warnInvalidTheme: at } = S(), R = e, ot = Oe, z = N(c()), B = N(null), st = N(0), ct = N(0), lt = N(!1), ut = N(""), dt = N(null), ft = N(null), pt = N(null), mt = N(null), ht = N(null), gt = N(!1), _t = N(null), vt = N(null), yt = N(null), bt = N(null), V = N(null), xt = N({
93
+ let Ye = O(() => import("./Tooltip-C4ZTwkLF.js")), Xe = O(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Ze = O(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Qe = O(() => import("./DataTable-CjF_An2h.js")), $e = O(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), et = O(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), tt = O(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), nt = O(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_flow: rt } = b(), { isThemeValid: it, warnInvalidTheme: at } = re(), R = e, ot = Oe, z = N(o()), B = N(null), st = N(0), ct = N(0), lt = N(!1), ut = N(""), dt = N(null), ft = N(null), pt = N(null), mt = N(null), ht = N(null), gt = N(!1), _t = N(null), vt = N(null), yt = N(null), bt = N(null), V = N(null), xt = N({
94
94
  x: 0,
95
95
  y: 0
96
96
  }), St = N("pointer"), Ct = N(!1), wt = C(() => !!R.dataset && R.dataset.length);
@@ -102,13 +102,13 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
102
102
  H.value = e, st.value += 1;
103
103
  }
104
104
  let U = N(Lt()), W = C(() => U.value.style.chart.nodes.labels), G = C(() => U.value.style.chart.nodes), Et = C(() => U.value.style.chart.links), K = C(() => U.value.style.chart);
105
- _({
105
+ v({
106
106
  config: () => U.value,
107
107
  dataset: () => R.dataset,
108
108
  component: "VueUiFlow",
109
- rules: [v.emptyArray, v.noHint]
109
+ rules: [y.emptyArray, y.noHint]
110
110
  });
111
- let Dt = C(() => U.value.userOptions.useCursorPointer), Ot = C(() => g({
111
+ let Dt = C(() => U.value.userOptions.useCursorPointer), Ot = C(() => p({
112
112
  defaultConfig: {
113
113
  userOptions: { show: !1 },
114
114
  nodeCategories: {
@@ -131,7 +131,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
131
131
  } }
132
132
  },
133
133
  userConfig: U.value.skeletonConfig ?? {}
134
- })), { loading: kt, FINAL_DATASET: At, manualLoading: jt } = x({
134
+ })), { loading: kt, FINAL_DATASET: At, manualLoading: jt } = S({
135
135
  ...Ee(R),
136
136
  FINAL_CONFIG: U,
137
137
  prepareConfig: Lt,
@@ -173,17 +173,17 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
173
173
  "#AAAAAA"
174
174
  ]
175
175
  ],
176
- skeletonConfig: g({
176
+ skeletonConfig: p({
177
177
  defaultConfig: U.value,
178
178
  userConfig: Ot.value
179
179
  })
180
180
  }), Mt = C(() => U.value.debug);
181
181
  function Nt() {
182
- if (a(R.dataset) && (l({
182
+ if (ee(R.dataset) && (s({
183
183
  componentName: "VueUiFlow",
184
184
  type: "dataset",
185
185
  debug: Mt.value
186
- }), jt.value = !0), a(R.dataset) || (jt.value = U.value.loading), U.value.responsive) {
186
+ }), jt.value = !0), ee(R.dataset) || (jt.value = U.value.loading), U.value.responsive) {
187
187
  let e = ce(() => {
188
188
  let { width: e, height: t } = le({
189
189
  chart: B.value,
@@ -200,23 +200,23 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
200
200
  }
201
201
  let { userOptionsVisible: Pt, setUserOptionsVisibility: Ft, keepUserOptionState: It } = de({ config: U.value }), { svgRef: q } = fe({ config: K.value.title });
202
202
  function Lt() {
203
- let e = re({
203
+ let e = ne({
204
204
  userConfig: R.config,
205
205
  defaultConfig: rt
206
- }), t = e, r = e.theme;
207
- if (r) {
206
+ }), t = e, n = e.theme;
207
+ if (n) {
208
208
  if (!it.value(e)) at(e), t = e;
209
209
  else {
210
- let i = re({
211
- userConfig: me[r] || R.config,
210
+ let r = ne({
211
+ userConfig: me[n] || R.config,
212
212
  defaultConfig: e
213
213
  });
214
214
  t = {
215
- ...re({
215
+ ...ne({
216
216
  userConfig: R.config,
217
- defaultConfig: i
217
+ defaultConfig: r
218
218
  }),
219
- customPalette: e.customPalette.length ? e.customPalette : n[r] || s
219
+ customPalette: e.customPalette.length ? e.customPalette : l[n] || i
220
220
  };
221
221
  }
222
222
  } else t = e;
@@ -224,7 +224,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
224
224
  }
225
225
  let Rt = N(K.value.width), zt = N(K.value.height);
226
226
  function Bt(e) {
227
- let t = d(e);
227
+ let t = u(e);
228
228
  return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
229
229
  }
230
230
  let Vt = Bt(R.config);
@@ -240,11 +240,11 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
240
240
  }, { deep: !0 }), De(() => R.dataset, (e) => {
241
241
  Array.isArray(e) && e.length > 0 && (jt.value = !1);
242
242
  }, { deep: !0 });
243
- let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = b({
243
+ let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = x({
244
244
  elementId: `flow_${z.value}`,
245
245
  fileName: K.value.title.text || "vue-ui-flow",
246
246
  options: U.value.userOptions.print
247
- }), Kt = C(() => U.value.userOptions.show && !K.value.title.text), qt = C(() => te(U.value.customPalette)), Jt = C(() => G.value.width), J = N({
247
+ }), Kt = C(() => U.value.userOptions.show && !K.value.title.text), qt = C(() => _(U.value.customPalette)), Jt = C(() => G.value.width), J = N({
248
248
  showTable: U.value.table.show,
249
249
  showTooltip: K.value.tooltip.show
250
250
  });
@@ -257,8 +257,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
257
257
  let Yt = C(() => !At.value || !At.value.length ? [] : At.value.map((e, t) => [
258
258
  e[0],
259
259
  e[1],
260
- u(e[2]),
261
- e[3] ? o(e[3]) : qt.value[t] || qt.value[t % qt.value.length] || s[t] || s[t % s.length]
260
+ c(e[2]),
261
+ e[3] ? a(e[3]) : qt.value[t] || qt.value[t % qt.value.length] || i[t] || i[t % i.length]
262
262
  ]));
263
263
  function Xt(e) {
264
264
  let t = {}, n = {};
@@ -269,7 +269,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
269
269
  outflow: 0,
270
270
  children: [],
271
271
  color: null,
272
- uid: c()
272
+ uid: o()
273
273
  }), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
274
274
  }
275
275
  e.forEach(([e, n, i]) => {
@@ -279,24 +279,24 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
279
279
  value: i
280
280
  }), t[e].outflow += i, t[n].inflow += i;
281
281
  });
282
- let i = new Set(e.map(([e]) => e)), a = new Set(e.map(([, e]) => e)), o = Array.from(i).filter((e) => !a.has(e)), l = {};
283
- o.forEach((e, t) => {
284
- l[e] = qt.value[t] || s[t % s.length];
282
+ let a = new Set(e.map(([e]) => e)), s = new Set(e.map(([, e]) => e)), l = Array.from(a).filter((e) => !s.has(e)), u = {};
283
+ l.forEach((e, t) => {
284
+ u[e] = qt.value[t] || i[t % i.length];
285
285
  });
286
286
  let d = {};
287
287
  e.forEach(([e, t, n, r]) => {
288
288
  r && (d[e] = r, d[t] = r);
289
289
  }), Object.keys(t).forEach((e, n) => {
290
- let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
291
- t[e].color = d[e] || i || (o.includes(e) ? l[e] : null) || s[n % s.length];
290
+ let r = U.value.nodeCategories?.[e], a = r ? U.value.nodeCategoryColors?.[r] : null;
291
+ t[e].color = d[e] || a || (l.includes(e) ? u[e] : null) || i[n % i.length];
292
292
  }), Object.keys(t).forEach((e) => {
293
293
  t[e].value = Math.max(t[e].inflow, t[e].outflow);
294
294
  });
295
- let f = $t.value, ee = en.value.width, p = en.value.height, m = Object.keys(n).map(Number).sort((e, t) => e - t), h = m.length || 1, g = h > 1 ? ee / (h - 1) : 0, te = Number(Jt.value), _ = Number(G.value.gapPx ?? G.value.gap ?? 8), v = Number(G.value.minHeight || 0);
296
- function y(e) {
295
+ let f = $t.value, p = en.value.width, m = en.value.height, h = Object.keys(n).map(Number).sort((e, t) => e - t), g = h.length || 1, _ = g > 1 ? p / (g - 1) : 0, ee = Number(Jt.value), v = Number(G.value.gapPx ?? G.value.gap ?? 8), y = Number(G.value.minHeight || 0);
296
+ function b(e) {
297
297
  let r = n[e], i = r.length;
298
298
  if (!i) return Infinity;
299
- let a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0), c = 0, l = r.map((e) => t[e].value || 0), u = l.reduce((e, t) => e + t, 0);
299
+ let a = Math.max(0, (i - 1) * v), o = Math.max(0, m - a), s = Math.min(y, i ? o / i : 0), c = 0, l = r.map((e) => t[e].value || 0), u = l.reduce((e, t) => e + t, 0);
300
300
  for (let e = 0; e < 12; e += 1) {
301
301
  let e = u > 0 ? (o - c) / u : 0, t = [];
302
302
  for (let n = 0; n < l.length; n += 1) {
@@ -309,58 +309,58 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
309
309
  }
310
310
  return u > 0 ? Math.max(0, (o - c) / u) : 0;
311
311
  }
312
- let b = m.map(y), x = b.length ? Math.min(...b) : 0, ne = {};
313
- m.forEach((e) => {
314
- let r = n[e], i = r.length, a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0), l = r.map((e) => Math.max(s, (t[e].value || 0) * x)), u = l.reduce((e, t) => e + t, 0) + a, d = Math.max(0, (p - u) / 2);
312
+ let x = h.map(b), S = x.length ? Math.min(...x) : 0, te = {};
313
+ h.forEach((e) => {
314
+ let r = n[e], i = r.length, a = Math.max(0, (i - 1) * v), s = Math.max(0, m - a), c = Math.min(y, i ? s / i : 0), l = r.map((e) => Math.max(c, (t[e].value || 0) * S)), u = l.reduce((e, t) => e + t, 0) + a, d = Math.max(0, (m - u) / 2);
315
315
  r.forEach((n, r) => {
316
- let a = l[r], o = f.left + e * g, s = d;
317
- ne[n] = {
318
- x: o,
319
- y: s,
320
- absoluteY: s,
316
+ let a = l[r], s = f.left + e * _, c = d;
317
+ te[n] = {
318
+ x: s,
319
+ y: c,
320
+ absoluteY: c,
321
321
  height: a,
322
322
  i: r,
323
323
  color: t[n].color,
324
324
  value: t[n].value,
325
- id: c()
326
- }, d += a, r < i - 1 && (d += _);
325
+ id: o()
326
+ }, d += a, r < i - 1 && (d += v);
327
327
  });
328
328
  });
329
- let re = [], S = f.top, ie = {}, ae = {};
329
+ let ne = [], re = f.top, ie = {}, ae = {};
330
330
  Object.keys(t).forEach((e) => {
331
- ie[e] = ne[e]?.y ?? 0, ae[e] = 0;
331
+ ie[e] = te[e]?.y ?? 0, ae[e] = 0;
332
332
  });
333
333
  let oe = !!Et.value.smooth, se = .5;
334
- return m.forEach((e) => {
334
+ return h.forEach((e) => {
335
335
  n[e].forEach((e) => {
336
- let n = t[e], r = ne[e];
336
+ let n = t[e], r = te[e];
337
337
  if (!n.children || !n.children.length) return;
338
338
  let i = r.y;
339
- n.children.forEach(({ target: a, value: o }) => {
340
- let s = ne[a], l = t[a], d = n.outflow > 0 ? o / n.outflow : 0, f = l.inflow > 0 ? o / l.inflow : 0, ee = u(i + S), p = u(i + d * r.height + S), m = ie[a], h = m + f * s.height;
341
- ae[a] += o;
342
- let g = l.inflow > 0 && ae[a] >= l.inflow - 1e-6, _ = s.y + s.height;
343
- (g || h > _ - .25) && (h = _);
344
- let v = u(m + S), y = u(h + S), b = u(r.x + te), x = u(s.x), ce;
345
- if (!oe || x <= b) ce = `M ${b} ${ee} L ${b} ${p} L ${x} ${y} L ${x} ${v} Z`;
339
+ n.children.forEach(({ target: a, value: s }) => {
340
+ let l = te[a], u = t[a], d = n.outflow > 0 ? s / n.outflow : 0, f = u.inflow > 0 ? s / u.inflow : 0, p = c(i + re), m = c(i + d * r.height + re), h = ie[a], g = h + f * l.height;
341
+ ae[a] += s;
342
+ let _ = u.inflow > 0 && ae[a] >= u.inflow - 1e-6, v = l.y + l.height;
343
+ (_ || g > v - .25) && (g = v);
344
+ let y = c(h + re), b = c(g + re), x = c(r.x + ee), S = c(l.x), ce;
345
+ if (!oe || S <= x) ce = `M ${x} ${p} L ${x} ${m} L ${S} ${b} L ${S} ${y} Z`;
346
346
  else {
347
- let e = x - b, t = u(b + e * se), n = u(x - e * se), r = ee, i = v, a = p, o = y;
348
- ce = `M ${b} ${r} C ${t} ${r}, ${n} ${i}, ${x} ${i} L ${x} ${o} C ${n} ${o}, ${t} ${a}, ${b} ${a} Z`;
347
+ let e = S - x, t = c(x + e * se), n = c(S - e * se), r = p, i = y, a = m, o = b;
348
+ ce = `M ${x} ${r} C ${t} ${r}, ${n} ${i}, ${S} ${i} L ${S} ${o} C ${n} ${o}, ${t} ${a}, ${x} ${a} Z`;
349
349
  }
350
- re.push({
351
- id: c(),
350
+ ne.push({
351
+ id: o(),
352
352
  source: e,
353
353
  target: a,
354
354
  path: ce,
355
- value: o,
355
+ value: s,
356
356
  sourceColor: n.color,
357
357
  targetColor: t[a].color
358
- }), i = p - S, ie[a] = h;
358
+ }), i = m - re, ie[a] = g;
359
359
  });
360
360
  });
361
361
  }), {
362
- nodeCoordinates: ne,
363
- links: re
362
+ nodeCoordinates: te,
363
+ links: ne
364
364
  };
365
365
  }
366
366
  let Y = C(() => {
@@ -399,44 +399,44 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
399
399
  y: n.top + n.height / 2
400
400
  };
401
401
  }
402
- function ln(e, n, r = "pointer", a = null) {
403
- $.value = [], X.value = nn(e.name), Z.value = e.name, on.value = e.id, St.value = r, bt.value = a, V.value = e.id;
404
- let o = e.name, s = Yt.value, c = 0, l = 0, u = [], d = [], ee = new Set(s.map(([e]) => e)), p = new Set(s.map(([, e]) => e)), m = Array.from(ee).filter((e) => !p.has(e)), h = s.filter(([e]) => m.includes(e)).reduce((e, [t, n, r]) => e + r, 0), g = {};
402
+ function ln(e, n, i = "pointer", a = null) {
403
+ $.value = [], X.value = nn(e.name), Z.value = e.name, on.value = e.id, St.value = i, bt.value = a, V.value = e.id;
404
+ let o = e.name, s = Yt.value, c = 0, l = 0, u = [], f = [], p = new Set(s.map(([e]) => e)), m = new Set(s.map(([, e]) => e)), h = Array.from(p).filter((e) => !m.has(e)), g = s.filter(([e]) => h.includes(e)).reduce((e, [t, n, r]) => e + r, 0), _ = {};
405
405
  Y.value.nodes.forEach((e) => {
406
- g[e.name] = e.color;
406
+ _[e.name] = e.color;
407
407
  }), s.forEach(([e, t, n]) => {
408
408
  t === o && (c += n, u.push({
409
409
  source: e,
410
410
  value: n,
411
- color: g[e]
412
- })), e === o && (l += n, d.push({
411
+ color: _[e]
412
+ })), e === o && (l += n, f.push({
413
413
  target: t,
414
414
  value: n,
415
- color: g[t]
415
+ color: _[t]
416
416
  }));
417
417
  });
418
- let te = h > 0 ? Math.max(c, l) / h * 100 : 0, _ = {
418
+ let ee = g > 0 ? Math.max(c, l) / g * 100 : 0, v = {
419
419
  name: o,
420
420
  inflow: c,
421
421
  outflow: l,
422
422
  from: u,
423
- to: d,
424
- percentOfTotal: te,
425
- color: g[o] || "#000000"
423
+ to: f,
424
+ percentOfTotal: ee,
425
+ color: _[o] || "#000000"
426
426
  };
427
427
  U.value.events.datapointEnter && U.value.events.datapointEnter({
428
- datapoint: _,
428
+ datapoint: v,
429
429
  seriesIndex: n
430
430
  }), rn.value = {
431
- datapoint: _,
431
+ datapoint: v,
432
432
  config: U.value,
433
433
  seriesIndex: n,
434
434
  series: Y.value
435
435
  }, lt.value = !0;
436
- let v = "", y = K.value.tooltip.customFormat;
437
- if (an.value = !1, i(y)) try {
438
- let e = y({
439
- datapoint: _,
436
+ let y = "", b = K.value.tooltip.customFormat;
437
+ if (an.value = !1, r(b)) try {
438
+ let e = b({
439
+ datapoint: v,
440
440
  series: Y.value,
441
441
  config: U.value
442
442
  });
@@ -447,27 +447,27 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
447
447
  if (!an.value) {
448
448
  let e = K.value.tooltip.showPercentage ? `<div>${t({
449
449
  p: K.value.tooltip.translations.percentOfTotal,
450
- v: _.percentOfTotal,
450
+ v: v.percentOfTotal,
451
451
  s: "%",
452
452
  r: K.value.tooltip.roundingPercentage
453
453
  })}</div>` : "";
454
- v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${K.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${_.color}">⏹</span>${_.name}${e}</div>`, _.from.length && (v += `<div>${K.value.tooltip.translations.from}</div>`, _.from.forEach((e) => {
455
- v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${f(W.value.formatter, e.value, t({
454
+ y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${K.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${v.color}">⏹</span>${v.name}${e}</div>`, v.from.length && (y += `<div>${K.value.tooltip.translations.from}</div>`, v.from.forEach((e) => {
455
+ y += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(W.value.formatter, e.value, t({
456
456
  p: W.value.prefix,
457
457
  v: e.value,
458
458
  s: W.value.suffix,
459
459
  r: W.value.rounding
460
460
  }))}</div>`;
461
- })), _.to.length && (v += `<div style="margin-top:6px;">${K.value.tooltip.translations.to}</div>`, _.to.forEach((e) => {
462
- v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${f(W.value.formatter, e.value, t({
461
+ })), v.to.length && (y += `<div style="margin-top:6px;">${K.value.tooltip.translations.to}</div>`, v.to.forEach((e) => {
462
+ y += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(W.value.formatter, e.value, t({
463
463
  p: W.value.prefix,
464
464
  v: e.value,
465
465
  s: W.value.suffix,
466
466
  r: W.value.rounding
467
467
  }))}</div>`;
468
- })), ut.value = v;
468
+ })), ut.value = y;
469
469
  }
470
- r === "keyboard" && xe(() => {
470
+ i === "keyboard" && xe(() => {
471
471
  cn(e.id);
472
472
  });
473
473
  }
@@ -498,7 +498,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
498
498
  [e.source],
499
499
  [e.target],
500
500
  [e.value]
501
- ]), n = [
501
+ ]), r = [
502
502
  [K.value.title.text],
503
503
  [K.value.title.subtitle.text],
504
504
  [
@@ -506,8 +506,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
506
506
  [U.value.table.columnNames.target],
507
507
  [U.value.table.columnNames.value]
508
508
  ]
509
- ].concat(t), i = r(n);
510
- e ? e(i) : p({
509
+ ].concat(t), i = n(r);
510
+ e ? e(i) : m({
511
511
  csvContent: i,
512
512
  title: K.value.title.text || "vue-ui-flow"
513
513
  });
@@ -565,7 +565,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
565
565
  ...e,
566
566
  index: t,
567
567
  centerX: e.x + Jt.value / 2,
568
- centerY: u(e.absoluteY) + K.value.padding.top + e.height / 2
568
+ centerY: c(e.absoluteY) + K.value.padding.top + e.height / 2
569
569
  })).sort((e, t) => e.x === t.x ? e.absoluteY - t.absoluteY : e.x - t.x)), Q = C(() => {
570
570
  let e = [];
571
571
  return gn.value.forEach((t) => {
@@ -600,7 +600,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
600
600
  let e = new Set(Y.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
601
601
  return Array.from(e).map((e) => ({
602
602
  name: e,
603
- color: U.value.nodeCategoryColors[e] || s[0],
603
+ color: U.value.nodeCategoryColors[e] || i[0],
604
604
  shape: "square",
605
605
  count: Y.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
606
606
  })).map((e, t) => {
@@ -978,7 +978,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
978
978
  D("div", Ne, [(M(), E("svg", {
979
979
  ref_key: "svgRef",
980
980
  ref: q,
981
- xmlns: I(h),
981
+ xmlns: I(g),
982
982
  "aria-describedby": `chart-instructions-${z.value}`,
983
983
  viewBox: `0 0 ${tn.value.width} ${tn.value.height}`,
984
984
  class: Se({
@@ -1034,8 +1034,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
1034
1034
  "data-a11y-node-id": e.id,
1035
1035
  class: "vue-ui-flow-node",
1036
1036
  x: e.x,
1037
- y: I(u)(e.absoluteY) + K.value.padding.top,
1038
- height: I(u)(e.height),
1037
+ y: I(c)(e.absoluteY) + K.value.padding.top,
1038
+ height: I(c)(e.height),
1039
1039
  width: Jt.value,
1040
1040
  fill: e.color,
1041
1041
  stroke: G.value.stroke,
@@ -1045,7 +1045,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
1045
1045
  opacity: X.value ? X.value.includes(e.name) ? 1 : .3 : 1,
1046
1046
  outline: on.value !== null && on.value === e.id ? "2px solid currentColor" : void 0
1047
1047
  }),
1048
- "aria-label": `${e.name}: ${I(f)(W.value.formatter, e.value, I(t)({
1048
+ "aria-label": `${e.name}: ${I(d)(W.value.formatter, e.value, I(t)({
1049
1049
  p: W.value.prefix,
1050
1050
  v: e.value,
1051
1051
  s: W.value.suffix,
@@ -1057,22 +1057,22 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
1057
1057
  }, null, 44, Be))), 256)),
1058
1058
  W.value.show ? (M(), E("g", Ve, [(M(!0), E(he, null, we(Y.value.nodes, (e, t) => (M(), E("text", {
1059
1059
  x: e.x + Jt.value / 2,
1060
- y: (W.value.showValue ? I(u)(e.absoluteY + e.height / 2 - W.value.fontSize / 4) : e.absoluteY + e.height / 2 + W.value.fontSize / 3) + K.value.padding.top,
1060
+ y: (W.value.showValue ? I(c)(e.absoluteY + e.height / 2 - W.value.fontSize / 4) : e.absoluteY + e.height / 2 + W.value.fontSize / 3) + K.value.padding.top,
1061
1061
  "font-size": W.value.fontSize,
1062
- fill: I(m)(e.color),
1062
+ fill: I(h)(e.color),
1063
1063
  "text-anchor": "middle",
1064
1064
  style: j(`pointer-events: none; opacity:${X.value ? +!!X.value.includes(e.name) : 1}`)
1065
- }, F(W.value.abbreviation.use ? I(ee)({
1065
+ }, F(W.value.abbreviation.use ? I(f)({
1066
1066
  source: e.name,
1067
1067
  length: G.value.labels.abbreviation.length
1068
1068
  }) : e.name), 13, He))), 256)), W.value.showValue ? (M(!0), E(he, { key: 0 }, we(Y.value.nodes, (e, n) => (M(), E("text", {
1069
1069
  x: e.x + Jt.value / 2,
1070
- y: I(u)(e.absoluteY + e.height / 2 + W.value.fontSize / 1.3) + K.value.padding.top,
1070
+ y: I(c)(e.absoluteY + e.height / 2 + W.value.fontSize / 1.3) + K.value.padding.top,
1071
1071
  "font-size": W.value.fontSize,
1072
- fill: I(m)(e.color),
1072
+ fill: I(h)(e.color),
1073
1073
  "text-anchor": "middle",
1074
1074
  style: j(`pointer-events: none; opacity:${X.value ? +!!X.value.includes(e.name) : 1}`)
1075
- }, F(I(f)(W.value.formatter, e.value, I(t)({
1075
+ }, F(I(d)(W.value.formatter, e.value, I(t)({
1076
1076
  p: W.value.prefix,
1077
1077
  v: e.value,
1078
1078
  s: W.value.suffix,
@@ -1221,7 +1221,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
1221
1221
  }, null, 8, ["stroke"])], 4)]),
1222
1222
  key: "1"
1223
1223
  } : void 0]), 1040)) : T("", !0),
1224
- P(e.$slots, "skeleton", {}, () => [I(kt) ? (M(), w(ne, { key: 0 })) : T("", !0)], !0)
1224
+ P(e.$slots, "skeleton", {}, () => [I(kt) ? (M(), w(te, { key: 0 })) : T("", !0)], !0)
1225
1225
  ], 46, ke));
1226
1226
  }
1227
1227
  }, [["__scopeId", "data-v-040cb62f"]]);