vue-data-ui 3.2.1 → 3.2.3

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 (158) hide show
  1. package/dist/{Arrow-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
  3. package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
  4. package/dist/ColorPicker-B-WUqMoV.js +238 -0
  5. package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
  6. package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
  8. package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
  9. package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
  10. package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
  11. package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
  12. package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
  13. package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
  14. package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
  15. package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +5 -0
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
  82. package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
  83. package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
  84. package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +24 -3
  87. package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
  88. package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
  89. package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
  90. package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
  91. package/dist/vue-data-ui.js +96 -96
  92. package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
  93. package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
  94. package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
  95. package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
  96. package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
  97. package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
  98. package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
  99. package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
  100. package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
  101. package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
  102. package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
  103. package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
  104. package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
  105. package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
  106. package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
  107. package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
  108. package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
  109. package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
  110. package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
  111. package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
  112. package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
  113. package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
  114. package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
  115. package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
  116. package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
  117. package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
  118. package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
  119. package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
  120. package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
  121. package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
  122. package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
  123. package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
  124. package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
  125. package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
  126. package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
  127. package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
  128. package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
  129. package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
  130. package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
  131. package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
  132. package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
  133. package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
  134. package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
  135. package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
  136. package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
  137. package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
  138. package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
  139. package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
  140. package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
  141. package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
  142. package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
  143. package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
  144. package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
  145. package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
  146. package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
  147. package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
  148. package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
  149. package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
  150. package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
  151. package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
  152. package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
  153. package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
  154. package/package.json +3 -3
  155. package/dist/ColorPicker-gaAecgEC.js +0 -135
  156. package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
  157. package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
  158. package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
@@ -1,15 +1,15 @@
1
- import { defineAsyncComponent as H, ref as c, computed as g, onMounted as Zt, toRefs as Jt, watch as Te, createElementBlock as p, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as kt, createBlock as q, createCommentVNode as T, createElementVNode as G, createVNode as xe, createSlots as wt, withCtx as y, renderSlot as k, normalizeProps as J, guardReactiveProps as ee, Fragment as de, renderList as he, toDisplayString as te, Teleport as eo, resolveDynamicComponent as to, mergeProps as oo, createTextVNode as $t, nextTick as lo } from "vue";
2
- import { c as He, t as ao, o as At, f as no, b as so, p as z, e as ro, q as x, h as uo, d as fe, X as io, G as Tt, Q as co, a as We, x as vo, y as ho, z as fo } from "./lib-p5pfHmOX.js";
1
+ import { defineAsyncComponent as H, ref as c, computed as g, onMounted as Jt, toRefs as Qt, watch as Te, createElementBlock as p, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as kt, createBlock as q, createCommentVNode as T, createElementVNode as Y, createVNode as xe, createSlots as wt, withCtx as y, renderSlot as k, normalizeProps as Q, guardReactiveProps as ee, Fragment as de, renderList as he, toDisplayString as te, Teleport as eo, resolveDynamicComponent as to, mergeProps as oo, createTextVNode as $t, nextTick as lo } from "vue";
2
+ import { c as He, t as ao, o as At, f as no, b as so, p as z, e as ro, q as x, h as uo, d as fe, X as io, E as Tt, O as co, a as We, x as vo, y as ho, z as fo } from "./lib-BEpWEyMm.js";
3
3
  import { t as po, u as go } from "./useResponsive-DfdjqQps.js";
4
- import { u as mo, a as xt } from "./useNestedProp-7BbqoAYu.js";
5
- import { u as bo } from "./usePrinter-Yeu5jOfm.js";
4
+ import { u as mo, a as xt } from "./useNestedProp-CLD3Gk9S.js";
5
+ import { u as bo } from "./usePrinter-w23K-ezx.js";
6
6
  import { u as yo, B as Co } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as ko } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as wo } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import { t as $o } from "./themes-D3cUNuKw.js";
