vue-data-ui 3.1.0 → 3.1.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 (94) hide show
  1. package/dist/{Arrow-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  27. package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  30. package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  32. package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  33. package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  34. package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  35. package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  36. package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
  37. package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  38. package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  39. package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  40. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  41. package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  43. package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
  44. package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  45. package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  46. package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  47. package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  48. package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  49. package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  50. package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
  51. package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  52. package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  54. package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
  55. package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  56. package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  57. package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
  58. package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  59. package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  60. package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  61. package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  62. package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  64. package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  65. package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  66. package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  67. package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  68. package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  73. package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  76. package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  77. package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  78. package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
  79. package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  81. package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  83. package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  84. package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
  85. package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  86. package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  87. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  88. package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  89. package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  90. package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  91. package/package.json +1 -1
  92. package/dist/pdf-Dd-LIJqz.js +0 -61
  93. package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
  94. package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
@@ -1,46 +1,46 @@
1
- import { defineAsyncComponent as se, computed as W, ref as M, toRefs as ul, watch as Be, shallowRef as At, onMounted as il, onBeforeUnmount as rl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ne, normalizeClass as St, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as _e, createSlots as Lt, withCtx as X, renderSlot as V, normalizeProps as fe, guardReactiveProps as pe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as vl, resolveDynamicComponent as yl, mergeProps as cl, createTextVNode as Bt, nextTick as dl } from "vue";
2
- import { u as hl, c as fl, t as pl, a as gl, p as ye, b as ml, o as Tt, f as Ze, d as xl, g as zt, Y as bl, e as Je, a3 as kl, V as wl, s as Te, X as $l, Z as _l, k as ue, h as H, i as Q, v as Ml, w as Cl, y as Al, z as Sl } from "./index-CDQbCd41.js";
3
- import { t as Ll, u as Bl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Tl, B as zl } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Pl } from "./usePrinter-Bnl1YeUU.js";
6
- import { u as Pt } from "./useNestedProp-BPEHGiYX.js";
7
- import { u as Ol } from "./useUserOptionState-BIvW1Kz7.js";
1
+ import { defineAsyncComponent as se, computed as W, ref as M, toRefs as il, watch as Be, shallowRef as Lt, onMounted as rl, onBeforeUnmount as vl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ne, normalizeClass as Bt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as Tt, withCtx as X, renderSlot as V, normalizeProps as fe, guardReactiveProps as pe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as yl, resolveDynamicComponent as cl, mergeProps as dl, createTextVNode as zt, nextTick as hl } from "vue";
2
+ import { u as fl, c as pl, t as gl, a as ml, p as ye, b as xl, o as Pt, f as Je, d as bl, g as Ot, Y as kl, e as Ke, a3 as wl, V as _l, s as Te, X as $l, Z as Ml, k as ue, h as q, i as Q, v as Cl, w as Al, y as Sl, z as Ll } from "./index-BFqW8WA0.js";
3
+ import { t as Bl, u as Tl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as zl, B as Pl } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as Ol } from "./usePrinter-DDIKRiOp.js";
6
+ import { u as Dt } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as Dl } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as El } from "./useChartAccessibility-9icAAmYg.js";
9
- import Dl from "./Legend-2-dC7DVb.js";
10
- import Wl from "./Title-Dq2_Z9kR.js";
11
- import { _ as Ke } from "./Shape-Dj2Hl33H.js";
12
- import Nl from "./img-JOqdlnUs.js";
13
- import { _ as Fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "height"], Vl = { key: 1 }, jl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = { key: 2 }, ql = ["id"], Hl = ["stop-color"], Zl = ["stop-color"], Jl = ["id"], Kl = ["stop-color"], Ql = ["stop-color"], ea = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ta = ["x", "y", "width", "height", "onMouseenter"], la = {
9
+ import Wl from "./Legend-DLzeDl3-.js";
10
+ import Nl from "./Title-AGmmsSi_.js";
11
+ import { _ as Qe } from "./Shape-Bmpx9GRg.js";
12
+ import Fl from "./img-DvuphHeJ.js";
13
+ import { _ as Il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], Vl = ["width", "height"], jl = { key: 1 }, Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = { key: 2 }, Hl = ["id"], Zl = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Ql = ["stop-color"], ea = ["stop-color"], ta = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], la = ["x", "y", "width", "height", "onMouseenter"], aa = {
15
15
  key: 2,
16
16
  style: { "pointer-events": "none" }
17
- }, aa = ["x", "y", "width", "height", "fill", "fill-opacity"], oa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], sa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], na = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ua = ["x", "y", "width", "height", "onMouseenter"], ia = {
17
+ }, oa = ["x", "y", "width", "height", "fill", "fill-opacity"], sa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], na = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ua = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ia = ["x", "y", "width", "height", "onMouseenter"], ra = {
18
18
  key: 2,
19
19
  style: { "pointer-events": "none" }
20
- }, ra = ["x", "y", "width", "height", "fill", "fill-opacity"], va = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ca = {
20
+ }, va = ["x", "y", "width", "height", "fill", "fill-opacity"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = {
21
21
  key: 0,
22
22
  style: { "pointer-events": "none" }
23
- }, da = ["d", "stroke", "stroke-width"], ha = ["d", "stroke", "stroke-width"], fa = ["d", "stroke", "stroke-width"], pa = ["d", "stroke", "stroke-width"], ga = { key: 3 }, ma = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], xa = { key: 0 }, ba = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], ka = { key: 1 }, wa = ["clip-path"], $a = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], _a = {
23
+ }, ha = ["d", "stroke", "stroke-width"], fa = ["d", "stroke", "stroke-width"], pa = ["d", "stroke", "stroke-width"], ga = ["d", "stroke", "stroke-width"], ma = { key: 3 }, xa = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], ba = { key: 0 }, ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], wa = { key: 1 }, _a = ["clip-path"], $a = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], Ma = {
24
24
  key: 0,
25
25
  style: { "pointer-events": "none" }
26
- }, Ma = ["x", "y", "width", "height"], Ca = {
26
+ }, Ca = ["x", "y", "width", "height"], Aa = {
27
27
  key: 6,
28
28
  style: { "pointer-events": "none !important" }
29
- }, Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], La = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ba = ["x", "y", "font-size", "fill", "font-weight"], Ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], za = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Oa = ["id", "transform", "font-size", "font-weight", "fill"], Ea = ["font-size", "fill", "transform"], Da = ["transform", "font-size", "fill"], Wa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill"], Fa = ["font-size", "font-weight", "fill", "x", "y"], Ia = ["id"], Xa = ["x", "y", "width", "height"], Ya = {
29
+ }, Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ba = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ta = ["x", "y", "font-size", "fill", "font-weight"], za = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Da = ["id", "transform", "font-size", "font-weight", "fill"], Ea = ["font-size", "fill", "transform"], Wa = ["transform", "font-size", "fill"], Na = ["x", "y", "font-size", "fill"], Fa = ["x", "y", "font-size", "fill"], Ia = ["font-size", "font-weight", "fill", "x", "y"], Xa = ["id"], Ya = ["x", "y", "width", "height"], Ra = {
30
30
  key: 11,
31
31
  style: { pointerEvents: "none" }
32
- }, Ra = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Va = ["x", "y", "fill", "font-size", "font-weight"], ja = {
32
+ }, Va = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], ja = ["x", "y", "fill", "font-size", "font-weight"], Ua = {
33
33
  key: 4,
34
34
  class: "vue-data-ui-watermark"
35
- }, Ua = ["id"], Ga = ["onClick"], qa = {
35
+ }, Ga = ["id"], qa = ["onClick"], Ha = {
36
36
  key: 0,
37
37
  style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
38
- }, Ha = {
38
+ }, Za = {
39
39
  viewBox: "0 0 20 20",
40
40
  height: "20",
41
41
  width: "20",
42
42
  style: { overflow: "hidden", background: "transparent" }
43
- }, Za = { key: 0 }, Ja = ["innerHTML"], Ka = {
43
+ }, Ja = { key: 0 }, Ka = ["innerHTML"], Qa = {
44
44
  __name: "vue-ui-scatter",
45
45
  props: {
46
46
  config: {
@@ -56,9 +56,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
56
56
  }
57
57
  }
58
58
  },
59
- setup(Ot, { expose: Et }) {
60
- const Dt = se(() => import("./Tooltip-Y219DXZO.js")), Wt = se(() => import("./BaseIcon-DHtro8us.js")), Nt = se(() => import("./vue-ui-accordion-Bf_LHFFX.js")), Ft = se(() => import("./DataTable-DJjA2_wf.js")), It = se(() => import("./PenAndPaper-B7QEDgx4.js")), Xt = se(() => import("./UserOptions-BuGfCdAY.js")), Yt = se(() => import("./PackageVersion-DU12WH3O.js")), Rt = se(() => import("./BaseDraggableDialog-O7900pGp.js")), { vue_ui_scatter: Vt } = hl(), ee = Ot, Qe = W(() => !!ee.dataset && ee.dataset.length), N = M(fl()), jt = M(null), ze = M(!1), Pe = M(""), et = M(0), te = M(null), tt = M(null), lt = M(null), at = M(null), ot = M(null), st = M(0), nt = M(0), ut = M(0), F = M([]), it = M(!1), ge = M(null), me = M(null), xe = M(null), Oe = M(null), Ut = M(null), Gt = M(null), Ee = M(null), e = M(Ie());
61
- function qt(l = 100, s = 0.8, t = {}) {
59
+ setup(Et, { expose: Wt }) {
60
+ const Nt = se(() => import("./Tooltip-le0yZk_t.js")), Ft = se(() => import("./BaseIcon-BLg8FaQ2.js")), It = se(() => import("./vue-ui-accordion-Cv747Pg6.js")), Xt = se(() => import("./DataTable-BRN1-1ob.js")), Yt = se(() => import("./PenAndPaper-TgGWddgD.js")), Rt = se(() => import("./UserOptions-DEFwuQIo.js")), Vt = se(() => import("./PackageVersion-Jz9FlNXl.js")), jt = se(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_scatter: Ut } = fl(), ee = Et, et = W(() => !!ee.dataset && ee.dataset.length), N = M(pl()), ze = M(!1), Pe = M(""), tt = M(0), te = M(null), lt = M(null), at = M(null), ot = M(null), st = M(null), nt = M(0), ut = M(0), it = M(0), F = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), Oe = M(null), De = M(null), Gt = M(null), qt = M(null), Ee = M(null), e = M(Xe());
61
+ function Ht(l = 100, s = 0.8, t = {}) {
62
62
  const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: f } = t;
63
63
  let v = (f ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
64
64
  const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
@@ -66,31 +66,31 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
66
66
  for (; m === 0; ) m = g();
67
67
  for (; O === 0; ) O = g();
68
68
  return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * O);
69
- }, d = l / 2, _ = Array.from({ length: d }, L), P = Array.from({ length: d }, L), C = (m) => m.reduce((O, $e) => O + $e, 0) / m.length, T = C(_), I = C(P);
69
+ }, d = l / 2, $ = Array.from({ length: d }, L), P = Array.from({ length: d }, L), C = (m) => m.reduce((O, _e) => O + _e, 0) / m.length, T = C($), I = C(P);
70
70
  for (let m = 0; m < d; m += 1)
