vue-data-ui 3.4.9 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-CDgzolI-.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-CeJwbiON.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-DjQXHBJE.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-DTY2p87s.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-C8aWTcNn.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-CnTMFK6R.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-fzR2c0St.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-DubS6Pg8.js → vue-ui-stackbar-CkBOjryQ.js} +437 -421
  99. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-DTnfnf9z.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-CrC_tlIx.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-kyuyi2ES.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel-BasM7FWt.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
@@ -1,33 +1,33 @@
1
- import { defineAsyncComponent as F, computed as f, ref as y, toRefs as Xt, watch as xe, shallowRef as lt, onMounted as Yt, onBeforeUnmount as Mt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as at, withCtx as g, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as q, renderList as Y, toDisplayString as k, Teleport as Ot, resolveDynamicComponent as Nt, mergeProps as Bt, createTextVNode as ot, nextTick as ut } from "vue";
2
- import { c as st, t as Ft, b as Rt, p as $e, o as Pt, f as Q, e as Vt, h as Dt, aa as Ht, a as R, d as P, X as It, s as re, i as Et, ab as Ut, M as Gt, J as Qt, P as Jt, Q as jt, G as Zt, H as Kt } from "./lib-C_mNZmhD.js";
3
- import { t as el, u as tl } from "./useResponsive-DfdjqQps.js";
4
- import { u as ll, a as rt } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as al } from "./usePrinter-DTzqpYKF.js";
6
- import { u as ol } from "./useSvgExport-DrjCWun4.js";
7
- import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
9
- import rl from "./img-BecE5qXd.js";
10
- import nl from "./Title-l36lOBMx.js";
11
- import { _ as nt } from "./Shape-CNXKB8O0.js";
12
- import { t as il } from "./themes-AUNCOb2G.js";
13
- import vl from "./Legend-G6GMcdAc.js";
14
- import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
15
- import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y", "width", "height"], gl = ["id"], ml = ["stop-color"], xl = ["stop-color"], $l = { key: 1 }, kl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Ll = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], wl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _l = { key: 2 }, Cl = ["points", "fill"], Sl = ["points", "fill"], ql = ["points", "fill"], Tl = ["points", "fill"], zl = { key: 3 }, Al = ["y", "fill", "font-size"], Wl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Yl = ["y", "fill", "font-size"], Ml = { key: 4 }, Ol = ["x", "y", "font-size", "fill"], Nl = ["x", "y", "font-size", "fill"], Bl = ["x", "y", "font-size", "fill"], Fl = ["id", "font-size", "transform", "fill"], Rl = ["id", "font-size", "transform", "fill"], Pl = ["id", "font-size", "transform", "fill"], Vl = { key: 5 }, Dl = ["fill", "points"], Hl = ["x", "y", "width", "height"], Il = ["x", "y", "width", "height"], El = ["x", "y", "width", "height"], Ul = ["x", "y", "width", "height"], Gl = {
1
+ import { defineAsyncComponent as F, computed as f, ref as y, toRefs as Ot, watch as xe, shallowRef as at, onMounted as Nt, onBeforeUnmount as Bt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as S, normalizeClass as A, createBlock as Y, createCommentVNode as h, createElementVNode as d, createVNode as ne, createSlots as ot, withCtx as g, renderSlot as $, normalizeProps as E, guardReactiveProps as Q, Fragment as q, renderList as M, toDisplayString as k, Teleport as Ft, resolveDynamicComponent as Rt, mergeProps as Pt, createTextVNode as ut, nextTick as st } from "vue";
2
+ import { c as rt, t as Vt, b as Dt, p as $e, o as Ht, f as G, e as It, h as Ut, aa as Et, a as R, d as P, X as Qt, s as ie, i as Gt, ab as Jt, M as jt, J as Zt, P as Kt, Q as el, G as tl, H as ll } from "./lib-C_mNZmhD.js";
3
+ import { t as al, u as ol } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ul, a as nt } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as sl } from "./usePrinter-DTzqpYKF.js";
6
+ import { u as rl } from "./useSvgExport-DrjCWun4.js";
7
+ import { u as nl } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as il } from "./useChartAccessibility-9icAAmYg.js";
9
+ import vl from "./img-BecE5qXd.js";
10
+ import cl from "./Title-l36lOBMx.js";
11
+ import { _ as it } from "./Shape-CNXKB8O0.js";
12
+ import { t as dl } from "./themes-AUNCOb2G.js";
13
+ import hl from "./Legend-G6GMcdAc.js";
14
+ import { u as yl, B as bl } from "./BaseScanner-BgWxam9d.js";
15
+ import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y", "width", "height"], $l = ["id"], kl = ["stop-color"], Ll = ["stop-color"], wl = { key: 1 }, _l = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Sl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Cl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ql = { key: 2 }, Tl = ["points", "fill"], zl = ["points", "fill"], Al = ["points", "fill"], Wl = ["points", "fill"], Xl = { key: 3 }, Yl = ["y", "fill", "font-size"], Ml = ["x", "y", "fill", "font-size"], Ol = ["x", "y", "fill", "font-size"], Nl = ["y", "fill", "font-size"], Bl = { key: 4 }, Fl = ["x", "y", "font-size", "fill"], Rl = ["x", "y", "font-size", "fill"], Pl = ["x", "y", "font-size", "fill"], Vl = ["id", "font-size", "transform", "fill"], Dl = ["id", "font-size", "transform", "fill"], Hl = ["id", "font-size", "transform", "fill"], Il = { key: 5 }, Ul = ["fill", "points"], El = ["x", "y", "width", "height"], Ql = ["x", "y", "width", "height"], Gl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], jl = {
17
17
  key: 0,
18
18
  style: { "pointer-events": "none" }
