vue-data-ui 2.12.6 → 2.12.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,35 +1,29 @@
1
- import { computed as g, ref as y, watch as Pe, onMounted as ut, onBeforeUnmount as ot, createElementBlock as n, openBlock as o, unref as h, normalizeStyle as q, normalizeClass as T, createBlock as N, createCommentVNode as c, createElementVNode as d, createVNode as ve, createSlots as st, withCtx as m, renderSlot as x, normalizeProps as P, guardReactiveProps as H, Fragment as C, renderList as Y, toDisplayString as L, createTextVNode as rt, nextTick as nt } from "vue";
2
- import { u as it, c as He, t as vt, p as de, a as dt, o as ct, e as I, b as ht, d as yt, W as bt, i as O, f as R, X as ft, s as ae, w as pt, Y as gt, G as mt, q as xt, r as $t, x as kt, y as Lt } from "./index-BFzQMJda.js";
3
- import { t as wt, u as qt } from "./useResponsive-JZ9xq-JV.js";
4
- import { _ as _t } from "./Title-CzaCeCOm.js";
5
- import { u as Ct, U as St } from "./usePrinter-C5bLp34h.js";
6
- import { _ as zt } from "./Tooltip-CWmRmhJr.js";
7
- import { _ as Ie } from "./Shape-C69a0f29.js";
8
- import { L as Tt } from "./Legend-BxtDQCIv.js";
9
- import { D as Wt } from "./DataTable-Rajdtaf6.js";
10
- import Xt from "./vue-ui-skeleton-B_YI7Yuc.js";
11
- import Yt from "./vue-ui-accordion-BUz4JIIX.js";
12
- import { u as Ue } from "./useNestedProp-v7KPpwuP.js";
13
- import { _ as At } from "./PackageVersion-BjrblLPQ.js";
14
- import { _ as Mt } from "./PenAndPaper-BkP3J-Ft.js";
15
- import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
16
- import { u as Ot } from "./useChartAccessibility-BWojgys7.js";
17
- import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "height"], Pt = ["id"], Ht = ["stop-color"], It = ["stop-color"], Ut = { key: 1 }, Dt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Gt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qt = { key: 2 }, Jt = ["points", "fill"], jt = ["points", "fill"], Zt = ["points", "fill"], Kt = ["points", "fill"], el = { key: 3 }, tl = ["y", "fill", "font-size"], ll = ["x", "y", "fill", "font-size"], al = ["x", "y", "fill", "font-size"], ul = ["y", "fill", "font-size"], ol = { key: 4 }, sl = ["x", "y", "font-size", "fill"], rl = ["x", "y", "font-size", "fill"], nl = ["x", "y", "font-size", "fill"], il = ["id", "font-size", "transform", "fill"], vl = ["id", "font-size", "transform", "fill"], dl = ["id", "font-size", "transform", "fill"], cl = { key: 5 }, hl = ["fill", "points"], yl = ["x", "y", "width", "height"], bl = ["x", "y", "width", "height"], fl = ["x", "y", "width", "height"], pl = ["x", "y", "width", "height"], gl = {
1
+ import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as c, createVNode as ce, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as C, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
2
+ import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, W as qt, i as R, f as V, X as _t, s as oe, w as Ct, Y as St, G as zt, q as Tt, r as Wt, x as Xt, y as Yt } from "./index-BHEd2dgu.js";
3
+ import { t as At, u as Mt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as De } from "./useNestedProp-CZztHZIm.js";
5
+ import { u as Nt } from "./usePrinter-C8URL2IU.js";
6
+ import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Rt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Vt from "./Title-Bc66VstS.js";
9
+ import Pt from "./Legend-DtTYopxf.js";
10
+ import Ge from "./Shape-B6kIkp2s.js";
11
+ import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "height"], Et = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Gt = { key: 1 }, Qt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = { key: 2 }, Kt = ["points", "fill"], el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = { key: 3 }, ul = ["y", "fill", "font-size"], ol = ["x", "y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["y", "fill", "font-size"], nl = { key: 4 }, il = ["x", "y", "font-size", "fill"], vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], cl = ["id", "font-size", "transform", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = { key: 5 }, fl = ["fill", "points"], pl = ["x", "y", "width", "height"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = {
19
13
  key: 0,
20
14
  style: { "pointer-events": "none" }
21
- }, ml = ["x", "y", "font-size", "fill"], xl = { key: 0 }, $l = ["x", "y", "onMouseover", "onClick"], kl = {
15
+ }, kl = ["x", "y", "font-size", "fill"], Ll = { key: 0 }, wl = ["x", "y", "onMouseover", "onClick"], ql = {
22
16
  key: 8,
23
17
  class: "vue-ui-dna"
24
- }, Ll = ["points", "fill"], wl = ["points", "fill"], ql = ["points", "fill"], _l = ["points", "fill"], Cl = { key: 9 }, Sl = ["x", "y", "font-size", "fill", "font-weight"], zl = { key: 10 }, Tl = ["x", "y", "fill"], Wl = ["x", "y", "fill"], Xl = ["x", "y", "fill"], Yl = ["x", "y", "fill"], Al = ["stroke", "d"], Ml = ["stroke", "d"], Nl = {
18
+ }, _l = ["points", "fill"], Cl = ["points", "fill"], Sl = ["points", "fill"], zl = ["points", "fill"], Tl = { key: 9 }, Wl = ["x", "y", "font-size", "fill", "font-weight"], Xl = { key: 10 }, Yl = ["x", "y", "fill"], Al = ["x", "y", "fill"], Ml = ["x", "y", "fill"], Nl = ["x", "y", "fill"], Ol = ["stroke", "d"], Rl = ["stroke", "d"], Vl = {
25
19
  key: 5,
26
20
  class: "vue-data-ui-watermark"
27
- }, Ol = ["onClick"], Rl = {
21
+ }, Pl = ["onClick"], Bl = {
28
22
  key: 0,
29
23
  height: "14",
30
24
  width: "14",
31
25
  viewBox: "0 0 20 20"
32
- }, Vl = ["innerHTML"], Bl = {
26
+ }, Fl = ["innerHTML"], Hl = {
33
27
  __name: "vue-ui-quadrant",
34
28
  props: {
35
29
  config: {
@@ -46,45 +40,45 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
46
40
  }
47
41
  },
48
42
  emits: ["selectPlot", "selectSide", "selectLegend"],
49
- setup(De, { expose: Ee, emit: Ge }) {
50
- const { vue_ui_quadrant: Qe } = it(), W = De, J = g(() => !!W.dataset && W.dataset.length), z = y(He()), ue = Ge, Je = y(null), j = y(!1), oe = y(""), ce = y(0), p = y(!1), U = y(null), he = y(null), ye = y(null), be = y(null), fe = y(null), pe = y(0), ge = y(0), me = y(0), t = g({
51
- get: () => Le(),
43
+ setup(Qe, { expose: Je, emit: je }) {
44
+ const Ze = B(() => import("./DataTable-Y5HbiUZU.js")), Ke = B(() => import("./PenAndPaper-C-CpE0NC.js")), et = B(() => import("./vue-ui-accordion-DntThSTF.js")), tt = B(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), lt = B(() => import("./Tooltip-B07vY6jm.js")), at = B(() => import("./UserOptions-C8X2STEg.js")), ut = B(() => import("./PackageVersion-DaWGaZxE.js")), { vue_ui_quadrant: ot } = mt(), W = Qe, K = g(() => !!W.dataset && W.dataset.length), z = y(Ue()), se = je, st = y(null), ee = y(!1), re = y(""), ye = y(0), p = y(!1), G = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
45
+ get: () => qe(),
52
46
  set: (l) => l
53
- }), { userOptionsVisible: se, setUserOptionsVisibility: xe, keepUserOptionState: $e } = Nt({ config: t.value }), { svgRef: ke } = Ot({ config: t.value.style.chart.title });
54
- function Le() {
55
- const l = Ue({
47
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Ot({ config: t.value }), { svgRef: we } = Rt({ config: t.value.style.chart.title });
48
+ function qe() {
49
+ const l = De({
56
50
  userConfig: W.config,
57
- defaultConfig: Qe
51
+ defaultConfig: ot
58
52
  });
59
53
  return l.theme ? {
60
- ...Ue({
61
- userConfig: dt.vue_ui_quadrant[l.theme] || W.config,
54
+ ...De({
55
+ userConfig: $t.vue_ui_quadrant[l.theme] || W.config,
62
56
  defaultConfig: l
63
57
  }),
64
- customPalette: vt[l.theme] || de
58
+ customPalette: xt[l.theme] || he
65
59
  } : l;
66
60
  }
67
- Pe(() => W.config, (l) => {
68
- t.value = Le(), se.value = !t.value.userOptions.showOnChartHover, we(), pe.value += 1, ge.value += 1, me.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;
61
+ Ie(() => W.config, (l) => {
62
+ t.value = qe(), ne.value = !t.value.userOptions.showOnChartHover, _e(), me.value += 1, xe.value += 1, $e.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
69
63
  }, { deep: !0 });
70
- const Z = y(null);
71
- function we() {
72
- if (ct(W.dataset) ? I({
64
+ const A = Ee(null), F = Ee(null);
65
+ function _e() {
66
+ if (kt(W.dataset) ? D({
73
67
  componentName: "VueUiQuadrant",
74
68
  type: "dataset"
75
69
  }) : W.dataset.forEach((l, u) => {
76
- [null, void 0].includes(l.name) && I({
70
+ [null, void 0].includes(l.name) && D({
77
71
  componentName: "VueUiQuadrant",
78
72
  type: "datasetSerieAttribute",
79
73
  property: "name",
80
74
  index: u
81
- }), [null, void 0].includes(l.series) ? I({
75
+ }), [null, void 0].includes(l.series) ? D({
82
76
  componentName: "VueUiQuadrant",
83
77
  type: "datasetSerieAttribute",
84
78
  property: "series",
85
79
  index: u
86
80
  }) : l.series.forEach((a, s) => {
87
- [null, void 0].includes(a.name) && I({
81
+ [null, void 0].includes(a.name) && D({
88
82
  componentName: "VueUiQuadrant",
89
83
  type: "datasetSerieAttribute",
90
84
  property: "name",
@@ -93,31 +87,31 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
93
87
  });
94
88
  });
95
89
  }), t.value.responsive) {
96
- const l = wt(() => {
97
- const { width: u, height: a } = qt({
98
- chart: U.value,
99
- title: t.value.style.chart.title.text ? he.value : null,
100
- legend: t.value.style.chart.legend.show ? ye.value : null,
101
- source: be.value,
102
- noTitle: fe.value
90
+ const l = At(() => {
91
+ const { width: u, height: a } = Mt({
92
+ chart: G.value,
93
+ title: t.value.style.chart.title.text ? be.value : null,
94
+ legend: t.value.style.chart.legend.show ? fe.value : null,
95
+ source: pe.value,
96
+ noTitle: ge.value
103
97
  });
104
98
  k.value = 48, requestAnimationFrame(() => {
105
99
  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;
106
100
  });
107
101
  });
108
- Z.value = new ResizeObserver(l), Z.value.observe(U.value.parentNode);
102
+ A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(l), F.value = G.value.parentNode, A.value.observe(F.value);
109
103
  }
110
104
  }
111
- ut(() => {
112
- we();
113
- }), ot(() => {
114
- Z.value && Z.value.disconnect();
105
+ yt(() => {
106
+ _e();
107
+ }), bt(() => {
108
+ A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
115
109
  });
116
- const { isPrinting: qe, isImaging: _e, generatePdf: Ce, generateImage: Se } = Ct({
110
+ const { isPrinting: Ce, isImaging: Se, generatePdf: ze, generateImage: Te } = Nt({
117
111
  elementId: `vue-ui-quadrant_${z.value}`,
118
112
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
119
113
  options: t.value.userOptions.print
120
- }), je = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), ze = g(() => ht(t.value.customPalette)), $ = y({
114
+ }), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), We = g(() => Lt(t.value.customPalette)), $ = y({
121
115
  plotLabels: {
122
116
  show: t.value.style.chart.layout.labels.plotLabels.show
123
117
  },
@@ -135,24 +129,24 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
135
129
  centerX: t.value.style.chart.width / 2,
136
130
  centerY: t.value.style.chart.height - t.value.style.chart.height / 2,
137
131
  padding: k.value
138
- }), i = y({
132
+ }), v = y({
139
133
  ...JSON.parse(JSON.stringify(e.value)),
140
134
  startX: 0,
141
135
  startY: 0
142
136
  });
143
- Pe(() => e.value, (l) => {
144
- l && (i.value = {
137
+ Ie(() => e.value, (l) => {
138
+ l && (v.value = {
145
139
  ...JSON.parse(JSON.stringify(e.value)),
146
140
  startX: 0,
147
141
  startY: 0
148
142
  });
149
143
  }, { deep: !0 });
150
- const v = y(null), V = g(() => {
151
- switch (v.value) {
144
+ const d = y(null), P = g(() => {
145
+ switch (d.value) {
152
146
  case "TL":
153
147
  return {
154
- x: i.value.startX + i.value.width / 2,
155
- y: i.value.height,
148
+ x: v.value.startX + v.value.width / 2,
149
+ y: v.value.height,
156
150
  text: t.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
157
151
  fontSize: t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
158
152
  fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
@@ -160,8 +154,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
160
154
  };
161
155
  case "TR":
162
156
  return {
163
- x: i.value.startX + i.value.width / 2,
164
- y: i.value.height,
157
+ x: v.value.startX + v.value.width / 2,
158
+ y: v.value.height,
165
159
  text: t.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
166
160
  fontSize: t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
167
161
  fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
@@ -169,8 +163,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
169
163
  };
170
164
  case "BR":
171
165
  return {
172
- x: i.value.startX + i.value.width / 2,
173
- y: i.value.height * 1.678,
166
+ x: v.value.startX + v.value.width / 2,
167
+ y: v.value.height * 1.678,
174
168
  text: t.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
175
169
  fontSize: t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
176
170
  fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
@@ -178,8 +172,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
178
172
  };
179
173
  case "BL":
180
174
  return {
181
- x: i.value.startX + i.value.width / 2,
182
- y: i.value.height * 1.678,
175
+ x: v.value.startX + v.value.width / 2,
176
+ y: v.value.height * 1.678,
183
177
  text: t.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
184
178
  fontSize: t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
185
179
  fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
@@ -188,34 +182,34 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
188
182
  default:
189
183
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
190
184
  }
191
- }), Ze = y(null), K = y(!1);
192
- function D({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
193
- v.value && Q(r);
185
+ }), nt = y(null), te = y(!1);
186
+ function Q({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
187
+ d.value && Z(r);
194
188
  const b = {
195
- x: l - i.value.startX,
196
- y: u - i.value.startY,
197
- w: a - i.value.width,
198
- h: s - i.value.height
189
+ x: l - v.value.startX,
190
+ y: u - v.value.startY,
191
+ w: a - v.value.width,
192
+ h: s - v.value.height
199
193
  }, f = t.value.zoomAnimationFrames;
200
194
  let X = 0;
201
- function Fe() {
202
- K.value = !0, i.value.startX += b.x / f, i.value.startY += b.y / f, i.value.width += b.w / f, i.value.height += b.h / f, X += 1, X < f ? Ze.value = requestAnimationFrame(Fe) : K.value = !1;
195
+ function He() {
196
+ te.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, X += 1, X < f ? nt.value = requestAnimationFrame(He) : te.value = !1;
203
197
  }
204
- Fe();
198
+ He();
205
199
  }
206
- function A(l) {
207
- if (!K.value)
208
- if (p.value && v.value === l)
209
- D({
200
+ function M(l) {
201
+ if (!te.value)
202
+ if (p.value && d.value === l)
203
+ Q({
210
204
  targetX: 0,
211
205
  targetY: 0,
212
206
  targetW: e.value.width,
213
207
  targetH: e.value.height
214
- }), v.value = null, p.value = !1;
208
+ }), d.value = null, p.value = !1;
215
209
  else {
216
- switch (v.value = l, l) {
210
+ switch (d.value = l, l) {
217
211
  case "TL":
218
- D({
212
+ Q({
219
213
  targetX: 0,
220
214
  targetY: 0,
221
215
  targetW: e.value.width / 2 + e.value.left,
@@ -224,7 +218,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
224
218
  });
225
219
  break;
226
220
  case "TR":
227
- D({
221
+ Q({
228
222
  targetX: e.value.width / 2 - e.value.left,
229
223
  targetY: 0,
230
224
  targetW: e.value.width / 2 + e.value.left,
@@ -233,7 +227,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
233
227
  });
234
228
  break;
235
229
  case "BR":
236
- D({
230
+ Q({
237
231
  targetX: e.value.width / 2 - e.value.left,
238
232
  targetY: e.value.height / 2 - e.value.top,
239
233
  targetW: e.value.width / 2 + e.value.left,
@@ -242,7 +236,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
242
236
  });
243
237
  break;
244
238
  case "BL":
245
- D({
239
+ Q({
246
240
  targetX: 0,
247
241
  targetY: e.value.height / 2 - e.value.top,
248
242
  targetW: e.value.width / 2 + e.value.left,
@@ -251,13 +245,13 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
251
245
  });
252
246
  break;
253
247
  default:
254
- i.value.startX = 0, i.value.startY = 0, i.value.width = e.value.width, i.value.height = e.value.height;
248
+ v.value.startX = 0, v.value.startY = 0, v.value.width = e.value.width, v.value.height = e.value.height;
255
249
  break;
256
250
  }
257
251
  p.value = !0;
258
252
  }
259
253
  }
260
- const Ke = g(() => {
254
+ const it = g(() => {
261
255
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
262
256
  for (let r = 0; r < l; r += 1)
263
257
  s.push({
@@ -270,7 +264,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
270
264
  return s;
271
265
  }), _ = g(() => {
272
266
  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, s = t.value.style.chart.layout.grid.yAxis.min;
273
- return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...B.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...B.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...B.value.flatMap((r) => r.series.map((b) => b.y))), s = Math.min(...B.value.flatMap((r) => r.series.map((b) => b.y)))), {
267
+ return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...H.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...H.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...H.value.flatMap((r) => r.series.map((b) => b.y))), s = Math.min(...H.value.flatMap((r) => r.series.map((b) => b.y)))), {
274
268
  x: {
275
269
  max: l,
276
270
  min: u
@@ -280,37 +274,37 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
280
274
  min: s
281
275
  }
282
276
  };
283
- }), M = y([]), B = g(() => W.dataset.map((l, u) => ({
277
+ }), N = y([]), H = g(() => W.dataset.map((l, u) => ({
284
278
  ...l,
285
- series: bt({
279
+ series: qt({
286
280
  data: l.series,
287
281
  threshold: t.value.downsample.threshold
288
282
  }),
289
283
  id: `cat_${u}_${z.value}`,
290
- color: yt(l.color) || ze.value[u] || de[u]
291
- }))), et = g(() => B.value.filter((l) => !M.value.includes(l.id))), tt = g(() => B.value.map((l, u) => ({
284
+ color: wt(l.color) || We.value[u] || he[u]
285
+ }))), vt = g(() => H.value.filter((l) => !N.value.includes(l.id))), dt = g(() => H.value.map((l, u) => ({
292
286
  ...l,
293
287
  shape: l.shape || "circle",
294
288
  series: l.series.map((a) => ({
295
289
  ...a,
296
- x: Te(a.x),
297
- y: We(a.y),
290
+ x: Xe(a.x),
291
+ y: Ye(a.y),
298
292
  xValue: a.x,
299
293
  yValue: a.y,
300
- quadrantSide: Ye({ x: a.x, y: a.y }),
294
+ quadrantSide: Me({ x: a.x, y: a.y }),
301
295
  categoryName: l.name,
302
296
  shape: l.shape,
303
297
  color: l.color
304
298
  }))
305
299
  }))), S = g(() => (W.dataset.forEach((l, u) => {
306
300
  l.series.forEach((a, s) => {
307
- [null, void 0].includes(a.x) && I({
301
+ [null, void 0].includes(a.x) && D({
308
302
  componentName: "VueUiQuadrant",
309
303
  type: "datasetSerieAttribute",
310
304
  property: "x",
311
305
  key: "series",
312
306
  index: s
313
- }), [null, void 0].includes(a.y) && I({
307
+ }), [null, void 0].includes(a.y) && D({
314
308
  componentName: "VueUiQuadrant",
315
309
  type: "datasetSerieAttribute",
316
310
  property: "y",
@@ -318,24 +312,24 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
318
312
  index: s
319
313
  });
320
314
  });
321
- }), et.value.map((l, u) => ({
315
+ }), vt.value.map((l, u) => ({
322
316
  ...l,
323
317
  shape: l.shape || "circle",
324
- color: l.color || ze.value[u] || de[u],
318
+ color: l.color || We.value[u] || he[u],
325
319
  series: l.series.map((a) => ({
326
320
  ...a,
327
- x: Te(a.x),
328
- y: We(a.y),
321
+ x: Xe(a.x),
322
+ y: Ye(a.y),
329
323
  xValue: a.x,
330
324
  yValue: a.y,
331
- quadrantSide: Ye({ x: a.x, y: a.y }),
325
+ quadrantSide: Me({ x: a.x, y: a.y }),
332
326
  categoryName: l.name,
333
327
  shape: l.shape,
334
328
  color: l.color,
335
- uid: He()
329
+ uid: Ue()
336
330
  }))
337
331
  }))));
338
- function Te(l) {
332
+ function Xe(l) {
339
333
  if (l >= 0) {
340
334
  const u = l / _.value.x.max;
341
335
  return e.value.centerX + e.value.usableWidth / 2 * u;
@@ -344,7 +338,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
344
338
  return e.value.centerX - e.value.usableWidth / 2 * u;
345
339
  }
346
340
  }
347
- function We(l) {
341
+ function Ye(l) {
348
342
  if (l >= 0) {
349
343
  const u = l / _.value.y.max;
350
344
  return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
@@ -353,7 +347,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
353
347
  return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
354
348
  }
355
349
  }
356
- const ee = g(() => {
350
+ const le = g(() => {
357
351
  const l = S.value.flatMap((f) => f.series.map((X) => ({
358
352
  x: X.xValue,
359
353
  y: X.yValue,
@@ -368,26 +362,26 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
368
362
  color: f.color
369
363
  }));
370
364
  return { head: s, body: r, itsShapes: b, tableData: l };
371
- }), te = g(() => {
372
- const l = ee.value.head, u = ee.value.tableData.map((s) => [
365
+ }), ae = g(() => {
366
+ const l = le.value.head, u = le.value.tableData.map((s) => [
373
367
  {
374
368
  shape: s.shape,
375
369
  color: s.color,
376
370
  name: s.category
377
371
  },
378
372
  s.name,
379
- O(
373
+ R(
380
374
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
381
375
  s.x,
382
- R({
376
+ V({
383
377
  v: s.x,
384
378
  r: t.value.style.chart.layout.labels.plotLabels.rounding
385
379
  })
386
380
  ),
387
- O(
381
+ R(
388
382
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
389
383
  s.y,
390
- R({
384
+ V({
391
385
  v: s.y,
392
386
  r: t.value.style.chart.layout.labels.plotLabels.rounding
393
387
  })
@@ -408,20 +402,20 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
408
402
  };
409
403
  return { head: l, body: u, config: a, colNames: l };
410
404
  });
411
- function re(l) {
412
- M.value.includes(l) ? M.value = M.value.filter((a) => a !== l) : M.value.push(l);
413
- const u = Ne();
414
- ue("selectLegend", u);
405
+ function ie(l) {
406
+ N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
407
+ const u = Re();
408
+ se("selectLegend", u);
415
409
  }
416
- const Xe = g(() => tt.value.map((l) => ({
410
+ const Ae = g(() => dt.value.map((l) => ({
417
411
  name: l.name,
418
412
  shape: l.shape,
419
413
  color: l.color,
420
414
  id: l.id,
421
- opacity: M.value.includes(l.id) ? 0.5 : 1,
422
- segregate: () => re(l.id),
423
- isSegregated: M.value.includes(l.id)
424
- }))), lt = g(() => ({
415
+ opacity: N.value.includes(l.id) ? 0.5 : 1,
416
+ segregate: () => ie(l.id),
417
+ isSegregated: N.value.includes(l.id)
418
+ }))), ct = g(() => ({
425
419
  cy: "quadrant-div-legend",
426
420
  backgroundColor: t.value.style.chart.legend.backgroundColor,
427
421
  color: t.value.style.chart.legend.color,
@@ -429,7 +423,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
429
423
  paddingBottom: 12,
430
424
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
431
425
  }));
432
- function Ye(l) {
426
+ function Me(l) {
433
427
  switch (!0) {
434
428
  case (l.x >= 0 && l.y >= 0):
435
429
  return "tr";
@@ -443,25 +437,25 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
443
437
  return "";
444
438
  }
445
439
  }
446
- const E = y(null), G = y(null), ne = y(null);
447
- function Ae(l, u, a) {
448
- E.value = u.uid, G.value = {
440
+ const J = y(null), j = y(null), ve = y(null);
441
+ function Ne(l, u, a) {
442
+ J.value = u.uid, j.value = {
449
443
  color: l.color,
450
444
  shape: l.shape
451
- }, ne.value = {
445
+ }, ve.value = {
452
446
  datapoint: u,
453
447
  seriesIndex: a,
454
448
  series: S.value,
455
449
  config: t.value
456
- }, j.value = !0;
450
+ }, ee.value = !0;
457
451
  const s = t.value.style.chart.tooltip.customFormat;
458
- if (kt(s) && Lt(() => s({
452
+ if (Xt(s) && Yt(() => s({
459
453
  seriesIndex: a,
460
454
  datapoint: u,
461
455
  series: S.value,
462
456
  config: t.value
463
457
  })))
464
- oe.value = s({
458
+ re.value = s({
465
459
  seriesIndex: a,
466
460
  datapoint: u,
467
461
  series: S.value,
@@ -469,26 +463,26 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
469
463
  });
470
464
  else {
471
465
  let r = "";
472
- u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${O(
466
+ u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
473
467
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
474
468
  u.xValue,
475
- R({
469
+ V({
476
470
  v: u.xValue,
477
471
  r: t.value.style.chart.tooltip.roundingValue
478
472
  }),
479
473
  { datapoint: u, category: l, categoryIndex: a }
480
- )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${O(
474
+ )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
481
475
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
482
476
  u.yValue,
483
- R({
477
+ V({
484
478
  v: u.yValue,
485
479
  r: t.value.style.chart.tooltip.roundingValue
486
480
  }),
487
481
  { datapoint: u, category: l, categoryIndex: a }
488
- )}</b></div>`, oe.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
482
+ )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
489
483
  }
490
484
  }
491
- function Me(l, u) {
485
+ function Oe(l, u) {
492
486
  const a = {
493
487
  category: l.name,
494
488
  shape: l.shape,
@@ -498,9 +492,9 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
498
492
  quadrantSide: u.quadrantSide,
499
493
  sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
500
494
  };
501
- ue("selectPlot", a);
495
+ se("selectPlot", a);
502
496
  }
503
- function Q(l) {
497
+ function Z(l) {
504
498
  if (!l) return;
505
499
  const u = S.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
506
500
  category: r.categoryName,
@@ -512,7 +506,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
512
506
  sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
513
507
  items: [...u]
514
508
  };
515
- ue("selectSide", a);
509
+ se("selectSide", a);
516
510
  }
517
511
  const w = g(() => ({
518
512
  TL: {
@@ -620,7 +614,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
620
614
  }
621
615
  }
622
616
  }));
623
- function Ne() {
617
+ function Re() {
624
618
  return S.value.map((l) => ({
625
619
  color: l.color,
626
620
  name: l.name,
@@ -634,70 +628,70 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
634
628
  }))
635
629
  }));
636
630
  }
637
- function Oe() {
638
- nt(() => {
639
- const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = ee.value.head, a = ee.value.body, s = l.concat([u]).concat(a), r = xt(s);
640
- $t({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
631
+ function Ve() {
632
+ gt(() => {
633
+ const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = le.value.head, a = le.value.body, s = l.concat([u]).concat(a), r = Tt(s);
634
+ Wt({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
641
635
  });
642
636
  }
643
- const F = y(!1);
644
- function at(l) {
645
- F.value = l, ce.value += 1;
637
+ const I = y(!1);
638
+ function ht(l) {
639
+ I.value = l, ye.value += 1;
646
640
  }
647
- function Re() {
641
+ function Pe() {
648
642
  $.value.showTable = !$.value.showTable;
649
643
  }
650
- function Ve() {
644
+ function Be() {
651
645
  $.value.plotLabels.show = !$.value.plotLabels.show;
652
646
  }
653
- function Be() {
647
+ function Fe() {
654
648
  $.value.showTooltip = !$.value.showTooltip;
655
649
  }
656
- const le = y(!1);
657
- function ie() {
658
- le.value = !le.value;
650
+ const ue = y(!1);
651
+ function de() {
652
+ ue.value = !ue.value;
659
653
  }
660
- return Ee({
661
- getData: Ne,
662
- generatePdf: Ce,
663
- generateCsv: Oe,
664
- generateImage: Se,
665
- toggleTable: Re,
666
- toggleLabels: Ve,
667
- toggleTooltip: Be,
668
- toggleAnnotator: ie
654
+ return Je({
655
+ getData: Re,
656
+ generatePdf: ze,
657
+ generateCsv: Ve,
658
+ generateImage: Te,
659
+ toggleTable: Pe,
660
+ toggleLabels: Be,
661
+ toggleTooltip: Fe,
662
+ toggleAnnotator: de
669
663
  }), (l, u) => (o(), n("div", {
670
- class: T(`vue-ui-quadrant ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
664
+ class: T(`vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
671
665
  ref_key: "quadrantChart",
672
- ref: U,
666
+ ref: G,
673
667
  id: `vue-ui-quadrant_${z.value}`,
674
668
  style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
675
- onMouseenter: u[16] || (u[16] = () => h(xe)(!0)),
676
- onMouseleave: u[17] || (u[17] = () => h(xe)(!1))
669
+ onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
670
+ onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
677
671
  }, [
678
- t.value.userOptions.buttons.annotator ? (o(), N(Mt, {
672
+ t.value.userOptions.buttons.annotator ? (o(), O(i(Ke), {
679
673
  key: 0,
680
- svgRef: h(ke),
674
+ svgRef: i(we),
681
675
  backgroundColor: t.value.style.chart.backgroundColor,
682
676
  color: t.value.style.chart.color,
683
- active: le.value,
684
- onClose: ie
685
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
686
- je.value ? (o(), n("div", {
677
+ active: ue.value,
678
+ onClose: de
679
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
680
+ rt.value ? (o(), n("div", {
687
681
  key: 1,
688
682
  ref_key: "noTitle",
689
- ref: fe,
683
+ ref: ge,
690
684
  class: "vue-data-ui-no-title-space",
691
685
  style: "height:36px; width: 100%;background:transparent"
692
- }, null, 512)) : c("", !0),
686
+ }, null, 512)) : h("", !0),
693
687
  t.value.style.chart.title.text ? (o(), n("div", {
694
688
  key: 2,
695
689
  ref_key: "chartTitle",
696
- ref: he,
690
+ ref: be,
697
691
  style: "width:100%;background:transparent;padding-bottom:12px"
698
692
  }, [
699
- (o(), N(_t, {
700
- key: `table_${pe.value}`,
693
+ (o(), O(Vt, {
694
+ key: `table_${me.value}`,
701
695
  config: {
702
696
  title: {
703
697
  cy: "quadrant-title",
@@ -709,15 +703,15 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
709
703
  }
710
704
  }
711
705
  }, null, 8, ["config"]))
712
- ], 512)) : c("", !0),
713
- t.value.userOptions.show && J.value && (h($e) || h(se)) ? (o(), N(St, {
706
+ ], 512)) : h("", !0),
707
+ t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (o(), O(i(at), {
714
708
  ref_key: "details",
715
- ref: Je,
716
- key: `user_options_${ce.value}`,
709
+ ref: st,
710
+ key: `user_options_${ye.value}`,
717
711
  backgroundColor: t.value.style.chart.backgroundColor,
718
712
  color: t.value.style.chart.color,
719
- isImaging: h(_e),
720
- isPrinting: h(qe),
713
+ isImaging: i(Se),
714
+ isPrinting: i(Ce),
721
715
  uid: z.value,
722
716
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
723
717
  hasPdf: t.value.userOptions.buttons.pdf,
@@ -726,29 +720,29 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
726
720
  hasTable: t.value.userOptions.buttons.table,
727
721
  hasLabel: t.value.userOptions.buttons.labels,
728
722
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
729
- isFullscreen: F.value,
723
+ isFullscreen: I.value,
730
724
  isTooltip: $.value.showTooltip,
731
725
  titles: { ...t.value.userOptions.buttonTitles },
732
- chartElement: U.value,
726
+ chartElement: G.value,
733
727
  position: t.value.userOptions.position,
734
728
  hasAnnotator: t.value.userOptions.buttons.annotator,
735
- isAnnotation: le.value,
736
- onToggleFullscreen: at,
737
- onGeneratePdf: h(Ce),
738
- onGenerateCsv: Oe,
739
- onGenerateImage: h(Se),
740
- onToggleTable: Re,
741
- onToggleLabels: Ve,
742
- onToggleTooltip: Be,
743
- onToggleAnnotator: ie,
729
+ isAnnotation: ue.value,
730
+ onToggleFullscreen: ht,
731
+ onGeneratePdf: i(ze),
732
+ onGenerateCsv: Ve,
733
+ onGenerateImage: i(Te),
734
+ onToggleTable: Pe,
735
+ onToggleLabels: Be,
736
+ onToggleTooltip: Fe,
737
+ onToggleAnnotator: de,
744
738
  style: q({
745
- visibility: h($e) ? h(se) ? "visible" : "hidden" : "visible"
739
+ visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
746
740
  })
747
- }, st({ _: 2 }, [
741
+ }, ft({ _: 2 }, [
748
742
  l.$slots.menuIcon ? {
749
743
  name: "menuIcon",
750
744
  fn: m(({ isOpen: a, color: s }) => [
751
- x(l.$slots, "menuIcon", P(H({ isOpen: a, color: s })), void 0, !0)
745
+ x(l.$slots, "menuIcon", E(U({ isOpen: a, color: s })), void 0, !0)
752
746
  ]),
753
747
  key: "0"
754
748
  } : void 0,
@@ -797,42 +791,42 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
797
791
  l.$slots.optionFullscreen ? {
798
792
  name: "optionFullscreen",
799
793
  fn: m(({ toggleFullscreen: a, isFullscreen: s }) => [
800
- x(l.$slots, "optionFullscreen", P(H({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
794
+ x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
801
795
  ]),
802
796
  key: "7"
803
797
  } : void 0,
804
798
  l.$slots.optionAnnotator ? {
805
799
  name: "optionAnnotator",
806
800
  fn: m(({ toggleAnnotator: a, isAnnotator: s }) => [
807
- x(l.$slots, "optionAnnotator", P(H({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
801
+ x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
808
802
  ]),
809
803
  key: "8"
810
804
  } : void 0
811
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
812
- J.value ? (o(), n("svg", {
805
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
806
+ K.value ? (o(), n("svg", {
813
807
  key: 4,
814
808
  ref_key: "svgRef",
815
- ref: ke,
816
- xmlns: h(ft),
817
- class: T({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
818
- viewBox: `${i.value.startX} ${i.value.startY} ${i.value.width} ${i.value.height}`,
809
+ ref: we,
810
+ xmlns: i(_t),
811
+ class: T({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
812
+ viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
819
813
  style: q(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
820
814
  id: `svg_${z.value}`
821
815
  }, [
822
- ve(At),
816
+ ce(i(ut)),
823
817
  l.$slots["chart-background"] ? (o(), n("foreignObject", {
824
818
  key: 0,
825
- x: i.value.startX,
826
- y: i.value.startY,
827
- width: i.value.width,
828
- height: i.value.height,
819
+ x: v.value.startX,
820
+ y: v.value.startY,
821
+ width: v.value.width,
822
+ height: v.value.height,
829
823
  style: {
830
824
  pointerEvents: "none"
831
825
  }
832
826
  }, [
833
827
  x(l.$slots, "chart-background", {}, void 0, !0)
834
- ], 8, Ft)) : c("", !0),
835
- d("defs", null, [
828
+ ], 8, It)) : h("", !0),
829
+ c("defs", null, [
836
830
  (o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("radialGradient", {
837
831
  cx: "50%",
838
832
  cy: "50%",
@@ -841,19 +835,19 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
841
835
  fy: "50%",
842
836
  id: `quadrant_gradient_${z.value}_${s}`
843
837
  }, [
844
- d("stop", {
838
+ c("stop", {
845
839
  offset: "0%",
846
- "stop-color": h(ae)(h(pt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
847
- }, null, 8, Ht),
848
- d("stop", {
840
+ "stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
841
+ }, null, 8, Ut),
842
+ c("stop", {
849
843
  offset: "100%",
850
- "stop-color": h(ae)(a.color, t.value.style.chart.layout.areas.opacity)
851
- }, null, 8, It)
852
- ], 8, Pt))), 256))
844
+ "stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
845
+ }, null, 8, Dt)
846
+ ], 8, Et))), 256))
853
847
  ]),
854
- t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Ut, [
855
- (o(!0), n(C, null, Y(Ke.value, (a) => (o(), n("rect", {
856
- fill: t.value.style.chart.layout.grid.graduations.fill ? h(ae)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
848
+ t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Gt, [
849
+ (o(!0), n(C, null, Y(it.value, (a) => (o(), n("rect", {
850
+ fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
857
851
  x: a.x,
858
852
  y: a.y,
859
853
  height: a.height <= 0 ? 1e-3 : a.height,
@@ -861,47 +855,47 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
861
855
  "stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
862
856
  stroke: t.value.style.chart.layout.grid.graduations.stroke,
863
857
  rx: t.value.style.chart.layout.grid.graduations.roundingForce
864
- }, null, 8, Dt))), 256))
865
- ])) : c("", !0),
866
- d("line", {
858
+ }, null, 8, Qt))), 256))
859
+ ])) : h("", !0),
860
+ c("line", {
867
861
  x1: e.value.left,
868
862
  y1: e.value.centerY,
869
863
  x2: e.value.right,
870
864
  y2: e.value.centerY,
871
865
  stroke: t.value.style.chart.layout.grid.stroke,
872
866
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
873
- }, null, 8, Et),
874
- d("line", {
867
+ }, null, 8, Jt),
868
+ c("line", {
875
869
  x1: e.value.centerX,
876
870
  y1: e.value.top,
877
871
  x2: e.value.centerX,
878
872
  y2: e.value.bottom,
879
873
  stroke: t.value.style.chart.layout.grid.stroke,
880
874
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
881
- }, null, 8, Gt),
882
- t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Qt, [
883
- d("polygon", {
875
+ }, null, 8, jt),
876
+ t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Zt, [
877
+ c("polygon", {
884
878
  points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
885
879
  fill: t.value.style.chart.layout.grid.stroke,
886
880
  stroke: "none"
887
- }, null, 8, Jt),
888
- d("polygon", {
881
+ }, null, 8, Kt),
882
+ c("polygon", {
889
883
  points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
890
884
  fill: t.value.style.chart.layout.grid.stroke,
891
885
  stroke: "none"
892
- }, null, 8, jt),
893
- d("polygon", {
886
+ }, null, 8, el),
887
+ c("polygon", {
894
888
  points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
895
889
  fill: t.value.style.chart.layout.grid.stroke,
896
890
  stroke: "none"
897
- }, null, 8, Zt),
898
- d("polygon", {
891
+ }, null, 8, tl),
892
+ c("polygon", {
899
893
  points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
900
894
  fill: t.value.style.chart.layout.grid.stroke,
901
895
  stroke: "none"
902
- }, null, 8, Kt)
903
- ])) : c("", !0),
904
- t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", el, [
896
+ }, null, 8, ll)
897
+ ])) : h("", !0),
898
+ t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", al, [
905
899
  t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
906
900
  key: 0,
907
901
  x: 0,
@@ -910,8 +904,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
910
904
  fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
911
905
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
912
906
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
913
- onClick: u[0] || (u[0] = (a) => Q("tl"))
914
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, tl)) : c("", !0),
907
+ onClick: u[0] || (u[0] = (a) => Z("tl"))
908
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ul)) : h("", !0),
915
909
  t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
916
910
  key: 1,
917
911
  x: e.value.width,
@@ -920,8 +914,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
920
914
  fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
921
915
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
922
916
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
923
- onClick: u[1] || (u[1] = (a) => Q("tr"))
924
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ll)) : c("", !0),
917
+ onClick: u[1] || (u[1] = (a) => Z("tr"))
918
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ol)) : h("", !0),
925
919
  t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
926
920
  key: 2,
927
921
  x: e.value.width,
@@ -930,8 +924,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
930
924
  fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
931
925
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
932
926
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
933
- onClick: u[2] || (u[2] = (a) => Q("br"))
934
- }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, al)) : c("", !0),
927
+ onClick: u[2] || (u[2] = (a) => Z("br"))
928
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, sl)) : h("", !0),
935
929
  t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
936
930
  key: 3,
937
931
  x: 0,
@@ -940,131 +934,131 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
940
934
  fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
941
935
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
942
936
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
943
- onClick: u[3] || (u[3] = (a) => Q("bl"))
944
- }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ul)) : c("", !0)
945
- ])) : c("", !0),
946
- t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", ol, [
947
- d("text", {
937
+ onClick: u[3] || (u[3] = (a) => Z("bl"))
938
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, rl)) : h("", !0)
939
+ ])) : h("", !0),
940
+ t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", nl, [
941
+ c("text", {
948
942
  x: e.value.centerX,
949
943
  y: e.value.top - e.value.padding / 6,
950
944
  "text-anchor": "middle",
951
945
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
952
946
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
953
- }, L(h(O)(
947
+ }, L(i(R)(
954
948
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
955
949
  _.value.y.max,
956
- h(R)({
950
+ i(V)({
957
951
  v: _.value.y.max,
958
952
  r: t.value.style.chart.layout.labels.plotLabels.rounding
959
953
  })
960
- )), 9, sl),
961
- d("text", {
954
+ )), 9, il),
955
+ c("text", {
962
956
  x: e.value.centerX,
963
957
  y: e.value.top - e.value.padding / 2,
964
958
  "text-anchor": "middle",
965
959
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
966
960
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
967
- }, L(t.value.style.chart.layout.grid.yAxis.name), 9, rl),
968
- d("text", {
961
+ }, L(t.value.style.chart.layout.grid.yAxis.name), 9, vl),
962
+ c("text", {
969
963
  x: e.value.centerX,
970
964
  y: e.value.bottom + e.value.padding * 0.35,
971
965
  "text-anchor": "middle",
972
966
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
973
967
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
974
- }, L(h(O)(
968
+ }, L(i(R)(
975
969
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
976
970
  _.value.y.min,
977
- h(R)({
971
+ i(V)({
978
972
  v: _.value.y.min,
979
973
  r: t.value.style.chart.layout.labels.plotLabels.rounding
980
974
  })
981
- )), 9, nl),
982
- d("text", {
975
+ )), 9, dl),
976
+ c("text", {
983
977
  id: `xLabelMin_${z.value}`,
984
978
  "text-anchor": "middle",
985
979
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
986
980
  transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
987
981
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
988
- }, L(h(O)(
982
+ }, L(i(R)(
989
983
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
990
984
  _.value.x.min,
991
- h(R)({
985
+ i(V)({
992
986
  v: _.value.x.min,
993
987
  r: t.value.style.chart.layout.labels.plotLabels.rounding
994
988
  })
995
- )), 9, il),
996
- d("text", {
989
+ )), 9, cl),
990
+ c("text", {
997
991
  id: `xLabelMax_${z.value}`,
998
992
  "text-anchor": "middle",
999
993
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1000
994
  transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1001
995
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1002
- }, L(h(O)(
996
+ }, L(i(R)(
1003
997
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
1004
998
  _.value.x.max,
1005
- h(R)({
999
+ i(V)({
1006
1000
  v: _.value.x.max,
1007
1001
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1008
1002
  })
1009
- )), 9, vl),
1010
- d("text", {
1003
+ )), 9, hl),
1004
+ c("text", {
1011
1005
  id: `xLabelMaxName_${z.value}`,
1012
1006
  "text-anchor": "middle",
1013
1007
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1014
1008
  transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1015
1009
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1016
- }, L(t.value.style.chart.layout.grid.xAxis.name), 9, dl)
1017
- ])) : c("", !0),
1018
- t.value.style.chart.layout.areas.show ? (o(), n("g", cl, [
1010
+ }, L(t.value.style.chart.layout.grid.xAxis.name), 9, yl)
1011
+ ])) : h("", !0),
1012
+ t.value.style.chart.layout.areas.show ? (o(), n("g", bl, [
1019
1013
  (o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
1020
1014
  a.series.length > 2 ? (o(), n("polygon", {
1021
1015
  key: 0,
1022
1016
  "data-cy-quadrant-area": "",
1023
- fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : h(ae)(a.color, t.value.style.chart.layout.areas.opacity),
1024
- points: h(gt)(a)
1025
- }, null, 8, hl)) : c("", !0)
1017
+ fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : i(oe)(a.color, t.value.style.chart.layout.areas.opacity),
1018
+ points: i(St)(a)
1019
+ }, null, 8, fl)) : h("", !0)
1026
1020
  ]))), 256))
1027
- ])) : c("", !0),
1028
- d("g", null, [
1029
- d("rect", {
1030
- onClick: u[4] || (u[4] = (a) => A("TL")),
1021
+ ])) : h("", !0),
1022
+ c("g", null, [
1023
+ c("rect", {
1024
+ onClick: u[4] || (u[4] = (a) => M("TL")),
1031
1025
  x: e.value.left,
1032
1026
  y: e.value.top,
1033
1027
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1034
1028
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1035
1029
  fill: "transparent",
1036
1030
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1037
- }, null, 10, yl),
1038
- d("rect", {
1039
- onClick: u[5] || (u[5] = (a) => A("TR")),
1031
+ }, null, 10, pl),
1032
+ c("rect", {
1033
+ onClick: u[5] || (u[5] = (a) => M("TR")),
1040
1034
  x: e.value.centerX,
1041
1035
  y: e.value.top,
1042
1036
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1043
1037
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1044
1038
  fill: "transparent",
1045
1039
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1046
- }, null, 10, bl),
1047
- d("rect", {
1048
- onClick: u[6] || (u[6] = (a) => A("BR")),
1040
+ }, null, 10, gl),
1041
+ c("rect", {
1042
+ onClick: u[6] || (u[6] = (a) => M("BR")),
1049
1043
  x: e.value.centerX,
1050
1044
  y: e.value.centerY,
1051
1045
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1052
1046
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1053
1047
  fill: "transparent",
1054
1048
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1055
- }, null, 10, fl),
1056
- d("rect", {
1057
- onClick: u[7] || (u[7] = (a) => A("BL")),
1049
+ }, null, 10, ml),
1050
+ c("rect", {
1051
+ onClick: u[7] || (u[7] = (a) => M("BL")),
1058
1052
  x: e.value.left,
1059
1053
  y: e.value.centerY,
1060
1054
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1061
1055
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1062
1056
  fill: "transparent",
1063
1057
  class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
1064
- }, null, 10, pl)
1058
+ }, null, 10, xl)
1065
1059
  ]),
1066
1060
  t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(C, { key: 7 }, [
1067
- $.value.plotLabels.show ? (o(), n("g", xl, [
1061
+ $.value.plotLabels.show ? (o(), n("g", Ll, [
1068
1062
  (o(!0), n(C, null, Y(S.value, (a, s) => (o(), n(C, null, [
1069
1063
  (o(!0), n(C, null, Y(a.series, (r) => (o(), n("foreignObject", {
1070
1064
  style: { overflow: "visible" },
@@ -1072,36 +1066,36 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
1072
1066
  width: "100",
1073
1067
  x: r.x - 50,
1074
1068
  y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1075
- onMouseover: (b) => Ae(a, r, s),
1069
+ onMouseover: (b) => Ne(a, r, s),
1076
1070
  onMouseleave: u[9] || (u[9] = (b) => {
1077
- j.value = !1, E.value = null, G.value = null;
1071
+ ee.value = !1, J.value = null, j.value = null;
1078
1072
  }),
1079
- onClick: (b) => Me(a, r)
1073
+ onClick: (b) => Oe(a, r)
1080
1074
  }, [
1081
- d("div", {
1082
- style: q(`color:${h(mt)(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: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
1075
+ c("div", {
1076
+ style: q(`color:${i(zt)(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: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
1083
1077
  }, L(r.name), 5)
1084
- ], 40, $l))), 256))
1078
+ ], 40, wl))), 256))
1085
1079
  ], 64))), 256))
1086
- ])) : c("", !0)
1080
+ ])) : h("", !0)
1087
1081
  ], 64)) : (o(), n(C, { key: 6 }, [
1088
1082
  (o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
1089
- (o(!0), n(C, null, Y(a.series, (r) => (o(), N(Ie, {
1083
+ (o(!0), n(C, null, Y(a.series, (r) => (o(), O(Ge, {
1090
1084
  color: a.color,
1091
- isSelected: E.value && r.uid === E.value,
1085
+ isSelected: J.value && r.uid === J.value,
1092
1086
  plot: r,
1093
1087
  radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
1094
1088
  shape: a.shape,
1095
1089
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1096
1090
  strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
1097
- onMouseenter: (b) => Ae(a, r, s),
1091
+ onMouseenter: (b) => Ne(a, r, s),
1098
1092
  onMouseleave: u[8] || (u[8] = (b) => {
1099
- j.value = !1, E.value = null, G.value = null;
1093
+ ee.value = !1, J.value = null, j.value = null;
1100
1094
  }),
1101
- onClick: (b) => Me(a, r)
1095
+ onClick: (b) => Oe(a, r)
1102
1096
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
1103
1097
  ]))), 256)),
1104
- $.value.plotLabels.show ? (o(), n("g", gl, [
1098
+ $.value.plotLabels.show ? (o(), n("g", $l, [
1105
1099
  (o(!0), n(C, null, Y(S.value, (a) => (o(), n("g", null, [
1106
1100
  (o(!0), n(C, null, Y(a.series, (s) => (o(), n("text", {
1107
1101
  x: s.x,
@@ -1109,106 +1103,106 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
1109
1103
  "text-anchor": "middle",
1110
1104
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
1111
1105
  fill: t.value.style.chart.layout.labels.plotLabels.color
1112
- }, L(s.name), 9, ml))), 256))
1106
+ }, L(s.name), 9, kl))), 256))
1113
1107
  ]))), 256))
1114
- ])) : c("", !0)
1108
+ ])) : h("", !0)
1115
1109
  ], 64)),
1116
- p.value ? (o(), n("g", kl, [
1117
- v.value === "TL" ? (o(), n("polygon", {
1110
+ p.value ? (o(), n("g", ql, [
1111
+ d.value === "TL" ? (o(), n("polygon", {
1118
1112
  key: 0,
1119
1113
  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}`,
1120
1114
  fill: t.value.style.chart.backgroundColor,
1121
1115
  style: { opacity: "1" }
1122
- }, null, 8, Ll)) : c("", !0),
1123
- v.value === "TR" ? (o(), n("polygon", {
1116
+ }, null, 8, _l)) : h("", !0),
1117
+ d.value === "TR" ? (o(), n("polygon", {
1124
1118
  key: 1,
1125
1119
  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}`,
1126
1120
  fill: t.value.style.chart.backgroundColor,
1127
1121
  style: { opacity: "1" }
1128
- }, null, 8, wl)) : c("", !0),
1129
- v.value === "BR" ? (o(), n("polygon", {
1122
+ }, null, 8, Cl)) : h("", !0),
1123
+ d.value === "BR" ? (o(), n("polygon", {
1130
1124
  key: 2,
1131
1125
  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}`,
1132
1126
  fill: t.value.style.chart.backgroundColor,
1133
1127
  style: { opacity: "1" }
1134
- }, null, 8, ql)) : c("", !0),
1135
- v.value === "BL" ? (o(), n("polygon", {
1128
+ }, null, 8, Sl)) : h("", !0),
1129
+ d.value === "BL" ? (o(), n("polygon", {
1136
1130
  key: 3,
1137
1131
  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}`,
1138
1132
  fill: t.value.style.chart.backgroundColor,
1139
1133
  style: { opacity: "1" }
1140
- }, null, 8, _l)) : c("", !0)
1141
- ])) : c("", !0),
1142
- v.value && !K.value ? (o(), n("g", Cl, [
1143
- d("text", {
1144
- x: V.value.x,
1145
- y: V.value.y - V.value.fontSize / 1.5,
1146
- "font-size": V.value.fontSize / 1.5,
1147
- fill: V.value.fill,
1134
+ }, null, 8, zl)) : h("", !0)
1135
+ ])) : h("", !0),
1136
+ d.value && !te.value ? (o(), n("g", Tl, [
1137
+ c("text", {
1138
+ x: P.value.x,
1139
+ y: P.value.y - P.value.fontSize / 1.5,
1140
+ "font-size": P.value.fontSize / 1.5,
1141
+ fill: P.value.fill,
1148
1142
  "text-anchor": "middle",
1149
- "font-weight": V.value.bold ? "bold" : "normal"
1150
- }, L(V.value.text), 9, Sl)
1151
- ])) : c("", !0),
1152
- p.value && v.value ? (o(), n("g", zl, [
1153
- d("rect", {
1154
- x: w.value[v.value].tl.x,
1155
- y: w.value[v.value].tl.y,
1143
+ "font-weight": P.value.bold ? "bold" : "normal"
1144
+ }, L(P.value.text), 9, Wl)
1145
+ ])) : h("", !0),
1146
+ p.value && d.value ? (o(), n("g", Xl, [
1147
+ c("rect", {
1148
+ x: w.value[d.value].tl.x,
1149
+ y: w.value[d.value].tl.y,
1156
1150
  height: "20",
1157
1151
  width: "20",
1158
- fill: w.value[v.value].tl.fill,
1159
- style: q(`cursor: pointer; opacity: ${v.value === "TL" ? 1 : 0.2}`),
1160
- onClick: u[10] || (u[10] = (a) => A("TL")),
1161
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": v.value !== "TL" })
1162
- }, null, 14, Tl),
1163
- d("rect", {
1164
- x: w.value[v.value].tr.x,
1165
- y: w.value[v.value].tr.y,
1152
+ fill: w.value[d.value].tl.fill,
1153
+ style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
1154
+ onClick: u[10] || (u[10] = (a) => M("TL")),
1155
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
1156
+ }, null, 14, Yl),
1157
+ c("rect", {
1158
+ x: w.value[d.value].tr.x,
1159
+ y: w.value[d.value].tr.y,
1166
1160
  height: "20",
1167
1161
  width: "20",
1168
- fill: w.value[v.value].tr.fill,
1169
- style: q(`cursor: pointer; opacity: ${v.value === "TR" ? 1 : 0.2}`),
1170
- onClick: u[11] || (u[11] = (a) => A("TR")),
1171
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": v.value !== "TR" })
1172
- }, null, 14, Wl),
1173
- d("rect", {
1174
- x: w.value[v.value].br.x,
1175
- y: w.value[v.value].br.y,
1162
+ fill: w.value[d.value].tr.fill,
1163
+ style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
1164
+ onClick: u[11] || (u[11] = (a) => M("TR")),
1165
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
1166
+ }, null, 14, Al),
1167
+ c("rect", {
1168
+ x: w.value[d.value].br.x,
1169
+ y: w.value[d.value].br.y,
1176
1170
  height: "20",
1177
1171
  width: "20",
1178
- fill: w.value[v.value].br.fill,
1179
- style: q(`cursor: pointer; opacity: ${v.value === "BR" ? 1 : 0.2}`),
1180
- onClick: u[12] || (u[12] = (a) => A("BR")),
1181
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": v.value !== "BR" })
1182
- }, null, 14, Xl),
1183
- d("rect", {
1184
- x: w.value[v.value].bl.x,
1185
- y: w.value[v.value].bl.y,
1172
+ fill: w.value[d.value].br.fill,
1173
+ style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
1174
+ onClick: u[12] || (u[12] = (a) => M("BR")),
1175
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
1176
+ }, null, 14, Ml),
1177
+ c("rect", {
1178
+ x: w.value[d.value].bl.x,
1179
+ y: w.value[d.value].bl.y,
1186
1180
  height: "20",
1187
1181
  width: "20",
1188
- fill: w.value[v.value].bl.fill,
1189
- style: q(`cursor: pointer; opacity: ${v.value === "BL" ? 1 : 0.2}`),
1190
- onClick: u[13] || (u[13] = (a) => A("BL")),
1191
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": v.value !== "BL" })
1192
- }, null, 14, Yl),
1193
- d("path", {
1182
+ fill: w.value[d.value].bl.fill,
1183
+ style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
1184
+ onClick: u[13] || (u[13] = (a) => M("BL")),
1185
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
1186
+ }, null, 14, Nl),
1187
+ c("path", {
1194
1188
  class: "vue-ui-quadrant-minimap-crosshairs",
1195
1189
  stroke: t.value.style.chart.backgroundColor,
1196
1190
  "stroke-width": 1,
1197
- d: w.value[v.value].crosshairs.horizontal
1198
- }, null, 8, Al),
1199
- d("path", {
1191
+ d: w.value[d.value].crosshairs.horizontal
1192
+ }, null, 8, Ol),
1193
+ c("path", {
1200
1194
  class: "vue-ui-quadrant-minimap-crosshairs",
1201
1195
  stroke: t.value.style.chart.backgroundColor,
1202
1196
  "stroke-width": 1,
1203
- d: w.value[v.value].crosshairs.vertical
1204
- }, null, 8, Ml)
1205
- ])) : c("", !0),
1197
+ d: w.value[d.value].crosshairs.vertical
1198
+ }, null, 8, Rl)
1199
+ ])) : h("", !0),
1206
1200
  x(l.$slots, "svg", { svg: e.value }, void 0, !0)
1207
- ], 14, Bt)) : c("", !0),
1208
- l.$slots.watermark ? (o(), n("div", Nl, [
1209
- x(l.$slots, "watermark", P(H({ isPrinting: h(qe) || h(_e) })), void 0, !0)
1210
- ])) : c("", !0),
1211
- J.value ? c("", !0) : (o(), N(Xt, {
1201
+ ], 14, Ht)) : h("", !0),
1202
+ l.$slots.watermark ? (o(), n("div", Vl, [
1203
+ x(l.$slots, "watermark", E(U({ isPrinting: i(Ce) || i(Se) })), void 0, !0)
1204
+ ])) : h("", !0),
1205
+ K.value ? h("", !0) : (o(), O(i(tt), {
1212
1206
  key: 6,
1213
1207
  config: {
1214
1208
  type: "quadrant",
@@ -1226,38 +1220,38 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
1226
1220
  }
1227
1221
  }
1228
1222
  }, null, 8, ["config"])),
1229
- d("div", {
1223
+ c("div", {
1230
1224
  ref_key: "chartLegend",
1231
- ref: ye
1225
+ ref: fe
1232
1226
  }, [
1233
- t.value.style.chart.legend.show ? (o(), N(Tt, {
1234
- key: `legend_${me.value}`,
1235
- legendSet: Xe.value,
1236
- config: lt.value,
1237
- onClickMarker: u[14] || (u[14] = ({ legend: a }) => re(a.id))
1227
+ t.value.style.chart.legend.show ? (o(), O(Pt, {
1228
+ key: `legend_${$e.value}`,
1229
+ legendSet: Ae.value,
1230
+ config: ct.value,
1231
+ onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
1238
1232
  }, {
1239
1233
  item: m(({ legend: a }) => [
1240
- d("div", {
1241
- onClick: (s) => re(a.id),
1242
- style: q(`opacity:${M.value.includes(a.id) ? 0.5 : 1}`)
1243
- }, L(a.name), 13, Ol)
1234
+ c("div", {
1235
+ onClick: (s) => ie(a.id),
1236
+ style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
1237
+ }, L(a.name), 13, Pl)
1244
1238
  ]),
1245
1239
  _: 1
1246
1240
  }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1247
1241
  key: 1,
1248
- legend: Xe.value
1242
+ legend: Ae.value
1249
1243
  }, void 0, !0)
1250
1244
  ], 512),
1251
1245
  l.$slots.source ? (o(), n("div", {
1252
1246
  key: 7,
1253
1247
  ref_key: "source",
1254
- ref: be,
1248
+ ref: pe,
1255
1249
  dir: "auto"
1256
1250
  }, [
1257
1251
  x(l.$slots, "source", {}, void 0, !0)
1258
- ], 512)) : c("", !0),
1259
- ve(zt, {
1260
- show: $.value.showTooltip && j.value,
1252
+ ], 512)) : h("", !0),
1253
+ ce(i(lt), {
1254
+ show: $.value.showTooltip && ee.value,
1261
1255
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1262
1256
  color: t.value.style.chart.tooltip.color,
1263
1257
  borderRadius: t.value.style.chart.tooltip.borderRadius,
@@ -1267,32 +1261,32 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
1267
1261
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1268
1262
  position: t.value.style.chart.tooltip.position,
1269
1263
  offsetY: t.value.style.chart.tooltip.offsetY,
1270
- parent: U.value,
1271
- content: oe.value,
1272
- isFullscreen: F.value,
1264
+ parent: G.value,
1265
+ content: re.value,
1266
+ isFullscreen: I.value,
1273
1267
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
1274
1268
  }, {
1275
1269
  "tooltip-before": m(() => [
1276
- x(l.$slots, "tooltip-before", P(H({ ...ne.value })), void 0, !0)
1270
+ x(l.$slots, "tooltip-before", E(U({ ...ve.value })), void 0, !0)
1277
1271
  ]),
1278
1272
  "tooltip-after": m(() => [
1279
- x(l.$slots, "tooltip-after", P(H({ ...ne.value })), void 0, !0)
1273
+ x(l.$slots, "tooltip-after", E(U({ ...ve.value })), void 0, !0)
1280
1274
  ]),
1281
1275
  default: m(() => [
1282
- t.value.style.chart.tooltip.showShape ? (o(), n("svg", Rl, [
1283
- ve(Ie, {
1276
+ t.value.style.chart.tooltip.showShape ? (o(), n("svg", Bl, [
1277
+ ce(Ge, {
1284
1278
  plot: { x: 10, y: 10 },
1285
- shape: G.value.shape,
1286
- color: G.value.color,
1279
+ shape: j.value.shape,
1280
+ color: j.value.color,
1287
1281
  radius: 8,
1288
1282
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1289
1283
  "stroke-width": t.value.style.chart.layout.plots.outlineWidth
1290
1284
  }, null, 8, ["shape", "color", "stroke", "stroke-width"])
1291
- ])) : c("", !0)
1285
+ ])) : h("", !0)
1292
1286
  ]),
1293
1287
  _: 3
1294
1288
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1295
- J.value ? (o(), N(Yt, {
1289
+ K.value ? (o(), O(i(et), {
1296
1290
  key: 8,
1297
1291
  hideDetails: "",
1298
1292
  config: {
@@ -1309,31 +1303,31 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
1309
1303
  }
1310
1304
  }, {
1311
1305
  content: m(() => [
1312
- (o(), N(Wt, {
1313
- key: `table_${ge.value}`,
1314
- colNames: te.value.colNames,
1315
- head: te.value.head,
1316
- body: te.value.body,
1317
- config: te.value.config,
1306
+ (o(), O(i(Ze), {
1307
+ key: `table_${xe.value}`,
1308
+ colNames: ae.value.colNames,
1309
+ head: ae.value.head,
1310
+ body: ae.value.body,
1311
+ config: ae.value.config,
1318
1312
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1319
1313
  onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
1320
1314
  }, {
1321
1315
  th: m(({ th: a }) => [
1322
- rt(L(a), 1)
1316
+ pt(L(a), 1)
1323
1317
  ]),
1324
1318
  td: m(({ td: a }) => [
1325
- d("div", {
1319
+ c("div", {
1326
1320
  innerHTML: a.name || a
1327
- }, null, 8, Vl)
1321
+ }, null, 8, Fl)
1328
1322
  ]),
1329
1323
  _: 1
1330
1324
  }, 8, ["colNames", "head", "body", "config", "title"]))
1331
1325
  ]),
1332
1326
  _: 1
1333
- }, 8, ["config"])) : c("", !0)
1334
- ], 46, Vt));
1327
+ }, 8, ["config"])) : h("", !0)
1328
+ ], 46, Ft));
1335
1329
  }
1336
- }, ua = /* @__PURE__ */ Rt(Bl, [["__scopeId", "data-v-ef941a62"]]);
1330
+ }, ta = /* @__PURE__ */ Bt(Hl, [["__scopeId", "data-v-4b9d5e51"]]);
1337
1331
  export {
1338
- ua as default
1332
+ ta as default
1339
1333
  };