vue-data-ui 3.5.0 → 3.5.2

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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.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-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as gl, watch as Pe, shallowRef as Tt, onMounted as ml, onBeforeUnmount as xl, createElementBlock as c, openBlock as r, unref as y, normalizeStyle as ue, normalizeClass as zt, createBlock as ae, createCommentVNode as x, createElementVNode as w, createVNode as _e, createSlots as Pt, withCtx as N, renderSlot as R, normalizeProps as fe, guardReactiveProps as pe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as bl, resolveDynamicComponent as kl, mergeProps as wl, createTextVNode as Ot, nextTick as $l } from "vue";
2
- import { c as _l, t as Ml, b as Sl, p as ce, o as Dt, f as Je, e as Cl, g as Et, aa as Al, h as Ke, ac as Ll, z as Bl, s as Oe, X as Tl, ab as zl, a as ie, x as q, d as ee, P as Pl, Q as Ol, G as Dl, H as El } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as ie, computed as z, ref as M, toRefs as gl, watch as Pe, shallowRef as Tt, onMounted as ml, onBeforeUnmount as xl, createElementBlock as c, openBlock as r, unref as y, normalizeStyle as re, normalizeClass as zt, createBlock as se, createCommentVNode as x, createElementVNode as w, createVNode as _e, withCtx as T, renderSlot as P, normalizeProps as J, guardReactiveProps as K, createSlots as Pt, Fragment as Z, renderList as te, toDisplayString as G, Teleport as bl, resolveDynamicComponent as kl, mergeProps as wl, createTextVNode as Ot, nextTick as $l } from "vue";
2
+ import { c as _l, t as Ml, b as Sl, p as de, o as Dt, f as Je, e as Cl, g as Et, aa as Al, h as Ke, ac as Ll, z as Bl, s as Oe, X as Tl, ab as zl, a as ve, x as q, d as le, P as Pl, Q as Ol, G as Dl, H as El } from "./lib-C_mNZmhD.js";
3
3
  import { t as Fl, u as Wl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Nl, a as Ft } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Nl, a as Ft } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as Il, B as Xl } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Yl } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as Rl } from "./useSvgExport-DrjCWun4.js";
@@ -9,7 +9,7 @@ import { u as Ul } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { t as jl } from "./themes-AUNCOb2G.js";
11
11
  import Gl from "./Legend-G6GMcdAc.js";
12
- import ql from "./Title-l36lOBMx.js";
12
+ import ql from "./Title-BzH_LEA3.js";
13
13
  import { _ as et } from "./Shape-CNXKB8O0.js";
14
14
  import Hl from "./img-BecE5qXd.js";
15
15
  import { _ as Zl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -59,30 +59,30 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
59
59
  }
60
60
  },
61
61
  setup(Wt, { expose: Nt }) {
62
- const It = ne(() => import("./Tooltip-oWCO1HKy.js")), Xt = ne(() => import("./BaseIcon-BmMbm4d0.js")), Yt = ne(() => import("./vue-ui-accordion-CZ0thhxa.js")), Rt = ne(() => import("./DataTable-BT7VF2ua.js")), Ut = ne(() => import("./PenAndPaper-DSvu9dwa.js")), Vt = ne(() => import("./UserOptions-CGnQt6Fd.js")), jt = ne(() => import("./PackageVersion-Cyx_s25h.js")), Gt = ne(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_scatter: qt } = Nl(), te = Wt, tt = T(() => !!te.dataset && te.dataset.length), I = M(_l()), De = M(!1), Ee = M(""), lt = M(0), le = M(null), at = M(null), ot = M(null), st = M(null), nt = M(null), ut = M(0), it = M(0), rt = M(0), F = M([]), vt = M(!1), ge = M(null), me = M(null), xe = M(null), Fe = M(null), We = M(null), Ht = M(null), Zt = M(null), Ne = M(null), e = M(Re());
62
+ const It = ie(() => import("./Tooltip-oWCO1HKy.js")), Xt = ie(() => import("./BaseIcon-BmMbm4d0.js")), Yt = ie(() => import("./vue-ui-accordion-BmFTVF1a.js")), Rt = ie(() => import("./DataTable-BT7VF2ua.js")), Ut = ie(() => import("./PenAndPaper-SZQIAgkg.js")), Vt = ie(() => import("./UserOptions-CGnQt6Fd.js")), jt = ie(() => import("./PackageVersion-Y7t79Jtq.js")), Gt = ie(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_scatter: qt } = Nl(), ae = Wt, tt = z(() => !!ae.dataset && ae.dataset.length), X = M(_l()), De = M(!1), Ee = M(""), lt = M(0), oe = M(null), at = M(null), ot = M(null), st = M(null), nt = M(null), ut = M(0), it = M(0), rt = M(0), N = M([]), vt = M(!1), ge = M(null), me = M(null), xe = M(null), Fe = M(null), We = M(null), Ht = M(null), Zt = M(null), Ne = M(null), e = M(Re());
63
63
  function Qt(l = 100, a = 0.8, t = {}) {
64
64
  const { meanX: s = 0, sdX: o = 1, meanY: u = 0, sdY: i = 1, seed: f } = t;
65
65
  let v = (f ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
66
66
  const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
67
- let m = 0, E = 0;
67
+ let m = 0, W = 0;
68
68
  for (; m === 0; ) m = g();
69
- for (; E === 0; ) E = g();
70
- return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * E);
71
- }, d = l / 2, _ = Array.from({ length: d }, L), D = Array.from({ length: d }, L), S = (m) => m.reduce((E, $e) => E + $e, 0) / m.length, z = S(_), X = S(D);
69
+ for (; W === 0; ) W = g();
70
+ return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * W);
71
+ }, d = l / 2, _ = Array.from({ length: d }, L), F = Array.from({ length: d }, L), S = (m) => m.reduce((W, $e) => W + $e, 0) / m.length, O = S(_), Y = S(F);
72
72
  for (let m = 0; m < d; m += 1)
73
- _[m] -= z, D[m] -= X;
74
- const B = (m, E) => m.reduce(($e, ze, Qe) => $e + ze * E[Qe], 0), $ = (m) => B(m, m), h = B(D, _) / $(_), A = D.map((m, E) => m - h * _[E]), j = $(_) / d, Q = $(A) / d, se = Math.sqrt((1 - a * a) * j / Q), U = _.map((m, E) => a * m + se * A[E]), ve = _.concat(_.map((m) => -m)), Ze = U.concat(U.map((m) => -m)), ke = (m) => Math.sqrt($(m) / m.length), de = (m, E, $e) => {
73
+ _[m] -= O, F[m] -= Y;
74
+ const B = (m, W) => m.reduce(($e, ze, Qe) => $e + ze * W[Qe], 0), $ = (m) => B(m, m), h = B(F, _) / $(_), A = F.map((m, W) => m - h * _[W]), j = $(_) / d, Q = $(A) / d, ue = Math.sqrt((1 - a * a) * j / Q), U = _.map((m, W) => a * m + ue * A[W]), ye = _.concat(_.map((m) => -m)), Ze = U.concat(U.map((m) => -m)), ke = (m) => Math.sqrt($(m) / m.length), fe = (m, W, $e) => {
75
75
  const ze = ke(m);
76
- return m.map((Qe) => $e + (ze ? Qe / ze * E : 0));
77
- }, he = de(ve, o, s), we = de(Ze, i, u);
78
- for (let m = he.length - 1; m > 0; m -= 1) {
79
- const E = Math.floor(g() * (m + 1));
80
- [he[m], he[E]] = [he[E], he[m]], [we[m], we[E]] = [we[E], we[m]];
76
+ return m.map((Qe) => $e + (ze ? Qe / ze * W : 0));
77
+ }, pe = fe(ye, o, s), we = fe(Ze, i, u);
78
+ for (let m = pe.length - 1; m > 0; m -= 1) {
79
+ const W = Math.floor(g() * (m + 1));
80
+ [pe[m], pe[W]] = [pe[W], pe[m]], [we[m], we[W]] = [we[W], we[m]];
81
81
  }
82
- return he.map((m, E) => ({ x: m, y: we[E] }));
82
+ return pe.map((m, W) => ({ x: m, y: we[W] }));
83
83
  }