19
- }, Ql = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill", "innerHTML"], jl = { key: 0 }, Zl = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Kl = {
19
+ }, Zl = ["x", "y", "font-size", "fill"], Kl = ["x", "y", "font-size", "fill", "innerHTML"], ea = { key: 0 }, ta = ["x", "y", "onMouseover", "onMouseleave", "onClick"], la = {
20
20
  key: 8,
21
21
  class: "vue-ui-dna"
22
- }, ea = ["points", "fill"], ta = ["points", "fill"], la = ["points", "fill"], aa = ["points", "fill"], oa = { key: 9 }, ua = ["x", "y", "font-size", "fill", "font-weight"], sa = { key: 10 }, ra = ["x", "y", "fill"], na = ["x", "y", "fill"], ia = ["x", "y", "fill"], va = ["x", "y", "fill"], ca = ["stroke", "d"], da = ["stroke", "d"], ha = {
22
+ }, aa = ["points", "fill"], oa = ["points", "fill"], ua = ["points", "fill"], sa = ["points", "fill"], ra = { key: 9 }, na = ["x", "y", "font-size", "fill", "font-weight"], ia = { key: 10 }, va = ["x", "y", "fill"], ca = ["x", "y", "fill"], da = ["x", "y", "fill"], ha = ["x", "y", "fill"], ya = ["stroke", "d"], ba = ["stroke", "d"], fa = {
23
23
  key: 4,
24
24
  class: "vue-data-ui-watermark"
25
- }, ya = ["id"], ba = ["onClick"], fa = {
25
+ }, pa = ["id"], ga = ["onClick"], ma = {
26
26
  key: 0,
27
27
  height: "14",
28
28
  width: "14",
29
29
  viewBox: "0 0 20 20"
30
- }, pa = ["innerHTML"], ga = {
30
+ }, xa = ["innerHTML"], $a = {
31
31
  __name: "vue-ui-quadrant",
32
32
  props: {
33
33
  config: {
@@ -44,14 +44,14 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
44
44
  }
45
45
  },
46
46
  emits: ["selectPlot", "selectSide", "selectLegend"],
47
- setup(it, { expose: vt, emit: ct }) {
48
- const dt = F(() => import("./Tooltip-oWCO1HKy.js")), ht = F(() => import("./BaseIcon-BmMbm4d0.js")), yt = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), bt = F(() => import("./DataTable-BT7VF2ua.js")), ft = F(() => import("./PenAndPaper-DSvu9dwa.js")), pt = F(() => import("./UserOptions-CGnQt6Fd.js")), gt = F(() => import("./PackageVersion-CTUqGqWV.js")), mt = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_quadrant: xt } = ll(), M = it, ke = f(() => !!M.dataset && M.dataset.length), w = y(st()), ne = ct, ie = y(!1), ve = y(""), Le = y(0), m = y(!1), A = y(null), we = y(null), _e = y(null), Ce = y(null), Se = y(null), qe = y(0), Te = y(0), ze = y(0), Ae = y(!1), J = y(null), ce = y(null), e = y(ye()), { loading: We, FINAL_DATASET: Xe } = cl({
49
- ...Xt(M),
47
+ setup(vt, { expose: ct, emit: dt }) {
48
+ const ht = F(() => import("./Tooltip-oWCO1HKy.js")), yt = F(() => import("./BaseIcon-BmMbm4d0.js")), bt = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), ft = F(() => import("./DataTable-BT7VF2ua.js")), pt = F(() => import("./PenAndPaper-DSvu9dwa.js")), gt = F(() => import("./UserOptions-CGnQt6Fd.js")), mt = F(() => import("./PackageVersion-Cyx_s25h.js")), xt = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_quadrant: $t } = ul(), O = vt, ke = f(() => !!O.dataset && O.dataset.length), w = y(rt()), ve = dt, ce = y(!1), de = y(""), Le = y(0), m = y(!1), W = y(null), we = y(null), _e = y(null), Se = y(null), Ce = y(null), qe = y(0), Te = y(0), ze = y(0), Ae = y(!1), J = y(null), he = y(null), e = y(fe()), { loading: We, FINAL_DATASET: Xe } = yl({
49
+ ...Ot(O),
50
50
  FINAL_CONFIG: e,
51
- prepareConfig: ye,
51
+ prepareConfig: fe,
52
52
  callback: () => {
53
53
  Promise.resolve().then(async () => {
54
- await ut(), x.value.showTable = e.value.table.show;
54
+ await st(), x.value.showTable = e.value.table.show;
55
55
  });
56
56
  },
57
57
  skeletonDataset: [
@@ -76,7 +76,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
76
76
  ]
77
77
  }
78
78
  ],
79
- skeletonConfig: Ft({
79
+ skeletonConfig: Vt({
80
80
  defaultConfig: e.value,
81
81
  userConfig: {
82
82
  userOptions: { show: !1 },
@@ -114,44 +114,44 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
114
114
  }
115
115
  }
116
116
  })
117
- }), { userOptionsVisible: de, setUserOptionsVisibility: Ye, keepUserOptionState: Me } = ul({ config: e.value }), { svgRef: he } = sl({ config: e.value.style.chart.title });
118
- function ye() {
119
- const l = rt({
120
- userConfig: M.config,
121
- defaultConfig: xt
117
+ }), { userOptionsVisible: ye, setUserOptionsVisibility: Ye, keepUserOptionState: Me } = nl({ config: e.value }), { svgRef: be } = il({ config: e.value.style.chart.title });
118
+ function fe() {
119
+ const l = nt({
120
+ userConfig: O.config,
121
+ defaultConfig: $t
122
122
  });
123
123
  return l.theme ? {
124
- ...rt({
125
- userConfig: il.vue_ui_quadrant[l.theme] || M.config,
124
+ ...nt({
125
+ userConfig: dl.vue_ui_quadrant[l.theme] || O.config,
126
126
  defaultConfig: l
127
127
  }),
128
- customPalette: Rt[l.theme] || $e
128
+ customPalette: Dt[l.theme] || $e
129
129
  } : l;
130
130
  }
131
- xe(() => M.config, (l) => {
132
- e.value = ye(), de.value = !e.value.userOptions.showOnChartHover, Oe(), qe.value += 1, Te.value += 1, ze.value += 1, x.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
131
+ xe(() => O.config, (l) => {
132
+ e.value = fe(), ye.value = !e.value.userOptions.showOnChartHover, Oe(), qe.value += 1, Te.value += 1, ze.value += 1, x.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
133
133
  }, { deep: !0 });
134
- const O = lt(null), H = lt(null), I = f(() => e.value.debug);
134
+ const N = at(null), H = at(null), I = f(() => e.value.debug);
135
135
  function Oe() {
136
- if (Pt(M.dataset) ? Q({
136
+ if (Ht(O.dataset) ? G({
137
137
  componentName: "VueUiQuadrant",
138
138
  type: "dataset",
139
139
  debug: I.value
140
- }) : M.dataset.forEach((l, o) => {
141
- [null, void 0].includes(l.name) && Q({
140
+ }) : O.dataset.forEach((l, a) => {
141
+ [null, void 0].includes(l.name) && G({
142
142
  componentName: "VueUiQuadrant",
143
143
  type: "datasetSerieAttribute",
144
144
  property: "name",
145
- index: o,
145
+ index: a,
146
146
  debug: I.value
147
- }), [null, void 0].includes(l.series) ? Q({
147
+ }), [null, void 0].includes(l.series) ? G({
148
148
  componentName: "VueUiQuadrant",
149
149
  type: "datasetSerieAttribute",
150
150
  property: "series",
151
- index: o,
151
+ index: a,
152
152
  debug: I.value
153
- }) : l.series.forEach((a, u) => {
154
- [null, void 0].includes(a.name) && Q({
153
+ }) : l.series.forEach((o, u) => {
154
+ [null, void 0].includes(o.name) && G({
155
155
  componentName: "VueUiQuadrant",
156
156
  type: "datasetSerieAttribute",
157
157
  property: "name",
@@ -161,31 +161,31 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
161
161
  });
162
162
  });
163
163
  }), e.value.responsive) {
164
- const l = el(() => {
165
- const { width: o, height: a } = tl({
166
- chart: A.value,
164
+ const l = al(() => {
165
+ const { width: a, height: o } = ol({
166
+ chart: W.value,
167
167
  title: e.value.style.chart.title.text ? we.value : null,
168
168
  legend: e.value.style.chart.legend.show ? _e.value : null,
169
- source: Ce.value,
170
- noTitle: Se.value
169
+ source: Se.value,
170
+ noTitle: Ce.value
171
171
  });
172
172
  L.value = 48, requestAnimationFrame(() => {
173
- t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = o, t.value.usableWidth = o - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = o - L.value, t.value.bottom = a - L.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
173
+ t.value.height = o, t.value.usableHeight = o - L.value * 2, t.value.width = a, t.value.usableWidth = a - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = a - L.value, t.value.bottom = o - L.value, t.value.centerX = a / 2, t.value.centerY = o - o / 2, t.value.padding = L.value;
174
174
  });
175
175
  });
176
- O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(l), H.value = A.value.parentNode, O.value.observe(H.value);
176
+ N.value && (H.value && N.value.unobserve(H.value), N.value.disconnect()), N.value = new ResizeObserver(l), H.value = W.value.parentNode, N.value.observe(H.value);
177
177
  }
178
178
  }
179
- Yt(() => {
179
+ Nt(() => {
180
180
  Ae.value = !0, Oe();
181
- }), Mt(() => {
182
- O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
181
+ }), Bt(() => {
182
+ N.value && (H.value && N.value.unobserve(H.value), N.value.disconnect());
183
183
  });
184
- const { isPrinting: Ne, isImaging: Be, generatePdf: Fe, generateImage: Re } = al({
184
+ const { isPrinting: Ne, isImaging: Be, generatePdf: Fe, generateImage: Re } = sl({
185
185
  elementId: `vue-ui-quadrant_${w.value}`,
186
186
  fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
187
187
  options: e.value.userOptions.print
188
- }), $t = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = f(() => Vt(e.value.customPalette)), x = y({
188
+ }), kt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = f(() => It(e.value.customPalette)), x = y({
189
189
  plotLabels: {
190
190
  show: e.value.style.chart.layout.labels.plotLabels.show
191
191
  },
@@ -256,23 +256,23 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
256
256
  default:
257
257
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
258
258
  }
259
- }), kt = y(null), ee = y(!1);
260
- function j({ targetX: l, targetY: o, targetW: a, targetH: u, side: r }) {
261
- c.value && Z(r);
259
+ }), Lt = y(null), le = y(!1);
260
+ function j({ targetX: l, targetY: a, targetW: o, targetH: u, side: r }) {
261
+ c.value && ee(r);
262
262
  const b = {
263
263
  x: l - v.value.startX,
264
- y: o - v.value.startY,
265
- w: a - v.value.width,
264
+ y: a - v.value.startY,
265
+ w: o - v.value.width,
266
266
  h: u - v.value.height
267
267
  }, p = e.value.zoomAnimationFrames;
268
- let W = 0;
269
- function tt() {
270
- ee.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 ? kt.value = requestAnimationFrame(tt) : ee.value = !1;
268
+ let X = 0;
269
+ function lt() {
270
+ le.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, X += 1, X < p ? Lt.value = requestAnimationFrame(lt) : le.value = !1;
271
271
  }
272
- tt();
272
+ lt();
273
273
  }
274
- function N(l) {
275
- if (!ee.value)
274
+ function B(l) {
275
+ if (!le.value)
276
276
  if (m.value && c.value === l)
277
277
  j({
278
278
  targetX: 0,
@@ -325,61 +325,61 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
325
325
  m.value = !0;
326
326
  }
327
327
  }
328
- const Lt = f(() => {
329
- const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, u = [];
328
+ const wt = f(() => {
329
+ const l = e.value.style.chart.layout.grid.graduations.steps, a = t.value.usableWidth / (l * 2), o = t.value.top, u = [];
330
330
  for (let r = 0; r < l; r += 1)
331
331
  u.push({
332
- x: t.value.padding + o * r,
333
- y: a + t.value.usableHeight * (r / l / 2),
332
+ x: t.value.padding + a * r,
333
+ y: o + t.value.usableHeight * (r / l / 2),
334
334
  height: t.value.usableHeight * (1 - r / l),
335
335
  width: t.value.usableWidth * (1 - r / l),
336
336
  opacity: Math.round((r + 1) / l * 20)
337
337
  });
338
338
  return u;
339
- }), S = f(() => {
340
- let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, u = e.value.style.chart.layout.grid.yAxis.min;
341
- return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.x))), o = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.x)))), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.y))), u = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.y)))), {
339
+ }), C = f(() => {
340
+ let l = e.value.style.chart.layout.grid.xAxis.max, a = e.value.style.chart.layout.grid.xAxis.min, o = e.value.style.chart.layout.grid.yAxis.max, u = e.value.style.chart.layout.grid.yAxis.min;
341
+ return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...U.value.flatMap((r) => r.series.map((b) => b.x))), a = Math.min(...U.value.flatMap((r) => r.series.map((b) => b.x)))), e.value.style.chart.layout.grid.yAxis.auto && (o = Math.max(...U.value.flatMap((r) => r.series.map((b) => b.y))), u = Math.min(...U.value.flatMap((r) => r.series.map((b) => b.y)))), {
342
342
  x: {
343
343
  max: l,
344
- min: o
344
+ min: a
345
345
  },
346
346
  y: {
347
- max: a,
347
+ max: o,
348
348
  min: u
349
349
  }
350
350
  };
351
- }), B = y([]), E = f(() => Xe.value.map((l, o) => ({
351
+ }), z = y([]), U = f(() => Xe.value.map((l, a) => ({
352
352
  ...l,
353
- series: Ht({
353
+ series: Et({
354
354
  data: l.series,
355
355
  threshold: e.value.downsample.threshold
356
356
  }),
357
- id: `cat_${o}_${w.value}`,
358
- color: Dt(l.color) || Pe.value[o] || $e[o]
359
- }))), wt = f(() => E.value.filter((l) => !B.value.includes(l.id))), _t = f(() => E.value.map((l, o) => ({
357
+ id: `cat_${a}_${w.value}`,
358
+ color: Ut(l.color) || Pe.value[a] || $e[a]
359
+ }))), _t = f(() => U.value.filter((l) => !z.value.includes(l.id))), St = f(() => U.value.map((l, a) => ({
360
360
  ...l,
361
361
  shape: l.shape || "circle",
362
- series: l.series.map((a) => ({
363
- ...a,
364
- x: Ve(a.x),
365
- y: De(a.y),
366
- xValue: a.x,
367
- yValue: a.y,
368
- quadrantSide: He({ x: a.x, y: a.y }),
362
+ series: l.series.map((o) => ({
363
+ ...o,
364
+ x: Ve(o.x),
365
+ y: De(o.y),
366
+ xValue: o.x,
367
+ yValue: o.y,
368
+ quadrantSide: Ie({ x: o.x, y: o.y }),
369
369
  categoryName: l.name,
370
370
  shape: l.shape,
371
371
  color: l.color
372
372
  }))
373
- }))), T = f(() => (Xe.value.forEach((l, o) => {
374
- l.series.forEach((a, u) => {
375
- [null, void 0].includes(a.x) && Q({
373
+ }))), T = f(() => (Xe.value.forEach((l, a) => {
374
+ l.series.forEach((o, u) => {
375
+ [null, void 0].includes(o.x) && G({
376
376
  componentName: "VueUiQuadrant",
377
377
  type: "datasetSerieAttribute",
378
378
  property: "x",
379
379
  key: "series",
380
380
  index: u,
381
381
  debug: I.value
382
- }), [null, void 0].includes(a.y) && Q({
382
+ }), [null, void 0].includes(o.y) && G({
383
383
  componentName: "VueUiQuadrant",
384
384
  type: "datasetSerieAttribute",
385
385
  property: "y",
@@ -388,58 +388,58 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
388
388
  debug: I.value
389
389
  });
390
390
  });
391
- }), wt.value.map((l, o) => ({
391
+ }), _t.value.map((l, a) => ({
392
392
  ...l,
393
393
  shape: l.shape || "circle",
394
- color: l.color || Pe.value[o] || $e[o],
395
- series: l.series.map((a) => ({
396
- ...a,
397
- x: Ve(a.x),
398
- y: De(a.y),
399
- xValue: a.x,
400
- yValue: a.y,
401
- quadrantSide: He({ x: a.x, y: a.y }),
394
+ color: l.color || Pe.value[a] || $e[a],
395
+ series: l.series.map((o) => ({
396
+ ...o,
397
+ x: Ve(o.x),
398
+ y: De(o.y),
399
+ xValue: o.x,
400
+ yValue: o.y,
401
+ quadrantSide: Ie({ x: o.x, y: o.y }),
402
402
  categoryName: l.name,
403
403
  shape: l.shape,
404
404
  color: l.color,
405
- uid: st()
405
+ uid: rt()
406
406
  }))
407
407
  }))));
408
408
  function Ve(l) {
409
409
  if (l >= 0) {
410
- const o = l / S.value.x.max;
411
- return t.value.centerX + t.value.usableWidth / 2 * o;
410
+ const a = l / C.value.x.max;
411
+ return t.value.centerX + t.value.usableWidth / 2 * a;
412
412
  } else {
413
- const o = Math.abs(l) / Math.abs(S.value.x.min);
414
- return t.value.centerX - t.value.usableWidth / 2 * o;
413
+ const a = Math.abs(l) / Math.abs(C.value.x.min);
414
+ return t.value.centerX - t.value.usableWidth / 2 * a;
415
415
  }
416
416
  }
417
417
  function De(l) {
418
418
  if (l >= 0) {
419
- const o = l / S.value.y.max;
420
- return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
419
+ const a = l / C.value.y.max;
420
+ return t.value.centerY + (1 - t.value.usableHeight / 2 * a);
421
421
  } else {
422
- const o = Math.abs(l) / Math.abs(S.value.y.min);
423
- return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
422
+ const a = Math.abs(l) / Math.abs(C.value.y.min);
423
+ return t.value.centerY - (1 - t.value.usableHeight / 2 * a);
424
424
  }
425
425
  }
426
- const te = f(() => {
427
- const l = T.value.flatMap((p) => p.series.map((W) => ({
428
- x: W.xValue,
429
- y: W.yValue,
430
- name: W.name,
431
- category: W.categoryName,
432
- quadrantSide: W.quadrantSide,
433
- sideName: e.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
426
+ const ae = f(() => {
427
+ const l = T.value.flatMap((p) => p.series.map((X) => ({
428
+ x: X.xValue,
429
+ y: X.yValue,
430
+ name: X.name,
431
+ category: X.categoryName,
432
+ quadrantSide: X.quadrantSide,
433
+ sideName: e.value.style.chart.layout.labels.quadrantLabels[X.quadrantSide].text,
434
434
  color: p.color,
435
435
  shape: p.shape
436
- }))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
436
+ }))), a = e.value.style.chart.layout.grid.xAxis.name || "x", o = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, a, o, e.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
437
437
  shape: p.shape,
438
438
  color: p.color
439
439
  }));
440
440
  return { head: u, body: r, itsShapes: b, tableData: l };
441
- }), le = f(() => {
442
- const l = te.value.head, o = te.value.tableData.map((u) => [
441
+ }), oe = f(() => {
442
+ const l = ae.value.head, a = ae.value.tableData.map((u) => [
443
443
  {
444
444
  shape: u.shape,
445
445
  color: u.color,
@@ -463,7 +463,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
463
463
  })
464
464
  ),
465
465
  u.sideName || u.quadrantSide
466
- ]), a = {
466
+ ]), o = {
467
467
  th: {
468
468
  backgroundColor: e.value.table.th.backgroundColor,
469
469
  color: e.value.table.th.color,
@@ -476,22 +476,37 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
476
476
  },
477
477
  breakpoint: e.value.table.responsiveBreakpoint
478
478
  };
479
- return { head: l, body: o, config: a, colNames: l };
479
+ return { head: l, body: a, config: o, colNames: l };
480
480
  });
481
- function be(l) {
482
- B.value.includes(l) ? B.value = B.value.filter((a) => a !== l) : B.value.push(l);
483
- const o = Ge();
484
- ne("selectLegend", o);
481
+ function Z(l) {
482
+ z.value.includes(l) ? z.value = z.value.filter((o) => o !== l) : z.value.push(l);
483
+ const a = Ge();
484
+ ve("selectLegend", a);
485
485
  }
486
- const fe = f(() => _t.value.map((l) => ({
486
+ const K = f(() => St.value.map((l) => ({
487
487
  name: l.name,
488
488
  shape: l.shape,
489
489
  color: l.color,
490
490
  id: l.id,
491
- opacity: B.value.includes(l.id) ? 0.5 : 1,
492
- segregate: () => be(l.id),
493
- isSegregated: B.value.includes(l.id)
494
- }))), Ct = f(() => ({
491
+ opacity: z.value.includes(l.id) ? 0.5 : 1,
492
+ segregate: () => Z(l.id),
493
+ isSegregated: z.value.includes(l.id)
494
+ })));
495
+ function He(l) {
496
+ if (!K.value.length)
497
+ return e.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null;
498
+ const a = K.value.find((o) => o.name === l);
499
+ return a || (e.value.debug && console.warn(`VueUiQuadrant - Series name not found "${l}"`), null);
500
+ }
501
+ function Ct(l) {
502
+ const a = He(l);
503
+ a !== null && z.value.includes(a.id) && Z(a.id);
504
+ }
505
+ function qt(l) {
506
+ const a = He(l);
507
+ a !== null && (z.value.includes(a.id) || Z(a.id));
508
+ }
509
+ const Tt = f(() => ({
495
510
  cy: "quadrant-div-legend",
496
511
  backgroundColor: e.value.style.chart.legend.backgroundColor,
497
512
  color: e.value.style.chart.legend.color,
@@ -499,7 +514,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
499
514
  paddingBottom: 12,
500
515
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
501
516
  }));
502
- function He(l) {
517
+ function Ie(l) {
503
518
  switch (!0) {
504
519
  case (l.x >= 0 && l.y >= 0):
505
520
  return "tr";
@@ -513,80 +528,80 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
513
528
  return "";
514
529
  }
515
530
  }
516
- const ae = y(null), oe = y(null), pe = y(null);
517
- function Ie(l, o, a) {
518
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), ae.value = o.uid, oe.value = {
531
+ const ue = y(null), se = y(null), pe = y(null);
532
+ function Ue(l, a, o) {
533
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: o }), ue.value = a.uid, se.value = {
519
534
  color: l.color,
520
535
  shape: l.shape
521
536
  }, pe.value = {
522
- datapoint: o,
523
- seriesIndex: a,
537
+ datapoint: a,
538
+ seriesIndex: o,
524
539
  series: T.value,
525
540
  config: e.value
526
- }, ie.value = !0;
541
+ }, ce.value = !0;
527
542
  const u = e.value.style.chart.tooltip.customFormat;
528
- if (Zt(u) && Kt(() => u({
529
- seriesIndex: a,
530
- datapoint: o,
543
+ if (tl(u) && ll(() => u({
544
+ seriesIndex: o,
545
+ datapoint: a,
531
546
  series: T.value,
532
547
  config: e.value
533
548
  })))
534
- ve.value = u({
535
- seriesIndex: a,
536
- datapoint: o,
549
+ de.value = u({
550
+ seriesIndex: o,
551
+ datapoint: a,
537
552
  series: T.value,
538
553
  config: e.value
539
554
  });
540
555
  else {
541
556
  let r = "";
542
- o.quadrantSide && (r += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].bold ? "bold" : "400"}">${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
557
+ a.quadrantSide && (r += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[a.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[a.quadrantSide].bold ? "bold" : "400"}">${e.value.style.chart.layout.labels.quadrantLabels[a.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${a.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
543
558
  e.value.style.chart.layout.labels.plotLabels.x.formatter,
544
- o.xValue,
559
+ a.xValue,
545
560
  P({
546
- v: o.xValue,
561
+ v: a.xValue,
547
562
  r: e.value.style.chart.tooltip.roundingValue
548
563
  }),
549
- { datapoint: o, category: l, categoryIndex: a }
564
+ { datapoint: a, category: l, categoryIndex: o }
550
565
  )}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
551
566
  e.value.style.chart.layout.labels.plotLabels.y.formatter,
552
- o.yValue,
567
+ a.yValue,
553
568
  P({
554
- v: o.yValue,
569
+ v: a.yValue,
555
570
  r: e.value.style.chart.tooltip.roundingValue
556
571
  }),
557
- { datapoint: o, category: l, categoryIndex: a }
558
- )}</b></div>`, ve.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${r}</div>`;
572
+ { datapoint: a, category: l, categoryIndex: o }
573
+ )}</b></div>`, de.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${r}</div>`;
559
574
  }
560
575
  }
561
- function Ee(l, o) {
562
- ie.value = !1, ae.value = null, oe.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
576
+ function Ee(l, a) {
577
+ ce.value = !1, ue.value = null, se.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: a });
563
578
  }
564
- function Ue(l, o, a) {
565
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: a });
579
+ function Qe(l, a, o) {
580
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: o });
566
581
  const u = {
567
582
  category: l.name,
568
583
  shape: l.shape,
569
- itemName: o.name,
570
- x: o.xValue,
571
- y: o.yValue,
572
- quadrantSide: o.quadrantSide,
573
- sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
584
+ itemName: a.name,
585
+ x: a.xValue,
586
+ y: a.yValue,
587
+ quadrantSide: a.quadrantSide,
588
+ sideName: e.value.style.chart.layout.labels.quadrantLabels[a.quadrantSide].text
574
589
  };
575
- ne("selectPlot", u);
590
+ ve("selectPlot", u);
576
591
  }
577
- function Z(l) {
592
+ function ee(l) {
578
593
  if (!l) return;
579
- const o = T.value.flatMap((u) => u.series.filter((r) => r.quadrantSide === l).map((r) => ({
594
+ const a = T.value.flatMap((u) => u.series.filter((r) => r.quadrantSide === l).map((r) => ({
580
595
  category: r.categoryName,
581
596
  itemName: r.name,
582
597
  x: r.xValue,
583
598
  y: r.yValue
584
- }))), a = {
599
+ }))), o = {
585
600
  quadrantSide: l,
586
601
  sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
587
- items: [...o]
602
+ items: [...a]
588
603
  };
589
- ne("selectSide", a);
604
+ ve("selectSide", o);
590
605
  }
591
606
  const _ = f(() => ({
592
607
  TL: {
@@ -699,54 +714,54 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
699
714
  color: l.color,
700
715
  name: l.name,
701
716
  shape: l.shape,
702
- series: l.series.map((o) => ({
703
- name: o.name,
704
- x: o.xValue,
705
- y: o.yValue,
706
- quadrantSide: o.quadrantSide,
707
- sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
717
+ series: l.series.map((a) => ({
718
+ name: a.name,
719
+ x: a.xValue,
720
+ y: a.yValue,
721
+ quadrantSide: a.quadrantSide,
722
+ sideName: e.value.style.chart.layout.labels.quadrantLabels[a.quadrantSide].text
708
723
  }))
709
724
  }));
710
725
  }
711
726
  function ge(l = null) {
712
- ut(() => {
713
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b = Jt(r);
714
- l ? l(b) : jt({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
727
+ st(() => {
728
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = ae.value.head, u = ae.value.body, r = a.concat([o]).concat(u), b = Kt(r);
729
+ l ? l(b) : el({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
715
730
  });
716
731
  }
717
732
  const D = y(!1);
718
- function Qe(l) {
733
+ function Je(l) {
719
734
  D.value = l, Le.value += 1;
720
735
  }
721
- function Je() {
736
+ function je() {
722
737
  x.value.showTable = !x.value.showTable;
723
738
  }
724
- function je() {
739
+ function Ze() {
725
740
  x.value.plotLabels.show = !x.value.plotLabels.show;
726
741
  }
727
- function Ze() {
742
+ function Ke() {
728
743
  x.value.showTooltip = !x.value.showTooltip;
729
744
  }
730
- const ue = y(!1);
745
+ const re = y(!1);
731
746
  function me() {
732
- ue.value = !ue.value;
747
+ re.value = !re.value;
733
748
  }
734
- async function St({ scale: l = 2 } = {}) {
735
- if (!A.value) return;
736
- const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await rl({ domElement: A.value, base64: !0, img: !0, scale: l });
749
+ async function zt({ scale: l = 2 } = {}) {
750
+ if (!W.value) return;
751
+ const { width: a, height: o } = W.value.getBoundingClientRect(), u = a / o, { imageUri: r, base64: b } = await vl({ domElement: W.value, base64: !0, img: !0, scale: l });
737
752
  return {
738
753
  imageUri: r,
739
754
  base64: b,
740
755
  title: e.value.style.chart.title.text,
741
- width: o,
742
- height: a,
756
+ width: a,
757
+ height: o,
743
758
  aspectRatio: u
744
759
  };
745
760
  }
746
- const K = f(() => {
747
- const l = e.value.table.useDialog && !e.value.table.show, o = x.value.showTable;
761
+ const te = f(() => {
762
+ const l = e.value.table.useDialog && !e.value.table.show, a = x.value.showTable;
748
763
  return {
749
- component: l ? mt : yt,
764
+ component: l ? xt : bt,
750
765
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
751
766
  props: l ? {
752
767
  backgroundColor: e.value.table.th.backgroundColor,
@@ -754,12 +769,12 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
754
769
  headerColor: e.value.table.th.color,
755
770
  headerBg: e.value.table.th.backgroundColor,
756
771
  isFullscreen: D.value,
757
- fullscreenParent: A.value,
772
+ fullscreenParent: W.value,
758
773
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
759
774
  } : {
760
775
  hideDetails: !0,
761
776
  config: {
762
- open: o,
777
+ open: a,
763
778
  maxHeight: 1e4,
764
779
  body: {
765
780
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -776,56 +791,58 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
776
791
  xe(() => x.value.showTable, (l) => {
777
792
  e.value.table.show || (l && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
778
793
  });
779
- function Ke() {
780
- x.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
794
+ function et() {
795
+ x.value.showTable = !1, he.value && he.value.setTableIconState(!1);
781
796
  }
782
- const qt = f(() => e.value.style.chart.backgroundColor), Tt = f(() => e.value.style.chart.legend), zt = f(() => e.value.style.chart.title), { exportSvg: At, getSvg: Wt } = ol({
783
- svg: he,
784
- title: zt,
785
- legend: Tt,
786
- legendItems: fe,
787
- backgroundColor: qt
797
+ const At = f(() => e.value.style.chart.backgroundColor), Wt = f(() => e.value.style.chart.legend), Xt = f(() => e.value.style.chart.title), { exportSvg: Yt, getSvg: Mt } = rl({
798
+ svg: be,
799
+ title: Xt,
800
+ legend: Wt,
801
+ legendItems: K,
802
+ backgroundColor: At
788
803
  });
789
- async function et({ isCb: l }) {
804
+ async function tt({ isCb: l }) {
790
805
  if (l) {
791
- const { blob: o, url: a, text: u, dataUrl: r } = await Wt();
792
- e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl: r });
806
+ const { blob: a, url: o, text: u, dataUrl: r } = await Mt();
807
+ e.value.userOptions.callbacks.svg({ blob: a, url: o, text: u, dataUrl: r });
793
808
  } else
794
- At();
809
+ Yt();
795
810
  }
796
- return vt({
811
+ return ct({
797
812
  getData: Ge,
798
- getImage: St,
813
+ getImage: zt,
799
814
  generatePdf: Fe,
800
815
  generateCsv: ge,
801
816
  generateImage: Re,
802
- generateSvg: et,
803
- toggleTable: Je,
804
- toggleLabels: je,
805
- toggleTooltip: Ze,
817
+ generateSvg: tt,
818
+ hideSeries: qt,
819
+ showSeries: Ct,
820
+ toggleTable: je,
821
+ toggleLabels: Ze,
822
+ toggleTooltip: Ke,
806
823
  toggleAnnotator: me,
807
- toggleFullscreen: Qe
808
- }), (l, o) => (s(), n("div", {
809
- class: z(`vue-data-ui-component vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
824
+ toggleFullscreen: Je
825
+ }), (l, a) => (s(), n("div", {
826
+ class: A(`vue-data-ui-component vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
810
827
  ref_key: "quadrantChart",
811
- ref: A,
828
+ ref: W,
812
829
  id: `vue-ui-quadrant_${w.value}`,
813
- style: C(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
814
- onMouseenter: o[14] || (o[14] = () => i(Ye)(!0)),
815
- onMouseleave: o[15] || (o[15] = () => i(Ye)(!1))
830
+ style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
831
+ onMouseenter: a[14] || (a[14] = () => i(Ye)(!0)),
832
+ onMouseleave: a[15] || (a[15] = () => i(Ye)(!1))
816
833
  }, [
817
- e.value.userOptions.buttons.annotator ? (s(), X(i(ft), {
834
+ e.value.userOptions.buttons.annotator ? (s(), Y(i(pt), {
818
835
  key: 0,
819
- svgRef: i(he),
836
+ svgRef: i(be),
820
837
  backgroundColor: e.value.style.chart.backgroundColor,
821
838
  color: e.value.style.chart.color,
822
- active: ue.value,
839
+ active: re.value,
823
840
  onClose: me
824
841
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
825
- $t.value ? (s(), n("div", {
842
+ kt.value ? (s(), n("div", {
826
843
  key: 1,
827
844
  ref_key: "noTitle",
828
- ref: Se,
845
+ ref: Ce,
829
846
  class: "vue-data-ui-no-title-space",
830
847
  style: "height:36px; width: 100%;background:transparent"
831
848
  }, null, 512)) : h("", !0),
@@ -835,7 +852,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
835
852
  ref: we,
836
853
  style: "width:100%;background:transparent;padding-bottom:12px"
837
854
  }, [
838
- (s(), X(nl, {
855
+ (s(), Y(cl, {
839
856
  key: `table_${qe.value}`,
840
857
  config: {
841
858
  title: {
@@ -851,10 +868,10 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
851
868
  ], 512)) : h("", !0),
852
869
  d("div", {
853
870
  id: `legend-top-${w.value}`
854
- }, null, 8, bl),
855
- e.value.userOptions.show && ke.value && (i(Me) || i(de)) ? (s(), X(i(pt), {
871
+ }, null, 8, gl),
872
+ e.value.userOptions.show && ke.value && (i(Me) || i(ye)) ? (s(), Y(i(gt), {
856
873
  ref_key: "userOptionsRef",
857
- ref: ce,
874
+ ref: he,
858
875
  key: `user_options_${Le.value}`,
859
876
  backgroundColor: e.value.style.chart.backgroundColor,
860
877
  color: e.value.style.chart.color,
@@ -872,30 +889,30 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
872
889
  isFullscreen: D.value,
873
890
  isTooltip: x.value.showTooltip,
874
891
  titles: { ...e.value.userOptions.buttonTitles },
875
- chartElement: A.value,
892
+ chartElement: W.value,
876
893
  position: e.value.userOptions.position,
877
894
  hasAnnotator: e.value.userOptions.buttons.annotator,
878
- isAnnotation: ue.value,
895
+ isAnnotation: re.value,
879
896
  callbacks: e.value.userOptions.callbacks,
880
897
  printScale: e.value.userOptions.print.scale,
881
898
  tableDialog: e.value.table.useDialog,
882
- onToggleFullscreen: Qe,
899
+ onToggleFullscreen: Je,
883
900
  onGeneratePdf: i(Fe),
884
901
  onGenerateCsv: ge,
885
902
  onGenerateImage: i(Re),
886
- onGenerateSvg: et,
887
- onToggleTable: Je,
888
- onToggleLabels: je,
889
- onToggleTooltip: Ze,
903
+ onGenerateSvg: tt,
904
+ onToggleTable: je,
905
+ onToggleLabels: Ze,
906
+ onToggleTooltip: Ke,
890
907
  onToggleAnnotator: me,
891
- style: C({
892
- visibility: i(Me) ? i(de) ? "visible" : "hidden" : "visible"
908
+ style: S({
909
+ visibility: i(Me) ? i(ye) ? "visible" : "hidden" : "visible"
893
910
  })
894
- }, at({ _: 2 }, [
911
+ }, ot({ _: 2 }, [
895
912
  l.$slots.menuIcon ? {
896
913
  name: "menuIcon",
897
- fn: g(({ isOpen: a, color: u }) => [
898
- $(l.$slots, "menuIcon", U(G({ isOpen: a, color: u })), void 0, !0)
914
+ fn: g(({ isOpen: o, color: u }) => [
915
+ $(l.$slots, "menuIcon", E(Q({ isOpen: o, color: u })), void 0, !0)
899
916
  ]),
900
917
  key: "0"
901
918
  } : void 0,
@@ -950,29 +967,29 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
950
967
  } : void 0,
951
968
  l.$slots.optionFullscreen ? {
952
969
  name: "optionFullscreen",
953
- fn: g(({ toggleFullscreen: a, isFullscreen: u }) => [
954
- $(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
970
+ fn: g(({ toggleFullscreen: o, isFullscreen: u }) => [
971
+ $(l.$slots, "optionFullscreen", E(Q({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
955
972
  ]),
956
973
  key: "8"
957
974
  } : void 0,
958
975
  l.$slots.optionAnnotator ? {
959
976
  name: "optionAnnotator",
960
- fn: g(({ toggleAnnotator: a, isAnnotator: u }) => [
961
- $(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
977
+ fn: g(({ toggleAnnotator: o, isAnnotator: u }) => [
978
+ $(l.$slots, "optionAnnotator", E(Q({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
962
979
  ]),
963
980
  key: "9"
964
981
  } : void 0
965
982
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
966
983
  (s(), n("svg", {
967
984
  ref_key: "svgRef",
968
- ref: he,
969
- xmlns: i(It),
970
- class: z({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
985
+ ref: be,
986
+ xmlns: i(Qt),
987
+ class: A({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
971
988
  viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
972
- style: C(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
989
+ style: S(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
973
990
  id: `svg_${w.value}`
974
991
  }, [
975
- se(i(gt)),
992
+ ne(i(mt)),
976
993
  l.$slots["chart-background"] ? (s(), n("foreignObject", {
977
994
  key: 0,
978
995
  x: v.value.startX,
@@ -984,9 +1001,9 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
984
1001
  }
985
1002
  }, [
986
1003
  $(l.$slots, "chart-background", {}, void 0, !0)
987
- ], 8, pl)) : h("", !0),
1004
+ ], 8, xl)) : h("", !0),
988
1005
  d("defs", null, [
989
- (s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("radialGradient", {
1006
+ (s(!0), n(q, null, M(T.value, (o, u) => (s(), n("radialGradient", {
990
1007
  cx: "50%",
991
1008
  cy: "50%",
992
1009
  r: "50%",
@@ -996,25 +1013,25 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
996
1013
  }, [
997
1014
  d("stop", {
998
1015
  offset: "0%",
999
- "stop-color": i(re)(i(Et)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
1000
- }, null, 8, ml),
1016
+ "stop-color": i(ie)(i(Gt)(o.color, 0.05), e.value.style.chart.layout.areas.opacity)
1017
+ }, null, 8, kl),
1001
1018
  d("stop", {
1002
1019
  offset: "100%",
1003
- "stop-color": i(re)(a.color, e.value.style.chart.layout.areas.opacity)
1004
- }, null, 8, xl)
1005
- ], 8, gl))), 256))
1020
+ "stop-color": i(ie)(o.color, e.value.style.chart.layout.areas.opacity)
1021
+ }, null, 8, Ll)
1022
+ ], 8, $l))), 256))
1006
1023
  ]),
1007
- e.value.style.chart.layout.grid.graduations.show ? (s(), n("g", $l, [
1008
- (s(!0), n(q, null, Y(Lt.value, (a) => (s(), n("rect", {
1009
- fill: e.value.style.chart.layout.grid.graduations.fill ? i(re)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
1010
- x: a.x,
1011
- y: a.y,
1012
- height: a.height <= 0 ? 1e-3 : a.height,
1013
- width: a.width <= 0 ? 1e-3 : a.width,
1024
+ e.value.style.chart.layout.grid.graduations.show ? (s(), n("g", wl, [
1025
+ (s(!0), n(q, null, M(wt.value, (o) => (s(), n("rect", {
1026
+ fill: e.value.style.chart.layout.grid.graduations.fill ? i(ie)(e.value.style.chart.layout.grid.graduations.color, o.opacity) : "none",
1027
+ x: o.x,
1028
+ y: o.y,
1029
+ height: o.height <= 0 ? 1e-3 : o.height,
1030
+ width: o.width <= 0 ? 1e-3 : o.width,
1014
1031
  "stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
1015
1032
  stroke: e.value.style.chart.layout.grid.graduations.stroke,
1016
1033
  rx: e.value.style.chart.layout.grid.graduations.roundingForce
1017
- }, null, 8, kl))), 256))
1034
+ }, null, 8, _l))), 256))
1018
1035
  ])) : h("", !0),
1019
1036
  d("line", {
1020
1037
  x1: t.value.left,
@@ -1023,7 +1040,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1023
1040
  y2: t.value.centerY,
1024
1041
  stroke: e.value.style.chart.layout.grid.stroke,
1025
1042
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
1026
- }, null, 8, Ll),
1043
+ }, null, 8, Sl),
1027
1044
  d("line", {
1028
1045
  x1: t.value.centerX,
1029
1046
  y1: t.value.top,
@@ -1031,30 +1048,30 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1031
1048
  y2: t.value.bottom,
1032
1049
  stroke: e.value.style.chart.layout.grid.stroke,
1033
1050
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
1034
- }, null, 8, wl),
1035
- e.value.style.chart.layout.grid.showArrows ? (s(), n("g", _l, [
1051
+ }, null, 8, Cl),
1052
+ e.value.style.chart.layout.grid.showArrows ? (s(), n("g", ql, [
1036
1053
  d("polygon", {
1037
1054
  points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
1038
1055
  fill: e.value.style.chart.layout.grid.stroke,
1039
1056
  stroke: "none"
1040
- }, null, 8, Cl),
1057
+ }, null, 8, Tl),
1041
1058
  d("polygon", {
1042
1059
  points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
1043
1060
  fill: e.value.style.chart.layout.grid.stroke,
1044
1061
  stroke: "none"
1045
- }, null, 8, Sl),
1062
+ }, null, 8, zl),
1046
1063
  d("polygon", {
1047
1064
  points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
1048
1065
  fill: e.value.style.chart.layout.grid.stroke,
1049
1066
  stroke: "none"
1050
- }, null, 8, ql),
1067
+ }, null, 8, Al),
1051
1068
  d("polygon", {
1052
1069
  points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
1053
1070
  fill: e.value.style.chart.layout.grid.stroke,
1054
1071
  stroke: "none"
1055
- }, null, 8, Tl)
1072
+ }, null, 8, Wl)
1056
1073
  ])) : h("", !0),
1057
- e.value.style.chart.layout.labels.quadrantLabels.show && !m.value ? (s(), n("g", zl, [
1074
+ e.value.style.chart.layout.labels.quadrantLabels.show && !m.value ? (s(), n("g", Xl, [
1058
1075
  e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
1059
1076
  key: 0,
1060
1077
  x: 0,
@@ -1062,9 +1079,9 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1062
1079
  "text-anchor": "start",
1063
1080
  fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
1064
1081
  "font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
1065
- style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
1066
- onClick: o[0] || (o[0] = (a) => Z("tl"))
1067
- }, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Al)) : h("", !0),
1082
+ style: S(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
1083
+ onClick: a[0] || (a[0] = (o) => ee("tl"))
1084
+ }, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Yl)) : h("", !0),
1068
1085
  e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
1069
1086
  key: 1,
1070
1087
  x: t.value.width,
@@ -1072,9 +1089,9 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1072
1089
  "text-anchor": "end",
1073
1090
  fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
1074
1091
  "font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
1075
- style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1076
- onClick: o[1] || (o[1] = (a) => Z("tr"))
1077
- }, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Wl)) : h("", !0),
1092
+ style: S(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1093
+ onClick: a[1] || (a[1] = (o) => ee("tr"))
1094
+ }, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Ml)) : h("", !0),
1078
1095
  e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
1079
1096
  key: 2,
1080
1097
  x: t.value.width,
@@ -1082,9 +1099,9 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1082
1099
  "text-anchor": "end",
1083
1100
  fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
1084
1101
  "font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
1085
- style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1086
- onClick: o[2] || (o[2] = (a) => Z("br"))
1087
- }, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Xl)) : h("", !0),
1102
+ style: S(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1103
+ onClick: a[2] || (a[2] = (o) => ee("br"))
1104
+ }, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Ol)) : h("", !0),
1088
1105
  e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
1089
1106
  key: 3,
1090
1107
  x: 0,
@@ -1092,11 +1109,11 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1092
1109
  "text-anchor": "start",
1093
1110
  fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
1094
1111
  "font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
1095
- style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1096
- onClick: o[3] || (o[3] = (a) => Z("bl"))
1097
- }, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Yl)) : h("", !0)
1112
+ style: S(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1113
+ onClick: a[3] || (a[3] = (o) => ee("bl"))
1114
+ }, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Nl)) : h("", !0)
1098
1115
  ])) : h("", !0),
1099
- e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Ml, [
1116
+ e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Bl, [
1100
1117
  d("text", {
1101
1118
  x: t.value.centerX,
1102
1119
  y: t.value.top - t.value.padding / 6,
@@ -1105,19 +1122,19 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1105
1122
  fill: e.value.style.chart.layout.labels.axisLabels.color.positive
1106
1123
  }, k(i(R)(
1107
1124
  e.value.style.chart.layout.labels.plotLabels.y.formatter,
1108
- S.value.y.max,
1125
+ C.value.y.max,
1109
1126
  i(P)({
1110
- v: S.value.y.max,
1127
+ v: C.value.y.max,
1111
1128
  r: e.value.style.chart.layout.labels.plotLabels.rounding
1112
1129
  })
1113
- )), 9, Ol),
1130
+ )), 9, Fl),
1114
1131
  d("text", {
1115
1132
  x: t.value.centerX,
1116
1133
  y: t.value.top - t.value.padding / 2,
1117
1134
  "text-anchor": "middle",
1118
1135
  "font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
1119
1136
  fill: e.value.style.chart.layout.labels.axisLabels.color.positive
1120
- }, k(e.value.style.chart.layout.grid.yAxis.name), 9, Nl),
1137
+ }, k(e.value.style.chart.layout.grid.yAxis.name), 9, Rl),
1121
1138
  d("text", {
1122
1139
  x: t.value.centerX,
1123
1140
  y: t.value.bottom + t.value.padding * 0.35,
@@ -1126,12 +1143,12 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1126
1143
  fill: e.value.style.chart.layout.labels.axisLabels.color.negative
1127
1144
  }, k(i(R)(
1128
1145
  e.value.style.chart.layout.labels.plotLabels.y.formatter,
1129
- S.value.y.min,
1146
+ C.value.y.min,
1130
1147
  i(P)({
1131
- v: S.value.y.min,
1148
+ v: C.value.y.min,
1132
1149
  r: e.value.style.chart.layout.labels.plotLabels.rounding
1133
1150
  })
1134
- )), 9, Bl),
1151
+ )), 9, Pl),
1135
1152
  d("text", {
1136
1153
  id: `xLabelMin_${w.value}`,
1137
1154
  "text-anchor": "middle",
@@ -1140,12 +1157,12 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1140
1157
  fill: e.value.style.chart.layout.labels.axisLabels.color.negative
1141
1158
  }, k(i(R)(
1142
1159
  e.value.style.chart.layout.labels.plotLabels.x.formatter,
1143
- S.value.x.min,
1160
+ C.value.x.min,
1144
1161
  i(P)({
1145
- v: S.value.x.min,
1162
+ v: C.value.x.min,
1146
1163
  r: e.value.style.chart.layout.labels.plotLabels.rounding
1147
1164
  })
1148
- )), 9, Fl),
1165
+ )), 9, Vl),
1149
1166
  d("text", {
1150
1167
  id: `xLabelMax_${w.value}`,
1151
1168
  "text-anchor": "middle",
@@ -1154,105 +1171,105 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1154
1171
  fill: e.value.style.chart.layout.labels.axisLabels.color.positive
1155
1172
  }, k(i(R)(
1156
1173
  e.value.style.chart.layout.labels.plotLabels.x.formatter,
1157
- S.value.x.max,
1174
+ C.value.x.max,
1158
1175
  i(P)({
1159
- v: S.value.x.max,
1176
+ v: C.value.x.max,
1160
1177
  r: e.value.style.chart.layout.labels.plotLabels.rounding
1161
1178
  })
1162
- )), 9, Rl),
1179
+ )), 9, Dl),
1163
1180
  d("text", {
1164
1181
  id: `xLabelMaxName_${w.value}`,
1165
1182
  "text-anchor": "middle",
1166
1183
  "font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
1167
1184
  transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
1168
1185
  fill: e.value.style.chart.layout.labels.axisLabels.color.positive
1169
- }, k(e.value.style.chart.layout.grid.xAxis.name), 9, Pl)
1186
+ }, k(e.value.style.chart.layout.grid.xAxis.name), 9, Hl)
1170
1187
  ])) : h("", !0),
1171
- e.value.style.chart.layout.areas.show ? (s(), n("g", Vl, [
1172
- (s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("g", null, [
1173
- a.series.length > 2 ? (s(), n("polygon", {
1188
+ e.value.style.chart.layout.areas.show ? (s(), n("g", Il, [
1189
+ (s(!0), n(q, null, M(T.value, (o, u) => (s(), n("g", null, [
1190
+ o.series.length > 2 ? (s(), n("polygon", {
1174
1191
  key: 0,
1175
1192
  "data-cy-quadrant-area": "",
1176
- fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(re)(a.color, e.value.style.chart.layout.areas.opacity),
1177
- points: i(Ut)(a)
1178
- }, null, 8, Dl)) : h("", !0)
1193
+ fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(ie)(o.color, e.value.style.chart.layout.areas.opacity),
1194
+ points: i(Jt)(o)
1195
+ }, null, 8, Ul)) : h("", !0)
1179
1196
  ]))), 256))
1180
1197
  ])) : h("", !0),
1181
1198
  d("g", null, [
1182
1199
  d("rect", {
1183
- onClick: o[4] || (o[4] = (a) => N("TL")),
1200
+ onClick: a[4] || (a[4] = (o) => B("TL")),
1184
1201
  x: t.value.left,
1185
1202
  y: t.value.top,
1186
1203
  width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
1187
1204
  height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
1188
1205
  fill: "transparent",
1189
- class: z({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1190
- }, null, 10, Hl),
1206
+ class: A({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1207
+ }, null, 10, El),
1191
1208
  d("rect", {
1192
- onClick: o[5] || (o[5] = (a) => N("TR")),
1209
+ onClick: a[5] || (a[5] = (o) => B("TR")),
1193
1210
  x: t.value.centerX,
1194
1211
  y: t.value.top,
1195
1212
  width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
1196
1213
  height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
1197
1214
  fill: "transparent",
1198
- class: z({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1199
- }, null, 10, Il),
1215
+ class: A({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1216
+ }, null, 10, Ql),
1200
1217
  d("rect", {
1201
- onClick: o[6] || (o[6] = (a) => N("BR")),
1218
+ onClick: a[6] || (a[6] = (o) => B("BR")),
1202
1219
  x: t.value.centerX,
1203
1220
  y: t.value.centerY,
1204
1221
  width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
1205
1222
  height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
1206
1223
  fill: "transparent",
1207
- class: z({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1208
- }, null, 10, El),
1224
+ class: A({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1225
+ }, null, 10, Gl),
1209
1226
  d("rect", {
1210
- onClick: o[7] || (o[7] = (a) => N("BL")),
1227
+ onClick: a[7] || (a[7] = (o) => B("BL")),
1211
1228
  x: t.value.left,
1212
1229
  y: t.value.centerY,
1213
1230
  width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
1214
1231
  height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
1215
1232
  fill: "transparent",
1216
- class: z({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1217
- }, null, 10, Ul)
1233
+ class: A({ "vue-data-ui-zoom-plus": !m.value, "vue-data-ui-zoom-minus": m.value })
1234
+ }, null, 10, Jl)
1218
1235
  ]),
1219
1236
  e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(q, { key: 7 }, [
1220
- x.value.plotLabels.show ? (s(), n("g", jl, [
1221
- (s(!0), n(q, null, Y(T.value, (a, u) => (s(), n(q, null, [
1222
- (s(!0), n(q, null, Y(a.series, (r) => (s(), n("foreignObject", {
1237
+ x.value.plotLabels.show ? (s(), n("g", ea, [
1238
+ (s(!0), n(q, null, M(T.value, (o, u) => (s(), n(q, null, [
1239
+ (s(!0), n(q, null, M(o.series, (r) => (s(), n("foreignObject", {
1223
1240
  style: { overflow: "visible" },
1224
1241
  height: "10",
1225
1242
  width: "100",
1226
1243
  x: r.x - 50,
1227
1244
  y: r.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
1228
- onMouseover: (b) => Ie(a, r, u),
1245
+ onMouseover: (b) => Ue(o, r, u),
1229
1246
  onMouseleave: (b) => Ee(r, u),
1230
- onClick: (b) => Ue(a, r, u)
1247
+ onClick: (b) => Qe(o, r, u)
1231
1248
  }, [
1232
1249
  d("div", {
1233
- style: C(`color:${i(Qt)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1250
+ style: S(`color:${i(Zt)(o.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${o.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1234
1251
  }, k(r.name), 5)
1235
- ], 40, Zl))), 256))
1252
+ ], 40, ta))), 256))
1236
1253
  ], 64))), 256))
1237
1254
  ])) : h("", !0)
1238
1255
  ], 64)) : (s(), n(q, { key: 6 }, [
1239
- (s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("g", null, [
1240
- (s(!0), n(q, null, Y(a.series, (r) => (s(), X(nt, {
1241
- color: a.color,
1242
- isSelected: ae.value && r.uid === ae.value,
1256
+ (s(!0), n(q, null, M(T.value, (o, u) => (s(), n("g", null, [
1257
+ (s(!0), n(q, null, M(o.series, (r) => (s(), Y(it, {
1258
+ color: o.color,
1259
+ isSelected: ue.value && r.uid === ue.value,
1243
1260
  plot: r,
1244
1261
  radius: e.value.style.chart.layout.plots.radius / (m.value ? 1.5 : 1),
1245
- shape: a.shape,
1262
+ shape: o.shape,
1246
1263
  stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
1247
1264
  strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
1248
- onMouseenter: (b) => Ie(a, r, u),
1265
+ onMouseenter: (b) => Ue(o, r, u),
1249
1266
  onMouseleave: (b) => Ee(r, u),
1250
- onClick: (b) => Ue(a, r, u)
1267
+ onClick: (b) => Qe(o, r, u)
1251
1268
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
1252
1269
  ]))), 256)),
1253
- x.value.plotLabels.show ? (s(), n("g", Gl, [
1254
- (s(!0), n(q, null, Y(T.value, (a) => (s(), n("g", null, [
1255
- (s(!0), n(q, null, Y(a.series, (u) => (s(), n("g", null, [
1270
+ x.value.plotLabels.show ? (s(), n("g", jl, [
1271
+ (s(!0), n(q, null, M(T.value, (o) => (s(), n("g", null, [
1272
+ (s(!0), n(q, null, M(o.series, (u) => (s(), n("g", null, [
1256
1273
  String(u.name).includes(`
1257
1274
  `) ? (s(), n("text", {
1258
1275
  key: 1,
@@ -1261,52 +1278,52 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1261
1278
  "text-anchor": "middle",
1262
1279
  "font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (m.value ? 1.5 : 1),
1263
1280
  fill: e.value.style.chart.layout.labels.plotLabels.color,
1264
- innerHTML: i(Gt)({
1281
+ innerHTML: i(jt)({
1265
1282
  content: String(u.name),
1266
1283
  fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (m.value ? 1.5 : 1),
1267
1284
  fill: e.value.style.chart.layout.labels.plotLabels.color,
1268
1285
  x: u.x,
1269
1286
  y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
1270
1287
  })
1271
- }, null, 8, Jl)) : (s(), n("text", {
1288
+ }, null, 8, Kl)) : (s(), n("text", {
1272
1289
  key: 0,
1273
1290
  x: u.x,
1274
1291
  y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
1275
1292
  "text-anchor": "middle",
1276
1293
  "font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (m.value ? 1.5 : 1),
1277
1294
  fill: e.value.style.chart.layout.labels.plotLabels.color
1278
- }, k(u.name), 9, Ql))
1295
+ }, k(u.name), 9, Zl))
1279
1296
  ]))), 256))
1280
1297
  ]))), 256))
1281
1298
  ])) : h("", !0)
1282
1299
  ], 64)),
1283
- m.value ? (s(), n("g", Kl, [
1300
+ m.value ? (s(), n("g", la, [
1284
1301
  c.value === "TL" ? (s(), n("polygon", {
1285
1302
  key: 0,
1286
1303
  points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
1287
1304
  fill: e.value.style.chart.backgroundColor,
1288
1305
  style: { opacity: "1" }
1289
- }, null, 8, ea)) : h("", !0),
1306
+ }, null, 8, aa)) : h("", !0),
1290
1307
  c.value === "TR" ? (s(), n("polygon", {
1291
1308
  key: 1,
1292
1309
  points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
1293
1310
  fill: e.value.style.chart.backgroundColor,
1294
1311
  style: { opacity: "1" }
1295
- }, null, 8, ta)) : h("", !0),
1312
+ }, null, 8, oa)) : h("", !0),
1296
1313
  c.value === "BR" ? (s(), n("polygon", {
1297
1314
  key: 2,
1298
1315
  points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
1299
1316
  fill: e.value.style.chart.backgroundColor,
1300
1317
  style: { opacity: "1" }
1301
- }, null, 8, la)) : h("", !0),
1318
+ }, null, 8, ua)) : h("", !0),
1302
1319
  c.value === "BL" ? (s(), n("polygon", {
1303
1320
  key: 3,
1304
1321
  points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
1305
1322
  fill: e.value.style.chart.backgroundColor,
1306
1323
  style: { opacity: "1" }
1307
- }, null, 8, aa)) : h("", !0)
1324
+ }, null, 8, sa)) : h("", !0)
1308
1325
  ])) : h("", !0),
1309
- c.value && !ee.value ? (s(), n("g", oa, [
1326
+ c.value && !le.value ? (s(), n("g", ra, [
1310
1327
  d("text", {
1311
1328
  x: V.value.x,
1312
1329
  y: V.value.y - V.value.fontSize / 1.5,
@@ -1314,71 +1331,71 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1314
1331
  fill: V.value.fill,
1315
1332
  "text-anchor": "middle",
1316
1333
  "font-weight": V.value.bold ? "bold" : "normal"
1317
- }, k(V.value.text), 9, ua)
1334
+ }, k(V.value.text), 9, na)
1318
1335
  ])) : h("", !0),
1319
- m.value && c.value ? (s(), n("g", sa, [
1336
+ m.value && c.value ? (s(), n("g", ia, [
1320
1337
  d("rect", {
1321
1338
  x: _.value[c.value].tl.x,
1322
1339
  y: _.value[c.value].tl.y,
1323
1340
  height: "20",
1324
1341
  width: "20",
1325
1342
  fill: _.value[c.value].tl.fill,
1326
- style: C(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
1327
- onClick: o[8] || (o[8] = (a) => N("TL")),
1328
- class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
1329
- }, null, 14, ra),
1343
+ style: S(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
1344
+ onClick: a[8] || (a[8] = (o) => B("TL")),
1345
+ class: A({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
1346
+ }, null, 14, va),
1330
1347
  d("rect", {
1331
1348
  x: _.value[c.value].tr.x,
1332
1349
  y: _.value[c.value].tr.y,
1333
1350
  height: "20",
1334
1351
  width: "20",
1335
1352
  fill: _.value[c.value].tr.fill,
1336
- style: C(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
1337
- onClick: o[9] || (o[9] = (a) => N("TR")),
1338
- class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
1339
- }, null, 14, na),
1353
+ style: S(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
1354
+ onClick: a[9] || (a[9] = (o) => B("TR")),
1355
+ class: A({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
1356
+ }, null, 14, ca),
1340
1357
  d("rect", {
1341
1358
  x: _.value[c.value].br.x,
1342
1359
  y: _.value[c.value].br.y,
1343
1360
  height: "20",
1344
1361
  width: "20",
1345
1362
  fill: _.value[c.value].br.fill,
1346
- style: C(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
1347
- onClick: o[10] || (o[10] = (a) => N("BR")),
1348
- class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
1349
- }, null, 14, ia),
1363
+ style: S(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
1364
+ onClick: a[10] || (a[10] = (o) => B("BR")),
1365
+ class: A({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
1366
+ }, null, 14, da),
1350
1367
  d("rect", {
1351
1368
  x: _.value[c.value].bl.x,
1352
1369
  y: _.value[c.value].bl.y,
1353
1370
  height: "20",
1354
1371
  width: "20",
1355
1372
  fill: _.value[c.value].bl.fill,
1356
- style: C(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
1357
- onClick: o[11] || (o[11] = (a) => N("BL")),
1358
- class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
1359
- }, null, 14, va),
1373
+ style: S(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
1374
+ onClick: a[11] || (a[11] = (o) => B("BL")),
1375
+ class: A({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
1376
+ }, null, 14, ha),
1360
1377
  d("path", {
1361
1378
  class: "vue-ui-quadrant-minimap-crosshairs",
1362
1379
  stroke: e.value.style.chart.backgroundColor,
1363
1380
  "stroke-width": 1,
1364
1381
  d: _.value[c.value].crosshairs.horizontal
1365
- }, null, 8, ca),
1382
+ }, null, 8, ya),
1366
1383
  d("path", {
1367
1384
  class: "vue-ui-quadrant-minimap-crosshairs",
1368
1385
  stroke: e.value.style.chart.backgroundColor,
1369
1386
  "stroke-width": 1,
1370
1387
  d: _.value[c.value].crosshairs.vertical
1371
- }, null, 8, da)
1388
+ }, null, 8, ba)
1372
1389
  ])) : h("", !0),
1373
1390
  $(l.$slots, "svg", { svg: t.value }, void 0, !0)
1374
- ], 14, fl)),
1375
- l.$slots.watermark ? (s(), n("div", ha, [
1376
- $(l.$slots, "watermark", U(G({ isPrinting: i(Ne) || i(Be) })), void 0, !0)
1391
+ ], 14, ml)),
1392
+ l.$slots.watermark ? (s(), n("div", fa, [
1393
+ $(l.$slots, "watermark", E(Q({ isPrinting: i(Ne) || i(Be) })), void 0, !0)
1377
1394
  ])) : h("", !0),
1378
1395
  d("div", {
1379
1396
  id: `legend-bottom-${w.value}`
1380
- }, null, 8, ya),
1381
- Ae.value ? (s(), X(Ot, {
1397
+ }, null, 8, pa),
1398
+ Ae.value ? (s(), Y(Ft, {
1382
1399
  key: 5,
1383
1400
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
1384
1401
  }, [
@@ -1386,36 +1403,36 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1386
1403
  ref_key: "chartLegend",
1387
1404
  ref: _e
1388
1405
  }, [
1389
- e.value.style.chart.legend.show ? (s(), X(vl, {
1406
+ e.value.style.chart.legend.show ? (s(), Y(hl, {
1390
1407
  key: `legend_${ze.value}`,
1391
- legendSet: fe.value,
1392
- config: Ct.value,
1393
- onClickMarker: o[12] || (o[12] = ({ legend: a }) => be(a.id))
1408
+ legendSet: K.value,
1409
+ config: Tt.value,
1410
+ onClickMarker: a[12] || (a[12] = ({ legend: o }) => Z(o.id))
1394
1411
  }, {
1395
- item: g(({ legend: a }) => [
1412
+ item: g(({ legend: o }) => [
1396
1413
  i(We) ? h("", !0) : (s(), n("div", {
1397
1414
  key: 0,
1398
- onClick: (u) => be(a.id),
1399
- style: C(`opacity:${B.value.includes(a.id) ? 0.5 : 1}`)
1400
- }, k(a.name), 13, ba))
1415
+ onClick: (u) => Z(o.id),
1416
+ style: S(`opacity:${z.value.includes(o.id) ? 0.5 : 1}`)
1417
+ }, k(o.name), 13, ga))
1401
1418
  ]),
1402
1419
  _: 1
1403
1420
  }, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
1404
1421
  key: 1,
1405
- legend: fe.value
1422
+ legend: K.value
1406
1423
  }, void 0, !0)
1407
1424
  ], 512)
1408
1425
  ], 8, ["to"])) : h("", !0),
1409
1426
  l.$slots.source ? (s(), n("div", {
1410
1427
  key: 6,
1411
1428
  ref_key: "source",
1412
- ref: Ce,
1429
+ ref: Se,
1413
1430
  dir: "auto"
1414
1431
  }, [
1415
1432
  $(l.$slots, "source", {}, void 0, !0)
1416
1433
  ], 512)) : h("", !0),
1417
- se(i(dt), {
1418
- show: x.value.showTooltip && ie.value,
1434
+ ne(i(ht), {
1435
+ show: x.value.showTooltip && ce.value,
1419
1436
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1420
1437
  color: e.value.style.chart.tooltip.color,
1421
1438
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1425,8 +1442,8 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1425
1442
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1426
1443
  position: e.value.style.chart.tooltip.position,
1427
1444
  offsetY: e.value.style.chart.tooltip.offsetY,
1428
- parent: A.value,
1429
- content: ve.value,
1445
+ parent: W.value,
1446
+ content: de.value,
1430
1447
  isFullscreen: D.value,
1431
1448
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1432
1449
  smooth: e.value.style.chart.tooltip.smooth,
@@ -1435,17 +1452,17 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1435
1452
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1436
1453
  }, {
1437
1454
  "tooltip-before": g(() => [
1438
- $(l.$slots, "tooltip-before", U(G({ ...pe.value })), void 0, !0)
1455
+ $(l.$slots, "tooltip-before", E(Q({ ...pe.value })), void 0, !0)
1439
1456
  ]),
1440
1457
  "tooltip-after": g(() => [
1441
- $(l.$slots, "tooltip-after", U(G({ ...pe.value })), void 0, !0)
1458
+ $(l.$slots, "tooltip-after", E(Q({ ...pe.value })), void 0, !0)
1442
1459
  ]),
1443
1460
  default: g(() => [
1444
- e.value.style.chart.tooltip.showShape ? (s(), n("svg", fa, [
1445
- se(nt, {
1461
+ e.value.style.chart.tooltip.showShape ? (s(), n("svg", ma, [
1462
+ ne(it, {
1446
1463
  plot: { x: 10, y: 10 },
1447
- shape: oe.value.shape,
1448
- color: oe.value.color,
1464
+ shape: se.value.shape,
1465
+ color: se.value.color,
1449
1466
  radius: 8,
1450
1467
  stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
1451
1468
  "stroke-width": e.value.style.chart.layout.plots.outlineWidth
@@ -1454,29 +1471,29 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1454
1471
  ]),
1455
1472
  _: 3
1456
1473
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1457
- ke.value && e.value.userOptions.buttons.table ? (s(), X(Nt(K.value.component), Bt({ key: 7 }, K.value.props, {
1474
+ ke.value && e.value.userOptions.buttons.table ? (s(), Y(Rt(te.value.component), Pt({ key: 7 }, te.value.props, {
1458
1475
  ref_key: "tableUnit",
1459
1476
  ref: J,
1460
- onClose: Ke
1461
- }), at({
1477
+ onClose: et
1478
+ }), ot({
1462
1479
  content: g(() => [
1463
- (s(), X(i(bt), {
1480
+ (s(), Y(i(ft), {
1464
1481
  key: `table_${Te.value}`,
1465
- colNames: le.value.colNames,
1466
- head: le.value.head,
1467
- body: le.value.body,
1468
- config: le.value.config,
1469
- title: e.value.table.useDialog ? "" : K.value.title,
1482
+ colNames: oe.value.colNames,
1483
+ head: oe.value.head,
1484
+ body: oe.value.body,
1485
+ config: oe.value.config,
1486
+ title: e.value.table.useDialog ? "" : te.value.title,
1470
1487
  withCloseButton: !e.value.table.useDialog,
1471
- onClose: Ke
1488
+ onClose: et
1472
1489
  }, {
1473
- th: g(({ th: a }) => [
1474
- ot(k(a), 1)
1490
+ th: g(({ th: o }) => [
1491
+ ut(k(o), 1)
1475
1492
  ]),
1476
- td: g(({ td: a }) => [
1493
+ td: g(({ td: o }) => [
1477
1494
  d("div", {
1478
- innerHTML: a.name || a
1479
- }, null, 8, pa)
1495
+ innerHTML: o.name || o
1496
+ }, null, 8, xa)
1480
1497
  ]),
1481
1498
  _: 1
1482
1499
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1486,7 +1503,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1486
1503
  e.value.table.useDialog ? {
1487
1504
  name: "title",
1488
1505
  fn: g(() => [
1489
- ot(k(K.value.title), 1)
1506
+ ut(k(te.value.title), 1)
1490
1507
  ]),
1491
1508
  key: "0"
1492
1509
  } : void 0,
@@ -1496,21 +1513,21 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
1496
1513
  d("button", {
1497
1514
  tabindex: "0",
1498
1515
  class: "vue-ui-user-options-button",
1499
- onClick: o[13] || (o[13] = (a) => ge(e.value.userOptions.callbacks.csv))
1516
+ onClick: a[13] || (a[13] = (o) => ge(e.value.userOptions.callbacks.csv))
1500
1517
  }, [
1501
- se(i(ht), {
1518
+ ne(i(yt), {
1502
1519
  name: "excel",
1503
- stroke: K.value.props.color
1520
+ stroke: te.value.props.color
1504
1521
  }, null, 8, ["stroke"])
1505
1522
  ])
1506
1523
  ]),
1507
1524
  key: "1"
1508
1525
  } : void 0
1509
1526
  ]), 1040)) : h("", !0),
1510
- i(We) ? (s(), X(dl, { key: 8 })) : h("", !0)
1511
- ], 46, yl));
1527
+ i(We) ? (s(), Y(bl, { key: 8 })) : h("", !0)
1528
+ ], 46, pl));
1512
1529
  }
1513
- }, Ya = /* @__PURE__ */ hl(ga, [["__scopeId", "data-v-fd15a06f"]]);
1530
+ }, Na = /* @__PURE__ */ fl($a, [["__scopeId", "data-v-1d2e9d35"]]);
1514
1531
  export {
1515
- Ya as default
1532
+ Na as default
1516
1533
  };