vue-data-ui 3.22.8 → 3.22.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.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-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, G as n, J as r, Kt as i, Mt as a, S as o, T as s, Wt as c, Z as l, b as u, i as d, kt as f, n as p, r as m, t as h, v as g, yt as ee } from "./lib-JqW18y5I.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-CnHx5WfV.js";
3
3
  import { t as te } from "./useConfig-DYM3f6EI.js";
4
- import { t as _ } from "./usePrinter-CqqHmnBI.js";
4
+ import { t as _ } from "./usePrinter-B-X_Pub0.js";
5
5
  import { n as v, t as y } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as b } from "./useSvgExport-SVIsDot8.js";
7
- import { t as x } from "./useNestedProp-DIuuzG1r.js";
7
+ import { t as x } from "./useNestedProp-D8NuRneO.js";
8
8
  import { t as S } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ne } from "./img-DnP3eXuv.js";
10
- import { n as C } from "./Title-CcNiYzEo.js";
9
+ import { t as ne } from "./img-CNdXiUfZ.js";
10
+ import { n as C } from "./Title-Cr3jP7Qd.js";
11
11
  import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as ie } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as ae } from "./useResponsive-BfnK0KxU.js";
14
14
  import { t as oe } from "./A11yDataTable-DdRsVULz.js";
15
15
  import { t as se } from "./useUserOptionState-DK-_1ddE.js";
16
16
  import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as le } from "./Legend-ROt6ugzW.js";
17
+ import { t as le } from "./Legend-5VQGLnmx.js";
18
18
  import { t as ue } from "./vue_ui_flow-BewZjjKG.js";
19
19
  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";
20
20
  //#region src/components/vue-ui-flow.vue
@@ -87,7 +87,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
87
87
  },
88
88
  emits: ["copyAlt"],