84
84
  const { loading: ct, FINAL_DATASET: Ie, manualLoading: Xe } = Il({
85
- ...gl(te),
85
+ ...gl(ae),
86
86
  FINAL_CONFIG: e,
87
87
  prepareConfig: Re,
88
88
  skeletonDataset: [
@@ -128,18 +128,18 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
128
128
  }), { userOptionsVisible: Ye, setUserOptionsVisibility: yt, keepUserOptionState: dt } = Ul({ config: e.value }), { svgRef: Me } = Vl({ config: e.value.style.title });
129
129
  function Re() {
130
130
  const l = Ft({
131
- userConfig: te.config,
131
+ userConfig: ae.config,
132
132
  defaultConfig: qt
133
133
  });
134
134
  return l.theme ? {
135
135
  ...Ft({
136
- userConfig: jl.vue_ui_scatter[l.theme] || te.config,
136
+ userConfig: jl.vue_ui_scatter[l.theme] || ae.config,
137
137
  defaultConfig: l
138
138
  }),
139
- customPalette: Sl[l.theme] || ce
139
+ customPalette: Sl[l.theme] || de
140
140
  } : l;
141
141
  }
142
- Pe(() => te.config, (l) => {
142
+ Pe(() => ae.config, (l) => {
143
143
  ct.value || (e.value = Re()), Ye.value = !e.value.userOptions.showOnChartHover, ft(), ut.value += 1, it.value += 1, rt.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, ht.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
144
144
 
145
145
  - downsampling is disabled in this mode, all plots are rendered
@@ -149,43 +149,43 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
149
149
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
150
150
 
151
151
  ℹ️ To remove this warning, set config.debug to false.`);
152
- }, { deep: !0 }), Pe(() => te.dataset, (l) => {
152
+ }, { deep: !0 }), Pe(() => ae.dataset, (l) => {
153
153
  Array.isArray(l) && l.length > 0 && (Xe.value = !1);
154
154
  }, { deep: !0 });
155
- const oe = Tt(null), ye = Tt(null);
155
+ const ne = Tt(null), he = Tt(null);
156
156
  ml(() => {
157
157
  vt.value = !0, ft();
158
158
  });
159
- const ht = T(() => !!e.value.debug);
159
+ const ht = z(() => !!e.value.debug);
160
160
  function ft() {
161
- if (Dt(te.dataset) && (Je({
161
+ if (Dt(ae.dataset) && (Je({
162
162
  componentName: "VueUiScatter",
163
163
  type: "dataset",
164
164
  debug: ht.value
165
- }), Xe.value = !0), Dt(te.dataset) || (Xe.value = e.value.loading), e.value.responsive) {
165
+ }), Xe.value = !0), Dt(ae.dataset) || (Xe.value = e.value.loading), e.value.responsive) {
166
166
  const l = Fl(() => {
167
167
  const { width: a, height: t } = Wl({
168
- chart: le.value,
168
+ chart: oe.value,
169
169
  title: e.value.style.title.text ? at.value : null,
170
170
  legend: e.value.style.legend.show ? ot.value : null,
171
171
  source: st.value,
172
172
  noTitle: nt.value
173
173
  });
174
174
  requestAnimationFrame(() => {
175
- W.value.width = a, W.value.height = t;
175
+ I.value.width = a, I.value.height = t;
176
176
  });
177
177
  });
178
- oe.value && (ye.value && oe.value.unobserve(ye.value), oe.value.disconnect()), oe.value = new ResizeObserver(l), ye.value = le.value.parentNode, oe.value.observe(ye.value);
178
+ ne.value && (he.value && ne.value.unobserve(he.value), ne.value.disconnect()), ne.value = new ResizeObserver(l), he.value = oe.value.parentNode, ne.value.observe(he.value);
179
179
  }
180
180
  }
181
181
  xl(() => {
182
- oe.value && (ye.value && oe.value.unobserve(ye.value), oe.value.disconnect());
182
+ ne.value && (he.value && ne.value.unobserve(he.value), ne.value.disconnect());
183
183
  });
184
184
  const { isPrinting: pt, isImaging: gt, generatePdf: mt, generateImage: xt } = Yl({
185
- elementId: `vue-ui-scatter_${I.value}`,
185
+ elementId: `vue-ui-scatter_${X.value}`,
186
186
  fileName: e.value.style.title.text || "vue-ui-scatter",
187
187
  options: e.value.userOptions.print
188
- }), Jt = T(() => e.value.userOptions.show && !e.value.style.title.text), bt = T(() => Cl(e.value.customPalette)), H = M({
188
+ }), Jt = z(() => e.value.userOptions.show && !e.value.style.title.text), bt = z(() => Cl(e.value.customPalette)), H = M({
189
189
  showTable: e.value.table.show,
190
190
  showTooltip: e.value.style.tooltip.show
191
191
  });
@@ -195,20 +195,20 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
195
195
  showTooltip: e.value.style.tooltip.show
196
196
  };
197
197
  }, { immediate: !0 });
198
- const W = M({
198
+ const I = M({
199
199
  height: e.value.style.layout.height,
200
200
  width: e.value.style.layout.width
201
- }), Se = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = T(() => {
201
+ }), Se = z(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = z(() => {
202
202
  let l = 0, a = 0;
203
203
  return We.value && (l = We.value.getBBox().width + 6), Ne.value && (a = Ne.value.getBBox().height + 6), {
204
204
  top: e.value.style.layout.padding.top + Se.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
205
- right: W.value.width - e.value.style.layout.padding.right - Se.value - 6,
206
- bottom: W.value.height - e.value.style.layout.padding.bottom - a,
205
+ right: I.value.width - e.value.style.layout.padding.right - Se.value - 6,
206
+ bottom: I.value.height - e.value.style.layout.padding.bottom - a,
207
207
  left: e.value.style.layout.padding.left + l,
208
- height: W.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Se.value - a - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
209
- width: W.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Se.value - l - 6
208
+ height: I.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Se.value - a - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
209
+ width: I.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Se.value - l - 6
210
210
  };
211
- }), P = T(() => {
211
+ }), D = z(() => {
212
212
  Ie.value.forEach((o, u) => {
213
213
  Et({
214
214
  datasetObject: o,
@@ -234,13 +234,13 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
234
234
  });
235
235
  });
236
236
  });
237
- const l = Math.min(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), a = Math.max(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), t = Math.min(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y))), s = Math.max(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y)));
237
+ const l = Math.min(...ee.value.filter((o) => !N.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), a = Math.max(...ee.value.filter((o) => !N.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), t = Math.min(...ee.value.filter((o) => !N.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y))), s = Math.max(...ee.value.filter((o) => !N.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y)));
238
238
  return { xMin: l >= 0 ? 0 : l, xMax: a, yMin: t >= 0 ? 0 : t, yMax: s };
239
- }), O = T(() => ({
240
- x: n.value.left + Math.abs(P.value.xMin) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
241
- y: n.value.bottom - Math.abs(P.value.yMin) / (P.value.yMax + Math.abs(P.value.yMin)) * n.value.height
242
- })), J = T(() => Ie.value.map((l, a) => {
243
- const t = `cluster_${I.value}_${a}`;
239
+ }), E = z(() => ({
240
+ x: n.value.left + Math.abs(D.value.xMin) / (D.value.xMax + Math.abs(D.value.xMin)) * n.value.width,
241
+ y: n.value.bottom - Math.abs(D.value.yMin) / (D.value.yMax + Math.abs(D.value.yMin)) * n.value.height
242
+ })), ee = z(() => Ie.value.map((l, a) => {
243
+ const t = `cluster_${X.value}_${a}`;
244
244
  return {
245
245
  ...l,
246
246
  values: Al({
@@ -248,50 +248,50 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
248
248
  threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
249
249
  }),
250
250
  id: t,
251
- color: l.color ? l.color : bt.value[a] || ce[a] || ce[a % ce.length],
252
- opacity: F.value.includes(t) ? 0.5 : 1,
251
+ color: l.color ? l.color : bt.value[a] || de[a] || de[a % de.length],
252
+ opacity: N.value.includes(t) ? 0.5 : 1,
253
253
  shape: l.shape ?? "circle",
254
254
  segregate: () => Le(t),
255
- isSegregated: F.value.includes(t)
255
+ isSegregated: N.value.includes(t)
256
256
  };
257
- })), Kt = T(() => ({
257
+ })), Kt = z(() => ({
258
258
  cy: "scatter-div-legend",
259
259
  backgroundColor: e.value.style.legend.backgroundColor,
260
260
  color: e.value.style.legend.color,
261
261
  fontSize: e.value.style.legend.fontSize,
262
262
  paddingBottom: 12,
263
263
  fontWeight: e.value.style.legend.bold ? "bold" : ""
264
- })), Ce = T(() => J.value.map((l, a) => ({
264
+ })), Ce = z(() => ee.value.map((l, a) => ({
265
265
  ...l,
266
266
  plots: l.values.map((t) => ({
267
- x: n.value.left + (t.x + Math.abs(P.value.xMin)) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
268
- y: n.value.bottom - (t.y + Math.abs(P.value.yMin)) / (P.value.yMax + Math.abs(P.value.yMin)) * n.value.height,
267
+ x: n.value.left + (t.x + Math.abs(D.value.xMin)) / (D.value.xMax + Math.abs(D.value.xMin)) * n.value.width,
268
+ y: n.value.bottom - (t.y + Math.abs(D.value.yMin)) / (D.value.yMax + Math.abs(D.value.yMin)) * n.value.height,
269
269
  v: {
270
270
  ...t,
271
271
  name: t.name || ""
272
272
  },
273
273
  clusterName: l.name,
274
- color: l.color ? l.color : bt.value[a] || ce[a] || ce[a % ce.length],
275
- id: `plot_${I.value}_${Math.random()}`,
274
+ color: l.color ? l.color : bt.value[a] || de[a] || de[a % de.length],
275
+ id: `plot_${X.value}_${Math.random()}`,
276
276
  weight: t.weight ?? e.value.style.layout.plots.radius
277
277
  }))
278
- })).filter((l) => !F.value.includes(l.id))), V = T(() => {
278
+ })).filter((l) => !N.value.includes(l.id))), V = z(() => {
279
279
  const a = ({ m: t, b: s, rect: o, verticalX: u = null }) => {
280
280
  const { left: i, right: f, top: v, bottom: g } = o, L = [], d = ($, h) => {
281
281
  Number.isFinite($) && Number.isFinite(h) && L.push({ x: $, y: h });
282
282
  }, _ = ({ x: $, y: h }) => $ >= i - 1e-9 && $ <= f + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
283
283
  u !== null ? u >= i - 1e-9 && u <= f + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + s), d(f, t * f + s), Math.abs(t) > 1e-9 ? (d((v - s) / t, v), d((g - s) / t, g)) : s >= v - 1e-9 && s <= g + 1e-9 && (d(i, s), d(f, s)));
284
- const D = L.filter(_), S = [];
285
- for (const $ of D)
284
+ const F = L.filter(_), S = [];
285
+ for (const $ of F)
286
286
  S.some((h) => Math.abs(h.x - $.x) < 1e-6 && Math.abs(h.y - $.y) < 1e-6) || S.push($);
287
287
  if (S.length < 2) return null;
288
- let z = S[0], X = S[1], B = 0;
288
+ let O = S[0], Y = S[1], B = 0;
289
289
  for (let $ = 0; $ < S.length; $ += 1)
290
290
  for (let h = $ + 1; h < S.length; h += 1) {
291
291
  const A = S[$].x - S[h].x, j = S[$].y - S[h].y, Q = A * A + j * j;
292
- Q > B && (B = Q, z = S[$], X = S[h]);
292
+ Q > B && (B = Q, O = S[$], Y = S[h]);
293
293
  }
294
- return { x1: z.x, y1: z.y, x2: X.x, y2: X.y };
294
+ return { x1: O.x, y1: O.y, x2: Y.x, y2: Y.y };
295
295
  };
296
296
  return Ce.value.map((t) => {
297
297
  const s = t.plots.length, o = t.plots.reduce((h, A) => h + A.x, 0) / s, u = t.plots.reduce((h, A) => h + A.y, 0) / s;
@@ -304,23 +304,23 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
304
304
  f < 1e-9 ? (L = o, v = 1 / 0, g = null) : (v = i / f, g = u - v * o);
305
305
  let d, _;
306
306
  L !== null ? (d = 1 / 0, _ = null) : (d = v, _ = g);
307
- const D = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
307
+ const F = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
308
308
  let S = NaN;
309
309
  if (s >= 2) {
310
310
  let h = 0, A = 0;
311
- D ? (h = t.plots.reduce((U, ve) => U + ve.v.x, 0) / s, A = t.plots.reduce((U, ve) => U + ve.v.y, 0) / s) : (h = o, A = -u);
312
- let j = 0, Q = 0, se = 0;
311
+ F ? (h = t.plots.reduce((U, ye) => U + ye.v.x, 0) / s, A = t.plots.reduce((U, ye) => U + ye.v.y, 0) / s) : (h = o, A = -u);
312
+ let j = 0, Q = 0, ue = 0;
313
313
  for (const U of t.plots) {
314
- const ve = D ? U.v.x : U.x, Ze = D ? U.v.y : -U.y, ke = ve - h, de = Ze - A;
315
- j += ke * de, Q += ke * ke, se += de * de;
314
+ const ye = F ? U.v.x : U.x, Ze = F ? U.v.y : -U.y, ke = ye - h, fe = Ze - A;
315
+ j += ke * fe, Q += ke * ke, ue += fe * fe;
316
316
  }
317
- if (Q >= 1e-9 && se >= 1e-9) {
318
- const U = j / Math.sqrt(Q * se);
317
+ if (Q >= 1e-9 && ue >= 1e-9) {
318
+ const U = j / Math.sqrt(Q * ue);
319
319
  S = Math.max(-1, Math.min(1, U));
320
320
  }
321
321
  }
322
- const z = a({ m: d, b: _, rect: n.value, verticalX: L });
323
- if (!z)
322
+ const O = a({ m: d, b: _, rect: n.value, verticalX: L });
323
+ if (!O)
324
324
  return {
325
325
  ...t,
326
326
  correlation: null,
@@ -332,19 +332,19 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
332
332
  color: Ke(t.color)
333
333
  }))
334
334
  };
335
- const X = (z.x1 + z.x2) / 2, B = (z.y1 + z.y2) / 2, $ = { x: X, y: B };
335
+ const Y = (O.x1 + O.x2) / 2, B = (O.y1 + O.y2) / 2, $ = { x: Y, y: B };
336
336
  return {
337
337
  ...t,
338
338
  color: Ke(t.color),
339
339
  correlation: {
340
- ...z,
340
+ ...O,
341
341
  coefficient: S
342
342
  },
343
343
  label: $,
344
344
  plots: t.plots.map((h) => {
345
345
  let A, j;
346
346
  L !== null ? (A = L, j = h.y) : Math.abs(d) < 1e-9 ? (A = h.x, j = _) : (A = (h.x + d * h.y - d * _) / (1 + d * d), j = (d * h.x + d * d * h.y + _) / (1 + d * d));
347
- const Q = h.x - A, se = h.y - j, U = Math.sqrt(Q * Q + se * se);
347
+ const Q = h.x - A, ue = h.y - j, U = Math.sqrt(Q * Q + ue * ue);
348
348
  return {
349
349
  ...h,
350
350
  deviation: U,
@@ -354,7 +354,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
354
354
  })
355
355
  };
356
356
  });
357
- }), kt = T(() => Math.max(...V.value.flatMap((l) => l.plots.map((a) => Math.abs(a.deviation)))));
357
+ }), kt = z(() => Math.max(...V.value.flatMap((l) => l.plots.map((a) => Math.abs(a.deviation)))));
358
358
  function el() {
359
359
  return V.value;
360
360
  }
@@ -375,13 +375,13 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
375
375
  const h = Math.floor((B - s) / g), A = Math.floor(($ - u) / L);
376
376
  d[h] || (d[h] = 0), _[A] || (_[A] = 0), d[h] += 1, _[A] += 1;
377
377
  });
378
- const D = [], S = [];
378
+ const F = [], S = [];
379
379
  for (let B = 0; B < a; B += 1)
380
- D.push(s + (B + 0.5) * g), S.push(u + (B + 0.5) * L);
381
- const z = Math.max(...d), X = Math.max(..._);
382
- return { x: d, y: _, avgX: D, avgY: S, maxX: z, maxY: X };
380
+ F.push(s + (B + 0.5) * g), S.push(u + (B + 0.5) * L);
381
+ const O = Math.max(...d), Y = Math.max(..._);
382
+ return { x: d, y: _, avgX: F, avgY: S, maxX: O, maxY: Y };
383
383
  }
384
- const b = T(() => e.value.style.layout.marginalBars.tranches), C = T(() => wt(Ce.value, b.value)), tl = T(() => {
384
+ const b = z(() => e.value.style.layout.marginalBars.tranches), C = z(() => wt(Ce.value, b.value)), tl = z(() => {
385
385
  const l = n.value.top - e.value.style.layout.marginalBars.offset, a = n.value.right + e.value.style.layout.marginalBars.offset;
386
386
  return Ce.value.map((t) => {
387
387
  const s = wt(t, b.value);
@@ -399,9 +399,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
399
399
  id: t.id
400
400
  };
401
401
  });
402
- }), Y = M(void 0), p = M(null), Ue = M(null);
402
+ }), R = M(void 0), p = M(null), Ue = M(null);
403
403
  function Ve(l, a) {
404
- Y.value = l.id, p.value = l;
404
+ R.value = l.id, p.value = l;
405
405
  let t = "";
406
406
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: a }), Ue.value = {
407
407
  datapoint: l,
@@ -420,53 +420,53 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
420
420
  seriesIndex: a,
421
421
  series: V.value,
422
422
  config: e.value
423
- }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ie(
423
+ }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ve(
424
424
  e.value.style.layout.plots.selectors.labels.x.formatter,
425
425
  l.v.x,
426
- ee({
426
+ le({
427
427
  p: e.value.style.tooltip.prefix,
428
428
  v: l.v.x,
429
429
  s: e.value.style.tooltip.suffix,
430
430
  r: e.value.style.tooltip.roundingValue
431
431
  }),
432
432
  { datapoint: l, seriesIndex: a }
433
- )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ie(
433
+ )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ve(
434
434
  e.value.style.layout.plots.selectors.labels.y.formatter,
435
435
  l.v.y,
436
- ee({
436
+ le({
437
437
  p: e.value.style.tooltip.prefix,
438
438
  v: l.v.y,
439
439
  s: e.value.style.tooltip.suffix,
440
440
  r: e.value.style.tooltip.roundingValue
441
441
  }),
442
442
  { datapoint: l, seriesIndex: a }
443
- )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${ee({
443
+ )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${le({
444
444
  v: l.deviation,
445
445
  r: e.value.style.layout.plots.deviation.roundingValue
446
446
  })}</b>`, t += "</div>", Ee.value = `<div>${t}</div>`), De.value = !0;
447
447
  }
448
448
  function Ae(l, a) {
449
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: a }), De.value = !1, Y.value = void 0, p.value = null;
449
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: a }), De.value = !1, R.value = void 0, p.value = null;
450
450
  }
