vue-data-ui 2.12.8-beta.3 → 2.13.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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as H, computed as x, ref as h, watch as dt, shallowRef as Ue, onMounted as ht, onBeforeUnmount as pt, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as V, normalizeClass as Ge, createBlock as j, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as ft, withCtx as _, renderSlot as M, normalizeProps as ee, guardReactiveProps as te, Fragment as P, renderList as X, toDisplayString as C, createTextVNode as gt, nextTick as mt } from "vue";
2
- import { u as xt, c as bt, t as kt, p as J, a as wt, o as _t, e as me, b as Mt, g as qe, W as $t, a0 as Ct, U as At, X as zt, s as xe, Y as St, i as R, v as A, f as W, q as Tt, r as Lt, x as Bt, y as Ot } from "./index-CH_mJIWj.js";
1
+ import { defineAsyncComponent as H, computed as b, ref as h, watch as dt, shallowRef as Ue, onMounted as ht, onBeforeUnmount as pt, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as j, normalizeClass as Ge, createBlock as R, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as ft, withCtx as _, renderSlot as M, normalizeProps as ee, guardReactiveProps as te, Fragment as W, renderList as Y, toDisplayString as C, createTextVNode as gt, nextTick as mt } from "vue";
2
+ import { u as xt, c as bt, t as kt, p as J, a as wt, o as _t, e as me, b as Mt, g as qe, W as $t, a0 as Ct, U as At, X as zt, s as xe, Y as St, i as E, v as A, f as F, q as Tt, r as Lt, x as Bt, y as Ot } from "./index-BXbyT0Qn.js";
3
3
  import { t as Nt, u as Pt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as He } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as Wt } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as He } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as Wt } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as It } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xt from "./Legend-DRqzYrP9.js";
9
- import Yt from "./Title-apr_T9tg.js";
10
- import { _ as Je } from "./Shape-DEWxbZ-l.js";
8
+ import Xt from "./Legend-DcDRW3Xd.js";
9
+ import Yt from "./Title-DoWqzga-.js";
10
+ import { _ as Je } from "./Shape-CnD-h_98.js";
11
11
  import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { key: 1 }, Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = { key: 2 }, Ht = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Jt = { key: 0 }, Kt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Qt = { key: 1 }, Zt = { key: 3 }, el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["id"], ol = ["stop-color"], sl = ["stop-color"], ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], il = { key: 0 }, nl = ["d", "stroke", "stroke-width"], vl = ["d", "stroke", "stroke-width"], yl = ["d", "stroke", "stroke-width"], cl = ["d", "stroke", "stroke-width"], dl = {
13
13
  key: 4,
@@ -40,32 +40,32 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
40
40
  }
41
41
  },
42
42
  setup(Ke, { expose: Qe }) {
43
- const Ze = H(() => import("./vue-ui-accordion-Ds4zkPIx.js")), et = H(() => import("./DataTable-BBqbcutV.js")), tt = H(() => import("./PackageVersion-ClpqQxYT.js")), lt = H(() => import("./PenAndPaper-B-T7XvxF.js")), at = H(() => import("./vue-ui-skeleton-C6PWt_m5.js")), ot = H(() => import("./Tooltip-BuHsMAfp.js")), st = H(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_scatter: ut } = xt(), F = Ke, ae = x(() => !!F.dataset && F.dataset.length), z = h(bt()), rt = h(null), ie = h(!1), ne = h(""), be = h(0), le = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), e = x({
43
+ const Ze = H(() => import("./vue-ui-accordion-CXsjHe1y.js")), et = H(() => import("./DataTable-DBkfb6pd.js")), tt = H(() => import("./PackageVersion-C5fpg4GN.js")), lt = H(() => import("./PenAndPaper-BRkuVFb4.js")), at = H(() => import("./vue-ui-skeleton-Fxr752Oi.js")), ot = H(() => import("./Tooltip-DYCBNM-_.js")), st = H(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_scatter: ut } = xt(), I = Ke, ae = b(() => !!I.dataset && I.dataset.length), z = h(bt()), rt = h(null), ie = h(!1), ne = h(""), be = h(0), le = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), e = b({
44
44
  get: () => Le(),
45
45
  set: (t) => t
46
46
  }), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Se } = Ft({ config: e.value }), { svgRef: Te } = It({ config: e.value.style.title });
47
47
  function Le() {
48
48
  const t = He({
49
- userConfig: F.config,
49
+ userConfig: I.config,
50
50
  defaultConfig: ut
51
51
  });
52
52
  return t.theme ? {
53
53
  ...He({
54
- userConfig: wt.vue_ui_scatter[t.theme] || F.config,
54
+ userConfig: wt.vue_ui_scatter[t.theme] || I.config,
55
55
  defaultConfig: t
56
56
  }),
57
57
  customPalette: kt[t.theme] || J
58
58
  } : t;
59
59
  }