89
89
  setup(e, { expose: re, emit: Te }) {
90
- let Ke = k(() => import("./Tooltip-CxOrWlFy.js")), qe = k(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ye = k(() => import("./DataTable-D9NvewTT.js")), Xe = k(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_flow: et } = te(), { isThemeValid: tt, warnInvalidTheme: nt } = S(), R = e, rt = Te, z = P(n()), 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({
90
+ let Ke = k(() => import("./Tooltip-CDbLl3TD.js")), qe = k(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Ye = k(() => import("./DataTable-ByZy5gt1.js")), Xe = k(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-CdkCqtag.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({
91
91
  x: 0,
92
92
  y: 0
93
93
  }), xt = P("pointer"), St = P(!1), Ct = w(() => !!R.dataset && R.dataset.length);
@@ -98,7 +98,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
98
98
  function wt(e) {
99
99
  H.value = e, it.value += 1;
100
100
  }
101
- let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => i({
101
+ let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => p({
102
102
  defaultConfig: {
103
103
  userOptions: { show: !1 },
104
104
  nodeCategories: {
@@ -163,17 +163,17 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
163
163
  "#AAAAAA"
164
164
  ]
165
165
  ],
166
- skeletonConfig: i({
166
+ skeletonConfig: p({
167
167
  defaultConfig: U.value,
168
168
  userConfig: Tt.value
169
169
  })
170
170
  }), kt = w(() => !!U.value.debug);
171
171
  function At() {
172
- if (f(R.dataset) && (t({
172
+ if (t(R.dataset) && (u({
173
173
  componentName: "VueUiFlow",
174
174
  type: "dataset",
175
175
  debug: kt.value
176
- }), Ot.value = !0), f(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
176
+ }), Ot.value = !0), t(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
177
177
  let e = ie(() => {
178
178
  let { width: e, height: t } = ae({
179
179
  chart: B.value,
@@ -205,7 +205,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
205
205
  userConfig: R.config,
206
206
  defaultConfig: r
207
207
  }),
208
- customPalette: e.customPalette.length ? e.customPalette : c[n] || a
208
+ customPalette: e.customPalette.length ? e.customPalette : i[n] || o
209
209
  };
210
210
  }
211
211
  else t = e;
@@ -221,7 +221,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
221
221
  elementId: `flow_${z.value}`,
222
222
  fileName: U.value.style.chart.title.text || "vue-ui-flow",
223
223
  options: U.value.userOptions.print
224
- }), Vt = w(() => U.value.userOptions.show && !U.value.style.chart.title.text), Ht = w(() => o(U.value.customPalette)), Ut = w(() => U.value.style.chart.nodes.width), K = P({
224
+ }), 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({
225
225
  showTable: U.value.table.show,
226
226
  showTooltip: U.value.style.chart.tooltip.show
227
227
  });
@@ -235,45 +235,45 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
235
235
  e[0],
236
236
  e[1],
237
237
  g(e[2]),
238
- e[3] ? u(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || a[t] || a[t % a.length]
238
+ e[3] ? ee(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || o[t] || o[t % o.length]
239
239
  ]));
240
240
  function Gt(e) {
241
- let t = {}, r = {};
242
- function i(e, i) {
241
+ let t = {}, n = {};
242
+ function r(e, r) {
243
243
  t[e] || (t[e] = {
244
244
  level: null,
245
245
  inflow: 0,
246
246
  outflow: 0,
247
247
  children: [],
248
248
  color: null,
249
- uid: n()
250
- }), t[e].level === null && (t[e].level = i), r[i] || (r[i] = []), r[i].includes(e) || r[i].push(e);
249
+ uid: a()
250
+ }), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
251
251
  }
252
- e.forEach(([e, n, r]) => {
252
+ e.forEach(([e, n, i]) => {
253
253
  let a = t[e]?.level ?? 0, o = a + 1;
254
- i(e, a), i(n, o), t[e].children.push({
254
+ r(e, a), r(n, o), t[e].children.push({
255
255
  target: n,
256
- value: r
257
- }), t[e].outflow += r, t[n].inflow += r;
256
+ value: i
257
+ }), t[e].outflow += i, t[n].inflow += i;
258
258
  });
259
- let o = new Set(e.map(([e]) => e)), s = new Set(e.map(([, e]) => e)), c = Array.from(o).filter((e) => !s.has(e)), l = {};
259
+ 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 = {};
260
260
  c.forEach((e, t) => {
261
- l[e] = Ht.value[t] || a[t % a.length];
261
+ l[e] = Ht.value[t] || o[t % o.length];
262
262
  });
263
263
  let u = {};
264
264
  e.forEach(([e, t, n, r]) => {
265
265
  r && (u[e] = r, u[t] = r);
266
266
  }), Object.keys(t).forEach((e, n) => {
267
267
  let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
268
- t[e].color = u[e] || i || (c.includes(e) ? l[e] : null) || a[n % a.length];
268
+ t[e].color = u[e] || i || (c.includes(e) ? l[e] : null) || o[n % o.length];
269
269
  }), Object.keys(t).forEach((e) => {
270
270
  t[e].value = Math.max(t[e].inflow, t[e].outflow);
271
271
  });
272
- let d = Jt.value, f = Yt.value.width, p = Yt.value.height, m = Object.keys(r).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
+ 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);
273
273
  function y(e) {
274
- let n = r[e], i = n.length;
274
+ let r = n[e], i = r.length;
275
275
  if (!i) return Infinity;
276
- let a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0), c = 0, l = n.map((e) => t[e].value || 0), u = l.reduce((e, t) => e + t, 0);
276
+ 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);
277
277
  for (let e = 0; e < 12; e += 1) {
278
278
  let e = u > 0 ? (o - c) / u : 0, t = [];
279
279
  for (let n = 0; n < l.length; n += 1) {
@@ -288,19 +288,19 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
288
288
  }
289
289
  let b = m.map(y), x = b.length ? Math.min(...b) : 0, S = {};
290
290
  m.forEach((e) => {
291
- let i = r[e], a = i.length, o = Math.max(0, (a - 1) * _), s = Math.max(0, p - o), c = Math.min(v, a ? s / a : 0), l = i.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);
292
- i.forEach((r, i) => {
293
- let o = l[i], s = d.left + e * ee, c = f;
294
- S[r] = {
291
+ 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);
292
+ r.forEach((n, r) => {
293
+ let o = l[r], s = d.left + e * ee, c = f;
294
+ S[n] = {
295
295
  x: s,
296
296
  y: c,
297
297
  absoluteY: c,
298
298
  height: o,
299
- i,
300
- color: t[r].color,
301
- value: t[r].value,
302
- id: n()
303
- }, f += o, i < a - 1 && (f += _);
299
+ i: r,
300
+ color: t[n].color,
301
+ value: t[n].value,
302
+ id: a()
303
+ }, f += o, r < i - 1 && (f += _);
304
304
  });
305
305
  });
306
306
  let ne = [], C = d.top, re = {}, ie = {};
@@ -309,30 +309,30 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
309
309
  });
310
310
  let ae = !!U.value.style.chart.links.smooth, oe = .5;
311
311
  return m.forEach((e) => {
312
- r[e].forEach((e) => {
313
- let r = t[e], i = S[e];
314
- if (!r.children || !r.children.length) return;
315
- let a = i.y;
316
- r.children.forEach(({ target: o, value: s }) => {
317
- let c = S[o], l = t[o], u = r.outflow > 0 ? s / r.outflow : 0, d = l.inflow > 0 ? s / l.inflow : 0, f = g(a + C), p = g(a + u * i.height + C), m = re[o], h = m + d * c.height;
312
+ n[e].forEach((e) => {
313
+ let n = t[e], r = S[e];
314
+ if (!n.children || !n.children.length) return;
315
+ let i = r.y;
316
+ n.children.forEach(({ target: o, value: s }) => {
317
+ 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;
318
318
  ie[o] += s;
319
319
  let ee = l.inflow > 0 && ie[o] >= l.inflow - 1e-6, _ = c.y + c.height;
320
320
  (ee || h > _ - .25) && (h = _);
321
- let v = g(m + C), y = g(h + C), b = g(i.x + te), x = g(c.x), se;
321
+ let v = g(m + C), y = g(h + C), b = g(r.x + te), x = g(c.x), se;
322
322
  if (!ae || x <= b) se = `M ${b} ${f} L ${b} ${p} L ${x} ${y} L ${x} ${v} Z`;
323
323
  else {
324
324
  let e = x - b, t = g(b + e * oe), n = g(x - e * oe), r = f, i = v, a = p, o = y;
325
325
  se = `M ${b} ${r} C ${t} ${r}, ${n} ${i}, ${x} ${i} L ${x} ${o} C ${n} ${o}, ${t} ${a}, ${b} ${a} Z`;
326
326
  }
327
327
  ne.push({
328
- id: n(),
328
+ id: a(),
329
329
  source: e,
330
330
  target: o,
331
331
  path: se,
332
332
  value: s,
333
- sourceColor: r.color,
333
+ sourceColor: n.color,
334
334
  targetColor: t[o].color
335
- }), a = p - C, re[o] = h;
335
+ }), i = p - C, re[o] = h;
336
336
  });
337
337
  });
338
338
  }), {
@@ -376,30 +376,30 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
376
376
  y: n.top + n.height / 2
377
377
  };
378
378
  }
379
- function nn(e, t, n = "pointer", i = null) {
380
- $.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = n, yt.value = i, V.value = e.id;
381
- let a = e.name, o = Wt.value, s = 0, c = 0, l = [], u = [], f = new Set(o.map(([e]) => e)), p = new Set(o.map(([, e]) => e)), m = Array.from(f).filter((e) => !p.has(e)), h = o.filter(([e]) => m.includes(e)).reduce((e, [t, n, r]) => e + r, 0), g = {};
379
+ function nn(e, t, n = "pointer", r = null) {
380
+ $.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = n, yt.value = r, V.value = e.id;
381
+ 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 = {};
382
382
  q.value.nodes.forEach((e) => {
383
383
  g[e.name] = e.color;
384
- }), o.forEach(([e, t, n]) => {
385
- t === a && (s += n, l.push({
384
+ }), a.forEach(([e, t, n]) => {
385
+ t === i && (o += n, u.push({
386
386
  source: e,
387
387
  value: n,
388
388
  color: g[e]
389
- })), e === a && (c += n, u.push({
389
+ })), e === i && (s += n, f.push({
390
390
  target: t,
391
391
  value: n,
392
392
  color: g[t]
393
393
  }));
394
394
  });
395
- let te = h > 0 ? Math.max(s, c) / h * 100 : 0, _ = {
396
- name: a,
397
- inflow: s,
398
- outflow: c,
399
- from: l,
400
- to: u,
395
+ let te = ee > 0 ? Math.max(o, s) / ee * 100 : 0, _ = {
396
+ name: i,
397
+ inflow: o,
398
+ outflow: s,
399
+ from: u,
400
+ to: f,
401
401
  percentOfTotal: te,
402
- color: g[a] || "#000000"
402
+ color: g[i] || "#000000"
403
403
  };
404
404
  U.value.events.datapointEnter && U.value.events.datapointEnter({
405
405
  datapoint: _,
@@ -411,7 +411,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
411
411
  series: q.value
412
412
  }, ot.value = !0;
413
413
  let v = "", y = U.value.style.chart.tooltip.customFormat;
414
- if (Qt.value = !1, ee(y)) try {
414
+ if (Qt.value = !1, l(y)) try {
415
415
  let e = y({
416
416
  datapoint: _,
417
417
  series: q.value,
@@ -422,21 +422,21 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
422
422
  console.warn("Custom format cannot be applied.");
423
423
  }
424
424
  if (!Qt.value) {
425
- let e = U.value.style.chart.tooltip.showPercentage ? `<div>${r({
425
+ let e = U.value.style.chart.tooltip.showPercentage ? `<div>${c({
426
426
  p: U.value.style.chart.tooltip.translations.percentOfTotal,
427
427
  v: _.percentOfTotal,
428
428
  s: "%",
429
429
  r: U.value.style.chart.tooltip.roundingPercentage
430
430
  })}</div>` : "";
431
431
  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) => {
432
- v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, r({
432
+ v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, c({
433
433
  p: U.value.style.chart.nodes.labels.prefix,
434
434
  v: e.value,
435
435
  s: U.value.style.chart.nodes.labels.suffix,
436
436
  r: U.value.style.chart.nodes.labels.rounding
437
437
  }))}</div>`;
438
438
  })), _.to.length && (v += `<div style="margin-top:6px;">${U.value.style.chart.tooltip.translations.to}</div>`, _.to.forEach((e) => {
439
- v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, r({
439
+ v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(U.value.style.chart.nodes.labels.formatter, e.value, c({
440
440
  p: U.value.style.chart.nodes.labels.prefix,
441
441
  v: e.value,
442
442
  s: U.value.style.chart.nodes.labels.suffix,
@@ -475,7 +475,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
475
475
  [e.source],
476
476
  [e.target],
477
477
  [e.value]
478
- ]), n = s([
478
+ ]), n = r([
479
479
  [U.value.style.chart.title.text],
480
480
  [U.value.style.chart.title.subtitle.text],
481
481
  [
@@ -484,7 +484,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
484
484
  [U.value.table.columnNames.value]
485
485
  ]
486
486
  ].concat(t));
487
- e ? e(n) : l({
487
+ e ? e(n) : s({
488
488
  csvContent: n,
489
489
  title: U.value.style.chart.title.text || "vue-ui-flow"
490
490
  });
@@ -506,7 +506,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
506
506
  name: e.target,
507
507
  shape: "square"
508
508
  },
509
- r({
509
+ c({
510
510
  p: U.value.style.chart.nodes.labels.prefix,
511
511
  v: e.value,
512
512
  s: U.value.style.chart.nodes.labels.suffix,
@@ -577,7 +577,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
577
577
  let e = new Set(q.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
578
578
  return Array.from(e).map((e) => ({
579
579
  name: e,
580
- color: U.value.nodeCategoryColors[e] || a[0],
580
+ color: U.value.nodeCategoryColors[e] || o[0],
581
581
  shape: "square",
582
582
  count: q.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
583
583
  })).map((e, t) => {
@@ -1045,7 +1045,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1045
1045
  opacity: J.value ? J.value.includes(e.name) ? 1 : .3 : 1,
1046
1046
  outline: $t.value !== null && $t.value === e.id ? "2px solid currentColor" : void 0
1047
1047
  }),
1048
- "aria-label": `${e.name}: ${I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(r)({
1048
+ "aria-label": `${e.name}: ${I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(c)({
1049
1049
  p: U.value.style.chart.nodes.labels.prefix,
1050
1050
  v: e.value,
1051
1051
  s: U.value.style.chart.nodes.labels.suffix,
@@ -1062,7 +1062,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1062
1062
  fill: I(m)(e.color),
1063
1063
  "text-anchor": "middle",
1064
1064
  style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1065
- }, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(p)({
1065
+ }, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(f)({
1066
1066
  source: e.name,
1067
1067
  length: U.value.style.chart.nodes.labels.abbreviation.length
1068
1068
  }) : 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", {
@@ -1072,7 +1072,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
1072
1072
  fill: I(m)(e.color),
1073
1073
  "text-anchor": "middle",
1074
1074
  style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
1075
- }, Se(I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(r)({
1075
+ }, Se(I(d)(U.value.style.chart.nodes.labels.formatter, e.value, I(c)({
1076
1076
  p: U.value.style.chart.nodes.labels.prefix,
1077
1077
  v: e.value,
1078
1078
  s: U.value.style.chart.nodes.labels.suffix,