451
451
  function je(l, a) {
452
452
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: a });
453
453
  }
454
454
  function Le(l) {
455
- F.value.includes(l) ? F.value = F.value.filter((a) => a !== l) : F.value.length < Ie.value.length - 1 && F.value.push(l);
455
+ N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.length < Ie.value.length - 1 && N.value.push(l);
456
456
  }
457
457
  function $t(l) {
458
- if (!J.value.length)
458
+ if (!ee.value.length)
459
459
  return e.value.debug && console.warn("VueUiScatter - There are no series to show."), null;
460
- const a = J.value.find((t) => t.name === l);
460
+ const a = ee.value.find((t) => t.name === l);
461
461
  return a || (e.value.debug && console.warn(`VueUiScatter - Series name not found "${l}"`), null);
462
462
  }
463
463
  function ll(l) {
464
464
  const a = $t(l);
465
- a !== null && F.value.includes(a.id) && Le(a.id);
465
+ a !== null && N.value.includes(a.id) && Le(a.id);
466
466
  }
467
467
  function al(l) {
468
468
  const a = $t(l);
469
- a !== null && (F.value.includes(a.id) || Le(a.id));
469
+ a !== null && (N.value.includes(a.id) || Le(a.id));
470
470
  }
471
471
  function Ge(l = null) {
472
472
  $l(() => {
@@ -480,7 +480,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
480
480
  l ? l(o) : Ol({ csvContent: o, title: e.value.style.title.text || "vue-ui-heatmap" });
481
481
  });
482
482
  }
