vue-data-ui 2.16.6 → 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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,29 +1,30 @@
1
- import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
2
- import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, Y as qt, i as R, f as V, X as _t, s as oe, w as St, Z as Ct, I as zt, F as Tt, q as Xt, r as Wt, x as Yt, y as At } from "./index-DvIXJm6t.js";
3
- import { t as Mt, u as Nt } from "./useResponsive-DfdjqQps.js";
4
- import { u as De } from "./useNestedProp-DrYHm61t.js";
5
- import { u as Ot } from "./usePrinter-CWnXbGMb.js";
6
- import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Pt from "./Title-Gi81VwUM.js";
9
- import Bt from "./Legend-nBXoxXJH.js";
10
- import { _ as Ge } from "./Shape-Bnf512BA.js";
11
- import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "height"], Ut = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Qt = { key: 1 }, Jt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Kt = { key: 2 }, el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = ["points", "fill"], ul = { key: 3 }, ol = ["y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["x", "y", "fill", "font-size"], nl = ["y", "fill", "font-size"], il = { key: 4 }, vl = ["x", "y", "font-size", "fill"], cl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = { key: 5 }, pl = ["fill", "points"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = {
1
+ import { defineAsyncComponent as F, 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, t as $t, p as he, a as kt, o as Lt, e as G, b as wt, d as qt, Y as _t, i as V, f as B, X as St, s as oe, w as Ct, Z as zt, I as Tt, F as Xt, q as Wt, r as Yt, x as At, y as Mt } from "./index-CobsZUkv.js";
3
+ import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ge } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as Rt } from "./usePrinter-DPh6U_Qk.js";
6
+ import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Bt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Pt from "./Title-DpERl1yr.js";
9
+ import Ft from "./Legend-3LNqqLDg.js";
10
+ import { _ as Qe } from "./Shape-C75836Jl.js";
11
+ import Ht from "./img-utitT2Gd.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 = {
13
14
  key: 0,
14
15
  style: { "pointer-events": "none" }
15
- }, Ll = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill", "innerHTML"], ql = { key: 0 }, _l = ["x", "y", "onMouseover", "onClick"], Sl = {
16
+ }, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
16
17
  key: 8,
17
18
  class: "vue-ui-dna"
