vue-data-ui 2.12.8-beta.3 → 2.13.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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as N, ref as h, shallowRef as _e, computed as f, onMounted as et, onBeforeUnmount as tt, watch as lt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as M, normalizeClass as F, renderSlot as x, createBlock as O, createCommentVNode as v, createElementVNode as S, createVNode as $e, createSlots as at, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as z, createTextVNode as st, nextTick as ot } from "vue";
2
- import { u as rt, c as Me, o as nt, e as Ae, g as ut, b as it, d as ct, p as G, D as Te, i as Y, f as j, X as vt, l as ht, h as dt, G as yt, F as P, t as ft, a as xt, C as V, q as pt, r as mt, x as gt } from "./index-CH_mJIWj.js";
3
- import { u as Se } from "./useNestedProp-rMR-JeOJ.js";
4
- import { u as bt } from "./usePrinter-DJ7WfWUs.js";
5
- import { t as kt, u as wt } from "./useResponsive-JZ9xq-JV.js";
6
- import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as _t } from "./useChartAccessibility-9icAAmYg.js";
8
- import $t from "./Legend-DRqzYrP9.js";
9
- import Mt from "./Title-apr_T9tg.js";
10
- import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"], Lt = { key: 1 }, Nt = ["id"], Ot = ["stop-color"], Pt = ["stop-color"], It = ["stop-color"], Ft = { key: 2 }, Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 3 }, Yt = ["x", "y", "fill", "font-size"], jt = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Et = ["transform", "fill", "font-size", "text-anchor"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Zt = ["cx", "cy", "fill", "r"], Jt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Kt = { key: 1 }, Qt = ["x", "y", "font-size", "fill", "font-weight"], el = { key: 2 }, tl = ["x", "y", "font-size", "font-weight", "fill"], ll = ["cx", "cy", "r", "onMouseenter", "onClick"], al = {
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 s, unref as i, normalizeStyle as $, normalizeClass as F, renderSlot as x, createBlock as O, createCommentVNode as v, createElementVNode as T, createVNode as Me, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as S, createTextVNode as ot, nextTick as rt } from "vue";
2
+ import { u as nt, c as Ae, o as ut, e as Te, g as it, b as ct, d as vt, p as V, D as Se, i as Y, f as j, X as ht, l as yt, h as dt, G as ft, F as P, t as xt, a as pt, C as q, q as mt, r as gt, x as bt } from "./index-BXbyT0Qn.js";
3
+ import { u as ze } from "./useNestedProp-DVZpeH84.js";
4
+ import { u as kt } from "./usePrinter-aKh5-HcK.js";
5
+ import { t as wt, u as Ct } from "./useResponsive-JZ9xq-JV.js";
6
+ import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Mt from "./Legend-DcDRW3Xd.js";
9
+ import At from "./Title-DoWqzga-.js";
10
+ import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"], Nt = { key: 1 }, Ot = ["id"], Pt = ["stop-color"], It = ["stop-color"], Ft = ["stop-color"], Xt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = { key: 3 }, jt = ["x", "y", "fill", "font-size"], Rt = ["transform", "font-size", "fill", "font-weight"], Bt = { key: 5 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 6 }, Ht = ["transform", "fill", "font-size", "text-anchor"], Ut = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["cx", "cy", "fill", "r"], Kt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Qt = { key: 1 }, el = ["x", "y", "font-size", "fill", "font-weight"], tl = { key: 2 }, ll = ["x", "y", "font-size", "font-weight", "fill"], al = ["cx", "cy", "r", "onMouseenter", "onClick"], sl = {
12
12
  key: 5,
13
13
  class: "vue-data-ui-watermark"
