vue-data-ui 3.22.13 → 3.23.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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,37 +1,38 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, E as r, Gt as i, K as a, Nt as o, Q as s, Y as c, bt as l, et as u, i as d, n as f, qt as p, r as m, t as h, x as ee, y as g } from "./lib-CFm_J26b.js";
3
- import { t as te } from "./useConfig-C0V0eG7L.js";
4
- import { t as _ } from "./usePrinter-BH-xle1O.js";
5
- import { n as v, t as y } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as b } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as x } from "./useNestedProp-BY6DNN3i.js";
2
+ import { $ as t, D as n, Jt as r, Kt as i, Pt as a, S as o, X as s, b as c, i as l, jt as u, n as d, q as ee, r as f, t as p, tt as m, w as h, xt as te } from "./lib-BuMGJ_a0.js";
3
+ import { n as ne, t as g } from "./useHints-Dq_w2E8B.js";
4
+ import { t as _ } from "./useConfig-BilxnBNr.js";
5
+ import { t as v } from "./usePrinter-BFvi4jVy.js";
6
+ import { n as y, t as b } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as x } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as re } from "./useNestedProp--NSEmhOH.js";
8
9
  import { t as S } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ne } from "./img-Bikk1dGb.js";
10
- import { n as C } from "./Title-BuPs74IB.js";
11
- import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { l as ie, t as ae } from "./useResponsive-ZtArZtUf.js";
13
- import { t as oe } from "./A11yDataTable-DdRsVULz.js";
14
- import { t as se } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as le } from "./Legend-C0xAnJdO.js";
17
- import { t as ue } from "./vue_ui_flow-BewZjjKG.js";
18
- import { Fragment as de, Teleport as fe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as pe, createTextVNode as me, createVNode as he, defineAsyncComponent as k, guardReactiveProps as A, mergeProps as ge, nextTick as _e, normalizeClass as ve, normalizeProps as j, normalizeStyle as M, onMounted as ye, openBlock as N, ref as P, renderList as be, renderSlot as F, resolveDynamicComponent as xe, toDisplayString as Se, toRefs as Ce, unref as I, watch as we, withCtx as L } from "vue";
10
+ import { t as ie } from "./img-DIQG5q8T.js";
11
+ import { n as ae } from "./Title-BODtwViI.js";
12
+ import { t as oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as se, t as ce } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as le } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as ue } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as de } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as fe } from "./Legend-CQTRlzK-.js";
18
+ import { t as pe } from "./vue_ui_flow-BewZjjKG.js";
19
+ import { Fragment as me, Teleport as he, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as ge, createTextVNode as _e, createVNode as ve, defineAsyncComponent as O, guardReactiveProps as k, mergeProps as ye, nextTick as be, normalizeClass as xe, normalizeProps as A, normalizeStyle as j, onMounted as Se, openBlock as M, ref as N, renderList as Ce, renderSlot as P, resolveDynamicComponent as we, toDisplayString as F, toRefs as Te, unref as I, watch as Ee, withCtx as L } from "vue";
19
20
  //#region src/components/vue-ui-flow.vue
