vue-data-ui 3.3.3 → 3.4.1

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 (160) hide show
  1. package/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
  3. package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
  4. package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
  5. package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
  6. package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
  8. package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
  9. package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
  10. package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
  11. package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
  12. package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
  13. package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
  14. package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
  15. package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
  16. package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
  17. package/dist/components/arrow.js +1 -1
  18. package/dist/components/vue-ui-3d-bar.js +1 -1
  19. package/dist/components/vue-ui-accordion.js +1 -1
  20. package/dist/components/vue-ui-age-pyramid.js +1 -1
  21. package/dist/components/vue-ui-annotator.js +1 -1
  22. package/dist/components/vue-ui-bullet.js +1 -1
  23. package/dist/components/vue-ui-candlestick.js +1 -1
  24. package/dist/components/vue-ui-carousel-table.js +1 -1
  25. package/dist/components/vue-ui-chestnut.js +1 -1
  26. package/dist/components/vue-ui-chord.js +1 -1
  27. package/dist/components/vue-ui-circle-pack.js +1 -1
  28. package/dist/components/vue-ui-cursor.js +1 -1
  29. package/dist/components/vue-ui-dashboard.js +1 -1
  30. package/dist/components/vue-ui-digits.js +1 -1
  31. package/dist/components/vue-ui-donut-evolution.js +1 -1
  32. package/dist/components/vue-ui-donut.js +1 -1
  33. package/dist/components/vue-ui-dumbbell.js +1 -1
  34. package/dist/components/vue-ui-flow.js +1 -1
  35. package/dist/components/vue-ui-funnel.js +1 -1
  36. package/dist/components/vue-ui-galaxy.js +1 -1
  37. package/dist/components/vue-ui-gauge.js +1 -1
  38. package/dist/components/vue-ui-gizmo.js +1 -1
  39. package/dist/components/vue-ui-heatmap.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-strip-plot.js +1 -1
  68. package/dist/components/vue-ui-table-heatmap.js +1 -1
  69. package/dist/components/vue-ui-table-sparkline.js +1 -1
  70. package/dist/components/vue-ui-table.js +1 -1
  71. package/dist/components/vue-ui-thermometer.js +1 -1
  72. package/dist/components/vue-ui-timer.js +1 -1
  73. package/dist/components/vue-ui-tiremarks.js +1 -1
  74. package/dist/components/vue-ui-treemap.js +1 -1
  75. package/dist/components/vue-ui-vertical-bar.js +1 -1
  76. package/dist/components/vue-ui-waffle.js +1 -1
  77. package/dist/components/vue-ui-wheel.js +1 -1
  78. package/dist/components/vue-ui-word-cloud.js +1 -1
  79. package/dist/components/vue-ui-world.js +1 -1
  80. package/dist/components/vue-ui-xy-canvas.js +1 -1
  81. package/dist/components/vue-ui-xy.js +1 -1
  82. package/dist/{dom-to-png-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
  83. package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
  84. package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
  85. package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/types/vue-data-ui.d.ts +82 -8
  88. package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
  89. package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
  90. package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
  91. package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
  92. package/dist/vue-data-ui.js +100 -100
  93. package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
  94. package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
  96. package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
  97. package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
  98. package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
  99. package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
  100. package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
  101. package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
  102. package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
  103. package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
  104. package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
  105. package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
  106. package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
  107. package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
  108. package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
  109. package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
  110. package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
  111. package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
  112. package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
  113. package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
  114. package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
  115. package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
  116. package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
  118. package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
  119. package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
  120. package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
  121. package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
  122. package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
  123. package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
  124. package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
  125. package/dist/vue-ui-radar-CrenQprr.js +938 -0
  126. package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
  128. package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
  129. package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
  130. package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
  131. package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
  132. package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
  134. package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
  136. package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
  137. package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
  138. package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
  139. package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
  140. package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
  141. package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
  142. package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
  143. package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
  144. package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
  145. package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
  146. package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
  147. package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
  148. package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
  149. package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
  150. package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
  151. package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
  152. package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
  153. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  154. package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
  155. package/package.json +2 -2
  156. package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
  157. package/dist/vue-ui-radar-Csznqw19.js +0 -891
  158. package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
  159. package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
  160. package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
@@ -1,26 +1,26 @@
1
- import { defineAsyncComponent as H, ref as c, computed as d, onMounted as no, toRefs as so, watch as Te, createElementBlock as g, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as wt, createBlock as q, createCommentVNode as T, createElementVNode as G, createVNode as xe, createSlots as $t, withCtx as b, renderSlot as k, normalizeProps as Q, guardReactiveProps as ee, Fragment as ve, renderList as de, toDisplayString as he, Teleport as ro, resolveDynamicComponent as uo, mergeProps as io, createTextVNode as At, nextTick as co } from "vue";
2
- import { c as Ge, t as vo, o as Tt, f as ho, b as fo, p as L, e as po, q as x, h as go, d as fe, X as mo, E as xt, O as yo, a as Ue, x as bo, y as Co, z as ko } from "./lib-CSDxt1Zh.js";
1
+ import { defineAsyncComponent as H, ref as c, computed as d, onMounted as no, toRefs as so, watch as Te, createElementBlock as g, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as wt, createBlock as q, createCommentVNode as T, createElementVNode as G, createVNode as xe, createSlots as $t, withCtx as b, renderSlot as k, normalizeProps as Z, guardReactiveProps as ee, Fragment as ve, renderList as de, toDisplayString as he, Teleport as ro, resolveDynamicComponent as uo, mergeProps as io, createTextVNode as At, nextTick as co } from "vue";
2
+ import { c as Ge, t as vo, o as Tt, f as ho, b as fo, p as L, e as po, x, h as go, d as fe, X as mo, J as xt, I as yo, a as Ue, P as bo, Q as Co, G as ko } from "./lib-BcBZIm6u.js";
3
3
  import { t as wo, u as $o } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ao, a as St } from "./useNestedProp-Dh-ldrr5.js";