60
- dt(() => F.config, (t) => {
61
- e.value = Le(), ve.value = !e.value.userOptions.showOnChartHover, Be(), $e.value += 1, Ce.value += 1, Ae.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show;
60
+ dt(() => I.config, (t) => {
61
+ e.value = Le(), ve.value = !e.value.userOptions.showOnChartHover, Be(), $e.value += 1, Ce.value += 1, Ae.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.tooltip.show;
62
62
  }, { deep: !0 });
63
- const Y = Ue(null), K = Ue(null);
63
+ const D = Ue(null), K = Ue(null);
64
64
  ht(() => {
65
65
  Be();
66
66
  });
67
67
  function Be() {
68
- if (_t(F.dataset) && me({
68
+ if (_t(I.dataset) && me({
69
69
  componentName: "VueUiScatter",
70
70
  type: "dataset"
71
71
  }), e.value.responsive) {
@@ -78,64 +78,64 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
78
78
  noTitle: Me.value
79
79
  });
80
80
  requestAnimationFrame(() => {
81
- b.value.width = r, b.value.height = l;
81
+ k.value.width = r, k.value.height = l;
82
82
  });
83
83
  });
84
- Y.value && (K.value && Y.value.unobserve(K.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), K.value = le.value.parentNode, Y.value.observe(K.value);
84
+ D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect()), D.value = new ResizeObserver(t), K.value = le.value.parentNode, D.value.observe(K.value);
85
85
  }
86
86
  }
87
87
  pt(() => {
88
- Y.value && (K.value && Y.value.unobserve(K.value), Y.value.disconnect());
88
+ D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect());
89
89
  });
90
90
  const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: We } = Wt({
91
91
  elementId: `vue-ui-scatter_${z.value}`,
92
92
  fileName: e.value.style.title.text || "vue-ui-scatter",
93
93
  options: e.value.userOptions.print
94
- }), it = x(() => e.value.userOptions.show && !e.value.style.title.text), Fe = x(() => Mt(e.value.customPalette)), B = h({
94
+ }), it = b(() => e.value.userOptions.show && !e.value.style.title.text), Fe = b(() => Mt(e.value.customPalette)), O = h({
95
95
  showTable: e.value.table.show,
96
96
  showTooltip: e.value.style.tooltip.show
97
- }), b = h({
97
+ }), k = h({
98
98
  height: e.value.style.layout.height,
99
99
  width: e.value.style.layout.width
100
- }), oe = x(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = x(() => ({
100
+ }), oe = b(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = b(() => ({
101
101
  top: e.value.style.layout.padding.top + oe.value,
102
- right: b.value.width - e.value.style.layout.padding.right - oe.value,
103
- bottom: b.value.height - e.value.style.layout.padding.bottom,
102
+ right: k.value.width - e.value.style.layout.padding.right - oe.value,
103
+ bottom: k.value.height - e.value.style.layout.padding.bottom,
104
104
  left: e.value.style.layout.padding.left,
105
- height: b.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - oe.value,
106
- width: b.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - oe.value
107
- })), p = x(() => {
108
- F.dataset.forEach((a, v) => {
105
+ height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - oe.value,
106
+ width: k.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - oe.value
107
+ })), p = b(() => {
108
+ I.dataset.forEach((a, v) => {
109
109
  qe({
110
110
  datasetObject: a,
111
111
  requiredAttributes: ["values"]
112
- }).forEach((k) => {
112
+ }).forEach((f) => {
113
113
  me({
114
114
  componentName: "VueUiScatter",
115
115
  type: "datasetSerieAttribute",
116
- property: k,
116
+ property: f,
117
117
  index: v
118
118
  });
119
- }), a.values && a.values.forEach((k, U) => {
119
+ }), a.values && a.values.forEach((f, L) => {
120
120
  qe({
121
- datasetObject: k,
121
+ datasetObject: f,
122
122
  requiredAttributes: ["x", "y"]
123
123
  }).forEach((Z) => {
124
124
  me({
125
125
  componentName: "VueUiScatter",
126
126
  type: "datasetSerieAttribute",
127
127
  property: `values.${Z}`,
128
- index: `${v} - ${U}`
128
+ index: `${v} - ${L}`
129
129
  });
130
130
  });
131
131
  });
132
132
  });
133
- const t = Math.min(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), r = Math.max(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
133
+ const t = Math.min(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), r = Math.max(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
134
134
  return { xMin: t >= 0 ? 0 : t, xMax: r, yMin: l >= 0 ? 0 : l, yMax: s };
135
- }), f = x(() => ({
135
+ }), g = b(() => ({
136
136
  x: n.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
137
137
  y: n.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * n.value.height
138
- })), E = x(() => F.dataset.map((t, r) => {
138
+ })), U = b(() => I.dataset.map((t, r) => {
139
139
  const l = `cluster_${z.value}_${r}`;
140
140
  return {
141
141
  ...t,
@@ -145,19 +145,19 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
145
145
  }),
146
146
  id: l,
147
147
  color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
148
- opacity: m.value.includes(l) ? 0.5 : 1,
148
+ opacity: x.value.includes(l) ? 0.5 : 1,
149
149
  shape: t.shape ?? "circle",
150
150
  segregate: () => Ve(l),
151
- isSegregated: m.value.includes(l)
151
+ isSegregated: x.value.includes(l)
152
152
  };
153
- })), nt = x(() => ({
153
+ })), nt = b(() => ({
154
154
  cy: "scatter-div-legend",
155
155
  backgroundColor: e.value.style.legend.backgroundColor,
156
156
  color: e.value.style.legend.color,
157
157
  fontSize: e.value.style.legend.fontSize,
158
158
  paddingBottom: 12,
159
159
  fontWeight: e.value.style.legend.bold ? "bold" : ""
160
- })), ye = x(() => E.value.map((t, r) => ({
160
+ })), ye = b(() => U.value.map((t, r) => ({
161
161
  ...t,
162
162
  plots: t.values.map((l) => ({
163
163
  x: n.value.left + (l.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
@@ -171,36 +171,36 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
171
171
  id: `plot_${z.value}_${Math.random()}`,
172
172
  weight: l.weight ?? e.value.style.layout.plots.radius
173
173
  }))
174
- })).filter((t) => !m.value.includes(t.id))), S = x(() => ye.value.map((t) => {
175
- const r = t.plots.reduce((g, G) => g + G.x, 0) / t.plots.length, l = t.plots.reduce((g, G) => g + G.y, 0) / t.plots.length;
174
+ })).filter((t) => !x.value.includes(t.id))), S = b(() => ye.value.map((t) => {
175
+ const r = t.plots.reduce((m, G) => m + G.x, 0) / t.plots.length, l = t.plots.reduce((m, G) => m + G.y, 0) / t.plots.length;
176
176
  let s = 0, a = 0, v = 0;
177
- for (const g of t.plots)
178
- s += (g.x - r) * (g.y - l), a += (g.x - r) ** 2, v += (g.y - l) ** 2;
179
- const k = s / Math.sqrt(a * v), U = k * (Math.sqrt(v) / Math.sqrt(a)), Z = l - U * r, N = {
177
+ for (const m of t.plots)
178
+ s += (m.x - r) * (m.y - l), a += (m.x - r) ** 2, v += (m.y - l) ** 2;
179
+ const f = s / Math.sqrt(a * v), L = f * (Math.sqrt(v) / Math.sqrt(a)), Z = l - L * r, P = {
180
180
  x1: n.value.left,
181
181
  x2: n.value.right,
182
- y1: U * n.value.left + Z,
183
- y2: U * n.value.right + Z,
184
- coefficient: k
185
- }, $ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - $ * N.x1, I = Math.min(b.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (n.value.top - L) / $)), re = {
186
- x: I,
187
- y: $ * I + L <= e.value.style.layout.padding.top ? n.value.top : $ * I + L
182
+ y1: L * n.value.left + Z,
183
+ y2: L * n.value.right + Z,
184
+ coefficient: f
185
+ }, $ = (P.y2 - P.y1) / (P.x2 - P.x1), B = P.y1 - $ * P.x1, X = Math.min(k.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (n.value.top - B) / $)), re = {
186
+ x: X,
187
+ y: $ * X + B <= e.value.style.layout.padding.top ? n.value.top : $ * X + B
188
188
  };
189
189
  return {
190
190
  ...t,
191
- correlation: N,
191
+ correlation: P,
192
192
  label: re,
193
- plots: t.plots.map((g) => {
194
- const G = (g.x + $ * g.y - $ * L) / (1 + Math.pow($, 2)), he = ($ * g.x + Math.pow($, 2) * g.y + L) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - he, 2));
193
+ plots: t.plots.map((m) => {
194
+ const G = (m.x + $ * m.y - $ * B) / (1 + Math.pow($, 2)), he = ($ * m.x + Math.pow($, 2) * m.y + B) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(m.x - G, 2) + Math.pow(m.y - he, 2));
195
195
  return {
196
- ...g,
196
+ ...m,
197
197
  deviation: w,
198
198
  shape: t.shape,
199
199
  color: t.color
200
200
  };
201
201
  })
202
202
  };
203
- })), Ie = x(() => Math.max(...S.value.flatMap((t) => t.plots.map((r) => Math.abs(r.deviation)))));
203
+ })), Ie = b(() => Math.max(...S.value.flatMap((t) => t.plots.map((r) => Math.abs(r.deviation)))));
204
204
  function vt() {
205
205
  return S.value;
206
206
  }
@@ -212,25 +212,25 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
212
212
  x: w.x,
213
213
  y: w.y
214
214
  }));
