vue-data-ui 2.17.0 → 2.17.1

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 (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,16 +1,16 @@
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";
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 r, openBlock as s, 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 U, v as A, f as F, q as Lt, r as Bt, x as Ot, y as Nt } from "./index-CobsZUkv.js";
3
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";
4
+ import { u as Ze } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as Ft } from "./usePrinter-DPh6U_Qk.js";
6
6
  import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
7
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 = {
8
+ import Yt from "./Legend-3LNqqLDg.js";
9
+ import Dt from "./Title-DpERl1yr.js";
10
+ import { _ as Je } from "./Shape-C75836Jl.js";
11
+ import Rt from "./img-utitT2Gd.js";
12
+ import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const jt = ["id"], Et = ["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"], il = ["stop-color"], rl = ["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 = {
14
14
  key: 4,
15
15
  style: { "pointer-events": "none !important" }
16
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 = {
@@ -24,7 +24,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
24
24
  height: "20",
25
25
  width: "20",
26
26
  style: { overflow: "hidden", background: "transparent" }
27
- }, Yl = { key: 0 }, Dl = ["innerHTML"], Vl = {
27
+ }, Yl = { key: 0 }, Dl = ["innerHTML"], Rl = {
28
28
  __name: "vue-ui-scatter",
29
29
  props: {
30
30
  config: {
@@ -41,14 +41,14 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
41
41
  }
42
42
  },
43
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
+ const et = Z(() => import("./vue-ui-accordion-UewqY6OI.js")), tt = Z(() => import("./DataTable-Dt-TIOyY.js")), lt = Z(() => import("./PackageVersion-C-4Ee8BQ.js")), at = Z(() => import("./PenAndPaper-Cde-wJ3N.js")), ot = Z(() => import("./vue-ui-skeleton-8s4xts8z.js")), st = Z(() => import("./Tooltip-DA0bYKFG.js")), ut = Z(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_scatter: it } = bt(), I = Ke, ae = b(() => !!I.dataset && I.dataset.length), S = h(kt()), rt = h(null), re = h(!1), ne = h(""), be = h(0), D = 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({
45
45
  get: () => Le(),
46
46
  set: (t) => t
47
47
  }), { userOptionsVisible: ve, setUserOptionsVisibility: Se, keepUserOptionState: ze } = It({ config: e.value }), { svgRef: Te } = Xt({ config: e.value.style.title });
48
48
  function Le() {
49
49
  const t = Ze({
50
50
  userConfig: I.config,
51
- defaultConfig: rt
51
+ defaultConfig: it
52
52
  });
53
53
  return t.theme ? {
54
54
  ...Ze({
@@ -61,7 +61,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
61
61
  ht(() => I.config, (t) => {
62
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;
63
63
  }, { deep: !0 });
64
- const D = Ge(null), K = Ge(null);
64
+ const R = Ge(null), K = Ge(null);
65
65
  pt(() => {
66
66
  Be();
67
67
  });
@@ -71,22 +71,22 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
71
71
  type: "dataset"
72
72
  }), e.value.responsive) {
73
73
  const t = Pt(() => {
74
- const { width: r, height: l } = Wt({
75
- chart: U.value,
74
+ const { width: i, height: l } = Wt({
75
+ chart: D.value,
76
76
  title: e.value.style.title.text ? ke.value : null,
77
77
  legend: e.value.style.legend.show ? we.value : null,
78
78
  source: _e.value,
79
79
  noTitle: Me.value
80
80
  });
81
81
  requestAnimationFrame(() => {
82
- k.value.width = r, k.value.height = l;
82
+ k.value.width = i, k.value.height = l;
83
83
  });
84
84
  });
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
+ R.value && (K.value && R.value.unobserve(K.value), R.value.disconnect()), R.value = new ResizeObserver(t), K.value = D.value.parentNode, R.value.observe(K.value);
86
86
  }
87
87
  }
88
88
  ft(() => {
89
- D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect());
89
+ R.value && (K.value && R.value.unobserve(K.value), R.value.disconnect());
90
90
  });
91
91
  const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: We } = Ft({
92
92
  elementId: `vue-ui-scatter_${S.value}`,
@@ -131,13 +131,13 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
131
131
  });
132
132
  });
133
133
  });
