vue-data-ui 2.13.4 → 2.13.5-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 (91) hide show
  1. package/dist/{Arrow-Cv5RKI2K.js → Arrow-nJWOreP4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CbNaTai1.js → BaseDraggableDialog-IYfaPzLA.js} +2 -2
  3. package/dist/{BaseIcon-B90jg7Eo.js → BaseIcon-lwpKi6Wa.js} +1 -1
  4. package/dist/{ColorPicker-DrHXo6NB.js → ColorPicker-D8TZj-R5.js} +2 -2
  5. package/dist/{DataTable-DOdmEVBM.js → DataTable-CuFlXUxm.js} +2 -2
  6. package/dist/{Legend-D7As_VVi.js → Legend-DwNuhYnG.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Qe1IsvyR.js → NonSvgPenAndPaper-D1qSfnYa.js} +3 -3
  8. package/dist/{PackageVersion-CJ0MHPau.js → PackageVersion-1psmmuzo.js} +2 -2
  9. package/dist/{PenAndPaper-CsV9xVqP.js → PenAndPaper-DgUkj01g.js} +3 -3
  10. package/dist/{Shape-CMT3DgWJ.js → Shape-CmlBrd-F.js} +1 -1
  11. package/dist/{Slicer-kZ-UNW0I.js → Slicer-B-5jXhhw.js} +161 -161
  12. package/dist/{SparkTooltip-DgaaFrSC.js → SparkTooltip-BGjRXPbu.js} +1 -1
  13. package/dist/{Title-Cuxd1Hw4.js → Title-BoKeR6i0.js} +1 -1
  14. package/dist/{Tooltip-nm6v9SvD.js → Tooltip-Df2iF7bv.js} +1 -1
  15. package/dist/{UserOptions-B4olqrwb.js → UserOptions-NrArsCuC.js} +2 -2
  16. package/dist/{dom-to-png-JxvpNdgk.js → dom-to-png-DK9TIQio.js} +1 -1
  17. package/dist/{img-BrSPXg54.js → img-CqqmkwDl.js} +1 -1
  18. package/dist/{index-DXfqC_CG.js → index-C137VZkI.js} +675 -656
  19. package/dist/{pdf-CRNRsa97.js → pdf-DTB7aasS.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +23 -0
  22. package/dist/types/vue-data-ui.d.ts +23 -0
  23. package/dist/{useNestedProp-CUF1PWxQ.js → useNestedProp-ZNu8JrRX.js} +1 -1
  24. package/dist/{usePrinter-DGQh_spY.js → usePrinter-B63T3abI.js} +2 -2
  25. package/dist/useTimeLabels-Mrr0jrpL.js +242 -0
  26. package/dist/{vue-data-ui-tkhMq-bw.js → vue-data-ui-CBTXw5iV.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Dwdfdqch.js → vue-ui-3d-bar-DKF0Y325.js} +5 -5
  29. package/dist/{vue-ui-accordion-D-tjbzQS.js → vue-ui-accordion-BI2rBS5z.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BZmYWVrS.js → vue-ui-age-pyramid-BDulR8Zn.js} +5 -5
  31. package/dist/{vue-ui-annotator-DBrXod-O.js → vue-ui-annotator-BokgyAXW.js} +2 -2
  32. package/dist/{vue-ui-bullet-ur-PTrPw.js → vue-ui-bullet-D5TWFElT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-72UivaQY.js → vue-ui-candlestick-DHTA9GKN.js} +96 -96
  34. package/dist/{vue-ui-carousel-table-CApme8lg.js → vue-ui-carousel-table-Bw4rC-Mv.js} +4 -4
  35. package/dist/{vue-ui-chestnut-jcZZ8cOw.js → vue-ui-chestnut-DJAW8dTu.js} +4 -4
  36. package/dist/{vue-ui-chord-A9jGFNM2.js → vue-ui-chord-Drxbeh2P.js} +7 -7
  37. package/dist/{vue-ui-circle-pack-DPnOBq40.js → vue-ui-circle-pack-ClMdOEtG.js} +5 -5
  38. package/dist/{vue-ui-cursor-Cby6-Vrh.js → vue-ui-cursor-DaT20eFb.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BGzORkrX.js → vue-ui-dashboard-z7pGTlMX.js} +62 -62
  40. package/dist/{vue-ui-digits-Dhxd38mc.js → vue-ui-digits-D6kq38s9.js} +2 -2
  41. package/dist/{vue-ui-donut-DsFBb3Cl.js → vue-ui-donut-_kVdFrZR.js} +7 -7
  42. package/dist/{vue-ui-donut-evolution-B-Bo4b4Y.js → vue-ui-donut-evolution-D5P6GSM6.js} +320 -313
  43. package/dist/{vue-ui-dumbbell-EVSJdr9V.js → vue-ui-dumbbell-DfZNlCK5.js} +6 -6
  44. package/dist/{vue-ui-flow-Cr1-ETyc.js → vue-ui-flow-DTx267Ka.js} +6 -6
  45. package/dist/{vue-ui-funnel-BQ0LckzE.js → vue-ui-funnel-B_J0AaMa.js} +83 -83
  46. package/dist/{vue-ui-galaxy-_fwGK1PY.js → vue-ui-galaxy-DtE48yJw.js} +4 -4
  47. package/dist/{vue-ui-gauge-BrnOoF9C.js → vue-ui-gauge-CAKj45DE.js} +5 -5
  48. package/dist/{vue-ui-gizmo-tgjSYkeV.js → vue-ui-gizmo-B-7-Lfai.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CamaTaei.js → vue-ui-heatmap-3anHqH8-.js} +6 -6
  50. package/dist/{vue-ui-history-plot-DSBQu-9Y.js → vue-ui-history-plot-DfduurUS.js} +103 -103
  51. package/dist/{vue-ui-kpi-OCtgONK3.js → vue-ui-kpi-C_wEVoh0.js} +3 -3
  52. package/dist/{vue-ui-mini-loader--xzmMUNI.js → vue-ui-mini-loader-lGMkM8Kw.js} +2 -2
  53. package/dist/{vue-ui-molecule-DnkENzdw.js → vue-ui-molecule-fXW4ejgw.js} +4 -4
  54. package/dist/{vue-ui-mood-radar-DKP1rjSd.js → vue-ui-mood-radar-TuyuMkzg.js} +6 -6
  55. package/dist/{vue-ui-nested-donuts-CHwTDQ9J.js → vue-ui-nested-donuts-CtbOVaRR.js} +6 -6
  56. package/dist/{vue-ui-onion-BxaynRPn.js → vue-ui-onion-BV3A2JCN.js} +6 -6
  57. package/dist/{vue-ui-parallel-coordinate-plot-ohCDDK1Q.js → vue-ui-parallel-coordinate-plot-DJbeP86h.js} +175 -175
  58. package/dist/{vue-ui-quadrant-DXZsVWe3.js → vue-ui-quadrant-xaXINXWX.js} +7 -7
  59. package/dist/{vue-ui-quick-chart-C_ofgdSY.js → vue-ui-quick-chart-Dr1HyP8V.js} +464 -457
  60. package/dist/{vue-ui-radar-CLa2PHHK.js → vue-ui-radar-Cbqe4LM_.js} +6 -6
  61. package/dist/{vue-ui-rating-GiRUw1Wv.js → vue-ui-rating-FuSmmUE8.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJ1M2Pnc.js → vue-ui-relation-circle-kDNSenDo.js} +96 -96
  63. package/dist/{vue-ui-ridgeline-E_7xjHTY.js → vue-ui-ridgeline-DxtgFsg_.js} +317 -308
  64. package/dist/{vue-ui-rings-BiOAND3T.js → vue-ui-rings-DMx8sMKa.js} +7 -7
  65. package/dist/{vue-ui-scatter-Bai9QSqI.js → vue-ui-scatter-DX42tHz8.js} +7 -7
  66. package/dist/{vue-ui-skeleton-B2N_3mr0.js → vue-ui-skeleton-CO_Hk6A_.js} +3 -3
  67. package/dist/{vue-ui-smiley-DAvm3IGu.js → vue-ui-smiley-4lhGcbc2.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-D4EwvdX0.js → vue-ui-spark-trend-hGZ_JmgH.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-DM_2iDVI.js → vue-ui-sparkbar-BTf3c9Qn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-UW6sVQdV.js → vue-ui-sparkgauge-oMfHC1dA.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CF0JPKYB.js → vue-ui-sparkhistogram-DvVbSLEj.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Dg8j2KTF.js → vue-ui-sparkline-BbmMxjnF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CqT_oEk7.js → vue-ui-sparkstackbar-ChREWvRl.js} +3 -3
  74. package/dist/vue-ui-stackbar-BNPLRyEN.js +1130 -0
  75. package/dist/{vue-ui-strip-plot-BR66rY0G.js → vue-ui-strip-plot-Ca1C6bZ_.js} +73 -73
  76. package/dist/{vue-ui-table-Dk0eXTU9.js → vue-ui-table-Cfb6eIU4.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Brldpa0g.js → vue-ui-table-heatmap-BnjgK_PF.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxQrZBCR.js → vue-ui-table-sparkline-MJ8lvKbd.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B_OrqIjE.js → vue-ui-thermometer-C2qisXo8.js} +5 -5
  80. package/dist/{vue-ui-timer-Cz0J-s5D.js → vue-ui-timer-By6_kV9k.js} +8 -8
  81. package/dist/{vue-ui-tiremarks-B1B3h-Vi.js → vue-ui-tiremarks-BU6rsols.js} +5 -5
  82. package/dist/{vue-ui-treemap-CMm6fSIO.js → vue-ui-treemap-DivJblJW.js} +7 -7
  83. package/dist/{vue-ui-vertical-bar-DA2Xpx46.js → vue-ui-vertical-bar-Dyt4yezz.js} +8 -8
  84. package/dist/{vue-ui-waffle-U3NxGQ3l.js → vue-ui-waffle-DSzMjANd.js} +7 -7
  85. package/dist/{vue-ui-wheel-WNOVLYp8.js → vue-ui-wheel-DFCGjYBy.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-_TBCcmAV.js → vue-ui-word-cloud-BiG5zI03.js} +5 -5
  87. package/dist/{vue-ui-world-DREkLtrD.js → vue-ui-world-BhGGmeGq.js} +5 -5
  88. package/dist/{vue-ui-xy-CIiqKrxF.js → vue-ui-xy-CZpcKEkV.js} +680 -668
  89. package/dist/{vue-ui-xy-canvas-ClHv-Wlu.js → vue-ui-xy-canvas-B7fE9npn.js} +400 -392
  90. package/package.json +1 -1
  91. package/dist/vue-ui-stackbar-By7DVfJV.js +0 -1132
@@ -1,14 +1,14 @@
1
- import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as $, normalizeClass as F, renderSlot as x, createBlock as O, createCommentVNode as v, createElementVNode as T, createVNode as Me, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as S, createTextVNode as ot, nextTick as rt } from "vue";
2
- import { u as nt, c as Ae, o as ut, e as Te, g as it, b as ct, d as vt, p as V, D as Se, i as Y, f as j, X as ht, l as yt, h as dt, G as ft, F as P, t as xt, a as pt, C as q, q as mt, r as gt, x as bt } from "./index-DXfqC_CG.js";
3
- import { u as ze } from "./useNestedProp-CUF1PWxQ.js";
4
- import { u as kt } from "./usePrinter-DGQh_spY.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 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-C137VZkI.js";
3
+ import { u as Te } from "./useNestedProp-ZNu8JrRX.js";
4
+ import { u as kt } from "./usePrinter-B63T3abI.js";
5
5
  import { t as wt, u as Ct } from "./useResponsive-JZ9xq-JV.js";