5
- import { u as To } from "./usePrinter-Cq8Pt6Lh.js";
4
+ import { u as Ao, a as St } from "./useNestedProp-B7CiTRDS.js";
5
+ import { u as To } from "./usePrinter-C1GiglOH.js";
6
6
  import { u as xo, B as So } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as _o } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as Oo } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as No } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { t as Fo } from "./themes-Dw-dDudK.js";
11
- import Eo from "./Legend-CCBZ2x8T.js";
12
- import Io from "./Title-B6rAo9Oz.js";
13
- import Po from "./img-DI-W68vp.js";
11
+ import Eo from "./Legend-C8u37J42.js";
12
+ import Io from "./Title-CFmv95In.js";
13
+ import Po from "./img-CFY3JivG.js";
14
14
  import { _ as Mo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const Do = ["id"], Lo = {
16
16
  key: 1,
17
17
  ref: "noTitle",
18
18
  class: "vue-data-ui-no-title-space",
19
19
  style: "height:36px; width: 100%;background:transparent"
20
- }, zo = ["id"], Bo = ["xmlns", "viewBox"], Ro = ["width", "height"], Ho = ["id"], Wo = ["stop-color"], Go = ["stop-color"], Uo = ["d", "fill", "stroke", "stroke-width"], Yo = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], jo = { key: 1 }, Vo = ["x", "y", "font-size", "fill"], Xo = ["x", "y", "font-size", "fill"], qo = {
20
+ }, Bo = ["id"], zo = ["xmlns", "viewBox"], Ro = ["width", "height"], Ho = ["id"], Wo = ["stop-color"], Go = ["stop-color"], Uo = ["d", "fill", "stroke", "stroke-width"], Yo = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], jo = { key: 1 }, Vo = ["x", "y", "font-size", "fill"], Xo = ["x", "y", "font-size", "fill"], qo = {
21
21
  key: 4,
22
22
  class: "vue-data-ui-watermark"
23
- }, Ko = ["id"], Zo = ["onClick"], Jo = ["innerHTML"], Qo = {
23
+ }, Jo = ["id"], Ko = ["onClick"], Qo = ["innerHTML"], Zo = {
24
24
  __name: "vue-ui-flow",
25
25
  props: {
26
26
  config: {
@@ -37,12 +37,12 @@ const Do = ["id"], Lo = {
37
37
  }
38
38
  },
39
39
  setup(_t, { expose: Ot }) {
40
- const Nt = H(() => import("./Tooltip-DaInVNiV.js")), Ft = H(() => import("./BaseIcon-DG6cvf2h.js")), Et = H(() => import("./vue-ui-accordion-CaClZrCp.js")), It = H(() => import("./DataTable-DUpZ_s2c.js")), Pt = H(() => import("./PenAndPaper-D9LruJaM.js")), Mt = H(() => import("./UserOptions-CJXSEhan.js")), Dt = H(() => import("./PackageVersion-CQvYRebC.js")), Lt = H(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_flow: zt } = Ao(), F = _t, U = c(Ge()), M = c(null), Ye = c(0), je = c(0), Se = c(!1), _e = c(""), Ve = c(null), Xe = c(null), qe = c(null), te = c(null), pe = c(null), Ke = c(!1), oe = c(null), Oe = c(null), Ze = d(() => !!F.dataset && F.dataset.length);
40
+ const Nt = H(() => import("./Tooltip-Cs4v8OnI.js")), Ft = H(() => import("./BaseIcon-B5KaGWWC.js")), Et = H(() => import("./vue-ui-accordion-BKkTS12x.js")), It = H(() => import("./DataTable-DOx3zgih.js")), Pt = H(() => import("./PenAndPaper-Dj2diYr0.js")), Mt = H(() => import("./UserOptions-C0YT60JN.js")), Dt = H(() => import("./PackageVersion-VpPtLYhK.js")), Lt = H(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_flow: Bt } = Ao(), F = _t, U = c(Ge()), M = c(null), Ye = c(0), je = c(0), Se = c(!1), _e = c(""), Ve = c(null), Xe = c(null), qe = c(null), te = c(null), pe = c(null), Je = c(!1), oe = c(null), Oe = c(null), Ke = d(() => !!F.dataset && F.dataset.length);
41
41
  no(() => {
42
- Ke.value = !0, Qe();
42
+ Je.value = !0, Ze();
43
43
  });
44
44
  const Y = c(!1);
45
- function Je(t) {
45
+ function Qe(t) {
46
46
  Y.value = t, Ye.value += 1;
47
47
  }
48
48
  const e = c(Pe()), { loading: Ne, FINAL_DATASET: ge, manualLoading: Fe } = xo({
@@ -89,12 +89,12 @@ const Do = ["id"], Lo = {
89
89
  }
90
90
  }
91
91
  })
92
- }), Bt = d(() => !!e.value.debug);
93
- function Qe() {
92
+ }), zt = d(() => !!e.value.debug);
93
+ function Ze() {
94
94
  if (Tt(F.dataset) && (ho({
95
95
  componentName: "VueUiFlow",
96
96
  type: "dataset",
97
- debug: Bt.value
97
+ debug: zt.value
98
98
  }), Fe.value = !0), Tt(F.dataset) || (Fe.value = e.value.loading), e.value.responsive) {
99
99
  const t = wo(() => {
100
100
  const { width: l, height: o } = $o({
@@ -116,7 +116,7 @@ const Do = ["id"], Lo = {
116
116
  function Pe() {
117
117
  const t = St({
118
118
  userConfig: F.config,
119
- defaultConfig: zt
119
+ defaultConfig: Bt
120
120
  });
121
121
  let l = t;
122
122
  return t.theme ? l = {
@@ -131,7 +131,7 @@ const Do = ["id"], Lo = {
131
131
  Te(
132
132
  () => F.config,
133
133
  (t) => {
134
- Ne.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Qe(), je.value += 1, E.value.showTable = e.value.table.show;
134
+ Ne.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Ze(), je.value += 1, E.value.showTable = e.value.table.show;
135
135
  },
136
136
  { deep: !0 }
137
137
  ), Te(() => F.dataset, (t) => {
@@ -173,8 +173,8 @@ const Do = ["id"], Lo = {
173
173
  const f = l[a]?.level ?? 0, _ = f + 1;
174
174
  n(a, f), n(u, _), l[a].children.push({ target: u, value: h }), l[a].outflow += h, l[u].inflow += h;
175
175
  });
176
- const s = new Set(t.map(([a]) => a)), $ = new Set(t.map(([, a]) => a)), Z = Array.from(s).filter((a) => !$.has(a)), re = {};
177
- Z.forEach((a, u) => {
176
+ const s = new Set(t.map(([a]) => a)), $ = new Set(t.map(([, a]) => a)), K = Array.from(s).filter((a) => !$.has(a)), re = {};
177
+ K.forEach((a, u) => {
178
178
  re[a] = me.value[u] || L[u % L.length];
179
179
  });
180
180
  const ue = {};
@@ -182,48 +182,48 @@ const Do = ["id"], Lo = {
182
182
  f && (ue[a] = f, ue[u] = f);
183
183
  }), Object.keys(l).forEach((a, u) => {
184
184
  const h = e.value.nodeCategories?.[a], f = h ? e.value.nodeCategoryColors?.[h] : null;
185
- l[a].color = ue[a] || f || (Z.includes(a) ? re[a] : null) || L[u % L.length];
185
+ l[a].color = ue[a] || f || (K.includes(a) ? re[a] : null) || L[u % L.length];
186
186
  }), Object.keys(l).forEach((a) => {
187
187
  l[a].value = Math.max(l[a].inflow, l[a].outflow);
188
188
  });
189
- const we = le.value, Be = vt.value.width, J = vt.value.height, D = Object.keys(o).map(Number).sort((a, u) => a - u), $e = D.length || 1, Re = $e > 1 ? Be / ($e - 1) : 0, A = Number(ye.value), P = Number(
189
+ const we = le.value, ze = vt.value.width, Q = vt.value.height, D = Object.keys(o).map(Number).sort((a, u) => a - u), $e = D.length || 1, Re = $e > 1 ? ze / ($e - 1) : 0, A = Number(ye.value), P = Number(
190
190
  e.value.style.chart.nodes.gapPx ?? e.value.style.chart.nodes.gap ?? 8
191
191
  ), ie = Number(e.value.style.chart.nodes.minHeight || 0);
192
192
  function v(a) {
193
193
  const u = o[a], h = u.length;
194
194
  if (!h) return 1 / 0;
195
- const f = Math.max(0, (h - 1) * P), _ = Math.max(0, J - f), z = Math.min(ie, h ? _ / h : 0);
195
+ const f = Math.max(0, (h - 1) * P), _ = Math.max(0, Q - f), B = Math.min(ie, h ? _ / h : 0);
196
196
  let C = 0, O = u.map((p) => l[p].value || 0), y = O.reduce((p, N) => p + N, 0);
197
197
  for (let p = 0; p < 12; p += 1) {
198
- const N = y > 0 ? (_ - C) / y : 0, B = [];
198
+ const N = y > 0 ? (_ - C) / y : 0, z = [];
199
199
  for (let I = 0; I < O.length; I += 1) {
200
200
  const R = O[I];
201
- R < 0 || R * N < z && B.push(I);
201
+ R < 0 || R * N < B && z.push(I);
202
202
  }
203
- if (!B.length) return Math.max(0, N);
204
- for (const I of B)
205
- C += z, y -= O[I], O[I] = -1;
203
+ if (!z.length) return Math.max(0, N);
204
+ for (const I of z)
205
+ C += B, y -= O[I], O[I] = -1;
206
206
  if (y <= 0) return 0;
207
207
  }
208
208
  return y > 0 ? Math.max(0, (_ - C) / y) : 0;
209
209
  }
210
210
  const m = D.map(v), V = m.length ? Math.min(...m) : 0, X = {};
211
211
  D.forEach((a) => {
212
- const u = o[a], h = u.length, f = Math.max(0, (h - 1) * P), _ = Math.max(0, J - f), z = Math.min(ie, h ? _ / h : 0), C = u.map(
213
- (p) => Math.max(z, (l[p].value || 0) * V)
212
+ const u = o[a], h = u.length, f = Math.max(0, (h - 1) * P), _ = Math.max(0, Q - f), B = Math.min(ie, h ? _ / h : 0), C = u.map(
213
+ (p) => Math.max(B, (l[p].value || 0) * V)
214
214
  ), O = C.reduce((p, N) => p + N, 0) + f;
215
- let y = Math.max(0, (J - O) / 2);
215
+ let y = Math.max(0, (Q - O) / 2);
216
216
  u.forEach((p, N) => {
217
- const B = C[N], I = we.left + a * Re, R = y;
217
+ const z = C[N], I = we.left + a * Re, R = y;
218
218
  X[p] = {
219
219
  x: I,
220
220
  y: R,
221
221
  absoluteY: R,
222
- height: B,
222
+ height: z,
223
223
  i: N,
224
224
  color: l[p].color,
225
225
  value: l[p].value
226
- }, y += B, N < h - 1 && (y += P);
226
+ }, y += z, N < h - 1 && (y += P);
227
227
  });
228
228
  });
229
229
  const bt = [], ce = we.top, He = {}, We = {};
@@ -235,10 +235,10 @@ const Do = ["id"], Lo = {
235
235
  o[a].forEach((h) => {
236
236
  const f = l[h], _ = X[h];
237
237
  if (!f.children || !f.children.length) return;
238
- let z = _.y;
238
+ let B = _.y;
239
239
  f.children.forEach(({ target: C, value: O }) => {
240
- const y = X[C], p = l[C], N = f.outflow > 0 ? O / f.outflow : 0, B = p.inflow > 0 ? O / p.inflow : 0, I = x(z + ce), R = x(z + N * _.height + ce), Ct = He[C];
241
- let Ae = Ct + B * y.height;
240
+ const y = X[C], p = l[C], N = f.outflow > 0 ? O / f.outflow : 0, z = p.inflow > 0 ? O / p.inflow : 0, I = x(B + ce), R = x(B + N * _.height + ce), Ct = He[C];
241
+ let Ae = Ct + z * y.height;
242
242
  We[C] += O;
243
243
  const oo = p.inflow > 0 && We[C] >= p.inflow - eo, kt = y.y + y.height;
244
244
  (oo || Ae > kt - to) && (Ae = kt);
@@ -251,7 +251,7 @@ const Do = ["id"], Lo = {
251
251
  value: O,
252
252
  sourceColor: f.color,
253
253
  targetColor: l[C].color
254
- }), z = R - ce, He[C] = Ae;
254
+ }), B = R - ce, He[C] = Ae;
255
255
  });
256
256
  });
257
257
  }), { nodeCoordinates: X, links: bt };
@@ -274,26 +274,26 @@ const Do = ["id"], Lo = {
274
274
  }));
275
275
  function Wt(t) {
276
276
  const l = {}, o = {}, n = /* @__PURE__ */ new Set();
277
- return ut.value.forEach(([s, $, Z]) => {
277
+ return ut.value.forEach(([s, $, K]) => {
278
278
  l[s] || (l[s] = []), o[$] || (o[$] = []), l[s].push($), o[$].push(s);
279
279
  }), l[t] && l[t].forEach((s) => n.add(s)), o[t] && o[t].forEach((s) => n.add(s)), Array.from(n).concat(t);
280
280
  }
281
- const w = c(null), K = c(null), ne = c(null), be = c(!1);
281
+ const w = c(null), J = c(null), ne = c(null), be = c(!1);
282
282
  function Gt(t, l) {
283
- j.value = [], w.value = Wt(t.name), K.value = t.name;
283
+ j.value = [], w.value = Wt(t.name), J.value = t.name;
284
284
  const o = t.name, n = ut.value;
285
- let s = 0, $ = 0, Z = [], re = [];
286
- const ue = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)), Be = Array.from(ue).filter((v) => !we.has(v)), J = n.filter(([v]) => Be.includes(v)).reduce((v, [m, V, X]) => v + X, 0), D = {};
285
+ let s = 0, $ = 0, K = [], re = [];
286
+ const ue = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)), ze = Array.from(ue).filter((v) => !we.has(v)), Q = n.filter(([v]) => ze.includes(v)).reduce((v, [m, V, X]) => v + X, 0), D = {};
287
287
  S.value.nodes.forEach((v) => {
288
288
  D[v.name] = v.color;
289
289
  }), n.forEach(([v, m, V]) => {
290
- m === o && (s += V, Z.push({ source: v, value: V, color: D[v] })), v === o && ($ += V, re.push({ target: m, value: V, color: D[m] }));
290
+ m === o && (s += V, K.push({ source: v, value: V, color: D[v] })), v === o && ($ += V, re.push({ target: m, value: V, color: D[m] }));
291
291
  });
292
- const $e = Math.max(s, $), Re = J > 0 ? $e / J * 100 : 0, A = {
292
+ const $e = Math.max(s, $), Re = Q > 0 ? $e / Q * 100 : 0, A = {
293
293
  name: o,
294
294
  inflow: s,
295
295
  outflow: $,
296
- from: Z,
296
+ from: K,
297
297
  to: re,
298
298
  percentOfTotal: Re,
299
299
  color: D[o] || "#000000"
@@ -346,7 +346,7 @@ const Do = ["id"], Lo = {
346
346
  }
347
347
  function dt(t) {
348
348
  const l = ne.value;
349
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: t }), w.value = null, K.value = null, Se.value = !1;
349
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: t }), w.value = null, J.value = null, Se.value = !1;
350
350
  }
351
351
  function Ut(t) {
352
352
  const l = ne.value;
@@ -452,22 +452,22 @@ const Do = ["id"], Lo = {
452
452
  ).length
453
453
  })).map((l, o) => ({
454
454
  ...l,
455
- segregate: () => ze({ legend: l, i: o }),
455
+ segregate: () => Be({ legend: l, i: o }),
456
456
  opacity: j.value.length ? j.value.includes(o) ? 1 : 0.5 : 1,
457
457
  display: `${l.name} (${l.count})`
458
458
  }));
459
459
  }), Le = d(
460
460
  () => gt.value.filter((t) => t.name !== "__uncategorized__")
461
461
  ), j = c([]);