71
- _[m] -= T, P[m] -= I;
72
- const B = (m, O) => m.reduce(($e, Le, He) => $e + Le * O[He], 0), $ = (m) => B(m, m), h = B(P, _) / $(_), S = P.map((m, O) => m - h * _[O]), U = $(_) / d, J = $(S) / d, oe = Math.sqrt((1 - s * s) * U / J), R = _.map((m, O) => s * m + oe * S[O]), ve = _.concat(_.map((m) => -m)), qe = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt($(m) / m.length), de = (m, O, $e) => {
71
+ $[m] -= T, P[m] -= I;
72
+ const B = (m, O) => m.reduce((_e, Le, Ze) => _e + Le * O[Ze], 0), _ = (m) => B(m, m), h = B(P, $) / _($), S = P.map((m, O) => m - h * $[O]), U = _($) / d, J = _(S) / d, oe = Math.sqrt((1 - s * s) * U / J), R = $.map((m, O) => s * m + oe * S[O]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, O, _e) => {
73
73
  const Le = ke(m);
74
- return m.map((He) => $e + (Le ? He / Le * O : 0));
75
- }, he = de(ve, a, o), we = de(qe, i, u);
74
+ return m.map((Ze) => _e + (Le ? Ze / Le * O : 0));
75
+ }, he = de(ve, a, o), we = de(He, i, u);
76
76
  for (let m = he.length - 1; m > 0; m -= 1) {
77
77
  const O = Math.floor(g() * (m + 1));
78
78
  [he[m], he[O]] = [he[O], he[m]], [we[m], we[O]] = [we[O], we[m]];
79
79
  }
80
80
  return he.map((m, O) => ({ x: m, y: we[O] }));
81
81
  }