14
- }, sl = ["onClick"], ol = ["innerHTML"], rl = {
14
+ }, ol = ["onClick"], rl = ["innerHTML"], nl = {
15
15
  __name: "vue-ui-history-plot",
16
16
  props: {
17
17
  config: {
@@ -28,22 +28,22 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
28
28
  }
29
29
  },
30
30
  emits: ["selectLegend", "selectDatapoint"],
31
- setup(ze, { expose: Le, emit: Ne }) {
32
- const Oe = N(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Pe = N(() => import("./DataTable-BBqbcutV.js")), Ie = N(() => import("./PackageVersion-ClpqQxYT.js")), Fe = N(() => import("./PenAndPaper-B-T7XvxF.js")), Xe = N(() => import("./vue-ui-skeleton-C6PWt_m5.js")), De = N(() => import("./Tooltip-BuHsMAfp.js")), Ye = N(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_history_plot: je } = rt(), d = ze, R = h(null), ee = h(null), te = h(0), le = h(null), ae = h(0), se = h(0), oe = h(0), A = _e(null), I = _e(null), re = h(null), B = h(Me()), q = h(!1), Z = h(""), g = h([]), E = h(!1), $ = h(null), W = h(!1), ne = h(null), w = f({
33
- get: () => !!d.dataset && d.dataset.length,
31
+ setup(Le, { expose: Ne, emit: Oe }) {
32
+ const Pe = N(() => import("./vue-ui-accordion-CXsjHe1y.js")), Ie = N(() => import("./DataTable-DBkfb6pd.js")), Fe = N(() => import("./PackageVersion-C5fpg4GN.js")), Xe = N(() => import("./PenAndPaper-BRkuVFb4.js")), De = N(() => import("./vue-ui-skeleton-Fxr752Oi.js")), Ye = N(() => import("./Tooltip-DYCBNM-_.js")), je = N(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_history_plot: Re } = nt(), y = Le, R = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), M = $e(null), I = $e(null), ne = h(null), B = h(Ae()), Z = h(!1), J = h(""), g = h([]), E = h(!1), _ = h(null), W = h(!1), ue = h(null), w = f({
33
+ get: () => !!y.dataset && y.dataset.length,
34
34
  set: (t) => t
35
- }), ue = Ne;
36
- et(ie);
37
- function ie() {
38
- if (nt(d.dataset) ? Ae({
35
+ }), ie = Oe;
36
+ tt(ce);
37
+ function ce() {
38
+ if (ut(y.dataset) ? Te({
39
39
  componentName: "VueUiHistoryPlot",
40
40
  type: "dataset"
41
- }) : d.dataset.forEach((t, a) => {
42
- ut({
41
+ }) : y.dataset.forEach((t, a) => {
42
+ it({
43
43
  datasetObject: t,
44
44
  requiredAttributes: ["name", "values"]
45
45
  }).forEach((l) => {
46
- w.value = !1, Ae({
46
+ w.value = !1, Te({
47
47
  componentName: "VueUiHistoryPlot",
48
48
  type: "datasetSerieAttribute",
49
49
  property: l,
@@ -51,16 +51,16 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
51
51
  });
52
52
  });
53
53
  }), e.value.responsive) {
54
- const t = kt(() => {
55
- const { width: a, height: l } = wt({
54
+ const t = wt(() => {
55
+ const { width: a, height: l } = Ct({
56
56
  chart: R.value,
57
- title: e.value.style.chart.title.text ? ee.value : null,
58
- noTitle: re.value,
59
- legend: e.value.style.chart.legend.show ? le.value : null,
60
- source: ne.value
57
+ title: e.value.style.chart.title.text ? te.value : null,
58
+ noTitle: ne.value,
59
+ legend: e.value.style.chart.legend.show ? ae.value : null,
60
+ source: ue.value
61
61
  });
62
62
  requestAnimationFrame(() => {
63
- y.value.width = a, y.value.height = l, e.value.responsiveProportionalSizing && (u.value.plots = P({
63
+ d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing && (u.value.plots = P({
64
64
  relator: Math.min(a, l),
65
65
  adjuster: 600,
66
66
  source: e.value.style.chart.plots.radius,
@@ -105,41 +105,41 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
105
105
  }));
106
106
  });
107
107
  });
108
- A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect()), A.value = new ResizeObserver(t), I.value = R.value.parentNode, A.value.observe(I.value);
108
+ M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect()), M.value = new ResizeObserver(t), I.value = R.value.parentNode, M.value.observe(I.value);
109
109
  }
110
110
  }
111
- tt(() => {
112
- A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect());
111
+ lt(() => {
112
+ M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect());
113
113
  });
114
- function ce() {
115
- const t = Se({
116
- userConfig: d.config,
117
- defaultConfig: je
114
+ function ve() {
115
+ const t = ze({
116
+ userConfig: y.config,
117
+ defaultConfig: Re
118
118
  });
119
119
  let a = {};
120
120
  return t.theme ? a = {
121
- ...Se({
122
- userConfig: xt.vue_ui_history_plot[t.theme] || d.config,
121
+ ...ze({
122
+ userConfig: pt.vue_ui_history_plot[t.theme] || y.config,
123
123
  defaultConfig: t
124
124
  }),
125
- customPalette: ft[t.theme] || G
126
- } : a = t, d.config && V(d.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = d.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, d.config && V(d.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = d.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, d.config && V(d.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = d.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, d.config && V(d.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = d.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
125
+ customPalette: xt[t.theme] || V
126
+ } : 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
127
  }
128
128
  const e = f({
129
- get: () => ce(),
129
+ get: () => ve(),
130
130
  set: (t) => t
131
- }), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: he } = Ct({ config: e.value }), { svgRef: de } = _t({ config: e.value.style.chart.title });
132
- lt(() => d.config, (t) => {
133
- e.value = ce(), J.value = !e.value.userOptions.showOnChartHover, ie(), te.value += 1, se.value += 1, ae.value += 1, y.value.height = e.value.style.chart.height, y.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
131
+ }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = _t({ config: e.value }), { svgRef: de } = $t({ config: e.value.style.chart.title });
132
+ at(() => y.config, (t) => {
133
+ 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, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
134
134
  }, { deep: !0 });
135
- const { isPrinting: ye, isImaging: fe, generatePdf: xe, generateImage: pe } = bt({
135
+ const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = kt({
136
136
  elementId: `history_plot_${B.value}`,
137
137
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
138
138
  options: e.value.userOptions.print
139
- }), Re = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Be = f(() => it(e.value.customPalette)), C = h({
139
+ }), Be = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), We = f(() => ct(e.value.customPalette)), C = h({
140
140
  showTable: e.value.table.show,
141
141
  showTooltip: e.value.style.chart.tooltip.show
142
- }), y = h({
142
+ }), d = h({
143
143
  height: e.value.style.chart.height,
144
144
  width: e.value.style.chart.width
145
145
  }), n = f(() => {
@@ -147,10 +147,10 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
147
147
  return {
148
148
  left: t,
149
149
  top: a,
150
- right: y.value.width - e.value.style.chart.padding.right,
151
- bottom: y.value.height - e.value.style.chart.padding.bottom,
152
- width: y.value.width - t - e.value.style.chart.padding.right,
153
- height: y.value.height - a - e.value.style.chart.padding.bottom
150
+ right: d.value.width - e.value.style.chart.padding.right,
151
+ bottom: d.value.height - e.value.style.chart.padding.bottom,
152
+ width: d.value.width - t - e.value.style.chart.padding.right,
153
+ height: d.value.height - a - e.value.style.chart.padding.bottom
154
154
  };
155
155
  }), u = h({
156
156
  plots: e.value.style.chart.plots.radius,
@@ -160,26 +160,26 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
160
160
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
161
161
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
162
162
  yAxisName: e.value.style.chart.axes.y.name.fontSize
163
- }), T = f(() => w.value ? d.dataset.map((t, a) => ({
163
+ }), A = f(() => w.value ? y.dataset.map((t, a) => ({
164
164
  ...t,
165
- color: t.color ? ct(t.color) : Be.value[a] || G[a] || G[a % G.length],
165
+ color: t.color ? vt(t.color) : We.value[a] || V[a] || V[a % V.length],
166
166
  seriesIndex: a
167
- })) : []), We = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Ee = f(() => {
167
+ })) : []), Ee = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), He = f(() => {
168
168
  if (!w.value) return 1;
169
- const t = Math.min(...T.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
169
+ const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
170
  return t < 0 ? t : 0;
171
- }), He = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ue = f(() => {
171
+ }), Ue = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
172
172
  if (!w.value) return 1;
173
- const t = Math.min(...T.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
173
+ const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
174
  return t < 0 ? t : 0;
175
175
  }), p = f(() => {
176
- const t = Te(
177
- e.value.style.chart.axes.x.scaleMin === null ? Ee.value : e.value.style.chart.axes.x.scaleMin,
178
- e.value.style.chart.axes.x.scaleMax === null ? We.value : e.value.style.chart.axes.x.scaleMax,
176
+ const t = Se(
177
+ e.value.style.chart.axes.x.scaleMin === null ? He.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
179
  e.value.style.chart.axes.x.ticks
180
- ), a = Te(
181
- e.value.style.chart.axes.y.scaleMin === null ? Ue.value : e.value.style.chart.axes.y.scaleMin,
182
- e.value.style.chart.axes.y.scaleMax === null ? He.value : e.value.style.chart.axes.y.scaleMax,
180
+ ), a = Se(
181
+ e.value.style.chart.axes.y.scaleMin === null ? Ge.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,
183
183
  e.value.style.chart.axes.y.ticks
184
184
  );
185
185
  return {
@@ -199,24 +199,24 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
199
199
  }))
200
200
  };
201
201
  });
202
- function Ge(t) {
202
+ function Ve(t) {
203
203
  const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
204
204
  return n.value.left + ((t || 0) + a) / (p.value.x.max + a) * n.value.width;
205
205
  }
206
- function Ve(t) {
206
+ function qe(t) {
207
207
  const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
208
208
  return n.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * n.value.height;
209
209
  }
210
- const L = f(() => T.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
- const l = t.values.map((o, _) => ({
210
+ const z = f(() => A.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
+ const l = t.values.map((o, L) => ({
212
212
  valueX: o.x,
213
213
  valueY: o.y,
214
214
  label: o.label,
215
- x: Ge(o.x),
216
- y: Ve(o.y),
215
+ x: Ve(o.x),
216
+ y: qe(o.y),
217
217
  color: t.color,
218
218
  seriesName: t.name,
219
- id: Me()
219
+ id: Ae()
220
220
  })), c = l.map((o) => `${o.x},${o.y} `).join("").trim();
221
221
  return {
222
222
  ...t,
@@ -224,16 +224,16 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
224
224
  path: `M${c}`
225
225
  };
226
226
  }));
227
- function me(t) {
227
+ function ge(t) {
228
228
  g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
229
229
  }
230
- const ge = f(() => T.value.map((t) => ({
230
+ const be = f(() => A.value.map((t) => ({
231
231
  ...t,
232
232
  opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
233
- segregate: () => me(t.seriesIndex),
233
+ segregate: () => ge(t.seriesIndex),
234
234
  isSegregated: g.value.includes(t.seriesIndex),
235
235
  shape: "circle"
236
- }))), qe = f(() => ({
236
+ }))), Ze = f(() => ({
237
237
  cy: "history-plot-div-legend",
238
238
  backgroundColor: e.value.style.chart.legend.backgroundColor,
239
239
  color: e.value.style.chart.legend.color,
@@ -241,33 +241,33 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
241
241
  paddingBottom: 12,
242
242
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
243
243
  }));
244
- function Ze(t) {
245
- ue("selectDatapoint", t);
244
+ function Je(t) {
245
+ ie("selectDatapoint", t);
246
246
  }
247
- function be(t) {
248
- ue("selectLegend", {
247
+ function ke(t) {
248
+ ie("selectLegend", {
249
249
  ...t,
250
250
  isSegregated: !t.isSegregated,
251
251
  opacity: t.isSegregated ? 1 : 0.5
252
252
  });
253
253
  }
254
- function Je(t) {
255
- E.value = t, oe.value += 1;
254
+ function Ke(t) {
255
+ E.value = t, re.value += 1;
256
256
  }
257
- const K = h(null);
258
- function Ke({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
- K.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: T.value }, $.value = t;
257
+ const Q = h(null);
258
+ function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
+ Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, _.value = t;
260
260
  const c = e.value.style.chart.tooltip.customFormat;
261
- if (W.value = !1, gt(c))
261
+ if (W.value = !1, bt(c))
262
262
  try {
263
263
  const o = c({
264
264
  seriesIndex: l,
265
265
  datapoint: t,
266
266
  plotIndex: a,
267
- series: T.value,
267
+ series: A.value,
268
268
  config: e.value
269
269
  });
270
- typeof o == "string" && (Z.value = o, W.value = !0);
270
+ typeof o == "string" && (J.value = o, W.value = !0);
271
271
  } catch {
272
272
  console.warn("Custom format cannot be applied."), W.value = !1;
273
273
  }
@@ -291,11 +291,11 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
291
291
  s: e.value.style.chart.axes.y.labels.suffix,
292
292
  r: e.value.style.chart.axes.y.labels.rounding
293
293
  })
294
- )}</div>`, Z.value = `<div>${o}</div>`;
294
+ )}</div>`, J.value = `<div>${o}</div>`;
295
295
  }
296
- q.value = !0;
296
+ Z.value = !0;
297
297
  }
298
- f(() => ({ head: L.value.map((a) => ({
298
+ f(() => ({ head: z.value.map((a) => ({
299
299
  name: a.name,
300
300
  color: a.color
301
301
  })) }));
@@ -305,7 +305,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
305
305
  e.value.table.columnNames.datapoint,
306
306
  e.value.table.columnNames.x,
307
307
  e.value.table.columnNames.y
308
- ], a = L.value.flatMap((c) => c.plots.map((o) => [
308
+ ], a = z.value.flatMap((c) => c.plots.map((o) => [
309
309
  {
310
310
  color: o.color,
311
311
  name: o.seriesName
@@ -351,84 +351,84 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
351
351
  colNames: t
352
352
  };
353
353
  });
354
- function ke() {
355
- ot(() => {
356
- const t = [
354
+ function we(t = null) {
355
+ rt(() => {
356
+ const a = [
357
357
  [e.value.table.columnNames.series],
358
358
  [e.value.table.columnNames.datapoint],
359
359
  [e.value.table.columnNames.x],
360
360
  [e.value.table.columnNames.y]
361
- ], a = L.value.flatMap((o) => o.plots.map((_) => [
362
- [_.seriesName],
363
- [_.label],
364
- [_.valueX],
365
- [_.valueY]
366
- ])), l = [
361
+ ], l = z.value.flatMap((L) => L.plots.map((G) => [
362
+ [G.seriesName],
363
+ [G.label],
364
+ [G.valueX],
365
+ [G.valueY]
366
+ ])), c = [
367
367
  [e.value.style.chart.title.text],
368
368
  [e.value.style.chart.title.subtitle.text],
369
- t
370
- ].concat(a), c = pt(l);
371
- mt({
372
- csvContent: c,
369
+ a
370
+ ].concat(l), o = mt(c);
371
+ t ? t(o) : gt({
372
+ csvContent: o,
373
373
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
374
374
  });
375
375
  });
376
376
  }
377
377
  const U = h(!1);
378
- function Q() {
378
+ function ee() {
379
379
  U.value = !U.value;
380
380
  }
381
- function we() {
381
+ function Ce() {
382
382
  C.value.showTable = !C.value.showTable;
383
383
  }
384
- function Ce() {
384
+ function _e() {
385
385
  C.value.showTooltip = !C.value.showTooltip;
386
386
  }
387
- function Qe() {
388
- return L.value;
387
+ function et() {
388
+ return z.value;
389
389
  }
390
- return Le({
391
- getData: Qe,
392
- generatePdf: xe,
393
- generateCsv: ke,
394
- generateImage: pe,
395
- toggleTable: we,
396
- toggleTooltip: Ce,
397
- toggleAnnotator: Q
390
+ return Ne({
391
+ getData: et,
392
+ generatePdf: pe,
393
+ generateCsv: we,
394
+ generateImage: me,
395
+ toggleTable: Ce,
396
+ toggleTooltip: _e,
397
+ toggleAnnotator: ee
398
398
  }), (t, a) => (s(), r("div", {
399
399
  id: `history_plot_${B.value}`,
400
400
  ref_key: "historyPlotChart",
401
401
  ref: R,
402
402
  class: F({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
403
- style: M(`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(ve)(!0)),
405
- onMouseleave: a[4] || (a[4] = () => i(ve)(!1))
403
+ 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))
406
406
  }, [
407
407
  x(t.$slots, "userConfig", {}, void 0, !0),
408
- e.value.userOptions.buttons.annotator ? (s(), O(i(Fe), {
408
+ e.value.userOptions.buttons.annotator ? (s(), O(i(Xe), {
409
409
  key: 0,
410
410
  svgRef: i(de),
411
411
  backgroundColor: e.value.style.chart.backgroundColor,
412
412
  color: e.value.style.chart.color,
413
413
  active: U.value,
414
- onClose: Q
414
+ onClose: ee
415
415
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
416
- Re.value ? (s(), r("div", {
416
+ Be.value ? (s(), r("div", {
417
417
  key: 1,
418
418
  ref_key: "noTitle",
419
- ref: re,
419
+ ref: ne,
420
420
  class: "vue-data-ui-no-title-space",
421
421
  style: "height:36px; width: 100%;background:transparent"
422
422
  }, null, 512)) : v("", !0),
423
423
  e.value.style.chart.title.text ? (s(), r("div", {
424
424
  key: 2,
425
425
  ref_key: "chartTitle",
426
- ref: ee,
426
+ ref: te,
427
427
  class: "vue-ui-xy-title",
428
- style: M(`font-family:${e.value.style.fontFamily}`)
428
+ style: $(`font-family:${e.value.style.fontFamily}`)
429
429
  }, [
430
- (s(), O(Mt, {
431
- key: `title_${te.value}`,
430
+ (s(), O(At, {
431
+ key: `title_${le.value}`,
432
432
  config: {
433
433
  title: {
434
434
  cy: "history-plot-div-title",
@@ -441,13 +441,13 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
441
441
  }
442
442
  }, null, 8, ["config"]))
443
443
  ], 4)) : v("", !0),
444
- e.value.userOptions.show && w.value && (i(he) || i(J)) ? (s(), O(i(Ye), {
444
+ e.value.userOptions.show && w.value && (i(ye) || i(K)) ? (s(), O(i(je), {
445
445
  ref: "details",
446
- key: `user_option_${oe.value}`,
446
+ key: `user_option_${re.value}`,
447
447
  backgroundColor: e.value.style.chart.backgroundColor,
448
448
  color: e.value.style.chart.color,
449
- isPrinting: i(ye),
450
- isImaging: i(fe),
449
+ isPrinting: i(fe),
450
+ isImaging: i(xe),
451
451
  uid: B.value,
452
452
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
453
453
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -464,17 +464,17 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
464
464
  hasAnnotator: e.value.userOptions.buttons.annotator,
465
465
  isAnnotation: U.value,
466
466
  callbacks: e.value.userOptions.callbacks,
467
- onToggleFullscreen: Je,
468
- onGeneratePdf: i(xe),
469
- onGenerateCsv: ke,
470
- onGenerateImage: i(pe),
471
- onToggleTable: we,
472
- onToggleTooltip: Ce,
473
- onToggleAnnotator: Q,
474
- style: M({
475
- visibility: i(he) ? i(J) ? "visible" : "hidden" : "visible"
467
+ onToggleFullscreen: Ke,
468
+ onGeneratePdf: i(pe),
469
+ onGenerateCsv: we,
470
+ onGenerateImage: i(me),
471
+ onToggleTable: Ce,
472
+ onToggleTooltip: _e,
473
+ onToggleAnnotator: ee,
474
+ style: $({
475
+ visibility: i(ye) ? i(K) ? "visible" : "hidden" : "visible"
476
476
  })
477
- }, at({ _: 2 }, [
477
+ }, st({ _: 2 }, [
478
478
  t.$slots.menuIcon ? {
479
479
  name: "menuIcon",
480
480
  fn: m(({ isOpen: l, color: c }) => [
@@ -536,11 +536,11 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
536
536
  key: 4,
537
537
  ref_key: "svgRef",
538
538
  ref: de,
539
- xmlns: i(vt),
540
- viewBox: `0 0 ${y.value.width < 0 ? 0.1 : y.value.width} ${y.value.height < 0 ? 0.1 : y.value.height}`,
541
- style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
539
+ xmlns: i(ht),
540
+ viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
541
+ style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
542
542
  }, [
543
- $e(i(Ie)),
543
+ Me(i(Fe)),
544
544
  t.$slots["chart-background"] ? (s(), r("foreignObject", {
545
545
  key: 0,
546
546
  x: n.value.left,
@@ -552,27 +552,27 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
552
552
  }
553
553
  }, [
554
554
  x(t.$slots, "chart-background", {}, void 0, !0)
555
- ], 8, zt)) : v("", !0),
556
- e.value.style.chart.plots.gradient.show ? (s(), r("defs", Lt, [
557
- (s(!0), r(b, null, k(L.value, (l, c) => (s(), r("radialGradient", {
555
+ ], 8, Lt)) : v("", !0),
556
+ e.value.style.chart.plots.gradient.show ? (s(), r("defs", Nt, [
557
+ (s(!0), r(b, null, k(z.value, (l, c) => (s(), r("radialGradient", {
558
558
  id: `gradient_${c}_${B.value}`,
559
559
  fy: "30%"
560
560
  }, [
561
- S("stop", {
561
+ T("stop", {
562
562
  offset: "10%",
563
- "stop-color": i(ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
564
- }, null, 8, Ot),
565
- S("stop", {
563
+ "stop-color": i(yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
564
+ }, null, 8, Pt),
565
+ T("stop", {
566
566
  offset: "90%",
567
567
  "stop-color": i(dt)(l.color, 0.1)
568
- }, null, 8, Pt),
569
- S("stop", {
568
+ }, null, 8, It),
569
+ T("stop", {
570
570
  offset: "100%",
571
571
  "stop-color": l.color
572
- }, null, 8, It)
573
- ], 8, Nt))), 256))
572
+ }, null, 8, Ft)
573
+ ], 8, Ot))), 256))
574
574
  ])) : v("", !0),
575
- e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Ft, [
575
+ e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Xt, [
576
576
  (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("line", {
577
577
  x1: l.x,
578
578
  x2: l.x,
@@ -581,16 +581,16 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
581
581
  stroke: e.value.style.chart.grid.verticalLines.stroke,
582
582
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
583
583
  "stroke-linecap": "round"
584
- }, null, 8, Xt))), 256))
584
+ }, null, 8, Dt))), 256))
585
585
  ])) : v("", !0),
586
- e.value.style.chart.axes.y.labels.show ? (s(), r("g", Dt, [
586
+ e.value.style.chart.axes.y.labels.show ? (s(), r("g", Yt, [
587
587
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
588
588
  x: n.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
589
589
  y: l.y + u.value.yAxisLabels / 3,
590
590
  fill: e.value.style.chart.axes.y.labels.color,
591
591
  "font-size": u.value.yAxisLabels,
592
592
  "text-anchor": "end"
593
- }, z(i(Y)(
593
+ }, S(i(Y)(
594
594
  e.value.style.chart.axes.y.labels.formatter,
595
595
  l.value,
596
596
  i(j)({
@@ -599,17 +599,17 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
599
599
  s: e.value.style.chart.axes.y.labels.suffix,
600
600
  r: e.value.style.chart.axes.y.labels.rounding
601
601
  })
602
- )), 9, Yt))), 256))
602
+ )), 9, jt))), 256))
603
603
  ])) : v("", !0),
604
604
  e.value.style.chart.axes.y.name.text ? (s(), r("text", {
605
605
  key: 4,
606
- transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${y.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
606
+ transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${d.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
607
607
  "font-size": u.value.yAxisName,
608
608
  fill: e.value.style.chart.axes.y.name.color,
609
609
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
610
610
  "text-anchor": "middle"
611
- }, z(e.value.style.chart.axes.y.name.text), 9, jt)) : v("", !0),
612
- e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Rt, [
611
+ }, S(e.value.style.chart.axes.y.name.text), 9, Rt)) : v("", !0),
612
+ e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Bt, [
613
613
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("line", {
614
614
  x1: l.x1,
615
615
  x2: l.x2,
@@ -618,15 +618,15 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
618
618
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
619
619
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
620
620
  "stroke-linecap": "round"
621
- }, null, 8, Bt))), 256))
621
+ }, null, 8, Wt))), 256))
622
622
  ])) : v("", !0),
623
- e.value.style.chart.axes.x.labels.show ? (s(), r("g", Wt, [
623
+ e.value.style.chart.axes.x.labels.show ? (s(), r("g", Et, [
624
624
  (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
625
625
  transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY + u.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
626
626
  fill: e.value.style.chart.axes.x.labels.color,
627
627
  "font-size": u.value.xAxisLabels,
628
628
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
629
- }, z(i(Y)(
629
+ }, S(i(Y)(
630
630
  e.value.style.chart.axes.x.labels.formatter,
631
631
  l.value,
632
632
  i(j)({
@@ -635,17 +635,17 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
635
635
  s: e.value.style.chart.axes.x.labels.suffix,
636
636
  r: e.value.style.chart.axes.x.labels.rounding
637
637
  })
638
- )), 9, Et))), 256))
638
+ )), 9, Ht))), 256))
639
639
  ])) : v("", !0),
640
640
  e.value.style.chart.axes.x.name.text ? (s(), r("text", {
641
641
  key: 7,
642
- x: y.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
643
- y: y.value.height + e.value.style.chart.axes.x.name.offsetY,
642
+ x: d.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
643
+ y: d.value.height + e.value.style.chart.axes.x.name.offsetY,
644
644
  "font-size": u.value.xAxisName,
645
645
  fill: e.value.style.chart.axes.x.name.color,
646
646
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
647
647
  "text-anchor": "middle"
648
- }, z(e.value.style.chart.axes.x.name.text), 9, Ht)) : v("", !0),
648
+ }, S(e.value.style.chart.axes.x.name.text), 9, Ut)) : v("", !0),
649
649
  e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
650
650
  key: 8,
651
651
  x1: n.value.left,
@@ -655,7 +655,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
655
655
  stroke: e.value.style.chart.grid.xAxis.stroke,
656
656
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
657
657
  "stroke-linecap": "round"
658
- }, null, 8, Ut)) : v("", !0),
658
+ }, null, 8, Gt)) : v("", !0),
659
659
  e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
660
660
  key: 9,
661
661
  x1: n.value.left,
@@ -665,15 +665,15 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
665
665
  stroke: e.value.style.chart.grid.yAxis.stroke,
666
666
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
667
667
  "stroke-linecap": "round"
668
- }, null, 8, Gt)) : v("", !0),
669
- (s(!0), r(b, null, k(L.value, (l, c) => (s(), r("g", null, [
668
+ }, null, 8, Vt)) : v("", !0),
669
+ (s(!0), r(b, null, k(z.value, (l, c) => (s(), r("g", null, [
670
670
  e.value.style.chart.paths.show ? (s(), r("g", {
671
671
  key: 0,
672
- style: M({
673
- opacity: $.value === null ? 1 : 0.3
672
+ style: $({
673
+ opacity: _.value === null ? 1 : 0.3
674
674
  })
675
675
  }, [
676
- S("path", {
676
+ T("path", {
677
677
  d: l.path,
678
678
  stroke: e.value.style.chart.backgroundColor,
679
679
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
@@ -681,8 +681,8 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
681
681
  "stroke-linecap": "round",
682
682
  "stroke-linejoin": "round",
683
683
  class: F({ animated: e.value.useCssAnimation })
684
- }, null, 10, Vt),
685
- S("path", {
684
+ }, null, 10, qt),
685
+ T("path", {
686
686
  d: l.path,
687
687
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
688
688
  "stroke-width": e.value.style.chart.paths.strokeWidth,
@@ -690,7 +690,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
690
690
  "stroke-linecap": "round",
691
691
  "stroke-linejoin": "round",
692
692
  class: F({ animated: e.value.useCssAnimation })
693
- }, null, 10, qt)
693
+ }, null, 10, Zt)
694
694
  ], 4)) : v("", !0),
695
695
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
696
696
  cx: o.x,
@@ -698,7 +698,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
698
698
  fill: e.value.style.chart.backgroundColor,
699
699
  r: u.value.plots,
700
700
  stroke: "none"
701
- }, null, 8, Zt))), 256)),
701
+ }, null, 8, Jt))), 256)),
702
702
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
703
703
  cx: o.x,
704
704
  cy: o.y,
@@ -707,12 +707,12 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
707
707
  stroke: e.value.style.chart.plots.stroke,
708
708
  "stroke-width": e.value.style.chart.plots.strokeWidth,
709
709
  class: F({ animated: e.value.useCssAnimation }),
710
- style: M({
711
- opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
710
+ style: $({
711
+ opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
712
712
  transition: "opacity 0.2s ease-in-out"
713
713
  })
714
- }, null, 14, Jt))), 256)),
715
- e.value.style.chart.plots.labels.show ? (s(), r("g", Kt, [
714
+ }, null, 14, Kt))), 256)),
715
+ e.value.style.chart.plots.labels.show ? (s(), r("g", Qt, [
716
716
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
717
717
  x: o.x + e.value.style.chart.plots.labels.offsetX,
718
718
  y: o.y + e.value.style.chart.plots.labels.offsetY + u.value.plots + u.value.labels,
@@ -721,52 +721,52 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
721
721
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
722
722
  "text-anchor": "middle",
723
723
  class: F({ animated: e.value.useCssAnimation }),
724
- style: M({
725
- opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
724
+ style: $({
725
+ opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
726
726
  transition: "opacity 0.2s ease-in-out"
727
727
  })
728
- }, z(o.label), 15, Qt))), 256))
728
+ }, S(o.label), 15, el))), 256))
729
729
  ])) : v("", !0),
730
- e.value.style.chart.plots.indexLabels.show ? (s(), r("g", el, [
731
- (s(!0), r(b, null, k(l.plots, (o, _) => (s(), r("text", {
730
+ e.value.style.chart.plots.indexLabels.show ? (s(), r("g", tl, [
731
+ (s(!0), r(b, null, k(l.plots, (o, L) => (s(), r("text", {
732
732
  x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
733
733
  y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
734
734
  "font-size": u.value.indexLabels,
735
735
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
736
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(yt)(l.color) : e.value.style.chart.plots.indexLabels.color,
736
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(ft)(l.color) : e.value.style.chart.plots.indexLabels.color,
737
737
  "text-anchor": "middle",
738
738
  class: F({ animated: e.value.useCssAnimation }),
739
- style: M({
740
- opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
739
+ style: $({
740
+ opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
741
741
  transition: "opacity 0.2s ease-in-out"
742
742
  })
743
- }, z(e.value.style.chart.plots.indexLabels.startAtZero ? _ : _ + 1), 15, tl))), 256))
743
+ }, S(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, ll))), 256))
744
744
  ])) : v("", !0)
745
745
  ]))), 256)),
746
- (s(!0), r(b, null, k(L.value, (l) => (s(), r("g", null, [
746
+ (s(!0), r(b, null, k(z.value, (l) => (s(), r("g", null, [
747
747
  (s(!0), r(b, null, k(l.plots, (c, o) => (s(), r("circle", {
748
748
  cx: c.x,
749
749
  cy: c.y,
750
750
  fill: "transparent",
751
751
  r: u.value.plots,
752
752
  stroke: "none",
753
- onMouseenter: (_) => Ke({
753
+ onMouseenter: (L) => Qe({
754
754
  datapoint: c,
755
755
  plotIndex: o,
756
756
  seriesIndex: l.seriesIndex
757
757
  }),
758
- onMouseleave: a[0] || (a[0] = (_) => {
759
- q.value = !1, $.value = null;
758
+ onMouseleave: a[0] || (a[0] = (L) => {
759
+ Z.value = !1, _.value = null;
760
760
  }),
761
- onClick: () => Ze(c)
762
- }, null, 40, ll))), 256))
761
+ onClick: () => Je(c)
762
+ }, null, 40, al))), 256))
763
763
  ]))), 256)),
764
- x(t.$slots, "svg", { svg: y.value }, void 0, !0)
765
- ], 12, St)) : v("", !0),
766
- t.$slots.watermark ? (s(), r("div", al, [
767
- x(t.$slots, "watermark", X(D({ isPrinting: i(ye) || i(fe) })), void 0, !0)
764
+ x(t.$slots, "svg", { svg: d.value }, void 0, !0)
765
+ ], 12, zt)) : v("", !0),
766
+ t.$slots.watermark ? (s(), r("div", sl, [
767
+ x(t.$slots, "watermark", X(D({ isPrinting: i(fe) || i(xe) })), void 0, !0)
768
768
  ])) : v("", !0),
769
- w.value ? v("", !0) : (s(), O(i(Xe), {
769
+ w.value ? v("", !0) : (s(), O(i(De), {
770
770
  key: 6,
771
771
  config: {
772
772
  type: "historyPlot",
@@ -778,42 +778,42 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
778
778
  }
779
779
  }
780
780
  }, null, 8, ["config"])),
781
- S("div", {
781
+ T("div", {
782
782
  ref_key: "chartLegend",
783
- ref: le
783
+ ref: ae
784
784
  }, [
785
- e.value.style.chart.legend.show && w.value ? (s(), O($t, {
786
- key: `legend_${ae.value}`,
787
- legendSet: ge.value,
788
- config: qe.value,
785
+ e.value.style.chart.legend.show && w.value ? (s(), O(Mt, {
786
+ key: `legend_${se.value}`,
787
+ legendSet: be.value,
788
+ config: Ze.value,
789
789
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
790
- me(l.seriesIndex), be(l);
790
+ ge(l.seriesIndex), ke(l);
791
791
  })
792
792
  }, {
793
793
  item: m(({ legend: l, index: c }) => [
794
- S("div", {
794
+ T("div", {
795
795
  onClick: (o) => {
796
- l.segregate(), be(l);
796
+ l.segregate(), ke(l);
797
797
  },
798
- style: M(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
799
- }, z(l.name), 13, sl)
798
+ style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
799
+ }, S(l.name), 13, ol)
800
800
  ]),
801
801
  _: 1
802
802
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
803
803
  key: 1,
804
- legend: ge.value
804
+ legend: be.value
805
805
  }, void 0, !0)
806
806
  ], 512),
807
807
  t.$slots.source ? (s(), r("div", {
808
808
  key: 7,
809
809
  ref_key: "source",
810
- ref: ne,
810
+ ref: ue,
811
811
  dir: "auto"
812
812
  }, [
813
813
  x(t.$slots, "source", {}, void 0, !0)
814
814
  ], 512)) : v("", !0),
815
- $e(i(De), {
816
- show: C.value.showTooltip && q.value,
815
+ Me(i(Ye), {
816
+ show: C.value.showTooltip && Z.value,
817
817
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
818
818
  color: e.value.style.chart.tooltip.color,
819
819
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -824,19 +824,19 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
824
824
  position: e.value.style.chart.tooltip.position,
825
825
  offsetY: e.value.style.chart.tooltip.offsetY,
826
826
  parent: R.value,
827
- content: Z.value,
827
+ content: J.value,
828
828
  isCustom: W.value,
829
829
  isFullscreen: E.value
830
830
  }, {
831
831
  "tooltip-before": m(() => [
832
- x(t.$slots, "tooltip-before", X(D({ ...K.value })), void 0, !0)
832
+ x(t.$slots, "tooltip-before", X(D({ ...Q.value })), void 0, !0)
833
833
  ]),
834
834
  "tooltip-after": m(() => [
835
- x(t.$slots, "tooltip-after", X(D({ ...K.value })), void 0, !0)
835
+ x(t.$slots, "tooltip-after", X(D({ ...Q.value })), void 0, !0)
836
836
  ]),
837
837
  _: 3
838
838
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
839
- w.value ? (s(), O(i(Oe), {
839
+ w.value ? (s(), O(i(Pe), {
840
840
  key: 8,
841
841
  hideDetails: "",
842
842
  config: {
@@ -853,8 +853,8 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
853
853
  }
854
854
  }, {
855
855
  content: m(() => [
856
- (s(), O(i(Pe), {
857
- key: `table_${se.value}`,
856
+ (s(), O(i(Ie), {
857
+ key: `table_${oe.value}`,
858
858
  colNames: H.value.colNames,
859
859
  head: H.value.head,
860
860
  body: H.value.body,
@@ -863,22 +863,22 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
863
863
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
864
864
  }, {
865
865
  th: m(({ th: l }) => [
866
- S("div", {
866
+ T("div", {
867
867
  innerHTML: l,
868
868
  style: { display: "flex", "align-items": "center" }
869
- }, null, 8, ol)
869
+ }, null, 8, rl)
870
870
  ]),
871
871
  td: m(({ td: l }) => [
872
- st(z(l.name || l), 1)
872
+ ot(S(l.name || l), 1)
873
873
  ]),
874
874
  _: 1
875
875
  }, 8, ["colNames", "head", "body", "config", "title"]))
876
876
  ]),
877
877
  _: 1
878
878
  }, 8, ["config"])) : v("", !0)
879
- ], 46, Tt));
879
+ ], 46, St));
880
880
  }
881
- }, pl = /* @__PURE__ */ At(rl, [["__scopeId", "data-v-cb0ccdd0"]]);
881
+ }, ml = /* @__PURE__ */ Tt(nl, [["__scopeId", "data-v-c53613f6"]]);
882
882
  export {
883
- pl as default
883
+ ml as default
884
884
  };