215
- let s = 1 / 0, a = -1 / 0, v = 1 / 0, k = -1 / 0;
215
+ let s = 1 / 0, a = -1 / 0, v = 1 / 0, f = -1 / 0;
216
216
  l.forEach(({ x: w, y: q }) => {
217
- s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, q), k = Math.max(k, q);
217
+ s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, q), f = Math.max(f, q);
218
218
  });
219
- const U = a - s, Z = k - v, N = U / r, $ = Z / r, L = Array(r).fill(0), I = Array(r).fill(0);
219
+ const L = a - s, Z = f - v, P = L / r, $ = Z / r, B = Array(r).fill(0), X = Array(r).fill(0);
220
220
  l.forEach(({ x: w, y: q }) => {
221
- const pe = Math.floor((w - s) / N), fe = Math.floor((q - v) / $);
222
- L[pe] || (L[pe] = 0), I[fe] || (I[fe] = 0), L[pe] += 1, I[fe] += 1;
221
+ const pe = Math.floor((w - s) / P), fe = Math.floor((q - v) / $);
222
+ B[pe] || (B[pe] = 0), X[fe] || (X[fe] = 0), B[pe] += 1, X[fe] += 1;
223
223
  });
224
- const re = [], g = [];
224
+ const re = [], m = [];
225
225
  for (let w = 0; w < r; w += 1)
226
- re.push(s + (w + 0.5) * N), g.push(v + (w + 0.5) * $);
227
- const G = Math.max(...L), he = Math.max(...I);
228
- return { x: L, y: I, avgX: re, avgY: g, maxX: G, maxY: he };
226
+ re.push(s + (w + 0.5) * P), m.push(v + (w + 0.5) * $);
227
+ const G = Math.max(...B), he = Math.max(...X);
228
+ return { x: B, y: X, avgX: re, avgY: m, maxX: G, maxY: he };
229
229
  }