134
- const t = Math.min(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), r = Math.max(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
135
- return { xMin: t >= 0 ? 0 : t, xMax: r, yMin: l >= 0 ? 0 : l, yMax: s };
134
+ const t = Math.min(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), i = Math.max(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), o = Math.max(...G.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
135
+ return { xMin: t >= 0 ? 0 : t, xMax: i, yMin: l >= 0 ? 0 : l, yMax: o };
136
136
  }), g = b(() => ({
137
137
  x: n.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
138
138
  y: n.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * n.value.height
139
- })), G = b(() => I.dataset.map((t, r) => {
140
- const l = `cluster_${S.value}_${r}`;
139
+ })), G = b(() => I.dataset.map((t, i) => {
140
+ const l = `cluster_${S.value}_${i}`;
141
141
  return {
142
142
  ...t,
143
143
  values: Ct({
@@ -145,10 +145,10 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
145
145
  threshold: e.value.downsample.threshold
146
146
  }),
147
147
  id: l,
148
- color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
148
+ color: t.color ? t.color : Fe.value[i] || J[i] || J[i % J.length],
149
149
  opacity: x.value.includes(l) ? 0.5 : 1,
150
150
  shape: t.shape ?? "circle",
151
- segregate: () => Ve(l),
151
+ segregate: () => Re(l),
152
152
  isSegregated: x.value.includes(l)
153
153
  };
154
154
  })), vt = b(() => ({
@@ -158,7 +158,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
158
158
  fontSize: e.value.style.legend.fontSize,
159
159
  paddingBottom: 12,
160
160
  fontWeight: e.value.style.legend.bold ? "bold" : ""
161
- })), ye = b(() => G.value.map((t, r) => ({
161
+ })), ye = b(() => G.value.map((t, i) => ({
162
162
  ...t,
163
163
  plots: t.values.map((l) => ({
164
164
  x: n.value.left + (l.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
@@ -168,29 +168,29 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
168
168
  name: l.name || ""
169
169
  },
170
170
  clusterName: t.name,
171
- color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
171
+ color: t.color ? t.color : Fe.value[i] || J[i] || J[i % J.length],
172
172
  id: `plot_${S.value}_${Math.random()}`,
173
173
  weight: l.weight ?? e.value.style.layout.plots.radius
174
174
  }))
175
175
  })).filter((t) => !x.value.includes(t.id))), z = b(() => ye.value.map((t) => {
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;
177
- let s = 0, a = 0, v = 0;
176
+ const i = 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;
177
+ let o = 0, a = 0, v = 0;
178
178
  for (const m of t.plots)
179
- s += (m.x - r) * (m.y - l), a += (m.x - r) ** 2, v += (m.y - l) ** 2;
180
- const f = s / Math.sqrt(a * v), L = f * (Math.sqrt(v) / Math.sqrt(a)), ee = l - L * r, P = {
179
+ o += (m.x - i) * (m.y - l), a += (m.x - i) ** 2, v += (m.y - l) ** 2;
180
+ const f = o / Math.sqrt(a * v), L = f * (Math.sqrt(v) / Math.sqrt(a)), ee = l - L * i, P = {
181
181
  x1: n.value.left,
182
182
  x2: n.value.right,
183
183
  y1: L * n.value.left + ee,
184
184
  y2: L * n.value.right + ee,
185
185
  coefficient: f
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
+ }, $ = (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) / $)), ie = {
187
187
  x: X,
188
188
  y: $ * X + B <= e.value.style.layout.padding.top ? n.value.top : $ * X + B
189
189
  };
190
190
  return {
191
191
  ...t,
192
192
  correlation: P,
193
- label: re,
193
+ label: ie,
194
194
  plots: t.plots.map((m) => {
195
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));
196
196
  return {
@@ -201,11 +201,11 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
201
201
  };
202
202
  })
203
203
  };
204
- })), Ie = b(() => Math.max(...z.value.flatMap((t) => t.plots.map((r) => Math.abs(r.deviation)))));
204
+ })), Ie = b(() => Math.max(...z.value.flatMap((t) => t.plots.map((i) => Math.abs(i.deviation)))));
205
205
  function yt() {
206
206
  return z.value;
207
207
  }
208
- function Xe(t, r) {
208
+ function Xe(t, i) {
209
209
  const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((H) => ({
210
210
  x: H.x,
211
211
  y: H.y
@@ -213,61 +213,61 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
213
213
  x: w.x,
214
214
  y: w.y
215
215
  }));
216
- let s = 1 / 0, a = -1 / 0, v = 1 / 0, f = -1 / 0;
216
+ let o = 1 / 0, a = -1 / 0, v = 1 / 0, f = -1 / 0;
217
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
+ o = Math.min(o, w), a = Math.max(a, w), v = Math.min(v, H), f = Math.max(f, H);
219
219
  });
220
- const L = a - s, ee = f - v, P = L / r, $ = ee / r, B = Array(r).fill(0), X = Array(r).fill(0);
220
+ const L = a - o, ee = f - v, P = L / i, $ = ee / i, B = Array(i).fill(0), X = Array(i).fill(0);
221
221
  l.forEach(({ x: w, y: H }) => {
222
- const pe = Math.floor((w - s) / P), fe = Math.floor((H - v) / $);
222
+ const pe = Math.floor((w - o) / P), fe = Math.floor((H - v) / $);
223
223
  B[pe] || (B[pe] = 0), X[fe] || (X[fe] = 0), B[pe] += 1, X[fe] += 1;
224
224
  });
225
- const re = [], m = [];
226
- for (let w = 0; w < r; w += 1)
227
- re.push(s + (w + 0.5) * P), m.push(v + (w + 0.5) * $);
225
+ const ie = [], m = [];
226
+ for (let w = 0; w < i; w += 1)
227
+ ie.push(o + (w + 0.5) * P), m.push(v + (w + 0.5) * $);
228
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
+ return { x: B, y: X, avgX: ie, avgY: m, maxX: q, maxY: he };
230
230
  }
