vue-data-ui 3.16.4 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
  129. package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as R, computed as m, ref as h, toRefs as sl, watch as Fe, shallowRef as xt, onMounted as nl, onBeforeUnmount as rl, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as O, createElementVNode as d, toDisplayString as w, createBlock as B, createCommentVNode as y, withCtx as p, renderSlot as g, normalizeProps as T, guardReactiveProps as q, createSlots as $t, createVNode as de, Fragment as A, renderList as N, mergeProps as kt, Teleport as il, resolveDynamicComponent as vl, createTextVNode as wt, nextTick as Ce } from "vue";
2
- import { j as Lt, t as dl, m as cl, p as Ie, o as hl, q as ae, n as yl, s as bl, ak as fl, k as D, l as H, X as pl, u as Se, v as gl, al as ml, Z as xl, W as $l, a0 as kl, a1 as wl, T as Ll, U as Cl } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as R, computed as m, ref as h, toRefs as sl, watch as Fe, shallowRef as xt, onMounted as nl, onBeforeUnmount as rl, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as O, createElementVNode as d, toDisplayString as w, createBlock as B, createCommentVNode as y, withCtx as p, renderSlot as g, normalizeProps as T, guardReactiveProps as q, createSlots as $t, createVNode as de, Fragment as A, renderList as N, mergeProps as kt, Teleport as il, resolveDynamicComponent as vl, createTextVNode as wt, nextTick as Se } from "vue";
2
+ import { j as Lt, t as dl, m as cl, p as Ie, o as hl, q as ae, n as yl, s as bl, ak as fl, k as D, l as H, X as pl, u as _e, v as gl, al as ml, Z as xl, W as $l, a0 as kl, a1 as wl, T as Ll, U as Cl } from "./lib-DBptbyyI.js";
3
3
  import { t as Sl, u as _l } from "./useResponsive-DfdjqQps.js";
4
- import { u as Tl } from "./useConfig-CpJA0VZa.js";
4
+ import { u as Tl } from "./useConfig-ChRble71.js";
5
5
  import { u as ql, B as Al } from "./BaseScanner-BhhkKVoj.js";
6
6
  import { u as zl } from "./usePrinter-CEpYU3r5.js";
7
7
  import { u as Wl } from "./useSvgExport-ByUukOZt.js";
@@ -54,7 +54,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
54
54
  },
55
55
  emits: ["selectPlot", "selectSide", "selectLegend", "copyAlt"],