18
- }, Cl = ["points", "fill"], zl = ["points", "fill"], Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = { key: 9 }, Yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 10 }, Ml = ["x", "y", "fill"], Nl = ["x", "y", "fill"], Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["stroke", "d"], Pl = ["stroke", "d"], Bl = {
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"], Vl = ["x", "y", "fill"], Bl = ["x", "y", "fill"], Pl = ["stroke", "d"], Fl = ["stroke", "d"], Hl = {
19
20
  key: 5,
20
21
  class: "vue-data-ui-watermark"
21
- }, Fl = ["onClick"], Hl = {
22
+ }, Il = ["onClick"], El = {
22
23
  key: 0,
23
24
  height: "14",
24
25
  width: "14",
25
26
  viewBox: "0 0 20 20"
26
- }, Il = ["innerHTML"], El = {
27
+ }, Ul = ["innerHTML"], Dl = {
27
28
  __name: "vue-ui-quadrant",
28
29
  props: {
29
30
  config: {
@@ -40,45 +41,45 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
40
41
  }
41
42
  },
42
43
  emits: ["selectPlot", "selectSide", "selectLegend"],
43
- setup(Qe, { expose: Je, emit: je }) {
44
- const Ze = B(() => import("./DataTable-CHBLjKtZ.js")), Ke = B(() => import("./PenAndPaper-BPTpbnay.js")), et = B(() => import("./vue-ui-accordion-D55kCO5G.js")), tt = B(() => import("./vue-ui-skeleton-BAOt2neL.js")), lt = B(() => import("./Tooltip-CJxVw7-T.js")), at = B(() => import("./UserOptions-CBEK6_jo.js")), ut = B(() => import("./PackageVersion-Bg_9KCU-.js")), { vue_ui_quadrant: ot } = mt(), X = Qe, K = g(() => !!X.dataset && X.dataset.length), z = y(Ue()), se = je, st = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), G = 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({
44
+ setup(Je, { expose: je, emit: Ze }) {
45
+ const Ke = F(() => import("./DataTable-Dt-TIOyY.js")), et = F(() => import("./PenAndPaper-Cde-wJ3N.js")), tt = F(() => import("./vue-ui-accordion-UewqY6OI.js")), lt = F(() => import("./vue-ui-skeleton-8s4xts8z.js")), at = F(() => import("./Tooltip-DA0bYKFG.js")), ut = F(() => import("./UserOptions-DTEJ3UM_.js")), ot = F(() => import("./PackageVersion-C-4Ee8BQ.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({
45
46
  get: () => qe(),
46
47
  set: (l) => l
47
- }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Rt({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
48
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } = Bt({ config: t.value.style.chart.title });
48
49
  function qe() {
49
- const l = De({
50
+ const l = Ge({
50
51
  userConfig: X.config,
51
- defaultConfig: ot
52
+ defaultConfig: st
52
53
  });
53
54
  return l.theme ? {
54
- ...De({
55
- userConfig: $t.vue_ui_quadrant[l.theme] || X.config,
55
+ ...Ge({
56
+ userConfig: kt.vue_ui_quadrant[l.theme] || X.config,
56
57
  defaultConfig: l
57
58
  }),
58
- customPalette: xt[l.theme] || he
59
+ customPalette: $t[l.theme] || he
59
60
  } : l;
60
61
  }
61
- Ie(() => X.config, (l) => {
62
+ Ee(() => X.config, (l) => {
62
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;
63
64
  }, { deep: !0 });
64
- const A = Ee(null), F = Ee(null);
65
+ const M = Ue(null), H = Ue(null);
65
66
  function _e() {
66
- if (kt(X.dataset) ? D({
67
+ if (Lt(X.dataset) ? G({
67
68
  componentName: "VueUiQuadrant",
68
69
  type: "dataset"
69
70
  }) : X.dataset.forEach((l, u) => {
70
- [null, void 0].includes(l.name) && D({
71
+ [null, void 0].includes(l.name) && G({
71
72
  componentName: "VueUiQuadrant",
72
73
  type: "datasetSerieAttribute",
73
74
  property: "name",
74
75
  index: u
75
- }), [null, void 0].includes(l.series) ? D({
76
+ }), [null, void 0].includes(l.series) ? G({
76
77
  componentName: "VueUiQuadrant",
77
78
  type: "datasetSerieAttribute",
78
79
  property: "series",
79
80
  index: u
80
81
  }) : l.series.forEach((a, o) => {
81
- [null, void 0].includes(a.name) && D({
82
+ [null, void 0].includes(a.name) && G({
82
83
  componentName: "VueUiQuadrant",
83
84
  type: "datasetSerieAttribute",
84
85
  property: "name",
@@ -87,9 +88,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
87
88
  });
88
89
  });
89
90
  }), t.value.responsive) {
90
- const l = Mt(() => {
91
- const { width: u, height: a } = Nt({
92
- chart: G.value,
91
+ const l = Nt(() => {
92
+ const { width: u, height: a } = Ot({
93
+ chart: A.value,
93
94
  title: t.value.style.chart.title.text ? be.value : null,
94
95
  legend: t.value.style.chart.legend.show ? fe.value : null,
95
96
  source: pe.value,
@@ -99,19 +100,19 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
99
100
  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;
100
101
  });
101
102
  });
102
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(l), F.value = G.value.parentNode, A.value.observe(F.value);
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);
103
104
  }
104
105
  }
105
- yt(() => {
106
+ bt(() => {
106
107
  _e();
107
- }), bt(() => {
108
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
108
+ }), ft(() => {
109
+ M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect());
109
110
  });
110
- const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Ot({
111
+ const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
111
112
  elementId: `vue-ui-quadrant_${z.value}`,
112
113
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
113
114
  options: t.value.userOptions.print
114
- }), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => Lt(t.value.customPalette)), $ = y({
115
+ }), nt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => wt(t.value.customPalette)), $ = y({
115
116
  plotLabels: {
116
117
  show: t.value.style.chart.layout.labels.plotLabels.show
117
118
  },
@@ -134,7 +135,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
134
135
  startX: 0,
135
136
  startY: 0
136
137
  });
137
- Ie(() => e.value, (l) => {
138
+ Ee(() => e.value, (l) => {
138
139
  l && (v.value = {
139
140
  ...JSON.parse(JSON.stringify(e.value)),
140
141
  startX: 0,
@@ -182,9 +183,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
182
183
  default:
183
184
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
184
185
  }
185
- }), nt = y(null), te = y(!1);
186
- function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: n }) {
187
- c.value && Z(n);
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);
188
189
  const b = {
189
190
  x: l - v.value.startX,
190
191
  y: u - v.value.startY,
@@ -192,12 +193,12 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
192
193
  h: o - v.value.height
193
194
  }, p = t.value.zoomAnimationFrames;
194
195
  let W = 0;
195
- function He() {
196
- 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 ? nt.value = requestAnimationFrame(He) : te.value = !1;
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;
197
198
  }
198
- He();
199
+ Ie();
199
200
  }
200
- function M(l) {
201
+ function N(l) {
201
202
  if (!te.value)
202
203
  if (f.value && c.value === l)
203
204
  Q({
@@ -251,20 +252,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
251
252
  f.value = !0;
252
253
  }
253
254
  }
254
- const it = g(() => {
255
+ const vt = g(() => {
255
256
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
256
- for (let n = 0; n < l; n += 1)
257
+ for (let r = 0; r < l; r += 1)
257
258
  o.push({
258
- x: e.value.padding + u * n,
259
- y: a + e.value.usableHeight * (n / l / 2),
260
- height: e.value.usableHeight * (1 - n / l),
261
- width: e.value.usableWidth * (1 - n / l),
262
- opacity: Math.round((n + 1) / l * 20)
259
+ x: e.value.padding + u * r,
260
+ y: a + e.value.usableHeight * (r / l / 2),
261
+ height: e.value.usableHeight * (1 - r / l),
262
+ width: e.value.usableWidth * (1 - r / l),
263
+ opacity: Math.round((r + 1) / l * 20)
263
264
  });
264
265
  return o;
265
266
  }), _ = g(() => {
266
267
  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;
267
- return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...H.value.flatMap((n) => n.series.map((b) => b.x))), u = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...H.value.flatMap((n) => n.series.map((b) => b.y))), o = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.y)))), {
268
+ 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)))), {
268
269
  x: {
269
270
  max: l,
270
271
  min: u
@@ -274,15 +275,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
274
275
  min: o
275
276
  }
276
277
  };
277
- }), N = y([]), H = g(() => X.dataset.map((l, u) => ({
278
+ }), O = y([]), I = g(() => X.dataset.map((l, u) => ({
278
279
  ...l,
279
- series: qt({
280
+ series: _t({
280
281
  data: l.series,
281
282
  threshold: t.value.downsample.threshold
282
283
  }),
283
284
  id: `cat_${u}_${z.value}`,
284
- color: wt(l.color) || Xe.value[u] || he[u]
285
- }))), vt = g(() => H.value.filter((l) => !N.value.includes(l.id))), ct = g(() => H.value.map((l, u) => ({
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) => ({
286
287
  ...l,
287
288
  shape: l.shape || "circle",
288
289
  series: l.series.map((a) => ({
@@ -298,13 +299,13 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
298
299
  }))
299
300
  }))), C = g(() => (X.dataset.forEach((l, u) => {
300
301
  l.series.forEach((a, o) => {
301
- [null, void 0].includes(a.x) && D({
302
+ [null, void 0].includes(a.x) && G({
302
303
  componentName: "VueUiQuadrant",
303
304
  type: "datasetSerieAttribute",
304
305
  property: "x",
305
306
  key: "series",
306
307
  index: o
307
- }), [null, void 0].includes(a.y) && D({
308
+ }), [null, void 0].includes(a.y) && G({
308
309
  componentName: "VueUiQuadrant",
309
310
  type: "datasetSerieAttribute",
310
311
  property: "y",
@@ -312,7 +313,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
312
313
  index: o
313
314
  });
314
315
  });
315
- }), vt.value.map((l, u) => ({
316
+ }), ct.value.map((l, u) => ({
316
317
  ...l,
317
318
  shape: l.shape || "circle",
318
319
  color: l.color || Xe.value[u] || he[u],
@@ -326,7 +327,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
326
327
  categoryName: l.name,
327
328
  shape: l.shape,
328
329
  color: l.color,
329
- uid: Ue()
330
+ uid: De()
330
331
  }))
331
332
  }))));
332
333
  function We(l) {
@@ -357,11 +358,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
357
358
  sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
358
359
  color: p.color,
359
360
  shape: p.shape
360
- }))), 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], n = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
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) => ({
361
362
  shape: p.shape,
362
363
  color: p.color
363
364
  }));
364
- return { head: o, body: n, itsShapes: b, tableData: l };
365
+ return { head: o, body: r, itsShapes: b, tableData: l };
365
366
  }), ae = g(() => {
366
367
  const l = le.value.head, u = le.value.tableData.map((o) => [
367
368
  {
@@ -370,18 +371,18 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
370
371
  name: o.category
371
372
  },
372
373
  o.name,
373
- R(
374
+ V(
374
375
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
375
376
  o.x,
376
- V({
377
+ B({
377
378
  v: o.x,
378
379
  r: t.value.style.chart.layout.labels.plotLabels.rounding
379
380
  })
380
381
  ),
381
- R(
382
+ V(
382
383
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
383
384
  o.y,
384
- V({
385
+ B({
385
386
  v: o.y,
386
387
  r: t.value.style.chart.layout.labels.plotLabels.rounding
387
388
  })
@@ -403,19 +404,19 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
403
404
  return { head: l, body: u, config: a, colNames: l };
404
405
  });
405
406
  function ie(l) {
406
- N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
407
+ O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
407
408
  const u = Re();
408
409
  se("selectLegend", u);
409
410
  }
410
- const Ae = g(() => ct.value.map((l) => ({
411
+ const Ae = g(() => dt.value.map((l) => ({
411
412
  name: l.name,
412
413
  shape: l.shape,
413
414
  color: l.color,
414
415
  id: l.id,
415
- opacity: N.value.includes(l.id) ? 0.5 : 1,
416
+ opacity: O.value.includes(l.id) ? 0.5 : 1,
416
417
  segregate: () => ie(l.id),
417
- isSegregated: N.value.includes(l.id)
418
- }))), dt = g(() => ({
418
+ isSegregated: O.value.includes(l.id)
419
+ }))), ht = g(() => ({
419
420
  cy: "quadrant-div-legend",
420
421
  backgroundColor: t.value.style.chart.legend.backgroundColor,
421
422
  color: t.value.style.chart.legend.color,
@@ -449,7 +450,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
449
450
  config: t.value
450
451
  }, ee.value = !0;
451
452
  const o = t.value.style.chart.tooltip.customFormat;
452
- if (Yt(o) && At(() => o({
453
+ if (At(o) && Mt(() => o({
453
454
  seriesIndex: a,
454
455
  datapoint: u,
455
456
  series: C.value,
@@ -462,24 +463,24 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
462
463
  config: t.value
463
464
  });
464
465
  else {
465
- let n = "";
466
- u.quadrantSide && (n += `<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>`), n += `<div>${l.name}</div>`, n += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, n += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
466
+ let r = "";
467
+ 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>${V(
467
468
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
468
469
  u.xValue,
469
- V({
470
+ B({
470
471
  v: u.xValue,
471
472
  r: t.value.style.chart.tooltip.roundingValue
472
473
  }),
473
474
  { datapoint: u, category: l, categoryIndex: a }
474
- )}</b></div>`, n += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
475
+ )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${V(
475
476
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
476
477
  u.yValue,
477
- V({
478
+ B({
478
479
  v: u.yValue,
479
480
  r: t.value.style.chart.tooltip.roundingValue
480
481
  }),
481
482
  { datapoint: u, category: l, categoryIndex: a }
482
- )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${n}</div>`;
483
+ )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
483
484
  }
484
485
  }
485
486
  function Oe(l, u) {
@@ -496,11 +497,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
496
497
  }
497
498
  function Z(l) {
498
499
  if (!l) return;
499
- const u = C.value.flatMap((o) => o.series.filter((n) => n.quadrantSide === l).map((n) => ({
500
- category: n.categoryName,
501
- itemName: n.name,
502
- x: n.xValue,
503
- y: n.yValue
500
+ const u = C.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
501
+ category: r.categoryName,
502
+ itemName: r.name,
503
+ x: r.xValue,
504
+ y: r.yValue
504
505
  }))), a = {
505
506
  quadrantSide: l,
506
507
  sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
@@ -629,47 +630,61 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
629
630
  }));
630
631
  }
631
632
  function Ve(l = null) {
632
- gt(() => {
633
- const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, n = u.concat([a]).concat(o), b = Xt(n);
634
- l ? l(b) : Wt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
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" });
635
636
  });
636
637
  }
637
- const I = y(!1);
638
- function ht(l) {
639
- I.value = l, ye.value += 1;
638
+ const E = y(!1);
639
+ function Be(l) {
640
+ E.value = l, ye.value += 1;
640
641
  }
641
642
  function Pe() {
642
643
  $.value.showTable = !$.value.showTable;
643
644
  }
644
- function Be() {
645
+ function Fe() {
645
646
  $.value.plotLabels.show = !$.value.plotLabels.show;
646
647
  }
647
- function Fe() {
648
+ function He() {
648
649
  $.value.showTooltip = !$.value.showTooltip;
649
650
  }
650
651
  const ue = y(!1);
651
652
  function ce() {
652
653
  ue.value = !ue.value;
653
654
  }
654
- return Je({
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 });
658
+ return {
659
+ imageUri: r,
660
+ base64: b,
661
+ title: t.value.style.chart.title.text,
662
+ width: u,
663
+ height: a,
664
+ aspectRatio: o
665
+ };
666
+ }
667
+ return je({
655
668
  getData: Re,
669
+ getImage: yt,
656
670
  generatePdf: ze,
657
671
  generateCsv: Ve,
658
672
  generateImage: Te,
659
673
  toggleTable: Pe,
660
- toggleLabels: Be,
661
- toggleTooltip: Fe,
662
- toggleAnnotator: ce
663
- }), (l, u) => (s(), r("div", {
664
- class: T(`vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
674
+ toggleLabels: Fe,
675
+ toggleTooltip: He,
676
+ toggleAnnotator: ce,
677
+ toggleFullscreen: Be
678
+ }), (l, u) => (s(), n("div", {
679
+ class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
665
680
  ref_key: "quadrantChart",
666
- ref: G,
681
+ ref: A,
667
682
  id: `vue-ui-quadrant_${z.value}`,
668
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%" : ""}`),
669
684
  onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
670
685
  onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
671
686
  }, [
672
- t.value.userOptions.buttons.annotator ? (s(), O(i(Ke), {
687
+ t.value.userOptions.buttons.annotator ? (s(), R(i(et), {
673
688
  key: 0,
674
689
  svgRef: i(we),
675
690
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -677,20 +692,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
677
692
  active: ue.value,
678
693
  onClose: ce
679
694
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
680
- rt.value ? (s(), r("div", {
695
+ nt.value ? (s(), n("div", {
681
696
  key: 1,
682
697
  ref_key: "noTitle",
683
698
  ref: ge,
684
699
  class: "vue-data-ui-no-title-space",
685
700
  style: "height:36px; width: 100%;background:transparent"
686
701
  }, null, 512)) : h("", !0),
687
- t.value.style.chart.title.text ? (s(), r("div", {
702
+ t.value.style.chart.title.text ? (s(), n("div", {
688
703
  key: 2,
689
704
  ref_key: "chartTitle",
690
705
  ref: be,
691
706
  style: "width:100%;background:transparent;padding-bottom:12px"
692
707
  }, [
693
- (s(), O(Pt, {
708
+ (s(), R(Pt, {
694
709
  key: `table_${me.value}`,
695
710
  config: {
696
711
  title: {
@@ -704,9 +719,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
704
719
  }
705
720
  }, null, 8, ["config"]))
706
721
  ], 512)) : h("", !0),
707
- t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), O(i(at), {
722
+ t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), R(i(ut), {
708
723
  ref_key: "details",
709
- ref: st,
724
+ ref: rt,
710
725
  key: `user_options_${ye.value}`,
711
726
  backgroundColor: t.value.style.chart.backgroundColor,
712
727
  color: t.value.style.chart.color,
@@ -720,31 +735,31 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
720
735
  hasTable: t.value.userOptions.buttons.table,
721
736
  hasLabel: t.value.userOptions.buttons.labels,
722
737
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
723
- isFullscreen: I.value,
738
+ isFullscreen: E.value,
724
739
  isTooltip: $.value.showTooltip,
725
740
  titles: { ...t.value.userOptions.buttonTitles },
726
- chartElement: G.value,
741
+ chartElement: A.value,
727
742
  position: t.value.userOptions.position,
728
743
  hasAnnotator: t.value.userOptions.buttons.annotator,
729
744
  isAnnotation: ue.value,
730
745
  callbacks: t.value.userOptions.callbacks,
731
746
  printScale: t.value.userOptions.print.scale,
732
- onToggleFullscreen: ht,
747
+ onToggleFullscreen: Be,
733
748
  onGeneratePdf: i(ze),
734
749
  onGenerateCsv: Ve,
735
750
  onGenerateImage: i(Te),
736
751
  onToggleTable: Pe,
737
- onToggleLabels: Be,
738
- onToggleTooltip: Fe,
752
+ onToggleLabels: Fe,
753
+ onToggleTooltip: He,
739
754
  onToggleAnnotator: ce,
740
755
  style: q({
741
756
  visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
742
757
  })
743
- }, ft({ _: 2 }, [
758
+ }, pt({ _: 2 }, [
744
759
  l.$slots.menuIcon ? {
745
760
  name: "menuIcon",
746
761
  fn: m(({ isOpen: a, color: o }) => [
747
- x(l.$slots, "menuIcon", E(U({ isOpen: a, color: o })), void 0, !0)
762
+ x(l.$slots, "menuIcon", U(D({ isOpen: a, color: o })), void 0, !0)
748
763
  ]),
749
764
  key: "0"
750
765
  } : void 0,
@@ -793,30 +808,30 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
793
808
  l.$slots.optionFullscreen ? {
794
809
  name: "optionFullscreen",
795
810
  fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
796
- x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
811
+ x(l.$slots, "optionFullscreen", U(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
797
812
  ]),
798
813
  key: "7"
799
814
  } : void 0,
800
815
  l.$slots.optionAnnotator ? {
801
816
  name: "optionAnnotator",
802
817
  fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
803
- x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
818
+ x(l.$slots, "optionAnnotator", U(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
804
819
  ]),
805
820
  key: "8"
806
821
  } : void 0
807
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),
808
- K.value ? (s(), r("svg", {
823
+ K.value ? (s(), n("svg", {
809
824
  key: 4,
810
825
  ref_key: "svgRef",
811
826
  ref: we,
812
- xmlns: i(_t),
813
- class: T({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
827
+ xmlns: i(St),
828
+ class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
814
829
  viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
815
830
  style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
816
831
  id: `svg_${z.value}`
817
832
  }, [
818
- de(i(ut)),
819
- l.$slots["chart-background"] ? (s(), r("foreignObject", {
833
+ de(i(ot)),
834
+ l.$slots["chart-background"] ? (s(), n("foreignObject", {
820
835
  key: 0,
821
836
  x: v.value.startX,
822
837
  y: v.value.startY,
@@ -827,9 +842,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
827
842
  }
828
843
  }, [
829
844
  x(l.$slots, "chart-background", {}, void 0, !0)
830
- ], 8, Et)) : h("", !0),
845
+ ], 8, Dt)) : h("", !0),
831
846
  d("defs", null, [
832
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("radialGradient", {
847
+ (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("radialGradient", {
833
848
  cx: "50%",
834
849
  cy: "50%",
835
850
  r: "50%",
@@ -839,16 +854,16 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
839
854
  }, [
840
855
  d("stop", {
841
856
  offset: "0%",
842
- "stop-color": i(oe)(i(St)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
843
- }, null, 8, Dt),
857
+ "stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
858
+ }, null, 8, Qt),
844
859
  d("stop", {
845
860
  offset: "100%",
846
861
  "stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
847
- }, null, 8, Gt)
848
- ], 8, Ut))), 256))
862
+ }, null, 8, Jt)
863
+ ], 8, Gt))), 256))
849
864
  ]),
850
- t.value.style.chart.layout.grid.graduations.show ? (s(), r("g", Qt, [
851
- (s(!0), r(S, null, Y(it.value, (a) => (s(), r("rect", {
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", {
852
867
  fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
853
868
  x: a.x,
854
869
  y: a.y,
@@ -857,7 +872,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
857
872
  "stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
858
873
  stroke: t.value.style.chart.layout.grid.graduations.stroke,
859
874
  rx: t.value.style.chart.layout.grid.graduations.roundingForce
860
- }, null, 8, Jt))), 256))
875
+ }, null, 8, Zt))), 256))
861
876
  ])) : h("", !0),
862
877
  d("line", {
863
878
  x1: e.value.left,
@@ -866,7 +881,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
866
881
  y2: e.value.centerY,
867
882
  stroke: t.value.style.chart.layout.grid.stroke,
868
883
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
869
- }, null, 8, jt),
884
+ }, null, 8, Kt),
870
885
  d("line", {
871
886
  x1: e.value.centerX,
872
887
  y1: e.value.top,
@@ -874,31 +889,31 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
874
889
  y2: e.value.bottom,
875
890
  stroke: t.value.style.chart.layout.grid.stroke,
876
891
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
877
- }, null, 8, Zt),
878
- t.value.style.chart.layout.grid.showArrows ? (s(), r("g", Kt, [
892
+ }, null, 8, el),
893
+ t.value.style.chart.layout.grid.showArrows ? (s(), n("g", tl, [
879
894
  d("polygon", {
880
895
  points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
881
896
  fill: t.value.style.chart.layout.grid.stroke,
882
897
  stroke: "none"
883
- }, null, 8, el),
898
+ }, null, 8, ll),
884
899
  d("polygon", {
885
900
  points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
886
901
  fill: t.value.style.chart.layout.grid.stroke,
887
902
  stroke: "none"
888
- }, null, 8, tl),
903
+ }, null, 8, al),
889
904
  d("polygon", {
890
905
  points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
891
906
  fill: t.value.style.chart.layout.grid.stroke,
892
907
  stroke: "none"
893
- }, null, 8, ll),
908
+ }, null, 8, ul),
894
909
  d("polygon", {
895
910
  points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
896
911
  fill: t.value.style.chart.layout.grid.stroke,
897
912
  stroke: "none"
898
- }, null, 8, al)
913
+ }, null, 8, ol)
899
914
  ])) : h("", !0),
900
- t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), r("g", ul, [
901
- t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), r("text", {
915
+ t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), n("g", sl, [
916
+ t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
902
917
  key: 0,
903
918
  x: 0,
904
919
  y: e.value.top - e.value.padding / 2,
@@ -907,8 +922,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
907
922
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
908
923
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
909
924
  onClick: u[0] || (u[0] = (a) => Z("tl"))
910
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ol)) : h("", !0),
911
- t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), r("text", {
925
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
926
+ t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
912
927
  key: 1,
913
928
  x: e.value.width,
914
929
  y: e.value.top - e.value.padding / 2,
@@ -917,8 +932,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
917
932
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
918
933
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
919
934
  onClick: u[1] || (u[1] = (a) => Z("tr"))
920
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, sl)) : h("", !0),
921
- t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), r("text", {
935
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
936
+ t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
922
937
  key: 2,
923
938
  x: e.value.width,
924
939
  y: e.value.bottom + e.value.padding * 0.7,
@@ -927,8 +942,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
927
942
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
928
943
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
929
944
  onClick: u[2] || (u[2] = (a) => Z("br"))
930
- }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, rl)) : h("", !0),
931
- t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), r("text", {
945
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
946
+ t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
932
947
  key: 3,
933
948
  x: 0,
934
949
  y: e.value.bottom + e.value.padding * 0.7,
@@ -937,223 +952,223 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
937
952
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
938
953
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
939
954
  onClick: u[3] || (u[3] = (a) => Z("bl"))
940
- }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, nl)) : h("", !0)
955
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
941
956
  ])) : h("", !0),
942
- t.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g", il, [
957
+ t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", cl, [
943
958
  d("text", {
944
959
  x: e.value.centerX,
945
960
  y: e.value.top - e.value.padding / 6,
946
961
  "text-anchor": "middle",
947
962
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
948
963
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
949
- }, L(i(R)(
964
+ }, L(i(V)(
950
965
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
951
966
  _.value.y.max,
952
- i(V)({
967
+ i(B)({
953
968
  v: _.value.y.max,
954
969
  r: t.value.style.chart.layout.labels.plotLabels.rounding
955
970
  })
956
- )), 9, vl),
971
+ )), 9, dl),
957
972
  d("text", {
958
973
  x: e.value.centerX,
959
974
  y: e.value.top - e.value.padding / 2,
960
975
  "text-anchor": "middle",
961
976
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
962
977
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
963
- }, L(t.value.style.chart.layout.grid.yAxis.name), 9, cl),
978
+ }, L(t.value.style.chart.layout.grid.yAxis.name), 9, hl),
964
979
  d("text", {
965
980
  x: e.value.centerX,
966
981
  y: e.value.bottom + e.value.padding * 0.35,
967
982
  "text-anchor": "middle",
968
983
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
969
984
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
970
- }, L(i(R)(
985
+ }, L(i(V)(
971
986
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
972
987
  _.value.y.min,
973
- i(V)({
988
+ i(B)({
974
989
  v: _.value.y.min,
975
990
  r: t.value.style.chart.layout.labels.plotLabels.rounding
976
991
  })
977
- )), 9, dl),
992
+ )), 9, yl),
978
993
  d("text", {
979
994
  id: `xLabelMin_${z.value}`,
980
995
  "text-anchor": "middle",
981
996
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
982
997
  transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
983
998
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
984
- }, L(i(R)(
999
+ }, L(i(V)(
985
1000
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
986
1001
  _.value.x.min,
987
- i(V)({
1002
+ i(B)({
988
1003
  v: _.value.x.min,
989
1004
  r: t.value.style.chart.layout.labels.plotLabels.rounding
990
1005
  })
991
- )), 9, hl),
1006
+ )), 9, bl),
992
1007
  d("text", {
993
1008
  id: `xLabelMax_${z.value}`,
994
1009
  "text-anchor": "middle",
995
1010
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
996
1011
  transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
997
1012
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
998
- }, L(i(R)(
1013
+ }, L(i(V)(
999
1014
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1000
1015
  _.value.x.max,
1001
- i(V)({
1016
+ i(B)({
1002
1017
  v: _.value.x.max,
1003
1018
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1004
1019
  })
1005
- )), 9, yl),
1020
+ )), 9, fl),
1006
1021
  d("text", {
1007
1022
  id: `xLabelMaxName_${z.value}`,
1008
1023
  "text-anchor": "middle",
1009
1024
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1010
1025
  transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1011
1026
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1012
- }, L(t.value.style.chart.layout.grid.xAxis.name), 9, bl)
1027
+ }, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
1013
1028
  ])) : h("", !0),
1014
- t.value.style.chart.layout.areas.show ? (s(), r("g", fl, [
1015
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
1016
- a.series.length > 2 ? (s(), r("polygon", {
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, [
1031
+ a.series.length > 2 ? (s(), n("polygon", {
1017
1032
  key: 0,
1018
1033
  "data-cy-quadrant-area": "",
1019
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),
1020
- points: i(Ct)(a)
1021
- }, null, 8, pl)) : h("", !0)
1035
+ points: i(zt)(a)
1036
+ }, null, 8, ml)) : h("", !0)
1022
1037
  ]))), 256))
1023
1038
  ])) : h("", !0),
1024
1039
  d("g", null, [
1025
1040
  d("rect", {
1026
- onClick: u[4] || (u[4] = (a) => M("TL")),
1041
+ onClick: u[4] || (u[4] = (a) => N("TL")),
1027
1042
  x: e.value.left,
1028
1043
  y: e.value.top,
1029
1044
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1030
1045
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1031
1046
  fill: "transparent",
1032
1047
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1033
- }, null, 10, gl),
1048
+ }, null, 10, xl),
1034
1049
  d("rect", {
1035
- onClick: u[5] || (u[5] = (a) => M("TR")),
1050
+ onClick: u[5] || (u[5] = (a) => N("TR")),
1036
1051
  x: e.value.centerX,
1037
1052
  y: e.value.top,
1038
1053
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1039
1054
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1040
1055
  fill: "transparent",
1041
1056
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1042
- }, null, 10, ml),
1057
+ }, null, 10, $l),
1043
1058
  d("rect", {
1044
- onClick: u[6] || (u[6] = (a) => M("BR")),
1059
+ onClick: u[6] || (u[6] = (a) => N("BR")),
1045
1060
  x: e.value.centerX,
1046
1061
  y: e.value.centerY,
1047
1062
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1048
1063
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1049
1064
  fill: "transparent",
1050
1065
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1051
- }, null, 10, xl),
1066
+ }, null, 10, kl),
1052
1067
  d("rect", {
1053
- onClick: u[7] || (u[7] = (a) => M("BL")),
1068
+ onClick: u[7] || (u[7] = (a) => N("BL")),
1054
1069
  x: e.value.left,
1055
1070
  y: e.value.centerY,
1056
1071
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1057
1072
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1058
1073
  fill: "transparent",
1059
1074
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1060
- }, null, 10, $l)
1075
+ }, null, 10, Ll)
1061
1076
  ]),
1062
- t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), r(S, { key: 7 }, [
1063
- $.value.plotLabels.show ? (s(), r("g", ql, [
1064
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r(S, null, [
1065
- (s(!0), r(S, null, Y(a.series, (n) => (s(), r("foreignObject", {
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", {
1066
1081
  style: { overflow: "visible" },
1067
1082
  height: "10",
1068
1083
  width: "100",
1069
- x: n.x - 50,
1070
- y: n.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1071
- onMouseover: (b) => Ne(a, n, o),
1084
+ x: r.x - 50,
1085
+ y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1086
+ onMouseover: (b) => Ne(a, r, o),
1072
1087
  onMouseleave: u[9] || (u[9] = (b) => {
1073
1088
  ee.value = !1, J.value = null, j.value = null;
1074
1089
  }),
1075
- onClick: (b) => Oe(a, n)
1090
+ onClick: (b) => Oe(a, r)
1076
1091
  }, [
1077
1092
  d("div", {
1078
- style: q(`color:${i(Tt)(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;`)
1079
- }, L(n.name), 5)
1080
- ], 40, _l))), 256))
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;`)
1094
+ }, L(r.name), 5)
1095
+ ], 40, Cl))), 256))
1081
1096
  ], 64))), 256))
1082
1097
  ])) : h("", !0)
1083
- ], 64)) : (s(), r(S, { key: 6 }, [
1084
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
1085
- (s(!0), r(S, null, Y(a.series, (n) => (s(), O(Ge, {
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, {
1086
1101
  color: a.color,
1087
- isSelected: J.value && n.uid === J.value,
1088
- plot: n,
1102
+ isSelected: J.value && r.uid === J.value,
1103
+ plot: r,
1089
1104
  radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
1090
1105
  shape: a.shape,
1091
1106
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1092
1107
  strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
1093
- onMouseenter: (b) => Ne(a, n, o),
1108
+ onMouseenter: (b) => Ne(a, r, o),
1094
1109
  onMouseleave: u[8] || (u[8] = (b) => {
1095
1110
  ee.value = !1, J.value = null, j.value = null;
1096
1111
  }),
1097
- onClick: (b) => Oe(a, n)
1112
+ onClick: (b) => Oe(a, r)
1098
1113
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
1099
1114
  ]))), 256)),
1100
- $.value.plotLabels.show ? (s(), r("g", kl, [
1101
- (s(!0), r(S, null, Y(C.value, (a) => (s(), r("g", null, [
1102
- (s(!0), r(S, null, Y(a.series, (o) => (s(), r("g", null, [
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, [
1103
1118
  String(o.name).includes(`
1104
- `) ? (s(), r("text", {
1119
+ `) ? (s(), n("text", {
1105
1120
  key: 1,
1106
1121
  x: o.x,
1107
1122
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1108
1123
  "text-anchor": "middle",
1109
1124
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1110
1125
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1111
- innerHTML: i(zt)({
1126
+ innerHTML: i(Tt)({
1112
1127
  content: String(o.name),
1113
1128
  fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1114
1129
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1115
1130
  x: o.x,
1116
1131
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
1117
1132
  })
1118
- }, null, 8, wl)) : (s(), r("text", {
1133
+ }, null, 8, _l)) : (s(), n("text", {
1119
1134
  key: 0,
1120
1135
  x: o.x,
1121
1136
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1122
1137
  "text-anchor": "middle",
1123
1138
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1124
1139
  fill: t.value.style.chart.layout.labels.plotLabels.color
1125
- }, L(o.name), 9, Ll))
1140
+ }, L(o.name), 9, ql))
1126
1141
  ]))), 256))
1127
1142
  ]))), 256))
1128
1143
  ])) : h("", !0)
