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 ye, computed as T, ref as w, toRefs as Ul, watch as Ue, shallowRef as Gt, onMounted as jl, onBeforeUnmount as Gl, openBlock as v, createElementBlock as c, unref as h, normalizeStyle as ue, normalizeClass as qt, createElementVNode as k, toDisplayString as V, createCommentVNode as x, createBlock as ae, withCtx as B, renderSlot as z, normalizeProps as H, guardReactiveProps as K, createSlots as Ht, createVNode as Oe, Fragment as Q, renderList as oe, Teleport as ql, resolveDynamicComponent as Hl, mergeProps as Kl, createTextVNode as Kt, nextTick as yt } from "vue";
2
- import { j as Zl, t as Zt, m as Jl, p as ge, o as Jt, q as dt, n as Ql, r as Qt, ak as ea, s as ht, am as ta, c as la, u as je, k as se, l as ee, X as aa, al as oa, K as Z, a0 as sa, a1 as na, T as ua, U as ia, a3 as ra } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as ye, computed as T, ref as w, toRefs as Ul, watch as je, shallowRef as Gt, onMounted as jl, onBeforeUnmount as Gl, openBlock as v, createElementBlock as c, unref as h, normalizeStyle as ue, normalizeClass as qt, createElementVNode as k, toDisplayString as V, createCommentVNode as x, createBlock as ae, withCtx as P, renderSlot as z, normalizeProps as q, guardReactiveProps as H, createSlots as Ht, createVNode as Oe, Fragment as Q, renderList as oe, Teleport as ql, resolveDynamicComponent as Hl, mergeProps as Kl, createTextVNode as Kt, nextTick as yt } from "vue";
2
+ import { j as Zl, t as Zt, m as Jl, p as ge, o as Jt, q as dt, n as Ql, r as Qt, ak as ea, s as ht, am as ta, c as la, u as Ge, k as se, l as ee, X as aa, al as oa, K as Z, a0 as sa, a1 as na, T as ua, U as ia, a3 as ra } from "./lib-DBptbyyI.js";
3
3
  import { t as va, u as ca } from "./useResponsive-DfdjqQps.js";
4
- import { u as ya } from "./useConfig-CpJA0VZa.js";
4
+ import { u as ya } from "./useConfig-ChRble71.js";
5
5
  import { u as da, B as ha } from "./BaseScanner-BhhkKVoj.js";
6
6
  import { u as fa } from "./usePrinter-CEpYU3r5.js";
7
7
  import { u as pa } from "./useSvgExport-ByUukOZt.js";
@@ -74,7 +74,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
74
74
  },
75
75
  emits: ["copyAlt"],