230
- const D = x(() => e.value.style.layout.marginalBars.tranches), T = x(() => Xe(ye.value, D.value)), yt = x(() => {
230
+ const V = b(() => e.value.style.layout.marginalBars.tranches), T = b(() => Xe(ye.value, V.value)), yt = b(() => {
231
231
  const t = n.value.top - e.value.style.layout.marginalBars.offset, r = n.value.right + e.value.style.layout.marginalBars.offset;
232
232
  return ye.value.map((l) => {
233
- const s = Xe(l, D.value);
233
+ const s = Xe(l, V.value);
234
234
  return {
235
235
  coords: s,
236
236
  dX: At(s.avgX.map((a, v) => ({
@@ -245,9 +245,9 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
245
245
  id: l.id
246
246
  };
247
247
  });
248
- }), O = h(void 0), y = h(null), ce = h(null);
248
+ }), N = h(void 0), y = h(null), ce = h(null);
249
249
  function Ye(t, r) {
250
- O.value = t.id, y.value = t;
250
+ N.value = t.id, y.value = t;
251
251
  let l = "";
252
252
  ce.value = {
253
253
  datapoint: t,
@@ -266,51 +266,51 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
266
266
  seriesIndex: r,
267
267
  series: S.value,
268
268
  config: e.value
269
- }) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : R(
269
+ }) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : E(
270
270
  e.value.style.layout.plots.selectors.labels.x.formatter,
271
271
  t.v.x,
272
- W({
272
+ F({
273
273
  p: e.value.style.tooltip.prefix,
274
274
  v: t.v.x,
275
275
  s: e.value.style.tooltip.suffix,
276
276
  r: e.value.style.tooltip.roundingValue
277
277
  }),
278
278
  { datapoint: t, seriesIndex: r }
279
- )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : R(
279
+ )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : E(
280
280
  e.value.style.layout.plots.selectors.labels.y.formatter,
281
281
  t.v.y,
282
- W({
282
+ F({
283
283
  p: e.value.style.tooltip.prefix,
284
284
  v: t.v.y,
285
285
  s: e.value.style.tooltip.suffix,
286
286
  r: e.value.style.tooltip.roundingValue
287
287
  }),
288
288
  { datapoint: t, seriesIndex: r }
289
- )}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
289
+ )}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${F({
290
290
  v: t.deviation,
291
291
  r: e.value.style.layout.plots.deviation.roundingValue
292
292
  })}</b>`, l += "</div>", ne.value = `<div>${l}</div>`), ie.value = !0;
293
293
  }
294
294
  function De() {
295
- ie.value = !1, O.value = void 0, y.value = null;
295
+ ie.value = !1, N.value = void 0, y.value = null;
296
296
  }
297
- const m = h([]);
297
+ const x = h([]);
298
298
  function Ve(t) {
299
- m.value.includes(t) ? m.value = m.value.filter((r) => r !== t) : m.value.length < F.dataset.length - 1 && m.value.push(t);
299
+ x.value.includes(t) ? x.value = x.value.filter((r) => r !== t) : x.value.length < I.dataset.length - 1 && x.value.push(t);
300
300
  }
301
- function je() {
301
+ function je(t = null) {
302
302
  mt(() => {
303
- const t = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], r = S.value.map((a) => [
304
- a.name,
305
- a.correlation.coefficient,
306
- a.plots.length,
307
- a.plots.map((v) => v.v.x).reduce((v, k) => v + k, 0) / a.plots.length,
308
- a.plots.map((v) => v.v.y).reduce((v, k) => v + k, 0) / a.plots.length
309
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(r), s = Tt(l);
310
- Lt({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
303
+ const r = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], l = S.value.map((v) => [
304
+ v.name,
305
+ v.correlation.coefficient,
306
+ v.plots.length,
307
+ v.plots.map((f) => f.v.x).reduce((f, L) => f + L, 0) / v.plots.length,
308
+ v.plots.map((f) => f.v.y).reduce((f, L) => f + L, 0) / v.plots.length
309
+ ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([r]).concat(l), a = Tt(s);
310
+ t ? t(a) : Lt({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
311
311
  });
312
312
  }
313
- const se = x(() => {
313
+ const se = b(() => {
314
314
  const t = [
315
315
  e.value.table.translations.series,
316
316
  e.value.table.translations.correlationCoefficient,
@@ -346,10 +346,10 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
346
346
  Q.value = t, be.value += 1;
347
347
  }
348
348
  function Re() {
349
- B.value.showTable = !B.value.showTable;
349
+ O.value.showTable = !O.value.showTable;
350
350
  }
351
351
  function Ee() {
352
- B.value.showTooltip = !B.value.showTooltip;
352
+ O.value.showTooltip = !O.value.showTooltip;
353
353
  }
354
354
  const ue = h(!1);
355
355
  function de() {
@@ -368,11 +368,11 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
368
368
  ref_key: "scatterChart",
369
369
  ref: le,
370
370
  id: `vue-ui-scatter_${z.value}`,
371
- style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
371
+ style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
372
372
  onMouseenter: r[2] || (r[2] = () => u(ze)(!0)),
373
373
  onMouseleave: r[3] || (r[3] = () => u(ze)(!1))
374
374
  }, [
375
- e.value.userOptions.buttons.annotator ? (o(), j(u(lt), {
375
+ e.value.userOptions.buttons.annotator ? (o(), R(u(lt), {
376
376
  key: 0,
377
377
  svgRef: u(Te),
378
378
  backgroundColor: e.value.style.backgroundColor,
@@ -393,7 +393,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
393
393
  ref: ke,
394
394
  style: "width:100%;background:transparent"
395
395
  }, [
396
- (o(), j(Yt, {
396
+ (o(), R(Yt, {
397
397
  key: `title_${$e.value}`,
398
398
  config: {
399
399
  title: {
@@ -407,7 +407,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
407
407
  }
408
408
  }, null, 8, ["config"]))
409
409
  ], 512)) : c("", !0),
410
- e.value.userOptions.show && ae.value && (u(Se) || u(ve)) ? (o(), j(u(st), {
410
+ e.value.userOptions.show && ae.value && (u(Se) || u(ve)) ? (o(), R(u(st), {
411
411
  ref_key: "details",
412
412
  ref: rt,
413
413
  key: `user_options_${be.value}`,
@@ -422,7 +422,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
422
422
  hasXls: e.value.userOptions.buttons.csv,
423
423
  hasTable: e.value.userOptions.buttons.table,
424
424
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
425
- isTooltip: B.value.showTooltip,
425
+ isTooltip: O.value.showTooltip,
426
426
  isFullscreen: Q.value,
427
427
  titles: { ...e.value.userOptions.buttonTitles },
428
428
  chartElement: le.value,
@@ -437,7 +437,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
437
437
  onToggleTable: Re,
438
438
  onToggleTooltip: Ee,
439
439
  onToggleAnnotator: de,
440
- style: V({
440
+ style: j({
441
441
  visibility: u(Se) ? u(ve) ? "visible" : "hidden" : "visible"
442
442
  })
443
443
  }, ft({ _: 2 }, [
@@ -504,16 +504,16 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
504
504
  ref: Te,
505
505
  xmlns: u(zt),
506
506
  class: Ge({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
507
- viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
508
- style: V(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
507
+ viewBox: `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`,
508
+ style: j(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
509
509
  }, [
510
510
  ge(u(tt)),
511
511
  t.$slots["chart-background"] ? (o(), i("foreignObject", {
512
512
  key: 0,
513
513
  x: 0,
514
514
  y: 0,
515
- width: b.value.width <= 0 ? 10 : b.value.width,
516
- height: b.value.height <= 0 ? 10 : b.value.height,
515
+ width: k.value.width <= 0 ? 10 : k.value.width,
516
+ height: k.value.height <= 0 ? 10 : k.value.height,
517
517
  style: {
518
518
  pointerEvents: "none"
519
519
  }
@@ -522,8 +522,8 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
522
522
  ], 8, Rt)) : c("", !0),
523
523
  e.value.style.layout.axis.show ? (o(), i("g", Et, [
524
524
  d("line", {
525
- x1: f.value.x,
526
- x2: f.value.x,
525
+ x1: g.value.x,
526
+ x2: g.value.x,
527
527
  y1: n.value.top,
528
528
  y2: n.value.bottom,
529
529
  stroke: e.value.style.layout.axis.stroke,
@@ -533,15 +533,15 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
533
533
  d("line", {
534
534
  x1: n.value.left,
535
535
  x2: n.value.right,
536
- y1: f.value.y,
537
- y2: f.value.y,
536
+ y1: g.value.y,
537
+ y2: g.value.y,
538
538
  stroke: e.value.style.layout.axis.stroke,
539
539
  "stroke-width": e.value.style.layout.axis.strokeWidth,
540
540
  "stroke-linecap": "round"
541
541
  }, null, 8, Gt)
542
542
  ])) : c("", !0),
543
543
  e.value.style.layout.plots.giftWrap.show ? (o(), i("g", qt, [
544
- (o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
544
+ (o(!0), i(W, null, Y(S.value, (l, s) => (o(), i("g", null, [
545
545
  l.plots.length > 2 ? (o(), i("polygon", {
546
546
  key: 0,
547
547
  points: u(St)({ series: l.plots }),
@@ -554,30 +554,30 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
554
554
  }, null, 8, Ht)) : c("", !0)
555
555
  ]))), 256))
556
556
  ])) : c("", !0),
557
- (o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
557
+ (o(!0), i(W, null, Y(S.value, (l, s) => (o(), i("g", null, [
558
558
  !l.shape || l.shape === "circle" ? (o(), i("g", Jt, [
559
- (o(!0), i(P, null, X(l.plots, (a, v) => (o(), i("circle", {
559
+ (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), i("circle", {
560
560
  cx: a.x,
561
561
  cy: a.y,
562
- r: O.value && O.value === a.id ? a.weight * 2 : a.weight,
562
+ r: N.value && N.value === a.id ? a.weight * 2 : a.weight,
563
563
  fill: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
564
564
  stroke: e.value.style.layout.plots.stroke,
565
565
  "stroke-width": e.value.style.layout.plots.strokeWidth,
566
- onMouseover: (k) => Ye(a, s),
566
+ onMouseover: (f) => Ye(a, s),
567
567
  onMouseleave: De,
568
- style: V(`opacity:${O.value && O.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
568
+ style: j(`opacity:${N.value && N.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
569
569
  }, null, 44, Kt))), 256))
570
570
  ])) : (o(), i("g", Qt, [
571
- (o(!0), i(P, null, X(l.plots, (a, v) => (o(), j(Je, {
571
+ (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), R(Je, {
572
572
  plot: { x: a.x, y: a.y },
573
- radius: O.value && O.value === a.id ? a.weight * 2 : a.weight,
573
+ radius: N.value && N.value === a.id ? a.weight * 2 : a.weight,
574
574
  shape: l.shape,
575
575
  color: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
576
576
  stroke: e.value.style.layout.plots.stroke,
577
577
  strokeWidth: e.value.style.layout.plots.strokeWidth,
578
- onMouseover: (k) => Ye(a, s),
578
+ onMouseover: (f) => Ye(a, s),
579
579
  onMouseleave: De,
580
- style: V(`opacity:${O.value && O.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
580
+ style: j(`opacity:${N.value && N.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
581
581
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
582
582
  ]))
583
583
  ]))), 256)),
@@ -616,37 +616,37 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
616
616
  }, null, 8, sl)
617
617
  ], 8, al)
618
618
  ]),
619
- (o(!0), i(P, null, X(T.value.x, (l, s) => (o(), i("g", null, [
619
+ (o(!0), i(W, null, Y(T.value.x, (l, s) => (o(), i("g", null, [
620
620
  l && T.value.avgX[s] ? (o(), i("rect", {
621
621
  key: 0,
622
- x: T.value.avgX[s] - n.value.width / D.value / 2,
622
+ x: T.value.avgX[s] - n.value.width / V.value / 2,
623
623
  y: n.value.top - e.value.style.layout.marginalBars.offset - l / T.value.maxX * e.value.style.layout.marginalBars.size,
624
- width: n.value.width / D.value <= 0 ? 1e-4 : n.value.width / D.value,
624
+ width: n.value.width / V.value <= 0 ? 1e-4 : n.value.width / V.value,
625
625
  height: l / T.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxX * e.value.style.layout.marginalBars.size,
626
626
  fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
627
- style: V(`opacity:${e.value.style.layout.marginalBars.opacity}`),
627
+ style: j(`opacity:${e.value.style.layout.marginalBars.opacity}`),
628
628
  stroke: e.value.style.backgroundColor,
629
629
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
630
630
  rx: e.value.style.layout.marginalBars.borderRadius
631
631
  }, null, 12, ul)) : c("", !0)
632
632
  ]))), 256)),
633
- (o(!0), i(P, null, X(T.value.y, (l, s) => (o(), i("g", null, [
633
+ (o(!0), i(W, null, Y(T.value.y, (l, s) => (o(), i("g", null, [
634
634
  l && T.value.avgY[s] ? (o(), i("rect", {
635
635
  key: 0,
636
636
  x: n.value.right + e.value.style.layout.marginalBars.offset,
637
- y: T.value.avgY[s] - n.value.height / D.value / 2,
638
- height: n.value.height / D.value <= 0 ? 1e-4 : n.value.height / D.value,
637
+ y: T.value.avgY[s] - n.value.height / V.value / 2,
638
+ height: n.value.height / V.value <= 0 ? 1e-4 : n.value.height / V.value,
639
639
  width: l / T.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxY * e.value.style.layout.marginalBars.size,
640
640
  fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
641
- style: V(`opacity:${e.value.style.layout.marginalBars.opacity}`),
641
+ style: j(`opacity:${e.value.style.layout.marginalBars.opacity}`),
642
642
  stroke: e.value.style.backgroundColor,
643
643
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
644
644
  rx: e.value.style.layout.marginalBars.borderRadius
645
645
  }, null, 12, rl)) : c("", !0)
646
646
  ]))), 256)),
647
647
  e.value.style.layout.marginalBars.showLines ? (o(), i("g", il, [
648
- (o(!0), i(P, null, X(yt.value, (l) => (o(), i(P, null, [
649
- m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
648
+ (o(!0), i(W, null, Y(yt.value, (l) => (o(), i(W, null, [
649
+ x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
650
650
  key: 0,
651
651
  d: `M ${l.dX}`,
652
652
  stroke: e.value.style.backgroundColor,
@@ -655,7 +655,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
655
655
  "stroke-linejoin": "round",
656
656
  fill: "none"
657
657
  }, null, 8, nl)),
658
- m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
658
+ x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
659
659
  key: 1,
660
660
  d: `M ${l.dX}`,
661
661
  stroke: l.color,
@@ -664,7 +664,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
664
664
  "stroke-linejoin": "round",
665
665
  fill: "none"
666
666
  }, null, 8, vl)),
667
- m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
667
+ x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
668
668
  key: 2,
669
669
  d: `M ${l.dY}`,
670
670
  stroke: e.value.style.backgroundColor,
@@ -673,7 +673,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
673
673
  "stroke-linejoin": "round",
674
674
  fill: "none"
675
675
  }, null, 8, yl)),
676
- m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
676
+ x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
677
677
  key: 3,
678
678
  d: `M ${l.dY}`,
679
679
  stroke: l.color,
@@ -687,7 +687,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
687
687
  ])) : c("", !0),
688
688
  y.value && e.value.style.layout.plots.selectors.show ? (o(), i("g", dl, [
689
689
  d("line", {
690
- x1: f.value.x,
690
+ x1: g.value.x,
691
691
  x2: y.value.x,
692
692
  y1: y.value.y,
693
693
  y2: y.value.y,
@@ -700,7 +700,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
700
700
  d("line", {
701
701
  x1: y.value.x,
702
702
  x2: y.value.x,
703
- y1: f.value.y,
703
+ y1: g.value.y,
704
704
  y2: y.value.y,
705
705
  stroke: e.value.style.layout.plots.selectors.stroke,
706
706
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
@@ -709,16 +709,16 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
709
709
  class: "line-pointer"
710
710
  }, null, 8, pl),
711
711
  d("text", {
712
- x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
712
+ x: g.value.x + (y.value.x > g.value.x ? -6 : 6),
713
713
  y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
714
714
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
715
715
  fill: e.value.style.layout.plots.selectors.labels.color,
716
716
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
717
- "text-anchor": y.value.x > f.value.x ? "end" : "start"
718
- }, C(u(R)(
717
+ "text-anchor": y.value.x > g.value.x ? "end" : "start"
718
+ }, C(u(E)(
719
719
  e.value.style.layout.plots.selectors.labels.y.formatter,
720
720
  u(A)(y.value.v.y),
721
- u(W)({
721
+ u(F)({
722
722
  p: e.value.style.layout.plots.selectors.labels.prefix,
723
723
  v: u(A)(y.value.v.y),
724
724
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -728,15 +728,15 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
728
728
  )), 9, fl),
729
729
  d("text", {
730
730
  x: y.value.x,
731
- y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
731
+ y: g.value.y + (y.value.y > g.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
732
732
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
733
733
  fill: e.value.style.layout.plots.selectors.labels.color,
734
734
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
735
735
  "text-anchor": "middle"
736
- }, C(u(R)(
736
+ }, C(u(E)(
737
737
  e.value.style.layout.plots.selectors.labels.y.formatter,
738
738
  u(A)(y.value.v.x),
739
- u(W)({
739
+ u(F)({
740
740
  p: e.value.style.layout.plots.selectors.labels.prefix,
741
741
  v: u(A)(y.value.v.x),
742
742
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -745,7 +745,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
745
745
  { datapoint: y.value }
746
746
  )), 9, gl),
747
747
  d("circle", {
748
- cx: f.value.x,
748
+ cx: g.value.x,
749
749
  cy: y.value.y,
750
750
  r: e.value.style.layout.plots.selectors.markers.radius,
751
751
  fill: e.value.style.layout.plots.selectors.markers.fill,
@@ -755,7 +755,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
755
755
  }, null, 8, ml),
756
756
  d("circle", {
757
757
  cx: y.value.x,
758
- cy: f.value.y,
758
+ cy: g.value.y,
759
759
  r: e.value.style.layout.plots.selectors.markers.radius,
760
760
  fill: e.value.style.layout.plots.selectors.markers.fill,
761
761
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
@@ -765,24 +765,24 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
765
765
  e.value.style.layout.plots.selectors.labels.showName ? (o(), i("text", {
766
766
  key: 0,
767
767
  x: y.value.x,
768
- y: y.value.y + (y.value.y < f.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
768
+ y: y.value.y + (y.value.y < g.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
769
769
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
770
770
  fill: e.value.style.layout.plots.selectors.labels.color,
771
771
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
772
- "text-anchor": y.value.x < n.value.left + 100 ? "start" : y.value.x > n.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
772
+ "text-anchor": y.value.x < n.value.left + 100 ? "start" : y.value.x > n.value.right - 100 ? "end" : y.value.x > g.value.x ? "start" : "end"
773
773
  }, C(y.value.v.name), 9, bl)) : c("", !0)
774
774
  ])) : c("", !0),
775
775
  e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", kl, [
776
776
  d("text", {
777
777
  x: n.value.left - 5,
778
- y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
778
+ y: g.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
779
779
  "text-anchor": "end",
780
780
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
781
781
  fill: e.value.style.layout.dataLabels.xAxis.color
782
- }, C(u(R)(
782
+ }, C(u(E)(
783
783
  e.value.style.layout.plots.selectors.labels.x.formatter,
784
784
  u(A)(p.value.xMin),
785
- u(W)({
785
+ u(F)({
786
786
  p: e.value.style.layout.plots.selectors.labels.prefix,
787
787
  v: u(A)(p.value.xMin),
788
788
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -791,14 +791,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
791
791
  )), 9, wl),
792
792
  d("text", {
793
793
  x: n.value.right + 3,
794
- y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
794
+ y: g.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
795
795
  "text-anchor": "start",
796
796
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
797
797
  fill: e.value.style.layout.dataLabels.xAxis.color
798
- }, C(u(R)(
798
+ }, C(u(E)(
799
799
  e.value.style.layout.plots.selectors.labels.x.formatter,
800
800
  u(A)(p.value.xMax),
801
- u(W)({
801
+ u(F)({
802
802
  p: e.value.style.layout.plots.selectors.labels.prefix,
803
803
  v: u(A)(p.value.xMax),
804
804
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -816,15 +816,15 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
816
816
  ])) : c("", !0),
817
817
  e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", $l, [
818
818
  d("text", {
819
- x: f.value.x,
819
+ x: g.value.x,
820
820
  y: n.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
821
821
  "text-anchor": "middle",
822
822
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
823
823
  fill: e.value.style.layout.dataLabels.yAxis.color
824
- }, C(u(R)(
824
+ }, C(u(E)(
825
825
  e.value.style.layout.plots.selectors.labels.y.formatter,
826
826
  u(A)(p.value.yMin),
827
- u(W)({
827
+ u(F)({
828
828
  p: e.value.style.layout.plots.selectors.labels.prefix,
829
829
  v: u(A)(p.value.yMin),
830
830
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -832,15 +832,15 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
832
832
  })
833
833
  )), 9, Cl),
834
834
  d("text", {
835
- x: f.value.x,
835
+ x: g.value.x,
836
836
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
837
837
  "text-anchor": "middle",
838
838
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
839
839
  fill: e.value.style.layout.dataLabels.yAxis.color
840
- }, C(u(R)(
840
+ }, C(u(E)(
841
841
  e.value.style.layout.plots.selectors.labels.y.formatter,
842
842
  u(A)(p.value.yMax),
843
- u(W)({
843
+ u(F)({
844
844
  p: e.value.style.layout.plots.selectors.labels.prefix,
845
845
  v: u(A)(p.value.yMax),
846
846
  s: e.value.style.layout.plots.selectors.labels.suffix,
@@ -867,7 +867,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
867
867
  }, null, 8, Tl)
868
868
  ], 8, Sl),
869
869
  e.value.style.layout.correlation.show ? (o(), i("g", Ll, [
870
- (o(!0), i(P, null, X(S.value, (l, s) => (o(), i("line", {
870
+ (o(!0), i(W, null, Y(S.value, (l, s) => (o(), i("line", {
871
871
  x1: l.correlation.x1,
872
872
  x2: l.correlation.x2,
873
873
  y1: l.correlation.y1,
@@ -877,7 +877,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
877
877
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
878
878
  "clip-path": `url(#clip_path_${z.value})`
879
879
  }, null, 8, Bl))), 256)),
880
- (o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
880
+ (o(!0), i(W, null, Y(S.value, (l, s) => (o(), i("g", null, [
881
881
  e.value.style.layout.correlation.label.show ? (o(), i("text", {
882
882
  key: 0,
883
883
  x: l.label.x,
@@ -885,18 +885,18 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
885
885
  fill: e.value.style.layout.correlation.label.useSerieColor ? l.color : e.value.style.layout.correlation.label.color,
886
886
  "font-size": e.value.style.layout.correlation.label.fontSize,
887
887
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
888
- }, C(u(W)({
888
+ }, C(u(F)({
889
889
  v: u(A)(l.correlation.coefficient),
890
890
  r: e.value.style.layout.correlation.label.roundingValue
891
891
  })), 9, Ol)) : c("", !0)
892
892
  ]))), 256))
893
893
  ])) : c("", !0),
894
- M(t.$slots, "svg", { svg: b.value }, void 0, !0)
894
+ M(t.$slots, "svg", { svg: k.value }, void 0, !0)
895
895
  ], 14, jt)) : c("", !0),