82
- const { loading: rt, FINAL_DATASET: De, manualLoading: We } = Tl({
83
- ...ul(ee),
82
+ const { loading: vt, FINAL_DATASET: We, manualLoading: Ne } = zl({
83
+ ...il(ee),
84
84
  FINAL_CONFIG: e,
85
- prepareConfig: Ie,
85
+ prepareConfig: Xe,
86
86
  skeletonDataset: [
87
87
  {
88
88
  name: "",
89
89
  color: "#999999",
90
- values: qt(100, 0.5, { seed: 42 })
90
+ values: Ht(100, 0.5, { seed: 42 })
91
91
  }
92
92
  ],
93
- skeletonConfig: pl({
93
+ skeletonConfig: gl({
94
94
  defaultConfig: e.value,
95
95
  userConfig: {
96
96
  userOptions: { show: !1 },
@@ -123,22 +123,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
123
123
  }
124
124
  }
125
125
  })
126
- }), { userOptionsVisible: Ne, setUserOptionsVisibility: vt, keepUserOptionState: yt } = Ol({ config: e.value }), { svgRef: Fe } = El({ config: e.value.style.title });
127
- function Ie() {
128
- const l = Pt({
126
+ }), { userOptionsVisible: Fe, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Dl({ config: e.value }), { svgRef: Ie } = El({ config: e.value.style.title });
127
+ function Xe() {
128
+ const l = Dt({
129
129
  userConfig: ee.config,
130
- defaultConfig: Vt
130
+ defaultConfig: Ut
131
131
  });
132
132
  return l.theme ? {
133
- ...Pt({
134
- userConfig: ml.vue_ui_scatter[l.theme] || ee.config,
133
+ ...Dt({
134
+ userConfig: xl.vue_ui_scatter[l.theme] || ee.config,
135
135
  defaultConfig: l
136
136
  }),
137
- customPalette: gl[l.theme] || ye
137
+ customPalette: ml[l.theme] || ye
138
138
  } : l;
139
139
  }
140
140
  Be(() => ee.config, (l) => {
141
- rt.value || (e.value = Ie()), Ne.value = !e.value.userOptions.showOnChartHover, dt(), st.value += 1, nt.value += 1, ut.value += 1, q.value.showTable = e.value.table.show, q.value.showTooltip = e.value.style.tooltip.show, ct.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
141
+ vt.value || (e.value = Xe()), Fe.value = !e.value.userOptions.showOnChartHover, ht(), nt.value += 1, ut.value += 1, it.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, dt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
142
142
 
143
143
  - downsampling is disabled in this mode, all plots are rendered
144
144
 
@@ -148,82 +148,82 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
148
148
 
149
149
  ℹ️ To remove this warning, set config.debug to false.`);
150
150
  }, { deep: !0 }), Be(() => ee.dataset, (l) => {
151
- Array.isArray(l) && l.length > 0 && (We.value = !1);
151
+ Array.isArray(l) && l.length > 0 && (Ne.value = !1);
152
152
  }, { deep: !0 });
153
- const ae = At(null), ce = At(null);
154
- il(() => {
155
- it.value = !0, dt();
153
+ const ae = Lt(null), ce = Lt(null);
154
+ rl(() => {
155
+ rt.value = !0, ht();
156
156
  });
157
- const ct = W(() => !!e.value.debug);
158
- function dt() {
159
- if (Tt(ee.dataset) && (Ze({
157
+ const dt = W(() => !!e.value.debug);
158
+ function ht() {
159
+ if (Pt(ee.dataset) && (Je({
160
160
  componentName: "VueUiScatter",
161
161
  type: "dataset",
162
- debug: ct.value
163
- }), We.value = !0), Tt(ee.dataset) || (We.value = e.value.loading), e.value.responsive) {
164
- const l = Ll(() => {
165
- const { width: s, height: t } = Bl({
162
+ debug: dt.value
163
+ }), Ne.value = !0), Pt(ee.dataset) || (Ne.value = e.value.loading), e.value.responsive) {
164
+ const l = Bl(() => {
165
+ const { width: s, height: t } = Tl({
166
166
  chart: te.value,
167
- title: e.value.style.title.text ? tt.value : null,
168
- legend: e.value.style.legend.show ? lt.value : null,
169
- source: at.value,
170
- noTitle: ot.value
167
+ title: e.value.style.title.text ? lt.value : null,
168
+ legend: e.value.style.legend.show ? at.value : null,
169
+ source: ot.value,
170
+ noTitle: st.value
171
171
  });
172
172
  requestAnimationFrame(() => {
173
- E.value.width = s, E.value.height = t;
173
+ D.value.width = s, D.value.height = t;
174
174
  });
175
175
  });
176
176
  ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect()), ae.value = new ResizeObserver(l), ce.value = te.value.parentNode, ae.value.observe(ce.value);
177
177
  }
178
178
  }
179
- rl(() => {
179
+ vl(() => {
180
180
  ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect());
181
181
  });
182
- const { isPrinting: ht, isImaging: ft, generatePdf: pt, generateImage: gt } = Pl({
182
+ const { isPrinting: ft, isImaging: pt, generatePdf: gt, generateImage: mt } = Ol({
183
183
  elementId: `vue-ui-scatter_${N.value}`,
184
184
  fileName: e.value.style.title.text || "vue-ui-scatter",
185
185
  options: e.value.userOptions.print
186
- }), Ht = W(() => e.value.userOptions.show && !e.value.style.title.text), mt = W(() => xl(e.value.customPalette)), q = M({
186
+ }), Zt = W(() => e.value.userOptions.show && !e.value.style.title.text), xt = W(() => bl(e.value.customPalette)), H = M({
187
187
  showTable: e.value.table.show,
188
188
  showTooltip: e.value.style.tooltip.show
189
189
  });
190
190
  Be(e, () => {
191
- q.value = {
191
+ H.value = {
192
192
  showTable: e.value.table.show,
193
193
  showTooltip: e.value.style.tooltip.show
194
194
  };
195
195
  }, { immediate: !0 });
196
- const E = M({
196
+ const D = M({
197
197
  height: e.value.style.layout.height,
198
198
  width: e.value.style.layout.width
199
199
  }), Me = W(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = W(() => {
200
200
  let l = 0, s = 0;
201
- return Oe.value && (l = Oe.value.getBBox().width + 6), Ee.value && (s = Ee.value.getBBox().height + 6), {
201
+ return De.value && (l = De.value.getBBox().width + 6), Ee.value && (s = Ee.value.getBBox().height + 6), {
202
202
  top: e.value.style.layout.padding.top + Me.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
203
- right: E.value.width - e.value.style.layout.padding.right - Me.value - 6,
204
- bottom: E.value.height - e.value.style.layout.padding.bottom - s,
203
+ right: D.value.width - e.value.style.layout.padding.right - Me.value - 6,
204
+ bottom: D.value.height - e.value.style.layout.padding.bottom - s,
205
205
  left: e.value.style.layout.padding.left + l,
206
- height: E.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Me.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
207
- width: E.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Me.value - l - 6
206
+ height: D.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Me.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
207
+ width: D.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Me.value - l - 6
208
208
  };
209
209
  }), z = W(() => {
210
- De.value.forEach((a, u) => {
211
- zt({
210
+ We.value.forEach((a, u) => {
211
+ Ot({
212
212
  datasetObject: a,
213
213
  requiredAttributes: ["values"]
214
214
  }).forEach((i) => {
215
- Ze({
215
+ Je({
216
216
  componentName: "VueUiScatter",
217
217
  type: "datasetSerieAttribute",
218
218
  property: i,
219
219
  index: u
220
220
  });
221
221
  }), a.values && a.values.forEach((i, f) => {
222
- zt({
222
+ Ot({
223
223
  datasetObject: i,
224
224
  requiredAttributes: ["x", "y"]
225
225
  }).forEach((v) => {
226
- Ze({
226
+ Je({
227
227
  componentName: "VueUiScatter",
228
228
  type: "datasetSerieAttribute",
229
229
  property: `values.${v}`,
@@ -234,32 +234,32 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
234
234
  });
235
235
  const l = Math.min(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), s = Math.max(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), t = Math.min(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y))), o = Math.max(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y)));
236
236
  return { xMin: l >= 0 ? 0 : l, xMax: s, yMin: t >= 0 ? 0 : t, yMax: o };
237
- }), D = W(() => ({
237
+ }), E = W(() => ({
238
238
  x: n.value.left + Math.abs(z.value.xMin) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
239
239
  y: n.value.bottom - Math.abs(z.value.yMin) / (z.value.yMax + Math.abs(z.value.yMin)) * n.value.height
240
- })), ie = W(() => De.value.map((l, s) => {
240
+ })), ie = W(() => We.value.map((l, s) => {
241
241
  const t = `cluster_${N.value}_${s}`;
242
242
  return {
243
243
  ...l,
244
- values: bl({
244
+ values: kl({
245
245
  data: l.values,
246
246
  threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
247
247
  }),
248
248
  id: t,
249
- color: l.color ? l.color : mt.value[s] || ye[s] || ye[s % ye.length],
249
+ color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
250
250
  opacity: F.value.includes(t) ? 0.5 : 1,
251
251
  shape: l.shape ?? "circle",
252
- segregate: () => kt(t),
252
+ segregate: () => wt(t),
253
253
  isSegregated: F.value.includes(t)
254
254
  };
255
- })), Zt = W(() => ({
255
+ })), Jt = W(() => ({
256
256
  cy: "scatter-div-legend",
257
257
  backgroundColor: e.value.style.legend.backgroundColor,
258
258
  color: e.value.style.legend.color,
259
259
  fontSize: e.value.style.legend.fontSize,
260
260
  paddingBottom: 12,
261
261
  fontWeight: e.value.style.legend.bold ? "bold" : ""
262
- })), Xe = W(() => ie.value.map((l, s) => ({
262
+ })), Ye = W(() => ie.value.map((l, s) => ({
263
263
  ...l,
264
264
  plots: l.values.map((t) => ({
265
265
  x: n.value.left + (t.x + Math.abs(z.value.xMin)) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
@@ -269,29 +269,29 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
269
269
  name: t.name || ""
270
270
  },
271
271
  clusterName: l.name,
272
- color: l.color ? l.color : mt.value[s] || ye[s] || ye[s % ye.length],
272
+ color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
273
273
  id: `plot_${N.value}_${Math.random()}`,
274
274
  weight: t.weight ?? e.value.style.layout.plots.radius
275
275
  }))
276
276
  })).filter((l) => !F.value.includes(l.id))), j = W(() => {
277
277
  const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
278
- const { left: i, right: f, top: v, bottom: g } = a, L = [], d = ($, h) => {
279
- Number.isFinite($) && Number.isFinite(h) && L.push({ x: $, y: h });
280
- }, _ = ({ x: $, y: h }) => $ >= i - 1e-9 && $ <= f + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
278
+ const { left: i, right: f, top: v, bottom: g } = a, L = [], d = (_, h) => {
279
+ Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
280
+ }, $ = ({ x: _, y: h }) => _ >= i - 1e-9 && _ <= f + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
281
281
  u !== null ? u >= i - 1e-9 && u <= f + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + o), d(f, t * f + o), Math.abs(t) > 1e-9 ? (d((v - o) / t, v), d((g - o) / t, g)) : o >= v - 1e-9 && o <= g + 1e-9 && (d(i, o), d(f, o)));
282
- const P = L.filter(_), C = [];
283
- for (const $ of P)
284
- C.some((h) => Math.abs(h.x - $.x) < 1e-6 && Math.abs(h.y - $.y) < 1e-6) || C.push($);
282
+ const P = L.filter($), C = [];
283
+ for (const _ of P)
284
+ C.some((h) => Math.abs(h.x - _.x) < 1e-6 && Math.abs(h.y - _.y) < 1e-6) || C.push(_);
285
285
  if (C.length < 2) return null;
286
286
  let T = C[0], I = C[1], B = 0;
287
- for (let $ = 0; $ < C.length; $ += 1)
288
- for (let h = $ + 1; h < C.length; h += 1) {
289
- const S = C[$].x - C[h].x, U = C[$].y - C[h].y, J = S * S + U * U;
290
- J > B && (B = J, T = C[$], I = C[h]);
287
+ for (let _ = 0; _ < C.length; _ += 1)
288
+ for (let h = _ + 1; h < C.length; h += 1) {
289
+ const S = C[_].x - C[h].x, U = C[_].y - C[h].y, J = S * S + U * U;
290
+ J > B && (B = J, T = C[_], I = C[h]);
291
291
  }
292
292
  return { x1: T.x, y1: T.y, x2: I.x, y2: I.y };
293
293
  };
294
- return Xe.value.map((t) => {
294
+ return Ye.value.map((t) => {
295
295
  const o = t.plots.length, a = t.plots.reduce((h, S) => h + S.x, 0) / o, u = t.plots.reduce((h, S) => h + S.y, 0) / o;
296
296
  let i = 0, f = 0;
297
297
  for (const h of t.plots) {
@@ -300,8 +300,8 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
300
300
  }
301
301
  let v, g, L = null;
302
302
  f < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / f, g = u - v * a);
303
- let d, _;
304
- L !== null ? (d = 1 / 0, _ = null) : (d = v, _ = g);
303
+ let d, $;
304
+ L !== null ? (d = 1 / 0, $ = null) : (d = v, $ = g);
305
305
  const P = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
306
306
  let C = NaN;
307
307
  if (o >= 2) {
@@ -309,7 +309,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
309
309
  P ? (h = t.plots.reduce((R, ve) => R + ve.v.x, 0) / o, S = t.plots.reduce((R, ve) => R + ve.v.y, 0) / o) : (h = a, S = -u);
310
310
  let U = 0, J = 0, oe = 0;
311
311
  for (const R of t.plots) {
312
- const ve = P ? R.v.x : R.x, qe = P ? R.v.y : -R.y, ke = ve - h, de = qe - S;
312
+ const ve = P ? R.v.x : R.x, He = P ? R.v.y : -R.y, ke = ve - h, de = He - S;
313
313
  U += ke * de, J += ke * ke, oe += de * de;
314
314
  }
315
315
  if (J >= 1e-9 && oe >= 1e-9) {
@@ -317,7 +317,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
317
317
  C = Math.max(-1, Math.min(1, R));
318
318
  }
319
319
  }
320
- const T = s({ m: d, b: _, rect: n.value, verticalX: L });
320
+ const T = s({ m: d, b: $, rect: n.value, verticalX: L });
321
321
  if (!T)
322
322
  return {
323
323
  ...t,
@@ -327,69 +327,69 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
327
327
  ...h,
328
328
  deviation: 0,
329
329
  shape: t.shape,
330
- color: Je(t.color)
330
+ color: Ke(t.color)
331
331
  }))
332
332
  };
333
- const I = (T.x1 + T.x2) / 2, B = (T.y1 + T.y2) / 2, $ = { x: I, y: B };
333
+ const I = (T.x1 + T.x2) / 2, B = (T.y1 + T.y2) / 2, _ = { x: I, y: B };
334
334
  return {
335
335
  ...t,
336
- color: Je(t.color),
336
+ color: Ke(t.color),
337
337
  correlation: {
338
338
  ...T,
339
339
  coefficient: C
340
340
  },
341
- label: $,
341
+ label: _,
342
342
  plots: t.plots.map((h) => {
343
343
  let S, U;
344
- L !== null ? (S = L, U = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, U = _) : (S = (h.x + d * h.y - d * _) / (1 + d * d), U = (d * h.x + d * d * h.y + _) / (1 + d * d));
344
+ L !== null ? (S = L, U = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, U = $) : (S = (h.x + d * h.y - d * $) / (1 + d * d), U = (d * h.x + d * d * h.y + $) / (1 + d * d));
345
345
  const J = h.x - S, oe = h.y - U, R = Math.sqrt(J * J + oe * oe);
346
346
  return {
347
347
  ...h,
348
348
  deviation: R,
349
349
  shape: t.shape,
350
- color: Je(t.color)
350
+ color: Ke(t.color)
351
351
  };
352
352
  })
353
353
  };
354
354
  });
355
- }), xt = W(() => Math.max(...j.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
356
- function Jt() {
355
+ }), bt = W(() => Math.max(...j.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
356
+ function Kt() {
357
357
  return j.value;
358
358
  }
359
- function bt(l, s) {
360
- const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map(($) => ({
361
- x: $.x,
362
- y: $.y
359
+ function kt(l, s) {
360
+ const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((_) => ({
361
+ x: _.x,
362
+ y: _.y
363
363
  }))) : l.plots.map((B) => ({
364
364
  x: B.x,
365
365
  y: B.y
366
366
  }));
367
367
  let o = 1 / 0, a = -1 / 0, u = 1 / 0, i = -1 / 0;
368
- t.forEach(({ x: B, y: $ }) => {
369
- o = Math.min(o, B), a = Math.max(a, B), u = Math.min(u, $), i = Math.max(i, $);
368
+ t.forEach(({ x: B, y: _ }) => {
369
+ o = Math.min(o, B), a = Math.max(a, B), u = Math.min(u, _), i = Math.max(i, _);
370
370
  });
371
- const f = a - o, v = i - u, g = f / s, L = v / s, d = Array(s).fill(0), _ = Array(s).fill(0);
372
- t.forEach(({ x: B, y: $ }) => {
373
- const h = Math.floor((B - o) / g), S = Math.floor(($ - u) / L);
374
- d[h] || (d[h] = 0), _[S] || (_[S] = 0), d[h] += 1, _[S] += 1;
371
+ const f = a - o, v = i - u, g = f / s, L = v / s, d = Array(s).fill(0), $ = Array(s).fill(0);
372
+ t.forEach(({ x: B, y: _ }) => {
373
+ const h = Math.floor((B - o) / g), S = Math.floor((_ - u) / L);
374
+ d[h] || (d[h] = 0), $[S] || ($[S] = 0), d[h] += 1, $[S] += 1;
375
375
  });
376
376
  const P = [], C = [];
377
377
  for (let B = 0; B < s; B += 1)
378
378
  P.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
379
- const T = Math.max(...d), I = Math.max(..._);
380
- return { x: d, y: _, avgX: P, avgY: C, maxX: T, maxY: I };
379
+ const T = Math.max(...d), I = Math.max(...$);
380
+ return { x: d, y: $, avgX: P, avgY: C, maxX: T, maxY: I };
381
381
  }
382
- const b = W(() => e.value.style.layout.marginalBars.tranches), A = W(() => bt(Xe.value, b.value)), Kt = W(() => {
382
+ const b = W(() => e.value.style.layout.marginalBars.tranches), A = W(() => kt(Ye.value, b.value)), Qt = W(() => {
383
383
  const l = n.value.top - e.value.style.layout.marginalBars.offset, s = n.value.right + e.value.style.layout.marginalBars.offset;
384
- return Xe.value.map((t) => {
385
- const o = bt(t, b.value);
384
+ return Ye.value.map((t) => {
385
+ const o = kt(t, b.value);
386
386
  return {
387
387
  coords: o,
388
- dX: wl(o.avgX.map((a, u) => ({
388
+ dX: _l(o.avgX.map((a, u) => ({
389
389
  x: a,
390
390
  y: l - o.x[u] / o.maxX * e.value.style.layout.marginalBars.size
391
391
  }))),
392
- dY: kl(o.avgY.map((a, u) => ({
392
+ dY: wl(o.avgY.map((a, u) => ({
393
393
  y: a,
394
394
  x: s + e.value.style.layout.marginalBars.size * o.y[u] / o.maxY
395
395
  }))),
@@ -397,18 +397,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
397
397
  id: t.id
398
398
  };
399
399
  });
400
- }), Y = M(void 0), p = M(null), Ye = M(null);
401
- function Re(l, s) {
400
+ }), Y = M(void 0), p = M(null), Re = M(null);
401
+ function Ve(l, s) {
402
402
  Y.value = l.id, p.value = l;
403
403
  let t = "";
404
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Ye.value = {
404
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
405
405
  datapoint: l,
406
406
  seriesIndex: s,
407
407
  series: j.value,
408
408
  config: e.value
409
409
  };
410
410
  const o = e.value.style.tooltip.customFormat;
411
- Al(o) && Sl(() => o({
411
+ Sl(o) && Ll(() => o({
412
412
  datapoint: l,
413
413
  seriesIndex: s,
414
414
  series: j.value,
@@ -446,22 +446,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
446
446
  function Ce(l, s) {
447
447
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), ze.value = !1, Y.value = void 0, p.value = null;
448
448
  }
449
- function Ve(l, s) {
449
+ function je(l, s) {
450
450
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
451
451
  }
452
- function kt(l) {
453
- F.value.includes(l) ? F.value = F.value.filter((s) => s !== l) : F.value.length < De.value.length - 1 && F.value.push(l);
452
+ function wt(l) {
453
+ F.value.includes(l) ? F.value = F.value.filter((s) => s !== l) : F.value.length < We.value.length - 1 && F.value.push(l);
454
454
  }
455
- function je(l = null) {
456
- dl(() => {
455
+ function Ue(l = null) {
456
+ hl(() => {
457
457
  const s = ["", 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}`], t = j.value.map((u) => [
458
458
  u.name,
459
459
  u.correlation.coefficient,
460
460
  u.plots.length,
461
461
  u.plots.map((i) => i.v.x).reduce((i, f) => i + f, 0) / u.plots.length,
462
462
  u.plots.map((i) => i.v.y).reduce((i, f) => i + f, 0) / u.plots.length
463
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = Ml(o);
464
- l ? l(a) : Cl({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
463
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = Cl(o);
464
+ l ? l(a) : Al({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
465
465
  });
466
466
  }
467
467
  const Ae = W(() => {
@@ -496,22 +496,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
496
496
  };
497
497
  return { head: l, body: s, config: t, colNames: l };
498
498
  }), re = M(!1);
499
- function wt(l) {
500
- re.value = l, et.value += 1;
499
+ function _t(l) {
500
+ re.value = l, tt.value += 1;
501
501
  }
502
502
  function $t() {
503
- q.value.showTable = !q.value.showTable;
503
+ H.value.showTable = !H.value.showTable;
504
504
  }
505
- function _t() {
506
- q.value.showTooltip = !q.value.showTooltip;
505
+ function Mt() {
506
+ H.value.showTooltip = !H.value.showTooltip;
507
507
  }
508
508
  const Se = M(!1);
509
- function Ue() {
509
+ function Ge() {
510
510
  Se.value = !Se.value;
511
511
  }
512
- async function Qt({ scale: l = 2 } = {}) {
512
+ async function el({ scale: l = 2 } = {}) {
513
513
  if (!te.value) return;
514
- const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Nl({ domElement: te.value, base64: !0, img: !0, scale: l });
514
+ const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Fl({ domElement: te.value, base64: !0, img: !0, scale: l });
515
515
  return {
516
516
  imageUri: a,
517
517
  base64: u,
@@ -521,16 +521,16 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
521
521
  aspectRatio: o
522
522
  };
523
523
  }
524
- function el(l) {
524
+ function tl(l) {
525
525
  ge.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (me.value = A.value.y.length - 2 - l);
526
526
  }
527
- function tl(l) {
527
+ function ll(l) {
528
528
  me.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (ge.value = l);
529
529
  }
530
- function Ge() {
530
+ function qe() {
531
531
  ge.value = null, me.value = null;
532
532
  }
533
- const Mt = {
533
+ const Ct = {
534
534
  circle: 1,
535
535
  square: 1,
536
536
  diamond: 1,
@@ -539,9 +539,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
539
539
  pentagon: 1.3,
540
540
  hexagon: 1.3
541
541
  }, k = (l) => l.toFixed(3);
542
- function ll({ shape: l = "circle", cx: s, cy: t, r: o }) {
542
+ function al({ shape: l = "circle", cx: s, cy: t, r: o }) {
543
543
  if (!e.value.usePerformanceMode) return "";
544
- const a = Mt[l] * o;
544
+ const a = Ct[l] * o;
545
545
  switch (l) {
546
546
  case "circle": {
547
547
  const u = k(s - a), i = k(t), f = k(s + a), v = k(a);
@@ -596,27 +596,27 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
596
596
  }
597
597
  }
598
598
  }
599
- const al = W(() => {
599
+ const ol = W(() => {
600
600
  if (!e.value.usePerformanceMode) return [""];
601
601
  const { left: l, right: s, top: t, bottom: o } = n.value, a = Math.max(1, (s - l) * (o - t)), u = (d) => d / a * 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;
602
602
  return j.value.map((d) => {
603
- const _ = [];
603
+ const $ = [];
604
604
  for (const C of d.plots) {
605
605
  const T = C.x, I = C.y;
606
606
  if (T < l || T > s || I < t || I > o) continue;
607
607
  const B = Math.max(e.value.style.layout.plots.radius, C.weight);
608
- _.push(ll({
608
+ $.push(al({
609
609
  shape: d.shape || "circle",
610
610
  cx: T,
611
611
  cy: I,
612
612
  r: B
613
613
  }));
614
614
  }
615
- if (!_.length) return null;
615
+ if (!$.length) return null;
616
616
  const P = u(d.plots.length) > i || d.plots.length > f;
617
617
  return {
618
618
  id: d.id,
619
- d: _.join(""),
619
+ d: $.join(""),
620
620
  fill: Te(d.color, L * 100),
621
621
  stroke: P ? "none" : v,
622
622
  strokeWidth: P ? 0 : g,
@@ -624,9 +624,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
624
624
  };
625
625
  }).filter(Boolean);
626
626
  });
627
- function ol() {
627
+ function sl() {
628
628
  return e.value.usePerformanceMode ? (l) => {
629
- const s = Fe.value;
629
+ const s = Ie.value;
630
630
  if (!s) return;
631
631
  const t = s.createSVGPoint();
632
632
  t.x = l.clientX, t.y = l.clientY;
@@ -634,37 +634,37 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
634
634
  if (!o) return;
635
635
  const a = o.inverse(), u = t.matrixTransform(a), i = 8, f = i * i;
636
636
  let v = null, g = 1 / 0, L = -1;
637
- if (j.value.forEach((d, _) => {
637
+ if (j.value.forEach((d, $) => {
638
638
  d.plots.forEach((P) => {
639
639
  const C = P.x - u.x, T = P.y - u.y, I = C * C + T * T;
640
- I <= f && I < g && (g = I, v = P, L = _);
640
+ I <= f && I < g && (g = I, v = P, L = $);
641
641
  });
642
642
  }), v)
643
- Y.value !== v.id && (Y.value = v.id, Re(v, L));
643
+ Y.value !== v.id && (Y.value = v.id, Ve(v, L));
644
644
  else if (Y.value) {
645
645
  const d = p.value;
646
646
  Y.value = void 0, Ce(d, L);
647
647
  }
648
648
  } : () => null;
649
649
  }
650
- const Ct = ol();
651
- function sl() {
650
+ const At = sl();
651
+ function nl() {
652
652
  if (Y.value) {
653
653
  const l = p.value;
654
654
  Y.value = void 0, Ce(l, null);
655
655
  }
656
656
  }
657
- function nl(l) {
657
+ function ul(l) {
658
658
  const s = p.value;
659
659
  if (s) {
660
660
  const t = j.value.findIndex((o) => o.id === s.clusterId);
661
- Ve(s, t >= 0 ? t : 0);
661
+ je(s, t >= 0 ? t : 0);
662
662
  }
663
663
  }
664
664
  const be = W(() => {
665
- const l = e.value.table.useDialog && !e.value.table.show, s = q.value.showTable;
665
+ const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
666
666
  return {
667
- component: l ? Rt : Nt,
667
+ component: l ? jt : It,
668
668
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
669
669
  props: l ? {
670
670
  backgroundColor: e.value.table.th.backgroundColor,
@@ -691,50 +691,54 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
691
691
  }
692
692
  };
693
693
  });
694
- return Be(() => q.value.showTable, (l) => {
694
+ Be(() => H.value.showTable, (l) => {
695
695
  e.value.table.show || (l && e.value.table.useDialog && xe.value ? xe.value.open() : "close" in xe.value && xe.value.close());
696
- }), Et({
697
- getData: Jt,
698
- getImage: Qt,
699
- generatePdf: pt,
700
- generateCsv: je,
701
- generateImage: gt,
696
+ });
697
+ function St() {
698
+ H.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
699
+ }
700
+ return Wt({
701
+ getData: Kt,
702
+ getImage: el,
703
+ generatePdf: gt,
704
+ generateCsv: Ue,
705
+ generateImage: mt,
702
706
  toggleTable: $t,
703
- toggleTooltip: _t,
704
- toggleAnnotator: Ue,
705
- toggleFullscreen: wt
707
+ toggleTooltip: Mt,
708
+ toggleAnnotator: Ge,
709
+ toggleFullscreen: _t
706
710
  }), (l, s) => (r(), y("div", {
707
- class: St(`vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
711
+ class: Bt(`vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
708
712
  ref_key: "scatterChart",
709
713
  ref: te,
710
714
  id: `vue-ui-scatter_${N.value}`,
711
715
  style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
712
- onMouseenter: s[7] || (s[7] = () => c(vt)(!0)),
713
- onMouseleave: s[8] || (s[8] = () => c(vt)(!1))
716
+ onMouseenter: s[5] || (s[5] = () => c(yt)(!0)),
717
+ onMouseleave: s[6] || (s[6] = () => c(yt)(!1))
714
718
  }, [
715
- e.value.userOptions.buttons.annotator ? (r(), le(c(It), {
719
+ e.value.userOptions.buttons.annotator ? (r(), le(c(Yt), {
716
720
  key: 0,
717
- svgRef: c(Fe),
721
+ svgRef: c(Ie),
718
722
  backgroundColor: e.value.style.backgroundColor,
719
723
  color: e.value.style.color,
720
724
  active: Se.value,
721
- onClose: Ue
725
+ onClose: Ge
722
726
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
723
- Ht.value ? (r(), y("div", {
727
+ Zt.value ? (r(), y("div", {
724
728
  key: 1,
725
729
  ref_key: "noTitle",
726
- ref: ot,
730
+ ref: st,
727
731
  class: "vue-data-ui-no-title-space",
728
732
  style: "height:36px; width: 100%;background:transparent"
729
733
  }, null, 512)) : x("", !0),
730
734
  e.value.style.title.text ? (r(), y("div", {
731
735
  key: 2,
732
736
  ref_key: "chartTitle",
733
- ref: tt,
737
+ ref: lt,
734
738
  style: "width:100%;background:transparent"
735
739
  }, [
736
- (r(), le(Wl, {
737
- key: `title_${st.value}`,
740
+ (r(), le(Nl, {
741
+ key: `title_${nt.value}`,
738
742
  config: {
739
743
  title: {
740
744
  cy: "scatter-div-title",
@@ -749,15 +753,15 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
749
753
  ], 512)) : x("", !0),
750
754
  w("div", {
751
755
  id: `legend-top-${N.value}`
752
- }, null, 8, Xl),
753
- e.value.userOptions.show && Qe.value && (c(yt) || c(Ne)) ? (r(), le(c(Xt), {
754
- ref_key: "details",
755
- ref: jt,
756
- key: `user_options_${et.value}`,
756
+ }, null, 8, Yl),
757
+ e.value.userOptions.show && et.value && (c(ct) || c(Fe)) ? (r(), le(c(Rt), {
758
+ ref_key: "userOptionsRef",
759
+ ref: Oe,
760
+ key: `user_options_${tt.value}`,
757
761
  backgroundColor: e.value.style.backgroundColor,
758
762
  color: e.value.style.color,
759
- isImaging: c(ft),
760
- isPrinting: c(ht),
763
+ isImaging: c(pt),
764
+ isPrinting: c(ft),
761
765
  uid: N.value,
762
766
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
763
767
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -765,7 +769,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
765
769
  hasXls: e.value.userOptions.buttons.csv,
766
770
  hasTable: e.value.userOptions.buttons.table,
767
771
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
768
- isTooltip: q.value.showTooltip,
772
+ isTooltip: H.value.showTooltip,
769
773
  isFullscreen: re.value,
770
774
  titles: { ...e.value.userOptions.buttonTitles },
771
775
  chartElement: te.value,
@@ -774,17 +778,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
774
778
  isAnnotation: Se.value,
775
779
  callbacks: e.value.userOptions.callbacks,
776
780
  printScale: e.value.userOptions.print.scale,
777
- onToggleFullscreen: wt,
778
- onGeneratePdf: c(pt),
779
- onGenerateCsv: je,
780
- onGenerateImage: c(gt),
781
+ tableDialog: e.value.table.useDialog,
782
+ onToggleFullscreen: _t,
783
+ onGeneratePdf: c(gt),
784
+ onGenerateCsv: Ue,
785
+ onGenerateImage: c(mt),
781
786
  onToggleTable: $t,
782
- onToggleTooltip: _t,
783
- onToggleAnnotator: Ue,
787
+ onToggleTooltip: Mt,
788
+ onToggleAnnotator: Ge,
784
789
  style: ne({
785
- visibility: c(yt) ? c(Ne) ? "visible" : "hidden" : "visible"
790
+ visibility: c(ct) ? c(Fe) ? "visible" : "hidden" : "visible"
786
791
  })
787
- }, Lt({ _: 2 }, [
792
+ }, Tt({ _: 2 }, [
788
793
  l.$slots.menuIcon ? {
789
794
  name: "menuIcon",
790
795
  fn: X(({ isOpen: t, color: o }) => [
@@ -841,50 +846,50 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
841
846
  ]),
842
847
  key: "7"
843
848
  } : void 0
844
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
849
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
845
850
  (r(), y("svg", {
846
851
  ref_key: "svgRef",
847
- ref: Fe,
852
+ ref: Ie,
848
853
  xmlns: c($l),
849
- class: St({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
850
- viewBox: `0 0 ${E.value.width <= 0 ? 10 : E.value.width} ${E.value.height <= 0 ? 10 : E.value.height}`,
854
+ class: Bt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
855
+ viewBox: `0 0 ${D.value.width <= 0 ? 10 : D.value.width} ${D.value.height <= 0 ? 10 : D.value.height}`,
851
856
  style: ne(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
852
- onMouseleave: Ge
857
+ onMouseleave: qe
853
858
  }, [
854
- _e(c(Yt)),
859
+ $e(c(Vt)),
855
860
  l.$slots["chart-background"] ? (r(), y("foreignObject", {
856
861
  key: 0,
857
862
  x: 0,
858
863
  y: 0,
859
- width: E.value.width <= 0 ? 10 : E.value.width,
860
- height: E.value.height <= 0 ? 10 : E.value.height,
864
+ width: D.value.width <= 0 ? 10 : D.value.width,
865
+ height: D.value.height <= 0 ? 10 : D.value.height,
861
866
  style: {
862
867
  pointerEvents: "none"
863
868
  }
864
869
  }, [
865
870
  V(l.$slots, "chart-background", {}, void 0, !0)
866
- ], 8, Rl)) : x("", !0),
867
- e.value.style.layout.axis.show ? (r(), y("g", Vl, [
871
+ ], 8, Vl)) : x("", !0),
872
+ e.value.style.layout.axis.show ? (r(), y("g", jl, [
868
873
  w("line", {
869
- x1: D.value.x,
870
- x2: D.value.x,
874
+ x1: E.value.x,
875
+ x2: E.value.x,
871
876
  y1: n.value.top,
872
877
  y2: n.value.bottom,
873
878
  stroke: e.value.style.layout.axis.stroke,
874
879
  "stroke-width": e.value.style.layout.axis.strokeWidth,
875
880
  "stroke-linecap": "round"
876
- }, null, 8, jl),
881
+ }, null, 8, Ul),
877
882
  w("line", {
878
883
  x1: n.value.left,
879
884
  x2: n.value.right,
880
- y1: D.value.y,
881
- y2: D.value.y,
885
+ y1: E.value.y,
886
+ y2: E.value.y,
882
887
  stroke: e.value.style.layout.axis.stroke,
883
888
  "stroke-width": e.value.style.layout.axis.strokeWidth,
884
889
  "stroke-linecap": "round"
885
- }, null, 8, Ul)
890
+ }, null, 8, Gl)
886
891
  ])) : x("", !0),
887
- e.value.style.layout.marginalBars.show ? (r(), y("g", Gl, [
892
+ e.value.style.layout.marginalBars.show ? (r(), y("g", ql, [
888
893
  w("defs", null, [
889
894
  w("linearGradient", {
890
895
  id: `marginal_x_${N.value}`,
@@ -896,12 +901,12 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
896
901
  w("stop", {
897
902
  offset: "0%",
898
903
  "stop-color": e.value.style.layout.marginalBars.fill
899
- }, null, 8, Hl),
904
+ }, null, 8, Zl),
900
905
  w("stop", {
901
906
  offset: "100%",
902
907
  "stop-color": e.value.style.backgroundColor
903
- }, null, 8, Zl)
904
- ], 8, ql),
908
+ }, null, 8, Jl)
909
+ ], 8, Hl),
905
910
  w("linearGradient", {
906
911
  id: `marginal_y_${N.value}`,
907
912
  x1: "0%",
@@ -912,12 +917,12 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
912
917
  w("stop", {
913
918
  offset: "0%",
914
919
  "stop-color": e.value.style.backgroundColor
915
- }, null, 8, Kl),
920
+ }, null, 8, Ql),
916
921
  w("stop", {
917
922
  offset: "100%",
918
923
  "stop-color": e.value.style.layout.marginalBars.fill
919
- }, null, 8, Ql)
920
- ], 8, Jl)
924
+ }, null, 8, ea)
925
+ ], 8, Kl)
921
926
  ]),
922
927
  (r(!0), y(Z, null, K(A.value.x, (t, o) => (r(), y("g", null, [
923
928
  t && A.value.avgX[o] ? (r(), y("rect", {
@@ -931,7 +936,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
931
936
  stroke: e.value.style.backgroundColor,
932
937
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
933
938
  rx: e.value.style.layout.marginalBars.borderRadius
934
- }, null, 12, ea)) : x("", !0),
939
+ }, null, 12, ta)) : x("", !0),
935
940
  A.value.avgX[o] ? (r(), y("rect", {
936
941
  key: 1,
937
942
  x: A.value.avgX[o] - n.value.width / b.value / 2,
@@ -939,10 +944,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
939
944
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
940
945
  height: Math.max(0.1, e.value.style.layout.marginalBars.size),
941
946
  fill: "transparent",
942
- onMouseenter: (a) => el(o),
943
- onMouseleave: s[0] || (s[0] = (a) => Ge())
944
- }, null, 40, ta)) : x("", !0),
945
- A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", la, [
947
+ onMouseenter: (a) => tl(o),
948
+ onMouseleave: s[0] || (s[0] = (a) => qe())
949
+ }, null, 40, la)) : x("", !0),
950
+ A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", aa, [
946
951
  w("rect", {
947
952
  x: A.value.avgX[o] - n.value.width / b.value / 2,
948
953
  y: n.value.top,
@@ -950,7 +955,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
950
955
  height: n.value.height,
951
956
  fill: e.value.style.layout.marginalBars.highlighter.color,
952
957
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
953
- }, null, 8, aa),
958
+ }, null, 8, oa),
954
959
  w("line", {
955
960
  x1: A.value.avgX[o] - n.value.width / b.value / 2,
956
961
  x2: A.value.avgX[o] - n.value.width / b.value / 2,
@@ -960,7 +965,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
960
965
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
961
966
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
962
967
  style: { transition: "none !important", animation: "none !important" }
963
- }, null, 8, oa),
968
+ }, null, 8, sa),
964
969
  w("line", {
965
970
  x1: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
966
971
  x2: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
@@ -970,7 +975,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
970
975
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
971
976
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
972
977
  style: { transition: "none !important", animation: "none !important" }
973
- }, null, 8, sa)
978
+ }, null, 8, na)
974
979
  ])) : x("", !0)
975
980
  ]))), 256)),
976
981
  (r(!0), y(Z, null, K(A.value.y, (t, o) => (r(), y("g", null, [
@@ -985,7 +990,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
985
990
  stroke: e.value.style.backgroundColor,
986
991
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
987
992
  rx: e.value.style.layout.marginalBars.borderRadius
988
- }, null, 12, na)) : x("", !0),
993
+ }, null, 12, ua)) : x("", !0),
989
994
  A.value.avgY[o] ? (r(), y("rect", {
990
995
  key: 1,
991
996
  x: n.value.right + e.value.style.layout.marginalBars.offset,
@@ -993,10 +998,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
993
998
  width: Math.max(0.1, e.value.style.layout.marginalBars.size),
994
999
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
995
1000
  fill: "transparent",
996
- onMouseenter: (a) => tl(o),
997
- onMouseleave: s[1] || (s[1] = (a) => Ge())
998
- }, null, 40, ua)) : x("", !0),
999
- A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", ia, [
1001
+ onMouseenter: (a) => ll(o),
1002
+ onMouseleave: s[1] || (s[1] = (a) => qe())
1003
+ }, null, 40, ia)) : x("", !0),
1004
+ A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", ra, [
1000
1005
  w("rect", {
1001
1006
  x: n.value.left,
1002
1007
  y: A.value.avgY[o] - n.value.height / b.value / 2,
@@ -1004,31 +1009,31 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1004
1009
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1005
1010
  fill: e.value.style.layout.marginalBars.highlighter.color,
1006
1011
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
1007
- }, null, 8, ra),
1012
+ }, null, 8, va),
1008
1013
  w("line", {
1009
1014
  x1: n.value.left,
1010
- x2: E.value.width,
1015
+ x2: D.value.width,
1011
1016
  y1: A.value.avgY[o] - n.value.height / b.value / 2,
1012
1017
  y2: A.value.avgY[o] - n.value.height / b.value / 2,
1013
1018
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1014
1019
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1015
1020
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1016
1021
  style: { transition: "none !important", animation: "none !important" }
1017
- }, null, 8, va),
1022
+ }, null, 8, ya),
1018
1023
  w("line", {
1019
1024
  x1: n.value.left,
1020
- x2: E.value.width,
1025
+ x2: D.value.width,
1021
1026
  y1: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1022
1027
  y2: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1023
1028
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1024
1029
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1025
1030
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1026
1031
  style: { transition: "none !important", animation: "none !important" }
1027
- }, null, 8, ya)
1032
+ }, null, 8, ca)
1028
1033
  ])) : x("", !0)
1029
1034
  ]))), 256)),
1030
- e.value.style.layout.marginalBars.showLines ? (r(), y("g", ca, [
1031
- (r(!0), y(Z, null, K(Kt.value, (t) => (r(), y(Z, null, [
1035
+ e.value.style.layout.marginalBars.showLines ? (r(), y("g", da, [
1036
+ (r(!0), y(Z, null, K(Qt.value, (t) => (r(), y(Z, null, [
1032
1037
  F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1033
1038
  key: 0,
1034
1039
  d: `M ${t.dX}`,
@@ -1037,7 +1042,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1037
1042
  "stroke-linecap": "round",
1038
1043
  "stroke-linejoin": "round",
1039
1044
  fill: "none"
1040
- }, null, 8, da)),
1045
+ }, null, 8, ha)),
1041
1046
  F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1042
1047
  key: 1,
1043
1048
  d: `M ${t.dX}`,
@@ -1046,7 +1051,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1046
1051
  "stroke-linecap": "round",
1047
1052
  "stroke-linejoin": "round",
1048
1053
  fill: "none"
1049
- }, null, 8, ha)),
1054
+ }, null, 8, fa)),
1050
1055
  F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1051
1056
  key: 2,
1052
1057
  d: `M ${t.dY}`,
@@ -1055,7 +1060,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1055
1060
  "stroke-linecap": "round",
1056
1061
  "stroke-linejoin": "round",
1057
1062
  fill: "none"
1058
- }, null, 8, fa)),
1063
+ }, null, 8, pa)),
1059
1064
  F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1060
1065
  key: 3,
1061
1066
  d: `M ${t.dY}`,
@@ -1064,26 +1069,26 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1064
1069
  "stroke-linecap": "round",
1065
1070
  "stroke-linejoin": "round",
1066
1071
  fill: "none"
1067
- }, null, 8, pa))
1072
+ }, null, 8, ga))
1068
1073
  ], 64))), 256))
1069
1074
  ])) : x("", !0)
1070
1075
  ])) : x("", !0),
1071
- e.value.style.layout.plots.giftWrap.show ? (r(), y("g", ga, [
1076
+ e.value.style.layout.plots.giftWrap.show ? (r(), y("g", ma, [
1072
1077
  (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
1073
1078
  t.plots.length > 2 ? (r(), y("polygon", {
1074
1079
  key: 0,
1075
- points: c(_l)({ series: t.plots }),
1080
+ points: c(Ml)({ series: t.plots }),
1076
1081
  fill: c(Te)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1077
1082
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1078
1083
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1079
1084
  stroke: t.color,
1080
1085
  "stroke-linejoin": "round",
1081
1086
  "stroke-linecap": "round"
1082
- }, null, 8, ma)) : x("", !0)
1087
+ }, null, 8, xa)) : x("", !0)
1083
1088
  ]))), 256))
1084
1089
  ])) : x("", !0),