483
- const Be = T(() => {
483
+ const Be = z(() => {
484
484
  const l = [
485
485
  e.value.table.translations.series,
486
486
  e.value.table.translations.correlationCoefficient,
@@ -511,9 +511,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
511
511
  breakpoint: e.value.table.responsiveBreakpoint
512
512
  };
513
513
  return { head: l, body: a, config: t, colNames: l };
514
- }), re = M(!1);
514
+ }), ce = M(!1);
515
515
  function _t(l) {
516
- re.value = l, lt.value += 1;
516
+ ce.value = l, lt.value += 1;
517
517
  }
518
518
  function Mt() {
519
519
  H.value.showTable = !H.value.showTable;
@@ -526,8 +526,8 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
526
526
  Te.value = !Te.value;
527
527
  }
528
528
  async function ol({ scale: l = 2 } = {}) {
529
- if (!le.value) return;
530
- const { width: a, height: t } = le.value.getBoundingClientRect(), s = a / t, { imageUri: o, base64: u } = await Hl({ domElement: le.value, base64: !0, img: !0, scale: l });
529
+ if (!oe.value) return;
530
+ const { width: a, height: t } = oe.value.getBoundingClientRect(), s = a / t, { imageUri: o, base64: u } = await Hl({ domElement: oe.value, base64: !0, img: !0, scale: l });
531
531
  return {
532
532
  imageUri: o,
533
533
  base64: u,
@@ -612,30 +612,30 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
612
612
  }
613
613
  }
614
614
  }
