vue-data-ui 2.16.6 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -1,29 +1,30 @@
1
- import { defineAsyncComponent as H, computed as b, ref as h, watch as dt, shallowRef as Ge, onMounted as ht, onBeforeUnmount as pt, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as j, normalizeClass as Ue, createBlock as R, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as ft, withCtx as _, renderSlot as M, normalizeProps as ee, guardReactiveProps as te, Fragment as W, renderList as Y, toDisplayString as C, createTextVNode as gt, nextTick as mt } from "vue";
2
- import { u as xt, c as bt, t as kt, p as Z, a as wt, o as _t, e as me, b as Mt, g as qe, Y as $t, a1 as Ct, V as At, X as St, s as xe, Z as zt, i as E, v as A, f as F, q as Tt, r as Lt, x as Bt, y as Ot } from "./index-DvIXJm6t.js";
3
- import { t as Nt, u as Pt } from "./useResponsive-DfdjqQps.js";
4
- import { u as He } from "./useNestedProp-DrYHm61t.js";
5
- import { u as Wt } from "./usePrinter-CWnXbGMb.js";
6
- import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as It } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xt from "./Legend-nBXoxXJH.js";
9
- import Yt from "./Title-Gi81VwUM.js";
10
- import { _ as Ze } from "./Shape-Bnf512BA.js";
11
- import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { key: 1 }, Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = { key: 2 }, Ht = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Zt = { key: 0 }, Jt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Kt = { key: 1 }, Qt = { key: 3 }, el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["id"], ol = ["stop-color"], sl = ["stop-color"], ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], il = { key: 0 }, nl = ["d", "stroke", "stroke-width"], vl = ["d", "stroke", "stroke-width"], yl = ["d", "stroke", "stroke-width"], cl = ["d", "stroke", "stroke-width"], dl = {
1
+ import { defineAsyncComponent as Z, computed as b, ref as h, watch as ht, shallowRef as Ge, onMounted as pt, onBeforeUnmount as ft, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as j, normalizeClass as qe, createBlock as E, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as gt, withCtx as _, renderSlot as M, normalizeProps as te, guardReactiveProps as le, Fragment as W, renderList as Y, toDisplayString as C, createTextVNode as mt, nextTick as xt } from "vue";
2
+ import { u as bt, c as kt, t as wt, p as J, a as _t, o as Mt, e as me, b as $t, g as He, Y as Ct, a1 as At, V as St, X as zt, s as xe, Z as Tt, i as R, v as A, f as F, q as Lt, r as Bt, x as Ot, y as Nt } from "./index-pPGk-uhD.js";
3
+ import { t as Pt, u as Wt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ze } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as Ft } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Yt from "./Legend-Bxlv67uY.js";
9
+ import Dt from "./Title-B-2bV0SW.js";
10
+ import { _ as Je } from "./Shape-DtFT5EJa.js";
11
+ import Vt from "./img-Y_hYz-ZC.js";
12
+ import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { key: 1 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = { key: 2 }, Jt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Kt = { key: 0 }, Qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], el = { key: 1 }, tl = { key: 3 }, ll = ["id"], al = ["stop-color"], ol = ["stop-color"], sl = ["id"], ul = ["stop-color"], rl = ["stop-color"], il = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], nl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], vl = { key: 0 }, yl = ["d", "stroke", "stroke-width"], cl = ["d", "stroke", "stroke-width"], dl = ["d", "stroke", "stroke-width"], hl = ["d", "stroke", "stroke-width"], pl = {
13
14
  key: 4,
14
15
  style: { "pointer-events": "none !important" }
15
- }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], gl = ["x", "y", "font-size", "fill", "font-weight"], ml = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], bl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], kl = { key: 5 }, wl = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill"], Ml = ["id", "transform", "font-size", "font-weight", "fill"], $l = { key: 6 }, Cl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], Sl = ["font-size", "font-weight", "fill", "x", "y"], zl = ["id"], Tl = ["x", "y", "width", "height"], Ll = { key: 7 }, Bl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ol = ["x", "y", "fill", "font-size", "font-weight"], Nl = {
16
+ }, fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], xl = ["x", "y", "font-size", "fill", "font-weight"], bl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], wl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], _l = { key: 5 }, Ml = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], Cl = ["id", "transform", "font-size", "font-weight", "fill"], Al = { key: 6 }, Sl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Tl = ["font-size", "font-weight", "fill", "x", "y"], Ll = ["id"], Bl = ["x", "y", "width", "height"], Ol = { key: 7 }, Nl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Pl = ["x", "y", "fill", "font-size", "font-weight"], Wl = {
16
17
  key: 5,
17
18
  class: "vue-data-ui-watermark"
18
- }, Pl = ["onClick"], Wl = {
19
+ }, Fl = ["onClick"], Il = {
19
20
  key: 0,
20
21
  style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
21
- }, Fl = {
22
+ }, Xl = {
22
23
  viewBox: "0 0 20 20",
23
24
  height: "20",
24
25
  width: "20",
25
26
  style: { overflow: "hidden", background: "transparent" }
26
- }, Il = { key: 0 }, Xl = ["innerHTML"], Yl = {
27
+ }, Yl = { key: 0 }, Dl = ["innerHTML"], Vl = {
27
28
  __name: "vue-ui-scatter",
28
29
  props: {
29
30
  config: {
@@ -39,39 +40,39 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
39
40
  }
40
41
  }
41
42
  },