76
76
  setup(el, { expose: tl, emit: ll }) {
77
- const al = ye(() => import("./Tooltip-Bf-kM3_A.js")), ol = ye(() => import("./BaseIcon-Cb3zzG6s.js")), sl = ye(() => import("./vue-ui-accordion-BF4v32wv.js")), nl = ye(() => import("./DataTable-DT2kIdQ6.js")), ul = ye(() => import("./PenAndPaper-Ct3qJ4lA.js")), il = ye(() => import("./UserOptions-rW2fRf3V.js")), rl = ye(() => import("./PackageVersion-1BHnPIBZ.js")), vl = ye(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_scatter: cl } = ya(), { isThemeValid: yl, warnInvalidTheme: dl } = ga(), te = el, hl = ll, gt = T(() => !!te.dataset && te.dataset.length), N = w(Zl()), De = w(!1), Ge = w(""), mt = w(0), ne = w(null), xt = w(null), bt = w(null), kt = w(null), wt = w(null), $t = w(0), Mt = w(0), _t = w(0), I = w([]), Ct = w(!1), _e = w(null), Ce = w(null), Ae = w(null), qe = w(null), Ee = w(!1), Ne = w(!1), He = w(null), fl = w(null), pl = w(null), Ke = w(null), me = w(null), At = w({ x: 0, y: 0 }), Se = w("pointer"), Fe = w(!1), Te = w(null), e = w(tt()), de = T(() => e.value.userOptions.useCursorPointer);
77
+ const al = ye(() => import("./Tooltip-C8KGyqQk.js")), ol = ye(() => import("./BaseIcon-Cb3zzG6s.js")), sl = ye(() => import("./vue-ui-accordion-CnDW2UQL.js")), nl = ye(() => import("./DataTable-DT2kIdQ6.js")), ul = ye(() => import("./PenAndPaper-Ct3qJ4lA.js")), il = ye(() => import("./UserOptions-rW2fRf3V.js")), rl = ye(() => import("./PackageVersion-B3kmPxTR.js")), vl = ye(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_scatter: cl } = ya(), { isThemeValid: yl, warnInvalidTheme: dl } = ga(), te = el, hl = ll, gt = T(() => !!te.dataset && te.dataset.length), N = w(Zl()), De = w(!1), qe = w(""), mt = w(0), ne = w(null), xt = w(null), bt = w(null), kt = w(null), wt = w(null), $t = w(0), Mt = w(0), _t = w(0), I = w([]), Ct = w(!1), _e = w(null), Ce = w(null), Ae = w(null), He = w(null), Ee = w(!1), Ne = w(!1), Ke = w(null), fl = w(null), pl = w(null), Ze = w(null), me = w(null), At = w({ x: 0, y: 0 }), Se = w("pointer"), Fe = w(!1), Te = w(null), e = w(lt()), de = T(() => e.value.userOptions.useCursorPointer);
78
78
  function gl(t = 100, a = 0.8, l = {}) {
79
79
  const { meanX: s = 0, sdX: o = 1, meanY: n = 0, sdY: i = 1, seed: y } = l;
80
80
  let r = (y ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
@@ -86,9 +86,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
86
86
  }, d = t / 2, m = Array.from({ length: d }, A), E = Array.from({ length: d }, A), _ = (b) => b.reduce((X, Ie) => X + Ie, 0) / b.length, O = _(m), D = _(E);
87
87
  for (let b = 0; b < d; b += 1)
88
88
  m[b] -= O, E[b] -= D;
89
- const L = (b, X) => b.reduce((Ie, Ve, ct) => Ie + Ve * X[ct], 0), C = (b) => L(b, b), p = L(E, m) / C(m), P = E.map((b, X) => b - p * m[X]), G = C(m) / d, le = C(P) / d, ce = Math.sqrt((1 - a * a) * G / le), j = m.map((b, X) => a * b + ce * P[X]), pe = m.concat(m.map((b) => -b)), vt = j.concat(j.map((b) => -b)), Be = (b) => Math.sqrt(C(b) / b.length), $e = (b, X, Ie) => {
90
- const Ve = Be(b);
91
- return b.map((ct) => Ie + (Ve ? ct / Ve * X : 0));
89
+ const L = (b, X) => b.reduce((Ie, Ue, ct) => Ie + Ue * X[ct], 0), C = (b) => L(b, b), p = L(E, m) / C(m), B = E.map((b, X) => b - p * m[X]), G = C(m) / d, le = C(B) / d, ce = Math.sqrt((1 - a * a) * G / le), j = m.map((b, X) => a * b + ce * B[X]), pe = m.concat(m.map((b) => -b)), vt = j.concat(j.map((b) => -b)), Be = (b) => Math.sqrt(C(b) / b.length), $e = (b, X, Ie) => {
90
+ const Ue = Be(b);
91
+ return b.map((ct) => Ie + (Ue ? ct / Ue * X : 0));
92
92
  }, Me = $e(pe, o, s), ze = $e(vt, i, n);
93
93
  for (let b = Me.length - 1; b > 0; b -= 1) {
94
94
  const X = Math.floor(f() * (b + 1));
@@ -128,10 +128,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
128
128
  }
129
129
  },
130
130
  userConfig: e.value.skeletonConfig ?? {}
131
- })), { loading: Ze, FINAL_DATASET: Je, manualLoading: Qe } = da({
131
+ })), { loading: Je, FINAL_DATASET: Qe, manualLoading: et } = da({
132
132
  ...Ul(te),
133
133
  FINAL_CONFIG: e,
134
- prepareConfig: tt,
134
+ prepareConfig: lt,
135
135
  skeletonDataset: te.config?.skeletonDataset ?? [
136
136
  {
137
137
  name: "",
@@ -143,8 +143,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
143
143
  defaultConfig: e.value,
144
144
  userConfig: ml.value
145
145
  })
146
- }), { userOptionsVisible: et, setUserOptionsVisibility: St, keepUserOptionState: Tt } = ma({ config: e.value }), { svgRef: ie } = xa({ config: e.value.style.title });
147
- function tt() {
146
+ }), { userOptionsVisible: tt, setUserOptionsVisibility: St, keepUserOptionState: Tt } = ma({ config: e.value }), { svgRef: ie } = xa({ config: e.value.style.title });
147
+ function lt() {
148
148
  const t = ft({
149
149
  userConfig: te.config,
150
150
  defaultConfig: cl
@@ -164,8 +164,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
164
164
  customPalette: s.customPalette.length ? s.customPalette : Jl[a] || ge
165
165
  };
166
166
  }
167
- Ue(() => te.config, (t) => {
168
- Ze.value || (e.value = tt()), et.value = !e.value.userOptions.showOnChartHover, Pt(), $t.value += 1, Mt.value += 1, _t.value += 1, q.value.showTable = e.value.table.show, q.value.showTooltip = e.value.style.tooltip.show, Lt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
167
+ je(() => te.config, (t) => {
168
+ Je.value || (e.value = lt()), tt.value = !e.value.userOptions.showOnChartHover, Pt(), $t.value += 1, Mt.value += 1, _t.value += 1, K.value.showTable = e.value.table.show, K.value.showTooltip = e.value.style.tooltip.show, Lt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
169
169
 
170
170
  - downsampling is disabled in this mode, all plots are rendered
171
171
 
@@ -174,8 +174,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
174
174
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
175
175
 
176
176
  ℹ️ To remove this warning, set config.debug to false.`);
177
- }, { deep: !0 }), Ue(() => te.dataset, (t) => {
178
- Array.isArray(t) && t.length > 0 && (Qe.value = !1);
177
+ }, { deep: !0 }), je(() => te.dataset, (t) => {
178
+ Array.isArray(t) && t.length > 0 && (et.value = !1);
179
179
  }, { deep: !0 });
180
180
  const re = Gt(null), xe = Gt(null);
181
181
  jl(() => {
@@ -187,7 +187,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
187
187
  componentName: "VueUiScatter",
188
188
  type: "dataset",
189
189
  debug: Lt.value
190
- }), Qe.value = !0), Jt(te.dataset) || (Qe.value = e.value.loading), e.value.responsive) {
190
+ }), et.value = !0), Jt(te.dataset) || (et.value = e.value.loading), e.value.responsive) {
191
191
  const t = va(() => {
192
192
  const { width: a, height: l } = ca({
193
193
  chart: ne.value,
@@ -206,16 +206,16 @@ const Aa = ["id"], Sa = ["id"], Ta = {
206
206
  Gl(() => {
207
207
  re.value && (xe.value && re.value.unobserve(xe.value), re.value.disconnect());
208
208
  });
209
- const { isPrinting: lt, isImaging: at, generatePdf: Bt, generateImage: zt } = fa({
209
+ const { isPrinting: at, isImaging: ot, generatePdf: Bt, generateImage: zt } = fa({
210
210
  elementId: `vue-ui-scatter_${N.value}`,
211
211
  fileName: e.value.style.title.text || "vue-ui-scatter",
212
212
  options: e.value.userOptions.print
213
- }), xl = T(() => e.value.userOptions.show && !e.value.style.title.text), It = T(() => Ql(e.value.customPalette)), q = w({
213
+ }), xl = T(() => e.value.userOptions.show && !e.value.style.title.text), It = T(() => Ql(e.value.customPalette)), K = w({
214
214
  showTable: e.value.table.show,
215
215
  showTooltip: e.value.style.tooltip.show
216
216
  });
217
- Ue(e, () => {
218
- q.value = {
217
+ je(e, () => {
218
+ K.value = {
219
219
  showTable: e.value.table.show,
220
220
  showTooltip: e.value.style.tooltip.show
221
221
  };
@@ -225,7 +225,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
225
225
  width: e.value.style.layout.width
226
226
  }), We = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = T(() => {
227
227
  let t = 0, a = 0;
228
- return He.value && (t = He.value.getBBox().width + 6), Ke.value && (a = Ke.value.getBBox().height + 6), {
228
+ return Ke.value && (t = Ke.value.getBBox().width + 6), Ze.value && (a = Ze.value.getBBox().height + 6), {
229
229
  top: e.value.style.layout.padding.top + We.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
230
230
  right: Y.value.width - e.value.style.layout.padding.right - We.value - 6,
231
231
  bottom: Y.value.height - e.value.style.layout.padding.bottom - a,
@@ -234,7 +234,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
234
234
  width: Y.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - We.value - t - 6
235
235
  };
236
236
  }), F = T(() => {
237
- Je.value.forEach((o, n) => {
237
+ Qe.value.forEach((o, n) => {
238
238
  Qt({
239
239
  datasetObject: o,
240
240
  requiredAttributes: ["values"]
@@ -264,7 +264,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
264
264
  }), W = T(() => ({
265
265
  x: u.value.left + Math.abs(F.value.xMin) / (F.value.xMax + Math.abs(F.value.xMin)) * u.value.width,
266
266
  y: u.value.bottom - Math.abs(F.value.yMin) / (F.value.yMax + Math.abs(F.value.yMin)) * u.value.height
267
- })), J = T(() => Je.value.map((t, a) => {
267
+ })), J = T(() => Qe.value.map((t, a) => {
268
268
  const l = `cluster_${N.value}_${a}`;
269
269
  return {
270
270
  ...t,
@@ -276,7 +276,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
276
276
  color: t.color ? t.color : It.value[a] || ge[a] || ge[a % ge.length],
277
277
  opacity: I.value.includes(l) ? 0.5 : 1,
278
278
  shape: t.shape ?? "circle",
279
- segregate: () => Re(l),
279
+ segregate: () => Ve(l),
280
280
  isSegregated: I.value.includes(l)
281
281
  };
282
282
  })), bl = T(() => ({
@@ -314,17 +314,17 @@ const Aa = ["id"], Sa = ["id"], Ta = {
314
314
  let O = _[0], D = _[1], L = 0;
315
315
  for (let C = 0; C < _.length; C += 1)
316
316
  for (let p = C + 1; p < _.length; p += 1) {
317
- const P = _[C].x - _[p].x, G = _[C].y - _[p].y, le = P * P + G * G;
317
+ const B = _[C].x - _[p].x, G = _[C].y - _[p].y, le = B * B + G * G;
318
318
  le > L && (L = le, O = _[C], D = _[p]);
319
319
  }
320
320
  return { x1: O.x, y1: O.y, x2: D.x, y2: D.y };
321
321
  };
322
322
  return be.value.map((l) => {
323
- const s = l.plots.length, o = l.plots.reduce((p, P) => p + P.x, 0) / s, n = l.plots.reduce((p, P) => p + P.y, 0) / s;
323
+ const s = l.plots.length, o = l.plots.reduce((p, B) => p + B.x, 0) / s, n = l.plots.reduce((p, B) => p + B.y, 0) / s;
324
324
  let i = 0, y = 0;
325
325
  for (const p of l.plots) {
326
- const P = p.x - o, G = p.y - n;
327
- i += P * G, y += P * P;
326
+ const B = p.x - o, G = p.y - n;
327
+ i += B * G, y += B * B;
328
328
  }
329
329
  let r, f, A = null;
330
330
  y < 1e-9 ? (A = o, r = 1 / 0, f = null) : (r = i / y, f = n - r * o);
@@ -333,11 +333,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
333
333
  const E = l.plots.every((p) => p.v && typeof p.v.x == "number" && typeof p.v.y == "number");
334
334
  let _ = NaN;
335
335
  if (s >= 2) {
336
- let p = 0, P = 0;
337
- E ? (p = l.plots.reduce((j, pe) => j + pe.v.x, 0) / s, P = l.plots.reduce((j, pe) => j + pe.v.y, 0) / s) : (p = o, P = -n);
336
+ let p = 0, B = 0;
337
+ E ? (p = l.plots.reduce((j, pe) => j + pe.v.x, 0) / s, B = l.plots.reduce((j, pe) => j + pe.v.y, 0) / s) : (p = o, B = -n);
338
338
  let G = 0, le = 0, ce = 0;
339
339
  for (const j of l.plots) {
340
- const pe = E ? j.v.x : j.x, vt = E ? j.v.y : -j.y, Be = pe - p, $e = vt - P;
340
+ const pe = E ? j.v.x : j.x, vt = E ? j.v.y : -j.y, Be = pe - p, $e = vt - B;
341
341
  G += Be * $e, le += Be * Be, ce += $e * $e;
342
342
  }
343
343
  if (le >= 1e-9 && ce >= 1e-9) {
@@ -368,9 +368,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
368
368
  },
369
369
  label: C,
370
370
  plots: l.plots.map((p) => {
371
- let P, G;
372
- A !== null ? (P = A, G = p.y) : Math.abs(d) < 1e-9 ? (P = p.x, G = m) : (P = (p.x + d * p.y - d * m) / (1 + d * d), G = (d * p.x + d * d * p.y + m) / (1 + d * d));
373
- const le = p.x - P, ce = p.y - G, j = Math.sqrt(le * le + ce * ce);
371
+ let B, G;
372
+ A !== null ? (B = A, G = p.y) : Math.abs(d) < 1e-9 ? (B = p.x, G = m) : (B = (p.x + d * p.y - d * m) / (1 + d * d), G = (d * p.x + d * d * p.y + m) / (1 + d * d));
373
+ const le = p.x - B, ce = p.y - G, j = Math.sqrt(le * le + ce * ce);
374
374
  return {
375
375
  ...p,
376
376
  deviation: j,
@@ -398,8 +398,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
398
398
  });
399
399
  const y = o - s, r = i - n, f = y / a, A = r / a, d = Array(a).fill(0), m = Array(a).fill(0);
400
400
  l.forEach(({ x: L, y: C }) => {
401
- const p = Math.floor((L - s) / f), P = Math.floor((C - n) / A);
402
- d[p] || (d[p] = 0), m[P] || (m[P] = 0), d[p] += 1, m[P] += 1;
401
+ const p = Math.floor((L - s) / f), B = Math.floor((C - n) / A);
402
+ d[p] || (d[p] = 0), m[B] || (m[B] = 0), d[p] += 1, m[B] += 1;
403
403
  });
404
404
  const E = [], _ = [];
405
405
  for (let L = 0; L < a; L += 1)
@@ -425,7 +425,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
425
425
  id: l.id
426
426
  };
427
427
  });
428
- }), R = w(void 0), g = w(null), ot = w(null);
428
+ }), R = w(void 0), g = w(null), Xe = w(null);
429
429
  function st() {
430
430
  De.value = !1, R.value = void 0, g.value = null, Te.value = null, me.value = null;
431
431
  }
@@ -437,7 +437,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
437
437
  function he(t, a, l = "pointer", s = null) {
438
438
  R.value = t.id, g.value = t, Se.value = l, Te.value = s, me.value = t.id;
439
439
  let o = "";
440
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ot.value = {
440
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), Xe.value = {
441
441
  datapoint: t,
442
442
  seriesIndex: a,
443
443
  series: U.value,
@@ -449,7 +449,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
449
449
  seriesIndex: a,
450
450
  series: U.value,
451
451
  config: e.value
452
- })) ? Ge.value = n({
452
+ })) ? qe.value = n({
453
453
  datapoint: t,
454
454
  seriesIndex: a,
455
455
  series: U.value,
@@ -477,14 +477,14 @@ const Aa = ["id"], Sa = ["id"], Ta = {
477
477
  )}</b></div>`, o += `${e.value.style.layout.plots.deviation.translation}: <b>${ee({
478
478
  v: t.deviation,
479
479
  r: e.value.style.layout.plots.deviation.roundingValue
480
- })}</b>`, o += "</div>", Ge.value = `<div>${o}</div>`), De.value = !0, l === "keyboard" && yt(() => {
480
+ })}</b>`, o += "</div>", qe.value = `<div>${o}</div>`), De.value = !0, l === "keyboard" && yt(() => {
481
481
  $l(t);
482
482
  });
483
483
  }
484
- function Xe(t, a) {
484
+ function Ye(t, a) {
485
485
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), !(Se.value === "keyboard" && me.value === t?.id) && (De.value = !1, R.value = void 0, g.value = null);
486
486
  }
487
- function Ye(t, a) {
487
+ function Re(t, a) {
488
488
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
489
489
  }
490
490
  function Ml() {
@@ -492,8 +492,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
492
492
  I.value.push(t.id);
493
493
  });
494
494
  }
495
- function Re(t) {
496
- I.value.includes(t) ? I.value = I.value.filter((a) => a !== t) : I.value.length < Je.value.length - 1 && I.value.push(t);
495
+ function Ve(t) {
496
+ I.value.includes(t) ? I.value = I.value.filter((a) => a !== t) : I.value.length < Qe.value.length - 1 && I.value.push(t);
497
497
  }
498
498
  function Et(t) {
499
499
  if (!J.value.length)
@@ -503,11 +503,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
503
503
  }
504
504
  function _l(t) {
505
505
  const a = Et(t);
506
- a !== null && I.value.includes(a.id) && Re(a.id);
506
+ a !== null && I.value.includes(a.id) && Ve(a.id);
507
507
  }
508
508
  function Cl(t) {
509
509
  const a = Et(t);
510
- a !== null && (I.value.includes(a.id) || Re(a.id));
510
+ a !== null && (I.value.includes(a.id) || Ve(a.id));
511
511
  }
512
512
  function nt(t = null) {
513
513
  yt(() => {
@@ -557,10 +557,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
557
557
  fe.value = t, mt.value += 1;
558
558
  }
559
559
  function Ft() {
560
- q.value.showTable = !q.value.showTable;
560
+ K.value.showTable = !K.value.showTable;
561
561
  }
562
562
  function Wt() {
563
- q.value.showTooltip = !q.value.showTooltip;
563
+ K.value.showTooltip = !K.value.showTooltip;
564
564
  }
565
565
  const Le = w(!1);
566
566
  function ut() {
@@ -674,7 +674,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
674
674
  return {
675
675
  id: d.id,
676
676
  d: m.join(""),
677
- fill: je(d.color, A * 100),
677
+ fill: Ge(d.color, A * 100),
678
678
  stroke: E ? "none" : r,
679
679
  strokeWidth: E ? 0 : f,
680
680
  strokeOpacity: 1
@@ -700,7 +700,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
700
700
  R.value !== r.id && (R.value = r.id, he(r, A, "pointer", ve.value.get(r.id) ?? null));
701
701
  else if (R.value) {
702
702
  const d = g.value;
703
- R.value = void 0, Xe(d, A);
703
+ R.value = void 0, Ye(d, A);
704
704
  }
705
705
  } : () => null;
706
706
  }
@@ -708,18 +708,18 @@ const Aa = ["id"], Sa = ["id"], Ta = {
708
708
  function zl() {
709
709
  if (R.value) {
710
710
  const t = g.value;
711
- R.value = void 0, Xe(t, null);
711
+ R.value = void 0, Ye(t, null);
712
712
  }
713
713
  }
714
714
  function Il(t) {
715
715
  const a = g.value;
716
716
  if (a) {
717
717
  const l = U.value.findIndex((s) => s.id === a.clusterId);
718
- Ye(a, l >= 0 ? l : 0);
718
+ Re(a, l >= 0 ? l : 0);
719
719
  }
720
720
  }
721
721
  const Pe = T(() => {
722
- const t = e.value.table.useDialog && !e.value.table.show, a = q.value.showTable;
722
+ const t = e.value.table.useDialog && !e.value.table.show, a = K.value.showTable;
723
723
  return {
724
724
  component: t ? vl : sl,
725
725
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
@@ -749,11 +749,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
749
749
  }
750
750
  };
751
751
  });
752
- Ue(() => q.value.showTable, (t) => {
752
+ je(() => K.value.showTable, (t) => {
753
753
  e.value.table.show || (t && e.value.table.useDialog && Ae.value ? Ae.value.open() : "close" in Ae.value && Ae.value.close());
754
754
  });
755
755
  function Rt() {
756
- q.value.showTable = !1, qe.value && qe.value.setTableIconState(!1);
756
+ K.value.showTable = !1, He.value && He.value.setTableIconState(!1);
757
757
  }
758
758
  const Ol = T(() => e.value.style.backgroundColor), Dl = T(() => e.value.style.legend), El = T(() => e.value.style.title), { exportSvg: Nl, getSvg: Fl } = pa({
759
759
  svg: ie,
@@ -828,7 +828,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
828
828
  if (Te.value === null) return;
829
829
  const m = we.value[Te.value];
830
830
  if (!m) return;
831
- Ye(m, m.seriesIndex);
831
+ Re(m, m.seriesIndex);
832
832
  return;
833
833
  }
834
834
  let y = null;
@@ -939,7 +939,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
939
939
  }, [
940
940
  k("p", null, V(e.value.a11y.translations.keyboardNavigation), 1)
941
941
  ], 8, Sa),
942
- q.value.showTooltip ? x("", !0) : (v(), c("div", Ta, V(Vl.value), 1)),
942
+ K.value.showTooltip ? x("", !0) : (v(), c("div", Ta, V(Vl.value), 1)),
943
943
  rt.value?.rows?.length ? (v(), ae(Ma, {
944
944
  key: 1,
945
945
  uid: N.value,
@@ -957,23 +957,23 @@ const Aa = ["id"], Sa = ["id"], Ta = {
957
957
  isCursorPointer: de.value,
958
958
  onClose: ut
959
959
  }, {
960
- "annotator-action-close": B(() => [
960
+ "annotator-action-close": P(() => [
961
961
  z(t.$slots, "annotator-action-close", {}, void 0, !0)
962
962
  ]),
963
- "annotator-action-color": B(({ color: l }) => [
964
- z(t.$slots, "annotator-action-color", H(K({ color: l })), void 0, !0)
963
+ "annotator-action-color": P(({ color: l }) => [
964
+ z(t.$slots, "annotator-action-color", q(H({ color: l })), void 0, !0)
965
965
  ]),
966
- "annotator-action-draw": B(({ mode: l }) => [
967
- z(t.$slots, "annotator-action-draw", H(K({ mode: l })), void 0, !0)
966
+ "annotator-action-draw": P(({ mode: l }) => [
967
+ z(t.$slots, "annotator-action-draw", q(H({ mode: l })), void 0, !0)
968
968
  ]),
969
- "annotator-action-undo": B(({ disabled: l }) => [
970
- z(t.$slots, "annotator-action-undo", H(K({ disabled: l })), void 0, !0)
969
+ "annotator-action-undo": P(({ disabled: l }) => [
970
+ z(t.$slots, "annotator-action-undo", q(H({ disabled: l })), void 0, !0)
971
971
  ]),
972
- "annotator-action-redo": B(({ disabled: l }) => [
973
- z(t.$slots, "annotator-action-redo", H(K({ disabled: l })), void 0, !0)
972
+ "annotator-action-redo": P(({ disabled: l }) => [
973
+ z(t.$slots, "annotator-action-redo", q(H({ disabled: l })), void 0, !0)
974
974
  ]),
975
- "annotator-action-delete": B(({ disabled: l }) => [
976
- z(t.$slots, "annotator-action-delete", H(K({ disabled: l })), void 0, !0)
975
+ "annotator-action-delete": P(({ disabled: l }) => [
976
+ z(t.$slots, "annotator-action-delete", q(H({ disabled: l })), void 0, !0)
977
977
  ]),
978
978
  _: 3
979
979
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : x("", !0),
@@ -1007,14 +1007,14 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1007
1007
  k("div", {
1008
1008
  id: `legend-top-${N.value}`
1009
1009
  }, null, 8, La),
1010
- e.value.userOptions.show && gt.value && (h(Tt) || h(et)) ? (v(), ae(h(il), {
1010
+ e.value.userOptions.show && gt.value && (h(Tt) || h(tt)) ? (v(), ae(h(il), {
1011
1011
  ref_key: "userOptionsRef",
1012
- ref: qe,
1012
+ ref: He,
1013
1013
  key: `user_options_${mt.value}`,
1014
1014
  backgroundColor: e.value.style.backgroundColor,
1015
1015
  color: e.value.style.color,
1016
- isImaging: h(at),
1017
- isPrinting: h(lt),
1016
+ isImaging: h(ot),
1017
+ isPrinting: h(at),
1018
1018
  uid: N.value,
1019
1019
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
1020
1020
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -1024,7 +1024,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1024
1024
  hasTable: e.value.userOptions.buttons.table,
1025
1025
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
1026
1026
  hasAltCopy: e.value.userOptions.buttons.altCopy,
1027
- isTooltip: q.value.showTooltip,
1027
+ isTooltip: K.value.showTooltip,
1028
1028
  isFullscreen: fe.value,
1029
1029
  titles: { ...e.value.userOptions.buttonTitles },
1030
1030
  chartElement: ne.value,
@@ -1045,76 +1045,76 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1045
1045
  onToggleAnnotator: ut,
1046
1046
  onCopyAlt: Ut,
1047
1047
  style: ue({
1048
- visibility: h(Tt) ? h(et) ? "visible" : "hidden" : "visible"
1048
+ visibility: h(Tt) ? h(tt) ? "visible" : "hidden" : "visible"
1049
1049
  })
1050
1050
  }, Ht({ _: 2 }, [
1051
1051
  t.$slots.menuIcon ? {
1052
1052
  name: "menuIcon",
1053
- fn: B(({ isOpen: l, color: s }) => [
1054
- z(t.$slots, "menuIcon", H(K({ isOpen: l, color: s })), void 0, !0)
1053
+ fn: P(({ isOpen: l, color: s }) => [
1054
+ z(t.$slots, "menuIcon", q(H({ isOpen: l, color: s })), void 0, !0)
1055
1055
  ]),
1056
1056
  key: "0"
1057
1057
  } : void 0,
1058
1058
  t.$slots.optionTooltip ? {
1059
1059
  name: "optionTooltip",
1060
- fn: B(() => [
1060
+ fn: P(() => [
1061
1061
  z(t.$slots, "optionTooltip", {}, void 0, !0)
1062
1062
  ]),
1063
1063
  key: "1"
1064
1064
  } : void 0,
1065
1065
  t.$slots.optionPdf ? {
1066
1066
  name: "optionPdf",
1067
- fn: B(() => [
1067
+ fn: P(() => [
1068
1068
  z(t.$slots, "optionPdf", {}, void 0, !0)
1069
1069
  ]),
1070
1070
  key: "2"
1071
1071
  } : void 0,
1072
1072
  t.$slots.optionCsv ? {
1073
1073
  name: "optionCsv",
1074
- fn: B(() => [
1074
+ fn: P(() => [
1075
1075
  z(t.$slots, "optionCsv", {}, void 0, !0)
1076
1076
  ]),
1077
1077
  key: "3"
1078
1078
  } : void 0,
1079
1079
  t.$slots.optionImg ? {
1080
1080
  name: "optionImg",
1081
- fn: B(() => [
1081
+ fn: P(() => [
1082
1082
  z(t.$slots, "optionImg", {}, void 0, !0)
1083
1083
  ]),
1084
1084
  key: "4"
1085
1085
  } : void 0,
1086
1086
  t.$slots.optionSvg ? {
1087
1087
  name: "optionSvg",
1088
- fn: B(() => [
1088
+ fn: P(() => [
1089
1089
  z(t.$slots, "optionSvg", {}, void 0, !0)
1090
1090
  ]),
1091
1091
  key: "5"
1092
1092
  } : void 0,
1093
1093
  t.$slots.optionTable ? {
1094
1094
  name: "optionTable",
1095
- fn: B(() => [
1095
+ fn: P(() => [
1096
1096
  z(t.$slots, "optionTable", {}, void 0, !0)
1097
1097
  ]),
1098
1098
  key: "6"
1099
1099
  } : void 0,
1100
1100
  t.$slots.optionFullscreen ? {
1101
1101
  name: "optionFullscreen",
1102
- fn: B(({ toggleFullscreen: l, isFullscreen: s }) => [
1103
- z(t.$slots, "optionFullscreen", H(K({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
1102
+ fn: P(({ toggleFullscreen: l, isFullscreen: s }) => [
1103
+ z(t.$slots, "optionFullscreen", q(H({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
1104
1104
  ]),
1105
1105
  key: "7"
1106
1106
  } : void 0,
1107
1107
  t.$slots.optionAnnotator ? {
1108
1108
  name: "optionAnnotator",
1109
- fn: B(({ toggleAnnotator: l, isAnnotator: s }) => [
1110
- z(t.$slots, "optionAnnotator", H(K({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
1109
+ fn: P(({ toggleAnnotator: l, isAnnotator: s }) => [
1110
+ z(t.$slots, "optionAnnotator", q(H({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
1111
1111
  ]),
1112
1112
  key: "8"
1113
1113
  } : void 0,
1114
1114
  t.$slots.optionAltCopy ? {
1115
1115
  name: "optionAltCopy",
1116
- fn: B(({ altCopy: l }) => [
1117
- z(t.$slots, "optionAltCopy", H(K({ altCopy: l })), void 0, !0)
1116
+ fn: P(({ altCopy: l }) => [
1117
+ z(t.$slots, "optionAltCopy", q(H({ altCopy: l })), void 0, !0)
1118
1118
  ]),
1119
1119
  key: "9"
1120
1120
  } : void 0
@@ -1356,7 +1356,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1356
1356
  l.plots.length > 2 ? (v(), c("polygon", {
1357
1357
  key: 0,
1358
1358
  points: h(oa)({ series: l.plots }),
1359
- fill: h(je)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1359
+ fill: h(Ge)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1360
1360
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1361
1361
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1362
1362
  stroke: l.color,
@@ -1371,26 +1371,26 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1371
1371
  cx: o.x,
1372
1372
  cy: o.y,
1373
1373
  r: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1374
- fill: h(je)(l.color, e.value.style.layout.plots.opacity * 100),
1374
+ fill: h(Ge)(l.color, e.value.style.layout.plots.opacity * 100),
1375
1375
  stroke: e.value.style.layout.plots.stroke,
1376
1376
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1377
1377
  style: ue(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / Ot.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1378
1378
  onMouseover: (i) => he(o, s, "pointer", ve.value.get(o.id)),
1379
- onMouseleave: (i) => Xe(o, s),
1380
- onClick: (i) => Ye(o, s)
1379
+ onMouseleave: (i) => Ye(o, s),
1380
+ onClick: (i) => Re(o, s)
1381
1381
  }, null, 44, vo))), 256))
1382
1382
  ])) : (v(), c("g", co, [
1383
1383
  (v(!0), c(Q, null, oe(l.plots, (o, n) => (v(), ae(pt, {
1384
1384
  plot: { x: o.x, y: o.y },
1385
1385
  radius: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1386
1386
  shape: l.shape,
1387
- color: h(je)(l.color, e.value.style.layout.plots.opacity * 100),
1387
+ color: h(Ge)(l.color, e.value.style.layout.plots.opacity * 100),
1388
1388
  stroke: e.value.style.layout.plots.stroke,
1389
1389
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1390
1390
  style: ue(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / Ot.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1391
1391
  onMouseover: (i) => he(o, s, "pointer", ve.value.get(o.id)),
1392
- onMouseleave: (i) => Xe(o, s),
1393
- onClick: (i) => Ye(o, s)
1392
+ onMouseleave: (i) => Ye(o, s),
1393
+ onClick: (i) => Re(o, s)
1394
1394
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
1395
1395
  ]))
1396
1396
  ]))), 256)),
@@ -1520,7 +1520,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1520
1520
  e.value.style.layout.dataLabels.xAxis.show ? (v(), c("g", {
1521
1521
  key: 7,
1522
1522
  ref_key: "xAxisLabelLeft",
1523
- ref: He
1523
+ ref: Ke
1524
1524
  }, [
1525
1525
  k("text", {
1526
1526
  id: `vue-ui-scatter-xAxis-label-${N.value}`,
@@ -1586,7 +1586,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1586
1586
  e.value.style.layout.dataLabels.yAxis.show ? (v(), c("g", {
1587
1587
  key: 10,
1588
1588
  ref_key: "yAxisLabelBottom",
1589
- ref: Ke
1589
+ ref: Ze
1590
1590
  }, [
1591
1591
  k("text", {
1592
1592
  x: W.value.x,
@@ -1657,17 +1657,17 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1657
1657
  zero: W.value
1658
1658
  },
1659
1659
  data: be.value,
1660
- isPrintingImg: h(lt) | h(at) | Ee.value,
1660
+ isPrintingImg: h(at) | h(ot) | Ee.value,
1661
1661
  isPrintingSvg: Ne.value
1662
1662
  }
1663
1663
  }, void 0, !0)
1664
1664
  ], 46, Ba)),
1665
1665
  t.$slots.hint ? (v(), c("div", Do, [
1666
- z(t.$slots, "hint", H(K({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Fe.value })), void 0, !0)
1666
+ z(t.$slots, "hint", q(H({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Fe.value })), void 0, !0)
1667
1667
  ])) : x("", !0)
1668
1668
  ]),
1669
1669
  t.$slots.watermark ? (v(), c("div", Eo, [
1670
- z(t.$slots, "watermark", H(K({ isPrinting: h(lt) || h(at) || Ee.value || Ne.value })), void 0, !0)
1670
+ z(t.$slots, "watermark", q(H({ isPrinting: h(at) || h(ot) || Ee.value || Ne.value })), void 0, !0)
1671
1671
  ])) : x("", !0),
1672
1672
  k("div", {
1673
1673
  id: `legend-bottom-${N.value}`
@@ -1685,16 +1685,16 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1685
1685
  legendSet: J.value,
1686
1686
  config: bl.value,
1687
1687
  isCursorPointer: de.value,
1688
- onClickMarker: a[3] || (a[3] = ({ legend: l }) => Re(l.id))
1688
+ onClickMarker: a[3] || (a[3] = ({ legend: l }) => Ve(l.id))
1689
1689
  }, {
1690
- item: B(({ legend: l }) => [
1690
+ item: P(({ legend: l }) => [
1691
1691
  k("div", {
1692
1692
  onClick: (s) => l.segregate(),
1693
1693
  style: ue(`opacity:${I.value.includes(l.id) ? 0.5 : 1}`)
1694
1694
  }, V(l.name), 13, Fo)
1695
1695
  ]),
1696
- legendToggle: B(() => [
1697
- J.value.length > 2 && e.value.style.legend.selectAllToggle.show && !h(Ze) ? (v(), ae(_a, {
1696
+ legendToggle: P(() => [
1697
+ J.value.length > 2 && e.value.style.legend.selectAllToggle.show && !h(Je) ? (v(), ae(_a, {
1698
1698
  key: 0,
1699
1699
  backgroundColor: e.value.style.legend.selectAllToggle.backgroundColor,
1700
1700
  color: e.value.style.legend.selectAllToggle.color,
@@ -1721,7 +1721,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1721
1721
  ], 512)) : x("", !0),
1722
1722
  Oe(h(al), {
1723
1723
  teleportTo: e.value.style.tooltip.teleportTo,
1724
- show: q.value.showTooltip && De.value,
1724
+ show: K.value.showTooltip && De.value,
1725
1725
  backgroundColor: e.value.style.tooltip.backgroundColor,
1726
1726
  color: e.value.style.tooltip.color,
1727
1727
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1732,7 +1732,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1732
1732
  position: e.value.style.tooltip.position,
1733
1733
  offsetY: e.value.style.tooltip.offsetY,
1734
1734
  parent: ne.value,
1735
- content: Ge.value,
1735
+ content: qe.value,
1736
1736
  isFullscreen: fe.value,
1737
1737
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1738
1738
  smooth: e.value.style.tooltip.smooth,
@@ -1742,13 +1742,16 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1742
1742
  isA11yMode: Se.value === "keyboard",
1743
1743
  a11yPosition: At.value
1744
1744
  }, {
1745
- "tooltip-before": B(() => [
1746
- z(t.$slots, "tooltip-before", H(K({ ...ot.value })), void 0, !0)
1745
+ "tooltip-before": P(() => [
1746
+ z(t.$slots, "tooltip-before", q(H({ ...Xe.value })), void 0, !0)
1747
+ ]),
1748
+ tooltip: P(() => [
1749
+ z(t.$slots, "tooltip", q(H({ ...Xe.value })), void 0, !0)
1747
1750
  ]),
1748
- "tooltip-after": B(() => [
1749
- z(t.$slots, "tooltip-after", H(K({ ...ot.value })), void 0, !0)
1751
+ "tooltip-after": P(() => [
1752
+ z(t.$slots, "tooltip-after", q(H({ ...Xe.value })), void 0, !0)
1750
1753
  ]),
1751
- default: B(() => [
1754
+ default: P(() => [
1752
1755
  e.value.style.tooltip.showShape ? (v(), c("div", Wo, [
1753
1756
  (v(), c("svg", Xo, [
1754
1757
  Oe(pt, {
@@ -1767,7 +1770,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1767
1770
  ref: Ae,
1768
1771
  onClose: Rt
1769
1772
  }), Ht({
1770
- content: B(() => [
1773
+ content: P(() => [
1771
1774
  (v(), ae(h(nl), {
1772
1775
  key: `table_${Mt.value}`,
1773
1776
  colNames: ke.value.colNames,
@@ -1779,10 +1782,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1779
1782
  isCursorPointer: de.value,
1780
1783
  onClose: Rt
1781
1784
  }, {
1782
- th: B(({ th: l }) => [
1785
+ th: P(({ th: l }) => [
1783
1786
  Kt(V(l), 1)
1784
1787
  ]),
1785
- td: B(({ td: l }) => [
1788
+ td: P(({ td: l }) => [
1786
1789
  l.shape ? (v(), c("div", Yo, [
1787
1790
  k("span", null, V(l.content), 1)
1788
1791
  ])) : (v(), c("div", {
@@ -1797,14 +1800,14 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1797
1800
  }, [
1798
1801
  e.value.table.useDialog ? {
1799
1802
  name: "title",
1800
- fn: B(() => [
1803
+ fn: P(() => [
1801
1804
  Kt(V(Pe.value.title), 1)
1802
1805
  ]),
1803
1806
  key: "0"
1804
1807
  } : void 0,
1805
1808
  e.value.table.useDialog ? {
1806
1809
  name: "actions",
1807
- fn: B(() => [
1810
+ fn: P(() => [
1808
1811
  k("button", {
1809
1812
  tabindex: "0",
1810
1813
  class: "vue-ui-user-options-button",
@@ -1821,11 +1824,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1821
1824
  } : void 0
1822
1825
  ]), 1040)) : x("", !0),
1823
1826
  z(t.$slots, "skeleton", {}, () => [
1824
- h(Ze) ? (v(), ae(ha, { key: 0 })) : x("", !0)
1827
+ h(Je) ? (v(), ae(ha, { key: 0 })) : x("", !0)
1825
1828
  ], !0)
1826
1829
  ], 46, Aa));
1827
1830
  }
1828
- }, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-cde737cf"]]);
1831
+ }, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-c5a02553"]]);
1829
1832
  export {
1830
1833
  vs as default
1831
1834
  };