vue-data-ui 2.14.2 → 2.14.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-DrUXalK1.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-avTvifnO.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-BAOfnFRQ.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-D8n1mvaG.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-Cpx0xSce.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-Bwu7jdjH.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-BzQcbTCN.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D65xhJAN.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DjwiDPEk.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-B8nH7aKM.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-B71Dk29x.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-BuP-Tir7.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-fd2DeGS7.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-D7idYX2d.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-CSeVuPYh.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-BzH6XFI9.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-ksl9rS7r.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-CKM2gCr5.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-C653sJjz.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-DdffTqYM.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BvODcd7y.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-BX73-v3g.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-CWStby-a.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-D6VPixUt.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-D-_7gBhg.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-typzqDiw.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-CWm-A-co.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-Bb8s5St0.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-LsSH7YAg.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-rcN8C68M.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-x_HCzzIw.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-CCMkrVp7.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-hHSyoGry.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-BeVT9bsc.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-B6LjQd7h.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
  88. package/package.json +1 -1
@@ -1,17 +1,17 @@
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 S, createVNode as Ae, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as z, createTextVNode as ot, nextTick as rt } from "vue";
2
- import { u as nt, c as Me, o as ut, e as Se, g as it, b as ct, d as vt, p as V, D as ze, 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-DBYSSUsg.js";
3
- import { u as Te } from "./useNestedProp-Cu77c3W4.js";
4
- import { u as kt } from "./usePrinter-xF9W73YL.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 At from "./Legend-DLJ9I-cg.js";
9
- import Mt from "./Title-xtSGHclp.js";
1
+ import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as z, createVNode as Ae, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as Y, Fragment as g, renderList as k, toDisplayString as S, createTextVNode as ot, nextTick as rt } from "vue";
2
+ import { u as nt, c as Me, o as ut, e as ze, g as it, b as ct, d as vt, p as V, D as Se, i as D, f as j, X as ht, l as yt, h as dt, I as ft, G as xt, F as P, t as pt, a as mt, C as q, q as bt, r as gt, x as kt } from "./index-BzH6XFI9.js";
3
+ import { u as Te } from "./useNestedProp-CKM2gCr5.js";
4
+ import { u as wt } from "./usePrinter-C653sJjz.js";
5
+ import { t as Ct, u as _t } from "./useResponsive-JZ9xq-JV.js";
6
+ import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Mt from "./Legend-Cpx0xSce.js";
9
+ import zt from "./Title-B71Dk29x.js";
10
10
  import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const zt = ["id"], Tt = ["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 = {
11
+ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 6 }, Ut = ["transform", "fill", "font-size", "text-anchor"], Gt = ["x", "y", "font-size", "fill", "font-weight"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["cx", "cy", "fill", "r"], Qt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], al = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ol = ["cx", "cy", "r", "onMouseenter", "onClick"], rl = {
12
12
  key: 5,
13
13
  class: "vue-data-ui-watermark"
14
- }, ol = ["onClick"], rl = ["innerHTML"], nl = {
14
+ }, nl = ["onClick"], ul = ["innerHTML"], il = {
15
15
  __name: "vue-ui-history-plot",
16
16
  props: {
17
17
  config: {
@@ -29,13 +29,13 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
29
29
  },
30
30
  emits: ["selectLegend", "selectDatapoint"],
31
31
  setup(Le, { expose: Ne, emit: Oe }) {
32
- const Pe = N(() => import("./vue-ui-accordion-CEZHj_of.js")), Ie = N(() => import("./DataTable-DzCoab4C.js")), Fe = N(() => import("./PackageVersion-DrhYhyQR.js")), Xe = N(() => import("./PenAndPaper-BdnVqpO9.js")), De = N(() => import("./vue-ui-skeleton-BJy7bURO.js")), Ye = N(() => import("./Tooltip-D8swCIay.js")), je = N(() => import("./UserOptions-BbJkNcCM.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), A = $e(null), I = $e(null), ne = h(null), B = h(Me()), Z = h(!1), J = h(""), g = h([]), E = h(!1), _ = h(null), W = h(!1), ue = h(null), w = f({
32
+ const Ie = N(() => import("./vue-ui-accordion-Cjq4hqGi.js")), Pe = N(() => import("./DataTable-D8n1mvaG.js")), Fe = N(() => import("./PackageVersion-Bwu7jdjH.js")), Xe = N(() => import("./PenAndPaper-BzQcbTCN.js")), Ye = N(() => import("./vue-ui-skeleton-qa5B2MES.js")), De = N(() => import("./Tooltip-BuP-Tir7.js")), je = N(() => import("./UserOptions-fd2DeGS7.js")), { vue_ui_history_plot: Be } = nt(), y = Le, B = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), A = $e(null), F = $e(null), ne = h(null), H = h(Me()), Z = h(!1), J = h(""), b = h([]), W = h(!1), w = h(null), R = h(!1), ue = h(null), C = f({
33
33
  get: () => !!y.dataset && y.dataset.length,
34
34
  set: (t) => t
35
35
  }), ie = Oe;
36
36
  tt(ce);
37
37
  function ce() {
38
- if (ut(y.dataset) ? Se({
38
+ if (ut(y.dataset) ? ze({
39
39
  componentName: "VueUiHistoryPlot",
40
40
  type: "dataset"
41
41
  }) : y.dataset.forEach((t, a) => {
@@ -43,7 +43,7 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
43
43
  datasetObject: t,
44
44
  requiredAttributes: ["name", "values"]
45
45
  }).forEach((l) => {
46
- w.value = !1, Se({
46
+ C.value = !1, ze({
47
47
  componentName: "VueUiHistoryPlot",
48
48
  type: "datasetSerieAttribute",
49
49
  property: l,
@@ -51,9 +51,9 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
51
51
  });
52
52
  });
53
53
  }), e.value.responsive) {
54
- const t = wt(() => {
55
- const { width: a, height: l } = Ct({
56
- chart: R.value,
54
+ const t = Ct(() => {
55
+ const { width: a, height: l } = _t({
56
+ chart: B.value,
57
57
  title: e.value.style.chart.title.text ? te.value : null,
58
58
  noTitle: ne.value,
59
59
  legend: e.value.style.chart.legend.show ? ae.value : null,
@@ -105,38 +105,38 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
105
105
  })) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
106
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
+ A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(t), F.value = B.value.parentNode, A.value.observe(F.value);
109
109
  }
110
110
  }
111
111
  lt(() => {
112
- A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect());
112
+ A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
113
113
  });
114
114
  function ve() {
115
115
  const t = Te({
116
116
  userConfig: y.config,
117
- defaultConfig: Re
117
+ defaultConfig: Be
118
118
  });
119
119
  let a = {};
120
120
  return t.theme ? a = {
121
121
  ...Te({
122
- userConfig: pt.vue_ui_history_plot[t.theme] || y.config,
122
+ userConfig: mt.vue_ui_history_plot[t.theme] || y.config,
123
123
  defaultConfig: t
124
124
  }),
125
- customPalette: xt[t.theme] || V
125
+ customPalette: pt[t.theme] || V
126
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
129
  get: () => ve(),
130
130
  set: (t) => t
131
- }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = _t({ config: e.value }), { svgRef: de } = $t({ config: e.value.style.chart.title });
131
+ }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = $t({ config: e.value }), { svgRef: de } = At({ config: e.value.style.chart.title });
132
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, 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, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
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, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.chart.tooltip.show;
134
134
  }, { deep: !0 });
135
- const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = kt({
136
- elementId: `history_plot_${B.value}`,
135
+ const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = wt({
136
+ elementId: `history_plot_${H.value}`,
137
137
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
138
138
  options: e.value.userOptions.print
139
- }), Be = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), We = f(() => ct(e.value.customPalette)), C = h({
139
+ }), He = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = f(() => ct(e.value.customPalette)), _ = h({
140
140
  showTable: e.value.table.show,
141
141
  showTooltip: e.value.style.chart.tooltip.show
142
142
  }), d = h({
@@ -160,24 +160,24 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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
- }), M = f(() => w.value ? y.dataset.map((t, a) => ({
163
+ }), M = f(() => C.value ? y.dataset.map((t, a) => ({
164
164
  ...t,
165
- color: t.color ? vt(t.color) : We.value[a] || V[a] || V[a % V.length],
165
+ color: t.color ? vt(t.color) : Re.value[a] || V[a] || V[a % V.length],
166
166
  seriesIndex: a
167
- })) : []), Ee = f(() => w.value ? Math.max(...M.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), He = f(() => {
168
- if (!w.value) return 1;
169
- const t = Math.min(...M.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
167
+ })) : []), We = f(() => C.value ? Math.max(...M.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Ee = f(() => {
168
+ if (!C.value) return 1;
169
+ const t = Math.min(...M.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
170
  return t < 0 ? t : 0;
171
- }), Ue = f(() => w.value ? Math.max(...M.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
172
- if (!w.value) return 1;
173
- const t = Math.min(...M.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
171
+ }), Ue = f(() => C.value ? Math.max(...M.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
172
+ if (!C.value) return 1;
173
+ const t = Math.min(...M.value.filter((a) => !b.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 = ze(
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,
176
+ const t = Se(
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,
179
179
  e.value.style.chart.axes.x.ticks
180
- ), a = ze(
180
+ ), a = Se(
181
181
  e.value.style.chart.axes.y.scaleMin === null ? Ge.value : e.value.style.chart.axes.y.scaleMin,
182
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
@@ -207,31 +207,31 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
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 u.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * u.value.height;
209
209
  }
210
- const T = f(() => M.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
- const l = t.values.map((o, L) => ({
212
- valueX: o.x,
213
- valueY: o.y,
214
- label: o.label,
215
- x: Ve(o.x),
216
- y: qe(o.y),
210
+ const T = f(() => M.value.filter((t) => !b.value.includes(t.seriesIndex)).map((t, a) => {
211
+ const l = t.values.map((s, L) => ({
212
+ valueX: s.x,
213
+ valueY: s.y,
214
+ label: s.label,
215
+ x: Ve(s.x),
216
+ y: qe(s.y),
217
217
  color: t.color,
218
218
  seriesName: t.name,
219
219
  id: Me()
220
- })), c = l.map((o) => `${o.x},${o.y} `).join("").trim();
220
+ })), c = l.map((s) => `${s.x},${s.y} `).join("").trim();
221
221
  return {
222
222
  ...t,
223
223
  plots: l,
224
224
  path: `M${c}`
225
225
  };
226
226
  }));
227
- function ge(t) {
228
- g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
227
+ function be(t) {
228
+ b.value.includes(t) ? b.value = b.value.filter((a) => a !== t) : b.value.push(t);
229
229
  }
230
- const be = f(() => M.value.map((t) => ({
230
+ const ge = f(() => M.value.map((t) => ({
231
231
  ...t,
232
- opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
233
- segregate: () => ge(t.seriesIndex),
234
- isSegregated: g.value.includes(t.seriesIndex),
232
+ opacity: b.value.includes(t.seriesIndex) ? 0.5 : 1,
233
+ segregate: () => be(t.seriesIndex),
234
+ isSegregated: b.value.includes(t.seriesIndex),
235
235
  shape: "circle"
236
236
  }))), Ze = f(() => ({
237
237
  cy: "history-plot-div-legend",
@@ -252,28 +252,28 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
252
252
  });
253
253
  }
254
254
  function Ke(t) {
255
- E.value = t, re.value += 1;
255
+ W.value = t, re.value += 1;
256
256
  }
257
257
  const Q = h(null);
258
258
  function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
- Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: M.value }, _.value = t;
259
+ Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: M.value }, w.value = t;
260
260
  const c = e.value.style.chart.tooltip.customFormat;
261
- if (W.value = !1, bt(c))
261
+ if (R.value = !1, kt(c))
262
262
  try {
263
- const o = c({
263
+ const s = c({
264
264
  seriesIndex: l,
265
265
  datapoint: t,
266
266
  plotIndex: a,
267
267
  series: M.value,
268
268
  config: e.value
269
269
  });
270
- typeof o == "string" && (J.value = o, W.value = !0);
270
+ typeof s == "string" && (J.value = s, R.value = !0);
271
271
  } catch {
272
- console.warn("Custom format cannot be applied."), W.value = !1;
272
+ console.warn("Custom format cannot be applied."), R.value = !1;
273
273
  }
274
- if (!W.value) {
275
- let o = "";
276
- o += `<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>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${Y(
274
+ if (!R.value) {
275
+ let s = "";
276
+ s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${D(
277
277
  e.value.style.chart.axes.x.labels.formatter,
278
278
  t.valueX,
279
279
  j({
@@ -282,7 +282,7 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
282
282
  s: e.value.style.chart.axes.x.labels.suffix,
283
283
  r: e.value.style.chart.axes.x.labels.rounding
284
284
  })
285
- )}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${Y(
285
+ )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${D(
286
286
  e.value.style.chart.axes.y.labels.formatter,
287
287
  t.valueY,
288
288
  j({
@@ -291,7 +291,7 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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>`, J.value = `<div>${o}</div>`;
294
+ )}</div>`, J.value = `<div>${s}</div>`;
295
295
  }
296
296
  Z.value = !0;
297
297
  }
@@ -299,34 +299,34 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
299
299
  name: a.name,
300
300
  color: a.color
301
301
  })) }));
302
- const H = f(() => {
302
+ const E = f(() => {
303
303
  const t = [
304
304
  e.value.table.columnNames.series,
305
305
  e.value.table.columnNames.datapoint,
306
306
  e.value.table.columnNames.x,
307
307
  e.value.table.columnNames.y
308
- ], a = T.value.flatMap((c) => c.plots.map((o) => [
308
+ ], a = T.value.flatMap((c) => c.plots.map((s) => [
309
309
  {
310
- color: o.color,
311
- name: o.seriesName
310
+ color: s.color,
311
+ name: s.seriesName
312
312
  },
313
- o.label,
314
- Y(
313
+ s.label,
314
+ D(
315
315
  e.value.style.chart.axes.x.labels.formatter,
316
- o.valueX,
316
+ s.valueX,
317
317
  j({
318
318
  p: e.value.style.chart.axes.x.labels.prefix,
319
- v: o.valueX,
319
+ v: s.valueX,
320
320
  s: e.value.style.chart.axes.x.labels.suffix,
321
321
  r: e.value.style.chart.axes.x.labels.rounding
322
322
  })
323
323
  ),
324
- Y(
324
+ D(
325
325
  e.value.style.chart.axes.y.labels.formatter,
326
- o.valueY,
326
+ s.valueY,
327
327
  j({
328
328
  p: e.value.style.chart.axes.y.labels.prefix,
329
- v: o.valueY,
329
+ v: s.valueY,
330
330
  s: e.value.style.chart.axes.y.labels.suffix,
331
331
  r: e.value.style.chart.axes.y.labels.rounding
332
332
  })
@@ -367,9 +367,9 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
367
367
  [e.value.style.chart.title.text],
368
368
  [e.value.style.chart.title.subtitle.text],
369
369
  a
370
- ].concat(l), o = mt(c);
371
- t ? t(o) : gt({
372
- csvContent: o,
370
+ ].concat(l), s = bt(c);
371
+ t ? t(s) : gt({
372
+ csvContent: s,
373
373
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
374
374
  });
375
375
  });
@@ -379,10 +379,10 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
379
379
  U.value = !U.value;
380
380
  }
381
381
  function Ce() {
382
- C.value.showTable = !C.value.showTable;
382
+ _.value.showTable = !_.value.showTable;
383
383
  }
384
384
  function _e() {
385
- C.value.showTooltip = !C.value.showTooltip;
385
+ _.value.showTooltip = !_.value.showTooltip;
386
386
  }
387
387
  function et() {
388
388
  return T.value;
@@ -395,17 +395,17 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
395
395
  toggleTable: Ce,
396
396
  toggleTooltip: _e,
397
397
  toggleAnnotator: ee
398
- }), (t, a) => (s(), r("div", {
399
- id: `history_plot_${B.value}`,
398
+ }), (t, a) => (o(), r("div", {
399
+ id: `history_plot_${H.value}`,
400
400
  ref_key: "historyPlotChart",
401
- ref: R,
402
- class: F({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
401
+ ref: B,
402
+ class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": W.value }),
403
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
404
  onMouseenter: a[3] || (a[3] = () => i(he)(!0)),
405
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(Xe), {
408
+ e.value.userOptions.buttons.annotator ? (o(), I(i(Xe), {
409
409
  key: 0,
410
410
  svgRef: i(de),
411
411
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -413,21 +413,21 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
413
413
  active: U.value,
414
414
  onClose: ee
415
415
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
416
- Be.value ? (s(), r("div", {
416
+ He.value ? (o(), r("div", {
417
417
  key: 1,
418
418
  ref_key: "noTitle",
419
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
- e.value.style.chart.title.text ? (s(), r("div", {
423
+ e.value.style.chart.title.text ? (o(), r("div", {
424
424
  key: 2,
425
425
  ref_key: "chartTitle",
426
426
  ref: te,
427
427
  class: "vue-ui-xy-title",
428
428
  style: $(`font-family:${e.value.style.fontFamily}`)
429
429
  }, [
430
- (s(), O(Mt, {
430
+ (o(), I(zt, {
431
431
  key: `title_${le.value}`,
432
432
  config: {
433
433
  title: {
@@ -441,14 +441,14 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
441
441
  }
442
442
  }, null, 8, ["config"]))
443
443
  ], 4)) : v("", !0),
444
- e.value.userOptions.show && w.value && (i(ye) || i(K)) ? (s(), O(i(je), {
444
+ e.value.userOptions.show && C.value && (i(ye) || i(K)) ? (o(), I(i(je), {
445
445
  ref: "details",
446
446
  key: `user_option_${re.value}`,
447
447
  backgroundColor: e.value.style.chart.backgroundColor,
448
448
  color: e.value.style.chart.color,
449
449
  isPrinting: i(fe),
450
450
  isImaging: i(xe),
451
- uid: B.value,
451
+ uid: H.value,
452
452
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
453
453
  hasPdf: e.value.userOptions.buttons.pdf,
454
454
  hasImg: e.value.userOptions.buttons.img,
@@ -456,10 +456,10 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
456
456
  hasTable: e.value.userOptions.buttons.table,
457
457
  hasLabel: !1,
458
458
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
459
- isFullscreen: E.value,
460
- chartElement: R.value,
459
+ isFullscreen: W.value,
460
+ chartElement: B.value,
461
461
  position: e.value.userOptions.position,
462
- isTooltip: C.value.showTooltip,
462
+ isTooltip: _.value.showTooltip,
463
463
  titles: { ...e.value.userOptions.buttonTitles },
464
464
  hasAnnotator: e.value.userOptions.buttons.annotator,
465
465
  isAnnotation: U.value,
@@ -478,7 +478,7 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
478
478
  t.$slots.menuIcon ? {
479
479
  name: "menuIcon",
480
480
  fn: m(({ isOpen: l, color: c }) => [
481
- x(t.$slots, "menuIcon", X(D({ isOpen: l, color: c })), void 0, !0)
481
+ x(t.$slots, "menuIcon", X(Y({ isOpen: l, color: c })), void 0, !0)
482
482
  ]),
483
483
  key: "0"
484
484
  } : void 0,
@@ -520,19 +520,19 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
520
520
  t.$slots.optionFullscreen ? {
521
521
  name: "optionFullscreen",
522
522
  fn: m(({ toggleFullscreen: l, isFullscreen: c }) => [
523
- x(t.$slots, "optionFullscreen", X(D({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
523
+ x(t.$slots, "optionFullscreen", X(Y({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
524
524
  ]),
525
525
  key: "6"
526
526
  } : void 0,
527
527
  t.$slots.optionAnnotator ? {
528
528
  name: "optionAnnotator",
529
529
  fn: m(({ toggleAnnotator: l, isAnnotator: c }) => [
530
- x(t.$slots, "optionAnnotator", X(D({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
530
+ x(t.$slots, "optionAnnotator", X(Y({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
531
531
  ]),
532
532
  key: "7"
533
533
  } : void 0
534
534
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
535
- w.value ? (s(), r("svg", {
535
+ C.value ? (o(), r("svg", {
536
536
  key: 4,
537
537
  ref_key: "svgRef",
538
538
  ref: de,
@@ -541,7 +541,7 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
541
541
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
542
542
  }, [
543
543
  Ae(i(Fe)),
544
- t.$slots["chart-background"] ? (s(), r("foreignObject", {
544
+ t.$slots["chart-background"] ? (o(), r("foreignObject", {
545
545
  key: 0,
546
546
  x: u.value.left,
547
547
  y: u.value.top,
@@ -552,28 +552,28 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
552
552
  }
553
553
  }, [
554
554
  x(t.$slots, "chart-background", {}, void 0, !0)
555
- ], 8, Lt)) : v("", !0),
556
- e.value.style.chart.plots.gradient.show ? (s(), r("defs", Nt, [
557
- (s(!0), r(b, null, k(T.value, (l, c) => (s(), r("radialGradient", {
558
- id: `gradient_${c}_${B.value}`,
555
+ ], 8, Nt)) : v("", !0),
556
+ e.value.style.chart.plots.gradient.show ? (o(), r("defs", Ot, [
557
+ (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("radialGradient", {
558
+ id: `gradient_${c}_${H.value}`,
559
559
  fy: "30%"
560
560
  }, [
561
- S("stop", {
561
+ z("stop", {
562
562
  offset: "10%",
563
563
  "stop-color": i(yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
564
564
  }, null, 8, Pt),
565
- S("stop", {
565
+ z("stop", {
566
566
  offset: "90%",
567
567
  "stop-color": i(dt)(l.color, 0.1)
568
- }, null, 8, It),
569
- S("stop", {
568
+ }, null, 8, Ft),
569
+ z("stop", {
570
570
  offset: "100%",
571
571
  "stop-color": l.color
572
- }, null, 8, Ft)
573
- ], 8, Ot))), 256))
572
+ }, null, 8, Xt)
573
+ ], 8, It))), 256))
574
574
  ])) : v("", !0),
575
- e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Xt, [
576
- (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("line", {
575
+ e.value.style.chart.grid.verticalLines.show ? (o(), r("g", Yt, [
576
+ (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("line", {
577
577
  x1: l.x,
578
578
  x2: l.x,
579
579
  y1: l.y1,
@@ -583,14 +583,14 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
583
583
  "stroke-linecap": "round"
584
584
  }, null, 8, Dt))), 256))
585
585
  ])) : v("", !0),
586
- e.value.style.chart.axes.y.labels.show ? (s(), r("g", Yt, [
587
- (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
586
+ e.value.style.chart.axes.y.labels.show ? (o(), r("g", jt, [
587
+ (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("text", {
588
588
  x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
589
589
  y: l.y + n.value.yAxisLabels / 3,
590
590
  fill: e.value.style.chart.axes.y.labels.color,
591
591
  "font-size": n.value.yAxisLabels,
592
592
  "text-anchor": "end"
593
- }, z(i(Y)(
593
+ }, S(i(D)(
594
594
  e.value.style.chart.axes.y.labels.formatter,
595
595
  l.value,
596
596
  i(j)({
@@ -599,18 +599,18 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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, jt))), 256))
602
+ )), 9, Bt))), 256))
603
603
  ])) : v("", !0),
604
- e.value.style.chart.axes.y.name.text ? (s(), r("text", {
604
+ e.value.style.chart.axes.y.name.text ? (o(), r("text", {
605
605
  key: 4,
606
606
  transform: `translate(${e.value.style.chart.axes.y.name.offsetX + n.value.yAxisName}, ${d.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
607
607
  "font-size": n.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, Rt)) : v("", !0),
612
- e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Bt, [
613
- (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("line", {
611
+ }, S(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
612
+ e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Rt, [
613
+ (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("line", {
614
614
  x1: l.x1,
615
615
  x2: l.x2,
616
616
  y1: l.y,
@@ -620,13 +620,13 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
620
620
  "stroke-linecap": "round"
621
621
  }, null, 8, Wt))), 256))
622
622
  ])) : v("", !0),
623
- e.value.style.chart.axes.x.labels.show ? (s(), r("g", Et, [
624
- (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
623
+ e.value.style.chart.axes.x.labels.show ? (o(), r("g", Et, [
624
+ (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("text", {
625
625
  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})`,
626
626
  fill: e.value.style.chart.axes.x.labels.color,
627
627
  "font-size": n.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(D)(
630
630
  e.value.style.chart.axes.x.labels.formatter,
631
631
  l.value,
632
632
  i(j)({
@@ -635,9 +635,9 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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, Ht))), 256))
638
+ )), 9, Ut))), 256))
639
639
  ])) : v("", !0),
640
- e.value.style.chart.axes.x.name.text ? (s(), r("text", {
640
+ e.value.style.chart.axes.x.name.text ? (o(), r("text", {
641
641
  key: 7,
642
642
  x: d.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
643
643
  y: d.value.height + e.value.style.chart.axes.x.name.offsetY,
@@ -645,8 +645,8 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
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, Ut)) : v("", !0),
649
- e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
648
+ }, S(e.value.style.chart.axes.x.name.text), 9, Gt)) : v("", !0),
649
+ e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
650
650
  key: 8,
651
651
  x1: u.value.left,
652
652
  x2: u.value.left + u.value.width,
@@ -655,8 +655,8 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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, Gt)) : v("", !0),
659
- e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
658
+ }, null, 8, Vt)) : v("", !0),
659
+ e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
660
660
  key: 9,
661
661
  x1: u.value.left,
662
662
  x2: u.value.left,
@@ -665,86 +665,110 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["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, Vt)) : v("", !0),
669
- (s(!0), r(b, null, k(T.value, (l, c) => (s(), r("g", null, [
670
- e.value.style.chart.paths.show ? (s(), r("g", {
668
+ }, null, 8, qt)) : v("", !0),
669
+ (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("g", null, [
670
+ e.value.style.chart.paths.show ? (o(), r("g", {
671
671
  key: 0,
672
672
  style: $({
673
- opacity: _.value === null ? 1 : 0.3
673
+ opacity: w.value === null ? 1 : 0.3
674
674
  })
675
675
  }, [
676
- S("path", {
676
+ z("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,
680
680
  fill: "none",
681
681
  "stroke-linecap": "round",
682
682
  "stroke-linejoin": "round",
683
- class: F({ animated: e.value.useCssAnimation })
684
- }, null, 10, qt),
685
- S("path", {
683
+ class: O({ animated: e.value.useCssAnimation })
684
+ }, null, 10, Zt),
685
+ z("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,
689
689
  fill: "none",
690
690
  "stroke-linecap": "round",
691
691
  "stroke-linejoin": "round",
692
- class: F({ animated: e.value.useCssAnimation })
693
- }, null, 10, Zt)
692
+ class: O({ animated: e.value.useCssAnimation })
693
+ }, null, 10, Jt)
694
694
  ], 4)) : v("", !0),
695
- (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
696
- cx: o.x,
697
- cy: o.y,
695
+ (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
696
+ cx: s.x,
697
+ cy: s.y,
698
698
  fill: e.value.style.chart.backgroundColor,
699
699
  r: n.value.plots,
700
700
  stroke: "none"
701
- }, null, 8, Jt))), 256)),
702
- (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
703
- cx: o.x,
704
- cy: o.y,
705
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : o.color,
701
+ }, null, 8, Kt))), 256)),
702
+ (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
703
+ cx: s.x,
704
+ cy: s.y,
705
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${H.value})` : s.color,
706
706
  r: n.value.plots,
707
707
  stroke: e.value.style.chart.plots.stroke,
708
708
  "stroke-width": e.value.style.chart.plots.strokeWidth,
709
- class: F({ animated: e.value.useCssAnimation }),
709
+ class: O({ animated: e.value.useCssAnimation }),
710
710
  style: $({
711
- opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
711
+ opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
712
712
  transition: "opacity 0.2s ease-in-out"
713
713
  })
714
- }, null, 14, Kt))), 256)),
715
- e.value.style.chart.plots.labels.show ? (s(), r("g", Qt, [
716
- (s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
717
- x: o.x + e.value.style.chart.plots.labels.offsetX,
718
- y: o.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
719
- "font-size": n.value.labels,
720
- fill: e.value.style.chart.plots.labels.color,
721
- "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
722
- "text-anchor": "middle",
723
- class: F({ animated: e.value.useCssAnimation }),
724
- style: $({
725
- opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
726
- transition: "opacity 0.2s ease-in-out"
727
- })
728
- }, z(o.label), 15, el))), 256))
714
+ }, null, 14, Qt))), 256)),
715
+ e.value.style.chart.plots.labels.show ? (o(), r("g", el, [
716
+ (o(!0), r(g, null, k(l.plots, (s) => (o(), r("g", null, [
717
+ s.label.includes(`
718
+ `) ? (o(), r("text", {
719
+ key: 1,
720
+ x: s.x + e.value.style.chart.plots.labels.offsetX,
721
+ y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
722
+ "font-size": n.value.labels,
723
+ fill: e.value.style.chart.plots.labels.color,
724
+ "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
725
+ "text-anchor": "middle",
726
+ class: O({ animated: e.value.useCssAnimation }),
727
+ style: $({
728
+ opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
729
+ transition: "opacity 0.2s ease-in-out"
730
+ }),
731
+ innerHTML: i(ft)({
732
+ content: s.label,
733
+ fontSize: n.value.labels,
734
+ fill: e.value.style.chart.plots.labels.color,
735
+ x: s.x + e.value.style.chart.plots.labels.offsetX,
736
+ y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
737
+ })
738
+ }, null, 14, ll)) : (o(), r("text", {
739
+ key: 0,
740
+ x: s.x + e.value.style.chart.plots.labels.offsetX,
741
+ y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
742
+ "font-size": n.value.labels,
743
+ fill: e.value.style.chart.plots.labels.color,
744
+ "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
745
+ "text-anchor": "middle",
746
+ class: O({ animated: e.value.useCssAnimation }),
747
+ style: $({
748
+ opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
749
+ transition: "opacity 0.2s ease-in-out"
750
+ })
751
+ }, S(s.label), 15, tl))
752
+ ]))), 256))
729
753
  ])) : v("", !0),
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
- x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
733
- y: o.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
754
+ e.value.style.chart.plots.indexLabels.show ? (o(), r("g", al, [
755
+ (o(!0), r(g, null, k(l.plots, (s, L) => (o(), r("text", {
756
+ x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
757
+ y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
734
758
  "font-size": n.value.indexLabels,
735
759
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
736
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(ft)(l.color) : e.value.style.chart.plots.indexLabels.color,
760
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(xt)(l.color) : e.value.style.chart.plots.indexLabels.color,
737
761
  "text-anchor": "middle",
738
- class: F({ animated: e.value.useCssAnimation }),
762
+ class: O({ animated: e.value.useCssAnimation }),
739
763
  style: $({
740
- opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
764
+ opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
741
765
  transition: "opacity 0.2s ease-in-out"
742
766
  })
743
- }, z(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, ll))), 256))
767
+ }, S(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, sl))), 256))
744
768
  ])) : v("", !0)
745
769
  ]))), 256)),
746
- (s(!0), r(b, null, k(T.value, (l) => (s(), r("g", null, [
747
- (s(!0), r(b, null, k(l.plots, (c, o) => (s(), r("circle", {
770
+ (o(!0), r(g, null, k(T.value, (l) => (o(), r("g", null, [
771
+ (o(!0), r(g, null, k(l.plots, (c, s) => (o(), r("circle", {
748
772
  cx: c.x,
749
773
  cy: c.y,
750
774
  fill: "transparent",
@@ -752,21 +776,21 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
752
776
  stroke: "none",
753
777
  onMouseenter: (L) => Qe({
754
778
  datapoint: c,
755
- plotIndex: o,
779
+ plotIndex: s,
756
780
  seriesIndex: l.seriesIndex
757
781
  }),
758
782
  onMouseleave: a[0] || (a[0] = (L) => {
759
- Z.value = !1, _.value = null;
783
+ Z.value = !1, w.value = null;
760
784
  }),
761
785
  onClick: () => Je(c)
762
- }, null, 40, al))), 256))
786
+ }, null, 40, ol))), 256))
763
787
  ]))), 256)),
764
788
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
765
- ], 12, Tt)) : 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)
789
+ ], 12, Lt)) : v("", !0),
790
+ t.$slots.watermark ? (o(), r("div", rl, [
791
+ x(t.$slots, "watermark", X(Y({ isPrinting: i(fe) || i(xe) })), void 0, !0)
768
792
  ])) : v("", !0),
769
- w.value ? v("", !0) : (s(), O(i(De), {
793
+ C.value ? v("", !0) : (o(), I(i(Ye), {
770
794
  key: 6,
771
795
  config: {
772
796
  type: "historyPlot",
@@ -778,33 +802,33 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
778
802
  }
779
803
  }
780
804
  }, null, 8, ["config"])),
781
- S("div", {
805
+ z("div", {
782
806
  ref_key: "chartLegend",
783
807
  ref: ae
784
808
  }, [
785
- e.value.style.chart.legend.show && w.value ? (s(), O(At, {
809
+ e.value.style.chart.legend.show && C.value ? (o(), I(Mt, {
786
810
  key: `legend_${se.value}`,
787
- legendSet: be.value,
811
+ legendSet: ge.value,
788
812
  config: Ze.value,
789
813
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
790
- ge(l.seriesIndex), ke(l);
814
+ be(l.seriesIndex), ke(l);
791
815
  })
792
816
  }, {
793
817
  item: m(({ legend: l, index: c }) => [
794
- S("div", {
795
- onClick: (o) => {
818
+ z("div", {
819
+ onClick: (s) => {
796
820
  l.segregate(), ke(l);
797
821
  },
798
- style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
799
- }, z(l.name), 13, ol)
822
+ style: $(`opacity:${b.value.includes(l.seriesIndex) ? 0.5 : 1}`)
823
+ }, S(l.name), 13, nl)
800
824
  ]),
801
825
  _: 1
802
826
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
803
827
  key: 1,
804
- legend: be.value
828
+ legend: ge.value
805
829
  }, void 0, !0)
806
830
  ], 512),
807
- t.$slots.source ? (s(), r("div", {
831
+ t.$slots.source ? (o(), r("div", {
808
832
  key: 7,
809
833
  ref_key: "source",
810
834
  ref: ue,
@@ -812,8 +836,8 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
812
836
  }, [
813
837
  x(t.$slots, "source", {}, void 0, !0)
814
838
  ], 512)) : v("", !0),
815
- Ae(i(Ye), {
816
- show: C.value.showTooltip && Z.value,
839
+ Ae(i(De), {
840
+ show: _.value.showTooltip && Z.value,
817
841
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
818
842
  color: e.value.style.chart.tooltip.color,
819
843
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -823,24 +847,24 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
823
847
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
824
848
  position: e.value.style.chart.tooltip.position,
825
849
  offsetY: e.value.style.chart.tooltip.offsetY,
826
- parent: R.value,
850
+ parent: B.value,
827
851
  content: J.value,
828
- isCustom: W.value,
829
- isFullscreen: E.value
852
+ isCustom: R.value,
853
+ isFullscreen: W.value
830
854
  }, {
831
855
  "tooltip-before": m(() => [
832
- x(t.$slots, "tooltip-before", X(D({ ...Q.value })), void 0, !0)
856
+ x(t.$slots, "tooltip-before", X(Y({ ...Q.value })), void 0, !0)
833
857
  ]),
834
858
  "tooltip-after": m(() => [
835
- x(t.$slots, "tooltip-after", X(D({ ...Q.value })), void 0, !0)
859
+ x(t.$slots, "tooltip-after", X(Y({ ...Q.value })), void 0, !0)
836
860
  ]),
837
861
  _: 3
838
862
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
839
- w.value ? (s(), O(i(Pe), {
863
+ C.value ? (o(), I(i(Ie), {
840
864
  key: 8,
841
865
  hideDetails: "",
842
866
  config: {
843
- open: C.value.showTable,
867
+ open: _.value.showTable,
844
868
  maxHeight: 1e4,
845
869
  body: {
846
870
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -853,32 +877,32 @@ const zt = ["id"], Tt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
853
877
  }
854
878
  }, {
855
879
  content: m(() => [
856
- (s(), O(i(Ie), {
880
+ (o(), I(i(Pe), {
857
881
  key: `table_${oe.value}`,
858
- colNames: H.value.colNames,
859
- head: H.value.head,
860
- body: H.value.body,
861
- config: H.value.config,
882
+ colNames: E.value.colNames,
883
+ head: E.value.head,
884
+ body: E.value.body,
885
+ config: E.value.config,
862
886
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
863
- onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
887
+ onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
864
888
  }, {
865
889
  th: m(({ th: l }) => [
866
- S("div", {
890
+ z("div", {
867
891
  innerHTML: l,
868
892
  style: { display: "flex", "align-items": "center" }
869
- }, null, 8, rl)
893
+ }, null, 8, ul)
870
894
  ]),
871
895
  td: m(({ td: l }) => [
872
- ot(z(l.name || l), 1)
896
+ ot(S(l.name || l), 1)
873
897
  ]),
874
898
  _: 1
875
899
  }, 8, ["colNames", "head", "body", "config", "title"]))
876
900
  ]),
877
901
  _: 1
878
902
  }, 8, ["config"])) : v("", !0)
879
- ], 46, zt));
903
+ ], 46, Tt));
880
904
  }
881
- }, ml = /* @__PURE__ */ St(nl, [["__scopeId", "data-v-f17739a1"]]);
905
+ }, gl = /* @__PURE__ */ St(il, [["__scopeId", "data-v-fdd44355"]]);
882
906
  export {
883
- ml as default
907
+ gl as default
884
908
  };