vue-data-ui 3.0.0-next.69 → 3.0.0-next.70

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 (90) hide show
  1. package/dist/{Arrow-Dlm7M4v5.js → Arrow-fzydFjfE.js} +1 -1
  2. package/dist/{BaseDraggableDialog-C9Ub5tiX.js → BaseDraggableDialog-BwazM8ka.js} +2 -2
  3. package/dist/{BaseIcon-BowOXtUH.js → BaseIcon-BnbvQjs5.js} +1 -1
  4. package/dist/{ColorPicker-CYwXfufn.js → ColorPicker-DR1Yr4kR.js} +2 -2
  5. package/dist/{DataTable-CBf6mech.js → DataTable-CKpA_OA_.js} +2 -2
  6. package/dist/{Legend-aUCTg_Lc.js → Legend-ChXhJNzd.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tYOnZvgb.js → NonSvgPenAndPaper-CPOpM7Os.js} +3 -3
  8. package/dist/{PackageVersion-DKYd4IGW.js → PackageVersion-CBHvscRY.js} +1 -1
  9. package/dist/{PenAndPaper-COrD1Ohi.js → PenAndPaper-BCcfYvgR.js} +3 -3
  10. package/dist/{Shape-zNqZd_yc.js → Shape-C1rNfsMY.js} +1 -1
  11. package/dist/{Slicer-CKLKEgfG.js → Slicer-D8a4Wv1q.js} +2 -2
  12. package/dist/{SparkTooltip-BU62oXUn.js → SparkTooltip-BUdf02cs.js} +1 -1
  13. package/dist/{Title-CZpqmmik.js → Title-feqCv0Si.js} +1 -1
  14. package/dist/{Tooltip-B26zecg-.js → Tooltip-DQbksria.js} +1 -1
  15. package/dist/{UserOptions-B7MK1p3Z.js → UserOptions-CGnAZpYs.js} +2 -2
  16. package/dist/{dom-to-png-CTRRf37x.js → dom-to-png-DTPmkDTK.js} +1 -1
  17. package/dist/{img-CtlVyae7.js → img-_RMhslMZ.js} +1 -1
  18. package/dist/{index-BwauahYt.js → index-CnY41r21.js} +573 -549
  19. package/dist/{pdf-BQLCWIue.js → pdf-C02XBmhm.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +9 -1
  22. package/dist/types/vue-data-ui.d.ts +9 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-C1cukbDo.js → useAutoSizeLabelsInsideViewbox-DVYZBwNc.js} +1 -1
  24. package/dist/{useNestedProp-CrPVnbBh.js → useNestedProp-DtUATNAU.js} +1 -1
  25. package/dist/{usePrinter-trNh0nMR.js → usePrinter-CJ1uZx0D.js} +2 -2
  26. package/dist/{vue-data-ui-CCXrO-yr.js → vue-data-ui-DDBabVWX.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-jfxujQzz.js → vue-ui-3d-bar-CtPXePUa.js} +6 -6
  29. package/dist/{vue-ui-accordion-7hmSFIuA.js → vue-ui-accordion-CnLY8CrQ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BXS8Hrti.js → vue-ui-age-pyramid-CvrNLE47.js} +6 -6
  31. package/dist/{vue-ui-annotator-D04wSfa8.js → vue-ui-annotator-NuSwWka4.js} +2 -2
  32. package/dist/{vue-ui-bullet-BcE0hsSp.js → vue-ui-bullet-CpIVgkPB.js} +7 -7
  33. package/dist/{vue-ui-candlestick-Nk_3rI29.js → vue-ui-candlestick-DGWKUeJp.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-DR3LjO2c.js → vue-ui-carousel-table-DWbQS8F3.js} +4 -4
  35. package/dist/{vue-ui-chestnut-oOodDOET.js → vue-ui-chestnut-K4-oOYff.js} +5 -5
  36. package/dist/{vue-ui-chord-DVvi7Txa.js → vue-ui-chord-DqmP8yTR.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-CMviIAwm.js → vue-ui-circle-pack-D_ufubH5.js} +6 -6
  38. package/dist/{vue-ui-cursor-BtOw_1xb.js → vue-ui-cursor-B0tP4woK.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Ch8JzCoN.js → vue-ui-dashboard-D_7qyx3P.js} +62 -62
  40. package/dist/{vue-ui-digits-CZk5jWtF.js → vue-ui-digits-pUQErY07.js} +2 -2
  41. package/dist/{vue-ui-donut-D-hhaHTj.js → vue-ui-donut-Dl__PVfq.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-BnYiak0J.js → vue-ui-donut-evolution-BCGGTZZI.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-CkcaSCvI.js → vue-ui-dumbbell-KzCa3k9g.js} +7 -7
  44. package/dist/{vue-ui-flow-B2aRPtVi.js → vue-ui-flow-B1AOqk14.js} +7 -7
  45. package/dist/{vue-ui-funnel-CjV1t081.js → vue-ui-funnel-DCl9v71X.js} +6 -6
  46. package/dist/{vue-ui-galaxy-DC0iqNkL.js → vue-ui-galaxy-0rAzDHe5.js} +5 -5
  47. package/dist/{vue-ui-gauge-DECYof7z.js → vue-ui-gauge-Cg4qAOEf.js} +7 -7
  48. package/dist/{vue-ui-gizmo-CFQRyaCj.js → vue-ui-gizmo-CQmMkODw.js} +3 -3
  49. package/dist/{vue-ui-heatmap-DTCckubf.js → vue-ui-heatmap-CgkgUDI0.js} +7 -7
  50. package/dist/{vue-ui-history-plot-1NrWmV8Q.js → vue-ui-history-plot-CYvkTszV.js} +7 -7
  51. package/dist/{vue-ui-kpi-z0l6Adgy.js → vue-ui-kpi-BDuOZbc2.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CK2O4mZw.js → vue-ui-mini-loader-BZaU_YD-.js} +2 -2
  53. package/dist/{vue-ui-molecule-cI66sfQw.js → vue-ui-molecule-HYjHgVuN.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-CRn0ByW7.js → vue-ui-mood-radar-4pYtL93A.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-CLelG-0k.js → vue-ui-nested-donuts-BVbvVm19.js} +9 -9
  56. package/dist/{vue-ui-onion-BIhR3oSh.js → vue-ui-onion-DQg97Dwm.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-Bv9MGUvA.js → vue-ui-parallel-coordinate-plot-KQ4FTUda.js} +8 -8
  58. package/dist/{vue-ui-quadrant-BRbGG8PZ.js → vue-ui-quadrant-D8OU7TFs.js} +508 -457
  59. package/dist/{vue-ui-quick-chart-EBYhZWtn.js → vue-ui-quick-chart-BOKDoHdK.js} +6 -6
  60. package/dist/{vue-ui-radar-DMPtZc6X.js → vue-ui-radar-2hTf-Qrf.js} +8 -8
  61. package/dist/{vue-ui-rating-DfXwGG2C.js → vue-ui-rating-QriKDSO7.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-C6r3DtiW.js → vue-ui-relation-circle-DqLiKEHw.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-BqCdtaBg.js → vue-ui-ridgeline-CvFlsavM.js} +8 -8
  64. package/dist/{vue-ui-rings-aO9vNGne.js → vue-ui-rings-B2ges9Ud.js} +8 -8
  65. package/dist/{vue-ui-scatter-Cza-68yp.js → vue-ui-scatter-DQJeFlv4.js} +8 -8
  66. package/dist/{vue-ui-skeleton-By1-PcFI.js → vue-ui-skeleton-Bghm5obp.js} +3 -3
  67. package/dist/{vue-ui-smiley-dLhd9dLt.js → vue-ui-smiley-C3SkDNoz.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-6we0yqG2.js → vue-ui-spark-trend-dd8h3N7H.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BKio3mzE.js → vue-ui-sparkbar-BTj8M7fY.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ChLifcFI.js → vue-ui-sparkgauge-BBQAo-W1.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-4wbe20wK.js → vue-ui-sparkhistogram-C4ZEcb8S.js} +4 -4
  72. package/dist/{vue-ui-sparkline-a6CGBo73.js → vue-ui-sparkline-Bm3GpqJx.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-Cnr-EXnw.js → vue-ui-sparkstackbar-Dde4iayd.js} +3 -3
  74. package/dist/{vue-ui-stackbar-D9-9NRX2.js → vue-ui-stackbar-DPvfNjwH.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-LIrhvos9.js → vue-ui-strip-plot-iZIN9U90.js} +7 -7
  76. package/dist/{vue-ui-table-CYPfU6kQ.js → vue-ui-table-C4EoviSd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-CeSJuhSv.js → vue-ui-table-heatmap-D-eqO3LU.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DyIKoWUQ.js → vue-ui-table-sparkline-CD7IH49g.js} +4 -4
  79. package/dist/{vue-ui-thermometer-CztBbPQN.js → vue-ui-thermometer-BKEFH2Xt.js} +7 -7
  80. package/dist/{vue-ui-timer-Bn6yQYQo.js → vue-ui-timer-hhKj1gPp.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CdN-BDqk.js → vue-ui-tiremarks-CmNwCnVC.js} +6 -6
  82. package/dist/{vue-ui-treemap-PXGZ4rB5.js → vue-ui-treemap-BL7T8x_B.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-H5ZkIecF.js → vue-ui-vertical-bar-CGn_OX3P.js} +9 -9
  84. package/dist/{vue-ui-waffle-D4rW9jNJ.js → vue-ui-waffle-qfT-wDhI.js} +8 -8
  85. package/dist/{vue-ui-wheel-DJFypa1-.js → vue-ui-wheel-B8J8C3AN.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-C27aWxnj.js → vue-ui-word-cloud-B6oHFfEK.js} +6 -6
  87. package/dist/{vue-ui-world-ENzFibrp.js → vue-ui-world-BEv_oTrC.js} +6 -6
  88. package/dist/{vue-ui-xy-BBV2tdGA.js → vue-ui-xy-DPBrciAR.js} +9 -9
  89. package/dist/{vue-ui-xy-canvas-DvVkwkd1.js → vue-ui-xy-canvas-BXT3mXj5.js} +8 -8
  90. package/package.json +1 -1
