vue-data-ui 3.4.9 → 3.5.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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-CDgzolI-.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-CeJwbiON.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-DjQXHBJE.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-DTY2p87s.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-C8aWTcNn.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-CnTMFK6R.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-fzR2c0St.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-DubS6Pg8.js → vue-ui-stackbar-CkBOjryQ.js} +437 -421
  99. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-DTnfnf9z.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-CrC_tlIx.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-kyuyi2ES.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel-BasM7FWt.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
@@ -1,48 +1,48 @@
1
- import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as hl, watch as ze, shallowRef as Bt, onMounted as pl, onBeforeUnmount as fl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ue, normalizeClass as Tt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as _e, createSlots as zt, withCtx as W, renderSlot as R, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as J, toDisplayString as G, Teleport as gl, resolveDynamicComponent as ml, mergeProps as xl, createTextVNode as Pt, nextTick as bl } from "vue";
2
- import { c as kl, t as wl, b as $l, p as ye, o as Ot, f as Qe, e as _l, g as Dt, aa as Ml, h as Je, ac as Cl, z as Sl, s as Pe, X as Al, ab as Ll, a as ie, x as q, d as K, P as Bl, Q as Tl, G as zl, H as Pl } from "./lib-C_mNZmhD.js";
3
- import { t as Ol, u as Dl } from "./useResponsive-DfdjqQps.js";
4
- import { u as El, a as Et } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Fl, B as Wl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Nl } from "./usePrinter-DTzqpYKF.js";
7
- import { u as Il } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Xl } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Yl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { t as Rl } from "./themes-AUNCOb2G.js";
11
- import jl from "./Legend-G6GMcdAc.js";
12
- import Ul from "./Title-l36lOBMx.js";
13
- import { _ as Ke } from "./Shape-CNXKB8O0.js";
14
- import Vl from "./img-BecE5qXd.js";
15
- import { _ as Gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "height"], Jl = { key: 1 }, Kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ta = { key: 2 }, la = ["id"], aa = ["stop-color"], oa = ["stop-color"], sa = ["id"], na = ["stop-color"], ua = ["stop-color"], ia = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ra = ["x", "y", "width", "height", "onMouseenter"], va = {
1
+ import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as gl, watch as Pe, shallowRef as Tt, onMounted as ml, onBeforeUnmount as xl, createElementBlock as c, openBlock as r, unref as y, normalizeStyle as ue, normalizeClass as zt, createBlock as ae, createCommentVNode as x, createElementVNode as w, createVNode as _e, createSlots as Pt, withCtx as N, renderSlot as R, normalizeProps as fe, guardReactiveProps as pe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as bl, resolveDynamicComponent as kl, mergeProps as wl, createTextVNode as Ot, nextTick as $l } from "vue";
2
+ import { c as _l, t as Ml, b as Sl, p as ce, o as Dt, f as Je, e as Cl, g as Et, aa as Al, h as Ke, ac as Ll, z as Bl, s as Oe, X as Tl, ab as zl, a as ie, x as q, d as ee, P as Pl, Q as Ol, G as Dl, H as El } from "./lib-C_mNZmhD.js";
3
+ import { t as Fl, u as Wl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Nl, a as Ft } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as Il, B as Xl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Yl } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as Rl } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Ul } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { t as jl } from "./themes-AUNCOb2G.js";
11
+ import Gl from "./Legend-G6GMcdAc.js";
12
+ import ql from "./Title-l36lOBMx.js";
13
+ import { _ as et } from "./Shape-CNXKB8O0.js";
14
+ import Hl from "./img-BecE5qXd.js";
15
+ import { _ as Zl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Ql = ["id"], Jl = ["id"], Kl = ["xmlns", "viewBox"], ea = ["width", "height"], ta = { key: 1 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = { key: 2 }, sa = ["id"], na = ["stop-color"], ua = ["stop-color"], ia = ["id"], ra = ["stop-color"], va = ["stop-color"], ca = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ya = ["x", "y", "width", "height", "onMouseenter"], da = {
17
17
  key: 2,
18
18
  style: { "pointer-events": "none" }
19
- }, ya = ["x", "y", "width", "height", "fill", "fill-opacity"], ca = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ha = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], pa = ["x", "y", "width", "height", "onMouseenter"], fa = {
19
+ }, ha = ["x", "y", "width", "height", "fill", "fill-opacity"], fa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], pa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ga = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ma = ["x", "y", "width", "height", "onMouseenter"], xa = {
20
20
  key: 2,
21
21
  style: { "pointer-events": "none" }
22
- }, ga = ["x", "y", "width", "height", "fill", "fill-opacity"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ba = {
22
+ }, ba = ["x", "y", "width", "height", "fill", "fill-opacity"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], $a = {
23
23
  key: 0,
24
24
  style: { "pointer-events": "none" }
25
- }, ka = ["d", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], $a = ["d", "stroke", "stroke-width"], _a = ["d", "stroke", "stroke-width"], Ma = { key: 3 }, Ca = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Sa = { key: 0 }, Aa = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], La = { key: 1 }, Ba = ["clip-path"], Ta = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], za = {
25
+ }, _a = ["d", "stroke", "stroke-width"], Ma = ["d", "stroke", "stroke-width"], Sa = ["d", "stroke", "stroke-width"], Ca = ["d", "stroke", "stroke-width"], Aa = { key: 3 }, La = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ba = { key: 0 }, Ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], za = { key: 1 }, Pa = ["clip-path"], Oa = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], Da = {
26
26
  key: 0,
27
27
  style: { "pointer-events": "none" }
28
- }, Pa = ["x", "y", "width", "height"], Oa = {
28
+ }, Ea = ["x", "y", "width", "height"], Fa = {
29
29
  key: 6,
30
30
  style: { "pointer-events": "none !important" }
31
- }, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Na = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ya = ["id", "transform", "font-size", "font-weight", "fill"], Ra = ["font-size", "fill", "transform"], ja = ["transform", "font-size", "fill"], Ua = ["x", "y", "font-size", "fill"], Va = ["x", "y", "font-size", "fill"], Ga = ["font-size", "font-weight", "fill", "x", "y"], qa = ["id"], Ha = ["x", "y", "width", "height"], Za = {
31
+ }, Wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ia = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Xa = ["x", "y", "font-size", "fill", "font-weight"], Ya = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ra = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ua = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Va = ["id", "transform", "font-size", "font-weight", "fill"], ja = ["font-size", "fill", "transform"], Ga = ["transform", "font-size", "fill"], qa = ["x", "y", "font-size", "fill"], Ha = ["x", "y", "font-size", "fill"], Za = ["font-size", "font-weight", "fill", "x", "y"], Qa = ["id"], Ja = ["x", "y", "width", "height"], Ka = {
32
32
  key: 11,
33
33
  style: { pointerEvents: "none" }
34
- }, Qa = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ja = ["x", "y", "fill", "font-size", "font-weight"], Ka = {
34
+ }, eo = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], to = ["x", "y", "fill", "font-size", "font-weight"], lo = {
35
35
  key: 4,
36
36
  class: "vue-data-ui-watermark"
37
- }, eo = ["id"], to = ["onClick"], lo = {
37
+ }, ao = ["id"], oo = ["onClick"], so = {
38
38
  key: 0,
39
39
  style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
40
- }, ao = {
40
+ }, no = {
41
41
  viewBox: "0 0 20 20",
42
42
  height: "20",
43
43
  width: "20",
44
44
  style: { overflow: "hidden", background: "transparent" }
45
- }, oo = { key: 0 }, so = ["innerHTML"], no = {
45
+ }, uo = { key: 0 }, io = ["innerHTML"], ro = {
46
46
  __name: "vue-ui-scatter",
47
47
  props: {
48
48
  config: {
@@ -58,41 +58,41 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
58
58
  }
59
59
  }
60
60
  },
61
- setup(Ft, { expose: Wt }) {
62
- const Nt = ne(() => import("./Tooltip-oWCO1HKy.js")), It = ne(() => import("./BaseIcon-BmMbm4d0.js")), Xt = ne(() => import("./vue-ui-accordion-CZ0thhxa.js")), Yt = ne(() => import("./DataTable-BT7VF2ua.js")), Rt = ne(() => import("./PenAndPaper-DSvu9dwa.js")), jt = ne(() => import("./UserOptions-CGnQt6Fd.js")), Ut = ne(() => import("./PackageVersion-CTUqGqWV.js")), Vt = ne(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_scatter: Gt } = El(), ee = Ft, et = T(() => !!ee.dataset && ee.dataset.length), N = M(kl()), Oe = M(!1), De = 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), I = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), Ee = M(null), Fe = M(null), qt = M(null), Ht = M(null), We = M(null), e = M(Ye());
63
- function Zt(l = 100, s = 0.8, t = {}) {
64
- const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: p } = t;
65
- let v = (p ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
61
+ setup(Wt, { expose: Nt }) {
62
+ const It = ne(() => import("./Tooltip-oWCO1HKy.js")), Xt = ne(() => import("./BaseIcon-BmMbm4d0.js")), Yt = ne(() => import("./vue-ui-accordion-CZ0thhxa.js")), Rt = ne(() => import("./DataTable-BT7VF2ua.js")), Ut = ne(() => import("./PenAndPaper-DSvu9dwa.js")), Vt = ne(() => import("./UserOptions-CGnQt6Fd.js")), jt = ne(() => import("./PackageVersion-Cyx_s25h.js")), Gt = ne(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_scatter: qt } = Nl(), te = Wt, tt = T(() => !!te.dataset && te.dataset.length), I = M(_l()), De = M(!1), Ee = M(""), lt = M(0), le = M(null), at = M(null), ot = M(null), st = M(null), nt = M(null), ut = M(0), it = M(0), rt = M(0), F = M([]), vt = M(!1), ge = M(null), me = M(null), xe = M(null), Fe = M(null), We = M(null), Ht = M(null), Zt = M(null), Ne = M(null), e = M(Re());
63
+ function Qt(l = 100, a = 0.8, t = {}) {
64
+ const { meanX: s = 0, sdX: o = 1, meanY: u = 0, sdY: i = 1, seed: f } = t;
65
+ let v = (f ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
66
66
  const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
67
67
  let m = 0, E = 0;
68
68
  for (; m === 0; ) m = g();
69
69
  for (; E === 0; ) E = g();
70
70
  return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * E);
71
- }, d = l / 2, _ = Array.from({ length: d }, L), D = Array.from({ length: d }, L), C = (m) => m.reduce((E, $e) => E + $e, 0) / m.length, z = C(_), X = C(D);
71
+ }, d = l / 2, _ = Array.from({ length: d }, L), D = Array.from({ length: d }, L), S = (m) => m.reduce((E, $e) => E + $e, 0) / m.length, z = S(_), X = S(D);
72
72
  for (let m = 0; m < d; m += 1)
73
73
  _[m] -= z, D[m] -= X;
74
- const B = (m, E) => m.reduce(($e, Te, Ze) => $e + Te * E[Ze], 0), $ = (m) => B(m, m), h = B(D, _) / $(_), A = D.map((m, E) => m - h * _[E]), V = $(_) / d, Q = $(A) / d, se = Math.sqrt((1 - s * s) * V / Q), j = _.map((m, E) => s * m + se * A[E]), ve = _.concat(_.map((m) => -m)), He = j.concat(j.map((m) => -m)), ke = (m) => Math.sqrt($(m) / m.length), de = (m, E, $e) => {
75
- const Te = ke(m);
76
- return m.map((Ze) => $e + (Te ? Ze / Te * E : 0));
77
- }, he = de(ve, a, o), we = de(He, i, u);
74
+ const B = (m, E) => m.reduce(($e, ze, Qe) => $e + ze * E[Qe], 0), $ = (m) => B(m, m), h = B(D, _) / $(_), A = D.map((m, E) => m - h * _[E]), j = $(_) / d, Q = $(A) / d, se = Math.sqrt((1 - a * a) * j / Q), U = _.map((m, E) => a * m + se * A[E]), ve = _.concat(_.map((m) => -m)), Ze = U.concat(U.map((m) => -m)), ke = (m) => Math.sqrt($(m) / m.length), de = (m, E, $e) => {
75
+ const ze = ke(m);
76
+ return m.map((Qe) => $e + (ze ? Qe / ze * E : 0));
77
+ }, he = de(ve, o, s), we = de(Ze, i, u);
78
78
  for (let m = he.length - 1; m > 0; m -= 1) {
79
79
  const E = Math.floor(g() * (m + 1));
80
80
  [he[m], he[E]] = [he[E], he[m]], [we[m], we[E]] = [we[E], we[m]];
81
81
  }
82
82
  return he.map((m, E) => ({ x: m, y: we[E] }));
83
83
  }
