vue-data-ui 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/{Arrow-DQoWnUfD.js → Arrow-CUUMjZed.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DEw6oieL.js → BaseDraggableDialog-DgADqZE_.js} +2 -2
  3. package/dist/{BaseIcon-DEl03NUZ.js → BaseIcon-DLm6QTwr.js} +1 -1
  4. package/dist/{ColorPicker-CrivFZqC.js → ColorPicker-Crz_B792.js} +2 -2
  5. package/dist/{DataTable-ClgCsiJA.js → DataTable-CWzb1j8d.js} +2 -2
  6. package/dist/{Legend-CMvJ6X5j.js → Legend-CevCqVZ5.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-B2Wvbl3p.js → NonSvgPenAndPaper-DOG92bzo.js} +3 -3
  8. package/dist/{PackageVersion-CD5VH_Al.js → PackageVersion-n4qokxnx.js} +1 -1
  9. package/dist/{PenAndPaper-D3WRn-G2.js → PenAndPaper-C_R9vJkU.js} +3 -3
  10. package/dist/{Shape-Adi9i_-f.js → Shape-BHVN6hj0.js} +1 -1
  11. package/dist/{Slicer-t6e1t2iM.js → Slicer-BBjJsLlJ.js} +2 -2
  12. package/dist/{SparkTooltip-B8OnBSvk.js → SparkTooltip-BHlSggBm.js} +1 -1
  13. package/dist/{Title-xTWR-Vil.js → Title-CINHji0n.js} +1 -1
  14. package/dist/{Tooltip-BH3CiANh.js → Tooltip-hfdFRoLp.js} +1 -1
  15. package/dist/{UserOptions-CKKPgDLV.js → UserOptions-r0epwyXR.js} +2 -2
  16. package/dist/{dom-to-png-C4hj491O.js → dom-to-png-m7MwDfMh.js} +1 -1
  17. package/dist/{img-Vb4QHAHI.js → img-CBdOMFyn.js} +1 -1
  18. package/dist/{index-Dzc2Gi60.js → index-DrRiscPm.js} +908 -871
  19. package/dist/{pdf-ddpqw-dt.js → pdf-CITAFtf8.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +23 -0
  22. package/dist/types/vue-data-ui.d.ts +23 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-CN_Jh8Hr.js → useAutoSizeLabelsInsideViewbox-C0d8h29h.js} +1 -1
  24. package/dist/{useNestedProp-CjnS13nF.js → useNestedProp-BXhArS-K.js} +1 -1
  25. package/dist/{usePrinter-DBRh8ZvS.js → usePrinter-CZk2ISUm.js} +2 -2
  26. package/dist/{vue-data-ui-B7ztqj9-.js → vue-data-ui-omyV52aJ.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DUmYPtHl.js → vue-ui-3d-bar-ByS7XX4A.js} +6 -6
  29. package/dist/{vue-ui-accordion-CPk8wAuj.js → vue-ui-accordion-s_m_NJzJ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-Bv5HmeXj.js → vue-ui-age-pyramid-BJRjKF9G.js} +6 -6
  31. package/dist/{vue-ui-annotator-KXWlIhtd.js → vue-ui-annotator-BcdnqcBy.js} +2 -2
  32. package/dist/{vue-ui-bullet-B4N4mBk9.js → vue-ui-bullet-D82pT7tL.js} +199 -186
  33. package/dist/{vue-ui-candlestick-DENvPnUO.js → vue-ui-candlestick-ThIDj7Q5.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-vC2bHBaY.js → vue-ui-carousel-table-BHOAO0Gj.js} +4 -4
  35. package/dist/{vue-ui-chestnut-2nS0StrY.js → vue-ui-chestnut-3sjb4gzU.js} +5 -5
  36. package/dist/{vue-ui-chord-CyfS6vNM.js → vue-ui-chord-CfVEqNV6.js} +377 -366
  37. package/dist/{vue-ui-circle-pack-C4JR-0fx.js → vue-ui-circle-pack-u4ABWUZI.js} +6 -6
  38. package/dist/{vue-ui-cursor-BgeSDtQh.js → vue-ui-cursor-ByfhuSzG.js} +2 -2
  39. package/dist/{vue-ui-dashboard-9DWUBJ-I.js → vue-ui-dashboard-CBCck-UI.js} +62 -62
  40. package/dist/{vue-ui-digits-BQO7IBFA.js → vue-ui-digits-BU-8e-1s.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-B870IrQA.js → vue-ui-donut-evolution-B4lDDX7G.js} +388 -377
  42. package/dist/{vue-ui-donut-C-ZJXJ74.js → vue-ui-donut-g5x3IpMV.js} +345 -334
  43. package/dist/{vue-ui-dumbbell-Cfs2Uotx.js → vue-ui-dumbbell-BJ8qcUud.js} +354 -343
  44. package/dist/{vue-ui-flow-DnaUVVAD.js → vue-ui-flow-CRwGogHq.js} +299 -288
  45. package/dist/{vue-ui-funnel-B9s-H5ZG.js → vue-ui-funnel-DzF_UOAJ.js} +6 -6
  46. package/dist/{vue-ui-galaxy-BoJOczdh.js → vue-ui-galaxy-BqunXfkx.js} +252 -241
  47. package/dist/{vue-ui-gauge-qjm4BqZR.js → vue-ui-gauge-DPjvYyeF.js} +7 -7
  48. package/dist/{vue-ui-gizmo-fn7ZaMTI.js → vue-ui-gizmo-CU7HsWOV.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CIBDKhh8.js → vue-ui-heatmap-CFh-br8X.js} +7 -7
  50. package/dist/{vue-ui-history-plot-bbNxldYG.js → vue-ui-history-plot-OdhJu988.js} +283 -270
  51. package/dist/{vue-ui-kpi-BX-2jhLx.js → vue-ui-kpi-CVp3sMeg.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bn1Bb8-J.js → vue-ui-mini-loader-LtGcTTh2.js} +2 -2
  53. package/dist/{vue-ui-molecule-DQ3qFtBq.js → vue-ui-molecule-DklqwI8c.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-Cf-ehIo1.js → vue-ui-mood-radar-CGuHZngw.js} +264 -253
  55. package/dist/{vue-ui-nested-donuts-CWg5BEi-.js → vue-ui-nested-donuts-CHrryP89.js} +377 -366
  56. package/dist/{vue-ui-onion-sHgQTYfa.js → vue-ui-onion-n74T6frI.js} +265 -254
  57. package/dist/{vue-ui-parallel-coordinate-plot-Ki3ITp_s.js → vue-ui-parallel-coordinate-plot-DtQi0qWp.js} +276 -265
  58. package/dist/{vue-ui-quadrant-BIVqW7U7.js → vue-ui-quadrant-CZn3Ab1f.js} +356 -345
  59. package/dist/{vue-ui-quick-chart-C_hvHc1b.js → vue-ui-quick-chart-CUBOj0Y6.js} +639 -628
  60. package/dist/{vue-ui-radar-RZUPyPwB.js → vue-ui-radar-BAazL3Qv.js} +254 -243
  61. package/dist/{vue-ui-rating-BI8Vk7dO.js → vue-ui-rating-CPa7MotU.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-TVMUEtxK.js → vue-ui-relation-circle-g6pCa6y9.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-DQeXHQG4.js → vue-ui-ridgeline-C_Mpseru.js} +8 -8
  64. package/dist/{vue-ui-rings-BH81WmMS.js → vue-ui-rings-grCm0xEc.js} +250 -239
  65. package/dist/{vue-ui-scatter-Cy7Tz_An.js → vue-ui-scatter-CEr615c-.js} +383 -372
  66. package/dist/{vue-ui-skeleton-CF50qQxr.js → vue-ui-skeleton-BaqJKjqR.js} +3 -3
  67. package/dist/{vue-ui-smiley-CrFXEbJs.js → vue-ui-smiley-DyIfQ5KW.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DtHArnot.js → vue-ui-spark-trend-CqVF6MXT.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CIOwFFgA.js → vue-ui-sparkbar-DwSd_DZu.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-E0DdGotz.js → vue-ui-sparkgauge-Bm4UGamr.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-Dm7WoyjY.js → vue-ui-sparkhistogram-DTZK4gCA.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DoW6DDKT.js → vue-ui-sparkline-DGfIevXQ.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BJnPUWY4.js → vue-ui-sparkstackbar-RT_LpLKL.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Du42smPs.js → vue-ui-stackbar-9Yxdd7ko.js} +443 -432
  75. package/dist/{vue-ui-strip-plot-DnenGI-d.js → vue-ui-strip-plot--2bdwjUL.js} +7 -7
  76. package/dist/{vue-ui-table-BQOQVlHr.js → vue-ui-table-BSNxwgTV.js} +4 -9
  77. package/dist/{vue-ui-table-heatmap-BzK4_gsP.js → vue-ui-table-heatmap-BaK9FRE1.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-B-IwcT8I.js → vue-ui-table-sparkline-Dbi7H7Xb.js} +4 -4
  79. package/dist/{vue-ui-thermometer-06ao_Pj5.js → vue-ui-thermometer-9EIYVN0g.js} +7 -7
  80. package/dist/{vue-ui-timer-CxQq4roK.js → vue-ui-timer-OH8HQjpu.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CuTxkByj.js → vue-ui-tiremarks-D6JpH-vv.js} +6 -6
  82. package/dist/{vue-ui-treemap-BgHhRpiV.js → vue-ui-treemap-DqEQgjj-.js} +356 -345
  83. package/dist/{vue-ui-vertical-bar-CAcsUUCo.js → vue-ui-vertical-bar-BfnMDmGN.js} +9 -9
  84. package/dist/{vue-ui-waffle-Ct3Upw3m.js → vue-ui-waffle-BJu7n_i7.js} +306 -295
  85. package/dist/{vue-ui-wheel-oz06Kt-p.js → vue-ui-wheel-KDWfx0os.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BRy7fg4S.js → vue-ui-word-cloud-Dcg3uI2O.js} +6 -6
  87. package/dist/{vue-ui-world-CTV-YfFN.js → vue-ui-world-SYtMz1jo.js} +343 -329
  88. package/dist/{vue-ui-xy-canvas-BZdhKUIp.js → vue-ui-xy-canvas-BGJg2doK.js} +305 -294
  89. package/dist/vue-ui-xy-qzB1oN1A.js +3819 -0
  90. package/package.json +1 -1
  91. package/dist/vue-ui-xy-DqCy9dpa.js +0 -3808
