vue-data-ui 2.17.0 → 2.17.2

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 (93) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +65 -160
  23. package/dist/types/vue-data-ui.d.ts +65 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
  41. package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
  55. package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
  82. package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
  92. package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
  93. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,18 +1,18 @@
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 i, normalizeStyle as $, normalizeClass as I, renderSlot as x, createBlock as P, createCommentVNode as v, createElementVNode as M, createVNode as Ae, createSlots as ot, withCtx as m, normalizeProps as Y, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as z, createTextVNode as rt, nextTick as nt } from "vue";
2
- import { u as ut, c as Me, o as it, e as ze, g as ct, b as vt, d as ht, p as G, D as Te, i as j, f as B, 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-pPGk-uhD.js";
3
- import { u as Le } from "./useNestedProp-DjACxgdZ.js";
4
- import { u as Ct } from "./usePrinter-DDHcrl0A.js";
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-JzUbx__y.js";
3
+ import { u as Le } from "./useNestedProp-D_jd2dz9.js";
4
+ import { u as Ct } from "./usePrinter-CsyliflB.js";
5
5
  import { t as _t, u as $t } from "./useResponsive-DfdjqQps.js";
6
6
  import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
- import Mt from "./Legend-Bxlv67uY.js";
9
- import zt from "./Title-B-2bV0SW.js";
10
- import Tt from "./img-Y_hYz-ZC.js";
8
+ import Mt from "./Legend-1R-B-7st.js";
9
+ import zt from "./Title-BQb7X_OR.js";
10
+ import Tt from "./img-D0DpKcFX.js";
11
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 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 3 }, Ht = ["x", "y", "fill", "font-size"], Rt = ["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"], ul = {
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 = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
- }, il = ["onClick"], cl = ["innerHTML"], vl = {
15
+ }, ul = ["onClick"], cl = ["innerHTML"], vl = {
16
16
  __name: "vue-ui-history-plot",
17
17
  props: {
18
18
  config: {
@@ -30,13 +30,13 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
30
30
  },
31
31
  emits: ["selectLegend", "selectDatapoint"],
32
32
  setup(Ne, { expose: Oe, emit: Ie }) {
33
- const Pe = O(() => import("./vue-ui-accordion-CVnA550V.js")), Fe = O(() => import("./DataTable-D0VYDhfx.js")), Xe = O(() => import("./PackageVersion-5TR4ocqp.js")), Ye = O(() => import("./PenAndPaper-D6AqipIO.js")), De = O(() => import("./vue-ui-skeleton-DJPjyNYn.js")), je = O(() => import("./Tooltip-CoQnTnr-.js")), Be = O(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_history_plot: Ee } = ut(), y = Ne, T = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), S = Se(null), X = Se(null), ne = h(null), E = h(Me()), Z = h(!1), J = h(""), g = h([]), R = h(!1), w = h(null), H = h(!1), ue = h(null), C = f({
33
+ const Pe = O(() => import("./vue-ui-accordion-CcTUbiHq.js")), Fe = O(() => import("./DataTable-6BxhjBzt.js")), Xe = O(() => import("./PackageVersion-CIX1W_aa.js")), Ye = O(() => import("./PenAndPaper-CqJ4wudB.js")), De = O(() => import("./vue-ui-skeleton-B4KQLEQy.js")), je = O(() => import("./Tooltip-BTnTpPdO.js")), Re = O(() => import("./UserOptions-lneAyZKu.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({
34
34
  get: () => !!y.dataset && y.dataset.length,
35
35
  set: (t) => t
36
- }), ie = Ie;
36
+ }), ue = Ie;
37
37
  lt(ce);
38
38
  function ce() {
39
- if (it(y.dataset) ? ze({
39
+ if (ut(y.dataset) ? ze({
40
40
  componentName: "VueUiHistoryPlot",
41
41
  type: "dataset"
42
42
  }) : y.dataset.forEach((t, a) => {
@@ -54,11 +54,11 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
54
54
  }), e.value.responsive) {
55
55
  const t = _t(() => {
56
56
  const { width: a, height: l } = $t({
57
- chart: T.value,
57
+ chart: A.value,
58
58
  title: e.value.style.chart.title.text ? te.value : null,
59
59
  noTitle: ne.value,
60
60
  legend: e.value.style.chart.legend.show ? ae.value : null,
61
- source: ue.value
61
+ source: ie.value
62
62
  });
63
63
  requestAnimationFrame(() => {
64
64
  d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = F({
@@ -106,16 +106,16 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
106
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);
107
107
  });
108
108
  });
109
- S.value && (X.value && S.value.unobserve(X.value), S.value.disconnect()), S.value = new ResizeObserver(t), X.value = T.value.parentNode, S.value.observe(X.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);
110
110
  }
111
111
  }
112
112
  at(() => {
113
- S.value && (X.value && S.value.unobserve(X.value), S.value.disconnect());
113
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
114
114
  });
115
115
  function ve() {
116
116
  const t = Le({
117
117
  userConfig: y.config,
118
- defaultConfig: Ee
118
+ defaultConfig: Be
119
119
  });
120
120
  let a = {};
121
121
  return t.theme ? a = {
@@ -134,16 +134,16 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
134
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;
135
135
  }, { deep: !0 });
136
136
  const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = Ct({
137
- elementId: `history_plot_${E.value}`,
137
+ elementId: `history_plot_${B.value}`,
138
138
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
139
139
  options: e.value.userOptions.print
140
- }), He = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = f(() => vt(e.value.customPalette)), _ = h({
140
+ }), Ee = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), He = f(() => vt(e.value.customPalette)), _ = h({
141
141
  showTable: e.value.table.show,
142
142
  showTooltip: e.value.style.chart.tooltip.show
143
143
  }), d = h({
144
144
  height: e.value.style.chart.height,
145
145
  width: e.value.style.chart.width
146
- }), u = f(() => {
146
+ }), i = f(() => {
147
147
  const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top;
148
148
  return {
149
149
  left: t,
@@ -161,17 +161,17 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
161
161
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
162
162
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
163
163
  yAxisName: e.value.style.chart.axes.y.name.fontSize
164
- }), A = f(() => C.value ? y.dataset.map((t, a) => ({
164
+ }), z = f(() => C.value ? y.dataset.map((t, a) => ({
165
165
  ...t,
166
- color: t.color ? ht(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],
167
167
  seriesIndex: a
168
- })) : []), Ue = f(() => C.value ? Math.max(...A.value.filter((t) => !g.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(() => {
169
169
  if (!C.value) return 1;
170
- const t = Math.min(...A.value.filter((a) => !g.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)));
171
171
  return t < 0 ? t : 0;
172
- }), Ve = f(() => C.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = 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(() => {
173
173
  if (!C.value) return 1;
174
- const t = Math.min(...A.value.filter((a) => !g.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)));
175
175
  return t < 0 ? t : 0;
176
176
  }), p = f(() => {
177
177
  const t = Te(
@@ -187,29 +187,29 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
187
187
  x: t,
188
188
  y: a,
189
189
  tickX: t.ticks.map((l) => ({
190
- x: u.value.left + (l - t.min) / (t.max - t.min) * u.value.width,
191
- y1: u.value.top,
192
- 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,
193
193
  value: l
194
194
  })),
195
195
  tickY: a.ticks.map((l) => ({
196
- y: u.value.bottom - (l - a.min) / (a.max - a.min) * u.value.height,
197
- x1: u.value.left,
198
- 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,
199
199
  value: l
200
200
  }))
201
201
  };
202
202
  });
203
203
  function qe(t) {
204
204
  const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
205
- 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;
206
206
  }
207
207
  function Ze(t) {
208
208
  const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
209
- 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;
210
210
  }
211
- const L = f(() => A.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
212
- const l = t.values.map((s, N) => ({
211
+ const N = f(() => z.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
212
+ const l = t.values.map((s, S) => ({
213
213
  valueX: s.x,
214
214
  valueY: s.y,
215
215
  label: s.label,
@@ -228,7 +228,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
228
228
  function ge(t) {
229
229
  g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
230
230
  }
231
- const be = f(() => A.value.map((t) => ({
231
+ const be = f(() => z.value.map((t) => ({
232
232
  ...t,
233
233
  opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
234
234
  segregate: () => ge(t.seriesIndex),
@@ -243,41 +243,41 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
243
243
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
244
244
  }));
245
245
  function Ke(t) {
246
- ie("selectDatapoint", t);
246
+ ue("selectDatapoint", t);
247
247
  }
248
248
  function ke(t) {
249
- ie("selectLegend", {
249
+ ue("selectLegend", {
250
250
  ...t,
251
251
  isSegregated: !t.isSegregated,
252
252
  opacity: t.isSegregated ? 1 : 0.5
253
253
  });
254
254
  }
255
255
  function we(t) {
256
- R.value = t, re.value += 1;
256
+ H.value = t, re.value += 1;
257
257
  }
258
258
  const Q = h(null);
259
259
  function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
260
- 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;
261
261
  const c = e.value.style.chart.tooltip.customFormat;
262
- if (H.value = !1, wt(c))
262
+ if (E.value = !1, wt(c))
263
263
  try {
264
264
  const s = c({
265
265
  seriesIndex: l,
266
266
  datapoint: t,
267
267
  plotIndex: a,
268
- series: A.value,
268
+ series: z.value,
269
269
  config: e.value
270
270
  });
271
- typeof s == "string" && (J.value = s, H.value = !0);
271
+ typeof s == "string" && (J.value = s, E.value = !0);
272
272
  } catch {
273
- console.warn("Custom format cannot be applied."), H.value = !1;
273
+ console.warn("Custom format cannot be applied."), E.value = !1;
274
274
  }
275
- if (!H.value) {
275
+ if (!E.value) {
276
276
  let s = "";
277
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(
278
278
  e.value.style.chart.axes.x.labels.formatter,
279
279
  t.valueX,
280
- B({
280
+ R({
281
281
  p: e.value.style.chart.axes.x.labels.prefix,
282
282
  v: t.valueX,
283
283
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -286,7 +286,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
286
286
  )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${j(
287
287
  e.value.style.chart.axes.y.labels.formatter,
288
288
  t.valueY,
289
- B({
289
+ R({
290
290
  p: e.value.style.chart.axes.y.labels.prefix,
291
291
  v: t.valueY,
292
292
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -296,7 +296,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
296
296
  }
297
297
  Z.value = !0;
298
298
  }
299
- f(() => ({ head: L.value.map((a) => ({
299
+ f(() => ({ head: N.value.map((a) => ({
300
300
  name: a.name,
301
301
  color: a.color
302
302
  })) }));
@@ -306,7 +306,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
306
306
  e.value.table.columnNames.datapoint,
307
307
  e.value.table.columnNames.x,
308
308
  e.value.table.columnNames.y
309
- ], a = L.value.flatMap((c) => c.plots.map((s) => [
309
+ ], a = N.value.flatMap((c) => c.plots.map((s) => [
310
310
  {
311
311
  color: s.color,
312
312
  name: s.seriesName
@@ -315,7 +315,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
315
315
  j(
316
316
  e.value.style.chart.axes.x.labels.formatter,
317
317
  s.valueX,
318
- B({
318
+ R({
319
319
  p: e.value.style.chart.axes.x.labels.prefix,
320
320
  v: s.valueX,
321
321
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -325,7 +325,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
325
325
  j(
326
326
  e.value.style.chart.axes.y.labels.formatter,
327
327
  s.valueY,
328
- B({
328
+ R({
329
329
  p: e.value.style.chart.axes.y.labels.prefix,
330
330
  v: s.valueY,
331
331
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -359,7 +359,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
359
359
  [e.value.table.columnNames.datapoint],
360
360
  [e.value.table.columnNames.x],
361
361
  [e.value.table.columnNames.y]
362
- ], l = L.value.flatMap((N) => N.plots.map((V) => [
362
+ ], l = N.value.flatMap((S) => S.plots.map((V) => [
363
363
  [V.seriesName],
364
364
  [V.label],
365
365
  [V.valueX],
@@ -386,12 +386,19 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
386
386
  _.value.showTooltip = !_.value.showTooltip;
387
387
  }
388
388
  function et() {
389
- return L.value;
389
+ return N.value;
390
390
  }
391
391
  async function tt({ scale: t = 2 } = {}) {
392
- if (!T.value) return;
393
- const { imageUri: a, base64: l } = await Tt({ domElement: T.value, base64: !0, img: !0, scale: t });
394
- return { imageUri: a, base64: l };
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
+ };
395
402
  }
396
403
  return Oe({
397
404
  getData: et,
@@ -404,24 +411,24 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
404
411
  toggleAnnotator: ee,
405
412
  toggleFullscreen: we
406
413
  }), (t, a) => (o(), r("div", {
407
- id: `history_plot_${E.value}`,
414
+ id: `history_plot_${B.value}`,
408
415
  ref_key: "historyPlotChart",
409
- ref: T,
410
- class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": R.value }),
416
+ ref: A,
417
+ class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
411
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%" : ""}`),
412
- onMouseenter: a[3] || (a[3] = () => i(he)(!0)),
413
- 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))
414
421
  }, [
415
422
  x(t.$slots, "userConfig", {}, void 0, !0),
416
- e.value.userOptions.buttons.annotator ? (o(), P(i(Ye), {
423
+ e.value.userOptions.buttons.annotator ? (o(), P(u(Ye), {
417
424
  key: 0,
418
- svgRef: i(de),
425
+ svgRef: u(de),
419
426
  backgroundColor: e.value.style.chart.backgroundColor,
420
427
  color: e.value.style.chart.color,
421
428
  active: W.value,
422
429
  onClose: ee
423
430
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
424
- He.value ? (o(), r("div", {
431
+ Ee.value ? (o(), r("div", {
425
432
  key: 1,
426
433
  ref_key: "noTitle",
427
434
  ref: ne,
@@ -449,14 +456,14 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
449
456
  }
450
457
  }, null, 8, ["config"]))
451
458
  ], 4)) : v("", !0),
452
- e.value.userOptions.show && C.value && (i(ye) || i(K)) ? (o(), P(i(Be), {
459
+ e.value.userOptions.show && C.value && (u(ye) || u(K)) ? (o(), P(u(Re), {
453
460
  ref: "details",
454
461
  key: `user_option_${re.value}`,
455
462
  backgroundColor: e.value.style.chart.backgroundColor,
456
463
  color: e.value.style.chart.color,
457
- isPrinting: i(fe),
458
- isImaging: i(xe),
459
- uid: E.value,
464
+ isPrinting: u(fe),
465
+ isImaging: u(xe),
466
+ uid: B.value,
460
467
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
461
468
  hasPdf: e.value.userOptions.buttons.pdf,
462
469
  hasImg: e.value.userOptions.buttons.img,
@@ -464,8 +471,8 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
464
471
  hasTable: e.value.userOptions.buttons.table,
465
472
  hasLabel: !1,
466
473
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
467
- isFullscreen: R.value,
468
- chartElement: T.value,
474
+ isFullscreen: H.value,
475
+ chartElement: A.value,
469
476
  position: e.value.userOptions.position,
470
477
  isTooltip: _.value.showTooltip,
471
478
  titles: { ...e.value.userOptions.buttonTitles },
@@ -474,14 +481,14 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
474
481
  callbacks: e.value.userOptions.callbacks,
475
482
  printScale: e.value.userOptions.print.scale,
476
483
  onToggleFullscreen: we,
477
- onGeneratePdf: i(pe),
484
+ onGeneratePdf: u(pe),
478
485
  onGenerateCsv: Ce,
479
- onGenerateImage: i(me),
486
+ onGenerateImage: u(me),
480
487
  onToggleTable: _e,
481
488
  onToggleTooltip: $e,
482
489
  onToggleAnnotator: ee,
483
490
  style: $({
484
- visibility: i(ye) ? i(K) ? "visible" : "hidden" : "visible"
491
+ visibility: u(ye) ? u(K) ? "visible" : "hidden" : "visible"
485
492
  })
486
493
  }, ot({ _: 2 }, [
487
494
  t.$slots.menuIcon ? {
@@ -545,17 +552,17 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
545
552
  key: 4,
546
553
  ref_key: "svgRef",
547
554
  ref: de,
548
- xmlns: i(yt),
555
+ xmlns: u(yt),
549
556
  viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
550
557
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
551
558
  }, [
552
- Ae(i(Xe)),
559
+ Ae(u(Xe)),
553
560
  t.$slots["chart-background"] ? (o(), r("foreignObject", {
554
561
  key: 0,
555
- x: u.value.left,
556
- y: u.value.top,
557
- width: u.value.width <= 0 ? 10 : u.value.width,
558
- 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,
559
566
  style: {
560
567
  pointerEvents: "none"
561
568
  }
@@ -563,19 +570,19 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
563
570
  x(t.$slots, "chart-background", {}, void 0, !0)
564
571
  ], 8, It)) : v("", !0),
565
572
  e.value.style.chart.plots.gradient.show ? (o(), r("defs", Pt, [
566
- (o(!0), r(b, null, k(L.value, (l, c) => (o(), r("radialGradient", {
567
- id: `gradient_${c}_${E.value}`,
573
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("radialGradient", {
574
+ id: `gradient_${c}_${B.value}`,
568
575
  fy: "30%"
569
576
  }, [
570
- M("stop", {
577
+ T("stop", {
571
578
  offset: "10%",
572
- "stop-color": i(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
579
+ "stop-color": u(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
573
580
  }, null, 8, Xt),
574
- M("stop", {
581
+ T("stop", {
575
582
  offset: "90%",
576
- "stop-color": i(ft)(l.color, 0.1)
583
+ "stop-color": u(ft)(l.color, 0.1)
577
584
  }, null, 8, Yt),
578
- M("stop", {
585
+ T("stop", {
579
586
  offset: "100%",
580
587
  "stop-color": l.color
581
588
  }, null, 8, Dt)
@@ -590,25 +597,25 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
590
597
  stroke: e.value.style.chart.grid.verticalLines.stroke,
591
598
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
592
599
  "stroke-linecap": "round"
593
- }, null, 8, Bt))), 256))
600
+ }, null, 8, Rt))), 256))
594
601
  ])) : v("", !0),
595
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", Et, [
602
+ e.value.style.chart.axes.y.labels.show ? (o(), r("g", Bt, [
596
603
  (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("text", {
597
- x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
604
+ x: i.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
598
605
  y: l.y + n.value.yAxisLabels / 3,
599
606
  fill: e.value.style.chart.axes.y.labels.color,
600
607
  "font-size": n.value.yAxisLabels,
601
608
  "text-anchor": "end"
602
- }, z(i(j)(
609
+ }, L(u(j)(
603
610
  e.value.style.chart.axes.y.labels.formatter,
604
611
  l.value,
605
- i(B)({
612
+ u(R)({
606
613
  p: e.value.style.chart.axes.y.labels.prefix,
607
614
  v: l.value,
608
615
  s: e.value.style.chart.axes.y.labels.suffix,
609
616
  r: e.value.style.chart.axes.y.labels.rounding
610
617
  })
611
- )), 9, Ht))), 256))
618
+ )), 9, Et))), 256))
612
619
  ])) : v("", !0),
613
620
  e.value.style.chart.axes.y.name.text ? (o(), r("text", {
614
621
  key: 4,
@@ -617,7 +624,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
617
624
  fill: e.value.style.chart.axes.y.name.color,
618
625
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
619
626
  "text-anchor": "middle"
620
- }, z(e.value.style.chart.axes.y.name.text), 9, Rt)) : v("", !0),
627
+ }, L(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
621
628
  e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Ut, [
622
629
  (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("line", {
623
630
  x1: l.x1,
@@ -631,14 +638,14 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
631
638
  ])) : v("", !0),
632
639
  e.value.style.chart.axes.x.labels.show ? (o(), r("g", Vt, [
633
640
  (o(!0), r(b, null, k(p.value.tickX, (l) => (o(), r("text", {
634
- 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})`,
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})`,
635
642
  fill: e.value.style.chart.axes.x.labels.color,
636
643
  "font-size": n.value.xAxisLabels,
637
644
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
638
- }, z(i(j)(
645
+ }, L(u(j)(
639
646
  e.value.style.chart.axes.x.labels.formatter,
640
647
  l.value,
641
- i(B)({
648
+ u(R)({
642
649
  p: e.value.style.chart.axes.x.labels.prefix,
643
650
  v: l.value,
644
651
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -654,35 +661,35 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
654
661
  fill: e.value.style.chart.axes.x.name.color,
655
662
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
656
663
  "text-anchor": "middle"
657
- }, z(e.value.style.chart.axes.x.name.text), 9, qt)) : v("", !0),
664
+ }, L(e.value.style.chart.axes.x.name.text), 9, qt)) : v("", !0),
658
665
  e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
659
666
  key: 8,
660
- x1: u.value.left,
661
- x2: u.value.left + u.value.width,
662
- y1: u.value.bottom,
663
- 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,
664
671
  stroke: e.value.style.chart.grid.xAxis.stroke,
665
672
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
666
673
  "stroke-linecap": "round"
667
674
  }, null, 8, Zt)) : v("", !0),
668
675
  e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
669
676
  key: 9,
670
- x1: u.value.left,
671
- x2: u.value.left,
672
- y1: u.value.top,
673
- y2: u.value.bottom,
677
+ x1: i.value.left,
678
+ x2: i.value.left,
679
+ y1: i.value.top,
680
+ y2: i.value.bottom,
674
681
  stroke: e.value.style.chart.grid.yAxis.stroke,
675
682
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
676
683
  "stroke-linecap": "round"
677
684
  }, null, 8, Jt)) : v("", !0),
678
- (o(!0), r(b, null, k(L.value, (l, c) => (o(), r("g", null, [
685
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("g", null, [
679
686
  e.value.style.chart.paths.show ? (o(), r("g", {
680
687
  key: 0,
681
688
  style: $({
682
689
  opacity: w.value === null ? 1 : 0.3
683
690
  })
684
691
  }, [
685
- M("path", {
692
+ T("path", {
686
693
  d: l.path,
687
694
  stroke: e.value.style.chart.backgroundColor,
688
695
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
@@ -691,7 +698,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
691
698
  "stroke-linejoin": "round",
692
699
  class: I({ animated: e.value.useCssAnimation })
693
700
  }, null, 10, Kt),
694
- M("path", {
701
+ T("path", {
695
702
  d: l.path,
696
703
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
697
704
  "stroke-width": e.value.style.chart.paths.strokeWidth,
@@ -711,7 +718,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
711
718
  (o(!0), r(b, null, k(l.plots, (s) => (o(), r("circle", {
712
719
  cx: s.x,
713
720
  cy: s.y,
714
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${E.value})` : s.color,
721
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : s.color,
715
722
  r: n.value.plots,
716
723
  stroke: e.value.style.chart.plots.stroke,
717
724
  "stroke-width": e.value.style.chart.plots.strokeWidth,
@@ -737,7 +744,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
737
744
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
738
745
  transition: "opacity 0.2s ease-in-out"
739
746
  }),
740
- innerHTML: i(xt)({
747
+ innerHTML: u(xt)({
741
748
  content: String(s.label),
742
749
  fontSize: n.value.labels,
743
750
  fill: e.value.style.chart.plots.labels.color,
@@ -757,38 +764,38 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
757
764
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
758
765
  transition: "opacity 0.2s ease-in-out"
759
766
  })
760
- }, z(s.label), 15, al))
767
+ }, L(s.label), 15, al))
761
768
  ]))), 256))
762
769
  ])) : v("", !0),
763
770
  e.value.style.chart.plots.indexLabels.show ? (o(), r("g", ol, [
764
- (o(!0), r(b, null, k(l.plots, (s, N) => (o(), r("text", {
771
+ (o(!0), r(b, null, k(l.plots, (s, S) => (o(), r("text", {
765
772
  x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
766
773
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
767
774
  "font-size": n.value.indexLabels,
768
775
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
769
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(pt)(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,
770
777
  "text-anchor": "middle",
771
778
  class: I({ animated: e.value.useCssAnimation }),
772
779
  style: $({
773
780
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
774
781
  transition: "opacity 0.2s ease-in-out"
775
782
  })
776
- }, z(e.value.style.chart.plots.indexLabels.startAtZero ? N : N + 1), 15, rl))), 256))
783
+ }, L(e.value.style.chart.plots.indexLabels.startAtZero ? S : S + 1), 15, rl))), 256))
777
784
  ])) : v("", !0)
778
785
  ]))), 256)),
779
- (o(!0), r(b, null, k(L.value, (l) => (o(), r("g", null, [
786
+ (o(!0), r(b, null, k(N.value, (l) => (o(), r("g", null, [
780
787
  (o(!0), r(b, null, k(l.plots, (c, s) => (o(), r("circle", {
781
788
  cx: c.x,
782
789
  cy: c.y,
783
790
  fill: "transparent",
784
791
  r: n.value.plots,
785
792
  stroke: "none",
786
- onMouseenter: (N) => Qe({
793
+ onMouseenter: (S) => Qe({
787
794
  datapoint: c,
788
795
  plotIndex: s,
789
796
  seriesIndex: l.seriesIndex
790
797
  }),
791
- onMouseleave: a[0] || (a[0] = (N) => {
798
+ onMouseleave: a[0] || (a[0] = (S) => {
792
799
  Z.value = !1, w.value = null;
793
800
  }),
794
801
  onClick: () => Ke(c)
@@ -796,10 +803,10 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
796
803
  ]))), 256)),
797
804
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
798
805
  ], 12, Ot)) : v("", !0),
799
- t.$slots.watermark ? (o(), r("div", ul, [
800
- x(t.$slots, "watermark", Y(D({ isPrinting: i(fe) || i(xe) })), void 0, !0)
806
+ t.$slots.watermark ? (o(), r("div", il, [
807
+ x(t.$slots, "watermark", Y(D({ isPrinting: u(fe) || u(xe) })), void 0, !0)
801
808
  ])) : v("", !0),
802
- C.value ? v("", !0) : (o(), P(i(De), {
809
+ C.value ? v("", !0) : (o(), P(u(De), {
803
810
  key: 6,
804
811
  config: {
805
812
  type: "historyPlot",
@@ -811,7 +818,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
811
818
  }
812
819
  }
813
820
  }, null, 8, ["config"])),
814
- M("div", {
821
+ T("div", {
815
822
  ref_key: "chartLegend",
816
823
  ref: ae
817
824
  }, [
@@ -824,12 +831,12 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
824
831
  })
825
832
  }, {
826
833
  item: m(({ legend: l, index: c }) => [
827
- M("div", {
834
+ T("div", {
828
835
  onClick: (s) => {
829
836
  l.segregate(), ke(l);
830
837
  },
831
838
  style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
832
- }, z(l.name), 13, il)
839
+ }, L(l.name), 13, ul)
833
840
  ]),
834
841
  _: 1
835
842
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
@@ -840,12 +847,12 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
840
847
  t.$slots.source ? (o(), r("div", {
841
848
  key: 7,
842
849
  ref_key: "source",
843
- ref: ue,
850
+ ref: ie,
844
851
  dir: "auto"
845
852
  }, [
846
853
  x(t.$slots, "source", {}, void 0, !0)
847
854
  ], 512)) : v("", !0),
848
- Ae(i(je), {
855
+ Ae(u(je), {
849
856
  show: _.value.showTooltip && Z.value,
850
857
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
851
858
  color: e.value.style.chart.tooltip.color,
@@ -856,10 +863,10 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
856
863
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
857
864
  position: e.value.style.chart.tooltip.position,
858
865
  offsetY: e.value.style.chart.tooltip.offsetY,
859
- parent: T.value,
866
+ parent: A.value,
860
867
  content: J.value,
861
- isCustom: H.value,
862
- isFullscreen: R.value
868
+ isCustom: E.value,
869
+ isFullscreen: H.value
863
870
  }, {
864
871
  "tooltip-before": m(() => [
865
872
  x(t.$slots, "tooltip-before", Y(D({ ...Q.value })), void 0, !0)
@@ -869,7 +876,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
869
876
  ]),
870
877
  _: 3
871
878
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
872
- C.value ? (o(), P(i(Pe), {
879
+ C.value ? (o(), P(u(Pe), {
873
880
  key: 8,
874
881
  hideDetails: "",
875
882
  config: {
@@ -886,7 +893,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
886
893
  }
887
894
  }, {
888
895
  content: m(() => [
889
- (o(), P(i(Fe), {
896
+ (o(), P(u(Fe), {
890
897
  key: `table_${oe.value}`,
891
898
  colNames: U.value.colNames,
892
899
  head: U.value.head,
@@ -896,13 +903,13 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
896
903
  onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
897
904
  }, {
898
905
  th: m(({ th: l }) => [
899
- M("div", {
906
+ T("div", {
900
907
  innerHTML: l,
901
908
  style: { display: "flex", "align-items": "center" }
902
909
  }, null, 8, cl)
903
910
  ]),
904
911
  td: m(({ td: l }) => [
905
- rt(z(l.name || l), 1)
912
+ rt(L(l.name || l), 1)
906
913
  ]),
907
914
  _: 1
908
915
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -911,7 +918,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"]
911
918
  }, 8, ["config"])) : v("", !0)
912
919
  ], 46, Nt));
913
920
  }
914
- }, Cl = /* @__PURE__ */ Lt(vl, [["__scopeId", "data-v-e94ed0dc"]]);
921
+ }, Cl = /* @__PURE__ */ Lt(vl, [["__scopeId", "data-v-3bd0f102"]]);
915
922
  export {
916
923
  Cl as default
917
924
  };