20
- var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe = {
21
+ var De = /* @__PURE__ */ e({ default: () => Je }), Oe = ["id"], ke = ["id"], Ae = {
21
22
  key: 2,
22
23
  ref: "noTitle",
23
24
  class: "vue-data-ui-no-title-space",
24
25
  style: "height:36px; width: 100%;background:transparent"
25
- }, ke = ["id"], Ae = { style: { position: "relative" } }, je = [
26
+ }, je = ["id"], Me = { style: { position: "relative" } }, Ne = [
26
27
  "xmlns",
27
28
  "aria-describedby",
28
29
  "viewBox"
29
- ], Me = ["width", "height"], Ne = ["id"], Pe = ["stop-color"], Fe = ["stop-color"], Ie = [
30
+ ], Pe = ["width", "height"], Fe = ["id"], Ie = ["stop-color"], Le = ["stop-color"], Re = [
30
31
  "d",
31
32
  "fill",
32
33
  "stroke",
33
34
  "stroke-width"
34
- ], Le = [
35
+ ], ze = [
35
36
  "data-a11y-node-id",
36
37
  "x",
37
38
  "y",
@@ -45,17 +46,17 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
45
46
  "onMouseenter",
46
47
  "onMouseleave",
47
48
  "onClick"
48
- ], Re = { key: 1 }, ze = [
49
+ ], Be = { key: 1 }, Ve = [
49
50
  "x",
50
51
  "y",
51
52
  "font-size",
52
53
  "fill"
53
- ], Be = [
54
+ ], He = [
54
55
  "x",
55
56
  "y",
56
57
  "font-size",
57
58
  "fill"
58
- ], Ve = {
59
+ ], Ue = {
59
60
  key: 0,
60
61
  style: {
61
62
  position: "absolute",
@@ -65,10 +66,10 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
65
66
  },
66
67
  "data-dom-to-png-ignore": "",
67
68
  "aria-hidden": "true"
68
- }, He = {
69
+ }, We = {
69
70
  key: 5,
70
71
  class: "vue-data-ui-watermark"
71
- }, Ue = ["id"], We = ["onClick"], Ge = ["innerHTML"], Ke = /*#__PURE__*/ re({
72
+ }, Ge = ["id"], Ke = ["onClick"], qe = ["innerHTML"], Je = /*#__PURE__*/ oe({
72
73
  __name: "vue-ui-flow",
73
74
  props: {
74
75
  config: {
@@ -85,19 +86,26 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
85
86
  }
86
87
  },
87
88
  emits: ["copyAlt"],
88
- setup(e, { expose: re, emit: Te }) {
89
- let Ke = k(() => import("./Tooltip-CA1rtSyl.js")), qe = k(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Ye = k(() => import("./DataTable-DzPEVvSo.js")), Xe = k(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_flow: et } = te(), { isThemeValid: tt, warnInvalidTheme: nt } = S(), R = e, rt = Te, z = P(a()), B = P(null), it = P(0), at = P(0), ot = P(!1), st = P(""), ct = P(null), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(!1), mt = P(null), ht = P(null), gt = P(null), _t = P(!1), vt = P(!1), yt = P(null), V = P(null), bt = P({
89
+ setup(e, { expose: oe, emit: De }) {
90
+ let Je = O(() => import("./Tooltip-CMTGxeYO.js")), Ye = O(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Xe = O(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), Ze = O(() => import("./DataTable-D4tM9s5Y.js")), Qe = O(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), $e = O(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), et = O(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), tt = O(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_flow: nt } = _(), { isThemeValid: rt, warnInvalidTheme: it } = S(), R = e, at = De, z = N(ee()), B = N(null), ot = N(0), st = N(0), ct = N(!1), lt = N(""), ut = N(null), dt = N(null), ft = N(null), pt = N(null), mt = N(null), ht = N(!1), gt = N(null), _t = N(null), vt = N(null), yt = N(!1), bt = N(!1), xt = N(null), V = N(null), St = N({
90
91
  x: 0,
91
92
  y: 0
92
- }), xt = P("pointer"), St = P(!1), Ct = w(() => !!R.dataset && R.dataset.length);
93
- ye(() => {
94
- pt.value = !0, At();
93
+ }), Ct = N("pointer"), wt = N(!1), Tt = C(() => !!R.dataset && R.dataset.length);
94
+ Se(() => {
95
+ ht.value = !0, Mt();
95
96
  });
96
- let H = P(!1);
97
- function wt(e) {
98
- H.value = e, it.value += 1;
97
+ let H = N(!1);
98
+ function Et(e) {
99
+ H.value = e, ot.value += 1;
99
100
  }
100
- let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => p({
101
+ let U = N(It());
102
+ ne({
103
+ config: () => U.value,
104
+ dataset: () => R.dataset,
105
+ component: "VueUiFlow",
106
+ rules: [g.emptyArray, g.noHint]
107
+ });
108
+ let W = C(() => U.value.userOptions.useCursorPointer), Dt = C(() => r({
101
109
  defaultConfig: {
102
110
  userOptions: { show: !1 },
103
111
  nodeCategories: {
@@ -120,10 +128,10 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
120
128
  } }
121
129
  },
122
130
  userConfig: U.value.skeletonConfig ?? {}
123
- })), { loading: Et, FINAL_DATASET: Dt, manualLoading: Ot } = v({
124
- ...Ce(R),
131
+ })), { loading: Ot, FINAL_DATASET: kt, manualLoading: At } = y({
132
+ ...Te(R),
125
133
  FINAL_CONFIG: U,
126
- prepareConfig: Pt,
134
+ prepareConfig: It,
127
135
  skeletonDataset: R.config?.skeletonDataset ?? [
128
136
  [
129
137
  "A",
@@ -162,81 +170,81 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
162
170
  "#AAAAAA"
163
171
  ]
164
172
  ],
165
- skeletonConfig: p({
173
+ skeletonConfig: r({
166
174
  defaultConfig: U.value,
167
- userConfig: Tt.value
175
+ userConfig: Dt.value
168
176
  })
169
- }), kt = w(() => !!U.value.debug);
170
- function At() {
171
- if (t(R.dataset) && (u({
177
+ }), jt = C(() => !!U.value.debug);
178
+ function Mt() {
179
+ if (u(R.dataset) && (m({
172
180
  componentName: "VueUiFlow",
173
181
  type: "dataset",
174
- debug: kt.value
175
- }), Ot.value = !0), t(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
176
- let e = ie(() => {
177
- let { width: e, height: t } = ae({
182
+ debug: jt.value
183
+ }), At.value = !0), u(R.dataset) || (At.value = U.value.loading), U.value.responsive) {
184
+ let e = se(() => {
185
+ let { width: e, height: t } = ce({
178
186
  chart: B.value,
179
- title: U.value.style.chart.title.text ? lt.value : null,
180
- legend: U.value.style.chart.legend.show ? ct.value : null,
181
- source: ut.value
187
+ title: U.value.style.chart.title.text ? dt.value : null,
188
+ legend: U.value.style.chart.legend.show ? ut.value : null,
189
+ source: ft.value
182
190
  });
183
191
  requestAnimationFrame(() => {
184
- Ft.value = e, It.value = t;
192
+ Lt.value = e, Rt.value = t;
185
193
  });
186
194
  });
187
- dt.value && (ft.value && dt.value.unobserve(ft.value), dt.value.disconnect()), dt.value = new ResizeObserver(e), ft.value = B.value.parentNode, dt.value.observe(ft.value);
195
+ pt.value && (mt.value && pt.value.unobserve(mt.value), pt.value.disconnect()), pt.value = new ResizeObserver(e), mt.value = B.value.parentNode, pt.value.observe(mt.value);
188
196
  }
189
197
  }
190
- let { userOptionsVisible: jt, setUserOptionsVisibility: Mt, keepUserOptionState: Nt } = se({ config: U.value }), { svgRef: G } = ce({ config: U.value.style.chart.title });
191
- function Pt() {
192
- let e = x({
198
+ let { userOptionsVisible: Nt, setUserOptionsVisibility: Pt, keepUserOptionState: Ft } = ue({ config: U.value }), { svgRef: G } = de({ config: U.value.style.chart.title });
199
+ function It() {
200
+ let e = re({
193
201
  userConfig: R.config,
194
- defaultConfig: et
202
+ defaultConfig: nt
195
203
  }), t = e, n = e.theme;
196
- if (n) if (!tt.value(e)) nt(e), t = e;
204
+ if (n) if (!rt.value(e)) it(e), t = e;
197
205
  else {
198
- let r = x({
199
- userConfig: ue[n] || R.config,
206
+ let r = re({
207
+ userConfig: pe[n] || R.config,
200
208
  defaultConfig: e
201
209
  });
202
210
  t = {
203
- ...x({
211
+ ...re({
204
212
  userConfig: R.config,
205
213
  defaultConfig: r
206
214
  }),
207
- customPalette: e.customPalette.length ? e.customPalette : i[n] || o
215
+ customPalette: e.customPalette.length ? e.customPalette : i[n] || a
208
216
  };
209
217
  }
210
218
  else t = e;
211
219
  return t.nodeCategories = R.config.nodeCategories || {}, t.nodeCategoryColors = R.config.nodeCategoryColors || {}, t;
212
220
  }
213
- let Ft = P(U.value.style.chart.width), It = P(U.value.style.chart.height);
214
- we(() => R.config, (e) => {
215
- Et.value || (U.value = Pt()), jt.value = !U.value.userOptions.showOnChartHover, At(), at.value += 1, K.value.showTable = U.value.table.show;
216
- }, { deep: !0 }), we(() => R.dataset, (e) => {
217
- Array.isArray(e) && e.length > 0 && (Ot.value = !1);
221
+ let Lt = N(U.value.style.chart.width), Rt = N(U.value.style.chart.height);
222
+ Ee(() => R.config, (e) => {
223
+ Ot.value || (U.value = It()), Nt.value = !U.value.userOptions.showOnChartHover, Mt(), st.value += 1, K.value.showTable = U.value.table.show;
224
+ }, { deep: !0 }), Ee(() => R.dataset, (e) => {
225
+ Array.isArray(e) && e.length > 0 && (At.value = !1);
218
226
  }, { deep: !0 });
219
- let { isPrinting: Lt, isImaging: Rt, generatePdf: zt, generateImage: Bt } = _({
227
+ let { isPrinting: zt, isImaging: Bt, generatePdf: Vt, generateImage: Ht } = v({
220
228
  elementId: `flow_${z.value}`,
221
229
  fileName: U.value.style.chart.title.text || "vue-ui-flow",
222
230
  options: U.value.userOptions.print
223
- }), Vt = w(() => U.value.userOptions.show && !U.value.style.chart.title.text), Ht = w(() => n(U.value.customPalette)), Ut = w(() => U.value.style.chart.nodes.width), K = P({
231
+ }), Ut = C(() => U.value.userOptions.show && !U.value.style.chart.title.text), Wt = C(() => h(U.value.customPalette)), Gt = C(() => U.value.style.chart.nodes.width), K = N({
224
232
  showTable: U.value.table.show,
225
233
  showTooltip: U.value.style.chart.tooltip.show
226
234
  });
227
- we(U, () => {
235
+ Ee(U, () => {
228
236
  K.value = {
229
237
  showTable: U.value.table.show,
230
238
  showTooltip: U.value.style.chart.tooltip.show
231
239
  };
232
240
  }, { immediate: !0 });
233
- let Wt = w(() => !Dt.value || !Dt.value.length ? [] : Dt.value.map((e, t) => [
241
+ let Kt = C(() => !kt.value || !kt.value.length ? [] : kt.value.map((e, t) => [
234
242
  e[0],
235
243
  e[1],
236
- g(e[2]),
237
- e[3] ? ee(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || o[t] || o[t % o.length]
244
+ c(e[2]),
245
+ e[3] ? o(e[3]) : Wt.value[t] || Wt.value[t % Wt.value.length] || a[t] || a[t % a.length]
238
246
  ]));
239
- function Gt(e) {
247
+ function qt(e) {
240
248
  let t = {}, n = {};
241
249
  function r(e, r) {
242
250
  t[e] || (t[e] = {
@@ -245,7 +253,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
245
253
  outflow: 0,
246
254
  children: [],
247
255
  color: null,
248
- uid: a()
256
+ uid: ee()
249
257
  }), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
250
258
  }
251
259
  e.forEach(([e, n, i]) => {
@@ -255,24 +263,24 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
255
263
  value: i
256
264
  }), t[e].outflow += i, t[n].inflow += i;
257
265
  });
258
- let i = new Set(e.map(([e]) => e)), s = new Set(e.map(([, e]) => e)), c = Array.from(i).filter((e) => !s.has(e)), l = {};
259
- c.forEach((e, t) => {
260
- l[e] = Ht.value[t] || o[t % o.length];
266
+ let i = new Set(e.map(([e]) => e)), o = new Set(e.map(([, e]) => e)), s = Array.from(i).filter((e) => !o.has(e)), l = {};
267
+ s.forEach((e, t) => {
268
+ l[e] = Wt.value[t] || a[t % a.length];
261
269
  });
262
270
  let u = {};
263
271
  e.forEach(([e, t, n, r]) => {
264
272
  r && (u[e] = r, u[t] = r);
265
273
  }), Object.keys(t).forEach((e, n) => {
266
274
  let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
267
- t[e].color = u[e] || i || (c.includes(e) ? l[e] : null) || o[n % o.length];
275
+ t[e].color = u[e] || i || (s.includes(e) ? l[e] : null) || a[n % a.length];
268
276
  }), Object.keys(t).forEach((e) => {
269
277
  t[e].value = Math.max(t[e].inflow, t[e].outflow);
270
278
  });
271
- let d = Jt.value, f = Yt.value.width, p = Yt.value.height, m = Object.keys(n).map(Number).sort((e, t) => e - t), h = m.length || 1, ee = h > 1 ? f / (h - 1) : 0, te = Number(Ut.value), _ = Number(U.value.style.chart.nodes.gapPx ?? U.value.style.chart.nodes.gap ?? 8), v = Number(U.value.style.chart.nodes.minHeight || 0);
272
- function y(e) {
279
+ let d = Xt.value, f = Zt.value.width, p = Zt.value.height, m = Object.keys(n).map(Number).sort((e, t) => e - t), h = m.length || 1, te = h > 1 ? f / (h - 1) : 0, ne = Number(Gt.value), g = Number(U.value.style.chart.nodes.gapPx ?? U.value.style.chart.nodes.gap ?? 8), _ = Number(U.value.style.chart.nodes.minHeight || 0);
280
+ function v(e) {
273
281
  let r = n[e], i = r.length;
274
282
  if (!i) return Infinity;
275
- 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);
283
+ let a = Math.max(0, (i - 1) * g), o = Math.max(0, p - a), s = Math.min(_, i ? o / i : 0), c = 0, l = r.map((e) => t[e].value || 0), u = l.reduce((e, t) => e + t, 0);
276
284
  for (let e = 0; e < 12; e += 1) {
277
285
  let e = u > 0 ? (o - c) / u : 0, t = [];
278
286
  for (let n = 0; n < l.length; n += 1) {
@@ -285,62 +293,62 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
285
293
  }
286
294
  return u > 0 ? Math.max(0, (o - c) / u) : 0;
287
295
  }
288
- let b = m.map(y), x = b.length ? Math.min(...b) : 0, S = {};
296
+ let y = m.map(v), b = y.length ? Math.min(...y) : 0, x = {};
289
297
  m.forEach((e) => {
290
- let r = n[e], i = r.length, o = Math.max(0, (i - 1) * _), s = Math.max(0, p - o), c = Math.min(v, i ? s / i : 0), l = r.map((e) => Math.max(c, (t[e].value || 0) * x)), u = l.reduce((e, t) => e + t, 0) + o, f = Math.max(0, (p - u) / 2);
298
+ let r = n[e], i = r.length, a = Math.max(0, (i - 1) * g), o = Math.max(0, p - a), s = Math.min(_, i ? o / i : 0), c = r.map((e) => Math.max(s, (t[e].value || 0) * b)), l = c.reduce((e, t) => e + t, 0) + a, u = Math.max(0, (p - l) / 2);
291
299
  r.forEach((n, r) => {
292
- let o = l[r], s = d.left + e * ee, c = f;
293
- S[n] = {
294
- x: s,
295
- y: c,
296
- absoluteY: c,
297
- height: o,
300
+ let a = c[r], o = d.left + e * te, s = u;
301
+ x[n] = {
302
+ x: o,
303
+ y: s,
304
+ absoluteY: s,
305
+ height: a,
298
306
  i: r,
299
307
  color: t[n].color,
300
308
  value: t[n].value,
301
- id: a()
302
- }, f += o, r < i - 1 && (f += _);
309
+ id: ee()
310
+ }, u += a, r < i - 1 && (u += g);
303
311
  });
304
312
  });
305
- let ne = [], C = d.top, re = {}, ie = {};
313
+ let re = [], S = d.top, ie = {}, ae = {};
306
314
  Object.keys(t).forEach((e) => {
307
- re[e] = S[e]?.y ?? 0, ie[e] = 0;
315
+ ie[e] = x[e]?.y ?? 0, ae[e] = 0;
308
316
  });
309
- let ae = !!U.value.style.chart.links.smooth, oe = .5;
317
+ let oe = !!U.value.style.chart.links.smooth, se = .5;
310
318
  return m.forEach((e) => {
311
319
  n[e].forEach((e) => {
312
- let n = t[e], r = S[e];
320
+ let n = t[e], r = x[e];
313
321
  if (!n.children || !n.children.length) return;
314
322
  let i = r.y;
315
- n.children.forEach(({ target: o, value: s }) => {
316
- let c = S[o], l = t[o], u = n.outflow > 0 ? s / n.outflow : 0, d = l.inflow > 0 ? s / l.inflow : 0, f = g(i + C), p = g(i + u * r.height + C), m = re[o], h = m + d * c.height;
317
- ie[o] += s;
318
- let ee = l.inflow > 0 && ie[o] >= l.inflow - 1e-6, _ = c.y + c.height;
319
- (ee || h > _ - .25) && (h = _);
320
- let v = g(m + C), y = g(h + C), b = g(r.x + te), x = g(c.x), se;
321
- if (!ae || x <= b) se = `M ${b} ${f} L ${b} ${p} L ${x} ${y} L ${x} ${v} Z`;
323
+ n.children.forEach(({ target: a, value: o }) => {
324
+ let s = x[a], l = t[a], u = n.outflow > 0 ? o / n.outflow : 0, d = l.inflow > 0 ? o / l.inflow : 0, f = c(i + S), p = c(i + u * r.height + S), m = ie[a], h = m + d * s.height;
325
+ ae[a] += o;
326
+ let te = l.inflow > 0 && ae[a] >= l.inflow - 1e-6, g = s.y + s.height;
327
+ (te || h > g - .25) && (h = g);
328
+ let _ = c(m + S), v = c(h + S), y = c(r.x + ne), b = c(s.x), ce;
329
+ if (!oe || b <= y) ce = `M ${y} ${f} L ${y} ${p} L ${b} ${v} L ${b} ${_} Z`;
322
330
  else {
323
- let e = x - b, t = g(b + e * oe), n = g(x - e * oe), r = f, i = v, a = p, o = y;
324
- se = `M ${b} ${r} C ${t} ${r}, ${n} ${i}, ${x} ${i} L ${x} ${o} C ${n} ${o}, ${t} ${a}, ${b} ${a} Z`;
331
+ let e = b - y, t = c(y + e * se), n = c(b - e * se), r = f, i = _, a = p, o = v;
332
+ ce = `M ${y} ${r} C ${t} ${r}, ${n} ${i}, ${b} ${i} L ${b} ${o} C ${n} ${o}, ${t} ${a}, ${y} ${a} Z`;
325
333
  }
326
- ne.push({
327
- id: a(),
334
+ re.push({
335
+ id: ee(),
328
336
  source: e,
329
- target: o,
330
- path: se,
331
- value: s,
337
+ target: a,
338
+ path: ce,
339
+ value: o,
332
340
  sourceColor: n.color,
333
- targetColor: t[o].color
334
- }), i = p - C, re[o] = h;
341
+ targetColor: t[a].color
342
+ }), i = p - S, ie[a] = h;
335
343
  });
336
344
  });
337
345
  }), {
338
- nodeCoordinates: S,
339
- links: ne
346
+ nodeCoordinates: x,
347
+ links: re
340
348
  };
341
349
  }
342
- let q = w(() => {
343
- let e = Gt(Dt.value);
350
+ let q = C(() => {
351
+ let e = qt(kt.value);
344
352
  return {
345
353
  nodes: Object.keys(e.nodeCoordinates).map((t, n) => ({
346
354
  ...e.nodeCoordinates[t],
@@ -348,133 +356,133 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
348
356
  })),
349
357
  links: e.links
350
358
  };
351
- }), Kt = w(() => Ft.value), qt = w(() => It.value), Jt = w(() => U.value.style.chart.padding), Yt = w(() => ({
352
- width: Math.max(0, Kt.value - 40 - Jt.value.right - Jt.value.left),
353
- height: Math.max(0, qt.value - Jt.value.top - Jt.value.bottom)
354
- })), Xt = w(() => ({
355
- width: Kt.value,
356
- height: qt.value
359
+ }), Jt = C(() => Lt.value), Yt = C(() => Rt.value), Xt = C(() => U.value.style.chart.padding), Zt = C(() => ({
360
+ width: Math.max(0, Jt.value - 40 - Xt.value.right - Xt.value.left),
361
+ height: Math.max(0, Yt.value - Xt.value.top - Xt.value.bottom)
362
+ })), Qt = C(() => ({
363
+ width: Jt.value,
364
+ height: Yt.value
357
365
  }));
358
- function Zt(e) {
366
+ function $t(e) {
359
367
  let t = {}, n = {}, r = /* @__PURE__ */ new Set();
360
- return Wt.value.forEach(([e, r, i]) => {
368
+ return Kt.value.forEach(([e, r, i]) => {
361
369
  t[e] || (t[e] = []), n[r] || (n[r] = []), t[e].push(r), n[r].push(e);
362
370
  }), t[e] && t[e].forEach((e) => r.add(e)), n[e] && n[e].forEach((e) => r.add(e)), Array.from(r).concat(e);
363
371
  }
364
- let J = P(null), Y = P(null), X = P(null), Qt = P(!1), $t = P(null);
365
- function en() {
366
- $t.value = null, J.value = null, Y.value = null, ot.value = !1, yt.value = null, V.value = null;
372
+ let J = N(null), Y = N(null), X = N(null), en = N(!1), tn = N(null);
373
+ function nn() {
374
+ tn.value = null, J.value = null, Y.value = null, ct.value = !1, xt.value = null, V.value = null;
367
375
  }
368
- function tn(e) {
376
+ function rn(e) {
369
377
  if (!G.value || !e) return;
370
378
  let t = G.value.querySelector(`[data-a11y-node-id="${e}"]`);
371
379
  if (!t) return;
372
380
  let n = t.getBoundingClientRect();
373
- bt.value = {
381
+ St.value = {
374
382
  x: n.left + n.width / 2,
375
383
  y: n.top + n.height / 2
376
384
  };
377
385
  }
378
- function nn(e, t, n = "pointer", r = null) {
379
- $.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = n, yt.value = r, V.value = e.id;
380
- let i = e.name, a = Wt.value, o = 0, s = 0, u = [], f = [], p = new Set(a.map(([e]) => e)), m = new Set(a.map(([, e]) => e)), h = Array.from(p).filter((e) => !m.has(e)), ee = a.filter(([e]) => h.includes(e)).reduce((e, [t, n, r]) => e + r, 0), g = {};
386
+ function an(e, t, n = "pointer", r = null) {
387
+ $.value = [], J.value = $t(e.name), Y.value = e.name, tn.value = e.id, Ct.value = n, xt.value = r, V.value = e.id;
388
+ let i = e.name, a = Kt.value, o = 0, c = 0, u = [], d = [], ee = new Set(a.map(([e]) => e)), f = new Set(a.map(([, e]) => e)), p = Array.from(ee).filter((e) => !f.has(e)), m = a.filter(([e]) => p.includes(e)).reduce((e, [t, n, r]) => e + r, 0), h = {};
381
389
  q.value.nodes.forEach((e) => {
382
- g[e.name] = e.color;
390
+ h[e.name] = e.color;
383
391
  }), a.forEach(([e, t, n]) => {
384
392
  t === i && (o += n, u.push({
385
393
  source: e,
386
394
  value: n,
387
- color: g[e]
388
- })), e === i && (s += n, f.push({
395
+ color: h[e]
396
+ })), e === i && (c += n, d.push({
389
397
  target: t,
390
398
  value: n,
391
- color: g[t]
399
+ color: h[t]
392
400
  }));
393
401
  });
394
- let te = ee > 0 ? Math.max(o, s) / ee * 100 : 0, _ = {
402
+ let ne = m > 0 ? Math.max(o, c) / m * 100 : 0, g = {
395
403
  name: i,
396
404
  inflow: o,
397
- outflow: s,
405
+ outflow: c,
398
406
  from: u,
399
- to: f,
400
- percentOfTotal: te,
401
- color: g[i] || "#000000"
407
+ to: d,
408
+ percentOfTotal: ne,
409
+ color: h[i] || "#000000"
402
410
  };
403
411
  U.value.events.datapointEnter && U.value.events.datapointEnter({
404
- datapoint: _,
412
+ datapoint: g,
405
413
  seriesIndex: t
406
414
  }), X.value = {
407
- datapoint: _,
415
+ datapoint: g,
408
416
  config: U.value,
409
417
  seriesIndex: t,
410
418
  series: q.value
411
- }, ot.value = !0;
412
- let v = "", y = U.value.style.chart.tooltip.customFormat;
413
- if (Qt.value = !1, l(y)) try {
414
- let e = y({
415
- datapoint: _,
419
+ }, ct.value = !0;
420
+ let _ = "", v = U.value.style.chart.tooltip.customFormat;
421
+ if (en.value = !1, te(v)) try {
422
+ let e = v({
423
+ datapoint: g,
416
424
  series: q.value,
417
425
  config: U.value
418
426
  });
419
- typeof e == "string" && (st.value = e, Qt.value = !0);
427
+ typeof e == "string" && (lt.value = e, en.value = !0);
420
428
  } catch {
421
429
  console.warn("Custom format cannot be applied.");
422
430
  }
423
- if (!Qt.value) {
424
- let e = U.value.style.chart.tooltip.showPercentage ? `<div>${c({
431
+ if (!en.value) {
432
+ let e = U.value.style.chart.tooltip.showPercentage ? `<div>${s({
425
433
  p: U.value.style.chart.tooltip.translations.percentOfTotal,
426
- v: _.percentOfTotal,
434
+ v: g.percentOfTotal,
427
435
  s: "%",
428
436
  r: U.value.style.chart.tooltip.roundingPercentage
429
437
  })}</div>` : "";
430
- v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${U.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${_.color}">⏹</span>${_.name}${e}</div>`, _.from.length && (v += `<div>${U.value.style.chart.tooltip.translations.from}</div>`, _.from.forEach((e) => {
431
- v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, c({
438
+ _ += `<div style="width:100%;text-align:center;border-bottom:1px solid ${U.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${g.color}">⏹</span>${g.name}${e}</div>`, g.from.length && (_ += `<div>${U.value.style.chart.tooltip.translations.from}</div>`, g.from.forEach((e) => {
439
+ _ += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${l(U.value.style.chart.nodes.labels.formatter, e.value, s({
432
440
  p: U.value.style.chart.nodes.labels.prefix,
433
441
  v: e.value,
434
442
  s: U.value.style.chart.nodes.labels.suffix,
435
443
  r: U.value.style.chart.nodes.labels.rounding
436
444
  }))}</div>`;
437
- })), _.to.length && (v += `<div style="margin-top:6px;">${U.value.style.chart.tooltip.translations.to}</div>`, _.to.forEach((e) => {
438
- v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, c({
445
+ })), g.to.length && (_ += `<div style="margin-top:6px;">${U.value.style.chart.tooltip.translations.to}</div>`, g.to.forEach((e) => {
446
+ _ += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${l(U.value.style.chart.nodes.labels.formatter, e.value, s({
439
447
  p: U.value.style.chart.nodes.labels.prefix,
440
448
  v: e.value,
441
449
  s: U.value.style.chart.nodes.labels.suffix,
442
450
  r: U.value.style.chart.nodes.labels.rounding
443
451
  }))}</div>`;
444
- })), st.value = v;
452
+ })), lt.value = _;
445
453
  }
446
- n === "keyboard" && _e(() => {
447
- tn(e.id);
454
+ n === "keyboard" && be(() => {
455
+ rn(e.id);
448
456
  });
449
457
  }
450
- function rn(e) {
458
+ function on(e) {
451
459
  let t = X.value;
452
460
  U.value.events.datapointLeave && U.value.events.datapointLeave({
453
461
  datapoint: t,
454
462
  seriesIndex: e
455
- }), !(xt.value === "keyboard" && V.value) && ($t.value = null, J.value = null, Y.value = null, ot.value = !1);
463
+ }), !(Ct.value === "keyboard" && V.value) && (tn.value = null, J.value = null, Y.value = null, ct.value = !1);
456
464
  }
457
- function an(e) {
465
+ function sn(e) {
458
466
  let t = X.value;
459
467
  U.value.events.datapointClick && U.value.events.datapointClick({
460
468
  datapoint: t,
461
469
  seriesIndex: e
462
470
  });
463
471
  }
464
- let on = w(() => q.value.links.map(({ source: e, target: t, sourceColor: n, targetColor: r, value: i }) => ({
472
+ let cn = C(() => q.value.links.map(({ source: e, target: t, sourceColor: n, targetColor: r, value: i }) => ({
465
473
  source: e,
466
474
  target: t,
467
475
  sourceColor: n,
468
476
  targetColor: r,
469
477
  value: i
470
478
  })));
471
- function sn(e = null) {
472
- _e(() => {
473
- let t = on.value.map((e, t) => [
479
+ function ln(e = null) {
480
+ be(() => {
481
+ let r = cn.value.map((e, t) => [
474
482
  [e.source],
475
483
  [e.target],
476
484
  [e.value]
477
- ]), n = r([
485
+ ]), i = n([
478
486
  [U.value.style.chart.title.text],
479
487
  [U.value.style.chart.title.subtitle.text],
480
488
  [
@@ -482,19 +490,19 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
482
490
  [U.value.table.columnNames.target],
483
491
  [U.value.table.columnNames.value]
484
492
  ]
485
- ].concat(t));
486
- e ? e(n) : s({
487
- csvContent: n,
493
+ ].concat(r));
494
+ e ? e(i) : t({
495
+ csvContent: i,
488
496
  title: U.value.style.chart.title.text || "vue-ui-flow"
489
497
  });
490
498
  });
491
499
  }
492
- let Z = w(() => {
500
+ let Z = C(() => {
493
501
  let e = [
494
502
  U.value.table.columnNames.source,
495
503
  U.value.table.columnNames.target,
496
504
  U.value.table.columnNames.value
497
- ], t = on.value.map((e, t) => [
505
+ ], t = cn.value.map((e, t) => [
498
506
  {
499
507
  color: e.sourceColor,
500
508
  name: e.source,
@@ -505,7 +513,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
505
513
  name: e.target,
506
514
  shape: "square"
507
515
  },
508
- c({
516
+ s({
509
517
  p: U.value.style.chart.nodes.labels.prefix,
510
518
  v: e.value,
511
519
  s: U.value.style.chart.nodes.labels.suffix,
@@ -534,17 +542,17 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
534
542
  body: t,
535
543
  config: n
536
544
  };
537
- }), cn = w(() => ({
545
+ }), un = C(() => ({
538
546
  headers: Z.value?.colNames ?? [],
539
547
  rows: Z.value?.body ?? []
540
- })), ln = w(() => [...q.value.nodes].map((e, t) => ({
548
+ })), dn = C(() => [...q.value.nodes].map((e, t) => ({
541
549
  ...e,
542
550
  index: t,
543
- centerX: e.x + Ut.value / 2,
544
- centerY: g(e.absoluteY) + U.value.style.chart.padding.top + e.height / 2
545
- })).sort((e, t) => e.x === t.x ? e.absoluteY - t.absoluteY : e.x - t.x)), Q = w(() => {
551
+ centerX: e.x + Gt.value / 2,
552
+ centerY: c(e.absoluteY) + U.value.style.chart.padding.top + e.height / 2
553
+ })).sort((e, t) => e.x === t.x ? e.absoluteY - t.absoluteY : e.x - t.x)), Q = C(() => {
546
554
  let e = [];
547
- return ln.value.forEach((t) => {
555
+ return dn.value.forEach((t) => {
548
556
  let n = e.find((e) => Math.abs(e.x - t.x) <= 1);
549
557
  n ? n.nodes.push(t) : e.push({
550
558
  x: t.x,
@@ -553,37 +561,37 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
553
561
  }), e.forEach((e) => {
554
562
  e.nodes.sort((e, t) => e.absoluteY - t.absoluteY);
555
563
  }), e.sort((e, t) => e.x - t.x);
556
- }), un = w(() => {
564
+ }), fn = C(() => {
557
565
  let e = /* @__PURE__ */ new Map();
558
- return ln.value.forEach((t, n) => {
566
+ return dn.value.forEach((t, n) => {
559
567
  e.set(t.id, n);
560
568
  }), e;
561
569
  });
562
- function dn() {
570
+ function pn() {
563
571
  return q.value;
564
572
  }
565
- function fn() {
573
+ function mn() {
566
574
  K.value.showTable = !K.value.showTable;
567
575
  }
568
- let pn = P(!1);
569
- function mn() {
570
- pn.value = !pn.value;
576
+ let hn = N(!1);
577
+ function gn() {
578
+ hn.value = !hn.value;
571
579
  }
572
- function hn() {
580
+ function _n() {
573
581
  K.value.showTooltip = !K.value.showTooltip;
574
582
  }
575
- let gn = w(() => {
583
+ let vn = C(() => {
576
584
  let e = new Set(q.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
577
585
  return Array.from(e).map((e) => ({
578
586
  name: e,
579
- color: U.value.nodeCategoryColors[e] || o[0],
587
+ color: U.value.nodeCategoryColors[e] || a[0],
580
588
  shape: "square",
581
589
  count: q.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
582
590
  })).map((e, t) => {
583
591
  let n = $.value.includes(t);
584
592
  return {
585
593
  ...e,
586
- segregate: () => vn({
594
+ segregate: () => bn({
587
595
  legend: e,
588
596
  i: t
589
597
  }),
@@ -592,8 +600,8 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
592
600
  display: `${e.name} (${e.count})`
593
601
  };
594
602
  });
595
- }), _n = w(() => gn.value.filter((e) => e.name !== "__uncategorized__")), $ = P([]);
596
- function vn({ legend: e, i: t }) {
603
+ }), yn = C(() => vn.value.filter((e) => e.name !== "__uncategorized__")), $ = N([]);
604
+ function bn({ legend: e, i: t }) {
597
605
  let n = e.name;
598
606
  if (J.value?.every((e) => U.value.nodeCategories[e] === n)) {
599
607
  J.value = null, Y.value = null, $.value = [];
@@ -601,7 +609,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
601
609
  }
602
610
  $.value = [t], J.value = q.value.nodes.filter((e) => U.value.nodeCategories[e.name] === n).map((e) => e.name), Y.value = null;
603
611
  }
604
- let yn = w(() => ({
612
+ let xn = C(() => ({
605
613
  cy: "flow-legend",
606
614
  backgroundColor: U.value.style.chart.legend.backgroundColor,
607
615
  color: U.value.style.chart.legend.color,
@@ -609,9 +617,9 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
609
617
  paddingBottom: U.value.style.chart.legend.paddingBottom,
610
618
  fontWeight: U.value.style.chart.legend.bold ? "bold" : "normal"
611
619
  }));
612
- async function bn({ scale: e = 2 } = {}) {
620
+ async function Sn({ scale: e = 2 } = {}) {
613
621
  if (!B.value) return;
614
- let { width: t, height: n } = B.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ne({
622
+ let { width: t, height: n } = B.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ie({
615
623
  domElement: B.value,
616
624
  base64: !0,
617
625
  img: !0,
@@ -626,10 +634,10 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
626
634
  aspectRatio: r
627
635
  };
628
636
  }
629
- let xn = w(() => {
637
+ let Cn = C(() => {
630
638
  let e = U.value.table.useDialog && !U.value.table.show, t = K.value.showTable;
631
639
  return {
632
- component: e ? $e : Je,
640
+ component: e ? tt : Xe,
633
641
  title: `${U.value.style.chart.title.text}${U.value.style.chart.title.subtitle.text ? `: ${U.value.style.chart.title.subtitle.text}` : ""}`,
634
642
  props: e ? {
635
643
  backgroundColor: U.value.table.th.backgroundColor,
@@ -657,51 +665,51 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
657
665
  }
658
666
  };
659
667
  });
660
- we(() => K.value.showTable, (e) => {
661
- U.value.table.show || (e && U.value.table.useDialog && mt.value ? mt.value.open() : "close" in mt.value && mt.value.close());
668
+ Ee(() => K.value.showTable, (e) => {
669
+ U.value.table.show || (e && U.value.table.useDialog && gt.value ? gt.value.open() : "close" in gt.value && gt.value.close());
662
670
  });
663
- function Sn() {
664
- K.value.showTable = !1, ht.value && ht.value.setTableIconState(!1);
671
+ function wn() {
672
+ K.value.showTable = !1, _t.value && _t.value.setTableIconState(!1);
665
673
  }
666
- let Cn = w(() => _n.value.map((e) => ({
674
+ let Tn = C(() => yn.value.map((e) => ({
667
675
  ...e,
668
676
  name: e.display
669
- }))), wn = w(() => U.value.style.chart.backgroundColor), Tn = w(() => U.value.style.chart.legend), { exportSvg: En, getSvg: Dn } = b({
677
+ }))), En = C(() => U.value.style.chart.backgroundColor), Dn = C(() => U.value.style.chart.legend), { exportSvg: On, getSvg: kn } = x({
670
678
  svg: G,
671
- title: w(() => U.value.style.chart.title),
672
- legend: Tn,
673
- legendItems: Cn,
674
- backgroundColor: wn
679
+ title: C(() => U.value.style.chart.title),
680
+ legend: Dn,
681
+ legendItems: Tn,
682
+ backgroundColor: En
675
683
  });
676
- async function On({ isCb: e }) {
677
- vt.value = !0, await _e();
684
+ async function An({ isCb: e }) {
685
+ bt.value = !0, await be();
678
686
  try {
679
687
  if (e) {
680
- let { blob: e, url: t, text: n, dataUrl: r } = await Dn();
688
+ let { blob: e, url: t, text: n, dataUrl: r } = await kn();
681
689
  await Promise.resolve(U.value.userOptions.callbacks.svg({
682
690
  blob: e,
683
691
  url: t,
684
692
  text: n,
685
693
  dataUrl: r
686
694
  }));
687
- } else await Promise.resolve(En());
695
+ } else await Promise.resolve(On());
688
696
  } finally {
689
- vt.value = !1;
697
+ bt.value = !1;
690
698
  }
691
699
  }
692
- function kn(e) {
700
+ function jn(e) {
693
701
  if (e?.stage === "start") {
694
- _t.value = !0;
702
+ yt.value = !0;
695
703
  return;
696
704
  }
697
705
  if (e?.stage === "end") {
698
- _t.value = !1;
706
+ yt.value = !1;
699
707
  return;
700
708
  }
701
- Bt();
709
+ Ht();
702
710
  }
703
- async function An() {
704
- if (rt("copyAlt", {
711
+ async function Mn() {
712
+ if (at("copyAlt", {
705
713
  config: U.value,
706
714
  dataset: q.value
707
715
  }), !U.value.userOptions.callbacks.altCopy) {
@@ -713,14 +721,14 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
713
721
  dataset: q.value
714
722
  }));
715
723
  }
716
- function jn(e) {
724
+ function Nn(e) {
717
725
  return Q.value.findIndex((t) => t.nodes.some((t) => t.id === e));
718
726
  }
719
- function Mn(e, t) {
727
+ function Pn(e, t) {
720
728
  let n = Q.value[e];
721
729
  return n ? n.nodes.findIndex((e) => e.id === t) : -1;
722
730
  }
723
- function Nn(e, t) {
731
+ function Fn(e, t) {
724
732
  let n = Q.value[e];
725
733
  if (!n || !n.nodes.length) return null;
726
734
  let r = n.nodes[0], i = Math.abs(r.centerY - t);
@@ -730,41 +738,41 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
730
738
  }
731
739
  return r;
732
740
  }
733
- function Pn() {
734
- yt.value = null, V.value = null, St.value = !0;
741
+ function In() {
742
+ xt.value = null, V.value = null, wt.value = !0;
735
743
  }
736
- function Fn() {
737
- en(), St.value = !1;
744
+ function Ln() {
745
+ nn(), wt.value = !1;
738
746
  }
739
- function In(e) {
740
- if (!G.value || pn.value || document.activeElement !== G.value || !ln.value.length) return;
747
+ function Rn(e) {
748
+ if (!G.value || hn.value || document.activeElement !== G.value || !dn.value.length) return;
741
749
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
742
750
  if (!t && !n && !r && !i && !a && !o) return;
743
751
  if (e.preventDefault(), e.stopPropagation(), o) {
744
- en();
752
+ nn();
745
753
  return;
746
754
  }
747
755
  if (a) {
748
- if (yt.value === null) return;
749
- an(yt.value);
756
+ if (xt.value === null) return;
757
+ sn(xt.value);
750
758
  return;
751
759
  }
752
760
  if (V.value === null) {
753
761
  let e = Q.value[0]?.nodes?.[0];
754
762
  if (!e) return;
755
- let t = un.value.get(e.id) ?? 0;
756
- nn(e, t, "keyboard", t);
763
+ let t = fn.value.get(e.id) ?? 0;
764
+ an(e, t, "keyboard", t);
757
765
  return;
758
766
  }
759
- let s = un.value.get(V.value);
767
+ let s = fn.value.get(V.value);
760
768
  if (s === void 0) return;
761
- let c = ln.value[s];
769
+ let c = dn.value[s];
762
770
  if (!c) return;
763
- let l = jn(c.id);
771
+ let l = Nn(c.id);
764
772
  if (l < 0) return;
765
773
  let u = null;
766
774
  if (r || i) {
767
- let e = Mn(l, c.id);
775
+ let e = Pn(l, c.id);
768
776
  if (e < 0) return;
769
777
  let t = Q.value[l];
770
778
  if (!t?.nodes?.length) return;
@@ -773,46 +781,46 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
773
781
  }
774
782
  if (t || n) {
775
783
  let e = l + (n ? 1 : -1);
776
- e < 0 && (e = Q.value.length - 1), e >= Q.value.length && (e = 0), u = Nn(e, c.centerY);
784
+ e < 0 && (e = Q.value.length - 1), e >= Q.value.length && (e = 0), u = Fn(e, c.centerY);
777
785
  }
778
786
  if (!u) return;
779
- let d = un.value.get(u.id);
780
- d !== void 0 && nn(u, d, "keyboard", d);
787
+ let d = fn.value.get(u.id);
788
+ d !== void 0 && an(u, d, "keyboard", d);
781
789
  }
782
- return re({
783
- getData: dn,
784
- getImage: bn,
785
- generateCsv: sn,
786
- generateImage: Bt,
787
- generateSvg: On,
788
- generatePdf: zt,
789
- toggleTable: fn,
790
- toggleAnnotator: mn,
791
- toggleTooltip: hn,
792
- drillCategory: vn,
793
- unselectNode: rn,
794
- toggleFullscreen: wt,
795
- copyAlt: An
796
- }), (e, t) => (N(), D("div", {
790
+ return oe({
791
+ getData: pn,
792
+ getImage: Sn,
793
+ generateCsv: ln,
794
+ generateImage: Ht,
795
+ generateSvg: An,
796
+ generatePdf: Vt,
797
+ toggleTable: mn,
798
+ toggleAnnotator: gn,
799
+ toggleTooltip: _n,
800
+ drillCategory: bn,
801
+ unselectNode: on,
802
+ toggleFullscreen: Et,
803
+ copyAlt: Mn
804
+ }), (e, t) => (M(), E("div", {
797
805
  ref_key: "flowChart",
798
806
  ref: B,
799
- class: ve(`vue-data-ui-component vue-ui-flow ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
800
- style: M(`font-family:${U.value.style.fontFamily};width:100%; text-align:center;background:${U.value.style.chart.backgroundColor}`),
807
+ class: xe(`vue-data-ui-component vue-ui-flow ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
808
+ style: j(`font-family:${U.value.style.fontFamily};width:100%; text-align:center;background:${U.value.style.chart.backgroundColor}`),
801
809
  id: `flow_${z.value}`,
802
- onMouseenter: t[2] ||= () => I(Mt)(!0),
810
+ onMouseenter: t[2] ||= () => I(Pt)(!0),
803
811
  onMouseleave: t[3] ||= () => {
804
- I(Mt)(!1), St.value || en();
812
+ I(Pt)(!1), wt.value || nn();
805
813
  }
806
814
  }, [
807
- O("div", {
815
+ D("div", {
808
816
  id: `chart-instructions-${z.value}`,
809
817
  class: "sr-only"
810
- }, [O("p", null, Se(U.value.a11y.translations.keyboardNavigation), 1)], 8, De),
811
- cn.value?.rows?.length ? (N(), T(oe, {
818
+ }, [D("p", null, F(U.value.a11y.translations.keyboardNavigation), 1)], 8, ke),
819
+ un.value?.rows?.length ? (M(), w(le, {
812
820
  key: 0,
813
821
  uid: z.value,
814
- head: cn.value.headers,
815
- body: cn.value.rows,
822
+ head: un.value.headers,
823
+ body: un.value.rows,
816
824
  notice: U.value.a11y.translations.tableAvailable,
817
825
  caption: U.value.a11y.translations.tableCaption
818
826
  }, null, 8, [
@@ -821,22 +829,22 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
821
829
  "body",
822
830
  "notice",
823
831
  "caption"
824
- ])) : E("", !0),
825
- U.value.userOptions.buttons.annotator ? (N(), T(I(Xe), {
832
+ ])) : T("", !0),
833
+ U.value.userOptions.buttons.annotator ? (M(), w(I(Qe), {
826
834
  key: 1,
827
835
  svgRef: I(G),
828
836
  backgroundColor: U.value.style.chart.backgroundColor,
829
837
  color: U.value.style.chart.color,
830
- active: pn.value,
831
- onClose: mn,
838
+ active: hn.value,
839
+ onClose: gn,
832
840
  isCursorPointer: W.value
833
841
  }, {
834
- "annotator-action-close": L(() => [F(e.$slots, "annotator-action-close", {}, void 0, !0)]),
835
- "annotator-action-color": L(({ color: t }) => [F(e.$slots, "annotator-action-color", j(A({ color: t })), void 0, !0)]),
836
- "annotator-action-draw": L(({ mode: t }) => [F(e.$slots, "annotator-action-draw", j(A({ mode: t })), void 0, !0)]),
837
- "annotator-action-undo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-undo", j(A({ disabled: t })), void 0, !0)]),
838
- "annotator-action-redo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-redo", j(A({ disabled: t })), void 0, !0)]),
839
- "annotator-action-delete": L(({ disabled: t }) => [F(e.$slots, "annotator-action-delete", j(A({ disabled: t })), void 0, !0)]),
842
+ "annotator-action-close": L(() => [P(e.$slots, "annotator-action-close", {}, void 0, !0)]),
843
+ "annotator-action-color": L(({ color: t }) => [P(e.$slots, "annotator-action-color", A(k({ color: t })), void 0, !0)]),
844
+ "annotator-action-draw": L(({ mode: t }) => [P(e.$slots, "annotator-action-draw", A(k({ mode: t })), void 0, !0)]),
845
+ "annotator-action-undo": L(({ disabled: t }) => [P(e.$slots, "annotator-action-undo", A(k({ disabled: t })), void 0, !0)]),
846
+ "annotator-action-redo": L(({ disabled: t }) => [P(e.$slots, "annotator-action-redo", A(k({ disabled: t })), void 0, !0)]),
847
+ "annotator-action-delete": L(({ disabled: t }) => [P(e.$slots, "annotator-action-delete", A(k({ disabled: t })), void 0, !0)]),
840
848
  _: 3
841
849
  }, 8, [
842
850
  "svgRef",
@@ -844,15 +852,15 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
844
852
  "color",
845
853
  "active",
846
854
  "isCursorPointer"
847
- ])) : E("", !0),
848
- Vt.value ? (N(), D("div", Oe, null, 512)) : E("", !0),
849
- U.value.style.chart.title.text ? (N(), D("div", {
855
+ ])) : T("", !0),
856
+ Ut.value ? (M(), E("div", Ae, null, 512)) : T("", !0),
857
+ U.value.style.chart.title.text ? (M(), E("div", {
850
858
  key: 3,
851
859
  ref_key: "chartTitle",
852
- ref: lt,
860
+ ref: dt,
853
861
  style: "width:100%;background:transparent;padding-bottom:24px"
854
- }, [(N(), T(C, {
855
- key: `title_${at.value}`,
862
+ }, [(M(), w(ae, {
863
+ key: `title_${st.value}`,
856
864
  config: {
857
865
  title: {
858
866
  cy: "flow-title",
@@ -863,16 +871,16 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
863
871
  ...U.value.style.chart.title.subtitle
864
872
  }
865
873
  }
866
- }, null, 8, ["config"]))], 512)) : E("", !0),
867
- O("div", { id: `legend-top-${z.value}` }, null, 8, ke),
868
- U.value.userOptions.show && Ct.value && (I(Nt) || I(jt)) ? (N(), T(I(Ze), {
874
+ }, null, 8, ["config"]))], 512)) : T("", !0),
875
+ D("div", { id: `legend-top-${z.value}` }, null, 8, je),
876
+ U.value.userOptions.show && Tt.value && (I(Ft) || I(Nt)) ? (M(), w(I($e), {
869
877
  ref_key: "userOptionsRef",
870
- ref: ht,
871
- key: `user_option_${it.value}`,
878
+ ref: _t,
879
+ key: `user_option_${ot.value}`,
872
880
  backgroundColor: U.value.style.chart.backgroundColor,
873
881
  color: U.value.style.chart.color,
874
- isPrinting: I(Lt),
875
- isImaging: I(Rt),
882
+ isPrinting: I(zt),
883
+ isImaging: I(Bt),
876
884
  uid: z.value,
877
885
  hasPdf: U.value.userOptions.buttons.pdf,
878
886
  hasXls: U.value.userOptions.buttons.csv,
@@ -888,25 +896,25 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
888
896
  position: U.value.userOptions.position,
889
897
  hasAnnotator: U.value.userOptions.buttons.annotator,
890
898
  printScale: U.value.userOptions.print.scale,
891
- isAnnotation: pn.value,
899
+ isAnnotation: hn.value,
892
900
  hasTooltip: U.value.style.chart.tooltip.show && U.value.userOptions.buttons.tooltip,
893
901
  isTooltip: K.value.showTooltip,
894
902
  tableDialog: U.value.table.useDialog,
895
903
  isCursorPointer: W.value,
896
- onToggleTooltip: hn,
897
- onToggleFullscreen: wt,
898
- onGeneratePdf: I(zt),
899
- onGenerateCsv: sn,
900
- onGenerateImage: kn,
901
- onGenerateSvg: On,
902
- onToggleTable: fn,
903
- onToggleAnnotator: mn,
904
- onCopyAlt: An,
905
- style: M({ visibility: I(Nt) ? I(jt) ? "visible" : "hidden" : "visible" })
906
- }, pe({ _: 2 }, [
904
+ onToggleTooltip: _n,
905
+ onToggleFullscreen: Et,
906
+ onGeneratePdf: I(Vt),
907
+ onGenerateCsv: ln,
908
+ onGenerateImage: jn,
909
+ onGenerateSvg: An,
910
+ onToggleTable: mn,
911
+ onToggleAnnotator: gn,
912
+ onCopyAlt: Mn,
913
+ style: j({ visibility: I(Ft) ? I(Nt) ? "visible" : "hidden" : "visible" })
914
+ }, ge({ _: 2 }, [
907
915
  e.$slots.menuIcon ? {
908
916
  name: "menuIcon",
909
- fn: L(({ isOpen: t, color: n }) => [F(e.$slots, "menuIcon", j(A({
917
+ fn: L(({ isOpen: t, color: n }) => [P(e.$slots, "menuIcon", A(k({
910
918
  isOpen: t,
911
919
  color: n
912
920
  })), void 0, !0)]),
@@ -914,37 +922,37 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
914
922
  } : void 0,
915
923
  e.$slots.optionTooltip ? {
916
924
  name: "optionTooltip",
917
- fn: L(() => [F(e.$slots, "optionTooltip", {}, void 0, !0)]),
925
+ fn: L(() => [P(e.$slots, "optionTooltip", {}, void 0, !0)]),
918
926
  key: "1"
919
927
  } : void 0,
920
928
  e.$slots.optionPdf ? {
921
929
  name: "optionPdf",
922
- fn: L(() => [F(e.$slots, "optionPdf", {}, void 0, !0)]),
930
+ fn: L(() => [P(e.$slots, "optionPdf", {}, void 0, !0)]),
923
931
  key: "2"
924
932
  } : void 0,
925
933
  e.$slots.optionCsv ? {
926
934
  name: "optionCsv",
927
- fn: L(() => [F(e.$slots, "optionCsv", {}, void 0, !0)]),
935
+ fn: L(() => [P(e.$slots, "optionCsv", {}, void 0, !0)]),
928
936
  key: "3"
929
937
  } : void 0,
930
938
  e.$slots.optionImg ? {
931
939
  name: "optionImg",
932
- fn: L(() => [F(e.$slots, "optionImg", {}, void 0, !0)]),
940
+ fn: L(() => [P(e.$slots, "optionImg", {}, void 0, !0)]),
933
941
  key: "4"
934
942
  } : void 0,
935
943
  e.$slots.optionSvg ? {
936
944
  name: "optionSvg",
937
- fn: L(() => [F(e.$slots, "optionSvg", {}, void 0, !0)]),
945
+ fn: L(() => [P(e.$slots, "optionSvg", {}, void 0, !0)]),
938
946
  key: "5"
939
947
  } : void 0,
940
948
  e.$slots.optionTable ? {
941
949
  name: "optionTable",
942
- fn: L(() => [F(e.$slots, "optionTable", {}, void 0, !0)]),
950
+ fn: L(() => [P(e.$slots, "optionTable", {}, void 0, !0)]),
943
951
  key: "6"
944
952
  } : void 0,
945
953
  e.$slots.optionFullscreen ? {
946
954
  name: "optionFullscreen",
947
- fn: L(({ toggleFullscreen: t, isFullscreen: n }) => [F(e.$slots, "optionFullscreen", j(A({
955
+ fn: L(({ toggleFullscreen: t, isFullscreen: n }) => [P(e.$slots, "optionFullscreen", A(k({
948
956
  toggleFullscreen: t,
949
957
  isFullscreen: n
950
958
  })), void 0, !0)]),
@@ -952,7 +960,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
952
960
  } : void 0,
953
961
  e.$slots.optionAnnotator ? {
954
962
  name: "optionAnnotator",
955
- fn: L(({ toggleAnnotator: t, isAnnotator: n }) => [F(e.$slots, "optionAnnotator", j(A({
963
+ fn: L(({ toggleAnnotator: t, isAnnotator: n }) => [P(e.$slots, "optionAnnotator", A(k({
956
964
  toggleAnnotator: t,
957
965
  isAnnotator: n
958
966
  })), void 0, !0)]),
@@ -960,64 +968,64 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
960
968
  } : void 0,
961
969
  e.$slots.optionAltCopy ? {
962
970
  name: "optionAltCopy",
963
- fn: L(({ altCopy: t }) => [F(e.$slots, "optionAltCopy", j(A({ altCopy: t })), void 0, !0)]),
971
+ fn: L(({ altCopy: t }) => [P(e.$slots, "optionAltCopy", A(k({ altCopy: t })), void 0, !0)]),
964
972
  key: "9"
965
973
  } : void 0,
966
974
  e.$slots["custom-menu-before"] ? {
967
975
  name: "custom-menu-before",
968
- fn: L(() => [F(e.$slots, "custom-menu-before", {}, void 0, !0)]),
976
+ fn: L(() => [P(e.$slots, "custom-menu-before", {}, void 0, !0)]),
969
977
  key: "10"
970
978
  } : void 0,
971
979
  e.$slots["custom-menu-after"] ? {
972
980
  name: "custom-menu-after",
973
- fn: L(() => [F(e.$slots, "custom-menu-after", {}, void 0, !0)]),
981
+ fn: L(() => [P(e.$slots, "custom-menu-after", {}, void 0, !0)]),
974
982
  key: "11"
975
983
  } : void 0
976
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.callbacks.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.printScale.isAnnotation.hasTooltip.isTooltip.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : E("", !0),
977
- O("div", Ae, [(N(), D("svg", {
984
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.callbacks.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.printScale.isAnnotation.hasTooltip.isTooltip.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : T("", !0),
985
+ D("div", Me, [(M(), E("svg", {
978
986
  ref_key: "svgRef",
979
987
  ref: G,
980
- xmlns: I(h),
988
+ xmlns: I(p),
981
989
  "aria-describedby": `chart-instructions-${z.value}`,
982
- viewBox: `0 0 ${Xt.value.width} ${Xt.value.height}`,
983
- class: ve({
990
+ viewBox: `0 0 ${Qt.value.width} ${Qt.value.height}`,
991
+ class: xe({
984
992
  "vue-data-ui-fullscreen--on": H.value,
985
993
  "vue-data-ui-fulscreen--off": !H.value
986
994
  }),
987
- style: M({
995
+ style: j({
988
996
  maxWidth: "100%",
989
997
  overflow: "visible",
990
998
  background: "transparent",
991
999
  color: U.value.style.chart.color
992
1000
  }),
993
1001
  tabindex: "0",
994
- onFocus: Pn,
995
- onBlur: Fn,
996
- onKeydown: In
1002
+ onFocus: In,
1003
+ onBlur: Ln,
1004
+ onKeydown: Rn
997
1005
  }, [
998
- he(I(Qe)),
999
- e.$slots["chart-background"] ? (N(), D("foreignObject", {
1006
+ ve(I(et)),
1007
+ e.$slots["chart-background"] ? (M(), E("foreignObject", {
1000
1008
  key: 0,
1001
1009
  x: 0,
1002
1010
  y: 0,
1003
- width: Xt.value.width,
1004
- height: Xt.value.height,
1011
+ width: Qt.value.width,
1012
+ height: Qt.value.height,
1005
1013
  style: { pointerEvents: "none" }
1006
- }, [F(e.$slots, "chart-background", {}, void 0, !0)], 8, Me)) : E("", !0),
1007
- O("defs", null, [(N(!0), D(de, null, be(q.value.links, (e, t) => (N(), D("linearGradient", {
1014
+ }, [P(e.$slots, "chart-background", {}, void 0, !0)], 8, Pe)) : T("", !0),
1015
+ D("defs", null, [(M(!0), E(me, null, Ce(q.value.links, (e, t) => (M(), E("linearGradient", {
1008
1016
  id: e.id,
1009
1017
  x1: "0%",
1010
1018
  y1: "0%",
1011
1019
  x2: "100%",
1012
1020
  y2: "0%"
1013
- }, [O("stop", {
1021
+ }, [D("stop", {
1014
1022
  offset: "0%",
1015
1023
  "stop-color": e.sourceColor
1016
- }, null, 8, Pe), O("stop", {
1024
+ }, null, 8, Ie), D("stop", {
1017
1025
  offset: "100%",
1018
1026
  "stop-color": e.targetColor
1019
- }, null, 8, Fe)], 8, Ne))), 256))]),
1020
- (N(!0), D(de, null, be(q.value.links, (e) => (N(), D("path", {
1027
+ }, null, 8, Le)], 8, Fe))), 256))]),
1028
+ (M(!0), E(me, null, Ce(q.value.links, (e) => (M(), E("path", {
1021
1029
  class: "vue-ui-flow-link",
1022
1030
  d: e.path,
1023
1031
  "stroke-linejoin": "round",
@@ -1025,53 +1033,53 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1025
1033
  fill: `url(#${e.id})`,
1026
1034
  stroke: U.value.style.chart.links.stroke,
1027
1035
  "stroke-width": U.value.style.chart.links.strokeWidth,
1028
- style: M(`
1036
+ style: j(`
1029
1037
  opacity:${J.value ? J.value.includes(e.source) && J.value.includes(e.target) ? 1 : .3 : Y.value ? [e.target, e.source].includes(Y.value) ? 1 : .3 : U.value.style.chart.links.opacity}
1030
1038
  `)
1031
- }, null, 12, Ie))), 256)),
1032
- (N(!0), D(de, null, be(q.value.nodes, (e, t) => (N(), D("rect", {
1039
+ }, null, 12, Re))), 256)),
1040
+ (M(!0), E(me, null, Ce(q.value.nodes, (e, t) => (M(), E("rect", {
1033
1041
  "data-a11y-node-id": e.id,
1034
1042
  class: "vue-ui-flow-node",
1035
1043
  x: e.x,
1036
- y: I(g)(e.absoluteY) + U.value.style.chart.padding.top,
1037
- height: I(g)(e.height),
1038
- width: Ut.value,
1044
+ y: I(c)(e.absoluteY) + U.value.style.chart.padding.top,
1045
+ height: I(c)(e.height),
1046
+ width: Gt.value,
1039
1047
  fill: e.color,
1040
1048
  stroke: U.value.style.chart.nodes.stroke,
1041
1049
  "stroke-width": U.value.style.chart.nodes.strokeWidth,
1042
1050
  rx: U.value.style.chart.nodes.borderRadius,
1043
- style: M({
1051
+ style: j({
1044
1052
  opacity: J.value ? J.value.includes(e.name) ? 1 : .3 : 1,
1045
- outline: $t.value !== null && $t.value === e.id ? "2px solid currentColor" : void 0
1053
+ outline: tn.value !== null && tn.value === e.id ? "2px solid currentColor" : void 0
1046
1054
  }),
1047
- "aria-label": `${e.name}: ${I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(c)({
1055
+ "aria-label": `${e.name}: ${I(l)(U.value.style.chart.nodes.labels.formatter, e.value, I(s)({
1048
1056
  p: U.value.style.chart.nodes.labels.prefix,
1049
1057
  v: e.value,
1050
1058
  s: U.value.style.chart.nodes.labels.suffix,
1051
1059
  r: U.value.style.chart.nodes.labels.rounding
1052
1060
  }))}`,
1053
- onMouseenter: (n) => nn(e, t, "pointer", un.value.get(e.id)),
1054
- onMouseleave: (e) => rn(t),
1055
- onClick: (e) => an(t)
1056
- }, null, 44, Le))), 256)),
1057
- U.value.style.chart.nodes.labels.show ? (N(), D("g", Re, [(N(!0), D(de, null, be(q.value.nodes, (e, t) => (N(), D("text", {
1058
- x: e.x + Ut.value / 2,
1059
- y: (U.value.style.chart.nodes.labels.showValue ? I(g)(e.absoluteY + e.height / 2 - U.value.style.chart.nodes.labels.fontSize / 4) : e.absoluteY + e.height / 2 + U.value.style.chart.nodes.labels.fontSize / 3) + U.value.style.chart.padding.top,
1061
+ onMouseenter: (n) => an(e, t, "pointer", fn.value.get(e.id)),
1062
+ onMouseleave: (e) => on(t),
1063
+ onClick: (e) => sn(t)
1064
+ }, null, 44, ze))), 256)),
1065
+ U.value.style.chart.nodes.labels.show ? (M(), E("g", Be, [(M(!0), E(me, null, Ce(q.value.nodes, (e, t) => (M(), E("text", {
1066
+ x: e.x + Gt.value / 2,
1067
+ y: (U.value.style.chart.nodes.labels.showValue ? I(c)(e.absoluteY + e.height / 2 - U.value.style.chart.nodes.labels.fontSize / 4) : e.absoluteY + e.height / 2 + U.value.style.chart.nodes.labels.fontSize / 3) + U.value.style.chart.padding.top,
1060
1068
  "font-size": U.value.style.chart.nodes.labels.fontSize,
1061
- fill: I(m)(e.color),
1069
+ fill: I(f)(e.color),
1062
1070
  "text-anchor": "middle",
1063
- style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1064
- }, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(f)({
1071
+ style: j(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1072
+ }, F(U.value.style.chart.nodes.labels.abbreviation.use ? I(d)({
1065
1073
  source: e.name,
1066
1074
  length: U.value.style.chart.nodes.labels.abbreviation.length
1067
- }) : e.name), 13, ze))), 256)), U.value.style.chart.nodes.labels.showValue ? (N(!0), D(de, { key: 0 }, be(q.value.nodes, (e, t) => (N(), D("text", {
1068
- x: e.x + Ut.value / 2,
1069
- y: I(g)(e.absoluteY + e.height / 2 + U.value.style.chart.nodes.labels.fontSize / 1.3) + U.value.style.chart.padding.top,
1075
+ }) : e.name), 13, Ve))), 256)), U.value.style.chart.nodes.labels.showValue ? (M(!0), E(me, { key: 0 }, Ce(q.value.nodes, (e, t) => (M(), E("text", {
1076
+ x: e.x + Gt.value / 2,
1077
+ y: I(c)(e.absoluteY + e.height / 2 + U.value.style.chart.nodes.labels.fontSize / 1.3) + U.value.style.chart.padding.top,
1070
1078
  "font-size": U.value.style.chart.nodes.labels.fontSize,
1071
- fill: I(m)(e.color),
1079
+ fill: I(f)(e.color),
1072
1080
  "text-anchor": "middle",
1073
- style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1074
- }, Se(I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(c)({
1081
+ style: j(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1082
+ }, F(I(l)(U.value.style.chart.nodes.labels.formatter, e.value, I(s)({
1075
1083
  p: U.value.style.chart.nodes.labels.prefix,
1076
1084
  v: e.value,
1077
1085
  s: U.value.style.chart.nodes.labels.suffix,
@@ -1079,53 +1087,53 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1079
1087
  }), {
1080
1088
  datapoint: e,
1081
1089
  seriesIndex: t
1082
- })), 13, Be))), 256)) : E("", !0)])) : E("", !0),
1083
- F(e.$slots, "svg", { svg: {
1084
- ...Xt.value,
1085
- isPrintingImg: I(Lt) || I(Rt) || _t.value,
1086
- isPrintingSvg: vt.value
1090
+ })), 13, He))), 256)) : T("", !0)])) : T("", !0),
1091
+ P(e.$slots, "svg", { svg: {
1092
+ ...Qt.value,
1093
+ isPrintingImg: I(zt) || I(Bt) || yt.value,
1094
+ isPrintingSvg: bt.value
1087
1095
  } }, void 0, !0)
1088
- ], 46, je)), e.$slots.hint ? (N(), D("div", Ve, [F(e.$slots, "hint", j(A({
1096
+ ], 46, Ne)), e.$slots.hint ? (M(), E("div", Ue, [P(e.$slots, "hint", A(k({
1089
1097
  hint: U.value.a11y.translations.keyboardNavigation,
1090
- isVisible: St.value
1091
- })), void 0, !0)])) : E("", !0)]),
1092
- e.$slots.watermark ? (N(), D("div", He, [F(e.$slots, "watermark", j(A({ isPrinting: I(Lt) || I(Rt) || _t.value || vt.value })), void 0, !0)])) : E("", !0),
1093
- O("div", { id: `legend-bottom-${z.value}` }, null, 8, Ue),
1094
- pt.value && (U.value.style.chart.legend.show || e.$slots.legend) ? (N(), T(fe, {
1098
+ isVisible: wt.value
1099
+ })), void 0, !0)])) : T("", !0)]),
1100
+ e.$slots.watermark ? (M(), E("div", We, [P(e.$slots, "watermark", A(k({ isPrinting: I(zt) || I(Bt) || yt.value || bt.value })), void 0, !0)])) : T("", !0),
1101
+ D("div", { id: `legend-bottom-${z.value}` }, null, 8, Ge),
1102
+ ht.value && (U.value.style.chart.legend.show || e.$slots.legend) ? (M(), w(he, {
1095
1103
  key: 6,
1096
1104
  to: U.value.style.chart.legend.position === "top" ? `#legend-top-${z.value}` : `#legend-bottom-${z.value}`
1097
- }, [O("div", {
1105
+ }, [D("div", {
1098
1106
  ref_key: "chartLegend",
1099
- ref: ct
1100
- }, [F(e.$slots, "legend", { legend: gn.value }, () => [U.value.style.chart.legend.show && _n.value.length ? (N(), T(le, {
1107
+ ref: ut
1108
+ }, [P(e.$slots, "legend", { legend: vn.value }, () => [U.value.style.chart.legend.show && yn.value.length ? (M(), w(fe, {
1101
1109
  key: 0,
1102
- legendSet: _n.value,
1103
- config: yn.value,
1110
+ legendSet: yn.value,
1111
+ config: xn.value,
1104
1112
  isCursorPointer: W.value,
1105
- onClickMarker: t[0] ||= (e) => vn(e)
1113
+ onClickMarker: t[0] ||= (e) => bn(e)
1106
1114
  }, {
1107
- item: L(({ legend: e, index: t }) => [I(Et) ? E("", !0) : (N(), D("div", {
1115
+ item: L(({ legend: e, index: t }) => [I(Ot) ? T("", !0) : (M(), E("div", {
1108
1116
  key: 0,
1109
1117
  onClick: (t) => e.segregate(),
1110
- style: M(`opacity:${$.value.length ? $.value.includes(t) ? 1 : .5 : 1}`)
1111
- }, Se(e.display), 13, We))]),
1118
+ style: j(`opacity:${$.value.length ? $.value.includes(t) ? 1 : .5 : 1}`)
1119
+ }, F(e.display), 13, Ke))]),
1112
1120
  _: 1
1113
1121
  }, 8, [
1114
1122
  "legendSet",
1115
1123
  "config",
1116
1124
  "isCursorPointer"
1117
- ])) : E("", !0)], !0)], 512)], 8, ["to"])) : E("", !0),
1118
- e.$slots.source ? (N(), D("div", {
1125
+ ])) : T("", !0)], !0)], 512)], 8, ["to"])) : T("", !0),
1126
+ e.$slots.source ? (M(), E("div", {
1119
1127
  key: 7,
1120
1128
  ref_key: "source",
1121
- ref: ut,
1129
+ ref: ft,
1122
1130
  dir: "auto"
1123
- }, [F(e.$slots, "source", {}, void 0, !0)], 512)) : E("", !0),
1124
- he(I(Ke), {
1131
+ }, [P(e.$slots, "source", {}, void 0, !0)], 512)) : T("", !0),
1132
+ ve(I(Je), {
1125
1133
  ref_key: "tooltip",
1126
- ref: gt,
1134
+ ref: vt,
1127
1135
  teleportTo: U.value.style.chart.tooltip.teleportTo,
1128
- show: K.value.showTooltip && ot.value,
1136
+ show: K.value.showTooltip && ct.value,
1129
1137
  backgroundColor: U.value.style.chart.tooltip.backgroundColor,
1130
1138
  color: U.value.style.chart.tooltip.color,
1131
1139
  fontSize: U.value.style.chart.tooltip.fontSize,
@@ -1137,19 +1145,19 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1137
1145
  offsetX: U.value.style.chart.tooltip.offsetX,
1138
1146
  offsetY: U.value.style.chart.tooltip.offsetY,
1139
1147
  parent: B.value,
1140
- content: st.value,
1141
- isCustom: Qt.value,
1148
+ content: lt.value,
1149
+ isCustom: en.value,
1142
1150
  isFullscreen: H.value,
1143
1151
  smooth: U.value.style.chart.tooltip.smooth,
1144
1152
  backdropFilter: U.value.style.chart.tooltip.backdropFilter,
1145
1153
  smoothForce: U.value.style.chart.tooltip.smoothForce,
1146
1154
  smoothSnapThreshold: U.value.style.chart.tooltip.smoothSnapThreshold,
1147
- isA11yMode: xt.value === "keyboard",
1148
- a11yPosition: bt.value
1155
+ isA11yMode: Ct.value === "keyboard",
1156
+ a11yPosition: St.value
1149
1157
  }, {
1150
- "tooltip-before": L(() => [F(e.$slots, "tooltip-before", j(A({ ...X.value })), void 0, !0)]),
1151
- tooltip: L(() => [F(e.$slots, "tooltip", j(A({ ...X.value })), void 0, !0)]),
1152
- "tooltip-after": L(() => [F(e.$slots, "tooltip-after", j(A({ ...X.value })), void 0, !0)]),
1158
+ "tooltip-before": L(() => [P(e.$slots, "tooltip-before", A(k({ ...X.value })), void 0, !0)]),
1159
+ tooltip: L(() => [P(e.$slots, "tooltip", A(k({ ...X.value })), void 0, !0)]),
1160
+ "tooltip-after": L(() => [P(e.$slots, "tooltip-after", A(k({ ...X.value })), void 0, !0)]),
1153
1161
  _: 3
1154
1162
  }, 8, [
1155
1163
  "teleportTo",
@@ -1175,29 +1183,29 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1175
1183
  "isA11yMode",
1176
1184
  "a11yPosition"
1177
1185
  ]),
1178
- Ct.value && U.value.userOptions.buttons.table ? (N(), T(xe(xn.value.component), ge({ key: 8 }, xn.value.props, {
1186
+ Tt.value && U.value.userOptions.buttons.table ? (M(), w(we(Cn.value.component), ye({ key: 8 }, Cn.value.props, {
1179
1187
  ref_key: "tableUnit",
1180
- ref: mt,
1181
- onClose: Sn
1182
- }), pe({
1183
- content: L(() => [he(I(Ye), {
1188
+ ref: gt,
1189
+ onClose: wn
1190
+ }), ge({
1191
+ content: L(() => [ve(I(Ze), {
1184
1192
  colNames: Z.value.colNames,
1185
1193
  head: Z.value.head,
1186
1194
  body: Z.value.body,
1187
1195
  config: Z.value.config,
1188
- title: U.value.table.useDialog ? "" : xn.value.title,
1196
+ title: U.value.table.useDialog ? "" : Cn.value.title,
1189
1197
  withCloseButton: !U.value.table.useDialog,
1190
1198
  isCursorPointer: W.value,
1191
- onClose: Sn
1199
+ onClose: wn
1192
1200
  }, {
1193
- th: L(({ th: e }) => [O("div", {
1201
+ th: L(({ th: e }) => [D("div", {
1194
1202
  innerHTML: e,
1195
1203
  style: {
1196
1204
  display: "flex",
1197
1205
  "align-items": "center"
1198
1206
  }
1199
- }, null, 8, Ge)]),
1200
- td: L(({ td: e }) => [me(Se(e.name || e), 1)]),
1207
+ }, null, 8, qe)]),
1208
+ td: L(({ td: e }) => [_e(F(e.name || e), 1)]),
1201
1209
  _: 1
1202
1210
  }, 8, [
1203
1211
  "colNames",
@@ -1211,24 +1219,24 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1211
1219
  _: 2
1212
1220
  }, [U.value.table.useDialog ? {
1213
1221
  name: "title",
1214
- fn: L(() => [me(Se(xn.value.title), 1)]),
1222
+ fn: L(() => [_e(F(Cn.value.title), 1)]),
1215
1223
  key: "0"
1216
1224
  } : void 0, U.value.table.useDialog ? {
1217
1225
  name: "actions",
1218
- fn: L(() => [O("button", {
1226
+ fn: L(() => [D("button", {
1219
1227
  tabindex: "0",
1220
1228
  class: "vue-ui-user-options-button",
1221
- onClick: t[1] ||= (e) => sn(U.value.userOptions.callbacks.csv),
1222
- style: M({ cursor: W.value ? "pointer" : "default" })
1223
- }, [he(I(qe), {
1229
+ onClick: t[1] ||= (e) => ln(U.value.userOptions.callbacks.csv),
1230
+ style: j({ cursor: W.value ? "pointer" : "default" })
1231
+ }, [ve(I(Ye), {
1224
1232
  name: "fileCsv",
1225
- stroke: xn.value.props.color
1233
+ stroke: Cn.value.props.color
1226
1234
  }, null, 8, ["stroke"])], 4)]),
1227
1235
  key: "1"
1228
- } : void 0]), 1040)) : E("", !0),
1229
- F(e.$slots, "skeleton", {}, () => [I(Et) ? (N(), T(y, { key: 0 })) : E("", !0)], !0)
1230
- ], 46, Ee));
1236
+ } : void 0]), 1040)) : T("", !0),
1237
+ P(e.$slots, "skeleton", {}, () => [I(Ot) ? (M(), w(b, { key: 0 })) : T("", !0)], !0)
1238
+ ], 46, Oe));
1231
1239
  }
1232
- }, [["__scopeId", "data-v-bab66b99"]]);
1240
+ }, [["__scopeId", "data-v-07a945d1"]]);
1233
1241
  //#endregion
1234
- export { Te as n, Ke as t };
1242
+ export { De as n, Je as t };