1085
1090
  e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(j.value, (t, o) => (r(), y("g", null, [
1086
- !t.shape || t.shape === "circle" ? (r(), y("g", xa, [
1091
+ !t.shape || t.shape === "circle" ? (r(), y("g", ba, [
1087
1092
  (r(!0), y(Z, null, K(t.plots, (a, u) => (r(), y("circle", {
1088
1093
  cx: a.x,
1089
1094
  cy: a.y,
@@ -1091,23 +1096,23 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1091
1096
  fill: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
1092
1097
  stroke: e.value.style.layout.plots.stroke,
1093
1098
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1094
- style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / xt.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}`),
1095
- onMouseover: (i) => Re(a, o),
1099
+ style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.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}`),
1100
+ onMouseover: (i) => Ve(a, o),
1096
1101
  onMouseleave: (i) => Ce(a, o),
1097
- onClick: (i) => Ve(a, o)
1098
- }, null, 44, ba))), 256))
1099
- ])) : (r(), y("g", ka, [
1100
- (r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(Ke, {
1102
+ onClick: (i) => je(a, o)
1103
+ }, null, 44, ka))), 256))
1104
+ ])) : (r(), y("g", wa, [
1105
+ (r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(Qe, {
1101
1106
  plot: { x: a.x, y: a.y },
1102
1107
  radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1103
1108
  shape: t.shape,
1104
1109
  color: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
1105
1110
  stroke: e.value.style.layout.plots.stroke,
1106
1111
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1107
- style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / xt.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}`),
1108
- onMouseover: (i) => Re(a, o),
1112
+ style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.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}`),
1113
+ onMouseover: (i) => Ve(a, o),
1109
1114
  onMouseleave: (i) => Ce(a, o),
1110
- onClick: (i) => Ve(a, o)
1115
+ onClick: (i) => je(a, o)
1111
1116
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
1112
1117
  ]))
1113
1118
  ]))), 256)),