84
- const { loading: vt, FINAL_DATASET: Ne, manualLoading: Ie } = Fl({
85
- ...hl(ee),
84
+ const { loading: ct, FINAL_DATASET: Ie, manualLoading: Xe } = Il({
85
+ ...gl(te),
86
86
  FINAL_CONFIG: e,
87
- prepareConfig: Ye,
87
+ prepareConfig: Re,
88
88
  skeletonDataset: [
89
89
  {
90
90
  name: "",
91
91
  color: "#999999",
92
- values: Zt(100, 0.5, { seed: 42 })
92
+ values: Qt(100, 0.5, { seed: 42 })
93
93
  }
94
94
  ],
95
- skeletonConfig: wl({
95
+ skeletonConfig: Ml({
96
96
  defaultConfig: e.value,
97
97
  userConfig: {
98
98
  userOptions: { show: !1 },
@@ -125,22 +125,22 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
125
125
  }
126
126
  }
127
127
  })
128
- }), { userOptionsVisible: Xe, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Xl({ config: e.value }), { svgRef: Me } = Yl({ config: e.value.style.title });
129
- function Ye() {
130
- const l = Et({
131
- userConfig: ee.config,
132
- defaultConfig: Gt
128
+ }), { userOptionsVisible: Ye, setUserOptionsVisibility: yt, keepUserOptionState: dt } = Ul({ config: e.value }), { svgRef: Me } = Vl({ config: e.value.style.title });
129
+ function Re() {
130
+ const l = Ft({
131
+ userConfig: te.config,
132
+ defaultConfig: qt
133
133
  });
134
134
  return l.theme ? {
135
- ...Et({
136
- userConfig: Rl.vue_ui_scatter[l.theme] || ee.config,
135
+ ...Ft({
136
+ userConfig: jl.vue_ui_scatter[l.theme] || te.config,
137
137
  defaultConfig: l
138
138
  }),
139
- customPalette: $l[l.theme] || ye
139
+ customPalette: Sl[l.theme] || ce
140
140
  } : l;
141
141
  }
142
- ze(() => ee.config, (l) => {
143
- vt.value || (e.value = Ye()), Xe.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
+ Pe(() => te.config, (l) => {
143
+ ct.value || (e.value = Re()), Ye.value = !e.value.userOptions.showOnChartHover, ft(), ut.value += 1, it.value += 1, rt.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, ht.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
144
144
 
145
145
  - downsampling is disabled in this mode, all plots are rendered
146
146
 
@@ -149,119 +149,119 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
149
149
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
150
150
 
151
151
  ℹ️ To remove this warning, set config.debug to false.`);
152
- }, { deep: !0 }), ze(() => ee.dataset, (l) => {
153
- Array.isArray(l) && l.length > 0 && (Ie.value = !1);
152
+ }, { deep: !0 }), Pe(() => te.dataset, (l) => {
153
+ Array.isArray(l) && l.length > 0 && (Xe.value = !1);
154
154
  }, { deep: !0 });
155
- const ae = Bt(null), ce = Bt(null);
156
- pl(() => {
157
- rt.value = !0, ht();
155
+ const oe = Tt(null), ye = Tt(null);
156
+ ml(() => {
157
+ vt.value = !0, ft();
158
158
  });
159
- const dt = T(() => !!e.value.debug);
160
- function ht() {
161
- if (Ot(ee.dataset) && (Qe({
159
+ const ht = T(() => !!e.value.debug);
160
+ function ft() {
161
+ if (Dt(te.dataset) && (Je({
162
162
  componentName: "VueUiScatter",
163
163
  type: "dataset",
164
- debug: dt.value
165
- }), Ie.value = !0), Ot(ee.dataset) || (Ie.value = e.value.loading), e.value.responsive) {
166
- const l = Ol(() => {
167
- const { width: s, height: t } = Dl({
168
- chart: te.value,
169
- title: e.value.style.title.text ? lt.value : null,
170
- legend: e.value.style.legend.show ? at.value : null,
171
- source: ot.value,
172
- noTitle: st.value
164
+ debug: ht.value
165
+ }), Xe.value = !0), Dt(te.dataset) || (Xe.value = e.value.loading), e.value.responsive) {
166
+ const l = Fl(() => {
167
+ const { width: a, height: t } = Wl({
168
+ chart: le.value,
169
+ title: e.value.style.title.text ? at.value : null,
170
+ legend: e.value.style.legend.show ? ot.value : null,
171
+ source: st.value,
172
+ noTitle: nt.value
173
173
  });
174
174
  requestAnimationFrame(() => {
175
- F.value.width = s, F.value.height = t;
175
+ W.value.width = a, W.value.height = t;
176
176
  });
177
177
  });
178
- 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);
178
+ oe.value && (ye.value && oe.value.unobserve(ye.value), oe.value.disconnect()), oe.value = new ResizeObserver(l), ye.value = le.value.parentNode, oe.value.observe(ye.value);
179
179
  }
180
180
  }
181
- fl(() => {
182
- ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect());
181
+ xl(() => {
182
+ oe.value && (ye.value && oe.value.unobserve(ye.value), oe.value.disconnect());
183
183
  });
184
- const { isPrinting: pt, isImaging: ft, generatePdf: gt, generateImage: mt } = Nl({
185
- elementId: `vue-ui-scatter_${N.value}`,
184
+ const { isPrinting: pt, isImaging: gt, generatePdf: mt, generateImage: xt } = Yl({
185
+ elementId: `vue-ui-scatter_${I.value}`,
186
186
  fileName: e.value.style.title.text || "vue-ui-scatter",
187
187
  options: e.value.userOptions.print
188
- }), Qt = T(() => e.value.userOptions.show && !e.value.style.title.text), xt = T(() => _l(e.value.customPalette)), H = M({
188
+ }), Jt = T(() => e.value.userOptions.show && !e.value.style.title.text), bt = T(() => Cl(e.value.customPalette)), H = M({
189
189
  showTable: e.value.table.show,
190
190
  showTooltip: e.value.style.tooltip.show
191
191
  });
192
- ze(e, () => {
192
+ Pe(e, () => {
193
193
  H.value = {
194
194
  showTable: e.value.table.show,
195
195
  showTooltip: e.value.style.tooltip.show
196
196
  };
197
197
  }, { immediate: !0 });
198
- const F = M({
198
+ const W = M({
199
199
  height: e.value.style.layout.height,
200
200
  width: e.value.style.layout.width
201
- }), Ce = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = T(() => {
202
- let l = 0, s = 0;
203
- return Fe.value && (l = Fe.value.getBBox().width + 6), We.value && (s = We.value.getBBox().height + 6), {
204
- top: e.value.style.layout.padding.top + Ce.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
205
- right: F.value.width - e.value.style.layout.padding.right - Ce.value - 6,
206
- bottom: F.value.height - e.value.style.layout.padding.bottom - s,
201
+ }), Se = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = T(() => {
202
+ let l = 0, a = 0;
203
+ return We.value && (l = We.value.getBBox().width + 6), Ne.value && (a = Ne.value.getBBox().height + 6), {
204
+ top: e.value.style.layout.padding.top + Se.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
205
+ right: W.value.width - e.value.style.layout.padding.right - Se.value - 6,
206
+ bottom: W.value.height - e.value.style.layout.padding.bottom - a,
207
207
  left: e.value.style.layout.padding.left + l,
208
- height: F.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Ce.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
209
- width: F.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Ce.value - l - 6
208
+ height: W.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Se.value - a - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
209
+ width: W.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Se.value - l - 6
210
210
  };
211
211
  }), P = T(() => {
212
- Ne.value.forEach((a, u) => {
213
- Dt({
214
- datasetObject: a,
212
+ Ie.value.forEach((o, u) => {
213
+ Et({
214
+ datasetObject: o,
215
215
  requiredAttributes: ["values"]
216
216
  }).forEach((i) => {
217
- Qe({
217
+ Je({
218
218
  componentName: "VueUiScatter",
219
219
  type: "datasetSerieAttribute",
220
220
  property: i,
221
221
  index: u
222
222
  });
223
- }), a.values && a.values.forEach((i, p) => {
224
- Dt({
223
+ }), o.values && o.values.forEach((i, f) => {
224
+ Et({
225
225
  datasetObject: i,
226
226
  requiredAttributes: ["x", "y"]
227
227
  }).forEach((v) => {
228
- Qe({
228
+ Je({
229
229
  componentName: "VueUiScatter",
230
230
  type: "datasetSerieAttribute",
231
231
  property: `values.${v}`,
232
- index: `${u} - ${p}`
232
+ index: `${u} - ${f}`
233
233
  });
234
234
  });
235
235
  });
236
236
  });
237
- const l = Math.min(...oe.value.filter((a) => !I.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), s = Math.max(...oe.value.filter((a) => !I.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), t = Math.min(...oe.value.filter((a) => !I.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y))), o = Math.max(...oe.value.filter((a) => !I.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y)));
238
- return { xMin: l >= 0 ? 0 : l, xMax: s, yMin: t >= 0 ? 0 : t, yMax: o };
237
+ const l = Math.min(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), a = Math.max(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.x))), t = Math.min(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y))), s = Math.max(...J.value.filter((o) => !F.value.includes(o.id)).flatMap((o) => o.values.map((u) => u.y)));
238
+ return { xMin: l >= 0 ? 0 : l, xMax: a, yMin: t >= 0 ? 0 : t, yMax: s };
239
239
  }), O = T(() => ({
240
240
  x: n.value.left + Math.abs(P.value.xMin) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
241
241
  y: n.value.bottom - Math.abs(P.value.yMin) / (P.value.yMax + Math.abs(P.value.yMin)) * n.value.height
242
- })), oe = T(() => Ne.value.map((l, s) => {
243
- const t = `cluster_${N.value}_${s}`;
242
+ })), J = T(() => Ie.value.map((l, a) => {
243
+ const t = `cluster_${I.value}_${a}`;
244
244
  return {
245
245
  ...l,
246
- values: Ml({
246
+ values: Al({
247
247
  data: l.values,
248
248
  threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
249
249
  }),
250
250
  id: t,
251
- color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
252
- opacity: I.value.includes(t) ? 0.5 : 1,
251
+ color: l.color ? l.color : bt.value[a] || ce[a] || ce[a % ce.length],
252
+ opacity: F.value.includes(t) ? 0.5 : 1,
253
253
  shape: l.shape ?? "circle",
254
- segregate: () => wt(t),
255
- isSegregated: I.value.includes(t)
254
+ segregate: () => Le(t),
255
+ isSegregated: F.value.includes(t)
256
256
  };
257
- })), Jt = T(() => ({
257
+ })), Kt = T(() => ({
258
258
  cy: "scatter-div-legend",
259
259
  backgroundColor: e.value.style.legend.backgroundColor,
260
260
  color: e.value.style.legend.color,
261
261
  fontSize: e.value.style.legend.fontSize,
262
262
  paddingBottom: 12,
263
263
  fontWeight: e.value.style.legend.bold ? "bold" : ""
264
- })), Se = T(() => oe.value.map((l, s) => ({
264
+ })), Ce = T(() => J.value.map((l, a) => ({
265
265
  ...l,
266
266
  plots: l.values.map((t) => ({
267
267
  x: n.value.left + (t.x + Math.abs(P.value.xMin)) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
@@ -271,55 +271,55 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
271
271
  name: t.name || ""
272
272
  },
273
273
  clusterName: l.name,
274
- color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
275
- id: `plot_${N.value}_${Math.random()}`,
274
+ color: l.color ? l.color : bt.value[a] || ce[a] || ce[a % ce.length],
275
+ id: `plot_${I.value}_${Math.random()}`,
276
276
  weight: t.weight ?? e.value.style.layout.plots.radius
277
277
  }))
278
- })).filter((l) => !I.value.includes(l.id))), U = T(() => {
279
- const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
280
- const { left: i, right: p, top: v, bottom: g } = a, L = [], d = ($, h) => {
278
+ })).filter((l) => !F.value.includes(l.id))), V = T(() => {
279
+ const a = ({ m: t, b: s, rect: o, verticalX: u = null }) => {
280
+ const { left: i, right: f, top: v, bottom: g } = o, L = [], d = ($, h) => {
281
281
  Number.isFinite($) && Number.isFinite(h) && L.push({ x: $, y: h });
282
- }, _ = ({ x: $, y: h }) => $ >= i - 1e-9 && $ <= p + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
283
- u !== null ? u >= i - 1e-9 && u <= p + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + o), d(p, t * p + 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(p, o)));
284
- const D = L.filter(_), C = [];
282
+ }, _ = ({ x: $, y: h }) => $ >= i - 1e-9 && $ <= f + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
283
+ u !== null ? u >= i - 1e-9 && u <= f + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + s), d(f, t * f + s), Math.abs(t) > 1e-9 ? (d((v - s) / t, v), d((g - s) / t, g)) : s >= v - 1e-9 && s <= g + 1e-9 && (d(i, s), d(f, s)));
284
+ const D = L.filter(_), S = [];
285
285
  for (const $ of D)
286
- C.some((h) => Math.abs(h.x - $.x) < 1e-6 && Math.abs(h.y - $.y) < 1e-6) || C.push($);
287
- if (C.length < 2) return null;
288
- let z = C[0], X = C[1], B = 0;
289
- for (let $ = 0; $ < C.length; $ += 1)
290
- for (let h = $ + 1; h < C.length; h += 1) {
291
- const A = C[$].x - C[h].x, V = C[$].y - C[h].y, Q = A * A + V * V;
292
- Q > B && (B = Q, z = C[$], X = C[h]);
286
+ S.some((h) => Math.abs(h.x - $.x) < 1e-6 && Math.abs(h.y - $.y) < 1e-6) || S.push($);
287
+ if (S.length < 2) return null;
288
+ let z = S[0], X = S[1], B = 0;
289
+ for (let $ = 0; $ < S.length; $ += 1)
290
+ for (let h = $ + 1; h < S.length; h += 1) {
291
+ const A = S[$].x - S[h].x, j = S[$].y - S[h].y, Q = A * A + j * j;
292
+ Q > B && (B = Q, z = S[$], X = S[h]);
293
293
  }
294
294
  return { x1: z.x, y1: z.y, x2: X.x, y2: X.y };
295
295
  };
296
- return Se.value.map((t) => {
297
- const o = t.plots.length, a = t.plots.reduce((h, A) => h + A.x, 0) / o, u = t.plots.reduce((h, A) => h + A.y, 0) / o;
298
- let i = 0, p = 0;
296
+ return Ce.value.map((t) => {
297
+ const s = t.plots.length, o = t.plots.reduce((h, A) => h + A.x, 0) / s, u = t.plots.reduce((h, A) => h + A.y, 0) / s;
298
+ let i = 0, f = 0;
299
299
  for (const h of t.plots) {
300
- const A = h.x - a, V = h.y - u;
301
- i += A * V, p += A * A;
300
+ const A = h.x - o, j = h.y - u;
301
+ i += A * j, f += A * A;
302
302
  }
303
303
  let v, g, L = null;
304
- p < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / p, g = u - v * a);
304
+ f < 1e-9 ? (L = o, v = 1 / 0, g = null) : (v = i / f, g = u - v * o);
305
305
  let d, _;
306
306
  L !== null ? (d = 1 / 0, _ = null) : (d = v, _ = g);
307
307
  const D = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
308
- let C = NaN;
309
- if (o >= 2) {
308
+ let S = NaN;
309
+ if (s >= 2) {
310
310
  let h = 0, A = 0;
311
- D ? (h = t.plots.reduce((j, ve) => j + ve.v.x, 0) / o, A = t.plots.reduce((j, ve) => j + ve.v.y, 0) / o) : (h = a, A = -u);
312
- let V = 0, Q = 0, se = 0;
313
- for (const j of t.plots) {
314
- const ve = D ? j.v.x : j.x, He = D ? j.v.y : -j.y, ke = ve - h, de = He - A;
315
- V += ke * de, Q += ke * ke, se += de * de;
311
+ D ? (h = t.plots.reduce((U, ve) => U + ve.v.x, 0) / s, A = t.plots.reduce((U, ve) => U + ve.v.y, 0) / s) : (h = o, A = -u);
312
+ let j = 0, Q = 0, se = 0;
313
+ for (const U of t.plots) {
314
+ const ve = D ? U.v.x : U.x, Ze = D ? U.v.y : -U.y, ke = ve - h, de = Ze - A;
315
+ j += ke * de, Q += ke * ke, se += de * de;
316
316
  }
317
317
  if (Q >= 1e-9 && se >= 1e-9) {
318
- const j = V / Math.sqrt(Q * se);
319
- C = Math.max(-1, Math.min(1, j));
318
+ const U = j / Math.sqrt(Q * se);
319
+ S = Math.max(-1, Math.min(1, U));
320
320
  }
321
321
  }
322
- const z = s({ m: d, b: _, rect: n.value, verticalX: L });
322
+ const z = a({ m: d, b: _, rect: n.value, verticalX: L });
323
323
  if (!z)
324
324
  return {
325
325
  ...t,
@@ -329,36 +329,36 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
329
329
  ...h,
330
330
  deviation: 0,
331
331
  shape: t.shape,
332
- color: Je(t.color)
332
+ color: Ke(t.color)
333
333
  }))
334
334
  };
335
335
  const X = (z.x1 + z.x2) / 2, B = (z.y1 + z.y2) / 2, $ = { x: X, y: B };
336
336
  return {
337
337
  ...t,
338
- color: Je(t.color),
338
+ color: Ke(t.color),
339
339
  correlation: {
340
340
  ...z,
341
- coefficient: C
341
+ coefficient: S
342
342
  },
343
343
  label: $,
344
344
  plots: t.plots.map((h) => {
345
- let A, V;
346
- L !== null ? (A = L, V = h.y) : Math.abs(d) < 1e-9 ? (A = h.x, V = _) : (A = (h.x + d * h.y - d * _) / (1 + d * d), V = (d * h.x + d * d * h.y + _) / (1 + d * d));
347
- const Q = h.x - A, se = h.y - V, j = Math.sqrt(Q * Q + se * se);
345
+ let A, j;
346
+ L !== null ? (A = L, j = h.y) : Math.abs(d) < 1e-9 ? (A = h.x, j = _) : (A = (h.x + d * h.y - d * _) / (1 + d * d), j = (d * h.x + d * d * h.y + _) / (1 + d * d));
347
+ const Q = h.x - A, se = h.y - j, U = Math.sqrt(Q * Q + se * se);
348
348
  return {
349
349
  ...h,
350
- deviation: j,
350
+ deviation: U,
351
351
  shape: t.shape,
352
- color: Je(t.color)
352
+ color: Ke(t.color)
353
353
  };
354
354
  })
355
355
  };
356
356
  });
357
- }), bt = T(() => Math.max(...U.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
358
- function Kt() {
359
- return U.value;
357
+ }), kt = T(() => Math.max(...V.value.flatMap((l) => l.plots.map((a) => Math.abs(a.deviation)))));
358
+ function el() {
359
+ return V.value;
360
360
  }
361
- function kt(l, s) {
361
+ function wt(l, a) {
362
362
  const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map(($) => ({
363
363
  x: $.x,
364
364
  y: $.y
@@ -366,123 +366,137 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
366
366
  x: B.x,
367
367
  y: B.y
368
368
  }));
369
- let o = 1 / 0, a = -1 / 0, u = 1 / 0, i = -1 / 0;
369
+ let s = 1 / 0, o = -1 / 0, u = 1 / 0, i = -1 / 0;
370
370
  t.forEach(({ x: B, y: $ }) => {
371
- o = Math.min(o, B), a = Math.max(a, B), u = Math.min(u, $), i = Math.max(i, $);
371
+ s = Math.min(s, B), o = Math.max(o, B), u = Math.min(u, $), i = Math.max(i, $);
372
372
  });
373
- const p = a - o, v = i - u, g = p / s, L = v / s, d = Array(s).fill(0), _ = Array(s).fill(0);
373
+ const f = o - s, v = i - u, g = f / a, L = v / a, d = Array(a).fill(0), _ = Array(a).fill(0);
374
374
  t.forEach(({ x: B, y: $ }) => {
375
- const h = Math.floor((B - o) / g), A = Math.floor(($ - u) / L);
375
+ const h = Math.floor((B - s) / g), A = Math.floor(($ - u) / L);
376
376
  d[h] || (d[h] = 0), _[A] || (_[A] = 0), d[h] += 1, _[A] += 1;
377
377
  });
378
- const D = [], C = [];
379
- for (let B = 0; B < s; B += 1)
380
- D.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
378
+ const D = [], S = [];
379
+ for (let B = 0; B < a; B += 1)
380
+ D.push(s + (B + 0.5) * g), S.push(u + (B + 0.5) * L);
381
381
  const z = Math.max(...d), X = Math.max(..._);
382
- return { x: d, y: _, avgX: D, avgY: C, maxX: z, maxY: X };
382
+ return { x: d, y: _, avgX: D, avgY: S, maxX: z, maxY: X };
383
383
  }
384
- const b = T(() => e.value.style.layout.marginalBars.tranches), S = T(() => kt(Se.value, b.value)), el = T(() => {
385
- const l = n.value.top - e.value.style.layout.marginalBars.offset, s = n.value.right + e.value.style.layout.marginalBars.offset;
386
- return Se.value.map((t) => {
387
- const o = kt(t, b.value);
384
+ const b = T(() => e.value.style.layout.marginalBars.tranches), C = T(() => wt(Ce.value, b.value)), tl = T(() => {
385
+ const l = n.value.top - e.value.style.layout.marginalBars.offset, a = n.value.right + e.value.style.layout.marginalBars.offset;
386
+ return Ce.value.map((t) => {
387
+ const s = wt(t, b.value);
388
388
  return {
389
- coords: o,
390
- dX: Sl(o.avgX.map((a, u) => ({
391
- x: a,
392
- y: l - o.x[u] / o.maxX * e.value.style.layout.marginalBars.size
389
+ coords: s,
390
+ dX: Bl(s.avgX.map((o, u) => ({
391
+ x: o,
392
+ y: l - s.x[u] / s.maxX * e.value.style.layout.marginalBars.size
393
393
  }))),
394
- dY: Cl(o.avgY.map((a, u) => ({
395
- y: a,
396
- x: s + e.value.style.layout.marginalBars.size * o.y[u] / o.maxY
394
+ dY: Ll(s.avgY.map((o, u) => ({
395
+ y: o,
396
+ x: a + e.value.style.layout.marginalBars.size * s.y[u] / s.maxY
397
397
  }))),
398
398
  color: t.color,
399
399
  id: t.id
400
400
  };
401
401
  });
402
- }), Y = M(void 0), f = M(null), Re = M(null);
403
- function je(l, s) {
404
- Y.value = l.id, f.value = l;
402
+ }), Y = M(void 0), p = M(null), Ue = M(null);
403
+ function Ve(l, a) {
404
+ Y.value = l.id, p.value = l;
405
405
  let t = "";
406
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
406
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: a }), Ue.value = {
407
407
  datapoint: l,
408
- seriesIndex: s,
409
- series: U.value,
408
+ seriesIndex: a,
409
+ series: V.value,
410
410
  config: e.value
411
411
  };
412
- const o = e.value.style.tooltip.customFormat;
413
- zl(o) && Pl(() => o({
412
+ const s = e.value.style.tooltip.customFormat;
413
+ Dl(s) && El(() => s({
414
414
  datapoint: l,
415
- seriesIndex: s,
416
- series: U.value,
415
+ seriesIndex: a,
416
+ series: V.value,
417
417
  config: e.value
418
- })) ? De.value = o({
418
+ })) ? Ee.value = s({
419
419
  datapoint: l,
420
- seriesIndex: s,
421
- series: U.value,
420
+ seriesIndex: a,
421
+ series: V.value,
422
422
  config: e.value
423
423
  }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ie(
424
424
  e.value.style.layout.plots.selectors.labels.x.formatter,
425
425
  l.v.x,
426
- K({
426
+ ee({
427
427
  p: e.value.style.tooltip.prefix,
428
428
  v: l.v.x,
429
429
  s: e.value.style.tooltip.suffix,
430
430
  r: e.value.style.tooltip.roundingValue
431
431
  }),
432
- { datapoint: l, seriesIndex: s }
432
+ { datapoint: l, seriesIndex: a }
433
433
  )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ie(
434
434
  e.value.style.layout.plots.selectors.labels.y.formatter,
435
435
  l.v.y,
436
- K({
436
+ ee({
437
437
  p: e.value.style.tooltip.prefix,
438
438
  v: l.v.y,
439
439
  s: e.value.style.tooltip.suffix,
440
440
  r: e.value.style.tooltip.roundingValue
441
441
  }),
442
- { datapoint: l, seriesIndex: s }
443
- )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${K({
442
+ { datapoint: l, seriesIndex: a }
443
+ )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${ee({
444
444
  v: l.deviation,
445
445
  r: e.value.style.layout.plots.deviation.roundingValue
446
- })}</b>`, t += "</div>", De.value = `<div>${t}</div>`), Oe.value = !0;
446
+ })}</b>`, t += "</div>", Ee.value = `<div>${t}</div>`), De.value = !0;
447
447
  }
448
- function Ae(l, s) {
449
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), Oe.value = !1, Y.value = void 0, f.value = null;
448
+ function Ae(l, a) {
449
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: a }), De.value = !1, Y.value = void 0, p.value = null;
450
450
  }
451
- function Ue(l, s) {
452
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
451
+ function je(l, a) {
452
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: a });
453
453
  }
454
- function wt(l) {
455
- I.value.includes(l) ? I.value = I.value.filter((s) => s !== l) : I.value.length < Ne.value.length - 1 && I.value.push(l);
454
+ function Le(l) {
455
+ F.value.includes(l) ? F.value = F.value.filter((a) => a !== l) : F.value.length < Ie.value.length - 1 && F.value.push(l);
456
456
  }
457
- function Ve(l = null) {
458
- bl(() => {
459
- 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 = U.value.map((u) => [
457
+ function $t(l) {
458
+ if (!J.value.length)
459
+ return e.value.debug && console.warn("VueUiScatter - There are no series to show."), null;
460
+ const a = J.value.find((t) => t.name === l);
461
+ return a || (e.value.debug && console.warn(`VueUiScatter - Series name not found "${l}"`), null);
462
+ }
463
+ function ll(l) {
464
+ const a = $t(l);
465
+ a !== null && F.value.includes(a.id) && Le(a.id);
466
+ }
467
+ function al(l) {
468
+ const a = $t(l);
469
+ a !== null && (F.value.includes(a.id) || Le(a.id));
470
+ }
471
+ function Ge(l = null) {
472
+ $l(() => {
473
+ const a = ["", 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 = V.value.map((u) => [
460
474
  u.name,
461
475
  u.correlation.coefficient,
462
476
  u.plots.length,
463
- u.plots.map((i) => i.v.x).reduce((i, p) => i + p, 0) / u.plots.length,
464
- u.plots.map((i) => i.v.y).reduce((i, p) => i + p, 0) / u.plots.length
465
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = Bl(o);
466
- l ? l(a) : Tl({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
477
+ u.plots.map((i) => i.v.x).reduce((i, f) => i + f, 0) / u.plots.length,
478
+ u.plots.map((i) => i.v.y).reduce((i, f) => i + f, 0) / u.plots.length
479
+ ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(t), o = Pl(s);
480
+ l ? l(o) : Ol({ csvContent: o, title: e.value.style.title.text || "vue-ui-heatmap" });
467
481
  });
468
482
  }
469
- const Le = T(() => {
483
+ const Be = T(() => {
470
484
  const l = [
471
485
  e.value.table.translations.series,
472
486
  e.value.table.translations.correlationCoefficient,
473
487
  e.value.table.translations.nbrPlots,
474
488
  `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
475
489
  `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
476
- ], s = U.value.map((o) => [
490
+ ], a = V.value.map((s) => [
477
491
  {
478
- shape: o.shape,
479
- content: o.name,
480
- color: o.color
492
+ shape: s.shape,
493
+ content: s.name,
494
+ color: s.color
481
495
  },
482
- Number((o.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
483
- o.plots.length.toLocaleString(),
484
- Number((o.plots.map((a) => a.v.x ?? 0).reduce((a, u) => a + u, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
485
- Number((o.plots.map((a) => a.v.y ?? 0).reduce((a, u) => a + u, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
496
+ Number((s.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
497
+ s.plots.length.toLocaleString(),
498
+ Number((s.plots.map((o) => o.v.x ?? 0).reduce((o, u) => o + u, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
499
+ Number((s.plots.map((o) => o.v.y ?? 0).reduce((o, u) => o + u, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
486
500
  ]), t = {
487
501
  th: {
488
502
  backgroundColor: e.value.table.th.backgroundColor,
@@ -496,40 +510,40 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
496
510
  },
497
511
  breakpoint: e.value.table.responsiveBreakpoint
498
512
  };
499
- return { head: l, body: s, config: t, colNames: l };
513
+ return { head: l, body: a, config: t, colNames: l };
500
514
  }), re = M(!1);
501
- function $t(l) {
502
- re.value = l, tt.value += 1;
515
+ function _t(l) {
516
+ re.value = l, lt.value += 1;
503
517
  }
504
- function _t() {
518
+ function Mt() {
505
519
  H.value.showTable = !H.value.showTable;
506
520
  }
507
- function Mt() {
521
+ function St() {
508
522
  H.value.showTooltip = !H.value.showTooltip;
509
523
  }
510
- const Be = M(!1);
511
- function Ge() {
512
- Be.value = !Be.value;
524
+ const Te = M(!1);
525
+ function qe() {
526
+ Te.value = !Te.value;
513
527
  }
514
- async function tl({ scale: l = 2 } = {}) {
515
- if (!te.value) return;
516
- const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Vl({ domElement: te.value, base64: !0, img: !0, scale: l });
528
+ async function ol({ scale: l = 2 } = {}) {
529
+ if (!le.value) return;
530
+ const { width: a, height: t } = le.value.getBoundingClientRect(), s = a / t, { imageUri: o, base64: u } = await Hl({ domElement: le.value, base64: !0, img: !0, scale: l });
517
531
  return {
518
- imageUri: a,
532
+ imageUri: o,
519
533
  base64: u,
520
534
  title: e.value.style.title.text,
521
- width: s,
535
+ width: a,
522
536
  height: t,
523
- aspectRatio: o
537
+ aspectRatio: s
524
538
  };
525
539
  }
526
- function ll(l) {
527
- ge.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (me.value = S.value.y.length - 2 - l);
540
+ function sl(l) {
541
+ ge.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (me.value = C.value.y.length - 2 - l);
528
542
  }
529
- function al(l) {
543
+ function nl(l) {
530
544
  me.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (ge.value = l);
531
545
  }
532
- function qe() {
546
+ function He() {
533
547
  ge.value = null, me.value = null;
534
548
  }
535
549
  const Ct = {
@@ -541,73 +555,73 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
541
555
  pentagon: 1.3,
542
556
  hexagon: 1.3
543
557
  }, k = (l) => l.toFixed(3);
544
- function ol({ shape: l = "circle", cx: s, cy: t, r: o }) {
558
+ function ul({ shape: l = "circle", cx: a, cy: t, r: s }) {
545
559
  if (!e.value.usePerformanceMode) return "";
546
- const a = Ct[l] * o;
560
+ const o = Ct[l] * s;
547
561
  switch (l) {
548
562
  case "circle": {
549
- const u = k(s - a), i = k(t), p = k(s + a), v = k(a);
550
- return `M ${u} ${i} A ${v} ${v} 0 1 0 ${p} ${i} A ${v} ${v} 0 1 0 ${u} ${i} Z`;
563
+ const u = k(a - o), i = k(t), f = k(a + o), v = k(o);
564
+ return `M ${u} ${i} A ${v} ${v} 0 1 0 ${f} ${i} A ${v} ${v} 0 1 0 ${u} ${i} Z`;
551
565
  }
552
566
  case "square": {
553
- const u = k(s - a), i = k(t - a), p = k(s + a), v = k(t + a);
554
- return `M ${u} ${i} L ${p} ${i} L ${p} ${v} L ${u} ${v} Z`;
567
+ const u = k(a - o), i = k(t - o), f = k(a + o), v = k(t + o);
568
+ return `M ${u} ${i} L ${f} ${i} L ${f} ${v} L ${u} ${v} Z`;
555
569
  }
556
570
  case "diamond": {
557
- const u = k(s), i = k(t);
558
- return `M ${u} ${k(t - a)} L ${k(s + a)} ${i} L ${u} ${k(t + a)} L ${k(s - a)} ${i} Z`;
571
+ const u = k(a), i = k(t);
572
+ return `M ${u} ${k(t - o)} L ${k(a + o)} ${i} L ${u} ${k(t + o)} L ${k(a - o)} ${i} Z`;
559
573
  }
560
574
  case "triangle": {
561
- const u = a * Math.sqrt(3), i = s, p = t - 2 / 3 * u, v = s - a, g = t + 1 / 3 * u, L = s + a, d = g;
562
- return `M ${k(i)} ${k(p)} L ${k(v)} ${k(g)} L ${k(L)} ${k(d)} Z`;
575
+ const u = o * Math.sqrt(3), i = a, f = t - 2 / 3 * u, v = a - o, g = t + 1 / 3 * u, L = a + o, d = g;
576
+ return `M ${k(i)} ${k(f)} L ${k(v)} ${k(g)} L ${k(L)} ${k(d)} Z`;
563
577
  }
564
578
  case "star": {
565
- const u = a, i = a * 0.5, p = [];
579
+ const u = o, i = o * 0.5, f = [];
566
580
  for (let g = 0; g < 10; g += 1) {
567
581
  const L = (-90 + g * 36) * Math.PI / 180, d = g % 2 === 0 ? u : i;
568
- p.push([s + d * Math.cos(L), t + d * Math.sin(L)]);
582
+ f.push([a + d * Math.cos(L), t + d * Math.sin(L)]);
569
583
  }
570
- let v = `M ${k(p[0][0])} ${k(p[0][1])}`;
571
- for (let g = 1; g < p.length; g += 1)
572
- v += ` L ${k(p[g][0])} ${k(p[g][1])}`;
584
+ let v = `M ${k(f[0][0])} ${k(f[0][1])}`;
585
+ for (let g = 1; g < f.length; g += 1)
586
+ v += ` L ${k(f[g][0])} ${k(f[g][1])}`;
573
587
  return v + " Z";
574
588
  }
575
589
  case "pentagon": {
576
590
  const i = [];
577
591
  for (let v = 0; v < 5; v += 1) {
578
592
  const g = (-90 + v * 72) * Math.PI / 180;
579
- i.push([s + a * Math.cos(g), t + a * Math.sin(g)]);
593
+ i.push([a + o * Math.cos(g), t + o * Math.sin(g)]);
580
594
  }
581
- let p = `M ${k(i[0][0])} ${k(i[0][1])}`;
582
- for (let v = 1; v < 5; v += 1) p += ` L ${k(i[v][0])} ${k(i[v][1])}`;
583
- return p + " Z";
595
+ let f = `M ${k(i[0][0])} ${k(i[0][1])}`;
596
+ for (let v = 1; v < 5; v += 1) f += ` L ${k(i[v][0])} ${k(i[v][1])}`;
597
+ return f + " Z";
584
598
  }
585
599
  case "hexagon": {
586
600
  const i = [];
587
601
  for (let v = 0; v < 6; v += 1) {
588
602
  const g = (-60 + v * 60) * Math.PI / 180;
589
- i.push([s + a * Math.cos(g), t + a * Math.sin(g)]);
603
+ i.push([a + o * Math.cos(g), t + o * Math.sin(g)]);
590
604
  }
591
- let p = `M ${k(i[0][0])} ${k(i[0][1])}`;
592
- for (let v = 1; v < 6; v += 1) p += ` L ${k(i[v][0])} ${k(i[v][1])}`;
593
- return p + " Z";
605
+ let f = `M ${k(i[0][0])} ${k(i[0][1])}`;
606
+ for (let v = 1; v < 6; v += 1) f += ` L ${k(i[v][0])} ${k(i[v][1])}`;
607
+ return f + " Z";
594
608
  }
595
609
  default: {
596
- const u = k(s - a), i = k(t), p = k(s + a), v = k(a);
597
- return `M ${u} ${i} A ${v} ${v} 0 1 0 ${p} ${i} A ${v} ${v} 0 1 0 ${u} ${i} Z`;
610
+ const u = k(a - o), i = k(t), f = k(a + o), v = k(o);
611
+ return `M ${u} ${i} A ${v} ${v} 0 1 0 ${f} ${i} A ${v} ${v} 0 1 0 ${u} ${i} Z`;
598
612
  }
599
613
  }
600
614
  }
601
- const sl = T(() => {
615
+ const il = T(() => {
602
616
  if (!e.value.usePerformanceMode) return [""];
603
- 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, p = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
604
- return U.value.map((d) => {
617
+ const { left: l, right: a, top: t, bottom: s } = n.value, o = Math.max(1, (a - l) * (s - t)), u = (d) => d / o * 1e4, i = 2.5, f = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
618
+ return V.value.map((d) => {
605
619
  const _ = [];
606
- for (const C of d.plots) {
607
- const z = C.x, X = C.y;
608
- if (z < l || z > s || X < t || X > o) continue;
609
- const B = Math.max(e.value.style.layout.plots.radius, C.weight);
610
- _.push(ol({
620
+ for (const S of d.plots) {
621
+ const z = S.x, X = S.y;
622
+ if (z < l || z > a || X < t || X > s) continue;
623
+ const B = Math.max(e.value.style.layout.plots.radius, S.weight);
624
+ _.push(ul({
611
625
  shape: d.shape || "circle",
612
626
  cx: z,
613
627
  cy: X,
@@ -615,58 +629,58 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
615
629
  }));
616
630
  }
617
631
  if (!_.length) return null;
618
- const D = u(d.plots.length) > i || d.plots.length > p;
632
+ const D = u(d.plots.length) > i || d.plots.length > f;
619
633
  return {
620
634
  id: d.id,
621
635
  d: _.join(""),
622
- fill: Pe(d.color, L * 100),
636
+ fill: Oe(d.color, L * 100),
623
637
  stroke: D ? "none" : v,
624
638
  strokeWidth: D ? 0 : g,
625
639
  strokeOpacity: 1
626
640
  };
627
641
  }).filter(Boolean);
628
642
  });
629
- function nl() {
643
+ function rl() {
630
644
  return e.value.usePerformanceMode ? (l) => {
631
- const s = Me.value;
632
- if (!s) return;
633
- const t = s.createSVGPoint();
645
+ const a = Me.value;
646
+ if (!a) return;
647
+ const t = a.createSVGPoint();
634
648
  t.x = l.clientX, t.y = l.clientY;
635
- const o = s.getScreenCTM();
636
- if (!o) return;
637
- const a = o.inverse(), u = t.matrixTransform(a), i = 8, p = i * i;
649
+ const s = a.getScreenCTM();
650
+ if (!s) return;
651
+ const o = s.inverse(), u = t.matrixTransform(o), i = 8, f = i * i;
638
652
  let v = null, g = 1 / 0, L = -1;
639
- if (U.value.forEach((d, _) => {
653
+ if (V.value.forEach((d, _) => {
640
654
  d.plots.forEach((D) => {
641
- const C = D.x - u.x, z = D.y - u.y, X = C * C + z * z;
642
- X <= p && X < g && (g = X, v = D, L = _);
655
+ const S = D.x - u.x, z = D.y - u.y, X = S * S + z * z;
656
+ X <= f && X < g && (g = X, v = D, L = _);
643
657
  });
644
658
  }), v)
645
- Y.value !== v.id && (Y.value = v.id, je(v, L));
659
+ Y.value !== v.id && (Y.value = v.id, Ve(v, L));
646
660
  else if (Y.value) {
647
- const d = f.value;
661
+ const d = p.value;
648
662
  Y.value = void 0, Ae(d, L);
649
663
  }
650
664
  } : () => null;
651
665
  }
652
- const St = nl();
653
- function ul() {
666
+ const At = rl();
667
+ function vl() {
654
668
  if (Y.value) {
655
- const l = f.value;
669
+ const l = p.value;
656
670
  Y.value = void 0, Ae(l, null);
657
671
  }
658
672
  }
659
- function il(l) {
660
- const s = f.value;
661
- if (s) {
662
- const t = U.value.findIndex((o) => o.id === s.clusterId);
663
- Ue(s, t >= 0 ? t : 0);
673
+ function cl(l) {
674
+ const a = p.value;
675
+ if (a) {
676
+ const t = V.value.findIndex((s) => s.id === a.clusterId);
677
+ je(a, t >= 0 ? t : 0);
664
678
  }
665
679
  }
666
680
  const be = T(() => {
667
- const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
681
+ const l = e.value.table.useDialog && !e.value.table.show, a = H.value.showTable;
668
682
  return {
669
- component: l ? Vt : Xt,
683
+ component: l ? Gt : Yt,
670
684
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
671
685
  props: l ? {
672
686
  backgroundColor: e.value.table.th.backgroundColor,
@@ -674,12 +688,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
674
688
  headerColor: e.value.table.th.color,
675
689
  headerBg: e.value.table.th.backgroundColor,
676
690
  isFullscreen: re.value,
677
- fullscreenParent: te.value,
691
+ fullscreenParent: le.value,
678
692
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
679
693
  } : {
680
694
  hideDetails: !0,
681
695
  config: {
682
- open: s,
696
+ open: a,
683
697
  maxHeight: 1e4,
684
698
  body: {
685
699
  backgroundColor: e.value.style.backgroundColor,
@@ -693,69 +707,71 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
693
707
  }
694
708
  };
695
709
  });
696
- ze(() => H.value.showTable, (l) => {
710
+ Pe(() => H.value.showTable, (l) => {
697
711
  e.value.table.show || (l && e.value.table.useDialog && xe.value ? xe.value.open() : "close" in xe.value && xe.value.close());
698
712
  });
699
- function At() {
700
- H.value.showTable = !1, Ee.value && Ee.value.setTableIconState(!1);
713
+ function Lt() {
714
+ H.value.showTable = !1, Fe.value && Fe.value.setTableIconState(!1);
701
715
  }
702
- const rl = T(() => e.value.style.backgroundColor), vl = T(() => e.value.style.legend), yl = T(() => e.value.style.title), { exportSvg: cl, getSvg: dl } = Il({
716
+ const yl = T(() => e.value.style.backgroundColor), dl = T(() => e.value.style.legend), hl = T(() => e.value.style.title), { exportSvg: fl, getSvg: pl } = Rl({
703
717
  svg: Me,
704
- title: yl,
705
- legend: vl,
706
- legendItems: oe,
707
- backgroundColor: rl
718
+ title: hl,
719
+ legend: dl,
720
+ legendItems: J,
721
+ backgroundColor: yl
708
722
  });
709
- async function Lt({ isCb: l }) {
723
+ async function Bt({ isCb: l }) {
710
724
  if (l) {
711
- const { blob: s, url: t, text: o, dataUrl: a } = await dl();
712
- e.value.userOptions.callbacks.svg({ blob: s, url: t, text: o, dataUrl: a });
725
+ const { blob: a, url: t, text: s, dataUrl: o } = await pl();
726
+ e.value.userOptions.callbacks.svg({ blob: a, url: t, text: s, dataUrl: o });
713
727
  } else
714
- cl();
728
+ fl();
715
729
  }
716
- return Wt({
717
- getData: Kt,
718
- getImage: tl,
719
- generatePdf: gt,
720
- generateCsv: Ve,
721
- generateImage: mt,
722
- generateSvg: Lt,
723
- toggleTable: _t,
724
- toggleTooltip: Mt,
725
- toggleAnnotator: Ge,
726
- toggleFullscreen: $t
727
- }), (l, s) => (r(), y("div", {
728
- class: Tt(`vue-data-ui-component vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
730
+ return Nt({
731
+ getData: el,
732
+ getImage: ol,
733
+ generatePdf: mt,
734
+ generateCsv: Ge,
735
+ generateImage: xt,
736
+ generateSvg: Bt,
737
+ hideSeries: al,
738
+ showSeries: ll,
739
+ toggleTable: Mt,
740
+ toggleTooltip: St,
741
+ toggleAnnotator: qe,
742
+ toggleFullscreen: _t
743
+ }), (l, a) => (r(), c("div", {
744
+ class: zt(`vue-data-ui-component vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
729
745
  ref_key: "scatterChart",
730
- ref: te,
731
- id: `vue-ui-scatter_${N.value}`,
746
+ ref: le,
747
+ id: `vue-ui-scatter_${I.value}`,
732
748
  style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
733
- onMouseenter: s[5] || (s[5] = () => c(yt)(!0)),
734
- onMouseleave: s[6] || (s[6] = () => c(yt)(!1))
749
+ onMouseenter: a[5] || (a[5] = () => y(yt)(!0)),
750
+ onMouseleave: a[6] || (a[6] = () => y(yt)(!1))
735
751
  }, [
736
- e.value.userOptions.buttons.annotator ? (r(), le(c(Rt), {
752
+ e.value.userOptions.buttons.annotator ? (r(), ae(y(Ut), {
737
753
  key: 0,
738
- svgRef: c(Me),
754
+ svgRef: y(Me),
739
755
  backgroundColor: e.value.style.backgroundColor,
740
756
  color: e.value.style.color,
741
- active: Be.value,
742
- onClose: Ge
757
+ active: Te.value,
758
+ onClose: qe
743
759
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
744
- Qt.value ? (r(), y("div", {
760
+ Jt.value ? (r(), c("div", {
745
761
  key: 1,
746
762
  ref_key: "noTitle",
747
- ref: st,
763
+ ref: nt,
748
764
  class: "vue-data-ui-no-title-space",
749
765
  style: "height:36px; width: 100%;background:transparent"
750
766
  }, null, 512)) : x("", !0),
751
- e.value.style.title.text ? (r(), y("div", {
767
+ e.value.style.title.text ? (r(), c("div", {
752
768
  key: 2,
753
769
  ref_key: "chartTitle",
754
- ref: lt,
770
+ ref: at,
755
771
  style: "width:100%;background:transparent"
756
772
  }, [
757
- (r(), le(Ul, {
758
- key: `title_${nt.value}`,
773
+ (r(), ae(ql, {
774
+ key: `title_${ut.value}`,
759
775
  config: {
760
776
  title: {
761
777
  cy: "scatter-div-title",
@@ -769,17 +785,17 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
769
785
  }, null, 8, ["config"]))
770
786
  ], 512)) : x("", !0),
771
787
  w("div", {
772
- id: `legend-top-${N.value}`
773
- }, null, 8, Hl),
774
- e.value.userOptions.show && et.value && (c(ct) || c(Xe)) ? (r(), le(c(jt), {
788
+ id: `legend-top-${I.value}`
789
+ }, null, 8, Jl),
790
+ e.value.userOptions.show && tt.value && (y(dt) || y(Ye)) ? (r(), ae(y(Vt), {
775
791
  ref_key: "userOptionsRef",
776
- ref: Ee,
777
- key: `user_options_${tt.value}`,
792
+ ref: Fe,
793
+ key: `user_options_${lt.value}`,
778
794
  backgroundColor: e.value.style.backgroundColor,
779
795
  color: e.value.style.color,
780
- isImaging: c(ft),
781
- isPrinting: c(pt),
782
- uid: N.value,
796
+ isImaging: y(gt),
797
+ isPrinting: y(pt),
798
+ uid: I.value,
783
799
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
784
800
  hasPdf: e.value.userOptions.buttons.pdf,
785
801
  hasImg: e.value.userOptions.buttons.img,
@@ -790,112 +806,112 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
790
806
  isTooltip: H.value.showTooltip,
791
807
  isFullscreen: re.value,
792
808
  titles: { ...e.value.userOptions.buttonTitles },
793
- chartElement: te.value,
809
+ chartElement: le.value,
794
810
  position: e.value.userOptions.position,
795
811
  hasAnnotator: e.value.userOptions.buttons.annotator,
796
- isAnnotation: Be.value,
812
+ isAnnotation: Te.value,
797
813
  callbacks: e.value.userOptions.callbacks,
798
814
  printScale: e.value.userOptions.print.scale,
799
815
  tableDialog: e.value.table.useDialog,
800
- onToggleFullscreen: $t,
801
- onGeneratePdf: c(gt),
802
- onGenerateCsv: Ve,
803
- onGenerateImage: c(mt),
804
- onGenerateSvg: Lt,
805
- onToggleTable: _t,
806
- onToggleTooltip: Mt,
807
- onToggleAnnotator: Ge,
816
+ onToggleFullscreen: _t,
817
+ onGeneratePdf: y(mt),
818
+ onGenerateCsv: Ge,
819
+ onGenerateImage: y(xt),
820
+ onGenerateSvg: Bt,
821
+ onToggleTable: Mt,
822
+ onToggleTooltip: St,
823
+ onToggleAnnotator: qe,
808
824
  style: ue({
809
- visibility: c(ct) ? c(Xe) ? "visible" : "hidden" : "visible"
825
+ visibility: y(dt) ? y(Ye) ? "visible" : "hidden" : "visible"
810
826
  })
811
- }, zt({ _: 2 }, [
827
+ }, Pt({ _: 2 }, [
812
828
  l.$slots.menuIcon ? {
813
829
  name: "menuIcon",
814
- fn: W(({ isOpen: t, color: o }) => [
815
- R(l.$slots, "menuIcon", pe(fe({ isOpen: t, color: o })), void 0, !0)
830
+ fn: N(({ isOpen: t, color: s }) => [
831
+ R(l.$slots, "menuIcon", fe(pe({ isOpen: t, color: s })), void 0, !0)
816
832
  ]),
817
833
  key: "0"
818
834
  } : void 0,
819
835
  l.$slots.optionTooltip ? {
820
836
  name: "optionTooltip",
821
- fn: W(() => [
837
+ fn: N(() => [
822
838
  R(l.$slots, "optionTooltip", {}, void 0, !0)
823
839
  ]),
824
840
  key: "1"
825
841
  } : void 0,
826
842
  l.$slots.optionPdf ? {
827
843
  name: "optionPdf",
828
- fn: W(() => [
844
+ fn: N(() => [
829
845
  R(l.$slots, "optionPdf", {}, void 0, !0)
830
846
  ]),
831
847
  key: "2"
832
848
  } : void 0,
833
849
  l.$slots.optionCsv ? {
834
850
  name: "optionCsv",
835
- fn: W(() => [
851
+ fn: N(() => [
836
852
  R(l.$slots, "optionCsv", {}, void 0, !0)
837
853
  ]),
838
854
  key: "3"
839
855
  } : void 0,
840
856
  l.$slots.optionImg ? {
841
857
  name: "optionImg",
842
- fn: W(() => [
858
+ fn: N(() => [
843
859
  R(l.$slots, "optionImg", {}, void 0, !0)
844
860
  ]),
845
861
  key: "4"
846
862
  } : void 0,
847
863
  l.$slots.optionSvg ? {
848
864
  name: "optionSvg",
849
- fn: W(() => [
865
+ fn: N(() => [
850
866
  R(l.$slots, "optionSvg", {}, void 0, !0)
851
867
  ]),
852
868
  key: "5"
853
869
  } : void 0,
854
870
  l.$slots.optionTable ? {
855
871
  name: "optionTable",
856
- fn: W(() => [
872
+ fn: N(() => [
857
873
  R(l.$slots, "optionTable", {}, void 0, !0)
858
874
  ]),
859
875
  key: "6"
860
876
  } : void 0,
861
877
  l.$slots.optionFullscreen ? {
862
878
  name: "optionFullscreen",
863
- fn: W(({ toggleFullscreen: t, isFullscreen: o }) => [
864
- R(l.$slots, "optionFullscreen", pe(fe({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
879
+ fn: N(({ toggleFullscreen: t, isFullscreen: s }) => [
880
+ R(l.$slots, "optionFullscreen", fe(pe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
865
881
  ]),
866
882
  key: "7"
867
883
  } : void 0,
868
884
  l.$slots.optionAnnotator ? {
869
885
  name: "optionAnnotator",
870
- fn: W(({ toggleAnnotator: t, isAnnotator: o }) => [
871
- R(l.$slots, "optionAnnotator", pe(fe({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
886
+ fn: N(({ toggleAnnotator: t, isAnnotator: s }) => [
887
+ R(l.$slots, "optionAnnotator", fe(pe({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
872
888
  ]),
873
889
  key: "8"
874
890
  } : void 0
875
891
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
876
- (r(), y("svg", {
892
+ (r(), c("svg", {
877
893
  ref_key: "svgRef",
878
894
  ref: Me,
879
- xmlns: c(Al),
880
- class: Tt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
881
- viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
895
+ xmlns: y(Tl),
896
+ class: zt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
897
+ viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
882
898
  style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
883
- onMouseleave: qe
899
+ onMouseleave: He
884
900
  }, [
885
- _e(c(Ut)),
886
- l.$slots["chart-background"] ? (r(), y("foreignObject", {
901
+ _e(y(jt)),
902
+ l.$slots["chart-background"] ? (r(), c("foreignObject", {
887
903
  key: 0,
888
904
  x: 0,
889
905
  y: 0,
890
- width: F.value.width <= 0 ? 10 : F.value.width,
891
- height: F.value.height <= 0 ? 10 : F.value.height,
906
+ width: W.value.width <= 0 ? 10 : W.value.width,
907
+ height: W.value.height <= 0 ? 10 : W.value.height,
892
908
  style: {
893
909
  pointerEvents: "none"
894
910
  }
895
911
  }, [
896
912
  R(l.$slots, "chart-background", {}, void 0, !0)
897
- ], 8, Ql)) : x("", !0),
898
- e.value.style.layout.axis.show ? (r(), y("g", Jl, [
913
+ ], 8, ea)) : x("", !0),
914
+ e.value.style.layout.axis.show ? (r(), c("g", ta, [
899
915
  w("line", {
900
916
  x1: O.value.x,
901
917
  x2: O.value.x,
@@ -904,7 +920,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
904
920
  stroke: e.value.style.layout.axis.stroke,
905
921
  "stroke-width": e.value.style.layout.axis.strokeWidth,
906
922
  "stroke-linecap": "round"
907
- }, null, 8, Kl),
923
+ }, null, 8, la),
908
924
  w("line", {
909
925
  x1: n.value.left,
910
926
  x2: n.value.right,
@@ -913,12 +929,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
913
929
  stroke: e.value.style.layout.axis.stroke,
914
930
  "stroke-width": e.value.style.layout.axis.strokeWidth,
915
931
  "stroke-linecap": "round"
916
- }, null, 8, ea)
932
+ }, null, 8, aa)
917
933
  ])) : x("", !0),
918
- e.value.style.layout.marginalBars.show ? (r(), y("g", ta, [
934
+ e.value.style.layout.marginalBars.show ? (r(), c("g", oa, [
919
935
  w("defs", null, [
920
936
  w("linearGradient", {
921
- id: `marginal_x_${N.value}`,
937
+ id: `marginal_x_${I.value}`,
922
938
  x1: "0%",
923
939
  y1: "0%",
924
940
  x2: "0%",
@@ -927,14 +943,14 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
927
943
  w("stop", {
928
944
  offset: "0%",
929
945
  "stop-color": e.value.style.layout.marginalBars.fill
930
- }, null, 8, aa),
946
+ }, null, 8, na),
931
947
  w("stop", {
932
948
  offset: "100%",
933
949
  "stop-color": e.value.style.backgroundColor
934
- }, null, 8, oa)
935
- ], 8, la),
950
+ }, null, 8, ua)
951
+ ], 8, sa),
936
952
  w("linearGradient", {
937
- id: `marginal_y_${N.value}`,
953
+ id: `marginal_y_${I.value}`,
938
954
  x1: "0%",
939
955
  x2: "100%",
940
956
  y1: "0%",
@@ -943,124 +959,124 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
943
959
  w("stop", {
944
960
  offset: "0%",
945
961
  "stop-color": e.value.style.backgroundColor
946
- }, null, 8, na),
962
+ }, null, 8, ra),
947
963
  w("stop", {
948
964
  offset: "100%",
949
965
  "stop-color": e.value.style.layout.marginalBars.fill
950
- }, null, 8, ua)
951
- ], 8, sa)
966
+ }, null, 8, va)
967
+ ], 8, ia)
952
968
  ]),
953
- (r(!0), y(Z, null, J(S.value.x, (t, o) => (r(), y("g", null, [
954
- t && S.value.avgX[o] ? (r(), y("rect", {
969
+ (r(!0), c(Z, null, K(C.value.x, (t, s) => (r(), c("g", null, [
970
+ t && C.value.avgX[s] ? (r(), c("rect", {
955
971
  key: 0,
956
- x: S.value.avgX[o] - n.value.width / b.value / 2,
957
- y: n.value.top - e.value.style.layout.marginalBars.offset - t / S.value.maxX * e.value.style.layout.marginalBars.size,
972
+ x: C.value.avgX[s] - n.value.width / b.value / 2,
973
+ y: n.value.top - e.value.style.layout.marginalBars.offset - t / C.value.maxX * e.value.style.layout.marginalBars.size,
958
974
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
959
- height: t / S.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / S.value.maxX * e.value.style.layout.marginalBars.size,
960
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${N.value})` : e.value.style.layout.marginalBars.fill,
975
+ height: t / C.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / C.value.maxX * e.value.style.layout.marginalBars.size,
976
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${I.value})` : e.value.style.layout.marginalBars.fill,
961
977
  style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
962
978
  stroke: e.value.style.backgroundColor,
963
979
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
964
980
  rx: e.value.style.layout.marginalBars.borderRadius
965
- }, null, 12, ia)) : x("", !0),
966
- S.value.avgX[o] ? (r(), y("rect", {
981
+ }, null, 12, ca)) : x("", !0),
982
+ C.value.avgX[s] ? (r(), c("rect", {
967
983
  key: 1,
968
- x: S.value.avgX[o] - n.value.width / b.value / 2,
984
+ x: C.value.avgX[s] - n.value.width / b.value / 2,
969
985
  y: n.value.top - e.value.style.layout.marginalBars.offset - e.value.style.layout.marginalBars.size,
970
986
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
971
987
  height: Math.max(0.1, e.value.style.layout.marginalBars.size),
972
988
  fill: "transparent",
973
- onMouseenter: (a) => ll(o),
974
- onMouseleave: s[0] || (s[0] = (a) => qe())
975
- }, null, 40, ra)) : x("", !0),
976
- S.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", va, [
989
+ onMouseenter: (o) => sl(s),
990
+ onMouseleave: a[0] || (a[0] = (o) => He())
991
+ }, null, 40, ya)) : x("", !0),
992
+ C.value.avgX[s] && ge.value != null && ge.value === s ? (r(), c("g", da, [
977
993
  w("rect", {
978
- x: S.value.avgX[o] - n.value.width / b.value / 2,
994
+ x: C.value.avgX[s] - n.value.width / b.value / 2,
979
995
  y: n.value.top,
980
996
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
981
997
  height: n.value.height,
982
998
  fill: e.value.style.layout.marginalBars.highlighter.color,
983
999
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
984
- }, null, 8, ya),
1000
+ }, null, 8, ha),
985
1001
  w("line", {
986
- x1: S.value.avgX[o] - n.value.width / b.value / 2,
987
- x2: S.value.avgX[o] - n.value.width / b.value / 2,
1002
+ x1: C.value.avgX[s] - n.value.width / b.value / 2,
1003
+ x2: C.value.avgX[s] - n.value.width / b.value / 2,
988
1004
  y1: 0,
989
1005
  y2: n.value.top + n.value.height,
990
1006
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
991
1007
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
992
1008
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
993
1009
  style: { transition: "none !important", animation: "none !important" }
994
- }, null, 8, ca),
1010
+ }, null, 8, fa),
995
1011
  w("line", {
996
- x1: S.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
997
- x2: S.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
1012
+ x1: C.value.avgX[s] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
1013
+ x2: C.value.avgX[s] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
998
1014
  y1: 0,
999
1015
  y2: n.value.top + n.value.height,
1000
1016
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1001
1017
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1002
1018
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1003
1019
  style: { transition: "none !important", animation: "none !important" }
1004
- }, null, 8, da)
1020
+ }, null, 8, pa)
1005
1021
  ])) : x("", !0)
1006
1022
  ]))), 256)),
1007
- (r(!0), y(Z, null, J(S.value.y, (t, o) => (r(), y("g", null, [
1008
- t && S.value.avgY[o] ? (r(), y("rect", {
1023
+ (r(!0), c(Z, null, K(C.value.y, (t, s) => (r(), c("g", null, [
1024
+ t && C.value.avgY[s] ? (r(), c("rect", {
1009
1025
  key: 0,
1010
1026
  x: n.value.right + e.value.style.layout.marginalBars.offset,
1011
- y: S.value.avgY[o] - n.value.height / b.value / 2,
1027
+ y: C.value.avgY[s] - n.value.height / b.value / 2,
1012
1028
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1013
- width: t / S.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / S.value.maxY * e.value.style.layout.marginalBars.size,
1014
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${N.value})` : e.value.style.layout.marginalBars.fill,
1029
+ width: t / C.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / C.value.maxY * e.value.style.layout.marginalBars.size,
1030
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${I.value})` : e.value.style.layout.marginalBars.fill,
1015
1031
  style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
1016
1032
  stroke: e.value.style.backgroundColor,
1017
1033
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
1018
1034
  rx: e.value.style.layout.marginalBars.borderRadius
1019
- }, null, 12, ha)) : x("", !0),
1020
- S.value.avgY[o] ? (r(), y("rect", {
1035
+ }, null, 12, ga)) : x("", !0),
1036
+ C.value.avgY[s] ? (r(), c("rect", {
1021
1037
  key: 1,
1022
1038
  x: n.value.right + e.value.style.layout.marginalBars.offset,
1023
- y: S.value.avgY[o] - n.value.height / b.value / 2,
1039
+ y: C.value.avgY[s] - n.value.height / b.value / 2,
1024
1040
  width: Math.max(0.1, e.value.style.layout.marginalBars.size),
1025
1041
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1026
1042
  fill: "transparent",
1027
- onMouseenter: (a) => al(o),
1028
- onMouseleave: s[1] || (s[1] = (a) => qe())
1029
- }, null, 40, pa)) : x("", !0),
1030
- S.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", fa, [
1043
+ onMouseenter: (o) => nl(s),
1044
+ onMouseleave: a[1] || (a[1] = (o) => He())
1045
+ }, null, 40, ma)) : x("", !0),
1046
+ C.value.avgY[s] && me.value != null && me.value === s ? (r(), c("g", xa, [
1031
1047
  w("rect", {
1032
1048
  x: n.value.left,
1033
- y: S.value.avgY[o] - n.value.height / b.value / 2,
1049
+ y: C.value.avgY[s] - n.value.height / b.value / 2,
1034
1050
  width: n.value.width,
1035
1051
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1036
1052
  fill: e.value.style.layout.marginalBars.highlighter.color,
1037
1053
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
1038
- }, null, 8, ga),
1054
+ }, null, 8, ba),
1039
1055
  w("line", {
1040
1056
  x1: n.value.left,
1041
- x2: F.value.width,
1042
- y1: S.value.avgY[o] - n.value.height / b.value / 2,
1043
- y2: S.value.avgY[o] - n.value.height / b.value / 2,
1057
+ x2: W.value.width,
1058
+ y1: C.value.avgY[s] - n.value.height / b.value / 2,
1059
+ y2: C.value.avgY[s] - n.value.height / b.value / 2,
1044
1060
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1045
1061
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1046
1062
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1047
1063
  style: { transition: "none !important", animation: "none !important" }
1048
- }, null, 8, ma),
1064
+ }, null, 8, ka),
1049
1065
  w("line", {
1050
1066
  x1: n.value.left,
1051
- x2: F.value.width,
1052
- y1: S.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1053
- y2: S.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1067
+ x2: W.value.width,
1068
+ y1: C.value.avgY[s] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1069
+ y2: C.value.avgY[s] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1054
1070
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1055
1071
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1056
1072
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1057
1073
  style: { transition: "none !important", animation: "none !important" }
1058
- }, null, 8, xa)
1074
+ }, null, 8, wa)
1059
1075
  ])) : x("", !0)
1060
1076
  ]))), 256)),
1061
- e.value.style.layout.marginalBars.showLines ? (r(), y("g", ba, [
1062
- (r(!0), y(Z, null, J(el.value, (t) => (r(), y(Z, null, [
1063
- I.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1077
+ e.value.style.layout.marginalBars.showLines ? (r(), c("g", $a, [
1078
+ (r(!0), c(Z, null, K(tl.value, (t) => (r(), c(Z, null, [
1079
+ F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1064
1080
  key: 0,
1065
1081
  d: `M ${t.dX}`,
1066
1082
  stroke: e.value.style.backgroundColor,
@@ -1068,8 +1084,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1068
1084
  "stroke-linecap": "round",
1069
1085
  "stroke-linejoin": "round",
1070
1086
  fill: "none"
1071
- }, null, 8, ka)),
1072
- I.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1087
+ }, null, 8, _a)),
1088
+ F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1073
1089
  key: 1,
1074
1090
  d: `M ${t.dX}`,
1075
1091
  stroke: t.color,
@@ -1077,8 +1093,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1077
1093
  "stroke-linecap": "round",
1078
1094
  "stroke-linejoin": "round",
1079
1095
  fill: "none"
1080
- }, null, 8, wa)),
1081
- I.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1096
+ }, null, 8, Ma)),
1097
+ F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1082
1098
  key: 2,
1083
1099
  d: `M ${t.dY}`,
1084
1100
  stroke: e.value.style.backgroundColor,
@@ -1086,8 +1102,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1086
1102
  "stroke-linecap": "round",
1087
1103
  "stroke-linejoin": "round",
1088
1104
  fill: "none"
1089
- }, null, 8, $a)),
1090
- I.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1105
+ }, null, 8, Sa)),
1106
+ F.value.includes(t.id) ? x("", !0) : (r(), c("path", {
1091
1107
  key: 3,
1092
1108
  d: `M ${t.dY}`,
1093
1109
  stroke: t.color,
@@ -1095,58 +1111,58 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1095
1111
  "stroke-linecap": "round",
1096
1112
  "stroke-linejoin": "round",
1097
1113
  fill: "none"
1098
- }, null, 8, _a))
1114
+ }, null, 8, Ca))
1099
1115
  ], 64))), 256))
1100
1116
  ])) : x("", !0)
1101
1117
  ])) : x("", !0),
1102
- e.value.style.layout.plots.giftWrap.show ? (r(), y("g", Ma, [
1103
- (r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("g", null, [
1104
- t.plots.length > 2 ? (r(), y("polygon", {
1118
+ e.value.style.layout.plots.giftWrap.show ? (r(), c("g", Aa, [
1119
+ (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("g", null, [
1120
+ t.plots.length > 2 ? (r(), c("polygon", {
1105
1121
  key: 0,
1106
- points: c(Ll)({ series: t.plots }),
1107
- fill: c(Pe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1122
+ points: y(zl)({ series: t.plots }),
1123
+ fill: y(Oe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1108
1124
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1109
1125
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1110
1126
  stroke: t.color,
1111
1127
  "stroke-linejoin": "round",
1112
1128
  "stroke-linecap": "round"
1113
- }, null, 8, Ca)) : x("", !0)
1129
+ }, null, 8, La)) : x("", !0)
1114
1130
  ]))), 256))
1115
1131
  ])) : x("", !0),
1116
- e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, J(U.value, (t, o) => (r(), y("g", null, [
1117
- !t.shape || t.shape === "circle" ? (r(), y("g", Sa, [
1118
- (r(!0), y(Z, null, J(t.plots, (a, u) => (r(), y("circle", {
1119
- cx: a.x,
1120
- cy: a.y,
1121
- r: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1122
- fill: c(Pe)(t.color, e.value.style.layout.plots.opacity * 100),
1132
+ e.value.usePerformanceMode ? x("", !0) : (r(!0), c(Z, { key: 4 }, K(V.value, (t, s) => (r(), c("g", null, [
1133
+ !t.shape || t.shape === "circle" ? (r(), c("g", Ba, [
1134
+ (r(!0), c(Z, null, K(t.plots, (o, u) => (r(), c("circle", {
1135
+ cx: o.x,
1136
+ cy: o.y,
1137
+ r: Y.value && Y.value === o.id ? o.weight * 2 : o.weight,
1138
+ fill: y(Oe)(t.color, e.value.style.layout.plots.opacity * 100),
1123
1139
  stroke: e.value.style.layout.plots.stroke,
1124
1140
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1125
- style: ue(`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}`),
1126
- onMouseover: (i) => je(a, o),
1127
- onMouseleave: (i) => Ae(a, o),
1128
- onClick: (i) => Ue(a, o)
1129
- }, null, 44, Aa))), 256))
1130
- ])) : (r(), y("g", La, [
1131
- (r(!0), y(Z, null, J(t.plots, (a, u) => (r(), le(Ke, {
1132
- plot: { x: a.x, y: a.y },
1133
- radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1141
+ style: ue(`opacity:${Y.value && Y.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1142
+ onMouseover: (i) => Ve(o, s),
1143
+ onMouseleave: (i) => Ae(o, s),
1144
+ onClick: (i) => je(o, s)
1145
+ }, null, 44, Ta))), 256))
1146
+ ])) : (r(), c("g", za, [
1147
+ (r(!0), c(Z, null, K(t.plots, (o, u) => (r(), ae(et, {
1148
+ plot: { x: o.x, y: o.y },
1149
+ radius: Y.value && Y.value === o.id ? o.weight * 2 : o.weight,
1134
1150
  shape: t.shape,
1135
- color: c(Pe)(t.color, e.value.style.layout.plots.opacity * 100),
1151
+ color: y(Oe)(t.color, e.value.style.layout.plots.opacity * 100),
1136
1152
  stroke: e.value.style.layout.plots.stroke,
1137
1153
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1138
- style: ue(`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}`),
1139
- onMouseover: (i) => je(a, o),
1140
- onMouseleave: (i) => Ae(a, o),
1141
- onClick: (i) => Ue(a, o)
1154
+ style: ue(`opacity:${Y.value && Y.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / kt.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1155
+ onMouseover: (i) => Ve(o, s),
1156
+ onMouseleave: (i) => Ae(o, s),
1157
+ onClick: (i) => je(o, s)
1142
1158
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
1143
1159
  ]))
1144
1160
  ]))), 256)),
1145
- e.value.usePerformanceMode ? (r(), y(Z, { key: 5 }, [
1161
+ e.value.usePerformanceMode ? (r(), c(Z, { key: 5 }, [
1146
1162
  w("g", {
1147
- "clip-path": `url(#clip_path_${N.value})`
1163
+ "clip-path": `url(#clip_path_${I.value})`
1148
1164
  }, [
1149
- (r(!0), y(Z, null, J(sl.value, (t) => (r(), y("path", {
1165
+ (r(!0), c(Z, null, K(il.value, (t) => (r(), c("path", {
1150
1166
  key: t.id,
1151
1167
  d: t.d,
1152
1168
  fill: t.fill,
@@ -1155,14 +1171,14 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1155
1171
  "stroke-opacity": t.strokeOpacity,
1156
1172
  "vector-effect": "non-scaling-stroke",
1157
1173
  "paint-order": "fill"
1158
- }, null, 8, Ta))), 128))
1159
- ], 8, Ba),
1160
- f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", za, [
1161
- _e(Ke, {
1162
- shape: f.value.shape || "circle",
1163
- color: f.value.color,
1164
- plot: { x: f.value.x, y: f.value.y },
1165
- radius: Math.max(4 * Ct[f.value.shape || "circle"], f.value.weight * 2),
1174
+ }, null, 8, Oa))), 128))
1175
+ ], 8, Pa),
1176
+ p.value && e.value.style.layout.plots.selectors.show ? (r(), c("g", Da, [
1177
+ _e(et, {
1178
+ shape: p.value.shape || "circle",
1179
+ color: p.value.color,
1180
+ plot: { x: p.value.x, y: p.value.y },
1181
+ radius: Math.max(4 * Ct[p.value.shape || "circle"], p.value.weight * 2),
1166
1182
  stroke: e.value.style.layout.plots.stroke,
1167
1183
  strokeWidth: e.value.style.layout.plots.strokeWidth
1168
1184
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])
@@ -1173,206 +1189,206 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1173
1189
  width: Math.max(1e-4, n.value.width),
1174
1190
  height: Math.max(1e-4, n.value.height),
1175
1191
  fill: "transparent",
1176
- onMousemove: s[2] || (s[2] = (...t) => c(St) && c(St)(...t)),
1177
- onMouseleave: ul,
1178
- onClick: il
1179
- }, null, 40, Pa)
1192
+ onMousemove: a[2] || (a[2] = (...t) => y(At) && y(At)(...t)),
1193
+ onMouseleave: vl,
1194
+ onClick: cl
1195
+ }, null, 40, Ea)
1180
1196
  ], 64)) : x("", !0),
1181
- f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Oa, [
1197
+ p.value && e.value.style.layout.plots.selectors.show ? (r(), c("g", Fa, [
1182
1198
  w("line", {
1183
1199
  x1: O.value.x,
1184
- x2: f.value.x,
1185
- y1: f.value.y,
1186
- y2: f.value.y,
1200
+ x2: p.value.x,
1201
+ y1: p.value.y,
1202
+ y2: p.value.y,
1187
1203
  stroke: e.value.style.layout.plots.selectors.stroke,
1188
1204
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
1189
1205
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1190
1206
  "stroke-linecap": "round",
1191
1207
  class: "line-pointer"
1192
- }, null, 8, Da),
1208
+ }, null, 8, Wa),
1193
1209
  w("line", {
1194
- x1: f.value.x,
1195
- x2: f.value.x,
1210
+ x1: p.value.x,
1211
+ x2: p.value.x,
1196
1212
  y1: O.value.y,
1197
- y2: f.value.y,
1213
+ y2: p.value.y,
1198
1214
  stroke: e.value.style.layout.plots.selectors.stroke,
1199
1215
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
1200
1216
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1201
1217
  "stroke-linecap": "round",
1202
1218
  class: "line-pointer"
1203
- }, null, 8, Ea),
1219
+ }, null, 8, Na),
1204
1220
  w("text", {
1205
- x: O.value.x + (f.value.x > O.value.x ? -6 : 6),
1206
- y: f.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1221
+ x: O.value.x + (p.value.x > O.value.x ? -6 : 6),
1222
+ y: p.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1207
1223
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1208
1224
  fill: e.value.style.layout.plots.selectors.labels.color,
1209
1225
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1210
- "text-anchor": f.value.x > O.value.x ? "end" : "start"
1211
- }, G(c(ie)(
1226
+ "text-anchor": p.value.x > O.value.x ? "end" : "start"
1227
+ }, G(y(ie)(
1212
1228
  e.value.style.layout.plots.selectors.labels.y.formatter,
1213
- c(q)(f.value.v.y),
1214
- c(K)({
1229
+ y(q)(p.value.v.y),
1230
+ y(ee)({
1215
1231
  p: e.value.style.layout.plots.selectors.labels.prefix,
1216
- v: c(q)(f.value.v.y),
1232
+ v: y(q)(p.value.v.y),
1217
1233
  s: e.value.style.layout.plots.selectors.labels.suffix,
1218
1234
  r: e.value.style.layout.plots.selectors.labels.rounding
1219
1235
  }),
1220
- { datapoint: f.value }
1221
- )), 9, Fa),
1236
+ { datapoint: p.value }
1237
+ )), 9, Ia),
1222
1238
  w("text", {
1223
- x: f.value.x,
1224
- y: O.value.y + (f.value.y > O.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1239
+ x: p.value.x,
1240
+ y: O.value.y + (p.value.y > O.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1225
1241
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1226
1242
  fill: e.value.style.layout.plots.selectors.labels.color,
1227
1243
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1228
1244
  "text-anchor": "middle"
1229
- }, G(c(ie)(
1245
+ }, G(y(ie)(
1230
1246
  e.value.style.layout.plots.selectors.labels.y.formatter,
1231
- c(q)(f.value.v.x),
1232
- c(K)({
1247
+ y(q)(p.value.v.x),
1248
+ y(ee)({
1233
1249
  p: e.value.style.layout.plots.selectors.labels.prefix,
1234
- v: c(q)(f.value.v.x),
1250
+ v: y(q)(p.value.v.x),
1235
1251
  s: e.value.style.layout.plots.selectors.labels.suffix,
1236
1252
  r: e.value.style.layout.plots.selectors.labels.rounding
1237
1253
  }),
1238
- { datapoint: f.value }
1239
- )), 9, Wa),
1254
+ { datapoint: p.value }
1255
+ )), 9, Xa),
1240
1256
  w("circle", {
1241
1257
  cx: O.value.x,
1242
- cy: f.value.y,
1258
+ cy: p.value.y,
1243
1259
  r: e.value.style.layout.plots.selectors.markers.radius,
1244
1260
  fill: e.value.style.layout.plots.selectors.markers.fill,
1245
1261
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1246
1262
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1247
1263
  class: "line-pointer"
1248
- }, null, 8, Na),
1264
+ }, null, 8, Ya),
1249
1265
  w("circle", {
1250
- cx: f.value.x,
1266
+ cx: p.value.x,
1251
1267
  cy: O.value.y,
1252
1268
  r: e.value.style.layout.plots.selectors.markers.radius,
1253
1269
  fill: e.value.style.layout.plots.selectors.markers.fill,
1254
1270
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1255
1271
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1256
1272
  class: "line-pointer"
1257
- }, null, 8, Ia),
1258
- e.value.style.layout.plots.selectors.labels.showName ? (r(), y("text", {
1273
+ }, null, 8, Ra),
1274
+ e.value.style.layout.plots.selectors.labels.showName ? (r(), c("text", {
1259
1275
  key: 0,
1260
- x: f.value.x,
1261
- y: f.value.y + (f.value.y < O.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1276
+ x: p.value.x,
1277
+ y: p.value.y + (p.value.y < O.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1262
1278
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1263
1279
  fill: e.value.style.layout.plots.selectors.labels.color,
1264
1280
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1265
- "text-anchor": f.value.x < n.value.left + 100 ? "start" : f.value.x > n.value.right - 100 ? "end" : f.value.x > O.value.x ? "start" : "end"
1266
- }, G(f.value.v.name), 9, Xa)) : x("", !0)
1281
+ "text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x > O.value.x ? "start" : "end"
1282
+ }, G(p.value.v.name), 9, Ua)) : x("", !0)
1267
1283
  ])) : x("", !0),
1268
- e.value.style.layout.dataLabels.xAxis.show ? (r(), y("g", {
1284
+ e.value.style.layout.dataLabels.xAxis.show ? (r(), c("g", {
1269
1285
  key: 7,
1270
1286
  ref_key: "xAxisLabelLeft",
1271
- ref: Fe
1287
+ ref: We
1272
1288
  }, [
1273
1289
  w("text", {
1274
- id: `vue-ui-scatter-xAxis-label-${N.value}`,
1290
+ id: `vue-ui-scatter-xAxis-label-${I.value}`,
1275
1291
  transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize}, ${n.value.top + n.value.height / 2}), rotate(-90)`,
1276
1292
  "text-anchor": "middle",
1277
1293
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1278
1294
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1279
1295
  fill: e.value.style.layout.dataLabels.xAxis.color
1280
- }, G(e.value.style.layout.dataLabels.xAxis.name), 9, Ya),
1296
+ }, G(e.value.style.layout.dataLabels.xAxis.name), 9, Va),
1281
1297
  w("text", {
1282
1298
  "text-anchor": "middle",
1283
1299
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1284
1300
  fill: e.value.style.layout.dataLabels.xAxis.color,
1285
1301
  transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1286
- }, G(c(ie)(
1302
+ }, G(y(ie)(
1287
1303
  e.value.style.layout.plots.selectors.labels.x.formatter,
1288
- c(q)(P.value.xMin),
1289
- c(K)({
1304
+ y(q)(P.value.xMin),
1305
+ y(ee)({
1290
1306
  p: e.value.style.layout.plots.selectors.labels.prefix,
1291
- v: c(q)(P.value.xMin),
1307
+ v: y(q)(P.value.xMin),
1292
1308
  s: e.value.style.layout.plots.selectors.labels.suffix,
1293
1309
  r: e.value.style.layout.dataLabels.xAxis.rounding
1294
1310
  })
1295
- )), 9, Ra)
1311
+ )), 9, ja)
1296
1312
  ], 512)) : x("", !0),
1297
- e.value.style.layout.dataLabels.xAxis.show ? (r(), y("text", {
1313
+ e.value.style.layout.dataLabels.xAxis.show ? (r(), c("text", {
1298
1314
  key: 8,
1299
1315
  ref_key: "xAxisLabelRight",
1300
- ref: qt,
1316
+ ref: Ht,
1301
1317
  "text-anchor": "middle",
1302
1318
  transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1303
1319
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1304
1320
  fill: e.value.style.layout.dataLabels.xAxis.color
1305
- }, G(c(ie)(
1321
+ }, G(y(ie)(
1306
1322
  e.value.style.layout.plots.selectors.labels.x.formatter,
1307
- c(q)(P.value.xMax),
1308
- c(K)({
1323
+ y(q)(P.value.xMax),
1324
+ y(ee)({
1309
1325
  p: e.value.style.layout.plots.selectors.labels.prefix,
1310
- v: c(q)(P.value.xMax),
1326
+ v: y(q)(P.value.xMax),
1311
1327
  s: e.value.style.layout.plots.selectors.labels.suffix,
1312
1328
  r: e.value.style.layout.dataLabels.xAxis.rounding
1313
1329
  })
1314
- )), 9, ja)) : x("", !0),
1315
- e.value.style.layout.dataLabels.yAxis.show ? (r(), y("text", {
1330
+ )), 9, Ga)) : x("", !0),
1331
+ e.value.style.layout.dataLabels.yAxis.show ? (r(), c("text", {
1316
1332
  key: 9,
1317
1333
  ref_key: "yAxisLabelTop",
1318
- ref: Ht,
1334
+ ref: Zt,
1319
1335
  x: O.value.x,
1320
1336
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
1321
1337
  "text-anchor": "middle",
1322
1338
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1323
1339
  fill: e.value.style.layout.dataLabels.yAxis.color
1324
- }, G(c(ie)(
1340
+ }, G(y(ie)(
1325
1341
  e.value.style.layout.plots.selectors.labels.y.formatter,
1326
- c(q)(P.value.yMax),
1327
- c(K)({
1342
+ y(q)(P.value.yMax),
1343
+ y(ee)({
1328
1344
  p: e.value.style.layout.plots.selectors.labels.prefix,
1329
- v: c(q)(P.value.yMax),
1345
+ v: y(q)(P.value.yMax),
1330
1346
  s: e.value.style.layout.plots.selectors.labels.suffix,
1331
1347
  r: e.value.style.layout.dataLabels.yAxis.rounding
1332
1348
  })
1333
- )), 9, Ua)) : x("", !0),
1334
- e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
1349
+ )), 9, qa)) : x("", !0),
1350
+ e.value.style.layout.dataLabels.yAxis.show ? (r(), c("g", {
1335
1351
  key: 10,
1336
1352
  ref_key: "yAxisLabelBottom",
1337
- ref: We
1353
+ ref: Ne
1338
1354
  }, [
1339
1355
  w("text", {
1340
1356
  x: O.value.x,
1341
- y: F.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1357
+ y: W.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1342
1358
  "text-anchor": "middle",
1343
1359
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1344
1360
  fill: e.value.style.layout.dataLabels.yAxis.color
1345
- }, G(c(ie)(
1361
+ }, G(y(ie)(
1346
1362
  e.value.style.layout.plots.selectors.labels.y.formatter,
1347
- c(q)(P.value.yMin),
1348
- c(K)({
1363
+ y(q)(P.value.yMin),
1364
+ y(ee)({
1349
1365
  p: e.value.style.layout.plots.selectors.labels.prefix,
1350
- v: c(q)(P.value.yMin),
1366
+ v: y(q)(P.value.yMin),
1351
1367
  s: e.value.style.layout.plots.selectors.labels.suffix,
1352
1368
  r: e.value.style.layout.dataLabels.yAxis.rounding
1353
1369
  })
1354
- )), 9, Va),
1370
+ )), 9, Ha),
1355
1371
  w("text", {
1356
1372
  "text-anchor": "middle",
1357
1373
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1358
1374
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
1359
1375
  fill: e.value.style.layout.dataLabels.yAxis.color,
1360
1376
  x: n.value.left + n.value.width / 2,
1361
- y: F.value.height
1362
- }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Ga)
1377
+ y: W.value.height
1378
+ }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Za)
1363
1379
  ], 512)) : x("", !0),
1364
1380
  w("clipPath", {
1365
- id: `clip_path_${N.value}`
1381
+ id: `clip_path_${I.value}`
1366
1382
  }, [
1367
1383
  w("rect", {
1368
1384
  x: n.value.left,
1369
1385
  y: n.value.top,
1370
1386
  width: n.value.width <= 0 ? 1e-4 : n.value.width,
1371
1387
  height: n.value.height <= 0 ? 1e-4 : n.value.height
1372
- }, null, 8, Ha)
1373
- ], 8, qa),
1374
- e.value.style.layout.correlation.show ? (r(), y("g", Za, [
1375
- (r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("line", {
1388
+ }, null, 8, Ja)
1389
+ ], 8, Qa),
1390
+ e.value.style.layout.correlation.show ? (r(), c("g", Ka, [
1391
+ (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("line", {
1376
1392
  x1: t.correlation.x1,
1377
1393
  x2: t.correlation.x2,
1378
1394
  y1: t.correlation.y1,
@@ -1380,10 +1396,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1380
1396
  "stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
1381
1397
  stroke: t.color,
1382
1398
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
1383
- "clip-path": `url(#clip_path_${N.value})`
1384
- }, null, 8, Qa))), 256)),
1385
- (r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("g", null, [
1386
- e.value.style.layout.correlation.label.show ? (r(), y("text", {
1399
+ "clip-path": `url(#clip_path_${I.value})`
1400
+ }, null, 8, eo))), 256)),
1401
+ (r(!0), c(Z, null, K(V.value, (t, s) => (r(), c("g", null, [
1402
+ e.value.style.layout.correlation.label.show ? (r(), c("text", {
1387
1403
  key: 0,
1388
1404
  x: t.correlation.x2,
1389
1405
  y: t.correlation.y2,
@@ -1391,66 +1407,66 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1391
1407
  "text-anchor": "end",
1392
1408
  "font-size": e.value.style.layout.correlation.label.fontSize,
1393
1409
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
1394
- }, G(c(K)({
1395
- v: c(q)(t.correlation.coefficient),
1410
+ }, G(y(ee)({
1411
+ v: y(q)(t.correlation.coefficient),
1396
1412
  r: e.value.style.layout.correlation.label.roundingValue
1397
- })), 9, Ja)) : x("", !0)
1413
+ })), 9, to)) : x("", !0)
1398
1414
  ]))), 256))