6
6
  import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
8
- import Mt from "./Legend-D7As_VVi.js";
9
- import At from "./Title-Cuxd1Hw4.js";
10
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"], Nt = { key: 1 }, Ot = ["id"], Pt = ["stop-color"], It = ["stop-color"], Ft = ["stop-color"], Xt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = { key: 3 }, jt = ["x", "y", "fill", "font-size"], Rt = ["transform", "font-size", "fill", "font-weight"], Bt = { key: 5 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 6 }, Ht = ["transform", "fill", "font-size", "text-anchor"], Ut = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["cx", "cy", "fill", "r"], Kt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Qt = { key: 1 }, el = ["x", "y", "font-size", "fill", "font-weight"], tl = { key: 2 }, ll = ["x", "y", "font-size", "font-weight", "fill"], al = ["cx", "cy", "r", "onMouseenter", "onClick"], sl = {
8
+ import At from "./Legend-DwNuhYnG.js";
9
+ import Mt from "./Title-BoKeR6i0.js";
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 = {
12
12
  key: 5,
13
13
  class: "vue-data-ui-watermark"
14
14
  }, ol = ["onClick"], rl = ["innerHTML"], nl = {
@@ -29,13 +29,13 @@ const St = ["id"], zt = ["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-D-tjbzQS.js")), Ie = N(() => import("./DataTable-DOdmEVBM.js")), Fe = N(() => import("./PackageVersion-CJ0MHPau.js")), Xe = N(() => import("./PenAndPaper-CsV9xVqP.js")), De = N(() => import("./vue-ui-skeleton-B2N_3mr0.js")), Ye = N(() => import("./Tooltip-nm6v9SvD.js")), je = N(() => import("./UserOptions-B4olqrwb.js")), { vue_ui_history_plot: Re } = nt(), y = Le, R = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), M = $e(null), I = $e(null), ne = h(null), B = h(Ae()), Z = h(!1), J = h(""), g = h([]), E = h(!1), _ = h(null), W = h(!1), ue = h(null), w = f({
32
+ const Pe = N(() => import("./vue-ui-accordion-BI2rBS5z.js")), Ie = N(() => import("./DataTable-CuFlXUxm.js")), Fe = N(() => import("./PackageVersion-1psmmuzo.js")), Xe = N(() => import("./PenAndPaper-DgUkj01g.js")), De = N(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), Ye = N(() => import("./Tooltip-Df2iF7bv.js")), je = N(() => import("./UserOptions-NrArsCuC.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({
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) ? Te({
38
+ if (ut(y.dataset) ? Se({
39
39
  componentName: "VueUiHistoryPlot",
40
40
  type: "dataset"
41
41
  }) : y.dataset.forEach((t, a) => {
@@ -43,7 +43,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
43
43
  datasetObject: t,
44
44
  requiredAttributes: ["name", "values"]
45
45
  }).forEach((l) => {
46
- w.value = !1, Te({
46
+ w.value = !1, Se({
47
47
  componentName: "VueUiHistoryPlot",
48
48
  type: "datasetSerieAttribute",
49
49
  property: l,
@@ -60,65 +60,65 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
60
60
  source: ue.value
61
61
  });
62
62
  requestAnimationFrame(() => {
63
- d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing && (u.value.plots = P({
63
+ d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = P({
64
64
  relator: Math.min(a, l),
65
65
  adjuster: 600,
66
66
  source: e.value.style.chart.plots.radius,
67
67
  threshold: 3,
68
68
  fallback: 3
69
- }), u.value.indexLabels = P({
69
+ }), n.value.indexLabels = P({
70
70
  relator: Math.min(a, l),
71
71
  adjuster: 600,
72
72
  source: e.value.style.chart.plots.indexLabels.fontSize,
73
73
  threshold: 6,
74
74
  fallback: 6
75
- }), u.value.labels = P({
75
+ }), n.value.labels = P({
76
76
  relator: Math.min(a, l),
77
77
  adjuster: 600,
78
78
  source: e.value.style.chart.plots.labels.fontSize,
79
79
  threshold: 6,
80
80
  fallback: 6
81
- }), u.value.xAxisLabels = P({
81
+ }), n.value.xAxisLabels = P({
82
82
  relator: Math.min(a, l),
83
83
  adjuster: 600,
84
84
  source: e.value.style.chart.axes.x.labels.fontSize,
85
85
  threshold: 6,
86
86
  fallback: 6
87
- }), u.value.xAxisName = P({
87
+ }), n.value.xAxisName = P({
88
88
  relator: Math.min(a, l),
89
89
  adjuster: 600,
90
90
  source: e.value.style.chart.axes.x.name.fontSize,
91
91
  threshold: 6,
92
92
  fallback: 6
93
- }), u.value.yAxisLabels = P({
93
+ }), n.value.yAxisLabels = P({
94
94
  relator: Math.min(a, l),
95
95
  adjuster: 600,
96
96
  source: e.value.style.chart.axes.y.labels.fontSize,
97
97
  threshold: 6,
98
98
  fallback: 6
99
- }), u.value.yAxisName = P({
99
+ }), n.value.yAxisName = P({
100
100
  relator: Math.min(a, l),
101
101
  adjuster: 600,
102
102
  source: e.value.style.chart.axes.y.name.fontSize,
103
103
  threshold: 6,
104
104
  fallback: 6
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
- M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect()), M.value = new ResizeObserver(t), I.value = R.value.parentNode, M.value.observe(I.value);
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);
109
109
  }
110
110
  }
111
111
  lt(() => {
112
- M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect());
112
+ A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect());
113
113
  });
114
114
  function ve() {
115
- const t = ze({
115
+ const t = Te({
116
116
  userConfig: y.config,
117
117
  defaultConfig: Re
118
118
  });
119
119
  let a = {};
120
120
  return t.theme ? a = {
121
- ...ze({
121
+ ...Te({
122
122
  userConfig: pt.vue_ui_history_plot[t.theme] || y.config,
123
123
  defaultConfig: t
124
124
  }),
@@ -130,7 +130,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
130
130
  set: (t) => t
131
131
  }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = _t({ config: e.value }), { svgRef: de } = $t({ 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, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
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;
134
134
  }, { deep: !0 });
135
135
  const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = kt({
136
136
  elementId: `history_plot_${B.value}`,
@@ -142,7 +142,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
142
142
  }), d = h({
143
143
  height: e.value.style.chart.height,
144
144
  width: e.value.style.chart.width
145
- }), n = f(() => {
145
+ }), u = f(() => {
146
146
  const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top;
147
147
  return {
148
148
  left: t,
@@ -152,7 +152,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
152
152
  width: d.value.width - t - e.value.style.chart.padding.right,
153
153
  height: d.value.height - a - e.value.style.chart.padding.bottom
154
154
  };
155
- }), u = h({
155
+ }), n = h({
156
156
  plots: e.value.style.chart.plots.radius,
157
157
  indexLabels: e.value.style.chart.plots.indexLabels.fontSize,
158
158
  labels: e.value.style.chart.plots.labels.fontSize,
@@ -160,24 +160,24 @@ const St = ["id"], zt = ["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
- }), A = f(() => w.value ? y.dataset.map((t, a) => ({
163
+ }), M = f(() => w.value ? y.dataset.map((t, a) => ({
164
164
  ...t,
165
165
  color: t.color ? vt(t.color) : We.value[a] || V[a] || V[a % V.length],
166
166
  seriesIndex: a
167
- })) : []), Ee = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), He = f(() => {
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
168
  if (!w.value) return 1;
169
- const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
169
+ const t = Math.min(...M.value.filter((a) => !g.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(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
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
172
  if (!w.value) return 1;
173
- const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
173
+ const t = Math.min(...M.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
174
  return t < 0 ? t : 0;
175
175
  }), p = f(() => {
176
- const t = Se(
176
+ const t = ze(
177
177
  e.value.style.chart.axes.x.scaleMin === null ? He.value : e.value.style.chart.axes.x.scaleMin,
178
178
  e.value.style.chart.axes.x.scaleMax === null ? Ee.value : e.value.style.chart.axes.x.scaleMax,
179
179
  e.value.style.chart.axes.x.ticks
180
- ), a = Se(
180
+ ), a = ze(
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
@@ -186,28 +186,28 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
186
186
  x: t,
187
187
  y: a,
188
188
  tickX: t.ticks.map((l) => ({
189
- x: n.value.left + (l - t.min) / (t.max - t.min) * n.value.width,
190
- y1: n.value.top,
191
- y2: n.value.bottom,
189
+ x: u.value.left + (l - t.min) / (t.max - t.min) * u.value.width,
190
+ y1: u.value.top,
191
+ y2: u.value.bottom,
192
192
  value: l
193
193
  })),
194
194
  tickY: a.ticks.map((l) => ({
195
- y: n.value.bottom - (l - a.min) / (a.max - a.min) * n.value.height,
196
- x1: n.value.left,
197
- x2: n.value.right,
195
+ y: u.value.bottom - (l - a.min) / (a.max - a.min) * u.value.height,
196
+ x1: u.value.left,
197
+ x2: u.value.right,
198
198
  value: l
199
199
  }))
200
200
  };
201
201
  });
202
202
  function Ve(t) {
203
203
  const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
204
- return n.value.left + ((t || 0) + a) / (p.value.x.max + a) * n.value.width;
204
+ return u.value.left + ((t || 0) + a) / (p.value.x.max + a) * u.value.width;
205
205
  }
206
206
  function qe(t) {
207
207
  const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
208
- return n.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * n.value.height;
208
+ return u.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * u.value.height;
209
209
  }
210
- const z = f(() => A.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
210
+ const T = f(() => M.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
211
211
  const l = t.values.map((o, L) => ({
212
212
  valueX: o.x,
213
213
  valueY: o.y,
@@ -216,7 +216,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
216
216
  y: qe(o.y),
217
217
  color: t.color,
218
218
  seriesName: t.name,
219
- id: Ae()
219
+ id: Me()
220
220
  })), c = l.map((o) => `${o.x},${o.y} `).join("").trim();
221
221
  return {
222
222
  ...t,
@@ -227,7 +227,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
227
227
  function ge(t) {
228
228
  g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
229
229
  }
230
- const be = f(() => A.value.map((t) => ({
230
+ const be = f(() => M.value.map((t) => ({
231
231
  ...t,
232
232
  opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
233
233
  segregate: () => ge(t.seriesIndex),
@@ -256,7 +256,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
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: A.value }, _.value = t;
259
+ Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: M.value }, _.value = t;
260
260
  const c = e.value.style.chart.tooltip.customFormat;
261
261
  if (W.value = !1, bt(c))
262
262
  try {
@@ -264,7 +264,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
264
264
  seriesIndex: l,
265
265
  datapoint: t,
266
266
  plotIndex: a,
267
- series: A.value,
267
+ series: M.value,
268
268
  config: e.value
269
269
  });
270
270
  typeof o == "string" && (J.value = o, W.value = !0);
@@ -295,7 +295,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
295
295
  }
296
296
  Z.value = !0;
297
297
  }
298
- f(() => ({ head: z.value.map((a) => ({
298
+ f(() => ({ head: T.value.map((a) => ({
299
299
  name: a.name,
300
300
  color: a.color
301
301
  })) }));
@@ -305,7 +305,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
305
305
  e.value.table.columnNames.datapoint,
306
306
  e.value.table.columnNames.x,
307
307
  e.value.table.columnNames.y
308
- ], a = z.value.flatMap((c) => c.plots.map((o) => [
308
+ ], a = T.value.flatMap((c) => c.plots.map((o) => [
309
309
  {
310
310
  color: o.color,
311
311
  name: o.seriesName
@@ -358,7 +358,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
358
358
  [e.value.table.columnNames.datapoint],
359
359
  [e.value.table.columnNames.x],
360
360
  [e.value.table.columnNames.y]
361
- ], l = z.value.flatMap((L) => L.plots.map((G) => [
361
+ ], l = T.value.flatMap((L) => L.plots.map((G) => [
362
362
  [G.seriesName],
363
363
  [G.label],
364
364
  [G.valueX],
@@ -385,7 +385,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
385
385
  C.value.showTooltip = !C.value.showTooltip;
386
386
  }
387
387
  function et() {
388
- return z.value;
388
+ return T.value;
389
389
  }
390
390
  return Ne({
391
391
  getData: et,
@@ -427,7 +427,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
427
427
  class: "vue-ui-xy-title",
428
428
  style: $(`font-family:${e.value.style.fontFamily}`)
429
429
  }, [
430
- (s(), O(At, {
430
+ (s(), O(Mt, {
431
431
  key: `title_${le.value}`,
432
432
  config: {
433
433
  title: {
@@ -540,13 +540,13 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
540
540
  viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
541
541
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
542
542
  }, [
543
- Me(i(Fe)),
543
+ Ae(i(Fe)),
544
544
  t.$slots["chart-background"] ? (s(), r("foreignObject", {
545
545
  key: 0,
546
- x: n.value.left,
547
- y: n.value.top,
548
- width: n.value.width <= 0 ? 10 : n.value.width,
549
- height: n.value.height <= 0 ? 10 : n.value.height,
546
+ x: u.value.left,
547
+ y: u.value.top,
548
+ width: u.value.width <= 0 ? 10 : u.value.width,
549
+ height: u.value.height <= 0 ? 10 : u.value.height,
550
550
  style: {
551
551
  pointerEvents: "none"
552
552
  }
@@ -554,19 +554,19 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
554
554
  x(t.$slots, "chart-background", {}, void 0, !0)
555
555
  ], 8, Lt)) : v("", !0),
556
556
  e.value.style.chart.plots.gradient.show ? (s(), r("defs", Nt, [
557
- (s(!0), r(b, null, k(z.value, (l, c) => (s(), r("radialGradient", {
557
+ (s(!0), r(b, null, k(T.value, (l, c) => (s(), r("radialGradient", {
558
558
  id: `gradient_${c}_${B.value}`,
559
559
  fy: "30%"
560
560
  }, [
561
- T("stop", {
561
+ S("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
- T("stop", {
565
+ S("stop", {
566
566
  offset: "90%",
567
567
  "stop-color": i(dt)(l.color, 0.1)
568
568
  }, null, 8, It),
569
- T("stop", {
569
+ S("stop", {
570
570
  offset: "100%",
571
571
  "stop-color": l.color
572
572
  }, null, 8, Ft)
@@ -585,12 +585,12 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
585
585
  ])) : v("", !0),
586
586
  e.value.style.chart.axes.y.labels.show ? (s(), r("g", Yt, [
587
587
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
588
- x: n.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
589
- y: l.y + u.value.yAxisLabels / 3,
588
+ x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
589
+ y: l.y + n.value.yAxisLabels / 3,
590
590
  fill: e.value.style.chart.axes.y.labels.color,
591
- "font-size": u.value.yAxisLabels,
591
+ "font-size": n.value.yAxisLabels,
592
592
  "text-anchor": "end"
593
- }, S(i(Y)(
593
+ }, z(i(Y)(
594
594
  e.value.style.chart.axes.y.labels.formatter,
595
595
  l.value,
596
596
  i(j)({
@@ -603,12 +603,12 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
603
603
  ])) : v("", !0),
604
604
  e.value.style.chart.axes.y.name.text ? (s(), r("text", {
605
605
  key: 4,
606
- transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${d.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
607
- "font-size": u.value.yAxisName,
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
+ "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
- }, S(e.value.style.chart.axes.y.name.text), 9, Rt)) : v("", !0),
611
+ }, z(e.value.style.chart.axes.y.name.text), 9, Rt)) : v("", !0),
612
612
  e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Bt, [
613
613
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("line", {
614
614
  x1: l.x1,
@@ -622,11 +622,11 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
622
622
  ])) : v("", !0),
623
623
  e.value.style.chart.axes.x.labels.show ? (s(), r("g", Et, [
624
624
  (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
625
- transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY + u.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
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
- "font-size": u.value.xAxisLabels,
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
- }, S(i(Y)(
629
+ }, z(i(Y)(
630
630
  e.value.style.chart.axes.x.labels.formatter,
631
631
  l.value,
632
632
  i(j)({
@@ -641,39 +641,39 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
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,
644
- "font-size": u.value.xAxisName,
644
+ "font-size": n.value.xAxisName,
645
645
  fill: e.value.style.chart.axes.x.name.color,
646
646
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
647
647
  "text-anchor": "middle"
648
- }, S(e.value.style.chart.axes.x.name.text), 9, Ut)) : v("", !0),
648
+ }, z(e.value.style.chart.axes.x.name.text), 9, Ut)) : v("", !0),
649
649
  e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
650
650
  key: 8,
651
- x1: n.value.left,
652
- x2: n.value.left + n.value.width,
653
- y1: n.value.bottom,
654
- y2: n.value.bottom,
651
+ x1: u.value.left,
652
+ x2: u.value.left + u.value.width,
653
+ y1: u.value.bottom,
654
+ y2: u.value.bottom,
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
658
  }, null, 8, Gt)) : v("", !0),
659
659
  e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
660
660
  key: 9,
661
- x1: n.value.left,
662
- x2: n.value.left,
663
- y1: n.value.top,
664
- y2: n.value.bottom,
661
+ x1: u.value.left,
662
+ x2: u.value.left,
663
+ y1: u.value.top,
664
+ y2: u.value.bottom,
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
668
  }, null, 8, Vt)) : v("", !0),
669
- (s(!0), r(b, null, k(z.value, (l, c) => (s(), r("g", null, [
669
+ (s(!0), r(b, null, k(T.value, (l, c) => (s(), r("g", null, [
670
670
  e.value.style.chart.paths.show ? (s(), r("g", {
671
671
  key: 0,
672
672
  style: $({
673
673
  opacity: _.value === null ? 1 : 0.3
674
674
  })
675
675
  }, [
676
- T("path", {
676
+ S("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,
@@ -682,7 +682,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
682
682
  "stroke-linejoin": "round",
683
683
  class: F({ animated: e.value.useCssAnimation })
684
684
  }, null, 10, qt),
685
- T("path", {
685
+ S("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,
@@ -696,14 +696,14 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
696
696
  cx: o.x,
697
697
  cy: o.y,
698
698
  fill: e.value.style.chart.backgroundColor,
699
- r: u.value.plots,
699
+ r: n.value.plots,
700
700
  stroke: "none"
701
701
  }, null, 8, Jt))), 256)),
702
702
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
703
703
  cx: o.x,
704
704
  cy: o.y,
705
705
  fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : o.color,
706
- r: u.value.plots,
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
709
  class: F({ animated: e.value.useCssAnimation }),
@@ -715,8 +715,8 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
715
715
  e.value.style.chart.plots.labels.show ? (s(), r("g", Qt, [
716
716
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
717
717
  x: o.x + e.value.style.chart.plots.labels.offsetX,
718
- y: o.y + e.value.style.chart.plots.labels.offsetY + u.value.plots + u.value.labels,
719
- "font-size": u.value.labels,
718
+ y: o.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
719
+ "font-size": n.value.labels,
720
720
  fill: e.value.style.chart.plots.labels.color,
721
721
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
722
722
  "text-anchor": "middle",
@@ -725,13 +725,13 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
725
725
  opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
726
726
  transition: "opacity 0.2s ease-in-out"
727
727
  })
728
- }, S(o.label), 15, el))), 256))
728
+ }, z(o.label), 15, el))), 256))
729
729
  ])) : v("", !0),
730
730
  e.value.style.chart.plots.indexLabels.show ? (s(), r("g", tl, [
731
731
  (s(!0), r(b, null, k(l.plots, (o, L) => (s(), r("text", {
732
732
  x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
733
- y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
734
- "font-size": u.value.indexLabels,
733
+ y: o.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
734
+ "font-size": n.value.indexLabels,
735
735
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
736
736
  fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(ft)(l.color) : e.value.style.chart.plots.indexLabels.color,
737
737
  "text-anchor": "middle",
@@ -740,15 +740,15 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
740
740
  opacity: _.value === null || _.value.id === o.id ? 1 : 0.3,
741
741
  transition: "opacity 0.2s ease-in-out"
742
742
  })
743
- }, S(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, ll))), 256))
743
+ }, z(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, ll))), 256))
744
744
  ])) : v("", !0)
745
745
  ]))), 256)),
746
- (s(!0), r(b, null, k(z.value, (l) => (s(), r("g", null, [
746
+ (s(!0), r(b, null, k(T.value, (l) => (s(), r("g", null, [
747
747
  (s(!0), r(b, null, k(l.plots, (c, o) => (s(), r("circle", {
748
748
  cx: c.x,
749
749
  cy: c.y,
750
750
  fill: "transparent",
751
- r: u.value.plots,
751
+ r: n.value.plots,
752
752
  stroke: "none",
753
753
  onMouseenter: (L) => Qe({
754
754
  datapoint: c,
@@ -762,7 +762,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
762
762
  }, null, 40, al))), 256))
763
763
  ]))), 256)),
764
764
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
765
- ], 12, zt)) : v("", !0),
765
+ ], 12, Tt)) : v("", !0),
766
766
  t.$slots.watermark ? (s(), r("div", sl, [
767
767
  x(t.$slots, "watermark", X(D({ isPrinting: i(fe) || i(xe) })), void 0, !0)
768
768
  ])) : v("", !0),
@@ -778,11 +778,11 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
778
778
  }
779
779
  }
780
780
  }, null, 8, ["config"])),
781
- T("div", {
781
+ S("div", {
782
782
  ref_key: "chartLegend",
783
783
  ref: ae
784
784
  }, [
785
- e.value.style.chart.legend.show && w.value ? (s(), O(Mt, {
785
+ e.value.style.chart.legend.show && w.value ? (s(), O(At, {
786
786
  key: `legend_${se.value}`,
787
787
  legendSet: be.value,
788
788
  config: Ze.value,
@@ -791,12 +791,12 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
791
791
  })
792
792
  }, {
793
793
  item: m(({ legend: l, index: c }) => [
794
- T("div", {
794
+ S("div", {
795
795
  onClick: (o) => {
796
796
  l.segregate(), ke(l);
797
797
  },
798
798
  style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
799
- }, S(l.name), 13, ol)
799
+ }, z(l.name), 13, ol)
800
800
  ]),
801
801
  _: 1
802
802
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
@@ -812,7 +812,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
812
812
  }, [
813
813
  x(t.$slots, "source", {}, void 0, !0)
814
814
  ], 512)) : v("", !0),
815
- Me(i(Ye), {
815
+ Ae(i(Ye), {
816
816
  show: C.value.showTooltip && Z.value,
817
817
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
818
818
  color: e.value.style.chart.tooltip.color,
@@ -863,22 +863,22 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
863
863
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
864
864
  }, {
865
865
  th: m(({ th: l }) => [
866
- T("div", {
866
+ S("div", {
867
867
  innerHTML: l,
868
868
  style: { display: "flex", "align-items": "center" }
869
869
  }, null, 8, rl)
870
870
  ]),
871
871
  td: m(({ td: l }) => [
872
- ot(S(l.name || l), 1)
872
+ ot(z(l.name || l), 1)
873
873
  ]),
874
874
  _: 1
875
875
  }, 8, ["colNames", "head", "body", "config", "title"]))
876
876
  ]),
877
877
  _: 1
878
878
  }, 8, ["config"])) : v("", !0)
879
- ], 46, St));
879
+ ], 46, zt));
880
880
  }
881
- }, ml = /* @__PURE__ */ Tt(nl, [["__scopeId", "data-v-c53613f6"]]);
881
+ }, ml = /* @__PURE__ */ St(nl, [["__scopeId", "data-v-f17739a1"]]);
882
882
  export {
883
883
  ml as default
884
884
  };
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
2
- import { u as L } from "./useNestedProp-CUF1PWxQ.js";
3
- import { u as M, i as E, f as I } from "./index-DXfqC_CG.js";
2
+ import { u as L } from "./useNestedProp-ZNu8JrRX.js";
3
+ import { u as M, i as E, f as I } from "./index-C137VZkI.js";
4
4
  const G = {
5
5
  __name: "vue-ui-kpi",
6
6
  props: {
@@ -16,7 +16,7 @@ const G = {
16
16
  }
17
17
  },
18
18
  setup(o) {
19
- const F = A(() => import("./vue-ui-digits-Dhxd38mc.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
19
+ const F = A(() => import("./vue-ui-digits-D6kq38s9.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
20
20
  get: () => c(),
21
21
  set: (a) => a
22
22
  }), D = z();
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
2
- import { u as m } from "./useNestedProp-CUF1PWxQ.js";
3
- import { u as y, X as L } from "./index-DXfqC_CG.js";
2
+ import { u as m } from "./useNestedProp-ZNu8JrRX.js";
3
+ import { u as y, X as L } from "./index-C137VZkI.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
6
6
  __name: "vue-ui-mini-loader",