@@ -1115,7 +1120,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1115
1120
  w("g", {
1116
1121
  "clip-path": `url(#clip_path_${N.value})`
1117
1122
  }, [
1118
- (r(!0), y(Z, null, K(al.value, (t) => (r(), y("path", {
1123
+ (r(!0), y(Z, null, K(ol.value, (t) => (r(), y("path", {
1119
1124
  key: t.id,
1120
1125
  d: t.d,
1121
1126
  fill: t.fill,
@@ -1125,13 +1130,13 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1125
1130
  "vector-effect": "non-scaling-stroke",
1126
1131
  "paint-order": "fill"
1127
1132
  }, null, 8, $a))), 128))
1128
- ], 8, wa),
1129
- p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", _a, [
1130
- _e(Ke, {
1133
+ ], 8, _a),
1134
+ p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Ma, [
1135
+ $e(Qe, {
1131
1136
  shape: p.value.shape || "circle",
1132
1137
  color: p.value.color,
1133
1138
  plot: { x: p.value.x, y: p.value.y },
1134
- radius: Math.max(4 * Mt[p.value.shape || "circle"], p.value.weight * 2),
1139
+ radius: Math.max(4 * Ct[p.value.shape || "circle"], p.value.weight * 2),
1135
1140
  stroke: e.value.style.layout.plots.stroke,
1136
1141
  strokeWidth: e.value.style.layout.plots.strokeWidth
1137
1142
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])
@@ -1142,14 +1147,14 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1142
1147
  width: Math.max(1e-4, n.value.width),
1143
1148
  height: Math.max(1e-4, n.value.height),
1144
1149
  fill: "transparent",
1145
- onMousemove: s[2] || (s[2] = (...t) => c(Ct) && c(Ct)(...t)),
1146
- onMouseleave: sl,
1147
- onClick: nl
1148
- }, null, 40, Ma)
1150
+ onMousemove: s[2] || (s[2] = (...t) => c(At) && c(At)(...t)),
1151
+ onMouseleave: nl,
1152
+ onClick: ul
1153
+ }, null, 40, Ca)
1149
1154
  ], 64)) : x("", !0),