42
- setup(Je, { expose: Ke }) {
43
- const Qe = H(() => import("./vue-ui-accordion-D55kCO5G.js")), et = H(() => import("./DataTable-CHBLjKtZ.js")), tt = H(() => import("./PackageVersion-Bg_9KCU-.js")), lt = H(() => import("./PenAndPaper-BPTpbnay.js")), at = H(() => import("./vue-ui-skeleton-BAOt2neL.js")), ot = H(() => import("./Tooltip-CJxVw7-T.js")), st = H(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_scatter: ut } = xt(), I = Je, ae = b(() => !!I.dataset && I.dataset.length), S = h(bt()), rt = h(null), ie = h(!1), ne = h(""), be = h(0), le = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), e = b({
43
+ setup(Ke, { expose: Qe }) {
44
+ const et = Z(() => import("./vue-ui-accordion-CVnA550V.js")), tt = Z(() => import("./DataTable-D0VYDhfx.js")), lt = Z(() => import("./PackageVersion-5TR4ocqp.js")), at = Z(() => import("./PenAndPaper-D6AqipIO.js")), ot = Z(() => import("./vue-ui-skeleton-DJPjyNYn.js")), st = Z(() => import("./Tooltip-CoQnTnr-.js")), ut = Z(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_scatter: rt } = bt(), I = Ke, ae = b(() => !!I.dataset && I.dataset.length), S = h(kt()), it = h(null), ie = h(!1), ne = h(""), be = h(0), U = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), x = h([]), e = b({
44
45
  get: () => Le(),
45
46
  set: (t) => t
46
- }), { userOptionsVisible: ve, setUserOptionsVisibility: Se, keepUserOptionState: ze } = Ft({ config: e.value }), { svgRef: Te } = It({ config: e.value.style.title });
47
+ }), { userOptionsVisible: ve, setUserOptionsVisibility: Se, keepUserOptionState: ze } = It({ config: e.value }), { svgRef: Te } = Xt({ config: e.value.style.title });
47
48
  function Le() {
48
- const t = He({
49
+ const t = Ze({
49
50
  userConfig: I.config,
50
- defaultConfig: ut
51
+ defaultConfig: rt
51
52
  });
52
53
  return t.theme ? {
53
- ...He({
54
- userConfig: wt.vue_ui_scatter[t.theme] || I.config,
54
+ ...Ze({
55
+ userConfig: _t.vue_ui_scatter[t.theme] || I.config,
55
56
  defaultConfig: t
56
57
  }),
57
- customPalette: kt[t.theme] || Z
58
+ customPalette: wt[t.theme] || J
58
59
  } : t;
59
60
  }
60
- dt(() => I.config, (t) => {
61
+ ht(() => I.config, (t) => {
61
62
  e.value = Le(), ve.value = !e.value.userOptions.showOnChartHover, Be(), $e.value += 1, Ce.value += 1, Ae.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.tooltip.show;
62
63
  }, { deep: !0 });
63
- const D = Ge(null), J = Ge(null);
64
- ht(() => {
64
+ const D = Ge(null), K = Ge(null);
65
+ pt(() => {
65
66
  Be();
66
67
  });
67
68
  function Be() {
68
- if (_t(I.dataset) && me({
69
+ if (Mt(I.dataset) && me({
69
70
  componentName: "VueUiScatter",
70
71
  type: "dataset"
71
72
  }), e.value.responsive) {
72
- const t = Nt(() => {
73
- const { width: r, height: l } = Pt({
74
- chart: le.value,
73
+ const t = Pt(() => {
74
+ const { width: r, height: l } = Wt({
75
+ chart: U.value,
75
76
  title: e.value.style.title.text ? ke.value : null,
76
77
  legend: e.value.style.legend.show ? we.value : null,
77
78
  source: _e.value,
@@ -81,17 +82,17 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
81
82
  k.value.width = r, k.value.height = l;
82
83
  });
83
84
  });
84
- D.value && (J.value && D.value.unobserve(J.value), D.value.disconnect()), D.value = new ResizeObserver(t), J.value = le.value.parentNode, D.value.observe(J.value);
85
+ D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect()), D.value = new ResizeObserver(t), K.value = U.value.parentNode, D.value.observe(K.value);
85
86
  }
86
87
  }
87
- pt(() => {
88
- D.value && (J.value && D.value.unobserve(J.value), D.value.disconnect());
88
+ ft(() => {
89
+ D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect());
89
90
  });
90
- const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: We } = Wt({
91
+ const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: We } = Ft({
91
92
  elementId: `vue-ui-scatter_${S.value}`,
92
93
  fileName: e.value.style.title.text || "vue-ui-scatter",
93
94
  options: e.value.userOptions.print
94
- }), it = b(() => e.value.userOptions.show && !e.value.style.title.text), Fe = b(() => Mt(e.value.customPalette)), O = h({
95
+ }), nt = b(() => e.value.userOptions.show && !e.value.style.title.text), Fe = b(() => $t(e.value.customPalette)), O = h({
95
96
  showTable: e.value.table.show,
96
97
  showTooltip: e.value.style.tooltip.show
97
98
  }), k = h({
@@ -106,7 +107,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
106
107
  width: k.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - oe.value
107
108
  })), p = b(() => {
108
109
  I.dataset.forEach((a, v) => {
109
- qe({
110
+ He({
110
111
  datasetObject: a,
111
112
  requiredAttributes: ["values"]
112
113
  }).forEach((f) => {
@@ -117,14 +118,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
117
118
  index: v
118
119
  });
119
120
  }), a.values && a.values.forEach((f, L) => {
120
- qe({
121
+ He({
121
122
  datasetObject: f,
122
123
  requiredAttributes: ["x", "y"]
123
- }).forEach((Q) => {
124
+ }).forEach((ee) => {
124
125
  me({
125
126
  componentName: "VueUiScatter",
126
127
  type: "datasetSerieAttribute",
127
- property: `values.${Q}`,
128
+ property: `values.${ee}`,
128
129
  index: `${v} - ${L}`
129
130
  });
130
131
  });
@@ -139,18 +140,18 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
139
140
  const l = `cluster_${S.value}_${r}`;
140
141
  return {
141
142
  ...t,
142
- values: $t({
143
+ values: Ct({
143
144
  data: t.values,
144
145
  threshold: e.value.downsample.threshold
145
146
  }),
146
147
  id: l,
147
- color: t.color ? t.color : Fe.value[r] || Z[r] || Z[r % Z.length],
148
+ color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
148
149
  opacity: x.value.includes(l) ? 0.5 : 1,
149
150
  shape: t.shape ?? "circle",
150
151
  segregate: () => Ve(l),
151
152
  isSegregated: x.value.includes(l)
152
153
  };
153
- })), nt = b(() => ({
154
+ })), vt = b(() => ({
154
155
  cy: "scatter-div-legend",
155
156
  backgroundColor: e.value.style.legend.backgroundColor,
156
157
  color: e.value.style.legend.color,
@@ -167,20 +168,20 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
167
168
  name: l.name || ""
168
169
  },
169
170
  clusterName: t.name,
170
- color: t.color ? t.color : Fe.value[r] || Z[r] || Z[r % Z.length],
171
+ color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
171
172
  id: `plot_${S.value}_${Math.random()}`,
172
173
  weight: l.weight ?? e.value.style.layout.plots.radius
173
174
  }))
174
175
  })).filter((t) => !x.value.includes(t.id))), z = b(() => ye.value.map((t) => {
175
- const r = t.plots.reduce((m, U) => m + U.x, 0) / t.plots.length, l = t.plots.reduce((m, U) => m + U.y, 0) / t.plots.length;
176
+ const r = t.plots.reduce((m, q) => m + q.x, 0) / t.plots.length, l = t.plots.reduce((m, q) => m + q.y, 0) / t.plots.length;
176
177
  let s = 0, a = 0, v = 0;
177
178
  for (const m of t.plots)
178
179
  s += (m.x - r) * (m.y - l), a += (m.x - r) ** 2, v += (m.y - l) ** 2;
179
- const f = s / Math.sqrt(a * v), L = f * (Math.sqrt(v) / Math.sqrt(a)), Q = l - L * r, P = {
180
+ const f = s / Math.sqrt(a * v), L = f * (Math.sqrt(v) / Math.sqrt(a)), ee = l - L * r, P = {
180
181
  x1: n.value.left,
181
182
  x2: n.value.right,
182
- y1: L * n.value.left + Q,
183
- y2: L * n.value.right + Q,
183
+ y1: L * n.value.left + ee,
184
+ y2: L * n.value.right + ee,
184
185
  coefficient: f
185
186
  }, $ = (P.y2 - P.y1) / (P.x2 - P.x1), B = P.y1 - $ * P.x1, X = Math.min(k.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (n.value.top - B) / $)), re = {
186
187
  x: X,
@@ -191,7 +192,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
191
192
  correlation: P,
192
193
  label: re,
193
194
  plots: t.plots.map((m) => {
194
- const U = (m.x + $ * m.y - $ * B) / (1 + Math.pow($, 2)), he = ($ * m.x + Math.pow($, 2) * m.y + B) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(m.x - U, 2) + Math.pow(m.y - he, 2));
195
+ const q = (m.x + $ * m.y - $ * B) / (1 + Math.pow($, 2)), he = ($ * m.x + Math.pow($, 2) * m.y + B) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(m.x - q, 2) + Math.pow(m.y - he, 2));
195
196
  return {
196
197
  ...m,
197
198
  deviation: w,
@@ -201,43 +202,43 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
201
202
  })
202
203
  };
203
204
  })), Ie = b(() => Math.max(...z.value.flatMap((t) => t.plots.map((r) => Math.abs(r.deviation)))));
204
- function vt() {
205
+ function yt() {
205
206
  return z.value;
206
207
  }
207
208
  function Xe(t, r) {
208
- const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((q) => ({
209
- x: q.x,
210
- y: q.y
209
+ const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((H) => ({
210
+ x: H.x,
211
+ y: H.y
211
212
  }))) : t.plots.map((w) => ({
212
213
  x: w.x,
213
214
  y: w.y
214
215
  }));
215
216
  let s = 1 / 0, a = -1 / 0, v = 1 / 0, f = -1 / 0;
216
- l.forEach(({ x: w, y: q }) => {
217
- s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, q), f = Math.max(f, q);
217
+ l.forEach(({ x: w, y: H }) => {
218
+ s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, H), f = Math.max(f, H);
218
219
  });
219
- const L = a - s, Q = f - v, P = L / r, $ = Q / r, B = Array(r).fill(0), X = Array(r).fill(0);
220
- l.forEach(({ x: w, y: q }) => {
221
- const pe = Math.floor((w - s) / P), fe = Math.floor((q - v) / $);
220
+ const L = a - s, ee = f - v, P = L / r, $ = ee / r, B = Array(r).fill(0), X = Array(r).fill(0);
221
+ l.forEach(({ x: w, y: H }) => {
222
+ const pe = Math.floor((w - s) / P), fe = Math.floor((H - v) / $);
222
223
  B[pe] || (B[pe] = 0), X[fe] || (X[fe] = 0), B[pe] += 1, X[fe] += 1;
223
224
  });
224
225
  const re = [], m = [];
225
226
  for (let w = 0; w < r; w += 1)
226
227
  re.push(s + (w + 0.5) * P), m.push(v + (w + 0.5) * $);
227
- const U = Math.max(...B), he = Math.max(...X);
228
- return { x: B, y: X, avgX: re, avgY: m, maxX: U, maxY: he };
228
+ const q = Math.max(...B), he = Math.max(...X);
229
+ return { x: B, y: X, avgX: re, avgY: m, maxX: q, maxY: he };
229
230
  }
230
- const V = b(() => e.value.style.layout.marginalBars.tranches), T = b(() => Xe(ye.value, V.value)), yt = b(() => {
231
+ const V = b(() => e.value.style.layout.marginalBars.tranches), T = b(() => Xe(ye.value, V.value)), ct = b(() => {
231
232
  const t = n.value.top - e.value.style.layout.marginalBars.offset, r = n.value.right + e.value.style.layout.marginalBars.offset;
232
233
  return ye.value.map((l) => {
233
234
  const s = Xe(l, V.value);
234
235
  return {
235
236
  coords: s,
236
- dX: At(s.avgX.map((a, v) => ({
237
+ dX: St(s.avgX.map((a, v) => ({
237
238
  x: a,
238
239
  y: t - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
239
240
  }))),
240
- dY: Ct(s.avgY.map((a, v) => ({
241
+ dY: At(s.avgY.map((a, v) => ({
241
242
  y: a,
242
243
  x: r + e.value.style.layout.marginalBars.size * s.y[v] / s.maxY
243
244
  }))),
@@ -256,7 +257,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
256
257
  config: e.value
257
258
  };
258
259
  const s = e.value.style.tooltip.customFormat;
259
- Bt(s) && Ot(() => s({
260
+ Ot(s) && Nt(() => s({
260
261
  datapoint: t,
261
262
  seriesIndex: r,
262
263
  series: z.value,
@@ -266,7 +267,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
266
267
  seriesIndex: r,
267
268
  series: z.value,
268
269
  config: e.value
269
- }) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : E(
270
+ }) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : R(
270
271
  e.value.style.layout.plots.selectors.labels.x.formatter,
271
272
  t.v.x,
272
273
  F({
@@ -276,7 +277,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
276
277
  r: e.value.style.tooltip.roundingValue
277
278
  }),
278
279
  { datapoint: t, seriesIndex: r }
279
- )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : E(
280
+ )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : R(
280
281
  e.value.style.layout.plots.selectors.labels.y.formatter,
281
282
  t.v.y,
282
283
  F({
@@ -294,20 +295,19 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
294
295
  function De() {
295
296
  ie.value = !1, N.value = void 0, y.value = null;
296
297
  }
297
- const x = h([]);
298
298
  function Ve(t) {
299
299
  x.value.includes(t) ? x.value = x.value.filter((r) => r !== t) : x.value.length < I.dataset.length - 1 && x.value.push(t);
300
300
  }
301
301
  function je(t = null) {
302
- mt(() => {
302
+ xt(() => {
303
303
  const r = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], l = z.value.map((v) => [
304
304
  v.name,
305
305
  v.correlation.coefficient,
306
306
  v.plots.length,
307
307
  v.plots.map((f) => f.v.x).reduce((f, L) => f + L, 0) / v.plots.length,
308
308
  v.plots.map((f) => f.v.y).reduce((f, L) => f + L, 0) / v.plots.length
309
- ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([r]).concat(l), a = Tt(s);
310
- t ? t(a) : Lt({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
309
+ ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([r]).concat(l), a = Lt(s);
310
+ t ? t(a) : Bt({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
311
311
  });
312
312
  }
313
313
  const se = b(() => {
@@ -341,38 +341,45 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
341
341
  breakpoint: e.value.table.responsiveBreakpoint
342
342
  };
343
343
  return { head: t, body: r, config: l, colNames: t };
344
- }), K = h(!1);
345
- function ct(t) {
346
- K.value = t, be.value += 1;
344
+ }), Q = h(!1);
345
+ function Ee(t) {
346
+ Q.value = t, be.value += 1;
347
347
  }
348
348
  function Re() {
349
349
  O.value.showTable = !O.value.showTable;
350
350
  }
351
- function Ee() {
351
+ function Ue() {
352
352
  O.value.showTooltip = !O.value.showTooltip;
353
353
  }
354
354
  const ue = h(!1);
355
355
  function de() {
356
356
  ue.value = !ue.value;
357
357
  }
358
- return Ke({
359
- getData: vt,
358
+ async function dt({ scale: t = 2 } = {}) {
359
+ if (!U.value) return;
360
+ const { imageUri: r, base64: l } = await Vt({ domElement: U.value, base64: !0, img: !0, scale: t });
361
+ return { imageUri: r, base64: l };
362
+ }
363
+ return Qe({
364
+ getData: yt,
365
+ getImage: dt,
360
366
  generatePdf: Pe,
361
367
  generateCsv: je,
362
368
  generateImage: We,
363
369
  toggleTable: Re,
364
- toggleTooltip: Ee,
365
- toggleAnnotator: de
370
+ toggleTooltip: Ue,
371
+ toggleAnnotator: de,
372
+ toggleFullscreen: Ee
366
373
  }), (t, r) => (o(), i("div", {
367
- class: Ue(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
374
+ class: qe(`vue-ui-scatter ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
368
375
  ref_key: "scatterChart",
369
- ref: le,
376
+ ref: U,
370
377
  id: `vue-ui-scatter_${S.value}`,
371
378
  style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
372
379
  onMouseenter: r[2] || (r[2] = () => u(Se)(!0)),
373
380
  onMouseleave: r[3] || (r[3] = () => u(Se)(!1))
374
381
  }, [
375
- e.value.userOptions.buttons.annotator ? (o(), R(u(lt), {
382
+ e.value.userOptions.buttons.annotator ? (o(), E(u(at), {
376
383
  key: 0,
377
384
  svgRef: u(Te),
378
385
  backgroundColor: e.value.style.backgroundColor,
@@ -380,7 +387,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
380
387
  active: ue.value,
381
388
  onClose: de
382
389
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
383
- it.value ? (o(), i("div", {
390
+ nt.value ? (o(), i("div", {
384
391
  key: 1,
385
392
  ref_key: "noTitle",
386
393
  ref: Me,
@@ -393,7 +400,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
393
400
  ref: ke,
394
401
  style: "width:100%;background:transparent"
395
402
  }, [
396
- (o(), R(Yt, {
403
+ (o(), E(Dt, {
397
404
  key: `title_${$e.value}`,
398
405
  config: {
399
406
  title: {
@@ -407,9 +414,9 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
407
414
  }
408
415
  }, null, 8, ["config"]))
409
416
  ], 512)) : c("", !0),
410
- e.value.userOptions.show && ae.value && (u(ze) || u(ve)) ? (o(), R(u(st), {
417
+ e.value.userOptions.show && ae.value && (u(ze) || u(ve)) ? (o(), E(u(ut), {
411
418
  ref_key: "details",
412
- ref: rt,
419
+ ref: it,
413
420
  key: `user_options_${be.value}`,
414
421
  backgroundColor: e.value.style.backgroundColor,
415
422
  color: e.value.style.color,
@@ -423,29 +430,29 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
423
430
  hasTable: e.value.userOptions.buttons.table,
424
431
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
425
432
  isTooltip: O.value.showTooltip,
426
- isFullscreen: K.value,
433
+ isFullscreen: Q.value,
427
434
  titles: { ...e.value.userOptions.buttonTitles },
428
- chartElement: le.value,
435
+ chartElement: U.value,
429
436
  position: e.value.userOptions.position,
430
437
  hasAnnotator: e.value.userOptions.buttons.annotator,
431
438
  isAnnotation: ue.value,
432
439
  callbacks: e.value.userOptions.callbacks,
433
440
  printScale: e.value.userOptions.print.scale,
434
- onToggleFullscreen: ct,
441
+ onToggleFullscreen: Ee,
435
442
  onGeneratePdf: u(Pe),
436
443
  onGenerateCsv: je,
437
444
  onGenerateImage: u(We),
438
445
  onToggleTable: Re,
439
- onToggleTooltip: Ee,
446
+ onToggleTooltip: Ue,
440
447
  onToggleAnnotator: de,
441
448
  style: j({
442
449
  visibility: u(ze) ? u(ve) ? "visible" : "hidden" : "visible"
443
450
  })
444
- }, ft({ _: 2 }, [
451
+ }, gt({ _: 2 }, [
445
452
  t.$slots.menuIcon ? {
446
453
  name: "menuIcon",
447
454
  fn: _(({ isOpen: l, color: s }) => [
448
- M(t.$slots, "menuIcon", ee(te({ isOpen: l, color: s })), void 0, !0)
455
+ M(t.$slots, "menuIcon", te(le({ isOpen: l, color: s })), void 0, !0)
449
456
  ]),
450
457
  key: "0"
451
458
  } : void 0,
@@ -487,14 +494,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
487
494
  t.$slots.optionFullscreen ? {
488
495
  name: "optionFullscreen",
489
496
  fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
490
- M(t.$slots, "optionFullscreen", ee(te({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
497
+ M(t.$slots, "optionFullscreen", te(le({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
491
498
  ]),
492
499
  key: "6"
493
500
  } : void 0,
494
501
  t.$slots.optionAnnotator ? {
495
502
  name: "optionAnnotator",
496
503
  fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
497
- M(t.$slots, "optionAnnotator", ee(te({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
504
+ M(t.$slots, "optionAnnotator", te(le({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
498
505
  ]),
499
506
  key: "7"
500
507
  } : void 0
@@ -503,12 +510,12 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
503
510
  key: 4,
504
511
  ref_key: "svgRef",
505
512
  ref: Te,
506
- xmlns: u(St),
507
- class: Ue({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
513
+ xmlns: u(zt),
514
+ class: qe({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
508
515
  viewBox: `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`,
509
516
  style: j(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
510
517
  }, [
511
- ge(u(tt)),
518
+ ge(u(lt)),
512
519
  t.$slots["chart-background"] ? (o(), i("foreignObject", {
513
520
  key: 0,
514
521
  x: 0,
@@ -520,8 +527,8 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
520
527
  }
521
528
  }, [
522
529
  M(t.$slots, "chart-background", {}, void 0, !0)
523
- ], 8, Rt)) : c("", !0),
524
- e.value.style.layout.axis.show ? (o(), i("g", Et, [
530
+ ], 8, Ut)) : c("", !0),
531
+ e.value.style.layout.axis.show ? (o(), i("g", Gt, [
525
532
  d("line", {
526
533
  x1: g.value.x,
527
534
  x2: g.value.x,
@@ -530,7 +537,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
530
537
  stroke: e.value.style.layout.axis.stroke,
531
538
  "stroke-width": e.value.style.layout.axis.strokeWidth,
532
539
  "stroke-linecap": "round"
533
- }, null, 8, Gt),
540
+ }, null, 8, qt),
534
541
  d("line", {
535
542
  x1: n.value.left,
536
543
  x2: n.value.right,
@@ -539,24 +546,24 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
539
546
  stroke: e.value.style.layout.axis.stroke,
540
547
  "stroke-width": e.value.style.layout.axis.strokeWidth,
541
548
  "stroke-linecap": "round"
542
- }, null, 8, Ut)
549
+ }, null, 8, Ht)
543
550
  ])) : c("", !0),
544
- e.value.style.layout.plots.giftWrap.show ? (o(), i("g", qt, [
551
+ e.value.style.layout.plots.giftWrap.show ? (o(), i("g", Zt, [
545
552
  (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
546
553
  l.plots.length > 2 ? (o(), i("polygon", {
547
554
  key: 0,
548
- points: u(zt)({ series: l.plots }),
555
+ points: u(Tt)({ series: l.plots }),
549
556
  fill: u(xe)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
550
557
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
551
558
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
552
559
  stroke: l.color,
553
560
  "stroke-linejoin": "round",
554
561
  "stroke-linecap": "round"
555
- }, null, 8, Ht)) : c("", !0)
562
+ }, null, 8, Jt)) : c("", !0)
556
563
  ]))), 256))
557
564
  ])) : c("", !0),
558
565
  (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
559
- !l.shape || l.shape === "circle" ? (o(), i("g", Zt, [
566
+ !l.shape || l.shape === "circle" ? (o(), i("g", Kt, [
560
567
  (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), i("circle", {
561
568
  cx: a.x,
562
569
  cy: a.y,
@@ -567,9 +574,9 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
567
574
  onMouseover: (f) => Ye(a, s),
568
575
  onMouseleave: De,
569
576
  style: j(`opacity:${N.value && N.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
570
- }, null, 44, Jt))), 256))
571
- ])) : (o(), i("g", Kt, [
572
- (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), R(Ze, {
577
+ }, null, 44, Qt))), 256))
578
+ ])) : (o(), i("g", el, [
579
+ (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), E(Je, {
573
580
  plot: { x: a.x, y: a.y },
574
581
  radius: N.value && N.value === a.id ? a.weight * 2 : a.weight,
575
582
  shape: l.shape,
@@ -582,7 +589,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
582
589
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
583
590
  ]))
584
591
  ]))), 256)),
585
- e.value.style.layout.marginalBars.show ? (o(), i("g", Qt, [
592
+ e.value.style.layout.marginalBars.show ? (o(), i("g", tl, [
586
593
  d("defs", null, [
587
594
  d("linearGradient", {
588
595
  id: `marginal_x_${S.value}`,
@@ -594,12 +601,12 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
594
601
  d("stop", {
595
602
  offset: "0%",
596
603
  "stop-color": e.value.style.layout.marginalBars.fill
597
- }, null, 8, tl),
604
+ }, null, 8, al),
598
605
  d("stop", {
599
606
  offset: "100%",
600
607
  "stop-color": e.value.style.backgroundColor
601
- }, null, 8, ll)
602
- ], 8, el),
608
+ }, null, 8, ol)
609
+ ], 8, ll),
603
610
  d("linearGradient", {
604
611
  id: `marginal_y_${S.value}`,
605
612
  x1: "0%",
@@ -610,12 +617,12 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
610
617
  d("stop", {
611
618
  offset: "0%",
612
619
  "stop-color": e.value.style.backgroundColor
613
- }, null, 8, ol),
620
+ }, null, 8, ul),
614
621
  d("stop", {
615
622
  offset: "100%",
616
623
  "stop-color": e.value.style.layout.marginalBars.fill
617
- }, null, 8, sl)
618
- ], 8, al)
624
+ }, null, 8, rl)
625
+ ], 8, sl)
619
626
  ]),
620
627
  (o(!0), i(W, null, Y(T.value.x, (l, s) => (o(), i("g", null, [
621
628
  l && T.value.avgX[s] ? (o(), i("rect", {
@@ -629,7 +636,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
629
636
  stroke: e.value.style.backgroundColor,
630
637
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
631
638
  rx: e.value.style.layout.marginalBars.borderRadius
632
- }, null, 12, ul)) : c("", !0)
639
+ }, null, 12, il)) : c("", !0)
633
640
  ]))), 256)),
634
641
  (o(!0), i(W, null, Y(T.value.y, (l, s) => (o(), i("g", null, [
635
642
  l && T.value.avgY[s] ? (o(), i("rect", {
@@ -643,10 +650,10 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
643
650
  stroke: e.value.style.backgroundColor,
644
651
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
645
652
  rx: e.value.style.layout.marginalBars.borderRadius
646
- }, null, 12, rl)) : c("", !0)
653
+ }, null, 12, nl)) : c("", !0)
647
654
  ]))), 256)),
648
- e.value.style.layout.marginalBars.showLines ? (o(), i("g", il, [
649
- (o(!0), i(W, null, Y(yt.value, (l) => (o(), i(W, null, [
655
+ e.value.style.layout.marginalBars.showLines ? (o(), i("g", vl, [
656
+ (o(!0), i(W, null, Y(ct.value, (l) => (o(), i(W, null, [
650
657
  x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
651
658
  key: 0,
652
659
  d: `M ${l.dX}`,
@@ -655,7 +662,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
655
662
  "stroke-linecap": "round",
656
663
  "stroke-linejoin": "round",
657
664
  fill: "none"
658
- }, null, 8, nl)),
665
+ }, null, 8, yl)),
659
666
  x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
660
667
  key: 1,
661
668
  d: `M ${l.dX}`,
@@ -664,7 +671,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
664
671
  "stroke-linecap": "round",
665
672
  "stroke-linejoin": "round",
666
673
  fill: "none"
667
- }, null, 8, vl)),
674
+ }, null, 8, cl)),
668
675
  x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
669
676
  key: 2,
670
677
  d: `M ${l.dY}`,
@@ -673,7 +680,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
673
680
  "stroke-linecap": "round",
674
681
  "stroke-linejoin": "round",
675
682
  fill: "none"
676
- }, null, 8, yl)),
683
+ }, null, 8, dl)),
677
684
  x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
678
685
  key: 3,
679
686
  d: `M ${l.dY}`,
@@ -682,11 +689,11 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
682
689
  "stroke-linecap": "round",
683
690
  "stroke-linejoin": "round",
684
691
  fill: "none"
685
- }, null, 8, cl))
692
+ }, null, 8, hl))
686
693
  ], 64))), 256))
687
694
  ])) : c("", !0)
688
695
  ])) : c("", !0),
689
- y.value && e.value.style.layout.plots.selectors.show ? (o(), i("g", dl, [
696
+ y.value && e.value.style.layout.plots.selectors.show ? (o(), i("g", pl, [
690
697
  d("line", {
691
698
  x1: g.value.x,
692
699
  x2: y.value.x,
@@ -697,7 +704,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
697
704
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
698
705
  "stroke-linecap": "round",
699
706
  class: "line-pointer"
700
- }, null, 8, hl),
707
+ }, null, 8, fl),
701
708
  d("line", {
702
709
  x1: y.value.x,
703
710
  x2: y.value.x,
@@ -708,7 +715,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
708
715
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
709
716
  "stroke-linecap": "round",
710
717
  class: "line-pointer"
711
- }, null, 8, pl),
718
+ }, null, 8, gl),
712
719
  d("text", {
713
720
  x: g.value.x + (y.value.x > g.value.x ? -6 : 6),
714
721
  y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
@@ -716,7 +723,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
716
723
  fill: e.value.style.layout.plots.selectors.labels.color,
717
724
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
718
725
  "text-anchor": y.value.x > g.value.x ? "end" : "start"
719
- }, C(u(E)(
726
+ }, C(u(R)(
720
727
  e.value.style.layout.plots.selectors.labels.y.formatter,
721
728
  u(A)(y.value.v.y),
722
729
  u(F)({
@@ -726,7 +733,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
726
733
  r: e.value.style.layout.plots.selectors.labels.rounding
727
734
  }),
728
735
  { datapoint: y.value }
729
- )), 9, fl),
736
+ )), 9, ml),
730
737
  d("text", {
731
738
  x: y.value.x,
732
739
  y: g.value.y + (y.value.y > g.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
@@ -734,7 +741,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
734
741
  fill: e.value.style.layout.plots.selectors.labels.color,
735
742
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
736
743
  "text-anchor": "middle"
737
- }, C(u(E)(
744
+ }, C(u(R)(
738
745
  e.value.style.layout.plots.selectors.labels.y.formatter,
739
746
  u(A)(y.value.v.x),
740
747
  u(F)({
@@ -744,7 +751,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
744
751
  r: e.value.style.layout.plots.selectors.labels.rounding
745
752
  }),
746
753
  { datapoint: y.value }
747
- )), 9, gl),
754
+ )), 9, xl),
748
755
  d("circle", {
749
756
  cx: g.value.x,
750
757
  cy: y.value.y,
@@ -753,7 +760,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
753
760
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
754
761
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
755
762
  class: "line-pointer"
756
- }, null, 8, ml),
763
+ }, null, 8, bl),
757
764
  d("circle", {
758
765
  cx: y.value.x,
759
766
  cy: g.value.y,
@@ -762,7 +769,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
762
769
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
763
770
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
764
771
  class: "line-pointer"
765
- }, null, 8, xl),
772
+ }, null, 8, kl),
766
773
  e.value.style.layout.plots.selectors.labels.showName ? (o(), i("text", {
767
774
  key: 0,
768
775
  x: y.value.x,
@@ -771,16 +778,16 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
771
778
  fill: e.value.style.layout.plots.selectors.labels.color,
772
779
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
773
780
  "text-anchor": y.value.x < n.value.left + 100 ? "start" : y.value.x > n.value.right - 100 ? "end" : y.value.x > g.value.x ? "start" : "end"
774
- }, C(y.value.v.name), 9, bl)) : c("", !0)
781
+ }, C(y.value.v.name), 9, wl)) : c("", !0)
775
782
  ])) : c("", !0),