615
- const il = T(() => {
615
+ const il = z(() => {
616
616
  if (!e.value.usePerformanceMode) return [""];
617
617
  const { left: l, right: a, top: t, bottom: s } = n.value, o = Math.max(1, (a - l) * (s - t)), u = (d) => d / o * 1e4, i = 2.5, f = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
618
618
  return V.value.map((d) => {
619
619
  const _ = [];
620
620
  for (const S of d.plots) {
621
- const z = S.x, X = S.y;
622
- if (z < l || z > a || X < t || X > s) continue;
621
+ const O = S.x, Y = S.y;
622
+ if (O < l || O > a || Y < t || Y > s) continue;
623
623
  const B = Math.max(e.value.style.layout.plots.radius, S.weight);
624
624
  _.push(ul({
625
625
  shape: d.shape || "circle",
626
- cx: z,
627
- cy: X,
626
+ cx: O,
627
+ cy: Y,
628
628
  r: B
629
629
  }));
630
630
  }
631
631
  if (!_.length) return null;
632
- const D = u(d.plots.length) > i || d.plots.length > f;
632
+ const F = u(d.plots.length) > i || d.plots.length > f;
633
633
  return {
634
634
  id: d.id,
635
635
  d: _.join(""),
636
636
  fill: Oe(d.color, L * 100),
637
- stroke: D ? "none" : v,
638
- strokeWidth: D ? 0 : g,
637
+ stroke: F ? "none" : v,
638
+ strokeWidth: F ? 0 : g,
639
639
  strokeOpacity: 1
640
640
  };
641
641
  }).filter(Boolean);
@@ -651,23 +651,23 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
651
651
  const o = s.inverse(), u = t.matrixTransform(o), i = 8, f = i * i;
652
652
  let v = null, g = 1 / 0, L = -1;
653
653
  if (V.value.forEach((d, _) => {
654
- d.plots.forEach((D) => {
655
- const S = D.x - u.x, z = D.y - u.y, X = S * S + z * z;
656
- X <= f && X < g && (g = X, v = D, L = _);
654
+ d.plots.forEach((F) => {
655
+ const S = F.x - u.x, O = F.y - u.y, Y = S * S + O * O;
656
+ Y <= f && Y < g && (g = Y, v = F, L = _);
657
657
  });
658
658
  }), v)
659
- Y.value !== v.id && (Y.value = v.id, Ve(v, L));
660
- else if (Y.value) {
659
+ R.value !== v.id && (R.value = v.id, Ve(v, L));
660
+ else if (R.value) {
661
661
  const d = p.value;
662
- Y.value = void 0, Ae(d, L);
662
+ R.value = void 0, Ae(d, L);
663
663
  }
664
664
  } : () => null;
665
665
  }
666
666
  const At = rl();
667
667
  function vl() {
668
- if (Y.value) {
668
+ if (R.value) {
669
669
  const l = p.value;
670
- Y.value = void 0, Ae(l, null);
670
+ R.value = void 0, Ae(l, null);
671
671
  }
672
672
  }
673
673
  function cl(l) {
@@ -677,7 +677,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
677
677
  je(a, t >= 0 ? t : 0);
678
678
  }
679
679
  }
680
- const be = T(() => {
680
+ const be = z(() => {
681
681
  const l = e.value.table.useDialog && !e.value.table.show, a = H.value.showTable;
682
682
  return {
683
683
  component: l ? Gt : Yt,
@@ -687,8 +687,8 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
687
687
  color: e.value.table.th.color,
688
688
  headerColor: e.value.table.th.color,
689
689
  headerBg: e.value.table.th.backgroundColor,
690
- isFullscreen: re.value,
691
- fullscreenParent: le.value,
690
+ isFullscreen: ce.value,
691
+ fullscreenParent: oe.value,
692
692
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
693
693
  } : {
694
694
  hideDetails: !0,
@@ -713,11 +713,11 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
713
713
  function Lt() {
714
714
  H.value.showTable = !1, Fe.value && Fe.value.setTableIconState(!1);
715
715
  }
716
- const yl = T(() => e.value.style.backgroundColor), dl = T(() => e.value.style.legend), hl = T(() => e.value.style.title), { exportSvg: fl, getSvg: pl } = Rl({
716
+ const yl = z(() => e.value.style.backgroundColor), dl = z(() => e.value.style.legend), hl = z(() => e.value.style.title), { exportSvg: fl, getSvg: pl } = Rl({
717
717
  svg: Me,
718
718
  title: hl,
719
719
  legend: dl,
720
- legendItems: J,
720
+ legendItems: ee,
721
721
  backgroundColor: yl
722
722
  });
723
723
  async function Bt({ isCb: l }) {
@@ -741,22 +741,42 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
741
741
  toggleAnnotator: qe,
742
742
  toggleFullscreen: _t
743
743
  }), (l, a) => (r(), c("div", {
744
- class: zt(`vue-data-ui-component vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
744
+ class: zt(`vue-data-ui-component vue-ui-scatter ${ce.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
745
745
  ref_key: "scatterChart",
746
- ref: le,
747
- id: `vue-ui-scatter_${I.value}`,
748
- style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
746
+ ref: oe,
747
+ id: `vue-ui-scatter_${X.value}`,
748
+ style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
749
749
  onMouseenter: a[5] || (a[5] = () => y(yt)(!0)),
750
750
  onMouseleave: a[6] || (a[6] = () => y(yt)(!1))
751
751
  }, [
752
- e.value.userOptions.buttons.annotator ? (r(), ae(y(Ut), {
752
+ e.value.userOptions.buttons.annotator ? (r(), se(y(Ut), {
753
753
  key: 0,
754
754
  svgRef: y(Me),
755
755
  backgroundColor: e.value.style.backgroundColor,
756
756
  color: e.value.style.color,
757
757
  active: Te.value,
758
758
  onClose: qe
759
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
759
+ }, {
760
+ "annotator-action-close": T(() => [
761
+ P(l.$slots, "annotator-action-close", {}, void 0, !0)
762
+ ]),
763
+ "annotator-action-color": T(({ color: t }) => [
764
+ P(l.$slots, "annotator-action-color", J(K({ color: t })), void 0, !0)
765
+ ]),
766
+ "annotator-action-draw": T(({ mode: t }) => [
767
+ P(l.$slots, "annotator-action-draw", J(K({ mode: t })), void 0, !0)
768
+ ]),
769
+ "annotator-action-undo": T(({ disabled: t }) => [
770
+ P(l.$slots, "annotator-action-undo", J(K({ disabled: t })), void 0, !0)
771
+ ]),
772
+ "annotator-action-redo": T(({ disabled: t }) => [
773
+ P(l.$slots, "annotator-action-redo", J(K({ disabled: t })), void 0, !0)
774
+ ]),
775
+ "annotator-action-delete": T(({ disabled: t }) => [
776
+ P(l.$slots, "annotator-action-delete", J(K({ disabled: t })), void 0, !0)
777
+ ]),
778
+ _: 3
779
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
760
780
  Jt.value ? (r(), c("div", {
761
781
  key: 1,
762
782
  ref_key: "noTitle",
@@ -770,7 +790,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
770
790
  ref: at,
771
791
  style: "width:100%;background:transparent"
772
792
  }, [
773
- (r(), ae(ql, {
793
+ (r(), se(ql, {
774
794
  key: `title_${ut.value}`,
775
795
  config: {
776
796
  title: {
@@ -785,9 +805,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
785
805
  }, null, 8, ["config"]))
786
806
  ], 512)) : x("", !0),
787
807
  w("div", {
788
- id: `legend-top-${I.value}`
808
+ id: `legend-top-${X.value}`
789
809
  }, null, 8, Jl),
790
- e.value.userOptions.show && tt.value && (y(dt) || y(Ye)) ? (r(), ae(y(Vt), {
810
+ e.value.userOptions.show && tt.value && (y(dt) || y(Ye)) ? (r(), se(y(Vt), {
791
811
  ref_key: "userOptionsRef",
792
812
  ref: Fe,
793
813
  key: `user_options_${lt.value}`,
@@ -795,7 +815,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
795
815
  color: e.value.style.color,
796
816
  isImaging: y(gt),
797
817
  isPrinting: y(pt),
798
- uid: I.value,
818
+ uid: X.value,
799
819
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
800
820
  hasPdf: e.value.userOptions.buttons.pdf,
801
821
  hasImg: e.value.userOptions.buttons.img,
@@ -804,9 +824,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
804
824
  hasTable: e.value.userOptions.buttons.table,
805
825
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
806
826
  isTooltip: H.value.showTooltip,
807
- isFullscreen: re.value,
827
+ isFullscreen: ce.value,
808
828
  titles: { ...e.value.userOptions.buttonTitles },
809
- chartElement: le.value,
829
+ chartElement: oe.value,
810
830
  position: e.value.userOptions.position,
811
831
  hasAnnotator: e.value.userOptions.buttons.annotator,
812
832
  isAnnotation: Te.value,
@@ -821,70 +841,70 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
821
841
  onToggleTable: Mt,
822
842
  onToggleTooltip: St,
823
843
  onToggleAnnotator: qe,
824
- style: ue({
844
+ style: re({
825
845
  visibility: y(dt) ? y(Ye) ? "visible" : "hidden" : "visible"
826
846
  })
827
847
  }, Pt({ _: 2 }, [
828
848
  l.$slots.menuIcon ? {
829
849
  name: "menuIcon",
830
- fn: N(({ isOpen: t, color: s }) => [
831
- R(l.$slots, "menuIcon", fe(pe({ isOpen: t, color: s })), void 0, !0)
850
+ fn: T(({ isOpen: t, color: s }) => [
851
+ P(l.$slots, "menuIcon", J(K({ isOpen: t, color: s })), void 0, !0)
832
852
  ]),
833
853
  key: "0"
834
854
  } : void 0,
835
855
  l.$slots.optionTooltip ? {
836
856
  name: "optionTooltip",
837
- fn: N(() => [
838
- R(l.$slots, "optionTooltip", {}, void 0, !0)
857
+ fn: T(() => [
858
+ P(l.$slots, "optionTooltip", {}, void 0, !0)
839
859
  ]),
840
860
  key: "1"
841
861
  } : void 0,
842
862
  l.$slots.optionPdf ? {
843
863
  name: "optionPdf",
844
- fn: N(() => [
845
- R(l.$slots, "optionPdf", {}, void 0, !0)
864
+ fn: T(() => [
865
+ P(l.$slots, "optionPdf", {}, void 0, !0)
846
866
  ]),
847
867
  key: "2"
848
868
  } : void 0,
849
869
  l.$slots.optionCsv ? {
850
870
  name: "optionCsv",
851
- fn: N(() => [
852
- R(l.$slots, "optionCsv", {}, void 0, !0)
871
+ fn: T(() => [
872
+ P(l.$slots, "optionCsv", {}, void 0, !0)
853
873
  ]),
854
874
  key: "3"
855
875
  } : void 0,
856
876
  l.$slots.optionImg ? {
857
877
  name: "optionImg",
858
- fn: N(() => [
859
- R(l.$slots, "optionImg", {}, void 0, !0)
878
+ fn: T(() => [
879
+ P(l.$slots, "optionImg", {}, void 0, !0)
860
880
  ]),
861
881
  key: "4"
862
882
  } : void 0,
863
883
  l.$slots.optionSvg ? {
864
884
  name: "optionSvg",
865
- fn: N(() => [
866
- R(l.$slots, "optionSvg", {}, void 0, !0)
885
+ fn: T(() => [
886
+ P(l.$slots, "optionSvg", {}, void 0, !0)
867
887
  ]),
868
888
  key: "5"
869
889
  } : void 0,
870
890
  l.$slots.optionTable ? {
871
891
  name: "optionTable",
872
- fn: N(() => [
873
- R(l.$slots, "optionTable", {}, void 0, !0)
892
+ fn: T(() => [
893
+ P(l.$slots, "optionTable", {}, void 0, !0)
874
894
  ]),
875
895
  key: "6"
876
896
  } : void 0,
877
897
  l.$slots.optionFullscreen ? {
878
898
  name: "optionFullscreen",
879
- fn: N(({ toggleFullscreen: t, isFullscreen: s }) => [
880
- R(l.$slots, "optionFullscreen", fe(pe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
899
+ fn: T(({ toggleFullscreen: t, isFullscreen: s }) => [
900
+ P(l.$slots, "optionFullscreen", J(K({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
881
901
  ]),
882
902
  key: "7"
883
903
  } : void 0,
884
904
  l.$slots.optionAnnotator ? {
885
905
  name: "optionAnnotator",
886
- fn: N(({ toggleAnnotator: t, isAnnotator: s }) => [
887
- R(l.$slots, "optionAnnotator", fe(pe({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
906
+ fn: T(({ toggleAnnotator: t, isAnnotator: s }) => [
907
+ P(l.$slots, "optionAnnotator", J(K({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
888
908
  ]),
889
909
  key: "8"
890
910
  } : void 0
@@ -893,9 +913,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
893
913
  ref_key: "svgRef",
894
914
  ref: Me,
895
915
  xmlns: y(Tl),
896
- class: zt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
897
- viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
898
- style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
916
+ class: zt({ "vue-data-ui-fullscreen--on": ce.value, "vue-data-ui-fulscreen--off": !ce.value, animated: e.value.useCssAnimation }),
917
+ viewBox: `0 0 ${I.value.width <= 0 ? 10 : I.value.width} ${I.value.height <= 0 ? 10 : I.value.height}`,
918
+ style: re(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
899
919
  onMouseleave: He
900
920
  }, [
901
921
  _e(y(jt)),
@@ -903,18 +923,18 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
903
923
  key: 0,
904
924
  x: 0,
905
925
  y: 0,
906
- width: W.value.width <= 0 ? 10 : W.value.width,
907
- height: W.value.height <= 0 ? 10 : W.value.height,
926
+ width: I.value.width <= 0 ? 10 : I.value.width,
927
+ height: I.value.height <= 0 ? 10 : I.value.height,
908
928
  style: {
909
929
  pointerEvents: "none"
910
930
  }
911
931
  }, [
912
- R(l.$slots, "chart-background", {}, void 0, !0)
932
+ P(l.$slots, "chart-background", {}, void 0, !0)
913
933
  ], 8, ea)) : x("", !0),
914
934
  e.value.style.layout.axis.show ? (r(), c("g", ta, [
915
935
  w("line", {
916
- x1: O.value.x,
917
- x2: O.value.x,
936
+ x1: E.value.x,
937
+ x2: E.value.x,
918
938
  y1: n.value.top,
919
939
  y2: n.value.bottom,
920
940
  stroke: e.value.style.layout.axis.stroke,
@@ -924,8 +944,8 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
924
944
  w("line", {
925
945
  x1: n.value.left,
926
946
  x2: n.value.right,
927
- y1: O.value.y,
928
- y2: O.value.y,
947
+ y1: E.value.y,
948
+ y2: E.value.y,
929
949
  stroke: e.value.style.layout.axis.stroke,
930
950
  "stroke-width": e.value.style.layout.axis.strokeWidth,
931
951
  "stroke-linecap": "round"
@@ -934,7 +954,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
934
954
  e.value.style.layout.marginalBars.show ? (r(), c("g", oa, [
935
955
  w("defs", null, [
936
956
  w("linearGradient", {
937
- id: `marginal_x_${I.value}`,
957
+ id: `marginal_x_${X.value}`,
938
958
  x1: "0%",
939
959
  y1: "0%",
940
960
  x2: "0%",
@@ -950,7 +970,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
950
970
  }, null, 8, ua)
951
971
  ], 8, sa),
952
972
  w("linearGradient", {
953
- id: `marginal_y_${I.value}`,
973
+ id: `marginal_y_${X.value}`,
954
974
  x1: "0%",
955
975
  x2: "100%",
956
976
  y1: "0%",
@@ -966,15 +986,15 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
966
986
  }, null, 8, va)
967
987
  ], 8, ia)
968
988
  ]),
969
- (r(!0), c(Z, null, K(C.value.x, (t, s) => (r(), c("g", null, [
989
+ (r(!0), c(Z, null, te(C.value.x, (t, s) => (r(), c("g", null, [
970
990
  t && C.value.avgX[s] ? (r(), c("rect", {
971
991
  key: 0,
972
992
  x: C.value.avgX[s] - n.value.width / b.value / 2,
973
993
  y: n.value.top - e.value.style.layout.marginalBars.offset - t / C.value.maxX * e.value.style.layout.marginalBars.size,
974
994
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
975
995
  height: t / C.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / C.value.maxX * e.value.style.layout.marginalBars.size,
976
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${I.value})` : e.value.style.layout.marginalBars.fill,
977
- style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
996
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${X.value})` : e.value.style.layout.marginalBars.fill,
997
+ style: re([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
978
998
  stroke: e.value.style.backgroundColor,
979
999
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
980
1000
  rx: e.value.style.layout.marginalBars.borderRadius
@@ -1020,15 +1040,15 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1020
1040
  }, null, 8, pa)
1021
1041
  ])) : x("", !0)
1022
1042
  ]))), 256)),
1023
- (r(!0), c(Z, null, K(C.value.y, (t, s) => (r(), c("g", null, [
1043
+ (r(!0), c(Z, null, te(C.value.y, (t, s) => (r(), c("g", null, [
1024
1044
  t && C.value.avgY[s] ? (r(), c("rect", {
1025
1045
  key: 0,
1026
1046
  x: n.value.right + e.value.style.layout.marginalBars.offset,
1027
1047
  y: C.value.avgY[s] - n.value.height / b.value / 2,
1028
1048
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1029
1049
  width: t / C.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / C.value.maxY * e.value.style.layout.marginalBars.size,
1030
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${I.value})` : e.value.style.layout.marginalBars.fill,
1031
- style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
1050
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${X.value})` : e.value.style.layout.marginalBars.fill,
1051
+ style: re([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
1032
1052
  stroke: e.value.style.backgroundColor,
1033
1053
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
1034
1054
  rx: e.value.style.layout.marginalBars.borderRadius
@@ -1054,7 +1074,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1054
1074
  }, null, 8, ba),
1055
1075
  w("line", {
1056
1076
  x1: n.value.left,
1057
- x2: W.value.width,
1077
+ x2: I.value.width,
1058
1078
  y1: C.value.avgY[s] - n.value.height / b.value / 2,
1059
1079
  y2: C.value.avgY[s] - n.value.height / b.value / 2,
1060
1080
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
@@ -1064,7 +1084,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1064
1084
  }, null, 8, ka),
1065
1085
  w("line", {
1066
1086
  x1: n.value.left,
1067
- x2: W.value.width,
1087
+ x2: I.value.width,
1068
1088
  y1: C.value.avgY[s] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1069
1089
  y2: C.value.avgY[s] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1070
1090
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
@@ -1075,8 +1095,8 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1075
1095
  ])) : x("", !0)
1076
1096
  ]))), 256)),
1077
1097
  e.value.style.layout.marginalBars.showLines ? (r(), c("g", $a, [
1078
- (r(!0), c(Z, null, K(tl.value, (t) => (r(), c(Z, null, [
1079
- F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1098
+ (r(!0), c(Z, null, te(tl.value, (t) => (r(), c(Z, null, [
1099
+ N.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1080
1100
  key: 0,
1081
1101
  d: `M ${t.dX}`,
1082
1102
  stroke: e.value.style.backgroundColor,
@@ -1085,7 +1105,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1085
1105
  "stroke-linejoin": "round",
1086
1106
  fill: "none"
1087
1107
  }, null, 8, _a)),
1088
- F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1108
+ N.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1089
1109
  key: 1,
1090
1110
  d: `M ${t.dX}`,
1091
1111
  stroke: t.color,
@@ -1094,7 +1114,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1094
1114
  "stroke-linejoin": "round",
1095
1115
  fill: "none"
1096
1116
  }, null, 8, Ma)),
1097
- F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1117
+ N.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1098
1118
  key: 2,
1099
1119
  d: `M ${t.dY}`,
1100
1120
  stroke: e.value.style.backgroundColor,
@@ -1103,7 +1123,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1103
1123
  "stroke-linejoin": "round",
1104
1124
  fill: "none"
1105
1125
  }, null, 8, Sa)),
1106
- F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1126
+ N.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1107
1127
  key: 3,
1108
1128
  d: `M ${t.dY}`,
1109
1129
  stroke: t.color,
@@ -1116,7 +1136,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1116
1136
  ])) : x("", !0)
1117
1137
  ])) : x("", !0),
1118
1138
  e.value.style.layout.plots.giftWrap.show ? (r(), c("g", Aa, [
1119
- (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("g", null, [
1139
+ (r(!0), c(Z, null, te(V.value, (t, s) => (r(), c("g", null, [
1120
1140
  t.plots.length > 2 ? (r(), c("polygon", {
1121
1141
  key: 0,
1122
1142
  points: y(zl)({ series: t.plots }),
@@ -1129,29 +1149,29 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1129
1149
  }, null, 8, La)) : x("", !0)
1130
1150
  ]))), 256))
1131
1151
  ])) : x("", !0),
1132
- e.value.usePerformanceMode ? x("", !0) : (r(!0), c(Z, { key: 4 }, K(V.value, (t, s) => (r(), c("g", null, [
1152
+ e.value.usePerformanceMode ? x("", !0) : (r(!0), c(Z, { key: 4 }, te(V.value, (t, s) => (r(), c("g", null, [
1133
1153
  !t.shape || t.shape === "circle" ? (r(), c("g", Ba, [
1134
- (r(!0), c(Z, null, K(t.plots, (o, u) => (r(), c("circle", {
1154
+ (r(!0), c(Z, null, te(t.plots, (o, u) => (r(), c("circle", {
1135
1155
  cx: o.x,
1136
1156
  cy: o.y,
1137
- r: Y.value && Y.value === o.id ? o.weight * 2 : o.weight,
1157
+ r: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1138
1158
  fill: y(Oe)(t.color, e.value.style.layout.plots.opacity * 100),
1139
1159
  stroke: e.value.style.layout.plots.stroke,
1140
1160
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1141
- style: ue(`opacity:${Y.value && Y.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.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}`),
1161
+ style: re(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.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}`),
1142
1162
  onMouseover: (i) => Ve(o, s),
1143
1163
  onMouseleave: (i) => Ae(o, s),
1144
1164
  onClick: (i) => je(o, s)
1145
1165
  }, null, 44, Ta))), 256))
1146
1166
  ])) : (r(), c("g", za, [
1147
- (r(!0), c(Z, null, K(t.plots, (o, u) => (r(), ae(et, {
1167
+ (r(!0), c(Z, null, te(t.plots, (o, u) => (r(), se(et, {
1148
1168
  plot: { x: o.x, y: o.y },
1149
- radius: Y.value && Y.value === o.id ? o.weight * 2 : o.weight,
1169
+ radius: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1150
1170
  shape: t.shape,
1151
1171
  color: y(Oe)(t.color, e.value.style.layout.plots.opacity * 100),
1152
1172
  stroke: e.value.style.layout.plots.stroke,
1153
1173
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1154
- style: ue(`opacity:${Y.value && Y.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.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}`),
1174
+ style: re(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.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}`),
1155
1175
  onMouseover: (i) => Ve(o, s),
1156
1176
  onMouseleave: (i) => Ae(o, s),
1157
1177
  onClick: (i) => je(o, s)
@@ -1160,9 +1180,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1160
1180
  ]))), 256)),
1161
1181
  e.value.usePerformanceMode ? (r(), c(Z, { key: 5 }, [
1162
1182
  w("g", {
1163
- "clip-path": `url(#clip_path_${I.value})`
1183
+ "clip-path": `url(#clip_path_${X.value})`
1164
1184
  }, [
1165
- (r(!0), c(Z, null, K(il.value, (t) => (r(), c("path", {
1185
+ (r(!0), c(Z, null, te(il.value, (t) => (r(), c("path", {
1166
1186
  key: t.id,
1167
1187
  d: t.d,
1168
1188
  fill: t.fill,
@@ -1196,7 +1216,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1196
1216
  ], 64)) : x("", !0),
1197
1217
  p.value && e.value.style.layout.plots.selectors.show ? (r(), c("g", Fa, [
1198
1218
  w("line", {
1199
- x1: O.value.x,
1219
+ x1: E.value.x,
1200
1220
  x2: p.value.x,
1201
1221
  y1: p.value.y,
1202
1222
  y2: p.value.y,
@@ -1209,7 +1229,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1209
1229
  w("line", {
1210
1230
  x1: p.value.x,
1211
1231
  x2: p.value.x,
1212
- y1: O.value.y,
1232
+ y1: E.value.y,
1213
1233
  y2: p.value.y,
1214
1234
  stroke: e.value.style.layout.plots.selectors.stroke,
1215
1235
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
@@ -1218,16 +1238,16 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1218
1238
  class: "line-pointer"
1219
1239
  }, null, 8, Na),
1220
1240
  w("text", {
1221
- x: O.value.x + (p.value.x > O.value.x ? -6 : 6),
1241
+ x: E.value.x + (p.value.x > E.value.x ? -6 : 6),
1222
1242
  y: p.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1223
1243
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1224
1244
  fill: e.value.style.layout.plots.selectors.labels.color,
1225
1245
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1226
- "text-anchor": p.value.x > O.value.x ? "end" : "start"
1227
- }, G(y(ie)(
1246
+ "text-anchor": p.value.x > E.value.x ? "end" : "start"
1247
+ }, G(y(ve)(
1228
1248
  e.value.style.layout.plots.selectors.labels.y.formatter,
1229
1249
  y(q)(p.value.v.y),
1230
- y(ee)({
1250
+ y(le)({
1231
1251
  p: e.value.style.layout.plots.selectors.labels.prefix,
1232
1252
  v: y(q)(p.value.v.y),
1233
1253
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -1237,15 +1257,15 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1237
1257
  )), 9, Ia),
1238
1258
  w("text", {
1239
1259
  x: p.value.x,
1240
- y: O.value.y + (p.value.y > O.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1260
+ y: E.value.y + (p.value.y > E.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1241
1261
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1242
1262
  fill: e.value.style.layout.plots.selectors.labels.color,
1243
1263
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1244
1264
  "text-anchor": "middle"
1245
- }, G(y(ie)(
1265
+ }, G(y(ve)(
1246
1266
  e.value.style.layout.plots.selectors.labels.y.formatter,
1247
1267
  y(q)(p.value.v.x),
1248
- y(ee)({
1268
+ y(le)({
1249
1269
  p: e.value.style.layout.plots.selectors.labels.prefix,
1250
1270
  v: y(q)(p.value.v.x),
1251
1271
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -1254,7 +1274,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1254
1274
  { datapoint: p.value }
1255
1275
  )), 9, Xa),
1256
1276
  w("circle", {
1257
- cx: O.value.x,
1277
+ cx: E.value.x,
1258
1278
  cy: p.value.y,
1259
1279
  r: e.value.style.layout.plots.selectors.markers.radius,
1260
1280
  fill: e.value.style.layout.plots.selectors.markers.fill,
@@ -1264,7 +1284,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1264
1284
  }, null, 8, Ya),
1265
1285
  w("circle", {
1266
1286
  cx: p.value.x,
1267
- cy: O.value.y,
1287
+ cy: E.value.y,
1268
1288
  r: e.value.style.layout.plots.selectors.markers.radius,
1269
1289
  fill: e.value.style.layout.plots.selectors.markers.fill,
1270
1290
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
@@ -1274,11 +1294,11 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1274
1294
  e.value.style.layout.plots.selectors.labels.showName ? (r(), c("text", {
1275
1295
  key: 0,
1276
1296
  x: p.value.x,
1277
- y: p.value.y + (p.value.y < O.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1297
+ y: p.value.y + (p.value.y < E.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1278
1298
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1279
1299
  fill: e.value.style.layout.plots.selectors.labels.color,
1280
1300
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1281
- "text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x > O.value.x ? "start" : "end"
1301
+ "text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x > E.value.x ? "start" : "end"
1282
1302
  }, G(p.value.v.name), 9, Ua)) : x("", !0)
1283
1303
  ])) : x("", !0),
1284
1304
  e.value.style.layout.dataLabels.xAxis.show ? (r(), c("g", {
@@ -1287,7 +1307,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1287
1307
  ref: We
1288
1308
  }, [
1289
1309
  w("text", {
1290
- id: `vue-ui-scatter-xAxis-label-${I.value}`,
1310
+ id: `vue-ui-scatter-xAxis-label-${X.value}`,
1291
1311
  transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize}, ${n.value.top + n.value.height / 2}), rotate(-90)`,
1292
1312
  "text-anchor": "middle",
1293
1313
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
@@ -1298,13 +1318,13 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1298
1318
  "text-anchor": "middle",
1299
1319
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1300
1320
  fill: e.value.style.layout.dataLabels.xAxis.color,
1301
- transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1302
- }, G(y(ie)(
1321
+ transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1322
+ }, G(y(ve)(
1303
1323
  e.value.style.layout.plots.selectors.labels.x.formatter,
1304
- y(q)(P.value.xMin),
1305
- y(ee)({
1324
+ y(q)(D.value.xMin),
1325
+ y(le)({
1306
1326
  p: e.value.style.layout.plots.selectors.labels.prefix,
1307
- v: y(q)(P.value.xMin),
1327
+ v: y(q)(D.value.xMin),
1308
1328
  s: e.value.style.layout.plots.selectors.labels.suffix,
1309
1329
  r: e.value.style.layout.dataLabels.xAxis.rounding
1310
1330
  })
@@ -1315,15 +1335,15 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1315
1335
  ref_key: "xAxisLabelRight",
1316
1336
  ref: Ht,
1317
1337
  "text-anchor": "middle",
1318
- transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1338
+ transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1319
1339
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1320
1340
  fill: e.value.style.layout.dataLabels.xAxis.color
1321
- }, G(y(ie)(
1341
+ }, G(y(ve)(
1322
1342
  e.value.style.layout.plots.selectors.labels.x.formatter,
1323
- y(q)(P.value.xMax),
1324
- y(ee)({
1343
+ y(q)(D.value.xMax),
1344
+ y(le)({
1325
1345
  p: e.value.style.layout.plots.selectors.labels.prefix,
1326
- v: y(q)(P.value.xMax),
1346
+ v: y(q)(D.value.xMax),
1327
1347
  s: e.value.style.layout.plots.selectors.labels.suffix,
1328
1348
  r: e.value.style.layout.dataLabels.xAxis.rounding
1329
1349
  })
@@ -1332,17 +1352,17 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1332
1352
  key: 9,
1333
1353
  ref_key: "yAxisLabelTop",
1334
1354
  ref: Zt,
1335
- x: O.value.x,
1355
+ x: E.value.x,
1336
1356
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
1337
1357
  "text-anchor": "middle",
1338
1358
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1339
1359
  fill: e.value.style.layout.dataLabels.yAxis.color
1340
- }, G(y(ie)(
1360
+ }, G(y(ve)(
1341
1361
  e.value.style.layout.plots.selectors.labels.y.formatter,
1342
- y(q)(P.value.yMax),
1343
- y(ee)({
1362
+ y(q)(D.value.yMax),
1363
+ y(le)({
1344
1364
  p: e.value.style.layout.plots.selectors.labels.prefix,
1345
- v: y(q)(P.value.yMax),
1365
+ v: y(q)(D.value.yMax),
1346
1366
  s: e.value.style.layout.plots.selectors.labels.suffix,
1347
1367
  r: e.value.style.layout.dataLabels.yAxis.rounding
1348
1368
  })
@@ -1353,17 +1373,17 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1353
1373
  ref: Ne
1354
1374
  }, [
1355
1375
  w("text", {
1356
- x: O.value.x,
1357
- y: W.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1376
+ x: E.value.x,
1377
+ y: I.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1358
1378
  "text-anchor": "middle",
1359
1379
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1360
1380
  fill: e.value.style.layout.dataLabels.yAxis.color
1361
- }, G(y(ie)(
1381
+ }, G(y(ve)(
1362
1382
  e.value.style.layout.plots.selectors.labels.y.formatter,
1363
- y(q)(P.value.yMin),
1364
- y(ee)({
1383
+ y(q)(D.value.yMin),
1384
+ y(le)({
1365
1385
  p: e.value.style.layout.plots.selectors.labels.prefix,
1366
- v: y(q)(P.value.yMin),
1386
+ v: y(q)(D.value.yMin),
1367
1387
  s: e.value.style.layout.plots.selectors.labels.suffix,
1368
1388
  r: e.value.style.layout.dataLabels.yAxis.rounding
1369
1389
  })
@@ -1374,11 +1394,11 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1374
1394
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
1375
1395
  fill: e.value.style.layout.dataLabels.yAxis.color,
1376
1396
  x: n.value.left + n.value.width / 2,
1377
- y: W.value.height
1397
+ y: I.value.height
1378
1398
  }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Za)
1379
1399
  ], 512)) : x("", !0),
1380
1400
  w("clipPath", {
1381
- id: `clip_path_${I.value}`
1401
+ id: `clip_path_${X.value}`
1382
1402
  }, [
1383
1403
  w("rect", {
1384
1404
  x: n.value.left,
@@ -1388,7 +1408,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1388
1408
  }, null, 8, Ja)
1389
1409
  ], 8, Qa),
1390
1410
  e.value.style.layout.correlation.show ? (r(), c("g", Ka, [
1391
- (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("line", {
1411
+ (r(!0), c(Z, null, te(V.value, (t, s) => (r(), c("line", {
1392
1412
  x1: t.correlation.x1,
1393
1413
  x2: t.correlation.x2,
1394
1414
  y1: t.correlation.y1,
@@ -1396,9 +1416,9 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1396
1416
  "stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
1397
1417
  stroke: t.color,
1398
1418
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
1399
- "clip-path": `url(#clip_path_${I.value})`
1419
+ "clip-path": `url(#clip_path_${X.value})`
1400
1420
  }, null, 8, eo))), 256)),
1401
- (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("g", null, [
1421
+ (r(!0), c(Z, null, te(V.value, (t, s) => (r(), c("g", null, [
1402
1422
  e.value.style.layout.correlation.label.show ? (r(), c("text", {
1403
1423
  key: 0,
1404
1424
  x: t.correlation.x2,
@@ -1407,53 +1427,53 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1407
1427
  "text-anchor": "end",
1408
1428
  "font-size": e.value.style.layout.correlation.label.fontSize,
1409
1429
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
1410
- }, G(y(ee)({
1430
+ }, G(y(le)({
1411
1431
  v: y(q)(t.correlation.coefficient),
1412
1432
  r: e.value.style.layout.correlation.label.roundingValue
1413
1433
  })), 9, to)) : x("", !0)
1414
1434
  ]))), 256))
1415
1435
  ])) : x("", !0),
1416
- R(l.$slots, "svg", {
1436
+ P(l.$slots, "svg", {
1417
1437
  svg: {
1418
- ...W.value,
1438
+ ...I.value,
1419
1439
  drawingArea: {
1420
1440
  ...n.value,
1421
- zero: O.value
1441
+ zero: E.value
1422
1442
  },
1423
1443
  data: Ce.value
1424
1444
  }
1425
1445
  }, void 0, !0)
1426
1446
  ], 46, Kl)),
1427
1447
  l.$slots.watermark ? (r(), c("div", lo, [
1428
- R(l.$slots, "watermark", fe(pe({ isPrinting: y(pt) || y(gt) })), void 0, !0)
1448
+ P(l.$slots, "watermark", J(K({ isPrinting: y(pt) || y(gt) })), void 0, !0)
1429
1449
  ])) : x("", !0),
1430
1450
  w("div", {
1431
- id: `legend-bottom-${I.value}`
1451
+ id: `legend-bottom-${X.value}`
1432
1452
  }, null, 8, ao),
1433
- vt.value ? (r(), ae(bl, {
1453
+ vt.value ? (r(), se(bl, {
1434
1454
  key: 5,
1435
- to: e.value.style.legend.position === "top" ? `#legend-top-${I.value}` : `#legend-bottom-${I.value}`
1455
+ to: e.value.style.legend.position === "top" ? `#legend-top-${X.value}` : `#legend-bottom-${X.value}`
1436
1456
  }, [
1437
1457
  w("div", {
1438
1458
  ref_key: "chartLegend",
1439
1459
  ref: ot
1440
1460
  }, [
1441
- e.value.style.legend.show ? (r(), ae(Gl, {
1461
+ e.value.style.legend.show ? (r(), se(Gl, {
1442
1462
  key: `legend_${rt.value}`,
1443
- legendSet: J.value,
1463
+ legendSet: ee.value,
1444
1464
  config: Kt.value,
1445
1465
  onClickMarker: a[3] || (a[3] = ({ legend: t }) => Le(t.id))
1446
1466
  }, {
1447
- item: N(({ legend: t }) => [
1467
+ item: T(({ legend: t }) => [
1448
1468
  w("div", {
1449
1469
  onClick: (s) => t.segregate(),
1450
- style: ue(`opacity:${F.value.includes(t.id) ? 0.5 : 1}`)
1470
+ style: re(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`)
1451
1471
  }, G(t.name), 13, oo)
1452
1472
  ]),
1453
1473
  _: 1
1454
- }, 8, ["legendSet", "config"])) : R(l.$slots, "legend", {
1474
+ }, 8, ["legendSet", "config"])) : P(l.$slots, "legend", {
1455
1475
  key: 1,
1456
- legend: J.value
1476
+ legend: ee.value
1457
1477
  }, void 0, !0)
1458
1478
  ], 512)
1459
1479
  ], 8, ["to"])) : x("", !0),
@@ -1463,7 +1483,7 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1463
1483
  ref: st,
1464
1484
  dir: "auto"
1465
1485
  }, [
1466
- R(l.$slots, "source", {}, void 0, !0)
1486
+ P(l.$slots, "source", {}, void 0, !0)
1467
1487
  ], 512)) : x("", !0),
1468
1488
  _e(y(It), {
1469
1489
  show: H.value.showTooltip && De.value,
@@ -1476,22 +1496,22 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1476
1496
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1477
1497
  position: e.value.style.tooltip.position,
1478
1498
  offsetY: e.value.style.tooltip.offsetY,
1479
- parent: le.value,
1499
+ parent: oe.value,
1480
1500
  content: Ee.value,
1481
- isFullscreen: re.value,
1501
+ isFullscreen: ce.value,
1482
1502
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1483
1503
  smooth: e.value.style.tooltip.smooth,
1484
1504
  backdropFilter: e.value.style.tooltip.backdropFilter,
1485
1505
  smoothForce: e.value.style.tooltip.smoothForce,
1486
1506
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1487
1507
  }, {
1488
- "tooltip-before": N(() => [
1489
- R(l.$slots, "tooltip-before", fe(pe({ ...Ue.value })), void 0, !0)
1508
+ "tooltip-before": T(() => [
1509
+ P(l.$slots, "tooltip-before", J(K({ ...Ue.value })), void 0, !0)
1490
1510
  ]),
1491
- "tooltip-after": N(() => [
1492
- R(l.$slots, "tooltip-after", fe(pe({ ...Ue.value })), void 0, !0)
1511
+ "tooltip-after": T(() => [
1512
+ P(l.$slots, "tooltip-after", J(K({ ...Ue.value })), void 0, !0)
1493
1513
  ]),
1494
- default: N(() => [
1514
+ default: T(() => [
1495
1515
  e.value.style.tooltip.showShape ? (r(), c("div", so, [
1496
1516
  (r(), c("svg", no, [
1497
1517
  _e(et, {
@@ -1505,13 +1525,13 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1505
1525
  ]),
1506
1526
  _: 3
1507
1527
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1508
- tt.value && e.value.userOptions.buttons.table ? (r(), ae(kl(be.value.component), wl({ key: 7 }, be.value.props, {
1528
+ tt.value && e.value.userOptions.buttons.table ? (r(), se(kl(be.value.component), wl({ key: 7 }, be.value.props, {
1509
1529
  ref_key: "tableUnit",
1510
1530
  ref: xe,
1511
1531
  onClose: Lt
1512
1532
  }), Pt({
1513
- content: N(() => [
1514
- (r(), ae(y(Rt), {
1533
+ content: T(() => [
1534
+ (r(), se(y(Rt), {
1515
1535
  key: `table_${it.value}`,
1516
1536
  colNames: Be.value.colNames,
1517
1537
  head: Be.value.head,
@@ -1521,10 +1541,10 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1521
1541
  withCloseButton: !e.value.table.useDialog,
1522
1542
  onClose: Lt
1523
1543
  }, {
1524
- th: N(({ th: t }) => [
1544
+ th: T(({ th: t }) => [
1525
1545
  Ot(G(t), 1)
1526
1546
  ]),
1527
- td: N(({ td: t }) => [
1547
+ td: T(({ td: t }) => [
1528
1548
  t.shape ? (r(), c("div", uo, [
1529
1549
  w("span", null, G(t.content), 1)
1530
1550
  ])) : (r(), c("div", {
@@ -1539,14 +1559,14 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1539
1559
  }, [
1540
1560
  e.value.table.useDialog ? {
1541
1561
  name: "title",
1542
- fn: N(() => [
1562
+ fn: T(() => [
1543
1563
  Ot(G(be.value.title), 1)
1544
1564
  ]),
1545
1565
  key: "0"
1546
1566
  } : void 0,
1547
1567
  e.value.table.useDialog ? {
1548
1568
  name: "actions",
1549
- fn: N(() => [
1569
+ fn: T(() => [
1550
1570
  w("button", {
1551
1571
  tabindex: "0",
1552
1572
  class: "vue-ui-user-options-button",
@@ -1561,10 +1581,10 @@ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "heigh
1561
1581
  key: "1"
1562
1582
  } : void 0
1563
1583
  ]), 1040)) : x("", !0),
1564
- y(ct) ? (r(), ae(Xl, { key: 8 })) : x("", !0)
1584
+ y(ct) ? (r(), se(Xl, { key: 8 })) : x("", !0)
1565
1585
  ], 46, Ql));
1566
1586
  }
1567
- }, So = /* @__PURE__ */ Zl(ro, [["__scopeId", "data-v-1efed8d6"]]);
1587
+ }, So = /* @__PURE__ */ Zl(ro, [["__scopeId", "data-v-f81cc924"]]);
1568
1588
  export {
1569
1589
  So as default
1570
1590
  };