1150
- p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Ca, [
1155
+ p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Aa, [
1151
1156
  w("line", {
1152
- x1: D.value.x,
1157
+ x1: E.value.x,
1153
1158
  x2: p.value.x,
1154
1159
  y1: p.value.y,
1155
1160
  y2: p.value.y,
@@ -1158,86 +1163,86 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1158
1163
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1159
1164
  "stroke-linecap": "round",
1160
1165
  class: "line-pointer"
1161
- }, null, 8, Aa),
1166
+ }, null, 8, Sa),
1162
1167
  w("line", {
1163
1168
  x1: p.value.x,
1164
1169
  x2: p.value.x,
1165
- y1: D.value.y,
1170
+ y1: E.value.y,
1166
1171
  y2: p.value.y,
1167
1172
  stroke: e.value.style.layout.plots.selectors.stroke,
1168
1173
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
1169
1174
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1170
1175
  "stroke-linecap": "round",
1171
1176
  class: "line-pointer"
1172
- }, null, 8, Sa),
1177
+ }, null, 8, La),
1173
1178
  w("text", {
1174
- x: D.value.x + (p.value.x > D.value.x ? -6 : 6),
1179
+ x: E.value.x + (p.value.x > E.value.x ? -6 : 6),
1175
1180
  y: p.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1176
1181
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1177
1182
  fill: e.value.style.layout.plots.selectors.labels.color,
1178
1183
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1179
- "text-anchor": p.value.x > D.value.x ? "end" : "start"
1184
+ "text-anchor": p.value.x > E.value.x ? "end" : "start"
1180
1185
  }, G(c(ue)(
1181
1186
  e.value.style.layout.plots.selectors.labels.y.formatter,
1182
- c(H)(p.value.v.y),
1187
+ c(q)(p.value.v.y),
1183
1188
  c(Q)({
1184
1189
  p: e.value.style.layout.plots.selectors.labels.prefix,
1185
- v: c(H)(p.value.v.y),
1190
+ v: c(q)(p.value.v.y),
1186
1191
  s: e.value.style.layout.plots.selectors.labels.suffix,
1187
1192
  r: e.value.style.layout.plots.selectors.labels.rounding
1188
1193
  }),
1189
1194
  { datapoint: p.value }
1190
- )), 9, La),
1195
+ )), 9, Ba),
1191
1196
  w("text", {
1192
1197
  x: p.value.x,
1193
- y: D.value.y + (p.value.y > D.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1198
+ y: E.value.y + (p.value.y > E.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1194
1199
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1195
1200
  fill: e.value.style.layout.plots.selectors.labels.color,
1196
1201
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1197
1202
  "text-anchor": "middle"
1198
1203
  }, G(c(ue)(
1199
1204
  e.value.style.layout.plots.selectors.labels.y.formatter,
1200
- c(H)(p.value.v.x),
1205
+ c(q)(p.value.v.x),
1201
1206
  c(Q)({
1202
1207
  p: e.value.style.layout.plots.selectors.labels.prefix,
1203
- v: c(H)(p.value.v.x),
1208
+ v: c(q)(p.value.v.x),
1204
1209
  s: e.value.style.layout.plots.selectors.labels.suffix,
1205
1210
  r: e.value.style.layout.plots.selectors.labels.rounding
1206
1211
  }),
1207
1212
  { datapoint: p.value }
1208
- )), 9, Ba),
1213
+ )), 9, Ta),
1209
1214
  w("circle", {
1210
- cx: D.value.x,
1215
+ cx: E.value.x,
1211
1216
  cy: p.value.y,
1212
1217
  r: e.value.style.layout.plots.selectors.markers.radius,
1213
1218
  fill: e.value.style.layout.plots.selectors.markers.fill,
1214
1219
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1215
1220
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1216
1221
  class: "line-pointer"
1217
- }, null, 8, Ta),
1222
+ }, null, 8, za),
1218
1223
  w("circle", {
1219
1224
  cx: p.value.x,
1220
- cy: D.value.y,
1225
+ cy: E.value.y,
1221
1226
  r: e.value.style.layout.plots.selectors.markers.radius,
1222
1227
  fill: e.value.style.layout.plots.selectors.markers.fill,
1223
1228
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1224
1229
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1225
1230
  class: "line-pointer"
1226
- }, null, 8, za),
1231
+ }, null, 8, Pa),
1227
1232
  e.value.style.layout.plots.selectors.labels.showName ? (r(), y("text", {
1228
1233
  key: 0,
1229
1234
  x: p.value.x,
1230
- y: p.value.y + (p.value.y < D.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1235
+ 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),
1231
1236
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1232
1237
  fill: e.value.style.layout.plots.selectors.labels.color,
1233
1238
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1234
- "text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x > D.value.x ? "start" : "end"
1235
- }, G(p.value.v.name), 9, Pa)) : x("", !0)
1239
+ "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"
1240
+ }, G(p.value.v.name), 9, Oa)) : x("", !0)
1236
1241
  ])) : x("", !0),