@@ -1,30 +1,31 @@
1
- import { defineAsyncComponent as P, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as pt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as D, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as gt, nextTick as mt } from "vue";
2
- import { u as xt, c as De, a as $t, p as he, b as kt, o as Lt, f as G, d as wt, e as qt, Y as _t, k as F, i as V, X as St, s as oe, x as Ct, Z as zt, I as Tt, F as Xt, v as Wt, w as Yt, y as At, z as Mt } from "./index-BwauahYt.js";
3
- import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ge } from "./useNestedProp-CrPVnbBh.js";
5
- import { u as Rt } from "./usePrinter-trNh0nMR.js";
6
- import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Bt from "./Title-CZpqmmik.js";
9
- import Pt from "./Legend-aUCTg_Lc.js";
10
- import { _ as Qe } from "./Shape-zNqZd_yc.js";
11
- import Ht from "./img-CtlVyae7.js";
12
- import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
1
+ import { defineAsyncComponent as D, computed as g, ref as y, toRefs as gt, watch as Qe, shallowRef as Je, onMounted as mt, onBeforeUnmount as xt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as _, normalizeClass as T, createBlock as R, createCommentVNode as c, createElementVNode as h, createVNode as he, createSlots as $t, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as G, Fragment as C, renderList as X, toDisplayString as L, createTextVNode as kt, nextTick as Lt } from "vue";
2
+ import { u as wt, c as je, t as _t, a as qt, p as ye, b as Ct, o as St, f as Q, d as zt, e as Tt, Y as At, k as F, i as B, X as Xt, s as ue, x as Wt, Z as Yt, I as Mt, F as Nt, v as Ot, w as Rt, y as Ft, z as Bt } from "./index-CnY41r21.js";
3
+ import { t as Vt, u as Pt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ht } from "./usePrinter-CJ1uZx0D.js";
5
+ import { u as Ze } from "./useNestedProp-DtUATNAU.js";
6
+ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Dt from "./img-_RMhslMZ.js";
9
+ import Ut from "./Title-feqCv0Si.js";
10
+ import { _ as Ke } from "./Shape-C1rNfsMY.js";
11
+ import Gt from "./Legend-ChXhJNzd.js";
12
+ import { u as Qt, B as Jt } from "./useLoading-D7YHNtLX.js";
13
+ import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "height"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ul = { key: 1 }, ol = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], sl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], rl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], nl = { key: 2 }, il = ["points", "fill"], vl = ["points", "fill"], dl = ["points", "fill"], cl = ["points", "fill"], hl = { key: 3 }, yl = ["y", "fill", "font-size"], bl = ["x", "y", "fill", "font-size"], fl = ["x", "y", "fill", "font-size"], pl = ["y", "fill", "font-size"], gl = { key: 4 }, ml = ["x", "y", "font-size", "fill"], xl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], kl = ["id", "font-size", "transform", "fill"], Ll = ["id", "font-size", "transform", "fill"], wl = ["id", "font-size", "transform", "fill"], _l = { key: 5 }, ql = ["fill", "points"], Cl = ["x", "y", "width", "height"], Sl = ["x", "y", "width", "height"], zl = ["x", "y", "width", "height"], Tl = ["x", "y", "width", "height"], Al = {
14
15
  key: 0,
15
16
  style: { "pointer-events": "none" }
16
- }, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
17
+ }, Xl = ["x", "y", "font-size", "fill"], Wl = ["x", "y", "font-size", "fill", "innerHTML"], Yl = { key: 0 }, Ml = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Nl = {
17
18
  key: 8,
18
19
  class: "vue-ui-dna"
19
- }, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Fl = ["x", "y", "fill"], Vl = ["x", "y", "fill"], Bl = ["stroke", "d"], Pl = ["stroke", "d"], Hl = {
20
- key: 5,
20
+ }, Ol = ["points", "fill"], Rl = ["points", "fill"], Fl = ["points", "fill"], Bl = ["points", "fill"], Vl = { key: 9 }, Pl = ["x", "y", "font-size", "fill", "font-weight"], Hl = { key: 10 }, Il = ["x", "y", "fill"], El = ["x", "y", "fill"], Dl = ["x", "y", "fill"], Ul = ["x", "y", "fill"], Gl = ["stroke", "d"], Ql = ["stroke", "d"], Jl = {
21
+ key: 4,
21
22
  class: "vue-data-ui-watermark"
22
- }, Il = ["onClick"], El = {
23
+ }, jl = ["onClick"], Zl = {
23
24
  key: 0,
24
25
  height: "14",
25
26
  width: "14",
26
27
  viewBox: "0 0 20 20"
27
- }, Ul = ["innerHTML"], Dl = {
28
+ }, Kl = ["innerHTML"], ea = {
28
29
  __name: "vue-ui-quadrant",
29
30
  props: {
30
31
  config: {
@@ -41,78 +42,143 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
41
42
  }
42
43
  },
43
44
  emits: ["selectPlot", "selectSide", "selectLegend"],
44
- setup(Je, { expose: je, emit: Ze }) {
45
- const Ke = P(() => import("./DataTable-CBf6mech.js")), et = P(() => import("./PenAndPaper-COrD1Ohi.js")), tt = P(() => import("./vue-ui-accordion-7hmSFIuA.js")), lt = P(() => import("./vue-ui-skeleton-By1-PcFI.js")), at = P(() => import("./Tooltip-B26zecg-.js")), ut = P(() => import("./UserOptions-B7MK1p3Z.js")), ot = P(() => import("./PackageVersion-DKYd4IGW.js")), { vue_ui_quadrant: st } = xt(), X = Je, K = g(() => !!X.dataset && X.dataset.length), z = y(De()), se = Ze, rt = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), A = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
46
- get: () => qe(),
47
- set: (l) => l
48
- }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Ft({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
49
- function qe() {
50
- const l = Ge({
51
- userConfig: X.config,
52
- defaultConfig: st
45
+ setup(et, { expose: tt, emit: lt }) {
46
+ const at = D(() => import("./Tooltip-DQbksria.js")), ut = D(() => import("./vue-ui-accordion-CnLY8CrQ.js")), ot = D(() => import("./DataTable-CKpA_OA_.js")), st = D(() => import("./PenAndPaper-BCcfYvgR.js")), rt = D(() => import("./UserOptions-CGnAZpYs.js")), nt = D(() => import("./PackageVersion-CBHvscRY.js")), { vue_ui_quadrant: it } = wt(), W = et, be = g(() => !!W.dataset && W.dataset.length), z = y(je()), oe = lt, vt = y(null), se = y(!1), re = y(""), fe = y(0), p = y(!1), Y = y(null), pe = y(null), ge = y(null), me = y(null), xe = y(null), $e = y(0), ke = y(0), Le = y(0), t = y(ie()), { loading: we, FINAL_DATASET: _e } = Qt({
47
+ ...gt(W),
48
+ FINAL_CONFIG: t,
49
+ prepareConfig: ie,
50
+ skeletonDataset: [
51
+ {
52
+ name: "_",
53
+ shape: "circle",
54
+ color: "#CACACA",
55
+ series: [
56
+ { name: "_", x: -6, y: -4 },
57
+ { name: "_", x: -5, y: -2 },
58
+ { name: "_", x: -4, y: -1 },
59
+ { name: "_", x: -3, y: -0.5 },
60
+ { name: "_", x: -2, y: -0.25 },
61
+ { name: "_", x: -1, y: -0.135 },
62
+ { name: "_", x: 0, y: 0 },
63
+ { name: "_", x: 1, y: 0.135 },
64
+ { name: "_", x: 2, y: 0.25 },
65
+ { name: "_", x: 3, y: 0.5 },
66
+ { name: "_", x: 4, y: 1 },
67
+ { name: "_", x: 5, y: 2 },
68
+ { name: "_", x: 6, y: 4 }
69
+ ]
70
+ }
71
+ ],
72
+ skeletonConfig: _t({
73
+ defaultConfig: t.value,
74
+ userConfig: {
75
+ userOptions: { show: !1 },
76
+ table: { show: !1 },
77
+ style: {
78
+ chart: {
79
+ backgroundColor: "#99999930",
80
+ layout: {
81
+ grid: {
82
+ stroke: "#6A6A6A",
83
+ graduations: {
84
+ stroke: "#6A6A6A",
85
+ color: "#6A6A6A90"
86
+ },
87
+ xAxis: {
88
+ auto: !0
89
+ },
90
+ yAxis: {
91
+ auto: !0
92
+ }
93
+ },
94
+ labels: {
95
+ quadrantLabels: { show: !1 },
96
+ plotLabels: { show: !1 },
97
+ axisLabels: { show: !1 }
98
+ },
99
+ plots: {
100
+ outlineColor: "#6A6A6A"
101
+ }
102
+ },
103
+ legend: {
104
+ backgroundColor: "transparent"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ })
110
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: qe, keepUserOptionState: Ce } = It({ config: t.value }), { svgRef: Se } = Et({ config: t.value.style.chart.title });
111
+ function ie() {
112
+ const l = Ze({
113
+ userConfig: W.config,
114
+ defaultConfig: it
53
115
  });
54
116
  return l.theme ? {
55
- ...Ge({
56
- userConfig: kt.vue_ui_quadrant[l.theme] || X.config,
117
+ ...Ze({
118
+ userConfig: Ct.vue_ui_quadrant[l.theme] || W.config,
57
119
  defaultConfig: l
58
120
  }),
59
- customPalette: $t[l.theme] || he
121
+ customPalette: qt[l.theme] || ye
60
122
  } : l;
61
123
  }
62
- Ee(() => X.config, (l) => {
63
- t.value = qe(), ne.value = !t.value.userOptions.showOnChartHover, _e(), me.value += 1, xe.value += 1, $e.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
124
+ Qe(() => W.config, (l) => {
125
+ t.value = ie(), ne.value = !t.value.userOptions.showOnChartHover, ze(), $e.value += 1, ke.value += 1, Le.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
64
126
  }, { deep: !0 });
65
- const M = Ue(null), H = Ue(null);
66
- function _e() {
67
- if (Lt(X.dataset) ? G({
127
+ const M = Je(null), P = Je(null), H = g(() => t.value.debug);
128
+ function ze() {
129
+ if (St(W.dataset) ? Q({
68
130
  componentName: "VueUiQuadrant",
69
- type: "dataset"
70
- }) : X.dataset.forEach((l, u) => {
71
- [null, void 0].includes(l.name) && G({
131
+ type: "dataset",
132
+ debug: H.value
133
+ }) : W.dataset.forEach((l, u) => {
134
+ [null, void 0].includes(l.name) && Q({
72
135
  componentName: "VueUiQuadrant",
73
136
  type: "datasetSerieAttribute",
74
137
  property: "name",
75
- index: u
76
- }), [null, void 0].includes(l.series) ? G({
138
+ index: u,
139
+ debug: H.value
140
+ }), [null, void 0].includes(l.series) ? Q({
77
141
  componentName: "VueUiQuadrant",
78
142
  type: "datasetSerieAttribute",
79
143
  property: "series",
80
- index: u
144
+ index: u,
145
+ debug: H.value
81
146
  }) : l.series.forEach((a, o) => {
82
- [null, void 0].includes(a.name) && G({
147
+ [null, void 0].includes(a.name) && Q({
83
148
  componentName: "VueUiQuadrant",
84
149
  type: "datasetSerieAttribute",
85
150
  property: "name",
86
151
  key: "series",
87
- index: o
152
+ index: o,
153
+ debug: H.value
88
154
  });
89
155
  });
90
156
  }), t.value.responsive) {
91
- const l = Nt(() => {
92
- const { width: u, height: a } = Ot({
93
- chart: A.value,
94
- title: t.value.style.chart.title.text ? be.value : null,
95
- legend: t.value.style.chart.legend.show ? fe.value : null,
96
- source: pe.value,
97
- noTitle: ge.value
157
+ const l = Vt(() => {
158
+ const { width: u, height: a } = Pt({
159
+ chart: Y.value,
160
+ title: t.value.style.chart.title.text ? pe.value : null,
161
+ legend: t.value.style.chart.legend.show ? ge.value : null,
162
+ source: me.value,
163
+ noTitle: xe.value
98
164
  });
99
165
  k.value = 48, requestAnimationFrame(() => {
100
166
  e.value.height = a, e.value.usableHeight = a - k.value * 2, e.value.width = u, e.value.usableWidth = u - k.value * 2, e.value.top = k.value, e.value.left = k.value, e.value.right = u - k.value, e.value.bottom = a - k.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = k.value;
101
167
  });
102
168
  });
103
- M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect()), M.value = new ResizeObserver(l), H.value = A.value.parentNode, M.value.observe(H.value);
169
+ M.value && (P.value && M.value.unobserve(P.value), M.value.disconnect()), M.value = new ResizeObserver(l), P.value = Y.value.parentNode, M.value.observe(P.value);
104
170
  }
105
171
  }
106
- bt(() => {
107
- _e();
108
- }), ft(() => {
109
- M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect());
172
+ mt(() => {
173
+ ze();
174
+ }), xt(() => {
175
+ M.value && (P.value && M.value.unobserve(P.value), M.value.disconnect());
110
176
  });
111
- const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
177
+ const { isPrinting: Te, isImaging: Ae, generatePdf: Xe, generateImage: We } = Ht({
112
178
  elementId: `vue-ui-quadrant_${z.value}`,
113
179
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
114
180
  options: t.value.userOptions.print
115
- }), nt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => wt(t.value.customPalette)), $ = y({
181
+ }), dt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Ye = g(() => zt(t.value.customPalette)), $ = y({
116
182
  plotLabels: {
117
183
  show: t.value.style.chart.layout.labels.plotLabels.show
118
184
  },
@@ -135,15 +201,15 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
135
201
  startX: 0,
136
202
  startY: 0
137
203
  });
138
- Ee(() => e.value, (l) => {
204
+ Qe(() => e.value, (l) => {
139
205
  l && (v.value = {
140
206
  ...JSON.parse(JSON.stringify(e.value)),
141
207
  startX: 0,
142
208
  startY: 0
143
209
  });
144
210
  }, { deep: !0 });
145
- const c = y(null), B = g(() => {
146
- switch (c.value) {
211
+ const d = y(null), V = g(() => {
212
+ switch (d.value) {
147
213
  case "TL":
148
214
  return {
149
215
  x: v.value.startX + v.value.width / 2,
@@ -183,34 +249,34 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
183
249
  default:
184
250
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
185
251
  }
186
- }), it = y(null), te = y(!1);
187
- function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
188
- c.value && Z(r);
252
+ }), ct = y(null), Z = y(!1);
253
+ function J({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
254
+ d.value && j(r);
189
255
  const b = {
190
256
  x: l - v.value.startX,
191
257
  y: u - v.value.startY,
192
258
  w: a - v.value.width,
193
259
  h: o - v.value.height
194
- }, p = t.value.zoomAnimationFrames;
195
- let W = 0;
196
- function Ie() {
197
- te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? it.value = requestAnimationFrame(Ie) : te.value = !1;
260
+ }, f = t.value.zoomAnimationFrames;
261
+ let A = 0;
262
+ function Ge() {
263
+ Z.value = !0, v.value.startX += b.x / f, v.value.startY += b.y / f, v.value.width += b.w / f, v.value.height += b.h / f, A += 1, A < f ? ct.value = requestAnimationFrame(Ge) : Z.value = !1;
198
264
  }
199
- Ie();
265
+ Ge();
200
266
  }
201
267
  function N(l) {
202
- if (!te.value)
203
- if (f.value && c.value === l)
204
- Q({
268
+ if (!Z.value)
269
+ if (p.value && d.value === l)
270
+ J({
205
271
  targetX: 0,
206
272
  targetY: 0,
207
273
  targetW: e.value.width,
208
274
  targetH: e.value.height
209
- }), c.value = null, f.value = !1;
275
+ }), d.value = null, p.value = !1;
210
276
  else {
211
- switch (c.value = l, l) {
277
+ switch (d.value = l, l) {
212
278
  case "TL":
213
- Q({
279
+ J({
214
280
  targetX: 0,
215
281
  targetY: 0,
216
282
  targetW: e.value.width / 2 + e.value.left,
@@ -219,7 +285,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
219
285
  });
220
286
  break;
221
287
  case "TR":
222
- Q({
288
+ J({
223
289
  targetX: e.value.width / 2 - e.value.left,
224
290
  targetY: 0,
225
291
  targetW: e.value.width / 2 + e.value.left,
@@ -228,7 +294,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
228
294
  });
229
295
  break;
230
296
  case "BR":
231
- Q({
297
+ J({
232
298
  targetX: e.value.width / 2 - e.value.left,
233
299
  targetY: e.value.height / 2 - e.value.top,
234
300
  targetW: e.value.width / 2 + e.value.left,
@@ -237,7 +303,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
237
303
  });
238
304
  break;
239
305
  case "BL":
240
- Q({
306
+ J({
241
307
  targetX: 0,
242
308
  targetY: e.value.height / 2 - e.value.top,
243
309
  targetW: e.value.width / 2 + e.value.left,
@@ -249,10 +315,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
249
315
  v.value.startX = 0, v.value.startY = 0, v.value.width = e.value.width, v.value.height = e.value.height;
250
316
  break;
251
317
  }
252
- f.value = !0;
318
+ p.value = !0;
253
319
  }
254
320
  }
255
- const vt = g(() => {
321
+ const ht = g(() => {
256
322
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
257
323
  for (let r = 0; r < l; r += 1)
258
324
  o.push({
@@ -263,7 +329,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
263
329
  opacity: Math.round((r + 1) / l * 20)
264
330
  });
265
331
  return o;
266
- }), _ = g(() => {
332
+ }), q = g(() => {
267
333
  let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
268
334
  return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.y)))), {
269
335
  x: {
@@ -275,96 +341,98 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
275
341
  min: o
276
342
  }
277
343
  };
278
- }), O = y([]), I = g(() => X.dataset.map((l, u) => ({
344
+ }), O = y([]), I = g(() => _e.value.map((l, u) => ({
279
345
  ...l,
280
- series: _t({
346
+ series: At({
281
347
  data: l.series,
282
348
  threshold: t.value.downsample.threshold
283
349
  }),
284
350
  id: `cat_${u}_${z.value}`,
285
- color: qt(l.color) || Xe.value[u] || he[u]
286
- }))), ct = g(() => I.value.filter((l) => !O.value.includes(l.id))), dt = g(() => I.value.map((l, u) => ({
351
+ color: Tt(l.color) || Ye.value[u] || ye[u]
352
+ }))), yt = g(() => I.value.filter((l) => !O.value.includes(l.id))), bt = g(() => I.value.map((l, u) => ({
287
353
  ...l,
288
354
  shape: l.shape || "circle",
289
355
  series: l.series.map((a) => ({
290
356
  ...a,
291
- x: We(a.x),
292
- y: Ye(a.y),
357
+ x: Me(a.x),
358
+ y: Ne(a.y),
293
359
  xValue: a.x,
294
360
  yValue: a.y,
295
- quadrantSide: Me({ x: a.x, y: a.y }),
361
+ quadrantSide: Re({ x: a.x, y: a.y }),
296
362
  categoryName: l.name,
297
363
  shape: l.shape,
298
364
  color: l.color
299
365
  }))
300
- }))), C = g(() => (X.dataset.forEach((l, u) => {
366
+ }))), S = g(() => (_e.value.forEach((l, u) => {
301
367
  l.series.forEach((a, o) => {
302
- [null, void 0].includes(a.x) && G({
368
+ [null, void 0].includes(a.x) && Q({
303
369
  componentName: "VueUiQuadrant",
304
370
  type: "datasetSerieAttribute",
305
371
  property: "x",
306
372
  key: "series",
307
- index: o
308
- }), [null, void 0].includes(a.y) && G({
373
+ index: o,
374
+ debug: H.value
375
+ }), [null, void 0].includes(a.y) && Q({
309
376
  componentName: "VueUiQuadrant",
310
377
  type: "datasetSerieAttribute",
311
378
  property: "y",
312
379
  key: "series",
313
- index: o
380
+ index: o,
381
+ debug: H.value
314
382
  });
315
383
  });
316
- }), ct.value.map((l, u) => ({
384
+ }), yt.value.map((l, u) => ({
317
385
  ...l,
318
386
  shape: l.shape || "circle",
319
- color: l.color || Xe.value[u] || he[u],
387
+ color: l.color || Ye.value[u] || ye[u],
320
388
  series: l.series.map((a) => ({
321
389
  ...a,
322
- x: We(a.x),
323
- y: Ye(a.y),
390
+ x: Me(a.x),
391
+ y: Ne(a.y),
324
392
  xValue: a.x,
325
393
  yValue: a.y,
326
- quadrantSide: Me({ x: a.x, y: a.y }),
394
+ quadrantSide: Re({ x: a.x, y: a.y }),
327
395
  categoryName: l.name,
328
396
  shape: l.shape,
329
397
  color: l.color,
330
- uid: De()
398
+ uid: je()
331
399
  }))
332
400
  }))));
333
- function We(l) {
401
+ function Me(l) {
334
402
  if (l >= 0) {
335
- const u = l / _.value.x.max;
403
+ const u = l / q.value.x.max;
336
404
  return e.value.centerX + e.value.usableWidth / 2 * u;
337
405
  } else {
338
- const u = Math.abs(l) / Math.abs(_.value.x.min);
406
+ const u = Math.abs(l) / Math.abs(q.value.x.min);
339
407
  return e.value.centerX - e.value.usableWidth / 2 * u;
340
408
  }
341
409
  }
342
- function Ye(l) {
410
+ function Ne(l) {
343
411
  if (l >= 0) {
344
- const u = l / _.value.y.max;
412
+ const u = l / q.value.y.max;
345
413
  return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
346
414
  } else {
347
- const u = Math.abs(l) / Math.abs(_.value.y.min);
415
+ const u = Math.abs(l) / Math.abs(q.value.y.min);
348
416
  return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
349
417
  }
350
418
  }
351
- const le = g(() => {
352
- const l = C.value.flatMap((p) => p.series.map((W) => ({
353
- x: W.xValue,
354
- y: W.yValue,
355
- name: W.name,
356
- category: W.categoryName,
357
- quadrantSide: W.quadrantSide,
358
- sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
359
- color: p.color,
360
- shape: p.shape
361
- }))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
362
- shape: p.shape,
363
- color: p.color
419
+ const K = g(() => {
420
+ const l = S.value.flatMap((f) => f.series.map((A) => ({
421
+ x: A.xValue,
422
+ y: A.yValue,
423
+ name: A.name,
424
+ category: A.categoryName,
425
+ quadrantSide: A.quadrantSide,
426
+ sideName: t.value.style.chart.layout.labels.quadrantLabels[A.quadrantSide].text,
427
+ color: f.color,
428
+ shape: f.shape
429
+ }))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((f) => [f.category, f.name, f.x, f.y, f.sideName || f.quadrantSide]), b = l.map((f) => ({
430
+ shape: f.shape,
431
+ color: f.color
364
432
  }));
365
433
  return { head: o, body: r, itsShapes: b, tableData: l };
366
- }), ae = g(() => {
367
- const l = le.value.head, u = le.value.tableData.map((o) => [
434
+ }), ee = g(() => {
435
+ const l = K.value.head, u = K.value.tableData.map((o) => [
368
436
  {
369
437
  shape: o.shape,
370
438
  color: o.color,
@@ -374,7 +442,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
374
442
  F(
375
443
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
376
444
  o.x,
377
- V({
445
+ B({
378
446
  v: o.x,
379
447
  r: t.value.style.chart.layout.labels.plotLabels.rounding
380
448
  })
@@ -382,7 +450,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
382
450
  F(
383
451
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
384
452
  o.y,
385
- V({
453
+ B({
386
454
  v: o.y,
387
455
  r: t.value.style.chart.layout.labels.plotLabels.rounding
388
456
  })
@@ -403,20 +471,20 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
403
471
  };
404
472
  return { head: l, body: u, config: a, colNames: l };
405
473
  });
406
- function ie(l) {
474
+ function ve(l) {
407
475
  O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
408
- const u = Re();
409
- se("selectLegend", u);
476
+ const u = Pe();
477
+ oe("selectLegend", u);
410
478
  }
411
- const Ae = g(() => dt.value.map((l) => ({
479
+ const Oe = g(() => bt.value.map((l) => ({
412
480
  name: l.name,
413
481
  shape: l.shape,
414
482
  color: l.color,
415
483
  id: l.id,
416
484
  opacity: O.value.includes(l.id) ? 0.5 : 1,
417
- segregate: () => ie(l.id),
485
+ segregate: () => ve(l.id),
418
486
  isSegregated: O.value.includes(l.id)
419
- }))), ht = g(() => ({
487
+ }))), ft = g(() => ({
420
488
  cy: "quadrant-div-legend",
421
489
  backgroundColor: t.value.style.chart.legend.backgroundColor,
422
490
  color: t.value.style.chart.legend.color,
@@ -424,7 +492,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
424
492
  paddingBottom: 12,
425
493
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
426
494
  }));
427
- function Me(l) {
495
+ function Re(l) {
428
496
  switch (!0) {
429
497
  case (l.x >= 0 && l.y >= 0):
430
498
  return "tr";
@@ -438,28 +506,28 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
438
506
  return "";
439
507
  }
440
508
  }
441
- const J = y(null), j = y(null), ve = y(null);
442
- function Ne(l, u, a) {
443
- J.value = u.uid, j.value = {
509
+ const te = y(null), le = y(null), de = y(null);
510
+ function Fe(l, u, a) {
511
+ t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: u, seriesIndex: a }), te.value = u.uid, le.value = {
444
512
  color: l.color,
445
513
  shape: l.shape
446
- }, ve.value = {
514
+ }, de.value = {
447
515
  datapoint: u,
448
516
  seriesIndex: a,
449
- series: C.value,
517
+ series: S.value,
450
518
  config: t.value
451
- }, ee.value = !0;
519
+ }, se.value = !0;
452
520
  const o = t.value.style.chart.tooltip.customFormat;
453
- if (At(o) && Mt(() => o({
521
+ if (Ft(o) && Bt(() => o({
454
522
  seriesIndex: a,
455
523
  datapoint: u,
456
- series: C.value,
524
+ series: S.value,
457
525
  config: t.value
458
526
  })))
459
527
  re.value = o({
460
528
  seriesIndex: a,
461
529
  datapoint: u,
462
- series: C.value,
530
+ series: S.value,
463
531
  config: t.value
464
532
  });
465
533
  else {
@@ -467,7 +535,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
467
535
  u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${F(
468
536
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
469
537
  u.xValue,
470
- V({
538
+ B({
471
539
  v: u.xValue,
472
540
  r: t.value.style.chart.tooltip.roundingValue
473
541
  }),
@@ -475,7 +543,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
475
543
  )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${F(
476
544
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
477
545
  u.yValue,
478
- V({
546
+ B({
479
547
  v: u.yValue,
480
548
  r: t.value.style.chart.tooltip.roundingValue
481
549
  }),
@@ -483,8 +551,12 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
483
551
  )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
484
552
  }
485
553
  }
486
- function Oe(l, u) {
487
- const a = {
554
+ function Be(l, u) {
555
+ se.value = !1, te.value = null, le.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: l, seriesIndex: u });
556
+ }
557
+ function Ve(l, u, a) {
558
+ t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: u, seriesIndex: a });
559
+ const o = {
488
560
  category: l.name,
489
561
  shape: l.shape,
490
562
  itemName: u.name,
@@ -493,11 +565,11 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
493
565
  quadrantSide: u.quadrantSide,
494
566
  sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
495
567
  };
496
- se("selectPlot", a);
568
+ oe("selectPlot", o);
497
569
  }
498
- function Z(l) {
570
+ function j(l) {
499
571
  if (!l) return;
500
- const u = C.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
572
+ const u = S.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
501
573
  category: r.categoryName,
502
574
  itemName: r.name,
503
575
  x: r.xValue,
@@ -507,7 +579,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
507
579
  sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
508
580
  items: [...u]
509
581
  };
510
- se("selectSide", a);
582
+ oe("selectSide", a);
511
583
  }
512
584
  const w = g(() => ({
513
585
  TL: {
@@ -615,8 +687,8 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
615
687
  }
616
688
  }
617
689
  }));
618
- function Re() {
619
- return C.value.map((l) => ({
690
+ function Pe() {
691
+ return S.value.map((l) => ({
620
692
  color: l.color,
621
693
  name: l.name,
622
694
  shape: l.shape,
@@ -629,32 +701,32 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
629
701
  }))
630
702
  }));
631
703
  }
632
- function Fe(l = null) {
633
- mt(() => {
634
- const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, r = u.concat([a]).concat(o), b = Wt(r);
635
- l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
704
+ function He(l = null) {
705
+ Lt(() => {
706
+ const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = K.value.head, o = K.value.body, r = u.concat([a]).concat(o), b = Ot(r);
707
+ l ? l(b) : Rt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
636
708
  });
637
709
  }
638
710
  const E = y(!1);
639
- function Ve(l) {
640
- E.value = l, ye.value += 1;
711
+ function Ie(l) {
712
+ E.value = l, fe.value += 1;
641
713
  }
642
- function Be() {
714
+ function Ee() {
643
715
  $.value.showTable = !$.value.showTable;
644
716
  }
645
- function Pe() {
717
+ function De() {
646
718
  $.value.plotLabels.show = !$.value.plotLabels.show;
647
719
  }
648
- function He() {
720
+ function Ue() {
649
721
  $.value.showTooltip = !$.value.showTooltip;
650
722
  }
651
- const ue = y(!1);
723
+ const ae = y(!1);
652
724
  function ce() {
653
- ue.value = !ue.value;
725
+ ae.value = !ae.value;
654
726
  }
655
- async function yt({ scale: l = 2 } = {}) {
656
- if (!A.value) return;
657
- const { width: u, height: a } = A.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Ht({ domElement: A.value, base64: !0, img: !0, scale: l });
727
+ async function pt({ scale: l = 2 } = {}) {
728
+ if (!Y.value) return;
729
+ const { width: u, height: a } = Y.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Dt({ domElement: Y.value, base64: !0, img: !0, scale: l });
658
730
  return {
659
731
  imageUri: r,
660
732
  base64: b,
@@ -664,49 +736,49 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
664
736
  aspectRatio: o
665
737
  };
666
738
  }
667
- return je({
668
- getData: Re,
669
- getImage: yt,
670
- generatePdf: ze,
671
- generateCsv: Fe,
672
- generateImage: Te,
673
- toggleTable: Be,
674
- toggleLabels: Pe,
675
- toggleTooltip: He,
739
+ return tt({
740
+ getData: Pe,
741
+ getImage: pt,
742
+ generatePdf: Xe,
743
+ generateCsv: He,
744
+ generateImage: We,
745
+ toggleTable: Ee,
746
+ toggleLabels: De,
747
+ toggleTooltip: Ue,
676
748
  toggleAnnotator: ce,
677
- toggleFullscreen: Ve
749
+ toggleFullscreen: Ie
678
750
  }), (l, u) => (s(), n("div", {
679
751
  class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
680
752
  ref_key: "quadrantChart",
681
- ref: A,
753
+ ref: Y,
682
754
  id: `vue-ui-quadrant_${z.value}`,
683
- style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
684
- onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
685
- onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
755
+ style: _(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
756
+ onMouseenter: u[14] || (u[14] = () => i(qe)(!0)),
757
+ onMouseleave: u[15] || (u[15] = () => i(qe)(!1))
686
758
  }, [
687
- t.value.userOptions.buttons.annotator ? (s(), R(i(et), {
759
+ t.value.userOptions.buttons.annotator ? (s(), R(i(st), {
688
760
  key: 0,
689
- svgRef: i(we),
761
+ svgRef: i(Se),
690
762
  backgroundColor: t.value.style.chart.backgroundColor,
691
763
  color: t.value.style.chart.color,
692
- active: ue.value,
764
+ active: ae.value,
693
765
  onClose: ce
694
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
695
- nt.value ? (s(), n("div", {
766
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
767
+ dt.value ? (s(), n("div", {
696
768
  key: 1,
697
769
  ref_key: "noTitle",
698
- ref: ge,
770
+ ref: xe,
699
771
  class: "vue-data-ui-no-title-space",
700
772
  style: "height:36px; width: 100%;background:transparent"
701
- }, null, 512)) : h("", !0),
773
+ }, null, 512)) : c("", !0),
702
774
  t.value.style.chart.title.text ? (s(), n("div", {
703
775
  key: 2,
704
776
  ref_key: "chartTitle",
705
- ref: be,
777
+ ref: pe,
706
778
  style: "width:100%;background:transparent;padding-bottom:12px"
707
779
  }, [
708
- (s(), R(Bt, {
709
- key: `table_${me.value}`,
780
+ (s(), R(Ut, {
781
+ key: `table_${$e.value}`,
710
782
  config: {
711
783
  title: {
712
784
  cy: "quadrant-title",
@@ -718,15 +790,15 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
718
790
  }
719
791
  }
720
792
  }, null, 8, ["config"]))
721
- ], 512)) : h("", !0),
722
- t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), R(i(ut), {
793
+ ], 512)) : c("", !0),
794
+ t.value.userOptions.show && be.value && (i(Ce) || i(ne)) ? (s(), R(i(rt), {
723
795
  ref_key: "details",
724
- ref: rt,
725
- key: `user_options_${ye.value}`,
796
+ ref: vt,
797
+ key: `user_options_${fe.value}`,
726
798
  backgroundColor: t.value.style.chart.backgroundColor,
727
799
  color: t.value.style.chart.color,
728
- isImaging: i(Ce),
729
- isPrinting: i(Se),
800
+ isImaging: i(Ae),
801
+ isPrinting: i(Te),
730
802
  uid: z.value,
731
803
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
732
804
  hasPdf: t.value.userOptions.buttons.pdf,
@@ -738,28 +810,28 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
738
810
  isFullscreen: E.value,
739
811
  isTooltip: $.value.showTooltip,
740
812
  titles: { ...t.value.userOptions.buttonTitles },
741
- chartElement: A.value,
813
+ chartElement: Y.value,
742
814
  position: t.value.userOptions.position,
743
815
  hasAnnotator: t.value.userOptions.buttons.annotator,
744
- isAnnotation: ue.value,
816
+ isAnnotation: ae.value,
745
817
  callbacks: t.value.userOptions.callbacks,
746
818
  printScale: t.value.userOptions.print.scale,
747
- onToggleFullscreen: Ve,
748
- onGeneratePdf: i(ze),
749
- onGenerateCsv: Fe,
750
- onGenerateImage: i(Te),
751
- onToggleTable: Be,
752
- onToggleLabels: Pe,
753
- onToggleTooltip: He,
819
+ onToggleFullscreen: Ie,
820
+ onGeneratePdf: i(Xe),
821
+ onGenerateCsv: He,
822
+ onGenerateImage: i(We),
823
+ onToggleTable: Ee,
824
+ onToggleLabels: De,
825
+ onToggleTooltip: Ue,
754
826
  onToggleAnnotator: ce,
755
- style: q({
756
- visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
827
+ style: _({
828
+ visibility: i(Ce) ? i(ne) ? "visible" : "hidden" : "visible"
757
829
  })
758
- }, pt({ _: 2 }, [
830
+ }, $t({ _: 2 }, [
759
831
  l.$slots.menuIcon ? {
760
832
  name: "menuIcon",
761
833
  fn: m(({ isOpen: a, color: o }) => [
762
- x(l.$slots, "menuIcon", U(D({ isOpen: a, color: o })), void 0, !0)
834
+ x(l.$slots, "menuIcon", U(G({ isOpen: a, color: o })), void 0, !0)
763
835
  ]),
764
836
  key: "0"
765
837
  } : void 0,
@@ -808,29 +880,28 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
808
880
  l.$slots.optionFullscreen ? {
809
881
  name: "optionFullscreen",
810
882
  fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
811
- x(l.$slots, "optionFullscreen", U(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
883
+ x(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
812
884
  ]),
813
885
  key: "7"
814
886
  } : void 0,
815
887
  l.$slots.optionAnnotator ? {
816
888
  name: "optionAnnotator",
817
889
  fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
818
- x(l.$slots, "optionAnnotator", U(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
890
+ x(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
819
891
  ]),
820
892
  key: "8"
821
893
  } : void 0
822
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
823
- K.value ? (s(), n("svg", {
824
- key: 4,
894
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
895
+ (s(), n("svg", {
825
896
  ref_key: "svgRef",
826
- ref: we,
827
- xmlns: i(St),
897
+ ref: Se,
898
+ xmlns: i(Xt),
828
899
  class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
829
900
  viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
830
- style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
901
+ style: _(`max-width:100%;overflow:hidden;background:transparent;color:${t.value.style.chart.color}`),
831
902
  id: `svg_${z.value}`
832
903
  }, [
833
- de(i(ot)),
904
+ he(i(nt)),
834
905
  l.$slots["chart-background"] ? (s(), n("foreignObject", {
835
906
  key: 0,
836
907
  x: v.value.startX,
@@ -842,9 +913,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
842
913
  }
843
914
  }, [
844
915
  x(l.$slots, "chart-background", {}, void 0, !0)
845
- ], 8, Dt)) : h("", !0),
846
- d("defs", null, [
847
- (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("radialGradient", {
916
+ ], 8, el)) : c("", !0),
917
+ h("defs", null, [
918
+ (s(!0), n(C, null, X(S.value, (a, o) => (s(), n("radialGradient", {
848
919
  cx: "50%",
849
920
  cy: "50%",
850
921
  r: "50%",
@@ -852,19 +923,19 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
852
923
  fy: "50%",
853
924
  id: `quadrant_gradient_${z.value}_${o}`
854
925
  }, [
855
- d("stop", {
926
+ h("stop", {
856
927
  offset: "0%",
857
- "stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
858
- }, null, 8, Qt),
859
- d("stop", {
928
+ "stop-color": i(ue)(i(Wt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
929
+ }, null, 8, ll),
930
+ h("stop", {
860
931
  offset: "100%",
861
- "stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
862
- }, null, 8, Jt)
863
- ], 8, Gt))), 256))
932
+ "stop-color": i(ue)(a.color, t.value.style.chart.layout.areas.opacity)
933
+ }, null, 8, al)
934
+ ], 8, tl))), 256))
864
935
  ]),
865
- t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", jt, [
866
- (s(!0), n(S, null, Y(vt.value, (a) => (s(), n("rect", {
867
- fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
936
+ t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", ul, [
937
+ (s(!0), n(C, null, X(ht.value, (a) => (s(), n("rect", {
938
+ fill: t.value.style.chart.layout.grid.graduations.fill ? i(ue)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
868
939
  x: a.x,
869
940
  y: a.y,
870
941
  height: a.height <= 0 ? 1e-3 : a.height,
@@ -872,47 +943,47 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
872
943
  "stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
873
944
  stroke: t.value.style.chart.layout.grid.graduations.stroke,
874
945
  rx: t.value.style.chart.layout.grid.graduations.roundingForce
875
- }, null, 8, Zt))), 256))
876
- ])) : h("", !0),
877
- d("line", {
946
+ }, null, 8, ol))), 256))
947
+ ])) : c("", !0),
948
+ h("line", {
878
949
  x1: e.value.left,
879
950
  y1: e.value.centerY,
880
951
  x2: e.value.right,
881
952
  y2: e.value.centerY,
882
953
  stroke: t.value.style.chart.layout.grid.stroke,
883
954
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
884
- }, null, 8, Kt),
885
- d("line", {
955
+ }, null, 8, sl),
956
+ h("line", {
886
957
  x1: e.value.centerX,
887
958
  y1: e.value.top,
888
959
  x2: e.value.centerX,
889
960
  y2: e.value.bottom,
890
961
  stroke: t.value.style.chart.layout.grid.stroke,
891
962
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
892
- }, null, 8, el),
893
- t.value.style.chart.layout.grid.showArrows ? (s(), n("g", tl, [
894
- d("polygon", {
963
+ }, null, 8, rl),
964
+ t.value.style.chart.layout.grid.showArrows ? (s(), n("g", nl, [
965
+ h("polygon", {
895
966
  points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
896
967
  fill: t.value.style.chart.layout.grid.stroke,
897
968
  stroke: "none"
898
- }, null, 8, ll),
899
- d("polygon", {
969
+ }, null, 8, il),
970
+ h("polygon", {
900
971
  points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
901
972
  fill: t.value.style.chart.layout.grid.stroke,
902
973
  stroke: "none"
903
- }, null, 8, al),
904
- d("polygon", {
974
+ }, null, 8, vl),
975
+ h("polygon", {
905
976
  points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
906
977
  fill: t.value.style.chart.layout.grid.stroke,
907
978
  stroke: "none"
908
- }, null, 8, ul),
909
- d("polygon", {
979
+ }, null, 8, dl),
980
+ h("polygon", {
910
981
  points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
911
982
  fill: t.value.style.chart.layout.grid.stroke,
912
983
  stroke: "none"
913
- }, null, 8, ol)
914
- ])) : h("", !0),
915
- t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), n("g", sl, [
984
+ }, null, 8, cl)
985
+ ])) : c("", !0),
986
+ t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g", hl, [
916
987
  t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
917
988
  key: 0,
918
989
  x: 0,
@@ -920,9 +991,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
920
991
  "text-anchor": "start",
921
992
  fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
922
993
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
923
- style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
924
- onClick: u[0] || (u[0] = (a) => Z("tl"))
925
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
994
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
995
+ onClick: u[0] || (u[0] = (a) => j("tl"))
996
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, yl)) : c("", !0),
926
997
  t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
927
998
  key: 1,
928
999
  x: e.value.width,
@@ -930,9 +1001,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
930
1001
  "text-anchor": "end",
931
1002
  fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
932
1003
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
933
- style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
934
- onClick: u[1] || (u[1] = (a) => Z("tr"))
935
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
1004
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1005
+ onClick: u[1] || (u[1] = (a) => j("tr"))
1006
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, bl)) : c("", !0),
936
1007
  t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
937
1008
  key: 2,
938
1009
  x: e.value.width,
@@ -940,9 +1011,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
940
1011
  "text-anchor": "end",
941
1012
  fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
942
1013
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
943
- style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
944
- onClick: u[2] || (u[2] = (a) => Z("br"))
945
- }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
1014
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1015
+ onClick: u[2] || (u[2] = (a) => j("br"))
1016
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, fl)) : c("", !0),
946
1017
  t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
947
1018
  key: 3,
948
1019
  x: 0,
@@ -950,12 +1021,12 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
950
1021
  "text-anchor": "start",
951
1022
  fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
952
1023
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
953
- style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
954
- onClick: u[3] || (u[3] = (a) => Z("bl"))
955
- }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
956
- ])) : h("", !0),
957
- t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", cl, [
958
- d("text", {
1024
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1025
+ onClick: u[3] || (u[3] = (a) => j("bl"))
1026
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, pl)) : c("", !0)
1027
+ ])) : c("", !0),
1028
+ t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", gl, [
1029
+ h("text", {
959
1030
  x: e.value.centerX,
960
1031
  y: e.value.top - e.value.padding / 6,
961
1032
  "text-anchor": "middle",
@@ -963,20 +1034,20 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
963
1034
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
964
1035
  }, L(i(F)(
965
1036
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
966
- _.value.y.max,
967
- i(V)({
968
- v: _.value.y.max,
1037
+ q.value.y.max,
1038
+ i(B)({
1039
+ v: q.value.y.max,
969
1040
  r: t.value.style.chart.layout.labels.plotLabels.rounding
970
1041
  })
971
- )), 9, dl),
972
- d("text", {
1042
+ )), 9, ml),
1043
+ h("text", {
973
1044
  x: e.value.centerX,
974
1045
  y: e.value.top - e.value.padding / 2,
975
1046
  "text-anchor": "middle",
976
1047
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
977
1048
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
978
- }, L(t.value.style.chart.layout.grid.yAxis.name), 9, hl),
979
- d("text", {
1049
+ }, L(t.value.style.chart.layout.grid.yAxis.name), 9, xl),
1050
+ h("text", {
980
1051
  x: e.value.centerX,
981
1052
  y: e.value.bottom + e.value.padding * 0.35,
982
1053
  "text-anchor": "middle",
@@ -984,13 +1055,13 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
984
1055
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
985
1056
  }, L(i(F)(
986
1057
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
987
- _.value.y.min,
988
- i(V)({
989
- v: _.value.y.min,
1058
+ q.value.y.min,
1059
+ i(B)({
1060
+ v: q.value.y.min,
990
1061
  r: t.value.style.chart.layout.labels.plotLabels.rounding
991
1062
  })
992
- )), 9, yl),
993
- d("text", {
1063
+ )), 9, $l),
1064
+ h("text", {
994
1065
  id: `xLabelMin_${z.value}`,
995
1066
  "text-anchor": "middle",
996
1067
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
@@ -998,13 +1069,13 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
998
1069
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
999
1070
  }, L(i(F)(
1000
1071
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1001
- _.value.x.min,
1002
- i(V)({
1003
- v: _.value.x.min,
1072
+ q.value.x.min,
1073
+ i(B)({
1074
+ v: q.value.x.min,
1004
1075
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1005
1076
  })
1006
- )), 9, bl),
1007
- d("text", {
1077
+ )), 9, kl),
1078
+ h("text", {
1008
1079
  id: `xLabelMax_${z.value}`,
1009
1080
  "text-anchor": "middle",
1010
1081
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
@@ -1012,281 +1083,260 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
1012
1083
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1013
1084
  }, L(i(F)(
1014
1085
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1015
- _.value.x.max,
1016
- i(V)({
1017
- v: _.value.x.max,
1086
+ q.value.x.max,
1087
+ i(B)({
1088
+ v: q.value.x.max,
1018
1089
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1019
1090
  })
1020
- )), 9, fl),
1021
- d("text", {
1091
+ )), 9, Ll),
1092
+ h("text", {
1022
1093
  id: `xLabelMaxName_${z.value}`,
1023
1094
  "text-anchor": "middle",
1024
1095
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1025
1096
  transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1026
1097
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1027
- }, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
1028
- ])) : h("", !0),
1029
- t.value.style.chart.layout.areas.show ? (s(), n("g", gl, [
1030
- (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
1098
+ }, L(t.value.style.chart.layout.grid.xAxis.name), 9, wl)
1099
+ ])) : c("", !0),
1100
+ t.value.style.chart.layout.areas.show ? (s(), n("g", _l, [
1101
+ (s(!0), n(C, null, X(S.value, (a, o) => (s(), n("g", null, [
1031
1102
  a.series.length > 2 ? (s(), n("polygon", {
1032
1103
  key: 0,
1033
1104
  "data-cy-quadrant-area": "",
1034
- fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${o})` : i(oe)(a.color, t.value.style.chart.layout.areas.opacity),
1035
- points: i(zt)(a)
1036
- }, null, 8, ml)) : h("", !0)
1105
+ fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${o})` : i(ue)(a.color, t.value.style.chart.layout.areas.opacity),
1106
+ points: i(Yt)(a)
1107
+ }, null, 8, ql)) : c("", !0)
1037
1108
  ]))), 256))
1038
- ])) : h("", !0),
1039
- d("g", null, [
1040
- d("rect", {
1109
+ ])) : c("", !0),
1110
+ h("g", null, [
1111
+ h("rect", {
1041
1112
  onClick: u[4] || (u[4] = (a) => N("TL")),
1042
1113
  x: e.value.left,
1043
1114
  y: e.value.top,
1044
1115
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1045
1116
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1046
1117
  fill: "transparent",
1047
- class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1048
- }, null, 10, xl),
1049
- d("rect", {
1118
+ class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1119
+ }, null, 10, Cl),
1120
+ h("rect", {
1050
1121
  onClick: u[5] || (u[5] = (a) => N("TR")),
1051
1122
  x: e.value.centerX,
1052
1123
  y: e.value.top,
1053
1124
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1054
1125
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1055
1126
  fill: "transparent",
1056
- class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1057
- }, null, 10, $l),
1058
- d("rect", {
1127
+ class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1128
+ }, null, 10, Sl),
1129
+ h("rect", {
1059
1130
  onClick: u[6] || (u[6] = (a) => N("BR")),
1060
1131
  x: e.value.centerX,
1061
1132
  y: e.value.centerY,
1062
1133
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1063
1134
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1064
1135
  fill: "transparent",
1065
- class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1066
- }, null, 10, kl),
1067
- d("rect", {
1136
+ class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1137
+ }, null, 10, zl),
1138
+ h("rect", {
1068
1139
  onClick: u[7] || (u[7] = (a) => N("BL")),
1069
1140
  x: e.value.left,
1070
1141
  y: e.value.centerY,
1071
1142
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1072
1143
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1073
1144
  fill: "transparent",
1074
- class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1075
- }, null, 10, Ll)
1145
+ class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1146
+ }, null, 10, Tl)
1076
1147
  ]),
1077
- t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
1078
- $.value.plotLabels.show ? (s(), n("g", Sl, [
1079
- (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n(S, null, [
1080
- (s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
1148
+ t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(C, { key: 7 }, [
1149
+ $.value.plotLabels.show ? (s(), n("g", Yl, [
1150
+ (s(!0), n(C, null, X(S.value, (a, o) => (s(), n(C, null, [
1151
+ (s(!0), n(C, null, X(a.series, (r) => (s(), n("foreignObject", {
1081
1152
  style: { overflow: "visible" },
1082
1153
  height: "10",
1083
1154
  width: "100",
1084
1155
  x: r.x - 50,
1085
1156
  y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1086
- onMouseover: (b) => Ne(a, r, o),
1087
- onMouseleave: u[9] || (u[9] = (b) => {
1088
- ee.value = !1, J.value = null, j.value = null;
1089
- }),
1090
- onClick: (b) => Oe(a, r)
1157
+ onMouseover: (b) => Fe(a, r, o),
1158
+ onMouseleave: (b) => Be(r, o),
1159
+ onClick: (b) => Ve(a, r, o)
1091
1160
  }, [
1092
- d("div", {
1093
- style: q(`color:${i(Xt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1161
+ h("div", {
1162
+ style: _(`color:${i(Nt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1094
1163
  }, L(r.name), 5)
1095
- ], 40, Cl))), 256))
1164
+ ], 40, Ml))), 256))
1096
1165
  ], 64))), 256))
1097
- ])) : h("", !0)
1098
- ], 64)) : (s(), n(S, { key: 6 }, [
1099
- (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
1100
- (s(!0), n(S, null, Y(a.series, (r) => (s(), R(Qe, {
1166
+ ])) : c("", !0)
1167
+ ], 64)) : (s(), n(C, { key: 6 }, [
1168
+ (s(!0), n(C, null, X(S.value, (a, o) => (s(), n("g", null, [
1169
+ (s(!0), n(C, null, X(a.series, (r) => (s(), R(Ke, {
1101
1170
  color: a.color,
1102
- isSelected: J.value && r.uid === J.value,
1171
+ isSelected: te.value && r.uid === te.value,
1103
1172
  plot: r,
1104
- radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
1173
+ radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
1105
1174
  shape: a.shape,
1106
1175
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1107
1176
  strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
1108
- onMouseenter: (b) => Ne(a, r, o),
1109
- onMouseleave: u[8] || (u[8] = (b) => {
1110
- ee.value = !1, J.value = null, j.value = null;
1111
- }),
1112
- onClick: (b) => Oe(a, r)
1113
- }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
1177
+ onMouseenter: (b) => Fe(a, r, o),
1178
+ onMouseleave: (b) => Be(r, o),
1179
+ onClick: (b) => Ve(a, r, o)
1180
+ }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
1114
1181
  ]))), 256)),
1115
- $.value.plotLabels.show ? (s(), n("g", wl, [
1116
- (s(!0), n(S, null, Y(C.value, (a) => (s(), n("g", null, [
1117
- (s(!0), n(S, null, Y(a.series, (o) => (s(), n("g", null, [
1182
+ $.value.plotLabels.show ? (s(), n("g", Al, [
1183
+ (s(!0), n(C, null, X(S.value, (a) => (s(), n("g", null, [
1184
+ (s(!0), n(C, null, X(a.series, (o) => (s(), n("g", null, [
1118
1185
  String(o.name).includes(`
1119
1186
  `) ? (s(), n("text", {
1120
1187
  key: 1,
1121
1188
  x: o.x,
1122
1189
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1123
1190
  "text-anchor": "middle",
1124
- "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1191
+ "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1125
1192
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1126
- innerHTML: i(Tt)({
1193
+ innerHTML: i(Mt)({
1127
1194
  content: String(o.name),
1128
- fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1195
+ fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1129
1196
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1130
1197
  x: o.x,
1131
1198
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
1132
1199
  })
1133
- }, null, 8, _l)) : (s(), n("text", {
1200
+ }, null, 8, Wl)) : (s(), n("text", {
1134
1201
  key: 0,
1135
1202
  x: o.x,
1136
1203
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1137
1204
  "text-anchor": "middle",
1138
- "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1205
+ "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1139
1206
  fill: t.value.style.chart.layout.labels.plotLabels.color
1140
- }, L(o.name), 9, ql))
1207
+ }, L(o.name), 9, Xl))
1141
1208
  ]))), 256))
1142
1209
  ]))), 256))
1143
- ])) : h("", !0)
1210
+ ])) : c("", !0)
1144
1211
  ], 64)),
1145
- f.value ? (s(), n("g", zl, [
1146
- c.value === "TL" ? (s(), n("polygon", {
1212
+ p.value ? (s(), n("g", Nl, [
1213
+ d.value === "TL" ? (s(), n("polygon", {
1147
1214
  key: 0,
1148
1215
  points: `${e.value.left - 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.top - 1} ${e.value.right},${e.value.top - 1} ${e.value.right},${e.value.bottom} ${e.value.left - 1},${e.value.bottom} ${e.value.left - 1},${e.value.centerY}`,
1149
1216
  fill: t.value.style.chart.backgroundColor,
1150
1217
  style: { opacity: "1" }
1151
- }, null, 8, Tl)) : h("", !0),
1152
- c.value === "TR" ? (s(), n("polygon", {
1218
+ }, null, 8, Ol)) : c("", !0),
1219
+ d.value === "TR" ? (s(), n("polygon", {
1153
1220
  key: 1,
1154
1221
  points: `${e.value.left},${e.value.top - 1} ${e.value.centerX},${e.value.top - 1} ${e.value.centerX},${e.value.centerY} ${e.value.right + 1},${e.value.centerY} ${e.value.right + 1},${e.value.bottom} ${e.value.left},${e.value.bottom} ${e.value.left},${e.value.top - 1}`,
1155
1222
  fill: t.value.style.chart.backgroundColor,
1156
1223
  style: { opacity: "1" }
1157
- }, null, 8, Xl)) : h("", !0),
1158
- c.value === "BR" ? (s(), n("polygon", {
1224
+ }, null, 8, Rl)) : c("", !0),
1225
+ d.value === "BR" ? (s(), n("polygon", {
1159
1226
  key: 2,
1160
1227
  points: `${e.value.left},${e.value.top} ${e.value.right + 1},${e.value.top} ${e.value.right + 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.bottom + 1} ${e.value.left},${e.value.bottom + 1} ${e.value.left},${e.value.top}`,
1161
1228
  fill: t.value.style.chart.backgroundColor,
1162
1229
  style: { opacity: "1" }
1163
- }, null, 8, Wl)) : h("", !0),
1164
- c.value === "BL" ? (s(), n("polygon", {
1230
+ }, null, 8, Fl)) : c("", !0),
1231
+ d.value === "BL" ? (s(), n("polygon", {
1165
1232
  key: 3,
1166
1233
  points: `${e.value.left - 1},${e.value.top} ${e.value.right},${e.value.top} ${e.value.right},${e.value.bottom + 1} ${e.value.centerX},${e.value.bottom + 1} ${e.value.centerX},${e.value.centerY} ${e.value.left - 1},${e.value.centerY} ${e.value.left - 1},${e.value.top}`,
1167
1234
  fill: t.value.style.chart.backgroundColor,
1168
1235
  style: { opacity: "1" }
1169
- }, null, 8, Yl)) : h("", !0)
1170
- ])) : h("", !0),
1171
- c.value && !te.value ? (s(), n("g", Al, [
1172
- d("text", {
1173
- x: B.value.x,
1174
- y: B.value.y - B.value.fontSize / 1.5,
1175
- "font-size": B.value.fontSize / 1.5,
1176
- fill: B.value.fill,
1236
+ }, null, 8, Bl)) : c("", !0)
1237
+ ])) : c("", !0),
1238
+ d.value && !Z.value ? (s(), n("g", Vl, [
1239
+ h("text", {
1240
+ x: V.value.x,
1241
+ y: V.value.y - V.value.fontSize / 1.5,
1242
+ "font-size": V.value.fontSize / 1.5,
1243
+ fill: V.value.fill,
1177
1244
  "text-anchor": "middle",
1178
- "font-weight": B.value.bold ? "bold" : "normal"
1179
- }, L(B.value.text), 9, Ml)
1180
- ])) : h("", !0),
1181
- f.value && c.value ? (s(), n("g", Nl, [
1182
- d("rect", {
1183
- x: w.value[c.value].tl.x,
1184
- y: w.value[c.value].tl.y,
1245
+ "font-weight": V.value.bold ? "bold" : "normal"
1246
+ }, L(V.value.text), 9, Pl)
1247
+ ])) : c("", !0),
1248
+ p.value && d.value ? (s(), n("g", Hl, [
1249
+ h("rect", {
1250
+ x: w.value[d.value].tl.x,
1251
+ y: w.value[d.value].tl.y,
1185
1252
  height: "20",
1186
1253
  width: "20",
1187
- fill: w.value[c.value].tl.fill,
1188
- style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
1189
- onClick: u[10] || (u[10] = (a) => N("TL")),
1190
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
1191
- }, null, 14, Ol),
1192
- d("rect", {
1193
- x: w.value[c.value].tr.x,
1194
- y: w.value[c.value].tr.y,
1254
+ fill: w.value[d.value].tl.fill,
1255
+ style: _(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
1256
+ onClick: u[8] || (u[8] = (a) => N("TL")),
1257
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
1258
+ }, null, 14, Il),
1259
+ h("rect", {
1260
+ x: w.value[d.value].tr.x,
1261
+ y: w.value[d.value].tr.y,
1195
1262
  height: "20",
1196
1263
  width: "20",
1197
- fill: w.value[c.value].tr.fill,
1198
- style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
1199
- onClick: u[11] || (u[11] = (a) => N("TR")),
1200
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
1201
- }, null, 14, Rl),
1202
- d("rect", {
1203
- x: w.value[c.value].br.x,
1204
- y: w.value[c.value].br.y,
1264
+ fill: w.value[d.value].tr.fill,
1265
+ style: _(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
1266
+ onClick: u[9] || (u[9] = (a) => N("TR")),
1267
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
1268
+ }, null, 14, El),
1269
+ h("rect", {
1270
+ x: w.value[d.value].br.x,
1271
+ y: w.value[d.value].br.y,
1205
1272
  height: "20",
1206
1273
  width: "20",
1207
- fill: w.value[c.value].br.fill,
1208
- style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
1209
- onClick: u[12] || (u[12] = (a) => N("BR")),
1210
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
1211
- }, null, 14, Fl),
1212
- d("rect", {
1213
- x: w.value[c.value].bl.x,
1214
- y: w.value[c.value].bl.y,
1274
+ fill: w.value[d.value].br.fill,
1275
+ style: _(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
1276
+ onClick: u[10] || (u[10] = (a) => N("BR")),
1277
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
1278
+ }, null, 14, Dl),
1279
+ h("rect", {
1280
+ x: w.value[d.value].bl.x,
1281
+ y: w.value[d.value].bl.y,
1215
1282
  height: "20",
1216
1283
  width: "20",
1217
- fill: w.value[c.value].bl.fill,
1218
- style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
1219
- onClick: u[13] || (u[13] = (a) => N("BL")),
1220
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
1221
- }, null, 14, Vl),
1222
- d("path", {
1284
+ fill: w.value[d.value].bl.fill,
1285
+ style: _(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
1286
+ onClick: u[11] || (u[11] = (a) => N("BL")),
1287
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
1288
+ }, null, 14, Ul),
1289
+ h("path", {
1223
1290
  class: "vue-ui-quadrant-minimap-crosshairs",
1224
1291
  stroke: t.value.style.chart.backgroundColor,
1225
1292
  "stroke-width": 1,
1226
- d: w.value[c.value].crosshairs.horizontal
1227
- }, null, 8, Bl),
1228
- d("path", {
1293
+ d: w.value[d.value].crosshairs.horizontal
1294
+ }, null, 8, Gl),
1295
+ h("path", {
1229
1296
  class: "vue-ui-quadrant-minimap-crosshairs",
1230
1297
  stroke: t.value.style.chart.backgroundColor,
1231
1298
  "stroke-width": 1,
1232
- d: w.value[c.value].crosshairs.vertical
1233
- }, null, 8, Pl)
1234
- ])) : h("", !0),
1299
+ d: w.value[d.value].crosshairs.vertical
1300
+ }, null, 8, Ql)
1301
+ ])) : c("", !0),
1235
1302
  x(l.$slots, "svg", { svg: e.value }, void 0, !0)
1236
- ], 14, Ut)) : h("", !0),
1237
- l.$slots.watermark ? (s(), n("div", Hl, [
1238
- x(l.$slots, "watermark", U(D({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
1239
- ])) : h("", !0),
1240
- K.value ? h("", !0) : (s(), R(i(lt), {
1241
- key: 6,
1242
- config: {
1243
- type: "quadrant",
1244
- style: {
1245
- backgroundColor: t.value.style.chart.backgroundColor,
1246
- quadrant: {
1247
- grid: {
1248
- color: t.value.style.chart.layout.grid.stroke
1249
- },
1250
- plots: {
1251
- color: t.value.style.chart.layout.grid.stroke,
1252
- radius: 1
1253
- }
1254
- }
1255
- }
1256
- }
1257
- }, null, 8, ["config"])),
1258
- d("div", {
1303
+ ], 14, Kt)),
1304
+ l.$slots.watermark ? (s(), n("div", Jl, [
1305
+ x(l.$slots, "watermark", U(G({ isPrinting: i(Te) || i(Ae) })), void 0, !0)
1306
+ ])) : c("", !0),
1307
+ h("div", {
1259
1308
  ref_key: "chartLegend",
1260
- ref: fe
1309
+ ref: ge
1261
1310
  }, [
1262
- t.value.style.chart.legend.show ? (s(), R(Pt, {
1263
- key: `legend_${$e.value}`,
1264
- legendSet: Ae.value,
1265
- config: ht.value,
1266
- onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
1311
+ t.value.style.chart.legend.show ? (s(), R(Gt, {
1312
+ key: `legend_${Le.value}`,
1313
+ legendSet: Oe.value,
1314
+ config: ft.value,
1315
+ onClickMarker: u[12] || (u[12] = ({ legend: a }) => ve(a.id))
1267
1316
  }, {
1268
1317
  item: m(({ legend: a }) => [
1269
- d("div", {
1270
- onClick: (o) => ie(a.id),
1271
- style: q(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
1272
- }, L(a.name), 13, Il)
1318
+ i(we) ? c("", !0) : (s(), n("div", {
1319
+ key: 0,
1320
+ onClick: (o) => ve(a.id),
1321
+ style: _(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
1322
+ }, L(a.name), 13, jl))
1273
1323
  ]),
1274
1324
  _: 1
1275
1325
  }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1276
1326
  key: 1,
1277
- legend: Ae.value
1327
+ legend: Oe.value
1278
1328
  }, void 0, !0)
1279
1329
  ], 512),
1280
1330
  l.$slots.source ? (s(), n("div", {
1281
- key: 7,
1331
+ key: 5,
1282
1332
  ref_key: "source",
1283
- ref: pe,
1333
+ ref: me,
1284
1334
  dir: "auto"
1285
1335
  }, [
1286
1336
  x(l.$slots, "source", {}, void 0, !0)
1287
- ], 512)) : h("", !0),
1288
- de(i(at), {
1289
- show: $.value.showTooltip && ee.value,
1337
+ ], 512)) : c("", !0),
1338
+ he(i(at), {
1339
+ show: $.value.showTooltip && se.value,
1290
1340
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1291
1341
  color: t.value.style.chart.tooltip.color,
1292
1342
  borderRadius: t.value.style.chart.tooltip.borderRadius,
@@ -1296,7 +1346,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
1296
1346
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1297
1347
  position: t.value.style.chart.tooltip.position,
1298
1348
  offsetY: t.value.style.chart.tooltip.offsetY,
1299
- parent: A.value,
1349
+ parent: Y.value,
1300
1350
  content: re.value,
1301
1351
  isFullscreen: E.value,
1302
1352
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function",
@@ -1304,27 +1354,27 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
1304
1354
  backdropFilter: t.value.style.chart.tooltip.backdropFilter
1305
1355
  }, {
1306
1356
  "tooltip-before": m(() => [
1307
- x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
1357
+ x(l.$slots, "tooltip-before", U(G({ ...de.value })), void 0, !0)
1308
1358
  ]),
1309
1359
  "tooltip-after": m(() => [
1310
- x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
1360
+ x(l.$slots, "tooltip-after", U(G({ ...de.value })), void 0, !0)
1311
1361
  ]),
1312
1362
  default: m(() => [
1313
- t.value.style.chart.tooltip.showShape ? (s(), n("svg", El, [
1314
- de(Qe, {
1363
+ t.value.style.chart.tooltip.showShape ? (s(), n("svg", Zl, [
1364
+ he(Ke, {
1315
1365
  plot: { x: 10, y: 10 },
1316
- shape: j.value.shape,
1317
- color: j.value.color,
1366
+ shape: le.value.shape,
1367
+ color: le.value.color,
1318
1368
  radius: 8,
1319
1369
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1320
1370
  "stroke-width": t.value.style.chart.layout.plots.outlineWidth
1321
1371
  }, null, 8, ["shape", "color", "stroke", "stroke-width"])
1322
- ])) : h("", !0)
1372
+ ])) : c("", !0)
1323
1373
  ]),
1324
1374
  _: 3
1325
1375
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1326
- K.value ? (s(), R(i(tt), {
1327
- key: 8,
1376
+ be.value ? (s(), R(i(ut), {
1377
+ key: 6,
1328
1378
  hideDetails: "",
1329
1379
  config: {
1330
1380
  open: $.value.showTable,
@@ -1340,31 +1390,32 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
1340
1390
  }
1341
1391
  }, {
1342
1392
  content: m(() => [
1343
- (s(), R(i(Ke), {
1344
- key: `table_${xe.value}`,
1345
- colNames: ae.value.colNames,
1346
- head: ae.value.head,
1347
- body: ae.value.body,
1348
- config: ae.value.config,
1393
+ (s(), R(i(ot), {
1394
+ key: `table_${ke.value}`,
1395
+ colNames: ee.value.colNames,
1396
+ head: ee.value.head,
1397
+ body: ee.value.body,
1398
+ config: ee.value.config,
1349
1399
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1350
- onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
1400
+ onClose: u[13] || (u[13] = (a) => $.value.showTable = !1)
1351
1401
  }, {
1352
1402
  th: m(({ th: a }) => [
1353
- gt(L(a), 1)
1403
+ kt(L(a), 1)
1354
1404
  ]),
1355
1405
  td: m(({ td: a }) => [
1356
- d("div", {
1406
+ h("div", {
1357
1407
  innerHTML: a.name || a
1358
- }, null, 8, Ul)
1408
+ }, null, 8, Kl)
1359
1409
  ]),
1360
1410
  _: 1
1361
1411
  }, 8, ["colNames", "head", "body", "config", "title"]))
1362
1412
  ]),
1363
1413
  _: 1
1364
- }, 8, ["config"])) : h("", !0)
1365
- ], 46, Et));
1414
+ }, 8, ["config"])) : c("", !0),
1415
+ i(we) ? (s(), R(Jt, { key: 7 })) : c("", !0)
1416
+ ], 46, Zt));
1366
1417
  }
1367
- }, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-929dd56e"]]);
1418
+ }, ya = /* @__PURE__ */ jt(ea, [["__scopeId", "data-v-d487f824"]]);
1368
1419
  export {
1369
- sa as default
1420
+ ya as default
1370
1421
  };