56
56
  setup(St, { expose: _t, emit: Tt }) {
57
- const qt = R(() => import("./Tooltip-Bf-kM3_A.js")), At = R(() => import("./BaseIcon-Cb3zzG6s.js")), zt = R(() => import("./vue-ui-accordion-BF4v32wv.js")), Wt = R(() => import("./DataTable-DT2kIdQ6.js")), Xt = R(() => import("./PenAndPaper-Ct3qJ4lA.js")), Pt = R(() => import("./UserOptions-rW2fRf3V.js")), Yt = R(() => import("./PackageVersion-1BHnPIBZ.js")), Mt = R(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_quadrant: Ot } = Tl(), { isThemeValid: Bt, warnInvalidTheme: Nt } = Xl(), M = St, De = m(() => !!M.dataset && M.dataset.length), $ = h(Lt()), ce = Tt, he = h(!1), _e = h(""), He = h(0), x = h(!1), V = h(null), Ee = h(null), Ue = h(null), Qe = h(null), Ge = h(null), Ke = h(0), je = h(0), Je = h(0), Ze = h(!1), oe = h(null), Te = h(null), ye = h(!1), be = h(!1), j = h(null), fe = h(null), et = h({ x: 0, y: 0 }), qe = h("pointer"), pe = h(!1), e = h(ze()), X = m(() => e.value.userOptions.useCursorPointer), Vt = m(() => ({
57
+ const qt = R(() => import("./Tooltip-C8KGyqQk.js")), At = R(() => import("./BaseIcon-Cb3zzG6s.js")), zt = R(() => import("./vue-ui-accordion-CnDW2UQL.js")), Wt = R(() => import("./DataTable-DT2kIdQ6.js")), Xt = R(() => import("./PenAndPaper-Ct3qJ4lA.js")), Pt = R(() => import("./UserOptions-rW2fRf3V.js")), Yt = R(() => import("./PackageVersion-B3kmPxTR.js")), Mt = R(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_quadrant: Ot } = Tl(), { isThemeValid: Bt, warnInvalidTheme: Nt } = Xl(), M = St, De = m(() => !!M.dataset && M.dataset.length), $ = h(Lt()), ce = Tt, he = h(!1), Te = h(""), He = h(0), x = h(!1), V = h(null), Ee = h(null), Ue = h(null), Qe = h(null), Ge = h(null), Ke = h(0), je = h(0), Je = h(0), Ze = h(!1), oe = h(null), qe = h(null), ye = h(!1), be = h(!1), j = h(null), fe = h(null), et = h({ x: 0, y: 0 }), Ae = h("pointer"), pe = h(!1), e = h(We()), X = m(() => e.value.userOptions.useCursorPointer), Vt = m(() => ({
58
58
  defaultConfig: {
59
59
  userOptions: { show: !1 },
60
60
  table: { show: !1 },
@@ -94,10 +94,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
94
94
  })), { loading: ge, FINAL_DATASET: tt } = ql({
95
95
  ...sl(M),
96
96
  FINAL_CONFIG: e,
97
- prepareConfig: ze,
97
+ prepareConfig: We,
98
98
  callback: () => {
99
99
  Promise.resolve().then(async () => {
100
- await Ce(), k.value.showTable = e.value.table.show;
100
+ await Se(), k.value.showTable = e.value.table.show;
101
101
  });
102
102
  },
103
103
  skeletonDataset: M.config?.skeletonDataset ?? [
@@ -126,8 +126,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
126
126
  defaultConfig: e.value,
127
127
  userConfig: Vt.value
128
128
  })
129
- }), { userOptionsVisible: Ae, setUserOptionsVisibility: lt, keepUserOptionState: at } = Pl({ config: e.value }), { svgRef: E } = Yl({ config: e.value.style.chart.title });
130
- function ze() {
129
+ }), { userOptionsVisible: ze, setUserOptionsVisibility: lt, keepUserOptionState: at } = Pl({ config: e.value }), { svgRef: E } = Yl({ config: e.value.style.chart.title });
130
+ function We() {
131
131
  const l = Re({
132
132
  userConfig: M.config,
133
133
  defaultConfig: Ot
@@ -148,7 +148,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
148
148
  };
149
149
  }
150
150
  Fe(() => M.config, (l) => {
151
- e.value = ze(), Ae.value = !e.value.userOptions.showOnChartHover, ot(), Ke.value += 1, je.value += 1, Je.value += 1, k.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
151
+ e.value = We(), ze.value = !e.value.userOptions.showOnChartHover, ot(), Ke.value += 1, je.value += 1, Je.value += 1, k.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
152
152
  }, { deep: !0 });
153
153
  const F = xt(null), J = xt(null), Z = m(() => e.value.debug);
154
154
  function ot() {
@@ -200,7 +200,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
200
200
  }), rl(() => {
201
201
  F.value && (J.value && F.value.unobserve(J.value), F.value.disconnect());
202
202
  });
203
- const { isPrinting: We, isImaging: Xe, generatePdf: ut, generateImage: st } = zl({
203
+ const { isPrinting: Xe, isImaging: Pe, generatePdf: ut, generateImage: st } = zl({
204
204
  elementId: `vue-ui-quadrant_${$.value}`,
205
205
  fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
206
206
  options: e.value.userOptions.print
@@ -285,10 +285,10 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
285
285
  h: s - b.value.height
286
286
  }, c = e.value.zoomAnimationFrames;
287
287
  let Y = 0;
288
- function we() {
289
- me.value = !0, b.value.startX += i.x / c, b.value.startY += i.y / c, b.value.width += i.w / c, b.value.height += i.h / c, Y += 1, Y < c ? It.value = requestAnimationFrame(we) : me.value = !1;
288
+ function Le() {
289
+ me.value = !0, b.value.startX += i.x / c, b.value.startY += i.y / c, b.value.width += i.w / c, b.value.height += i.h / c, Y += 1, Y < c ? It.value = requestAnimationFrame(Le) : me.value = !1;
290
290
  }
291
- we();
291
+ Le();
292
292
  }
293
293
  function I(l) {
294
294
  if (!me.value)
@@ -375,7 +375,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
375
375
  }),
376
376
  id: `cat_${o}_${$.value}`,
377
377
  color: bl(l.color) || nt.value[o] || Ie[o]
378
- }))), Pe = m(() => ee.value.filter((l) => !C.value.includes(l.id))), Dt = m(() => ee.value.map((l, o) => ({
378
+ }))), Ye = m(() => ee.value.filter((l) => !C.value.includes(l.id))), Dt = m(() => ee.value.map((l, o) => ({
379
379
  ...l,
380
380
  shape: l.shape || "circle",
381
381
  series: l.series.map((a) => ({
@@ -407,7 +407,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
407
407
  debug: Z.value
408
408
  });
409
409
  });
410
- }), Pe.value.map((l, o) => ({
410
+ }), Ye.value.map((l, o) => ({
411
411
  ...l,
412
412
  shape: l.shape || "circle",
413
413
  color: l.color || nt.value[o] || Ie[o],
@@ -552,7 +552,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
552
552
  return "";
553
553
  }
554
554
  }
555
- const G = h(null), ne = h(null), Ye = h(null);
555
+ const G = h(null), ne = h(null), $e = h(null);
556
556
  function Me() {
557
557
  G.value = null, ne.value = null, j.value = null, fe.value = null, he.value = !1;
558
558
  }
@@ -566,11 +566,11 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
566
566
  y: s.top + s.height / 2
567
567
  };
568
568
  }
569
- function $e(l, o, a, s = "pointer", u = null) {
569
+ function ke(l, o, a, s = "pointer", u = null) {
570
570
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), G.value = o.uid, ne.value = {
571
571
  color: l.color,
572
572
  shape: l.shape
573
- }, qe.value = s, j.value = u, fe.value = o.uid, Ye.value = {
573
+ }, Ae.value = s, j.value = u, fe.value = o.uid, $e.value = {
574
574
  datapoint: o,
575
575
  seriesIndex: a,
576
576
  series: W.value,
@@ -583,7 +583,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
583
583
  series: W.value,
584
584
  config: e.value
585
585
  })))