1237
1242
  e.value.style.layout.dataLabels.xAxis.show ? (r(), y("g", {
1238
1243
  key: 7,
1239
1244
  ref_key: "xAxisLabelLeft",
1240
- ref: Oe
1245
+ ref: De
1241
1246
  }, [
1242
1247
  w("text", {
1243
1248
  id: `vue-ui-scatter-xAxis-label-${N.value}`,
@@ -1246,18 +1251,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1246
1251
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1247
1252
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1248
1253
  fill: e.value.style.layout.dataLabels.xAxis.color
1249
- }, G(e.value.style.layout.dataLabels.xAxis.name), 9, Oa),
1254
+ }, G(e.value.style.layout.dataLabels.xAxis.name), 9, Da),
1250
1255
  w("text", {
1251
1256
  "text-anchor": "middle",
1252
1257
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1253
1258
  fill: e.value.style.layout.dataLabels.xAxis.color,
1254
- transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${D.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1259
+ 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)`
1255
1260
  }, G(c(ue)(
1256
1261
  e.value.style.layout.plots.selectors.labels.x.formatter,
1257
- c(H)(z.value.xMin),
1262
+ c(q)(z.value.xMin),
1258
1263
  c(Q)({
1259
1264
  p: e.value.style.layout.plots.selectors.labels.prefix,
1260
- v: c(H)(z.value.xMin),
1265
+ v: c(q)(z.value.xMin),
1261
1266
  s: e.value.style.layout.plots.selectors.labels.suffix,
1262
1267
  r: e.value.style.layout.dataLabels.xAxis.rounding
1263
1268
  })
@@ -1266,69 +1271,69 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1266
1271
  e.value.style.layout.dataLabels.xAxis.show ? (r(), y("text", {
1267
1272
  key: 8,
1268
1273
  ref_key: "xAxisLabelRight",
1269
- ref: Ut,
1274
+ ref: Gt,
1270
1275
  "text-anchor": "middle",
1271
- transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${D.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1276
+ 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)`,
1272
1277
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1273
1278
  fill: e.value.style.layout.dataLabels.xAxis.color
1274
1279
  }, G(c(ue)(
1275
1280
  e.value.style.layout.plots.selectors.labels.x.formatter,
1276
- c(H)(z.value.xMax),
1281
+ c(q)(z.value.xMax),
1277
1282
  c(Q)({
1278
1283
  p: e.value.style.layout.plots.selectors.labels.prefix,
1279
- v: c(H)(z.value.xMax),
1284
+ v: c(q)(z.value.xMax),
1280
1285
  s: e.value.style.layout.plots.selectors.labels.suffix,
1281
1286
  r: e.value.style.layout.dataLabels.xAxis.rounding
1282
1287
  })
1283
- )), 9, Da)) : x("", !0),
1288
+ )), 9, Wa)) : x("", !0),
1284
1289
  e.value.style.layout.dataLabels.yAxis.show ? (r(), y("text", {
1285
1290
  key: 9,
1286
1291
  ref_key: "yAxisLabelTop",
1287
- ref: Gt,
1288
- x: D.value.x,
1292
+ ref: qt,
1293
+ x: E.value.x,
1289
1294
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
1290
1295
  "text-anchor": "middle",
1291
1296
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1292
1297
  fill: e.value.style.layout.dataLabels.yAxis.color
1293
1298
  }, G(c(ue)(
1294
1299
  e.value.style.layout.plots.selectors.labels.y.formatter,
1295
- c(H)(z.value.yMax),
1300
+ c(q)(z.value.yMax),
1296
1301
  c(Q)({
1297
1302
  p: e.value.style.layout.plots.selectors.labels.prefix,
1298
- v: c(H)(z.value.yMax),
1303
+ v: c(q)(z.value.yMax),
1299
1304
  s: e.value.style.layout.plots.selectors.labels.suffix,
1300
1305
  r: e.value.style.layout.dataLabels.yAxis.rounding
1301
1306
  })
1302
- )), 9, Wa)) : x("", !0),
1307
+ )), 9, Na)) : x("", !0),
1303
1308
  e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
1304
1309
  key: 10,
1305
1310
  ref_key: "yAxisLabelBottom",
1306
1311
  ref: Ee
1307
1312
  }, [
1308
1313
  w("text", {
1309
- x: D.value.x,
1310
- y: E.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1314
+ x: E.value.x,
1315
+ y: D.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1311
1316
  "text-anchor": "middle",
1312
1317
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1313
1318
  fill: e.value.style.layout.dataLabels.yAxis.color
1314
1319
  }, G(c(ue)(
1315
1320
  e.value.style.layout.plots.selectors.labels.y.formatter,
1316
- c(H)(z.value.yMin),
1321
+ c(q)(z.value.yMin),
1317
1322
  c(Q)({
1318
1323
  p: e.value.style.layout.plots.selectors.labels.prefix,
1319
- v: c(H)(z.value.yMin),
1324
+ v: c(q)(z.value.yMin),
1320
1325
  s: e.value.style.layout.plots.selectors.labels.suffix,
1321
1326
  r: e.value.style.layout.dataLabels.yAxis.rounding
1322
1327
  })
1323
- )), 9, Na),
1328
+ )), 9, Fa),
1324
1329
  w("text", {
1325
1330
  "text-anchor": "middle",
1326
1331
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1327
1332
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
1328
1333
  fill: e.value.style.layout.dataLabels.yAxis.color,
1329
1334
  x: n.value.left + n.value.width / 2,
1330
- y: E.value.height
1331
- }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Fa)
1335
+ y: D.value.height
1336
+ }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Ia)
1332
1337
  ], 512)) : x("", !0),