462
- function ze({ legend: t, i: l }) {
462
+ function Be({ legend: t, i: l }) {
463
463
  const o = t.name;
464
464
  if (w.value?.every(
465
465
  (n) => e.value.nodeCategories[n] === o
466
466
  )) {
467
- w.value = null, K.value = null, j.value = [];
467
+ w.value = null, J.value = null, j.value = [];
468
468
  return;
469
469
  }
470
- j.value = [l], w.value = S.value.nodes.filter((n) => e.value.nodeCategories[n.name] === o).map((n) => n.name), K.value = null;
470
+ j.value = [l], w.value = S.value.nodes.filter((n) => e.value.nodeCategories[n.name] === o).map((n) => n.name), J.value = null;
471
471
  }
472
472
  const jt = d(() => ({
473
473
  cy: "flow-legend",
@@ -528,19 +528,19 @@ const Do = ["id"], Lo = {
528
528
  const Xt = d(() => Le.value.map((t) => ({
529
529
  ...t,
530
530
  name: t.display
531
- }))), qt = d(() => e.value.style.chart.backgroundColor), Kt = d(() => e.value.style.chart.legend), Zt = d(() => e.value.style.chart.title), { exportSvg: Jt, getSvg: Qt } = _o({
531
+ }))), qt = d(() => e.value.style.chart.backgroundColor), Jt = d(() => e.value.style.chart.legend), Kt = d(() => e.value.style.chart.title), { exportSvg: Qt, getSvg: Zt } = _o({
532
532
  svg: Ie,
533
- title: Zt,
534
- legend: Kt,
533
+ title: Kt,
534
+ legend: Jt,
535
535
  legendItems: Xt,
536
536
  backgroundColor: qt
537
537
  });
538
538
  async function yt({ isCb: t }) {
539
539
  if (t) {
540
- const { blob: l, url: o, text: n, dataUrl: s } = await Qt();
540
+ const { blob: l, url: o, text: n, dataUrl: s } = await Zt();
541
541
  e.value.userOptions.callbacks.svg({ blob: l, url: o, text: n, dataUrl: s });
542
542
  } else
543
- Jt();
543
+ Qt();
544
544
  }
545
545
  return Ot({
546
546
  getData: Yt,
@@ -552,9 +552,9 @@ const Do = ["id"], Lo = {
552
552
  toggleTable: ft,
553
553
  toggleAnnotator: De,
554
554
  toggleTooltip: pt,
555
- drillCategory: ze,
555
+ drillCategory: Be,
556
556
  unselectNode: dt,
557
- toggleFullscreen: Je
557
+ toggleFullscreen: Qe
558
558
  }), (t, l) => (i(), g("div", {
559
559
  ref_key: "flowChart",
560
560
  ref: M,
@@ -595,8 +595,8 @@ const Do = ["id"], Lo = {
595
595
  ], 512)) : T("", !0),
596
596
  G("div", {
597
597
  id: `legend-top-${U.value}`
598
- }, null, 8, zo),
599
- e.value.userOptions.show && Ze.value && (r(tt) || r(Ee)) ? (i(), q(r(Mt), {
598
+ }, null, 8, Bo),
599
+ e.value.userOptions.show && Ke.value && (r(tt) || r(Ee)) ? (i(), q(r(Mt), {
600
600
  ref_key: "userOptionsRef",
601
601
  ref: Oe,
602
602
  key: `user_option_${Ye.value}`,
@@ -623,7 +623,7 @@ const Do = ["id"], Lo = {
623
623
  isTooltip: E.value.showTooltip,
624
624
  tableDialog: e.value.table.useDialog,
625
625
  onToggleTooltip: pt,
626
- onToggleFullscreen: Je,
626
+ onToggleFullscreen: Qe,
627
627
  onGeneratePdf: r(st),
628
628
  onGenerateCsv: Me,
629
629
  onGenerateImage: r(rt),
@@ -637,7 +637,7 @@ const Do = ["id"], Lo = {
637
637
  t.$slots.menuIcon ? {
638
638
  name: "menuIcon",
639
639
  fn: b(({ isOpen: o, color: n }) => [
640
- k(t.$slots, "menuIcon", Q(ee({ isOpen: o, color: n })), void 0, !0)
640
+ k(t.$slots, "menuIcon", Z(ee({ isOpen: o, color: n })), void 0, !0)
641
641
  ]),
642
642
  key: "0"
643
643
  } : void 0,
@@ -679,14 +679,14 @@ const Do = ["id"], Lo = {
679
679
  t.$slots.optionFullscreen ? {
680
680
  name: "optionFullscreen",
681
681
  fn: b(({ toggleFullscreen: o, isFullscreen: n }) => [
682
- k(t.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
682
+ k(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
683
683
  ]),
684
684
  key: "6"
685
685
  } : void 0,
686
686
  t.$slots.optionAnnotator ? {
687
687
  name: "optionAnnotator",
688
688
  fn: b(({ toggleAnnotator: o, isAnnotator: n }) => [
689
- k(t.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
689
+ k(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
690
690
  ]),
691
691
  key: "7"
692
692
  } : void 0
@@ -747,7 +747,7 @@ const Do = ["id"], Lo = {
747
747
  stroke: e.value.style.chart.links.stroke,
748
748
  "stroke-width": e.value.style.chart.links.strokeWidth,
749
749
  style: W(`
750
- opacity:${w.value ? w.value.includes(o.source) && w.value.includes(o.target) ? 1 : 0.3 : K.value ? [o.target, o.source].includes(K.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
750
+ opacity:${w.value ? w.value.includes(o.source) && w.value.includes(o.target) ? 1 : 0.3 : J.value ? [o.target, o.source].includes(J.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
751
751
  `)
752
752
  }, null, 12, Uo))), 256)),
753
753
  (i(!0), g(ve, null, de(S.value.nodes, (o, n) => (i(), g("rect", {
@@ -800,14 +800,14 @@ const Do = ["id"], Lo = {
800
800
  )), 13, Xo))), 256))
801
801
  ])) : T("", !0),
802
802
  k(t.$slots, "svg", { svg: ae.value }, void 0, !0)
803
- ], 14, Bo)),
803
+ ], 14, zo)),
804
804
  t.$slots.watermark ? (i(), g("div", qo, [
805
- k(t.$slots, "watermark", Q(ee({ isPrinting: r(at) || r(nt) })), void 0, !0)
805
+ k(t.$slots, "watermark", Z(ee({ isPrinting: r(at) || r(nt) })), void 0, !0)
806
806
  ])) : T("", !0),
807
807
  G("div", {
808
808
  id: `legend-bottom-${U.value}`
809
- }, null, 8, Ko),
810
- Ke.value ? (i(), q(ro, {
809
+ }, null, 8, Jo),
810
+ Je.value ? (i(), q(ro, {
811
811
  key: 5,
812
812
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${U.value}` : `#legend-bottom-${U.value}`
813
813
  }, [
@@ -819,14 +819,14 @@ const Do = ["id"], Lo = {
819
819
  key: 0,
820
820
  legendSet: Le.value,
821
821
  config: jt.value,
822
- onClickMarker: l[0] || (l[0] = (o) => ze(o))
822
+ onClickMarker: l[0] || (l[0] = (o) => Be(o))
823
823
  }, {
824
824
  item: b(({ legend: o, index: n }) => [
825
825
  r(Ne) ? T("", !0) : (i(), g("div", {
826
826
  key: 0,
827
827
  onClick: (s) => o.segregate(),
828
828
  style: W(`opacity:${j.value.length ? j.value.includes(n) ? 1 : 0.5 : 1}`)
829
- }, he(o.display), 13, Zo))
829
+ }, he(o.display), 13, Ko))
830
830
  ]),
831
831
  _: 1
832
832
  }, 8, ["legendSet", "config"])) : T("", !0),
@@ -862,14 +862,14 @@ const Do = ["id"], Lo = {
862
862
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
863
863
  }, {
864
864
  "tooltip-before": b(() => [
865
- k(t.$slots, "tooltip-before", Q(ee({ ...ne.value })), void 0, !0)
865
+ k(t.$slots, "tooltip-before", Z(ee({ ...ne.value })), void 0, !0)
866
866
  ]),
867
867
  "tooltip-after": b(() => [
868
- k(t.$slots, "tooltip-after", Q(ee({ ...ne.value })), void 0, !0)
868
+ k(t.$slots, "tooltip-after", Z(ee({ ...ne.value })), void 0, !0)
869
869
  ]),
870
870
  _: 3
871
871
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
872
- Ze.value && e.value.userOptions.buttons.table ? (i(), q(uo(se.value.component), io({ key: 7 }, se.value.props, {
872
+ Ke.value && e.value.userOptions.buttons.table ? (i(), q(uo(se.value.component), io({ key: 7 }, se.value.props, {
873
873
  ref_key: "tableUnit",
874
874
  ref: oe,
875
875
  onClose: mt
@@ -888,7 +888,7 @@ const Do = ["id"], Lo = {
888
888
  G("div", {
889
889
  innerHTML: o,
890
890
  style: { display: "flex", "align-items": "center" }
891
- }, null, 8, Jo)
891
+ }, null, 8, Qo)
892
892
  ]),
893
893
  td: b(({ td: o }) => [
894
894
  At(he(o.name || o), 1)
@@ -925,7 +925,7 @@ const Do = ["id"], Lo = {
925
925
  r(Ne) ? (i(), q(So, { key: 8 })) : T("", !0)
926
926
  ], 46, Do));
927
927
  }
928
- }, fl = /* @__PURE__ */ Mo(Qo, [["__scopeId", "data-v-277f5344"]]);
928
+ }, fl = /* @__PURE__ */ Mo(Zo, [["__scopeId", "data-v-277f5344"]]);
929
929
  export {
930
930
  fl as default
931
931
  };