776
- e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", kl, [
783
+ e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", _l, [
777
784
  d("text", {
778
785
  x: n.value.left - 5,
779
786
  y: g.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
780
787
  "text-anchor": "end",
781
788
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
782
789
  fill: e.value.style.layout.dataLabels.xAxis.color
783
- }, C(u(E)(
790
+ }, C(u(R)(
784
791
  e.value.style.layout.plots.selectors.labels.x.formatter,
785
792
  u(A)(p.value.xMin),
786
793
  u(F)({
@@ -789,14 +796,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
789
796
  s: e.value.style.layout.plots.selectors.labels.suffix,
790
797
  r: e.value.style.layout.dataLabels.xAxis.rounding
791
798
  })
792
- )), 9, wl),
799
+ )), 9, Ml),
793
800
  d("text", {
794
801
  x: n.value.right + 3,
795
802
  y: g.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
796
803
  "text-anchor": "start",
797
804
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
798
805
  fill: e.value.style.layout.dataLabels.xAxis.color
799
- }, C(u(E)(
806
+ }, C(u(R)(
800
807
  e.value.style.layout.plots.selectors.labels.x.formatter,
801
808
  u(A)(p.value.xMax),
802
809
  u(F)({
@@ -805,7 +812,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
805
812
  s: e.value.style.layout.plots.selectors.labels.suffix,
806
813
  r: e.value.style.layout.dataLabels.xAxis.rounding
807
814
  })
808
- )), 9, _l),
815
+ )), 9, $l),
809
816
  d("text", {
810
817
  id: `vue-ui-scatter-xAxis-label-${S.value}`,
811
818
  transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${n.value.top + n.value.height / 2}), rotate(-90)`,
@@ -813,16 +820,16 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
813
820
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
814
821
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
815
822
  fill: e.value.style.layout.dataLabels.xAxis.color
816
- }, C(e.value.style.layout.dataLabels.xAxis.name), 9, Ml)
823
+ }, C(e.value.style.layout.dataLabels.xAxis.name), 9, Cl)
817
824
  ])) : c("", !0),
818
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", $l, [
825
+ e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Al, [
819
826
  d("text", {
820
827
  x: g.value.x,
821
828
  y: n.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
822
829
  "text-anchor": "middle",
823
830
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
824
831
  fill: e.value.style.layout.dataLabels.yAxis.color
825
- }, C(u(E)(
832
+ }, C(u(R)(
826
833
  e.value.style.layout.plots.selectors.labels.y.formatter,
827
834
  u(A)(p.value.yMin),
828
835
  u(F)({
@@ -831,14 +838,14 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
831
838
  s: e.value.style.layout.plots.selectors.labels.suffix,
832
839
  r: e.value.style.layout.dataLabels.yAxis.rounding
833
840
  })
834
- )), 9, Cl),
841
+ )), 9, Sl),
835
842
  d("text", {
836
843
  x: g.value.x,
837
844
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
838
845
  "text-anchor": "middle",
839
846
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
840
847
  fill: e.value.style.layout.dataLabels.yAxis.color
841
- }, C(u(E)(
848
+ }, C(u(R)(
842
849
  e.value.style.layout.plots.selectors.labels.y.formatter,
843
850
  u(A)(p.value.yMax),
844
851
  u(F)({
@@ -847,7 +854,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
847
854
  s: e.value.style.layout.plots.selectors.labels.suffix,
848
855
  r: e.value.style.layout.dataLabels.yAxis.rounding
849
856
  })
850
- )), 9, Al),
857
+ )), 9, zl),
851
858
  d("text", {
852
859
  "text-anchor": "middle",
853
860
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -855,7 +862,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
855
862
  fill: e.value.style.layout.dataLabels.yAxis.color,
856
863
  x: n.value.left + n.value.width / 2,
857
864
  y: n.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
858
- }, C(e.value.style.layout.dataLabels.yAxis.name), 9, Sl)
865
+ }, C(e.value.style.layout.dataLabels.yAxis.name), 9, Tl)
859
866
  ])) : c("", !0),
860
867
  d("clipPath", {
861
868
  id: `clip_path_${S.value}`
@@ -865,9 +872,9 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
865
872
  y: n.value.top,
866
873
  width: n.value.width <= 0 ? 1e-4 : n.value.width,
867
874
  height: n.value.height <= 0 ? 1e-4 : n.value.height
868
- }, null, 8, Tl)
869
- ], 8, zl),
870
- e.value.style.layout.correlation.show ? (o(), i("g", Ll, [
875
+ }, null, 8, Bl)
876
+ ], 8, Ll),
877
+ e.value.style.layout.correlation.show ? (o(), i("g", Ol, [
871
878
  (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("line", {
872
879
  x1: l.correlation.x1,
873
880
  x2: l.correlation.x2,
@@ -877,7 +884,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
877
884
  stroke: l.color,
878
885
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
879
886
  "clip-path": `url(#clip_path_${S.value})`
880
- }, null, 8, Bl))), 256)),
887
+ }, null, 8, Nl))), 256)),
881
888
  (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
882
889
  e.value.style.layout.correlation.label.show ? (o(), i("text", {
883
890
  key: 0,
@@ -889,15 +896,15 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
889
896
  }, C(u(F)({
890
897
  v: u(A)(l.correlation.coefficient),
891
898
  r: e.value.style.layout.correlation.label.roundingValue
892
- })), 9, Ol)) : c("", !0)
899
+ })), 9, Pl)) : c("", !0)
893
900
  ]))), 256))