10
- import Ao from "./Legend-_Rv594VS.js";
11
- import To from "./Title-BIaVNiUQ.js";
12
- import xo from "./img-CH7J0fYg.js";
10
+ import Ao from "./Legend-BpoFJ8fc.js";
11
+ import To from "./Title-C__lOIPC.js";
12
+ import xo from "./img-DjWwQXVS.js";
13
13
  import { _ as _o } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const So = ["id"], Oo = {
15
15
  key: 1,
@@ -19,7 +19,7 @@ const So = ["id"], Oo = {
19
19
  }, No = ["id"], Fo = ["xmlns", "viewBox"], Eo = ["width", "height"], Po = ["id"], Io = ["stop-color"], Mo = ["stop-color"], Do = ["d", "fill", "stroke", "stroke-width"], zo = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Bo = { key: 1 }, Lo = ["x", "y", "font-size", "fill"], Ro = ["x", "y", "font-size", "fill"], Ho = {
20
20
  key: 4,
21
21
  class: "vue-data-ui-watermark"
22
- }, Wo = ["id"], Go = ["onClick"], Yo = ["innerHTML"], Uo = {
22
+ }, Wo = ["id"], Yo = ["onClick"], Go = ["innerHTML"], Uo = {
23
23
  __name: "vue-ui-flow",
24
24
  props: {
25
25
  config: {
@@ -36,16 +36,16 @@ const So = ["id"], Oo = {
36
36
  }
37
37
  },
38
38
  setup(_t, { expose: St }) {
39
- const Ot = H(() => import("./Tooltip-Clf2K3CF.js")), Nt = H(() => import("./BaseIcon-D2f9w5Z5.js")), Ft = H(() => import("./vue-ui-accordion-BSrtaPYx.js")), Et = H(() => import("./DataTable-xISHA7Pu.js")), Pt = H(() => import("./PenAndPaper-CtDMyIvW.js")), It = H(() => import("./UserOptions-Bn3u4JQu.js")), Mt = H(() => import("./PackageVersion-BB7joYAK.js")), Dt = H(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_flow: zt } = mo(), F = _t, Y = c(He()), M = c(null), Ge = c(0), Ye = c(0), _e = c(!1), Se = c(""), Ue = c(null), je = c(null), Ve = c(null), oe = c(null), pe = c(null), Xe = c(!1), le = c(null), Oe = c(null), qe = g(() => !!F.dataset && F.dataset.length);
40
- Zt(() => {
41
- Xe.value = !0, Qe();
39
+ const Ot = H(() => import("./Tooltip-BOXz8skU.js")), Nt = H(() => import("./BaseIcon-Bz-1GQhu.js")), Ft = H(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Et = H(() => import("./DataTable-BvjacRbw.js")), Pt = H(() => import("./PenAndPaper-CR8q353D.js")), It = H(() => import("./UserOptions-DsTgvAok.js")), Mt = H(() => import("./PackageVersion-oBQ8brnx.js")), Dt = H(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_flow: zt } = mo(), F = _t, G = c(He()), M = c(null), Ye = c(0), Ge = c(0), _e = c(!1), Se = c(""), Ue = c(null), je = c(null), Ve = c(null), oe = c(null), pe = c(null), Xe = c(!1), le = c(null), Oe = c(null), qe = g(() => !!F.dataset && F.dataset.length);
40
+ Jt(() => {
41
+ Xe.value = !0, Ze();
42
42
  });
43
43
  const U = c(!1);
44
44
  function Ke(o) {
45
- U.value = o, Ge.value += 1;
45
+ U.value = o, Ye.value += 1;
46
46
  }
47
47
  const e = c(Pe()), { loading: Ne, FINAL_DATASET: ge, manualLoading: Fe } = yo({
48
- ...Jt(F),
48
+ ...Qt(F),
49
49
  FINAL_CONFIG: e,
50
50
  prepareConfig: Pe,
51
51
  skeletonDataset: [
@@ -89,7 +89,7 @@ const So = ["id"], Oo = {
89
89
  }
90
90
  })
91
91
  }), Bt = g(() => !!e.value.debug);
92
- function Qe() {
92
+ function Ze() {
93
93
  if (At(F.dataset) && (no({
94
94
  componentName: "VueUiFlow",
95
95
  type: "dataset",
@@ -109,7 +109,7 @@ const So = ["id"], Oo = {
109
109
  oe.value && (pe.value && oe.value.unobserve(pe.value), oe.value.disconnect()), oe.value = new ResizeObserver(o), pe.value = M.value.parentNode, oe.value.observe(pe.value);
110
110
  }
111
111
  }
112
- const { userOptionsVisible: Ee, setUserOptionsVisibility: Ze, keepUserOptionState: Je } = ko({ config: e.value }), { svgRef: et } = wo({
112
+ const { userOptionsVisible: Ee, setUserOptionsVisibility: Je, keepUserOptionState: Qe } = ko({ config: e.value }), { svgRef: et } = wo({
113
113
  config: e.value.style.chart.title
114
114
  });
115
115
  function Pe() {
@@ -130,14 +130,14 @@ const So = ["id"], Oo = {
130
130
  Te(
131
131
  () => F.config,
132
132
  (o) => {
133
- Ne.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Qe(), Ye.value += 1, E.value.showTable = e.value.table.show;
133
+ Ne.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Ze(), Ge.value += 1, E.value.showTable = e.value.table.show;
134
134
  },
135
135
  { deep: !0 }
136
136
  ), Te(() => F.dataset, (o) => {
137
137
  Array.isArray(o) && o.length > 0 && (Fe.value = !1);
138
138
  }, { deep: !0 });
139
139
  const { isPrinting: lt, isImaging: at, generatePdf: nt, generateImage: st } = bo({
140
- elementId: `flow_${Y.value}`,
140
+ elementId: `flow_${G.value}`,
141
141
  fileName: e.value.style.chart.title.text || "vue-ui-flow",
142
142
  options: e.value.userOptions.print
143
143
  }), Lt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = g(() => ro(e.value.customPalette)), be = g(() => e.value.style.chart.nodes.width), E = c({
@@ -172,8 +172,8 @@ const So = ["id"], Oo = {
172
172
  const h = l[a]?.level ?? 0, S = h + 1;
173
173
  n(a, h), n(u, S), l[a].children.push({ target: u, value: d }), l[a].outflow += d, l[u].inflow += d;
174
174
  });
175
- const s = new Set(o.map(([a]) => a)), $ = new Set(o.map(([, a]) => a)), Q = Array.from(s).filter((a) => !$.has(a)), ue = {};
176
- Q.forEach((a, u) => {
175
+ const s = new Set(o.map(([a]) => a)), $ = new Set(o.map(([, a]) => a)), Z = Array.from(s).filter((a) => !$.has(a)), ue = {};
176
+ Z.forEach((a, u) => {
177
177
  ue[a] = me.value[u] || z[u % z.length];
178
178
  });
179
179
  const ie = {};
@@ -181,17 +181,17 @@ const So = ["id"], Oo = {
181
181
  h && (ie[a] = h, ie[u] = h);
182
182
  }), Object.keys(l).forEach((a, u) => {
183
183
  const d = e.value.nodeCategories?.[a], h = d ? e.value.nodeCategoryColors?.[d] : null;
184
- l[a].color = ie[a] || h || (Q.includes(a) ? ue[a] : null) || z[u % z.length];
184
+ l[a].color = ie[a] || h || (Z.includes(a) ? ue[a] : null) || z[u % z.length];
185
185
  }), Object.keys(l).forEach((a) => {
186
186
  l[a].value = Math.max(l[a].inflow, l[a].outflow);
187
187
  });
188
- const we = ae.value, ze = ct.value.width, Z = ct.value.height, D = Object.keys(t).map(Number).sort((a, u) => a - u), $e = D.length || 1, Be = $e > 1 ? ze / ($e - 1) : 0, A = Number(be.value), I = Number(
188
+ const we = ae.value, ze = ct.value.width, J = ct.value.height, D = Object.keys(t).map(Number).sort((a, u) => a - u), $e = D.length || 1, Be = $e > 1 ? ze / ($e - 1) : 0, A = Number(be.value), I = Number(
189
189
  e.value.style.chart.nodes.gapPx ?? e.value.style.chart.nodes.gap ?? 8
190
190
  ), ce = Number(e.value.style.chart.nodes.minHeight || 0);
191
191
  function v(a) {
192
192
  const u = t[a], d = u.length;
193
193
  if (!d) return 1 / 0;
194
- const h = Math.max(0, (d - 1) * I), S = Math.max(0, Z - h), B = Math.min(ce, d ? S / d : 0);
194
+ const h = Math.max(0, (d - 1) * I), S = Math.max(0, J - h), B = Math.min(ce, d ? S / d : 0);
195
195
  let C = 0, O = u.map((f) => l[f].value || 0), b = O.reduce((f, N) => f + N, 0);
196
196
  for (let f = 0; f < 12; f += 1) {
197
197
  const N = b > 0 ? (S - C) / b : 0, L = [];
@@ -208,10 +208,10 @@ const So = ["id"], Oo = {
208
208
  }
209
209
  const m = D.map(v), V = m.length ? Math.min(...m) : 0, X = {};
210
210
  D.forEach((a) => {
211
- const u = t[a], d = u.length, h = Math.max(0, (d - 1) * I), S = Math.max(0, Z - h), B = Math.min(ce, d ? S / d : 0), C = u.map(
211
+ const u = t[a], d = u.length, h = Math.max(0, (d - 1) * I), S = Math.max(0, J - h), B = Math.min(ce, d ? S / d : 0), C = u.map(
212
212
  (f) => Math.max(B, (l[f].value || 0) * V)
213
213
  ), O = C.reduce((f, N) => f + N, 0) + h;
214
- let b = Math.max(0, (Z - O) / 2);
214
+ let b = Math.max(0, (J - O) / 2);
215
215
  u.forEach((f, N) => {
216
216
  const L = C[N], P = we.left + a * Be, R = b;
217
217
  X[f] = {
@@ -241,12 +241,12 @@ const So = ["id"], Oo = {
241
241
  Re[C] += O;
242
242
  const qt = f.inflow > 0 && Re[C] >= f.inflow - Vt, Ct = b.y + b.height;
243
243
  (qt || Ae > Ct - Xt) && (Ae = Ct);
244
- const Kt = x(yt + ve), Qt = x(Ae + ve);
244
+ const Kt = x(yt + ve), Zt = x(Ae + ve);
245
245
  bt.push({
246
246
  id: He(),
247
247
  source: d,
248
248
  target: C,
249
- path: `M ${x(S.x + A)} ${P} L ${x(S.x + A)} ${R} L ${x(b.x)} ${Qt} L ${x(b.x)} ${Kt} Z`,
249
+ path: `M ${x(S.x + A)} ${P} L ${x(S.x + A)} ${R} L ${x(b.x)} ${Zt} L ${x(b.x)} ${Kt} Z`,
250
250
  value: O,
251
251
  sourceColor: h.color,
252
252
  targetColor: l[C].color
@@ -273,7 +273,7 @@ const So = ["id"], Oo = {
273
273
  }));
274
274
  function Ht(o) {
275
275
  const l = {}, t = {}, n = /* @__PURE__ */ new Set();
276
- return rt.value.forEach(([s, $, Q]) => {
276
+ return rt.value.forEach(([s, $, Z]) => {
277
277
  l[s] || (l[s] = []), t[$] || (t[$] = []), l[s].push($), t[$].push(s);
278
278
  }), l[o] && l[o].forEach((s) => n.add(s)), t[o] && t[o].forEach((s) => n.add(s)), Array.from(n).concat(o);
279
279
  }
@@ -281,18 +281,18 @@ const So = ["id"], Oo = {
281
281
  function Wt(o, l) {
282
282
  j.value = [], w.value = Ht(o.name), K.value = o.name;
283
283
  const t = o.name, n = rt.value;
284
- let s = 0, $ = 0, Q = [], ue = [];
285
- const ie = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)), ze = Array.from(ie).filter((v) => !we.has(v)), Z = n.filter(([v]) => ze.includes(v)).reduce((v, [m, V, X]) => v + X, 0), D = {};
284
+ let s = 0, $ = 0, Z = [], ue = [];
285
+ const ie = new Set(n.map(([v]) => v)), we = new Set(n.map(([, v]) => v)), ze = Array.from(ie).filter((v) => !we.has(v)), J = n.filter(([v]) => ze.includes(v)).reduce((v, [m, V, X]) => v + X, 0), D = {};
286
286
  _.value.nodes.forEach((v) => {
287
287
  D[v.name] = v.color;
288
288
  }), n.forEach(([v, m, V]) => {
289
- m === t && (s += V, Q.push({ source: v, value: V, color: D[v] })), v === t && ($ += V, ue.push({ target: m, value: V, color: D[m] }));
289
+ m === t && (s += V, Z.push({ source: v, value: V, color: D[v] })), v === t && ($ += V, ue.push({ target: m, value: V, color: D[m] }));
290
290
  });
291
- const $e = Math.max(s, $), Be = Z > 0 ? $e / Z * 100 : 0, A = {
291
+ const $e = Math.max(s, $), Be = J > 0 ? $e / J * 100 : 0, A = {
292
292
  name: t,
293
293
  inflow: s,
294
294
  outflow: $,
295
- from: Q,
295
+ from: Z,
296
296
  to: ue,
297
297
  percentOfTotal: Be,
298
298
  color: D[t] || "#000000"
@@ -347,7 +347,7 @@ const So = ["id"], Oo = {
347
347
  const l = se.value;
348
348
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), w.value = null, K.value = null, _e.value = !1;
349
349
  }
350
- function Gt(o) {
350
+ function Yt(o) {
351
351
  const l = se.value;
352
352
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: o });
353
353
  }
@@ -423,7 +423,7 @@ const So = ["id"], Oo = {
423
423
  config: t
424
424
  };
425
425
  });
426
- function Yt() {
426
+ function Gt() {
427
427
  return _.value;
428
428
  }
429
429
  function ht() {
@@ -524,7 +524,7 @@ const So = ["id"], Oo = {
524
524
  E.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
525
525
  }
526
526
  return St({
527
- getData: Yt,
527
+ getData: Gt,
528
528
  getImage: jt,
529
529
  generateCsv: Ie,
530
530
  generateImage: st,
@@ -540,9 +540,9 @@ const So = ["id"], Oo = {
540
540
  ref: M,
541
541
  class: kt(`vue-ui-flow ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
542
542
  style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
543
- id: `flow_${Y.value}`,
544
- onMouseenter: l[2] || (l[2] = () => r(Ze)(!0)),
545
- onMouseleave: l[3] || (l[3] = () => r(Ze)(!1))
543
+ id: `flow_${G.value}`,
544
+ onMouseenter: l[2] || (l[2] = () => r(Je)(!0)),
545
+ onMouseleave: l[3] || (l[3] = () => r(Je)(!1))
546
546
  }, [
547
547
  e.value.userOptions.buttons.annotator ? (i(), q(r(Pt), {
548
548
  key: 0,
@@ -560,7 +560,7 @@ const So = ["id"], Oo = {
560
560
  style: "width:100%;background:transparent;padding-bottom:24px"
561
561
  }, [
562
562
  (i(), q(To, {
563
- key: `title_${Ye.value}`,
563
+ key: `title_${Ge.value}`,
564
564
  config: {
565
565
  title: {
566
566
  cy: "flow-title",
@@ -573,18 +573,18 @@ const So = ["id"], Oo = {
573
573
  }
574
574
  }, null, 8, ["config"]))
575
575
  ], 512)) : T("", !0),
576
- G("div", {
577
- id: `legend-top-${Y.value}`
576
+ Y("div", {
577
+ id: `legend-top-${G.value}`
578
578
  }, null, 8, No),
579
- e.value.userOptions.show && qe.value && (r(Je) || r(Ee)) ? (i(), q(r(It), {
579
+ e.value.userOptions.show && qe.value && (r(Qe) || r(Ee)) ? (i(), q(r(It), {
580
580
  ref_key: "userOptionsRef",
581
581
  ref: Oe,
582
- key: `user_option_${Ge.value}`,
582
+ key: `user_option_${Ye.value}`,
583
583
  backgroundColor: e.value.style.chart.backgroundColor,
584
584
  color: e.value.style.chart.color,
585
585
  isPrinting: r(lt),
586
586
  isImaging: r(at),
587
- uid: Y.value,
587
+ uid: G.value,
588
588
  hasPdf: e.value.userOptions.buttons.pdf,
589
589
  hasXls: e.value.userOptions.buttons.csv,
590
590
  hasImg: e.value.userOptions.buttons.img,
@@ -609,13 +609,13 @@ const So = ["id"], Oo = {
609
609
  onToggleTable: ht,
610
610
  onToggleAnnotator: Me,
611
611
  style: W({
612
- visibility: r(Je) ? r(Ee) ? "visible" : "hidden" : "visible"
612
+ visibility: r(Qe) ? r(Ee) ? "visible" : "hidden" : "visible"
613
613
  })
614
614
  }, wt({ _: 2 }, [
615
615
  o.$slots.menuIcon ? {
616
616
  name: "menuIcon",
617
617
  fn: y(({ isOpen: t, color: n }) => [
618
- k(o.$slots, "menuIcon", J(ee({ isOpen: t, color: n })), void 0, !0)
618
+ k(o.$slots, "menuIcon", Q(ee({ isOpen: t, color: n })), void 0, !0)
619
619
  ]),
620
620
  key: "0"
621
621
  } : void 0,
@@ -657,14 +657,14 @@ const So = ["id"], Oo = {
657
657
  o.$slots.optionFullscreen ? {
658
658
  name: "optionFullscreen",
659
659
  fn: y(({ toggleFullscreen: t, isFullscreen: n }) => [
660
- k(o.$slots, "optionFullscreen", J(ee({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
660
+ k(o.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
661
661
  ]),
662
662
  key: "6"
663
663
  } : void 0,
664
664
  o.$slots.optionAnnotator ? {
665
665
  name: "optionAnnotator",
666
666
  fn: y(({ toggleAnnotator: t, isAnnotator: n }) => [
667
- k(o.$slots, "optionAnnotator", J(ee({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
667
+ k(o.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
668
668
  ]),
669
669
  key: "7"
670
670
  } : void 0
@@ -698,7 +698,7 @@ const So = ["id"], Oo = {
698
698
  }, [
699
699
  k(o.$slots, "chart-background", {}, void 0, !0)
700
700
  ], 8, Eo)) : T("", !0),
701
- G("defs", null, [
701
+ Y("defs", null, [
702
702
  (i(!0), p(de, null, he(_.value.links, (t, n) => (i(), p("linearGradient", {
703
703
  id: t.id,
704
704
  x1: "0%",
@@ -706,11 +706,11 @@ const So = ["id"], Oo = {
706
706
  x2: "100%",
707
707
  y2: "0%"
708
708
  }, [
709
- G("stop", {
709
+ Y("stop", {
710
710
  offset: "0%",
711
711
  "stop-color": t.sourceColor
712
712
  }, null, 8, Io),
713
- G("stop", {
713
+ Y("stop", {
714
714
  offset: "100%",
715
715
  "stop-color": t.targetColor
716
716
  }, null, 8, Mo)
@@ -740,7 +740,7 @@ const So = ["id"], Oo = {
740
740
  onMouseenter: (s) => Wt(t, n),
741
741
  onMouseleave: (s) => vt(n),
742
742
  style: W(`opacity:${w.value ? w.value.includes(t.name) ? 1 : 0.3 : 1}`),
743
- onClick: (s) => Gt(n)
743
+ onClick: (s) => Yt(n)
744
744
  }, null, 44, zo))), 256)),
745
745
  e.value.style.chart.nodes.labels.show ? (i(), p("g", Bo, [
746
746
  (i(!0), p(de, null, he(_.value.nodes, (t, n) => (i(), p("text", {
@@ -780,16 +780,16 @@ const So = ["id"], Oo = {
780
780
  k(o.$slots, "svg", { svg: ne.value }, void 0, !0)
781
781
  ], 14, Fo)),
782
782
  o.$slots.watermark ? (i(), p("div", Ho, [
783
- k(o.$slots, "watermark", J(ee({ isPrinting: r(lt) || r(at) })), void 0, !0)
783
+ k(o.$slots, "watermark", Q(ee({ isPrinting: r(lt) || r(at) })), void 0, !0)
784
784
  ])) : T("", !0),
785
- G("div", {
786
- id: `legend-bottom-${Y.value}`
785
+ Y("div", {
786
+ id: `legend-bottom-${G.value}`
787
787
  }, null, 8, Wo),
788
788
  Xe.value ? (i(), q(eo, {
789
789
  key: 5,
790
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${Y.value}` : `#legend-bottom-${Y.value}`
790
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${G.value}` : `#legend-bottom-${G.value}`
791
791
  }, [
792
- G("div", {
792
+ Y("div", {
793
793
  ref_key: "chartLegend",
794
794
  ref: Ue
795
795
  }, [
@@ -804,7 +804,7 @@ const So = ["id"], Oo = {
804
804
  key: 0,
805
805
  onClick: (s) => t.segregate(),
806
806
  style: W(`opacity:${j.value.length ? j.value.includes(n) ? 1 : 0.5 : 1}`)
807
- }, te(t.name) + " (" + te(t.count) + ") ", 13, Go))
807
+ }, te(t.name) + " (" + te(t.count) + ") ", 13, Yo))
808
808
  ]),
809
809
  _: 1
810
810
  }, 8, ["legendSet", "config"])) : T("", !0),
@@ -840,10 +840,10 @@ const So = ["id"], Oo = {
840
840
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
841
841
  }, {
842
842
  "tooltip-before": y(() => [
843
- k(o.$slots, "tooltip-before", J(ee({ ...se.value })), void 0, !0)
843
+ k(o.$slots, "tooltip-before", Q(ee({ ...se.value })), void 0, !0)
844
844
  ]),
845
845
  "tooltip-after": y(() => [
846
- k(o.$slots, "tooltip-after", J(ee({ ...se.value })), void 0, !0)
846
+ k(o.$slots, "tooltip-after", Q(ee({ ...se.value })), void 0, !0)
847
847
  ]),
848
848
  _: 3
849
849
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -863,10 +863,10 @@ const So = ["id"], Oo = {
863
863
  onClose: mt
864
864
  }, {
865
865
  th: y(({ th: t }) => [
866
- G("div", {
866
+ Y("div", {
867
867
  innerHTML: t,
868
868
  style: { display: "flex", "align-items": "center" }
869
- }, null, 8, Yo)
869
+ }, null, 8, Go)
870
870
  ]),
871
871
  td: y(({ td: t }) => [
872
872
  $t(te(t.name || t), 1)
@@ -886,7 +886,7 @@ const So = ["id"], Oo = {
886
886
  e.value.table.useDialog ? {
887
887
  name: "actions",
888
888
  fn: y(() => [
889
- G("button", {
889
+ Y("button", {
890
890
  tabindex: "0",
891
891
  class: "vue-ui-user-options-button",
892
892
  onClick: l[1] || (l[1] = (t) => Ie(e.value.userOptions.callbacks.csv))
@@ -1,18 +1,18 @@
1
1
  import { useCssVars as Xe, computed as h, defineAsyncComponent as x, ref as c, shallowRef as we, onMounted as We, onBeforeUnmount as Ye, watch as $e, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as T, normalizeClass as N, createBlock as I, createCommentVNode as b, createSlots as xe, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as j, createVNode as Le, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as qe, createTextVNode as _e, nextTick as Je } from "vue";
2
- import { c as Ke, o as Qe, f as Te, g as Ze, h as et, m as tt, a as Y, d as q, X as at, G as lt, F as te, x as st, y as ot } from "./lib-p5pfHmOX.js";
2
+ import { c as Ke, o as Qe, f as Te, g as Ze, h as et, m as tt, a as Y, d as q, X as at, E as lt, D as te, x as st, y as ot } from "./lib-BEpWEyMm.js";
3
3
  import { t as nt, u as ut } from "./useResponsive-DfdjqQps.js";
4
- import { u as rt, a as Ae } from "./useNestedProp-7BbqoAYu.js";
5
- import { u as it } from "./usePrinter-Yeu5jOfm.js";
4
+ import { u as rt, a as Ae } from "./useNestedProp-CLD3Gk9S.js";
5
+ import { u as it } from "./usePrinter-w23K-ezx.js";
6
6
  import { u as ct } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as vt } from "./useChartAccessibility-9icAAmYg.js";
8
- import dt from "./img-CH7J0fYg.js";
9
- import ht from "./Title-BIaVNiUQ.js";
8
+ import dt from "./img-DjWwQXVS.js";
9
+ import ht from "./Title-C__lOIPC.js";
10
10
  import { t as ft } from "./themes-D3cUNuKw.js";
11
11
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], kt = ["stop-color"], Ct = ["stop-color"], wt = ["stop-color"], $t = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["points", "fill"], Tt = ["stroke", "stroke-width", "rx"], At = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], St = {
12
+ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], kt = ["stop-color"], Ct = ["stop-color"], wt = ["stop-color"], $t = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["points", "fill"], Tt = ["stroke", "stroke-width", "rx"], At = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
- }, Dt = ["innerHTML"], zt = {
15
+ }, St = ["innerHTML"], zt = {
16
16
  __name: "vue-ui-funnel",
17
17
  props: {
18
18
  config: {
@@ -28,11 +28,11 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
28
28
  }
29
29
  }
30
30
  },
31
- setup(Oe, { expose: Se }) {
31
+ setup(Oe, { expose: De }) {
32
32
  Xe((t) => ({
33
- "9ac925c6": Ge.value
33
+ v9ac925c6: Ge.value
34
34
  }));
35
- const De = x(() => import("./BaseIcon-D2f9w5Z5.js")), ze = x(() => import("./vue-ui-skeleton-DrCI1AAl.js")), Ne = x(() => import("./vue-ui-accordion-BSrtaPYx.js")), Ie = x(() => import("./DataTable-xISHA7Pu.js")), Pe = x(() => import("./UserOptions-Bn3u4JQu.js")), Fe = x(() => import("./PenAndPaper-CtDMyIvW.js")), Re = x(() => import("./PackageVersion-BB7joYAK.js")), Be = x(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_funnel: Me } = rt(), p = Oe, w = c(null), P = c(Ke()), ae = c(0), le = c(0), se = c(0), oe = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!p.dataset && p.dataset.length);
35
+ const Se = x(() => import("./BaseIcon-Bz-1GQhu.js")), ze = x(() => import("./vue-ui-skeleton-DZPi12tE.js")), Ne = x(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Ie = x(() => import("./DataTable-BvjacRbw.js")), Pe = x(() => import("./UserOptions-DsTgvAok.js")), Fe = x(() => import("./PenAndPaper-CR8q353D.js")), Re = x(() => import("./PackageVersion-oBQ8brnx.js")), Be = x(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_funnel: Me } = rt(), p = Oe, w = c(null), P = c(Ke()), ae = c(0), le = c(0), se = c(0), oe = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!p.dataset && p.dataset.length);
36
36
  We(re);
37
37
  function re() {
38
38
  if (Qe(p.dataset) ? Te({
@@ -103,13 +103,13 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
103
103
  set: (t) => t
104
104
  }), { userOptionsVisible: K, setUserOptionsVisibility: ce, keepUserOptionState: ve } = ct({ config: e.value }), { svgRef: de } = vt({ config: e.value.style.chart.title });
105
105
  $e(() => p.config, (t) => {
106
- e.value = ie(), K.value = !e.value.userOptions.showOnChartHover, re(), le.value += 1, se.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, S.value.showTable = e.value.table.show;
106
+ e.value = ie(), K.value = !e.value.userOptions.showOnChartHover, re(), le.value += 1, se.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, D.value.showTable = e.value.table.show;
107
107
  }, { deep: !0 });
108
108
  const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: me } = it({
109
109
  elementId: `funnel_${P.value}`,
110
110
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
111
111
  options: e.value.userOptions.print
112
- }), Ue = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = c({
112
+ }), Ue = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = c({
113
113
  showTable: e.value.table.show
114
114
  }), v = c({
115
115
  circles: e.value.style.chart.circles.dataLabels.fontSize,
@@ -139,8 +139,8 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
139
139
  height: d.value.height - l - e.value.style.chart.padding.bottom
140
140
  };
141
141
  }
142
- const k = c(ge()), D = h(() => k.value.height / p.dataset.length), _ = h(() => D.value * e.value.style.chart.bars.gapRatio), pe = h(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = h(() => y.value.map((t, l) => {
143
- const a = D.value - _.value, o = k.value.top + _.value / 2 * l + (D.value - _.value / 2) * l + _.value / 2, f = t.value / y.value[0].value, r = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
142
+ const k = c(ge()), S = h(() => k.value.height / p.dataset.length), _ = h(() => S.value * e.value.style.chart.bars.gapRatio), pe = h(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = h(() => y.value.map((t, l) => {
143
+ const a = S.value - _.value, o = k.value.top + _.value / 2 * l + (S.value - _.value / 2) * l + _.value / 2, f = t.value / y.value[0].value, r = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
144
144
  return {
145
145
  ...t,
146
146
  cx: k.value.left + a / 2,
@@ -154,10 +154,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
154
154
  x: k.value.left + a + pe.value,
155
155
  y: o
156
156
  };
157
- })), Ve = h(() => {
158
- const t = u.value.map((l) => `${l.x + l.width},${l.y + (D.value - _.value) / 2}`);
159
- return `${u.value[0].x},${u.value[0].y + (D.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (D.value - _.value) / 2}`;
160
- }), Ee = h(() => ({
157
+ })), Ee = h(() => {
158
+ const t = u.value.map((l) => `${l.x + l.width},${l.y + (S.value - _.value) / 2}`);
159
+ return `${u.value[0].x},${u.value[0].y + (S.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (S.value - _.value) / 2}`;
160
+ }), Ve = h(() => ({
161
161
  x1: u.value[0].cx,
162
162
  y1: u.value[0].cy,
163
163
  x2: u.value.at(-1).cx,
@@ -166,12 +166,12 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
166
166
  function ye(t) {
167
167
  z.value = t, ae.value += 1;
168
168
  }
169
- const Ge = h(() => `${y.value.length * 150}ms`), V = c(!1);
169
+ const Ge = h(() => `${y.value.length * 150}ms`), E = c(!1);
170
170
  function Q() {
171
- V.value = !V.value;
171
+ E.value = !E.value;
172
172
  }
173
173
  function ke() {
174
- S.value.showTable = !S.value.showTable;
174
+ D.value.showTable = !D.value.showTable;
175
175
  }
176
176
  const R = h(() => {
177
177
  const t = y.value.map((a) => ({
@@ -179,7 +179,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
179
179
  color: a.color
180
180
  })), l = y.value.map((a) => a.value);
181
181
  return { head: t, body: l };
182
- }), E = h(() => {
182
+ }), V = h(() => {
183
183
  const t = [
184
184
  e.value.table.columnNames.series,
185
185
  e.value.table.columnNames.value,
@@ -258,7 +258,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
258
258
  };
259
259
  }
260
260
  const B = h(() => {
261
- const t = e.value.table.useDialog && !e.value.table.show, l = S.value.showTable;
261
+ const t = e.value.table.useDialog && !e.value.table.show, l = D.value.showTable;
262
262
  return {
263
263
  component: t ? Be : Ne,
264
264
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -287,13 +287,13 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
287
287
  }
288
288
  };
289
289
  });
290
- $e(() => S.value.showTable, (t) => {
290
+ $e(() => D.value.showTable, (t) => {
291
291
  e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
292
292
  });
293
293
  function Ce() {
294
- S.value.showTable = !1, J.value && J.value.setTableIconState(!1);
294
+ D.value.showTable = !1, J.value && J.value.setTableIconState(!1);
295
295
  }
296
- return Se({
296
+ return De({
297
297
  getData: je,
298
298
  getImage: He,
299
299
  generatePdf: be,
@@ -316,7 +316,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
316
316
  svgRef: s(de),
317
317
  backgroundColor: e.value.style.chart.backgroundColor,
318
318
  color: e.value.style.chart.color,
319
- active: V.value,
319
+ active: E.value,
320
320
  onClose: Q
321
321
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
322
322
  Ue.value ? (n(), i("div", {
@@ -367,7 +367,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
367
367
  position: e.value.userOptions.position,
368
368
  titles: { ...e.value.userOptions.buttonTitles },
369
369
  hasAnnotator: e.value.userOptions.buttons.annotator,
370
- isAnnotation: V.value,
370
+ isAnnotation: E.value,
371
371
  callbacks: e.value.userOptions.callbacks,
372
372
  printScale: e.value.userOptions.print.scale,
373
373
  tableDialog: e.value.table.useDialog,
@@ -476,7 +476,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
476
476
  }, null, 8, wt)
477
477
  ], 8, yt)
478
478
  ]),
479
- e.value.style.chart.circleLinks.show ? (n(), i("line", H({ key: 1 }, Ee.value, {
479
+ e.value.style.chart.circleLinks.show ? (n(), i("line", H({ key: 1 }, Ve.value, {
480
480
  stroke: e.value.style.chart.circleLinks.color,
481
481
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
482
482
  "stroke-linecap": "round",
@@ -523,7 +523,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
523
523
  )), 15, Lt))), 256)),
524
524
  e.value.style.chart.area.show ? (n(), i("polygon", {
525
525
  key: 2,
526
- points: Ve.value,
526
+ points: Ee.value,
527
527
  fill: `url(#funnel_area_${P.value})`,
528
528
  class: N({
529
529
  animated: e.value.useCssAnimation && !L.value
@@ -585,7 +585,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
585
585
  ]))), 256)),
586
586
  g(t.$slots, "svg", { svg: d.value }, void 0, !0)
587
587
  ], 14, gt)) : b("", !0),
588
- t.$slots.watermark ? (n(), i("div", St, [
588
+ t.$slots.watermark ? (n(), i("div", Dt, [
589
589
  g(t.$slots, "watermark", G(j({ isPrinting: s(he) || s(fe) })), void 0, !0)
590
590
  ])) : b("", !0),
591
591
  O.value ? b("", !0) : (n(), I(s(ze), {
@@ -619,10 +619,10 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
619
619
  content: m(() => [
620
620
  (n(), I(s(Ie), {
621
621
  key: `table_${se.value}`,
622
- colNames: E.value.colNames,
623
- head: E.value.head,
624
- body: E.value.body,
625
- config: E.value.config,
622
+ colNames: V.value.colNames,
623
+ head: V.value.head,
624
+ body: V.value.body,
625
+ config: V.value.config,
626
626
  title: e.value.table.useDialog ? "" : B.value.title,
627
627
  withCloseButton: !e.value.table.useDialog,
628
628
  onClose: Ce
@@ -631,7 +631,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
631
631
  C("div", {
632
632
  innerHTML: a,
633
633
  style: { display: "flex", "align-items": "center" }
634
- }, null, 8, Dt)
634
+ }, null, 8, St)
635
635
  ]),
636
636
  td: m(({ td: a }) => [
637
637
  _e(U(a.name ? a.name : a), 1)
@@ -656,7 +656,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["i
656
656
  class: "vue-ui-user-options-button",
657
657
  onClick: l[0] || (l[0] = (a) => Z(e.value.userOptions.callbacks.csv))
658
658
  }, [
659
- Le(s(De), {
659
+ Le(s(Se), {
660
660
  name: "excel",
661
661
  stroke: B.value.props.color
662
662
  }, null, 8, ["stroke"])