@@ -1,31 +1,31 @@
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-Dzc2Gi60.js";
3
- import { t as Vt, u as Pt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ht } from "./usePrinter-DBRh8ZvS.js";
5
- import { u as Ze } from "./useNestedProp-CjnS13nF.js";
6
- import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
8
- import Dt from "./img-Vb4QHAHI.js";
9
- import Ut from "./Title-xTWR-Vil.js";
10
- import { _ as Ke } from "./Shape-Adi9i_-f.js";
11
- import Gt from "./Legend-CMvJ6X5j.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 = {
1
+ import { defineAsyncComponent as D, computed as g, ref as y, toRefs as mt, watch as Je, shallowRef as je, onMounted as xt, onBeforeUnmount as $t, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as X, createCommentVNode as h, createElementVNode as c, createVNode as he, createSlots as kt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as W, toDisplayString as L, Teleport as Lt, createTextVNode as wt, nextTick as _t } from "vue";
2
+ import { u as qt, c as Ze, t as Ct, a as St, p as ye, b as zt, o as Tt, f as Q, d as At, e as Xt, Y as Wt, k as F, i as B, X as Yt, s as ue, x as Mt, Z as Nt, I as Ot, F as Rt, v as Ft, w as Bt, y as Vt, z as Pt } from "./index-DrRiscPm.js";
3
+ import { t as Ht, u as It } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Et } from "./usePrinter-CZk2ISUm.js";
5
+ import { u as Ke } from "./useNestedProp-BXhArS-K.js";
6
+ import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Gt from "./img-CBdOMFyn.js";
9
+ import Qt from "./Title-CINHji0n.js";
10
+ import { _ as et } from "./Shape-BHVN6hj0.js";
11
+ import Jt from "./Legend-CevCqVZ5.js";
12
+ import { u as jt, B as Zt } from "./useLoading-D7YHNtLX.js";
13
+ import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox", "id"], al = ["x", "y", "width", "height"], ul = ["id"], ol = ["stop-color"], sl = ["stop-color"], rl = { key: 1 }, nl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], il = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], vl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], dl = { key: 2 }, cl = ["points", "fill"], hl = ["points", "fill"], yl = ["points", "fill"], bl = ["points", "fill"], fl = { key: 3 }, pl = ["y", "fill", "font-size"], gl = ["x", "y", "fill", "font-size"], ml = ["x", "y", "fill", "font-size"], xl = ["y", "fill", "font-size"], $l = { key: 4 }, kl = ["x", "y", "font-size", "fill"], Ll = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill"], _l = ["id", "font-size", "transform", "fill"], ql = ["id", "font-size", "transform", "fill"], Cl = ["id", "font-size", "transform", "fill"], Sl = { key: 5 }, zl = ["fill", "points"], Tl = ["x", "y", "width", "height"], Al = ["x", "y", "width", "height"], Xl = ["x", "y", "width", "height"], Wl = ["x", "y", "width", "height"], Yl = {
15
15
  key: 0,
16
16
  style: { "pointer-events": "none" }
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
+ }, Ml = ["x", "y", "font-size", "fill"], Nl = ["x", "y", "font-size", "fill", "innerHTML"], Ol = { key: 0 }, Rl = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Fl = {
18
18
  key: 8,
19
19
  class: "vue-ui-dna"
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 = {
20
+ }, Bl = ["points", "fill"], Vl = ["points", "fill"], Pl = ["points", "fill"], Hl = ["points", "fill"], Il = { key: 9 }, El = ["x", "y", "font-size", "fill", "font-weight"], Dl = { key: 10 }, Ul = ["x", "y", "fill"], Gl = ["x", "y", "fill"], Ql = ["x", "y", "fill"], Jl = ["x", "y", "fill"], jl = ["stroke", "d"], Zl = ["stroke", "d"], Kl = {
21
21
  key: 4,
22
22
  class: "vue-data-ui-watermark"
23
- }, jl = ["onClick"], Zl = {
23
+ }, ea = ["id"], ta = ["onClick"], la = {
24
24
  key: 0,
25
25
  height: "14",
26
26
  width: "14",
27
27
  viewBox: "0 0 20 20"
28
- }, Kl = ["innerHTML"], ea = {
28
+ }, aa = ["innerHTML"], ua = {
29
29
  __name: "vue-ui-quadrant",
30
30
  props: {
31
31
  config: {
@@ -42,9 +42,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
42
42
  }
43
43
  },
44
44
  emits: ["selectPlot", "selectSide", "selectLegend"],
45
- setup(et, { expose: tt, emit: lt }) {
46
- const at = D(() => import("./Tooltip-BH3CiANh.js")), ut = D(() => import("./vue-ui-accordion-CPk8wAuj.js")), ot = D(() => import("./DataTable-ClgCsiJA.js")), st = D(() => import("./PenAndPaper-D3WRn-G2.js")), rt = D(() => import("./UserOptions-CKKPgDLV.js")), nt = D(() => import("./PackageVersion-CD5VH_Al.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),
45
+ setup(tt, { expose: lt, emit: at }) {
46
+ const ut = D(() => import("./Tooltip-hfdFRoLp.js")), ot = D(() => import("./vue-ui-accordion-s_m_NJzJ.js")), st = D(() => import("./DataTable-CWzb1j8d.js")), rt = D(() => import("./PenAndPaper-C_R9vJkU.js")), nt = D(() => import("./UserOptions-r0epwyXR.js")), it = D(() => import("./PackageVersion-n4qokxnx.js")), { vue_ui_quadrant: vt } = qt(), Y = tt, be = g(() => !!Y.dataset && Y.dataset.length), w = y(Ze()), oe = at, dt = y(null), se = y(!1), re = y(""), fe = y(0), p = y(!1), M = y(null), pe = y(null), ge = y(null), me = y(null), xe = y(null), $e = y(0), ke = y(0), Le = y(0), we = y(!1), t = y(ie()), { loading: _e, FINAL_DATASET: qe } = jt({
47
+ ...mt(Y),
48
48
  FINAL_CONFIG: t,
49
49
  prepareConfig: ie,
50
50
  skeletonDataset: [
@@ -69,7 +69,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
69
69
  ]
70
70
  }
71
71
  ],
72
- skeletonConfig: _t({
72
+ skeletonConfig: Ct({
73
73
  defaultConfig: t.value,
74
74
  userConfig: {
75
75
  userOptions: { show: !1 },
@@ -107,30 +107,30 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
107
107
  }
108
108
  }
109
109
  })
110
- }), { userOptionsVisible: ne, setUserOptionsVisibility: qe, keepUserOptionState: Ce } = It({ config: t.value }), { svgRef: Se } = Et({ config: t.value.style.chart.title });
110
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: Ce, keepUserOptionState: Se } = Dt({ config: t.value }), { svgRef: ze } = Ut({ config: t.value.style.chart.title });
111
111
  function ie() {
112
- const l = Ze({
113
- userConfig: W.config,
114
- defaultConfig: it
112
+ const l = Ke({
113
+ userConfig: Y.config,
114
+ defaultConfig: vt
115
115
  });
116
116
  return l.theme ? {
117
- ...Ze({
118
- userConfig: Ct.vue_ui_quadrant[l.theme] || W.config,
117
+ ...Ke({
118
+ userConfig: zt.vue_ui_quadrant[l.theme] || Y.config,
119
119
  defaultConfig: l
120
120
  }),
121
- customPalette: qt[l.theme] || ye
121
+ customPalette: St[l.theme] || ye
122
122
  } : l;
123
123
  }
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;
124
+ Je(() => Y.config, (l) => {
125
+ t.value = ie(), ne.value = !t.value.userOptions.showOnChartHover, Te(), $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;
126
126
  }, { deep: !0 });
127
- const M = Je(null), P = Je(null), H = g(() => t.value.debug);
128
- function ze() {
129
- if (St(W.dataset) ? Q({
127
+ const N = je(null), P = je(null), H = g(() => t.value.debug);
128
+ function Te() {
129
+ if (Tt(Y.dataset) ? Q({
130
130
  componentName: "VueUiQuadrant",
131
131
  type: "dataset",
132
132
  debug: H.value
133
- }) : W.dataset.forEach((l, u) => {
133
+ }) : Y.dataset.forEach((l, u) => {
134
134
  [null, void 0].includes(l.name) && Q({
135
135
  componentName: "VueUiQuadrant",
136
136
  type: "datasetSerieAttribute",
@@ -154,9 +154,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
154
154
  });
155
155
  });
156
156
  }), t.value.responsive) {
157
- const l = Vt(() => {
158
- const { width: u, height: a } = Pt({
159
- chart: Y.value,
157
+ const l = Ht(() => {
158
+ const { width: u, height: a } = It({
159
+ chart: M.value,
160
160
  title: t.value.style.chart.title.text ? pe.value : null,
161
161
  legend: t.value.style.chart.legend.show ? ge.value : null,
162
162
  source: me.value,
@@ -166,19 +166,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
166
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;
167
167
  });
168
168
  });
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);
169
+ N.value && (P.value && N.value.unobserve(P.value), N.value.disconnect()), N.value = new ResizeObserver(l), P.value = M.value.parentNode, N.value.observe(P.value);
170
170
  }
171
171
  }
172
- mt(() => {
173
- ze();
174
- }), xt(() => {
175
- M.value && (P.value && M.value.unobserve(P.value), M.value.disconnect());
172
+ xt(() => {
173
+ we.value = !0, Te();
174
+ }), $t(() => {
175
+ N.value && (P.value && N.value.unobserve(P.value), N.value.disconnect());
176
176
  });
177
- const { isPrinting: Te, isImaging: Ae, generatePdf: Xe, generateImage: We } = Ht({
178
- elementId: `vue-ui-quadrant_${z.value}`,
177
+ const { isPrinting: Ae, isImaging: Xe, generatePdf: We, generateImage: Ye } = Et({
178
+ elementId: `vue-ui-quadrant_${w.value}`,
179
179
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
180
180
  options: t.value.userOptions.print
181
- }), dt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Ye = g(() => zt(t.value.customPalette)), $ = y({
181
+ }), ct = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Me = g(() => At(t.value.customPalette)), $ = y({
182
182
  plotLabels: {
183
183
  show: t.value.style.chart.layout.labels.plotLabels.show
184
184
  },
@@ -201,7 +201,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
201
201
  startX: 0,
202
202
  startY: 0
203
203
  });
204
- Qe(() => e.value, (l) => {
204
+ Je(() => e.value, (l) => {
205
205
  l && (v.value = {
206
206
  ...JSON.parse(JSON.stringify(e.value)),
207
207
  startX: 0,
@@ -249,7 +249,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
249
249
  default:
250
250
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
251
251
  }
252
- }), ct = y(null), Z = y(!1);
252
+ }), ht = y(null), Z = y(!1);
253
253
  function J({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
254
254
  d.value && j(r);
255
255
  const b = {
@@ -259,12 +259,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
259
259
  h: o - v.value.height
260
260
  }, f = t.value.zoomAnimationFrames;
261
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;
262
+ function Qe() {
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 ? ht.value = requestAnimationFrame(Qe) : Z.value = !1;
264
264
  }
265
- Ge();
265
+ Qe();
266
266
  }
267
- function N(l) {
267
+ function O(l) {
268
268
  if (!Z.value)
269
269
  if (p.value && d.value === l)
270
270
  J({
@@ -318,7 +318,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
318
318
  p.value = !0;
319
319
  }
320
320
  }
321
- const ht = g(() => {
321
+ const yt = g(() => {
322
322
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
323
323
  for (let r = 0; r < l; r += 1)
324
324
  o.push({
@@ -329,7 +329,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
329
329
  opacity: Math.round((r + 1) / l * 20)
330
330
  });
331
331
  return o;
332
- }), q = g(() => {
332
+ }), C = g(() => {
333
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;
334
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)))), {
335
335
  x: {
@@ -341,29 +341,29 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
341
341
  min: o
342
342
  }
343
343
  };
344
- }), O = y([]), I = g(() => _e.value.map((l, u) => ({
344
+ }), R = y([]), I = g(() => qe.value.map((l, u) => ({
345
345
  ...l,
346
- series: At({
346
+ series: Wt({
347
347
  data: l.series,
348
348
  threshold: t.value.downsample.threshold
349
349
  }),
350
- id: `cat_${u}_${z.value}`,
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) => ({
350
+ id: `cat_${u}_${w.value}`,
351
+ color: Xt(l.color) || Me.value[u] || ye[u]
352
+ }))), bt = g(() => I.value.filter((l) => !R.value.includes(l.id))), ft = g(() => I.value.map((l, u) => ({
353
353
  ...l,
354
354
  shape: l.shape || "circle",
355
355
  series: l.series.map((a) => ({
356
356
  ...a,
357
- x: Me(a.x),
358
- y: Ne(a.y),
357
+ x: Ne(a.x),
358
+ y: Oe(a.y),
359
359
  xValue: a.x,
360
360
  yValue: a.y,
361
- quadrantSide: Re({ x: a.x, y: a.y }),
361
+ quadrantSide: Fe({ x: a.x, y: a.y }),
362
362
  categoryName: l.name,
363
363
  shape: l.shape,
364
364
  color: l.color
365
365
  }))
366
- }))), S = g(() => (_e.value.forEach((l, u) => {
366
+ }))), z = g(() => (qe.value.forEach((l, u) => {
367
367
  l.series.forEach((a, o) => {
368
368
  [null, void 0].includes(a.x) && Q({
369
369
  componentName: "VueUiQuadrant",
@@ -381,43 +381,43 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
381
381
  debug: H.value
382
382
  });
383
383
  });
384
- }), yt.value.map((l, u) => ({
384
+ }), bt.value.map((l, u) => ({
385
385
  ...l,
386
386
  shape: l.shape || "circle",
387
- color: l.color || Ye.value[u] || ye[u],
387
+ color: l.color || Me.value[u] || ye[u],
388
388
  series: l.series.map((a) => ({
389
389
  ...a,
390
- x: Me(a.x),
391
- y: Ne(a.y),
390
+ x: Ne(a.x),
391
+ y: Oe(a.y),
392
392
  xValue: a.x,
393
393
  yValue: a.y,
394
- quadrantSide: Re({ x: a.x, y: a.y }),
394
+ quadrantSide: Fe({ x: a.x, y: a.y }),
395
395
  categoryName: l.name,
396
396
  shape: l.shape,
397
397
  color: l.color,
398
- uid: je()
398
+ uid: Ze()
399
399
  }))
400
400
  }))));
401
- function Me(l) {
401
+ function Ne(l) {
402
402
  if (l >= 0) {
403
- const u = l / q.value.x.max;
403
+ const u = l / C.value.x.max;
404
404
  return e.value.centerX + e.value.usableWidth / 2 * u;
405
405
  } else {
406
- const u = Math.abs(l) / Math.abs(q.value.x.min);
406
+ const u = Math.abs(l) / Math.abs(C.value.x.min);
407
407
  return e.value.centerX - e.value.usableWidth / 2 * u;
408
408
  }
409
409
  }
410
- function Ne(l) {
410
+ function Oe(l) {
411
411
  if (l >= 0) {
412
- const u = l / q.value.y.max;
412
+ const u = l / C.value.y.max;
413
413
  return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
414
414
  } else {
415
- const u = Math.abs(l) / Math.abs(q.value.y.min);
415
+ const u = Math.abs(l) / Math.abs(C.value.y.min);
416
416
  return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
417
417
  }
418
418
  }
419
419
  const K = g(() => {
420
- const l = S.value.flatMap((f) => f.series.map((A) => ({
420
+ const l = z.value.flatMap((f) => f.series.map((A) => ({
421
421
  x: A.xValue,
422
422
  y: A.yValue,
423
423
  name: A.name,
@@ -472,19 +472,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
472
472
  return { head: l, body: u, config: a, colNames: l };
473
473
  });
474
474
  function ve(l) {
475
- O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
476
- const u = Pe();
475
+ R.value.includes(l) ? R.value = R.value.filter((a) => a !== l) : R.value.push(l);
476
+ const u = He();
477
477
  oe("selectLegend", u);
478
478
  }
479
- const Oe = g(() => bt.value.map((l) => ({
479
+ const Re = g(() => ft.value.map((l) => ({
480
480
  name: l.name,
481
481
  shape: l.shape,
482
482
  color: l.color,
483
483
  id: l.id,
484
- opacity: O.value.includes(l.id) ? 0.5 : 1,
484
+ opacity: R.value.includes(l.id) ? 0.5 : 1,
485
485
  segregate: () => ve(l.id),
486
- isSegregated: O.value.includes(l.id)
487
- }))), ft = g(() => ({
486
+ isSegregated: R.value.includes(l.id)
487
+ }))), pt = g(() => ({
488
488
  cy: "quadrant-div-legend",
489
489
  backgroundColor: t.value.style.chart.legend.backgroundColor,
490
490
  color: t.value.style.chart.legend.color,
@@ -492,7 +492,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
492
492
  paddingBottom: 12,
493
493
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
494
494
  }));
495
- function Re(l) {
495
+ function Fe(l) {
496
496
  switch (!0) {
497
497
  case (l.x >= 0 && l.y >= 0):
498
498
  return "tr";
@@ -507,27 +507,27 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
507
507
  }
508
508
  }
509
509
  const te = y(null), le = y(null), de = y(null);
510
- function Fe(l, u, a) {
510
+ function Be(l, u, a) {
511
511
  t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: u, seriesIndex: a }), te.value = u.uid, le.value = {
512
512
  color: l.color,
513
513
  shape: l.shape
514
514
  }, de.value = {
515
515
  datapoint: u,
516
516
  seriesIndex: a,
517
- series: S.value,
517
+ series: z.value,
518
518
  config: t.value
519
519
  }, se.value = !0;
520
520
  const o = t.value.style.chart.tooltip.customFormat;
521
- if (Ft(o) && Bt(() => o({
521
+ if (Vt(o) && Pt(() => o({
522
522
  seriesIndex: a,
523
523
  datapoint: u,
524
- series: S.value,
524
+ series: z.value,
525
525
  config: t.value
526
526
  })))
527
527
  re.value = o({
528
528
  seriesIndex: a,
529
529
  datapoint: u,
530
- series: S.value,
530
+ series: z.value,
531
531
  config: t.value
532
532
  });
533
533
  else {
@@ -551,10 +551,10 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
551
551
  )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
552
552
  }
553
553
  }
554
- function Be(l, u) {
554
+ function Ve(l, u) {
555
555
  se.value = !1, te.value = null, le.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: l, seriesIndex: u });
556
556
  }
557
- function Ve(l, u, a) {
557
+ function Pe(l, u, a) {
558
558
  t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: u, seriesIndex: a });
559
559
  const o = {
560
560
  category: l.name,
@@ -569,7 +569,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
569
569
  }
570
570
  function j(l) {
571
571
  if (!l) return;
572
- const u = S.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
572
+ const u = z.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
573
573
  category: r.categoryName,
574
574
  itemName: r.name,
575
575
  x: r.xValue,
@@ -581,7 +581,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
581
581
  };
582
582
  oe("selectSide", a);
583
583
  }
584
- const w = g(() => ({
584
+ const _ = g(() => ({
585
585
  TL: {
586
586
  tl: {
587
587
  x: e.value.left + e.value.usableWidth / 4 - 20,
@@ -687,8 +687,8 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
687
687
  }
688
688
  }
689
689
  }));
690
- function Pe() {
691
- return S.value.map((l) => ({
690
+ function He() {
691
+ return z.value.map((l) => ({
692
692
  color: l.color,
693
693
  name: l.name,
694
694
  shape: l.shape,
@@ -701,32 +701,32 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
701
701
  }))
702
702
  }));
703
703
  }
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" });
704
+ function Ie(l = null) {
705
+ _t(() => {
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 = Ft(r);
707
+ l ? l(b) : Bt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
708
708
  });
709
709
  }
710
710
  const E = y(!1);
711
- function Ie(l) {
711
+ function Ee(l) {
712
712
  E.value = l, fe.value += 1;
713
713
  }
714
- function Ee() {
714
+ function De() {
715
715
  $.value.showTable = !$.value.showTable;
716
716
  }
717
- function De() {
717
+ function Ue() {
718
718
  $.value.plotLabels.show = !$.value.plotLabels.show;
719
719
  }
720
- function Ue() {
720
+ function Ge() {
721
721
  $.value.showTooltip = !$.value.showTooltip;
722
722
  }
723
723
  const ae = y(!1);
724
724
  function ce() {
725
725
  ae.value = !ae.value;
726
726
  }
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 });
727
+ async function gt({ scale: l = 2 } = {}) {
728
+ if (!M.value) return;
729
+ const { width: u, height: a } = M.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Gt({ domElement: M.value, base64: !0, img: !0, scale: l });
730
730
  return {
731
731
  imageUri: r,
732
732
  base64: b,
@@ -736,48 +736,48 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
736
736
  aspectRatio: o
737
737
  };
738
738
  }
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,
739
+ return lt({
740
+ getData: He,
741
+ getImage: gt,
742
+ generatePdf: We,
743
+ generateCsv: Ie,
744
+ generateImage: Ye,
745
+ toggleTable: De,
746
+ toggleLabels: Ue,
747
+ toggleTooltip: Ge,
748
748
  toggleAnnotator: ce,
749
- toggleFullscreen: Ie
749
+ toggleFullscreen: Ee
750
750
  }), (l, u) => (s(), n("div", {
751
751
  class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
752
752
  ref_key: "quadrantChart",
753
- ref: Y,
754
- id: `vue-ui-quadrant_${z.value}`,
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))
753
+ ref: M,
754
+ id: `vue-ui-quadrant_${w.value}`,
755
+ style: q(`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(Ce)(!0)),
757
+ onMouseleave: u[15] || (u[15] = () => i(Ce)(!1))
758
758
  }, [
759
- t.value.userOptions.buttons.annotator ? (s(), R(i(st), {
759
+ t.value.userOptions.buttons.annotator ? (s(), X(i(rt), {
760
760
  key: 0,
761
- svgRef: i(Se),
761
+ svgRef: i(ze),
762
762
  backgroundColor: t.value.style.chart.backgroundColor,
763
763
  color: t.value.style.chart.color,
764
764
  active: ae.value,
765
765
  onClose: ce
766
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
767
- dt.value ? (s(), n("div", {
766
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
767
+ ct.value ? (s(), n("div", {
768
768
  key: 1,
769
769
  ref_key: "noTitle",
770
770
  ref: xe,
771
771
  class: "vue-data-ui-no-title-space",
772
772
  style: "height:36px; width: 100%;background:transparent"
773
- }, null, 512)) : c("", !0),
773
+ }, null, 512)) : h("", !0),
774
774
  t.value.style.chart.title.text ? (s(), n("div", {
775
775
  key: 2,
776
776
  ref_key: "chartTitle",
777
777
  ref: pe,
778
778
  style: "width:100%;background:transparent;padding-bottom:12px"
779
779
  }, [
780
- (s(), R(Ut, {
780
+ (s(), X(Qt, {
781
781
  key: `table_${$e.value}`,
782
782
  config: {
783
783
  title: {
@@ -790,16 +790,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
790
790
  }
791
791
  }
792
792
  }, null, 8, ["config"]))
793
- ], 512)) : c("", !0),
794
- t.value.userOptions.show && be.value && (i(Ce) || i(ne)) ? (s(), R(i(rt), {
793
+ ], 512)) : h("", !0),
794
+ c("div", {
795
+ id: `legend-top-${w.value}`
796
+ }, null, 8, tl),
797
+ t.value.userOptions.show && be.value && (i(Se) || i(ne)) ? (s(), X(i(nt), {
795
798
  ref_key: "details",
796
- ref: vt,
799
+ ref: dt,
797
800
  key: `user_options_${fe.value}`,
798
801
  backgroundColor: t.value.style.chart.backgroundColor,
799
802
  color: t.value.style.chart.color,
800
- isImaging: i(Ae),
801
- isPrinting: i(Te),
802
- uid: z.value,
803
+ isImaging: i(Xe),
804
+ isPrinting: i(Ae),
805
+ uid: w.value,
803
806
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
804
807
  hasPdf: t.value.userOptions.buttons.pdf,
805
808
  hasImg: t.value.userOptions.buttons.img,
@@ -810,24 +813,24 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
810
813
  isFullscreen: E.value,
811
814
  isTooltip: $.value.showTooltip,
812
815
  titles: { ...t.value.userOptions.buttonTitles },
813
- chartElement: Y.value,
816
+ chartElement: M.value,
814
817
  position: t.value.userOptions.position,
815
818
  hasAnnotator: t.value.userOptions.buttons.annotator,
816
819
  isAnnotation: ae.value,
817
820
  callbacks: t.value.userOptions.callbacks,
818
821
  printScale: t.value.userOptions.print.scale,
819
- onToggleFullscreen: Ie,
820
- onGeneratePdf: i(Xe),
821
- onGenerateCsv: He,
822
- onGenerateImage: i(We),
823
- onToggleTable: Ee,
824
- onToggleLabels: De,
825
- onToggleTooltip: Ue,
822
+ onToggleFullscreen: Ee,
823
+ onGeneratePdf: i(We),
824
+ onGenerateCsv: Ie,
825
+ onGenerateImage: i(Ye),
826
+ onToggleTable: De,
827
+ onToggleLabels: Ue,
828
+ onToggleTooltip: Ge,
826
829
  onToggleAnnotator: ce,
827
- style: _({
828
- visibility: i(Ce) ? i(ne) ? "visible" : "hidden" : "visible"
830
+ style: q({
831
+ visibility: i(Se) ? i(ne) ? "visible" : "hidden" : "visible"
829
832
  })
830
- }, $t({ _: 2 }, [
833
+ }, kt({ _: 2 }, [
831
834
  l.$slots.menuIcon ? {
832
835
  name: "menuIcon",
833
836
  fn: m(({ isOpen: a, color: o }) => [
@@ -891,17 +894,17 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
891
894
  ]),
892
895
  key: "8"
893
896
  } : void 0
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),
897
+ ]), 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),
895
898
  (s(), n("svg", {
896
899
  ref_key: "svgRef",
897
- ref: Se,
898
- xmlns: i(Xt),
900
+ ref: ze,
901
+ xmlns: i(Yt),
899
902
  class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
900
903
  viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
901
- style: _(`max-width:100%;overflow:hidden;background:transparent;color:${t.value.style.chart.color}`),
902
- id: `svg_${z.value}`
904
+ style: q(`max-width:100%;overflow:hidden;background:transparent;color:${t.value.style.chart.color}`),
905
+ id: `svg_${w.value}`
903
906
  }, [
904
- he(i(nt)),
907
+ he(i(it)),
905
908
  l.$slots["chart-background"] ? (s(), n("foreignObject", {
906
909
  key: 0,
907
910
  x: v.value.startX,
@@ -913,28 +916,28 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
913
916
  }
914
917
  }, [
915
918
  x(l.$slots, "chart-background", {}, void 0, !0)
916
- ], 8, el)) : c("", !0),
917
- h("defs", null, [
918
- (s(!0), n(C, null, X(S.value, (a, o) => (s(), n("radialGradient", {
919
+ ], 8, al)) : h("", !0),
920
+ c("defs", null, [
921
+ (s(!0), n(S, null, W(z.value, (a, o) => (s(), n("radialGradient", {
919
922
  cx: "50%",
920
923
  cy: "50%",
921
924
  r: "50%",
922
925
  fx: "50%",
923
926
  fy: "50%",
924
- id: `quadrant_gradient_${z.value}_${o}`
927
+ id: `quadrant_gradient_${w.value}_${o}`
925
928
  }, [
926
- h("stop", {
929
+ c("stop", {
927
930
  offset: "0%",
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", {
931
+ "stop-color": i(ue)(i(Mt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
932
+ }, null, 8, ol),
933
+ c("stop", {
931
934
  offset: "100%",
932
935
  "stop-color": i(ue)(a.color, t.value.style.chart.layout.areas.opacity)
933
- }, null, 8, al)
934
- ], 8, tl))), 256))
936
+ }, null, 8, sl)
937
+ ], 8, ul))), 256))
935
938
  ]),
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", {
939
+ t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", rl, [
940
+ (s(!0), n(S, null, W(yt.value, (a) => (s(), n("rect", {
938
941
  fill: t.value.style.chart.layout.grid.graduations.fill ? i(ue)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
939
942
  x: a.x,
940
943
  y: a.y,
@@ -943,47 +946,47 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
943
946
  "stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
944
947
  stroke: t.value.style.chart.layout.grid.graduations.stroke,
945
948
  rx: t.value.style.chart.layout.grid.graduations.roundingForce
946
- }, null, 8, ol))), 256))
947
- ])) : c("", !0),
948
- h("line", {
949
+ }, null, 8, nl))), 256))
950
+ ])) : h("", !0),
951
+ c("line", {
949
952
  x1: e.value.left,
950
953
  y1: e.value.centerY,
951
954
  x2: e.value.right,
952
955
  y2: e.value.centerY,
953
956
  stroke: t.value.style.chart.layout.grid.stroke,
954
957
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
955
- }, null, 8, sl),
956
- h("line", {
958
+ }, null, 8, il),
959
+ c("line", {
957
960
  x1: e.value.centerX,
958
961
  y1: e.value.top,
959
962
  x2: e.value.centerX,
960
963
  y2: e.value.bottom,
961
964
  stroke: t.value.style.chart.layout.grid.stroke,
962
965
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
963
- }, null, 8, rl),
964
- t.value.style.chart.layout.grid.showArrows ? (s(), n("g", nl, [
965
- h("polygon", {
966
+ }, null, 8, vl),
967
+ t.value.style.chart.layout.grid.showArrows ? (s(), n("g", dl, [
968
+ c("polygon", {
966
969
  points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
967
970
  fill: t.value.style.chart.layout.grid.stroke,
968
971
  stroke: "none"
969
- }, null, 8, il),
970
- h("polygon", {
972
+ }, null, 8, cl),
973
+ c("polygon", {
971
974
  points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
972
975
  fill: t.value.style.chart.layout.grid.stroke,
973
976
  stroke: "none"
974
- }, null, 8, vl),
975
- h("polygon", {
977
+ }, null, 8, hl),
978
+ c("polygon", {
976
979
  points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
977
980
  fill: t.value.style.chart.layout.grid.stroke,
978
981
  stroke: "none"
979
- }, null, 8, dl),
980
- h("polygon", {
982
+ }, null, 8, yl),
983
+ c("polygon", {
981
984
  points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
982
985
  fill: t.value.style.chart.layout.grid.stroke,
983
986
  stroke: "none"
984
- }, null, 8, cl)
985
- ])) : c("", !0),
986
- t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g", hl, [
987
+ }, null, 8, bl)
988
+ ])) : h("", !0),
989
+ t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g", fl, [
987
990
  t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
988
991
  key: 0,
989
992
  x: 0,
@@ -991,9 +994,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
991
994
  "text-anchor": "start",
992
995
  fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
993
996
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
994
- style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
997
+ style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
995
998
  onClick: u[0] || (u[0] = (a) => j("tl"))
996
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, yl)) : c("", !0),
999
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, pl)) : h("", !0),
997
1000
  t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
998
1001
  key: 1,
999
1002
  x: e.value.width,
@@ -1001,9 +1004,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1001
1004
  "text-anchor": "end",
1002
1005
  fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
1003
1006
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
1004
- style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1007
+ style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1005
1008
  onClick: u[1] || (u[1] = (a) => j("tr"))
1006
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, bl)) : c("", !0),
1009
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, gl)) : h("", !0),
1007
1010
  t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
1008
1011
  key: 2,
1009
1012
  x: e.value.width,
@@ -1011,9 +1014,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1011
1014
  "text-anchor": "end",
1012
1015
  fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
1013
1016
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
1014
- style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1017
+ style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1015
1018
  onClick: u[2] || (u[2] = (a) => j("br"))
1016
- }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, fl)) : c("", !0),
1019
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, ml)) : h("", !0),
1017
1020
  t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
1018
1021
  key: 3,
1019
1022
  x: 0,
@@ -1021,12 +1024,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1021
1024
  "text-anchor": "start",
1022
1025
  fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
1023
1026
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
1024
- style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1027
+ style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1025
1028
  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", {
1029
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, xl)) : h("", !0)
1030
+ ])) : h("", !0),
1031
+ t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", $l, [
1032
+ c("text", {
1030
1033
  x: e.value.centerX,
1031
1034
  y: e.value.top - e.value.padding / 6,
1032
1035
  "text-anchor": "middle",
@@ -1034,20 +1037,20 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1034
1037
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1035
1038
  }, L(i(F)(
1036
1039
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
1037
- q.value.y.max,
1040
+ C.value.y.max,
1038
1041
  i(B)({
1039
- v: q.value.y.max,
1042
+ v: C.value.y.max,
1040
1043
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1041
1044
  })
1042
- )), 9, ml),
1043
- h("text", {
1045
+ )), 9, kl),
1046
+ c("text", {
1044
1047
  x: e.value.centerX,
1045
1048
  y: e.value.top - e.value.padding / 2,
1046
1049
  "text-anchor": "middle",
1047
1050
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1048
1051
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1049
- }, L(t.value.style.chart.layout.grid.yAxis.name), 9, xl),
1050
- h("text", {
1052
+ }, L(t.value.style.chart.layout.grid.yAxis.name), 9, Ll),
1053
+ c("text", {
1051
1054
  x: e.value.centerX,
1052
1055
  y: e.value.bottom + e.value.padding * 0.35,
1053
1056
  "text-anchor": "middle",
@@ -1055,118 +1058,118 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1055
1058
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
1056
1059
  }, L(i(F)(
1057
1060
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
1058
- q.value.y.min,
1061
+ C.value.y.min,
1059
1062
  i(B)({
1060
- v: q.value.y.min,
1063
+ v: C.value.y.min,
1061
1064
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1062
1065
  })
1063
- )), 9, $l),
1064
- h("text", {
1065
- id: `xLabelMin_${z.value}`,
1066
+ )), 9, wl),
1067
+ c("text", {
1068
+ id: `xLabelMin_${w.value}`,
1066
1069
  "text-anchor": "middle",
1067
1070
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1068
1071
  transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
1069
1072
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
1070
1073
  }, L(i(F)(
1071
1074
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1072
- q.value.x.min,
1075
+ C.value.x.min,
1073
1076
  i(B)({
1074
- v: q.value.x.min,
1077
+ v: C.value.x.min,
1075
1078
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1076
1079
  })
1077
- )), 9, kl),
1078
- h("text", {
1079
- id: `xLabelMax_${z.value}`,
1080
+ )), 9, _l),
1081
+ c("text", {
1082
+ id: `xLabelMax_${w.value}`,
1080
1083
  "text-anchor": "middle",
1081
1084
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1082
1085
  transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1083
1086
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1084
1087
  }, L(i(F)(
1085
1088
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1086
- q.value.x.max,
1089
+ C.value.x.max,
1087
1090
  i(B)({
1088
- v: q.value.x.max,
1091
+ v: C.value.x.max,
1089
1092
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1090
1093
  })
1091
- )), 9, Ll),
1092
- h("text", {
1093
- id: `xLabelMaxName_${z.value}`,
1094
+ )), 9, ql),
1095
+ c("text", {
1096
+ id: `xLabelMaxName_${w.value}`,
1094
1097
  "text-anchor": "middle",
1095
1098
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1096
1099
  transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1097
1100
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
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, [
1101
+ }, L(t.value.style.chart.layout.grid.xAxis.name), 9, Cl)
1102
+ ])) : h("", !0),
1103
+ t.value.style.chart.layout.areas.show ? (s(), n("g", Sl, [
1104
+ (s(!0), n(S, null, W(z.value, (a, o) => (s(), n("g", null, [
1102
1105
  a.series.length > 2 ? (s(), n("polygon", {
1103
1106
  key: 0,
1104
1107
  "data-cy-quadrant-area": "",
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)
1108
+ fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${o})` : i(ue)(a.color, t.value.style.chart.layout.areas.opacity),
1109
+ points: i(Nt)(a)
1110
+ }, null, 8, zl)) : h("", !0)
1108
1111
  ]))), 256))
1109
- ])) : c("", !0),
1110
- h("g", null, [
1111
- h("rect", {
1112
- onClick: u[4] || (u[4] = (a) => N("TL")),
1112
+ ])) : h("", !0),
1113
+ c("g", null, [
1114
+ c("rect", {
1115
+ onClick: u[4] || (u[4] = (a) => O("TL")),
1113
1116
  x: e.value.left,
1114
1117
  y: e.value.top,
1115
1118
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1116
1119
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1117
1120
  fill: "transparent",
1118
1121
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1119
- }, null, 10, Cl),
1120
- h("rect", {
1121
- onClick: u[5] || (u[5] = (a) => N("TR")),
1122
+ }, null, 10, Tl),
1123
+ c("rect", {
1124
+ onClick: u[5] || (u[5] = (a) => O("TR")),
1122
1125
  x: e.value.centerX,
1123
1126
  y: e.value.top,
1124
1127
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1125
1128
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1126
1129
  fill: "transparent",
1127
1130
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1128
- }, null, 10, Sl),
1129
- h("rect", {
1130
- onClick: u[6] || (u[6] = (a) => N("BR")),
1131
+ }, null, 10, Al),
1132
+ c("rect", {
1133
+ onClick: u[6] || (u[6] = (a) => O("BR")),
1131
1134
  x: e.value.centerX,
1132
1135
  y: e.value.centerY,
1133
1136
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1134
1137
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1135
1138
  fill: "transparent",
1136
1139
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1137
- }, null, 10, zl),
1138
- h("rect", {
1139
- onClick: u[7] || (u[7] = (a) => N("BL")),
1140
+ }, null, 10, Xl),
1141
+ c("rect", {
1142
+ onClick: u[7] || (u[7] = (a) => O("BL")),
1140
1143
  x: e.value.left,
1141
1144
  y: e.value.centerY,
1142
1145
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1143
1146
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1144
1147
  fill: "transparent",
1145
1148
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1146
- }, null, 10, Tl)
1149
+ }, null, 10, Wl)
1147
1150
  ]),
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", {
1151
+ t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
1152
+ $.value.plotLabels.show ? (s(), n("g", Ol, [
1153
+ (s(!0), n(S, null, W(z.value, (a, o) => (s(), n(S, null, [
1154
+ (s(!0), n(S, null, W(a.series, (r) => (s(), n("foreignObject", {
1152
1155
  style: { overflow: "visible" },
1153
1156
  height: "10",
1154
1157
  width: "100",
1155
1158
  x: r.x - 50,
1156
1159
  y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1157
- onMouseover: (b) => Fe(a, r, o),
1158
- onMouseleave: (b) => Be(r, o),
1159
- onClick: (b) => Ve(a, r, o)
1160
+ onMouseover: (b) => Be(a, r, o),
1161
+ onMouseleave: (b) => Ve(r, o),
1162
+ onClick: (b) => Pe(a, r, o)
1160
1163
  }, [
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;`)
1164
+ c("div", {
1165
+ style: q(`color:${i(Rt)(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;`)
1163
1166
  }, L(r.name), 5)
1164
- ], 40, Ml))), 256))
1167
+ ], 40, Rl))), 256))
1165
1168
  ], 64))), 256))
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, {
1169
+ ])) : h("", !0)
1170
+ ], 64)) : (s(), n(S, { key: 6 }, [
1171
+ (s(!0), n(S, null, W(z.value, (a, o) => (s(), n("g", null, [
1172
+ (s(!0), n(S, null, W(a.series, (r) => (s(), X(et, {
1170
1173
  color: a.color,
1171
1174
  isSelected: te.value && r.uid === te.value,
1172
1175
  plot: r,
@@ -1174,14 +1177,14 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1174
1177
  shape: a.shape,
1175
1178
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1176
1179
  strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
1177
- onMouseenter: (b) => Fe(a, r, o),
1178
- onMouseleave: (b) => Be(r, o),
1179
- onClick: (b) => Ve(a, r, o)
1180
+ onMouseenter: (b) => Be(a, r, o),
1181
+ onMouseleave: (b) => Ve(r, o),
1182
+ onClick: (b) => Pe(a, r, o)
1180
1183
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
1181
1184
  ]))), 256)),
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, [
1185
+ $.value.plotLabels.show ? (s(), n("g", Yl, [
1186
+ (s(!0), n(S, null, W(z.value, (a) => (s(), n("g", null, [
1187
+ (s(!0), n(S, null, W(a.series, (o) => (s(), n("g", null, [
1185
1188
  String(o.name).includes(`
1186
1189
  `) ? (s(), n("text", {
1187
1190
  key: 1,
@@ -1190,152 +1193,160 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1190
1193
  "text-anchor": "middle",
1191
1194
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1192
1195
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1193
- innerHTML: i(Mt)({
1196
+ innerHTML: i(Ot)({
1194
1197
  content: String(o.name),
1195
1198
  fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1196
1199
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1197
1200
  x: o.x,
1198
1201
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
1199
1202
  })
1200
- }, null, 8, Wl)) : (s(), n("text", {
1203
+ }, null, 8, Nl)) : (s(), n("text", {
1201
1204
  key: 0,
1202
1205
  x: o.x,
1203
1206
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1204
1207
  "text-anchor": "middle",
1205
1208
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1206
1209
  fill: t.value.style.chart.layout.labels.plotLabels.color
1207
- }, L(o.name), 9, Xl))
1210
+ }, L(o.name), 9, Ml))
1208
1211
  ]))), 256))
1209
1212
  ]))), 256))
1210
- ])) : c("", !0)
1213
+ ])) : h("", !0)
1211
1214
  ], 64)),
1212
- p.value ? (s(), n("g", Nl, [
1215
+ p.value ? (s(), n("g", Fl, [
1213
1216
  d.value === "TL" ? (s(), n("polygon", {
1214
1217
  key: 0,
1215
1218
  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}`,
1216
1219
  fill: t.value.style.chart.backgroundColor,
1217
1220
  style: { opacity: "1" }
1218
- }, null, 8, Ol)) : c("", !0),
1221
+ }, null, 8, Bl)) : h("", !0),
1219
1222
  d.value === "TR" ? (s(), n("polygon", {
1220
1223
  key: 1,
1221
1224
  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}`,
1222
1225
  fill: t.value.style.chart.backgroundColor,
1223
1226
  style: { opacity: "1" }
1224
- }, null, 8, Rl)) : c("", !0),
1227
+ }, null, 8, Vl)) : h("", !0),
1225
1228
  d.value === "BR" ? (s(), n("polygon", {
1226
1229
  key: 2,
1227
1230
  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}`,
1228
1231
  fill: t.value.style.chart.backgroundColor,
1229
1232
  style: { opacity: "1" }
1230
- }, null, 8, Fl)) : c("", !0),
1233
+ }, null, 8, Pl)) : h("", !0),
1231
1234
  d.value === "BL" ? (s(), n("polygon", {
1232
1235
  key: 3,
1233
1236
  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}`,
1234
1237
  fill: t.value.style.chart.backgroundColor,
1235
1238
  style: { opacity: "1" }
1236
- }, null, 8, Bl)) : c("", !0)
1237
- ])) : c("", !0),
1238
- d.value && !Z.value ? (s(), n("g", Vl, [
1239
- h("text", {
1239
+ }, null, 8, Hl)) : h("", !0)
1240
+ ])) : h("", !0),
1241
+ d.value && !Z.value ? (s(), n("g", Il, [
1242
+ c("text", {
1240
1243
  x: V.value.x,
1241
1244
  y: V.value.y - V.value.fontSize / 1.5,
1242
1245
  "font-size": V.value.fontSize / 1.5,
1243
1246
  fill: V.value.fill,
1244
1247
  "text-anchor": "middle",
1245
1248
  "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,
1249
+ }, L(V.value.text), 9, El)
1250
+ ])) : h("", !0),
1251
+ p.value && d.value ? (s(), n("g", Dl, [
1252
+ c("rect", {
1253
+ x: _.value[d.value].tl.x,
1254
+ y: _.value[d.value].tl.y,
1252
1255
  height: "20",
1253
1256
  width: "20",
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
+ fill: _.value[d.value].tl.fill,
1258
+ style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
1259
+ onClick: u[8] || (u[8] = (a) => O("TL")),
1257
1260
  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,
1261
+ }, null, 14, Ul),
1262
+ c("rect", {
1263
+ x: _.value[d.value].tr.x,
1264
+ y: _.value[d.value].tr.y,
1262
1265
  height: "20",
1263
1266
  width: "20",
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
+ fill: _.value[d.value].tr.fill,
1268
+ style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
1269
+ onClick: u[9] || (u[9] = (a) => O("TR")),
1267
1270
  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,
1271
+ }, null, 14, Gl),
1272
+ c("rect", {
1273
+ x: _.value[d.value].br.x,
1274
+ y: _.value[d.value].br.y,
1272
1275
  height: "20",
1273
1276
  width: "20",
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
+ fill: _.value[d.value].br.fill,
1278
+ style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
1279
+ onClick: u[10] || (u[10] = (a) => O("BR")),
1277
1280
  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,
1281
+ }, null, 14, Ql),
1282
+ c("rect", {
1283
+ x: _.value[d.value].bl.x,
1284
+ y: _.value[d.value].bl.y,
1282
1285
  height: "20",
1283
1286
  width: "20",
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
+ fill: _.value[d.value].bl.fill,
1288
+ style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
1289
+ onClick: u[11] || (u[11] = (a) => O("BL")),
1287
1290
  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", {
1291
+ }, null, 14, Jl),
1292
+ c("path", {
1290
1293
  class: "vue-ui-quadrant-minimap-crosshairs",
1291
1294
  stroke: t.value.style.chart.backgroundColor,
1292
1295
  "stroke-width": 1,
1293
- d: w.value[d.value].crosshairs.horizontal
1294
- }, null, 8, Gl),
1295
- h("path", {
1296
+ d: _.value[d.value].crosshairs.horizontal
1297
+ }, null, 8, jl),
1298
+ c("path", {
1296
1299
  class: "vue-ui-quadrant-minimap-crosshairs",
1297
1300
  stroke: t.value.style.chart.backgroundColor,
1298
1301
  "stroke-width": 1,
1299
- d: w.value[d.value].crosshairs.vertical
1300
- }, null, 8, Ql)
1301
- ])) : c("", !0),
1302
+ d: _.value[d.value].crosshairs.vertical
1303
+ }, null, 8, Zl)
1304
+ ])) : h("", !0),
1302
1305
  x(l.$slots, "svg", { svg: e.value }, void 0, !0)
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", {
1308
- ref_key: "chartLegend",
1309
- ref: ge
1306
+ ], 14, ll)),
1307
+ l.$slots.watermark ? (s(), n("div", Kl, [
1308
+ x(l.$slots, "watermark", U(G({ isPrinting: i(Ae) || i(Xe) })), void 0, !0)
1309
+ ])) : h("", !0),
1310
+ c("div", {
1311
+ id: `legend-bottom-${w.value}`
1312
+ }, null, 8, ea),
1313
+ we.value ? (s(), X(Lt, {
1314
+ key: 5,
1315
+ to: t.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
1310
1316
  }, [
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))
1316
- }, {
1317
- item: m(({ legend: a }) => [
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))
1323
- ]),
1324
- _: 1
1325
- }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1326
- key: 1,
1327
- legend: Oe.value
1328
- }, void 0, !0)
1329
- ], 512),
1317
+ c("div", {
1318
+ ref_key: "chartLegend",
1319
+ ref: ge
1320
+ }, [
1321
+ t.value.style.chart.legend.show ? (s(), X(Jt, {
1322
+ key: `legend_${Le.value}`,
1323
+ legendSet: Re.value,
1324
+ config: pt.value,
1325
+ onClickMarker: u[12] || (u[12] = ({ legend: a }) => ve(a.id))
1326
+ }, {
1327
+ item: m(({ legend: a }) => [
1328
+ i(_e) ? h("", !0) : (s(), n("div", {
1329
+ key: 0,
1330
+ onClick: (o) => ve(a.id),
1331
+ style: q(`opacity:${R.value.includes(a.id) ? 0.5 : 1}`)
1332
+ }, L(a.name), 13, ta))
1333
+ ]),
1334
+ _: 1
1335
+ }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1336
+ key: 1,
1337
+ legend: Re.value
1338
+ }, void 0, !0)
1339
+ ], 512)
1340
+ ], 8, ["to"])) : h("", !0),
1330
1341
  l.$slots.source ? (s(), n("div", {
1331
- key: 5,
1342
+ key: 6,
1332
1343
  ref_key: "source",
1333
1344
  ref: me,
1334
1345
  dir: "auto"
1335
1346
  }, [
1336
1347
  x(l.$slots, "source", {}, void 0, !0)
1337
- ], 512)) : c("", !0),
1338
- he(i(at), {
1348
+ ], 512)) : h("", !0),
1349
+ he(i(ut), {
1339
1350
  show: $.value.showTooltip && se.value,
1340
1351
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1341
1352
  color: t.value.style.chart.tooltip.color,
@@ -1346,7 +1357,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1346
1357
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1347
1358
  position: t.value.style.chart.tooltip.position,
1348
1359
  offsetY: t.value.style.chart.tooltip.offsetY,
1349
- parent: Y.value,
1360
+ parent: M.value,
1350
1361
  content: re.value,
1351
1362
  isFullscreen: E.value,
1352
1363
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function",
@@ -1360,8 +1371,8 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1360
1371
  x(l.$slots, "tooltip-after", U(G({ ...de.value })), void 0, !0)
1361
1372
  ]),
1362
1373
  default: m(() => [
1363
- t.value.style.chart.tooltip.showShape ? (s(), n("svg", Zl, [
1364
- he(Ke, {
1374
+ t.value.style.chart.tooltip.showShape ? (s(), n("svg", la, [
1375
+ he(et, {
1365
1376
  plot: { x: 10, y: 10 },
1366
1377
  shape: le.value.shape,
1367
1378
  color: le.value.color,
@@ -1369,12 +1380,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1369
1380
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1370
1381
  "stroke-width": t.value.style.chart.layout.plots.outlineWidth
1371
1382
  }, null, 8, ["shape", "color", "stroke", "stroke-width"])
1372
- ])) : c("", !0)
1383
+ ])) : h("", !0)
1373
1384
  ]),
1374
1385
  _: 3
1375
1386
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1376
- be.value ? (s(), R(i(ut), {
1377
- key: 6,
1387
+ be.value ? (s(), X(i(ot), {
1388
+ key: 7,
1378
1389
  hideDetails: "",
1379
1390
  config: {
1380
1391
  open: $.value.showTable,
@@ -1390,7 +1401,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1390
1401
  }
1391
1402
  }, {
1392
1403
  content: m(() => [
1393
- (s(), R(i(ot), {
1404
+ (s(), X(i(st), {
1394
1405
  key: `table_${ke.value}`,
1395
1406
  colNames: ee.value.colNames,
1396
1407
  head: ee.value.head,
@@ -1400,22 +1411,22 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
1400
1411
  onClose: u[13] || (u[13] = (a) => $.value.showTable = !1)
1401
1412
  }, {
1402
1413
  th: m(({ th: a }) => [
1403
- kt(L(a), 1)
1414
+ wt(L(a), 1)
1404
1415
  ]),
1405
1416
  td: m(({ td: a }) => [
1406
- h("div", {
1417
+ c("div", {
1407
1418
  innerHTML: a.name || a
1408
- }, null, 8, Kl)
1419
+ }, null, 8, aa)
1409
1420
  ]),
1410
1421
  _: 1
1411
1422
  }, 8, ["colNames", "head", "body", "config", "title"]))
1412
1423
  ]),
1413
1424
  _: 1
1414
- }, 8, ["config"])) : c("", !0),
1415
- i(we) ? (s(), R(Jt, { key: 7 })) : c("", !0)
1416
- ], 46, Zt));
1425
+ }, 8, ["config"])) : h("", !0),
1426
+ i(_e) ? (s(), X(Zt, { key: 8 })) : h("", !0)
1427
+ ], 46, el));
1417
1428
  }
1418
- }, ya = /* @__PURE__ */ jt(ea, [["__scopeId", "data-v-d487f824"]]);
1429
+ }, ga = /* @__PURE__ */ Kt(ua, [["__scopeId", "data-v-a675d946"]]);
1419
1430
  export {
1420
- ya as default
1431
+ ga as default
1421
1432
  };