896
896
  t.$slots.watermark ? (o(), i("div", Nl, [
897
897
  M(t.$slots, "watermark", ee(te({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
898
898
  ])) : c("", !0),
899
- ae.value ? c("", !0) : (o(), j(u(at), {
899
+ ae.value ? c("", !0) : (o(), R(u(at), {
900
900
  key: 6,
901
901
  config: {
902
902
  type: "quadrant",
@@ -918,22 +918,22 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
918
918
  ref_key: "chartLegend",
919
919
  ref: we
920
920
  }, [
921
- e.value.style.legend.show ? (o(), j(Xt, {
921
+ e.value.style.legend.show ? (o(), R(Xt, {
922
922
  key: `legend_${Ae.value}`,
923
- legendSet: E.value,
923
+ legendSet: U.value,
924
924
  config: nt.value,
925
925
  onClickMarker: r[0] || (r[0] = ({ legend: l }) => Ve(l.id))
926
926
  }, {
927
927
  item: _(({ legend: l }) => [
928
928
  d("div", {
929
929
  onClick: (s) => l.segregate(),
930
- style: V(`opacity:${m.value.includes(l.id) ? 0.5 : 1}`)
930
+ style: j(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
931
931
  }, C(l.name), 13, Pl)
932
932
  ]),
933
933
  _: 1
934
934
  }, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
935
935
  key: 1,
936
- legend: E.value
936
+ legend: U.value
937
937
  }, void 0, !0)
938
938
  ], 512),
939
939
  t.$slots.source ? (o(), i("div", {
@@ -945,7 +945,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
945
945
  M(t.$slots, "source", {}, void 0, !0)
946
946
  ], 512)) : c("", !0),
947
947
  ge(u(ot), {
948
- show: B.value.showTooltip && ie.value,
948
+ show: O.value.showTooltip && ie.value,
949
949
  backgroundColor: e.value.style.tooltip.backgroundColor,
950
950
  color: e.value.style.tooltip.color,
951
951
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -980,11 +980,11 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
980
980
  ]),
981
981
  _: 3
982
982
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
983
- ae.value ? (o(), j(u(Ze), {
983
+ ae.value ? (o(), R(u(Ze), {
984
984
  key: 8,
985
985
  hideDetails: "",
986
986
  config: {
987
- open: B.value.showTable,
987
+ open: O.value.showTable,
988
988
  maxHeight: 1e4,
989
989
  body: {
990
990
  backgroundColor: e.value.style.backgroundColor,
@@ -997,14 +997,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
997
997
  }
998
998
  }, {
999
999
  content: _(() => [
1000
- (o(), j(u(et), {
1000
+ (o(), R(u(et), {
1001
1001
  key: `table_${Ce.value}`,
1002
1002
  colNames: se.value.colNames,
1003
1003
  head: se.value.head,
1004
1004
  body: se.value.body,
1005
1005
  config: se.value.config,
1006
1006
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
1007
- onClose: r[1] || (r[1] = (l) => B.value.showTable = !1)
1007
+ onClose: r[1] || (r[1] = (l) => O.value.showTable = !1)
1008
1008
  }, {
1009
1009
  th: _(({ th: l }) => [
1010
1010
  gt(C(l), 1)
@@ -1024,7 +1024,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
1024
1024
  }, 8, ["config"])) : c("", !0)
1025
1025
  ], 46, Vt));
1026
1026
  }
1027
- }, Ql = /* @__PURE__ */ Dt(Yl, [["__scopeId", "data-v-7f32e820"]]);
1027
+ }, Ql = /* @__PURE__ */ Dt(Yl, [["__scopeId", "data-v-ea504313"]]);
1028
1028
  export {
1029
1029
  Ql as default
1030
1030
  };