894
901
  ])) : c("", !0),
895
902
  M(t.$slots, "svg", { svg: k.value }, void 0, !0)
896
- ], 14, jt)) : c("", !0),
897
- t.$slots.watermark ? (o(), i("div", Nl, [
898
- M(t.$slots, "watermark", ee(te({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
903
+ ], 14, Rt)) : c("", !0),
904
+ t.$slots.watermark ? (o(), i("div", Wl, [
905
+ M(t.$slots, "watermark", te(le({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
899
906
  ])) : c("", !0),
900
- ae.value ? c("", !0) : (o(), R(u(at), {
907
+ ae.value ? c("", !0) : (o(), E(u(ot), {
901
908
  key: 6,
902
909
  config: {
903
910
  type: "quadrant",
@@ -919,17 +926,17 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
919
926
  ref_key: "chartLegend",
920
927
  ref: we
921
928
  }, [
922
- e.value.style.legend.show ? (o(), R(Xt, {
929
+ e.value.style.legend.show ? (o(), E(Yt, {
923
930
  key: `legend_${Ae.value}`,
924
931
  legendSet: G.value,
925
- config: nt.value,
932
+ config: vt.value,
926
933
  onClickMarker: r[0] || (r[0] = ({ legend: l }) => Ve(l.id))
927
934
  }, {
928
935
  item: _(({ legend: l }) => [
929
936
  d("div", {
930
937
  onClick: (s) => l.segregate(),
931
938
  style: j(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
932
- }, C(l.name), 13, Pl)
939
+ }, C(l.name), 13, Fl)
933
940
  ]),
934
941
  _: 1
935
942
  }, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
@@ -945,7 +952,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
945
952
  }, [
946
953
  M(t.$slots, "source", {}, void 0, !0)
947
954
  ], 512)) : c("", !0),
948
- ge(u(ot), {
955
+ ge(u(st), {
949
956
  show: O.value.showTooltip && ie.value,
950
957
  backgroundColor: e.value.style.tooltip.backgroundColor,
951
958
  color: e.value.style.tooltip.color,
@@ -956,21 +963,21 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
956
963
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
957
964
  position: e.value.style.tooltip.position,
958
965
  offsetY: e.value.style.tooltip.offsetY,
959
- parent: le.value,
966
+ parent: U.value,
960
967
  content: ne.value,
961
- isFullscreen: K.value,
968
+ isFullscreen: Q.value,
962
969
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
963
970
  }, {
964
971
  "tooltip-before": _(() => [
965
- M(t.$slots, "tooltip-before", ee(te({ ...ce.value })), void 0, !0)
972
+ M(t.$slots, "tooltip-before", te(le({ ...ce.value })), void 0, !0)
966
973
  ]),
967
974
  "tooltip-after": _(() => [
968
- M(t.$slots, "tooltip-after", ee(te({ ...ce.value })), void 0, !0)
975
+ M(t.$slots, "tooltip-after", te(le({ ...ce.value })), void 0, !0)
969
976
  ]),
970
977
  default: _(() => [
971
- e.value.style.tooltip.showShape ? (o(), i("div", Wl, [
972
- (o(), i("svg", Fl, [
973
- ge(Ze, {
978
+ e.value.style.tooltip.showShape ? (o(), i("div", Il, [
979
+ (o(), i("svg", Xl, [
980
+ ge(Je, {
974
981
  shape: y.value.shape,
975
982
  color: y.value.color,
976
983
  plot: { x: 10, y: 10 },
@@ -981,7 +988,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
981
988
  ]),
982
989
  _: 3
983
990
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
984
- ae.value ? (o(), R(u(Qe), {
991
+ ae.value ? (o(), E(u(et), {
985
992
  key: 8,
986
993
  hideDetails: "",
987
994
  config: {
@@ -998,7 +1005,7 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
998
1005
  }
999
1006
  }, {
1000
1007
  content: _(() => [
1001
- (o(), R(u(et), {
1008
+ (o(), E(u(tt), {
1002
1009
  key: `table_${Ce.value}`,
1003
1010
  colNames: se.value.colNames,
1004
1011
  head: se.value.head,
@@ -1008,24 +1015,24 @@ const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { k
1008
1015
  onClose: r[1] || (r[1] = (l) => O.value.showTable = !1)
1009
1016
  }, {
1010
1017
  th: _(({ th: l }) => [
1011
- gt(C(l), 1)
1018
+ mt(C(l), 1)
1012
1019
  ]),
1013
1020
  td: _(({ td: l }) => [
1014
- l.shape ? (o(), i("div", Il, [
1021
+ l.shape ? (o(), i("div", Yl, [
1015
1022
  d("span", null, C(l.content), 1)
1016
1023
  ])) : (o(), i("div", {
1017
1024
  key: 1,
1018
1025
  innerHTML: l
1019
- }, null, 8, Xl))
1026
+ }, null, 8, Dl))
1020
1027
  ]),
1021
1028
  _: 1
1022
1029
  }, 8, ["colNames", "head", "body", "config", "title"]))
1023
1030
  ]),
1024
1031
  _: 1
1025
1032
  }, 8, ["config"])) : c("", !0)
1026
- ], 46, Vt));
1033
+ ], 46, Et));
1027
1034
  }
1028
- }, Kl = /* @__PURE__ */ Dt(Yl, [["__scopeId", "data-v-1cace1b6"]]);
1035
+ }, ta = /* @__PURE__ */ jt(Vl, [["__scopeId", "data-v-c8a05df5"]]);
1029
1036
  export {
1030
- Kl as default
1037
+ ta as default
1031
1038
  };