1129
1144
  ], 64)),
1130
- f.value ? (s(), r("g", Sl, [
1131
- c.value === "TL" ? (s(), r("polygon", {
1145
+ f.value ? (s(), n("g", zl, [
1146
+ c.value === "TL" ? (s(), n("polygon", {
1132
1147
  key: 0,
1133
1148
  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}`,
1134
1149
  fill: t.value.style.chart.backgroundColor,
1135
1150
  style: { opacity: "1" }
1136
- }, null, 8, Cl)) : h("", !0),
1137
- c.value === "TR" ? (s(), r("polygon", {
1151
+ }, null, 8, Tl)) : h("", !0),
1152
+ c.value === "TR" ? (s(), n("polygon", {
1138
1153
  key: 1,
1139
1154
  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}`,
1140
1155
  fill: t.value.style.chart.backgroundColor,
1141
1156
  style: { opacity: "1" }
1142
- }, null, 8, zl)) : h("", !0),
1143
- c.value === "BR" ? (s(), r("polygon", {
1157
+ }, null, 8, Xl)) : h("", !0),
1158
+ c.value === "BR" ? (s(), n("polygon", {
1144
1159
  key: 2,
1145
1160
  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}`,
1146
1161
  fill: t.value.style.chart.backgroundColor,
1147
1162
  style: { opacity: "1" }
1148
- }, null, 8, Tl)) : h("", !0),
1149
- c.value === "BL" ? (s(), r("polygon", {
1163
+ }, null, 8, Wl)) : h("", !0),
1164
+ c.value === "BL" ? (s(), n("polygon", {
1150
1165
  key: 3,
1151
1166
  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}`,
1152
1167
  fill: t.value.style.chart.backgroundColor,
1153
1168
  style: { opacity: "1" }
1154
- }, null, 8, Xl)) : h("", !0)
1169
+ }, null, 8, Yl)) : h("", !0)
1155
1170
  ])) : h("", !0),
1156
- c.value && !te.value ? (s(), r("g", Wl, [
1171
+ c.value && !te.value ? (s(), n("g", Al, [
1157
1172
  d("text", {
1158
1173
  x: P.value.x,
1159
1174
  y: P.value.y - P.value.fontSize / 1.5,
@@ -1161,9 +1176,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1161
1176
  fill: P.value.fill,
1162
1177
  "text-anchor": "middle",
1163
1178
  "font-weight": P.value.bold ? "bold" : "normal"
1164
- }, L(P.value.text), 9, Yl)
1179
+ }, L(P.value.text), 9, Ml)
1165
1180
  ])) : h("", !0),
1166
- f.value && c.value ? (s(), r("g", Al, [
1181
+ f.value && c.value ? (s(), n("g", Nl, [
1167
1182
  d("rect", {
1168
1183
  x: w.value[c.value].tl.x,
1169
1184
  y: w.value[c.value].tl.y,
@@ -1171,9 +1186,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1171
1186
  width: "20",
1172
1187
  fill: w.value[c.value].tl.fill,
1173
1188
  style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
1174
- onClick: u[10] || (u[10] = (a) => M("TL")),
1189
+ onClick: u[10] || (u[10] = (a) => N("TL")),
1175
1190
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
1176
- }, null, 14, Ml),
1191
+ }, null, 14, Ol),
1177
1192
  d("rect", {
1178
1193
  x: w.value[c.value].tr.x,
1179
1194
  y: w.value[c.value].tr.y,
@@ -1181,9 +1196,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1181
1196
  width: "20",
1182
1197
  fill: w.value[c.value].tr.fill,
1183
1198
  style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
1184
- onClick: u[11] || (u[11] = (a) => M("TR")),
1199
+ onClick: u[11] || (u[11] = (a) => N("TR")),
1185
1200
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
1186
- }, null, 14, Nl),
1201
+ }, null, 14, Rl),
1187
1202
  d("rect", {
1188
1203
  x: w.value[c.value].br.x,
1189
1204
  y: w.value[c.value].br.y,
@@ -1191,9 +1206,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1191
1206
  width: "20",
1192
1207
  fill: w.value[c.value].br.fill,
1193
1208
  style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
1194
- onClick: u[12] || (u[12] = (a) => M("BR")),
1209
+ onClick: u[12] || (u[12] = (a) => N("BR")),
1195
1210
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
1196
- }, null, 14, Ol),
1211
+ }, null, 14, Vl),
1197
1212
  d("rect", {
1198
1213
  x: w.value[c.value].bl.x,
1199
1214
  y: w.value[c.value].bl.y,
@@ -1201,28 +1216,28 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1201
1216
  width: "20",
1202
1217
  fill: w.value[c.value].bl.fill,
1203
1218
  style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
1204
- onClick: u[13] || (u[13] = (a) => M("BL")),
1219
+ onClick: u[13] || (u[13] = (a) => N("BL")),
1205
1220
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
1206
- }, null, 14, Rl),
1221
+ }, null, 14, Bl),
1207
1222
  d("path", {
1208
1223
  class: "vue-ui-quadrant-minimap-crosshairs",
1209
1224
  stroke: t.value.style.chart.backgroundColor,
1210
1225
  "stroke-width": 1,
1211
1226
  d: w.value[c.value].crosshairs.horizontal
1212
- }, null, 8, Vl),
1227
+ }, null, 8, Pl),
1213
1228
  d("path", {
1214
1229
  class: "vue-ui-quadrant-minimap-crosshairs",
1215
1230
  stroke: t.value.style.chart.backgroundColor,
1216
1231
  "stroke-width": 1,
1217
1232
  d: w.value[c.value].crosshairs.vertical
1218
- }, null, 8, Pl)
1233
+ }, null, 8, Fl)
1219
1234
  ])) : h("", !0),