231
231
  const V = b(() => e.value.style.layout.marginalBars.tranches), T = b(() => Xe(ye.value, V.value)), ct = b(() => {
232
- const t = n.value.top - e.value.style.layout.marginalBars.offset, r = n.value.right + e.value.style.layout.marginalBars.offset;
232
+ const t = n.value.top - e.value.style.layout.marginalBars.offset, i = n.value.right + e.value.style.layout.marginalBars.offset;
233
233
  return ye.value.map((l) => {
234
- const s = Xe(l, V.value);
234
+ const o = Xe(l, V.value);
235
235
  return {
236
- coords: s,
237
- dX: St(s.avgX.map((a, v) => ({
236
+ coords: o,
237
+ dX: St(o.avgX.map((a, v) => ({
238
238
  x: a,
239
- y: t - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
239
+ y: t - o.x[v] / o.maxX * e.value.style.layout.marginalBars.size
240
240
  }))),
241
- dY: At(s.avgY.map((a, v) => ({
241
+ dY: At(o.avgY.map((a, v) => ({
242
242
  y: a,
243
- x: r + e.value.style.layout.marginalBars.size * s.y[v] / s.maxY
243
+ x: i + e.value.style.layout.marginalBars.size * o.y[v] / o.maxY
244
244
  }))),
245
245
  color: l.color,
246
246
  id: l.id
247
247
  };
248
248
  });
249
249
  }), N = h(void 0), y = h(null), ce = h(null);
250
- function Ye(t, r) {
250
+ function Ye(t, i) {
251
251
  N.value = t.id, y.value = t;
252
252
  let l = "";
253
253
  ce.value = {
254
254
  datapoint: t,
255
- seriesIndex: r,
255
+ seriesIndex: i,
256
256
  series: z.value,
257
257
  config: e.value
258
258
  };
259
- const s = e.value.style.tooltip.customFormat;
260
- Ot(s) && Nt(() => s({
259
+ const o = e.value.style.tooltip.customFormat;
260
+ Ot(o) && Nt(() => o({
261
261
  datapoint: t,
262
- seriesIndex: r,
262
+ seriesIndex: i,
263
263
  series: z.value,
264
264
  config: e.value
265
- })) ? ne.value = s({
265
+ })) ? ne.value = o({
266
266
  datapoint: t,
267
- seriesIndex: r,
267
+ seriesIndex: i,
268
268
  series: z.value,
269
269
  config: e.value
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
+ }) : (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) ? "-" : U(
271
271
  e.value.style.layout.plots.selectors.labels.x.formatter,
272
272
  t.v.x,
273
273
  F({
@@ -276,8 +276,8 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
276
276
  s: e.value.style.tooltip.suffix,
277
277
  r: e.value.style.tooltip.roundingValue
278
278
  }),
279
- { datapoint: t, seriesIndex: r }
280
- )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : R(
279
+ { datapoint: t, seriesIndex: i }
280
+ )}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : U(
281
281
  e.value.style.layout.plots.selectors.labels.y.formatter,
282
282
  t.v.y,
283
283
  F({
@@ -286,27 +286,27 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
286
286
  s: e.value.style.tooltip.suffix,
287
287
  r: e.value.style.tooltip.roundingValue
288
288
  }),
289
- { datapoint: t, seriesIndex: r }
289
+ { datapoint: t, seriesIndex: i }
290
290
  )}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${F({
291
291
  v: t.deviation,
292
292
  r: e.value.style.layout.plots.deviation.roundingValue
293
- })}</b>`, l += "</div>", ne.value = `<div>${l}</div>`), ie.value = !0;
293
+ })}</b>`, l += "</div>", ne.value = `<div>${l}</div>`), re.value = !0;
294
294
  }
295
295
  function De() {
296
- ie.value = !1, N.value = void 0, y.value = null;
296
+ re.value = !1, N.value = void 0, y.value = null;
297
297
  }
298
- function Ve(t) {
299
- x.value.includes(t) ? x.value = x.value.filter((r) => r !== t) : x.value.length < I.dataset.length - 1 && x.value.push(t);
298
+ function Re(t) {
299
+ x.value.includes(t) ? x.value = x.value.filter((i) => i !== t) : x.value.length < I.dataset.length - 1 && x.value.push(t);
300
300
  }
301
- function je(t = null) {
301
+ function Ve(t = null) {
302
302
  xt(() => {
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) => [
303
+ const i = ["", 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 = Lt(s);
309
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([i]).concat(l), a = Lt(o);
310
310
  t ? t(a) : Bt({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
311
311
  });
312
312
  }
@@ -317,16 +317,16 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
317
317
  e.value.table.translations.nbrPlots,
318
318
  `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
319
319
  `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
320
- ], r = z.value.map((s) => [
320
+ ], i = z.value.map((o) => [
321
321
  {
322
- shape: s.shape,
323
- content: s.name,
324
- color: s.color
322
+ shape: o.shape,
323
+ content: o.name,
324
+ color: o.color
325
325
  },
326
- Number((s.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
327
- s.plots.length.toLocaleString(),
328
- Number((s.plots.map((a) => a.v.x ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
329
- Number((s.plots.map((a) => a.v.y ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
326
+ Number((o.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
327
+ o.plots.length.toLocaleString(),
328
+ Number((o.plots.map((a) => a.v.x ?? 0).reduce((a, v) => a + v, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
329
+ Number((o.plots.map((a) => a.v.y ?? 0).reduce((a, v) => a + v, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
330
330
  ]), l = {
331
331
  th: {
332
332
  backgroundColor: e.value.table.th.backgroundColor,
@@ -340,12 +340,12 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
340
340
  },
341
341
  breakpoint: e.value.table.responsiveBreakpoint
342
342
  };
343
- return { head: t, body: r, config: l, colNames: t };
343
+ return { head: t, body: i, config: l, colNames: t };
344
344
  }), Q = h(!1);
345
- function Ee(t) {
345
+ function je(t) {
346
346
  Q.value = t, be.value += 1;
347
347
  }
348
- function Re() {
348
+ function Ee() {
349
349
  O.value.showTable = !O.value.showTable;
350
350
  }
351
351
  function Ue() {
@@ -356,30 +356,37 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
356
356
  ue.value = !ue.value;
357
357
  }
358
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 };
359
+ if (!D.value) return;
360
+ const { width: i, height: l } = D.value.getBoundingClientRect(), o = i / l, { imageUri: a, base64: v } = await Rt({ domElement: D.value, base64: !0, img: !0, scale: t });
361
+ return {
362
+ imageUri: a,
363
+ base64: v,
364
+ title: e.value.style.title.text,
365
+ width: i,
366
+ height: l,
367
+ aspectRatio: o
368
+ };
362
369
  }
363
370
  return Qe({
364
371
  getData: yt,
365
372
  getImage: dt,
366
373
  generatePdf: Pe,
367
- generateCsv: je,
374
+ generateCsv: Ve,
368
375
  generateImage: We,
369
- toggleTable: Re,
376
+ toggleTable: Ee,
370
377
  toggleTooltip: Ue,
371
378
  toggleAnnotator: de,
372
- toggleFullscreen: Ee
373
- }), (t, r) => (o(), i("div", {
379
+ toggleFullscreen: je
380
+ }), (t, i) => (s(), r("div", {
374
381
  class: qe(`vue-ui-scatter ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
375
382
  ref_key: "scatterChart",
376
- ref: U,
383
+ ref: D,
377
384
  id: `vue-ui-scatter_${S.value}`,
378
385
  style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
379
- onMouseenter: r[2] || (r[2] = () => u(Se)(!0)),
380
- onMouseleave: r[3] || (r[3] = () => u(Se)(!1))
386
+ onMouseenter: i[2] || (i[2] = () => u(Se)(!0)),
387
+ onMouseleave: i[3] || (i[3] = () => u(Se)(!1))
381
388
  }, [
382
- e.value.userOptions.buttons.annotator ? (o(), E(u(at), {
389
+ e.value.userOptions.buttons.annotator ? (s(), E(u(at), {
383
390
  key: 0,
384
391
  svgRef: u(Te),
385
392
  backgroundColor: e.value.style.backgroundColor,
@@ -387,20 +394,20 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
387
394
  active: ue.value,
388
395
  onClose: de
389
396
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
390
- nt.value ? (o(), i("div", {
397
+ nt.value ? (s(), r("div", {
391
398
  key: 1,
392
399
  ref_key: "noTitle",
393
400
  ref: Me,
394
401
  class: "vue-data-ui-no-title-space",
395
402
  style: "height:36px; width: 100%;background:transparent"
396
403
  }, null, 512)) : c("", !0),
397
- e.value.style.title.text ? (o(), i("div", {
404
+ e.value.style.title.text ? (s(), r("div", {
398
405
  key: 2,
399
406
  ref_key: "chartTitle",
400
407
  ref: ke,
401
408
  style: "width:100%;background:transparent"
402
409
  }, [
403
- (o(), E(Dt, {
410
+ (s(), E(Dt, {
404
411
  key: `title_${$e.value}`,
405
412
  config: {
406
413
  title: {
@@ -414,9 +421,9 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
414
421
  }
415
422
  }, null, 8, ["config"]))
416
423
  ], 512)) : c("", !0),
417
- e.value.userOptions.show && ae.value && (u(ze) || u(ve)) ? (o(), E(u(ut), {
424
+ e.value.userOptions.show && ae.value && (u(ze) || u(ve)) ? (s(), E(u(ut), {
418
425
  ref_key: "details",
419
- ref: it,
426
+ ref: rt,
420
427
  key: `user_options_${be.value}`,
421
428
  backgroundColor: e.value.style.backgroundColor,
422
429
  color: e.value.style.color,
@@ -432,17 +439,17 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
432
439
  isTooltip: O.value.showTooltip,
433
440
  isFullscreen: Q.value,
434
441
  titles: { ...e.value.userOptions.buttonTitles },
435
- chartElement: U.value,
442
+ chartElement: D.value,
436
443
  position: e.value.userOptions.position,
437
444
  hasAnnotator: e.value.userOptions.buttons.annotator,
438
445
  isAnnotation: ue.value,
439
446
  callbacks: e.value.userOptions.callbacks,
440
447
  printScale: e.value.userOptions.print.scale,
441
- onToggleFullscreen: Ee,
448
+ onToggleFullscreen: je,
442
449
  onGeneratePdf: u(Pe),
443
- onGenerateCsv: je,
450
+ onGenerateCsv: Ve,
444
451
  onGenerateImage: u(We),
445
- onToggleTable: Re,
452
+ onToggleTable: Ee,
446
453
  onToggleTooltip: Ue,
447
454
  onToggleAnnotator: de,
448
455
  style: j({
@@ -451,8 +458,8 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
451
458
  }, gt({ _: 2 }, [
452
459
  t.$slots.menuIcon ? {
453
460
  name: "menuIcon",
454
- fn: _(({ isOpen: l, color: s }) => [
455
- M(t.$slots, "menuIcon", te(le({ isOpen: l, color: s })), void 0, !0)
461
+ fn: _(({ isOpen: l, color: o }) => [
462
+ M(t.$slots, "menuIcon", te(le({ isOpen: l, color: o })), void 0, !0)
456
463
  ]),
457
464
  key: "0"
458
465
  } : void 0,
@@ -493,20 +500,20 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
493
500
  } : void 0,
494
501
  t.$slots.optionFullscreen ? {
495
502
  name: "optionFullscreen",
496
- fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
497
- M(t.$slots, "optionFullscreen", te(le({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
503
+ fn: _(({ toggleFullscreen: l, isFullscreen: o }) => [
504
+ M(t.$slots, "optionFullscreen", te(le({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
498
505
  ]),
499
506
  key: "6"
500
507
  } : void 0,
501
508
  t.$slots.optionAnnotator ? {
502
509
  name: "optionAnnotator",
503
- fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
504
- M(t.$slots, "optionAnnotator", te(le({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
510
+ fn: _(({ toggleAnnotator: l, isAnnotator: o }) => [
511
+ M(t.$slots, "optionAnnotator", te(le({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
505
512
  ]),
506
513
  key: "7"
507
514
  } : void 0
508
515
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
509
- ae.value ? (o(), i("svg", {
516
+ ae.value ? (s(), r("svg", {
510
517
  key: 4,
511
518
  ref_key: "svgRef",
512
519
  ref: Te,
@@ -516,7 +523,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
516
523
  style: j(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
517
524
  }, [
518
525
  ge(u(lt)),
519
- t.$slots["chart-background"] ? (o(), i("foreignObject", {
526
+ t.$slots["chart-background"] ? (s(), r("foreignObject", {
520
527
  key: 0,
521
528
  x: 0,
522
529
  y: 0,
@@ -528,7 +535,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
528
535
  }, [
529
536
  M(t.$slots, "chart-background", {}, void 0, !0)
530
537
  ], 8, Ut)) : c("", !0),
531
- e.value.style.layout.axis.show ? (o(), i("g", Gt, [
538
+ e.value.style.layout.axis.show ? (s(), r("g", Gt, [
532
539
  d("line", {
533
540
  x1: g.value.x,
534
541
  x2: g.value.x,
@@ -548,9 +555,9 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
548
555
  "stroke-linecap": "round"
549
556
  }, null, 8, Ht)
550
557
  ])) : c("", !0),
551
- e.value.style.layout.plots.giftWrap.show ? (o(), i("g", Zt, [
552
- (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
553
- l.plots.length > 2 ? (o(), i("polygon", {
558
+ e.value.style.layout.plots.giftWrap.show ? (s(), r("g", Zt, [
559
+ (s(!0), r(W, null, Y(z.value, (l, o) => (s(), r("g", null, [
560
+ l.plots.length > 2 ? (s(), r("polygon", {
554
561
  key: 0,
555
562
  points: u(Tt)({ series: l.plots }),
556
563
  fill: u(xe)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
@@ -562,34 +569,34 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
562
569
  }, null, 8, Jt)) : c("", !0)
563
570
  ]))), 256))
564
571
  ])) : c("", !0),
565
- (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
566
- !l.shape || l.shape === "circle" ? (o(), i("g", Kt, [
567
- (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), i("circle", {
572
+ (s(!0), r(W, null, Y(z.value, (l, o) => (s(), r("g", null, [
573
+ !l.shape || l.shape === "circle" ? (s(), r("g", Kt, [
574
+ (s(!0), r(W, null, Y(l.plots, (a, v) => (s(), r("circle", {
568
575
  cx: a.x,
569
576
  cy: a.y,
570
577
  r: N.value && N.value === a.id ? a.weight * 2 : a.weight,
571
578
  fill: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
572
579
  stroke: e.value.style.layout.plots.stroke,
573
580
  "stroke-width": e.value.style.layout.plots.strokeWidth,
574
- onMouseover: (f) => Ye(a, s),
581
+ onMouseover: (f) => Ye(a, o),
575
582
  onMouseleave: De,
576
583
  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}`)
577
584
  }, null, 44, Qt))), 256))
578
- ])) : (o(), i("g", el, [
579
- (o(!0), i(W, null, Y(l.plots, (a, v) => (o(), E(Je, {
585
+ ])) : (s(), r("g", el, [
586
+ (s(!0), r(W, null, Y(l.plots, (a, v) => (s(), E(Je, {
580
587
  plot: { x: a.x, y: a.y },
581
588
  radius: N.value && N.value === a.id ? a.weight * 2 : a.weight,
582
589
  shape: l.shape,
583
590
  color: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
584
591
  stroke: e.value.style.layout.plots.stroke,
585
592
  strokeWidth: e.value.style.layout.plots.strokeWidth,
586
- onMouseover: (f) => Ye(a, s),
593
+ onMouseover: (f) => Ye(a, o),
587
594
  onMouseleave: De,
588
595
  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}`)
589
596
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
590
597
  ]))
591
598
  ]))), 256)),
592
- e.value.style.layout.marginalBars.show ? (o(), i("g", tl, [
599
+ e.value.style.layout.marginalBars.show ? (s(), r("g", tl, [
593
600
  d("defs", null, [
594
601
  d("linearGradient", {
595
602
  id: `marginal_x_${S.value}`,
@@ -621,13 +628,13 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
621
628
  d("stop", {
622
629
  offset: "100%",
623
630
  "stop-color": e.value.style.layout.marginalBars.fill
624
- }, null, 8, rl)
631
+ }, null, 8, il)
625
632
  ], 8, sl)
626
633
  ]),
627
- (o(!0), i(W, null, Y(T.value.x, (l, s) => (o(), i("g", null, [
628
- l && T.value.avgX[s] ? (o(), i("rect", {
634
+ (s(!0), r(W, null, Y(T.value.x, (l, o) => (s(), r("g", null, [
635
+ l && T.value.avgX[o] ? (s(), r("rect", {
629
636
  key: 0,
630
- x: T.value.avgX[s] - n.value.width / V.value / 2,
637
+ x: T.value.avgX[o] - n.value.width / V.value / 2,
631
638
  y: n.value.top - e.value.style.layout.marginalBars.offset - l / T.value.maxX * e.value.style.layout.marginalBars.size,
632
639
  width: n.value.width / V.value <= 0 ? 1e-4 : n.value.width / V.value,
633
640
  height: l / T.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxX * e.value.style.layout.marginalBars.size,
@@ -636,13 +643,13 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
636
643
  stroke: e.value.style.backgroundColor,
637
644
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
638
645
  rx: e.value.style.layout.marginalBars.borderRadius
639
- }, null, 12, il)) : c("", !0)
646
+ }, null, 12, rl)) : c("", !0)
640
647
  ]))), 256)),
641
- (o(!0), i(W, null, Y(T.value.y, (l, s) => (o(), i("g", null, [
642
- l && T.value.avgY[s] ? (o(), i("rect", {
648
+ (s(!0), r(W, null, Y(T.value.y, (l, o) => (s(), r("g", null, [
649
+ l && T.value.avgY[o] ? (s(), r("rect", {
643
650
  key: 0,
644
651
  x: n.value.right + e.value.style.layout.marginalBars.offset,
645
- y: T.value.avgY[s] - n.value.height / V.value / 2,
652
+ y: T.value.avgY[o] - n.value.height / V.value / 2,
646
653
  height: n.value.height / V.value <= 0 ? 1e-4 : n.value.height / V.value,
647
654
  width: l / T.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxY * e.value.style.layout.marginalBars.size,
648
655
  fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${S.value})` : e.value.style.layout.marginalBars.fill,
@@ -652,9 +659,9 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
652
659
  rx: e.value.style.layout.marginalBars.borderRadius
653
660
  }, null, 12, nl)) : c("", !0)
654
661
  ]))), 256)),
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, [
657
- x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
662
+ e.value.style.layout.marginalBars.showLines ? (s(), r("g", vl, [
663
+ (s(!0), r(W, null, Y(ct.value, (l) => (s(), r(W, null, [
664
+ x.value.includes(l.id) ? c("", !0) : (s(), r("path", {
658
665
  key: 0,
659
666
  d: `M ${l.dX}`,
660
667
  stroke: e.value.style.backgroundColor,
@@ -663,7 +670,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
663
670
  "stroke-linejoin": "round",
664
671
  fill: "none"
665
672
  }, null, 8, yl)),
666
- x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
673
+ x.value.includes(l.id) ? c("", !0) : (s(), r("path", {
667
674
  key: 1,
668
675
  d: `M ${l.dX}`,
669
676
  stroke: l.color,
@@ -672,7 +679,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
672
679
  "stroke-linejoin": "round",
673
680
  fill: "none"
674
681
  }, null, 8, cl)),
675
- x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
682
+ x.value.includes(l.id) ? c("", !0) : (s(), r("path", {
676
683
  key: 2,
677
684
  d: `M ${l.dY}`,
678
685
  stroke: e.value.style.backgroundColor,
@@ -681,7 +688,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
681
688
  "stroke-linejoin": "round",
682
689
  fill: "none"
683
690
  }, null, 8, dl)),
684
- x.value.includes(l.id) ? c("", !0) : (o(), i("path", {
691
+ x.value.includes(l.id) ? c("", !0) : (s(), r("path", {
685
692
  key: 3,
686
693
  d: `M ${l.dY}`,
687
694
  stroke: l.color,
@@ -693,7 +700,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
693
700
  ], 64))), 256))
694
701
  ])) : c("", !0)
695
702
  ])) : c("", !0),
696
- y.value && e.value.style.layout.plots.selectors.show ? (o(), i("g", pl, [
703
+ y.value && e.value.style.layout.plots.selectors.show ? (s(), r("g", pl, [
697
704
  d("line", {
698
705
  x1: g.value.x,
699
706
  x2: y.value.x,
@@ -723,7 +730,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
723
730
  fill: e.value.style.layout.plots.selectors.labels.color,
724
731
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
725
732
  "text-anchor": y.value.x > g.value.x ? "end" : "start"
726
- }, C(u(R)(
733
+ }, C(u(U)(
727
734
  e.value.style.layout.plots.selectors.labels.y.formatter,
728
735
  u(A)(y.value.v.y),
729
736
  u(F)({
@@ -741,7 +748,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
741
748
  fill: e.value.style.layout.plots.selectors.labels.color,
742
749
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
743
750
  "text-anchor": "middle"
744
- }, C(u(R)(
751
+ }, C(u(U)(
745
752
  e.value.style.layout.plots.selectors.labels.y.formatter,
746
753
  u(A)(y.value.v.x),
747
754
  u(F)({
@@ -770,7 +777,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
770
777
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
771
778
  class: "line-pointer"
772
779
  }, null, 8, kl),
773
- e.value.style.layout.plots.selectors.labels.showName ? (o(), i("text", {
780
+ e.value.style.layout.plots.selectors.labels.showName ? (s(), r("text", {
774
781
  key: 0,
775
782
  x: y.value.x,
776
783
  y: y.value.y + (y.value.y < g.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
@@ -780,14 +787,14 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
780
787
  "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"
781
788
  }, C(y.value.v.name), 9, wl)) : c("", !0)
782
789
  ])) : c("", !0),
783
- e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", _l, [
790
+ e.value.style.layout.dataLabels.xAxis.show ? (s(), r("g", _l, [
784
791
  d("text", {
785
792
  x: n.value.left - 5,
786
793
  y: g.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
787
794
  "text-anchor": "end",
788
795
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
789
796
  fill: e.value.style.layout.dataLabels.xAxis.color
790
- }, C(u(R)(
797
+ }, C(u(U)(
791
798
  e.value.style.layout.plots.selectors.labels.x.formatter,
792
799
  u(A)(p.value.xMin),
793
800
  u(F)({
@@ -803,7 +810,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
803
810
  "text-anchor": "start",
804
811
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
805
812
  fill: e.value.style.layout.dataLabels.xAxis.color
806
- }, C(u(R)(
813
+ }, C(u(U)(
807
814
  e.value.style.layout.plots.selectors.labels.x.formatter,
808
815
  u(A)(p.value.xMax),
809
816
  u(F)({
@@ -822,14 +829,14 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
822
829
  fill: e.value.style.layout.dataLabels.xAxis.color
823
830
  }, C(e.value.style.layout.dataLabels.xAxis.name), 9, Cl)
824
831
  ])) : c("", !0),
825
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Al, [
832
+ e.value.style.layout.dataLabels.yAxis.show ? (s(), r("g", Al, [
826
833
  d("text", {
827
834
  x: g.value.x,
828
835
  y: n.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
829
836
  "text-anchor": "middle",
830
837
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
831
838
  fill: e.value.style.layout.dataLabels.yAxis.color
832
- }, C(u(R)(
839
+ }, C(u(U)(
833
840
  e.value.style.layout.plots.selectors.labels.y.formatter,
834
841
  u(A)(p.value.yMin),
835
842
  u(F)({
@@ -845,7 +852,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
845
852
  "text-anchor": "middle",
846
853
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
847
854
  fill: e.value.style.layout.dataLabels.yAxis.color
848
- }, C(u(R)(
855
+ }, C(u(U)(
849
856
  e.value.style.layout.plots.selectors.labels.y.formatter,
850
857
  u(A)(p.value.yMax),
851
858
  u(F)({
@@ -874,8 +881,8 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
874
881
  height: n.value.height <= 0 ? 1e-4 : n.value.height
875
882
  }, null, 8, Bl)
876
883
  ], 8, Ll),
877
- e.value.style.layout.correlation.show ? (o(), i("g", Ol, [
878
- (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("line", {
884
+ e.value.style.layout.correlation.show ? (s(), r("g", Ol, [
885
+ (s(!0), r(W, null, Y(z.value, (l, o) => (s(), r("line", {
879
886
  x1: l.correlation.x1,
880
887
  x2: l.correlation.x2,
881
888
  y1: l.correlation.y1,
@@ -885,8 +892,8 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
885
892
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
886
893
  "clip-path": `url(#clip_path_${S.value})`
887
894
  }, null, 8, Nl))), 256)),
888
- (o(!0), i(W, null, Y(z.value, (l, s) => (o(), i("g", null, [
889
- e.value.style.layout.correlation.label.show ? (o(), i("text", {
895
+ (s(!0), r(W, null, Y(z.value, (l, o) => (s(), r("g", null, [
896
+ e.value.style.layout.correlation.label.show ? (s(), r("text", {
890
897
  key: 0,
891
898
  x: l.label.x,
892
899
  y: l.label.y,
@@ -900,11 +907,11 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
900
907
  ]))), 256))
901
908
  ])) : c("", !0),
902
909
  M(t.$slots, "svg", { svg: k.value }, void 0, !0)
903
- ], 14, Rt)) : c("", !0),
904
- t.$slots.watermark ? (o(), i("div", Wl, [
910
+ ], 14, Et)) : c("", !0),
911
+ t.$slots.watermark ? (s(), r("div", Wl, [
905
912
  M(t.$slots, "watermark", te(le({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
906
913
  ])) : c("", !0),
907
- ae.value ? c("", !0) : (o(), E(u(ot), {
914
+ ae.value ? c("", !0) : (s(), E(u(ot), {
908
915
  key: 6,
909
916
  config: {
910
917
  type: "quadrant",
@@ -926,15 +933,15 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
926
933
  ref_key: "chartLegend",
927
934
  ref: we
928
935
  }, [
929
- e.value.style.legend.show ? (o(), E(Yt, {
936
+ e.value.style.legend.show ? (s(), E(Yt, {
930
937
  key: `legend_${Ae.value}`,
931
938
  legendSet: G.value,
932
939
  config: vt.value,
933
- onClickMarker: r[0] || (r[0] = ({ legend: l }) => Ve(l.id))
940
+ onClickMarker: i[0] || (i[0] = ({ legend: l }) => Re(l.id))
934
941
  }, {
935
942
  item: _(({ legend: l }) => [
936
943
  d("div", {
937
- onClick: (s) => l.segregate(),
944
+ onClick: (o) => l.segregate(),
938
945
  style: j(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
939
946
  }, C(l.name), 13, Fl)
940
947
  ]),
@@ -944,7 +951,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
944
951
  legend: G.value
945
952
  }, void 0, !0)
946
953
  ], 512),
947
- t.$slots.source ? (o(), i("div", {
954
+ t.$slots.source ? (s(), r("div", {
948
955
  key: 7,
949
956
  ref_key: "source",
950
957
  ref: _e,
@@ -953,7 +960,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
953
960
  M(t.$slots, "source", {}, void 0, !0)
954
961
  ], 512)) : c("", !0),
955
962
  ge(u(st), {
956
- show: O.value.showTooltip && ie.value,
963
+ show: O.value.showTooltip && re.value,
957
964
  backgroundColor: e.value.style.tooltip.backgroundColor,
958
965
  color: e.value.style.tooltip.color,
959
966
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -963,7 +970,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
963
970
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
964
971
  position: e.value.style.tooltip.position,
965
972
  offsetY: e.value.style.tooltip.offsetY,
966
- parent: U.value,
973
+ parent: D.value,
967
974
  content: ne.value,
968
975
  isFullscreen: Q.value,
969
976
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
@@ -975,8 +982,8 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
975
982
  M(t.$slots, "tooltip-after", te(le({ ...ce.value })), void 0, !0)
976
983
  ]),
977
984
  default: _(() => [
978
- e.value.style.tooltip.showShape ? (o(), i("div", Il, [
979
- (o(), i("svg", Xl, [
985
+ e.value.style.tooltip.showShape ? (s(), r("div", Il, [
986
+ (s(), r("svg", Xl, [
980
987
  ge(Je, {
981
988
  shape: y.value.shape,
982
989
  color: y.value.color,
@@ -988,7 +995,7 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
988
995
  ]),
989
996
  _: 3
990
997
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
991
- ae.value ? (o(), E(u(et), {
998
+ ae.value ? (s(), E(u(et), {
992
999
  key: 8,
993
1000
  hideDetails: "",
994
1001
  config: {
@@ -1005,22 +1012,22 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
1005
1012
  }
1006
1013
  }, {
1007
1014
  content: _(() => [
1008
- (o(), E(u(tt), {
1015
+ (s(), E(u(tt), {
1009
1016
  key: `table_${Ce.value}`,
1010
1017
  colNames: se.value.colNames,
1011
1018
  head: se.value.head,
1012
1019
  body: se.value.body,
1013
1020
  config: se.value.config,
1014
1021
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
1015
- onClose: r[1] || (r[1] = (l) => O.value.showTable = !1)
1022
+ onClose: i[1] || (i[1] = (l) => O.value.showTable = !1)
1016
1023
  }, {
1017
1024
  th: _(({ th: l }) => [
1018
1025
  mt(C(l), 1)
1019
1026
  ]),
1020
1027
  td: _(({ td: l }) => [
1021
- l.shape ? (o(), i("div", Yl, [
1028
+ l.shape ? (s(), r("div", Yl, [
1022
1029
  d("span", null, C(l.content), 1)
1023
- ])) : (o(), i("div", {
1030
+ ])) : (s(), r("div", {
1024
1031
  key: 1,
1025
1032
  innerHTML: l
1026
1033
  }, null, 8, Dl))
@@ -1030,9 +1037,9 @@ const Et = ["id"], Rt = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
1030
1037
  ]),
1031
1038
  _: 1
1032
1039
  }, 8, ["config"])) : c("", !0)
1033
- ], 46, Et));
1040
+ ], 46, jt));
1034
1041
  }
1035
- }, ta = /* @__PURE__ */ jt(Vl, [["__scopeId", "data-v-c8a05df5"]]);
1042
+ }, ta = /* @__PURE__ */ Vt(Rl, [["__scopeId", "data-v-6b775119"]]);
1036
1043
  export {
1037
1044
  ta as default
1038
1045
  };