vue-data-ui 2.16.6 → 2.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,17 +1,18 @@
1
- import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as M, createVNode as Se, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as Y, Fragment as g, renderList as k, toDisplayString as z, createTextVNode as ot, nextTick as rt } from "vue";
2
- import { u as nt, c as Ae, o as ut, e as Me, g as it, b as ct, d as vt, p as G, D as ze, i as D, f as j, X as ht, l as yt, h as dt, I as ft, F as xt, E as P, t as pt, a as mt, C as q, q as bt, r as gt, x as kt } from "./index-DvIXJm6t.js";
3
- import { u as Te } from "./useNestedProp-DrYHm61t.js";
4
- import { u as wt } from "./usePrinter-CWnXbGMb.js";
5
- import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
6
- import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as St } from "./useChartAccessibility-9icAAmYg.js";
8
- import At from "./Legend-nBXoxXJH.js";
9
- import Mt from "./Title-Gi81VwUM.js";
10
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Ut = ["transform", "fill", "font-size", "text-anchor"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["cx", "cy", "fill", "r"], Qt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], al = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ol = ["cx", "cy", "r", "onMouseenter", "onClick"], rl = {
1
+ import { defineAsyncComponent as O, ref as h, shallowRef as Se, computed as f, onMounted as lt, onBeforeUnmount as at, watch as st, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as $, normalizeClass as I, renderSlot as x, createBlock as P, createCommentVNode as v, createElementVNode as T, createVNode as Ae, createSlots as ot, withCtx as m, normalizeProps as Y, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as rt, nextTick as nt } from "vue";
2
+ import { u as it, c as Me, o as ut, e as ze, g as ct, b as vt, d as ht, p as G, D as Te, i as j, f as R, X as yt, l as dt, h as ft, I as xt, F as pt, E as F, t as mt, a as gt, C as q, q as bt, r as kt, x as wt } from "./index-CobsZUkv.js";
3
+ import { u as Le } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as Ct } from "./usePrinter-DPh6U_Qk.js";
5
+ import { t as _t, u as $t } from "./useResponsive-DfdjqQps.js";
6
+ import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Mt from "./Legend-3LNqqLDg.js";
9
+ import zt from "./Title-DpERl1yr.js";
10
+ import Tt from "./img-utitT2Gd.js";
11
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"], Pt = { key: 1 }, Ft = ["id"], Xt = ["stop-color"], Yt = ["stop-color"], Dt = ["stop-color"], jt = { key: 2 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = { key: 3 }, Et = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Ut = { key: 5 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 6 }, Gt = ["transform", "fill", "font-size", "text-anchor"], qt = ["x", "y", "font-size", "fill", "font-weight"], Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["d", "stroke", "stroke-width"], Qt = ["d", "stroke", "stroke-width"], el = ["cx", "cy", "fill", "r"], tl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], ll = { key: 1 }, al = ["x", "y", "font-size", "fill", "font-weight"], sl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], ol = { key: 2 }, rl = ["x", "y", "font-size", "font-weight", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onClick"], il = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, nl = ["onClick"], ul = ["innerHTML"], il = {
15
+ }, ul = ["onClick"], cl = ["innerHTML"], vl = {
15
16
  __name: "vue-ui-history-plot",
16
17
  props: {
17
18
  config: {
@@ -28,22 +29,22 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
28
29
  }
29
30
  },
30
31
  emits: ["selectLegend", "selectDatapoint"],
31
- setup(Le, { expose: Ne, emit: Oe }) {
32
- const Ie = N(() => import("./vue-ui-accordion-D55kCO5G.js")), Pe = N(() => import("./DataTable-CHBLjKtZ.js")), Fe = N(() => import("./PackageVersion-Bg_9KCU-.js")), Xe = N(() => import("./PenAndPaper-BPTpbnay.js")), Ye = N(() => import("./vue-ui-skeleton-BAOt2neL.js")), De = N(() => import("./Tooltip-CJxVw7-T.js")), je = N(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_history_plot: Be } = nt(), y = Le, B = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), S = $e(null), F = $e(null), ne = h(null), H = h(Ae()), Z = h(!1), J = h(""), b = h([]), E = h(!1), w = h(null), R = h(!1), ue = h(null), C = f({
32
+ setup(Ne, { expose: Oe, emit: Ie }) {
33
+ const Pe = O(() => import("./vue-ui-accordion-UewqY6OI.js")), Fe = O(() => import("./DataTable-Dt-TIOyY.js")), Xe = O(() => import("./PackageVersion-C-4Ee8BQ.js")), Ye = O(() => import("./PenAndPaper-Cde-wJ3N.js")), De = O(() => import("./vue-ui-skeleton-8s4xts8z.js")), je = O(() => import("./Tooltip-DA0bYKFG.js")), Re = O(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_history_plot: Be } = it(), y = Ne, A = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), M = Se(null), X = Se(null), ne = h(null), B = h(Me()), Z = h(!1), J = h(""), g = h([]), H = h(!1), w = h(null), E = h(!1), ie = h(null), C = f({
33
34
  get: () => !!y.dataset && y.dataset.length,
34
35
  set: (t) => t
35
- }), ie = Oe;
36
- tt(ce);
36
+ }), ue = Ie;
37
+ lt(ce);
37
38
  function ce() {
38
- if (ut(y.dataset) ? Me({
39
+ if (ut(y.dataset) ? ze({
39
40
  componentName: "VueUiHistoryPlot",
40
41
  type: "dataset"
41
42
  }) : y.dataset.forEach((t, a) => {
42
- it({
43
+ ct({
43
44
  datasetObject: t,
44
45
  requiredAttributes: ["name", "values"]
45
46
  }).forEach((l) => {
46
- C.value = !1, Me({
47
+ C.value = !1, ze({
47
48
  componentName: "VueUiHistoryPlot",
48
49
  type: "datasetSerieAttribute",
49
50
  property: l,
@@ -51,52 +52,52 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
51
52
  });
52
53
  });
53
54
  }), e.value.responsive) {
54
- const t = Ct(() => {
55
- const { width: a, height: l } = _t({
56
- chart: B.value,
55
+ const t = _t(() => {
56
+ const { width: a, height: l } = $t({
57
+ chart: A.value,
57
58
  title: e.value.style.chart.title.text ? te.value : null,
58
59
  noTitle: ne.value,
59
60
  legend: e.value.style.chart.legend.show ? ae.value : null,
60
- source: ue.value
61
+ source: ie.value
61
62
  });
62
63
  requestAnimationFrame(() => {
63
- d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = P({
64
+ d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = F({
64
65
  relator: Math.min(a, l),
65
66
  adjuster: 600,
66
67
  source: e.value.style.chart.plots.radius,
67
68
  threshold: 3,
68
69
  fallback: 3
69
- }), n.value.indexLabels = P({
70
+ }), n.value.indexLabels = F({
70
71
  relator: Math.min(a, l),
71
72
  adjuster: 600,
72
73
  source: e.value.style.chart.plots.indexLabels.fontSize,
73
74
  threshold: 6,
74
75
  fallback: 6
75
- }), n.value.labels = P({
76
+ }), n.value.labels = F({
76
77
  relator: Math.min(a, l),
77
78
  adjuster: 600,
78
79
  source: e.value.style.chart.plots.labels.fontSize,
79
80
  threshold: 6,
80
81
  fallback: 6
81
- }), n.value.xAxisLabels = P({
82
+ }), n.value.xAxisLabels = F({
82
83
  relator: Math.min(a, l),
83
84
  adjuster: 600,
84
85
  source: e.value.style.chart.axes.x.labels.fontSize,
85
86
  threshold: 6,
86
87
  fallback: 6
87
- }), n.value.xAxisName = P({
88
+ }), n.value.xAxisName = F({
88
89
  relator: Math.min(a, l),
89
90
  adjuster: 600,
90
91
  source: e.value.style.chart.axes.x.name.fontSize,
91
92
  threshold: 6,
92
93
  fallback: 6
93
- }), n.value.yAxisLabels = P({
94
+ }), n.value.yAxisLabels = F({
94
95
  relator: Math.min(a, l),
95
96
  adjuster: 600,
96
97
  source: e.value.style.chart.axes.y.labels.fontSize,
97
98
  threshold: 6,
98
99
  fallback: 6
99
- }), n.value.yAxisName = P({
100
+ }), n.value.yAxisName = F({
100
101
  relator: Math.min(a, l),
101
102
  adjuster: 600,
102
103
  source: e.value.style.chart.axes.y.name.fontSize,
@@ -105,44 +106,44 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
105
106
  })) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
106
107
  });
107
108
  });
108
- S.value && (F.value && S.value.unobserve(F.value), S.value.disconnect()), S.value = new ResizeObserver(t), F.value = B.value.parentNode, S.value.observe(F.value);
109
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = A.value.parentNode, M.value.observe(X.value);
109
110
  }
110
111
  }
111
- lt(() => {
112
- S.value && (F.value && S.value.unobserve(F.value), S.value.disconnect());
112
+ at(() => {
113
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
113
114
  });
114
115
  function ve() {
115
- const t = Te({
116
+ const t = Le({
116
117
  userConfig: y.config,
117
118
  defaultConfig: Be
118
119
  });
119
120
  let a = {};
120
121
  return t.theme ? a = {
121
- ...Te({
122
- userConfig: mt.vue_ui_history_plot[t.theme] || y.config,
122
+ ...Le({
123
+ userConfig: gt.vue_ui_history_plot[t.theme] || y.config,
123
124
  defaultConfig: t
124
125
  }),
125
- customPalette: pt[t.theme] || G
126
+ customPalette: mt[t.theme] || G
126
127
  } : a = t, y.config && q(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && q(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && q(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && q(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
127
128
  }
128
129
  const e = f({
129
130
  get: () => ve(),
130
131
  set: (t) => t
131
- }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = $t({ config: e.value }), { svgRef: de } = St({ config: e.value.style.chart.title });
132
- at(() => y.config, (t) => {
132
+ }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = St({ config: e.value }), { svgRef: de } = At({ config: e.value.style.chart.title });
133
+ st(() => y.config, (t) => {
133
134
  e.value = ve(), K.value = !e.value.userOptions.showOnChartHover, ce(), le.value += 1, oe.value += 1, se.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.chart.tooltip.show;
134
135
  }, { deep: !0 });
135
- const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = wt({
136
- elementId: `history_plot_${H.value}`,
136
+ const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = Ct({
137
+ elementId: `history_plot_${B.value}`,
137
138
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
138
139
  options: e.value.userOptions.print
139
- }), He = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = f(() => ct(e.value.customPalette)), _ = h({
140
+ }), Ee = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), He = f(() => vt(e.value.customPalette)), _ = h({
140
141
  showTable: e.value.table.show,
141
142
  showTooltip: e.value.style.chart.tooltip.show
142
143
  }), d = h({
143
144
  height: e.value.style.chart.height,
144
145
  width: e.value.style.chart.width
145
- }), u = f(() => {
146
+ }), i = f(() => {
146
147
  const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top;
147
148
  return {
148
149
  left: t,
@@ -160,63 +161,63 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
160
161
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
161
162
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
162
163
  yAxisName: e.value.style.chart.axes.y.name.fontSize
163
- }), A = f(() => C.value ? y.dataset.map((t, a) => ({
164
+ }), z = f(() => C.value ? y.dataset.map((t, a) => ({
164
165
  ...t,
165
- color: t.color ? vt(t.color) : Re.value[a] || G[a] || G[a % G.length],
166
+ color: t.color ? ht(t.color) : He.value[a] || G[a] || G[a % G.length],
166
167
  seriesIndex: a
167
- })) : []), Ee = f(() => C.value ? Math.max(...A.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
168
+ })) : []), Ue = f(() => C.value ? Math.max(...z.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
168
169
  if (!C.value) return 1;
169
- const t = Math.min(...A.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
+ const t = Math.min(...z.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
171
  return t < 0 ? t : 0;
171
- }), Ue = f(() => C.value ? Math.max(...A.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ve = f(() => {
172
+ }), Ve = f(() => C.value ? Math.max(...z.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
172
173
  if (!C.value) return 1;
173
- const t = Math.min(...A.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
+ const t = Math.min(...z.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
175
  return t < 0 ? t : 0;
175
176
  }), p = f(() => {
176
- const t = ze(
177
+ const t = Te(
177
178
  e.value.style.chart.axes.x.scaleMin === null ? We.value : e.value.style.chart.axes.x.scaleMin,
178
- e.value.style.chart.axes.x.scaleMax === null ? Ee.value : e.value.style.chart.axes.x.scaleMax,
179
+ e.value.style.chart.axes.x.scaleMax === null ? Ue.value : e.value.style.chart.axes.x.scaleMax,
179
180
  e.value.style.chart.axes.x.ticks
180
- ), a = ze(
181
- e.value.style.chart.axes.y.scaleMin === null ? Ve.value : e.value.style.chart.axes.y.scaleMin,
182
- e.value.style.chart.axes.y.scaleMax === null ? Ue.value : e.value.style.chart.axes.y.scaleMax,
181
+ ), a = Te(
182
+ e.value.style.chart.axes.y.scaleMin === null ? Ge.value : e.value.style.chart.axes.y.scaleMin,
183
+ e.value.style.chart.axes.y.scaleMax === null ? Ve.value : e.value.style.chart.axes.y.scaleMax,
183
184
  e.value.style.chart.axes.y.ticks
184
185
  );
185
186
  return {
186
187
  x: t,
187
188
  y: a,
188
189
  tickX: t.ticks.map((l) => ({
189
- x: u.value.left + (l - t.min) / (t.max - t.min) * u.value.width,
190
- y1: u.value.top,
191
- y2: u.value.bottom,
190
+ x: i.value.left + (l - t.min) / (t.max - t.min) * i.value.width,
191
+ y1: i.value.top,
192
+ y2: i.value.bottom,
192
193
  value: l
193
194
  })),
194
195
  tickY: a.ticks.map((l) => ({
195
- y: u.value.bottom - (l - a.min) / (a.max - a.min) * u.value.height,
196
- x1: u.value.left,
197
- x2: u.value.right,
196
+ y: i.value.bottom - (l - a.min) / (a.max - a.min) * i.value.height,
197
+ x1: i.value.left,
198
+ x2: i.value.right,
198
199
  value: l
199
200
  }))
200
201
  };
201
202
  });
202
- function Ge(t) {
203
+ function qe(t) {
203
204
  const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
204
- return u.value.left + ((t || 0) + a) / (p.value.x.max + a) * u.value.width;
205
+ return i.value.left + ((t || 0) + a) / (p.value.x.max + a) * i.value.width;
205
206
  }
206
- function qe(t) {
207
+ function Ze(t) {
207
208
  const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
208
- return u.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * u.value.height;
209
+ return i.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * i.value.height;
209
210
  }
210
- const T = f(() => A.value.filter((t) => !b.value.includes(t.seriesIndex)).map((t, a) => {
211
- const l = t.values.map((s, L) => ({
211
+ const N = f(() => z.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
212
+ const l = t.values.map((s, S) => ({
212
213
  valueX: s.x,
213
214
  valueY: s.y,
214
215
  label: s.label,
215
- x: Ge(s.x),
216
- y: qe(s.y),
216
+ x: qe(s.x),
217
+ y: Ze(s.y),
217
218
  color: t.color,
218
219
  seriesName: t.name,
219
- id: Ae()
220
+ id: Me()
220
221
  })), c = l.map((s) => `${s.x},${s.y} `).join("").trim();
221
222
  return {
222
223
  ...t,
@@ -224,16 +225,16 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
224
225
  path: `M${c}`
225
226
  };
226
227
  }));
227
- function be(t) {
228
- b.value.includes(t) ? b.value = b.value.filter((a) => a !== t) : b.value.push(t);
228
+ function ge(t) {
229
+ g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
229
230
  }
230
- const ge = f(() => A.value.map((t) => ({
231
+ const be = f(() => z.value.map((t) => ({
231
232
  ...t,
232
- opacity: b.value.includes(t.seriesIndex) ? 0.5 : 1,
233
- segregate: () => be(t.seriesIndex),
234
- isSegregated: b.value.includes(t.seriesIndex),
233
+ opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
234
+ segregate: () => ge(t.seriesIndex),
235
+ isSegregated: g.value.includes(t.seriesIndex),
235
236
  shape: "circle"
236
- }))), Ze = f(() => ({
237
+ }))), Je = f(() => ({
237
238
  cy: "history-plot-div-legend",
238
239
  backgroundColor: e.value.style.chart.legend.backgroundColor,
239
240
  color: e.value.style.chart.legend.color,
@@ -241,51 +242,51 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
241
242
  paddingBottom: 12,
242
243
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
243
244
  }));
244
- function Je(t) {
245
- ie("selectDatapoint", t);
245
+ function Ke(t) {
246
+ ue("selectDatapoint", t);
246
247
  }
247
248
  function ke(t) {
248
- ie("selectLegend", {
249
+ ue("selectLegend", {
249
250
  ...t,
250
251
  isSegregated: !t.isSegregated,
251
252
  opacity: t.isSegregated ? 1 : 0.5
252
253
  });
253
254
  }
254
- function Ke(t) {
255
- E.value = t, re.value += 1;
255
+ function we(t) {
256
+ H.value = t, re.value += 1;
256
257
  }
257
258
  const Q = h(null);
258
259
  function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
- Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, w.value = t;
260
+ Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: z.value }, w.value = t;
260
261
  const c = e.value.style.chart.tooltip.customFormat;
261
- if (R.value = !1, kt(c))
262
+ if (E.value = !1, wt(c))
262
263
  try {
263
264
  const s = c({
264
265
  seriesIndex: l,
265
266
  datapoint: t,
266
267
  plotIndex: a,
267
- series: A.value,
268
+ series: z.value,
268
269
  config: e.value
269
270
  });
270
- typeof s == "string" && (J.value = s, R.value = !0);
271
+ typeof s == "string" && (J.value = s, E.value = !0);
271
272
  } catch {
272
- console.warn("Custom format cannot be applied."), R.value = !1;
273
+ console.warn("Custom format cannot be applied."), E.value = !1;
273
274
  }
274
- if (!R.value) {
275
+ if (!E.value) {
275
276
  let s = "";
276
- s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${D(
277
+ s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${j(
277
278
  e.value.style.chart.axes.x.labels.formatter,
278
279
  t.valueX,
279
- j({
280
+ R({
280
281
  p: e.value.style.chart.axes.x.labels.prefix,
281
282
  v: t.valueX,
282
283
  s: e.value.style.chart.axes.x.labels.suffix,
283
284
  r: e.value.style.chart.axes.x.labels.rounding
284
285
  })
285
- )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${D(
286
+ )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${j(
286
287
  e.value.style.chart.axes.y.labels.formatter,
287
288
  t.valueY,
288
- j({
289
+ R({
289
290
  p: e.value.style.chart.axes.y.labels.prefix,
290
291
  v: t.valueY,
291
292
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -295,36 +296,36 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
295
296
  }
296
297
  Z.value = !0;
297
298
  }
298
- f(() => ({ head: T.value.map((a) => ({
299
+ f(() => ({ head: N.value.map((a) => ({
299
300
  name: a.name,
300
301
  color: a.color
301
302
  })) }));
302
- const W = f(() => {
303
+ const U = f(() => {
303
304
  const t = [
304
305
  e.value.table.columnNames.series,
305
306
  e.value.table.columnNames.datapoint,
306
307
  e.value.table.columnNames.x,
307
308
  e.value.table.columnNames.y
308
- ], a = T.value.flatMap((c) => c.plots.map((s) => [
309
+ ], a = N.value.flatMap((c) => c.plots.map((s) => [
309
310
  {
310
311
  color: s.color,
311
312
  name: s.seriesName
312
313
  },
313
314
  s.label,
314
- D(
315
+ j(
315
316
  e.value.style.chart.axes.x.labels.formatter,
316
317
  s.valueX,
317
- j({
318
+ R({
318
319
  p: e.value.style.chart.axes.x.labels.prefix,
319
320
  v: s.valueX,
320
321
  s: e.value.style.chart.axes.x.labels.suffix,
321
322
  r: e.value.style.chart.axes.x.labels.rounding
322
323
  })
323
324
  ),
324
- D(
325
+ j(
325
326
  e.value.style.chart.axes.y.labels.formatter,
326
327
  s.valueY,
327
- j({
328
+ R({
328
329
  p: e.value.style.chart.axes.y.labels.prefix,
329
330
  v: s.valueY,
330
331
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -351,14 +352,14 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
351
352
  colNames: t
352
353
  };
353
354
  });
354
- function we(t = null) {
355
- rt(() => {
355
+ function Ce(t = null) {
356
+ nt(() => {
356
357
  const a = [
357
358
  [e.value.table.columnNames.series],
358
359
  [e.value.table.columnNames.datapoint],
359
360
  [e.value.table.columnNames.x],
360
361
  [e.value.table.columnNames.y]
361
- ], l = T.value.flatMap((L) => L.plots.map((V) => [
362
+ ], l = N.value.flatMap((S) => S.plots.map((V) => [
362
363
  [V.seriesName],
363
364
  [V.label],
364
365
  [V.valueX],
@@ -368,52 +369,66 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
368
369
  [e.value.style.chart.title.subtitle.text],
369
370
  a
370
371
  ].concat(l), s = bt(c);
371
- t ? t(s) : gt({
372
+ t ? t(s) : kt({
372
373
  csvContent: s,
373
374
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
374
375
  });
375
376
  });
376
377
  }
377
- const U = h(!1);
378
+ const W = h(!1);
378
379
  function ee() {
379
- U.value = !U.value;
380
+ W.value = !W.value;
380
381
  }
381
- function Ce() {
382
+ function _e() {
382
383
  _.value.showTable = !_.value.showTable;
383
384
  }
384
- function _e() {
385
+ function $e() {
385
386
  _.value.showTooltip = !_.value.showTooltip;
386
387
  }
387
388
  function et() {
388
- return T.value;
389
+ return N.value;
390
+ }
391
+ async function tt({ scale: t = 2 } = {}) {
392
+ if (!A.value) return;
393
+ const { width: a, height: l } = A.value.getBoundingClientRect(), c = a / l, { imageUri: s, base64: S } = await Tt({ domElement: A.value, base64: !0, img: !0, scale: t });
394
+ return {
395
+ imageUri: s,
396
+ base64: S,
397
+ title: e.value.style.chart.title.text,
398
+ width: a,
399
+ height: l,
400
+ aspectRatio: c
401
+ };
389
402
  }
390
- return Ne({
403
+ return Oe({
391
404
  getData: et,
405
+ getImage: tt,
392
406
  generatePdf: pe,
393
- generateCsv: we,
407
+ generateCsv: Ce,
394
408
  generateImage: me,
395
- toggleTable: Ce,
396
- toggleTooltip: _e,
397
- toggleAnnotator: ee
409
+ toggleTable: _e,
410
+ toggleTooltip: $e,
411
+ toggleAnnotator: ee,
412
+ toggleFullscreen: we
398
413
  }), (t, a) => (o(), r("div", {
399
- id: `history_plot_${H.value}`,
414
+ id: `history_plot_${B.value}`,
400
415
  ref_key: "historyPlotChart",
401
- ref: B,
402
- class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
416
+ ref: A,
417
+ class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
403
418
  style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
404
- onMouseenter: a[3] || (a[3] = () => i(he)(!0)),
405
- onMouseleave: a[4] || (a[4] = () => i(he)(!1))
419
+ onMouseenter: a[3] || (a[3] = () => u(he)(!0)),
420
+ onMouseleave: a[4] || (a[4] = () => u(he)(!1))
406
421
  }, [
407
422
  x(t.$slots, "userConfig", {}, void 0, !0),
408
- e.value.userOptions.buttons.annotator ? (o(), I(i(Xe), {
423
+ e.value.userOptions.buttons.annotator ? (o(), P(u(Ye), {
409
424
  key: 0,
410
- svgRef: i(de),
425
+ svgRef: u(de),
411
426
  backgroundColor: e.value.style.chart.backgroundColor,
412
427
  color: e.value.style.chart.color,
413
- active: U.value,
428
+ active: W.value,
414
429
  onClose: ee
415
430
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
416
- He.value ? (o(), r("div", {
431
+ Ee.value ? (o(), r("div", {
417
432
  key: 1,
418
433
  ref_key: "noTitle",
419
434
  ref: ne,
@@ -427,7 +442,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
427
442
  class: "vue-ui-xy-title",
428
443
  style: $(`font-family:${e.value.style.fontFamily}`)
429
444
  }, [
430
- (o(), I(Mt, {
445
+ (o(), P(zt, {
431
446
  key: `title_${le.value}`,
432
447
  config: {
433
448
  title: {
@@ -441,14 +456,14 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
441
456
  }
442
457
  }, null, 8, ["config"]))
443
458
  ], 4)) : v("", !0),
444
- e.value.userOptions.show && C.value && (i(ye) || i(K)) ? (o(), I(i(je), {
459
+ e.value.userOptions.show && C.value && (u(ye) || u(K)) ? (o(), P(u(Re), {
445
460
  ref: "details",
446
461
  key: `user_option_${re.value}`,
447
462
  backgroundColor: e.value.style.chart.backgroundColor,
448
463
  color: e.value.style.chart.color,
449
- isPrinting: i(fe),
450
- isImaging: i(xe),
451
- uid: H.value,
464
+ isPrinting: u(fe),
465
+ isImaging: u(xe),
466
+ uid: B.value,
452
467
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
453
468
  hasPdf: e.value.userOptions.buttons.pdf,
454
469
  hasImg: e.value.userOptions.buttons.img,
@@ -456,30 +471,30 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
456
471
  hasTable: e.value.userOptions.buttons.table,
457
472
  hasLabel: !1,
458
473
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
459
- isFullscreen: E.value,
460
- chartElement: B.value,
474
+ isFullscreen: H.value,
475
+ chartElement: A.value,
461
476
  position: e.value.userOptions.position,
462
477
  isTooltip: _.value.showTooltip,
463
478
  titles: { ...e.value.userOptions.buttonTitles },
464
479
  hasAnnotator: e.value.userOptions.buttons.annotator,
465
- isAnnotation: U.value,
480
+ isAnnotation: W.value,
466
481
  callbacks: e.value.userOptions.callbacks,
467
482
  printScale: e.value.userOptions.print.scale,
468
- onToggleFullscreen: Ke,
469
- onGeneratePdf: i(pe),
470
- onGenerateCsv: we,
471
- onGenerateImage: i(me),
472
- onToggleTable: Ce,
473
- onToggleTooltip: _e,
483
+ onToggleFullscreen: we,
484
+ onGeneratePdf: u(pe),
485
+ onGenerateCsv: Ce,
486
+ onGenerateImage: u(me),
487
+ onToggleTable: _e,
488
+ onToggleTooltip: $e,
474
489
  onToggleAnnotator: ee,
475
490
  style: $({
476
- visibility: i(ye) ? i(K) ? "visible" : "hidden" : "visible"
491
+ visibility: u(ye) ? u(K) ? "visible" : "hidden" : "visible"
477
492
  })
478
- }, st({ _: 2 }, [
493
+ }, ot({ _: 2 }, [
479
494
  t.$slots.menuIcon ? {
480
495
  name: "menuIcon",
481
496
  fn: m(({ isOpen: l, color: c }) => [
482
- x(t.$slots, "menuIcon", X(Y({ isOpen: l, color: c })), void 0, !0)
497
+ x(t.$slots, "menuIcon", Y(D({ isOpen: l, color: c })), void 0, !0)
483
498
  ]),
484
499
  key: "0"
485
500
  } : void 0,
@@ -521,14 +536,14 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
521
536
  t.$slots.optionFullscreen ? {
522
537
  name: "optionFullscreen",
523
538
  fn: m(({ toggleFullscreen: l, isFullscreen: c }) => [
524
- x(t.$slots, "optionFullscreen", X(Y({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
539
+ x(t.$slots, "optionFullscreen", Y(D({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
525
540
  ]),
526
541
  key: "6"
527
542
  } : void 0,
528
543
  t.$slots.optionAnnotator ? {
529
544
  name: "optionAnnotator",
530
545
  fn: m(({ toggleAnnotator: l, isAnnotator: c }) => [
531
- x(t.$slots, "optionAnnotator", X(Y({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
546
+ x(t.$slots, "optionAnnotator", Y(D({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
532
547
  ]),
533
548
  key: "7"
534
549
  } : void 0
@@ -537,44 +552,44 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
537
552
  key: 4,
538
553
  ref_key: "svgRef",
539
554
  ref: de,
540
- xmlns: i(ht),
555
+ xmlns: u(yt),
541
556
  viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
542
557
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
543
558
  }, [
544
- Se(i(Fe)),
559
+ Ae(u(Xe)),
545
560
  t.$slots["chart-background"] ? (o(), r("foreignObject", {
546
561
  key: 0,
547
- x: u.value.left,
548
- y: u.value.top,
549
- width: u.value.width <= 0 ? 10 : u.value.width,
550
- height: u.value.height <= 0 ? 10 : u.value.height,
562
+ x: i.value.left,
563
+ y: i.value.top,
564
+ width: i.value.width <= 0 ? 10 : i.value.width,
565
+ height: i.value.height <= 0 ? 10 : i.value.height,
551
566
  style: {
552
567
  pointerEvents: "none"
553
568
  }
554
569
  }, [
555
570
  x(t.$slots, "chart-background", {}, void 0, !0)
556
- ], 8, Nt)) : v("", !0),
557
- e.value.style.chart.plots.gradient.show ? (o(), r("defs", Ot, [
558
- (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("radialGradient", {
559
- id: `gradient_${c}_${H.value}`,
571
+ ], 8, It)) : v("", !0),
572
+ e.value.style.chart.plots.gradient.show ? (o(), r("defs", Pt, [
573
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("radialGradient", {
574
+ id: `gradient_${c}_${B.value}`,
560
575
  fy: "30%"
561
576
  }, [
562
- M("stop", {
577
+ T("stop", {
563
578
  offset: "10%",
564
- "stop-color": i(yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
565
- }, null, 8, Pt),
566
- M("stop", {
579
+ "stop-color": u(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
580
+ }, null, 8, Xt),
581
+ T("stop", {
567
582
  offset: "90%",
568
- "stop-color": i(dt)(l.color, 0.1)
569
- }, null, 8, Ft),
570
- M("stop", {
583
+ "stop-color": u(ft)(l.color, 0.1)
584
+ }, null, 8, Yt),
585
+ T("stop", {
571
586
  offset: "100%",
572
587
  "stop-color": l.color
573
- }, null, 8, Xt)
574
- ], 8, It))), 256))
588
+ }, null, 8, Dt)
589
+ ], 8, Ft))), 256))
575
590
  ])) : v("", !0),
576
- e.value.style.chart.grid.verticalLines.show ? (o(), r("g", Yt, [
577
- (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("line", {
591
+ e.value.style.chart.grid.verticalLines.show ? (o(), r("g", jt, [
592
+ (o(!0), r(b, null, k(p.value.tickX, (l) => (o(), r("line", {
578
593
  x1: l.x,
579
594
  x2: l.x,
580
595
  y1: l.y1,
@@ -582,25 +597,25 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
582
597
  stroke: e.value.style.chart.grid.verticalLines.stroke,
583
598
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
584
599
  "stroke-linecap": "round"
585
- }, null, 8, Dt))), 256))
600
+ }, null, 8, Rt))), 256))
586
601
  ])) : v("", !0),
587
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", jt, [
588
- (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("text", {
589
- x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
602
+ e.value.style.chart.axes.y.labels.show ? (o(), r("g", Bt, [
603
+ (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("text", {
604
+ x: i.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
590
605
  y: l.y + n.value.yAxisLabels / 3,
591
606
  fill: e.value.style.chart.axes.y.labels.color,
592
607
  "font-size": n.value.yAxisLabels,
593
608
  "text-anchor": "end"
594
- }, z(i(D)(
609
+ }, L(u(j)(
595
610
  e.value.style.chart.axes.y.labels.formatter,
596
611
  l.value,
597
- i(j)({
612
+ u(R)({
598
613
  p: e.value.style.chart.axes.y.labels.prefix,
599
614
  v: l.value,
600
615
  s: e.value.style.chart.axes.y.labels.suffix,
601
616
  r: e.value.style.chart.axes.y.labels.rounding
602
617
  })
603
- )), 9, Bt))), 256))
618
+ )), 9, Et))), 256))
604
619
  ])) : v("", !0),
605
620
  e.value.style.chart.axes.y.name.text ? (o(), r("text", {
606
621
  key: 4,
@@ -609,9 +624,9 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
609
624
  fill: e.value.style.chart.axes.y.name.color,
610
625
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
611
626
  "text-anchor": "middle"
612
- }, z(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
613
- e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Rt, [
614
- (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("line", {
627
+ }, L(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
628
+ e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Ut, [
629
+ (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("line", {
615
630
  x1: l.x1,
616
631
  x2: l.x2,
617
632
  y1: l.y,
@@ -619,24 +634,24 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
619
634
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
620
635
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
621
636
  "stroke-linecap": "round"
622
- }, null, 8, Et))), 256))
637
+ }, null, 8, Wt))), 256))
623
638
  ])) : v("", !0),
624
- e.value.style.chart.axes.x.labels.show ? (o(), r("g", Wt, [
625
- (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("text", {
626
- transform: `translate(${l.x}, ${u.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
639
+ e.value.style.chart.axes.x.labels.show ? (o(), r("g", Vt, [
640
+ (o(!0), r(b, null, k(p.value.tickX, (l) => (o(), r("text", {
641
+ transform: `translate(${l.x}, ${i.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
627
642
  fill: e.value.style.chart.axes.x.labels.color,
628
643
  "font-size": n.value.xAxisLabels,
629
644
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
630
- }, z(i(D)(
645
+ }, L(u(j)(
631
646
  e.value.style.chart.axes.x.labels.formatter,
632
647
  l.value,
633
- i(j)({
648
+ u(R)({
634
649
  p: e.value.style.chart.axes.x.labels.prefix,
635
650
  v: l.value,
636
651
  s: e.value.style.chart.axes.x.labels.suffix,
637
652
  r: e.value.style.chart.axes.x.labels.rounding
638
653
  })
639
- )), 9, Ut))), 256))
654
+ )), 9, Gt))), 256))
640
655
  ])) : v("", !0),
641
656
  e.value.style.chart.axes.x.name.text ? (o(), r("text", {
642
657
  key: 7,
@@ -646,75 +661,75 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
646
661
  fill: e.value.style.chart.axes.x.name.color,
647
662
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
648
663
  "text-anchor": "middle"
649
- }, z(e.value.style.chart.axes.x.name.text), 9, Vt)) : v("", !0),
664
+ }, L(e.value.style.chart.axes.x.name.text), 9, qt)) : v("", !0),
650
665
  e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
651
666
  key: 8,
652
- x1: u.value.left,
653
- x2: u.value.left + u.value.width,
654
- y1: u.value.bottom,
655
- y2: u.value.bottom,
667
+ x1: i.value.left,
668
+ x2: i.value.left + i.value.width,
669
+ y1: i.value.bottom,
670
+ y2: i.value.bottom,
656
671
  stroke: e.value.style.chart.grid.xAxis.stroke,
657
672
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
658
673
  "stroke-linecap": "round"
659
- }, null, 8, Gt)) : v("", !0),
674
+ }, null, 8, Zt)) : v("", !0),
660
675
  e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
661
676
  key: 9,
662
- x1: u.value.left,
663
- x2: u.value.left,
664
- y1: u.value.top,
665
- y2: u.value.bottom,
677
+ x1: i.value.left,
678
+ x2: i.value.left,
679
+ y1: i.value.top,
680
+ y2: i.value.bottom,
666
681
  stroke: e.value.style.chart.grid.yAxis.stroke,
667
682
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
668
683
  "stroke-linecap": "round"
669
- }, null, 8, qt)) : v("", !0),
670
- (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("g", null, [
684
+ }, null, 8, Jt)) : v("", !0),
685
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("g", null, [
671
686
  e.value.style.chart.paths.show ? (o(), r("g", {
672
687
  key: 0,
673
688
  style: $({
674
689
  opacity: w.value === null ? 1 : 0.3
675
690
  })
676
691
  }, [
677
- M("path", {
692
+ T("path", {
678
693
  d: l.path,
679
694
  stroke: e.value.style.chart.backgroundColor,
680
695
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
681
696
  fill: "none",
682
697
  "stroke-linecap": "round",
683
698
  "stroke-linejoin": "round",
684
- class: O({ animated: e.value.useCssAnimation })
685
- }, null, 10, Zt),
686
- M("path", {
699
+ class: I({ animated: e.value.useCssAnimation })
700
+ }, null, 10, Kt),
701
+ T("path", {
687
702
  d: l.path,
688
703
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
689
704
  "stroke-width": e.value.style.chart.paths.strokeWidth,
690
705
  fill: "none",
691
706
  "stroke-linecap": "round",
692
707
  "stroke-linejoin": "round",
693
- class: O({ animated: e.value.useCssAnimation })
694
- }, null, 10, Jt)
708
+ class: I({ animated: e.value.useCssAnimation })
709
+ }, null, 10, Qt)
695
710
  ], 4)) : v("", !0),
696
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
711
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("circle", {
697
712
  cx: s.x,
698
713
  cy: s.y,
699
714
  fill: e.value.style.chart.backgroundColor,
700
715
  r: n.value.plots,
701
716
  stroke: "none"
702
- }, null, 8, Kt))), 256)),
703
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
717
+ }, null, 8, el))), 256)),
718
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("circle", {
704
719
  cx: s.x,
705
720
  cy: s.y,
706
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${H.value})` : s.color,
721
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : s.color,
707
722
  r: n.value.plots,
708
723
  stroke: e.value.style.chart.plots.stroke,
709
724
  "stroke-width": e.value.style.chart.plots.strokeWidth,
710
- class: O({ animated: e.value.useCssAnimation }),
725
+ class: I({ animated: e.value.useCssAnimation }),
711
726
  style: $({
712
727
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
713
728
  transition: "opacity 0.2s ease-in-out"
714
729
  })
715
- }, null, 14, Qt))), 256)),
716
- e.value.style.chart.plots.labels.show ? (o(), r("g", el, [
717
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("g", null, [
730
+ }, null, 14, tl))), 256)),
731
+ e.value.style.chart.plots.labels.show ? (o(), r("g", ll, [
732
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("g", null, [
718
733
  String(s.label).includes(`
719
734
  `) ? (o(), r("text", {
720
735
  key: 1,
@@ -724,19 +739,19 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
724
739
  fill: e.value.style.chart.plots.labels.color,
725
740
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
726
741
  "text-anchor": "middle",
727
- class: O({ animated: e.value.useCssAnimation }),
742
+ class: I({ animated: e.value.useCssAnimation }),
728
743
  style: $({
729
744
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
730
745
  transition: "opacity 0.2s ease-in-out"
731
746
  }),
732
- innerHTML: i(ft)({
747
+ innerHTML: u(xt)({
733
748
  content: String(s.label),
734
749
  fontSize: n.value.labels,
735
750
  fill: e.value.style.chart.plots.labels.color,
736
751
  x: s.x + e.value.style.chart.plots.labels.offsetX,
737
752
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
738
753
  })
739
- }, null, 14, ll)) : (o(), r("text", {
754
+ }, null, 14, sl)) : (o(), r("text", {
740
755
  key: 0,
741
756
  x: s.x + e.value.style.chart.plots.labels.offsetX,
742
757
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
@@ -744,54 +759,54 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
744
759
  fill: e.value.style.chart.plots.labels.color,
745
760
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
746
761
  "text-anchor": "middle",
747
- class: O({ animated: e.value.useCssAnimation }),
762
+ class: I({ animated: e.value.useCssAnimation }),
748
763
  style: $({
749
764
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
750
765
  transition: "opacity 0.2s ease-in-out"
751
766
  })
752
- }, z(s.label), 15, tl))
767
+ }, L(s.label), 15, al))
753
768
  ]))), 256))
754
769
  ])) : v("", !0),
755
- e.value.style.chart.plots.indexLabels.show ? (o(), r("g", al, [
756
- (o(!0), r(g, null, k(l.plots, (s, L) => (o(), r("text", {
770
+ e.value.style.chart.plots.indexLabels.show ? (o(), r("g", ol, [
771
+ (o(!0), r(b, null, k(l.plots, (s, S) => (o(), r("text", {
757
772
  x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
758
773
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
759
774
  "font-size": n.value.indexLabels,
760
775
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
761
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(xt)(l.color) : e.value.style.chart.plots.indexLabels.color,
776
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(pt)(l.color) : e.value.style.chart.plots.indexLabels.color,
762
777
  "text-anchor": "middle",
763
- class: O({ animated: e.value.useCssAnimation }),
778
+ class: I({ animated: e.value.useCssAnimation }),
764
779
  style: $({
765
780
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
766
781
  transition: "opacity 0.2s ease-in-out"
767
782
  })
768
- }, z(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, sl))), 256))
783
+ }, L(e.value.style.chart.plots.indexLabels.startAtZero ? S : S + 1), 15, rl))), 256))
769
784
  ])) : v("", !0)
770
785
  ]))), 256)),
771
- (o(!0), r(g, null, k(T.value, (l) => (o(), r("g", null, [
772
- (o(!0), r(g, null, k(l.plots, (c, s) => (o(), r("circle", {
786
+ (o(!0), r(b, null, k(N.value, (l) => (o(), r("g", null, [
787
+ (o(!0), r(b, null, k(l.plots, (c, s) => (o(), r("circle", {
773
788
  cx: c.x,
774
789
  cy: c.y,
775
790
  fill: "transparent",
776
791
  r: n.value.plots,
777
792
  stroke: "none",
778
- onMouseenter: (L) => Qe({
793
+ onMouseenter: (S) => Qe({
779
794
  datapoint: c,
780
795
  plotIndex: s,
781
796
  seriesIndex: l.seriesIndex
782
797
  }),
783
- onMouseleave: a[0] || (a[0] = (L) => {
798
+ onMouseleave: a[0] || (a[0] = (S) => {
784
799
  Z.value = !1, w.value = null;
785
800
  }),
786
- onClick: () => Je(c)
787
- }, null, 40, ol))), 256))
801
+ onClick: () => Ke(c)
802
+ }, null, 40, nl))), 256))
788
803
  ]))), 256)),
789
804
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
790
- ], 12, Lt)) : v("", !0),
791
- t.$slots.watermark ? (o(), r("div", rl, [
792
- x(t.$slots, "watermark", X(Y({ isPrinting: i(fe) || i(xe) })), void 0, !0)
805
+ ], 12, Ot)) : v("", !0),
806
+ t.$slots.watermark ? (o(), r("div", il, [
807
+ x(t.$slots, "watermark", Y(D({ isPrinting: u(fe) || u(xe) })), void 0, !0)
793
808
  ])) : v("", !0),
794
- C.value ? v("", !0) : (o(), I(i(Ye), {
809
+ C.value ? v("", !0) : (o(), P(u(De), {
795
810
  key: 6,
796
811
  config: {
797
812
  type: "historyPlot",
@@ -803,41 +818,41 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
803
818
  }
804
819
  }
805
820
  }, null, 8, ["config"])),
806
- M("div", {
821
+ T("div", {
807
822
  ref_key: "chartLegend",
808
823
  ref: ae
809
824
  }, [
810
- e.value.style.chart.legend.show && C.value ? (o(), I(At, {
825
+ e.value.style.chart.legend.show && C.value ? (o(), P(Mt, {
811
826
  key: `legend_${se.value}`,
812
- legendSet: ge.value,
813
- config: Ze.value,
827
+ legendSet: be.value,
828
+ config: Je.value,
814
829
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
815
- be(l.seriesIndex), ke(l);
830
+ ge(l.seriesIndex), ke(l);
816
831
  })
817
832
  }, {
818
833
  item: m(({ legend: l, index: c }) => [
819
- M("div", {
834
+ T("div", {
820
835
  onClick: (s) => {
821
836
  l.segregate(), ke(l);
822
837
  },
823
- style: $(`opacity:${b.value.includes(l.seriesIndex) ? 0.5 : 1}`)
824
- }, z(l.name), 13, nl)
838
+ style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
839
+ }, L(l.name), 13, ul)
825
840
  ]),
826
841
  _: 1
827
842
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
828
843
  key: 1,
829
- legend: ge.value
844
+ legend: be.value
830
845
  }, void 0, !0)
831
846
  ], 512),
832
847
  t.$slots.source ? (o(), r("div", {
833
848
  key: 7,
834
849
  ref_key: "source",
835
- ref: ue,
850
+ ref: ie,
836
851
  dir: "auto"
837
852
  }, [
838
853
  x(t.$slots, "source", {}, void 0, !0)
839
854
  ], 512)) : v("", !0),
840
- Se(i(De), {
855
+ Ae(u(je), {
841
856
  show: _.value.showTooltip && Z.value,
842
857
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
843
858
  color: e.value.style.chart.tooltip.color,
@@ -848,20 +863,20 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
848
863
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
849
864
  position: e.value.style.chart.tooltip.position,
850
865
  offsetY: e.value.style.chart.tooltip.offsetY,
851
- parent: B.value,
866
+ parent: A.value,
852
867
  content: J.value,
853
- isCustom: R.value,
854
- isFullscreen: E.value
868
+ isCustom: E.value,
869
+ isFullscreen: H.value
855
870
  }, {
856
871
  "tooltip-before": m(() => [
857
- x(t.$slots, "tooltip-before", X(Y({ ...Q.value })), void 0, !0)
872
+ x(t.$slots, "tooltip-before", Y(D({ ...Q.value })), void 0, !0)
858
873
  ]),
859
874
  "tooltip-after": m(() => [
860
- x(t.$slots, "tooltip-after", X(Y({ ...Q.value })), void 0, !0)
875
+ x(t.$slots, "tooltip-after", Y(D({ ...Q.value })), void 0, !0)
861
876
  ]),
862
877
  _: 3
863
878
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
864
- C.value ? (o(), I(i(Ie), {
879
+ C.value ? (o(), P(u(Pe), {
865
880
  key: 8,
866
881
  hideDetails: "",
867
882
  config: {
@@ -878,32 +893,32 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
878
893
  }
879
894
  }, {
880
895
  content: m(() => [
881
- (o(), I(i(Pe), {
896
+ (o(), P(u(Fe), {
882
897
  key: `table_${oe.value}`,
883
- colNames: W.value.colNames,
884
- head: W.value.head,
885
- body: W.value.body,
886
- config: W.value.config,
898
+ colNames: U.value.colNames,
899
+ head: U.value.head,
900
+ body: U.value.body,
901
+ config: U.value.config,
887
902
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
888
903
  onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
889
904
  }, {
890
905
  th: m(({ th: l }) => [
891
- M("div", {
906
+ T("div", {
892
907
  innerHTML: l,
893
908
  style: { display: "flex", "align-items": "center" }
894
- }, null, 8, ul)
909
+ }, null, 8, cl)
895
910
  ]),
896
911
  td: m(({ td: l }) => [
897
- ot(z(l.name || l), 1)
912
+ rt(L(l.name || l), 1)
898
913
  ]),
899
914
  _: 1
900
915
  }, 8, ["colNames", "head", "body", "config", "title"]))
901
916
  ]),
902
917
  _: 1
903
918
  }, 8, ["config"])) : v("", !0)
904
- ], 46, Tt));
919
+ ], 46, Nt));
905
920
  }
906
- }, gl = /* @__PURE__ */ zt(il, [["__scopeId", "data-v-d10d1459"]]);
921
+ }, Cl = /* @__PURE__ */ Lt(vl, [["__scopeId", "data-v-3bd0f102"]]);
907
922
  export {
908
- gl as default
923
+ Cl as default
909
924
  };