1220
1235
  x(l.$slots, "svg", { svg: e.value }, void 0, !0)
1221
- ], 14, It)) : h("", !0),
1222
- l.$slots.watermark ? (s(), r("div", Bl, [
1223
- x(l.$slots, "watermark", E(U({ isPrinting: i(Se) || i(Ce) })), 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)
1224
1239
  ])) : h("", !0),
1225
- K.value ? h("", !0) : (s(), O(i(tt), {
1240
+ K.value ? h("", !0) : (s(), R(i(lt), {
1226
1241
  key: 6,
1227
1242
  config: {
1228
1243
  type: "quadrant",
@@ -1244,17 +1259,17 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1244
1259
  ref_key: "chartLegend",
1245
1260
  ref: fe
1246
1261
  }, [
1247
- t.value.style.chart.legend.show ? (s(), O(Bt, {
1262
+ t.value.style.chart.legend.show ? (s(), R(Ft, {
1248
1263
  key: `legend_${$e.value}`,
1249
1264
  legendSet: Ae.value,
1250
- config: dt.value,
1265
+ config: ht.value,
1251
1266
  onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
1252
1267
  }, {
1253
1268
  item: m(({ legend: a }) => [
1254
1269
  d("div", {
1255
1270
  onClick: (o) => ie(a.id),
1256
- style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
1257
- }, L(a.name), 13, Fl)
1271
+ style: q(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
1272
+ }, L(a.name), 13, Il)
1258
1273
  ]),
1259
1274
  _: 1
1260
1275
  }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
@@ -1262,7 +1277,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1262
1277
  legend: Ae.value
1263
1278
  }, void 0, !0)
1264
1279
  ], 512),
1265
- l.$slots.source ? (s(), r("div", {
1280
+ l.$slots.source ? (s(), n("div", {
1266
1281
  key: 7,
1267
1282
  ref_key: "source",
1268
1283
  ref: pe,
@@ -1270,7 +1285,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1270
1285
  }, [
1271
1286
  x(l.$slots, "source", {}, void 0, !0)
1272
1287
  ], 512)) : h("", !0),
1273
- de(i(lt), {
1288
+ de(i(at), {
1274
1289
  show: $.value.showTooltip && ee.value,
1275
1290
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1276
1291
  color: t.value.style.chart.tooltip.color,
@@ -1281,20 +1296,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1281
1296
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1282
1297
  position: t.value.style.chart.tooltip.position,
1283
1298
  offsetY: t.value.style.chart.tooltip.offsetY,
1284
- parent: G.value,
1299
+ parent: A.value,
1285
1300
  content: re.value,
1286
- isFullscreen: I.value,
1301
+ isFullscreen: E.value,
1287
1302
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
1288
1303
  }, {
1289
1304
  "tooltip-before": m(() => [
1290
- x(l.$slots, "tooltip-before", E(U({ ...ve.value })), void 0, !0)
1305
+ x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
1291
1306
  ]),
1292
1307
  "tooltip-after": m(() => [
1293
- x(l.$slots, "tooltip-after", E(U({ ...ve.value })), void 0, !0)
1308
+ x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
1294
1309
  ]),
1295
1310
  default: m(() => [
1296
- t.value.style.chart.tooltip.showShape ? (s(), r("svg", Hl, [
1297
- de(Ge, {
1311
+ t.value.style.chart.tooltip.showShape ? (s(), n("svg", El, [
1312
+ de(Qe, {
1298
1313
  plot: { x: 10, y: 10 },
1299
1314
  shape: j.value.shape,
1300
1315
  color: j.value.color,
@@ -1306,7 +1321,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1306
1321
  ]),
1307
1322
  _: 3
1308
1323
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1309
- K.value ? (s(), O(i(et), {
1324
+ K.value ? (s(), R(i(tt), {
1310
1325
  key: 8,
1311
1326
  hideDetails: "",
1312
1327
  config: {
@@ -1323,7 +1338,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1323
1338
  }
1324
1339
  }, {
1325
1340
  content: m(() => [
1326
- (s(), O(i(Ze), {
1341
+ (s(), R(i(Ke), {
1327
1342
  key: `table_${xe.value}`,
1328
1343
  colNames: ae.value.colNames,
1329
1344
  head: ae.value.head,
@@ -1333,21 +1348,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1333
1348
  onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
1334
1349
  }, {
1335
1350
  th: m(({ th: a }) => [
1336
- pt(L(a), 1)
1351
+ gt(L(a), 1)
1337
1352
  ]),
1338
1353
  td: m(({ td: a }) => [
1339
1354
  d("div", {
1340
1355
  innerHTML: a.name || a
1341
- }, null, 8, Il)
1356
+ }, null, 8, Ul)
1342
1357
  ]),
1343
1358
  _: 1
1344
1359
  }, 8, ["colNames", "head", "body", "config", "title"]))
1345
1360
  ]),
1346
1361
  _: 1
1347
1362
  }, 8, ["config"])) : h("", !0)
1348
- ], 46, Ht));
1363
+ ], 46, Et));
1349
1364
  }
1350
- }, aa = /* @__PURE__ */ Ft(El, [["__scopeId", "data-v-a0f209cc"]]);
1365
+ }, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-5da3c063"]]);
1351
1366
  export {
1352
- aa as default
1367
+ sa as default
1353
1368
  };