1333
1338
  w("clipPath", {
1334
1339
  id: `clip_path_${N.value}`
@@ -1338,9 +1343,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1338
1343
  y: n.value.top,
1339
1344
  width: n.value.width <= 0 ? 1e-4 : n.value.width,
1340
1345
  height: n.value.height <= 0 ? 1e-4 : n.value.height
1341
- }, null, 8, Xa)
1342
- ], 8, Ia),
1343
- e.value.style.layout.correlation.show ? (r(), y("g", Ya, [
1346
+ }, null, 8, Ya)
1347
+ ], 8, Xa),
1348
+ e.value.style.layout.correlation.show ? (r(), y("g", Ra, [
1344
1349
  (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("line", {
1345
1350
  x1: t.correlation.x1,
1346
1351
  x2: t.correlation.x2,
@@ -1350,7 +1355,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1350
1355
  stroke: t.color,
1351
1356
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
1352
1357
  "clip-path": `url(#clip_path_${N.value})`
1353
- }, null, 8, Ra))), 256)),
1358
+ }, null, 8, Va))), 256)),
1354
1359
  (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
1355
1360
  e.value.style.layout.correlation.label.show ? (r(), y("text", {
1356
1361
  key: 0,
@@ -1361,38 +1366,38 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1361
1366
  "font-size": e.value.style.layout.correlation.label.fontSize,
1362
1367
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
1363
1368
  }, G(c(Q)({
1364
- v: c(H)(t.correlation.coefficient),
1369
+ v: c(q)(t.correlation.coefficient),
1365
1370
  r: e.value.style.layout.correlation.label.roundingValue
1366
- })), 9, Va)) : x("", !0)
1371
+ })), 9, ja)) : x("", !0)
1367
1372
  ]))), 256))
1368
1373
  ])) : x("", !0),
1369
- V(l.$slots, "svg", { svg: E.value }, void 0, !0)
1370
- ], 46, Yl)),
1371
- l.$slots.watermark ? (r(), y("div", ja, [
1372
- V(l.$slots, "watermark", fe(pe({ isPrinting: c(ht) || c(ft) })), void 0, !0)
1374
+ V(l.$slots, "svg", { svg: D.value }, void 0, !0)
1375
+ ], 46, Rl)),
1376
+ l.$slots.watermark ? (r(), y("div", Ua, [
1377
+ V(l.$slots, "watermark", fe(pe({ isPrinting: c(ft) || c(pt) })), void 0, !0)
1373
1378
  ])) : x("", !0),
1374
1379
  w("div", {
1375
1380
  id: `legend-bottom-${N.value}`
1376
- }, null, 8, Ua),
1377
- it.value ? (r(), le(vl, {
1381
+ }, null, 8, Ga),
1382
+ rt.value ? (r(), le(yl, {
1378
1383
  key: 5,
1379
1384
  to: e.value.style.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
1380
1385
  }, [
1381
1386
  w("div", {
1382
1387
  ref_key: "chartLegend",
1383
- ref: lt
1388
+ ref: at
1384
1389
  }, [
1385
- e.value.style.legend.show ? (r(), le(Dl, {
1386
- key: `legend_${ut.value}`,
1390
+ e.value.style.legend.show ? (r(), le(Wl, {
1391
+ key: `legend_${it.value}`,
1387
1392
  legendSet: ie.value,
1388
- config: Zt.value,
1389
- onClickMarker: s[3] || (s[3] = ({ legend: t }) => kt(t.id))
1393
+ config: Jt.value,
1394
+ onClickMarker: s[3] || (s[3] = ({ legend: t }) => wt(t.id))
1390
1395
  }, {
1391
1396
  item: X(({ legend: t }) => [
1392
1397
  w("div", {
1393
1398
  onClick: (o) => t.segregate(),
1394
1399
  style: ne(`opacity:${F.value.includes(t.id) ? 0.5 : 1}`)
1395
- }, G(t.name), 13, Ga)
1400
+ }, G(t.name), 13, qa)
1396
1401
  ]),
1397
1402
  _: 1
1398
1403
  }, 8, ["legendSet", "config"])) : V(l.$slots, "legend", {
@@ -1404,13 +1409,13 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1404
1409
  l.$slots.source ? (r(), y("div", {
1405
1410
  key: 6,
1406
1411
  ref_key: "source",
1407
- ref: at,
1412
+ ref: ot,
1408
1413
  dir: "auto"
1409
1414
  }, [
1410
1415
  V(l.$slots, "source", {}, void 0, !0)
1411
1416
  ], 512)) : x("", !0),
1412
- _e(c(Dt), {
1413
- show: q.value.showTooltip && ze.value,
1417
+ $e(c(Nt), {
1418
+ show: H.value.showTooltip && ze.value,
1414
1419
  backgroundColor: e.value.style.tooltip.backgroundColor,
1415
1420
  color: e.value.style.tooltip.color,
1416
1421
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1428,15 +1433,15 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1428
1433
  backdropFilter: e.value.style.tooltip.backdropFilter
1429
1434
  }, {
1430
1435
  "tooltip-before": X(() => [
1431
- V(l.$slots, "tooltip-before", fe(pe({ ...Ye.value })), void 0, !0)
1436
+ V(l.$slots, "tooltip-before", fe(pe({ ...Re.value })), void 0, !0)
1432
1437
  ]),
1433
1438
  "tooltip-after": X(() => [
1434
- V(l.$slots, "tooltip-after", fe(pe({ ...Ye.value })), void 0, !0)
1439
+ V(l.$slots, "tooltip-after", fe(pe({ ...Re.value })), void 0, !0)
1435
1440
  ]),
1436
1441
  default: X(() => [
1437
- e.value.style.tooltip.showShape ? (r(), y("div", qa, [
1438
- (r(), y("svg", Ha, [
1439
- _e(Ke, {
1442
+ e.value.style.tooltip.showShape ? (r(), y("div", Ha, [
1443
+ (r(), y("svg", Za, [
1444
+ $e(Qe, {
1440
1445
  shape: p.value.shape,
1441
1446
  color: p.value.color,
1442
1447
  plot: { x: 10, y: 10 },
@@ -1447,32 +1452,32 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1447
1452
  ]),
1448
1453
  _: 3
1449
1454
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1450
- Qe.value ? (r(), le(yl(be.value.component), cl({ key: 7 }, be.value.props, {
1455
+ et.value ? (r(), le(cl(be.value.component), dl({ key: 7 }, be.value.props, {
1451
1456
  ref_key: "tableUnit",
1452
1457
  ref: xe,
1453
- onClose: s[6] || (s[6] = (t) => q.value.showTable = !1)
1454
- }), Lt({
1458
+ onClose: St
1459
+ }), Tt({
1455
1460
  content: X(() => [
1456
- (r(), le(c(Ft), {
1457
- key: `table_${nt.value}`,
1461
+ (r(), le(c(Xt), {
1462
+ key: `table_${ut.value}`,
1458
1463
  colNames: Ae.value.colNames,
1459
1464
  head: Ae.value.head,
1460
1465
  body: Ae.value.body,
1461
1466
  config: Ae.value.config,
1462
1467
  title: e.value.table.useDialog ? "" : be.value.title,
1463
1468
  withCloseButton: !e.value.table.useDialog,
1464
- onClose: s[5] || (s[5] = (t) => q.value.showTable = !1)
1469
+ onClose: St
1465
1470
  }, {
1466
1471
  th: X(({ th: t }) => [
1467
- Bt(G(t), 1)
1472
+ zt(G(t), 1)
1468
1473
  ]),
1469
1474
  td: X(({ td: t }) => [
1470
- t.shape ? (r(), y("div", Za, [
1475
+ t.shape ? (r(), y("div", Ja, [
1471
1476
  w("span", null, G(t.content), 1)
1472
1477
  ])) : (r(), y("div", {
1473
1478
  key: 1,
1474
1479
  innerHTML: t
1475
- }, null, 8, Ja))
1480
+ }, null, 8, Ka))
1476
1481
  ]),
1477
1482
  _: 1
1478
1483
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1482,7 +1487,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1482
1487
  e.value.table.useDialog ? {
1483
1488
  name: "title",
1484
1489
  fn: X(() => [
1485
- Bt(G(be.value.title), 1)
1490
+ zt(G(be.value.title), 1)
1486
1491
  ]),
1487
1492
  key: "0"
1488
1493
  } : void 0,
@@ -1492,9 +1497,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1492
1497
  w("button", {
1493
1498
  tabindex: "0",
1494
1499
  class: "vue-ui-user-options-button",
1495
- onClick: s[4] || (s[4] = (t) => je(e.value.userOptions.callbacks.csv))
1500
+ onClick: s[4] || (s[4] = (t) => Ue(e.value.userOptions.callbacks.csv))
1496
1501
  }, [
1497
- _e(c(Wt), {
1502
+ $e(c(Ft), {
1498
1503
  name: "excel",
1499
1504
  stroke: be.value.props.color
1500
1505
  }, null, 8, ["stroke"])
@@ -1503,10 +1508,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
1503
1508
  key: "1"
1504
1509
  } : void 0
1505
1510
  ]), 1040)) : x("", !0),
1506
- c(rt) ? (r(), le(zl, { key: 8 })) : x("", !0)
1507
- ], 46, Il));
1511
+ c(vt) ? (r(), le(Pl, { key: 8 })) : x("", !0)
1512
+ ], 46, Xl));
1508
1513
  }
1509
- }, co = /* @__PURE__ */ Fl(Ka, [["__scopeId", "data-v-3a8aa912"]]);
1514
+ }, ho = /* @__PURE__ */ Il(Qa, [["__scopeId", "data-v-e292711d"]]);
1510
1515
  export {
1511
- co as default
1516
+ ho as default
1512
1517
  };