586
- _e.value = i({
586
+ Te.value = i({
587
587
  seriesIndex: a,
588
588
  datapoint: o,
589
589
  series: W.value,
@@ -607,16 +607,16 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
607
607
  r: e.value.style.chart.tooltip.roundingValue
608
608
  }),
609
609
  { datapoint: o, category: l, categoryIndex: a }
610
- )}</b></div>`, _e.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${c}</div>`;
610
+ )}</b></div>`, Te.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${c}</div>`;
611
611
  }
612
- s === "keyboard" && Ce(() => {
612
+ s === "keyboard" && Se(() => {
613
613
  Gt(o.uid);
614
614
  }), he.value = !0;
615
615
  }
616
616
  function Oe(l, o) {
617
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), !(fe.value === l.uid && qe.value === "keyboard") && (he.value = !1, G.value = null, ne.value = null);
617
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), !(fe.value === l.uid && Ae.value === "keyboard") && (he.value = !1, G.value = null, ne.value = null);
618
618
  }
619
- function ke(l, o, a) {
619
+ function we(l, o, a) {
620
620
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: a });
621
621
  const s = {
622
622
  category: l.name,
@@ -764,7 +764,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
764
764
  }));
765
765
  }
766
766
  function Be(l = null) {
767
- Ce(() => {
767
+ Se(() => {
768
768
  const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = xe.value.head, s = xe.value.body, u = o.concat([a]).concat(s), i = kl(u);
769
769
  l ? l(i) : wl({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
770
770
  });
@@ -833,7 +833,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
833
833
  e.value.table.show || (l && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
834
834
  });
835
835
  function pt() {
836
- k.value.showTable = !1, Te.value && Te.value.setTableIconState(!1);
836
+ k.value.showTable = !1, qe.value && qe.value.setTableIconState(!1);
837
837
  }
838
838
  const jt = m(() => e.value.style.chart.backgroundColor), Jt = m(() => e.value.style.chart.legend), Zt = m(() => e.value.style.chart.title), { exportSvg: el, getSvg: tl } = Wl({
839
839
  svg: E,
@@ -843,7 +843,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
843
843
  backgroundColor: jt
844
844
  });
845
845
  async function gt({ isCb: l }) {
846
- be.value = !0, await Ce();
846
+ be.value = !0, await Se();
847
847
  try {
848
848
  if (l) {
849
849
  const { blob: o, url: a, text: s, dataUrl: u } = await tl();
@@ -868,14 +868,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
868
868
  async function mt() {
869
869
  if (ce("copyAlt", {
870
870
  config: e.value,
871
- dataset: Pe.value
871
+ dataset: Ye.value
872
872
  }), !e.value.userOptions.callbacks.altCopy) {
873
873
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
874
874
  return;
875
875
  }
876
876
  await Promise.resolve(e.value.userOptions.callbacks.altCopy({
877
877
  config: e.value,
878
- dataset: Pe.value
878
+ dataset: Ye.value
879
879
  }));
880
880
  }
881
881
  function al() {
@@ -896,14 +896,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
896
896
  if (j.value === null) return;
897
897
  const le = P.value[j.value];
898
898
  if (!le) return;
899
- ke(le.category, le.plot, le.categoryIndex);
899
+ we(le.category, le.plot, le.categoryIndex);
900
900
  return;
901
901
  }
902
902
  let i = j.value;
903
- const c = G.value ? P.value.findIndex((le) => le.plot.uid === G.value) : null, Y = i !== null && i >= 0 && i < P.value.length, we = c !== null && c >= 0 && c < P.value.length;
904
- Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) : we ? (i = a ? c + 1 : c - 1, i >= P.value.length && (i = 0), i < 0 && (i = P.value.length - 1)) : a ? i = 0 : i = P.value.length - 1;
905
- const Le = P.value[i];
906
- Le && $e(Le.category, Le.plot, Le.categoryIndex, "keyboard", i);
903
+ const c = G.value ? P.value.findIndex((le) => le.plot.uid === G.value) : null, Y = i !== null && i >= 0 && i < P.value.length, Le = c !== null && c >= 0 && c < P.value.length;
904
+ Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) : Le ? (i = a ? c + 1 : c - 1, i >= P.value.length && (i = 0), i < 0 && (i = P.value.length - 1)) : a ? i = 0 : i = P.value.length - 1;
905
+ const Ce = P.value[i];
906
+ Ce && ke(Ce.category, Ce.plot, Ce.categoryIndex, "keyboard", i);
907
907
  }
908
908
  const Ve = m(() => {
909
909
  const l = te.value?.colNames ?? [], o = te.value?.a11yBody ?? [];
@@ -1012,14 +1012,14 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1012
1012
  d("div", {
1013
1013
  id: `legend-top-${$.value}`
1014
1014
  }, null, 8, Hl),
1015
- e.value.userOptions.show && De.value && (v(at) || v(Ae)) ? (n(), B(v(Pt), {
1015
+ e.value.userOptions.show && De.value && (v(at) || v(ze)) ? (n(), B(v(Pt), {
1016
1016
  ref_key: "userOptionsRef",
1017
- ref: Te,
1017
+ ref: qe,
1018
1018
  key: `user_options_${He.value}`,
1019
1019
  backgroundColor: e.value.style.chart.backgroundColor,
1020
1020
  color: e.value.style.chart.color,
1021
- isImaging: v(Xe),
1022
- isPrinting: v(We),
1021
+ isImaging: v(Pe),
1022
+ isPrinting: v(Xe),
1023
1023
  uid: $.value,
1024
1024
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
1025
1025
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -1052,7 +1052,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1052
1052
  onToggleAnnotator: Ne,
1053
1053
  onCopyAlt: mt,
1054
1054
  style: _({
1055
- visibility: v(at) ? v(Ae) ? "visible" : "hidden" : "visible"
1055
+ visibility: v(at) ? v(ze) ? "visible" : "hidden" : "visible"
1056
1056
  })
1057
1057
  }, $t({ _: 2 }, [
1058
1058
  l.$slots.menuIcon ? {
@@ -1172,17 +1172,17 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1172
1172
  }, [
1173
1173
  d("stop", {
1174
1174
  offset: "0%",
1175
- "stop-color": v(Se)(v(gl)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
1175
+ "stop-color": v(_e)(v(gl)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
1176
1176
  }, null, 8, Kl),
1177
1177
  d("stop", {
1178
1178
  offset: "100%",
1179
- "stop-color": v(Se)(a.color, e.value.style.chart.layout.areas.opacity)
1179
+ "stop-color": v(_e)(a.color, e.value.style.chart.layout.areas.opacity)
1180
1180
  }, null, 8, jl)
1181
1181
  ], 8, Gl))), 256))
1182
1182
  ]),
1183
1183
  e.value.style.chart.layout.grid.graduations.show ? (n(), r("g", Jl, [
1184
1184
  (n(!0), r(A, null, N(Rt.value, (a) => (n(), r("rect", {
1185
- fill: e.value.style.chart.layout.grid.graduations.fill ? v(Se)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
1185
+ fill: e.value.style.chart.layout.grid.graduations.fill ? v(_e)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
1186
1186
  x: a.x,
1187
1187
  y: a.y,
1188
1188
  height: a.height <= 0 ? 1e-3 : a.height,
@@ -1349,7 +1349,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1349
1349
  a.series.length > 2 ? (n(), r("polygon", {
1350
1350
  key: 0,
1351
1351
  "data-cy-quadrant-area": "",
1352
- fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(Se)(a.color, e.value.style.chart.layout.areas.opacity),
1352
+ fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(_e)(a.color, e.value.style.chart.layout.areas.opacity),
1353
1353
  points: v(ml)(a)
1354
1354
  }, null, 8, xa)) : y("", !0)
1355
1355
  ]))), 256))
@@ -1401,9 +1401,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1401
1401
  width: "100",
1402
1402
  x: u.x - 50,
1403
1403
  y: u.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
1404
- onMouseover: (i) => $e(a, u, s),
1404
+ onMouseover: (i) => ke(a, u, s),
1405
1405
  onMouseleave: (i) => Oe(u, s),
1406
- onClick: (i) => ke(a, u, s)
1406
+ onClick: (i) => we(a, u, s)
1407
1407
  }, [
1408
1408
  d("div", {
1409
1409
  style: _(`color:${v($l)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
@@ -1422,9 +1422,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1422
1422
  width: "2",
1423
1423
  height: "2",
1424
1424
  style: { overflow: "visible", "pointer-events": "none" },
1425
- onMouseenter: (i) => $e(a, u, s),
1425
+ onMouseenter: (i) => ke(a, u, s),
1426
1426
  onMouseleave: (i) => Oe(u, s),
1427
- onClick: (i) => ke(a, u, s)
1427
+ onClick: (i) => we(a, u, s)
1428
1428
  }, [
1429
1429
  g(l.$slots, "datapoint", kt({ ref_for: !0 }, { datapoint: u }), void 0, !0)
1430
1430
  ], 40, Ca)),
@@ -1448,9 +1448,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1448
1448
  shape: a.shape,
1449
1449
  stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
1450
1450
  strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
1451
- onMouseenter: (c) => $e(a, u, s, "pointer"),
1451
+ onMouseenter: (c) => ke(a, u, s, "pointer"),
1452
1452
  onMouseleave: (c) => Oe(u, s),
1453
- onClick: (c) => ke(a, u, s)
1453
+ onClick: (c) => we(a, u, s)
1454
1454
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]),
1455
1455
  d("circle", {
1456
1456
  "data-dom-to-png-ignore": "",
@@ -1587,7 +1587,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1587
1587
  g(l.$slots, "svg", {
1588
1588
  svg: {
1589
1589
  ...t.value,
1590
- isPrintingImg: v(We) | v(Xe) | ye.value,
1590
+ isPrintingImg: v(Xe) | v(Pe) | ye.value,
1591
1591
  isPrintingSvg: be.value
1592
1592
  }
1593
1593
  }, void 0, !0)
@@ -1597,7 +1597,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1597
1597
  ])) : y("", !0)
1598
1598
  ]),
1599
1599
  l.$slots.watermark ? (n(), r("div", Qa, [
1600
- g(l.$slots, "watermark", T(q({ isPrinting: v(We) || v(Xe) || ye.value || be.value })), void 0, !0)
1600
+ g(l.$slots, "watermark", T(q({ isPrinting: v(Xe) || v(Pe) || ye.value || be.value })), void 0, !0)
1601
1601
  ])) : y("", !0),
1602
1602
  d("div", {
1603
1603
  id: `legend-bottom-${$.value}`
@@ -1663,21 +1663,24 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1663
1663
  position: e.value.style.chart.tooltip.position,
1664
1664
  offsetY: e.value.style.chart.tooltip.offsetY,
1665
1665
  parent: V.value,
1666
- content: _e.value,
1666
+ content: Te.value,
1667
1667
  isFullscreen: K.value,
1668
1668
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1669
1669
  smooth: e.value.style.chart.tooltip.smooth,
1670
1670
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1671
1671
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1672
1672
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
1673
- isA11yMode: qe.value === "keyboard",
1673
+ isA11yMode: Ae.value === "keyboard",
1674
1674
  a11yPosition: et.value
1675
1675
  }, {
1676
1676
  "tooltip-before": p(() => [
1677
- g(l.$slots, "tooltip-before", T(q({ ...Ye.value })), void 0, !0)
1677
+ g(l.$slots, "tooltip-before", T(q({ ...$e.value })), void 0, !0)
1678
+ ]),
1679
+ tooltip: p(() => [
1680
+ g(l.$slots, "tooltip", T(q({ ...$e.value })), void 0, !0)
1678
1681
  ]),
1679
1682
  "tooltip-after": p(() => [
1680
- g(l.$slots, "tooltip-after", T(q({ ...Ye.value })), void 0, !0)
1683
+ g(l.$slots, "tooltip-after", T(q({ ...$e.value })), void 0, !0)
1681
1684
  ]),
1682
1685
  default: p(() => [
1683
1686
  e.value.style.chart.tooltip.showShape ? (n(), r("svg", ja, [
@@ -1753,7 +1756,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
1753
1756
  ], !0)
1754
1757
  ], 46, Rl));
1755
1758
  }
1756
- }, xo = /* @__PURE__ */ Il(Za, [["__scopeId", "data-v-89557c20"]]);
1759
+ }, xo = /* @__PURE__ */ Il(Za, [["__scopeId", "data-v-2a01b016"]]);
1757
1760
  export {
1758
1761
  xo as default
1759
1762
  };