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