1399
1415
  ])) : x("", !0),
1400
1416
  R(l.$slots, "svg", {
1401
1417
  svg: {
1402
- ...F.value,
1418
+ ...W.value,
1403
1419
  drawingArea: {
1404
1420
  ...n.value,
1405
1421
  zero: O.value
1406
1422
  },
1407
- data: Se.value
1423
+ data: Ce.value
1408
1424
  }
1409
1425
  }, void 0, !0)
1410
- ], 46, Zl)),
1411
- l.$slots.watermark ? (r(), y("div", Ka, [
1412
- R(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
1426
+ ], 46, Kl)),
1427
+ l.$slots.watermark ? (r(), c("div", lo, [
1428
+ R(l.$slots, "watermark", fe(pe({ isPrinting: y(pt) || y(gt) })), void 0, !0)
1413
1429
  ])) : x("", !0),
1414
1430
  w("div", {
1415
- id: `legend-bottom-${N.value}`
1416
- }, null, 8, eo),
1417
- rt.value ? (r(), le(gl, {
1431
+ id: `legend-bottom-${I.value}`
1432
+ }, null, 8, ao),
1433
+ vt.value ? (r(), ae(bl, {
1418
1434
  key: 5,
1419
- to: e.value.style.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
1435
+ to: e.value.style.legend.position === "top" ? `#legend-top-${I.value}` : `#legend-bottom-${I.value}`
1420
1436
  }, [
1421
1437
  w("div", {
1422
1438
  ref_key: "chartLegend",
1423
- ref: at
1439
+ ref: ot
1424
1440
  }, [
1425
- e.value.style.legend.show ? (r(), le(jl, {
1426
- key: `legend_${it.value}`,
1427
- legendSet: oe.value,
1428
- config: Jt.value,
1429
- onClickMarker: s[3] || (s[3] = ({ legend: t }) => wt(t.id))
1441
+ e.value.style.legend.show ? (r(), ae(Gl, {
1442
+ key: `legend_${rt.value}`,
1443
+ legendSet: J.value,
1444
+ config: Kt.value,
1445
+ onClickMarker: a[3] || (a[3] = ({ legend: t }) => Le(t.id))
1430
1446
  }, {
1431
- item: W(({ legend: t }) => [
1447
+ item: N(({ legend: t }) => [
1432
1448
  w("div", {
1433
- onClick: (o) => t.segregate(),
1434
- style: ue(`opacity:${I.value.includes(t.id) ? 0.5 : 1}`)
1435
- }, G(t.name), 13, to)
1449
+ onClick: (s) => t.segregate(),
1450
+ style: ue(`opacity:${F.value.includes(t.id) ? 0.5 : 1}`)
1451
+ }, G(t.name), 13, oo)
1436
1452
  ]),
1437
1453
  _: 1
1438
1454
  }, 8, ["legendSet", "config"])) : R(l.$slots, "legend", {
1439
1455
  key: 1,
1440
- legend: oe.value
1456
+ legend: J.value
1441
1457
  }, void 0, !0)
1442
1458
  ], 512)
1443
1459
  ], 8, ["to"])) : x("", !0),
1444
- l.$slots.source ? (r(), y("div", {
1460
+ l.$slots.source ? (r(), c("div", {
1445
1461
  key: 6,
1446
1462
  ref_key: "source",
1447
- ref: ot,
1463
+ ref: st,
1448
1464
  dir: "auto"
1449
1465
  }, [
1450
1466
  R(l.$slots, "source", {}, void 0, !0)
1451
1467
  ], 512)) : x("", !0),
1452
- _e(c(Nt), {
1453
- show: H.value.showTooltip && Oe.value,
1468
+ _e(y(It), {
1469
+ show: H.value.showTooltip && De.value,
1454
1470
  backgroundColor: e.value.style.tooltip.backgroundColor,
1455
1471
  color: e.value.style.tooltip.color,
1456
1472
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1460,8 +1476,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1460
1476
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1461
1477
  position: e.value.style.tooltip.position,
1462
1478
  offsetY: e.value.style.tooltip.offsetY,
1463
- parent: te.value,
1464
- content: De.value,
1479
+ parent: le.value,
1480
+ content: Ee.value,
1465
1481
  isFullscreen: re.value,
1466
1482
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1467
1483
  smooth: e.value.style.tooltip.smooth,
@@ -1469,18 +1485,18 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1469
1485
  smoothForce: e.value.style.tooltip.smoothForce,
1470
1486
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1471
1487
  }, {
1472
- "tooltip-before": W(() => [
1473
- R(l.$slots, "tooltip-before", pe(fe({ ...Re.value })), void 0, !0)
1488
+ "tooltip-before": N(() => [
1489
+ R(l.$slots, "tooltip-before", fe(pe({ ...Ue.value })), void 0, !0)
1474
1490
  ]),
1475
- "tooltip-after": W(() => [
1476
- R(l.$slots, "tooltip-after", pe(fe({ ...Re.value })), void 0, !0)
1491
+ "tooltip-after": N(() => [
1492
+ R(l.$slots, "tooltip-after", fe(pe({ ...Ue.value })), void 0, !0)
1477
1493
  ]),
1478
- default: W(() => [
1479
- e.value.style.tooltip.showShape ? (r(), y("div", lo, [
1480
- (r(), y("svg", ao, [
1481
- _e(Ke, {
1482
- shape: f.value.shape,
1483
- color: f.value.color,
1494
+ default: N(() => [
1495
+ e.value.style.tooltip.showShape ? (r(), c("div", so, [
1496
+ (r(), c("svg", no, [
1497
+ _e(et, {
1498
+ shape: p.value.shape,
1499
+ color: p.value.color,
1484
1500
  plot: { x: 10, y: 10 },
1485
1501
  radius: 7
1486
1502
  }, null, 8, ["shape", "color"])
@@ -1489,32 +1505,32 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1489
1505
  ]),
1490
1506
  _: 3
1491
1507
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1492
- et.value && e.value.userOptions.buttons.table ? (r(), le(ml(be.value.component), xl({ key: 7 }, be.value.props, {
1508
+ tt.value && e.value.userOptions.buttons.table ? (r(), ae(kl(be.value.component), wl({ key: 7 }, be.value.props, {
1493
1509
  ref_key: "tableUnit",
1494
1510
  ref: xe,
1495
- onClose: At
1496
- }), zt({
1497
- content: W(() => [
1498
- (r(), le(c(Yt), {
1499
- key: `table_${ut.value}`,
1500
- colNames: Le.value.colNames,
1501
- head: Le.value.head,
1502
- body: Le.value.body,
1503
- config: Le.value.config,
1511
+ onClose: Lt
1512
+ }), Pt({
1513
+ content: N(() => [
1514
+ (r(), ae(y(Rt), {
1515
+ key: `table_${it.value}`,
1516
+ colNames: Be.value.colNames,
1517
+ head: Be.value.head,
1518
+ body: Be.value.body,
1519
+ config: Be.value.config,
1504
1520
  title: e.value.table.useDialog ? "" : be.value.title,
1505
1521
  withCloseButton: !e.value.table.useDialog,
1506
- onClose: At
1522
+ onClose: Lt
1507
1523
  }, {
1508
- th: W(({ th: t }) => [
1509
- Pt(G(t), 1)
1524
+ th: N(({ th: t }) => [
1525
+ Ot(G(t), 1)
1510
1526
  ]),
1511
- td: W(({ td: t }) => [
1512
- t.shape ? (r(), y("div", oo, [
1527
+ td: N(({ td: t }) => [
1528
+ t.shape ? (r(), c("div", uo, [
1513
1529
  w("span", null, G(t.content), 1)
1514
- ])) : (r(), y("div", {
1530
+ ])) : (r(), c("div", {
1515
1531
  key: 1,
1516
1532
  innerHTML: t
1517
- }, null, 8, so))
1533
+ }, null, 8, io))
1518
1534
  ]),
1519
1535
  _: 1
1520
1536
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1523,20 +1539,20 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1523
1539
  }, [
1524
1540
  e.value.table.useDialog ? {
1525
1541
  name: "title",
1526
- fn: W(() => [
1527
- Pt(G(be.value.title), 1)
1542
+ fn: N(() => [
1543
+ Ot(G(be.value.title), 1)
1528
1544
  ]),
1529
1545
  key: "0"
1530
1546
  } : void 0,
1531
1547
  e.value.table.useDialog ? {
1532
1548
  name: "actions",
1533
- fn: W(() => [
1549
+ fn: N(() => [
1534
1550
  w("button", {
1535
1551
  tabindex: "0",
1536
1552
  class: "vue-ui-user-options-button",
1537
- onClick: s[4] || (s[4] = (t) => Ve(e.value.userOptions.callbacks.csv))
1553
+ onClick: a[4] || (a[4] = (t) => Ge(e.value.userOptions.callbacks.csv))
1538
1554
  }, [
1539
- _e(c(It), {
1555
+ _e(y(Xt), {
1540
1556
  name: "excel",
1541
1557
  stroke: be.value.props.color
1542
1558
  }, null, 8, ["stroke"])
@@ -1545,10 +1561,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1545
1561
  key: "1"
1546
1562
  } : void 0
1547
1563
  ]), 1040)) : x("", !0),
1548
- c(vt) ? (r(), le(Wl, { key: 8 })) : x("", !0)
1549
- ], 46, ql));
1564
+ y(ct) ? (r(), ae(Xl, { key: 8 })) : x("", !0)
1565
+ ], 46, Ql));
1550
1566
  }
1551
- }, $o = /* @__PURE__ */ Gl(no, [["__scopeId", "data-v-85c86e6f"]]);
1567
+ }, So = /* @__PURE__ */ Zl(ro, [["__scopeId", "data-v-1efed8d6"]]);
1552
1568
  export {
1553
- $o as default
1569
+ So as default
1554
1570
  };